diff --git a/CHANGELOG.md b/CHANGELOG.md index d53c0008f..01bcd8084 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to `twill` will be documented in this file. +## 2.11.0 (2022-11-09) + +### Features + +- When displaying a field with html after the block name, this is now stripped and cleaned [`#1843`](https://github.com/area17/twill/pull/1843) + +### Other + +- Added support for laravel/ui 4.x and fixes an issue with Laravel 9 aws adapter [`#1900`](https://github.com/area17/twill/pull/1900) + ## 2.10.0 (2022-10-18) ### Features diff --git a/dist/assets/admin/css/main-form.325f671a.css b/dist/assets/admin/css/main-form.325f671a.css deleted file mode 100644 index 15850a6a6..000000000 --- a/dist/assets/admin/css/main-form.325f671a.css +++ /dev/null @@ -1 +0,0 @@ -.container[data-v-1a811cfe]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-1a811cfe]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-1a811cfe]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-1a811cfe]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-1a811cfe]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-1a811cfe]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-1a811cfe]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-1a811cfe]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-1a811cfe]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-1a811cfe]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-1a811cfe]{width:auto}}.stickyNav[data-v-1a811cfe]{background-color:hsla(0,0%,94.9%,.95);border-bottom:1px solid rgba(0,0,0,.05);background-clip:padding-box}@media screen and (min-width:850px){.stickyNav[data-v-1a811cfe]{height:90px;z-index:10;overflow:hidden}.stickyNav.sticky__fixed[data-v-1a811cfe],.stickyNav.sticky__fixedBottom[data-v-1a811cfe],.stickyNav.sticky__fixedTop[data-v-1a811cfe]{height:60px}.stickyNav.sticky__fixed .container[data-v-1a811cfe],.stickyNav.sticky__fixedBottom .container[data-v-1a811cfe],.stickyNav.sticky__fixedTop .container[data-v-1a811cfe]{padding-top:14px}.stickyNav.sticky__fixed .stickyNav__links[data-v-1a811cfe],.stickyNav.sticky__fixedBottom .stickyNav__links[data-v-1a811cfe],.stickyNav.sticky__fixedTop .stickyNav__links[data-v-1a811cfe]{opacity:1;visibility:visible;-webkit-transition:opacity .25s;transition:opacity .25s}.stickyNav.sticky__fixed .titleEditor[data-v-1a811cfe],.stickyNav.sticky__fixedBottom .titleEditor[data-v-1a811cfe],.stickyNav.sticky__fixedTop .titleEditor[data-v-1a811cfe]{opacity:0;visibility:hidden;-webkit-transition:opacity .25s ease,visibility 0s .25s;transition:opacity .25s ease,visibility 0s .25s}.stickyNav.sticky__fixed .titleEditor[data-v-1a811cfe]:first-child,.stickyNav.sticky__fixedBottom .titleEditor[data-v-1a811cfe]:first-child,.stickyNav.sticky__fixedTop .titleEditor[data-v-1a811cfe]:first-child{opacity:1;visibility:visible;-webkit-transition:opacity .25s;transition:opacity .25s}}.titleEditor[data-v-1a811cfe]{opacity:1;visibility:visible;-webkit-transition:opacity .25s;transition:opacity .25s}.stickyNav__links[data-v-1a811cfe]{opacity:0;visibility:hidden;-webkit-transition:opacity .25s ease,visibility 0s .25s;transition:opacity .25s ease,visibility 0s .25s;display:-webkit-box;display:-ms-flexbox;display:flex}.stickyNav__links a[data-v-1a811cfe]{display:block;height:35px;line-height:35px;border-radius:17px;padding:0 17px;text-decoration:none;color:#8c8c8c;background-color:hsla(0,0%,100%,0);-webkit-transition:background-color .25s linear;transition:background-color .25s linear}.stickyNav__links a[data-v-1a811cfe]:hover{color:#262626}.stickyNav__links a.s--on[data-v-1a811cfe]{background-color:#fff;color:#262626}.stickyNav__nav[data-v-1a811cfe]{position:relative}.stickyNav__nav .stickyNav__links[data-v-1a811cfe]{position:absolute}.stickyNav__actions>div[data-v-1a811cfe]{display:-webkit-box;display:-ms-flexbox;display:flex}.stickyNav__actions>div .button[data-v-1a811cfe]{margin-left:20px}@media screen and (max-width:849px){.stickyNav__actions>div .button[data-v-1a811cfe]{margin-left:0;margin-top:20px}}@media screen and (max-width:849px){.stickyNav__actions>div[data-v-1a811cfe]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.stickyNav .container[data-v-1a811cfe]{display:block;padding-top:26px;padding-bottom:26px}@media screen and (min-width:850px){.stickyNav .container[data-v-1a811cfe]{display:-webkit-box;display:-ms-flexbox;display:flex}}@media screen and (min-width:850px){.stickyNav__nav[data-v-1a811cfe]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}}.container[data-v-49127d48]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-49127d48]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-49127d48]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-49127d48]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-49127d48]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-49127d48]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-49127d48]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-49127d48]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-49127d48]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-49127d48]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-49127d48]{width:auto}}.titleEditor[data-v-49127d48]{margin-bottom:20px}@media screen and (min-width:850px){.titleEditor[data-v-49127d48]{margin-bottom:0}}.titleEditor__title[data-v-49127d48]{font-weight:600}.titleEditor__title a[data-v-49127d48]{text-decoration:none}.titleEditor__title .icon[data-v-49127d48]{color:#a6a6a6;margin-left:7px}.titleEditor__title a:hover .icon[data-v-49127d48]{color:#262626}.stickyNav.sticky__fixedTop .titleEditor__title[data-v-49127d48]{line-height:35px}.titleEditor--error .titleEditor__title .f--underlined--o[data-v-49127d48],.titleEditor--error .titleEditor__title .icon[data-v-49127d48],.titleEditor--error .titleEditor__title:hover .f--underlined--o[data-v-49127d48],.titleEditor--error .titleEditor__title:hover .icon[data-v-49127d48]{color:#e61414}.titleEditor--error .titleEditor__title:hover .f--underlined--o[data-v-49127d48]{text-decoration:none;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(75%,rgba(230,20,20,.5)),color-stop(75%,rgba(230,20,20,.5)));background-image:linear-gradient(180deg,rgba(230,20,20,.5) 75%,rgba(230,20,20,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.titleEditor__title-only[data-v-49127d48]{line-height:35px}.titleEditor__permalink[data-v-49127d48]{text-decoration:none;display:inline-block;white-space:nowrap}.stickyNav.sticky__fixedTop .titleEditor__permalink[data-v-49127d48]{display:none}.container[data-v-2e81738b]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-2e81738b]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-2e81738b]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-2e81738b]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-2e81738b]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-2e81738b]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-2e81738b]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-2e81738b]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-2e81738b]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-2e81738b]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-2e81738b]{width:auto}}.switcher[data-v-2e81738b]{height:50px;line-height:50px;background:#a6a6a6;color:#fff;padding:0 20px;margin:-1px -1px 0 -1px;padding:0 21px;border-top-left-radius:2px;border-top-right-radius:2px;-webkit-transition:background-color .25s linear;transition:background-color .25s linear}.switcher__title[data-v-2e81738b]{display:inline;font-weight:600;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.switcher__button[data-v-2e81738b]{float:right;position:relative;top:16px;cursor:pointer}.switcher__button input[data-v-2e81738b]{position:absolute;opacity:0}.switcher__label[data-v-2e81738b]{margin-right:15px}.switcher__switcher[data-v-2e81738b]{display:inline-block;height:12px;border-radius:6px;width:40px;background:#4d4d4d;-webkit-box-shadow:inset 0 0 1px #000;box-shadow:inset 0 0 1px #000;position:relative}.switcher__switcher[data-v-2e81738b]:after,.switcher__switcher[data-v-2e81738b]:before{content:"";position:absolute;display:block;height:18px;width:18px;border-radius:50%;left:0;top:-3px;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:all .25s cubic-bezier(.5,-.6,.5,1.6);transition:all .25s cubic-bezier(.5,-.6,.5,1.6)}.switcher__switcher[data-v-2e81738b]:after{background:#fff;-webkit-box-shadow:0 0 1px #666;box-shadow:0 0 1px #666}.switcher__switcher[data-v-2e81738b]:before{background:#fff;-webkit-box-shadow:0 0 0 3px rgba(0,0,0,.1);box-shadow:0 0 0 3px rgba(0,0,0,.1);opacity:0}.switcher--active[data-v-2e81738b]{background:#d3ecd9;color:#1d9f3c}.switcher--active .switcher__switcher[data-v-2e81738b]{background:#1d9f3c;-webkit-box-shadow:inset 0 0 1px rgba(0,0,0,.4);box-shadow:inset 0 0 1px rgba(0,0,0,.4)}.switcher--active .switcher__switcher[data-v-2e81738b]:after,.switcher--active .switcher__switcher[data-v-2e81738b]:before{-webkit-transform:translateX(22px);transform:translateX(22px)}.switcher__button:focus .switcher__switcher[data-v-2e81738b]:before,.switcher__button:hover .switcher__switcher[data-v-2e81738b]:before,.switcher__button input:focus+.switcher__switcher[data-v-2e81738b]:before{opacity:1}.switcher--expired[data-v-2e81738b]{background:#a6a6a6;color:#fff}.switcher--expired .switcher__switcher[data-v-2e81738b]{background:#4d4d4d;-webkit-box-shadow:inset 0 0 1px #000;box-shadow:inset 0 0 1px #000}.container[data-v-0dd10376]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0dd10376]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0dd10376]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0dd10376]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0dd10376]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0dd10376]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0dd10376]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0dd10376]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0dd10376]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0dd10376]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0dd10376]{width:auto}}.accordion[data-v-0dd10376]{border-bottom:1px solid #f2f2f2;background-color:#fff;-webkit-transition:background-color .25s linear;transition:background-color .25s linear;overflow:hidden}.accordion__trigger[data-v-0dd10376]{padding:0 40px 0 20px;display:block;background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;background:transparent;height:55px;width:100%;text-align:left;position:relative;color:#262626;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.accordion__trigger .icon[data-v-0dd10376]{display:block;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;position:absolute;right:20px;top:50%;margin-top:-4px;-webkit-transition:-webkit-transform .25s linear;transition:-webkit-transform .25s linear;transition:transform .25s linear;transition:transform .25s linear,-webkit-transform .25s linear}.accordion__trigger[data-v-0dd10376]:focus,.accordion__trigger[data-v-0dd10376]:hover{background:#fbfbfb}.accordion__trigger .icon[data-v-0dd10376]{color:#8c8c8c}.accordion__value[data-v-0dd10376]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-align:right;color:#8c8c8c;padding-left:10px;overflow:hidden}.accordion__value>[data-v-0dd10376]{overflow:hidden;text-overflow:ellipsis}.accordion__dropdown[data-v-0dd10376]{overflow:hidden;max-height:0;height:auto;-webkit-transition:max-height .275s ease;transition:max-height .275s ease}.accordion__list[data-v-0dd10376]{border-top:1px solid #f2f2f2;padding:12px 20px}.accordion__fields[data-v-0dd10376]{border-top:1px solid #f2f2f2;padding:20px}.accordion__list .accordion__fields[data-v-0dd10376]{border-top:0 none;padding:8px 0}.s--open[data-v-0dd10376]{background-color:#fbfbfb}.s--open .accordion__dropdown[data-v-0dd10376]{max-height:250px;overflow-y:auto}.s--open .icon[data-v-0dd10376]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.accordion .accordion__list .input{margin-top:0}.accordion .accordion__list .input+.input{margin-top:10px}.container[data-v-5bbe0639]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-5bbe0639]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-5bbe0639]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-5bbe0639]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-5bbe0639]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-5bbe0639]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-5bbe0639]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-5bbe0639]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-5bbe0639]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-5bbe0639]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-5bbe0639]{width:auto}}.revaccordion__scroller[data-v-5bbe0639]{height:100%;overflow:hidden;overflow-y:auto;max-height:165px;margin:-12px -20px}.revaccordion__list[data-v-5bbe0639]{padding:12px 20px}.revaccordion__item a[data-v-5bbe0639]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:no-wrap;flex-wrap:no-wrap;color:#8c8c8c;padding:7.5px 20px;margin-left:-20px;margin-right:-20px;text-decoration:none}.revaccordion__item a[data-v-5bbe0639]:focus,.revaccordion__item a[data-v-5bbe0639]:hover{color:#262626;background:#f2f2f2}.revaccordion__author[data-v-5bbe0639]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;white-space:nowrap}.revaccordion__datetime[data-v-5bbe0639]{padding-left:10px;color:#3278b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.container[data-v-5a88e420]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-5a88e420]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-5a88e420]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-5a88e420]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-5a88e420]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-5a88e420]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-5a88e420]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-5a88e420]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-5a88e420]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-5a88e420]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-5a88e420]{width:auto}}.revaccordion__scroller[data-v-5a88e420]{height:100%;overflow:hidden;overflow-y:auto;max-height:165px;margin:-12px -20px}.revaccordion__list[data-v-5a88e420]{padding:12px 20px}.revaccordion__item[data-v-5a88e420]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:no-wrap;flex-wrap:no-wrap;color:#8c8c8c;padding:7.5px 20px;cursor:pointer;margin-left:-20px;margin-right:-20px}.revaccordion__item[data-v-5a88e420]:hover{color:#262626;background:#f2f2f2}.revaccordion__author[data-v-5a88e420]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.revaccordion__datetime[data-v-5a88e420]{color:#3278b8;white-space:nowrap;overflow:hidden}.container[data-v-40868c5c]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-40868c5c]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-40868c5c]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-40868c5c]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-40868c5c]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-40868c5c]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-40868c5c]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-40868c5c]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-40868c5c]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-40868c5c]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-40868c5c]{width:auto}}.multibutton[data-v-40868c5c]{height:40px;position:relative;display:block}.multibutton .dropdown[data-v-40868c5c]{display:-webkit-box;display:-ms-flexbox;display:flex}.multibutton .dropdown>button[data-v-40868c5c]:first-child{display:block;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.multibutton .dropdown__content[data-v-40868c5c]{max-width:100%;width:100%}.multibutton__trigger[data-v-40868c5c]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;height:40px;line-height:40px;text-align:center;border-top-right-radius:2px;border-bottom-right-radius:2px;border-top-left-radius:0;border-bottom-left-radius:0;background:#1d9f3c;color:#fff;margin-left:-2px;border-left:1px solid #1a8f36;padding:0 10px;-webkit-transition:color .2s linear,border-color .2s linear,background-color .2s linear;transition:color .2s linear,border-color .2s linear,background-color .2s linear}.multibutton__trigger[data-v-40868c5c]:focus,.multibutton__trigger[data-v-40868c5c]:hover{background:#1a8f36}.multibutton__trigger .icon[data-v-40868c5c]{color:#fff;position:relative;top:-3px}.container[data-v-0534e71c]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0534e71c]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0534e71c]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0534e71c]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0534e71c]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0534e71c]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0534e71c]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0534e71c]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0534e71c]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0534e71c]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0534e71c]{width:auto}}.publisher__wrapper[data-v-0534e71c]{border-radius:2px;border:1px solid #e5e5e5;background:#fff;margin-bottom:20px}.publisher__trash[data-v-0534e71c]{padding:0 10px;margin-bottom:20px}.publisher__item[data-v-0534e71c]{border-bottom:1px solid #f2f2f2}.publisher__item[data-v-0534e71c]:last-child{border-bottom:0 none}.publisher__item[data-v-0534e71c]{color:#8c8c8c}.publisher__item a[data-v-0534e71c]{color:#3278b8;text-decoration:none}.revisionaccordion__list[data-v-0534e71c]{padding:20px}.publisher__unsaved-changes[data-v-0534e71c]{color:#b39946}.publisher__link[data-v-0534e71c],.publisher__unsaved-changes[data-v-0534e71c]{height:55px;line-height:55px;padding:0 20px;display:block}.publisher__link .icon[data-v-0534e71c]{margin-right:10px;color:#3278b8}.publisher__item--btns[data-v-0534e71c]{padding:10px}.container[data-v-761dbeaa]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-761dbeaa]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-761dbeaa]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-761dbeaa]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-761dbeaa]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-761dbeaa]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-761dbeaa]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-761dbeaa]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-761dbeaa]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-761dbeaa]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-761dbeaa]{width:auto}}.pagenav[data-v-761dbeaa]{border-radius:2px;border:1px solid #e5e5e5;background:#fff;margin-bottom:20px}.pagenav__form[data-v-761dbeaa]{padding:0 20px 20px 20px;margin-top:-15px}.pagenav__nav[data-v-761dbeaa]{display:-webkit-box;display:-ms-flexbox;display:flex}.pagenav__form+.pagenav__nav .pagenav__btn[data-v-761dbeaa]{border-top:1px solid #f2f2f2}.pagenav__btn[data-v-761dbeaa]{border-right:1px solid #f2f2f2;padding:0 20px;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0px;overflow:hidden;height:48px;line-height:48px;text-decoration:none;color:#8c8c8c;opacity:.5}.pagenav__btn[data-v-761dbeaa]:last-child{border-right:0 none}a.pagenav__btn[data-v-761dbeaa]{opacity:1}a.pagenav__btn[data-v-761dbeaa]:focus,a.pagenav__btn[data-v-761dbeaa]:hover{color:#262626;background:#fbfbfb}.pagenav__btn+.pagenav__btn[data-v-761dbeaa]{text-align:right}.container[data-v-0c28c8a7]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0c28c8a7]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0c28c8a7]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0c28c8a7]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0c28c8a7]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0c28c8a7]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0c28c8a7]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0c28c8a7]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0c28c8a7]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0c28c8a7]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0c28c8a7]{width:auto}}.block__content[data-v-0c28c8a7]{display:none;padding:35px 15px;background:#fff}.block--open>.block__content[data-v-0c28c8a7]{display:block}.block--open>.block__header[data-v-0c28c8a7]{border-bottom:1px solid #f2f2f2}.block__header[data-v-0c28c8a7]{height:50px;line-height:50px;background:#f4f9fd;padding:0 15px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;background-clip:padding-box}.block__handle[data-v-0c28c8a7]{position:absolute;height:10px;width:40px;left:50%;top:50%;margin-left:-20px;margin-top:-5px;cursor:move;background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px)}.block__handle[data-v-0c28c8a7]:before{position:absolute;display:block;content:"";background:repeating-linear-gradient(90deg,#f4f9fd,#f4f9fd 2px,transparent 0,transparent 4px);width:100%;height:100%}.block__counter[data-v-0c28c8a7]{border:1px solid #e5e5e5;border-radius:50%;height:26px;width:26px;text-align:center;display:inline-block;line-height:25px;margin-right:10px;background:#fff;color:#8c8c8c;-webkit-font-feature-settings:"kern";font-feature-settings:"kern";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;margin-top:12px}.dropdown .block__counter[data-v-0c28c8a7]{cursor:pointer}.dropdown--active .block__counter[data-v-0c28c8a7],.dropdown .block__counter[data-v-0c28c8a7]:hover{color:#262626;border-color:#262626}.block__title[data-v-0c28c8a7]{font-weight:600;height:50px;line-height:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block__toggle[data-v-0c28c8a7]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.block__toggle .dropdown[data-v-0c28c8a7]{display:inline-block}.block__actions[data-v-0c28c8a7]{text-align:right;font-size:0;padding-top:12px;padding-bottom:12px}.block__actions>[data-v-0c28c8a7]{margin-left:10px;font-size:15px}.block__actions .dropdown>button[data-v-0c28c8a7],.block__actions .dropdown[data-v-0c28c8a7],.block__actions>button[data-v-0c28c8a7]{display:inline-block;vertical-align:top;height:26px}.block__actions button[data-action][data-v-0c28c8a7]{display:none}.block__actions .dropdown--active button[data-action][data-v-0c28c8a7]{display:inline-block}.block__header[data-v-0c28c8a7]:hover{background:#eaf4fa}.block__header:hover .block__handle[data-v-0c28c8a7]:before{background:repeating-linear-gradient(90deg,#eaf4fa,#eaf4fa 2px,transparent 0,transparent 4px)}.block--focus .block__header button[data-action][data-v-0c28c8a7],.block__header:hover button[data-action][data-v-0c28c8a7]{display:inline-block}.block__content>.browserField[data-v-0c28c8a7],.block__content>.media[data-v-0c28c8a7],.block__content>.slideshow[data-v-0c28c8a7]{margin:-15px;border:0 none}.block__content[data-v-0c28c8a7](.input){margin-top:15px}.block__content[data-v-0c28c8a7](.block__body)>.browserField,.block__content[data-v-0c28c8a7](.block__body)>.media,.block__content[data-v-0c28c8a7](.block__body)>.slideshow{margin-left:-15px;margin-right:-15px;border:0 none}.block__content[data-v-0c28c8a7](.block__body)>.browserField:last-child,.block__content[data-v-0c28c8a7](.block__body)>.media:last-child,.block__content[data-v-0c28c8a7](.block__body)>.slideshow:last-child{margin-bottom:-15px}.block--small .block__header[data-v-0c28c8a7]{background:#fbfbfb}.block--small .block__header .block__handle[data-v-0c28c8a7]{background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px)}.block--small .block__header .block__handle[data-v-0c28c8a7]:before{background:repeating-linear-gradient(90deg,#fbfbfb,#fbfbfb 2px,transparent 0,transparent 4px)}.block--small .block__header[data-v-0c28c8a7]:hover{background:#f2f2f2}.block--small .block__header:hover .block__handle[data-v-0c28c8a7]:before{background:repeating-linear-gradient(90deg,#f2f2f2,#f2f2f2 2px,transparent 0,transparent 4px)}.block--small .block__counter[data-v-0c28c8a7]{display:none}.block .block__content .block__body>.browserField,.block .block__content .block__body>.media,.block .block__content .block__body>.slideshow{margin-left:-15px;margin-right:-15px;border:0 none}.block .block__content .block__body>.browserField:last-child,.block .block__content .block__body>.media:last-child,.block .block__content .block__body>.slideshow:last-child{margin-bottom:-15px}.container[data-v-44584e0e]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-44584e0e]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-44584e0e]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-44584e0e]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-44584e0e]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-44584e0e]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-44584e0e]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-44584e0e]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-44584e0e]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-44584e0e]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-44584e0e]{width:auto}}.blocks[data-v-44584e0e]{margin-top:20px}.blocks__container[data-v-44584e0e]{margin-bottom:20px}.blocks__container+.dropdown[data-v-44584e0e]{display:inline-block}.blocks__actions[data-v-44584e0e]{display:-webkit-box;display:-ms-flexbox;display:flex}.blocks__secondaryActions[data-v-44584e0e]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-align:right;margin-left:20px;padding-top:8px}.blocks__item[data-v-44584e0e]{border:1px solid #e5e5e5;border-top:0 none}.blocks__item.sortable-ghost[data-v-44584e0e]{opacity:.5}.blocks__item[data-v-44584e0e]:first-child{border-top:1px solid #e5e5e5}.blocks__addButton[data-v-44584e0e]{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.blocks__addButton .blocks__icon[data-v-44584e0e]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:0;margin-left:-15px;min-width:55px;width:55px;height:40px}.blocks__addButton .blocks__title[data-v-44584e0e]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.container[data-v-3e645210]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-3e645210]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-3e645210]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-3e645210]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-3e645210]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-3e645210]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-3e645210]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-3e645210]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-3e645210]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-3e645210]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-3e645210]{width:auto}}.content[data-v-3e645210]{margin-top:20px}.content__content[data-v-3e645210]{margin-bottom:20px}.content__content+.dropdown[data-v-3e645210]{display:inline-block}.content__item[data-v-3e645210]{border:1px solid #e5e5e5;border-top:0 none}.content__item.sortable-ghost[data-v-3e645210]{opacity:.5}.content__item[data-v-3e645210]:first-child{border-top:1px solid #e5e5e5}.content__trigger[data-v-3e645210]{display:-webkit-box;display:-ms-flexbox;display:flex}.content__button[data-v-3e645210]{margin-top:-5px}.button--aslink[data-v-3e645210]{display:block;width:100%;text-align:center}.content__note[data-v-3e645210]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-align:right}.container[data-v-904dfa18]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-904dfa18]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-904dfa18]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-904dfa18]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-904dfa18]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-904dfa18]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-904dfa18]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-904dfa18]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-904dfa18]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-904dfa18]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-904dfa18]{width:auto}}.form__field[data-v-904dfa18]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 15px}.form__field input[data-v-904dfa18]{padding:0}.form__field .form__field--showMap a[data-v-904dfa18]{font-size:11px;letter-spacing:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-decoration:none;color:#8c8c8c;-webkit-transition:color .25s;transition:color .25s}.form__field .form__field--showMap a[data-v-904dfa18]:hover{color:#666}.form__field .form__field--showMap a span[data-v-904dfa18]{margin-right:5px}.container[data-v-6267b2a0]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-6267b2a0]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-6267b2a0]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-6267b2a0]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-6267b2a0]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-6267b2a0]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-6267b2a0]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-6267b2a0]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-6267b2a0]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-6267b2a0]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-6267b2a0]{width:auto}}.overlay[data-v-6267b2a0]{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.4);z-index:400;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;opacity:0;visibility:hidden;-webkit-transition:opacity .35s ease,visibility 0s .35s;transition:opacity .35s ease,visibility 0s .35s;padding:0;background-color:#333}.overlay+.overlay[data-v-6267b2a0]{z-index:401}.overlay__window[data-v-6267b2a0]{background:#fff;min-width:50vw;position:relative;border-radius:2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;width:100%;height:100%;max-width:inherit}.overlay__content[data-v-6267b2a0]{overflow:hidden;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:100%}.overlay__header[data-v-6267b2a0]{background:#000;color:#fff;padding:0 20px;height:60px;line-height:60px;position:relative;font-weight:600;text-align:center;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.overlay__close[data-v-6267b2a0]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;position:absolute;left:0;top:0;background:transparent;height:60px;color:#8c8c8c;padding:22px 20px;text-align:left}.overlay__close[data-v-6267b2a0]:focus,.overlay__close[data-v-6267b2a0]:hover{color:#fff}.overlay__closeLabel[data-v-6267b2a0]{position:relative;margin-left:10px;top:-2px}.overlay__content[data-v-6267b2a0]{padding:0;display:-webkit-box;display:-ms-flexbox;display:flex}.overlay__content>button[data-v-6267b2a0]{margin-bottom:20px}.overlay--active[data-v-6267b2a0]{opacity:1;visibility:visible;-webkit-transition:opacity .35s;transition:opacity .35s}.overlay--hidden[data-v-6267b2a0]{display:none}.container[data-v-0559a056]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0559a056]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0559a056]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0559a056]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0559a056]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0559a056]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0559a056]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0559a056]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0559a056]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0559a056]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0559a056]{width:auto}}.previewerframe[data-v-0559a056]{width:100%;height:100%;margin:0 auto;max-width:calc(100% - 20px);display:block;-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:width .3s ease;transition:width .3s ease;position:absolute;top:0;bottom:0;left:50%;background:#fff}.container[data-v-0fef7464]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0fef7464]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0fef7464]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0fef7464]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0fef7464]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0fef7464]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0fef7464]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0fef7464]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0fef7464]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0fef7464]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0fef7464]{width:auto}}.previewer[data-v-0fef7464]{display:block;width:100%;padding:0;position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;background-color:#333}.previewer__restore[data-v-0fef7464]{position:fixed;right:20px;top:13px;z-index:401}.tag--revision[data-v-0fef7464]{color:#262626;position:absolute;top:17px;left:0;margin:0;opacity:.5}.previewer__nav[data-v-0fef7464]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:80px;opacity:1;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.previewer__frame[data-v-0fef7464]{position:absolute;top:0;left:0;right:0;bottom:0}.previewer__frame[data-v-0fef7464],.previewer__inner[data-v-0fef7464]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.previewer__inner[data-v-0fef7464]{position:relative;width:100%;overflow:hidden;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.previewer__trigger[data-v-0fef7464]{height:auto;line-height:inherit}.previewer__trigger .icon[data-v-0fef7464]{margin-left:6px}.previewer__compare[data-v-0fef7464],.previewer__trigger[data-v-0fef7464]{color:#8c8c8c;padding-left:0;padding-right:0}.previewer__compare[data-v-0fef7464]:focus,.previewer__compare[data-v-0fef7464]:hover,.previewer__trigger[data-v-0fef7464]:focus,.previewer__trigger[data-v-0fef7464]:hover{color:#fff}.previewer__compare a[data-v-0fef7464],.previewer__trigger a[data-v-0fef7464]{white-space:nowrap;overflow:hidden;text-decoration:none}@media screen and (min-width:850px){.previewer__compare[data-v-0fef7464]{margin-left:20px}}.previewer__compare .icon[data-v-0fef7464]{position:relative;margin-left:9px;top:2px}.previewer__compareLabel[data-v-0fef7464]{display:none}@media screen and (min-width:600px){.previewer__compareLabel[data-v-0fef7464]{display:inline}}.previewer__compare[data-v-0fef7464],.previewer__revisions[data-v-0fef7464]{margin-right:20px;padding-top:40px}.previewer__revisions[data-v-0fef7464]{margin-left:20px;padding-top:40px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;position:relative}.previewer__breakpoints[data-v-0fef7464]{display:none}@media screen and (min-width:850px){.previewer__breakpoints[data-v-0fef7464]{display:block;margin:0 auto;position:absolute;top:0;left:50%;font-size:0;-webkit-transform:translateX(-50%);transform:translateX(-50%);height:80px;line-height:80px}}.previewer__breakpoint[data-v-0fef7464]{display:inline-block;color:#8c8c8c;padding:25px 15px;vertical-align:bottom}.previewer__breakpoint a[data-v-0fef7464]{display:block}.previewer__breakpoint a[data-v-0fef7464]:focus,.previewer__breakpoint a[data-v-0fef7464]:hover{color:#a6a6a6}.previewer__breakpoint .icon[data-v-0fef7464]{display:block}.previewer__breakpoint.s--active[data-v-0fef7464],.previewer__breakpoint.s--active a[data-v-0fef7464]:focus,.previewer__breakpoint.s--active a[data-v-0fef7464]:hover{color:#fff}.previewer__content[data-v-0fef7464]{height:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.previewer__content[data-v-0fef7464],.previewer__iframe[data-v-0fef7464]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.previewer__iframe[data-v-0fef7464]{opacity:1;-webkit-transition:opacity .3s ease,width .3s ease;transition:opacity .3s ease,width .3s ease;position:relative}.previewer--loading .previewer__iframe[data-v-0fef7464],.previewer--loading .previewer__nav[data-v-0fef7464]{opacity:0;pointer-events:none}.previewer--loading .previewer__content[data-v-0fef7464]:after{content:"Loading preview...";position:absolute;top:25%;left:50%;width:200px;margin-left:-100px;text-align:center;color:#8c8c8c}.previewer__iframeInfos[data-v-0fef7464]{height:80px;margin-top:-80px;position:absolute;color:#8c8c8c;top:0;left:10px;padding-top:40px}button.previewerRevision[data-v-0fef7464]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 15px}button.previewerRevision--active[data-v-0fef7464]{color:#262626;background:#f2f2f2}.previewerRevision__author[data-v-0fef7464]{padding-right:10px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;white-space:nowrap}@media screen and (min-width:600px){.previewerRevision__author[data-v-0fef7464]{padding-right:30px}}.previewerRevision__datetime[data-v-0fef7464]{color:#3278b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.container[data-v-1275ea0e]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-1275ea0e]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-1275ea0e]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-1275ea0e]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-1275ea0e]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-1275ea0e]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-1275ea0e]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-1275ea0e]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-1275ea0e]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-1275ea0e]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-1275ea0e]{width:auto}}.editorSidebar__item[data-v-1275ea0e]{padding:0 10px 0 20px;overflow-y:auto;position:absolute;top:0;bottom:60px;left:0;right:0}.editorSidebar__title[data-v-1275ea0e]{padding:15px 0 10px 0;display:-webkit-box;display:-ms-flexbox;display:flex}.editorSidebar__body[data-v-1275ea0e]{border:1px solid #e5e5e5;border-radius:2px;background:#fff;padding:15px}.editorSidebar__body[data-v-1275ea0e](.input){margin-top:15px}.editorSidebar__body[data-v-1275ea0e](.block__body)>.browserField,.editorSidebar__body[data-v-1275ea0e](.block__body)>.media,.editorSidebar__body[data-v-1275ea0e](.block__body)>.slideshow{margin-left:-15px;margin-right:-15px;border:0 none}.editorSidebar__body[data-v-1275ea0e](.block__body)>.browserField:last-child,.editorSidebar__body[data-v-1275ea0e](.block__body)>.media:last-child,.editorSidebar__body[data-v-1275ea0e](.block__body)>.slideshow:last-child{margin-bottom:-15px}.editorSidebar__counter[data-v-1275ea0e]{border:1px solid #e5e5e5;border-radius:50%;height:26px;width:26px;text-align:center;display:inline-block;line-height:25px;margin-right:10px;background:#fff;color:#8c8c8c;-webkit-font-feature-settings:"kern";font-feature-settings:"kern";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.dropdown .editorSidebar__counter[data-v-1275ea0e]{cursor:pointer}.dropdown--active .editorSidebar__counter[data-v-1275ea0e],.editorSidebar__counter[data-v-1275ea0e]:hover{color:#262626;border-color:#262626}.editorSidebar__blockTitle[data-v-1275ea0e]{font-weight:600;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.editorSidebar__blockTitle .dropdown[data-v-1275ea0e]{display:inline-block}.container[data-v-284d5f79]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-284d5f79]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-284d5f79]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-284d5f79]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-284d5f79]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-284d5f79]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-284d5f79]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-284d5f79]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-284d5f79]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-284d5f79]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-284d5f79]{width:auto}}.editorSidebar__blocks--in-fieldset[data-v-284d5f79]{padding-top:20px}.editorSidebar__blocks--in-fieldset .editorSidebar__button[data-v-284d5f79]:last-child{padding-bottom:0}.editorSidebar__listItems>div[data-v-284d5f79]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.editorSidebar__button[data-v-284d5f79]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;font-size:11.5px;letter-spacing:0;cursor:move;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:calc(50% - 5px);height:100px;padding:8px 20px;margin-bottom:10px;background:#fff;border-radius:2px;border:1px solid #e5e5e5;color:#8c8c8c;text-align:center}.editorSidebar__button .icon[data-v-284d5f79]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#a6a6a6}.editorSidebar__button .editorSidebar__buttonLabel[data-v-284d5f79]{width:100%;line-height:1}.editorSidebar__button[data-v-284d5f79]:focus,.editorSidebar__button[data-v-284d5f79]:hover{color:#262626;border-color:#ccc}.editorSidebar__button:focus .icon[data-v-284d5f79],.editorSidebar__button:hover .icon[data-v-284d5f79]{color:#262626}.editorPreview__content .editorSidebar__button[data-v-284d5f79]{width:100%}.container[data-v-1363e4e6]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-1363e4e6]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-1363e4e6]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-1363e4e6]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-1363e4e6]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-1363e4e6]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-1363e4e6]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-1363e4e6]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-1363e4e6]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-1363e4e6]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-1363e4e6]{width:auto}}.editorSidebar[data-v-1363e4e6]{margin:20px 0 20px 0;position:relative;overflow:hidden;height:calc(100% - 40px)}.editorSidebar__list[data-v-1363e4e6]{overflow-y:auto;padding:0 10px 0 20px;position:absolute;top:0;bottom:60px;left:0;right:0}.editorSidebar__actions[data-v-1363e4e6]{position:absolute;width:100%;left:0;bottom:0;padding:20px 10px 0 20px;background:#f2f2f2;display:-webkit-box;display:-ms-flexbox;display:flex}.editorSidebar__actions button[data-v-1363e4e6]{width:calc(50% - 10px)}.editorSidebar__actions button+button[data-v-1363e4e6]{margin-left:20px}.editorSidebar__actions button.button--validate[data-v-1363e4e6]:last-child{width:100%;margin-left:0}.container{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full{width:auto}}@media screen and (min-width:1540px){.container--full{width:auto}}.editorSidebar__body .block__body>.browserField,.editorSidebar__body .block__body>.media,.editorSidebar__body .block__body>.slideshow{margin-left:-15px;margin-right:-15px;border:0 none}.editorSidebar__body .block__body>.browserField:last-child,.editorSidebar__body .block__body>.media:last-child,.editorSidebar__body .block__body>.slideshow:last-child{margin-bottom:-15px}.container[data-v-12cea9ea]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-12cea9ea]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-12cea9ea]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-12cea9ea]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-12cea9ea]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-12cea9ea]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-12cea9ea]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-12cea9ea]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-12cea9ea]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-12cea9ea]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-12cea9ea]{width:auto}}.editorIframe[data-v-12cea9ea]{cursor:pointer;overflow-y:hidden;padding:5px}.editorIframe iframe[data-v-12cea9ea]{width:100%;overflow:hidden;display:block}.editorIframe__empty[data-v-12cea9ea]{position:absolute;left:0;right:0;top:0;bottom:0;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:rgba(38,38,38,.5);background-color:rgba(20,141,219,.05);border:1px solid rgba(20,141,219,.33)}.editor__preview--dark .editorIframe__empty[data-v-12cea9ea]{color:hsla(0,0%,100%,.75);background-color:rgba(20,141,219,.2);border:1px solid rgba(20,141,219,.5)}.container[data-v-a952f232]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-a952f232]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-a952f232]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-a952f232]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-a952f232]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-a952f232]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-a952f232]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-a952f232]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-a952f232]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-a952f232]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-a952f232]{width:auto}}.editorPreview__item[data-v-a952f232]{min-height:80px;position:relative;margin-bottom:1px;z-index:1}.editorPreview__item[data-v-a952f232]:after{content:"";border-radius:2px;position:absolute;top:0;right:0;left:0;bottom:0;border:1px solid #e5e5e5;z-index:0;opacity:0}.editorPreview__item[data-v-a952f232]:hover:after{border-color:#e5e5e5;opacity:1}.editorPreview__item--dropdown-open[data-v-a952f232]{z-index:2}.editorPreview__item--active[data-v-a952f232]:after,.editorPreview__item--active[data-v-a952f232]:hover:after{border-color:#148ddb;opacity:1}.editorPreview__protector[data-v-a952f232]{position:absolute;left:0;right:0;top:0;bottom:0;cursor:move;z-index:1}.editorPreview__header[data-v-a952f232]{position:absolute;top:20px;right:20px;padding:0;display:none;background-clip:padding-box;z-index:2}.editorPreview__item--active .editorPreview__header[data-v-a952f232],.editorPreview__item--dropdown-open .editorPreview__header[data-v-a952f232],.editorPreview__item:hover .editorPreview__header[data-v-a952f232]{display:-webkit-box;display:-ms-flexbox;display:flex}.editorPreview__item.sortable-chosen[data-v-a952f232]{opacity:1}.editorPreview__item.sortable-ghost[data-v-a952f232]{opacity:.25}.container[data-v-56f9fd2c]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-56f9fd2c]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-56f9fd2c]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-56f9fd2c]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-56f9fd2c]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-56f9fd2c]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-56f9fd2c]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-56f9fd2c]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-56f9fd2c]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-56f9fd2c]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-56f9fd2c]{width:auto}}.editorPreview[data-v-56f9fd2c]{background-color:inherit;color:inherit}.editorPreview__content[data-v-56f9fd2c]{position:absolute;top:0;bottom:0;right:0;left:0;padding:20px;overflow-y:auto;background-color:inherit}.editorPreview__empty[data-v-56f9fd2c]{position:absolute;top:0;bottom:0;right:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:inherit;background-color:inherit}.editorPreview__empty[data-v-56f9fd2c]:after{display:block;content:"";position:absolute;top:20px;bottom:20px;right:20px;left:20px;border:1px dashed #d9d9d9}.editorPreview__empty>[data-v-56f9fd2c]{padding:0 40px;font-size:18px;line-height:1.35em;text-align:center;font-weight:400}.editorPreview__empty+.editorPreview__content[data-v-56f9fd2c]{background-color:transparent}.editorPreview__handle[data-v-56f9fd2c]{position:absolute;height:10px;width:40px;left:50%;top:50%;margin-left:-20px;margin-top:-5px;cursor:move;background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px)}.editorPreview__handle[data-v-56f9fd2c]:before{position:absolute;display:block;content:"";background:repeating-linear-gradient(90deg,#f4f9fd,#f4f9fd 2px,transparent 0,transparent 4px);width:100%;height:100%}@font-face{font-family:Inter;font-style:normal;font-weight:400;src:url(../../../assets/admin/fonts/Inter-Regular.bffaed79.woff2) format("woff2"),url(../../../assets/admin/fonts/Inter-Regular.aebfbb3c.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:italic;font-weight:400;src:url(../../../assets/admin/fonts/Inter-Italic.381444ec.woff2) format("woff2"),url(../../../assets/admin/fonts/Inter-Italic.35cf8109.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:normal;font-weight:600;src:url(../../../assets/admin/fonts/Inter-Medium.2e5e0884.woff2) format("woff2"),url(../../../assets/admin/fonts/Inter-Medium.c09fb389.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:italic;font-weight:600;src:url(../../../assets/admin/fonts/Inter-MediumItalic.7a7fd735.woff2) format("woff2"),url(../../../assets/admin/fonts/Inter-MediumItalic.ad6e093c.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:normal;font-weight:700;src:url(../../../assets/admin/fonts/Inter-Bold.34356f6b.woff2) format("woff2"),url(../../../assets/admin/fonts/Inter-Bold.61c493e3.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:italic;font-weight:700;src:url(../../../assets/admin/fonts/Inter-BoldItalic.57acb479.woff2) format("woff2"),url(../../../assets/admin/fonts/Inter-BoldItalic.6fbcf86a.woff) format("woff");font-display:swap}.container[data-v-d485b306]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-d485b306]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-d485b306]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-d485b306]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-d485b306]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-d485b306]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-d485b306]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-d485b306]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-d485b306]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-d485b306]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-d485b306]{width:auto}}.editor[data-v-d485b306]{display:block;width:100%;padding:0;position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;background-color:#fff}.editor__leave[data-v-d485b306]{position:fixed;right:20px;top:13px;z-index:401}.editor__frame[data-v-d485b306]{position:absolute;top:0;left:0;right:0;bottom:0;-webkit-box-orient:vertical;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.editor__frame[data-v-d485b306],.editor__inner[data-v-d485b306]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.editor__inner[data-v-d485b306]{position:relative;width:100%;overflow:hidden;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:horizontal;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.editor__sidebar[data-v-d485b306]{background:#f2f2f2;width:30vw;min-width:400px}.editor__resizer[data-v-d485b306]{width:10px;min-width:10px;cursor:col-resize;background:#f2f2f2;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editor__resizer span[data-v-d485b306]{width:2px;height:20px;display:block;background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px);overflow:hidden;margin-left:auto;margin-right:auto}.editor__preview[data-v-d485b306]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;position:relative;min-width:300px;color:#8c8c8c}.editor__preview--dark[data-v-d485b306]{color:#fff}.editorDropdown__trigger[data-v-d485b306]{color:inherit} \ No newline at end of file diff --git a/dist/assets/admin/css/main-form.aa9f77f9.css b/dist/assets/admin/css/main-form.aa9f77f9.css new file mode 100644 index 000000000..433e67270 --- /dev/null +++ b/dist/assets/admin/css/main-form.aa9f77f9.css @@ -0,0 +1 @@ +.container[data-v-1a811cfe]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-1a811cfe]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-1a811cfe]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-1a811cfe]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-1a811cfe]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-1a811cfe]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-1a811cfe]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-1a811cfe]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-1a811cfe]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-1a811cfe]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-1a811cfe]{width:auto}}.stickyNav[data-v-1a811cfe]{background-color:hsla(0,0%,94.9%,.95);border-bottom:1px solid rgba(0,0,0,.05);background-clip:padding-box}@media screen and (min-width:850px){.stickyNav[data-v-1a811cfe]{height:90px;z-index:10;overflow:hidden}.stickyNav.sticky__fixed[data-v-1a811cfe],.stickyNav.sticky__fixedBottom[data-v-1a811cfe],.stickyNav.sticky__fixedTop[data-v-1a811cfe]{height:60px}.stickyNav.sticky__fixed .container[data-v-1a811cfe],.stickyNav.sticky__fixedBottom .container[data-v-1a811cfe],.stickyNav.sticky__fixedTop .container[data-v-1a811cfe]{padding-top:14px}.stickyNav.sticky__fixed .stickyNav__links[data-v-1a811cfe],.stickyNav.sticky__fixedBottom .stickyNav__links[data-v-1a811cfe],.stickyNav.sticky__fixedTop .stickyNav__links[data-v-1a811cfe]{opacity:1;visibility:visible;-webkit-transition:opacity .25s;transition:opacity .25s}.stickyNav.sticky__fixed .titleEditor[data-v-1a811cfe],.stickyNav.sticky__fixedBottom .titleEditor[data-v-1a811cfe],.stickyNav.sticky__fixedTop .titleEditor[data-v-1a811cfe]{opacity:0;visibility:hidden;-webkit-transition:opacity .25s ease,visibility 0s .25s;transition:opacity .25s ease,visibility 0s .25s}.stickyNav.sticky__fixed .titleEditor[data-v-1a811cfe]:first-child,.stickyNav.sticky__fixedBottom .titleEditor[data-v-1a811cfe]:first-child,.stickyNav.sticky__fixedTop .titleEditor[data-v-1a811cfe]:first-child{opacity:1;visibility:visible;-webkit-transition:opacity .25s;transition:opacity .25s}}.titleEditor[data-v-1a811cfe]{opacity:1;visibility:visible;-webkit-transition:opacity .25s;transition:opacity .25s}.stickyNav__links[data-v-1a811cfe]{opacity:0;visibility:hidden;-webkit-transition:opacity .25s ease,visibility 0s .25s;transition:opacity .25s ease,visibility 0s .25s;display:-webkit-box;display:-ms-flexbox;display:flex}.stickyNav__links a[data-v-1a811cfe]{display:block;height:35px;line-height:35px;border-radius:17px;padding:0 17px;text-decoration:none;color:#8c8c8c;background-color:hsla(0,0%,100%,0);-webkit-transition:background-color .25s linear;transition:background-color .25s linear}.stickyNav__links a[data-v-1a811cfe]:hover{color:#262626}.stickyNav__links a.s--on[data-v-1a811cfe]{background-color:#fff;color:#262626}.stickyNav__nav[data-v-1a811cfe]{position:relative}.stickyNav__nav .stickyNav__links[data-v-1a811cfe]{position:absolute}.stickyNav__actions>div[data-v-1a811cfe]{display:-webkit-box;display:-ms-flexbox;display:flex}.stickyNav__actions>div .button[data-v-1a811cfe]{margin-left:20px}@media screen and (max-width:849px){.stickyNav__actions>div .button[data-v-1a811cfe]{margin-left:0;margin-top:20px}}@media screen and (max-width:849px){.stickyNav__actions>div[data-v-1a811cfe]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.stickyNav .container[data-v-1a811cfe]{display:block;padding-top:26px;padding-bottom:26px}@media screen and (min-width:850px){.stickyNav .container[data-v-1a811cfe]{display:-webkit-box;display:-ms-flexbox;display:flex}}@media screen and (min-width:850px){.stickyNav__nav[data-v-1a811cfe]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}}.container[data-v-49127d48]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-49127d48]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-49127d48]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-49127d48]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-49127d48]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-49127d48]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-49127d48]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-49127d48]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-49127d48]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-49127d48]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-49127d48]{width:auto}}.titleEditor[data-v-49127d48]{margin-bottom:20px}@media screen and (min-width:850px){.titleEditor[data-v-49127d48]{margin-bottom:0}}.titleEditor__title[data-v-49127d48]{font-weight:600}.titleEditor__title a[data-v-49127d48]{text-decoration:none}.titleEditor__title .icon[data-v-49127d48]{color:#a6a6a6;margin-left:7px}.titleEditor__title a:hover .icon[data-v-49127d48]{color:#262626}.stickyNav.sticky__fixedTop .titleEditor__title[data-v-49127d48]{line-height:35px}.titleEditor--error .titleEditor__title .f--underlined--o[data-v-49127d48],.titleEditor--error .titleEditor__title .icon[data-v-49127d48],.titleEditor--error .titleEditor__title:hover .f--underlined--o[data-v-49127d48],.titleEditor--error .titleEditor__title:hover .icon[data-v-49127d48]{color:#e61414}.titleEditor--error .titleEditor__title:hover .f--underlined--o[data-v-49127d48]{text-decoration:none;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(75%,rgba(230,20,20,.5)),color-stop(75%,rgba(230,20,20,.5)));background-image:linear-gradient(180deg,rgba(230,20,20,.5) 75%,rgba(230,20,20,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.titleEditor__title-only[data-v-49127d48]{line-height:35px}.titleEditor__permalink[data-v-49127d48]{text-decoration:none;display:inline-block;white-space:nowrap}.stickyNav.sticky__fixedTop .titleEditor__permalink[data-v-49127d48]{display:none}.container[data-v-2e81738b]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-2e81738b]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-2e81738b]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-2e81738b]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-2e81738b]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-2e81738b]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-2e81738b]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-2e81738b]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-2e81738b]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-2e81738b]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-2e81738b]{width:auto}}.switcher[data-v-2e81738b]{height:50px;line-height:50px;background:#a6a6a6;color:#fff;padding:0 20px;margin:-1px -1px 0 -1px;padding:0 21px;border-top-left-radius:2px;border-top-right-radius:2px;-webkit-transition:background-color .25s linear;transition:background-color .25s linear}.switcher__title[data-v-2e81738b]{display:inline;font-weight:600;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.switcher__button[data-v-2e81738b]{float:right;position:relative;top:16px;cursor:pointer}.switcher__button input[data-v-2e81738b]{position:absolute;opacity:0}.switcher__label[data-v-2e81738b]{margin-right:15px}.switcher__switcher[data-v-2e81738b]{display:inline-block;height:12px;border-radius:6px;width:40px;background:#4d4d4d;-webkit-box-shadow:inset 0 0 1px #000;box-shadow:inset 0 0 1px #000;position:relative}.switcher__switcher[data-v-2e81738b]:after,.switcher__switcher[data-v-2e81738b]:before{content:"";position:absolute;display:block;height:18px;width:18px;border-radius:50%;left:0;top:-3px;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:all .25s cubic-bezier(.5,-.6,.5,1.6);transition:all .25s cubic-bezier(.5,-.6,.5,1.6)}.switcher__switcher[data-v-2e81738b]:after{background:#fff;-webkit-box-shadow:0 0 1px #666;box-shadow:0 0 1px #666}.switcher__switcher[data-v-2e81738b]:before{background:#fff;-webkit-box-shadow:0 0 0 3px rgba(0,0,0,.1);box-shadow:0 0 0 3px rgba(0,0,0,.1);opacity:0}.switcher--active[data-v-2e81738b]{background:#d3ecd9;color:#1d9f3c}.switcher--active .switcher__switcher[data-v-2e81738b]{background:#1d9f3c;-webkit-box-shadow:inset 0 0 1px rgba(0,0,0,.4);box-shadow:inset 0 0 1px rgba(0,0,0,.4)}.switcher--active .switcher__switcher[data-v-2e81738b]:after,.switcher--active .switcher__switcher[data-v-2e81738b]:before{-webkit-transform:translateX(22px);transform:translateX(22px)}.switcher__button:focus .switcher__switcher[data-v-2e81738b]:before,.switcher__button:hover .switcher__switcher[data-v-2e81738b]:before,.switcher__button input:focus+.switcher__switcher[data-v-2e81738b]:before{opacity:1}.switcher--expired[data-v-2e81738b]{background:#a6a6a6;color:#fff}.switcher--expired .switcher__switcher[data-v-2e81738b]{background:#4d4d4d;-webkit-box-shadow:inset 0 0 1px #000;box-shadow:inset 0 0 1px #000}.container[data-v-0dd10376]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0dd10376]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0dd10376]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0dd10376]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0dd10376]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0dd10376]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0dd10376]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0dd10376]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0dd10376]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0dd10376]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0dd10376]{width:auto}}.accordion[data-v-0dd10376]{border-bottom:1px solid #f2f2f2;background-color:#fff;-webkit-transition:background-color .25s linear;transition:background-color .25s linear;overflow:hidden}.accordion__trigger[data-v-0dd10376]{padding:0 40px 0 20px;display:block;background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;background:transparent;height:55px;width:100%;text-align:left;position:relative;color:#262626;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.accordion__trigger .icon[data-v-0dd10376]{display:block;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;position:absolute;right:20px;top:50%;margin-top:-4px;-webkit-transition:-webkit-transform .25s linear;transition:-webkit-transform .25s linear;transition:transform .25s linear;transition:transform .25s linear,-webkit-transform .25s linear}.accordion__trigger[data-v-0dd10376]:focus,.accordion__trigger[data-v-0dd10376]:hover{background:#fbfbfb}.accordion__trigger .icon[data-v-0dd10376]{color:#8c8c8c}.accordion__value[data-v-0dd10376]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-align:right;color:#8c8c8c;padding-left:10px;overflow:hidden}.accordion__value>[data-v-0dd10376]{overflow:hidden;text-overflow:ellipsis}.accordion__dropdown[data-v-0dd10376]{overflow:hidden;max-height:0;height:auto;-webkit-transition:max-height .275s ease;transition:max-height .275s ease}.accordion__list[data-v-0dd10376]{border-top:1px solid #f2f2f2;padding:12px 20px}.accordion__fields[data-v-0dd10376]{border-top:1px solid #f2f2f2;padding:20px}.accordion__list .accordion__fields[data-v-0dd10376]{border-top:0 none;padding:8px 0}.s--open[data-v-0dd10376]{background-color:#fbfbfb}.s--open .accordion__dropdown[data-v-0dd10376]{max-height:250px;overflow-y:auto}.s--open .icon[data-v-0dd10376]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.accordion .accordion__list .input{margin-top:0}.accordion .accordion__list .input+.input{margin-top:10px}.container[data-v-5bbe0639]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-5bbe0639]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-5bbe0639]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-5bbe0639]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-5bbe0639]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-5bbe0639]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-5bbe0639]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-5bbe0639]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-5bbe0639]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-5bbe0639]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-5bbe0639]{width:auto}}.revaccordion__scroller[data-v-5bbe0639]{height:100%;overflow:hidden;overflow-y:auto;max-height:165px;margin:-12px -20px}.revaccordion__list[data-v-5bbe0639]{padding:12px 20px}.revaccordion__item a[data-v-5bbe0639]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:no-wrap;flex-wrap:no-wrap;color:#8c8c8c;padding:7.5px 20px;margin-left:-20px;margin-right:-20px;text-decoration:none}.revaccordion__item a[data-v-5bbe0639]:focus,.revaccordion__item a[data-v-5bbe0639]:hover{color:#262626;background:#f2f2f2}.revaccordion__author[data-v-5bbe0639]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;white-space:nowrap}.revaccordion__datetime[data-v-5bbe0639]{padding-left:10px;color:#3278b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.container[data-v-5a88e420]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-5a88e420]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-5a88e420]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-5a88e420]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-5a88e420]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-5a88e420]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-5a88e420]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-5a88e420]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-5a88e420]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-5a88e420]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-5a88e420]{width:auto}}.revaccordion__scroller[data-v-5a88e420]{height:100%;overflow:hidden;overflow-y:auto;max-height:165px;margin:-12px -20px}.revaccordion__list[data-v-5a88e420]{padding:12px 20px}.revaccordion__item[data-v-5a88e420]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:no-wrap;flex-wrap:no-wrap;color:#8c8c8c;padding:7.5px 20px;cursor:pointer;margin-left:-20px;margin-right:-20px}.revaccordion__item[data-v-5a88e420]:hover{color:#262626;background:#f2f2f2}.revaccordion__author[data-v-5a88e420]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.revaccordion__datetime[data-v-5a88e420]{color:#3278b8;white-space:nowrap;overflow:hidden}.container[data-v-40868c5c]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-40868c5c]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-40868c5c]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-40868c5c]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-40868c5c]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-40868c5c]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-40868c5c]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-40868c5c]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-40868c5c]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-40868c5c]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-40868c5c]{width:auto}}.multibutton[data-v-40868c5c]{height:40px;position:relative;display:block}.multibutton .dropdown[data-v-40868c5c]{display:-webkit-box;display:-ms-flexbox;display:flex}.multibutton .dropdown>button[data-v-40868c5c]:first-child{display:block;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.multibutton .dropdown__content[data-v-40868c5c]{max-width:100%;width:100%}.multibutton__trigger[data-v-40868c5c]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;height:40px;line-height:40px;text-align:center;border-top-right-radius:2px;border-bottom-right-radius:2px;border-top-left-radius:0;border-bottom-left-radius:0;background:#1d9f3c;color:#fff;margin-left:-2px;border-left:1px solid #1a8f36;padding:0 10px;-webkit-transition:color .2s linear,border-color .2s linear,background-color .2s linear;transition:color .2s linear,border-color .2s linear,background-color .2s linear}.multibutton__trigger[data-v-40868c5c]:focus,.multibutton__trigger[data-v-40868c5c]:hover{background:#1a8f36}.multibutton__trigger .icon[data-v-40868c5c]{color:#fff;position:relative;top:-3px}.container[data-v-0534e71c]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0534e71c]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0534e71c]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0534e71c]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0534e71c]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0534e71c]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0534e71c]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0534e71c]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0534e71c]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0534e71c]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0534e71c]{width:auto}}.publisher__wrapper[data-v-0534e71c]{border-radius:2px;border:1px solid #e5e5e5;background:#fff;margin-bottom:20px}.publisher__trash[data-v-0534e71c]{padding:0 10px;margin-bottom:20px}.publisher__item[data-v-0534e71c]{border-bottom:1px solid #f2f2f2}.publisher__item[data-v-0534e71c]:last-child{border-bottom:0 none}.publisher__item[data-v-0534e71c]{color:#8c8c8c}.publisher__item a[data-v-0534e71c]{color:#3278b8;text-decoration:none}.revisionaccordion__list[data-v-0534e71c]{padding:20px}.publisher__unsaved-changes[data-v-0534e71c]{color:#b39946}.publisher__link[data-v-0534e71c],.publisher__unsaved-changes[data-v-0534e71c]{height:55px;line-height:55px;padding:0 20px;display:block}.publisher__link .icon[data-v-0534e71c]{margin-right:10px;color:#3278b8}.publisher__item--btns[data-v-0534e71c]{padding:10px}.container[data-v-761dbeaa]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-761dbeaa]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-761dbeaa]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-761dbeaa]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-761dbeaa]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-761dbeaa]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-761dbeaa]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-761dbeaa]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-761dbeaa]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-761dbeaa]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-761dbeaa]{width:auto}}.pagenav[data-v-761dbeaa]{border-radius:2px;border:1px solid #e5e5e5;background:#fff;margin-bottom:20px}.pagenav__form[data-v-761dbeaa]{padding:0 20px 20px 20px;margin-top:-15px}.pagenav__nav[data-v-761dbeaa]{display:-webkit-box;display:-ms-flexbox;display:flex}.pagenav__form+.pagenav__nav .pagenav__btn[data-v-761dbeaa]{border-top:1px solid #f2f2f2}.pagenav__btn[data-v-761dbeaa]{border-right:1px solid #f2f2f2;padding:0 20px;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0px;overflow:hidden;height:48px;line-height:48px;text-decoration:none;color:#8c8c8c;opacity:.5}.pagenav__btn[data-v-761dbeaa]:last-child{border-right:0 none}a.pagenav__btn[data-v-761dbeaa]{opacity:1}a.pagenav__btn[data-v-761dbeaa]:focus,a.pagenav__btn[data-v-761dbeaa]:hover{color:#262626;background:#fbfbfb}.pagenav__btn+.pagenav__btn[data-v-761dbeaa]{text-align:right}.container[data-v-117b52c7]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-117b52c7]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-117b52c7]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-117b52c7]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-117b52c7]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-117b52c7]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-117b52c7]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-117b52c7]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-117b52c7]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-117b52c7]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-117b52c7]{width:auto}}.block__content[data-v-117b52c7]{display:none;padding:35px 15px;background:#fff}.block--open>.block__content[data-v-117b52c7]{display:block}.block--open>.block__header[data-v-117b52c7]{border-bottom:1px solid #f2f2f2}.block__header[data-v-117b52c7]{height:50px;line-height:50px;background:#f4f9fd;padding:0 15px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;background-clip:padding-box}.block__handle[data-v-117b52c7]{position:absolute;height:10px;width:40px;left:50%;top:50%;margin-left:-20px;margin-top:-5px;cursor:move;background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px)}.block__handle[data-v-117b52c7]:before{position:absolute;display:block;content:"";background:repeating-linear-gradient(90deg,#f4f9fd,#f4f9fd 2px,transparent 0,transparent 4px);width:100%;height:100%}.block__counter[data-v-117b52c7]{border:1px solid #e5e5e5;border-radius:50%;height:26px;width:26px;text-align:center;display:inline-block;line-height:25px;margin-right:10px;background:#fff;color:#8c8c8c;-webkit-font-feature-settings:"kern";font-feature-settings:"kern";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;margin-top:12px}.dropdown .block__counter[data-v-117b52c7]{cursor:pointer}.dropdown--active .block__counter[data-v-117b52c7],.dropdown .block__counter[data-v-117b52c7]:hover{color:#262626;border-color:#262626}.block__title[data-v-117b52c7]{text-overflow:ellipsis;font-weight:600;max-width:45%;overflow:hidden;display:inline-block;white-space:nowrap;height:50px;line-height:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block__toggle[data-v-117b52c7]{overflow:hidden;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.block__toggle .dropdown[data-v-117b52c7]{display:inline-block;vertical-align:top}.block__actions[data-v-117b52c7]{text-align:right;font-size:0;padding-top:12px;padding-bottom:12px}.block__actions>[data-v-117b52c7]{margin-left:10px;font-size:15px}.block__actions .dropdown>button[data-v-117b52c7],.block__actions .dropdown[data-v-117b52c7],.block__actions>button[data-v-117b52c7]{display:inline-block;vertical-align:top;height:26px}.block__actions button[data-action][data-v-117b52c7]{visibility:hidden}.block__actions .dropdown--active button[data-action][data-v-117b52c7]{visibility:visible;display:inline-block}.block__header[data-v-117b52c7]:hover{background:#eaf4fa}.block__header:hover .block__handle[data-v-117b52c7]:before{background:repeating-linear-gradient(90deg,#eaf4fa,#eaf4fa 2px,transparent 0,transparent 4px)}.block__header:hover button[data-action][data-v-117b52c7]{visibility:visible;display:inline-block}.block--focus .block__header button[data-action][data-v-117b52c7],.block__header:hover button[data-action][data-v-117b52c7]{display:inline-block}.block__content>.browserField[data-v-117b52c7],.block__content>.media[data-v-117b52c7],.block__content>.slideshow[data-v-117b52c7]{margin:-15px;border:0 none}.block__content[data-v-117b52c7](.input){margin-top:15px}.block__content[data-v-117b52c7](.block__body)>.browserField,.block__content[data-v-117b52c7](.block__body)>.media,.block__content[data-v-117b52c7](.block__body)>.slideshow{margin-left:-15px;margin-right:-15px;border:0 none}.block__content[data-v-117b52c7](.block__body)>.browserField:last-child,.block__content[data-v-117b52c7](.block__body)>.media:last-child,.block__content[data-v-117b52c7](.block__body)>.slideshow:last-child{margin-bottom:-15px}.block--small .block__header[data-v-117b52c7]{background:#fbfbfb}.block--small .block__header .block__handle[data-v-117b52c7]{background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px)}.block--small .block__header .block__handle[data-v-117b52c7]:before{background:repeating-linear-gradient(90deg,#fbfbfb,#fbfbfb 2px,transparent 0,transparent 4px)}.block--small .block__header[data-v-117b52c7]:hover{background:#f2f2f2}.block--small .block__header:hover .block__handle[data-v-117b52c7]:before{background:repeating-linear-gradient(90deg,#f2f2f2,#f2f2f2 2px,transparent 0,transparent 4px)}.block--small .block__counter[data-v-117b52c7]{display:none}.block .block__content .block__body>.browserField,.block .block__content .block__body>.media,.block .block__content .block__body>.slideshow{margin-left:-15px;margin-right:-15px;border:0 none}.block .block__content .block__body>.browserField:last-child,.block .block__content .block__body>.media:last-child,.block .block__content .block__body>.slideshow:last-child{margin-bottom:-15px}.container[data-v-44584e0e]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-44584e0e]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-44584e0e]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-44584e0e]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-44584e0e]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-44584e0e]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-44584e0e]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-44584e0e]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-44584e0e]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-44584e0e]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-44584e0e]{width:auto}}.blocks[data-v-44584e0e]{margin-top:20px}.blocks__container[data-v-44584e0e]{margin-bottom:20px}.blocks__container+.dropdown[data-v-44584e0e]{display:inline-block}.blocks__actions[data-v-44584e0e]{display:-webkit-box;display:-ms-flexbox;display:flex}.blocks__secondaryActions[data-v-44584e0e]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-align:right;margin-left:20px;padding-top:8px}.blocks__item[data-v-44584e0e]{border:1px solid #e5e5e5;border-top:0 none}.blocks__item.sortable-ghost[data-v-44584e0e]{opacity:.5}.blocks__item[data-v-44584e0e]:first-child{border-top:1px solid #e5e5e5}.blocks__addButton[data-v-44584e0e]{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.blocks__addButton .blocks__icon[data-v-44584e0e]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:0;margin-left:-15px;min-width:55px;width:55px;height:40px}.blocks__addButton .blocks__title[data-v-44584e0e]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.container[data-v-3e645210]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-3e645210]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-3e645210]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-3e645210]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-3e645210]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-3e645210]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-3e645210]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-3e645210]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-3e645210]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-3e645210]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-3e645210]{width:auto}}.content[data-v-3e645210]{margin-top:20px}.content__content[data-v-3e645210]{margin-bottom:20px}.content__content+.dropdown[data-v-3e645210]{display:inline-block}.content__item[data-v-3e645210]{border:1px solid #e5e5e5;border-top:0 none}.content__item.sortable-ghost[data-v-3e645210]{opacity:.5}.content__item[data-v-3e645210]:first-child{border-top:1px solid #e5e5e5}.content__trigger[data-v-3e645210]{display:-webkit-box;display:-ms-flexbox;display:flex}.content__button[data-v-3e645210]{margin-top:-5px}.button--aslink[data-v-3e645210]{display:block;width:100%;text-align:center}.content__note[data-v-3e645210]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-align:right}.container[data-v-904dfa18]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-904dfa18]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-904dfa18]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-904dfa18]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-904dfa18]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-904dfa18]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-904dfa18]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-904dfa18]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-904dfa18]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-904dfa18]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-904dfa18]{width:auto}}.form__field[data-v-904dfa18]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 15px}.form__field input[data-v-904dfa18]{padding:0}.form__field .form__field--showMap a[data-v-904dfa18]{font-size:11px;letter-spacing:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-decoration:none;color:#8c8c8c;-webkit-transition:color .25s;transition:color .25s}.form__field .form__field--showMap a[data-v-904dfa18]:hover{color:#666}.form__field .form__field--showMap a span[data-v-904dfa18]{margin-right:5px}.container[data-v-6267b2a0]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-6267b2a0]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-6267b2a0]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-6267b2a0]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-6267b2a0]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-6267b2a0]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-6267b2a0]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-6267b2a0]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-6267b2a0]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-6267b2a0]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-6267b2a0]{width:auto}}.overlay[data-v-6267b2a0]{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.4);z-index:400;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;opacity:0;visibility:hidden;-webkit-transition:opacity .35s ease,visibility 0s .35s;transition:opacity .35s ease,visibility 0s .35s;padding:0;background-color:#333}.overlay+.overlay[data-v-6267b2a0]{z-index:401}.overlay__window[data-v-6267b2a0]{background:#fff;min-width:50vw;position:relative;border-radius:2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;width:100%;height:100%;max-width:inherit}.overlay__content[data-v-6267b2a0]{overflow:hidden;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:100%}.overlay__header[data-v-6267b2a0]{background:#000;color:#fff;padding:0 20px;height:60px;line-height:60px;position:relative;font-weight:600;text-align:center;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.overlay__close[data-v-6267b2a0]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;position:absolute;left:0;top:0;background:transparent;height:60px;color:#8c8c8c;padding:22px 20px;text-align:left}.overlay__close[data-v-6267b2a0]:focus,.overlay__close[data-v-6267b2a0]:hover{color:#fff}.overlay__closeLabel[data-v-6267b2a0]{position:relative;margin-left:10px;top:-2px}.overlay__content[data-v-6267b2a0]{padding:0;display:-webkit-box;display:-ms-flexbox;display:flex}.overlay__content>button[data-v-6267b2a0]{margin-bottom:20px}.overlay--active[data-v-6267b2a0]{opacity:1;visibility:visible;-webkit-transition:opacity .35s;transition:opacity .35s}.overlay--hidden[data-v-6267b2a0]{display:none}.container[data-v-0559a056]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0559a056]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0559a056]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0559a056]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0559a056]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0559a056]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0559a056]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0559a056]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0559a056]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0559a056]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0559a056]{width:auto}}.previewerframe[data-v-0559a056]{width:100%;height:100%;margin:0 auto;max-width:calc(100% - 20px);display:block;-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:width .3s ease;transition:width .3s ease;position:absolute;top:0;bottom:0;left:50%;background:#fff}.container[data-v-0fef7464]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0fef7464]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0fef7464]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0fef7464]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0fef7464]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0fef7464]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0fef7464]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0fef7464]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0fef7464]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0fef7464]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0fef7464]{width:auto}}.previewer[data-v-0fef7464]{display:block;width:100%;padding:0;position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;background-color:#333}.previewer__restore[data-v-0fef7464]{position:fixed;right:20px;top:13px;z-index:401}.tag--revision[data-v-0fef7464]{color:#262626;position:absolute;top:17px;left:0;margin:0;opacity:.5}.previewer__nav[data-v-0fef7464]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:80px;opacity:1;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.previewer__frame[data-v-0fef7464]{position:absolute;top:0;left:0;right:0;bottom:0}.previewer__frame[data-v-0fef7464],.previewer__inner[data-v-0fef7464]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.previewer__inner[data-v-0fef7464]{position:relative;width:100%;overflow:hidden;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.previewer__trigger[data-v-0fef7464]{height:auto;line-height:inherit}.previewer__trigger .icon[data-v-0fef7464]{margin-left:6px}.previewer__compare[data-v-0fef7464],.previewer__trigger[data-v-0fef7464]{color:#8c8c8c;padding-left:0;padding-right:0}.previewer__compare[data-v-0fef7464]:focus,.previewer__compare[data-v-0fef7464]:hover,.previewer__trigger[data-v-0fef7464]:focus,.previewer__trigger[data-v-0fef7464]:hover{color:#fff}.previewer__compare a[data-v-0fef7464],.previewer__trigger a[data-v-0fef7464]{white-space:nowrap;overflow:hidden;text-decoration:none}@media screen and (min-width:850px){.previewer__compare[data-v-0fef7464]{margin-left:20px}}.previewer__compare .icon[data-v-0fef7464]{position:relative;margin-left:9px;top:2px}.previewer__compareLabel[data-v-0fef7464]{display:none}@media screen and (min-width:600px){.previewer__compareLabel[data-v-0fef7464]{display:inline}}.previewer__compare[data-v-0fef7464],.previewer__revisions[data-v-0fef7464]{margin-right:20px;padding-top:40px}.previewer__revisions[data-v-0fef7464]{margin-left:20px;padding-top:40px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;position:relative}.previewer__breakpoints[data-v-0fef7464]{display:none}@media screen and (min-width:850px){.previewer__breakpoints[data-v-0fef7464]{display:block;margin:0 auto;position:absolute;top:0;left:50%;font-size:0;-webkit-transform:translateX(-50%);transform:translateX(-50%);height:80px;line-height:80px}}.previewer__breakpoint[data-v-0fef7464]{display:inline-block;color:#8c8c8c;padding:25px 15px;vertical-align:bottom}.previewer__breakpoint a[data-v-0fef7464]{display:block}.previewer__breakpoint a[data-v-0fef7464]:focus,.previewer__breakpoint a[data-v-0fef7464]:hover{color:#a6a6a6}.previewer__breakpoint .icon[data-v-0fef7464]{display:block}.previewer__breakpoint.s--active[data-v-0fef7464],.previewer__breakpoint.s--active a[data-v-0fef7464]:focus,.previewer__breakpoint.s--active a[data-v-0fef7464]:hover{color:#fff}.previewer__content[data-v-0fef7464]{height:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.previewer__content[data-v-0fef7464],.previewer__iframe[data-v-0fef7464]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.previewer__iframe[data-v-0fef7464]{opacity:1;-webkit-transition:opacity .3s ease,width .3s ease;transition:opacity .3s ease,width .3s ease;position:relative}.previewer--loading .previewer__iframe[data-v-0fef7464],.previewer--loading .previewer__nav[data-v-0fef7464]{opacity:0;pointer-events:none}.previewer--loading .previewer__content[data-v-0fef7464]:after{content:"Loading preview...";position:absolute;top:25%;left:50%;width:200px;margin-left:-100px;text-align:center;color:#8c8c8c}.previewer__iframeInfos[data-v-0fef7464]{height:80px;margin-top:-80px;position:absolute;color:#8c8c8c;top:0;left:10px;padding-top:40px}button.previewerRevision[data-v-0fef7464]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 15px}button.previewerRevision--active[data-v-0fef7464]{color:#262626;background:#f2f2f2}.previewerRevision__author[data-v-0fef7464]{padding-right:10px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;white-space:nowrap}@media screen and (min-width:600px){.previewerRevision__author[data-v-0fef7464]{padding-right:30px}}.previewerRevision__datetime[data-v-0fef7464]{color:#3278b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.container[data-v-1275ea0e]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-1275ea0e]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-1275ea0e]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-1275ea0e]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-1275ea0e]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-1275ea0e]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-1275ea0e]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-1275ea0e]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-1275ea0e]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-1275ea0e]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-1275ea0e]{width:auto}}.editorSidebar__item[data-v-1275ea0e]{padding:0 10px 0 20px;overflow-y:auto;position:absolute;top:0;bottom:60px;left:0;right:0}.editorSidebar__title[data-v-1275ea0e]{padding:15px 0 10px 0;display:-webkit-box;display:-ms-flexbox;display:flex}.editorSidebar__body[data-v-1275ea0e]{border:1px solid #e5e5e5;border-radius:2px;background:#fff;padding:15px}.editorSidebar__body[data-v-1275ea0e](.input){margin-top:15px}.editorSidebar__body[data-v-1275ea0e](.block__body)>.browserField,.editorSidebar__body[data-v-1275ea0e](.block__body)>.media,.editorSidebar__body[data-v-1275ea0e](.block__body)>.slideshow{margin-left:-15px;margin-right:-15px;border:0 none}.editorSidebar__body[data-v-1275ea0e](.block__body)>.browserField:last-child,.editorSidebar__body[data-v-1275ea0e](.block__body)>.media:last-child,.editorSidebar__body[data-v-1275ea0e](.block__body)>.slideshow:last-child{margin-bottom:-15px}.editorSidebar__counter[data-v-1275ea0e]{border:1px solid #e5e5e5;border-radius:50%;height:26px;width:26px;text-align:center;display:inline-block;line-height:25px;margin-right:10px;background:#fff;color:#8c8c8c;-webkit-font-feature-settings:"kern";font-feature-settings:"kern";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.dropdown .editorSidebar__counter[data-v-1275ea0e]{cursor:pointer}.dropdown--active .editorSidebar__counter[data-v-1275ea0e],.editorSidebar__counter[data-v-1275ea0e]:hover{color:#262626;border-color:#262626}.editorSidebar__blockTitle[data-v-1275ea0e]{font-weight:600;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.editorSidebar__blockTitle .dropdown[data-v-1275ea0e]{display:inline-block}.container[data-v-284d5f79]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-284d5f79]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-284d5f79]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-284d5f79]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-284d5f79]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-284d5f79]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-284d5f79]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-284d5f79]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-284d5f79]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-284d5f79]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-284d5f79]{width:auto}}.editorSidebar__blocks--in-fieldset[data-v-284d5f79]{padding-top:20px}.editorSidebar__blocks--in-fieldset .editorSidebar__button[data-v-284d5f79]:last-child{padding-bottom:0}.editorSidebar__listItems>div[data-v-284d5f79]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.editorSidebar__button[data-v-284d5f79]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;font-size:11.5px;letter-spacing:0;cursor:move;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:calc(50% - 5px);height:100px;padding:8px 20px;margin-bottom:10px;background:#fff;border-radius:2px;border:1px solid #e5e5e5;color:#8c8c8c;text-align:center}.editorSidebar__button .icon[data-v-284d5f79]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#a6a6a6}.editorSidebar__button .editorSidebar__buttonLabel[data-v-284d5f79]{width:100%;line-height:1}.editorSidebar__button[data-v-284d5f79]:focus,.editorSidebar__button[data-v-284d5f79]:hover{color:#262626;border-color:#ccc}.editorSidebar__button:focus .icon[data-v-284d5f79],.editorSidebar__button:hover .icon[data-v-284d5f79]{color:#262626}.editorPreview__content .editorSidebar__button[data-v-284d5f79]{width:100%}.container[data-v-1363e4e6]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-1363e4e6]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-1363e4e6]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-1363e4e6]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-1363e4e6]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-1363e4e6]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-1363e4e6]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-1363e4e6]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-1363e4e6]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-1363e4e6]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-1363e4e6]{width:auto}}.editorSidebar[data-v-1363e4e6]{margin:20px 0 20px 0;position:relative;overflow:hidden;height:calc(100% - 40px)}.editorSidebar__list[data-v-1363e4e6]{overflow-y:auto;padding:0 10px 0 20px;position:absolute;top:0;bottom:60px;left:0;right:0}.editorSidebar__actions[data-v-1363e4e6]{position:absolute;width:100%;left:0;bottom:0;padding:20px 10px 0 20px;background:#f2f2f2;display:-webkit-box;display:-ms-flexbox;display:flex}.editorSidebar__actions button[data-v-1363e4e6]{width:calc(50% - 10px)}.editorSidebar__actions button+button[data-v-1363e4e6]{margin-left:20px}.editorSidebar__actions button.button--validate[data-v-1363e4e6]:last-child{width:100%;margin-left:0}.container{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full{width:auto}}@media screen and (min-width:1540px){.container--full{width:auto}}.editorSidebar__body .block__body>.browserField,.editorSidebar__body .block__body>.media,.editorSidebar__body .block__body>.slideshow{margin-left:-15px;margin-right:-15px;border:0 none}.editorSidebar__body .block__body>.browserField:last-child,.editorSidebar__body .block__body>.media:last-child,.editorSidebar__body .block__body>.slideshow:last-child{margin-bottom:-15px}.container[data-v-12cea9ea]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-12cea9ea]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-12cea9ea]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-12cea9ea]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-12cea9ea]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-12cea9ea]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-12cea9ea]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-12cea9ea]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-12cea9ea]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-12cea9ea]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-12cea9ea]{width:auto}}.editorIframe[data-v-12cea9ea]{cursor:pointer;overflow-y:hidden;padding:5px}.editorIframe iframe[data-v-12cea9ea]{width:100%;overflow:hidden;display:block}.editorIframe__empty[data-v-12cea9ea]{position:absolute;left:0;right:0;top:0;bottom:0;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:rgba(38,38,38,.5);background-color:rgba(20,141,219,.05);border:1px solid rgba(20,141,219,.33)}.editor__preview--dark .editorIframe__empty[data-v-12cea9ea]{color:hsla(0,0%,100%,.75);background-color:rgba(20,141,219,.2);border:1px solid rgba(20,141,219,.5)}.container[data-v-a952f232]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-a952f232]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-a952f232]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-a952f232]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-a952f232]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-a952f232]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-a952f232]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-a952f232]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-a952f232]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-a952f232]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-a952f232]{width:auto}}.editorPreview__item[data-v-a952f232]{min-height:80px;position:relative;margin-bottom:1px;z-index:1}.editorPreview__item[data-v-a952f232]:after{content:"";border-radius:2px;position:absolute;top:0;right:0;left:0;bottom:0;border:1px solid #e5e5e5;z-index:0;opacity:0}.editorPreview__item[data-v-a952f232]:hover:after{border-color:#e5e5e5;opacity:1}.editorPreview__item--dropdown-open[data-v-a952f232]{z-index:2}.editorPreview__item--active[data-v-a952f232]:after,.editorPreview__item--active[data-v-a952f232]:hover:after{border-color:#148ddb;opacity:1}.editorPreview__protector[data-v-a952f232]{position:absolute;left:0;right:0;top:0;bottom:0;cursor:move;z-index:1}.editorPreview__header[data-v-a952f232]{position:absolute;top:20px;right:20px;padding:0;display:none;background-clip:padding-box;z-index:2}.editorPreview__item--active .editorPreview__header[data-v-a952f232],.editorPreview__item--dropdown-open .editorPreview__header[data-v-a952f232],.editorPreview__item:hover .editorPreview__header[data-v-a952f232]{display:-webkit-box;display:-ms-flexbox;display:flex}.editorPreview__item.sortable-chosen[data-v-a952f232]{opacity:1}.editorPreview__item.sortable-ghost[data-v-a952f232]{opacity:.25}.container[data-v-56f9fd2c]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-56f9fd2c]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-56f9fd2c]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-56f9fd2c]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-56f9fd2c]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-56f9fd2c]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-56f9fd2c]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-56f9fd2c]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-56f9fd2c]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-56f9fd2c]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-56f9fd2c]{width:auto}}.editorPreview[data-v-56f9fd2c]{background-color:inherit;color:inherit}.editorPreview__content[data-v-56f9fd2c]{position:absolute;top:0;bottom:0;right:0;left:0;padding:20px;overflow-y:auto;background-color:inherit}.editorPreview__empty[data-v-56f9fd2c]{position:absolute;top:0;bottom:0;right:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:inherit;background-color:inherit}.editorPreview__empty[data-v-56f9fd2c]:after{display:block;content:"";position:absolute;top:20px;bottom:20px;right:20px;left:20px;border:1px dashed #d9d9d9}.editorPreview__empty>[data-v-56f9fd2c]{padding:0 40px;font-size:18px;line-height:1.35em;text-align:center;font-weight:400}.editorPreview__empty+.editorPreview__content[data-v-56f9fd2c]{background-color:transparent}.editorPreview__handle[data-v-56f9fd2c]{position:absolute;height:10px;width:40px;left:50%;top:50%;margin-left:-20px;margin-top:-5px;cursor:move;background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px)}.editorPreview__handle[data-v-56f9fd2c]:before{position:absolute;display:block;content:"";background:repeating-linear-gradient(90deg,#f4f9fd,#f4f9fd 2px,transparent 0,transparent 4px);width:100%;height:100%}@font-face{font-family:Inter;font-style:normal;font-weight:400;src:url(../../../assets/admin/fonts/Inter-Regular.bffaed79.woff2) format("woff2"),url(../../../assets/admin/fonts/Inter-Regular.aebfbb3c.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:italic;font-weight:400;src:url(../../../assets/admin/fonts/Inter-Italic.381444ec.woff2) format("woff2"),url(../../../assets/admin/fonts/Inter-Italic.35cf8109.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:normal;font-weight:600;src:url(../../../assets/admin/fonts/Inter-Medium.2e5e0884.woff2) format("woff2"),url(../../../assets/admin/fonts/Inter-Medium.c09fb389.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:italic;font-weight:600;src:url(../../../assets/admin/fonts/Inter-MediumItalic.7a7fd735.woff2) format("woff2"),url(../../../assets/admin/fonts/Inter-MediumItalic.ad6e093c.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:normal;font-weight:700;src:url(../../../assets/admin/fonts/Inter-Bold.34356f6b.woff2) format("woff2"),url(../../../assets/admin/fonts/Inter-Bold.61c493e3.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:italic;font-weight:700;src:url(../../../assets/admin/fonts/Inter-BoldItalic.57acb479.woff2) format("woff2"),url(../../../assets/admin/fonts/Inter-BoldItalic.6fbcf86a.woff) format("woff");font-display:swap}.container[data-v-d485b306]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-d485b306]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-d485b306]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-d485b306]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-d485b306]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-d485b306]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-d485b306]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-d485b306]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-d485b306]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-d485b306]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-d485b306]{width:auto}}.editor[data-v-d485b306]{display:block;width:100%;padding:0;position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;background-color:#fff}.editor__leave[data-v-d485b306]{position:fixed;right:20px;top:13px;z-index:401}.editor__frame[data-v-d485b306]{position:absolute;top:0;left:0;right:0;bottom:0;-webkit-box-orient:vertical;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.editor__frame[data-v-d485b306],.editor__inner[data-v-d485b306]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.editor__inner[data-v-d485b306]{position:relative;width:100%;overflow:hidden;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:horizontal;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.editor__sidebar[data-v-d485b306]{background:#f2f2f2;width:30vw;min-width:400px}.editor__resizer[data-v-d485b306]{width:10px;min-width:10px;cursor:col-resize;background:#f2f2f2;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editor__resizer span[data-v-d485b306]{width:2px;height:20px;display:block;background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px);overflow:hidden;margin-left:auto;margin-right:auto}.editor__preview[data-v-d485b306]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;position:relative;min-width:300px;color:#8c8c8c}.editor__preview--dark[data-v-d485b306]{color:#fff}.editorDropdown__trigger[data-v-d485b306]{color:inherit} \ No newline at end of file diff --git a/dist/assets/admin/js/chunk-vendors.3abec3c2.js b/dist/assets/admin/js/chunk-vendors.19a22b37.js similarity index 97% rename from dist/assets/admin/js/chunk-vendors.3abec3c2.js rename to dist/assets/admin/js/chunk-vendors.19a22b37.js index 7a2e4c1ed..e56b80f97 100644 --- a/dist/assets/admin/js/chunk-vendors.3abec3c2.js +++ b/dist/assets/admin/js/chunk-vendors.19a22b37.js @@ -18,7 +18,7 @@ * (c) 2021 Evan You * @license MIT */ -function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return I})),n.d(t,"c",(function(){return M}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function u(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=u(e[n],t)})),r}function l(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function f(e){return e&&"function"===typeof e.then}function d(e,t){return function(){return e(t)}}var h=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(e,t){this._children[e]=t},h.prototype.removeChild=function(e){delete this._children[e]},h.prototype.getChild=function(e){return this._children[e]},h.prototype.hasChild=function(e){return e in this._children},h.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},h.prototype.forEachChild=function(e){l(this._children,e)},h.prototype.forEachGetter=function(e){this._rawModule.getters&&l(this._rawModule.getters,e)},h.prototype.forEachAction=function(e){this._rawModule.actions&&l(this._rawModule.actions,e)},h.prototype.forEachMutation=function(e){this._rawModule.mutations&&l(this._rawModule.mutations,e)},Object.defineProperties(h.prototype,p);var m=function(e){this.register([],e,!1)};function g(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;g(e.concat(r),t.getChild(r),n.modules[r])}}m.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},m.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},m.prototype.update=function(e){g([],this.root,e)},m.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new h(t,n);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&l(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},m.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},m.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var v;var y=function(e){var t=this;void 0===e&&(e={}),!v&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,u=o.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return u.call(i,e,t,n)},this.strict=r;var l=this._modules.root.state;x(this,l,[],this._modules.root),_(this,l),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:v.config.devtools;c&&a(this)},b={state:{configurable:!0}};function q(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function w(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;x(e,n,[],e._modules.root,!0),_(e,n,t)}function _(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};l(i,(function(t,n){o[n]=d(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=v.config.silent;v.config.silent=!0,e._vm=new v({data:{$$state:t},computed:o}),v.config.silent=a,e.strict&&A(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),v.nextTick((function(){return r.$destroy()})))}function x(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!i){var s=D(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit((function(){v.set(s,u,r.state)}))}var l=r.context=S(e,a,n);r.forEachMutation((function(t,n){var r=a+n;C(e,r,t,l)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,i=t.handler||t;E(e,r,i,l)})),r.forEachGetter((function(t,n){var r=a+n;O(e,r,t,l)})),r.forEachChild((function(r,o){x(e,t,n.concat(o),r,i)}))}function S(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=T(n,r,i),a=o.payload,s=o.options,u=o.type;return s&&s.root||(u=t+u),e.dispatch(u,a)},commit:r?e.commit:function(n,r,i){var o=T(n,r,i),a=o.payload,s=o.options,u=o.type;s&&s.root||(u=t+u),e.commit(u,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return k(e,t)}},state:{get:function(){return D(e.state,n)}}}),i}function k(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function C(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function E(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return f(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function O(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function A(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function D(e,t){return t.reduce((function(e,t){return e[t]}),e)}function T(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function P(e){v&&e===v||(v=e,r(v))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},y.prototype.commit=function(e,t,n){var r=this,i=T(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},y.prototype.dispatch=function(e,t){var n=this,r=T(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(l){0}var u=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){u.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(l){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(l){0}t(e)}))}))}},y.prototype.subscribe=function(e,t){return q(e,this._subscribers,t)},y.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return q(n,this._actionSubscribers,t)},y.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},y.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},y.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),x(this,this.state,e,this._modules.get(e),n.preserveState),_(this,this.state)},y.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=D(t.state,e.slice(0,-1));v.delete(n,e[e.length-1])})),w(this)},y.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},y.prototype.hotUpdate=function(e){this._modules.update(e),w(this,!0)},y.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(y.prototype,b);var M=B((function(e,t){var n={};return F(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=U(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),N=B((function(e,t){var n={};return F(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=U(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),I=B((function(e,t){var n={};return F(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||U(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),R=B((function(e,t){var n={};return F(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=U(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),j=function(e){return{mapState:M.bind(null,e),mapGetters:I.bind(null,e),mapMutations:N.bind(null,e),mapActions:R.bind(null,e)}};function F(e){return L(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function L(e){return Array.isArray(e)||c(e)}function B(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function U(e,t,n){var r=e._modulesNamespaceMap[n];return r}function z(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var f=u(e.state);"undefined"!==typeof c&&(s&&e.subscribe((function(e,o){var a=u(o);if(n(e,f,a)){var s=V(),l=i(e),d="mutation "+e.type+s;H(c,d,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),$(c)}f=a})),l&&e.subscribeAction((function(e,n){if(o(e,n)){var r=V(),i=a(e),s="action "+e.type+r;H(c,s,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),$(c)}})))}}function H(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function $(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function V(){var e=new Date;return" @ "+X(e.getHours(),2)+":"+X(e.getMinutes(),2)+":"+X(e.getSeconds(),2)+"."+X(e.getMilliseconds(),3)}function W(e,t){return new Array(t+1).join(e)}function X(e,t){return W("0",t-e.toString().length)+e}var G={Store:y,install:P,version:"3.6.2",mapState:M,mapMutations:N,mapGetters:I,mapActions:R,createNamespacedHelpers:j,createLogger:z};t["a"]=G}).call(this,n("c8ba"))},"2fcc":function(e,t){function n(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}e.exports=n},"304a":function(e,t,n){"use strict";function r(e){this.content=e}n.d(t,"a",(function(){return he})),n.d(t,"b",(function(){return De})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return ce})),n.d(t,"f",(function(){return j})),n.d(t,"g",(function(){return N})),n.d(t,"h",(function(){return p})),n.d(t,"i",(function(){return fe})),n.d(t,"j",(function(){return m})),r.prototype={constructor:r,find:function(e){for(var t=0;t>1}},r.from=function(e){if(e instanceof r)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new r(t)};var i=r,o=i;function a(e,t,n){for(var r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;var i=e.child(r),o=t.child(r);if(i!=o){if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(var s=0;i.text[s]==o.text[s];s++)n++;return n}if(i.content.size||o.content.size){var u=a(i.content,o.content,n+1);if(null!=u)return u}n+=i.nodeSize}else n+=i.nodeSize}}function s(e,t,n,r){for(var i=e.childCount,o=t.childCount;;){if(0==i||0==o)return i==o?null:{a:n,b:r};var a=e.child(--i),u=t.child(--o),l=a.nodeSize;if(a!=u){if(!a.sameMarkup(u))return{a:n,b:r};if(a.isText&&a.text!=u.text){var c=0,f=Math.min(a.text.length,u.text.length);while(ce&&!1!==n(s,r+a,i,o)&&s.content.size){var l=a+1;s.nodesBetween(Math.max(0,e-l),Math.min(s.content.size,t-l),n,r+l)}a=u}},u.prototype.descendants=function(e){this.nodesBetween(0,this.size,e)},u.prototype.textBetween=function(e,t,n,r){var i="",o=!0;return this.nodesBetween(e,t,(function(a,s){a.isText?(i+=a.text.slice(Math.max(e,s)-s,t-s),o=!n):a.isLeaf&&r?(i+="function"===typeof r?r(a):r,o=!n):!o&&a.isBlock&&(i+=n,o=!0)}),0),i},u.prototype.append=function(e){if(!e.size)return this;if(!this.size)return e;var t=this.lastChild,n=e.firstChild,r=this.content.slice(),i=0;for(t.isText&&t.sameMarkup(n)&&(r[r.length-1]=t.withText(t.text+n.text),i=1);ie)for(var i=0,o=0;oe&&((ot)&&(a=a.isText?a.cut(Math.max(0,e-o),Math.min(a.text.length,t-o)):a.cut(Math.max(0,e-o-1),Math.min(a.content.size,t-o-1))),n.push(a),r+=a.nodeSize),o=s}return new u(n,r)},u.prototype.cutByIndex=function(e,t){return e==t?u.empty:0==e&&t==this.content.length?this:new u(this.content.slice(e,t))},u.prototype.replaceChild=function(e,t){var n=this.content[e];if(n==t)return this;var r=this.content.slice(),i=this.size+t.nodeSize-n.nodeSize;return r[e]=t,new u(r,i)},u.prototype.addToStart=function(e){return new u([e].concat(this.content),this.size+e.nodeSize)},u.prototype.addToEnd=function(e){return new u(this.content.concat(e),this.size+e.nodeSize)},u.prototype.eq=function(e){if(this.content.length!=e.content.length)return!1;for(var t=0;tthis.size||e<0)throw new RangeError("Position "+e+" outside of fragment ("+this+")");for(var n=0,r=0;;n++){var i=this.child(n),o=r+i.nodeSize;if(o>=e)return o==e||t>0?f(n+1,o):f(n,r);r=o}},u.prototype.toString=function(){return"<"+this.toStringInner()+">"},u.prototype.toStringInner=function(){return this.content.join(", ")},u.prototype.toJSON=function(){return this.content.length?this.content.map((function(e){return e.toJSON()})):null},u.fromJSON=function(e,t){if(!t)return u.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new u(t.map(e.nodeFromJSON))},u.fromArray=function(e){if(!e.length)return u.empty;for(var t,n=0,r=0;rthis.type.rank&&(t||(t=e.slice(0,r)),t.push(this),n=!0),t&&t.push(i)}}return t||(t=e.slice()),n||t.push(this),t},h.prototype.removeFromSet=function(e){for(var t=0;te.depth)throw new p("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new p("Inconsistent open depths");return q(e,t,n,0)}function q(e,t,n,r){var i=e.index(r),o=e.node(r);if(i==t.index(r)&&r=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function S(e,t,n,r){var i=(t||e).node(n),o=0,a=t?t.index(n):i.childCount;e&&(o=e.index(n),e.depth>n?o++:e.textOffset&&(x(e.nodeAfter,r),o++));for(var s=o;si&&_(e,t,i+1),a=r.depth>i&&_(n,r,i+1),s=[];return S(null,e,i,s),o&&a&&t.index(i)==n.index(i)?(w(o,a),x(k(o,C(e,t,n,r,i+1)),s)):(o&&x(k(o,E(e,t,i+1)),s),S(t,n,i,s),a&&x(k(a,E(n,r,i+1)),s)),S(r,null,i,s),new u(s)}function E(e,t,n){var r=[];if(S(null,e,n,r),e.depth>n){var i=_(e,t,n+1);x(k(i,E(e,t,n+1)),r)}return S(t,null,n,r),new u(r)}function O(e,t){for(var n=t.depth-e.openStart,r=t.node(n),i=r.copy(e.content),o=n-1;o>=0;o--)i=t.node(o).copy(u.from(i));return{start:i.resolveNoCache(e.openStart+n),end:i.resolveNoCache(i.content.size-e.openEnd-n)}}g.size.get=function(){return this.content.size-this.openStart-this.openEnd},m.prototype.insertAt=function(e,t){var n=y(this.content,e+this.openStart,t,null);return n&&new m(n,this.openStart,this.openEnd)},m.prototype.removeBetween=function(e,t){return new m(v(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)},m.prototype.eq=function(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd},m.prototype.toString=function(){return this.content+"("+this.openStart+","+this.openEnd+")"},m.prototype.toJSON=function(){if(!this.content.size)return null;var e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e},m.fromJSON=function(e,t){if(!t)return m.empty;var n=t.openStart||0,r=t.openEnd||0;if("number"!=typeof n||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new m(u.fromJSON(e,t.content),n,r)},m.maxOpen=function(e,t){void 0===t&&(t=!0);for(var n=0,r=0,i=e.firstChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.firstChild)n++;for(var o=e.lastChild;o&&!o.isLeaf&&(t||!o.type.spec.isolating);o=o.lastChild)r++;return new m(e,n,r)},Object.defineProperties(m.prototype,g),m.empty=new m(u.empty,0,0);var A=function(e,t,n){this.pos=e,this.path=t,this.depth=t.length/3-1,this.parentOffset=n},D={parent:{configurable:!0},doc:{configurable:!0},textOffset:{configurable:!0},nodeAfter:{configurable:!0},nodeBefore:{configurable:!0}};A.prototype.resolveDepth=function(e){return null==e?this.depth:e<0?this.depth+e:e},D.parent.get=function(){return this.node(this.depth)},D.doc.get=function(){return this.node(0)},A.prototype.node=function(e){return this.path[3*this.resolveDepth(e)]},A.prototype.index=function(e){return this.path[3*this.resolveDepth(e)+1]},A.prototype.indexAfter=function(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)},A.prototype.start=function(e){return e=this.resolveDepth(e),0==e?0:this.path[3*e-1]+1},A.prototype.end=function(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size},A.prototype.before=function(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]},A.prototype.after=function(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize},D.textOffset.get=function(){return this.pos-this.path[this.path.length-1]},D.nodeAfter.get=function(){var e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;var n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r},D.nodeBefore.get=function(){var e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)},A.prototype.posAtIndex=function(e,t){t=this.resolveDepth(t);for(var n=this.path[3*t],r=0==t?0:this.path[3*t-1]+1,i=0;i0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0},A.prototype.blockRange=function(e,t){if(void 0===e&&(e=this),e.pos=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new N(this,e,n)},A.prototype.sameParent=function(e){return this.pos-this.parentOffset==e.pos-e.parentOffset},A.prototype.max=function(e){return e.pos>this.pos?e:this},A.prototype.min=function(e){return e.pos=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");for(var n=[],r=0,i=t,o=e;;){var a=o.content.findIndex(i),s=a.index,u=a.offset,l=i-u;if(n.push(o,s,r+u),!l)break;if(o=o.child(s),o.isText)break;i=l-1,r+=u+1}return new A(t,n,i)},A.resolveCached=function(e,t){for(var n=0;ne&&this.nodesBetween(e,t,(function(e){return n.isInSet(e.marks)&&(r=!0),!r})),r},F.isBlock.get=function(){return this.type.isBlock},F.isTextblock.get=function(){return this.type.isTextblock},F.inlineContent.get=function(){return this.type.inlineContent},F.isInline.get=function(){return this.type.isInline},F.isText.get=function(){return this.type.isText},F.isLeaf.get=function(){return this.type.isLeaf},F.isAtom.get=function(){return this.type.isAtom},j.prototype.toString=function(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);var e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),B(this.marks,e)},j.prototype.contentMatchAt=function(e){var t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t},j.prototype.canReplace=function(e,t,n,r,i){void 0===n&&(n=u.empty),void 0===r&&(r=0),void 0===i&&(i=n.childCount);var o=this.contentMatchAt(e).matchFragment(n,r,i),a=o&&o.matchFragment(this.content,t);if(!a||!a.validEnd)return!1;for(var s=r;s=0;n--)t=e[n].type.name+"("+t+")";return t}var U=function(e){this.validEnd=e,this.next=[],this.wrapCache=[]},z={inlineContent:{configurable:!0},defaultType:{configurable:!0},edgeCount:{configurable:!0}};U.parse=function(e,t){var n=new H(e,t);if(null==n.next)return U.empty;var r=V(n);n.next&&n.err("Unexpected trailing text");var i=te(Z(r));return ne(i,n),i},U.prototype.matchType=function(e){for(var t=0;t>1},U.prototype.edge=function(e){var t=e<<1;if(t>=this.next.length)throw new RangeError("There's no "+e+"th edge in this content match");return{type:this.next[t],next:this.next[t+1]}},U.prototype.toString=function(){var e=[];function t(n){e.push(n);for(var r=1;r"+e.indexOf(t.next[i+1]);return r})).join("\n")},Object.defineProperties(U.prototype,z),U.empty=new U(!0);var H=function(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()},$={next:{configurable:!0}};function V(e){var t=[];do{t.push(W(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function W(e){var t=[];do{t.push(X(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function X(e){for(var t=J(e);;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=Y(e,t)}return t}function G(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");var t=Number(e.next);return e.pos++,t}function Y(e,t){var n=G(e),r=n;return e.eat(",")&&(r="}"!=e.next?G(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function K(e,t){var n=e.nodeTypes,r=n[t];if(r)return[r];var i=[];for(var o in n){var a=n[o];a.groups.indexOf(t)>-1&&i.push(a)}return 0==i.length&&e.err("No node type or group '"+t+"' found"),i}function J(e){if(e.eat("(")){var t=V(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){var n=K(e,e.next).map((function(t){return null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t}}));return e.pos++,1==n.length?n[0]:{type:"choice",exprs:n}}e.err("Unexpected token '"+e.next+"'")}function Z(e){var t=[[]];return i(o(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){var i={term:r,to:n};return t[e].push(i),i}function i(e,t){e.forEach((function(e){return e.to=t}))}function o(e,t){if("choice"==e.type)return e.exprs.reduce((function(e,n){return e.concat(o(n,t))}),[]);if("seq"==e.type)for(var a=0;;a++){var s=o(e.exprs[a],t);if(a==e.exprs.length-1)return s;i(s,t=n())}else{if("star"==e.type){var u=n();return r(t,u),i(o(e.expr,u),u),[r(u)]}if("plus"==e.type){var l=n();return i(o(e.expr,t),l),i(o(e.expr,l),l),[r(l)]}if("opt"==e.type)return[r(t)].concat(o(e.expr,t));if("range"==e.type){for(var c=t,f=0;f-1&&i[o+1];ee(e,r).forEach((function(e){a||i.push(n,a=[]),-1==a.indexOf(e)&&a.push(e)}))}}))}));for(var o=t[r.join(",")]=new U(r.indexOf(e.length-1)>-1),a=0;a-1},ae.prototype.allowsMarks=function(e){if(null==this.markSet)return!0;for(var t=0;t-1};var fe=function(e){for(var t in this.spec={},e)this.spec[t]=e[t];this.spec.nodes=o.from(e.nodes),this.spec.marks=o.from(e.marks),this.nodes=ae.compile(this.spec.nodes,this),this.marks=ce.compile(this.spec.marks,this);var n=Object.create(null);for(var r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");var i=this.nodes[r],a=i.spec.content||"",s=i.spec.marks;i.contentMatch=n[a]||(n[a]=U.parse(a,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.markSet="_"==s?null:s?de(this,s.split(" ")):""!=s&&i.inlineContent?null:[]}for(var u in this.marks){var l=this.marks[u],c=l.spec.excludes;l.excluded=null==c?[l]:""==c?[]:de(this,c.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached=Object.create(null),this.cached.wrappings=Object.create(null)};function de(e,t){for(var n=[],r=0;r-1)&&n.push(a=u)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}fe.prototype.node=function(e,t,n,r){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof ae))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,r)},fe.prototype.text=function(e,t){var n=this.nodes.text;return new L(n,n.defaultAttrs,e,h.setFrom(t))},fe.prototype.mark=function(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)},fe.prototype.nodeFromJSON=function(e){return j.fromJSON(this,e)},fe.prototype.markFromJSON=function(e){return h.fromJSON(this,e)},fe.prototype.nodeType=function(e){var t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t};var he=function(e,t){var n=this;this.schema=e,this.rules=t,this.tags=[],this.styles=[],t.forEach((function(e){e.tag?n.tags.push(e):e.style&&n.styles.push(e)})),this.normalizeLists=!this.tags.some((function(t){if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;var n=e.nodes[t.node];return n.contentMatch.matchType(n)}))};he.prototype.parse=function(e,t){void 0===t&&(t={});var n=new _e(this,t,!1);return n.addAll(e,null,t.from,t.to),n.finish()},he.prototype.parseSlice=function(e,t){void 0===t&&(t={});var n=new _e(this,t,!0);return n.addAll(e,null,t.from,t.to),m.maxOpen(n.finish())},he.prototype.matchTag=function(e,t,n){for(var r=n?this.tags.indexOf(n)+1:0;re.length&&(61!=o.style.charCodeAt(e.length)||o.style.slice(e.length+1)!=t))){if(o.getAttrs){var a=o.getAttrs(t);if(!1===a)continue;o.attrs=a}return o}}},he.schemaRules=function(e){var t=[];function n(e){for(var n=null==e.priority?50:e.priority,r=0;r=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]},we.prototype.applyPending=function(e){for(var t=0,n=this.pendingMarks;t=0;r--){var i=this.nodes[r],o=i.findWrapping(e);if(o&&(!t||t.length>o.length)&&(t=o,n=i,!o.length))break;if(i.solid)break}if(!t)return!1;this.sync(n);for(var a=0;athis.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}},_e.prototype.finish=function(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)},_e.prototype.sync=function(e){for(var t=this.open;t>=0;t--)if(this.nodes[t]==e)return void(this.open=t)},xe.currentPos.get=function(){this.closeExtra();for(var e=0,t=this.open;t>=0;t--){for(var n=this.nodes[t].content,r=n.length-1;r>=0;r--)e+=n[r].nodeSize;t&&e++}return e},_e.prototype.findAtPoint=function(e,t){if(this.find)for(var n=0;n-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);var n=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),a=function(e,s){for(;e>=0;e--){var u=n[e];if(""==u){if(e==n.length-1||0==e)continue;for(;s>=o;s--)if(a(e-1,s))return!0;return!1}var l=s>0||0==s&&i?t.nodes[s].type:r&&s>=o?r.node(s-o).type:null;if(!l||l.name!=u&&-1==l.groups.indexOf(u))return!1;s--}return!0};return a(n.length-1,this.open)},_e.prototype.textblockFromContext=function(){var e=this.options.context;if(e)for(var t=e.depth;t>=0;t--){var n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(var r in this.parser.schema.nodes){var i=this.parser.schema.nodes[r];if(i.isTextblock&&i.defaultAttrs)return i}},_e.prototype.addPendingMark=function(e){var t=Ae(e,this.top.pendingMarks);t&&this.top.stashMarks.push(t),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)},_e.prototype.removePendingMark=function(e,t){for(var n=this.open;n>=0;n--){var r=this.nodes[n],i=r.pendingMarks.lastIndexOf(e);if(i>-1)r.pendingMarks=e.removeFromSet(r.pendingMarks);else{r.activeMarks=e.removeFromSet(r.activeMarks);var o=r.popFromStashMark(e);o&&r.type&&r.type.allowsMarkType(o.type)&&(r.activeMarks=o.addToSet(r.activeMarks))}if(r==t)break}},Object.defineProperties(_e.prototype,xe);var De=function(e,t){this.nodes=e||{},this.marks=t||{}};function Te(e){var t={};for(var n in e){var r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function Pe(e){return e.document||window.document}De.prototype.serializeFragment=function(e,t,n){var r=this;void 0===t&&(t={}),n||(n=Pe(t).createDocumentFragment());var i=n,o=null;return e.forEach((function(e){if(o||e.marks.length){o||(o=[]);var n=0,a=0;while(n=0;r--){var i=this.serializeMark(e.marks[r],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n},De.prototype.serializeMark=function(e,t,n){void 0===n&&(n={});var r=this.marks[e.type.name];return r&&De.renderSpec(Pe(n),r(e,t))},De.renderSpec=function(e,t,n){if(void 0===n&&(n=null),"string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&&null!=t.dom.nodeType)return t;var r=t[0],i=r.indexOf(" ");i>0&&(n=r.slice(0,i),r=r.slice(i+1));var o=null,a=n?e.createElementNS(n,r):e.createElement(r),s=t[1],u=1;if(s&&"object"==typeof s&&null==s.nodeType&&!Array.isArray(s))for(var l in u=2,s)if(null!=s[l]){var c=l.indexOf(" ");c>0?a.setAttributeNS(l.slice(0,c),l.slice(c+1),s[l]):a.setAttribute(l,s[l])}for(var f=u;fu)throw new RangeError("Content hole must be the only child of its parent node");return{dom:a,contentDOM:a}}var h=De.renderSpec(e,d,n),p=h.dom,m=h.contentDOM;if(a.appendChild(p),m){if(o)throw new RangeError("Multiple content holes");o=m}}return{dom:a,contentDOM:o}},De.fromSchema=function(e){return e.cached.domSerializer||(e.cached.domSerializer=new De(this.nodesFromSchema(e),this.marksFromSchema(e)))},De.nodesFromSchema=function(e){var t=Te(e.nodes);return t.text||(t.text=function(e){return e.text}),t},De.marksFromSchema=function(e){return Te(e.marks)}},"30b5":function(e,t,n){"use strict";var r=n("c532");function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"30c9":function(e,t,n){var r=n("9520"),i=n("b218");function o(e){return null!=e&&i(e.length)&&!r(e)}e.exports=o},"320c":function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function a(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(o){return!1}}e.exports=a()?Object.assign:function(e,t){for(var n,a,s=o(e),u=1;u0?(g=i(e),v=i(t)):(g=i(t),v=i(e));var b,q=o(v,g),w=v.getTimezoneOffset()-g.getTimezoneOffset(),_=Math.round(q/60)-w;if(_<2)return d.includeSeconds?q<5?m("lessThanXSeconds",5,y):q<10?m("lessThanXSeconds",10,y):q<20?m("lessThanXSeconds",20,y):q<40?m("halfAMinute",null,y):m(q<60?"lessThanXMinutes":"xMinutes",1,y):0===_?m("lessThanXMinutes",1,y):m("xMinutes",_,y);if(_<45)return m("xMinutes",_,y);if(_<90)return m("aboutXHours",1,y);if(_s.relevance&&(s=u),u.relevance>n.relevance&&(s=n,n=u));return s.language&&(n.secondBest=s),n}function u(e,t){r.registerLanguage(e,t)}function l(){return r.listLanguages()}function c(e,t){var n,i=e;for(n in t&&(i={},i[e]=t),i)r.registerAliases(i[n],{languageName:n})}function f(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function d(e,t){this.openNode(t),this.addText(e),this.closeNode()}function h(e,t){var n=this.stack,r=n[n.length-1],i=e.rootNode.children,o=t?{type:"element",tagName:"span",properties:{className:[t]},children:i}:i;r.children=r.children.concat(o)}function p(e){var t,n,r=this.stack;""!==e&&(t=r[r.length-1],n=t.children[t.children.length-1],n&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e}))}function m(e){var t=this.stack,n=this.options.classPrefix+e,r=t[t.length-1],i={type:"element",tagName:"span",properties:{className:[n]},children:[]};r.children.push(i),t.push(i)}function g(){this.stack.pop()}function v(){return""}function y(){}},"408c":function(e,t,n){var r=n("2b3e"),i=function(){return r.Date.now()};e.exports=i},"41c3":function(e,t,n){var r=n("1a8c"),i=n("eac5"),o=n("ec8c"),a=Object.prototype,s=a.hasOwnProperty;function u(e){if(!r(e))return o(e);var t=i(e),n=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&n.push(a);return n}e.exports=u},"41e5":function(e,t,n){"use strict";n.d(t,"a",(function(){return bn})),n.d(t,"b",(function(){return _n})),n.d(t,"c",(function(){return In}));var r=n("65e8");const i={};var o=i;if("undefined"!=typeof navigator&&"undefined"!=typeof document){const e=/Edge\/(\d+)/.exec(navigator.userAgent),t=/MSIE \d/.test(navigator.userAgent),n=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);let r=i.ie=!!(t||n||e);i.ie_version=t?document.documentMode||6:n?+n[1]:e?+e[1]:null,i.gecko=!r&&/gecko\/(\d+)/i.test(navigator.userAgent),i.gecko_version=i.gecko&&+(/Firefox\/(\d+)/.exec(navigator.userAgent)||[0,0])[1];let o=!r&&/Chrome\/(\d+)/.exec(navigator.userAgent);i.chrome=!!o,i.chrome_version=o&&+o[1],i.safari=!r&&/Apple Computer/.test(navigator.vendor),i.ios=i.safari&&(/Mobile\/\w+/.test(navigator.userAgent)||navigator.maxTouchPoints>2),i.mac=i.ios||/Mac/.test(navigator.platform),i.android=/Android \d/.test(navigator.userAgent),i.webkit="webkitFontSmoothing"in document.documentElement.style,i.webkit_version=i.webkit&&+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]}const a=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},s=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t};let u=null;const l=function(e,t,n){let r=u||(u=document.createRange());return r.setEnd(e,null==n?e.nodeValue.length:n),r.setStart(e,t||0),r},c=function(e,t,n,r){return n&&(d(e,t,n,r,-1)||d(e,t,n,r,1))},f=/^(img|br|input|textarea|hr)$/i;function d(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:h(e))){let n=e.parentNode;if(!n||1!=n.nodeType||m(e)||f.test(e.nodeName)||"false"==e.contentEditable)return!1;t=a(e)+(i<0?0:1),e=n}else{if(1!=e.nodeType)return!1;if(e=e.childNodes[t+(i<0?-1:0)],"false"==e.contentEditable)return!1;t=i<0?h(e):0}}}function h(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function p(e,t,n){for(let r=0==t,i=t==h(e);r||i;){if(e==n)return!0;let t=a(e);if(e=e.parentNode,!e)return!1;r=r&&0==t,i=i&&t==h(e)}}function m(e){let t;for(let n=e;n;n=n.parentNode)if(t=n.pmViewDesc)break;return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const g=function(e){let t=e.isCollapsed;return t&&o.chrome&&e.rangeCount&&!e.getRangeAt(0).collapsed&&(t=!1),t};function v(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}function y(e){return{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function b(e,t){return"number"==typeof e?e:e[t]}function q(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function w(e,t,n){let r=e.someProp("scrollThreshold")||0,i=e.someProp("scrollMargin")||5,o=e.dom.ownerDocument;for(let a=n||e.dom;;a=s(a)){if(!a)break;if(1!=a.nodeType)continue;let e=a==o.body||1!=a.nodeType,n=e?y(o):q(a),s=0,u=0;if(t.topn.bottom-b(r,"bottom")&&(u=t.bottom-n.bottom+b(i,"bottom")),t.leftn.right-b(r,"right")&&(s=t.right-n.right+b(i,"right")),s||u)if(e)o.defaultView.scrollBy(s,u);else{let e=a.scrollLeft,n=a.scrollTop;u&&(a.scrollTop+=u),s&&(a.scrollLeft+=s);let r=a.scrollLeft-e,i=a.scrollTop-n;t={left:t.left-r,top:t.top-i,right:t.right-r,bottom:t.bottom-i}}if(e)break}}function _(e){let t,n,r=e.dom.getBoundingClientRect(),i=Math.max(0,r.top);for(let o=(r.left+r.right)/2,a=i+1;a=i-20){t=r,n=s.top;break}}return{refDOM:t,refTop:n,stack:x(e.dom)}}function x(e){let t=[],n=e.ownerDocument;for(;e;e=s(e))if(t.push({dom:e,top:e.scrollTop,left:e.scrollLeft}),e==n)break;return t}function S({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;k(n,0==r?0:r-t)}function k(e,t){for(let n=0;n=s){a=Math.max(f.bottom,a),s=Math.min(f.top,s);let e=f.left>t.left?f.left-t.left:f.right=(f.left+f.right)/2?1:0));continue}}!n&&(t.left>=f.right&&t.top>=f.top||t.left>=f.left&&t.top>=f.bottom)&&(o=c+1)}}return n&&3==n.nodeType?A(n,r):!n||i&&1==n.nodeType?{node:e,offset:o}:O(n,r)}function A(e,t){let n=e.nodeValue.length,r=document.createRange();for(let i=0;i=(n.left+n.right)/2?1:0)}}return{node:e,offset:0}}function D(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function T(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,i,o)}function M(e,t,n,r){let i=-1;for(let o=t;;){if(o==e.dom)break;let t=e.docView.nearestDesc(o,!0);if(!t)return null;if(t.node.isBlock&&t.parent){let e=t.dom.getBoundingClientRect();if(e.left>r.left||e.top>r.top)i=t.posBefore;else{if(!(e.right-1?i:e.docView.posFromDOM(t,n)}function N(e,t,n){let r=e.childNodes.length;if(r&&n.topt.top&&r++}n==e.dom&&r==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?a=e.state.doc.content.size:0!=r&&1==n.nodeType&&"BR"==n.childNodes[r-1].nodeName||(a=M(e,n,r,t))}null==a&&(a=P(e,u,t));let l=e.docView.nearestDesc(u,!0);return{pos:a,inside:l?l.posAtStart-l.border:-1}}function R(e,t){let n=e.getClientRects();return n.length?n[t<0?0:n.length-1]:e.getBoundingClientRect()}const j=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function F(e,t,n){let{node:r,offset:i}=e.docView.domFromPos(t,n<0?-1:1),a=o.webkit||o.gecko;if(3==r.nodeType){if(!a||!j.test(r.nodeValue)&&(n<0?i:i!=r.nodeValue.length)){let e=i,t=i,o=n<0?1:-1;return n<0&&!i?(t++,o=-1):n>=0&&i==r.nodeValue.length?(e--,o=1):n<0?e--:t++,L(R(l(r,e,t),o),o<0)}{let e=R(l(r,i,i),n);if(o.gecko&&i&&/\s/.test(r.nodeValue[i-1])&&i=0)}if(i&&(n<0||i==h(r))){let e=r.childNodes[i-1],t=3==e.nodeType?l(e,h(e)-(a?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return L(R(t,1),!1)}if(i=0)}function L(e,t){if(0==e.width)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function B(e,t){if(0==e.height)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function U(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}function z(e,t,n){let r=t.selection,i="up"==n?r.$from:r.$to;return U(e,t,()=>{let{node:t}=e.docView.domFromPos(i.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.dom;break}t=n.dom.parentNode}let r=F(e,i.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=l(e,0,e.nodeValue.length).getClientRects()}for(let e=0;ei.top+1&&("up"==n?r.top-i.top>2*(i.bottom-r.top):i.bottom-r.bottom>2*(r.bottom-i.top)))return!1}}return!0})}const H=/[\u0590-\u08ac]/;function $(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=e.root.getSelection();return H.test(r.parent.textContent)&&s.modify?U(e,t,()=>{let t=s.getRangeAt(0),i=s.focusNode,o=s.focusOffset,a=s.caretBidiLevel;s.modify("move",n,"character");let u=r.depth?e.docView.domAfterPos(r.before()):e.dom,l=!u.contains(1==s.focusNode.nodeType?s.focusNode:s.focusNode.parentNode)||i==s.focusNode&&o==s.focusOffset;return s.removeAllRanges(),s.addRange(t),null!=a&&(s.caretBidiLevel=a),l}):"left"==n||"backward"==n?o:a}let V=null,W=null,X=!1;function G(e,t,n){return V==t&&W==n?X:(V=t,W=n,X="up"==n||"down"==n?z(e,t,n):$(e,t,n))}var Y=n("304a");const K=0,J=1,Z=2,Q=3;class ee{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,n.pmViewDesc=this,this.contentDOM=r,this.dirty=K}matchesWidget(){return!1}matchesMark(){return!1}matchesNode(){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(){return!1}get size(){let e=0;for(let t=0;ta(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.parentNode.firstChild!=t)break}if(null==r&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.parentNode.lastChild!=t)break}}return(null==r?n>0:r)?this.posAtEnd:this.posAtStart}nearestDesc(e,t){for(let n=!0,r=e;r;r=r.parentNode){let i=this.getDesc(r);if(i&&(!t||i.node)){if(!n||!i.nodeDOM||(1==i.nodeDOM.nodeType?i.nodeDOM.contains(1==e.nodeType?e:e.parentNode):i.nodeDOM==e))return i;n=!1}}}getDesc(e){let t=e.pmViewDesc;for(let n=t;n;n=n.parent)if(n==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let i=this.getDesc(r);if(i)return i.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;te||t instanceof ue){i=e-o;break}o=n}if(i)return this.children[r].domFromPos(i-this.children[r].border,t);for(;r&&!(n=this.children[r-1]).size&&n instanceof ne&&n.widget.type.side>=0;r--);if(t<=0){let e,n=!0;for(;;r--,n=!1)if(e=r?this.children[r-1]:null,!e||e.dom.parentNode==this.contentDOM)break;return e&&t&&n&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?a(e.dom)+1:0}}{let e,n=!0;for(;;r++,n=!1)if(e=r=i&&t<=u-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,i);e=o;for(let t=s;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=a(n.dom)+1;break}e-=n.size}-1==r&&(r=0)}if(r>-1&&(u>t||s==this.children.length-1)){t=u;for(let e=s+1;ea&&st){let e=u;u=l,l=e}let n=document.createRange();n.setEnd(l.node,l.offset),n.setStart(u.node,u.offset),f.removeAllRanges(),f.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&"selection"!=e.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r=n:en){let r=n+i.border,a=o-i.border;if(e>=r&&t<=a)return this.dirty=e==n||t==o?Z:J,void(e!=r||t!=a||!i.contentLost&&i.dom.parentNode==this.contentDOM?i.markDirty(e-r,t-r):i.dirty=Q);i.dirty=i.dom!=i.contentDOM||i.dom.parentNode!=this.contentDOM||i.children.length?Q:Z}n=o}this.dirty=Z}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?Z:J;t.dirtyi?i.parent?i.parent.posBeforeChild(i):void 0:r)),!t.type.spec.raw){if(1!=o.nodeType){let e=document.createElement("span");e.appendChild(o),o=e}o.contentEditable=!1,o.classList.add("ProseMirror-widget")}super(e,te,o,null),this.widget=t,i=this}matchesWidget(e){return this.dirty==K&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return!!t&&t(e)}ignoreMutation(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}}class re extends ee{constructor(e,t,n,r){super(e,te,t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}class ie extends ee{constructor(e,t,n,r){super(e,[],n,r),this.mark=t}static create(e,t,n,r){let i=r.nodeViews[t.type.name],o=i&&i(t,r,n);return o&&o.dom||(o=Y["b"].renderSpec(document,t.type.spec.toDOM(t,n))),new ie(e,t,o.dom,o.contentDOM||o.dom)}parseRule(){return this.dirty&Q||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Q&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=K){let e=this.parent;while(!e.node)e=e.parent;e.dirty0&&(i=Ce(i,0,e,n));for(let a=0;aa?a.parent?a.parent.posBeforeChild(a):void 0:o,n,r),l=u&&u.dom,c=u&&u.contentDOM;if(t.isText)if(l){if(3!=l.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else l=document.createTextNode(t.text);else l||({dom:l,contentDOM:c}=Y["b"].renderSpec(document,t.type.spec.toDOM(t)));c||t.isText||"BR"==l.nodeName||(l.hasAttribute("contenteditable")||(l.contentEditable=!1),t.type.spec.draggable&&(l.draggable=!0));let f=l;return l=ge(l,n,t),u?a=new le(e,t,n,r,l,c,f,u,i,o+1):t.isText?new se(e,t,n,r,l,f,i):new oe(e,t,n,r,l,c,f,i,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(e.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let t=this.children.length-1;t>=0;t--){let n=this.children[t];if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode;break}}e.contentElement||(e.getContent=()=>Y["c"].empty)}else e.contentElement=this.contentDOM;else e.getContent=()=>this.node.content;return e}matchesNode(e,t,n){return this.dirty==K&&e.eq(this.node)&&ve(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let n=this.node.inlineContent,r=t,i=e.composing&&this.localCompositionInfo(e,t),a=i&&i.pos>-1?i:null,s=i&&i.pos<0,u=new be(this,a&&a.node);_e(this.node,this.innerDeco,(t,i,o)=>{t.spec.marks?u.syncToMarks(t.spec.marks,n,e):t.type.side>=0&&!o&&u.syncToMarks(i==this.node.childCount?Y["d"].none:this.node.child(i).marks,n,e),u.placeWidget(t,e,r)},(t,o,a,l)=>{let c;u.syncToMarks(t.marks,n,e),u.findNodeMatch(t,o,a,l)||s&&e.state.selection.from>r&&e.state.selection.to-1&&u.updateNodeAt(t,o,a,c,e)||u.updateNextNode(t,o,a,e,l)||u.addNode(t,o,a,e,r),r+=t.nodeSize}),u.syncToMarks(te,n,e),this.node.isTextblock&&u.addTextblockHacks(),u.destroyRest(),(u.changed||this.dirty==Z)&&(a&&this.protectLocalComposition(e,a),ce(this.contentDOM,this.children,e),o.ios&&xe(this.dom))}localCompositionInfo(e,t){let{from:n,to:i}=e.state.selection;if(!(e.state.selection instanceof r["h"])||nt+this.node.content.size)return;let o=e.root.getSelection(),a=Se(o.focusNode,o.focusOffset);if(a&&this.dom.contains(a.parentNode)){if(this.node.inlineContent){let e=a.nodeValue,r=ke(this.node.content,e,n-t,i-t);return r<0?null:{node:a,pos:r,text:e}}return{node:a,pos:-1}}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let i=t;for(;;i=i.parentNode){if(i.parentNode==this.contentDOM)break;while(i.previousSibling)i.parentNode.removeChild(i.previousSibling);while(i.nextSibling)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=null)}let o=new re(this,i,t,r);e.compositionNodes.push(o),this.children=Ce(this.children,n,n+r.length,e,o)}update(e,t,n,r){return!(this.dirty==Q||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,r),!0)}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=K}updateOuterDeco(e){if(ve(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=pe(this.dom,this.nodeDOM,he(this.outerDeco,this.node,t),he(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=null,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function ae(e,t,n,r,i){return ge(r,t,e),new oe(null,e,t,n,r,r,r,i,0)}class se extends oe{constructor(e,t,n,r,i,o,a){super(e,t,n,r,i,null,o,a)}parseRule(){let e=this.nodeDOM.parentNode;while(e&&e!=this.dom&&!e.pmIsDeco)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return!(this.dirty==Q||this.dirty!=K&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),this.dirty==K&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=K,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(e,t,n){let r=this.node.cut(e,t),i=document.createTextNode(r.text);return new se(this.parent,r,this.outerDeco,this.innerDeco,i,i,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=Q)}get domAtom(){return!1}}class ue extends ee{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==K&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class le extends oe{constructor(e,t,n,r,i,o,a,s,u,l){super(e,t,n,r,i,o,a,u,l),this.spec=s}update(e,t,n,r){if(this.dirty==Q)return!1;if(this.spec.update){let i=this.spec.update(e,t,n);return i&&this.updateInner(e,t,n,r),i}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function ce(e,t,n){let r=e.firstChild,i=!1;for(let o=0;o>1,o=Math.min(i,e.length);while(r-1)r>this.index&&(this.changed=!0,this.destroyBetween(this.index,r)),this.top=this.top.children[this.index];else{let r=ie.create(this.top,e[i],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,i++}}findNodeMatch(e,t,n,r){let i,o=-1;if(r>=this.preMatch.index&&(i=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&i.matchesNode(e,t,n))o=this.top.children.indexOf(i,this.index);else for(let a=this.index,s=Math.min(this.top.children.length,a+5);a0){let s;for(;;)if(r){let e=n.children[r-1];if(!(e instanceof ie)){s=e,r--;break}n=e,r=e.children.length}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let u=s.node;if(u){if(u!=e.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}function we(e,t){return e.type.side-t.type.side}function _e(e,t,n,r){let i=t.locals(e),o=0;if(0==i.length){for(let n=0;no)s.push(i[a++]);let d=o+c.nodeSize;if(c.isText){let e=d;a!e.inline):s.slice():te;r(c,h,t.forChild(o,c),f),o=d}}function xe(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}function Se(e,t){for(;;){if(3==e.nodeType)return e;if(1==e.nodeType&&t>0){if(e.childNodes.length>t&&3==e.childNodes[t].nodeType)return e.childNodes[t];e=e.childNodes[t-1],t=h(e)}else{if(!(1==e.nodeType&&t=n){let e=s=0&&e+t.length+s>=n)return s+e;if(n==r&&u.length>=r+t.length-s&&u.slice(r-s,r-s+t.length)==t)return r}}return-1}function Ce(e,t,n,r,i){let o=[];for(let a=0,s=0;a=n||c<=t?o.push(u):(ln&&o.push(u.slice(n-l,u.size,r)))}return o}var Ee=n("2eae");function Oe(e,t){let n=e.root.getSelection(),i=e.state.doc;if(!n.focusNode)return null;let o=e.docView.nearestDesc(n.focusNode),a=o&&0==o.size,s=e.docView.posFromDOM(n.focusNode,n.focusOffset);if(s<0)return null;let u,l,c=i.resolve(s);if(g(n)){u=c;while(o&&!o.node)o=o.parent;if(o&&o.node.isAtom&&r["c"].isSelectable(o.node)&&o.parent&&(!o.node.isInline||!p(n.focusNode,n.focusOffset,o.dom))){let e=o.posBefore;l=new r["c"](s==e?c:i.resolve(e))}}else{let t=e.docView.posFromDOM(n.anchorNode,n.anchorOffset);if(t<0)return null;u=i.resolve(t)}if(!l){let n="pointer"==t||e.state.selection.head{n.anchorNode==r&&n.anchorOffset==i||(t.removeEventListener("selectionchange",e.hideSelectionGuard),setTimeout(()=>{Ae(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")},20))})}function Re(e){let t=e.root.getSelection(),n=document.createRange(),r=e.cursorWrapper.dom,i="IMG"==r.nodeName;i?n.setEnd(r.parentNode,a(r)+1):n.setEnd(r,0),n.collapse(!1),t.removeAllRanges(),t.addRange(n),!i&&!e.state.selection.visible&&o.ie&&o.ie_version<=11&&(r.disabled=!0,r.disabled=!1)}function je(e,t){if(t instanceof r["c"]){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Fe(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Fe(e)}function Fe(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=null)}function Le(e,t,n,i){return e.someProp("createSelectionBetween",r=>r(e,t,n))||r["h"].between(t,n,i)}function Be(e){return(!e.editable||e.root.activeElement==e.dom)&&Ue(e)}function Ue(e){let t=e.root.getSelection();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch(n){return!1}}function ze(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.root.getSelection();return c(t.node,t.offset,n.anchorNode,n.anchorOffset)}function He(e,t){let{$anchor:n,$head:i}=e.selection,o=t>0?n.max(i):n.min(i),a=o.parent.inlineContent?o.depth?e.doc.resolve(t>0?o.after():o.before()):null:o;return a&&r["f"].findFrom(a,t)}function $e(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Ve(e,t,n){let i=e.state.selection;if(!(i instanceof r["h"])){if(i instanceof r["c"]&&i.node.isInline)return $e(e,new r["h"](t>0?i.$to:i.$from));{let n=He(e.state,t);return!!n&&$e(e,n)}}if(!i.empty||n.indexOf("s")>-1)return!1;if(e.endOfTextblock(t>0?"right":"left")){let n=He(e.state,t);return!!(n&&n instanceof r["c"])&&$e(e,n)}if(!(o.mac&&n.indexOf("m")>-1)){let n,a=i.$head,s=a.textOffset?null:t<0?a.nodeBefore:a.nodeAfter;if(!s||s.isText)return!1;let u=t<0?a.pos-s.nodeSize:a.pos;return!!(s.isAtom||(n=e.docView.descAt(u))&&!n.contentDOM)&&(r["c"].isSelectable(s)?$e(e,new r["c"](t<0?e.state.doc.resolve(a.pos-s.nodeSize):a)):!!o.webkit&&$e(e,new r["h"](e.state.doc.resolve(t<0?u:u+s.nodeSize))))}}function We(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Xe(e){let t=e.pmViewDesc;return t&&0==t.size&&(e.nextSibling||"BR"!=e.nodeName)}function Ge(e){let t=e.root.getSelection(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,s,u=!1;for(o.gecko&&1==n.nodeType&&r0){if(1!=n.nodeType)break;{let e=n.childNodes[r-1];if(Xe(e))i=n,s=--r;else{if(3!=e.nodeType)break;n=e,r=n.nodeValue.length}}}else{if(Ke(n))break;{let t=n.previousSibling;while(t&&Xe(t))i=n.parentNode,s=a(t),t=t.previousSibling;if(t)n=t,r=We(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}u?Je(e,t,n,r):i&&Je(e,t,i,s)}function Ye(e){let t=e.root.getSelection(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,o,s=We(n);for(;;)if(r{e.state==i&&De(e)},50)}function Ze(e,t,n){let i=e.state.selection;if(i instanceof r["h"]&&!i.empty||n.indexOf("s")>-1)return!1;if(o.mac&&n.indexOf("m")>-1)return!1;let{$from:a,$to:s}=i;if(!a.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=He(e.state,t);if(n&&n instanceof r["c"])return $e(e,n)}if(!a.parent.inlineContent){let n=t<0?a:s,o=i instanceof r["a"]?r["f"].near(n,t):r["f"].findFrom(n,t);return!!o&&$e(e,o)}return!1}function Qe(e,t){if(!(e.state.selection instanceof r["h"]))return!0;let{$head:n,$anchor:i,empty:o}=e.state.selection;if(!n.sameParent(i))return!0;if(!o)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let a=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(a&&!a.isText){let r=e.state.tr;return t<0?r.delete(n.pos-a.nodeSize,n.pos):r.delete(n.pos,n.pos+a.nodeSize),e.dispatch(r),!0}return!1}function et(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function tt(e){if(!o.safari||e.state.selection.$head.parentOffset>0)return;let{focusNode:t,focusOffset:n}=e.root.getSelection();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;et(e,n,!0),setTimeout(()=>et(e,n,!1),20)}}function nt(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}function rt(e,t){let n=t.keyCode,r=nt(t);return 8==n||o.mac&&72==n&&"c"==r?Qe(e,-1)||Ge(e):46==n||o.mac&&68==n&&"c"==r?Qe(e,1)||Ye(e):13==n||27==n||(37==n?Ve(e,-1,r)||Ge(e):39==n?Ve(e,1,r)||Ye(e):38==n?Ze(e,-1,r)||Ge(e):40==n?tt(e)||Ze(e,1,r)||Ye(e):r==(o.mac?"m":"c")&&(66==n||73==n||89==n||90==n))}function it(e,t,n){let{node:r,fromOffset:i,toOffset:a,from:s,to:u}=e.docView.parseRange(t,n),l=e.root.getSelection(),c=null,f=l.anchorNode;if(f&&e.dom.contains(1==f.nodeType?f:f.parentNode)&&(c=[{node:f,offset:l.anchorOffset}],g(l)||c.push({node:l.focusNode,offset:l.focusOffset})),o.chrome&&8===e.lastKeyCode)for(let o=a;o>i;o--){let e=r.childNodes[o-1],t=e.pmViewDesc;if("BR"==e.nodeName&&!t){a=o;break}if(!t||t.size)break}let d=e.state.doc,h=e.someProp("domParser")||Y["a"].fromSchema(e.state.schema),p=d.resolve(s),m=null,v=h.parse(r,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:i,to:a,preserveWhitespace:"pre"!=p.parent.type.whitespace||"full",editableContent:!0,findPositions:c,ruleFromNode:ot,context:p});if(c&&null!=c[0].pos){let e=c[0].pos,t=c[1]&&c[1].pos;null==t&&(t=e),m={anchor:e+s,head:t+s}}return{doc:v,sel:m,from:s,to:u}}function ot(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(o.safari&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}if(e.parentNode.lastChild==e||o.safari&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0}}function at(e,t,n,i,a){if(t<0){let t=e.lastSelectionTime>Date.now()-50?e.lastSelectionOrigin:null,n=Oe(e,t);if(n&&!e.state.selection.eq(n)){let r=e.state.tr.setSelection(n);"pointer"==t?r.setMeta("pointer",!0):"key"==t&&r.scrollIntoView(),e.dispatch(r)}return}let s=e.state.doc.resolve(t),u=s.sharedDepth(n);t=s.before(u+1),n=e.state.doc.resolve(n).after(u+1);let l=e.state.selection,c=it(e,t,n);if(o.chrome&&e.cursorWrapper&&c.sel&&c.sel.anchor==e.cursorWrapper.deco.from){let t=e.cursorWrapper.deco.type.toDOM.nextSibling,n=t&&t.nodeValue?t.nodeValue.length:1;c.sel={anchor:c.sel.anchor+n,head:c.sel.anchor+n}}let f,d,h=e.state.doc,p=h.slice(c.from,c.to);8===e.lastKeyCode&&Date.now()-100Date.now()-225||o.android)&&a.some(e=>"DIV"==e.nodeName||"P"==e.nodeName)&&e.someProp("handleKeyDown",t=>t(e,v(13,"Enter"))))return void(e.lastIOSEnter=0);if(c.sel){let t=st(e,e.state.doc,c.sel);t&&!t.eq(e.state.selection)&&e.dispatch(e.state.tr.setSelection(t))}return}m={start:l.from,endA:l.to,endB:l.to}}e.domChangeCount++,e.state.selection.frome.state.selection.from&&m.start<=e.state.selection.from+2&&e.state.selection.from>=c.from?m.start=e.state.selection.from:m.endA=e.state.selection.to-2&&e.state.selection.to<=c.to&&(m.endB+=e.state.selection.to-m.endA,m.endA=e.state.selection.to)),o.ie&&o.ie_version<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>c.from&&"  "==c.doc.textBetween(m.start-c.from-1,m.start-c.from+1)&&(m.start--,m.endA--,m.endB--);let g,y=c.doc.resolveNoCache(m.start-c.from),b=c.doc.resolveNoCache(m.endB-c.from),q=y.sameParent(b)&&y.parent.inlineContent;if((o.ios&&e.lastIOSEnter>Date.now()-225&&(!q||a.some(e=>"DIV"==e.nodeName||"P"==e.nodeName))||!q&&y.post(e,v(13,"Enter"))))return void(e.lastIOSEnter=0);if(e.state.selection.anchor>m.start&<(h,m.start,m.endA,y,b)&&e.someProp("handleKeyDown",t=>t(e,v(8,"Backspace"))))return void(o.android&&o.chrome&&e.domObserver.suppressSelectionUpdates());o.chrome&&o.android&&m.toB==m.from&&(e.lastAndroidDelete=Date.now()),o.android&&!q&&y.start()!=b.start()&&0==b.parentOffset&&y.depth==b.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==m.endA&&(m.endB-=2,b=c.doc.resolveNoCache(m.endB-c.from),setTimeout(()=>{e.someProp("handleKeyDown",(function(t){return t(e,v(13,"Enter"))}))},20));let w,_,x,S,k=m.start,C=m.endA;if(q)if(y.pos==b.pos)o.ie&&o.ie_version<=11&&0==y.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>De(e),20)),w=e.state.tr.delete(k,C),_=h.resolve(m.start).marksAcross(h.resolve(m.endA));else if(m.endA==m.endB&&(S=h.resolve(m.start))&&(x=ut(y.parent.content.cut(y.parentOffset,b.parentOffset),S.parent.content.cut(S.parentOffset,m.endA-S.start()))))w=e.state.tr,"add"==x.type?w.addMark(k,C,x.mark):w.removeMark(k,C,x.mark);else if(y.parent.child(y.index()).isText&&y.index()==b.index()-(b.textOffset?0:1)){let t=y.parent.textBetween(y.parentOffset,b.parentOffset);if(e.someProp("handleTextInput",n=>n(e,k,C,t)))return;w=e.state.tr.insertText(t,k,C)}if(w||(w=e.state.tr.replace(k,C,c.doc.slice(m.start-c.from,m.endB-c.from))),c.sel){let t=st(e,w.doc,c.sel);t&&!(o.chrome&&o.android&&e.composing&&t.empty&&(m.start!=m.endB||e.lastAndroidDeletet.content.size?null:Le(e,t.resolve(n.anchor),t.resolve(n.head))}function ut(e,t){let n,r,i,o=e.firstChild.marks,a=t.firstChild.marks,s=o,u=a;for(let c=0;ce.mark(r.addToSet(e.marks));else{if(0!=s.length||1!=u.length)return null;r=u[0],n="remove",i=e=>e.mark(r.removeFromSet(e.marks))}let l=[];for(let c=0;cn||ct(a,!0,!1)0&&(t||e.indexAfter(r)==e.node(r).childCount))r--,i++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));while(t&&!t.isLeaf)t=t.firstChild,i++}return i}function ft(e,t,n,r,i){let o=e.findDiffStart(t,n);if(null==o)return null;let{a:a,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if("end"==i){let e=Math.max(0,o-Math.min(a,s));r-=a+e-o}if(a=a?o-r:0;o-=e,s=o+(s-a),a=o}else if(s=s?o-r:0;o-=e,a=o+(a-s),s=o}return{start:o,endA:a,endB:s}}function dt(e,t){let n=[],{content:r,openStart:i,openEnd:o}=t;while(i>1&&o>1&&1==r.childCount&&1==r.firstChild.childCount){i--,o--;let e=r.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),r=e.content}let a=e.someProp("clipboardSerializer")||Y["b"].fromSchema(e.state.schema),s=xt(),u=s.createElement("div");u.appendChild(a.serializeFragment(r,{document:s}));let l,c=u.firstChild;while(c&&1==c.nodeType&&(l=wt[c.nodeName.toLowerCase()])){for(let e=l.length-1;e>=0;e--){let t=s.createElement(l[e]);while(u.firstChild)t.appendChild(u.firstChild);u.appendChild(t),"tbody"!=l[e]&&(i++,o++)}c=u.firstChild}c&&1==c.nodeType&&c.setAttribute("data-pm-slice",`${i} ${o} ${JSON.stringify(n)}`);let f=e.someProp("clipboardTextSerializer",e=>e(t))||t.content.textBetween(0,t.content.size,"\n\n");return{dom:u,text:f}}function ht(e,t,n,r,i){let a,s,u=i.parent.type.spec.code;if(!n&&!t)return null;let l=t&&(r||u||!n);if(l){if(e.someProp("transformPastedText",e=>{t=e(t,u||r)}),u)return t?new Y["j"](Y["c"].from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):Y["j"].empty;let n=e.someProp("clipboardTextParser",e=>e(t,i,r));if(n)s=n;else{let n=i.marks(),{schema:r}=e.state,o=Y["b"].fromSchema(r);a=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(e=>{let t=a.appendChild(document.createElement("p"));e&&t.appendChild(o.serializeNode(r.text(e,n)))})}}else e.someProp("transformPastedHTML",e=>{n=e(n)}),a=St(n),o.webkit&&kt(a);let c=a&&a.querySelector("[data-pm-slice]"),f=c&&/^(\d+) (\d+) (.*)/.exec(c.getAttribute("data-pm-slice"));if(!s){let t=e.someProp("clipboardParser")||e.someProp("domParser")||Y["a"].fromSchema(e.state.schema);s=t.parseSlice(a,{preserveWhitespace:!(!l&&!f),context:i,ruleFromNode(e){if("BR"==e.nodeName&&!e.nextSibling&&e.parentNode&&!pt.test(e.parentNode.nodeName))return{ignore:!0}}})}if(f)s=Ct(qt(s,+f[1],+f[2]),f[3]);else if(s=Y["j"].maxOpen(mt(s.content,i),!0),s.openStart||s.openEnd){let e=0,t=0;for(let n=s.content.firstChild;e{s=e(s)}),s}const pt=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function mt(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let r,i=t.node(n),o=i.contentMatchAt(t.index(n)),a=[];if(e.forEach(e=>{if(!a)return;let t,n=o.findWrapping(e.type);if(!n)return a=null;if(t=a.length&&r.length&&vt(n,r,e,a[a.length-1],0))a[a.length-1]=t;else{a.length&&(a[a.length-1]=yt(a[a.length-1],r.length));let t=gt(e,n);a.push(t),o=o.matchType(t.type,t.attrs),r=n}}),a)return Y["c"].from(a)}return e}function gt(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,Y["c"].from(e));return e}function vt(e,t,n,r,i){if(i=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,e.childCount>1||o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(Y["c"].empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function qt(e,t,n){return t]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n,r=xt().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(e);if((n=i&&wt[i[1].toLowerCase()])&&(e=n.map(e=>"<"+e+">").join("")+e+n.map(e=>"").reverse().join("")),r.innerHTML=e,n)for(let o=0;o=0;u-=2){let e=r.nodes[n[u]];if(!e||e.hasRequiredAttrs())break;i=Y["c"].from(e.create(n[u+1],i)),o++,a++}return new Y["j"](i,o,a)}const Et={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},Ot=o.ie&&o.ie_version<=11;class At{constructor(){this.anchorNode=this.anchorOffset=this.focusNode=this.focusOffset=null}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class Dt{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=window.MutationObserver&&new window.MutationObserver(e=>{for(let t=0;t"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),this.currentSelection=new At,Ot&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.suppressingSelectionUpdates=!1}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&this.observer.observe(this.view.dom,Et),Ot&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;tthis.flush(),20)}this.observer.disconnect()}Ot&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Be(this.view)){if(this.suppressingSelectionUpdates)return De(this.view);if(o.ie&&o.ie_version<=11&&!this.view.state.selection.empty){let e=this.view.root.getSelection();if(e.focusNode&&c(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.root.getSelection())}ignoreSelectionChange(e){if(0==e.rangeCount)return!0;let t=e.getRangeAt(0).commonAncestorContainer,n=this.view.docView.nearestDesc(t);return n&&n.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}flush(){if(!this.view.docView||this.flushingSoon>-1)return;let e=this.observer?this.observer.takeRecords():[];this.queue.length&&(e=this.queue.concat(e),this.queue.length=0);let t=this.view.root.getSelection(),n=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(t)&&Ue(this.view)&&!this.ignoreSelectionChange(t),r=-1,i=-1,a=!1,s=[];if(this.view.editable)for(let o=0;o1){let e=s.filter(e=>"BR"==e.nodeName);if(2==e.length){let[t,n]=e;t.parentNode&&t.parentNode.parentNode==n.parentNode?n.remove():t.remove()}}(r>-1||n)&&(r>-1&&(this.view.docView.markDirty(r,i),Pt(this.view)),this.handleDOMChange(r,i,a,s),this.view.docView&&this.view.docView.dirty?this.view.updateState(this.view.state):this.currentSelection.eq(t)||De(this.view),this.currentSelection.set(t))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;nat(e,t,n,r,i)),e.domObserver.start(),e.domChangeCount=0,e.eventHandlers=Object.create(null);for(let t in Mt){let n=Mt[t];e.dom.addEventListener(t,e.eventHandlers[t]=t=>{!Bt(e,t)||Lt(e,t)||!e.editable&&t.type in Nt||n(e,t)})}o.safari&&e.dom.addEventListener("input",()=>null),Ft(e)}function Rt(e,t){e.lastSelectionOrigin=t,e.lastSelectionTime=Date.now()}function jt(e){e.domObserver.stop();for(let t in e.eventHandlers)e.dom.removeEventListener(t,e.eventHandlers[t]);clearTimeout(e.composingTimeout),clearTimeout(e.lastIOSEnterFallbackTimeout)}function Ft(e){e.someProp("handleDOMEvents",t=>{for(let n in t)e.eventHandlers[n]||e.dom.addEventListener(n,e.eventHandlers[n]=t=>Lt(e,t))})}function Lt(e,t){return e.someProp("handleDOMEvents",n=>{let r=n[t.type];return!!r&&(r(e,t)||t.defaultPrevented)})}function Bt(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function Ut(e,t){Lt(e,t)||!Mt[t.type]||!e.editable&&t.type in Nt||Mt[t.type](e,t)}function zt(e){return{left:e.clientX,top:e.clientY}}function Ht(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function $t(e,t,n,r,i){if(-1==r)return!1;let o=e.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(e.someProp(t,t=>a>o.depth?t(e,n,o.nodeAfter,o.before(a),i,!0):t(e,n,o.node(a),o.before(a),i,!1)))return!0;return!1}function Vt(e,t,n){e.focused||e.focus();let r=e.state.tr.setSelection(t);"pointer"==n&&r.setMeta("pointer",!0),e.dispatch(r)}function Wt(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),i=n.nodeAfter;return!!(i&&i.isAtom&&r["c"].isSelectable(i))&&(Vt(e,new r["c"](n),"pointer"),!0)}function Xt(e,t){if(-1==t)return!1;let n,i,o=e.state.selection;o instanceof r["c"]&&(n=o.node);let a=e.state.doc.resolve(t);for(let s=a.depth+1;s>0;s--){let e=s>a.depth?a.nodeAfter:a.node(s);if(r["c"].isSelectable(e)){i=n&&o.$from.depth>0&&s>=o.$from.depth&&a.before(o.$from.depth+1)==o.$from.pos?a.before(o.$from.depth):a.before(s);break}}return null!=i&&(Vt(e,r["c"].create(e.state.doc,i),"pointer"),!0)}function Gt(e,t,n,r,i){return $t(e,"handleClickOn",t,n,r)||e.someProp("handleClick",n=>n(e,t,r))||(i?Xt(e,n):Wt(e,n))}function Yt(e,t,n,r){return $t(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",n=>n(e,t,r))}function Kt(e,t,n,r){return $t(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",n=>n(e,t,r))||Jt(e,n,r)}function Jt(e,t,n){if(0!=n.button)return!1;let i=e.state.doc;if(-1==t)return!!i.inlineContent&&(Vt(e,r["h"].create(i,0,i.content.size),"pointer"),!0);let o=i.resolve(t);for(let a=o.depth+1;a>0;a--){let t=a>o.depth?o.nodeAfter:o.node(a),n=o.before(a);if(t.inlineContent)Vt(e,r["h"].create(i,n+1,n+1+t.content.size),"pointer");else{if(!r["c"].isSelectable(t))continue;Vt(e,r["c"].create(i,n),"pointer")}return!0}}function Zt(e){return sn(e)}Nt.keydown=(e,t)=>{if(e.shiftKey=16==t.keyCode||t.shiftKey,!tn(e,t)&&(e.lastKeyCode=t.keyCode,e.lastKeyCodeTime=Date.now(),!o.android||!o.chrome||13!=t.keyCode))if(229!=t.keyCode&&e.domObserver.forceFlush(),!o.ios||13!=t.keyCode||t.ctrlKey||t.altKey||t.metaKey)e.someProp("handleKeyDown",n=>n(e,t))||rt(e,t)?t.preventDefault():Rt(e,"key");else{let t=Date.now();e.lastIOSEnter=t,e.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.lastIOSEnter==t&&(e.someProp("handleKeyDown",t=>t(e,v(13,"Enter"))),e.lastIOSEnter=0)},200)}},Nt.keyup=(e,t)=>{16==t.keyCode&&(e.shiftKey=!1)},Nt.keypress=(e,t)=>{if(tn(e,t)||!t.charCode||t.ctrlKey&&!t.altKey||o.mac&&t.metaKey)return;if(e.someProp("handleKeyPress",n=>n(e,t)))return void t.preventDefault();let n=e.state.selection;if(!(n instanceof r["h"])||!n.$from.sameParent(n.$to)){let r=String.fromCharCode(t.charCode);e.someProp("handleTextInput",t=>t(e,n.$from.pos,n.$to.pos,r))||e.dispatch(e.state.tr.insertText(r).scrollIntoView()),t.preventDefault()}};const Qt=o.mac?"metaKey":"ctrlKey";Mt.mousedown=(e,t)=>{e.shiftKey=t.shiftKey;let n=Zt(e),r=Date.now(),i="singleClick";r-e.lastClick.time<500&&Ht(t,e.lastClick)&&!t[Qt]&&("singleClick"==e.lastClick.type?i="doubleClick":"doubleClick"==e.lastClick.type&&(i="tripleClick")),e.lastClick={time:r,x:t.clientX,y:t.clientY,type:i};let o=e.posAtCoords(zt(t));o&&("singleClick"==i?(e.mouseDown&&e.mouseDown.done(),e.mouseDown=new en(e,o,t,n)):("doubleClick"==i?Yt:Kt)(e,o.pos,o.inside,t)?t.preventDefault():Rt(e,"pointer"))};class en{constructor(e,t,n,i){let a,s;if(this.view=e,this.startDoc=e.state.doc,this.pos=t,this.event=n,this.flushed=i,this.selectNode=n[Qt],this.allowDefault=n.shiftKey,this.delayedSelectionSync=!1,t.inside>-1)a=e.state.doc.nodeAt(t.inside),s=t.inside;else{let n=e.state.doc.resolve(t.pos);a=n.parent,s=n.depth?n.before():0}this.mightDrag=null;const u=i?null:n.target,l=u?e.docView.nearestDesc(u,!0):null;this.target=l?l.dom:null;let{selection:c}=e.state;(0==n.button&&a.type.spec.draggable&&!1!==a.type.spec.selectable||c instanceof r["c"]&&c.from<=s&&c.to>s)&&(this.mightDrag={node:a,pos:s,addAttr:this.target&&!this.target.draggable,setUneditable:this.target&&o.gecko&&!this.target.hasAttribute("contentEditable")}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Rt(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>De(this.view)),this.view.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(3==e.target.nodeType?e.target.parentNode:e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(zt(e))),this.allowDefault||!t?Rt(this.view,"pointer"):Gt(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||o.safari&&this.mightDrag&&!this.mightDrag.node.isAtom||o.chrome&&!(this.view.state.selection instanceof r["h"])&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(Vt(this.view,r["f"].near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):Rt(this.view,"pointer")}move(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0),Rt(this.view,"pointer"),0==e.buttons&&this.done()}}function tn(e,t){return!!e.composing||!!(o.safari&&Math.abs(t.timeStamp-e.compositionEndedAt)<500)&&(e.compositionEndedAt=-2e8,!0)}Mt.touchdown=e=>{Zt(e),Rt(e,"pointer")},Mt.contextmenu=e=>Zt(e);const nn=o.android?5e3:-1;function rn(e,t){clearTimeout(e.composingTimeout),t>-1&&(e.composingTimeout=setTimeout(()=>sn(e),t))}function on(e){e.composing&&(e.composing=!1,e.compositionEndedAt=an());while(e.compositionNodes.length>0)e.compositionNodes.pop().markParentsDirty()}function an(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}function sn(e,t){if(!(o.android&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),on(e),t||e.docView&&e.docView.dirty){let t=Oe(e);return t&&!t.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(t)):e.updateState(e.state),!0}return!1}}function un(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}Nt.compositionstart=Nt.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(e=>!1===e.type.spec.inclusive)))e.markCursor=e.state.storedMarks||n.marks(),sn(e,!0),e.markCursor=null;else if(sn(e),o.gecko&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.root.getSelection();for(let e=t.focusNode,n=t.focusOffset;e&&1==e.nodeType&&0!=n;){let r=n<0?e.lastChild:e.childNodes[n-1];if(!r)break;if(3==r.nodeType){t.collapse(r,r.nodeValue.length);break}e=r,n=-1}}e.composing=!0}rn(e,nn)},Nt.compositionend=(e,t)=>{e.composing&&(e.composing=!1,e.compositionEndedAt=t.timeStamp,rn(e,20))};const ln=o.ie&&o.ie_version<15||o.ios&&o.webkit_version<604;function cn(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}function fn(e,t){if(!e.dom.parentNode)return;let n=e.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus(),setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?dn(e,r.value,null,t):dn(e,r.textContent,r.innerHTML,t)},50)}function dn(e,t,n,r){let i=ht(e,t,n,e.shiftKey,e.state.selection.$from);if(e.someProp("handlePaste",t=>t(e,r,i||Y["j"].empty)))return!0;if(!i)return!1;let o=cn(i),a=o?e.state.tr.replaceSelectionWith(o,e.shiftKey):e.state.tr.replaceSelection(i);return e.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}Mt.copy=Nt.cut=(e,t)=>{let n=e.state.selection,r="cut"==t.type;if(n.empty)return;let i=ln?null:t.clipboardData,o=n.content(),{dom:a,text:s}=dt(e,o);i?(t.preventDefault(),i.clearData(),i.setData("text/html",a.innerHTML),i.setData("text/plain",s)):un(e,a),r&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},Nt.paste=(e,t)=>{if(e.composing&&!o.android)return;let n=ln?null:t.clipboardData;n&&dn(e,n.getData("text/plain"),n.getData("text/html"),t)?t.preventDefault():fn(e,t)};class hn{constructor(e,t){this.slice=e,this.move=t}}const pn=o.mac?"altKey":"ctrlKey";Mt.dragstart=(e,t)=>{let n=e.mouseDown;if(n&&n.done(),!t.dataTransfer)return;let i=e.state.selection,o=i.empty?null:e.posAtCoords(zt(t));if(o&&o.pos>=i.from&&o.pos<=(i instanceof r["c"]?i.to-1:i.to));else if(n&&n.mightDrag)e.dispatch(e.state.tr.setSelection(r["c"].create(e.state.doc,n.mightDrag.pos)));else if(t.target&&1==t.target.nodeType){let n=e.docView.nearestDesc(t.target,!0);n&&n.node.type.spec.draggable&&n!=e.docView&&e.dispatch(e.state.tr.setSelection(r["c"].create(e.state.doc,n.posBefore)))}let a=e.state.selection.content(),{dom:s,text:u}=dt(e,a);t.dataTransfer.clearData(),t.dataTransfer.setData(ln?"Text":"text/html",s.innerHTML),t.dataTransfer.effectAllowed="copyMove",ln||t.dataTransfer.setData("text/plain",u),e.dragging=new hn(a,!t[pn])},Mt.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)},Nt.dragover=Nt.dragenter=(e,t)=>t.preventDefault(),Nt.drop=(e,t)=>{let n=e.dragging;if(e.dragging=null,!t.dataTransfer)return;let i=e.posAtCoords(zt(t));if(!i)return;let o=e.state.doc.resolve(i.pos);if(!o)return;let a=n&&n.slice;a?e.someProp("transformPasted",e=>{a=e(a)}):a=ht(e,t.dataTransfer.getData(ln?"Text":"text/plain"),ln?null:t.dataTransfer.getData("text/html"),!1,o);let s=n&&!t[pn];if(e.someProp("handleDrop",n=>n(e,t,a||Y["j"].empty,s)))return void t.preventDefault();if(!a)return;t.preventDefault();let u=a?Object(Ee["h"])(e.state.doc,o.pos,a):o.pos;null==u&&(u=o.pos);let l=e.state.tr;s&&l.deleteSelection();let c=l.mapping.map(u),f=0==a.openStart&&0==a.openEnd&&1==a.content.childCount,d=l.doc;if(f?l.replaceRangeWith(c,c,a.content.firstChild):l.replaceRange(c,c,a),l.doc.eq(d))return;let h=l.doc.resolve(c);if(f&&r["c"].isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))l.setSelection(new r["c"](h));else{let t=l.mapping.map(u);l.mapping.maps[l.mapping.maps.length-1].forEach((e,n,r,i)=>t=i),l.setSelection(Le(e,h,l.doc.resolve(t)))}e.focus(),e.dispatch(l.setMeta("uiEvent","drop"))},Mt.focus=e=>{e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.root.getSelection())&&De(e)},20))},Mt.blur=(e,t)=>{e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),t.relatedTarget&&e.dom.contains(t.relatedTarget)&&e.domObserver.currentSelection.set({}),e.focused=!1)},Mt.beforeinput=(e,t)=>{if(o.chrome&&o.android&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e;setTimeout(()=>{if(e.domChangeCount!=t)return;if(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",t=>t(e,v(8,"Backspace"))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}};for(let Hn in Nt)Mt[Hn]=Nt[Hn];function mn(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class gn{constructor(e,t){this.spec=t||wn,this.side=this.spec.side||0,this.toDOM=e}map(e,t,n,r){let{pos:i,deleted:o}=e.mapResult(t.from+r,this.side<0?-1:1);return o?null:new bn(i-n,i-n,this)}valid(){return!0}eq(e){return this==e||e instanceof gn&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&mn(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class vn{constructor(e,t){this.spec=t||wn,this.attrs=e}map(e,t,n,r){let i=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,o=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return i>=o?null:new bn(i,o,this)}valid(e,t){return t.from=e&&(!i||i(a.spec))&&n.push(a.copy(a.from+r,a.to+r))}for(let o=0;oe){let a=this.children[o]+1;this.children[o+2].findInner(e-a,t-a,n,r+a,i)}}map(e,t,n){return this==xn||0==e.maps.length?this:this.mapInner(e,t,0,0,n||wn)}mapInner(e,t,n,r,i){let o;for(let a=0;a{let a,s=o+n;if(a=On(t,e,s)){r||(r=this.children.slice());while(io&&t.to=e){this.children[a]==e&&(n=this.children[a+2]);break}let i=e+1,o=i+t.content.size;for(let a=0;ai&&e.type instanceof vn){let t=Math.max(i,e.from)-i,n=Math.min(o,e.to)-i;tn.map(e,t,wn));return Sn.from(n)}forChild(e,t){if(t.isLeaf)return _n.empty;let n=[];for(let r=0;r{for(let a=0;al+o)continue;let c=s[a]+o;t>=c?s[a+1]=e<=c?-2:-1:n>=i&&(u=r-n-(t-e))&&(s[a]+=u,s[a+1]+=u)}};for(let c=0;c=r.content.size){l=!0;continue}let f=n.map(e[c+1]+o,-1),d=f-i,{index:h,offset:p}=r.content.findIndex(u),m=r.maybeChild(h);if(m&&p==u&&p+m.nodeSize==d){let r=s[c+2].mapInner(n,m,t+1,e[c]+o+1,a);r!=xn?(s[c]=u,s[c+1]=d,s[c+2]=r):(s[c+1]=-2,l=!0)}else l=!0}if(l){let u=En(s,e,t||[],n,i,o,a),l=Dn(u,r,0,a);t=l.local;for(let e=0;en&&o.to{let s=On(e,t,a+n);if(s){o=!0;let e=Dn(s,t,n+a+1,r);e!=xn&&i.push(a,a+t.nodeSize,e)}});let a=Cn(o?An(e):e,-n).sort(Tn);for(let s=0;s0)t++;e.splice(t,0,n)}function Nn(e){let t=[];return e.someProp("decorations",n=>{let r=n(e.state);r&&r!=xn&&t.push(r)}),e.cursorWrapper&&t.push(_n.create(e.state.doc,[e.cursorWrapper.deco])),Sn.from(t)}class In{constructor(e,t){this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(zn),this.dispatch=this.dispatch.bind(this),this._root=null,this.focused=!1,this.trackWrites=null,this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):e.apply?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Fn(this),this.markCursor=null,this.cursorWrapper=null,jn(this),this.nodeViews=Bn(this),this.docView=ae(this.state.doc,Rn(this),Nn(this),this.dom,this),this.lastSelectedViewDesc=null,this.dragging=null,It(this),this.prevDirectPlugins=[],this.pluginViews=[],this.updatePluginViews()}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Ft(this),this._props=e,e.plugins&&(e.plugins.forEach(zn),this.directPlugins=e.plugins),this.updateStateInner(e.state,!0)}setProps(e){let t={};for(let n in this._props)t[n]=this._props[n];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this.state.plugins!=e.plugins)}updateStateInner(e,t){let n=this.state,i=!1,a=!1;if(e.storedMarks&&this.composing&&(on(this),a=!0),this.state=e,t){let e=Bn(this);Un(e,this.nodeViews)&&(this.nodeViews=e,i=!0),Ft(this)}this.editable=Fn(this),jn(this);let s=Nn(this),u=Rn(this),l=t?"reset":e.scrollToSelection>n.scrollToSelection?"to selection":"preserve",c=i||!this.docView.matchesNode(e.doc,u,s);!c&&e.selection.eq(n.selection)||(a=!0);let f="preserve"==l&&a&&null==this.dom.style.overflowAnchor&&_(this);if(a){this.domObserver.stop();let t=c&&(o.ie||o.chrome)&&!this.composing&&!n.selection.empty&&!e.selection.empty&&Ln(n.selection,e.selection);if(c){let n=o.chrome?this.trackWrites=this.root.getSelection().focusNode:null;!i&&this.docView.update(e.doc,u,s,this)||(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=ae(e.doc,u,s,this.dom,this)),n&&!this.trackWrites&&(t=!0)}t||!(this.mouseDown&&this.domObserver.currentSelection.eq(this.root.getSelection())&&ze(this))?De(this,t):(je(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}if(this.updatePluginViews(n),"reset"==l)this.dom.scrollTop=0;else if("to selection"==l){let t=this.root.getSelection().focusNode;this.someProp("handleScrollToSelection",e=>e(this))||(e.selection instanceof r["c"]?w(this,this.docView.domAfterPos(e.selection.from).getBoundingClientRect(),t):w(this,this.coordsAtPos(e.selection.head,1),t))}else f&&S(f)}destroyPluginViews(){let e;while(e=this.pluginViews.pop())e.destroy&&e.destroy()}updatePluginViews(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let t=0;tdocument.getSelection()),this._root=t;return e||document}posAtCoords(e){return I(this,e)}coordsAtPos(e,t=1){return F(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(e,t){return G(this,t||this.state,e)}destroy(){this.docView&&(jt(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Nn(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return Ut(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}}function Rn(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),t.translate="no",e.someProp("attributes",n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e&&(t.class+=" "+n[e]),"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))}),[bn.node(0,e.state.doc.content.size,t)]}function jn(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:bn.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function Fn(e){return!e.someProp("editable",t=>!1===t(e.state))}function Ln(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}function Bn(e){let t={};return e.someProp("nodeViews",e=>{for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}),t}function Un(e,t){let n=0,r=0;for(let i in e){if(e[i]!=t[i])return!0;n++}for(let i in t)r++;return n!=r}function zn(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}},4245:function(e,t,n){var r=n("1290");function i(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=i},42454:function(e,t,n){var r=n("f909"),i=n("2ec1d"),o=i((function(e,t,n){r(e,t,n)}));e.exports=o},4284:function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length;while(++n0?r:n)(e)}},function(e,t,n){var r=n(10);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(1),i=n(2),o=n(19),a=n(27),s=n(5).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){t.f=n(8)},function(e,t){"use strict";e.exports={props:{loading:{type:Boolean,default:!1},onSearch:{type:Function,default:function(e,t){}}},data:function(){return{mutableLoading:!1}},watch:{search:function(){this.search.length>0&&(this.onSearch(this.search,this.toggleLoading),this.$emit("search",this.search,this.toggleLoading))},loading:function(e){this.mutableLoading=e}},methods:{toggleLoading:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.mutableLoading=null==e?!this.mutableLoading:e}}}},function(e,t){"use strict";e.exports={watch:{typeAheadPointer:function(){this.maybeAdjustScroll()}},methods:{maybeAdjustScroll:function(){var e=this.pixelsToPointerTop(),t=this.pixelsToPointerBottom();return e<=this.viewport().top?this.scrollTo(e):t>=this.viewport().bottom?this.scrollTo(this.viewport().top+this.pointerHeight()):void 0},pixelsToPointerTop:function(){var e=0;if(this.$refs.dropdownMenu)for(var t=0;t0&&(this.typeAheadPointer--,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadDown:function(){this.typeAheadPointer";for(t.style.display="none",n(60).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),l=e.F;r--;)delete l[u][o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[u]=r(e),n=new s,s[u]=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(38),i=n(17).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(4),i=n(7),o=n(57)(!1),a=n(22)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(6)},function(e,t,n){var r=n(16);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(45),o=r(i),a=n(48),s=r(a),u=n(43),l=r(u),c=n(49),f=r(c),d=n(29),h=r(d),p=n(30),m=r(p),g=n(28),v=r(g);t.default={mixins:[h.default,m.default,v.default],props:{value:{default:null},options:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},maxHeight:{type:String,default:"400px"},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},index:{type:String,default:null},getOptionLabel:{type:Function,default:function(e){return this.index&&(e=this.findOptionByIndexValue(e)),"object"===("undefined"==typeof e?"undefined":(0,f.default)(e))?e.hasOwnProperty(this.label)?e[this.label]:console.warn('[vue-select warn]: Label key "option.'+this.label+'" does not exist in options object '+(0,l.default)(e)+".\nhttp://sagalbot.github.io/vue-select/#ex-labels"):e}},onChange:{type:Function,default:function(e){this.$emit("input",e)}},onTab:{type:Function,default:function(){this.selectOnTab&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:function(e,t,n){return(t||"").toLowerCase().indexOf(n.toLowerCase())>-1}},filter:{type:Function,default:function(e,t){var n=this;return e.filter((function(e){var r=n.getOptionLabel(e);return"number"==typeof r&&(r=r.toString()),n.filterBy(e,r,t)}))}},createOption:{type:Function,default:function(e){return"object"===(0,f.default)(this.mutableOptions[0])&&(e=(0,s.default)({},this.label,e)),this.$emit("option:created",e),e}},resetOnOptionsChange:{type:Boolean,default:!1},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1}},data:function(){return{search:"",open:!1,mutableValue:null,mutableOptions:[]}},watch:{value:function(e){this.mutableValue=e},mutableValue:function(e,t){this.multiple?this.onChange&&this.onChange(e):this.onChange&&e!==t&&this.onChange(e)},options:function(e){this.mutableOptions=e},mutableOptions:function(){!this.taggable&&this.resetOnOptionsChange&&(this.mutableValue=this.multiple?[]:null)},multiple:function(e){this.mutableValue=e?[]:null}},created:function(){this.mutableValue=this.value,this.mutableOptions=this.options.slice(0),this.mutableLoading=this.loading,this.$on("option:created",this.maybePushTag)},methods:{select:function(e){if(!this.isOptionSelected(e)){if(this.taggable&&!this.optionExists(e)&&(e=this.createOption(e)),this.index){if(!e.hasOwnProperty(this.index))return console.warn('[vue-select warn]: Index key "option.'+this.index+'" does not exist in options object '+(0,l.default)(e)+".");e=e[this.index]}this.multiple&&!this.mutableValue?this.mutableValue=[e]:this.multiple?this.mutableValue.push(e):this.mutableValue=e}this.onAfterSelect(e)},deselect:function(e){var t=this;if(this.multiple){var n=-1;this.mutableValue.forEach((function(r){(r===e||t.index&&r===e[t.index]||"object"===("undefined"==typeof r?"undefined":(0,f.default)(r))&&r[t.label]===e[t.label])&&(n=r)}));var r=this.mutableValue.indexOf(n);this.mutableValue.splice(r,1)}else this.mutableValue=null},clearSelection:function(){this.mutableValue=this.multiple?[]:null},onAfterSelect:function(e){this.closeOnSelect&&(this.open=!this.open,this.$refs.search.blur()),this.clearSearchOnSelect&&(this.search="")},toggleDropdown:function(e){(e.target===this.$refs.openIndicator||e.target===this.$refs.search||e.target===this.$refs.toggle||e.target.classList.contains("selected-tag")||e.target===this.$el)&&(this.open?this.$refs.search.blur():this.disabled||(this.open=!0,this.$refs.search.focus()))},isOptionSelected:function(e){var t=this,n=!1;return this.valueAsArray.forEach((function(r){"object"===("undefined"==typeof r?"undefined":(0,f.default)(r))?n=t.optionObjectComparator(r,e):r!==e&&r!==e[t.index]||(n=!0)})),n},optionObjectComparator:function(e,t){return!(!this.index||e!==t[this.index])||e[this.label]===t[this.label]||e[this.label]===t||!(!this.index||e[this.index]!==t[this.index])},findOptionByIndexValue:function(e){var t=this;return this.options.forEach((function(n){(0,l.default)(n[t.index])===(0,l.default)(e)&&(e=n)})),e},onEscape:function(){this.search.length?this.search="":this.$refs.search.blur()},onSearchBlur:function(){this.mousedown&&!this.searching?this.mousedown=!1:(this.clearSearchOnBlur&&(this.search=""),this.open=!1,this.$emit("search:blur"))},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},maybeDeleteValue:function(){if(!this.$refs.search.value.length&&this.mutableValue)return this.multiple?this.mutableValue.pop():this.mutableValue=null},optionExists:function(e){var t=this,n=!1;return this.mutableOptions.forEach((function(r){("object"===("undefined"==typeof r?"undefined":(0,f.default)(r))&&r[t.label]===e||r===e)&&(n=!0)})),n},maybePushTag:function(e){this.pushTags&&this.mutableOptions.push(e)},onMousedown:function(){this.mousedown=!0}},computed:{dropdownClasses:function(){return{open:this.dropdownOpen,single:!this.multiple,searching:this.searching,searchable:this.searchable,unsearchable:!this.searchable,loading:this.mutableLoading,rtl:"rtl"===this.dir,disabled:this.disabled}},clearSearchOnBlur:function(){return this.clearSearchOnSelect&&!this.multiple},searching:function(){return!!this.search},dropdownOpen:function(){return!this.noDrop&&this.open&&!this.mutableLoading},searchPlaceholder:function(){if(this.isValueEmpty&&this.placeholder)return this.placeholder},filteredOptions:function(){if(!this.filterable&&!this.taggable)return this.mutableOptions.slice();var e=this.search.length?this.filter(this.mutableOptions,this.search,this):this.mutableOptions;return this.taggable&&this.search.length&&!this.optionExists(this.search)&&e.unshift(this.search),e},isValueEmpty:function(){return!this.mutableValue||("object"===(0,f.default)(this.mutableValue)?!(0,o.default)(this.mutableValue).length:!this.valueAsArray.length)},valueAsArray:function(){return this.multiple&&this.mutableValue?this.mutableValue:this.mutableValue?[].concat(this.mutableValue):[]},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&null!=this.mutableValue}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(28),o=r(i),a=n(30),s=r(a),u=n(29),l=r(u);t.default={ajax:o.default,pointer:s.default,pointerScroll:l.default}},function(e,t,n){e.exports={default:n(50),__esModule:!0}},function(e,t,n){e.exports={default:n(51),__esModule:!0}},function(e,t,n){e.exports={default:n(52),__esModule:!0}},function(e,t,n){e.exports={default:n(53),__esModule:!0}},function(e,t,n){e.exports={default:n(54),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(44),o=r(i);t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(47),o=r(i),a=n(46),s=r(a),u="function"==typeof s.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(o.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":u(e)}},function(e,t,n){var r=n(2),i=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},function(e,t,n){n(75);var r=n(2).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){n(76),e.exports=n(2).Object.keys},function(e,t,n){n(79),n(77),n(80),n(81),e.exports=n(2).Symbol},function(e,t,n){n(78),n(82),e.exports=n(27).f("iterator")},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(7),i=n(73),o=n(72);e.exports=function(e){return function(t,n,a){var s,u=r(t),l=i(u.length),c=o(a,l);if(e&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(55);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(13),i=n(37),o=n(20);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),u=o.f,l=0;s.length>l;)u.call(e,a=s[l++])&&t.push(a);return t}},function(e,t,n){var r=n(1).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(31);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(31);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(35),i=n(14),o=n(21),a={};n(6)(a,n(8)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(15)("meta"),i=n(10),o=n(4),a=n(5).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(9)((function(){return u(Object.preventExtensions({}))})),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},d=function(e,t){if(!o(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},h=function(e){return l&&p.NEED&&u(e)&&!o(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:h}},function(e,t,n){var r=n(5),i=n(11),o=n(13);e.exports=n(3)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,u=0;s>u;)r.f(e,n=a[u++],t[n]);return e}},function(e,t,n){var r=n(20),i=n(14),o=n(7),a=n(25),s=n(4),u=n(33),l=Object.getOwnPropertyDescriptor;t.f=n(3)?l:function(e,t){if(e=o(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(7),i=n(36).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},function(e,t,n){var r=n(4),i=n(40),o=n(22)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(12),i=n(2),o=n(9);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){var r=n(24),i=n(16);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536)}}},function(e,t,n){var r=n(24),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(24),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(56),i=n(64),o=n(18),a=n(7);e.exports=n(34)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(12);r(r.S+r.F*!n(3),"Object",{defineProperty:n(5).f})},function(e,t,n){var r=n(40),i=n(13);n(70)("keys",(function(){return function(e){return i(r(e))}}))},function(e,t){},function(e,t,n){"use strict";var r=n(71)(!0);n(34)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(1),i=n(4),o=n(3),a=n(12),s=n(39),u=n(65).KEY,l=n(9),c=n(23),f=n(21),d=n(15),h=n(8),p=n(27),m=n(26),g=n(59),v=n(62),y=n(11),b=n(10),q=n(7),w=n(25),_=n(14),x=n(35),S=n(68),k=n(67),C=n(5),E=n(13),O=k.f,A=C.f,D=S.f,T=r.Symbol,P=r.JSON,M=P&&P.stringify,N="prototype",I=h("_hidden"),R=h("toPrimitive"),j={}.propertyIsEnumerable,F=c("symbol-registry"),L=c("symbols"),B=c("op-symbols"),U=Object[N],z="function"==typeof T,H=r.QObject,$=!H||!H[N]||!H[N].findChild,V=o&&l((function(){return 7!=x(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=O(U,t);r&&delete U[t],A(e,t,n),r&&e!==U&&A(U,t,r)}:A,W=function(e){var t=L[e]=x(T[N]);return t._k=e,t},X=z&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},G=function(e,t,n){return e===U&&G(B,t,n),y(e),t=w(t,!0),y(n),i(L,t)?(n.enumerable?(i(e,I)&&e[I][t]&&(e[I][t]=!1),n=x(n,{enumerable:_(0,!1)})):(i(e,I)||A(e,I,_(1,{})),e[I][t]=!0),V(e,t,n)):A(e,t,n)},Y=function(e,t){y(e);for(var n,r=g(t=q(t)),i=0,o=r.length;o>i;)G(e,n=r[i++],t[n]);return e},K=function(e,t){return void 0===t?x(e):Y(x(e),t)},J=function(e){var t=j.call(this,e=w(e,!0));return!(this===U&&i(L,e)&&!i(B,e))&&(!(t||!i(this,e)||!i(L,e)||i(this,I)&&this[I][e])||t)},Z=function(e,t){if(e=q(e),t=w(t,!0),e!==U||!i(L,t)||i(B,t)){var n=O(e,t);return!n||!i(L,t)||i(e,I)&&e[I][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=D(q(e)),r=[],o=0;n.length>o;)i(L,t=n[o++])||t==I||t==u||r.push(t);return r},ee=function(e){for(var t,n=e===U,r=D(n?B:q(e)),o=[],a=0;r.length>a;)!i(L,t=r[a++])||n&&!i(U,t)||o.push(L[t]);return o};z||(T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===U&&t.call(B,n),i(this,I)&&i(this[I],e)&&(this[I][e]=!1),V(this,e,_(1,n))};return o&&$&&V(U,e,{configurable:!0,set:t}),W(e)},s(T[N],"toString",(function(){return this._k})),k.f=Z,C.f=G,n(36).f=S.f=Q,n(20).f=J,n(37).f=ee,o&&!n(19)&&s(U,"propertyIsEnumerable",J,!0),p.f=function(e){return W(h(e))}),a(a.G+a.W+a.F*!z,{Symbol:T});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)h(te[ne++]);for(var re=E(h.store),ie=0;re.length>ie;)m(re[ie++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return i(F,e+="")?F[e]:F[e]=T(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!z,"Object",{create:K,defineProperty:G,defineProperties:Y,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:ee}),P&&a(a.S+a.F*(!z||l((function(){var e=T();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!X(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),r[1]=t,M.apply(P,r)}}),T[N][R]||n(6)(T[N],R,T[N].valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(26)("asyncIterator")},function(e,t,n){n(26)("observable")},function(e,t,n){n(74);for(var r=n(1),i=n(6),o=n(18),a=n(8)("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(","),u=0;ua{display:block;padding:3px 20px;clear:both;color:#333;white-space:nowrap}.v-select li:hover{cursor:pointer}.v-select .dropdown-menu .active>a{color:#333;background:rgba(50,50,50,.1)}.v-select .dropdown-menu>.highlight>a{background:#5897fb;color:#fff}.v-select .highlight:not(:last-child){margin-bottom:0}.v-select .spinner{align-self:center;opacity:0;font-size:5px;text-indent:-9999em;overflow:hidden;border-top:.9em solid hsla(0,0%,39%,.1);border-right:.9em solid hsla(0,0%,39%,.1);border-bottom:.9em solid hsla(0,0%,39%,.1);border-left:.9em solid rgba(60,60,60,.45);transform:translateZ(0);animation:vSelectSpinner 1.1s infinite linear;transition:opacity .1s}.v-select .spinner,.v-select .spinner:after{border-radius:50%;width:5em;height:5em}.v-select.disabled .dropdown-toggle,.v-select.disabled .dropdown-toggle .clear,.v-select.disabled .dropdown-toggle input,.v-select.disabled .open-indicator,.v-select.disabled .selected-tag .close{cursor:not-allowed;background-color:#f8f8f8}.v-select.loading .spinner{opacity:1}@-webkit-keyframes vSelectSpinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes vSelectSpinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fade-enter-active,.fade-leave-active{transition:opacity .15s cubic-bezier(1,.5,.8,1)}.fade-enter,.fade-leave-to{opacity:0}',""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&v.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",o(e,t),t}function u(e,t){var n,r,i;if(t.singleton){var o=g++;n=m||(m=s(t)),r=l.bind(null,n,o,!1),i=l.bind(null,n,o,!0)}else n=s(t),r=c.bind(null,n),i=function(){a(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function l(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function c(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var f={},d=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=d((function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())})),p=d((function(){return document.head||document.getElementsByTagName("head")[0]})),m=null,g=0,v=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=i(e);return r(n,t),function(e){for(var o=[],a=0;a=1?s[1]:s[0]},a:function(e){return e.getHours()/12>=1?u[1]:u[0]},aa:function(e){return e.getHours()/12>=1?l[1]:l[0]}},f=["M","D","DDD","d","Q","W"];return f.forEach((function(e){c[e+"o"]=function(t,n){return o(n[e](t))}})),{formatters:c,formattingTokensRegExp:r(c)}}function o(e){return e+"."}e.exports=i},"4cef":function(e,t){var n=/\s/;function r(e){var t=e.length;while(t--&&n.test(e.charAt(t)));return t}e.exports=r},"4d34":function(e,t,n){var r=n("90e5");function i(){var e=["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],t=["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],n=["do","se","te","qa","qi","se","sa"],i=["dom","seg","ter","qua","qui","sex","sáb"],a=["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],s=["AM","PM"],u=["am","pm"],l=["a.m.","p.m."],c={MMM:function(t){return e[t.getMonth()]},MMMM:function(e){return t[e.getMonth()]},dd:function(e){return n[e.getDay()]},ddd:function(e){return i[e.getDay()]},dddd:function(e){return a[e.getDay()]},A:function(e){return e.getHours()/12>=1?s[1]:s[0]},a:function(e){return e.getHours()/12>=1?u[1]:u[0]},aa:function(e){return e.getHours()/12>=1?l[1]:l[0]}},f=["M","D","DDD","d","Q","W"];return f.forEach((function(e){c[e+"o"]=function(t,n){return o(n[e](t))}})),{formatters:c,formattingTokensRegExp:r(c)}}function o(e){return e+"º"}e.exports=i},"4e9d":function(e,t,n){var r;(function(){"use strict";var i={};function o(e,t){for(var n=e.data,r=t.data,i=e.width,o=e.height,a=0;a=i-1||0===a||a>=o-1?C(n,l):4*C(n,l)-C(n,l-4*i)-C(n,l-4)-C(n,l+4)-C(n,l+4*i),r[l+1]=u}}function a(e,t,n){for(var r=t.data,i=n.data,o=t.width,a=t.height,s=0;se.skinThreshold,p=c>=e.skinBrightnessMin&&c<=e.skinBrightnessMax;i[l]=d&&p?(f-e.skinThreshold)*(255/(1-e.skinThreshold)):0}}function s(e,t,n){for(var r=t.data,i=n.data,o=t.width,a=t.height,s=0;se.saturationThreshold,h=c>=e.saturationBrightnessMin&&c<=e.saturationBrightnessMax;i[l+2]=h&&d?(f-e.saturationThreshold)*(255/(1-e.saturationThreshold)):0}}function u(e,t){if(e.boost){for(var n=t.data,r=0;r=e.minScale;s-=e.scaleStep)for(var u=0;u+a*s<=n;u+=e.step)for(var l=0;l+o*s<=t;l+=e.step)r.push({x:l,y:u,width:o*s,height:a*s});return r}function f(e,t,n){for(var r={detail:0,saturation:0,skin:0,boost:0,total:0},i=t.data,o=e.scoreDownSample,a=1/o,s=t.height*o,u=t.width*o,l=t.width,c=0;cn||n>=t.x+t.width||t.y>r||r>=t.y+t.height)return e.outsideImportance;n=(n-t.x)/t.width,r=(r-t.y)/t.height;var i=2*w(.5-n),o=2*w(.5-r),a=Math.max(i-1+e.edgeRadius,0),s=Math.max(o-1+e.edgeRadius,0),u=(a*a+s*s)*e.edgeWeight,l=1.41-_(i*i+o*o);return e.ruleOfThirds&&(l+=1.2*Math.max(0,l+u+.5)*(S(i)+S(o))),l+u}function h(e,t,n,r){var i=_(t*t+n*n+r*r),o=t/i-e.skinColor[0],a=n/i-e.skinColor[1],s=r/i-e.skinColor[2],u=_(o*o+a*a+s*s);return 1-u}function p(e,t){var n={},r=new m(t.width,t.height);o(t,r),a(e,t,r),s(e,t,r),u(e,r);for(var i=g(r,e.scoreDownSample),l=-1/0,d=null,h=c(e,t.width,t.height),p=0,v=h.length;pl&&(d=y,l=y.score.total)}return n.topCrop=d,e.debug&&d&&(n.crops=h,n.debugOutput=r,n.debugOptions=e,n.debugTopCrop=x({},n.topCrop)),n}function m(e,t,n){this.width=e,this.height=t,this.data=n?new Uint8ClampedArray(n):new Uint8ClampedArray(e*t*4)}function g(e,t){for(var n=e.data,r=e.width,i=Math.floor(e.width/t),o=Math.floor(e.height/t),a=new m(i,o),s=a.data,u=1/(t*t),l=0;l.5?a/(2-r-i):a/(r+i)}r=function(){return i}.call(t,n,t,e),void 0===r||(e.exports=r),t.smartcrop=i,e.exports=i})()},"4f50":function(e,t,n){var r=n("b760"),i=n("e538"),o=n("c8fe"),a=n("4359"),s=n("fa21"),u=n("d370"),l=n("6747"),c=n("dcbe"),f=n("0d24"),d=n("9520"),h=n("1a8c"),p=n("60ed"),m=n("73ac"),g=n("8adb"),v=n("8de2");function y(e,t,n,y,b,q,w){var _=g(e,n),x=g(t,n),S=w.get(x);if(S)r(e,n,S);else{var k=q?q(_,x,n+"",e,t,w):void 0,C=void 0===k;if(C){var E=l(x),O=!E&&f(x),A=!E&&!O&&m(x);k=x,E||O||A?l(_)?k=_:c(_)?k=a(_):O?(C=!1,k=i(x,!0)):A?(C=!1,k=o(x,!0)):k=[]:p(x)||u(x)?(k=_,u(_)?k=v(_):h(_)&&!d(_)||(k=s(x))):C=!1}C&&(w.set(x,k),b(k,x,y,q,w),w["delete"](x)),r(e,n,k)}}e.exports=y},"50d8":function(e,t){function n(e,t){var n=-1,r=Array(e);while(++n=17?s[3]:t>=12?s[2]:t>=4?s[1]:s[0]},Do:function(e,t){return t.D(e)+"-е"},Wo:function(e,t){return t.W(e)+"-я"}};u.a=u.A,u.aa=u.A;var l=["M","DDD","d","Q"];l.forEach((function(e){u[e+"o"]=function(t,n){return n[e](t)+"-й"}}));var c=["D","Do","DD"];return c.forEach((function(e){u[e+" MMMM"]=function(t,r){var i=u[e]||r[e];return i(t,r)+" "+n[t.getMonth()]}})),{formatters:u,formattingTokensRegExp:r(u)}}e.exports=i},5270:function(e,t,n){"use strict";var r=n("c532"),i=n("c401"),o=n("2e67"),a=n("2444");function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){s(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||a.adapter;return t(e).then((function(t){return s(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"52cf":function(e,t,n){var r=n("2d96"),i=n("e830");e.exports={distanceInWords:r(),format:i()}},"532b":function(e,t){function n(){var e={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}};function t(t,n,r){var i;return r=r||{},i="string"===typeof e[t]?e[t]:1===n?e[t].one:e[t].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?"over "+i:i+" geleden":i}return{localize:t}}e.exports=n},"54eb":function(e,t,n){var r=n("8eeb"),i=n("32f4");function o(e,t){return r(e,i(e),t)}e.exports=o},"55a3":function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},"57a5":function(e,t,n){var r=n("91e9"),i=r(Object.keys,Object);e.exports=i},"580f":function(e,t,n){var r=n("c8d5"),i=n("a4b7"),o=n("d420");function a(e){var t=r(e),n=o(t,i(t)),a=n+1;return a}e.exports=a},"585a":function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n("c8ba"))},"59dc":function(e,t,n){"use strict";e.exports=n("96ae")},"5ab1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.s3=t.traditional=t.thenable=void 0;var r=n("320c"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}t.thenable=["onCancel","onPasteReceived","onSubmit","onSubmitDelete","onUpload","onUploadChunk","onValidate","onValidateBatch"];var a=t.traditional=["onAutoRetry","onCancel","onComplete","onAllComplete","onDelete","onDeleteComplete","onError","onManualRetry","onPasteReceived","onProgress","onResume","onSessionRequestComplete","onStatusChange","onSubmit","onSubmitDelete","onSubmitted","onTotalProgress","onUpload","onUploadChunk","onUploadChunkSuccess","onValidate","onValidateBatch"];t.s3=(0,i.default)([],a,["onCredentialsExpired"])},"5b01":function(e,t,n){var r=n("8eeb"),i=n("ec69");function o(e,t){return e&&r(t,i(t),e)}e.exports=o},"5d89":function(e,t,n){var r=n("f8af");function i(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}e.exports=i},"5dbe":function(e,t,n){(function(){var t;function n(){console.log(i.apply(null,arguments))}function r(e,t){return i.apply(null,[e].concat(t))}function i(e){for(var t,n,r,i,o=1,a=[].slice.call(arguments),s=0,u=e.length,l="",c=!1,f=!1,d=function(){return a[o++]},h=function(){var n="";while(/\d/.test(e[s]))n+=e[s++],t=e[s];return n.length>0?parseInt(n):null};s=0;i--){let r=t<0?p(e.node(0),e.node(i),e.before(i+1),e.index(i),t,n):p(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,t,n);if(r)return r}}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new d(e.node(0))}static atStart(e){return p(e,e,0,0,1)||new d(e)}static atEnd(e){return p(e,e,e.content.size,e.childCount,-1)||new d(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=o[t.type];if(!n)throw new RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in o)throw new RangeError("Duplicate use of selection JSON ID "+e);return o[e]=t,t.prototype.jsonID=e,t}getBookmark(){return u.between(this.$anchor,this.$head).getBookmark()}}a.prototype.visible=!0;class s{constructor(e,t){this.$from=e,this.$to=t}}class u extends a{constructor(e,t=e){super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return a.near(n);let r=e.resolve(t.map(this.anchor));return new u(r.parent.inlineContent?r:n,n)}replace(e,t=r["j"].empty){if(super.replace(e,t),t==r["j"].empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof u&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new l(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new u(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(e,t,n){let r=e.pos-t.pos;if(n&&!r||(n=r>=0?1:-1),!t.parent.inlineContent){let e=a.findFrom(t,n,!0)||a.findFrom(t,-n,!0);if(!e)return a.near(t,n);t=e.$head}return e.parent.inlineContent||(0==r?e=t:(e=(a.findFrom(e,-n,!0)||a.findFrom(e,n,!0)).$anchor,e.pos0?0:1);i>0?a=0;a+=i){let r=t.child(a);if(r.isAtom){if(!o&&c.isSelectable(r))return c.create(e,n-(i<0?r.nodeSize:0))}else{let t=p(e,r,n+i,i<0?r.childCount:0,i,o);if(t)return t}n+=r.nodeSize*i}}function m(e,t,n){let r=e.steps.length-1;if(r{null==s&&(s=r)}),e.setSelection(a.near(e.doc.resolve(s),n))}const g=1,v=2,y=4;class b extends i["e"]{constructor(e){super(e.doc),this.time=Date.now(),this.curSelection=e.selection,this.curSelectionFor=0,this.storedMarks=e.storedMarks,this.updated=0,this.meta=Object.create(null)}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=v,this}ensureMarks(e){return r["d"].sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&v)>0}addStep(e,t){super.addStep(e,t),this.updated=this.updated&~v,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t){let n=this.selection;return!1!==t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||r["d"].none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n=t){let r=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(!e)return this.deleteRange(t,n);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,i)),this.selection.empty||this.setSelection(a.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=y,this}get scrolledIntoView(){return(this.updated&y)>0}}function q(e,t){return t&&e?e.bind(t):e}class w{constructor(e,t,n){this.name=e,this.init=q(t.init,n),this.apply=q(t.apply,n)}}const _=[new w("doc",{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new w("selection",{init(e,t){return e.selection||a.atStart(t.doc)},apply(e){return e.selection}}),new w("storedMarks",{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new w("scrollToSelection",{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})];class x{constructor(e,t){this.schema=e,this.fields=_.concat(),this.plugins=[],this.pluginsByKey=Object.create(null),t&&t.forEach(e=>{if(this.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new w(e.key,e.spec.state,e))})}}class S{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;ne.toJSON())),e&&"object"==typeof e)for(let n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],i=r.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(r,this[r.key]))}return t}static fromJSON(e,t,n){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new x(e.schema,e.plugins),o=new S(i);return i.fields.forEach(i=>{if("doc"==i.name)o.doc=r["f"].fromJSON(e.schema,t.doc);else if("selection"==i.name)o.selection=a.fromJSON(o.doc,t.selection);else if("storedMarks"==i.name)t.storedMarks&&(o.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(let r in n){let a=n[r],s=a.spec.state;if(a.key==i.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(t,r))return void(o[i.name]=s.fromJSON.call(a,e,t[r],o))}o[i.name]=i.init(e,o)}}),o}static addApplyListener(e){k.push(e)}static removeApplyListener(e){let t=k.indexOf(e);t>-1&&k.splice(t,1)}}const k=[];function C(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):"handleDOMEvents"==r&&(i=C(i,t,{})),n[r]=i}return n}class E{constructor(e){this.props={},e.props&&C(e.props,this,this.props),this.spec=e,this.key=e.key?e.key.key:A("plugin")}getState(e){return e[this.key]}}const O=Object.create(null);function A(e){return e in O?e+"$"+ ++O[e]:(O[e]=0,e+"$")}class D{constructor(e="key"){this.key=A(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}},"66cb":function(e,t,n){var r;(function(i){var o=/^\s+/,a=/\s+$/,s=0,u=i.round,l=i.min,c=i.max,f=i.random;function d(e,t){if(e=e||"",t=t||{},e instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=h(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=u(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=u(this._r)),this._g<1&&(this._g=u(this._g)),this._b<1&&(this._b=u(this._b)),this._ok=n.ok,this._tc_id=s++}function h(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;return"string"==typeof e&&(e=K(e)),"object"==typeof e&&(Y(e.r)&&Y(e.g)&&Y(e.b)?(t=p(e.r,e.g,e.b),a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Y(e.h)&&Y(e.s)&&Y(e.v)?(r=V(e.s),i=V(e.v),t=y(e.h,r,i),a=!0,s="hsv"):Y(e.h)&&Y(e.s)&&Y(e.l)&&(r=V(e.s),o=V(e.l),t=g(e.h,r,o),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=F(n),{ok:a,format:e.format||s,r:l(255,c(t.r,0)),g:l(255,c(t.g,0)),b:l(255,c(t.b,0)),a:n}}function p(e,t,n){return{r:255*L(e,255),g:255*L(t,255),b:255*L(n,255)}}function m(e,t,n){e=L(e,255),t=L(t,255),n=L(n,255);var r,i,o=c(e,t,n),a=l(e,t,n),s=(o+a)/2;if(o==a)r=i=0;else{var u=o-a;switch(i=s>.5?u/(2-o-a):u/(o+a),o){case e:r=(t-n)/u+(t1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=L(e,360),t=L(t,100),n=L(n,100),0===t)r=i=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,u=2*n-s;r=a(u,s,e+1/3),i=a(u,s,e),o=a(u,s,e-1/3)}return{r:255*r,g:255*i,b:255*o}}function v(e,t,n){e=L(e,255),t=L(t,255),n=L(n,255);var r,i,o=c(e,t,n),a=l(e,t,n),s=o,u=o-a;if(i=0===o?0:u/o,o==a)r=0;else{switch(o){case e:r=(t-n)/u+(t>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(d(r));return o}function N(e,t){t=t||6;var n=d(e).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;while(t--)a.push(d({h:r,s:i,v:o})),o=(o+s)%1;return a}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,o,a,s=this.toRgb();return e=s.r/255,t=s.g/255,n=s.b/255,r=e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4),o=t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4),a=n<=.03928?n/12.92:i.pow((n+.055)/1.055,2.4),.2126*r+.7152*o+.0722*a},setAlpha:function(e){return this._a=F(e),this._roundA=u(100*this._a)/100,this},toHsv:function(){var e=v(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=v(this._r,this._g,this._b),t=u(360*e.h),n=u(100*e.s),r=u(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(this._r,this._g,this._b),t=u(360*e.h),n=u(100*e.s),r=u(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return q(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:u(this._r),g:u(this._g),b:u(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+u(this._r)+", "+u(this._g)+", "+u(this._b)+")":"rgba("+u(this._r)+", "+u(this._g)+", "+u(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:u(100*L(this._r,255))+"%",g:u(100*L(this._g,255))+"%",b:u(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+u(100*L(this._r,255))+"%, "+u(100*L(this._g,255))+"%, "+u(100*L(this._b,255))+"%)":"rgba("+u(100*L(this._r,255))+"%, "+u(100*L(this._g,255))+"%, "+u(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(R[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+w(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=d(e);n="#"+w(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0,i=!t&&r&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e);return i?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(C,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(_,arguments)},saturate:function(){return this._applyModification(x,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(N,arguments)},splitcomplement:function(){return this._applyCombination(P,arguments)},triad:function(){return this._applyCombination(D,arguments)},tetrad:function(){return this._applyCombination(T,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:V(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:f(),g:f(),b:f()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),i=d(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return d(a)},d.readability=function(e,t){var n=d(e),r=d(t);return(i.max(n.getLuminance(),r.getLuminance())+.05)/(i.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,i,o=d.readability(e,t);switch(i=!1,r=J(n),r.level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7;break}return i},d.mostReadable=function(e,t,n){var r,i,o,a,s=null,u=0;n=n||{},i=n.includeFallbackColors,o=n.level,a=n.size;for(var l=0;lu&&(u=r,s=d(t[l]));return d.isReadable(e,s,{level:o,size:a})||!i?s:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var I=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},R=d.hexNames=j(I);function j(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function F(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function L(e,t){z(e)&&(e="100%");var n=H(e);return e=l(t,c(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),i.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function B(e){return l(1,c(0,e))}function U(e){return parseInt(e,16)}function z(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function H(e){return"string"===typeof e&&-1!=e.indexOf("%")}function $(e){return 1==e.length?"0"+e:""+e}function V(e){return e<=1&&(e=100*e+"%"),e}function W(e){return i.round(255*parseFloat(e)).toString(16)}function X(e){return U(e)/255}var G=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Y(e){return!!G.CSS_UNIT.exec(e)}function K(e){e=e.replace(o,"").replace(a,"").toLowerCase();var t,n=!1;if(I[e])e=I[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=G.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=G.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=G.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=G.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=G.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=G.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=G.hex8.exec(e))?{r:U(t[1]),g:U(t[2]),b:U(t[3]),a:X(t[4]),format:n?"name":"hex8"}:(t=G.hex6.exec(e))?{r:U(t[1]),g:U(t[2]),b:U(t[3]),format:n?"name":"hex"}:(t=G.hex4.exec(e))?{r:U(t[1]+""+t[1]),g:U(t[2]+""+t[2]),b:U(t[3]+""+t[3]),a:X(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=G.hex3.exec(e))&&{r:U(t[1]+""+t[1]),g:U(t[2]+""+t[2]),b:U(t[3]+""+t[3]),format:n?"name":"hex"}}function J(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}e.exports?e.exports=d:(r=function(){return d}.call(t,n,t,e),void 0===r||(e.exports=r))})(Math)},6747:function(e,t){var n=Array.isArray;e.exports=n},"67ca":function(e,t,n){var r=n("cb5a");function i(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}e.exports=i},6856:function(e,t){function n(){var e={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},t=["lessThanXSeconds","lessThanXMinutes","overXYears"];function n(n,r,i){var o;if(i=i||{},o="string"===typeof e[n]?e[n]:1===r?e[n].one:e[n].other.replace("{{count}}",r),i.addSuffix){var a="";return t.indexOf(n)>-1&&(a=" bir süre"),i.comparison>0?o+a+" içinde":o+a+" önce"}return o}return{localize:n}}e.exports=n},6933:function(e,t){function n(){var e={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}};function t(t,n,r){var i;return r=r||{},i="string"===typeof e[t]?e[t]:1===n?e[t].one:e[t].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?"daqui a "+i:"há "+i:i}return{localize:t}}e.exports=n},"69d5":function(e,t,n){var r=n("cb5a"),i=Array.prototype,o=i.splice;function a(e){var t=this.__data__,n=r(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():o.call(t,n,1),--this.size,!0}e.exports=a},"6d6b":function(e,t,n){"use strict";var r=n("aefd"),i=n("b726");e.exports=r.bind(null,i)},"6e0c":function(e,t,n){var r=n("e485"),i=n("4c70");e.exports={distanceInWords:r(),format:i()}},"6f6c":function(e,t){var n=/\w*$/;function r(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}e.exports=r},"6fcd":function(e,t,n){var r=n("50d8"),i=n("d370"),o=n("6747"),a=n("0d24"),s=n("c098"),u=n("73ac"),l=Object.prototype,c=l.hasOwnProperty;function f(e,t){var n=o(e),l=!n&&i(e),f=!n&&!l&&a(e),d=!n&&!l&&!f&&u(e),h=n||l||f||d,p=h?r(e.length,String):[],m=p.length;for(var g in e)!t&&!c.call(e,g)||h&&("length"==g||f&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||p.push(g);return p}e.exports=f},"6ffc":function(e,t,n){ +function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return I})),n.d(t,"c",(function(){return M}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function u(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=u(e[n],t)})),r}function l(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function f(e){return e&&"function"===typeof e.then}function d(e,t){return function(){return e(t)}}var h=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(e,t){this._children[e]=t},h.prototype.removeChild=function(e){delete this._children[e]},h.prototype.getChild=function(e){return this._children[e]},h.prototype.hasChild=function(e){return e in this._children},h.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},h.prototype.forEachChild=function(e){l(this._children,e)},h.prototype.forEachGetter=function(e){this._rawModule.getters&&l(this._rawModule.getters,e)},h.prototype.forEachAction=function(e){this._rawModule.actions&&l(this._rawModule.actions,e)},h.prototype.forEachMutation=function(e){this._rawModule.mutations&&l(this._rawModule.mutations,e)},Object.defineProperties(h.prototype,p);var m=function(e){this.register([],e,!1)};function g(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;g(e.concat(r),t.getChild(r),n.modules[r])}}m.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},m.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},m.prototype.update=function(e){g([],this.root,e)},m.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new h(t,n);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&l(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},m.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},m.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var v;var y=function(e){var t=this;void 0===e&&(e={}),!v&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,u=o.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return u.call(i,e,t,n)},this.strict=r;var l=this._modules.root.state;x(this,l,[],this._modules.root),_(this,l),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:v.config.devtools;c&&a(this)},b={state:{configurable:!0}};function q(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function w(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;x(e,n,[],e._modules.root,!0),_(e,n,t)}function _(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};l(i,(function(t,n){o[n]=d(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=v.config.silent;v.config.silent=!0,e._vm=new v({data:{$$state:t},computed:o}),v.config.silent=a,e.strict&&A(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),v.nextTick((function(){return r.$destroy()})))}function x(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!i){var s=D(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit((function(){v.set(s,u,r.state)}))}var l=r.context=S(e,a,n);r.forEachMutation((function(t,n){var r=a+n;C(e,r,t,l)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,i=t.handler||t;E(e,r,i,l)})),r.forEachGetter((function(t,n){var r=a+n;O(e,r,t,l)})),r.forEachChild((function(r,o){x(e,t,n.concat(o),r,i)}))}function S(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=T(n,r,i),a=o.payload,s=o.options,u=o.type;return s&&s.root||(u=t+u),e.dispatch(u,a)},commit:r?e.commit:function(n,r,i){var o=T(n,r,i),a=o.payload,s=o.options,u=o.type;s&&s.root||(u=t+u),e.commit(u,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return k(e,t)}},state:{get:function(){return D(e.state,n)}}}),i}function k(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function C(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function E(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return f(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function O(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function A(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function D(e,t){return t.reduce((function(e,t){return e[t]}),e)}function T(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function P(e){v&&e===v||(v=e,r(v))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},y.prototype.commit=function(e,t,n){var r=this,i=T(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},y.prototype.dispatch=function(e,t){var n=this,r=T(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(l){0}var u=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){u.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(l){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(l){0}t(e)}))}))}},y.prototype.subscribe=function(e,t){return q(e,this._subscribers,t)},y.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return q(n,this._actionSubscribers,t)},y.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},y.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},y.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),x(this,this.state,e,this._modules.get(e),n.preserveState),_(this,this.state)},y.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=D(t.state,e.slice(0,-1));v.delete(n,e[e.length-1])})),w(this)},y.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},y.prototype.hotUpdate=function(e){this._modules.update(e),w(this,!0)},y.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(y.prototype,b);var M=B((function(e,t){var n={};return F(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=U(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),N=B((function(e,t){var n={};return F(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=U(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),I=B((function(e,t){var n={};return F(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||U(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),R=B((function(e,t){var n={};return F(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=U(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),j=function(e){return{mapState:M.bind(null,e),mapGetters:I.bind(null,e),mapMutations:N.bind(null,e),mapActions:R.bind(null,e)}};function F(e){return L(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function L(e){return Array.isArray(e)||c(e)}function B(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function U(e,t,n){var r=e._modulesNamespaceMap[n];return r}function z(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var f=u(e.state);"undefined"!==typeof c&&(s&&e.subscribe((function(e,o){var a=u(o);if(n(e,f,a)){var s=V(),l=i(e),d="mutation "+e.type+s;H(c,d,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),$(c)}f=a})),l&&e.subscribeAction((function(e,n){if(o(e,n)){var r=V(),i=a(e),s="action "+e.type+r;H(c,s,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),$(c)}})))}}function H(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function $(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function V(){var e=new Date;return" @ "+X(e.getHours(),2)+":"+X(e.getMinutes(),2)+":"+X(e.getSeconds(),2)+"."+X(e.getMilliseconds(),3)}function W(e,t){return new Array(t+1).join(e)}function X(e,t){return W("0",t-e.toString().length)+e}var G={Store:y,install:P,version:"3.6.2",mapState:M,mapMutations:N,mapGetters:I,mapActions:R,createNamespacedHelpers:j,createLogger:z};t["a"]=G}).call(this,n("c8ba"))},"2fcc":function(e,t){function n(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}e.exports=n},"304a":function(e,t,n){"use strict";function r(e){this.content=e}n.d(t,"a",(function(){return he})),n.d(t,"b",(function(){return De})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return ce})),n.d(t,"f",(function(){return j})),n.d(t,"g",(function(){return N})),n.d(t,"h",(function(){return p})),n.d(t,"i",(function(){return fe})),n.d(t,"j",(function(){return m})),r.prototype={constructor:r,find:function(e){for(var t=0;t>1}},r.from=function(e){if(e instanceof r)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new r(t)};var i=r,o=i;function a(e,t,n){for(var r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;var i=e.child(r),o=t.child(r);if(i!=o){if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(var s=0;i.text[s]==o.text[s];s++)n++;return n}if(i.content.size||o.content.size){var u=a(i.content,o.content,n+1);if(null!=u)return u}n+=i.nodeSize}else n+=i.nodeSize}}function s(e,t,n,r){for(var i=e.childCount,o=t.childCount;;){if(0==i||0==o)return i==o?null:{a:n,b:r};var a=e.child(--i),u=t.child(--o),l=a.nodeSize;if(a!=u){if(!a.sameMarkup(u))return{a:n,b:r};if(a.isText&&a.text!=u.text){var c=0,f=Math.min(a.text.length,u.text.length);while(ce&&!1!==n(s,r+a,i,o)&&s.content.size){var l=a+1;s.nodesBetween(Math.max(0,e-l),Math.min(s.content.size,t-l),n,r+l)}a=u}},u.prototype.descendants=function(e){this.nodesBetween(0,this.size,e)},u.prototype.textBetween=function(e,t,n,r){var i="",o=!0;return this.nodesBetween(e,t,(function(a,s){a.isText?(i+=a.text.slice(Math.max(e,s)-s,t-s),o=!n):a.isLeaf&&r?(i+="function"===typeof r?r(a):r,o=!n):!o&&a.isBlock&&(i+=n,o=!0)}),0),i},u.prototype.append=function(e){if(!e.size)return this;if(!this.size)return e;var t=this.lastChild,n=e.firstChild,r=this.content.slice(),i=0;for(t.isText&&t.sameMarkup(n)&&(r[r.length-1]=t.withText(t.text+n.text),i=1);ie)for(var i=0,o=0;oe&&((ot)&&(a=a.isText?a.cut(Math.max(0,e-o),Math.min(a.text.length,t-o)):a.cut(Math.max(0,e-o-1),Math.min(a.content.size,t-o-1))),n.push(a),r+=a.nodeSize),o=s}return new u(n,r)},u.prototype.cutByIndex=function(e,t){return e==t?u.empty:0==e&&t==this.content.length?this:new u(this.content.slice(e,t))},u.prototype.replaceChild=function(e,t){var n=this.content[e];if(n==t)return this;var r=this.content.slice(),i=this.size+t.nodeSize-n.nodeSize;return r[e]=t,new u(r,i)},u.prototype.addToStart=function(e){return new u([e].concat(this.content),this.size+e.nodeSize)},u.prototype.addToEnd=function(e){return new u(this.content.concat(e),this.size+e.nodeSize)},u.prototype.eq=function(e){if(this.content.length!=e.content.length)return!1;for(var t=0;tthis.size||e<0)throw new RangeError("Position "+e+" outside of fragment ("+this+")");for(var n=0,r=0;;n++){var i=this.child(n),o=r+i.nodeSize;if(o>=e)return o==e||t>0?f(n+1,o):f(n,r);r=o}},u.prototype.toString=function(){return"<"+this.toStringInner()+">"},u.prototype.toStringInner=function(){return this.content.join(", ")},u.prototype.toJSON=function(){return this.content.length?this.content.map((function(e){return e.toJSON()})):null},u.fromJSON=function(e,t){if(!t)return u.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new u(t.map(e.nodeFromJSON))},u.fromArray=function(e){if(!e.length)return u.empty;for(var t,n=0,r=0;rthis.type.rank&&(t||(t=e.slice(0,r)),t.push(this),n=!0),t&&t.push(i)}}return t||(t=e.slice()),n||t.push(this),t},h.prototype.removeFromSet=function(e){for(var t=0;te.depth)throw new p("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new p("Inconsistent open depths");return q(e,t,n,0)}function q(e,t,n,r){var i=e.index(r),o=e.node(r);if(i==t.index(r)&&r=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function S(e,t,n,r){var i=(t||e).node(n),o=0,a=t?t.index(n):i.childCount;e&&(o=e.index(n),e.depth>n?o++:e.textOffset&&(x(e.nodeAfter,r),o++));for(var s=o;si&&_(e,t,i+1),a=r.depth>i&&_(n,r,i+1),s=[];return S(null,e,i,s),o&&a&&t.index(i)==n.index(i)?(w(o,a),x(k(o,C(e,t,n,r,i+1)),s)):(o&&x(k(o,E(e,t,i+1)),s),S(t,n,i,s),a&&x(k(a,E(n,r,i+1)),s)),S(r,null,i,s),new u(s)}function E(e,t,n){var r=[];if(S(null,e,n,r),e.depth>n){var i=_(e,t,n+1);x(k(i,E(e,t,n+1)),r)}return S(t,null,n,r),new u(r)}function O(e,t){for(var n=t.depth-e.openStart,r=t.node(n),i=r.copy(e.content),o=n-1;o>=0;o--)i=t.node(o).copy(u.from(i));return{start:i.resolveNoCache(e.openStart+n),end:i.resolveNoCache(i.content.size-e.openEnd-n)}}g.size.get=function(){return this.content.size-this.openStart-this.openEnd},m.prototype.insertAt=function(e,t){var n=y(this.content,e+this.openStart,t,null);return n&&new m(n,this.openStart,this.openEnd)},m.prototype.removeBetween=function(e,t){return new m(v(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)},m.prototype.eq=function(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd},m.prototype.toString=function(){return this.content+"("+this.openStart+","+this.openEnd+")"},m.prototype.toJSON=function(){if(!this.content.size)return null;var e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e},m.fromJSON=function(e,t){if(!t)return m.empty;var n=t.openStart||0,r=t.openEnd||0;if("number"!=typeof n||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new m(u.fromJSON(e,t.content),n,r)},m.maxOpen=function(e,t){void 0===t&&(t=!0);for(var n=0,r=0,i=e.firstChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.firstChild)n++;for(var o=e.lastChild;o&&!o.isLeaf&&(t||!o.type.spec.isolating);o=o.lastChild)r++;return new m(e,n,r)},Object.defineProperties(m.prototype,g),m.empty=new m(u.empty,0,0);var A=function(e,t,n){this.pos=e,this.path=t,this.depth=t.length/3-1,this.parentOffset=n},D={parent:{configurable:!0},doc:{configurable:!0},textOffset:{configurable:!0},nodeAfter:{configurable:!0},nodeBefore:{configurable:!0}};A.prototype.resolveDepth=function(e){return null==e?this.depth:e<0?this.depth+e:e},D.parent.get=function(){return this.node(this.depth)},D.doc.get=function(){return this.node(0)},A.prototype.node=function(e){return this.path[3*this.resolveDepth(e)]},A.prototype.index=function(e){return this.path[3*this.resolveDepth(e)+1]},A.prototype.indexAfter=function(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)},A.prototype.start=function(e){return e=this.resolveDepth(e),0==e?0:this.path[3*e-1]+1},A.prototype.end=function(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size},A.prototype.before=function(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]},A.prototype.after=function(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize},D.textOffset.get=function(){return this.pos-this.path[this.path.length-1]},D.nodeAfter.get=function(){var e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;var n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r},D.nodeBefore.get=function(){var e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)},A.prototype.posAtIndex=function(e,t){t=this.resolveDepth(t);for(var n=this.path[3*t],r=0==t?0:this.path[3*t-1]+1,i=0;i0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0},A.prototype.blockRange=function(e,t){if(void 0===e&&(e=this),e.pos=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new N(this,e,n)},A.prototype.sameParent=function(e){return this.pos-this.parentOffset==e.pos-e.parentOffset},A.prototype.max=function(e){return e.pos>this.pos?e:this},A.prototype.min=function(e){return e.pos=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");for(var n=[],r=0,i=t,o=e;;){var a=o.content.findIndex(i),s=a.index,u=a.offset,l=i-u;if(n.push(o,s,r+u),!l)break;if(o=o.child(s),o.isText)break;i=l-1,r+=u+1}return new A(t,n,i)},A.resolveCached=function(e,t){for(var n=0;ne&&this.nodesBetween(e,t,(function(e){return n.isInSet(e.marks)&&(r=!0),!r})),r},F.isBlock.get=function(){return this.type.isBlock},F.isTextblock.get=function(){return this.type.isTextblock},F.inlineContent.get=function(){return this.type.inlineContent},F.isInline.get=function(){return this.type.isInline},F.isText.get=function(){return this.type.isText},F.isLeaf.get=function(){return this.type.isLeaf},F.isAtom.get=function(){return this.type.isAtom},j.prototype.toString=function(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);var e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),B(this.marks,e)},j.prototype.contentMatchAt=function(e){var t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t},j.prototype.canReplace=function(e,t,n,r,i){void 0===n&&(n=u.empty),void 0===r&&(r=0),void 0===i&&(i=n.childCount);var o=this.contentMatchAt(e).matchFragment(n,r,i),a=o&&o.matchFragment(this.content,t);if(!a||!a.validEnd)return!1;for(var s=r;s=0;n--)t=e[n].type.name+"("+t+")";return t}var U=function(e){this.validEnd=e,this.next=[],this.wrapCache=[]},z={inlineContent:{configurable:!0},defaultType:{configurable:!0},edgeCount:{configurable:!0}};U.parse=function(e,t){var n=new H(e,t);if(null==n.next)return U.empty;var r=V(n);n.next&&n.err("Unexpected trailing text");var i=te(Z(r));return ne(i,n),i},U.prototype.matchType=function(e){for(var t=0;t>1},U.prototype.edge=function(e){var t=e<<1;if(t>=this.next.length)throw new RangeError("There's no "+e+"th edge in this content match");return{type:this.next[t],next:this.next[t+1]}},U.prototype.toString=function(){var e=[];function t(n){e.push(n);for(var r=1;r"+e.indexOf(t.next[i+1]);return r})).join("\n")},Object.defineProperties(U.prototype,z),U.empty=new U(!0);var H=function(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()},$={next:{configurable:!0}};function V(e){var t=[];do{t.push(W(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function W(e){var t=[];do{t.push(X(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function X(e){for(var t=J(e);;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=Y(e,t)}return t}function G(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");var t=Number(e.next);return e.pos++,t}function Y(e,t){var n=G(e),r=n;return e.eat(",")&&(r="}"!=e.next?G(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function K(e,t){var n=e.nodeTypes,r=n[t];if(r)return[r];var i=[];for(var o in n){var a=n[o];a.groups.indexOf(t)>-1&&i.push(a)}return 0==i.length&&e.err("No node type or group '"+t+"' found"),i}function J(e){if(e.eat("(")){var t=V(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){var n=K(e,e.next).map((function(t){return null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t}}));return e.pos++,1==n.length?n[0]:{type:"choice",exprs:n}}e.err("Unexpected token '"+e.next+"'")}function Z(e){var t=[[]];return i(o(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){var i={term:r,to:n};return t[e].push(i),i}function i(e,t){e.forEach((function(e){return e.to=t}))}function o(e,t){if("choice"==e.type)return e.exprs.reduce((function(e,n){return e.concat(o(n,t))}),[]);if("seq"==e.type)for(var a=0;;a++){var s=o(e.exprs[a],t);if(a==e.exprs.length-1)return s;i(s,t=n())}else{if("star"==e.type){var u=n();return r(t,u),i(o(e.expr,u),u),[r(u)]}if("plus"==e.type){var l=n();return i(o(e.expr,t),l),i(o(e.expr,l),l),[r(l)]}if("opt"==e.type)return[r(t)].concat(o(e.expr,t));if("range"==e.type){for(var c=t,f=0;f-1&&i[o+1];ee(e,r).forEach((function(e){a||i.push(n,a=[]),-1==a.indexOf(e)&&a.push(e)}))}}))}));for(var o=t[r.join(",")]=new U(r.indexOf(e.length-1)>-1),a=0;a-1},ae.prototype.allowsMarks=function(e){if(null==this.markSet)return!0;for(var t=0;t-1};var fe=function(e){for(var t in this.spec={},e)this.spec[t]=e[t];this.spec.nodes=o.from(e.nodes),this.spec.marks=o.from(e.marks),this.nodes=ae.compile(this.spec.nodes,this),this.marks=ce.compile(this.spec.marks,this);var n=Object.create(null);for(var r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");var i=this.nodes[r],a=i.spec.content||"",s=i.spec.marks;i.contentMatch=n[a]||(n[a]=U.parse(a,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.markSet="_"==s?null:s?de(this,s.split(" ")):""!=s&&i.inlineContent?null:[]}for(var u in this.marks){var l=this.marks[u],c=l.spec.excludes;l.excluded=null==c?[l]:""==c?[]:de(this,c.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached=Object.create(null),this.cached.wrappings=Object.create(null)};function de(e,t){for(var n=[],r=0;r-1)&&n.push(a=u)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}fe.prototype.node=function(e,t,n,r){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof ae))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,r)},fe.prototype.text=function(e,t){var n=this.nodes.text;return new L(n,n.defaultAttrs,e,h.setFrom(t))},fe.prototype.mark=function(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)},fe.prototype.nodeFromJSON=function(e){return j.fromJSON(this,e)},fe.prototype.markFromJSON=function(e){return h.fromJSON(this,e)},fe.prototype.nodeType=function(e){var t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t};var he=function(e,t){var n=this;this.schema=e,this.rules=t,this.tags=[],this.styles=[],t.forEach((function(e){e.tag?n.tags.push(e):e.style&&n.styles.push(e)})),this.normalizeLists=!this.tags.some((function(t){if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;var n=e.nodes[t.node];return n.contentMatch.matchType(n)}))};he.prototype.parse=function(e,t){void 0===t&&(t={});var n=new _e(this,t,!1);return n.addAll(e,null,t.from,t.to),n.finish()},he.prototype.parseSlice=function(e,t){void 0===t&&(t={});var n=new _e(this,t,!0);return n.addAll(e,null,t.from,t.to),m.maxOpen(n.finish())},he.prototype.matchTag=function(e,t,n){for(var r=n?this.tags.indexOf(n)+1:0;re.length&&(61!=o.style.charCodeAt(e.length)||o.style.slice(e.length+1)!=t))){if(o.getAttrs){var a=o.getAttrs(t);if(!1===a)continue;o.attrs=a}return o}}},he.schemaRules=function(e){var t=[];function n(e){for(var n=null==e.priority?50:e.priority,r=0;r=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]},we.prototype.applyPending=function(e){for(var t=0,n=this.pendingMarks;t=0;r--){var i=this.nodes[r],o=i.findWrapping(e);if(o&&(!t||t.length>o.length)&&(t=o,n=i,!o.length))break;if(i.solid)break}if(!t)return!1;this.sync(n);for(var a=0;athis.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}},_e.prototype.finish=function(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)},_e.prototype.sync=function(e){for(var t=this.open;t>=0;t--)if(this.nodes[t]==e)return void(this.open=t)},xe.currentPos.get=function(){this.closeExtra();for(var e=0,t=this.open;t>=0;t--){for(var n=this.nodes[t].content,r=n.length-1;r>=0;r--)e+=n[r].nodeSize;t&&e++}return e},_e.prototype.findAtPoint=function(e,t){if(this.find)for(var n=0;n-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);var n=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),a=function(e,s){for(;e>=0;e--){var u=n[e];if(""==u){if(e==n.length-1||0==e)continue;for(;s>=o;s--)if(a(e-1,s))return!0;return!1}var l=s>0||0==s&&i?t.nodes[s].type:r&&s>=o?r.node(s-o).type:null;if(!l||l.name!=u&&-1==l.groups.indexOf(u))return!1;s--}return!0};return a(n.length-1,this.open)},_e.prototype.textblockFromContext=function(){var e=this.options.context;if(e)for(var t=e.depth;t>=0;t--){var n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(var r in this.parser.schema.nodes){var i=this.parser.schema.nodes[r];if(i.isTextblock&&i.defaultAttrs)return i}},_e.prototype.addPendingMark=function(e){var t=Ae(e,this.top.pendingMarks);t&&this.top.stashMarks.push(t),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)},_e.prototype.removePendingMark=function(e,t){for(var n=this.open;n>=0;n--){var r=this.nodes[n],i=r.pendingMarks.lastIndexOf(e);if(i>-1)r.pendingMarks=e.removeFromSet(r.pendingMarks);else{r.activeMarks=e.removeFromSet(r.activeMarks);var o=r.popFromStashMark(e);o&&r.type&&r.type.allowsMarkType(o.type)&&(r.activeMarks=o.addToSet(r.activeMarks))}if(r==t)break}},Object.defineProperties(_e.prototype,xe);var De=function(e,t){this.nodes=e||{},this.marks=t||{}};function Te(e){var t={};for(var n in e){var r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function Pe(e){return e.document||window.document}De.prototype.serializeFragment=function(e,t,n){var r=this;void 0===t&&(t={}),n||(n=Pe(t).createDocumentFragment());var i=n,o=null;return e.forEach((function(e){if(o||e.marks.length){o||(o=[]);var n=0,a=0;while(n=0;r--){var i=this.serializeMark(e.marks[r],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n},De.prototype.serializeMark=function(e,t,n){void 0===n&&(n={});var r=this.marks[e.type.name];return r&&De.renderSpec(Pe(n),r(e,t))},De.renderSpec=function(e,t,n){if(void 0===n&&(n=null),"string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&&null!=t.dom.nodeType)return t;var r=t[0],i=r.indexOf(" ");i>0&&(n=r.slice(0,i),r=r.slice(i+1));var o=null,a=n?e.createElementNS(n,r):e.createElement(r),s=t[1],u=1;if(s&&"object"==typeof s&&null==s.nodeType&&!Array.isArray(s))for(var l in u=2,s)if(null!=s[l]){var c=l.indexOf(" ");c>0?a.setAttributeNS(l.slice(0,c),l.slice(c+1),s[l]):a.setAttribute(l,s[l])}for(var f=u;fu)throw new RangeError("Content hole must be the only child of its parent node");return{dom:a,contentDOM:a}}var h=De.renderSpec(e,d,n),p=h.dom,m=h.contentDOM;if(a.appendChild(p),m){if(o)throw new RangeError("Multiple content holes");o=m}}return{dom:a,contentDOM:o}},De.fromSchema=function(e){return e.cached.domSerializer||(e.cached.domSerializer=new De(this.nodesFromSchema(e),this.marksFromSchema(e)))},De.nodesFromSchema=function(e){var t=Te(e.nodes);return t.text||(t.text=function(e){return e.text}),t},De.marksFromSchema=function(e){return Te(e.marks)}},"30b5":function(e,t,n){"use strict";var r=n("c532");function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"30c9":function(e,t,n){var r=n("9520"),i=n("b218");function o(e){return null!=e&&i(e.length)&&!r(e)}e.exports=o},"320c":function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function a(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(o){return!1}}e.exports=a()?Object.assign:function(e,t){for(var n,a,s=o(e),u=1;u0?(g=i(e),v=i(t)):(g=i(t),v=i(e));var b,q=o(v,g),w=v.getTimezoneOffset()-g.getTimezoneOffset(),_=Math.round(q/60)-w;if(_<2)return d.includeSeconds?q<5?m("lessThanXSeconds",5,y):q<10?m("lessThanXSeconds",10,y):q<20?m("lessThanXSeconds",20,y):q<40?m("halfAMinute",null,y):m(q<60?"lessThanXMinutes":"xMinutes",1,y):0===_?m("lessThanXMinutes",1,y):m("xMinutes",_,y);if(_<45)return m("xMinutes",_,y);if(_<90)return m("aboutXHours",1,y);if(_s.relevance&&(s=u),u.relevance>n.relevance&&(s=n,n=u));return s.language&&(n.secondBest=s),n}function u(e,t){r.registerLanguage(e,t)}function l(){return r.listLanguages()}function c(e,t){var n,i=e;for(n in t&&(i={},i[e]=t),i)r.registerAliases(i[n],{languageName:n})}function f(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function d(e,t){this.openNode(t),this.addText(e),this.closeNode()}function h(e,t){var n=this.stack,r=n[n.length-1],i=e.rootNode.children,o=t?{type:"element",tagName:"span",properties:{className:[t]},children:i}:i;r.children=r.children.concat(o)}function p(e){var t,n,r=this.stack;""!==e&&(t=r[r.length-1],n=t.children[t.children.length-1],n&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e}))}function m(e){var t=this.stack,n=this.options.classPrefix+e,r=t[t.length-1],i={type:"element",tagName:"span",properties:{className:[n]},children:[]};r.children.push(i),t.push(i)}function g(){this.stack.pop()}function v(){return""}function y(){}},"408c":function(e,t,n){var r=n("2b3e"),i=function(){return r.Date.now()};e.exports=i},"41c3":function(e,t,n){var r=n("1a8c"),i=n("eac5"),o=n("ec8c"),a=Object.prototype,s=a.hasOwnProperty;function u(e){if(!r(e))return o(e);var t=i(e),n=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&n.push(a);return n}e.exports=u},"41e5":function(e,t,n){"use strict";n.d(t,"a",(function(){return bn})),n.d(t,"b",(function(){return _n})),n.d(t,"c",(function(){return In}));var r=n("65e8");const i={};var o=i;if("undefined"!=typeof navigator&&"undefined"!=typeof document){const e=/Edge\/(\d+)/.exec(navigator.userAgent),t=/MSIE \d/.test(navigator.userAgent),n=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);let r=i.ie=!!(t||n||e);i.ie_version=t?document.documentMode||6:n?+n[1]:e?+e[1]:null,i.gecko=!r&&/gecko\/(\d+)/i.test(navigator.userAgent),i.gecko_version=i.gecko&&+(/Firefox\/(\d+)/.exec(navigator.userAgent)||[0,0])[1];let o=!r&&/Chrome\/(\d+)/.exec(navigator.userAgent);i.chrome=!!o,i.chrome_version=o&&+o[1],i.safari=!r&&/Apple Computer/.test(navigator.vendor),i.ios=i.safari&&(/Mobile\/\w+/.test(navigator.userAgent)||navigator.maxTouchPoints>2),i.mac=i.ios||/Mac/.test(navigator.platform),i.android=/Android \d/.test(navigator.userAgent),i.webkit="webkitFontSmoothing"in document.documentElement.style,i.webkit_version=i.webkit&&+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]}const a=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},s=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t};let u=null;const l=function(e,t,n){let r=u||(u=document.createRange());return r.setEnd(e,null==n?e.nodeValue.length:n),r.setStart(e,t||0),r},c=function(e,t,n,r){return n&&(d(e,t,n,r,-1)||d(e,t,n,r,1))},f=/^(img|br|input|textarea|hr)$/i;function d(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:h(e))){let n=e.parentNode;if(!n||1!=n.nodeType||m(e)||f.test(e.nodeName)||"false"==e.contentEditable)return!1;t=a(e)+(i<0?0:1),e=n}else{if(1!=e.nodeType)return!1;if(e=e.childNodes[t+(i<0?-1:0)],"false"==e.contentEditable)return!1;t=i<0?h(e):0}}}function h(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function p(e,t,n){for(let r=0==t,i=t==h(e);r||i;){if(e==n)return!0;let t=a(e);if(e=e.parentNode,!e)return!1;r=r&&0==t,i=i&&t==h(e)}}function m(e){let t;for(let n=e;n;n=n.parentNode)if(t=n.pmViewDesc)break;return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const g=function(e){let t=e.isCollapsed;return t&&o.chrome&&e.rangeCount&&!e.getRangeAt(0).collapsed&&(t=!1),t};function v(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}function y(e){return{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function b(e,t){return"number"==typeof e?e:e[t]}function q(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function w(e,t,n){let r=e.someProp("scrollThreshold")||0,i=e.someProp("scrollMargin")||5,o=e.dom.ownerDocument;for(let a=n||e.dom;;a=s(a)){if(!a)break;if(1!=a.nodeType)continue;let e=a==o.body||1!=a.nodeType,n=e?y(o):q(a),s=0,u=0;if(t.topn.bottom-b(r,"bottom")&&(u=t.bottom-n.bottom+b(i,"bottom")),t.leftn.right-b(r,"right")&&(s=t.right-n.right+b(i,"right")),s||u)if(e)o.defaultView.scrollBy(s,u);else{let e=a.scrollLeft,n=a.scrollTop;u&&(a.scrollTop+=u),s&&(a.scrollLeft+=s);let r=a.scrollLeft-e,i=a.scrollTop-n;t={left:t.left-r,top:t.top-i,right:t.right-r,bottom:t.bottom-i}}if(e)break}}function _(e){let t,n,r=e.dom.getBoundingClientRect(),i=Math.max(0,r.top);for(let o=(r.left+r.right)/2,a=i+1;a=i-20){t=r,n=s.top;break}}return{refDOM:t,refTop:n,stack:x(e.dom)}}function x(e){let t=[],n=e.ownerDocument;for(;e;e=s(e))if(t.push({dom:e,top:e.scrollTop,left:e.scrollLeft}),e==n)break;return t}function S({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;k(n,0==r?0:r-t)}function k(e,t){for(let n=0;n=s){a=Math.max(f.bottom,a),s=Math.min(f.top,s);let e=f.left>t.left?f.left-t.left:f.right=(f.left+f.right)/2?1:0));continue}}!n&&(t.left>=f.right&&t.top>=f.top||t.left>=f.left&&t.top>=f.bottom)&&(o=c+1)}}return n&&3==n.nodeType?A(n,r):!n||i&&1==n.nodeType?{node:e,offset:o}:O(n,r)}function A(e,t){let n=e.nodeValue.length,r=document.createRange();for(let i=0;i=(n.left+n.right)/2?1:0)}}return{node:e,offset:0}}function D(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function T(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,i,o)}function M(e,t,n,r){let i=-1;for(let o=t;;){if(o==e.dom)break;let t=e.docView.nearestDesc(o,!0);if(!t)return null;if(t.node.isBlock&&t.parent){let e=t.dom.getBoundingClientRect();if(e.left>r.left||e.top>r.top)i=t.posBefore;else{if(!(e.right-1?i:e.docView.posFromDOM(t,n)}function N(e,t,n){let r=e.childNodes.length;if(r&&n.topt.top&&r++}n==e.dom&&r==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?a=e.state.doc.content.size:0!=r&&1==n.nodeType&&"BR"==n.childNodes[r-1].nodeName||(a=M(e,n,r,t))}null==a&&(a=P(e,u,t));let l=e.docView.nearestDesc(u,!0);return{pos:a,inside:l?l.posAtStart-l.border:-1}}function R(e,t){let n=e.getClientRects();return n.length?n[t<0?0:n.length-1]:e.getBoundingClientRect()}const j=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function F(e,t,n){let{node:r,offset:i}=e.docView.domFromPos(t,n<0?-1:1),a=o.webkit||o.gecko;if(3==r.nodeType){if(!a||!j.test(r.nodeValue)&&(n<0?i:i!=r.nodeValue.length)){let e=i,t=i,o=n<0?1:-1;return n<0&&!i?(t++,o=-1):n>=0&&i==r.nodeValue.length?(e--,o=1):n<0?e--:t++,L(R(l(r,e,t),o),o<0)}{let e=R(l(r,i,i),n);if(o.gecko&&i&&/\s/.test(r.nodeValue[i-1])&&i=0)}if(i&&(n<0||i==h(r))){let e=r.childNodes[i-1],t=3==e.nodeType?l(e,h(e)-(a?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return L(R(t,1),!1)}if(i=0)}function L(e,t){if(0==e.width)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function B(e,t){if(0==e.height)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function U(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}function z(e,t,n){let r=t.selection,i="up"==n?r.$from:r.$to;return U(e,t,()=>{let{node:t}=e.docView.domFromPos(i.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.dom;break}t=n.dom.parentNode}let r=F(e,i.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=l(e,0,e.nodeValue.length).getClientRects()}for(let e=0;ei.top+1&&("up"==n?r.top-i.top>2*(i.bottom-r.top):i.bottom-r.bottom>2*(r.bottom-i.top)))return!1}}return!0})}const H=/[\u0590-\u08ac]/;function $(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=e.root.getSelection();return H.test(r.parent.textContent)&&s.modify?U(e,t,()=>{let t=s.getRangeAt(0),i=s.focusNode,o=s.focusOffset,a=s.caretBidiLevel;s.modify("move",n,"character");let u=r.depth?e.docView.domAfterPos(r.before()):e.dom,l=!u.contains(1==s.focusNode.nodeType?s.focusNode:s.focusNode.parentNode)||i==s.focusNode&&o==s.focusOffset;return s.removeAllRanges(),s.addRange(t),null!=a&&(s.caretBidiLevel=a),l}):"left"==n||"backward"==n?o:a}let V=null,W=null,X=!1;function G(e,t,n){return V==t&&W==n?X:(V=t,W=n,X="up"==n||"down"==n?z(e,t,n):$(e,t,n))}var Y=n("304a");const K=0,J=1,Z=2,Q=3;class ee{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,n.pmViewDesc=this,this.contentDOM=r,this.dirty=K}matchesWidget(){return!1}matchesMark(){return!1}matchesNode(){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(){return!1}get size(){let e=0;for(let t=0;ta(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.parentNode.firstChild!=t)break}if(null==r&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.parentNode.lastChild!=t)break}}return(null==r?n>0:r)?this.posAtEnd:this.posAtStart}nearestDesc(e,t){for(let n=!0,r=e;r;r=r.parentNode){let i=this.getDesc(r);if(i&&(!t||i.node)){if(!n||!i.nodeDOM||(1==i.nodeDOM.nodeType?i.nodeDOM.contains(1==e.nodeType?e:e.parentNode):i.nodeDOM==e))return i;n=!1}}}getDesc(e){let t=e.pmViewDesc;for(let n=t;n;n=n.parent)if(n==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let i=this.getDesc(r);if(i)return i.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;te||t instanceof ue){i=e-o;break}o=n}if(i)return this.children[r].domFromPos(i-this.children[r].border,t);for(;r&&!(n=this.children[r-1]).size&&n instanceof ne&&n.widget.type.side>=0;r--);if(t<=0){let e,n=!0;for(;;r--,n=!1)if(e=r?this.children[r-1]:null,!e||e.dom.parentNode==this.contentDOM)break;return e&&t&&n&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?a(e.dom)+1:0}}{let e,n=!0;for(;;r++,n=!1)if(e=r=i&&t<=u-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,i);e=o;for(let t=s;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=a(n.dom)+1;break}e-=n.size}-1==r&&(r=0)}if(r>-1&&(u>t||s==this.children.length-1)){t=u;for(let e=s+1;ea&&st){let e=u;u=l,l=e}let n=document.createRange();n.setEnd(l.node,l.offset),n.setStart(u.node,u.offset),f.removeAllRanges(),f.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&"selection"!=e.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r=n:en){let r=n+i.border,a=o-i.border;if(e>=r&&t<=a)return this.dirty=e==n||t==o?Z:J,void(e!=r||t!=a||!i.contentLost&&i.dom.parentNode==this.contentDOM?i.markDirty(e-r,t-r):i.dirty=Q);i.dirty=i.dom!=i.contentDOM||i.dom.parentNode!=this.contentDOM||i.children.length?Q:Z}n=o}this.dirty=Z}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?Z:J;t.dirtyi?i.parent?i.parent.posBeforeChild(i):void 0:r)),!t.type.spec.raw){if(1!=o.nodeType){let e=document.createElement("span");e.appendChild(o),o=e}o.contentEditable=!1,o.classList.add("ProseMirror-widget")}super(e,te,o,null),this.widget=t,i=this}matchesWidget(e){return this.dirty==K&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return!!t&&t(e)}ignoreMutation(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}}class re extends ee{constructor(e,t,n,r){super(e,te,t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}class ie extends ee{constructor(e,t,n,r){super(e,[],n,r),this.mark=t}static create(e,t,n,r){let i=r.nodeViews[t.type.name],o=i&&i(t,r,n);return o&&o.dom||(o=Y["b"].renderSpec(document,t.type.spec.toDOM(t,n))),new ie(e,t,o.dom,o.contentDOM||o.dom)}parseRule(){return this.dirty&Q||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Q&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=K){let e=this.parent;while(!e.node)e=e.parent;e.dirty0&&(i=Ce(i,0,e,n));for(let a=0;aa?a.parent?a.parent.posBeforeChild(a):void 0:o,n,r),l=u&&u.dom,c=u&&u.contentDOM;if(t.isText)if(l){if(3!=l.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else l=document.createTextNode(t.text);else l||({dom:l,contentDOM:c}=Y["b"].renderSpec(document,t.type.spec.toDOM(t)));c||t.isText||"BR"==l.nodeName||(l.hasAttribute("contenteditable")||(l.contentEditable=!1),t.type.spec.draggable&&(l.draggable=!0));let f=l;return l=ge(l,n,t),u?a=new le(e,t,n,r,l,c,f,u,i,o+1):t.isText?new se(e,t,n,r,l,f,i):new oe(e,t,n,r,l,c,f,i,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(e.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let t=this.children.length-1;t>=0;t--){let n=this.children[t];if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode;break}}e.contentElement||(e.getContent=()=>Y["c"].empty)}else e.contentElement=this.contentDOM;else e.getContent=()=>this.node.content;return e}matchesNode(e,t,n){return this.dirty==K&&e.eq(this.node)&&ve(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let n=this.node.inlineContent,r=t,i=e.composing&&this.localCompositionInfo(e,t),a=i&&i.pos>-1?i:null,s=i&&i.pos<0,u=new be(this,a&&a.node);_e(this.node,this.innerDeco,(t,i,o)=>{t.spec.marks?u.syncToMarks(t.spec.marks,n,e):t.type.side>=0&&!o&&u.syncToMarks(i==this.node.childCount?Y["d"].none:this.node.child(i).marks,n,e),u.placeWidget(t,e,r)},(t,o,a,l)=>{let c;u.syncToMarks(t.marks,n,e),u.findNodeMatch(t,o,a,l)||s&&e.state.selection.from>r&&e.state.selection.to-1&&u.updateNodeAt(t,o,a,c,e)||u.updateNextNode(t,o,a,e,l)||u.addNode(t,o,a,e,r),r+=t.nodeSize}),u.syncToMarks(te,n,e),this.node.isTextblock&&u.addTextblockHacks(),u.destroyRest(),(u.changed||this.dirty==Z)&&(a&&this.protectLocalComposition(e,a),ce(this.contentDOM,this.children,e),o.ios&&xe(this.dom))}localCompositionInfo(e,t){let{from:n,to:i}=e.state.selection;if(!(e.state.selection instanceof r["h"])||nt+this.node.content.size)return;let o=e.root.getSelection(),a=Se(o.focusNode,o.focusOffset);if(a&&this.dom.contains(a.parentNode)){if(this.node.inlineContent){let e=a.nodeValue,r=ke(this.node.content,e,n-t,i-t);return r<0?null:{node:a,pos:r,text:e}}return{node:a,pos:-1}}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let i=t;for(;;i=i.parentNode){if(i.parentNode==this.contentDOM)break;while(i.previousSibling)i.parentNode.removeChild(i.previousSibling);while(i.nextSibling)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=null)}let o=new re(this,i,t,r);e.compositionNodes.push(o),this.children=Ce(this.children,n,n+r.length,e,o)}update(e,t,n,r){return!(this.dirty==Q||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,r),!0)}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=K}updateOuterDeco(e){if(ve(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=pe(this.dom,this.nodeDOM,he(this.outerDeco,this.node,t),he(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=null,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function ae(e,t,n,r,i){return ge(r,t,e),new oe(null,e,t,n,r,r,r,i,0)}class se extends oe{constructor(e,t,n,r,i,o,a){super(e,t,n,r,i,null,o,a)}parseRule(){let e=this.nodeDOM.parentNode;while(e&&e!=this.dom&&!e.pmIsDeco)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return!(this.dirty==Q||this.dirty!=K&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),this.dirty==K&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=K,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(e,t,n){let r=this.node.cut(e,t),i=document.createTextNode(r.text);return new se(this.parent,r,this.outerDeco,this.innerDeco,i,i,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=Q)}get domAtom(){return!1}}class ue extends ee{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==K&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class le extends oe{constructor(e,t,n,r,i,o,a,s,u,l){super(e,t,n,r,i,o,a,u,l),this.spec=s}update(e,t,n,r){if(this.dirty==Q)return!1;if(this.spec.update){let i=this.spec.update(e,t,n);return i&&this.updateInner(e,t,n,r),i}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function ce(e,t,n){let r=e.firstChild,i=!1;for(let o=0;o>1,o=Math.min(i,e.length);while(r-1)r>this.index&&(this.changed=!0,this.destroyBetween(this.index,r)),this.top=this.top.children[this.index];else{let r=ie.create(this.top,e[i],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,i++}}findNodeMatch(e,t,n,r){let i,o=-1;if(r>=this.preMatch.index&&(i=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&i.matchesNode(e,t,n))o=this.top.children.indexOf(i,this.index);else for(let a=this.index,s=Math.min(this.top.children.length,a+5);a0){let s;for(;;)if(r){let e=n.children[r-1];if(!(e instanceof ie)){s=e,r--;break}n=e,r=e.children.length}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let u=s.node;if(u){if(u!=e.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}function we(e,t){return e.type.side-t.type.side}function _e(e,t,n,r){let i=t.locals(e),o=0;if(0==i.length){for(let n=0;no)s.push(i[a++]);let d=o+c.nodeSize;if(c.isText){let e=d;a!e.inline):s.slice():te;r(c,h,t.forChild(o,c),f),o=d}}function xe(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}function Se(e,t){for(;;){if(3==e.nodeType)return e;if(1==e.nodeType&&t>0){if(e.childNodes.length>t&&3==e.childNodes[t].nodeType)return e.childNodes[t];e=e.childNodes[t-1],t=h(e)}else{if(!(1==e.nodeType&&t=n){let e=s=0&&e+t.length+s>=n)return s+e;if(n==r&&u.length>=r+t.length-s&&u.slice(r-s,r-s+t.length)==t)return r}}return-1}function Ce(e,t,n,r,i){let o=[];for(let a=0,s=0;a=n||c<=t?o.push(u):(ln&&o.push(u.slice(n-l,u.size,r)))}return o}var Ee=n("2eae");function Oe(e,t){let n=e.root.getSelection(),i=e.state.doc;if(!n.focusNode)return null;let o=e.docView.nearestDesc(n.focusNode),a=o&&0==o.size,s=e.docView.posFromDOM(n.focusNode,n.focusOffset);if(s<0)return null;let u,l,c=i.resolve(s);if(g(n)){u=c;while(o&&!o.node)o=o.parent;if(o&&o.node.isAtom&&r["c"].isSelectable(o.node)&&o.parent&&(!o.node.isInline||!p(n.focusNode,n.focusOffset,o.dom))){let e=o.posBefore;l=new r["c"](s==e?c:i.resolve(e))}}else{let t=e.docView.posFromDOM(n.anchorNode,n.anchorOffset);if(t<0)return null;u=i.resolve(t)}if(!l){let n="pointer"==t||e.state.selection.head{n.anchorNode==r&&n.anchorOffset==i||(t.removeEventListener("selectionchange",e.hideSelectionGuard),setTimeout(()=>{Ae(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")},20))})}function Re(e){let t=e.root.getSelection(),n=document.createRange(),r=e.cursorWrapper.dom,i="IMG"==r.nodeName;i?n.setEnd(r.parentNode,a(r)+1):n.setEnd(r,0),n.collapse(!1),t.removeAllRanges(),t.addRange(n),!i&&!e.state.selection.visible&&o.ie&&o.ie_version<=11&&(r.disabled=!0,r.disabled=!1)}function je(e,t){if(t instanceof r["c"]){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Fe(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Fe(e)}function Fe(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=null)}function Le(e,t,n,i){return e.someProp("createSelectionBetween",r=>r(e,t,n))||r["h"].between(t,n,i)}function Be(e){return(!e.editable||e.root.activeElement==e.dom)&&Ue(e)}function Ue(e){let t=e.root.getSelection();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch(n){return!1}}function ze(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.root.getSelection();return c(t.node,t.offset,n.anchorNode,n.anchorOffset)}function He(e,t){let{$anchor:n,$head:i}=e.selection,o=t>0?n.max(i):n.min(i),a=o.parent.inlineContent?o.depth?e.doc.resolve(t>0?o.after():o.before()):null:o;return a&&r["f"].findFrom(a,t)}function $e(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Ve(e,t,n){let i=e.state.selection;if(!(i instanceof r["h"])){if(i instanceof r["c"]&&i.node.isInline)return $e(e,new r["h"](t>0?i.$to:i.$from));{let n=He(e.state,t);return!!n&&$e(e,n)}}if(!i.empty||n.indexOf("s")>-1)return!1;if(e.endOfTextblock(t>0?"right":"left")){let n=He(e.state,t);return!!(n&&n instanceof r["c"])&&$e(e,n)}if(!(o.mac&&n.indexOf("m")>-1)){let n,a=i.$head,s=a.textOffset?null:t<0?a.nodeBefore:a.nodeAfter;if(!s||s.isText)return!1;let u=t<0?a.pos-s.nodeSize:a.pos;return!!(s.isAtom||(n=e.docView.descAt(u))&&!n.contentDOM)&&(r["c"].isSelectable(s)?$e(e,new r["c"](t<0?e.state.doc.resolve(a.pos-s.nodeSize):a)):!!o.webkit&&$e(e,new r["h"](e.state.doc.resolve(t<0?u:u+s.nodeSize))))}}function We(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Xe(e){let t=e.pmViewDesc;return t&&0==t.size&&(e.nextSibling||"BR"!=e.nodeName)}function Ge(e){let t=e.root.getSelection(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,s,u=!1;for(o.gecko&&1==n.nodeType&&r0){if(1!=n.nodeType)break;{let e=n.childNodes[r-1];if(Xe(e))i=n,s=--r;else{if(3!=e.nodeType)break;n=e,r=n.nodeValue.length}}}else{if(Ke(n))break;{let t=n.previousSibling;while(t&&Xe(t))i=n.parentNode,s=a(t),t=t.previousSibling;if(t)n=t,r=We(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}u?Je(e,t,n,r):i&&Je(e,t,i,s)}function Ye(e){let t=e.root.getSelection(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,o,s=We(n);for(;;)if(r{e.state==i&&De(e)},50)}function Ze(e,t,n){let i=e.state.selection;if(i instanceof r["h"]&&!i.empty||n.indexOf("s")>-1)return!1;if(o.mac&&n.indexOf("m")>-1)return!1;let{$from:a,$to:s}=i;if(!a.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=He(e.state,t);if(n&&n instanceof r["c"])return $e(e,n)}if(!a.parent.inlineContent){let n=t<0?a:s,o=i instanceof r["a"]?r["f"].near(n,t):r["f"].findFrom(n,t);return!!o&&$e(e,o)}return!1}function Qe(e,t){if(!(e.state.selection instanceof r["h"]))return!0;let{$head:n,$anchor:i,empty:o}=e.state.selection;if(!n.sameParent(i))return!0;if(!o)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let a=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(a&&!a.isText){let r=e.state.tr;return t<0?r.delete(n.pos-a.nodeSize,n.pos):r.delete(n.pos,n.pos+a.nodeSize),e.dispatch(r),!0}return!1}function et(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function tt(e){if(!o.safari||e.state.selection.$head.parentOffset>0)return;let{focusNode:t,focusOffset:n}=e.root.getSelection();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;et(e,n,!0),setTimeout(()=>et(e,n,!1),20)}}function nt(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}function rt(e,t){let n=t.keyCode,r=nt(t);return 8==n||o.mac&&72==n&&"c"==r?Qe(e,-1)||Ge(e):46==n||o.mac&&68==n&&"c"==r?Qe(e,1)||Ye(e):13==n||27==n||(37==n?Ve(e,-1,r)||Ge(e):39==n?Ve(e,1,r)||Ye(e):38==n?Ze(e,-1,r)||Ge(e):40==n?tt(e)||Ze(e,1,r)||Ye(e):r==(o.mac?"m":"c")&&(66==n||73==n||89==n||90==n))}function it(e,t,n){let{node:r,fromOffset:i,toOffset:a,from:s,to:u}=e.docView.parseRange(t,n),l=e.root.getSelection(),c=null,f=l.anchorNode;if(f&&e.dom.contains(1==f.nodeType?f:f.parentNode)&&(c=[{node:f,offset:l.anchorOffset}],g(l)||c.push({node:l.focusNode,offset:l.focusOffset})),o.chrome&&8===e.lastKeyCode)for(let o=a;o>i;o--){let e=r.childNodes[o-1],t=e.pmViewDesc;if("BR"==e.nodeName&&!t){a=o;break}if(!t||t.size)break}let d=e.state.doc,h=e.someProp("domParser")||Y["a"].fromSchema(e.state.schema),p=d.resolve(s),m=null,v=h.parse(r,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:i,to:a,preserveWhitespace:"pre"!=p.parent.type.whitespace||"full",editableContent:!0,findPositions:c,ruleFromNode:ot,context:p});if(c&&null!=c[0].pos){let e=c[0].pos,t=c[1]&&c[1].pos;null==t&&(t=e),m={anchor:e+s,head:t+s}}return{doc:v,sel:m,from:s,to:u}}function ot(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(o.safari&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}if(e.parentNode.lastChild==e||o.safari&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0}}function at(e,t,n,i,a){if(t<0){let t=e.lastSelectionTime>Date.now()-50?e.lastSelectionOrigin:null,n=Oe(e,t);if(n&&!e.state.selection.eq(n)){let r=e.state.tr.setSelection(n);"pointer"==t?r.setMeta("pointer",!0):"key"==t&&r.scrollIntoView(),e.dispatch(r)}return}let s=e.state.doc.resolve(t),u=s.sharedDepth(n);t=s.before(u+1),n=e.state.doc.resolve(n).after(u+1);let l=e.state.selection,c=it(e,t,n);if(o.chrome&&e.cursorWrapper&&c.sel&&c.sel.anchor==e.cursorWrapper.deco.from){let t=e.cursorWrapper.deco.type.toDOM.nextSibling,n=t&&t.nodeValue?t.nodeValue.length:1;c.sel={anchor:c.sel.anchor+n,head:c.sel.anchor+n}}let f,d,h=e.state.doc,p=h.slice(c.from,c.to);8===e.lastKeyCode&&Date.now()-100Date.now()-225||o.android)&&a.some(e=>"DIV"==e.nodeName||"P"==e.nodeName)&&e.someProp("handleKeyDown",t=>t(e,v(13,"Enter"))))return void(e.lastIOSEnter=0);if(c.sel){let t=st(e,e.state.doc,c.sel);t&&!t.eq(e.state.selection)&&e.dispatch(e.state.tr.setSelection(t))}return}m={start:l.from,endA:l.to,endB:l.to}}e.domChangeCount++,e.state.selection.frome.state.selection.from&&m.start<=e.state.selection.from+2&&e.state.selection.from>=c.from?m.start=e.state.selection.from:m.endA=e.state.selection.to-2&&e.state.selection.to<=c.to&&(m.endB+=e.state.selection.to-m.endA,m.endA=e.state.selection.to)),o.ie&&o.ie_version<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>c.from&&"  "==c.doc.textBetween(m.start-c.from-1,m.start-c.from+1)&&(m.start--,m.endA--,m.endB--);let g,y=c.doc.resolveNoCache(m.start-c.from),b=c.doc.resolveNoCache(m.endB-c.from),q=y.sameParent(b)&&y.parent.inlineContent;if((o.ios&&e.lastIOSEnter>Date.now()-225&&(!q||a.some(e=>"DIV"==e.nodeName||"P"==e.nodeName))||!q&&y.post(e,v(13,"Enter"))))return void(e.lastIOSEnter=0);if(e.state.selection.anchor>m.start&<(h,m.start,m.endA,y,b)&&e.someProp("handleKeyDown",t=>t(e,v(8,"Backspace"))))return void(o.android&&o.chrome&&e.domObserver.suppressSelectionUpdates());o.chrome&&o.android&&m.toB==m.from&&(e.lastAndroidDelete=Date.now()),o.android&&!q&&y.start()!=b.start()&&0==b.parentOffset&&y.depth==b.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==m.endA&&(m.endB-=2,b=c.doc.resolveNoCache(m.endB-c.from),setTimeout(()=>{e.someProp("handleKeyDown",(function(t){return t(e,v(13,"Enter"))}))},20));let w,_,x,S,k=m.start,C=m.endA;if(q)if(y.pos==b.pos)o.ie&&o.ie_version<=11&&0==y.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>De(e),20)),w=e.state.tr.delete(k,C),_=h.resolve(m.start).marksAcross(h.resolve(m.endA));else if(m.endA==m.endB&&(S=h.resolve(m.start))&&(x=ut(y.parent.content.cut(y.parentOffset,b.parentOffset),S.parent.content.cut(S.parentOffset,m.endA-S.start()))))w=e.state.tr,"add"==x.type?w.addMark(k,C,x.mark):w.removeMark(k,C,x.mark);else if(y.parent.child(y.index()).isText&&y.index()==b.index()-(b.textOffset?0:1)){let t=y.parent.textBetween(y.parentOffset,b.parentOffset);if(e.someProp("handleTextInput",n=>n(e,k,C,t)))return;w=e.state.tr.insertText(t,k,C)}if(w||(w=e.state.tr.replace(k,C,c.doc.slice(m.start-c.from,m.endB-c.from))),c.sel){let t=st(e,w.doc,c.sel);t&&!(o.chrome&&o.android&&e.composing&&t.empty&&(m.start!=m.endB||e.lastAndroidDeletet.content.size?null:Le(e,t.resolve(n.anchor),t.resolve(n.head))}function ut(e,t){let n,r,i,o=e.firstChild.marks,a=t.firstChild.marks,s=o,u=a;for(let c=0;ce.mark(r.addToSet(e.marks));else{if(0!=s.length||1!=u.length)return null;r=u[0],n="remove",i=e=>e.mark(r.removeFromSet(e.marks))}let l=[];for(let c=0;cn||ct(a,!0,!1)0&&(t||e.indexAfter(r)==e.node(r).childCount))r--,i++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));while(t&&!t.isLeaf)t=t.firstChild,i++}return i}function ft(e,t,n,r,i){let o=e.findDiffStart(t,n);if(null==o)return null;let{a:a,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if("end"==i){let e=Math.max(0,o-Math.min(a,s));r-=a+e-o}if(a=a?o-r:0;o-=e,s=o+(s-a),a=o}else if(s=s?o-r:0;o-=e,a=o+(a-s),s=o}return{start:o,endA:a,endB:s}}function dt(e,t){let n=[],{content:r,openStart:i,openEnd:o}=t;while(i>1&&o>1&&1==r.childCount&&1==r.firstChild.childCount){i--,o--;let e=r.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),r=e.content}let a=e.someProp("clipboardSerializer")||Y["b"].fromSchema(e.state.schema),s=xt(),u=s.createElement("div");u.appendChild(a.serializeFragment(r,{document:s}));let l,c=u.firstChild;while(c&&1==c.nodeType&&(l=wt[c.nodeName.toLowerCase()])){for(let e=l.length-1;e>=0;e--){let t=s.createElement(l[e]);while(u.firstChild)t.appendChild(u.firstChild);u.appendChild(t),"tbody"!=l[e]&&(i++,o++)}c=u.firstChild}c&&1==c.nodeType&&c.setAttribute("data-pm-slice",`${i} ${o} ${JSON.stringify(n)}`);let f=e.someProp("clipboardTextSerializer",e=>e(t))||t.content.textBetween(0,t.content.size,"\n\n");return{dom:u,text:f}}function ht(e,t,n,r,i){let a,s,u=i.parent.type.spec.code;if(!n&&!t)return null;let l=t&&(r||u||!n);if(l){if(e.someProp("transformPastedText",e=>{t=e(t,u||r)}),u)return t?new Y["j"](Y["c"].from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):Y["j"].empty;let n=e.someProp("clipboardTextParser",e=>e(t,i,r));if(n)s=n;else{let n=i.marks(),{schema:r}=e.state,o=Y["b"].fromSchema(r);a=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(e=>{let t=a.appendChild(document.createElement("p"));e&&t.appendChild(o.serializeNode(r.text(e,n)))})}}else e.someProp("transformPastedHTML",e=>{n=e(n)}),a=St(n),o.webkit&&kt(a);let c=a&&a.querySelector("[data-pm-slice]"),f=c&&/^(\d+) (\d+) (.*)/.exec(c.getAttribute("data-pm-slice"));if(!s){let t=e.someProp("clipboardParser")||e.someProp("domParser")||Y["a"].fromSchema(e.state.schema);s=t.parseSlice(a,{preserveWhitespace:!(!l&&!f),context:i,ruleFromNode(e){if("BR"==e.nodeName&&!e.nextSibling&&e.parentNode&&!pt.test(e.parentNode.nodeName))return{ignore:!0}}})}if(f)s=Ct(qt(s,+f[1],+f[2]),f[3]);else if(s=Y["j"].maxOpen(mt(s.content,i),!0),s.openStart||s.openEnd){let e=0,t=0;for(let n=s.content.firstChild;e{s=e(s)}),s}const pt=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function mt(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let r,i=t.node(n),o=i.contentMatchAt(t.index(n)),a=[];if(e.forEach(e=>{if(!a)return;let t,n=o.findWrapping(e.type);if(!n)return a=null;if(t=a.length&&r.length&&vt(n,r,e,a[a.length-1],0))a[a.length-1]=t;else{a.length&&(a[a.length-1]=yt(a[a.length-1],r.length));let t=gt(e,n);a.push(t),o=o.matchType(t.type,t.attrs),r=n}}),a)return Y["c"].from(a)}return e}function gt(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,Y["c"].from(e));return e}function vt(e,t,n,r,i){if(i=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,e.childCount>1||o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(Y["c"].empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function qt(e,t,n){return t]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n,r=xt().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(e);if((n=i&&wt[i[1].toLowerCase()])&&(e=n.map(e=>"<"+e+">").join("")+e+n.map(e=>"").reverse().join("")),r.innerHTML=e,n)for(let o=0;o=0;u-=2){let e=r.nodes[n[u]];if(!e||e.hasRequiredAttrs())break;i=Y["c"].from(e.create(n[u+1],i)),o++,a++}return new Y["j"](i,o,a)}const Et={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},Ot=o.ie&&o.ie_version<=11;class At{constructor(){this.anchorNode=this.anchorOffset=this.focusNode=this.focusOffset=null}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class Dt{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=window.MutationObserver&&new window.MutationObserver(e=>{for(let t=0;t"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),this.currentSelection=new At,Ot&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.suppressingSelectionUpdates=!1}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&this.observer.observe(this.view.dom,Et),Ot&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;tthis.flush(),20)}this.observer.disconnect()}Ot&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Be(this.view)){if(this.suppressingSelectionUpdates)return De(this.view);if(o.ie&&o.ie_version<=11&&!this.view.state.selection.empty){let e=this.view.root.getSelection();if(e.focusNode&&c(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.root.getSelection())}ignoreSelectionChange(e){if(0==e.rangeCount)return!0;let t=e.getRangeAt(0).commonAncestorContainer,n=this.view.docView.nearestDesc(t);return n&&n.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}flush(){if(!this.view.docView||this.flushingSoon>-1)return;let e=this.observer?this.observer.takeRecords():[];this.queue.length&&(e=this.queue.concat(e),this.queue.length=0);let t=this.view.root.getSelection(),n=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(t)&&Ue(this.view)&&!this.ignoreSelectionChange(t),r=-1,i=-1,a=!1,s=[];if(this.view.editable)for(let o=0;o1){let e=s.filter(e=>"BR"==e.nodeName);if(2==e.length){let[t,n]=e;t.parentNode&&t.parentNode.parentNode==n.parentNode?n.remove():t.remove()}}(r>-1||n)&&(r>-1&&(this.view.docView.markDirty(r,i),Pt(this.view)),this.handleDOMChange(r,i,a,s),this.view.docView&&this.view.docView.dirty?this.view.updateState(this.view.state):this.currentSelection.eq(t)||De(this.view),this.currentSelection.set(t))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;nat(e,t,n,r,i)),e.domObserver.start(),e.domChangeCount=0,e.eventHandlers=Object.create(null);for(let t in Mt){let n=Mt[t];e.dom.addEventListener(t,e.eventHandlers[t]=t=>{!Bt(e,t)||Lt(e,t)||!e.editable&&t.type in Nt||n(e,t)})}o.safari&&e.dom.addEventListener("input",()=>null),Ft(e)}function Rt(e,t){e.lastSelectionOrigin=t,e.lastSelectionTime=Date.now()}function jt(e){e.domObserver.stop();for(let t in e.eventHandlers)e.dom.removeEventListener(t,e.eventHandlers[t]);clearTimeout(e.composingTimeout),clearTimeout(e.lastIOSEnterFallbackTimeout)}function Ft(e){e.someProp("handleDOMEvents",t=>{for(let n in t)e.eventHandlers[n]||e.dom.addEventListener(n,e.eventHandlers[n]=t=>Lt(e,t))})}function Lt(e,t){return e.someProp("handleDOMEvents",n=>{let r=n[t.type];return!!r&&(r(e,t)||t.defaultPrevented)})}function Bt(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function Ut(e,t){Lt(e,t)||!Mt[t.type]||!e.editable&&t.type in Nt||Mt[t.type](e,t)}function zt(e){return{left:e.clientX,top:e.clientY}}function Ht(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function $t(e,t,n,r,i){if(-1==r)return!1;let o=e.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(e.someProp(t,t=>a>o.depth?t(e,n,o.nodeAfter,o.before(a),i,!0):t(e,n,o.node(a),o.before(a),i,!1)))return!0;return!1}function Vt(e,t,n){e.focused||e.focus();let r=e.state.tr.setSelection(t);"pointer"==n&&r.setMeta("pointer",!0),e.dispatch(r)}function Wt(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),i=n.nodeAfter;return!!(i&&i.isAtom&&r["c"].isSelectable(i))&&(Vt(e,new r["c"](n),"pointer"),!0)}function Xt(e,t){if(-1==t)return!1;let n,i,o=e.state.selection;o instanceof r["c"]&&(n=o.node);let a=e.state.doc.resolve(t);for(let s=a.depth+1;s>0;s--){let e=s>a.depth?a.nodeAfter:a.node(s);if(r["c"].isSelectable(e)){i=n&&o.$from.depth>0&&s>=o.$from.depth&&a.before(o.$from.depth+1)==o.$from.pos?a.before(o.$from.depth):a.before(s);break}}return null!=i&&(Vt(e,r["c"].create(e.state.doc,i),"pointer"),!0)}function Gt(e,t,n,r,i){return $t(e,"handleClickOn",t,n,r)||e.someProp("handleClick",n=>n(e,t,r))||(i?Xt(e,n):Wt(e,n))}function Yt(e,t,n,r){return $t(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",n=>n(e,t,r))}function Kt(e,t,n,r){return $t(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",n=>n(e,t,r))||Jt(e,n,r)}function Jt(e,t,n){if(0!=n.button)return!1;let i=e.state.doc;if(-1==t)return!!i.inlineContent&&(Vt(e,r["h"].create(i,0,i.content.size),"pointer"),!0);let o=i.resolve(t);for(let a=o.depth+1;a>0;a--){let t=a>o.depth?o.nodeAfter:o.node(a),n=o.before(a);if(t.inlineContent)Vt(e,r["h"].create(i,n+1,n+1+t.content.size),"pointer");else{if(!r["c"].isSelectable(t))continue;Vt(e,r["c"].create(i,n),"pointer")}return!0}}function Zt(e){return sn(e)}Nt.keydown=(e,t)=>{if(e.shiftKey=16==t.keyCode||t.shiftKey,!tn(e,t)&&(e.lastKeyCode=t.keyCode,e.lastKeyCodeTime=Date.now(),!o.android||!o.chrome||13!=t.keyCode))if(229!=t.keyCode&&e.domObserver.forceFlush(),!o.ios||13!=t.keyCode||t.ctrlKey||t.altKey||t.metaKey)e.someProp("handleKeyDown",n=>n(e,t))||rt(e,t)?t.preventDefault():Rt(e,"key");else{let t=Date.now();e.lastIOSEnter=t,e.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.lastIOSEnter==t&&(e.someProp("handleKeyDown",t=>t(e,v(13,"Enter"))),e.lastIOSEnter=0)},200)}},Nt.keyup=(e,t)=>{16==t.keyCode&&(e.shiftKey=!1)},Nt.keypress=(e,t)=>{if(tn(e,t)||!t.charCode||t.ctrlKey&&!t.altKey||o.mac&&t.metaKey)return;if(e.someProp("handleKeyPress",n=>n(e,t)))return void t.preventDefault();let n=e.state.selection;if(!(n instanceof r["h"])||!n.$from.sameParent(n.$to)){let r=String.fromCharCode(t.charCode);e.someProp("handleTextInput",t=>t(e,n.$from.pos,n.$to.pos,r))||e.dispatch(e.state.tr.insertText(r).scrollIntoView()),t.preventDefault()}};const Qt=o.mac?"metaKey":"ctrlKey";Mt.mousedown=(e,t)=>{e.shiftKey=t.shiftKey;let n=Zt(e),r=Date.now(),i="singleClick";r-e.lastClick.time<500&&Ht(t,e.lastClick)&&!t[Qt]&&("singleClick"==e.lastClick.type?i="doubleClick":"doubleClick"==e.lastClick.type&&(i="tripleClick")),e.lastClick={time:r,x:t.clientX,y:t.clientY,type:i};let o=e.posAtCoords(zt(t));o&&("singleClick"==i?(e.mouseDown&&e.mouseDown.done(),e.mouseDown=new en(e,o,t,n)):("doubleClick"==i?Yt:Kt)(e,o.pos,o.inside,t)?t.preventDefault():Rt(e,"pointer"))};class en{constructor(e,t,n,i){let a,s;if(this.view=e,this.startDoc=e.state.doc,this.pos=t,this.event=n,this.flushed=i,this.selectNode=n[Qt],this.allowDefault=n.shiftKey,this.delayedSelectionSync=!1,t.inside>-1)a=e.state.doc.nodeAt(t.inside),s=t.inside;else{let n=e.state.doc.resolve(t.pos);a=n.parent,s=n.depth?n.before():0}this.mightDrag=null;const u=i?null:n.target,l=u?e.docView.nearestDesc(u,!0):null;this.target=l?l.dom:null;let{selection:c}=e.state;(0==n.button&&a.type.spec.draggable&&!1!==a.type.spec.selectable||c instanceof r["c"]&&c.from<=s&&c.to>s)&&(this.mightDrag={node:a,pos:s,addAttr:this.target&&!this.target.draggable,setUneditable:this.target&&o.gecko&&!this.target.hasAttribute("contentEditable")}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Rt(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>De(this.view)),this.view.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(3==e.target.nodeType?e.target.parentNode:e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(zt(e))),this.allowDefault||!t?Rt(this.view,"pointer"):Gt(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||o.safari&&this.mightDrag&&!this.mightDrag.node.isAtom||o.chrome&&!(this.view.state.selection instanceof r["h"])&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(Vt(this.view,r["f"].near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):Rt(this.view,"pointer")}move(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0),Rt(this.view,"pointer"),0==e.buttons&&this.done()}}function tn(e,t){return!!e.composing||!!(o.safari&&Math.abs(t.timeStamp-e.compositionEndedAt)<500)&&(e.compositionEndedAt=-2e8,!0)}Mt.touchdown=e=>{Zt(e),Rt(e,"pointer")},Mt.contextmenu=e=>Zt(e);const nn=o.android?5e3:-1;function rn(e,t){clearTimeout(e.composingTimeout),t>-1&&(e.composingTimeout=setTimeout(()=>sn(e),t))}function on(e){e.composing&&(e.composing=!1,e.compositionEndedAt=an());while(e.compositionNodes.length>0)e.compositionNodes.pop().markParentsDirty()}function an(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}function sn(e,t){if(!(o.android&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),on(e),t||e.docView&&e.docView.dirty){let t=Oe(e);return t&&!t.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(t)):e.updateState(e.state),!0}return!1}}function un(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}Nt.compositionstart=Nt.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(e=>!1===e.type.spec.inclusive)))e.markCursor=e.state.storedMarks||n.marks(),sn(e,!0),e.markCursor=null;else if(sn(e),o.gecko&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.root.getSelection();for(let e=t.focusNode,n=t.focusOffset;e&&1==e.nodeType&&0!=n;){let r=n<0?e.lastChild:e.childNodes[n-1];if(!r)break;if(3==r.nodeType){t.collapse(r,r.nodeValue.length);break}e=r,n=-1}}e.composing=!0}rn(e,nn)},Nt.compositionend=(e,t)=>{e.composing&&(e.composing=!1,e.compositionEndedAt=t.timeStamp,rn(e,20))};const ln=o.ie&&o.ie_version<15||o.ios&&o.webkit_version<604;function cn(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}function fn(e,t){if(!e.dom.parentNode)return;let n=e.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus(),setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?dn(e,r.value,null,t):dn(e,r.textContent,r.innerHTML,t)},50)}function dn(e,t,n,r){let i=ht(e,t,n,e.shiftKey,e.state.selection.$from);if(e.someProp("handlePaste",t=>t(e,r,i||Y["j"].empty)))return!0;if(!i)return!1;let o=cn(i),a=o?e.state.tr.replaceSelectionWith(o,e.shiftKey):e.state.tr.replaceSelection(i);return e.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}Mt.copy=Nt.cut=(e,t)=>{let n=e.state.selection,r="cut"==t.type;if(n.empty)return;let i=ln?null:t.clipboardData,o=n.content(),{dom:a,text:s}=dt(e,o);i?(t.preventDefault(),i.clearData(),i.setData("text/html",a.innerHTML),i.setData("text/plain",s)):un(e,a),r&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},Nt.paste=(e,t)=>{if(e.composing&&!o.android)return;let n=ln?null:t.clipboardData;n&&dn(e,n.getData("text/plain"),n.getData("text/html"),t)?t.preventDefault():fn(e,t)};class hn{constructor(e,t){this.slice=e,this.move=t}}const pn=o.mac?"altKey":"ctrlKey";Mt.dragstart=(e,t)=>{let n=e.mouseDown;if(n&&n.done(),!t.dataTransfer)return;let i=e.state.selection,o=i.empty?null:e.posAtCoords(zt(t));if(o&&o.pos>=i.from&&o.pos<=(i instanceof r["c"]?i.to-1:i.to));else if(n&&n.mightDrag)e.dispatch(e.state.tr.setSelection(r["c"].create(e.state.doc,n.mightDrag.pos)));else if(t.target&&1==t.target.nodeType){let n=e.docView.nearestDesc(t.target,!0);n&&n.node.type.spec.draggable&&n!=e.docView&&e.dispatch(e.state.tr.setSelection(r["c"].create(e.state.doc,n.posBefore)))}let a=e.state.selection.content(),{dom:s,text:u}=dt(e,a);t.dataTransfer.clearData(),t.dataTransfer.setData(ln?"Text":"text/html",s.innerHTML),t.dataTransfer.effectAllowed="copyMove",ln||t.dataTransfer.setData("text/plain",u),e.dragging=new hn(a,!t[pn])},Mt.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)},Nt.dragover=Nt.dragenter=(e,t)=>t.preventDefault(),Nt.drop=(e,t)=>{let n=e.dragging;if(e.dragging=null,!t.dataTransfer)return;let i=e.posAtCoords(zt(t));if(!i)return;let o=e.state.doc.resolve(i.pos);if(!o)return;let a=n&&n.slice;a?e.someProp("transformPasted",e=>{a=e(a)}):a=ht(e,t.dataTransfer.getData(ln?"Text":"text/plain"),ln?null:t.dataTransfer.getData("text/html"),!1,o);let s=n&&!t[pn];if(e.someProp("handleDrop",n=>n(e,t,a||Y["j"].empty,s)))return void t.preventDefault();if(!a)return;t.preventDefault();let u=a?Object(Ee["h"])(e.state.doc,o.pos,a):o.pos;null==u&&(u=o.pos);let l=e.state.tr;s&&l.deleteSelection();let c=l.mapping.map(u),f=0==a.openStart&&0==a.openEnd&&1==a.content.childCount,d=l.doc;if(f?l.replaceRangeWith(c,c,a.content.firstChild):l.replaceRange(c,c,a),l.doc.eq(d))return;let h=l.doc.resolve(c);if(f&&r["c"].isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))l.setSelection(new r["c"](h));else{let t=l.mapping.map(u);l.mapping.maps[l.mapping.maps.length-1].forEach((e,n,r,i)=>t=i),l.setSelection(Le(e,h,l.doc.resolve(t)))}e.focus(),e.dispatch(l.setMeta("uiEvent","drop"))},Mt.focus=e=>{e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.root.getSelection())&&De(e)},20))},Mt.blur=(e,t)=>{e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),t.relatedTarget&&e.dom.contains(t.relatedTarget)&&e.domObserver.currentSelection.set({}),e.focused=!1)},Mt.beforeinput=(e,t)=>{if(o.chrome&&o.android&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e;setTimeout(()=>{if(e.domChangeCount!=t)return;if(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",t=>t(e,v(8,"Backspace"))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}};for(let Hn in Nt)Mt[Hn]=Nt[Hn];function mn(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class gn{constructor(e,t){this.spec=t||wn,this.side=this.spec.side||0,this.toDOM=e}map(e,t,n,r){let{pos:i,deleted:o}=e.mapResult(t.from+r,this.side<0?-1:1);return o?null:new bn(i-n,i-n,this)}valid(){return!0}eq(e){return this==e||e instanceof gn&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&mn(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class vn{constructor(e,t){this.spec=t||wn,this.attrs=e}map(e,t,n,r){let i=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,o=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return i>=o?null:new bn(i,o,this)}valid(e,t){return t.from=e&&(!i||i(a.spec))&&n.push(a.copy(a.from+r,a.to+r))}for(let o=0;oe){let a=this.children[o]+1;this.children[o+2].findInner(e-a,t-a,n,r+a,i)}}map(e,t,n){return this==xn||0==e.maps.length?this:this.mapInner(e,t,0,0,n||wn)}mapInner(e,t,n,r,i){let o;for(let a=0;a{let a,s=o+n;if(a=On(t,e,s)){r||(r=this.children.slice());while(io&&t.to=e){this.children[a]==e&&(n=this.children[a+2]);break}let i=e+1,o=i+t.content.size;for(let a=0;ai&&e.type instanceof vn){let t=Math.max(i,e.from)-i,n=Math.min(o,e.to)-i;tn.map(e,t,wn));return Sn.from(n)}forChild(e,t){if(t.isLeaf)return _n.empty;let n=[];for(let r=0;r{for(let a=0;al+o)continue;let c=s[a]+o;t>=c?s[a+1]=e<=c?-2:-1:n>=i&&(u=r-n-(t-e))&&(s[a]+=u,s[a+1]+=u)}};for(let c=0;c=r.content.size){l=!0;continue}let f=n.map(e[c+1]+o,-1),d=f-i,{index:h,offset:p}=r.content.findIndex(u),m=r.maybeChild(h);if(m&&p==u&&p+m.nodeSize==d){let r=s[c+2].mapInner(n,m,t+1,e[c]+o+1,a);r!=xn?(s[c]=u,s[c+1]=d,s[c+2]=r):(s[c+1]=-2,l=!0)}else l=!0}if(l){let u=En(s,e,t||[],n,i,o,a),l=Dn(u,r,0,a);t=l.local;for(let e=0;en&&o.to{let s=On(e,t,a+n);if(s){o=!0;let e=Dn(s,t,n+a+1,r);e!=xn&&i.push(a,a+t.nodeSize,e)}});let a=Cn(o?An(e):e,-n).sort(Tn);for(let s=0;s0)t++;e.splice(t,0,n)}function Nn(e){let t=[];return e.someProp("decorations",n=>{let r=n(e.state);r&&r!=xn&&t.push(r)}),e.cursorWrapper&&t.push(_n.create(e.state.doc,[e.cursorWrapper.deco])),Sn.from(t)}class In{constructor(e,t){this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(zn),this.dispatch=this.dispatch.bind(this),this._root=null,this.focused=!1,this.trackWrites=null,this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):e.apply?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Fn(this),this.markCursor=null,this.cursorWrapper=null,jn(this),this.nodeViews=Bn(this),this.docView=ae(this.state.doc,Rn(this),Nn(this),this.dom,this),this.lastSelectedViewDesc=null,this.dragging=null,It(this),this.prevDirectPlugins=[],this.pluginViews=[],this.updatePluginViews()}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Ft(this),this._props=e,e.plugins&&(e.plugins.forEach(zn),this.directPlugins=e.plugins),this.updateStateInner(e.state,!0)}setProps(e){let t={};for(let n in this._props)t[n]=this._props[n];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this.state.plugins!=e.plugins)}updateStateInner(e,t){let n=this.state,i=!1,a=!1;if(e.storedMarks&&this.composing&&(on(this),a=!0),this.state=e,t){let e=Bn(this);Un(e,this.nodeViews)&&(this.nodeViews=e,i=!0),Ft(this)}this.editable=Fn(this),jn(this);let s=Nn(this),u=Rn(this),l=t?"reset":e.scrollToSelection>n.scrollToSelection?"to selection":"preserve",c=i||!this.docView.matchesNode(e.doc,u,s);!c&&e.selection.eq(n.selection)||(a=!0);let f="preserve"==l&&a&&null==this.dom.style.overflowAnchor&&_(this);if(a){this.domObserver.stop();let t=c&&(o.ie||o.chrome)&&!this.composing&&!n.selection.empty&&!e.selection.empty&&Ln(n.selection,e.selection);if(c){let n=o.chrome?this.trackWrites=this.root.getSelection().focusNode:null;!i&&this.docView.update(e.doc,u,s,this)||(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=ae(e.doc,u,s,this.dom,this)),n&&!this.trackWrites&&(t=!0)}t||!(this.mouseDown&&this.domObserver.currentSelection.eq(this.root.getSelection())&&ze(this))?De(this,t):(je(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}if(this.updatePluginViews(n),"reset"==l)this.dom.scrollTop=0;else if("to selection"==l){let t=this.root.getSelection().focusNode;this.someProp("handleScrollToSelection",e=>e(this))||(e.selection instanceof r["c"]?w(this,this.docView.domAfterPos(e.selection.from).getBoundingClientRect(),t):w(this,this.coordsAtPos(e.selection.head,1),t))}else f&&S(f)}destroyPluginViews(){let e;while(e=this.pluginViews.pop())e.destroy&&e.destroy()}updatePluginViews(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let t=0;tdocument.getSelection()),this._root=t;return e||document}posAtCoords(e){return I(this,e)}coordsAtPos(e,t=1){return F(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(e,t){return G(this,t||this.state,e)}destroy(){this.docView&&(jt(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Nn(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return Ut(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}}function Rn(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),t.translate="no",e.someProp("attributes",n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e&&(t.class+=" "+n[e]),"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))}),[bn.node(0,e.state.doc.content.size,t)]}function jn(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:bn.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function Fn(e){return!e.someProp("editable",t=>!1===t(e.state))}function Ln(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}function Bn(e){let t={};return e.someProp("nodeViews",e=>{for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}),t}function Un(e,t){let n=0,r=0;for(let i in e){if(e[i]!=t[i])return!0;n++}for(let i in t)r++;return n!=r}function zn(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}},4245:function(e,t,n){var r=n("1290");function i(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=i},42454:function(e,t,n){var r=n("f909"),i=n("2ec1d"),o=i((function(e,t,n){r(e,t,n)}));e.exports=o},4284:function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length;while(++n0?r:n)(e)}},function(e,t,n){var r=n(10);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(1),i=n(2),o=n(19),a=n(27),s=n(5).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){t.f=n(8)},function(e,t){"use strict";e.exports={props:{loading:{type:Boolean,default:!1},onSearch:{type:Function,default:function(e,t){}}},data:function(){return{mutableLoading:!1}},watch:{search:function(){this.search.length>0&&(this.onSearch(this.search,this.toggleLoading),this.$emit("search",this.search,this.toggleLoading))},loading:function(e){this.mutableLoading=e}},methods:{toggleLoading:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.mutableLoading=null==e?!this.mutableLoading:e}}}},function(e,t){"use strict";e.exports={watch:{typeAheadPointer:function(){this.maybeAdjustScroll()}},methods:{maybeAdjustScroll:function(){var e=this.pixelsToPointerTop(),t=this.pixelsToPointerBottom();return e<=this.viewport().top?this.scrollTo(e):t>=this.viewport().bottom?this.scrollTo(this.viewport().top+this.pointerHeight()):void 0},pixelsToPointerTop:function(){var e=0;if(this.$refs.dropdownMenu)for(var t=0;t0&&(this.typeAheadPointer--,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadDown:function(){this.typeAheadPointer";for(t.style.display="none",n(60).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),l=e.F;r--;)delete l[u][o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[u]=r(e),n=new s,s[u]=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(38),i=n(17).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(4),i=n(7),o=n(57)(!1),a=n(22)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(6)},function(e,t,n){var r=n(16);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(45),o=r(i),a=n(48),s=r(a),u=n(43),l=r(u),c=n(49),f=r(c),d=n(29),h=r(d),p=n(30),m=r(p),g=n(28),v=r(g);t.default={mixins:[h.default,m.default,v.default],props:{value:{default:null},options:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},maxHeight:{type:String,default:"400px"},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},index:{type:String,default:null},getOptionLabel:{type:Function,default:function(e){return this.index&&(e=this.findOptionByIndexValue(e)),"object"===("undefined"==typeof e?"undefined":(0,f.default)(e))?e.hasOwnProperty(this.label)?e[this.label]:console.warn('[vue-select warn]: Label key "option.'+this.label+'" does not exist in options object '+(0,l.default)(e)+".\nhttp://sagalbot.github.io/vue-select/#ex-labels"):e}},onChange:{type:Function,default:function(e){this.$emit("input",e)}},onTab:{type:Function,default:function(){this.selectOnTab&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:function(e,t,n){return(t||"").toLowerCase().indexOf(n.toLowerCase())>-1}},filter:{type:Function,default:function(e,t){var n=this;return e.filter((function(e){var r=n.getOptionLabel(e);return"number"==typeof r&&(r=r.toString()),n.filterBy(e,r,t)}))}},createOption:{type:Function,default:function(e){return"object"===(0,f.default)(this.mutableOptions[0])&&(e=(0,s.default)({},this.label,e)),this.$emit("option:created",e),e}},resetOnOptionsChange:{type:Boolean,default:!1},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1}},data:function(){return{search:"",open:!1,mutableValue:null,mutableOptions:[]}},watch:{value:function(e){this.mutableValue=e},mutableValue:function(e,t){this.multiple?this.onChange&&this.onChange(e):this.onChange&&e!==t&&this.onChange(e)},options:function(e){this.mutableOptions=e},mutableOptions:function(){!this.taggable&&this.resetOnOptionsChange&&(this.mutableValue=this.multiple?[]:null)},multiple:function(e){this.mutableValue=e?[]:null}},created:function(){this.mutableValue=this.value,this.mutableOptions=this.options.slice(0),this.mutableLoading=this.loading,this.$on("option:created",this.maybePushTag)},methods:{select:function(e){if(!this.isOptionSelected(e)){if(this.taggable&&!this.optionExists(e)&&(e=this.createOption(e)),this.index){if(!e.hasOwnProperty(this.index))return console.warn('[vue-select warn]: Index key "option.'+this.index+'" does not exist in options object '+(0,l.default)(e)+".");e=e[this.index]}this.multiple&&!this.mutableValue?this.mutableValue=[e]:this.multiple?this.mutableValue.push(e):this.mutableValue=e}this.onAfterSelect(e)},deselect:function(e){var t=this;if(this.multiple){var n=-1;this.mutableValue.forEach((function(r){(r===e||t.index&&r===e[t.index]||"object"===("undefined"==typeof r?"undefined":(0,f.default)(r))&&r[t.label]===e[t.label])&&(n=r)}));var r=this.mutableValue.indexOf(n);this.mutableValue.splice(r,1)}else this.mutableValue=null},clearSelection:function(){this.mutableValue=this.multiple?[]:null},onAfterSelect:function(e){this.closeOnSelect&&(this.open=!this.open,this.$refs.search.blur()),this.clearSearchOnSelect&&(this.search="")},toggleDropdown:function(e){(e.target===this.$refs.openIndicator||e.target===this.$refs.search||e.target===this.$refs.toggle||e.target.classList.contains("selected-tag")||e.target===this.$el)&&(this.open?this.$refs.search.blur():this.disabled||(this.open=!0,this.$refs.search.focus()))},isOptionSelected:function(e){var t=this,n=!1;return this.valueAsArray.forEach((function(r){"object"===("undefined"==typeof r?"undefined":(0,f.default)(r))?n=t.optionObjectComparator(r,e):r!==e&&r!==e[t.index]||(n=!0)})),n},optionObjectComparator:function(e,t){return!(!this.index||e!==t[this.index])||e[this.label]===t[this.label]||e[this.label]===t||!(!this.index||e[this.index]!==t[this.index])},findOptionByIndexValue:function(e){var t=this;return this.options.forEach((function(n){(0,l.default)(n[t.index])===(0,l.default)(e)&&(e=n)})),e},onEscape:function(){this.search.length?this.search="":this.$refs.search.blur()},onSearchBlur:function(){this.mousedown&&!this.searching?this.mousedown=!1:(this.clearSearchOnBlur&&(this.search=""),this.open=!1,this.$emit("search:blur"))},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},maybeDeleteValue:function(){if(!this.$refs.search.value.length&&this.mutableValue)return this.multiple?this.mutableValue.pop():this.mutableValue=null},optionExists:function(e){var t=this,n=!1;return this.mutableOptions.forEach((function(r){("object"===("undefined"==typeof r?"undefined":(0,f.default)(r))&&r[t.label]===e||r===e)&&(n=!0)})),n},maybePushTag:function(e){this.pushTags&&this.mutableOptions.push(e)},onMousedown:function(){this.mousedown=!0}},computed:{dropdownClasses:function(){return{open:this.dropdownOpen,single:!this.multiple,searching:this.searching,searchable:this.searchable,unsearchable:!this.searchable,loading:this.mutableLoading,rtl:"rtl"===this.dir,disabled:this.disabled}},clearSearchOnBlur:function(){return this.clearSearchOnSelect&&!this.multiple},searching:function(){return!!this.search},dropdownOpen:function(){return!this.noDrop&&this.open&&!this.mutableLoading},searchPlaceholder:function(){if(this.isValueEmpty&&this.placeholder)return this.placeholder},filteredOptions:function(){if(!this.filterable&&!this.taggable)return this.mutableOptions.slice();var e=this.search.length?this.filter(this.mutableOptions,this.search,this):this.mutableOptions;return this.taggable&&this.search.length&&!this.optionExists(this.search)&&e.unshift(this.search),e},isValueEmpty:function(){return!this.mutableValue||("object"===(0,f.default)(this.mutableValue)?!(0,o.default)(this.mutableValue).length:!this.valueAsArray.length)},valueAsArray:function(){return this.multiple&&this.mutableValue?this.mutableValue:this.mutableValue?[].concat(this.mutableValue):[]},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&null!=this.mutableValue}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(28),o=r(i),a=n(30),s=r(a),u=n(29),l=r(u);t.default={ajax:o.default,pointer:s.default,pointerScroll:l.default}},function(e,t,n){e.exports={default:n(50),__esModule:!0}},function(e,t,n){e.exports={default:n(51),__esModule:!0}},function(e,t,n){e.exports={default:n(52),__esModule:!0}},function(e,t,n){e.exports={default:n(53),__esModule:!0}},function(e,t,n){e.exports={default:n(54),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(44),o=r(i);t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(47),o=r(i),a=n(46),s=r(a),u="function"==typeof s.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(o.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":u(e)}},function(e,t,n){var r=n(2),i=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},function(e,t,n){n(75);var r=n(2).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){n(76),e.exports=n(2).Object.keys},function(e,t,n){n(79),n(77),n(80),n(81),e.exports=n(2).Symbol},function(e,t,n){n(78),n(82),e.exports=n(27).f("iterator")},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(7),i=n(73),o=n(72);e.exports=function(e){return function(t,n,a){var s,u=r(t),l=i(u.length),c=o(a,l);if(e&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(55);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(13),i=n(37),o=n(20);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),u=o.f,l=0;s.length>l;)u.call(e,a=s[l++])&&t.push(a);return t}},function(e,t,n){var r=n(1).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(31);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(31);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(35),i=n(14),o=n(21),a={};n(6)(a,n(8)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(15)("meta"),i=n(10),o=n(4),a=n(5).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(9)((function(){return u(Object.preventExtensions({}))})),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},d=function(e,t){if(!o(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},h=function(e){return l&&p.NEED&&u(e)&&!o(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:h}},function(e,t,n){var r=n(5),i=n(11),o=n(13);e.exports=n(3)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,u=0;s>u;)r.f(e,n=a[u++],t[n]);return e}},function(e,t,n){var r=n(20),i=n(14),o=n(7),a=n(25),s=n(4),u=n(33),l=Object.getOwnPropertyDescriptor;t.f=n(3)?l:function(e,t){if(e=o(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(7),i=n(36).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},function(e,t,n){var r=n(4),i=n(40),o=n(22)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(12),i=n(2),o=n(9);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){var r=n(24),i=n(16);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536)}}},function(e,t,n){var r=n(24),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(24),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(56),i=n(64),o=n(18),a=n(7);e.exports=n(34)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(12);r(r.S+r.F*!n(3),"Object",{defineProperty:n(5).f})},function(e,t,n){var r=n(40),i=n(13);n(70)("keys",(function(){return function(e){return i(r(e))}}))},function(e,t){},function(e,t,n){"use strict";var r=n(71)(!0);n(34)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(1),i=n(4),o=n(3),a=n(12),s=n(39),u=n(65).KEY,l=n(9),c=n(23),f=n(21),d=n(15),h=n(8),p=n(27),m=n(26),g=n(59),v=n(62),y=n(11),b=n(10),q=n(7),w=n(25),_=n(14),x=n(35),S=n(68),k=n(67),C=n(5),E=n(13),O=k.f,A=C.f,D=S.f,T=r.Symbol,P=r.JSON,M=P&&P.stringify,N="prototype",I=h("_hidden"),R=h("toPrimitive"),j={}.propertyIsEnumerable,F=c("symbol-registry"),L=c("symbols"),B=c("op-symbols"),U=Object[N],z="function"==typeof T,H=r.QObject,$=!H||!H[N]||!H[N].findChild,V=o&&l((function(){return 7!=x(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=O(U,t);r&&delete U[t],A(e,t,n),r&&e!==U&&A(U,t,r)}:A,W=function(e){var t=L[e]=x(T[N]);return t._k=e,t},X=z&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},G=function(e,t,n){return e===U&&G(B,t,n),y(e),t=w(t,!0),y(n),i(L,t)?(n.enumerable?(i(e,I)&&e[I][t]&&(e[I][t]=!1),n=x(n,{enumerable:_(0,!1)})):(i(e,I)||A(e,I,_(1,{})),e[I][t]=!0),V(e,t,n)):A(e,t,n)},Y=function(e,t){y(e);for(var n,r=g(t=q(t)),i=0,o=r.length;o>i;)G(e,n=r[i++],t[n]);return e},K=function(e,t){return void 0===t?x(e):Y(x(e),t)},J=function(e){var t=j.call(this,e=w(e,!0));return!(this===U&&i(L,e)&&!i(B,e))&&(!(t||!i(this,e)||!i(L,e)||i(this,I)&&this[I][e])||t)},Z=function(e,t){if(e=q(e),t=w(t,!0),e!==U||!i(L,t)||i(B,t)){var n=O(e,t);return!n||!i(L,t)||i(e,I)&&e[I][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=D(q(e)),r=[],o=0;n.length>o;)i(L,t=n[o++])||t==I||t==u||r.push(t);return r},ee=function(e){for(var t,n=e===U,r=D(n?B:q(e)),o=[],a=0;r.length>a;)!i(L,t=r[a++])||n&&!i(U,t)||o.push(L[t]);return o};z||(T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===U&&t.call(B,n),i(this,I)&&i(this[I],e)&&(this[I][e]=!1),V(this,e,_(1,n))};return o&&$&&V(U,e,{configurable:!0,set:t}),W(e)},s(T[N],"toString",(function(){return this._k})),k.f=Z,C.f=G,n(36).f=S.f=Q,n(20).f=J,n(37).f=ee,o&&!n(19)&&s(U,"propertyIsEnumerable",J,!0),p.f=function(e){return W(h(e))}),a(a.G+a.W+a.F*!z,{Symbol:T});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)h(te[ne++]);for(var re=E(h.store),ie=0;re.length>ie;)m(re[ie++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return i(F,e+="")?F[e]:F[e]=T(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!z,"Object",{create:K,defineProperty:G,defineProperties:Y,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:ee}),P&&a(a.S+a.F*(!z||l((function(){var e=T();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!X(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),r[1]=t,M.apply(P,r)}}),T[N][R]||n(6)(T[N],R,T[N].valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(26)("asyncIterator")},function(e,t,n){n(26)("observable")},function(e,t,n){n(74);for(var r=n(1),i=n(6),o=n(18),a=n(8)("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(","),u=0;ua{display:block;padding:3px 20px;clear:both;color:#333;white-space:nowrap}.v-select li:hover{cursor:pointer}.v-select .dropdown-menu .active>a{color:#333;background:rgba(50,50,50,.1)}.v-select .dropdown-menu>.highlight>a{background:#5897fb;color:#fff}.v-select .highlight:not(:last-child){margin-bottom:0}.v-select .spinner{align-self:center;opacity:0;font-size:5px;text-indent:-9999em;overflow:hidden;border-top:.9em solid hsla(0,0%,39%,.1);border-right:.9em solid hsla(0,0%,39%,.1);border-bottom:.9em solid hsla(0,0%,39%,.1);border-left:.9em solid rgba(60,60,60,.45);transform:translateZ(0);animation:vSelectSpinner 1.1s infinite linear;transition:opacity .1s}.v-select .spinner,.v-select .spinner:after{border-radius:50%;width:5em;height:5em}.v-select.disabled .dropdown-toggle,.v-select.disabled .dropdown-toggle .clear,.v-select.disabled .dropdown-toggle input,.v-select.disabled .open-indicator,.v-select.disabled .selected-tag .close{cursor:not-allowed;background-color:#f8f8f8}.v-select.loading .spinner{opacity:1}@-webkit-keyframes vSelectSpinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes vSelectSpinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fade-enter-active,.fade-leave-active{transition:opacity .15s cubic-bezier(1,.5,.8,1)}.fade-enter,.fade-leave-to{opacity:0}',""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&v.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",o(e,t),t}function u(e,t){var n,r,i;if(t.singleton){var o=g++;n=m||(m=s(t)),r=l.bind(null,n,o,!1),i=l.bind(null,n,o,!0)}else n=s(t),r=c.bind(null,n),i=function(){a(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function l(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function c(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var f={},d=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=d((function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())})),p=d((function(){return document.head||document.getElementsByTagName("head")[0]})),m=null,g=0,v=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=i(e);return r(n,t),function(e){for(var o=[],a=0;a=1?s[1]:s[0]},a:function(e){return e.getHours()/12>=1?u[1]:u[0]},aa:function(e){return e.getHours()/12>=1?l[1]:l[0]}},f=["M","D","DDD","d","Q","W"];return f.forEach((function(e){c[e+"o"]=function(t,n){return o(n[e](t))}})),{formatters:c,formattingTokensRegExp:r(c)}}function o(e){return e+"."}e.exports=i},"4cef":function(e,t){var n=/\s/;function r(e){var t=e.length;while(t--&&n.test(e.charAt(t)));return t}e.exports=r},"4d34":function(e,t,n){var r=n("90e5");function i(){var e=["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],t=["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],n=["do","se","te","qa","qi","se","sa"],i=["dom","seg","ter","qua","qui","sex","sáb"],a=["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],s=["AM","PM"],u=["am","pm"],l=["a.m.","p.m."],c={MMM:function(t){return e[t.getMonth()]},MMMM:function(e){return t[e.getMonth()]},dd:function(e){return n[e.getDay()]},ddd:function(e){return i[e.getDay()]},dddd:function(e){return a[e.getDay()]},A:function(e){return e.getHours()/12>=1?s[1]:s[0]},a:function(e){return e.getHours()/12>=1?u[1]:u[0]},aa:function(e){return e.getHours()/12>=1?l[1]:l[0]}},f=["M","D","DDD","d","Q","W"];return f.forEach((function(e){c[e+"o"]=function(t,n){return o(n[e](t))}})),{formatters:c,formattingTokensRegExp:r(c)}}function o(e){return e+"º"}e.exports=i},"4e9d":function(e,t,n){var r;(function(){"use strict";var i={};function o(e,t){for(var n=e.data,r=t.data,i=e.width,o=e.height,a=0;a=i-1||0===a||a>=o-1?C(n,l):4*C(n,l)-C(n,l-4*i)-C(n,l-4)-C(n,l+4)-C(n,l+4*i),r[l+1]=u}}function a(e,t,n){for(var r=t.data,i=n.data,o=t.width,a=t.height,s=0;se.skinThreshold,p=c>=e.skinBrightnessMin&&c<=e.skinBrightnessMax;i[l]=d&&p?(f-e.skinThreshold)*(255/(1-e.skinThreshold)):0}}function s(e,t,n){for(var r=t.data,i=n.data,o=t.width,a=t.height,s=0;se.saturationThreshold,h=c>=e.saturationBrightnessMin&&c<=e.saturationBrightnessMax;i[l+2]=h&&d?(f-e.saturationThreshold)*(255/(1-e.saturationThreshold)):0}}function u(e,t){if(e.boost){for(var n=t.data,r=0;r=e.minScale;s-=e.scaleStep)for(var u=0;u+a*s<=n;u+=e.step)for(var l=0;l+o*s<=t;l+=e.step)r.push({x:l,y:u,width:o*s,height:a*s});return r}function f(e,t,n){for(var r={detail:0,saturation:0,skin:0,boost:0,total:0},i=t.data,o=e.scoreDownSample,a=1/o,s=t.height*o,u=t.width*o,l=t.width,c=0;cn||n>=t.x+t.width||t.y>r||r>=t.y+t.height)return e.outsideImportance;n=(n-t.x)/t.width,r=(r-t.y)/t.height;var i=2*w(.5-n),o=2*w(.5-r),a=Math.max(i-1+e.edgeRadius,0),s=Math.max(o-1+e.edgeRadius,0),u=(a*a+s*s)*e.edgeWeight,l=1.41-_(i*i+o*o);return e.ruleOfThirds&&(l+=1.2*Math.max(0,l+u+.5)*(S(i)+S(o))),l+u}function h(e,t,n,r){var i=_(t*t+n*n+r*r),o=t/i-e.skinColor[0],a=n/i-e.skinColor[1],s=r/i-e.skinColor[2],u=_(o*o+a*a+s*s);return 1-u}function p(e,t){var n={},r=new m(t.width,t.height);o(t,r),a(e,t,r),s(e,t,r),u(e,r);for(var i=g(r,e.scoreDownSample),l=-1/0,d=null,h=c(e,t.width,t.height),p=0,v=h.length;pl&&(d=y,l=y.score.total)}return n.topCrop=d,e.debug&&d&&(n.crops=h,n.debugOutput=r,n.debugOptions=e,n.debugTopCrop=x({},n.topCrop)),n}function m(e,t,n){this.width=e,this.height=t,this.data=n?new Uint8ClampedArray(n):new Uint8ClampedArray(e*t*4)}function g(e,t){for(var n=e.data,r=e.width,i=Math.floor(e.width/t),o=Math.floor(e.height/t),a=new m(i,o),s=a.data,u=1/(t*t),l=0;l.5?a/(2-r-i):a/(r+i)}r=function(){return i}.call(t,n,t,e),void 0===r||(e.exports=r),t.smartcrop=i,e.exports=i})()},"4f50":function(e,t,n){var r=n("b760"),i=n("e538"),o=n("c8fe"),a=n("4359"),s=n("fa21"),u=n("d370"),l=n("6747"),c=n("dcbe"),f=n("0d24"),d=n("9520"),h=n("1a8c"),p=n("60ed"),m=n("73ac"),g=n("8adb"),v=n("8de2");function y(e,t,n,y,b,q,w){var _=g(e,n),x=g(t,n),S=w.get(x);if(S)r(e,n,S);else{var k=q?q(_,x,n+"",e,t,w):void 0,C=void 0===k;if(C){var E=l(x),O=!E&&f(x),A=!E&&!O&&m(x);k=x,E||O||A?l(_)?k=_:c(_)?k=a(_):O?(C=!1,k=i(x,!0)):A?(C=!1,k=o(x,!0)):k=[]:p(x)||u(x)?(k=_,u(_)?k=v(_):h(_)&&!d(_)||(k=s(x))):C=!1}C&&(w.set(x,k),b(k,x,y,q,w),w["delete"](x)),r(e,n,k)}}e.exports=y},"50d8b":function(e,t){function n(e,t){var n=-1,r=Array(e);while(++n=17?s[3]:t>=12?s[2]:t>=4?s[1]:s[0]},Do:function(e,t){return t.D(e)+"-е"},Wo:function(e,t){return t.W(e)+"-я"}};u.a=u.A,u.aa=u.A;var l=["M","DDD","d","Q"];l.forEach((function(e){u[e+"o"]=function(t,n){return n[e](t)+"-й"}}));var c=["D","Do","DD"];return c.forEach((function(e){u[e+" MMMM"]=function(t,r){var i=u[e]||r[e];return i(t,r)+" "+n[t.getMonth()]}})),{formatters:u,formattingTokensRegExp:r(u)}}e.exports=i},5270:function(e,t,n){"use strict";var r=n("c532"),i=n("c401"),o=n("2e67"),a=n("2444");function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){s(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||a.adapter;return t(e).then((function(t){return s(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"52cf":function(e,t,n){var r=n("2d96"),i=n("e830");e.exports={distanceInWords:r(),format:i()}},"532b":function(e,t){function n(){var e={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}};function t(t,n,r){var i;return r=r||{},i="string"===typeof e[t]?e[t]:1===n?e[t].one:e[t].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?"over "+i:i+" geleden":i}return{localize:t}}e.exports=n},"54eb":function(e,t,n){var r=n("8eeb"),i=n("32f4");function o(e,t){return r(e,i(e),t)}e.exports=o},"55a3":function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},"57a5":function(e,t,n){var r=n("91e9"),i=r(Object.keys,Object);e.exports=i},"580f":function(e,t,n){var r=n("c8d5"),i=n("a4b7"),o=n("d420");function a(e){var t=r(e),n=o(t,i(t)),a=n+1;return a}e.exports=a},"585a":function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n("c8ba"))},"59dc":function(e,t,n){"use strict";e.exports=n("96ae")},"5ab1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.s3=t.traditional=t.thenable=void 0;var r=n("320c"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}t.thenable=["onCancel","onPasteReceived","onSubmit","onSubmitDelete","onUpload","onUploadChunk","onValidate","onValidateBatch"];var a=t.traditional=["onAutoRetry","onCancel","onComplete","onAllComplete","onDelete","onDeleteComplete","onError","onManualRetry","onPasteReceived","onProgress","onResume","onSessionRequestComplete","onStatusChange","onSubmit","onSubmitDelete","onSubmitted","onTotalProgress","onUpload","onUploadChunk","onUploadChunkSuccess","onValidate","onValidateBatch"];t.s3=(0,i.default)([],a,["onCredentialsExpired"])},"5b01":function(e,t,n){var r=n("8eeb"),i=n("ec69");function o(e,t){return e&&r(t,i(t),e)}e.exports=o},"5d89":function(e,t,n){var r=n("f8af");function i(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}e.exports=i},"5dbe":function(e,t,n){(function(){var t;function n(){console.log(i.apply(null,arguments))}function r(e,t){return i.apply(null,[e].concat(t))}function i(e){for(var t,n,r,i,o=1,a=[].slice.call(arguments),s=0,u=e.length,l="",c=!1,f=!1,d=function(){return a[o++]},h=function(){var n="";while(/\d/.test(e[s]))n+=e[s++],t=e[s];return n.length>0?parseInt(n):null};s=0;i--){let r=t<0?p(e.node(0),e.node(i),e.before(i+1),e.index(i),t,n):p(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,t,n);if(r)return r}}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new d(e.node(0))}static atStart(e){return p(e,e,0,0,1)||new d(e)}static atEnd(e){return p(e,e,e.content.size,e.childCount,-1)||new d(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=o[t.type];if(!n)throw new RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in o)throw new RangeError("Duplicate use of selection JSON ID "+e);return o[e]=t,t.prototype.jsonID=e,t}getBookmark(){return u.between(this.$anchor,this.$head).getBookmark()}}a.prototype.visible=!0;class s{constructor(e,t){this.$from=e,this.$to=t}}class u extends a{constructor(e,t=e){super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return a.near(n);let r=e.resolve(t.map(this.anchor));return new u(r.parent.inlineContent?r:n,n)}replace(e,t=r["j"].empty){if(super.replace(e,t),t==r["j"].empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof u&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new l(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new u(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(e,t,n){let r=e.pos-t.pos;if(n&&!r||(n=r>=0?1:-1),!t.parent.inlineContent){let e=a.findFrom(t,n,!0)||a.findFrom(t,-n,!0);if(!e)return a.near(t,n);t=e.$head}return e.parent.inlineContent||(0==r?e=t:(e=(a.findFrom(e,-n,!0)||a.findFrom(e,n,!0)).$anchor,e.pos0?0:1);i>0?a=0;a+=i){let r=t.child(a);if(r.isAtom){if(!o&&c.isSelectable(r))return c.create(e,n-(i<0?r.nodeSize:0))}else{let t=p(e,r,n+i,i<0?r.childCount:0,i,o);if(t)return t}n+=r.nodeSize*i}}function m(e,t,n){let r=e.steps.length-1;if(r{null==s&&(s=r)}),e.setSelection(a.near(e.doc.resolve(s),n))}const g=1,v=2,y=4;class b extends i["e"]{constructor(e){super(e.doc),this.time=Date.now(),this.curSelection=e.selection,this.curSelectionFor=0,this.storedMarks=e.storedMarks,this.updated=0,this.meta=Object.create(null)}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=v,this}ensureMarks(e){return r["d"].sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&v)>0}addStep(e,t){super.addStep(e,t),this.updated=this.updated&~v,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t){let n=this.selection;return!1!==t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||r["d"].none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n=t){let r=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(!e)return this.deleteRange(t,n);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,i)),this.selection.empty||this.setSelection(a.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=y,this}get scrolledIntoView(){return(this.updated&y)>0}}function q(e,t){return t&&e?e.bind(t):e}class w{constructor(e,t,n){this.name=e,this.init=q(t.init,n),this.apply=q(t.apply,n)}}const _=[new w("doc",{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new w("selection",{init(e,t){return e.selection||a.atStart(t.doc)},apply(e){return e.selection}}),new w("storedMarks",{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new w("scrollToSelection",{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})];class x{constructor(e,t){this.schema=e,this.fields=_.concat(),this.plugins=[],this.pluginsByKey=Object.create(null),t&&t.forEach(e=>{if(this.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new w(e.key,e.spec.state,e))})}}class S{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;ne.toJSON())),e&&"object"==typeof e)for(let n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],i=r.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(r,this[r.key]))}return t}static fromJSON(e,t,n){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new x(e.schema,e.plugins),o=new S(i);return i.fields.forEach(i=>{if("doc"==i.name)o.doc=r["f"].fromJSON(e.schema,t.doc);else if("selection"==i.name)o.selection=a.fromJSON(o.doc,t.selection);else if("storedMarks"==i.name)t.storedMarks&&(o.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(let r in n){let a=n[r],s=a.spec.state;if(a.key==i.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(t,r))return void(o[i.name]=s.fromJSON.call(a,e,t[r],o))}o[i.name]=i.init(e,o)}}),o}static addApplyListener(e){k.push(e)}static removeApplyListener(e){let t=k.indexOf(e);t>-1&&k.splice(t,1)}}const k=[];function C(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):"handleDOMEvents"==r&&(i=C(i,t,{})),n[r]=i}return n}class E{constructor(e){this.props={},e.props&&C(e.props,this,this.props),this.spec=e,this.key=e.key?e.key.key:A("plugin")}getState(e){return e[this.key]}}const O=Object.create(null);function A(e){return e in O?e+"$"+ ++O[e]:(O[e]=0,e+"$")}class D{constructor(e="key"){this.key=A(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}},"66cb":function(e,t,n){var r;(function(i){var o=/^\s+/,a=/\s+$/,s=0,u=i.round,l=i.min,c=i.max,f=i.random;function d(e,t){if(e=e||"",t=t||{},e instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=h(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=u(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=u(this._r)),this._g<1&&(this._g=u(this._g)),this._b<1&&(this._b=u(this._b)),this._ok=n.ok,this._tc_id=s++}function h(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;return"string"==typeof e&&(e=K(e)),"object"==typeof e&&(Y(e.r)&&Y(e.g)&&Y(e.b)?(t=p(e.r,e.g,e.b),a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Y(e.h)&&Y(e.s)&&Y(e.v)?(r=V(e.s),i=V(e.v),t=y(e.h,r,i),a=!0,s="hsv"):Y(e.h)&&Y(e.s)&&Y(e.l)&&(r=V(e.s),o=V(e.l),t=g(e.h,r,o),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=F(n),{ok:a,format:e.format||s,r:l(255,c(t.r,0)),g:l(255,c(t.g,0)),b:l(255,c(t.b,0)),a:n}}function p(e,t,n){return{r:255*L(e,255),g:255*L(t,255),b:255*L(n,255)}}function m(e,t,n){e=L(e,255),t=L(t,255),n=L(n,255);var r,i,o=c(e,t,n),a=l(e,t,n),s=(o+a)/2;if(o==a)r=i=0;else{var u=o-a;switch(i=s>.5?u/(2-o-a):u/(o+a),o){case e:r=(t-n)/u+(t1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=L(e,360),t=L(t,100),n=L(n,100),0===t)r=i=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,u=2*n-s;r=a(u,s,e+1/3),i=a(u,s,e),o=a(u,s,e-1/3)}return{r:255*r,g:255*i,b:255*o}}function v(e,t,n){e=L(e,255),t=L(t,255),n=L(n,255);var r,i,o=c(e,t,n),a=l(e,t,n),s=o,u=o-a;if(i=0===o?0:u/o,o==a)r=0;else{switch(o){case e:r=(t-n)/u+(t>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(d(r));return o}function N(e,t){t=t||6;var n=d(e).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;while(t--)a.push(d({h:r,s:i,v:o})),o=(o+s)%1;return a}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,o,a,s=this.toRgb();return e=s.r/255,t=s.g/255,n=s.b/255,r=e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4),o=t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4),a=n<=.03928?n/12.92:i.pow((n+.055)/1.055,2.4),.2126*r+.7152*o+.0722*a},setAlpha:function(e){return this._a=F(e),this._roundA=u(100*this._a)/100,this},toHsv:function(){var e=v(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=v(this._r,this._g,this._b),t=u(360*e.h),n=u(100*e.s),r=u(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(this._r,this._g,this._b),t=u(360*e.h),n=u(100*e.s),r=u(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return q(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:u(this._r),g:u(this._g),b:u(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+u(this._r)+", "+u(this._g)+", "+u(this._b)+")":"rgba("+u(this._r)+", "+u(this._g)+", "+u(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:u(100*L(this._r,255))+"%",g:u(100*L(this._g,255))+"%",b:u(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+u(100*L(this._r,255))+"%, "+u(100*L(this._g,255))+"%, "+u(100*L(this._b,255))+"%)":"rgba("+u(100*L(this._r,255))+"%, "+u(100*L(this._g,255))+"%, "+u(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(R[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+w(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=d(e);n="#"+w(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0,i=!t&&r&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e);return i?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(C,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(_,arguments)},saturate:function(){return this._applyModification(x,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(N,arguments)},splitcomplement:function(){return this._applyCombination(P,arguments)},triad:function(){return this._applyCombination(D,arguments)},tetrad:function(){return this._applyCombination(T,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:V(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:f(),g:f(),b:f()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),i=d(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return d(a)},d.readability=function(e,t){var n=d(e),r=d(t);return(i.max(n.getLuminance(),r.getLuminance())+.05)/(i.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,i,o=d.readability(e,t);switch(i=!1,r=J(n),r.level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7;break}return i},d.mostReadable=function(e,t,n){var r,i,o,a,s=null,u=0;n=n||{},i=n.includeFallbackColors,o=n.level,a=n.size;for(var l=0;lu&&(u=r,s=d(t[l]));return d.isReadable(e,s,{level:o,size:a})||!i?s:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var I=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},R=d.hexNames=j(I);function j(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function F(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function L(e,t){z(e)&&(e="100%");var n=H(e);return e=l(t,c(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),i.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function B(e){return l(1,c(0,e))}function U(e){return parseInt(e,16)}function z(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function H(e){return"string"===typeof e&&-1!=e.indexOf("%")}function $(e){return 1==e.length?"0"+e:""+e}function V(e){return e<=1&&(e=100*e+"%"),e}function W(e){return i.round(255*parseFloat(e)).toString(16)}function X(e){return U(e)/255}var G=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Y(e){return!!G.CSS_UNIT.exec(e)}function K(e){e=e.replace(o,"").replace(a,"").toLowerCase();var t,n=!1;if(I[e])e=I[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=G.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=G.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=G.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=G.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=G.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=G.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=G.hex8.exec(e))?{r:U(t[1]),g:U(t[2]),b:U(t[3]),a:X(t[4]),format:n?"name":"hex8"}:(t=G.hex6.exec(e))?{r:U(t[1]),g:U(t[2]),b:U(t[3]),format:n?"name":"hex"}:(t=G.hex4.exec(e))?{r:U(t[1]+""+t[1]),g:U(t[2]+""+t[2]),b:U(t[3]+""+t[3]),a:X(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=G.hex3.exec(e))&&{r:U(t[1]+""+t[1]),g:U(t[2]+""+t[2]),b:U(t[3]+""+t[3]),format:n?"name":"hex"}}function J(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}e.exports?e.exports=d:(r=function(){return d}.call(t,n,t,e),void 0===r||(e.exports=r))})(Math)},6747:function(e,t){var n=Array.isArray;e.exports=n},"67ca":function(e,t,n){var r=n("cb5a");function i(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}e.exports=i},6856:function(e,t){function n(){var e={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},t=["lessThanXSeconds","lessThanXMinutes","overXYears"];function n(n,r,i){var o;if(i=i||{},o="string"===typeof e[n]?e[n]:1===r?e[n].one:e[n].other.replace("{{count}}",r),i.addSuffix){var a="";return t.indexOf(n)>-1&&(a=" bir süre"),i.comparison>0?o+a+" içinde":o+a+" önce"}return o}return{localize:n}}e.exports=n},6933:function(e,t){function n(){var e={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}};function t(t,n,r){var i;return r=r||{},i="string"===typeof e[t]?e[t]:1===n?e[t].one:e[t].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?"daqui a "+i:"há "+i:i}return{localize:t}}e.exports=n},"69d5":function(e,t,n){var r=n("cb5a"),i=Array.prototype,o=i.splice;function a(e){var t=this.__data__,n=r(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():o.call(t,n,1),--this.size,!0}e.exports=a},"6d6b":function(e,t,n){"use strict";var r=n("aefd"),i=n("b726");e.exports=r.bind(null,i)},"6e0c":function(e,t,n){var r=n("e485"),i=n("4c70");e.exports={distanceInWords:r(),format:i()}},"6f6c":function(e,t){var n=/\w*$/;function r(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}e.exports=r},"6fcd":function(e,t,n){var r=n("50d8b"),i=n("d370"),o=n("6747"),a=n("0d24"),s=n("c098"),u=n("73ac"),l=Object.prototype,c=l.hasOwnProperty;function f(e,t){var n=o(e),l=!n&&i(e),f=!n&&!l&&a(e),d=!n&&!l&&!f&&u(e),h=n||l||f||d,p=h?r(e.length,String):[],m=p.length;for(var g in e)!t&&!c.call(e,g)||h&&("length"==g||f&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||p.push(g);return p}e.exports=f},"6ffc":function(e,t,n){ /* flatpickr v4.3.2, @license MIT */ (function(e,n){n(t)})(0,(function(e){"use strict";var t="undefined"!==typeof window&&void 0!==window.flatpickr?window.flatpickr:{l10ns:{}},n={firstDayOfWeek:1,weekdays:{shorthand:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],longhand:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"]},months:{shorthand:["Янв","Фев","Март","Апр","Май","Июнь","Июль","Авг","Сен","Окт","Ноя","Дек"],longhand:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"]},rangeSeparator:" — ",scrollTitle:"Прокрутите для увеличения",toggleTitle:"Нажмите для переключения"};t.l10ns.ru=n;var r=t.l10ns;e.Russian=n,e.default=r,Object.defineProperty(e,"__esModule",{value:!0})}))},"70f2":function(e,t,n){var r=n("580f"),i=n("81fc"),o=n("8964"),a=n("c8d5"),s=n("7eea"),u=n("52cf");function l(e,t,n){var r=t?String(t):"YYYY-MM-DDTHH:mm:ss.SSSZ",i=n||{},o=i.locale,l=u.format.formatters,c=u.format.formattingTokensRegExp;o&&o.format&&o.format.formatters&&(l=o.format.formatters,o.format.formattingTokensRegExp&&(c=o.format.formattingTokensRegExp));var d=a(e);if(!s(d))return"Invalid Date";var h=f(r,l,c);return h(d)}var c={M:function(e){return e.getMonth()+1},MM:function(e){return p(e.getMonth()+1,2)},Q:function(e){return Math.ceil((e.getMonth()+1)/3)},D:function(e){return e.getDate()},DD:function(e){return p(e.getDate(),2)},DDD:function(e){return r(e)},DDDD:function(e){return p(r(e),3)},d:function(e){return e.getDay()},E:function(e){return e.getDay()||7},W:function(e){return i(e)},WW:function(e){return p(i(e),2)},YY:function(e){return p(e.getFullYear(),4).substr(2)},YYYY:function(e){return p(e.getFullYear(),4)},GG:function(e){return String(o(e)).substr(2)},GGGG:function(e){return o(e)},H:function(e){return e.getHours()},HH:function(e){return p(e.getHours(),2)},h:function(e){var t=e.getHours();return 0===t?12:t>12?t%12:t},hh:function(e){return p(c["h"](e),2)},m:function(e){return e.getMinutes()},mm:function(e){return p(e.getMinutes(),2)},s:function(e){return e.getSeconds()},ss:function(e){return p(e.getSeconds(),2)},S:function(e){return Math.floor(e.getMilliseconds()/100)},SS:function(e){return p(Math.floor(e.getMilliseconds()/10),2)},SSS:function(e){return p(e.getMilliseconds(),3)},Z:function(e){return h(e.getTimezoneOffset(),":")},ZZ:function(e){return h(e.getTimezoneOffset())},X:function(e){return Math.floor(e.getTime()/1e3)},x:function(e){return e.getTime()}};function f(e,t,n){var r,i,o=e.match(n),a=o.length;for(r=0;r0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;return n+p(i,2)+t+p(o,2)}function p(e,t){var n=Math.abs(e).toString();while(n.length=1?s[1]:s[0]},a:function(e){return e.getHours()/12>=1?u[1]:u[0]},aa:function(e){return e.getHours()/12>=1?l[1]:l[0]}},f=["M","D","DDD","d","Q","W"];return f.forEach((function(e){c[e+"o"]=function(t,n){return o(n[e](t))}})),{formatters:c,formattingTokensRegExp:r(c)}}function o(e){return e+"e"}e.exports=i},"76dd":function(e,t,n){var r=n("ce86");function i(e){return null==e?"":r(e)}e.exports=i},7948:function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length,i=Array(r);while(++n",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},o="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),a="undefined"!=typeof navigator&&/Apple Computer/.test(navigator.vendor),s="undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),u="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),l="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),c=o&&(u||+o[1]<57)||s&&u,f=0;f<10;f++)r[48+f]=r[96+f]=String(f);for(f=1;f<=24;f++)r[f+111]="F"+f;for(f=65;f<=90;f++)r[f]=String.fromCharCode(f+32),i[f]=String.fromCharCode(f);for(var d in r)i.hasOwnProperty(d)||(i[d]=r[d]);function h(e){var t=c&&(e.ctrlKey||e.altKey||e.metaKey)||(a||l)&&e.shiftKey&&e.key&&1==e.key.length,n=!t&&e.key||(e.shiftKey?i:r)[e.keyCode]||e.key||"Unidentified";return"Esc"==n&&(n="Escape"),"Del"==n&&(n="Delete"),"Left"==n&&(n="ArrowLeft"),"Up"==n&&(n="ArrowUp"),"Right"==n&&(n="ArrowRight"),"Down"==n&&(n="ArrowDown"),n}var p=n("65e8"),m="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function g(e){var t,n,r,i,o=e.split(/-(?!$)/),a=o[o.length-1];"Space"==a&&(a=" ");for(var s=0;s127)&&(i=r[n.keyCode])&&i!=o){var u=t[y(i,n,!0)];if(u&&u(e.state,e.dispatch,e))return!0}else if(a&&n.shiftKey){var l=t[y(o,n,!0)];if(l&&l(e.state,e.dispatch,e))return!0}return!1}}},"802a":function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},8057:function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length;while(++nr[i])return!0;if(n[i]0){var o=r[i],a=t[o];if(a){var s=e[o],u=void 0===s||a(s,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+o)}}i.transitional=function(e,t,n){var i=t&&s(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(a(r," has been removed in "+t));return i&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={isOlderVersion:s,assertOptions:u,validators:i}},"85e3":function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},8604:function(e,t,n){var r=n("26e8"),i=n("e2c0");function o(e,t){return null!=e&&i(e,t,r)}e.exports=o},8682:function(e,t,n){"use strict";var r=n("6254"),i=n.n(r),o=function(e,t,n){var r=n.includeSeconds,o=n.addSuffix;return void 0===o&&(o=!0),i()(e,{locale:t,includeSeconds:r,addSuffix:o})},a=function(e){void 0===e&&(e={});var t=e.locales||{},n=e.name||"Timeago";return{name:n,props:{datetime:{required:!0},title:{type:[String,Boolean]},locale:{type:String},autoUpdate:{type:[Number,Boolean]},converter:{type:Function},converterOptions:{type:Object}},data:function(){return{timeago:this.getTimeago()}},computed:{localeName:function(){return this.locale||this.$timeago.locale}},mounted:function(){this.startUpdater()},beforeDestroy:function(){this.stopUpdater()},render:function(e){return e("time",{attrs:{datetime:new Date(this.datetime),title:"string"===typeof this.title?this.title:!1===this.title?null:this.timeago}},[this.timeago])},methods:{getTimeago:function(n){var r=this.converter||e.converter||o;return r(n||this.datetime,t[this.locale||this.$timeago.locale],this.converterOptions||{})},convert:function(e){this.timeago=this.getTimeago(e)},startUpdater:function(){var e=this;if(this.autoUpdate){var t=!0===this.autoUpdate?60:this.autoUpdate;this.updater=setInterval((function(){e.convert()}),1e3*t)}},stopUpdater:function(){this.updater&&(clearInterval(this.updater),this.updater=null)}},watch:{autoUpdate:function(e){this.stopUpdater(),e&&this.startUpdater()},datetime:function(){this.convert()},localeName:function(){this.convert()},converter:function(){this.convert()},converterOptions:{handler:function(){this.convert()},deep:!0}}}},s=function(e,t){if(!e.prototype.$timeago){0;var n={locale:t.locale};e.prototype.$timeago=e.observable?e.observable(n):new e({data:n});var r=a(t);e.component(r.name,r)}};t["a"]=s},"872a":function(e,t,n){var r=n("3b4a");function i(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}e.exports=i},8964:function(e,t,n){var r=n("c8d5"),i=n("b4c7");function o(e){var t=r(e),n=t.getFullYear(),o=new Date(0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);var a=i(o),s=new Date(0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);var u=i(s);return t.getTime()>=a.getTime()?n+1:t.getTime()>=u.getTime()?n:n-1}e.exports=o},"8adb":function(e,t){function n(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}e.exports=n},"8c74":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;(function(global){var qq=function(e){"use strict";return{hide:function(){return e.style.display="none",this},attach:function(t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n),function(){qq(e).detach(t,n)}},detach:function(t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.attachEvent&&e.detachEvent("on"+t,n),this},contains:function(t){return!!t&&(e===t||(e.contains?e.contains(t):!!(8&t.compareDocumentPosition(e))))},insertBefore:function(t){return t.parentNode.insertBefore(e,t),this},remove:function(){return e.parentNode.removeChild(e),this},css:function(t){if(null==e.style)throw new qq.Error("Can't apply style to node as it is not on the HTMLElement prototype chain!");return null!=t.opacity&&"string"!==typeof e.style.opacity&&"undefined"!==typeof e.filters&&(t.filter="alpha(opacity="+Math.round(100*t.opacity)+")"),qq.extend(e.style,t),this},hasClass:function(t,n){var r=new RegExp("(^| )"+t+"( |$)");return r.test(e.className)||!(!n||!r.test(e.parentNode.className))},addClass:function(t){return qq(e).hasClass(t)||(e.className+=" "+t),this},removeClass:function(t){var n=new RegExp("(^| )"+t+"( |$)");return e.className=e.className.replace(n," ").replace(/^\s+|\s+$/g,""),this},getByClass:function(t,n){var r,i=[];return n&&e.querySelector?e.querySelector("."+t):e.querySelectorAll?e.querySelectorAll("."+t):(r=e.getElementsByTagName("*"),qq.each(r,(function(e,n){qq(n).hasClass(t)&&i.push(n)})),n?i[0]:i)},getFirstByClass:function(t){return qq(e).getByClass(t,!0)},children:function(){var t=[],n=e.firstChild;while(n)1===n.nodeType&&t.push(n),n=n.nextSibling;return t},setText:function(t){return e.innerText=t,e.textContent=t,this},clearText:function(){return qq(e).setText("")},hasAttribute:function(t){var n;return e.hasAttribute?!!e.hasAttribute(t)&&null==/^false$/i.exec(e.getAttribute(t)):(n=e[t],void 0!==n&&null==/^false$/i.exec(n))}}};(function(){"use strict";qq.canvasToBlob=function(e,t,n){return qq.dataUriToBlob(e.toDataURL(t,n))},qq.dataUriToBlob=function(e){var t,n,r,i,o=function(e,t){var n=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,r=n&&new n;return r?(r.append(e),r.getBlob(t)):new Blob([e],{type:t})};return n=e.split(",")[0].indexOf("base64")>=0?atob(e.split(",")[1]):decodeURI(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],t=new ArrayBuffer(n.length),r=new Uint8Array(t),qq.each(n,(function(e,t){r[e]=t.charCodeAt(0)})),o(t,i)},qq.log=function(e,t){window.console&&(t&&"info"!==t?window.console[t]?window.console[t](e):window.console.log("<"+t+"> "+e):window.console.log(e))},qq.isObject=function(e){return e&&!e.nodeType&&"[object Object]"===Object.prototype.toString.call(e)},qq.isFunction=function(e){return"function"===typeof e},qq.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)||e&&window.ArrayBuffer&&e.buffer&&e.buffer.constructor===ArrayBuffer},qq.isItemList=function(e){return"[object DataTransferItemList]"===Object.prototype.toString.call(e)},qq.isNodeList=function(e){return"[object NodeList]"===Object.prototype.toString.call(e)||e.item&&e.namedItem},qq.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},qq.trimStr=function(e){return String.prototype.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},qq.format=function(e){var t=Array.prototype.slice.call(arguments,1),n=e,r=n.indexOf("{}");return qq.each(t,(function(e,t){var i=n.substring(0,r),o=n.substring(r+2);if(n=i+t+o,r=n.indexOf("{}",r+t.length),r<0)return!1})),n},qq.isFile=function(e){return window.File&&"[object File]"===Object.prototype.toString.call(e)},qq.isFileList=function(e){return window.FileList&&"[object FileList]"===Object.prototype.toString.call(e)},qq.isFileOrInput=function(e){return qq.isFile(e)||qq.isInput(e)},qq.isInput=function(e,t){var n=function(e){var n=e.toLowerCase();return t?"file"!==n:"file"===n};return!!(window.HTMLInputElement&&"[object HTMLInputElement]"===Object.prototype.toString.call(e)&&e.type&&n(e.type))||!!(e.tagName&&"input"===e.tagName.toLowerCase()&&e.type&&n(e.type))},qq.isBlob=function(e){if(window.Blob&&"[object Blob]"===Object.prototype.toString.call(e))return!0},qq.isXhrUploadSupported=function(){var e=document.createElement("input");return e.type="file",void 0!==e.multiple&&"undefined"!==typeof File&&"undefined"!==typeof FormData&&"undefined"!==typeof qq.createXhrInstance().upload},qq.createXhrInstance=function(){if(window.XMLHttpRequest)return new XMLHttpRequest;try{return new ActiveXObject("MSXML2.XMLHTTP.3.0")}catch(e){return qq.log("Neither XHR or ActiveX are supported!","error"),null}},qq.isFolderDropSupported=function(e){return e.items&&e.items.length>0&&e.items[0].webkitGetAsEntry},qq.isFileChunkingSupported=function(){return!qq.androidStock()&&qq.isXhrUploadSupported()&&(void 0!==File.prototype.slice||void 0!==File.prototype.webkitSlice||void 0!==File.prototype.mozSlice)},qq.sliceBlob=function(e,t,n){var r=e.slice||e.mozSlice||e.webkitSlice;return r.call(e,t,n)},qq.arrayBufferToHex=function(e){var t="",n=new Uint8Array(e);return qq.each(n,(function(e,n){var r=n.toString(16);r.length<2&&(r="0"+r),t+=r})),t},qq.readBlobToHex=function(e,t,n){var r=qq.sliceBlob(e,t,t+n),i=new FileReader,o=new qq.Promise;return i.onload=function(){o.success(qq.arrayBufferToHex(i.result))},i.onerror=o.failure,i.readAsArrayBuffer(r),o},qq.extend=function(e,t,n){return qq.each(t,(function(t,r){n&&qq.isObject(r)?(void 0===e[t]&&(e[t]={}),qq.extend(e[t],r,!0)):e[t]=r})),e},qq.override=function(e,t){var n={},r=t(n);return qq.each(r,(function(t,r){void 0!==e[t]&&(n[t]=e[t]),e[t]=r})),e},qq.indexOf=function(e,t,n){if(e.indexOf)return e.indexOf(t,n);n=n||0;var r=e.length;for(n<0&&(n+=r);n=0},qq.safari=function(){return void 0!==navigator.vendor&&-1!==navigator.vendor.indexOf("Apple")},qq.chrome=function(){return void 0!==navigator.vendor&&-1!==navigator.vendor.indexOf("Google")},qq.opera=function(){return void 0!==navigator.vendor&&-1!==navigator.vendor.indexOf("Opera")},qq.firefox=function(){return!qq.edge()&&!qq.ie11()&&-1!==navigator.userAgent.indexOf("Mozilla")&&void 0!==navigator.vendor&&""===navigator.vendor},qq.windows=function(){return"Win32"===navigator.platform},qq.android=function(){return-1!==navigator.userAgent.toLowerCase().indexOf("android")},qq.androidStock=function(){return qq.android()&&navigator.userAgent.toLowerCase().indexOf("chrome")<0},qq.ios6=function(){return qq.ios()&&-1!==navigator.userAgent.indexOf(" OS 6_")},qq.ios7=function(){return qq.ios()&&-1!==navigator.userAgent.indexOf(" OS 7_")},qq.ios8=function(){return qq.ios()&&-1!==navigator.userAgent.indexOf(" OS 8_")},qq.ios800=function(){return qq.ios()&&-1!==navigator.userAgent.indexOf(" OS 8_0 ")},qq.ios=function(){return-1!==navigator.userAgent.indexOf("iPad")||-1!==navigator.userAgent.indexOf("iPod")||-1!==navigator.userAgent.indexOf("iPhone")},qq.iosChrome=function(){return qq.ios()&&-1!==navigator.userAgent.indexOf("CriOS")},qq.iosSafari=function(){return qq.ios()&&!qq.iosChrome()&&-1!==navigator.userAgent.indexOf("Safari")},qq.iosSafariWebView=function(){return qq.ios()&&!qq.iosChrome()&&!qq.iosSafari()},qq.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},qq.toElement=function(){var e=document.createElement("div");return function(t){e.innerHTML=t;var n=e.firstChild;return e.removeChild(n),n}}(),qq.each=function(e,t){var n,r;if(e)if(window.Storage&&e.constructor===window.Storage){for(n=0;n0)return e.substr(t,e.length-t)},qq.getFilename=function(e){return qq.isInput(e)?e.value.replace(/.*(\/|\\)/,""):qq.isFile(e)&&null!==e.fileName&&void 0!==e.fileName?e.fileName:e.name},qq.DisposeSupport=function(){var e=[];return{dispose:function(){var t;do{t=e.shift(),t&&t()}while(t)},attach:function(){var e=arguments;this.addDisposer(qq(e[0]).attach.apply(this,Array.prototype.slice.call(arguments,1)))},addDisposer:function(t){e.push(t)}}}})(),function(){"use strict";__WEBPACK_AMD_DEFINE_RESULT__=function(){return qq}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}(),qq.version="5.16.2",qq.supportedFeatures=function(){"use strict";var e,t,n,r,i,o,a,s,u,l,c,f,d,h,p;function m(){var e,t=!0;try{e=document.createElement("input"),e.type="file",qq(e).hide(),e.disabled&&(t=!1)}catch(n){t=!1}return t}function g(){return(qq.chrome()||qq.opera())&&void 0!==navigator.userAgent.match(/Chrome\/[1][4-9]|Chrome\/[2-9][0-9]/)}function v(){if(window.XMLHttpRequest){var e=qq.createXhrInstance();return void 0!==e.withCredentials}return!1}function y(){return void 0!==window.XDomainRequest}function b(){return!!v()||y()}function q(){return void 0!==document.createElement("input").webkitdirectory}function w(){try{return!!window.localStorage&&qq.isFunction(window.localStorage.setItem)}catch(e){return!1}}function _(){var e=document.createElement("span");return("draggable"in e||"ondragstart"in e&&"ondrop"in e)&&!qq.android()&&!qq.ios()}return e=m(),r=e&&qq.isXhrUploadSupported(),t=r&&!qq.androidStock(),n=r&&_(),i=n&&function(){var e=document.createElement("input");return e.type="file",!!("webkitdirectory"in(e||document.querySelectorAll("input[type=file]")[0]))}(),o=r&&qq.isFileChunkingSupported(),a=r&&o&&w(),s=r&&g(),u=e&&(void 0!==window.postMessage||r),c=v(),l=y(),f=b(),d=q(),h=r&&void 0!==window.FileReader,p=function(){return!!r&&(!qq.androidStock()&&!qq.iosChrome())}(),{ajaxUploading:r,blobUploading:t,canDetermineSize:r,chunking:o,deleteFileCors:f,deleteFileCorsXdr:l,deleteFileCorsXhr:c,dialogElement:!!window.HTMLDialogElement,fileDrop:n,folderDrop:i,folderSelection:d,imagePreviews:h,imageValidation:h,itemSizeValidation:r,pause:o,progressBar:p,resume:a,scaling:h&&t,tiffPreviews:qq.safari(),unlimitedScaledImageSize:!qq.ios(),uploading:e,uploadCors:u,uploadCustomHeaders:r,uploadNonMultipart:r,uploadViaPaste:s}}(),qq.isGenericPromise=function(e){"use strict";return!!(e&&e.then&&qq.isFunction(e.then))},qq.Promise=function(){"use strict";var e,t,n=[],r=[],i=[],o=0;qq.extend(this,{then:function(i,a){return 0===o?(i&&n.push(i),a&&r.push(a)):-1===o?a&&a.apply(null,t):i&&i.apply(null,e),this},done:function(n){return 0===o?i.push(n):n.apply(null,void 0===t?e:t),this},success:function(){return o=1,e=arguments,n.length&&qq.each(n,(function(t,n){n.apply(null,e)})),i.length&&qq.each(i,(function(t,n){n.apply(null,e)})),this},failure:function(){return o=-1,t=arguments,r.length&&qq.each(r,(function(e,n){n.apply(null,t)})),i.length&&qq.each(i,(function(e,n){n.apply(null,t)})),this}})},qq.DragAndDrop=function(e){"use strict";var t,n="qq-hidezones",r="qq-hide-dropzone",i=[],o=[],a=new qq.DisposeSupport;function s(e,n){var r=Array.prototype.slice.call(e);t.callbacks.dropLog("Grabbed "+e.length+" dropped files."),n.dropDisabled(!1),t.callbacks.processingDroppedFilesComplete(r,n.getElement())}function u(e){var n=new qq.Promise;return e.isFile?e.file((function(t){t.qqPath=l(e),o.push(t),n.success()}),(function(r){t.callbacks.dropLog("Problem parsing '"+e.fullPath+"'. FileError code "+r.code+".","error"),n.failure()})):e.isDirectory&&c(e).then((function(e){var t=e.length;qq.each(e,(function(e,r){u(r).done((function(){t-=1,0===t&&n.success()}))})),e.length||n.success()}),(function(r){t.callbacks.dropLog("Problem parsing '"+e.fullPath+"'. FileError code "+r.code+".","error"),n.failure()})),n}function l(e){var t=e.name,n=e.fullPath,r=n.lastIndexOf(t);return n=n.substr(0,r),"/"===n.charAt(0)&&(n=n.substr(1)),n}function c(e,t,n,r){var i=r||new qq.Promise,o=t||e.createReader();return o.readEntries((function(t){var r=n?n.concat(t):t;t.length?setTimeout((function(){c(e,o,r,i)}),0):i.success(r)}),i.failure),i}function f(e,n){var r=[],i=new qq.Promise;return t.callbacks.processingDroppedFiles(),n.dropDisabled(!0),e.files.length>1&&!t.allowMultipleItems?(t.callbacks.processingDroppedFilesComplete([]),t.callbacks.dropError("tooManyFilesError",""),n.dropDisabled(!1),i.failure()):(o=[],qq.isFolderDropSupported(e)?qq.each(e.items,(function(e,t){var n=t.webkitGetAsEntry();n&&(n.isFile?o.push(t.getAsFile()):r.push(u(n).done((function(){r.pop(),0===r.length&&i.success()}))))})):o=e.files,0===r.length&&i.success()),i}function d(e){var u=new qq.UploadDropZone({HIDE_ZONES_EVENT_NAME:n,element:e,onEnter:function(n){qq(e).addClass(t.classes.dropActive),n.stopPropagation()},onLeaveNotDescendants:function(n){qq(e).removeClass(t.classes.dropActive)},onDrop:function(e){f(e.dataTransfer,u).then((function(){s(o,u)}),(function(){t.callbacks.dropLog("Drop event DataTransfer parsing failed. No files will be uploaded.","error")}))}});return a.addDisposer((function(){u.dispose()})),qq(e).hasAttribute(r)&&qq(e).hide(),i.push(u),u}function h(e){var t;return qq.each(e.dataTransfer.types,(function(e,n){if("Files"===n)return t=!0,!1})),t}function p(e){return qq.safari()?e.x<0||e.y<0:0===e.x&&0===e.y}function m(){var e=t.dropZoneElements,i=function(){setTimeout((function(){qq.each(e,(function(e,n){qq(n).hasAttribute(r)&&qq(n).hide(),qq(n).removeClass(t.classes.dropActive)}))}),10)};qq.each(e,(function(t,n){var i=d(n);e.length&&qq.supportedFeatures.fileDrop&&a.attach(document,"dragenter",(function(t){!i.dropDisabled()&&h(t)&&qq.each(e,(function(e,t){t instanceof HTMLElement&&qq(t).hasAttribute(r)&&qq(t).css({display:"block"})}))}))})),a.attach(document,"dragleave",(function(e){p(e)&&i()})),a.attach(qq(document).children()[0],"mouseenter",(function(e){i()})),a.attach(document,"drop",(function(e){h(e)&&(e.preventDefault(),i())})),a.attach(document,n,i)}t={dropZoneElements:[],allowMultipleItems:!0,classes:{dropActive:null},callbacks:new qq.DragAndDrop.callbacks},qq.extend(t,e,!0),m(),qq.extend(this,{setupExtraDropzone:function(e){t.dropZoneElements.push(e),d(e)},removeDropzone:function(e){var n,r=t.dropZoneElements;for(n in r)if(r[n]===e)return r.splice(n,1)},dispose:function(){a.dispose(),qq.each(i,(function(e,t){t.dispose()}))}}),this._testing={},this._testing.extractDirectoryPath=l},qq.DragAndDrop.callbacks=function(){"use strict";return{processingDroppedFiles:function(){},processingDroppedFilesComplete:function(e,t){},dropError:function(e,t){qq.log("Drag & drop error code '"+e+" with these specifics: '"+t+"'","error")},dropLog:function(e,t){qq.log(e,t)}}},qq.UploadDropZone=function(e){"use strict";var t,n,r,i,o=new qq.DisposeSupport;function a(){return qq.safari()||qq.firefox()&&qq.windows()}function s(e){i||(a?o.attach(document,"dragover",(function(e){e.preventDefault()})):o.attach(document,"dragover",(function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="none",e.preventDefault())})),i=!0)}function u(e){if(!qq.supportedFeatures.fileDrop)return!1;var t,n=e.dataTransfer,r=qq.safari();return t=!(!qq.ie()||!qq.supportedFeatures.fileDrop)||"none"!==n.effectAllowed,n&&t&&(n.files&&n.files.length||!r&&n.types.contains&&n.types.contains("Files")||n.types.includes&&n.types.includes("Files"))}function l(e){return void 0!==e&&(r=e),r}function c(){var e;function n(){e=document.createEvent("Event"),e.initEvent(t.HIDE_ZONES_EVENT_NAME,!0,!0)}if(window.CustomEvent)try{e=new CustomEvent(t.HIDE_ZONES_EVENT_NAME)}catch(r){n()}else n();document.dispatchEvent(e)}function f(){o.attach(n,"dragover",(function(e){if(u(e)){var t=qq.ie()&&qq.supportedFeatures.fileDrop?null:e.dataTransfer.effectAllowed;e.dataTransfer.dropEffect="move"===t||"linkMove"===t?"move":"copy",e.stopPropagation(),e.preventDefault()}})),o.attach(n,"dragenter",(function(e){if(!l()){if(!u(e))return;t.onEnter(e)}})),o.attach(n,"dragleave",(function(e){if(u(e)){t.onLeave(e);var n=document.elementFromPoint(e.clientX,e.clientY);qq(this).contains(n)||t.onLeaveNotDescendants(e)}})),o.attach(n,"drop",(function(e){if(!l()){if(!u(e))return;e.preventDefault(),e.stopPropagation(),t.onDrop(e),c()}}))}t={element:null,onEnter:function(e){},onLeave:function(e){},onLeaveNotDescendants:function(e){},onDrop:function(e){}},qq.extend(t,e),n=t.element,s(),f(),qq.extend(this,{dropDisabled:function(e){return l(e)},dispose:function(){o.dispose()},getElement:function(){return n}}),this._testing={},this._testing.isValidFileDrag=u}})(window)},"8d74":function(e,t,n){var r=n("4cef"),i=/^\s+/;function o(e){return e?e.slice(0,r(e)+1).replace(i,""):e}e.exports=o},"8db5":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;(function(global){var qq=function(e){"use strict";return{hide:function(){return e.style.display="none",this},attach:function(t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n),function(){qq(e).detach(t,n)}},detach:function(t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.attachEvent&&e.detachEvent("on"+t,n),this},contains:function(t){return!!t&&(e===t||(e.contains?e.contains(t):!!(8&t.compareDocumentPosition(e))))},insertBefore:function(t){return t.parentNode.insertBefore(e,t),this},remove:function(){return e.parentNode.removeChild(e),this},css:function(t){if(null==e.style)throw new qq.Error("Can't apply style to node as it is not on the HTMLElement prototype chain!");return null!=t.opacity&&"string"!==typeof e.style.opacity&&"undefined"!==typeof e.filters&&(t.filter="alpha(opacity="+Math.round(100*t.opacity)+")"),qq.extend(e.style,t),this},hasClass:function(t,n){var r=new RegExp("(^| )"+t+"( |$)");return r.test(e.className)||!(!n||!r.test(e.parentNode.className))},addClass:function(t){return qq(e).hasClass(t)||(e.className+=" "+t),this},removeClass:function(t){var n=new RegExp("(^| )"+t+"( |$)");return e.className=e.className.replace(n," ").replace(/^\s+|\s+$/g,""),this},getByClass:function(t,n){var r,i=[];return n&&e.querySelector?e.querySelector("."+t):e.querySelectorAll?e.querySelectorAll("."+t):(r=e.getElementsByTagName("*"),qq.each(r,(function(e,n){qq(n).hasClass(t)&&i.push(n)})),n?i[0]:i)},getFirstByClass:function(t){return qq(e).getByClass(t,!0)},children:function(){var t=[],n=e.firstChild;while(n)1===n.nodeType&&t.push(n),n=n.nextSibling;return t},setText:function(t){return e.innerText=t,e.textContent=t,this},clearText:function(){return qq(e).setText("")},hasAttribute:function(t){var n;return e.hasAttribute?!!e.hasAttribute(t)&&null==/^false$/i.exec(e.getAttribute(t)):(n=e[t],void 0!==n&&null==/^false$/i.exec(n))}}};(function(){"use strict";qq.canvasToBlob=function(e,t,n){return qq.dataUriToBlob(e.toDataURL(t,n))},qq.dataUriToBlob=function(e){var t,n,r,i,o=function(e,t){var n=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,r=n&&new n;return r?(r.append(e),r.getBlob(t)):new Blob([e],{type:t})};return n=e.split(",")[0].indexOf("base64")>=0?atob(e.split(",")[1]):decodeURI(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],t=new ArrayBuffer(n.length),r=new Uint8Array(t),qq.each(n,(function(e,t){r[e]=t.charCodeAt(0)})),o(t,i)},qq.log=function(e,t){window.console&&(t&&"info"!==t?window.console[t]?window.console[t](e):window.console.log("<"+t+"> "+e):window.console.log(e))},qq.isObject=function(e){return e&&!e.nodeType&&"[object Object]"===Object.prototype.toString.call(e)},qq.isFunction=function(e){return"function"===typeof e},qq.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)||e&&window.ArrayBuffer&&e.buffer&&e.buffer.constructor===ArrayBuffer},qq.isItemList=function(e){return"[object DataTransferItemList]"===Object.prototype.toString.call(e)},qq.isNodeList=function(e){return"[object NodeList]"===Object.prototype.toString.call(e)||e.item&&e.namedItem},qq.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},qq.trimStr=function(e){return String.prototype.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},qq.format=function(e){var t=Array.prototype.slice.call(arguments,1),n=e,r=n.indexOf("{}");return qq.each(t,(function(e,t){var i=n.substring(0,r),o=n.substring(r+2);if(n=i+t+o,r=n.indexOf("{}",r+t.length),r<0)return!1})),n},qq.isFile=function(e){return window.File&&"[object File]"===Object.prototype.toString.call(e)},qq.isFileList=function(e){return window.FileList&&"[object FileList]"===Object.prototype.toString.call(e)},qq.isFileOrInput=function(e){return qq.isFile(e)||qq.isInput(e)},qq.isInput=function(e,t){var n=function(e){var n=e.toLowerCase();return t?"file"!==n:"file"===n};return!!(window.HTMLInputElement&&"[object HTMLInputElement]"===Object.prototype.toString.call(e)&&e.type&&n(e.type))||!!(e.tagName&&"input"===e.tagName.toLowerCase()&&e.type&&n(e.type))},qq.isBlob=function(e){if(window.Blob&&"[object Blob]"===Object.prototype.toString.call(e))return!0},qq.isXhrUploadSupported=function(){var e=document.createElement("input");return e.type="file",void 0!==e.multiple&&"undefined"!==typeof File&&"undefined"!==typeof FormData&&"undefined"!==typeof qq.createXhrInstance().upload},qq.createXhrInstance=function(){if(window.XMLHttpRequest)return new XMLHttpRequest;try{return new ActiveXObject("MSXML2.XMLHTTP.3.0")}catch(e){return qq.log("Neither XHR or ActiveX are supported!","error"),null}},qq.isFolderDropSupported=function(e){return e.items&&e.items.length>0&&e.items[0].webkitGetAsEntry},qq.isFileChunkingSupported=function(){return!qq.androidStock()&&qq.isXhrUploadSupported()&&(void 0!==File.prototype.slice||void 0!==File.prototype.webkitSlice||void 0!==File.prototype.mozSlice)},qq.sliceBlob=function(e,t,n){var r=e.slice||e.mozSlice||e.webkitSlice;return r.call(e,t,n)},qq.arrayBufferToHex=function(e){var t="",n=new Uint8Array(e);return qq.each(n,(function(e,n){var r=n.toString(16);r.length<2&&(r="0"+r),t+=r})),t},qq.readBlobToHex=function(e,t,n){var r=qq.sliceBlob(e,t,t+n),i=new FileReader,o=new qq.Promise;return i.onload=function(){o.success(qq.arrayBufferToHex(i.result))},i.onerror=o.failure,i.readAsArrayBuffer(r),o},qq.extend=function(e,t,n){return qq.each(t,(function(t,r){n&&qq.isObject(r)?(void 0===e[t]&&(e[t]={}),qq.extend(e[t],r,!0)):e[t]=r})),e},qq.override=function(e,t){var n={},r=t(n);return qq.each(r,(function(t,r){void 0!==e[t]&&(n[t]=e[t]),e[t]=r})),e},qq.indexOf=function(e,t,n){if(e.indexOf)return e.indexOf(t,n);n=n||0;var r=e.length;for(n<0&&(n+=r);n=0},qq.safari=function(){return void 0!==navigator.vendor&&-1!==navigator.vendor.indexOf("Apple")},qq.chrome=function(){return void 0!==navigator.vendor&&-1!==navigator.vendor.indexOf("Google")},qq.opera=function(){return void 0!==navigator.vendor&&-1!==navigator.vendor.indexOf("Opera")},qq.firefox=function(){return!qq.edge()&&!qq.ie11()&&-1!==navigator.userAgent.indexOf("Mozilla")&&void 0!==navigator.vendor&&""===navigator.vendor},qq.windows=function(){return"Win32"===navigator.platform},qq.android=function(){return-1!==navigator.userAgent.toLowerCase().indexOf("android")},qq.androidStock=function(){return qq.android()&&navigator.userAgent.toLowerCase().indexOf("chrome")<0},qq.ios6=function(){return qq.ios()&&-1!==navigator.userAgent.indexOf(" OS 6_")},qq.ios7=function(){return qq.ios()&&-1!==navigator.userAgent.indexOf(" OS 7_")},qq.ios8=function(){return qq.ios()&&-1!==navigator.userAgent.indexOf(" OS 8_")},qq.ios800=function(){return qq.ios()&&-1!==navigator.userAgent.indexOf(" OS 8_0 ")},qq.ios=function(){return-1!==navigator.userAgent.indexOf("iPad")||-1!==navigator.userAgent.indexOf("iPod")||-1!==navigator.userAgent.indexOf("iPhone")},qq.iosChrome=function(){return qq.ios()&&-1!==navigator.userAgent.indexOf("CriOS")},qq.iosSafari=function(){return qq.ios()&&!qq.iosChrome()&&-1!==navigator.userAgent.indexOf("Safari")},qq.iosSafariWebView=function(){return qq.ios()&&!qq.iosChrome()&&!qq.iosSafari()},qq.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},qq.toElement=function(){var e=document.createElement("div");return function(t){e.innerHTML=t;var n=e.firstChild;return e.removeChild(n),n}}(),qq.each=function(e,t){var n,r;if(e)if(window.Storage&&e.constructor===window.Storage){for(n=0;n0)return e.substr(t,e.length-t)},qq.getFilename=function(e){return qq.isInput(e)?e.value.replace(/.*(\/|\\)/,""):qq.isFile(e)&&null!==e.fileName&&void 0!==e.fileName?e.fileName:e.name},qq.DisposeSupport=function(){var e=[];return{dispose:function(){var t;do{t=e.shift(),t&&t()}while(t)},attach:function(){var e=arguments;this.addDisposer(qq(e[0]).attach.apply(this,Array.prototype.slice.call(arguments,1)))},addDisposer:function(t){e.push(t)}}}})(),function(){"use strict";__WEBPACK_AMD_DEFINE_RESULT__=function(){return qq}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}(),function(){"use strict";qq.Error=function(e){this.message="[Fine Uploader "+qq.version+"] "+e},qq.Error.prototype=new Error}(),qq.version="5.16.2",qq.supportedFeatures=function(){"use strict";var e,t,n,r,i,o,a,s,u,l,c,f,d,h,p;function m(){var e,t=!0;try{e=document.createElement("input"),e.type="file",qq(e).hide(),e.disabled&&(t=!1)}catch(n){t=!1}return t}function g(){return(qq.chrome()||qq.opera())&&void 0!==navigator.userAgent.match(/Chrome\/[1][4-9]|Chrome\/[2-9][0-9]/)}function v(){if(window.XMLHttpRequest){var e=qq.createXhrInstance();return void 0!==e.withCredentials}return!1}function y(){return void 0!==window.XDomainRequest}function b(){return!!v()||y()}function q(){return void 0!==document.createElement("input").webkitdirectory}function w(){try{return!!window.localStorage&&qq.isFunction(window.localStorage.setItem)}catch(e){return!1}}function _(){var e=document.createElement("span");return("draggable"in e||"ondragstart"in e&&"ondrop"in e)&&!qq.android()&&!qq.ios()}return e=m(),r=e&&qq.isXhrUploadSupported(),t=r&&!qq.androidStock(),n=r&&_(),i=n&&function(){var e=document.createElement("input");return e.type="file",!!("webkitdirectory"in(e||document.querySelectorAll("input[type=file]")[0]))}(),o=r&&qq.isFileChunkingSupported(),a=r&&o&&w(),s=r&&g(),u=e&&(void 0!==window.postMessage||r),c=v(),l=y(),f=b(),d=q(),h=r&&void 0!==window.FileReader,p=function(){return!!r&&(!qq.androidStock()&&!qq.iosChrome())}(),{ajaxUploading:r,blobUploading:t,canDetermineSize:r,chunking:o,deleteFileCors:f,deleteFileCorsXdr:l,deleteFileCorsXhr:c,dialogElement:!!window.HTMLDialogElement,fileDrop:n,folderDrop:i,folderSelection:d,imagePreviews:h,imageValidation:h,itemSizeValidation:r,pause:o,progressBar:p,resume:a,scaling:h&&t,tiffPreviews:qq.safari(),unlimitedScaledImageSize:!qq.ios(),uploading:e,uploadCors:u,uploadCustomHeaders:r,uploadNonMultipart:r,uploadViaPaste:s}}(),qq.isGenericPromise=function(e){"use strict";return!!(e&&e.then&&qq.isFunction(e.then))},qq.Promise=function(){"use strict";var e,t,n=[],r=[],i=[],o=0;qq.extend(this,{then:function(i,a){return 0===o?(i&&n.push(i),a&&r.push(a)):-1===o?a&&a.apply(null,t):i&&i.apply(null,e),this},done:function(n){return 0===o?i.push(n):n.apply(null,void 0===t?e:t),this},success:function(){return o=1,e=arguments,n.length&&qq.each(n,(function(t,n){n.apply(null,e)})),i.length&&qq.each(i,(function(t,n){n.apply(null,e)})),this},failure:function(){return o=-1,t=arguments,r.length&&qq.each(r,(function(e,n){n.apply(null,t)})),i.length&&qq.each(i,(function(e,n){n.apply(null,t)})),this}})},qq.BlobProxy=function(e,t){"use strict";qq.extend(this,{referenceBlob:e,create:function(){return t(e)}})},qq.UploadButton=function(e){"use strict";var t,n,r=this,i=new qq.DisposeSupport,o={acceptFiles:null,element:null,focusClass:"qq-upload-button-focus",folders:!1,hoverClass:"qq-upload-button-hover",ios8BrowserCrashWorkaround:!1,multiple:!1,name:"qqfile",onChange:function(e){},title:null};function a(){var e=document.createElement("input");return e.setAttribute(qq.UploadButton.BUTTON_ID_ATTR_NAME,n),e.setAttribute("title",o.title),r.setMultiple(o.multiple,e),o.folders&&qq.supportedFeatures.folderSelection&&e.setAttribute("webkitdirectory",""),o.acceptFiles&&e.setAttribute("accept",o.acceptFiles),e.setAttribute("type","file"),e.setAttribute("name",o.name),qq(e).css({position:"absolute",right:0,top:0,fontFamily:"Arial",fontSize:qq.ie()&&!qq.ie8()?"3500px":"118px",margin:0,padding:0,cursor:"pointer",opacity:0}),!qq.ie7()&&qq(e).css({height:"100%"}),o.element.appendChild(e),i.attach(e,"change",(function(){o.onChange(e)})),i.attach(e,"mouseover",(function(){qq(o.element).addClass(o.hoverClass)})),i.attach(e,"mouseout",(function(){qq(o.element).removeClass(o.hoverClass)})),i.attach(e,"focus",(function(){qq(o.element).addClass(o.focusClass)})),i.attach(e,"blur",(function(){qq(o.element).removeClass(o.focusClass)})),e}qq.extend(o,e),n=qq.getUniqueId(),qq(o.element).css({position:"relative",overflow:"hidden",direction:"ltr"}),qq.extend(this,{getInput:function(){return t},getButtonId:function(){return n},setMultiple:function(e,t){var n=t||this.getInput();o.ios8BrowserCrashWorkaround&&qq.ios8()&&(qq.iosChrome()||qq.iosSafariWebView())||e?n.setAttribute("multiple",""):n.removeAttribute("multiple")},setAcceptFiles:function(e){e!==o.acceptFiles&&t.setAttribute("accept",e)},reset:function(){t.parentNode&&qq(t).remove(),qq(o.element).removeClass(o.focusClass),t=null,t=a()}}),t=a()},qq.UploadButton.BUTTON_ID_ATTR_NAME="qq-button-id",qq.UploadData=function(e){"use strict";var t=[],n={},r={},i={},o={};function a(e){if(qq.isArray(e)){var n=[];return qq.each(e,(function(e,r){n.push(t[r])})),n}return t[e]}function s(e){if(qq.isArray(e)){var r=[];return qq.each(e,(function(e,i){r.push(t[n[i]])})),r}return t[n[e]]}function u(e){var n=[],i=[].concat(e);return qq.each(i,(function(e,i){var o=r[i];void 0!==o&&qq.each(o,(function(e,r){n.push(t[r])}))})),n}qq.extend(this,{addFile:function(a){var s=a.status||qq.status.SUBMITTING,u=t.push({name:a.name,originalName:a.name,uuid:a.uuid,size:null==a.size?-1:a.size,status:s,file:a.file})-1;return a.batchId&&(t[u].batchId=a.batchId,void 0===o[a.batchId]&&(o[a.batchId]=[]),o[a.batchId].push(u)),a.proxyGroupId&&(t[u].proxyGroupId=a.proxyGroupId,void 0===i[a.proxyGroupId]&&(i[a.proxyGroupId]=[]),i[a.proxyGroupId].push(u)),t[u].id=u,n[a.uuid]=u,void 0===r[s]&&(r[s]=[]),r[s].push(u),a.onBeforeStatusChange&&a.onBeforeStatusChange(u),e.onStatusChange(u,null,s),u},retrieve:function(e){return qq.isObject(e)&&t.length?void 0!==e.id?a(e.id):void 0!==e.uuid?s(e.uuid):e.status?u(e.status):void 0:qq.extend([],t,!0)},removeFileRef:function(e){var t=a(e);t&&delete t.file},reset:function(){t=[],n={},r={},o={}},setStatus:function(n,i){var o=t[n].status,a=qq.indexOf(r[o],n);r[o].splice(a,1),t[n].status=i,void 0===r[i]&&(r[i]=[]),r[i].push(n),e.onStatusChange(n,o,i)},uuidChanged:function(e,r){var i=t[e].uuid;t[e].uuid=r,n[r]=e,delete n[i]},updateName:function(e,n){t[e].name=n},updateSize:function(e,n){t[e].size=n},setParentId:function(e,n){t[e].parentId=n},getIdsInProxyGroup:function(e){var n=t[e].proxyGroupId;return n?i[n]:[]},getIdsInBatch:function(e){var n=t[e].batchId;return o[n]}})},qq.status={SUBMITTING:"submitting",SUBMITTED:"submitted",REJECTED:"rejected",QUEUED:"queued",CANCELED:"canceled",PAUSED:"paused",UPLOADING:"uploading",UPLOAD_FINALIZING:"upload finalizing",UPLOAD_RETRYING:"retrying upload",UPLOAD_SUCCESSFUL:"upload successful",UPLOAD_FAILED:"upload failed",DELETE_FAILED:"delete failed",DELETING:"deleting",DELETED:"deleted"},function(){"use strict";qq.basePublicApi={addBlobs:function(e,t,n){this.addFiles(e,t,n)},addInitialFiles:function(e){var t=this;qq.each(e,(function(e,n){t._addCannedFile(n)}))},addFiles:function(e,t,n){this._maybeHandleIos8SafariWorkaround();var r=0===this._storedIds.length?qq.getUniqueId():this._currentBatchId,i=qq.bind((function(e){this._handleNewFile({blob:e,name:this._options.blobs.defaultName},r,f)}),this),o=qq.bind((function(e){this._handleNewFile(e,r,f)}),this),a=qq.bind((function(e){var t=qq.canvasToBlob(e);this._handleNewFile({blob:t,name:this._options.blobs.defaultName+".png"},r,f)}),this),s=qq.bind((function(e){var t=e.quality&&e.quality/100,n=qq.canvasToBlob(e.canvas,e.type,t);this._handleNewFile({blob:n,name:e.name},r,f)}),this),u=qq.bind((function(e){if(qq.isInput(e)&&qq.supportedFeatures.ajaxUploading){var t=Array.prototype.slice.call(e.files),n=this;qq.each(t,(function(e,t){n._handleNewFile(t,r,f)}))}else this._handleNewFile(e,r,f)}),this),l=function(){qq.isFileList(e)&&(e=Array.prototype.slice.call(e)),e=[].concat(e)},c=this,f=[];this._currentBatchId=r,e&&(l(),qq.each(e,(function(e,t){qq.isFileOrInput(t)?u(t):qq.isBlob(t)?i(t):qq.isObject(t)?t.blob&&t.name?o(t):t.canvas&&t.name&&s(t):t.tagName&&"canvas"===t.tagName.toLowerCase()?a(t):c.log(t+" is not a valid file container! Ignoring!","warn")})),this.log("Received "+f.length+" files."),this._prepareItemsForUpload(f,t,n))},cancel:function(e){var t=this._uploadData.retrieve({id:e});t&&t.status===qq.status.UPLOAD_FINALIZING?this.log(qq.format("Ignoring cancel for file ID {} ({}). Finalizing upload.",e,this.getName(e)),"error"):this._handler.cancel(e)},cancelAll:function(){var e=[],t=this;qq.extend(e,this._storedIds),qq.each(e,(function(e,n){t.cancel(n)})),this._handler.cancelAll()},clearStoredFiles:function(){this._storedIds=[]},continueUpload:function(e){var t=this._uploadData.retrieve({id:e});return!(!qq.supportedFeatures.pause||!this._options.chunking.enabled)&&(t.status===qq.status.PAUSED?(this.log(qq.format("Paused file ID {} ({}) will be continued. Not paused.",e,this.getName(e))),this._uploadFile(e),!0):(this.log(qq.format("Ignoring continue for file ID {} ({}). Not paused.",e,this.getName(e)),"error"),!1))},deleteFile:function(e){return this._onSubmitDelete(e)},doesExist:function(e){return this._handler.isValid(e)},drawThumbnail:function(e,t,n,r,i){var o,a,s=new qq.Promise;return this._imageGenerator?(o=this._thumbnailUrls[e],a={customResizeFunction:i,maxSize:n>0?n:null,scale:n>0},!r&&qq.supportedFeatures.imagePreviews&&(o=this.getFile(e)),null==o?s.failure({container:t,error:"File or URL not found."}):this._imageGenerator.generate(o,t,a).then((function(e){s.success(e)}),(function(e,t){s.failure({container:e,error:t||"Problem generating thumbnail"})}))):s.failure({container:t,error:"Missing image generator module"}),s},getButton:function(e){return this._getButton(this._buttonIdsForFileIds[e])},getEndpoint:function(e){return this._endpointStore.get(e)},getFile:function(e){var t,n=this._handler.getFile(e);return n||(t=this._uploadData.retrieve({id:e}),t&&(n=t.file)),n||null},getInProgress:function(){return this._uploadData.retrieve({status:[qq.status.UPLOADING,qq.status.UPLOAD_RETRYING,qq.status.QUEUED]}).length},getName:function(e){return this._uploadData.retrieve({id:e}).name},getParentId:function(e){var t=this.getUploads({id:e}),n=null;return t&&void 0!==t.parentId&&(n=t.parentId),n},getResumableFilesData:function(){return this._handler.getResumableFilesData()},getSize:function(e){return this._uploadData.retrieve({id:e}).size},getNetUploads:function(){return this._netUploaded},getRemainingAllowedItems:function(){var e=this._currentItemLimit;return e>0?e-this._netUploadedOrQueued:null},getUploads:function(e){return this._uploadData.retrieve(e)},getUuid:function(e){return this._uploadData.retrieve({id:e}).uuid},isResumable:function(e){return this._handler.hasResumeRecord(e)},log:function(e,t){!this._options.debug||t&&"info"!==t?t&&"info"!==t&&qq.log("[Fine Uploader "+qq.version+"] "+e,t):qq.log("[Fine Uploader "+qq.version+"] "+e)},pauseUpload:function(e){var t=this._uploadData.retrieve({id:e});if(!qq.supportedFeatures.pause||!this._options.chunking.enabled)return!1;if(qq.indexOf([qq.status.UPLOADING,qq.status.UPLOAD_RETRYING],t.status)>=0){if(this._handler.pause(e))return this._uploadData.setStatus(e,qq.status.PAUSED),!0;this.log(qq.format("Unable to pause file ID {} ({}).",e,this.getName(e)),"error")}else this.log(qq.format("Ignoring pause for file ID {} ({}). Not in progress.",e,this.getName(e)),"error");return!1},removeFileRef:function(e){this._handler.expunge(e),this._uploadData.removeFileRef(e)},reset:function(){this.log("Resetting uploader..."),this._handler.reset(),this._storedIds=[],this._autoRetries=[],this._retryTimeouts=[],this._preventRetries=[],this._thumbnailUrls=[],qq.each(this._buttons,(function(e,t){t.reset()})),this._paramsStore.reset(),this._endpointStore.reset(),this._netUploadedOrQueued=0,this._netUploaded=0,this._uploadData.reset(),this._buttonIdsForFileIds=[],this._pasteHandler&&this._pasteHandler.reset(),this._options.session.refreshOnReset&&this._refreshSessionData(),this._succeededSinceLastAllComplete=[],this._failedSinceLastAllComplete=[],this._totalProgress&&this._totalProgress.reset(),this._customResumeDataStore.reset()},retry:function(e){return this._manualRetry(e)},scaleImage:function(e,t){var n=this;return qq.Scaler.prototype.scaleImage(e,t,{log:qq.bind(n.log,n),getFile:qq.bind(n.getFile,n),uploadData:n._uploadData})},setCustomHeaders:function(e,t){this._customHeadersStore.set(e,t)},setCustomResumeData:function(e,t){this._customResumeDataStore.set(t,e)},setDeleteFileCustomHeaders:function(e,t){this._deleteFileCustomHeadersStore.set(e,t)},setDeleteFileEndpoint:function(e,t){this._deleteFileEndpointStore.set(e,t)},setDeleteFileParams:function(e,t){this._deleteFileParamsStore.set(e,t)},setEndpoint:function(e,t){this._endpointStore.set(e,t)},setForm:function(e){this._updateFormSupportAndParams(e)},setItemLimit:function(e){this._currentItemLimit=e},setName:function(e,t){this._uploadData.updateName(e,t)},setParams:function(e,t){this._paramsStore.set(e,t)},setUuid:function(e,t){return this._uploadData.uuidChanged(e,t)},setStatus:function(e,t){var n=this.getUploads({id:e});if(!n)throw new qq.Error(e+" is not a valid file ID.");switch(t){case qq.status.DELETED:this._onDeleteComplete(e,null,!1);break;case qq.status.DELETE_FAILED:this._onDeleteComplete(e,null,!0);break;default:var r="Method setStatus called on '"+name+"' not implemented yet for "+t;throw this.log(r),new qq.Error(r)}},uploadStoredFiles:function(){0===this._storedIds.length?this._itemError("noFilesError"):this._uploadStoredFiles()}},qq.basePrivateApi={_addCannedFile:function(e){var t=this;return this._uploadData.addFile({uuid:e.uuid,name:e.name,size:e.size,status:qq.status.UPLOAD_SUCCESSFUL,onBeforeStatusChange:function(n){e.deleteFileEndpoint&&t.setDeleteFileEndpoint(e.deleteFileEndpoint,n),e.deleteFileParams&&t.setDeleteFileParams(e.deleteFileParams,n),e.thumbnailUrl&&(t._thumbnailUrls[n]=e.thumbnailUrl),t._netUploaded++,t._netUploadedOrQueued++}})},_annotateWithButtonId:function(e,t){qq.isFile(e)&&(e.qqButtonId=this._getButtonId(t))},_batchError:function(e){this._options.callbacks.onError(null,null,e,void 0)},_createDeleteHandler:function(){var e=this;return new qq.DeleteFileAjaxRequester({method:this._options.deleteFile.method.toUpperCase(),maxConnections:this._options.maxConnections,uuidParamName:this._options.request.uuidName,customHeaders:this._deleteFileCustomHeadersStore,paramsStore:this._deleteFileParamsStore,endpointStore:this._deleteFileEndpointStore,cors:this._options.cors,log:qq.bind(e.log,e),onDelete:function(t){e._onDelete(t),e._options.callbacks.onDelete(t)},onDeleteComplete:function(t,n,r){e._onDeleteComplete(t,n,r),e._options.callbacks.onDeleteComplete(t,n,r)}})},_createPasteHandler:function(){var e=this;return new qq.PasteSupport({targetElement:this._options.paste.targetElement,callbacks:{log:qq.bind(e.log,e),pasteReceived:function(t){e._handleCheckedCallback({name:"onPasteReceived",callback:qq.bind(e._options.callbacks.onPasteReceived,e,t),onSuccess:qq.bind(e._handlePasteSuccess,e,t),identifier:"pasted image"})}}})},_createStore:function(e,t){var n={},r=e,i={},o=t,a=function(e){return qq.isObject(e)?qq.extend({},e):e},s=function(){return qq.isFunction(o)?o():o},u=function(e,t){o&&qq.isObject(t)&&qq.extend(t,s()),i[e]&&qq.extend(t,i[e])};return{set:function(e,t){null==t?(n={},r=a(e)):n[t]=a(e)},get:function(e){var t;return t=null!=e&&n[e]?n[e]:a(r),u(e,t),a(t)},addReadOnly:function(e,t){qq.isObject(n)&&(null===e?qq.isFunction(t)?o=t:(o=o||{},qq.extend(o,t)):(i[e]=i[e]||{},qq.extend(i[e],t)))},remove:function(e){return delete n[e]},reset:function(){n={},i={},r=e}}},_createUploadDataTracker:function(){var e=this;return new qq.UploadData({getName:function(t){return e.getName(t)},getUuid:function(t){return e.getUuid(t)},getSize:function(t){return e.getSize(t)},onStatusChange:function(t,n,r){e._onUploadStatusChange(t,n,r),e._options.callbacks.onStatusChange(t,n,r),e._maybeAllComplete(t,r),e._totalProgress&&setTimeout((function(){e._totalProgress.onStatusChange(t,n,r)}),0)}})},_createUploadButton:function(e){var t,n=this,r=e.accept||this._options.validation.acceptFiles,i=e.allowedExtensions||this._options.validation.allowedExtensions;function o(){return!!qq.supportedFeatures.ajaxUploading&&(!(n._options.workarounds.iosEmptyVideos&&qq.ios()&&!qq.ios6()&&n._isAllowedExtension(i,".mov"))&&(void 0===e.multiple?n._options.multiple:e.multiple))}return t=new qq.UploadButton({acceptFiles:r,element:e.element,focusClass:this._options.classes.buttonFocus,folders:e.folders,hoverClass:this._options.classes.buttonHover,ios8BrowserCrashWorkaround:this._options.workarounds.ios8BrowserCrash,multiple:o(),name:this._options.request.inputName,onChange:function(e){n._onInputChange(e)},title:null==e.title?this._options.text.fileInputTitle:e.title}),this._disposeSupport.addDisposer((function(){t.dispose()})),n._buttons.push(t),t},_createUploadHandler:function(e,t){var n=this,r={},i={debug:this._options.debug,maxConnections:this._options.maxConnections,cors:this._options.cors,paramsStore:this._paramsStore,endpointStore:this._endpointStore,chunking:this._options.chunking,resume:this._options.resume,blobs:this._options.blobs,log:qq.bind(n.log,n),preventRetryParam:this._options.retry.preventRetryResponseProperty,onProgress:function(e,t,i,o){i<0||o<0||(r[e]&&r[e].loaded===i&&r[e].total===o||(n._onProgress(e,t,i,o),n._options.callbacks.onProgress(e,t,i,o)),r[e]={loaded:i,total:o})},onComplete:function(e,t,i,o){delete r[e];var a,s=n.getUploads({id:e}).status;s!==qq.status.UPLOAD_SUCCESSFUL&&s!==qq.status.UPLOAD_FAILED&&(a=n._onComplete(e,t,i,o),a instanceof qq.Promise?a.done((function(){n._options.callbacks.onComplete(e,t,i,o)})):n._options.callbacks.onComplete(e,t,i,o))},onCancel:function(e,t,r){var i=new qq.Promise;return n._handleCheckedCallback({name:"onCancel",callback:qq.bind(n._options.callbacks.onCancel,n,e,t),onFailure:i.failure,onSuccess:function(){r.then((function(){n._onCancel(e,t)})),i.success()},identifier:e}),i},onUploadPrep:qq.bind(this._onUploadPrep,this),onUpload:function(e,t){n._onUpload(e,t);var r=n._options.callbacks.onUpload(e,t);return qq.isGenericPromise(r)?(n.log(qq.format("onUpload for {} returned a Promise - waiting for resolution.",e)),r):(new qq.Promise).success()},onUploadChunk:function(e,t,r){n._onUploadChunk(e,r);var i=n._options.callbacks.onUploadChunk(e,t,r);return qq.isGenericPromise(i)?(n.log(qq.format("onUploadChunk for {}.{} returned a Promise - waiting for resolution.",e,r.partIndex)),i):(new qq.Promise).success()},onUploadChunkSuccess:function(e,t,r,i){n._onUploadChunkSuccess(e,t),n._options.callbacks.onUploadChunkSuccess.apply(n,arguments)},onResume:function(e,t,r,i){return n._options.callbacks.onResume(e,t,r,i)},onAutoRetry:function(e,t,r,i){return n._onAutoRetry.apply(n,arguments)},onUuidChanged:function(e,t){n.log("Server requested UUID change from '"+n.getUuid(e)+"' to '"+t+"'"),n.setUuid(e,t)},getName:qq.bind(n.getName,n),getUuid:qq.bind(n.getUuid,n),getSize:qq.bind(n.getSize,n),setSize:qq.bind(n._setSize,n),getDataByUuid:function(e){return n.getUploads({uuid:e})},isQueued:function(e){var t=n.getUploads({id:e}).status;return t===qq.status.QUEUED||t===qq.status.SUBMITTED||t===qq.status.UPLOAD_RETRYING||t===qq.status.PAUSED},getIdsInProxyGroup:n._uploadData.getIdsInProxyGroup,getIdsInBatch:n._uploadData.getIdsInBatch,isInProgress:function(e){return n.getUploads({id:e}).status===qq.status.UPLOADING},getCustomResumeData:qq.bind(n._getCustomResumeData,n),setStatus:function(e,t){n._uploadData.setStatus(e,t)}};return qq.each(this._options.request,(function(e,t){i[e]=t})),i.customHeaders=this._customHeadersStore,e&&qq.each(e,(function(e,t){i[e]=t})),new qq.UploadHandlerController(i,t)},_fileOrBlobRejected:function(e){this._netUploadedOrQueued--,this._uploadData.setStatus(e,qq.status.REJECTED)},_formatSize:function(e){if(0===e)return e+this._options.text.sizeSymbols[0];var t=-1;do{e/=1e3,t++}while(e>999);return Math.max(e,.1).toFixed(1)+this._options.text.sizeSymbols[t]},_generateExtraButtonSpecs:function(){var e=this;this._extraButtonSpecs={},qq.each(this._options.extraButtons,(function(t,n){var r=n.multiple,i=qq.extend({},e._options.validation,!0),o=qq.extend({},n);void 0===r&&(r=e._options.multiple),o.validation&&qq.extend(i,n.validation,!0),qq.extend(o,{multiple:r,validation:i},!0),e._initExtraButton(o)}))},_getButton:function(e){var t=this._extraButtonSpecs[e];return t?t.element:e===this._defaultButtonId?this._options.button:void 0},_getButtonId:function(e){var t,n,r=e;if(r instanceof qq.BlobProxy&&(r=r.referenceBlob),r&&!qq.isBlob(r)){if(qq.isFile(r))return r.qqButtonId;if("input"===r.tagName.toLowerCase()&&"file"===r.type.toLowerCase())return r.getAttribute(qq.UploadButton.BUTTON_ID_ATTR_NAME);if(t=r.getElementsByTagName("input"),qq.each(t,(function(e,t){if("file"===t.getAttribute("type"))return n=t,!1})),n)return n.getAttribute(qq.UploadButton.BUTTON_ID_ATTR_NAME)}},_getCustomResumeData:function(e){return this._customResumeDataStore.get(e)},_getNotFinished:function(){return this._uploadData.retrieve({status:[qq.status.UPLOADING,qq.status.UPLOAD_RETRYING,qq.status.QUEUED,qq.status.SUBMITTING,qq.status.SUBMITTED,qq.status.PAUSED]}).length},_getValidationBase:function(e){var t=this._extraButtonSpecs[e];return t?t.validation:this._options.validation},_getValidationDescriptor:function(e){return e.file instanceof qq.BlobProxy?{name:qq.getFilename(e.file.referenceBlob),size:e.file.referenceBlob.size}:{name:this.getUploads({id:e.id}).name,size:this.getUploads({id:e.id}).size}},_getValidationDescriptors:function(e){var t=this,n=[];return qq.each(e,(function(e,r){n.push(t._getValidationDescriptor(r))})),n},_handleCameraAccess:function(){if(this._options.camera.ios&&qq.ios()){var e="image/*;capture=camera",t=this._options.camera.button,n=t?this._getButtonId(t):this._defaultButtonId,r=this._options;n&&n!==this._defaultButtonId&&(r=this._extraButtonSpecs[n]),r.multiple=!1,null===r.validation.acceptFiles?r.validation.acceptFiles=e:r.validation.acceptFiles+=","+e,qq.each(this._buttons,(function(e,t){if(t.getButtonId()===n)return t.setMultiple(r.multiple),t.setAcceptFiles(r.acceptFiles),!1}))}},_handleCheckedCallback:function(e){var t=this,n=e.callback();return qq.isGenericPromise(n)?(this.log(e.name+" - waiting for "+e.name+" promise to be fulfilled for "+e.identifier),n.then((function(n){t.log(e.name+" promise success for "+e.identifier),e.onSuccess(n)}),(function(){e.onFailure?(t.log(e.name+" promise failure for "+e.identifier),e.onFailure()):t.log(e.name+" promise failure for "+e.identifier)}))):(!1!==n?e.onSuccess(n):e.onFailure?(this.log(e.name+" - return value was 'false' for "+e.identifier+". Invoking failure callback."),e.onFailure()):this.log(e.name+" - return value was 'false' for "+e.identifier+". Will not proceed."),n)},_handleNewFile:function(e,t,n){var r=this,i=qq.getUniqueId(),o=-1,a=qq.getFilename(e),s=e.blob||e,u=this._customNewFileHandler?this._customNewFileHandler:qq.bind(r._handleNewFileGeneric,r);!qq.isInput(s)&&s.size>=0&&(o=s.size),u(s,a,i,o,n,t,this._options.request.uuidName,{uploadData:r._uploadData,paramsStore:r._paramsStore,addFileToHandler:function(e,t){r._handler.add(e,t),r._netUploadedOrQueued++,r._trackButton(e)}})},_handleNewFileGeneric:function(e,t,n,r,i,o){var a=this._uploadData.addFile({uuid:n,name:t,size:r,batchId:o,file:e});this._handler.add(a,e),this._trackButton(a),this._netUploadedOrQueued++,i.push({id:a,file:e})},_handlePasteSuccess:function(e,t){var n=e.type.split("/")[1],r=t;null==r&&(r=this._options.paste.defaultName),r+="."+n,this.addFiles({name:r,blob:e})},_handleDeleteSuccess:function(e){if(this.getUploads({id:e}).status!==qq.status.DELETED){var t=this.getName(e);this._netUploadedOrQueued--,this._netUploaded--,this._handler.expunge(e),this._uploadData.setStatus(e,qq.status.DELETED),this.log("Delete request for '"+t+"' has succeeded.")}},_handleDeleteFailed:function(e,t){var n=this.getName(e);this._uploadData.setStatus(e,qq.status.DELETE_FAILED),this.log("Delete request for '"+n+"' has failed.","error"),t&&void 0!==t.withCredentials?this._options.callbacks.onError(e,n,"Delete request failed with response code "+t.status,t):this._options.callbacks.onError(e,n,"Delete request failed",t)},_initExtraButton:function(e){var t=this._createUploadButton({accept:e.validation.acceptFiles,allowedExtensions:e.validation.allowedExtensions,element:e.element,folders:e.folders,multiple:e.multiple,title:e.fileInputTitle});this._extraButtonSpecs[t.getButtonId()]=e},_initFormSupportAndParams:function(){this._formSupport=qq.FormSupport&&new qq.FormSupport(this._options.form,qq.bind(this.uploadStoredFiles,this),qq.bind(this.log,this)),this._formSupport&&this._formSupport.attachedToForm?(this._paramsStore=this._createStore(this._options.request.params,this._formSupport.getFormInputsAsObject),this._options.autoUpload=this._formSupport.newAutoUpload,this._formSupport.newEndpoint&&(this._options.request.endpoint=this._formSupport.newEndpoint)):this._paramsStore=this._createStore(this._options.request.params)},_isDeletePossible:function(){return!(!qq.DeleteFileAjaxRequester||!this._options.deleteFile.enabled)&&(!this._options.cors.expected||(!!qq.supportedFeatures.deleteFileCorsXhr||!(!qq.supportedFeatures.deleteFileCorsXdr||!this._options.cors.allowXdr)))},_isAllowedExtension:function(e,t){var n=!1;return!e.length||(qq.each(e,(function(e,r){if(qq.isString(r)){var i=new RegExp("\\."+r+"$","i");if(null!=t.match(i))return n=!0,!1}})),n)},_itemError:function(e,t,n){var r,i,o=this._options.messages[e],a=[],s=[].concat(t),u=s[0],l=this._getButtonId(n),c=this._getValidationBase(l);function f(e,t){o=o.replace(e,t)}return qq.each(c.allowedExtensions,(function(e,t){qq.isString(t)&&a.push(t)})),r=a.join(", ").toLowerCase(),f("{file}",this._options.formatFileName(u)),f("{extensions}",r),f("{sizeLimit}",this._formatSize(c.sizeLimit)),f("{minSizeLimit}",this._formatSize(c.minSizeLimit)),i=o.match(/(\{\w+\})/g),null!==i&&qq.each(i,(function(e,t){f(t,s[e])})),this._options.callbacks.onError(null,u,o,void 0),o},_manualRetry:function(e,t){if(this._onBeforeManualRetry(e))return this._netUploadedOrQueued++,this._uploadData.setStatus(e,qq.status.UPLOAD_RETRYING),t?t(e):this._handler.retry(e),!0},_maybeAllComplete:function(e,t){var n=this,r=this._getNotFinished();t===qq.status.UPLOAD_SUCCESSFUL?this._succeededSinceLastAllComplete.push(e):t===qq.status.UPLOAD_FAILED&&this._failedSinceLastAllComplete.push(e),0===r&&(this._succeededSinceLastAllComplete.length||this._failedSinceLastAllComplete.length)&&setTimeout((function(){n._onAllComplete(n._succeededSinceLastAllComplete,n._failedSinceLastAllComplete)}),0)},_maybeHandleIos8SafariWorkaround:function(){var e=this;if(this._options.workarounds.ios8SafariUploads&&qq.ios800()&&qq.iosSafari())throw setTimeout((function(){window.alert(e._options.messages.unsupportedBrowserIos8Safari)}),0),new qq.Error(this._options.messages.unsupportedBrowserIos8Safari)},_maybeParseAndSendUploadError:function(e,t,n,r){if(!n.success)if(r&&200!==r.status&&!n.error)this._options.callbacks.onError(e,t,"XHR returned response code "+r.status,r);else{var i=n.error?n.error:this._options.text.defaultResponseError;this._options.callbacks.onError(e,t,i,r)}},_maybeProcessNextItemAfterOnValidateCallback:function(e,t,n,r,i){var o=this;if(t.length>n)if(e||!this._options.validation.stopOnFirstInvalidFile)setTimeout((function(){var e=o._getValidationDescriptor(t[n]),a=o._getButtonId(t[n].file),s=o._getButton(a);o._handleCheckedCallback({name:"onValidate",callback:qq.bind(o._options.callbacks.onValidate,o,e,s),onSuccess:qq.bind(o._onValidateCallbackSuccess,o,t,n,r,i),onFailure:qq.bind(o._onValidateCallbackFailure,o,t,n,r,i),identifier:"Item '"+e.name+"', size: "+e.size})}),0);else if(!e)for(;n0&&this._netUploadedOrQueued+1>n?(this._itemError("retryFailTooManyItems"),!1):(this.log("Retrying upload for '"+t+"' (id: "+e+")..."),!0))):(this.log("'"+e+"' is not a valid file ID","error"),!1)},_onCancel:function(e,t){this._netUploadedOrQueued--,clearTimeout(this._retryTimeouts[e]);var n=qq.indexOf(this._storedIds,e);!this._options.autoUpload&&n>=0&&this._storedIds.splice(n,1),this._uploadData.setStatus(e,qq.status.CANCELED)},_onComplete:function(e,t,n,r){return n.success?(n.thumbnailUrl&&(this._thumbnailUrls[e]=n.thumbnailUrl),this._netUploaded++,this._uploadData.setStatus(e,qq.status.UPLOAD_SUCCESSFUL)):(this._netUploadedOrQueued--,this._uploadData.setStatus(e,qq.status.UPLOAD_FAILED),!0===n[this._options.retry.preventRetryResponseProperty]&&(this._preventRetries[e]=!0)),this._maybeParseAndSendUploadError(e,t,n,r),!!n.success},_onDelete:function(e){this._uploadData.setStatus(e,qq.status.DELETING)},_onDeleteComplete:function(e,t,n){this.getName(e);n?this._handleDeleteFailed(e,t):this._handleDeleteSuccess(e)},_onInputChange:function(e){var t;if(qq.supportedFeatures.ajaxUploading){for(t=0;t0&&this.addFiles(e);qq.each(this._buttons,(function(e,t){t.reset()}))},_onProgress:function(e,t,n,r){this._totalProgress&&this._totalProgress.onIndividualProgress(e,n,r)},_onSubmit:function(e,t){},_onSubmitCallbackSuccess:function(e,t){this._onSubmit.apply(this,arguments),this._uploadData.setStatus(e,qq.status.SUBMITTED),this._onSubmitted.apply(this,arguments),this._options.autoUpload?(this._options.callbacks.onSubmitted.apply(this,arguments),this._uploadFile(e)):(this._storeForLater(e),this._options.callbacks.onSubmitted.apply(this,arguments))},_onSubmitDelete:function(e,t,n){var r,i=this.getUuid(e);return t&&(r=qq.bind(t,this,e,i,n)),this._isDeletePossible()?(this._handleCheckedCallback({name:"onSubmitDelete",callback:qq.bind(this._options.callbacks.onSubmitDelete,this,e),onSuccess:r||qq.bind(this._deleteHandler.sendDelete,this,e,i,n),identifier:e}),!0):(this.log("Delete request ignored for ID "+e+", delete feature is disabled or request not possible due to CORS on a user agent that does not support pre-flighting.","warn"),!1)},_onSubmitted:function(e){},_onTotalProgress:function(e,t){this._options.callbacks.onTotalProgress(e,t)},_onUploadPrep:function(e){},_onUpload:function(e,t){this._uploadData.setStatus(e,qq.status.UPLOADING)},_onUploadChunk:function(e,t){},_onUploadChunkSuccess:function(e,t){!this._preventRetries[e]&&this._options.retry.enableAuto&&(this._autoRetries[e]=0)},_onUploadStatusChange:function(e,t,n){n===qq.status.PAUSED&&clearTimeout(this._retryTimeouts[e])},_onValidateBatchCallbackFailure:function(e){var t=this;qq.each(e,(function(e,n){t._fileOrBlobRejected(n.id)}))},_onValidateBatchCallbackSuccess:function(e,t,n,r,i){var o,a=this._currentItemLimit,s=this._netUploadedOrQueued;0===a||s<=a?t.length>0?this._handleCheckedCallback({name:"onValidate",callback:qq.bind(this._options.callbacks.onValidate,this,e[0],i),onSuccess:qq.bind(this._onValidateCallbackSuccess,this,t,0,n,r),onFailure:qq.bind(this._onValidateCallbackFailure,this,t,0,n,r),identifier:"Item '"+t[0].file.name+"', size: "+t[0].file.size}):this._itemError("noFilesError"):(this._onValidateBatchCallbackFailure(t),o=this._options.messages.tooManyItemsError.replace(/\{netItems\}/g,s).replace(/\{itemLimit\}/g,a),this._batchError(o))},_onValidateCallbackFailure:function(e,t,n,r){var i=t+1;this._fileOrBlobRejected(e[t].id,e[t].file.name),this._maybeProcessNextItemAfterOnValidateCallback(!1,e,i,n,r)},_onValidateCallbackSuccess:function(e,t,n,r){var i=this,o=t+1,a=this._getValidationDescriptor(e[t]);this._validateFileOrBlobData(e[t],a).then((function(){i._upload(e[t].id,n,r),i._maybeProcessNextItemAfterOnValidateCallback(!0,e,o,n,r)}),(function(){i._maybeProcessNextItemAfterOnValidateCallback(!1,e,o,n,r)}))},_prepareItemsForUpload:function(e,t,n){if(0!==e.length){var r=this._getValidationDescriptors(e),i=this._getButtonId(e[0].file),o=this._getButton(i);this._handleCheckedCallback({name:"onValidateBatch",callback:qq.bind(this._options.callbacks.onValidateBatch,this,r,o),onSuccess:qq.bind(this._onValidateBatchCallbackSuccess,this,r,e,t,n,o),onFailure:qq.bind(this._onValidateBatchCallbackFailure,this,e),identifier:"batch validation"})}else this._itemError("noFilesError")},_preventLeaveInProgress:function(){var e=this;this._disposeSupport.attach(window,"beforeunload",(function(t){if(e.getInProgress())return t=t||window.event,t.returnValue=e._options.messages.onLeave,e._options.messages.onLeave}))},_refreshSessionData:function(){var e=this,t=this._options.session;qq.Session&&null!=this._options.session.endpoint&&(this._session||(qq.extend(t,{cors:this._options.cors}),t.log=qq.bind(this.log,this),t.addFileRecord=qq.bind(this._addCannedFile,this),this._session=new qq.Session(t)),setTimeout((function(){e._session.refresh().then((function(t,n){e._sessionRequestComplete(),e._options.callbacks.onSessionRequestComplete(t,!0,n)}),(function(t,n){e._options.callbacks.onSessionRequestComplete(t,!1,n)}))}),0))},_sessionRequestComplete:function(){},_setSize:function(e,t){this._uploadData.updateSize(e,t),this._totalProgress&&this._totalProgress.onNewSize(e)},_shouldAutoRetry:function(e){var t=this._uploadData.retrieve({id:e});return!!(!this._preventRetries[e]&&this._options.retry.enableAuto&&t.status!==qq.status.PAUSED&&(void 0===this._autoRetries[e]&&(this._autoRetries[e]=0),this._autoRetries[e]0&&s.sizeLimit&&o>s.sizeLimit?(this._itemError("sizeError",i,r),u.failure()):o>0&&o=0}function s(e){var t=!1;return qq.each(t,(function(e,n){if(qq.indexOf(["Accept","Accept-Language","Content-Language","Content-Type"],n)<0)return t=!0,!1})),t}function u(e){return o.cors.expected&&void 0===e.withCredentials}function l(){var e;return(window.XMLHttpRequest||window.ActiveXObject)&&(e=qq.createXhrInstance(),void 0===e.withCredentials&&(e=new XDomainRequest,e.onload=function(){},e.onerror=function(){},e.ontimeout=function(){},e.onprogress=function(){})),e}function c(e,t){var n=i[e]&&i[e].xhr;return n||(n=t||(o.cors.expected?l():qq.createXhrInstance()),i[e].xhr=n),n}function f(e){var t,n=qq.indexOf(r,e),a=o.maxConnections;delete i[e],r.splice(n,1),r.length>=a&&n=0?s.send(qq.obj2url(f,"")):f&&o.contentType&&o.contentType.toLowerCase().indexOf("application/json")>=0?s.send(JSON.stringify(f)):s.send(f),s}function m(e,t,r){var a=o.endpointStore.get(e),s=i[e].addToPath;return void 0!=s&&(a+="/"+s),n&&t&&(a=qq.obj2url(t,a)),r&&(a=qq.obj2url(r,a)),a}function g(e){return function(){4===c(e).readyState&&d(e)}}function v(e){var t=o.onProgress;t&&(c(e).upload.onprogress=function(n){n.lengthComputable&&t(e,n.loaded,n.total)})}function y(e){return function(){d(e)}}function b(e){return function(){d(e,!0)}}function q(e){var t=c(e),n=o.customHeaders,r=i[e].additionalHeaders||{},l=o.method,f={};u(t)||(o.acceptHeader&&t.setRequestHeader("Accept",o.acceptHeader),o.allowXRequestedWithAndCacheControl&&(o.cors.expected&&a()&&!s(n)||(t.setRequestHeader("X-Requested-With","XMLHttpRequest"),t.setRequestHeader("Cache-Control","no-cache"))),!o.contentType||"POST"!==l&&"PUT"!==l||t.setRequestHeader("Content-Type",o.contentType),qq.extend(f,qq.isFunction(n)?n(e):n),qq.extend(f,r),qq.each(f,(function(e,n){t.setRequestHeader(e,n)})))}function w(e){return qq.indexOf(o.successfulResponseCodes[o.method],e)>=0}function _(e,t,n,a,s,u,l){i[e]={addToPath:n,additionalParams:a,additionalQueryParams:s,additionalHeaders:u,payload:l};var c=r.push(e);if(c<=o.maxConnections)return p(e,t)}n="GET"===o.method||"DELETE"===o.method,qq.extend(this,{initTransport:function(e){var t,n,r,i,a,s;return{withPath:function(e){return t=e,this},withParams:function(e){return n=e,this},withQueryParams:function(e){return s=e,this},withHeaders:function(e){return r=e,this},withPayload:function(e){return i=e,this},withCacheBuster:function(){return a=!0,this},send:function(u){return a&&qq.indexOf(["GET","DELETE"],o.method)>=0&&(n.qqtimestamp=(new Date).getTime()),_(e,u,t,n,s,r,i)}}},canceled:function(e){f(e)}})},qq.UploadHandler=function(e){"use strict";var t=e.proxy,n={},r=t.onCancel,i=t.getName;qq.extend(this,{add:function(e,t){n[e]=t,n[e].temp={}},cancel:function(e){var t=this,o=new qq.Promise,a=r(e,i(e),o);a.then((function(){t.isValid(e)&&(n[e].canceled=!0,t.expunge(e)),o.success()}))},expunge:function(e){delete n[e]},getThirdPartyFileId:function(e){return n[e].key},isValid:function(e){return void 0!==n[e]},reset:function(){n={}},_getFileState:function(e){return n[e]},_setThirdPartyFileId:function(e,t){n[e].key=t},_wasCanceled:function(e){return!!n[e].canceled}})},qq.UploadHandlerController=function(e,t){"use strict";var n,r,i,o=this,a=!1,s=!1,u={paramsStore:{},maxConnections:3,chunking:{enabled:!1,multiple:{enabled:!1}},log:function(e,t){},onProgress:function(e,t,n,r){},onComplete:function(e,t,n,r){},onCancel:function(e,t){},onUploadPrep:function(e){},onUpload:function(e,t){},onUploadChunk:function(e,t,n){},onUploadChunkSuccess:function(e,t,n,r){},onAutoRetry:function(e,t,n,r){},onResume:function(e,t,n,r){},onUuidChanged:function(e,t){},getName:function(e){},setSize:function(e,t){},isQueued:function(e){},getIdsInProxyGroup:function(e){},getIdsInBatch:function(e){},isInProgress:function(e){}},l={done:function(e,t,n,r){var o=i._getChunkData(e,t);i._getFileState(e).attemptingResume=!1,delete i._getFileState(e).temp.chunkProgress[t],i._getFileState(e).loaded+=o.size,u.onUploadChunkSuccess(e,i._getChunkDataForCallback(o),n,r)},finalize:function(e){var t=u.getSize(e),n=u.getName(e);r("All chunks have been uploaded for "+e+" - finalizing...."),i.finalizeChunks(e).then((function(o,a){r("Finalize successful for "+e);var s=d.normalizeResponse(o,!0);u.onProgress(e,n,t,t),i._maybeDeletePersistedChunkData(e),d.cleanup(e,s,a)}),(function(t,i){var o=d.normalizeResponse(t,!1);r("Problem finalizing chunks for file ID "+e+" - "+o.error,"error"),(o.reset||i&&u.chunking.success.resetOnStatus.indexOf(i.status)>=0)&&l.reset(e),u.onAutoRetry(e,n,o,i)||d.cleanup(e,o,i)}))},handleFailure:function(e,t,n,o){var a=u.getName(t);r("Chunked upload request failed for "+t+", chunk "+e),i.clearCachedChunk(t,e);var f,h=d.normalizeResponse(n,!1);if(h.reset)l.reset(t);else{var p=i._getFileState(t).chunking.inProgress;f=p?qq.indexOf(p,e):-1,f>=0&&(i._getFileState(t).chunking.inProgress.splice(f,1),i._getFileState(t).chunking.remaining.unshift(e))}i._getFileState(t).temp.ignoreFailure||(s&&(i._getFileState(t).temp.ignoreFailure=!0,r(qq.format("Going to attempt to abort these chunks: {}. These are currently in-progress: {}.",JSON.stringify(Object.keys(i._getXhrs(t))),JSON.stringify(i._getFileState(t).chunking.inProgress))),qq.each(i._getXhrs(t),(function(e,n){r(qq.format("Attempting to abort file {}.{}. XHR readyState {}. ",t,e,n.readyState)),n.abort(),n._cancelled=!0})),i.moveInProgressToRemaining(t),c.free(t,!0)),u.onAutoRetry(t,a,h,o)||d.cleanup(t,h,o))},hasMoreParts:function(e){return!!i._getFileState(e).chunking.remaining.length},nextPart:function(e){var t=i._getFileState(e).chunking.remaining.shift();return t>=i._getTotalChunks(e)&&(t=null),t},reset:function(e){r("Server or callback has ordered chunking effort to be restarted on next attempt for item ID "+e,"error"),i._maybeDeletePersistedChunkData(e),i.reevaluateChunking(e),i._getFileState(e).loaded=0,i._getFileState(e).attemptingResume=!1},sendNext:function(e){var t=u.getSize(e),n=u.getName(e),o=l.nextPart(e),a=i._getChunkData(e,o),f=i._getFileState(e),h=f.attemptingResume,p=f.chunking.inProgress||[];if(null==f.loaded&&(f.loaded=0),h&&!1===u.onResume(e,n,a,f.customResumeData)&&(l.reset(e),o=l.nextPart(e),a=i._getChunkData(e,o),h=!1),null==o&&0===p.length)l.finalize(e);else{p.push(o),i._getFileState(e).chunking.inProgress=p,s&&c.open(e,o),s&&c.available()&&i._getFileState(e).chunking.remaining.length&&l.sendNext(e),0===a.blob.size&&(r(qq.format("Chunk {} for file {} will not be uploaded, zero sized chunk.",o,e),"error"),l.handleFailure(o,e,"File is no longer available",null));var m=u.onUploadChunk(e,n,i._getChunkDataForCallback(a));m.then((function(n){if(u.isInProgress(e)){r(qq.format("Sending chunked upload request for item {}.{}, bytes {}-{} of {}.",e,o,a.start+1,a.end,t));var s={chunkIdx:o,id:e,overrides:n,resuming:h};i.uploadChunk(s).then((function(t,n){r("Chunked upload request succeeded for "+e+", chunk "+o),i.clearCachedChunk(e,o);var a=i._getFileState(e).chunking.inProgress||[],s=d.normalizeResponse(t,!0),u=qq.indexOf(a,o);r(qq.format("Chunk {} for file {} uploaded successfully.",o,e)),l.done(e,o,s,n),u>=0&&a.splice(u,1),i._maybePersistChunkedState(e),l.hasMoreParts(e)||0!==a.length?l.hasMoreParts(e)?l.sendNext(e):r(qq.format("File ID {} has no more chunks to send and these chunk indexes are still marked as in-progress: {}",e,JSON.stringify(a))):l.finalize(e)}),(function(t,n){l.handleFailure(o,e,t,n)})).done((function(){i.clearXhr(e,o)}))}else r(qq.format("Not sending chunked upload request for item {}.{} - no longer in progress.",e,o))}),(function(t){l.handleFailure(o,e,t,null)}))}}},c={_open:[],_openChunks:{},_waiting:[],available:function(){var e=u.maxConnections,t=0,n=0;return qq.each(c._openChunks,(function(e,r){t++,n+=r.length})),e-(c._open.length-t+n)},free:function(e,t){var n,o=!t,a=qq.indexOf(c._waiting,e),s=qq.indexOf(c._open,e);delete c._openChunks[e],d.getProxyOrBlob(e)instanceof qq.BlobProxy&&(r("Generated blob upload has ended for "+e+", disposing generated blob."),delete i._getFileState(e).file),a>=0?c._waiting.splice(a,1):o&&s>=0&&(c._open.splice(s,1),n=c._waiting.shift(),n>=0&&(c._open.push(n),d.start(n)))},getWaitingOrConnected:function(){var e=[];return qq.each(c._openChunks,(function(t,n){n&&n.length&&e.push(parseInt(t))})),qq.each(c._open,(function(t,n){c._openChunks[n]||e.push(parseInt(n))})),e=e.concat(c._waiting),e},isUsingConnection:function(e){return qq.indexOf(c._open,e)>=0},open:function(e,t){return null==t&&c._waiting.push(e),!!c.available()&&(null==t?(c._waiting.pop(),c._open.push(e)):function(){var n=c._openChunks[e]||[];n.push(t),c._openChunks[e]=n}(),!0)},reset:function(){c._waiting=[],c._open=[]}},f={send:function(e,t){var n=i._getFileState(e);n?(n.loaded=0,r("Sending simple upload request for "+e),i.uploadFile(e).then((function(n,i){r("Simple upload request succeeded for "+e);var o=d.normalizeResponse(n,!0),a=u.getSize(e);u.onProgress(e,t,a,a),d.maybeNewUuid(e,o),d.cleanup(e,o,i)}),(function(n,i){r("Simple upload request failed for "+e);var o=d.normalizeResponse(n,!1);u.onAutoRetry(e,t,o,i)||d.cleanup(e,o,i)}))):r("Ignoring send request as this upload may have been cancelled, File ID "+e,"warn")}},d={cancel:function(e){r("Cancelling "+e),u.paramsStore.remove(e),c.free(e)},cleanup:function(e,t,n){var r=u.getName(e);u.onComplete(e,r,t,n),i._getFileState(e)&&i._clearXhrs&&i._clearXhrs(e),c.free(e)},getProxyOrBlob:function(e){return i.getProxy&&i.getProxy(e)||i.getFile&&i.getFile(e)},initHandler:function(){var e=t?qq[t]:qq.traditional,n=qq.supportedFeatures.ajaxUploading?"Xhr":"Form";i=new e[n+"UploadHandler"](u,{getCustomResumeData:u.getCustomResumeData,getDataByUuid:u.getDataByUuid,getName:u.getName,getSize:u.getSize,getUuid:u.getUuid,log:r,onCancel:u.onCancel,onProgress:u.onProgress,onUuidChanged:u.onUuidChanged,onFinalizing:function(e){u.setStatus(e,qq.status.UPLOAD_FINALIZING)}}),i._removeExpiredChunkingRecords&&i._removeExpiredChunkingRecords()},isDeferredEligibleForUpload:function(e){return u.isQueued(e)},maybeDefer:function(e,t){return t&&!i.getFile(e)&&t instanceof qq.BlobProxy?(u.onUploadPrep(e),r("Attempting to generate a blob on-demand for "+e),t.create().then((function(t){r("Generated an on-demand blob for "+e),i.updateBlob(e,t),u.setSize(e,t.size),i.reevaluateChunking(e),d.maybeSendDeferredFiles(e)}),(function(t){var i={};t&&(i.error=t),r(qq.format("Failed to generate blob for ID {}. Error message: {}.",e,t),"error"),u.onComplete(e,u.getName(e),qq.extend(i,n),null),d.maybeSendDeferredFiles(e),c.free(e)})),!1):d.maybeSendDeferredFiles(e)},maybeSendDeferredFiles:function(e){var t=u.getIdsInProxyGroup(e),n=!1;return t&&t.length?(r("Maybe ready to upload proxy group file "+e),qq.each(t,(function(t,r){if(d.isDeferredEligibleForUpload(r)&&i.getFile(r))n=r===e,d.now(r);else if(d.isDeferredEligibleForUpload(r))return!1}))):(n=!0,d.now(e)),n},maybeNewUuid:function(e,t){void 0!==t.newUuid&&u.onUuidChanged(e,t.newUuid)},normalizeResponse:function(e,t){var n=e;return qq.isObject(e)||(n={},qq.isString(e)&&!t&&(n.error=e)),n.success=t,n},now:function(e){var t=u.getName(e);if(!o.isValid(e))throw new qq.Error(e+" is not a valid file ID to upload!");u.onUpload(e,t).then((function(n){n&&n.pause?(u.setStatus(e,qq.status.PAUSED),i.pause(e),c.free(e)):a&&i._shouldChunkThisFile(e)?l.sendNext(e):f.send(e,t)}),(function(n){if(n=n||{},r(e+" upload start aborted due to rejected onUpload Promise - details: "+n,"error"),!u.onAutoRetry(e,t,n.responseJSON||{})){var i=d.normalizeResponse(n.responseJSON,!1);d.cleanup(e,i)}}))},start:function(e){var t=d.getProxyOrBlob(e);return t?d.maybeDefer(e,t):(d.now(e),!0)}};qq.extend(this,{add:function(e,t){i.add.apply(this,arguments)},upload:function(e){return!!c.open(e)&&d.start(e)},retry:function(e){return s&&(i._getFileState(e).temp.ignoreFailure=!1),c.isUsingConnection(e)?d.start(e):o.upload(e)},cancel:function(e){var t=i.cancel(e);qq.isGenericPromise(t)?t.then((function(){d.cancel(e)})):!1!==t&&d.cancel(e)},cancelAll:function(){var e,t=c.getWaitingOrConnected();if(t.length)for(e=t.length-1;e>=0;e--)o.cancel(t[e]);c.reset()},getFile:function(e){return i.getProxy&&i.getProxy(e)?i.getProxy(e).referenceBlob:i.getFile&&i.getFile(e)},isProxied:function(e){return!(!i.getProxy||!i.getProxy(e))},getInput:function(e){if(i.getInput)return i.getInput(e)},reset:function(){r("Resetting upload handler"),o.cancelAll(),c.reset(),i.reset()},expunge:function(e){if(o.isValid(e))return i.expunge(e)},isValid:function(e){return i.isValid(e)},hasResumeRecord:function(e){var t=i.isValid(e)&&i._getLocalStorageId&&i._getLocalStorageId(e);return!!t&&!!localStorage.getItem(t)},getResumableFilesData:function(){return i.getResumableFilesData?i.getResumableFilesData():[]},getThirdPartyFileId:function(e){if(o.isValid(e))return i.getThirdPartyFileId(e)},pause:function(e){return!!(o.isResumable(e)&&i.pause&&o.isValid(e)&&i.pause(e))&&(c.free(e),i.moveInProgressToRemaining(e),!0)},isAttemptingResume:function(e){return!!i.isAttemptingResume&&i.isAttemptingResume(e)},isResumable:function(e){return!!i.isResumable&&i.isResumable(e)}}),qq.extend(u,e),r=u.log,a=u.chunking.enabled&&qq.supportedFeatures.chunking,s=a&&u.chunking.concurrent.enabled,n=function(){var e={};return e[u.preventRetryParam]=!0,e}(),d.initHandler()},qq.WindowReceiveMessage=function(e){"use strict";var t={log:function(e,t){}},n={};qq.extend(t,e),qq.extend(this,{receiveMessage:function(e,t){var r=function(e){t(e.data)};window.postMessage?n[e]=qq(window).attach("message",r):log("iframe message passing not supported in this browser!","error")},stopReceivingMessages:function(e){if(window.postMessage){var t=n[e];t&&t()}}})},qq.FormUploadHandler=function(e){"use strict";var t=e.options,n=this,r=e.proxy,i=qq.getUniqueId(),o={},a={},s={},u=t.isCors,l=t.inputName,c=r.getUuid,f=r.log,d=new qq.WindowReceiveMessage({log:f});function h(e){delete a[e],u&&(clearTimeout(s[e]),delete s[e],d.stopReceivingMessages(e));var t=document.getElementById(n._getIframeName(e));t&&(t.setAttribute("src","javascript:false;"),qq(t).remove())}function p(e){return e.split("_")[0]}function m(e){var t=qq.toElement("