@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250318.0 → 0.0.0-nightly-20250319.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +11 -11
- package/src/revisionsrepository.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>nt,RevisionViewer:()=>Qt,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>J,RevisionsSidebar:()=>To});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M,V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(V=t,ArrayBuffer.isView(V)&&!(V instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}const M=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function P(){const t=["40925529aUVrvK","218535VvAlRQ","attributes","authorsIds","setAttribute","6NcmpUt","diffData","createdAt","fromVersion","model","creator","3039387jOcabL","name","setName","toVersion","set","authors","_update","530754WMgkEw","creatorId","11594128fDNWKF","934396RqIccU","toJSON","2618452OxfCmr","removeAttribute","map","fire","1PtPQPg"];return(P=function(){return t})()}const L=z;function z(t,e){const i=P();return(z=function(t,e){return i[t-=425]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(843546===-parseInt(e(431))/1*(parseInt(e(425))/2)+-parseInt(e(443))/3+-parseInt(e(427))/4+parseInt(e(433))/5*(-parseInt(e(437))/6)+-parseInt(e(450))/7+-parseInt(e(452))/8+parseInt(e(432))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class W extends((0,t.ObservableMixin)()){id;[L(442)];[L(448)];[L(438)];[L(446)];[L(440)];[L(441)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(442)]=e[i(442)]||null,this[i(448)]=e[i(448)]||[],this[i(438)]=e[i(438)]||null,this[i(446)]=e[i(446)]||0,this[i(440)]=e[i(440)]||0,this[i(447)](i(444),e[i(444)]||""),this[i(447)](i(439),e[i(439)]||new Date),this[i(447)](i(434),e[i(434)]||{})}[L(445)](t){this[L(449)]({name:t})}[L(436)](t,e){const i=L,s=R(this[i(434)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(449)]({attributes:s})}[L(428)](t){const e=L,i=R(this[e(434)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(449)]({attributes:i})}[L(449)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(444),i(439),i(438),i(448),i(434),i(446),i(440),i(451)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(448)]&&(n[i(435)]=n[i(448)][i(429)]((t=>t.id)),delete n[i(448)]),this[i(430)](i(449),n,e))}[L(426)](){const t=L;return{id:this.id,name:this[t(444)],creatorId:this[t(442)]?this[t(442)].id:null,authorsIds:this[t(448)][t(429)]((t=>t.id)),diffData:this[t(438)],createdAt:this[t(439)],attributes:this[t(434)],fromVersion:this[t(440)],toVersion:this[t(446)]}}}var U=i(782),Z=i(211),H=i(783);const q=$;function $(t,e){const i=B();return($=function(t,e){return i[t-=265]})(t,e)}function B(){const t=["addRevision","getLaterVisibleRevision","5287944BRxPaI","8WpwNBT","pluginName","editor","fromVersion","push","5290565wZiWyv","authorsIds","requires","getRevisionsInDiff","209268TawSgh","isNaN","_revisions","from","attributes","map","getUser","get","oldRevisionId","215767XBsgJt","Users","getIndex","isOfficialPlugin","href","reverse","getRevisions","creatorId","1470665ZAsrhh","isPremiumPlugin","earlier","name","join","length","7976745ZomMEr","3wZULNp","createRevision","fromCharCode","getRevision","toVersion","plugins","newRevisionId","1486456FUgjyM","afterInit","data","getRevisionsIterator","RevisionsRepository","later","add","toJSON","createdAt","getEarlierVisibleRevision","diffData"];return(B=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(559304===-parseInt(e(309))/1*(parseInt(e(291))/2)+-parseInt(e(270))/3*(-parseInt(e(277))/4)+parseInt(e(317))/5+-parseInt(e(300))/6+-parseInt(e(296))/7+parseInt(e(290))/8+parseInt(e(269))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class J extends U.Plugin{[q(302)];static get[q(298)](){return[Z.Users]}static get[q(292)](){return q(281)}static get[q(312)](){return!0}static get[q(318)](){return!0}get[q(268)](){const t=q;return this[t(302)][t(268)]}constructor(e){const i=q;super(e),this[i(302)]=new t.Collection}[q(278)](){!async function(e){const i=k([111,57,102,80,86,103,49,87,98,116,66,84,107,106,119,109,55,81,74,52,56,67,110,113,118,79,54,97,69,104,90,114,78,108,73,115,100,51,89,105,68,75,88,50,85,70,120,77,83,65,101,82,48,53,72,76,122,71,112,121,99,117]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(301)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([111]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(305)]((t=>String[e(272)](t)))[e(267)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1742256e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(313)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(271)](t){const e=q,i=this[e(293)][e(275)][e(307)](e(310));return new W({id:t.id,name:t[e(266)],creator:t[e(316)]?i[e(306)](t[e(316)]):null,diffData:t[e(287)]||t[e(279)],authors:t[e(297)][e(305)]((t=>i[e(306)](t))),createdAt:new Date(t[e(285)]),attributes:t[e(304)],fromVersion:t[e(294)],toVersion:t[e(274)]})}[q(288)](t,e=0){const i=q;this[i(302)][i(283)](t,e)}[q(273)](t){const e=q;return this[e(302)][e(307)](t)}[q(315)](t={toJSON:!1}){const e=q,i=Array[e(303)](this[e(302)]);return i[e(314)](),t[e(284)]?i[e(305)]((t=>t[e(284)]())):i}[q(311)](t){const e=q;return this[e(302)][e(311)](t)}[q(286)](t){const e=q,[,i]=this[e(280)](t,{direction:e(265)});return i}[q(289)](t){const e=q,[,i]=this[e(280)](t,{direction:e(282)});return i}[q(299)](t){const e=q,i=[];for(const s of this[e(280)](t[e(276)]))if(i[e(295)](s),s.id===t[e(308)])break;return i}*[q(280)](t,{direction:e=q(265),filter:i=()=>!0}={}){const s=q,n=s(265)===e?1:-1;let r=this[s(302)][s(307)](t),o=this[s(311)](r);for(yield r;r;){if(o+=n,r=this[s(273)](o),!r)return;i(r)&&(yield r)}}}function Y(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function G(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return X(t,e,r,o)}return X(t,e,r,o)}function X(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(M=s)||Number.isNaN(R)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,M;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(n,i.get(e),e,t,i,s,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>K(o,e,void 0,t,i,s,T)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&X(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&X(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(X(t.constructor,i.constructor,s,T)||G(t)&&G(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!K(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function Q(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,Q)}const et=it;function it(t,e){const i=ut();return(it=function(t,e){return i[t-=165]})(t,e)}!function(t){const e=it,i=t();for(;;)try{if(413196===-parseInt(e(214))/1*(parseInt(e(351))/2)+parseInt(e(433))/3+-parseInt(e(293))/4*(parseInt(e(228))/5)+-parseInt(e(296))/6*(parseInt(e(477))/7)+-parseInt(e(185))/8*(-parseInt(e(372))/9)+parseInt(e(235))/10*(parseInt(e(447))/11)+parseInt(e(252))/12*(parseInt(e(388))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ut);const st={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class nt extends U.Plugin{[et(219)];[et(366)];[et(274)];[et(455)];[et(340)];[et(377)];[et(311)];[et(231)];[et(436)];[et(249)];[et(462)];[et(275)];[et(246)];static get[et(269)](){return et(290)}static get[et(347)](){return!0}static get[et(236)](){return!0}static get[et(397)](){return[Z.Users,J,U.PendingActions]}constructor(e){const i=et;super(e),this[i(274)]=null,this[i(455)]=null,this[i(377)]=new ot(this[i(338)]),this[i(231)]=this[i(338)][i(339)][i(405)](i(205))||i(257),this[i(436)]=new Map,this[i(246)]=null;const s=(0,t.uid)();this[i(311)]={history:this[i(338)][i(376)][i(291)][i(302)],getLatestVersion:()=>Promise[i(213)](this[i(338)][i(376)][i(291)][i(453)]),getCurrentRevisionId:()=>s},this[i(408)](i(220),!1),this[i(408)](i(223),!0),this[i(408)](i(398),!1),this[i(338)][i(339)][i(335)](i(336),!0),this[i(338)][i(313)][i(426)](i(197))[i(225)]({view:i(292)})}[et(344)](){const t=et;this[t(340)]=this[t(338)][t(255)][t(405)](t(287)),this[t(309)](),this[t(338)][t(414)].on(t(166),(()=>{const e=t,i=this[e(340)][e(411)](0),s=i&&null===i[e(483)]?i:null;if(this[e(462)]=!!s&&this[e(338)][e(339)][e(405)](e(336)),this[e(338)][e(255)][e(244)](e(216))){const t=this[e(311)][e(285)](),n=this[e(340)][e(411)](t);if(n)this[e(275)]=n[e(469)],this[e(462)]=!1;else{const t=this[e(311)][e(302)][e(380)][e(329)]((t=>!t[e(448)])),n=t?t[e(443)]:this[e(311)][e(302)][e(453)];i?(i[e(271)]<n&&i[e(270)]({toVersion:n}),this[e(462)]?(this[e(311)][e(285)]=()=>s.id,this[e(275)]=s[e(469)]):(this[e(275)]=i[e(271)],this[e(462)]=!1)):(this[e(275)]=n,this[e(462)]=!1)}}else s&&(this[e(338)][e(376)][e(291)][e(302)][e(453)]=Math[e(349)](s[e(271)],this[e(338)][e(376)][e(291)][e(302)][e(453)]),s[e(469)]===s[e(271)]?(0!==s[e(469)]&&(this[e(311)][e(285)]=()=>s.id),this[e(462)]=!1):this[e(462)]&&(this[e(311)][e(285)]=()=>s.id,this[e(275)]=s[e(469)])),this[e(462)]||(this[e(275)]=this[e(338)][e(376)][e(291)][e(453)]);this[e(377)][e(344)](this[e(311)][e(302)]),this[e(464)](this[e(275)]),this[e(320)](this[e(275)]),this[e(274)]&&this[e(179)]()})),this[t(348)](t(220)).to(this,t(398),(t=>!t)),this[t(219)]=this[t(338)][t(339)][t(405)](t(219));const e=this[t(338)];this[t(366)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(401)==r||i(191)==r||i(404)==r||i(215)==r||i(439)==r||i(470)==r||i(238)==r||i(480)==r){delete e[n],s=r,clearInterval(this[i(366)]),this[i(366)]=void 0;break}}i(191)==s&&e[i(357)](i(396)),i(404)==s&&e[i(357)](i(371)),i(215)==s&&e[i(357)](i(240)),i(439)==s&&e[i(357)](i(440),i(486)),i(470)==s&&e[i(357)](i(381)),i(238)==s&&e[i(357)](i(308)),i(480)==s&&e[i(357)](i(170))}),1e3)}async[et(463)](){const t=et;if(this[t(340)][t(283)]>0){const e=this[t(340)][t(411)](0),i=await this[t(286)](e),s=await this[t(369)](e);this[t(226)](i,s)}}[et(359)](){const t=et;super[t(359)](),this[t(366)]&&clearInterval(this[t(366)])}[et(407)](t){this[et(311)]=t}async[et(389)](){const t=et,e=await this[t(311)][t(403)]();if(e>this[t(455)][t(271)]){await this[t(327)]();const i=this[t(200)]({revision:this[t(455)],to:e});i[t(272)]=i[t(310)][t(355)]((e=>this[t(338)][t(255)][t(405)](t(227))[t(180)](e))),this[t(455)][t(270)](i)}}async[et(327)](){const t=et;this[t(462)]&&!this[t(246)]&&(await this[t(390)](this[t(455)]),this[t(377)][t(379)](this[t(455)]),this[t(246)]={fromVersion:this[t(455)][t(469)],authors:this[t(455)][t(272)][t(346)]()})}async[et(321)](e={},i=null){const s=et,n=[];await this[s(327)](),this[s(462)]=!1,i>this[s(455)][s(271)]&&(i=null),null===i&&(i=await this[s(311)][s(403)]());const r=this[s(267)](i),o=this[s(200)]({from:r,to:i});if(this[s(455)][s(271)]<i){const t=this[s(200)]({revision:this[s(455)],from:i,to:i});t[s(272)]=[],t[s(310)]=[],t.id=this[s(455)].id,this[s(455)][s(270)](t,!0),delete t[s(272)],n[s(258)](t)}e[s(435)]=this[s(338)][s(255)][s(405)](s(227)).me.id,e[s(473)]=e[s(473)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(393)](e);n[s(258)](e);const c=this[s(340)][s(374)](a);if(0!==c){const t=this[s(340)][s(411)](c-1);if(t[s(469)]!==i){const r=this[s(377)][s(218)](i,t[s(271)]),o={id:t.id,diffData:r[s(406)],authorsIds:r[s(310)],authors:r[s(310)][s(355)]((t=>this[s(338)][s(255)][s(405)](s(227))[s(180)](t))),fromVersion:i};t===this[s(455)]&&(o[s(428)]=new Date(e[s(428)][s(458)]()+10)),t[s(270)](o,!0),delete o[s(272)],n[s(258)](o)}}if(this[s(274)]){for(const t of n)this[s(303)](t.id,t,!0);this[s(179)]()}return a}[et(393)](t){const e=et,i=this[e(340)][e(289)](t);return this[e(274)]&&i.on(e(270),((t,i,s)=>{const n=e;s||(this[n(303)](i.id,i,!0),this[n(179)]())})),this[e(340)][e(356)](i,this[e(423)](i)),i}async[et(286)](t){const e=et;await this[e(390)](t);const i={};for(const s in t[e(406)]){if(t[e(406)][s][e(221)]&&!t[e(406)][s][e(221)][e(266)])continue;const n=this[e(172)](JSON[e(256)](t[e(406)][s][e(273)])),r=this[e(338)][e(332)][e(360)][e(291)],o=new H.ViewDocumentFragment(r,n[e(355)]((t=>rt(t,this[e(338)]))));this[e(338)][e(414)][e(279)][e(400)](e(415)),i[s]=this[e(338)][e(414)][e(279)][e(387)](o),this[e(338)][e(414)][e(279)][e(400)](e(391))}return i}async[et(369)](t){const e=et;await this[e(390)](t);const i={};for(const s in t[e(406)])t[e(406)][s][e(221)]&&!t[e(406)][s][e(221)][e(266)]||(i[s]=t[e(406)][s][e(412)]||{});return i}[et(179)](){const t=et;if(0===this[t(436)][t(298)])return;if(this[t(398)])return;let e=Array[t(182)](this[t(436)][t(484)]());this[t(436)][t(422)]();for(let i=0;i<e[t(283)];i++){const s=e[i];let n=!1;for(const e of Object[t(234)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(243)]((t=>null!==t)),!e[t(283)])return;for(let i=0;i<e[t(283)];i++){const s=e[i];void 0!==s[t(469)]&&void 0===s[t(271)]&&(s[t(271)]=this[t(340)][t(411)](s.id)[t(271)]),void 0!==s[t(271)]&&void 0===s[t(469)]&&(s[t(469)]=this[t(340)][t(411)](s.id)[t(469)])}const i=this[t(338)][t(339)][t(405)](t(205));this[t(398)]=!0,this[t(479)](),this[t(274)][t(254)](e,i)[t(253)]((()=>{this[t(398)]=!1}))[t(305)]((e=>{const i=t;if(e)for(const t of e)this[i(181)]({id:t.id,createdAt:t[i(428)]});this[i(242)](),this[i(179)]()}))}[et(226)](e,i){const s=et;let n=this[s(338)][s(339)][s(405)](s(277)),r=this[s(338)][s(339)][s(405)](s(312));if(void 0===n){n={};for(const t of this[s(338)][s(376)][s(291)][s(451)]())n[t]=""}if(s(199)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(338)][s(376)][s(291)][s(451)]())r[t]={}}let o=!1;const a=Object[s(234)](n),c=Object[s(234)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(487)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(234)](r[t])[s(283)]>0){o=!0;break}}o||(o=c[s(364)]((t=>!this[s(338)][s(376)][s(291)][s(178)](t)))),o&&(0,t.logWarning)(s(284),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(338)][s(339)][s(408)](s(277),e),this[s(338)][s(339)][s(408)](s(312),i)}[et(479)](){const t=et;if(!this[t(249)]){const e=this[t(338)][t(255)][t(405)](t(476));this[t(249)]=e[t(295)](Y(this[t(338)][t(198)],t(472)))}}[et(242)](){const t=et;this[t(249)]&&(this[t(338)][t(255)][t(405)](t(476))[t(229)](this[t(249)]),this[t(249)]=null)}[et(423)](t){const e=et,i=this[e(340)][e(324)]();i[e(409)]();let s=0;for(;s<i[e(283)];){const n=i[s];if(n===this[e(455)]){s++;continue}if(n.id===this[e(231)])break;const r=t[e(271)]-n[e(271)]||t[e(469)]-n[e(469)];if(r>0)break;if(r<0)s++;else{if(!t[e(483)]&&n[e(483)])break;if(n[e(483)]||!t[e(483)]){if(t[e(428)]>n[e(428)])break;s++}else s++}}return s}[et(181)](t){const e=et,i=this[e(340)][e(411)](t.id);if(t[e(428)]&&(t[e(428)]=new Date(t[e(428)])),t[e(310)]){const i=this[e(338)][e(255)][e(405)](e(227));t[e(272)]=t[e(310)][e(355)]((t=>i[e(180)](t)))}i[e(270)](t,!0)}[et(200)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(469)],i=null!==i?i:t[s(271)];const n=this[s(377)][s(218)](e,i),r={diffData:n[s(406)],authorsIds:n[s(310)],fromVersion:e,toVersion:i};if(!t||i!==t[s(271)]){const t=i-1,e=this[s(311)][s(302)][s(363)](t);r[s(428)]=e&&e[s(428)]||new Date}if(this[s(246)]&&e===this[s(246)][s(469)])for(const t of this[s(246)][s(272)])r[s(310)][s(488)](t.id)||r[s(310)][s(258)](t.id);return r}[et(390)](t){const e=et;if(!t||t[e(406)])return Promise[e(213)]();{const i=this[e(338)][e(339)][e(405)](e(205));return this[e(274)][e(411)]({channelId:i,revisionId:t.id})[e(305)]((i=>{const s=e;t[s(406)]=i[s(406)]}))}}[et(303)](t,e,i){const s=et;if(this[s(436)][s(244)](t)){const n=this[s(436)][s(405)](t);e=i?{...n,...e}:{...e,...n}}this[s(436)][s(408)](t,e)}[et(267)](t){const e=et,i=this[e(340)][e(324)]();i[e(409)](),i[e(378)]();const s=i[e(329)]((i=>i[e(271)]<=t))[e(271)];return s<this[e(275)]?this[e(275)]:s}[et(464)](t){const e=et,i=this[e(340)][e(411)](this[e(340)][e(283)]-1);if(i)this[e(231)]=i.id;else{const i=!this[e(338)][e(376)][e(291)][e(460)][e(329)]((t=>this[e(338)][e(376)][e(343)](t))),s=this[e(338)][e(255)][e(405)](e(227)).me.id,n=Y(this[e(338)][e(198)],e(i?350:262));this[e(193)]({from:t,to:t,id:this[e(231)],name:n,creatorId:s})}}[et(320)](t){const e=et,i=this[e(311)][e(285)]();this[e(455)]=this[e(340)][e(411)](i),this[e(455)]||(this[e(455)]=this[e(193)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(193)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(200)]({from:e,to:i});o[r(473)]=t,o[r(435)]=s,o.id=n;const a=this[r(393)](o);return this[r(274)]&&this[r(303)](o.id,o,!0),a}[et(309)](){const t=et;this[t(338)][t(313)][t(426)](t(465))[t(399)]({model:t(292)})}[et(172)](t){const e=et;return(t=t[e(243)]((t=>!t[e(473)]||e(457)!==t[e(473)]&&e(260)!==t[e(473)])))[e(241)]((t=>{const i=e;i(199)!=typeof t&&(t[i(233)]=this[i(172)](t[i(233)]),t[i(365)]=t[i(365)][i(243)]((t=>!t[0][i(217)](i(280)))))})),t}}function rt(t,e){const i=et,s=e[i(332)][i(360)][i(291)];if(i(199)==typeof t)return new H.ViewText(s,t);{const n=t[i(233)][i(355)]((t=>rt(t,e)));return new(st[t[i(323)]]||H.ViewElement)(s,t[i(473)],t[i(365)],n)}}class ot{[et(338)];[et(239)];[et(384)];[et(268)];[et(174)];[et(317)];[et(427)];[et(475)];[et(429)];[et(482)];[et(201)];[et(326)];[et(419)];[et(307)];[et(449)];[et(466)];[et(352)];constructor(t){const e=et;this[e(338)]=t,this[e(384)]=new Map,this[e(268)]=-1,this[e(174)]=-1,this[e(317)]=new Map,this[e(427)]=new Map,this[e(475)]=new Map,this[e(429)]=new Map,this[e(482)]=new Map,this[e(201)]=new Map,this[e(326)]=new Map,this[e(419)]=new Map,this[e(307)]=new Map,this[e(449)]=new Map,this[e(466)]=1}[et(344)](t){const e=et;this[e(239)]=t;const i=new Map,s=new Map,n=this[e(338)][e(376)][e(291)][e(460)][e(355)]((t=>t[e(299)]));for(const t of n){const n=this[e(338)][e(376)][e(291)][e(178)](t),r=at(n);i[e(408)](t,r),s[e(408)](t,Object[e(173)](n[e(206)]()))}const r=Array[e(182)](this[e(338)][e(376)][e(358)])[e(355)]((t=>[t[e(473)],t[e(437)]()])),o=this[e(239)][e(453)];this[e(304)](o,i,r,s),this[e(352)]=this[e(466)];const a=new Map,c=new Map;for(const t of n){const i=ct(t);a[e(408)](t,i),c[e(408)](t,{})}this[e(304)](Number[e(450)],a,[],c)}[et(218)](t,e){const i=et;if(this[i(268)]===t&&this[i(174)]<=e)this[i(384)][i(298)]>1&&this[i(208)](this[i(174)]),this[i(438)](this[i(174)],e,!0);else{if(!this[i(384)][i(244)](t)){const e=this[i(247)](t);this[i(319)](e,t,!1)}this[i(319)](t,e,!0)}return this[i(268)]=t,this[i(174)]=e,this[i(196)]()}[et(379)](t){const e=et;this[e(452)](),this[e(268)]=t[e(469)],this[e(174)]=t[e(271)];for(const i in t[e(406)]){const s=t[e(406)][i][e(221)],n=R(t[e(406)][i][e(315)])||{},r=this[e(261)](t[e(406)][i][e(417)]);r[e(299)]=i,r[e(184)]=!s||!s[e(266)],r[e(266)]=()=>r[e(184)],this[e(429)][e(408)](i,r),this[e(482)][e(408)](i,n),s&&this[e(449)][e(408)](i,s);const o=this[e(188)](r);this[e(326)][e(408)](i,o);for(const[t,i]of r[e(358)]){if(!t[e(217)](e(301)))continue;const s=t[e(288)](":")[2];for(const t of i[e(248)]({singleCharacters:!0})){const i=this[e(425)](t),n=e(373)==t[e(323)]?t[e(334)][e(276)][e(346)](0,-1):t[e(334)][e(276)],r=o[e(232)](n)[e(328)](i);this[e(419)][e(408)](r,{userId:s})}}}this[e(352)]=this[e(466)];const i=[...Array(this[e(466)])[e(234)]()][e(346)](1)[e(243)]((t=>!this[e(419)][e(244)](t)));let s=0;const n=new Map;for(const r in t[e(406)]){const o=t[e(406)][r][e(221)],a=R(t[e(406)][r][e(412)])||{},c=this[e(261)](t[e(406)][r][e(273)]);c[e(299)]=r,c[e(184)]=!o||o[e(266)],c[e(266)]=()=>c[e(184)],this[e(427)][e(408)](r,c),this[e(475)][e(408)](r,a);const u=this[e(188)](c,Number[e(450)]);this[e(201)][e(408)](r,u),n[e(408)](r,c[e(266)]()?a:{});for(const[t,i]of c[e(358)]){if(!t[e(217)](e(301)))continue;const s=t[e(288)](":")[2];for(const t of i[e(248)]({singleCharacters:!0})){const i=this[e(425)](t),n=this[e(466)]++,r=e(373)==t[e(323)]?t[e(334)][e(276)][e(346)](0,-1):t[e(334)][e(276)];u[e(232)](r)[e(362)](i,n),this[e(419)][e(408)](n,{userId:s})}}for(const t of this[e(338)][e(376)][e(192)](c)[e(248)]({singleCharacters:!0})){const n=this[e(425)](t),r=e(373)==t[e(323)]?t[e(334)][e(276)][e(346)](0,-1):t[e(334)][e(276)],o=u[e(232)](r);o[e(328)](n)>0||o[e(362)](n,i[s++])}for(const[t,i]of c[e(358)])t[e(217)](e(301))||this[e(317)][e(408)](t,i)}const r=ct(e(481));this[e(429)][e(408)](e(481),r),this[e(326)][e(408)](e(481),this[e(188)](r,1));const o=ct(e(481));this[e(427)][e(408)](e(481),o),this[e(201)][e(408)](e(481),this[e(188)](o,1));const a=Array[e(182)](this[e(427)])[e(355)]((([t,e])=>[t,at(e)]));this[e(304)](this[e(174)],a,this[e(317)],n)}[et(261)](t){const e=et,i=JSON[e(256)](t),s=this[e(338)][e(332)][e(360)][e(291)],n=new H.ViewDocumentFragment(s,i[e(355)]((t=>rt(t,this[e(338)]))));return this[e(338)][e(414)][e(337)](n)}[et(304)](t,e,i,s){const n=et,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(408)](t,{start:e[n(250)][n(402)](),end:e[n(424)][n(402)](),rootName:e[n(333)][n(299)]});this[n(384)][n(408)](t,{roots:r,markers:a,rootsAttributes:o})}[et(208)](t){const e=et;this[e(384)][e(392)](t)}[et(471)](){const t=et;this[t(452)](),this[t(268)]=-1,this[t(174)]=-1,this[t(384)][t(422)](),this[t(344)](this[t(239)])}[et(452)](){const t=et;this[t(419)][t(422)](),this[t(307)][t(422)](),this[t(449)][t(422)](),this[t(427)][t(422)](),this[t(475)][t(422)](),this[t(429)][t(422)](),this[t(482)][t(422)](),this[t(201)][t(422)](),this[t(326)][t(422)](),this[t(317)][t(422)](),this[t(466)]=1,this[t(352)]=this[t(466)]}[et(188)](t,e=null){const i=et;let s=null;t.is(i(168))||(s=new H.Element(t[i(473)],{vid_start:null===e?this[i(466)]++:e++}));const n=[];for(const s of t[i(294)]())if(s.is(i(316))){n[i(258)](this[i(188)](s,e));const t=n[n[i(283)]-1];null!==e&&(e=t.is(i(316),i(370))?t[i(328)](i(430))+1:t[i(328)](i(421))+1)}else for(let t=0;t<s[i(459)];t++)n[i(258)](new H.Element(i(370),{vid:null===e?this[i(466)]++:e++}));if(t.is(i(168))){const e=ct(t[i(299)]);return e[i(186)](0,n),e}return s[i(362)](i(421),null===e?this[i(466)]++:e++),s[i(186)](0,n),s}[et(319)](t,e,i){const s=et;this[s(452)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(384)][s(405)](t);this[s(429)]=new Map(n),this[s(482)]=new Map(R(o));for(const[t,e]of this[s(429)])if(s(481)!==t&&(this[s(427)][s(408)](t,at(e)),this[s(475)]=new Map(R(o)),i)){const i=this[s(466)];this[s(201)][s(408)](t,this[s(188)](e)),this[s(326)][s(408)](t,this[s(188)](e,i))}this[s(352)]=this[s(466)],this[s(427)][s(408)](s(481),at(this[s(429)][s(405)](s(481)))),i&&this[s(201)][s(408)](s(481),this[s(188)](this[s(429)][s(405)](s(481))));for(const[t,e]of r){const i=this[s(429)][s(405)](e[s(299)]),n=this[s(427)][s(405)](e[s(299)]),r=new H.Range(this[s(467)](e[s(250)],i),this[s(467)](e[s(424)],i)),o=this[s(207)](r,n);i[s(358)][s(408)](t,r),this[s(317)][s(408)](t,o)}this[s(438)](t,e,i)}[et(438)](t,e,i){const s=et;for(const n of this[s(239)][s(420)](t,e))this[s(325)](n,i);for(const t of this[s(427)][s(484)]())t[s(358)][s(422)]();for(const[t,e]of this[s(317)])this[s(427)][s(405)](e[s(333)][s(299)])[s(358)][s(408)](t,e[s(402)]());const n=new Map,r=new Map;for(const[t,e]of this[s(427)])n[s(408)](t,at(e)),r[s(408)](t,this[s(475)][s(405)](t));this[s(304)](e,n,this[s(317)],r)}[et(247)](t){const e=et,i=Array[e(182)](this[e(384)][e(234)]());i[e(297)](((t,e)=>t-e)),i[e(409)]();for(const e of i)if(e<t)return e;return Number[e(450)]}[et(330)](t,e){const i=et,s=Array[i(182)](e[i(358)])[i(355)]((([e,s])=>[e,this[i(207)](s,t)]));t[i(358)]=new Map(s)}[et(169)](t){const e=et;for(const i of this[e(317)][e(484)]()){const s=i[e(211)](t),n=H.Range[e(341)](s);i[e(250)]=n[e(250)],i[e(424)]=n[e(424)]}}[et(325)](t,e){const i=et;if(i(454)!=t[i(323)]&&i(468)!=t[i(323)]){if(i(368)==t[i(323)]){const s=t[i(171)][i(333)][i(299)];this[i(427)][i(244)](s)||(this[i(427)][i(408)](s,ct(s,!0)),this[i(475)][i(408)](s,{}),e&&this[i(201)][i(408)](s,ct(s,!0)))}else{if(i(282)==t[i(323)]||i(183)==t[i(323)]||i(474)==t[i(323)])return void this[i(345)](t);i(237)==t[i(323)]&&this[i(318)](t)}if(i(237)!==t[i(323)]){const e=this[i(461)](t,this[i(427)]);e[i(176)](),this[i(169)](e)}if(e)switch(t[i(323)]){case i(368):this[i(278)](t);break;case i(431):case i(229):case i(263):this[i(331)](t);break;case i(354):this[i(418)](t);break;case i(288):this[i(442)](t)}}else this[i(224)](t,e)}[et(461)](t,e){const i=et,s=t[i(402)]();return s[i(195)]=t[i(195)],this[i(375)](s,e),s}[et(281)](t){const e=et;return t[e(355)]((t=>{const i=e,s=this[i(425)](t);return Number(t[i(456)][i(328)](s))}))}[et(187)](t,e){const i=et;if(t.is(i(316),i(370)))e[i(258)]({item:t,type:i(441)});else{t.is(i(316))&&e[i(258)]({item:t,type:i(306)});for(const s of t[i(294)]())this[i(187)](s,e);t.is(i(316))&&e[i(258)]({item:t,type:i(373)})}return e}[et(196)](){const t=et,e=new Map(this[t(419)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(429)][t(234)](),...this[t(427)][t(234)]()]);a[t(392)](t(481));for(const e of a){const i=this[t(427)][t(405)](e)||ct(e,!1),s=this[t(429)][t(405)](e)||ct(e,!1);i[t(266)]()||s[t(266)]()?(n[t(273)][e]=at(i),n[t(417)][e]=at(s),this[t(330)](n[t(417)][e],s),this[t(330)](n[t(273)][e],i),r[t(273)][e]=this[t(187)](this[t(201)][t(405)](e),[]),r[t(417)][e]=this[t(187)](this[t(326)][t(405)](e)||ct(e,!1),[])):a[t(392)](e)}for(const n of a){const o=r[t(273)][n];for(const n of o){const r=this[t(425)](n),o=n[t(456)][t(328)](r);i[t(392)](o),o>=this[t(352)]&&s[t(408)](o,e[t(405)](o))}}for(const n of a){const a=r[t(273)][n],c=this[t(281)](r[t(417)][n]);let u=0;for(const n of a){const r=this[t(425)](n),a=n[t(456)][t(328)](r);if(!s[t(244)](a)&&!o[t(244)](a))if(i[t(244)](a))u++;else{if(a!=c[u]){const s=e[t(405)](a)||e[t(405)](c[u]);for(;a!=c[u];)i[t(244)](c[u])||(o[t(408)](c[u],s),e[t(408)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(273)][e];for(const e of n){const n=this[t(425)](e),r=e[t(456)][t(328)](n);if(o[t(244)](r)){const e=o[t(405)](r);i[t(244)](r)||i[t(408)](r,{...e}),s[t(408)](r,{...e})}}}for(const e of i[t(234)]())e>=this[t(352)]&&i[t(392)](e);const c=new Map;for(const e of a){let n=r[t(273)][e];for(const e of n)if(e[t(456)].is(t(316),t(209))){const i=this[t(425)](e),n=e[t(456)][t(328)](i);if(s[t(244)](n)){const i=e[t(456)][t(444)][t(444)][t(328)](t(353)),r=c[t(405)](i)||new Set;r[t(295)](s[t(405)](n)[t(264)]),c[t(408)](i,r)}}n=r[t(417)][e];for(const e of n)if(e[t(456)].is(t(316),t(209))){const s=this[t(425)](e),n=e[t(456)][t(328)](s);if(i[t(244)](n)){const s=e[t(456)][t(444)][t(444)][t(328)](t(353)),r=c[t(405)](s)||new Set;r[t(295)](i[t(405)](n)[t(264)]),c[t(408)](s,r)}}for(const e of c[t(234)]())(s[t(244)](e)||i[t(244)](e))&&c[t(392)](e)}for(const e of a){const n=r[t(273)][e];let o=null,a=null;for(const e of n){const n=this[t(425)](e),r=e[t(456)][t(328)](n),u=c[t(405)](r);u&&t(306)==e[t(323)]&&(o=Array[t(182)](u)[0],a=e[t(456)][t(328)](t(421))),o&&(i[t(408)](r,{userId:o}),s[t(408)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(417)][e],a=n[t(273)][e];for(const{userId:e}of this[t(307)][t(484)]())null!==e&&l[t(295)](e);for(const{userId:e}of this[t(449)][t(484)]())null!==e&&l[t(295)](e);this[t(190)](a,r[t(273)][e],s,t(203),l),this[t(190)](o,r[t(417)][e],i,t(194),l),u[e]={insertions:this[t(395)](a),deletions:this[t(395)](o),attachChange:this[t(449)][t(405)](e)||null,attributesBefore:R(this[t(482)][t(405)](e))||{},attributesAfter:R(this[t(475)][t(405)](e))}}return{diffData:u,authorsIds:Array[t(182)](l)}}[et(189)](t){const e=et;for(const[,i]of t[e(358)]){const t=i[e(250)][e(314)]()[e(243)]((t=>e(209)==t[e(473)]));for(const i of t)1==i[e(385)]&&i[e(204)](0).is(e(316),e(300))&&i[e(204)](0)[e(362)](e(230),!0)}}[et(395)](t){const e=et;this[e(189)](t);const i=this[e(338)][e(414)][e(210)](t,{}),s=Array[e(182)](i[e(294)]())[e(355)]((t=>this[e(478)](t)));return JSON[e(165)](s)}[et(478)](t){const e=et;if(t.is(e(370)))return t[e(414)];{const i=t;return{type:Object[e(234)](st)[e(329)]((e=>t instanceof st[e])),name:i[e(473)],attributes:Array[e(182)](i[e(206)]()),children:Array[e(182)](i[e(294)]())[e(355)]((t=>this[e(478)](t)))}}}[et(190)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(338)][r(376)];for(let s=0;s<e[r(283)];s++){const n=this[r(425)](e[s]),c=e[s][r(456)][r(328)](n),h=i[r(405)](c),d=s==e[r(283)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(264)]!=o[r(264)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(264)],d=l(301)+s+":"+h+":"+c++,f=u[l(175)](i,a);t[l(358)][l(408)](d,f),null!==h&&n[l(295)](h)}}[et(425)](t){const e=et;switch(t[e(323)]){case e(306):return e(353);case e(373):return e(421);default:return e(430)}}[et(375)](t,e){const i=et;t[i(443)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(405)](n[i(333)][i(299)]);t[s]=this[i(467)](n,r)}if(n instanceof H.Range){const r=e[i(405)](n[i(333)][i(299)]);t[s]=this[i(207)](n,r)}i(333)===s&&(t[i(333)]=e[i(405)](t[i(333)][i(299)]))}}[et(207)](t,e){const i=et;return this[i(338)][i(376)][i(175)](this[i(467)](t[i(250)],e),this[i(467)](t[i(424)],e))}[et(467)](t,e){const i=et;return this[i(338)][i(376)][i(222)](e,t[i(276)],t[i(251)])}[et(278)](t){const e=et,i=this[e(201)][e(405)](t[e(171)][e(333)][e(299)]),s=this[e(467)](t[e(171)],i),n=null===t[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,r=s[e(444)],o=this[e(466)],a=[];for(const i of t[e(432)])if(i.is(e(316)))a[e(258)](this[e(188)](i));else for(let t=0;t<i[e(459)];t++)a[e(258)](new H.Element(e(370),{vid:this[e(466)]++}));const c=this[e(466)];for(let t=o;t<c;t++)this[e(419)][e(408)](t,{userId:n});r[e(186)](s[e(367)],a)}[et(331)](t){const e=et;(t=this[e(461)](t,this[e(201)]))[e(176)]();const i=null===t[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,s=t[e(177)](),n=s[e(444)],r=s[e(367)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(204)](e);r.is(a(316),a(370))?s[a(408)](r[a(328)](a(430)),{userId:i}):(s[a(408)](r[a(328)](a(353)),{userId:i}),t(s,r,0,r[a(385)]),s[a(408)](r[a(328)](a(421)),{userId:i}))}}(this[e(419)],n,r,r+t[e(410)])}[et(418)](t){const e=et,i=null===(t=this[e(461)](t,this[e(201)]))[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,s=t[e(167)][e(444)],n=t[e(322)][e(444)],r=s[e(328)](e(421)),o=n[e(328)](e(353));s[e(362)](e(421),n[e(328)](e(421))),n[e(362)](e(421),r),this[e(419)][e(408)](o,{userId:i}),this[e(419)][e(408)](r,{userId:i}),t[e(176)]()}[et(442)](t){const e=et,i=null===(t=this[e(461)](t,this[e(201)]))[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,s=t[e(386)],n=t[e(259)][e(444)];t[e(176)]();const r=n[e(328)](e(421)),o=t[e(212)][e(446)];if(s){const t=o[e(328)](e(421)),s=n[e(328)](e(421));n[e(362)](e(421),t),o[e(362)](e(421),s),this[e(419)][e(408)](n[e(328)](e(421)),{userId:i}),this[e(419)][e(408)](o[e(328)](e(353)),{userId:i})}else{const t=this[e(466)]++,s=this[e(466)]++;n[e(362)](e(421),t),o[e(362)](e(353),s),o[e(362)](e(421),r),this[e(419)][e(408)](t,{userId:i}),this[e(419)][e(408)](s,{userId:i})}}[et(318)](t){const e=et;if(!t[e(361)])return;const i=(t=this[e(461)](t,this[e(427)]))[e(245)]?t[e(245)][e(333)]:null,s=t[e(265)]?t[e(265)][e(333)]:null;i&&this[e(317)][e(392)](t[e(473)]),s&&this[e(317)][e(408)](t[e(473)],t[e(265)][e(402)]());const n=null===t[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,r=t[e(473)];if(!this[e(307)][e(244)](r))return void this[e(307)][e(408)](r,{range:t[e(245)],userId:n});const o=this[e(307)][e(405)](r),a=o[e(383)],c=t[e(265)];null==a&&null==c||a&&c&&a[e(485)](c)?this[e(307)][e(392)](t[e(473)]):o[e(264)]=n}[et(224)](t,e){const i=et;this[i(427)][i(244)](t[i(299)])?this[i(427)][i(405)](t[i(299)])[i(184)]=t[i(416)]:(this[i(427)][i(408)](t[i(299)],ct(t[i(299)],!0)),this[i(475)][i(408)](t[i(299)],{}),e&&this[i(201)][i(408)](t[i(299)],ct(t[i(299)],!0)));const s=null===t[i(195)]?null:t[i(195)]||this[i(338)][i(255)][i(405)](i(227)).me.id,n=this[i(449)][i(405)](t[i(299)]);n&&n[i(264)]===s?this[i(449)][i(392)](t[i(299)]):this[i(449)][i(408)](t[i(299)],{userId:s,isAttached:t[i(416)]})}[et(345)](t){const e=et,i=this[e(475)][e(405)](t[e(333)][e(299)]);null===t[e(434)]?delete i[t[e(342)]]:i[t[e(342)]]=t[e(434)]}}function at(t){const e=et,i=ct(t[e(299)],t[e(266)]());for(const s of t[e(294)]()){const t=s[e(413)](!0);i[e(382)](t)}return i}function ct(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(299)]=t,s[i(184)]=e,s[i(266)]=()=>s[i(184)],s}function ut(){const t=["42783bjYAHr","update","_loadRevisionData","default","delete","addRevisionData","createPositionAfter","_prepareViewToSave","invalid","requires","_isPendingUpdate","markerToData","useFillerType","revisionHistoryLicenseKeyValid","clone","getLatestVersion","revisionHistoryLicenseKeyExpired","get","diffData","setSource","set","reverse","howMany","getRevision","attributesAfter","_clone","data","marked","isAdd","deletions","_handleMergeOperation","_touched","getOperations","vid_end","clear","_findInsertionIndex","end","_getVidAttributeName","for","_diffRoots","createdAt","_baseRoots","vid","move","nodes","428181liqlDr","newValue","creatorId","_bufferedUpdates","getRange","_applyOperations","revisionHistoryLicenseKeyNotAllowed","featureNotAllowed","text","_handleSplitOperation","baseVersion","parent","createPositionBefore","nodeAfter","1276Fmbmkt","_isInit","_touchedRoots","NEGATIVE_INFINITY","getRootNames","_reset","version","addRoot","currentRevision","item","revision-start","getTime","offsetSize","roots","_cloneOperation","_continueCurrentRevision","afterInit","_createInitialRevision","dataDowncast","_revisionId","_fixPosition","detachRoot","fromVersion","revisionHistoryLicenseKeyEvaluationLimit","reInit","PENDING_ACTION_REVISION_HISTORY","name","changeRootAttribute","_diffRootsAttributes","PendingActions","770945cVwHhu","_getViewJson","_addPendingAction","revisionHistoryLicenseKeyUsageLimit","$graveyard","_baseRootsAttributes","creator","values","isEqual","RevisionHistory","trim","includes","stringify","ready","targetPosition","documentFragment","_transformMarkers","usageLimit","position","_removeRevisionMarkers","fromEntries","_lastTo","createRange","_execute","getMovedRangeStart","getRoot","sendBufferedUpdates","getUser","setRevisionData","from","removeRootAttribute","_isAttached","264bXOUMa","_insertChild","_generateTape","_makeIdsRoot","_processRootBeforeSave","_markChanges","revisionHistoryLicenseKeyInvalid","createRangeIn","_makeRevision","deletion","_authorId","_getState","upcast","locale","string","buildRevisionData","_idsRoots","createPositionAt","insertion","getChild","collaboration.channelId","getAttributes","_fixRange","_removeMetaData","tableCell","toView","getTransformedByOperation","insertionPosition","resolve","879nMBHhN","revisionHistoryLicenseKeyDomainLimit","RealTimeCollaborationClient","startsWith","getData","licenseKey","isReady","attachChange","createPositionFromPath","isEnabled","_handleRootOperation","dataToMarker","_replaceEditorDataWithRevisionData","Users","10OuIhKc","remove","keepParagraph","_initialRevisionId","getNodeByPath","children","keys","9770bIByby","isPremiumPlugin","marker","revisionHistoryLicenseKeyTrialLimit","source","domainLimit","forEach","_removePendingAction","filter","has","oldRange","_loadedStateData","_getPreviousFrom","getWalker","_pendingAction","start","stickiness","2172mjFyYo","finally","updateRevisions","plugins","parse","initial","push","splitPosition","revision-end","_makeModelFromViewString","Initial revision","reinsert","userId","newRange","isAttached","_getFromVersion","_lastFrom","pluginName","_update","toVersion","authors","insertions","adapter","_startingVersion","path","initialData","_handleInsertOperation","processor","data-revision-","_getBaseVids","addRootAttribute","length","editor-initial-data-replaced-with-revision-data","getCurrentRevisionId","getRevisionDocumentData","RevisionsRepository","split","createRevision","RevisionTracker","document","revision","842108cjsOaG","getChildren","add","6dubSlv","sort","size","rootName","paragraph","revision:","history","_bufferUpdate","_saveMetaData","then","elementStart","_touchedMarkers","trialLimit","_setConversion","authorsIds","_source","rootsAttributes","conversion","getAncestors","attributesBefore","element","_markers","_handleMarkerOperation","_calculateMetaData","_createCurrentRevision","saveRevision","sourcePosition","type","getRevisions","_handleOperation","_baseIdsRoots","_loadState","getAttribute","find","_copyMarkers","_handleMoveOperation","editing","root","previousPosition","define","revisionHistory.resumeUnsavedRevision","toModel","editor","config","repository","_createFromRanges","key","hasContent","init","_handleRootAttributeOperation","slice","isOfficialPlugin","bind","max","Empty document","268NpEfbz","_startingRevisionId","vid_start","merge","map","addRevision","_showLicenseError","markers","destroy","view","affectsData","_setAttribute","getOperation","some","attributes","_licenseKeyCheckInterval","offset","insert","getRevisionRootsAttributes","$text","expired","57393dwJlvu","elementEnd","getIndex","_fixOperation","model","_revisionDataBuilder","shift","loadState","_operations","evaluationLimit","_appendChild","range","_savedMetaData","childCount","graveyardPosition","toData"];return(ut=function(){return t})()}function lt(t,e,i){const s=et,n=s(373)==t[s(323)]?i[s(202)](t[s(456)],s(424)):i[s(445)](t[s(456)]);return i[s(222)](e,n[s(276)],n[s(251)])}function ht(t,e,i){const s=et,n=s(306)==t[s(323)]?i[s(202)](t[s(456)],0):i[s(394)](t[s(456)]);return i[s(222)](e,n[s(276)],n[s(251)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var xt=i(959),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=wt(),Tt.insert=kt().bind(null,"head"),Tt.domAPI=gt(),Tt.insertStyleElement=It();pt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;const Nt=At;function At(t,e){const i=Rt();return(At=function(t,e){return i[t-=320]})(t,e)}function Rt(){const t=["render","revisionNameInputValue","ck-revision-history-save-revision-form","ck-responsive-form","element","focusTracker","220","value","focus","input","fieldView","revisionNameInputView","2425000IOXuSh","3140kyroXV","form","Name of the revision","_createRevisionNameInput","arrowup","reset","revisionName","arrowleft","3195459DceOYh","588gfAAPx","label","2616JRijje","trim","errorText","2067974ZjQpwB","arrowdown","set","arrowright","10957338McemAG","19194RDFlpz","optional","setTemplate","listenTo","1Bwjqsv","keystrokes","locale","stopPropagation","extendTemplate","add","5551732lWChKn"];return(Rt=function(){return t})()}!function(t){const e=At,i=t();for(;;)try{if(694403===parseInt(e(347))/1*(parseInt(e(338))/2)+parseInt(e(332))/3+-parseInt(e(353))/4+-parseInt(e(324))/5*(-parseInt(e(333))/6)+parseInt(e(343))/7*(parseInt(e(335))/8)+-parseInt(e(342))/9+parseInt(e(323))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rt);class Mt extends ft.View{[Nt(359)];[Nt(348)];[Nt(322)];constructor(e,i){const s=Nt;super(e),this[s(359)]=new t.FocusTracker,this[s(348)]=new t.KeystrokeHandler,this[s(340)](s(355),""),this[s(322)]=this[s(327)](i),this[s(345)]({tag:s(325),attributes:{class:["ck",s(356),s(357)],tabindex:"-1"},children:[this[s(322)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(354)](){const t=Nt;super[t(354)](),(0,ft.submitHandler)({view:this}),this[t(359)][t(352)](this[t(322)][t(358)]),this[t(348)][t(346)](this[t(358)]);const e=e=>e[t(350)]();this[t(348)][t(340)](t(341),e),this[t(348)][t(340)](t(331),e),this[t(348)][t(340)](t(328),e),this[t(348)][t(340)](t(339),e)}[Nt(362)](){const t=Nt;this[t(322)][t(362)]()}get[Nt(330)](){const t=Nt;return this[t(322)][t(321)][t(358)][t(361)][t(336)]()}set[Nt(330)](t){const e=Nt;this[e(322)][e(321)][e(358)][e(361)]=t[e(336)]()}[Nt(329)](){const t=Nt;this[t(322)][t(321)][t(358)][t(361)]="",this[t(322)][t(337)]=null}[Nt(327)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(349)],ft.createLabeledInputText),s=i[e(321)];s[e(351)]({attributes:{maxlength:e(360)}});let n=Y(this[e(349)],e(326));return!t&&(n+=" ("+Y(this[e(349)],e(344))+")"),i[e(334)]=n,s.on(e(320),(()=>{const t=e;this[t(355)]=s[t(358)][t(361)][t(336)]()})),i}}const Vt=Dt;function Et(){const t=["focus","revisionHistory.requireRevisionName","delegate","RevisionHistoryUI","pluginName","plugins","12952FkSNdx","execute","_registerMenuComponent","requires","3218006bcKqWx","menuitem","locale","submit","revisionHistory","view","revisionNameInputView","saveRevision","Open revision history","Accept","Save current revision","componentFactory","2137898Zwamow","isEnabled","_showDialog","60VyajcP","bind","9421FQzZKJ","render","2296092wIkvXp","isOpen","2001790tDtjiw","revisionSave","revisionName","Cancel","items","isReady","5lGlWJe","isOfficialPlugin","_createSaveRevisionFormView","get","The revision name cannot be empty.","194gAgxwU","editing","buttonView","role","addMany","isReadOnly","config","panelView","children","menuBar:revisionHistory","add","menu","Revision history","show","hide","isPremiumPlugin","ck-button-action","1581ATNplM","81kadeML","errorText","set","Dialog","_saveRevisionFormView","init","reset","showRevisionViewerCallback","RevisionTracker","editor","6979136dtQrit"];return(Et=function(){return t})()}function Dt(t,e){const i=Et();return(Dt=function(t,e){return i[t-=361]})(t,e)}!function(t){const e=Dt,i=t();for(;;)try{if(911264===parseInt(e(382))/1*(parseInt(e(397))/2)+-parseInt(e(414))/3*(parseInt(e(361))/4)+parseInt(e(392))/5*(-parseInt(e(384))/6)+-parseInt(e(377))/7+-parseInt(e(425))/8+-parseInt(e(415))/9*(-parseInt(e(386))/10)+parseInt(e(365))/11*(parseInt(e(380))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Et);class Ct extends U.Plugin{static get[Vt(430)](){return Vt(429)}static get[Vt(393)](){return!0}static get[Vt(412)](){return!0}static get[Vt(364)](){return[nt]}[Vt(419)];[Vt(420)](){const t=Vt,e=this[t(424)],i=e[t(431)][t(395)](t(423));e.ui[t(376)][t(407)](t(369),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(404)][n(405)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(381)](n(378)).to(i,n(391),i,n(378),e,n(402),((t,e,i)=>t&&e&&!i)),r[n(399)][n(417)]({icon:dt.IconHistory,label:Y(s,n(409)),tooltip:!0}),u[n(417)]({label:Y(s,n(375)),withText:!0,role:n(366)}),u[n(381)](n(378)).to(i,n(391),i,n(378),e,n(402),((t,e,i)=>t&&e&&!i)),u.on(n(362),(()=>this[n(379)]())),h[n(417)]({label:Y(s,n(373)),withText:!0,role:n(366)}),h[n(381)](n(378)).to(i,n(391),e,n(402),((t,e)=>t&&!e)),h.on(n(362),(()=>{const t=n;e[t(403)][t(395)](t(369))[t(422)](),r[t(385)]=!1,e[t(398)][t(370)][t(426)]()})),c[n(405)][n(407)](u),l[n(405)][n(407)](h),a[n(400)]=n(408),a[n(390)][n(401)]([c,l]),o[n(407)](a),r})),e.ui[t(376)][t(407)](t(406),(()=>this[t(363)]()))}[Vt(363)](){const t=Vt,e=this[t(424)],i=e[t(367)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(399)][t(417)]({icon:dt.IconHistory,label:Y(i,t(409))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(417)]({label:Y(i,t(375))}),o[t(428)](t(362)).to(s),o.on(t(362),(()=>{this[t(379)]()})),r[t(405)][t(407)](o),n[t(390)][t(407)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(417)]({label:Y(i,t(373))}),c[t(428)](t(362)).to(s),c.on(t(362),(()=>{const i=t;e[i(403)][i(395)](i(369))[i(422)]()})),a[t(405)][t(407)](c),n[t(390)][t(407)](a),s[t(404)][t(405)][t(407)](n),s}[Vt(379)](){const t=Vt,e=this[t(424)],i=e[t(367)],s=e[t(431)][t(395)](t(418)),n=e[t(431)][t(395)](t(423));function r(n){const r=t;e[r(403)][r(395)](r(427))&&""===n[r(388)]?n[r(371)][r(416)]=Y(i,r(396)):(e[r(431)][r(395)](nt)[r(372)]({name:n[r(388)]}),s[r(411)]())}this[t(419)]||(this[t(394)](),this[t(419)].on(t(368),(()=>r(this[t(419)])))),this[t(419)][t(421)](),s[t(410)]({id:t(387),title:Y(i,t(375)),isModal:!0,content:this[t(419)],actionButtons:[{label:Y(e[t(367)],t(389)),withText:!0,onExecute:()=>s[t(411)]()},{label:Y(e[t(367)],t(374)),class:t(413),withText:!0,onCreate(i){const s=t;i[s(381)](s(378)).to(n,s(391),n,s(378),e,s(402),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(419)])}]})}[Vt(394)](){const t=Vt,e=this[t(424)],i=e[t(367)];this[t(419)]=new Mt(i,e[t(403)][t(395)](t(427))),this[t(419)][t(383)]()}}function Ft(t,e){const i=Pt();return(Ft=function(t,e){return i[t-=101]})(t,e)}const jt=Ft;function Pt(){const t=["bindTemplate","data","_model","type","ck-annotation","setTemplate","name","90mFTfml","span","isSuggestion","add","ck-revision-change__label","ck-revision-change","7MapKCC","Suggested by","15AKDEYV","div","ck-revision-change__","set","Removed by","Added by","author","element","64440wqIoFG","11577467jOjmQv","1886212JNqSST","2021478FDdtuc","803909sgMaEy","focus","changeId","463200aoPtay","189TqTytS","9159816tqchMM"];return(Pt=function(){return t})()}!function(t){const e=Ft,i=t();for(;;)try{if(774202===-parseInt(e(119))/1+parseInt(e(117))/2+parseInt(e(123))/3*(-parseInt(e(115))/4)+parseInt(e(107))/5*(-parseInt(e(118))/6)+-parseInt(e(105))/7*(-parseInt(e(124))/8)+-parseInt(e(132))/9*(-parseInt(e(122))/10)+parseInt(e(116))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Lt extends ft.View{[jt(121)];[jt(127)];constructor(t,e){const i=jt;super(t),this[i(127)]=e,this[i(121)]=e.id;const s=this[i(125)],n=Y(t,e[i(126)][i(101)]?i(106):i(102)==e[i(128)]?i(112):i(111));this[i(110)](i(128),e[i(128)]),this[i(130)]({tag:i(108),attributes:{class:[i(129),i(104),s.to(i(128),(t=>i(109)+t))],tabindex:-1},children:[{tag:i(133),children:[{tag:i(133),attributes:{class:[i(103)]},children:[{text:n}]},{text:" "+e[i(113)][i(131)]}]}]})}[jt(120)](){const t=jt;this[t(114)][t(120)]()}}var zt=Wt;function Wt(t,e){var i=Ut();return(Wt=function(t,e){return i[t-=181]})(t,e)}function Ut(){var t=["1373050SMTGTQ","toJSON","set","8DUoRZn","1259705OkVQYP","1xPOmaA","data","564cEQdLS","rootName","2268IaSJjr","4881JZyZiL","359361HfRwJR","6kLUWMx","710072MdQNPe","12880417naPSHC","createdAt","type","author"];return(Ut=function(){return t})()}!function(t){for(var e=Wt,i=t();;)try{if(236863===-parseInt(e(185))/1*(parseInt(e(193))/2)+-parseInt(e(190))/3*(parseInt(e(187))/4)+-parseInt(e(184))/5*(parseInt(e(192))/6)+parseInt(e(189))/7*(-parseInt(e(183))/8)+parseInt(e(191))/9+-parseInt(e(198))/10+parseInt(e(194))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Zt extends((0,t.ObservableMixin)()){id;[zt(197)];[zt(196)];[zt(186)];[zt(188)];constructor(e){var i=zt;super(),this.id=e.id||(0,t.uid)(),this[i(197)]=e[i(197)],this[i(196)]=e[i(196)],this[i(186)]=e[i(186)]||{},this[i(188)]=e[i(188)],this[i(182)](i(195),e[i(195)])}[zt(181)](){var t=zt;return{id:this.id,authorId:this[t(197)].id,type:this[t(196)],data:this[t(186)],createdAt:this[t(195)]}}}const Ht=qt;function qt(t,e){const i=$t();return(qt=function(t,e){return i[t-=237]})(t,e)}function $t(){const t=["add","oldRevisionId","449047DpBsAA","1244424vyybOe","18UMMdhn","newRevisionId","711208GlyAUf","2731281ReKcfM","14690490odmZTo","810204nWqRTe","_setChanges","220450orGpEJ","4AoTBEL","changes","10fkBEYv"];return($t=function(){return t})()}!function(t){const e=qt,i=t();for(;;)try{if(232970===-parseInt(e(241))/1+parseInt(e(250))/2+-parseInt(e(248))/3*(parseInt(e(251))/4)+parseInt(e(238))/5*(-parseInt(e(242))/6)+-parseInt(e(246))/7+parseInt(e(245))/8*(parseInt(e(243))/9)+parseInt(e(247))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Bt{[Ht(244)];[Ht(240)];[Ht(237)];constructor(e,i){const s=Ht;this[s(244)]=e,this[s(240)]=i,this[s(237)]=new t.Collection}[Ht(249)](t){const e=Ht;for(const i of t)this[e(237)][e(239)](i)}}var Jt=i(536),Yt={attributes:{"data-cke":!0}};Yt.setAttributes=wt(),Yt.insert=kt().bind(null,"head"),Yt.domAPI=gt(),Yt.insertStyleElement=It();pt()(Jt.A,Yt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Gt=Kt;function Kt(t,e){const i=ee();return(Kt=function(t,e){return i[t-=431]})(t,e)}!function(t){const e=Kt,i=t();for(;;)try{if(343524===parseInt(e(628))/1+parseInt(e(762))/2+parseInt(e(699))/3*(-parseInt(e(599))/4)+-parseInt(e(624))/5+parseInt(e(626))/6+-parseInt(e(689))/7*(parseInt(e(437))/8)+-parseInt(e(486))/9*(-parseInt(e(768))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);const Xt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class Qt extends U.Plugin{[Gt(676)];[Gt(715)];[Gt(541)];[Gt(728)];[Gt(675)];[Gt(472)];static get[Gt(536)](){return Gt(491)}static get[Gt(462)](){return!0}static get[Gt(554)](){return!0}static get[Gt(449)](){return[Z.Users,ft.ContextualBalloon,J]}constructor(t){const e=Gt;super(t),this[e(676)]=this[e(463)][e(544)][e(704)](e(561)),this[e(684)](e(495),null),this[e(684)](e(616),null),this[e(541)]=null,this[e(684)](e(668),null),this[e(684)](e(757),!1),this[e(684)](e(574),!0),this.on(e(516),((t,i,s)=>{const n=e;this[n(495)]=null,this[n(616)]=null,this[n(463)][n(645)][n(597)][n(567)]((t=>{const e=n;for(const i of this[e(463)][e(645)][e(597)][e(598)][e(507)])s?t[e(604)](e(468),i):t[e(737)](e(468),i)}))})),this[e(654)](e(526)).to(this,e(495),(t=>null!==t)),this[e(654)](e(697)).to(this,e(757),this,e(668),this,e(495),((t,i,s)=>t&&s?i[e(593)][e(591)](s):0)),this[e(654)](e(503)).to(this,e(757),this,e(668),((t,i)=>t?i[e(593)][e(473)]:0)),this[e(728)]=null,this[e(675)]=new Map,this[e(715)]=null,this[e(472)]=this[e(463)][e(544)][e(704)](ft.ContextualBalloon)}[Gt(589)](){const t=Gt,e=this[t(463)],i=new se(e,{direction:t(752)}),s=new se(e,{direction:t(725)});e[t(445)][t(448)](t(703),i),e[t(445)][t(448)](t(727),s),e[t(445)][t(448)](t(537),new ie(e)),this.on(t(552),(()=>{const e=t;i[e(563)](),s[e(563)]()})),this[t(644)](),this[t(730)](),e[t(492)](t(481)),e[t(544)][t(741)](t(572))&&e[t(544)][t(704)](t(572))[t(464)](t(481))}async[Gt(656)](t){const e=Gt;await this[e(518)](t);const i={};for(const s in t[e(682)]){if(t[e(682)][s][e(611)]&&!t[e(682)][s][e(611)][e(568)])continue;const n=this[e(639)](JSON[e(488)](t[e(682)][s][e(505)])),r=this[e(463)][e(645)][e(597)][e(598)],o=new H.ViewDocumentFragment(r,n[e(672)]((t=>this[e(467)](t))));this[e(463)][e(655)][e(479)][e(615)](e(489)),i[s]=this[e(463)][e(655)][e(479)][e(710)](o),this[e(463)][e(655)][e(479)][e(615)](e(605))}return i}async[Gt(700)](t){const e=Gt;await this[e(518)](t);const i={};for(const s in t[e(682)])t[e(682)][s][e(611)]&&!t[e(682)][s][e(611)][e(568)]||(i[s]=t[e(682)][s][e(673)]||{});return i}[Gt(639)](t){const e=Gt;return(t=t[e(693)]((t=>!t[e(713)]||e(576)!==t[e(713)]&&e(443)!==t[e(713)])))[e(711)]((t=>{const i=e;i(553)!=typeof t&&(t[i(671)]=this[i(639)](t[i(671)]),t[i(736)]=t[i(736)][i(693)]((t=>!t[0][i(686)](i(458)))))})),t}async[Gt(744)](t,e,i=!1){const s=Gt;if(!this[s(574)])return;const n=this[s(668)],r=this[s(676)],o=s(553)==typeof t?r[s(665)](t):t,a=s(553)==typeof e?r[s(665)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(668)]&&this[s(668)][s(714)]===c&&this[s(668)][s(642)]===u)return Promise[s(763)]();this[s(757)]=!1,this[s(616)]=null,this[s(495)]=null,this[s(668)]=new Bt(c,u);const l=this[s(531)](o,a,!0)[s(672)]((t=>this[s(518)](t)));return l[s(451)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(721)](l)[s(474)]((()=>{const t=s;if(!this[t(574)])return;this[t(669)]();const e=this[t(687)](c,u);for(const i of e[t(593)])this[t(675)][t(684)](i.id,i);this[t(463)][t(622)][t(701)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(463)][s(622)][s(598)][s(564)]())i[s(755)](t);for(const t of Object[s(581)](e[s(622)])){const n=i[s(496)](t);for(const r of Object[s(581)](e[s(736)][t]))i[s(614)](r,e[s(736)][t][r],n);i[s(556)](e[s(622)][t],n,0)}})),this[t(668)][t(444)](this[t(538)](e[t(593)])),this[t(757)]=!0}))[s(749)]((t=>{const e=s;console[e(702)](t),this[e(669)](),n&&(this[e(668)]=n),this[e(757)]=!0}))}[Gt(663)](t,e){const i=Gt,s=this[i(676)][i(619)](t);return s.on(i(681),((t,i,n)=>e(i,n,s))),this[i(676)][i(482)](s),s}[Gt(518)](t){const e=Gt;if(!t||t[e(682)])return Promise[e(763)]();{const i=this[e(463)][e(723)][e(704)](e(657));return this[e(715)][e(665)]({channelId:i,revisionId:t.id})[e(474)]((i=>{const s=e;t[s(681)]({diffData:i[s(682)]},!0)}))}}[Gt(669)](){const t=Gt;this[t(495)]=null,this[t(579)](),this[t(728)]&&this[t(728)][t(691)](),this[t(728)]=null,this[t(675)][t(587)](),this[t(463)][t(622)][t(701)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(463)][i(622)][i(598)][i(564)]())e[i(755)](t)}))}[Gt(538)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(463)][e(622)][e(598)][e(564)]()){const n=this[e(463)][e(645)][e(597)][e(465)](t);if(!n)continue;const r=n[e(742)]()[e(634)](0);r&&(i[e(451)](t),s[e(684)](t,r))}return i[e(580)](((t,i)=>{const n=e,r=s[n(704)](t),o=s[n(704)](i);return r.y-o.y||r.x-o.x})),(t=t[e(693)]((t=>i[e(680)](t[e(543)]))))[e(580)](((t,s)=>i[e(557)](t[e(543)])-i[e(557)](s[e(543)]))),t}[Gt(586)](t){const e=Gt,i=Array[e(718)](t[e(708)])[e(693)]((([t,i])=>t[e(686)](e(460))&&!i[e(549)])),s=Array[e(718)](this[e(463)][e(622)][e(595)](t)[e(528)]({singleCharacters:!0}));if(0!=i[e(473)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(733)](":");if(n[e(677)][e(612)](t[e(584)])&&i[e(754)](),(t[e(738)][e(612)](n[e(560)])||t[e(738)][e(692)](n[e(560)]))&&(e(499)==r?t[e(455)]={userId:o}:e(707)==r&&(t[e(436)]={userId:o})),0==i[e(473)])break}return s}[Gt(478)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(473)];s++)e(603)===t[s][e(511)]?(t[s][e(634)][e(662)]=s,t[s][e(634)][e(747)]=s):(e(487)===t[s][e(511)]?t[s][e(634)][e(662)]=s:e(607)===t[s][e(511)]&&(t[s][e(634)][e(747)]=s),i[e(684)](t[s].id,s));for(const s of i[e(524)]())e(487)===t[s][e(511)]?t[s][e(634)][e(747)]=i[e(704)](t[s][e(739)]):e(607)===t[s][e(511)]&&(t[s][e(634)][e(662)]=i[e(704)](t[s][e(739)]))}[Gt(534)](t){const e=Gt;for(let i=0;i<t[e(473)];i++){if(e(487)===t[i][e(511)])t[i][e(634)][e(662)]=i;else if(e(607)===t[i][e(511)]){t[i][e(634)][e(747)]=i;const s=t[i][e(634)][e(662)];t[s][e(739)]=t[i].id,t[i][e(739)]=t[s].id}else t[i][e(634)][e(662)]=i,t[i][e(634)][e(747)]=i,t[i][e(739)]=null;t[i][e(570)]||(t[i][e(570)]=[],t[i][e(748)]=[])}}[Gt(658)](t,e){const i=Gt,s=t[i(693)]((t=>!t[i(455)]));for(let t=0;t<e[i(473)];t++)e[t][i(455)]&&(s[t][i(455)]=e[t][i(455)])}[Gt(520)](t){const e=Gt,i=JSON[e(488)](t),s=this[e(463)][e(645)][e(597)][e(598)],n=new H.ViewDocumentFragment(s,i[e(672)]((t=>this[e(467)](t))));return this[e(463)][e(655)][e(726)](n)}[Gt(467)](t){const e=Gt,i=this[e(463)][e(645)][e(597)][e(598)];if(e(553)==typeof t)return new H.ViewText(i,t);{const s=t[e(671)][e(672)]((t=>this[e(467)](t)));return new(Xt[t[e(511)]]||H.ViewElement)(i,t[e(713)],t[e(736)],s)}}[Gt(687)](t,e=null){const i=Gt,s=this[i(676)][i(665)](t),n=e?this[i(676)][i(665)](e):null,r=this[i(531)](s,n),o=r[r[i(473)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(473)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(581)](e[i(682)]))if(e[i(682)][t][i(611)]){const s=e[i(682)][t][i(611)];s[i(568)]?(u[i(448)](t),l[i(741)](t)&&l[i(704)](t)[i(643)]==s[i(643)]?l[i(566)](t):l[i(684)](t,s)):l[i(741)](t)?(u[i(566)](t),l[i(566)](t)):(u[i(448)](t),l[i(684)](t,s))}else u[i(448)](t)}for(const t of u){const e=l[i(741)](t)&&!l[i(704)](t)[i(568)];let s=e?r[i(473)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(682)][t]){const s=e?o[i(682)][t][i(494)]:o[i(682)][t][i(673)];c[i(736)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(622)]={};for(const e of t[i(588)])a[i(684)](e.id,e);for(const e of u){const s=t[i(682)][e]?t[i(682)][e][i(505)]:"[]",n=t[i(682)][e]?t[i(682)][e][i(722)]:"[]";t[i(622)][e]={insertions:this[i(520)](s),deletions:this[i(520)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(718)](s[i(622)][t][i(505)][i(708)])[i(693)]((([t])=>!t[i(686)](i(460)))));let h=0;for(const o of r){const r=this[i(586)](o[i(622)][t][i(505)]);o==s?(e=r,n=e[i(473)],e[i(711)]((t=>{t.id=h++})),this[i(534)](e)):this[i(658)](e,r);const a=e[i(693)]((t=>!t[i(455)]))[i(672)]((t=>t.id));let c=0;const l=this[i(586)](o[i(622)][t][i(722)]);l[i(711)]((t=>{t[i(436)]?t.id=n++:t.id=a[c++]})),this[i(534)](l),this[i(500)](e,i(455)),this[i(500)](l,i(436)),o==s&&this[i(694)](e,u),e=this[i(513)](e,l),this[i(478)](e),this[i(500)](e,i(436))}e=e[i(693)]((t=>!(t[i(455)]&&t[i(436)])));const d=new Map(o[i(622)][t][i(722)][i(708)]),f=new Set(u[i(581)]());for(const t of d[i(581)]())f[i(566)](t);this[i(542)](e,f),this[i(621)](e),e=this[i(705)](e),e=this[i(575)](e),e=this[i(461)](e);const{root:m,changes:p}=this[i(641)](e,a,t);c[i(622)][t]=m;const v=l[i(704)](t);if(v){const e=a[i(704)](v[i(643)]),s=new Zt({author:e,type:v[i(568)]?i(448):i(706),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(613)](s),c[i(736)][t][i(683)]=s.id}c[i(593)]=c[i(593)][i(454)](p)}return c}[Gt(694)](t,e){const i=Gt;for(let s=0;s<t[i(473)];s++)for(const[n,r]of e)r[i(560)][i(612)](t[s][i(738)])&&t[s][i(570)][i(451)](n),r[i(677)][i(612)](t[s][i(584)])&&t[s][i(748)][i(451)](n)}[Gt(513)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(473)]||r<e[i(473)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(451)](o);else if(a[i(436)]&&o[i(455)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(670)](t,n,e,r);s=s[i(454)](o),n=a,r=c}else a[i(436)]?(r++,s[i(451)](a)):(n++,s[i(451)](o))}return s}[Gt(542)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(473)];o++){for(let r=0;r<t[o][i(570)][i(473)];r++){const a=t[o][i(570)][r];if(!e[i(741)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(515)!=c||i(499)!=u&&i(707)!=u||(s[i(613)]({type:u,name:a,userId:l}),t[o][i(570)][i(760)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(748)][i(473)];r++){const a=t[o][i(748)][r];if(!e[i(741)](a))continue;const{group:c,type:u}=n(a);if(i(515)!=c||i(499)!=u&&i(707)!=u)continue;t[o][i(748)][i(760)](r,1),r--;const l=s[i(731)]((t=>t[i(713)]==a));l>-1&&s[i(760)](l,1)}}function n(t){const e=i,s=t[e(733)](":");return{group:s[0],type:s[1],subType:s[e(473)]>=5?s[2]:null,id:s[e(473)]<5?s[2]:s[3],authorId:s[e(473)]<5?s[3]:s[4],markerCount:6==s[e(473)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(473)];i++){if(t[e(455)]&&e(499)==s[i][e(511)])return t[e(646)]=s[i],void delete t[e(455)];if(!t[e(455)]&&!t[e(436)]&&e(707)==s[i][e(511)])return void(t[e(438)]=s[i])}}}[Gt(500)](t,e){const i=Gt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(684)](o.id,s);for(let s=0;s<t[i(473)];s++){if(i(436)==e&&t[s][i(455)]||i(455)==e&&t[s][i(436)])continue;if(i(603)==t[s][i(511)]){t[s][i(633)]=0;continue}const n=r[i(704)](t[s][i(739)]),o=r[i(704)](t[s].id);t[s][i(633)]=n-o}}[Gt(531)](t,e,i=!1){const s=Gt,n=[];let r=this[s(676)][s(591)](t),o=this[s(676)][s(591)](e);for(-1==o&&(o=this[s(676)][s(504)][s(473)],i=!1);r<o;)n[s(451)](this[s(676)][s(665)](r)),r++;return i&&n[s(451)](this[s(676)][s(665)](r)),n}[Gt(670)](t,e,i,s){const n=Gt,r=this[n(463)][n(622)][n(483)];let o=e;for(;t[o]&&t[o][n(455)];)o++;let a=s;for(;i[a]&&i[a][n(436)];)a++;u(t,e,o),u(i,s,a);const c=i[n(573)](s,a)[n(454)](t[n(573)](e,o));return c[n(580)](((t,e)=>t[n(767)]!=e[n(767)]?t[n(767)]-e[n(767)]:t[n(498)]!=e[n(498)]?t[n(498)]-e[n(498)]:t[n(633)]!=e[n(633)]?e[n(633)]-t[n(633)]:!!t[n(455)]!=!!e[n(455)]?-1==t[n(767)]||0==t[n(767)]?t[n(455)]?-1:1:t[n(455)]?1:-1:t[n(688)]-e[n(688)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(592)],c=!0;for(let n=e;n<i;n++)if(r[s(618)](t[n][s(634)])||(c=!1),t[n][s(634)][s(662)]<e&&(o=n),t[n][s(634)][s(747)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(767)]=n<=o?-1:n<a?0:1,t[n][s(688)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(633)]?t[i][s(498)]=u:(u++,t[i][s(498)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(767)]&&(t[n][s(498)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(633)]?t[e][s(498)]=u:(u--,t[e][s(498)]=u,u--)}}[Gt(621)](t){const e=Gt,i=new Map,s=this[e(463)][e(622)][e(483)];for(let n=1;n<t[e(473)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(603)==c[e(511)])continue;if(c[e(511)]!=u[e(511)])continue;if(!s[e(577)](u[e(634)])||s[e(594)](u[e(634)]))continue;if(!s[e(577)](c[e(634)])||s[e(594)](c[e(634)]))continue;if((t[n][e(455)]||t[n][e(646)])&&t[n-1][e(436)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(436)]||!t[n-1][e(455)]&&!t[n-1][e(646)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(498)]==o[e(498)],h=Math[e(627)](r[e(498)])<Math[e(627)](o[e(498)])&&0==o[e(633)];(l||h)&&(i[e(684)](o.id,r.id),t[e(760)](a,1),n--,r[e(455)]=!1)}for(let s=0;s<t[e(473)];s++)i[e(741)](t[s][e(739)])&&(t[s][e(739)]=i[e(704)](t[s][e(739)]))}[Gt(705)](t){const e=Gt,i=new Set(t[e(672)]((t=>t.id)));for(let s=0;s<t[e(473)];s++)i[e(741)](t[s][e(739)])||0==t[s][e(633)]||(t[s][e(679)]=!0);return t[e(693)]((t=>!t[e(679)]))}[Gt(575)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(473)];s++){if(i[e(741)](t[s].id)&&t[s][e(436)]&&(t[s][e(679)]=!0),t[s][e(679)])continue;if(0==t[s][e(633)])continue;if(e(487)!=t[s][e(511)])continue;if(null==t[s][e(739)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(739)];)e(487)==t[n][e(511)]?r++:e(607)==t[n][e(511)]&&r--,n++;if(0!=r)if(t[s][e(436)])t[s][e(679)]=!0;else for(;n!=s;)t[n][e(436)]&&0!=t[n][e(633)]&&(t[n][e(679)]=!0,i[e(448)](t[n][e(739)])),n--}return t[e(693)]((t=>!t[e(679)]))}[Gt(461)](t){const e=Gt,i=this[e(463)][e(622)][e(483)];for(let s=0;s<t[e(473)];s++){if(!(t[s][e(455)]||t[s][e(646)]||t[s][e(436)]||t[s][e(438)]))continue;if(0==t[s][e(633)])continue;const n=t[s][e(634)];i[e(577)](n)||i[e(594)](n)||(t[s][e(455)]&&delete t[s][e(455)],t[s][e(646)]&&delete t[s][e(646)],t[s][e(438)]&&delete t[s][e(438)],t[s][e(436)]&&(t[s][e(679)]=!0))}return t[e(693)]((t=>!t[e(679)]))}[Gt(641)](t,e,i){const s=Gt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(463)][s(622)],c=a[s(483)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(473)];e++)if(s(487)===t[e][s(511)]){t[e][s(738)]=a[s(709)](n,f);const i=new H.Element(t[e][s(634)][s(713)],t[e][s(634)][s(753)]());u[0][s(765)](i),f[s(451)](0),u[s(613)](i),t[e][s(584)]=a[s(709)](n,f)}else s(607)===t[e][s(511)]?(u[s(754)](),t[e][s(738)]=a[s(709)](n,f),f[s(517)](),f[f[s(473)]-1]++,t[e][s(584)]=a[s(709)](n,f)):(t[e][s(738)]=a[s(709)](n,f),d?d[s(550)]+=t[e][s(634)][s(655)]:d=new H.Text(t[e][s(634)][s(655)],t[e][s(634)][s(753)]()),t[e+1]&&s(603)===t[e+1][s(511)]&&v(d,t[e+1][s(634)])||(u[0][s(765)](d),d=null),f[f[s(473)]-1]+=t[e][s(634)][s(522)],t[e][s(584)]=a[s(709)](n,f));for(let e=0;e<t[s(473)];e++){const i=t[e][s(738)],n=t[e][s(584)];for(const n of t[e][s(570)])o[s(684)](n,{start:i,end:null});m(s(438),e,i,n),m(s(646),e,i,n),m(s(436),e,i,n),m(s(455),e,i,n);for(const i of t[e][s(748)])o[s(704)](i)[s(677)]=n}for(const[t,e]of o){const i=this[s(463)][s(622)][s(759)](e[s(560)],e[s(677)]);n[s(708)][s(684)](t,i)}return r[s(580)](((t,e)=>{const i=s,r=n[i(708)][i(704)](i(460)+t.id),o=n[i(708)][i(704)](i(460)+e.id);return r[i(560)][i(529)](o[i(560)])?-1:r[i(560)][i(692)](o[i(560)])?1:r[i(677)][i(529)](o[i(677)])?-1:r[i(677)][i(692)](o[i(677)])?1:i(448)===t[i(511)]?-1:1})),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(643)]:null,d=i===t[o(473)]-1,f=h[e][0],m=c[o(745)](t[i][o(634)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(677)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(643)]!==u&&(l[e][o(677)]=n,f&&f[o(643)]===l[e][o(643)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(487)!==t[i][o(511)]||f&&f[o(643)]===u||h[e][o(613)]({userId:u,object:t[i][o(634)],change:l[e]}),o(607)===t[i][o(511)]&&f&&f[o(555)]===t[i][o(634)]&&(h[e][o(754)](),l[e]=f[o(567)])),l[e]&&d&&(l[e][o(677)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(634)],f=a[h(483)][h(577)](d)&&!a[h(483)][h(594)](d),m=t[h(433)]==o[h(735)]&&o[h(434)];if(f&&m)return;const p=a[h(759)](t,o),v=e[h(704)](u),g=new Zt({author:v,type:h(455)==l||h(646)==l?h(448):h(706),data:{isSuggestion:h(646)==l||h(438)==l},createdAt:new Date,rootName:i});r[h(451)](g),n[h(708)][h(684)](h(460)+g.id,p)}function v(t,e){const i=s,n=t[i(753)](),r=e[i(753)]();for(const t of n){if(t[1]!==e[i(695)](t[0]))return!1;r[i(632)]()}return r[i(632)]()[i(447)]}}[Gt(644)](){const t=Gt;this[t(463)][t(452)][t(432)](t(766))[t(650)]({view:t(756)}),this[t(463)][t(452)][t(432)](t(477))[t(484)]({model:t(756),view:e=>{const i=t,s=e[i(431)][i(733)](":")[1],n=this[i(559)](s);if(!n)return null;const r=i(448)==n[i(511)]?i(499):i(707),o=[i(629),i(510)+r];return n[i(655)][i(651)]&&o[i(451)](i(510)+r+i(509)),this[i(495)]==n&&o[i(451)](i(743)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(463)][t(452)][t(432)](t(766))[t(448)]((e=>{const i=t;e.on(i(469),((t,e,s)=>{const n=i,r=e[n(480)][n(602)](0);if(!r||!r.is(n(442),n(502)))return;if(!s[n(758)][n(696)](r,{attributes:[n(716),n(690)]}))return;const o=e[n(583)][n(560)][n(433)];s[n(649)][n(614)](n(716),r[n(695)](n(716)),o),s[n(649)][n(614)](n(690),r[n(695)](n(690)),o)}),{priority:i(456)})})),this[t(463)][t(452)][t(432)](t(766))[t(448)]((e=>{const i=t;e.on(i(442),((t,e,s)=>{const n=i;if(!s[n(758)][n(696)](e[n(480)],{attributes:[n(716),n(690)]}))return;if(e[n(583)][n(549)])return;const r=e[n(583)][n(560)][n(433)];r[n(546)](n(716))||r[n(546)](n(441))||(s[n(649)][n(614)](n(716),e[n(480)][n(695)](n(716)),r),s[n(649)][n(614)](n(690),e[n(480)][n(695)](n(690)),r))}),{priority:i(456)})})),this[t(463)][t(452)][t(432)](t(766))[t(578)]({view:{name:t(617),attributes:{vid:!0}},model:{key:t(441),value:e=>e[t(695)](t(441))}}),this[t(463)][t(622)][t(483)].on(t(729),((e,[,i])=>{const s=t;[s(716),s(690),s(441)][s(680)](i)&&(e[s(636)]=!0,e[s(630)]())}),{priority:t(746)}),this[t(463)][t(452)][t(432)](t(674))[t(448)]((e=>{const i=t;e.on(i(664),((t,e,s)=>{const n=i;if(" "!=e[n(634)][n(655)]||e[n(634)][n(735)][n(501)]>1)return;if(!s[n(758)][n(696)](e[n(634)],t[n(713)]))return;const r=s[n(649)],o=s[n(601)][n(485)](e[n(608)]);r[n(508)](o,r[n(740)](n(617)))}))})),this[t(463)][t(452)][t(432)](t(674))[t(525)]({model:t(756)}),this[t(463)][t(645)][t(548)].on(t(659),function(e){const i=t,s=e[i(544)][i(704)](i(491));return(t,n,r)=>{const o=i,a=n[o(431)][o(733)](":")[1],c=s[o(559)](a);if(!c)return null;const u=o(448)==c[o(511)]?o(733):o(551);if(!r[o(758)][o(547)](n[o(562)],t[o(713)]))return;const l=n[o(562)][o(528)](),h=n[o(562)][o(560)],d=e[o(622)][o(483)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(634)];p=p||d[o(558)](e);const i=r[o(601)][o(600)](e);if(i&&i[o(446)](o(660)))return;o(607)==t[o(511)]&&d[o(577)](e)&&!d[o(594)](e)&&(e[o(514)]||h[o(532)]?f&&f[o(735)]==e||(f=e,g(t[o(738)]),v=!0):m=m||t[o(738)])}function g(t){const e=o,i=r[e(649)][e(527)](e(617),{class:e(510)+u}),a=r[e(601)][e(750)](t);c[e(655)][e(651)]&&r[e(649)][e(737)](e(510)+u+e(509),i),s[e(495)]==c&&r[e(649)][e(737)](e(743),i),r[e(649)][e(556)](a,i),r[e(601)][e(625)](i,n[e(431)])}p||v||!m||g(m)}}(this[t(463)]),{priority:t(497)}),this[t(463)][t(645)][t(548)].on(t(540),((e,i,s)=>{const n=t,r=s[n(601)][n(493)](i[n(431)]);if(r)for(const t of r)(t[n(585)](n(720))||t[n(585)](n(453)))&&(s[n(601)][n(647)](t,i[n(431)]),s[n(649)][n(706)](t))}),{priority:t(497)}),this[t(463)][t(645)][t(548)].on(t(659),((e,i,s)=>{const n=t,r=i[n(431)][n(733)](":")[1],o=this[n(559)](r);if(!o)return null;const a=n(448)==o[n(511)]?n(733):n(551);if(s[n(758)][n(547)](i[n(562)],e[n(713)]))for(const t of i[n(562)][n(539)]()){if(!t.is(n(442),n(661)))continue;const e=s[n(649)][n(527)](n(617),{class:n(510)+a}),r=s[n(601)][n(750)](this[n(463)][n(622)][n(590)](t));o[n(655)][n(651)]&&s[n(649)][n(737)](n(510)+a+n(509),e),this[n(495)]==o&&s[n(649)][n(737)](n(743),e),s[n(649)][n(556)](r,e),s[n(601)][n(625)](e,i[n(431)])}}),{priority:t(497)}),this[t(463)][t(622)][t(598)].on(t(567),(()=>{const e=t;this[e(463)][e(645)][e(597)][e(567)]((t=>{const i=e;for(const e of this[i(463)][i(622)][i(598)][i(564)]()){const s=this[i(463)][i(622)][i(598)][i(459)](e),n=this[i(463)][i(645)][i(597)][i(598)][i(459)](e);if(n){const e=s[i(695)](i(683));if(t[i(623)](i(533),n),t[i(604)](i(678),n),t[i(604)](i(466),n),t[i(604)](i(519),n),e){const s=this[i(559)](e);if(!s)return null;t[i(614)](i(533),e,n),t[i(737)](i(475)+s[i(511)],n),this[i(495)]==s&&t[i(737)](i(519),n)}}}}))})),this[t(463)][t(452)][t(432)](t(766))[t(650)]({view:t(648),model:e=>t(470)+e,converterPriority:t(746)}),this[t(463)][t(452)][t(432)](t(766))[t(650)]({view:t(717),model:e=>t(685)+e,converterPriority:t(746)}),this[t(463)][t(452)][t(432)](t(674))[t(525)]({model:t(515),view:e=>({name:t(545)+e,group:t(515)}),converterPriority:t(746)}),this[t(463)][t(452)][t(432)](t(477))[t(484)]({model:t(515),view:e=>{const i=t,s=e[i(431)][i(733)](":")[1];return i(499)!=s&&i(707)!=s?null:{classes:[i(631),i(732)+s]}}}),this[t(463)][t(645)][t(548)].on(t(653),te(this[t(463)],t(551)),{priority:t(497)}),this[t(463)][t(645)][t(548)].on(t(652),te(this[t(463)],t(733)),{priority:t(497)}),this[t(463)][t(645)][t(548)].on(t(712),((e,i,s)=>{const n=t,r=s[n(601)][n(493)](i[n(431)]);if(r)for(const t of r)t.is(n(530))&&(s[n(601)][n(647)](t,i[n(431)]),s[n(649)][n(706)](t))}),{priority:t(497)})}[Gt(559)](t){const e=Gt;return this[e(675)][e(704)](t)}[Gt(761)](t){const e=Gt;return this[e(728)]&&this[e(728)][e(691)](),this[e(728)]=new Lt(this[e(463)][e(523)],t),this[e(728)]}[Gt(730)](){const t=Gt;this[t(463)][t(622)][t(598)][t(457)][t(582)](t(756)),this.on(t(506),((e,i,s,n)=>{const r=t;n&&this[r(472)][r(706)](n),s&&(this[r(472)][r(448)]({view:s,stackId:r(450),position:{target:()=>{const t=r,e=this[t(463)][t(645)],i=this[t(559)](s[t(667)]);let n;if(i[t(655)][t(734)]){const s=e[t(597)][t(465)](i[t(543)]);n=Array[t(718)](s[t(742)]())}else{const i=this[t(463)][t(622)][t(708)][t(704)](t(460)+s[t(667)]);n=Array[t(718)](e[t(601)][t(493)](i[t(713)]))[t(672)]((i=>e[t(597)][t(666)][t(535)](i)))[t(672)]((e=>Array[t(718)](e[t(742)]())))[t(435)]()}return this[t(541)]&&n[t(751)]((e=>e[t(719)]-3<=this[t(541)].y&&e[t(609)]+3>=this[t(541)].y&&e[t(571)]-3<=this[t(541)].x&&e[t(724)]+3>=this[t(541)].x))||n[0]}}}),this[r(472)][r(476)](r(450)))})),this.on(t(698),((e,i,s,n)=>{const r=t;this[r(616)]=s?this[r(761)](s):null,this[r(463)][r(622)][r(567)]((()=>{const t=r,e=this[t(463)][t(645)];n&&(n[t(655)][t(734)]?e[t(597)][t(567)]((i=>{const s=t;i[s(604)](s(519),e[s(597)][s(598)][s(459)](n[s(543)]))})):e[t(637)](t(460)+n.id)),s&&(s[t(655)][t(734)]?e[t(597)][t(567)]((i=>{const n=t;i[n(737)](n(519),e[n(597)][n(598)][n(459)](s[n(543)]))})):e[t(637)](t(460)+s.id))}))})),this[t(640)](this[t(463)][t(645)][t(597)][t(598)],t(606),((e,i)=>{const s=t;if(this[s(495)])return;const n=this[s(565)](i[s(764)]),r=this[s(675)][s(704)](n);r?(this[s(541)]={x:i[s(471)].x,y:i[s(471)].y},this[s(616)]=this[s(761)](r)):(this[s(541)]=null,this[s(616)]=null)})),this[t(640)](this[t(463)][t(645)][t(597)][t(598)],t(638),((e,i)=>{const s=t,n=this[s(565)](i[s(764)]),r=this[s(675)][s(704)](n);r?(this[s(541)]={x:i[s(471)].x,y:i[s(471)].y},r===this[s(495)]?this[s(472)][s(490)]():this[s(495)]=r):(this[s(541)]=null,this[s(495)]=null)}))}[Gt(565)](t){const e=Gt;do{const i=t[e(695)](e(533));if(i)return i;t=t[e(735)]}while(t);return null}[Gt(579)](){const t=Gt;this[t(463)][t(622)][t(567)]((e=>{const i=t;for(const t of this[i(463)][i(622)][i(708)])e[i(610)](t)}))}}function te(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(758)][r(547)](s[r(562)],i[r(713)]))return;const o=s[r(562)][r(528)](),a=s[r(562)][r(560)],c=t[r(622)][r(483)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(634)];h=h||c[r(558)](e);const i=n[r(601)][r(600)](e);if(i&&i[r(446)](r(660)))return;r(607)==t[r(511)]&&c[r(577)](e)&&!c[r(594)](e)&&(e[r(514)]||a[r(532)]?u&&u[r(735)]==e||(u=e,f(t[r(738)]),d=!0):l=l||t[r(738)])}function f(t){const i=r,o=n[i(601)][i(750)](t),a=n[i(649)][i(527)](i(617),{class:i(732)+e});n[i(649)][i(556)](o,a),n[i(601)][i(625)](a,s[i(431)])}h||d||!l||f(l)}}function ee(){const t=["pairId","createAttributeElement","has","getClientRects","ck-suggestion-marker--active","compare","isObject","highest","endIndex","markersEnd","catch","toViewPosition","find","backward","getAttributes","shift","detachRoot","revision","isReady","consumable","createRange","splice","_getViewForChange","718576DjkBnz","resolve","target","_appendChild","upcast","side","10iwJogx","markerName","for","nodeAfter","isAtStart","flat","isRemoved","23192mytXQG","isRemoveSuggestion","_step","restoreRevisionCallback","vid","element","revision-end","_setChanges","commands","getCustomProperty","done","add","requires","revisionHistoryLabel","push","conversion","ck-suggestion-marker-merge","concat","isAdded","low","selection","data-revision-","getRoot","revision:","_removeUnsupportedChanges","isOfficialPlugin","editor","forceDisabled","getDomRoot","ck-revision-history-root-remove","_getViewObj","ck-editor__editable__overlay","element:pre","revision-comment:","domEvent","_balloon","length","then","ck-revision-history-root-","showStack","editingDowncast","_refreshStartEndIndex","processor","viewItem","revision-viewer","addRevision","schema","markerToHighlight","toViewRange","2612943ZVrSvt","elementStart","parse","marked","updatePosition","RevisionViewer","enableReadOnlyMode","markerNameToElements","attributesBefore","activeChange","addRoot","high","level","insertion","_setDistance","maxOffset","code","numberOfChanges","_revisions","insertions","change:activeView","roots","wrap","-new","ck-suggestion-marker-","type","change:isReady","_joinTapes","nextSibling","revision-suggestion","change:isEnabled","pop","loadRevisionData","ck-revision-history-root--active","_makeModelFromViewString","first","offsetSize","locale","values","markerToData","isNavigationMode","createUIElement","getWalker","isBefore","uiElement","_getRevisionsRange","isAtEnd","data-change-id","_processTape","mapViewToDom","pluginName","restoreRevision","_sortAndFilterDiffChanges","getItems","removeMarker:revision","_activeViewTarget","_markSuggestions","rootName","plugins","suggestion:","hasAttribute","test","downcastDispatcher","isCollapsed","_data","merge","change:numberOfChanges","string","isPremiumPlugin","object","insert","indexOf","isContent","_getChangeFromId","start","RevisionsRepository","markerRange","refresh","getRootNames","_findChangeIdFromDomTarget","delete","change","isAttached","revisionHistory","markersStart","left","WidgetToolbarRepository","slice","isEnabled","_markMismatchedRemovedTags","revision-start","isBlock","elementToAttribute","_cleanMarkers","sort","keys","observeMarkers","modelRange","nextPosition","hasClass","_makeTape","clear","authors","init","createPositionBefore","getIndex","POSITIVE_INFINITY","changes","isLimit","createRangeIn","execute","view","document","4FQabVa","toViewElement","mapper","getChild","text","removeClass","default","mouseover","elementEnd","range","bottom","removeMarker","attachChange","isEqual","unshift","setAttribute","useFillerType","activeView","span","isInline","createRevision","getLaterVisibleRevision","_fixObsoleteTags","model","removeAttribute","1746765nxiQvD","bindElementToMarker","3081762SILPfe","abs","624101uveeHP","ck-suggestion-marker","stop","ck-suggestion-preview-marker","next","distance","item","affectsData","return","reconvertMarker","mousedown","_removeRevisionMarkers","listenTo","_makeModelFromTape","oldRevisionId","userId","_setConversion","editing","isAddSuggestion","unbindElementFromMarkerName","comment","writer","dataToMarker","isSuggestion","addMarker:revision-suggestion:insertion","addMarker:revision-suggestion:deletion","bind","data","getRevisionData","collaboration.channelId","_markInsertions","addMarker:revision","addHighlight","softBreak","startIndex","addRevisionData","attribute:vid","getRevision","domConverter","changeId","diff","_cleanUp","_threeWayMerge","children","map","attributesAfter","dataDowncast","_changeIdToChange","repository","end","ck-revision-history-root-add","isIncorrect","includes","_update","diffData","revisionHistoryAttachChange","set","revision-suggestion:","startsWith","_getDiff","index","1379hbwmGn","vid_end","destroy","isAfter","filter","_markMarkers","getAttribute","consume","currentChangeNumber","change:activeChange","1570089ctqzhe","getRevisionRootsAttributes","enqueueChange","error","showPreviousChange","get","_removeMissingPairs","remove","deletion","markers","createPositionFromPath","toData","forEach","removeMarker:revision-suggestion","name","newRevisionId","adapter","vid_start","suggestion","from","top","ck-suggestion-marker-split","all","deletions","config","right","forward","toModel","showNextChange","_changeView","checkAttribute","_initInteractions","findIndex","ck-suggestion-preview-marker-","split","isOnRoot","parent","attributes","addClass","previousPosition"];return(ee=function(){return t})()}class ie extends U.Command{constructor(t){const e=Gt;super(t);const i=t[e(544)][e(704)](Qt);this[e(635)]=!1,this[e(640)](i,e(512),(()=>this[e(563)]())),this[e(640)](i,e(516),(()=>this[e(563)]()))}[Gt(596)](){const t=Gt,e=this[t(463)],i=e[t(544)][t(704)](Qt),s=i[t(757)]?i[t(668)][t(714)]:null;e[t(723)][t(704)](t(569))[t(440)](s)}[Gt(563)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(463)][t(544)][t(704)](Qt),r=n&&s[t(620)](n[t(714)]);this[t(574)]=e&&i&&Boolean(r)}}class se extends U.Command{[Gt(439)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(544)][i(704)](Qt);this[i(635)]=!1,this[i(439)]=i(725)===e?1:-1,this[i(640)](s,i(512),(()=>this[i(563)]())),this[i(640)](s,i(516),(()=>this[i(563)]())),this[i(640)](s,i(698),(()=>this[i(563)]()))}[Gt(596)](){const e=Gt,i=this[e(463)],s=i[e(544)][e(704)](Qt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(495)]=n?s[e(668)][e(593)][e(704)](r+this[e(439)]):s[e(668)][e(593)][e(521)],s[e(495)][e(655)][e(734)])o=i[e(645)][e(597)][e(465)](s[e(495)][e(543)]);else{const t=i[e(622)][e(708)][e(704)](e(460)+s[e(495)].id);o=(0,Z.getMarkerDomElement)(i[e(645)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(563)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(463)][t(544)][t(704)](Qt);this[t(574)]=!!(r&&n&&s)&&(!e||(1===this[t(439)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(t,e){const i=ae();return(oe=function(t,e){return i[t-=431]})(t,e)}function ae(){const t=["_statusText","isNavigationMode","div","2187759PWJMac","ck-revision-history-ui__changes-navigation","set","isReady","255230rJSIsr","ck-revision-history-ui__changes-navigation__navigation","825FGcEjx","1647410xWAMmX","currentChangeNumber","bind","2428602qBrquo","19BZlLuG","fire","bindTemplate","EDIT_X_OF_Y_REVISIONS","Total","50578DHfkHj","forward","5901238YUrOwa","ck-revision-history-ui__changes-navigation__wrapper","No changes","isForwardNavigationEnabled","numberOfChanges","X_OF_Y_CHANGES","Show next change","ck-revision-history-ui__changes-navigation__label","125656MwfkWb","isEnabled","isBackwardNavigationEnabled","ck-revision-history-ui","207MAIJTx","NUMBER_OF_CHANGES","setTemplate","4uCMklo","_isStatusLabelVisible","Show previous change","execute","span","ck-hidden","backward","Loading..."];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(452005===-parseInt(e(469))/1*(parseInt(e(474))/2)+-parseInt(e(458))/3+-parseInt(e(447))/4*(parseInt(e(465))/5)+-parseInt(e(468))/6+parseInt(e(432))/7+parseInt(e(440))/8*(-parseInt(e(444))/9)+parseInt(e(462))/10*(parseInt(e(464))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends ft.View{constructor(t){const e=oe;super(t);const i=this[e(471)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(460)](e(456),!1),this[e(460)](e(461),!1),this[e(460)](e(466),0),this[e(460)](e(436),0),this[e(460)](e(435),!1),this[e(460)](e(442),!1),this[e(467)](e(448)).to(this,e(461),this,e(436),((t,e)=>t&&e>0)),this[e(467)](e(455)).to(this,e(461),this,e(466),this,e(436),this,e(456),((i,s,n,r)=>{const o=e;if(!i)return Y(t,o(454));if(!n)return Y(t,o(434));const a=Y(t,o(445),n);return r?Y(t,o(437),[s+1,n]):a})),s[e(460)]({label:Y(t,e(449)),tooltip:!0,icon:dt.IconChevronUp}),n[e(460)]({label:Y(t,e(438)),tooltip:!0,icon:dt.IconChevronDown}),s[e(467)](e(441)).to(this,e(442)),n[e(467)](e(441)).to(this,e(435)),s.on(e(450),(()=>this[e(470)](e(450),e(453)))),n.on(e(450),(()=>this[e(470)](e(450),e(431)))),this[e(446)]({tag:e(457),attributes:{class:["ck",e(443),e(459)]},children:[{tag:e(451),attributes:{class:[e(433)]},children:[{tag:e(451),attributes:{class:[e(439),i.if(e(448),e(452),(t=>!t))]},children:[{text:i.to(e(456),(i=>i?Y(t,e(472))+": ":Y(t,e(473))+": "))}]},{text:i.to(e(455))}]},new ft.ToolbarSeparatorView,{tag:e(457),attributes:{class:[e(463)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;function he(t,e){const i=fe();return(he=function(t,e){return i[t-=466]})(t,e)}const de=he;function fe(){const t=["isOfficialPlugin","roots","3486LFctHX","2570Bizyfb","document","hide","ck-editor__editable__loading-overlay","pluginName","1437942WZdFmq","editor","removeClass","RevisionViewerLoadingOverlay","2601405YneFaI","111CigHhP","103763ADUvnB","change","452rqlxzE","view","addClass","editing","6510QkkBwl","8GTYNyt","show","3036213mkEiZk","783128Kdxlky","isPremiumPlugin"];return(fe=function(){return t})()}!function(t){const e=he,i=t();for(;;)try{if(471605===parseInt(e(481))/1+parseInt(e(491))/2+-parseInt(e(470))/3*(parseInt(e(473))/4)+parseInt(e(469))/5+-parseInt(e(477))/6*(-parseInt(e(485))/7)+-parseInt(e(478))/8*(-parseInt(e(480))/9)+parseInt(e(486))/10*(-parseInt(e(471))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=de(489);class pe extends U.Plugin{static get[de(490)](){return de(468)}static get[de(483)](){return!0}static get[de(482)](){return!0}[de(479)](){const t=de,e=this[t(466)][t(476)][t(474)];e[t(472)]((i=>{const s=t;for(const t of e[s(487)][s(484)])i[s(475)](me,t)}))}[de(488)](){const t=de,e=this[t(466)][t(476)][t(474)];e[t(472)]((i=>{const s=t;for(const t of e[s(487)][s(484)])i[s(467)](me,t)}))}}const ve=ye;function ge(){const t=["isBackwardNavigationEnabled","showPreviousChange","numberOfChanges","showNextChange","isEnabled","1787660tothdX","restoreRevision","bind","revisionHistory","listenTo","Restore this revision","37815525bjMJeN","execute","editor","hide","pluginName","165245jKFgcb","isNavigationMode","componentFactory","add","21HbVrKF","RevisionViewerUI","requires","279824tauvlh","set","show","forward","isOfficialPlugin","currentChangeNumber","changesNavigation","8486562nJVrxm","1158952WTNddq","exitToEditing","isReady","656XlzrFL","change:isReady","ck-revision-history-ui__back-to-editing","closeRevisionViewerCallback","config","get","init","45311FeVbwN","commands","Back to editing","isPremiumPlugin","isForwardNavigationEnabled","plugins"];return(ge=function(){return t})()}function ye(t,e){const i=ge();return(ye=function(t,e){return i[t-=369]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(726471===-parseInt(e(407))/1+-parseInt(e(381))/2+-parseInt(e(396))/3*(-parseInt(e(399))/4)+parseInt(e(392))/5+-parseInt(e(406))/6+-parseInt(e(370))/7*(parseInt(e(410))/8)+parseInt(e(387))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ke extends U.Plugin{static get[ve(391)](){return ve(397)}static get[ve(403)](){return!0}static get[ve(373)](){return!0}static get[ve(398)](){return[Qt,pe]}[ve(369)](){const t=ve,e=this[t(389)],i=e[t(375)][t(415)](Qt),s=e[t(375)][t(415)](pe);e.ui[t(394)][t(395)](t(408),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(400)]({label:Y(i,s(372)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(412)}),this[s(385)](n,s(388),(()=>{const t=s;e[t(414)][t(415)](t(384))[t(413)]()})),n})),e.ui[t(394)][t(395)](t(382),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(400)]({label:Y(i,s(386)),withText:!0,tooltip:!0}),n[s(383)](s(380)).to(e[s(371)][s(415)](s(382))),this[s(385)](n,s(388),(()=>e[s(388)](s(382)))),n})),e.ui[t(394)][t(395)](t(405),(s=>{const n=t,r=new ce(s),o=e[n(371)][n(415)](n(377)),a=e[n(371)][n(415)](n(379));return r[n(383)](n(376)).to(o,n(380)),r[n(383)](n(374)).to(a,n(380)),r[n(383)](n(409),n(404),n(378),n(393)).to(i),this[n(385)](r,n(388),((t,i)=>{const s=n;e[s(388)](s(402)===i?s(379):s(377))})),r})),s[t(401)](),i.on(t(411),((e,i,n)=>{const r=t;n?s[r(390)]():s[r(401)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;function _e(t,e){const i=Ie();return(_e=function(t,e){return i[t-=467]})(t,e)}function Ie(){const t=["bindTemplate","set","1681953hlzRMP","_tooltipString","236kvRwbK","309972kXOUCe","368336SdAiSQ","fieldView","390600xvdEsv","render","1KhdxlY","clientWidth","element","destroy","listenTo","ck-tooltip_multi-line","placeholder","Enter the revision name","_updateTooltipText","span","_resizeObserver","ck-revision-history-sidebar__revision-name","6253722JVJwtG","input","Revision name","value","extendTemplate","scrollWidth","610022ypjUIX","10TIYvfw","34525wTNdyd"];return(Ie=function(){return t})()}const Se=_e;!function(t){const e=_e,i=t();for(;;)try{if(225331===parseInt(e(488))/1*(parseInt(e(475))/2)+-parseInt(e(486))/3+parseInt(e(482))/4*(parseInt(e(477))/5)+parseInt(e(483))/6+parseInt(e(480))/7+parseInt(e(484))/8+-parseInt(e(469))/9*(parseInt(e(476))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Oe extends ft.LabeledFieldView{[Se(467)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(478)];this[i(479)]({label:Y(t,i(471)),_tooltipString:""}),this[i(485)][i(494)]=Y(t,i(495)),this[i(473)]({tag:i(497),attributes:{class:[i(468)],"data-cke-tooltip-text":s.to(i(481)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(493)}})}[Se(487)](){const e=Se;super[e(487)](),this[e(467)]=new t.ResizeObserver(this[e(485)][e(490)],(()=>this[e(496)]())),this[e(492)](this[e(485)],e(470),(()=>this[e(496)]()))}[Se(491)](){const t=Se;super[t(491)](),this[t(467)]&&this[t(467)][t(491)]()}[Se(496)](){const t=Se,e=this[t(485)][t(490)];this[t(481)]=e[t(474)]>e[t(489)]&&e[t(472)]||""}}var xe=i(249),Te={attributes:{"data-cke":!0}};Te.setAttributes=wt(),Te.insert=kt().bind(null,"head"),Te.domAPI=gt(),Te.insertStyleElement=It();pt()(xe.A,Te);xe.A&&xe.A.locals&&xe.A.locals;function Ne(t,e){const i=Re();return(Ne=function(t,e){return i[t-=287]})(t,e)}!function(t){const e=Ne,i=t();for(;;)try{if(894356===-parseInt(e(296))/1+parseInt(e(288))/2+-parseInt(e(303))/3*(parseInt(e(290))/4)+parseInt(e(305))/5*(-parseInt(e(301))/6)+-parseInt(e(304))/7+parseInt(e(292))/8+parseInt(e(300))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ae extends ft.View{constructor(t,e,i){const s=Ne;super(t);const n=new ft.IconView;n[s(298)]({content:dt.IconUser,viewBox:s(289)});const r=["ck",s(297)];i&&r[s(294)](s(295));const o=[{tag:s(291),attributes:{class:["ck",s(299)],title:Y(t,s(i?306:293))},children:[n,e[s(302)]]}];this[s(287)]({tag:"li",attributes:{class:r},children:o})}}function Re(){const t=["Revision creator","setTemplate","485142GfrkwN","0 0 11 10","1755112UPspUO","span","13573856mzbiUB","Revision author","push","ck-revision-history-sidebar__revision-author_creator","117580nPBppz","ck-revision-history-sidebar__revision-author","set","ck-revision-history-sidebar__revision-author__name","4767966EQQyvx","4398jFbHIr","name","6VTtbyr","1440285gbFgVd","2550gSOTlm"];return(Re=function(){return t})()}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=126]})(t,e)}function Ve(){var t=["9230039EjFkkW","381416gPFbXJ","numeric","1112148FkifVE","5626250UBsOWw","long","45929AOPMFo","984222yDzOsD","1079451GebPGe","toLocaleDateString","toLocaleTimeString"];return(Ve=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(811923===-parseInt(e(129))/1+parseInt(e(135))/2+parseInt(e(131))/3+parseInt(e(126))/4+-parseInt(e(127))/5+-parseInt(e(130))/6+parseInt(e(134))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var Ee=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ee.A,De);Ee.A&&Ee.A.locals&&Ee.A.locals;function Ce(t,e){const i=Fe();return(Ce=function(t,e){return i[t-=482]})(t,e)}function Fe(){const t=["290287ixLiUw","isVisible","source","first","_action","change:isActionsDropdownOpen","Show more items","stopPropagation","bind","set","Name this revision","buttonView","2757150WKXcCp","add","isOpen","isEnabled","model","1727280hnSsbR","execute","panelPosition","8uNDnAA","button","listenTo","ck-on","name","map","locale","1264410gBuQoc","2rBJaxL","145928gDstfy","extendTemplate","menuitem","listView","Compare against selected","function","items","menu","8322SVHKhX","class","find","isReady","5586950nGPrtW","isActionsDropdownOpen","action","Restore this revision","2471ovvBMD","ck-revision-history-sidebar__revision__actions","bindTemplate","children"];return(Fe=function(){return t})()}!function(t){const e=Ce,i=t();for(;;)try{if(351739===parseInt(e(492))/1*(parseInt(e(520))/2)+parseInt(e(519))/3+parseInt(e(521))/4+parseInt(e(509))/5+parseInt(e(529))/6*(-parseInt(e(488))/7)+parseInt(e(512))/8*(parseInt(e(504))/9)+-parseInt(e(484))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=wt(),Pe.insert=kt().bind(null,"head"),Pe.domAPI=gt(),Pe.insertStyleElement=It();pt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const Le=We;function ze(){const t=["setName","uiLanguage","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__actions_dropdown_open","isConfirm","16466220GJUoIJ","ck-revision-history-sidebar__revision_selected","deselect","ck-revision-history-sidebar__revision-authors","srcElement","fieldView","isSelected","361901gTIokX","length","createdAt","2ZMjOQq","ck-revision-history-sidebar__revision","isEnabled","_createdAtFormatted","bind","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","945860obInZt","listenTo","revisionActionsView","extendTemplate","isHighlighted","set","highlight","setTemplate","ck-revision-history-sidebar__revision_highlighted","unhighlight","ck-disabled","isActionsDropdownOpen","select","990125qtwAQN","filter","value","bindTemplate","ck-revision-history-sidebar__revision__date","220","map","closest","revisionNameView","from","16sDrrNI","fire","ck-revision-history-sidebar__revision-wrapper",".ck-thread__remove-confirm","div","authors","2304528SyXJCO","element","1260741xMRakF","ck-reset","change","unshift","_revision","name","creator","render","1354241vTCEMd","span","isReady","_requireRevisionName"];return(ze=function(){return t})()}function We(t,e){const i=ze();return(We=function(t,e){return i[t-=348]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(237978===-parseInt(e(374))/1*(parseInt(e(377))/2)+-parseInt(e(350))/3+-parseInt(e(383))/4+parseInt(e(396))/5+-parseInt(e(348))/6+parseInt(e(358))/7*(-parseInt(e(406))/8)+parseInt(e(367))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class Ue extends((0,Z.ConfirmMixin)(ft.View)){id;[Le(404)];[Le(385)];[Le(354)];[Le(361)];constructor(e,i,s,n){const r=Le;super(e);const o=this[r(399)],a=function(t,e){const i=r,s=Array[i(405)](e[i(411)])[i(397)]((t=>t!=e[i(356)]));return e[i(356)]&&s[i(353)](e[i(356)]),s[i(402)]((s=>new Ae(t,s,s==e[i(356)])))}(e,i);this.id=i.id,this[r(354)]=i,this[r(361)]=n,this[r(381)](r(355),r(376)).to(i),this[r(381)](r(380)).to(this,r(376),(t=>{return i=e[r(363)],(s=t)[(n=Me)(132)](i,{month:n(128),day:n(136)})+", "+s[n(133)](i,{hour:n(136),minute:n(136)});var i,s,n})),this[r(388)](r(373),!1),this[r(388)](r(387),!1),this[r(388)](r(394),!1),this[r(388)](r(360),!1),this[r(388)](r(379),!1),this[r(404)]=new Oe(e,ft.createLabeledInputText),this[r(404)][r(372)][r(386)]({attributes:{maxlength:r(401)}}),this[r(404)][r(372)][r(381)](r(398)).to(this,r(355),(t=>t||this[r(380)])),this[r(404)][r(381)](r(379)).to(this,r(373),this,r(379),((t,e)=>t&&e)),this[r(385)]=s&&s[r(375)]?function(e,i){const s=Ce,n=e[s(490)],r=e[s(518)],o=(0,ft.createDropdown)(r);o[s(511)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ce,s=t[i(518)],n={"Compare against selected":Y(s,i(525)),"Name this revision":Y(s,i(502)),"Restore this revision":Y(s,i(487))};return e[i(517)]((t=>{const e=i,s=n[t[e(516)]];return s&&s!==t[e(516)]&&(t[e(516)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(513),model:new ft.ViewModel({label:t[n(516)],class:t[n(530)],withText:!0,role:n(523),_action:t[n(486)]})};i[n(508)][n(500)](n(507)).to(e,n(485),(i=>n(526)!=typeof t[n(507)]||!i||t[n(507)](e))),o[n(505)](i)}return o}(e,i);return e[s(500)](s(485)).to(o,s(506)),o[s(503)][s(501)]({label:Y(r,s(498)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(522)]({attributes:{class:[s(489),n.if(s(485),s(515))]},on:{click:n.to((t=>t[s(499)]()))}}),o.on(s(510),(t=>{const i=s;e[i(483)]&&i(526)==typeof t[i(494)][i(496)]&&t[i(494)][i(496)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(528)}),o[s(514)](e,s(497),((t,n,r)=>{const a=s;if(r)for(const t of o[a(524)][a(527)]){const s=t[a(491)][a(495)],n=i[a(482)]((t=>t[a(486)]===s[a(496)]))[a(493)];t[a(493)]=void 0===n||n(e)}})),o}(this,s):"",this[r(385)]&&this[r(385)][r(381)](r(379)).to(this),this[r(390)]({tag:r(410),attributes:{class:["ck",r(351),r(408),o.if(r(366),r(382))]},children:[{tag:r(410),attributes:{class:["ck",r(351),r(378),o.if(r(379),r(393),(t=>!t)),o.if(r(373),r(368)),o.if(r(387),r(391)),o.if(r(394),r(365))]},children:[this[r(404)],{tag:r(359),attributes:{class:["ck",r(400)]},children:[{text:o.to(r(380))}]},{tag:r(410),attributes:{class:["ck",r(364)]},children:[{tag:"ul",attributes:{class:["ck",r(370)]},children:a}]},this[r(385)]],on:{click:o.to((t=>{const e=r;t[e(371)][e(403)](e(409))||this[e(360)]&&this[e(379)]&&this[e(407)](e(395),{id:this.id})}))}}]})}[Le(357)](){const t=Le;super[t(357)]();const e=this[t(404)][t(372)][t(349)];this[t(384)](e,t(352),(()=>{const i=t;this[i(361)]&&!e[i(398)]||this[i(407)](i(362),{id:this.id,name:e[i(398)]}),e[i(398)]||(e[i(398)]=this[i(355)]?this[i(355)]:this[i(380)])}))}[Le(395)](){this[Le(373)]=!0}[Le(369)](){this[Le(373)]=!1}[Le(389)](){this[Le(387)]=!0}[Le(392)](){this[Le(387)]=!1}}class Ze extends Error{}class He extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ye extends Ze{}class Ge extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Xe="short",Qe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Xe,day:Ke},ii={year:Ke,month:Xe,day:Ke,weekday:Xe},si={year:Ke,month:Qe,day:Ke},ni={year:Ke,month:Qe,day:Ke,weekday:Qe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke},yi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Xe},ki={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},bi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,timeZoneName:Qe},wi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe};class _i{get type(){throw new Ge}get name(){throw new Ge}get ianaName(){return this.name}get isUniversal(){throw new Ge}offsetName(t,e){throw new Ge}formatOffset(t,e){throw new Ge}offset(t){throw new Ge}equals(t){throw new Ge}get isValid(){throw new Ge}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ti={};class Ni extends _i{static create(t){return Ti[t]||(Ti[t]=new Ni(t)),Ti[t]}static resetCache(){Ti={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ni.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:ws(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Ri={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.DateTimeFormat(t,e),Ri[i]=s),s}let Vi={};let Ei={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rs(this.floor?Math.floor(t):Ds(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ni.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Li{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Di||(Di=(new Intl.DateTimeFormat).resolvedOptions().locale,Di)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Di=null,Ri={},Vi={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ns(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Fi(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=eo.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Fi(this,t,en,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new Li(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ui=null;class Zi extends _i{static get utcInstance(){return null===Ui&&(Ui=new Zi(0)),Ui}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Hi extends _i{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function qi(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Hi(t)}const $i={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Bi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Yi={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Yi[i]||(Yi[i]={}),Yi[i][e]||(Yi[i][e]=new RegExp(`${$i[i]}${e}`)),Yi[i][e]}let Ki,Xi=()=>Date.now(),Qi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){Qi=t}static get defaultZone(){return qi(Qi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=Ns(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Wi.resetCache(),Ni.resetCache(),eo.resetCache(),Yi={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Bs(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...Bs(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...Bs(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...Bs(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new Be("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function ks(t){const e=Is(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ts(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ns(t){if(null==t)return null;if("object"!=typeof t)throw new Ye("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ye("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Is(t)&&t>=e&&t<=i}function Rs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ls(t,e,i){return-fs(ls(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ls(t,e,i),n=Ls(t+1,e,i);return(Fs(t)-s+n)/7}function Ws(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Hs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ye(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ts(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Hs(n)}return i}function $s(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Rs(i,2)}:${Rs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Rs(i,2)}${Rs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Ys=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Gs];case"short":return[...Ys];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Qs];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Rs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Ms(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Tn(t,e){return[{},t[e]?Ni.create(t[e]):null,e+1]}const Nn=RegExp(`^T?${gn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Rn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Ms(e)):Ms(e),month:Ys.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:Qs.indexOf(t)+1),a}const En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Vn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Cn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Fn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,n,s,i,r,o,a),Zi.utcInstance]}function Ln(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Wn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Un=dn(/(\d{4})-?(\d{3})/,kn),Zn=dn(yn),Hn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,xn,Tn),qn=fn(bn,On,xn,Tn),$n=fn(wn,On,xn,Tn),Bn=fn(On,xn,Tn);const Jn=fn(On);const Yn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Kn=fn(On,xn,Tn);const Xn="Invalid Duration",Qn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Qn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Qn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ye("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:qs(t,ur.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Ye(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[An,Rn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[Nn,Jn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ye("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new $e(i);return new ur({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ln.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=nr.map((e=>{const i=this.values[e];return ws(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Ds(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return eo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(Ts(e.values,t)||Ts(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=Hs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...qs(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return or(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ye("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:hr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return hr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return qi(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=fr(t,e);return(i-i%7)/7}],["days",fr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search($i.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Nr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Gi(e),s=Gi(e,"{2}"),n=Gi(e,"{3}"),r=Gi(e,"{4}"),o=Gi(e,"{6}"),a=Gi(e,"{1,2}"),c=Gi(e,"{1,3}"),u=Gi(e,"{1,6}"),l=Gi(e,"{1,9}"),h=Gi(e,"{2,4}"),d=Gi(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,Ws);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ts(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),ws(t.u)||(t.S=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ts(i,"a")&&Ts(i,"H"))throw new Be("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Tr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Nr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Rr=864e13;function Mr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Cr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Lr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?ln.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Rs(t.c.year,i?6:4),e?(s+="-",s+=Rs(t.c.month),s+="-",s+=Rs(t.c.day)):(s+=Rs(t.c.month),s+=Rs(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=Rs(t.c.hour);return e?(o+=":",o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Rs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Rs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Rs(Math.trunc(-t.o/60)),o+=":",o+=Rs(Math.trunc(-t.o%60))):(o+="+",o+=Rs(Math.trunc(t.o/60)),o+=":",o+=Rs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Hr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Yr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Gr(t,e){const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of $r)ws(t[e])&&(t[e]=Zr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Qr&&(Qr=rs.now()),to[t]=t.offset(Qr)),to[t]}(i);[n,r]=jr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Ds(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Qr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return eo.invalid("invalid input");const n=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Mr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Rr||t>Rr?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Ye(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Ye("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e),n=qs(t,Yr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=Br,v=Hr,g=ms(g,r,o)):u?(p=Jr,v=qr,g=vs(g)):(p=$r,v=Zr);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=As(t.weekNumber,1,zs(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=As(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=jr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Hn],[Wn,qn],[Un,$n],[Zn,Bn])}(t);return Lr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Dn])}(t);return Lr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,Pn],[Fn,Pn],[jn,Ln])}(t);return Lr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Ye("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Tr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Lr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Yn,Hn],[Gn,Kn])}(t);return Lr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ye("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new He(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Qr=void 0,to={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=qs(t,Yr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,Pr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,Pr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return ur.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||eo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Ye("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Ye("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Tr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Ye("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ye(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Lr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Ye(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(){const t=["month","weekdayLong","13337080Vzveii","3581136NmAVhQ","setLocale","monthLong","toJSDate","fromJSDate","year","72GMazPv","toRelativeCalendar","hasSame","day","minus","54741ZAJVOn","3tsidZr","441040aFcOiZ","local","612655QkobzV","28664OppetZ","week","18Pablms","1936718FxfJGU","startOf"];return(so=function(){return t})()}function no(t,e){const i=so();return(no=function(t,e){return i[t-=294]})(t,e)}function ro(t,e){const i=no,s=eo[i(298)](t)[i(295)](e),n=eo[i(308)](),r=n[i(304)]({days:1})[i(314)](i(303));let o,a;return s[i(302)](n,i(303))?(o=s[i(314)](i(303))[i(297)](),a=s[i(301)]()):s[i(302)](r,i(303))?(o=r[i(297)](),a=s[i(301)]()):s[i(302)](n,i(311))?(o=s[i(314)](i(311))[i(297)](),a=s[i(316)]||""):s[i(302)](n,i(299))?(o=s[i(314)](i(315))[i(297)](),a=s[i(296)]||""):(o=s[i(314)](i(299))[i(297)](),a=String(s[i(299)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(913887===-parseInt(e(305))/1+parseInt(e(307))/2*(parseInt(e(306))/3)+-parseInt(e(310))/4+-parseInt(e(309))/5*(-parseInt(e(300))/6)+-parseInt(e(313))/7+parseInt(e(294))/8*(parseInt(e(312))/9)+-parseInt(e(317))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(so);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=uo;function uo(t,e){const i=lo();return(uo=function(t,e){return i[t-=460]})(t,e)}function lo(){const t=["startDate","setName","localizedPeriodName","createCollection","50888673XyJpWE","uiLanguage","8coFDUG","ck-revision-history-sidebar__time-period","6519668FFMvIo","131540QneLqW","locale","1473IxTFAb","remove","_revisionActions","add","delegate","addRevision","setTemplate","12lfFKSx","removeRevision","2782pnSvFs","9gRyarP","ck-revision-history-sidebar__time-period__label","select","1153329cGnjWg","4294970uHTfNw","span","ck-revision-history-sidebar__time-period__revisions","4759300SPhfJy","_requireRevisionName","find","revisionViews","div"];return(lo=function(){return t})()}!function(t){const e=uo,i=t();for(;;)try{if(856997===-parseInt(e(473))/1+-parseInt(e(469))/2*(parseInt(e(460))/3)+-parseInt(e(490))/4+-parseInt(e(491))/5*(parseInt(e(467))/6)+parseInt(e(477))/7*(-parseInt(e(488))/8)+-parseInt(e(470))/9*(-parseInt(e(474))/10)+parseInt(e(486))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class ho extends ft.View{[co(482)];[co(480)];[co(462)];[co(478)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(492)][n(487)])[n(484)];this[n(482)]=e,this[n(480)]=this[n(485)](),this[n(462)]=i,this[n(478)]=s,this[n(480)][n(464)](n(472)).to(this),this[n(480)][n(464)](n(483)).to(this),this[n(466)]({tag:n(481),attributes:{class:["ck",n(489)]},children:[{tag:n(475),attributes:{class:["ck",n(471)]},children:[{text:r}]},{tag:n(481),attributes:{class:["ck",n(476)]},children:this[n(480)]}]})}[co(465)](t){const e=co,i=new Ue(this[e(492)],t,this[e(462)],this[e(478)]);this[e(480)][e(463)](i)}[co(468)](t){const e=co,i=this[e(480)][e(479)]((e=>e.id===t.id));this[e(480)][e(461)](i)}}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(t,e){const i=vo();return(po=function(t,e){return i[t-=148]})(t,e)}function vo(){const t=["940961WROFOc","ck-revision-history-sidebar__header__label","4036504InWFNv","setTemplate","3097500YXYspU","span","136zBNuGg","1737956PBqcql","204450TBSqvG","ck-revision-history-sidebar__header","ck-reset_all","9FrcuCb","161275aPKkSk","143imSTAP","Revision history","content","231dOWreB","div","488760ARInGY"];return(vo=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(857497===-parseInt(e(148))/1+parseInt(e(155))/2+parseInt(e(152))/3+-parseInt(e(154))/4*(parseInt(e(160))/5)+-parseInt(e(156))/6*(-parseInt(e(164))/7)+-parseInt(e(150))/8*(-parseInt(e(159))/9)+parseInt(e(166))/10*(-parseInt(e(161))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class go extends ft.View{constructor(t){const e=po;super(t);const i=new ft.IconView;i[e(163)]=dt.IconHistory,this[e(151)]({tag:e(165),attributes:{class:["ck",e(158),e(157)]},children:[i,{tag:e(153),attributes:{class:["ck",e(149)]},children:[Y(t,e(162))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=345]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(292454===parseInt(e(388))/1+parseInt(e(379))/2+-parseInt(e(384))/3*(-parseInt(e(345))/4)+parseInt(e(396))/5*(-parseInt(e(391))/6)+-parseInt(e(401))/7*(parseInt(e(397))/8)+parseInt(e(370))/9*(-parseInt(e(377))/10)+parseInt(e(386))/11*(-parseInt(e(356))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class _o extends ft.View{[bo(351)];[bo(392)];[bo(355)];[bo(372)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(363)];this[n(351)]=this[n(390)](),this[n(351)][n(368)](n(357)).to(this),this[n(351)][n(368)](n(373)).to(this),this[n(392)]=e,this[n(355)]=i,this[n(372)]=s,this.on(n(357),((t,e)=>{const i=n;this[i(378)](i(360),e)})),this.on(n(373),((t,e)=>{const i=n;this[i(378)](i(364),e)})),this[n(400)](n(376),!1),this[n(381)]({tag:n(365),attributes:{class:["ck",n(369),n(353),n(385)]},children:[new go(t),{tag:n(365),attributes:{class:["ck",n(359),r.if(n(376),n(399),(t=>!t))]},children:this[n(351)]}]})}[bo(347)](){const t=bo;super[t(347)]();for(const e of this[t(392)])this[t(387)](e);this[t(392)].on(t(358),((e,i)=>{this[t(387)](i)})),this[t(392)].on(t(380),((e,i)=>{this[t(375)](i)}))}get[bo(374)](){const t=bo;return this[t(351)][t(383)]((e=>e[t(374)][t(383)]((t=>t))))[t(346)]()}[bo(352)](t){const e=bo;for(const i of this[e(374)])t&&t.id===i.id?i[e(357)]():i[e(361)]()}[bo(394)](t){const e=bo;for(const i of this[e(374)])t[e(349)]((({id:t})=>t===i.id))?i[e(354)]():i[e(398)]()}[bo(387)](t){const e=bo,i=ro(t[e(382)],this[e(393)][e(366)])[e(371)];let s=this[e(351)][e(350)](0);s&&s[e(371)][e(389)]()===i[e(389)]()||(s=new ho(this[e(393)],i,this[e(355)],this[e(372)]),this[e(351)][e(358)](s)),s[e(395)](t)}[bo(375)](t){const e=bo,i=ro(t[e(382)],this[e(393)][e(366)])[e(371)];this[e(367)](i)[e(362)](t)}[bo(367)](t){const e=bo;return this[e(351)][e(348)]((i=>i[e(371)][e(389)]()===t[e(389)]()))}}function Io(){const t=["revisionSetName","div","uiLanguage","_getTimePeriodViewByStartDate","delegate","ck-reset","1476wapaFE","startDate","_requireRevisionName","setName","revisionViews","_removeRevision","isEnabled","1090KOrRvz","fire","863856zhDFvI","remove","setTemplate","createdAt","map","477tADyzN","ck-revision-history-sidebar","1333321KjpeBJ","_addRevision","447516vtNENL","getTime","createCollection","25518ExprpF","_revisions","locale","highlightRevisions","addRevision","215AHSBWz","8hyAPpp","unhighlight","ck-disabled","set","2133418UsXSpW","1000zDKIkx","flat","render","find","some","get","timePeriodViews","selectRevision","ck-rounded-corners","highlight","_revisionActions","12yfGfwB","select","add","ck-revision-history-sidebar__timeline","revisionSelected","deselect","removeRevision","bindTemplate"];return(Io=function(){return t})()}function So(t,e){const i=No();return(So=function(t,e){return i[t-=349]})(t,e)}const Oo=So;!function(t){const e=So,i=t();for(;;)try{if(277132===parseInt(e(429))/1*(-parseInt(e(354))/2)+parseInt(e(358))/3*(-parseInt(e(426))/4)+-parseInt(e(408))/5+-parseInt(e(381))/6*(-parseInt(e(384))/7)+parseInt(e(371))/8+parseInt(e(353))/9*(-parseInt(e(402))/10)+parseInt(e(385))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends U.Plugin{[Oo(366)];[Oo(359)];[Oo(431)];static[Oo(367)]=[Oo(420),Oo(404),Oo(390)];static[Oo(409)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(387),action:({plugins:e},i)=>{const s=t,n=e[s(365)](Qt),r=n[s(363)];let o=n[s(382)][s(396)],a=i.id;r[s(361)](o)>r[s(361)](a)&&([o,a]=[a,o]),n[s(362)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(365)](Qt);return!(n[s(363)][s(370)](n[s(382)])[s(374)]>2||i[s(407)])}},restoreRevision:{name:t(399),action:(e,{id:i})=>{const s=t;e[s(349)][s(365)](s(413))[s(376)](i)},isVisible:({plugins:e},i)=>!!e[t(365)](Qt)[t(363)][t(372)](i.id)},nameRevision:{name:t(392),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(365)](Qt),o=r[n(363)][n(394)](i);r[n(362)](i,o),s[n(428)](),s[n(351)][n(389)]()}}}}();static get[Oo(405)](){return Oo(417)}static get[Oo(403)](){return!0}static get[Oo(368)](){return!0}static get[Oo(397)](){return[Qt]}constructor(t){const e=Oo;super(t),this[e(366)]=t[e(386)][e(365)](Qt),this[e(359)]=this[e(366)][e(363)],this[e(431)]=null}[Oo(424)](){const t=Oo,e=this[t(359)][t(410)],i=this[t(364)](),s=this[t(379)][t(349)][t(365)](t(377));this[t(431)]=new _o(this[t(379)][t(418)],e,i,this[t(379)][t(349)][t(365)](t(356))),this[t(431)].on(t(411),this[t(415)][t(430)](this)),this[t(431)].on(t(380),this[t(373)][t(430)](this)),this[t(431)][t(430)](t(378)).to(this[t(366)]),this[t(431)][t(398)].on(t(357),((e,i)=>{const s=t;i[s(352)].on(s(357),((t,e)=>{const i=s;e[i(430)](i(378),i(393)).to(this[i(366)])}))})),this[t(431)][t(427)](),this[t(406)](this[t(379)][t(419)],t(414),this[t(388)][t(430)](this)),this[t(406)](this[t(366)],t(350),this[t(355)][t(430)](this)),s[t(422)](this[t(431)][t(391)])}[Oo(425)](){const t=Oo;this[t(431)][t(391)][t(432)](),this[t(431)][t(425)]()}[Oo(388)](){const t=Oo,e=this[t(359)][t(395)](0);if(e){const i=this[t(359)][t(394)](e.id);this[t(366)][t(362)](e,i)}}[Oo(415)](t,e){const i=Oo,s=this[i(359)][i(395)](e.id),n=this[i(359)][i(394)](s.id);this[i(366)][i(362)](s,n)}[Oo(373)](t,e){const i=Oo;this[i(359)][i(395)](e.id)[i(416)](e[i(383)])}[Oo(355)](t,e,i){const s=Oo,n=this[s(359)][s(370)](i);n[s(374)]>2?(this[s(431)][s(400)](n),this[s(431)][s(360)](null)):(this[s(431)][s(400)]([]),this[s(431)][s(360)](n[0]))}[Oo(364)](){const t=Oo,e=this[t(379)],i=xo[t(409)],s=e[t(349)][t(365)](t(401))||xo[t(367)];if(s[t(374)])return s[t(421)]((s=>{const n=t,r=n(412)==typeof s?Object[n(369)]({},i[s]):s;return r[n(375)]=r[n(375)][n(430)](this,e),r[n(423)]&&(r[n(423)]=r[n(423)][n(430)](this,e)),r}))}}const To=xo;function No(){const t=["getEarlierVisibleRevision","getRevision","newRevisionId","requires","timePeriodViews","Restore this revision","highlightRevisions","revisionHistory.revisionActions","70sqMVKN","isOfficialPlugin","restoreRevision","pluginName","listenTo","isSelected","489860aHaNIz","availableRevisionActions","_revisions","revisionSelected","string","revisionHistory","ready","_handleRevisionSelected","setName","RevisionsSidebar","locale","data","compareAgainstSelected","map","appendChild","isVisible","init","destroy","4pCJqNx","render","focus","217363EBzGTK","bind","_sidebarView","remove","config","change:diff","fieldView","revisionViews","120825mTAiEs","2FVCmPn","_handleDiffChange","revisionHistory.requireRevisionName","add","232224GrJSYF","_revisionsRepository","selectRevision","getIndex","compare","repository","_createRevisionActions","get","_revisionViewer","defaultRevisionActions","isPremiumPlugin","assign","getRevisionsInDiff","458872JNnhsc","getLaterVisibleRevision","_handleRevisionSetName","length","action","restoreRevisionCallback","revisionHistory.viewerSidebarContainer","isEnabled","editor","revisionSetName","54DeovuG","diff","name","312613LAtHLR","3350160toTIEm","plugins","Compare against selected","_handleEditorDataReady","select","nameRevision","element","Name this revision","isReady"];return(No=function(){return t})()}const Ao=Mo;function Ro(){const t=["_elementReplacer","656560HUogma","destroy","viewportOffset","bind","name","replace","ready","config","element","193527AknLfX","fillFromConfig","21zMJtJN","document","170474wZwirr","render","editable","_view","editing","getRoot","addToolbar","attachDomRoot","1347606IfjodS","1749495dbplwm","_initToolbar","componentFactory","view","isFocused","fire","stickyPanel","limiterElement","setEditableElement","rootName","detachDomRoot","restore","584196RalsmK","_toolbarConfig","editor","focusTracker","init","50riJfRv","2OpqLEm","viewportTopOffset","isActive","get","toolbar","576956zRdAFa"];return(Ro=function(){return t})()}function Mo(t,e){const i=Ro();return(Mo=function(t,e){return i[t-=154]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(211653===-parseInt(e(182))/1*(-parseInt(e(155))/2)+-parseInt(e(198))/3+-parseInt(e(187))/4+-parseInt(e(164))/5+parseInt(e(176))/6+parseInt(e(200))/7*(-parseInt(e(189))/8)+parseInt(e(163))/9*(parseInt(e(181))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Vo extends ft.EditorUI{[Ao(158)];[Ao(177)];[Ao(188)];get[Ao(167)](){return this[Ao(158)]}constructor(e,i){const s=Ao;super(e),this[s(158)]=i,this[s(177)]=(0,ft.normalizeToolbarConfig)(e[s(196)][s(185)](s(186))),this[s(188)]=new t.ElementReplacer}get[Ao(197)](){const t=Ao;return this[t(167)][t(197)]}[Ao(180)](t){const e=Ao,i=this[e(178)],s=this[e(167)],n=i[e(159)][e(167)],r=s[e(157)],o=n[e(154)][e(160)]();r[e(193)]=o[e(173)],s[e(156)]();const a=r[e(197)];this[e(172)](r[e(193)],a),s[e(157)][e(192)](e(168)).to(this[e(179)]),n[e(162)](a),this[e(188)][e(194)](t,this[e(197)]),this[e(165)](),this[e(169)](e(195))}[Ao(190)](){const t=Ao;super[t(190)]();const e=this[t(167)],i=this[t(178)][t(159)][t(167)];this[t(188)][t(175)](),i[t(174)](e[t(157)][t(193)]),e[t(190)]()}[Ao(165)](){const t=Ao,e=this[t(167)];e[t(170)][t(192)](t(184)).to(this[t(179)],t(168)),e[t(170)][t(171)]=e[t(197)],e[t(170)][t(192)](t(183)).to(this,t(191),(({top:t})=>t)),e[t(186)][t(199)](this[t(177)],this[t(166)]),this[t(161)](e[t(186)])}}var Eo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Eo.A,Do);Eo.A&&Eo.A.locals&&Eo.A.locals;var Co=jo;function Fo(){var t=["top","2692415BgKwrV","81094BWvuYH","render","151068RApDBq","main","stickyPanel","shouldToolbarGroupWhenFull","5434044XyPJfE","editable","6611862IPrAxX","32NusJJN","5465808McnglX","_editable","content","toolbar","add","11108OieTXe","786UsamfR"];return(Fo=function(){return t})()}function jo(t,e){var i=Fo();return(jo=function(t,e){return i[t-=318]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(604557===-parseInt(e(318))/1+parseInt(e(335))/2+-parseInt(e(332))/3*(-parseInt(e(331))/4)+parseInt(e(334))/5+parseInt(e(324))/6+parseInt(e(322))/7+-parseInt(e(325))/8*(parseInt(e(326))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends ft.BoxedEditorUIView{[Co(327)];[Co(320)];[Co(329)];get[Co(323)](){return this[Co(327)]}constructor(t,e,i={}){var s=Co;super(t),this[s(320)]=new ft.StickyPanelView(t),this[s(329)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(321)]}),this[s(327)]=new ft.InlineEditableUIView(t,e)}[Co(336)](){var t=Co;super[t(336)](),this[t(320)][t(328)][t(330)](this[t(329)]),this[t(333)][t(330)](this[t(320)]),this[t(319)][t(330)](this[t(323)])}}const Lo=Wo;function zo(){const t=["342759yKOBlI","document","348koLKhU","init","21610HzYFEj","5276131Zjfrxw","model","fire","_ui","locale","106360uaYJoq","updateSourceElement","destroy","view","editing","30843362xygUXU","create","initPlugins","sourceElement","ready","243eqDxqq","8SqImAd","initialData","data","get","40642IhCHNN","createRoot","config","1871252EdwHxj","129yvxmIY"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=204]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(694855===parseInt(e(213))/1+-parseInt(e(208))/2*(parseInt(e(212))/3)+parseInt(e(211))/4+parseInt(e(223))/5*(-parseInt(e(215))/6)+parseInt(e(218))/7*(-parseInt(e(204))/8)+-parseInt(e(233))/9*(parseInt(e(217))/10)+parseInt(e(228))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends((0,U.ElementApiMixin)(U.Editor)){[Lo(221)];get ui(){return this[Lo(221)]}constructor(t,e){const i=Lo;super(e),this[i(231)]=t,this[i(219)][i(214)][i(209)]();const s=new Po(this[i(222)],this[i(227)][i(226)],{shouldToolbarGroupWhenFull:!0});this[i(221)]=new Vo(this,s)}[Lo(225)](){const t=Lo;return this[t(224)](),this.ui[t(225)](),super[t(225)]()}static async[Lo(229)](t,e){const i=Lo,s=new this(t,e);return await s[i(230)](),await s.ui[i(216)](t),await s[i(206)][i(216)](s[i(210)][i(207)](i(205))||""),s[i(220)](i(232)),s}}const Zo=Ho;function Ho(t,e){const i=qo();return(Ho=function(t,e){return i[t-=370]})(t,e)}function qo(){const t=["users","Users","plugins","block","Dialog","setSelection","_viewerEditor","29552tlEvYw","6596838mnHfNd","set","roots","keys","catch","style","refreshVisibility","_update","repository","error","3107382BDVLgN","document","revisionHistory.showRevisionViewerCallback","refreshPositioning","isReady","revision-history-missing-configuration","translations","requires","destroy","enableReadOnlyMode","addRoot","none","fromVersion","has","getMarkersGroup","numeric","_closeRevisionViewer","update","selection","addUser","change","revisionHistory.requireRevisionName","exitToEditing","isOpen","markers","getRevisionRootsAttributes","commands","RevisionViewer","createdAt","restoreRevision","from","isAnonymous","isOfficialPlugin","revision-history-viewer-opened","Restored","bind","uiLanguage","PaginationLookup","toJSON","581XYPuBS","getRoot","createRangeIn","rootName","changesNavigation","_cleanUp","setAttribute","1208455UwyYda","insert","RestrictedEditingMode","removeAttribute","then","isEnabled","getAttributeKeys","revisionHistory.editorContainer","disableReadOnlyMode","isPremiumPlugin","saveRevision","4czazSX","RevisionHistory","end","_enhanceShowRevisionViewerCallback","56160UDuUpv","addRevisionData","revisionHistory.restoreRevisionCallback","revisionHistory","isReadOnly","_enhanceCloseRevisionViewerCallback","toVersion","getRevisions","init","toLocaleTimeString","lazyRoots","22FlQGZC","Autosave","revisionHistory.closeRevisionViewerCallback","data","long","78TmuKBM","_showRevisionViewer","save","_getRevisionViewerEditorConfig","includes","RevisionTracker","removeSelectionAttribute","result","get","model","push","isAttached","getUser","display","indexOf","revisionHistory.viewerContainer","restrictedEditingException","map","removeMarker","RevisionViewerIntegration","create","editor","closeRevisionViewerCallback","Annotations","detachRoot","creator","name","showRevisionViewerCallback","parse","toolbar","RevisionsRepository","enqueueChange","remove","_recalculatePageBreaks","$graveyard","toLocaleDateString","getRevisionData","pluginName","_restoreRevision","getRevision","revisionHistory.viewerEditorElement","hide","adapter","RevisionHistoryUI","3608950vNjhwV","locale","define","5818512DjEhlh","config","fromCharCode","join"];return(qo=function(){return t})()}!function(t){const e=Ho,i=t();for(;;)try{if(588149===-parseInt(e(385))/1*(-parseInt(e(473))/2)+parseInt(e(396))/3+parseInt(e(453))/4*(parseInt(e(442))/5)+-parseInt(e(374))/6+-parseInt(e(435))/7*(-parseInt(e(457))/8)+-parseInt(e(386))/9+parseInt(e(371))/10*(-parseInt(e(468))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const $o=[Zo(370),Zo(444)];class Bo extends U.Plugin{[Zo(480)];static get[Zo(510)](){return Zo(492)}static get[Zo(428)](){return!0}static get[Zo(451)](){return!0}constructor(t){const e=Zo;function i(t){const e=Ho;return t[e(490)]((t=>String[e(376)](t)))[e(377)]("")}super(t),this[e(480)]=e(455),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends U.Plugin{[Zo(384)];static get[Zo(510)](){return Zo(454)}static get[Zo(428)](){return!0}static get[Zo(451)](){return!0}static get[Zo(403)](){return[nt,Ct]}constructor(e){const i=Zo;if(super(e),!this[i(494)][i(375)][i(481)](i(460)))throw new t.CKEditorError(i(401),this);this[i(384)]=null,this[i(494)][i(375)][i(373)](i(398),(t=>this[i(474)]({...t,translations:this[i(494)][i(372)][i(402)]}))),this[i(494)][i(375)][i(373)](i(470),(t=>this[i(412)](t))),this[i(494)][i(375)][i(373)](i(459),(t=>this[i(511)](t))),this[i(494)][i(375)][i(373)](i(417),!1),this[i(456)](),this[i(462)]()}set[Zo(515)](t){const e=Zo;this[e(494)][e(380)][e(481)](e(478))[e(515)]=t}get[Zo(515)](){const t=Zo;return this[t(494)][t(380)][t(481)](t(478))[t(515)]}[Zo(458)](t){const e=Zo;return this[e(494)][e(380)][e(481)](e(478))[e(458)](t)}[Zo(512)](t){const e=Zo;return this[e(494)][e(380)][e(481)](e(503))[e(512)](t)}[Zo(464)](t){const e=Zo;return this[e(494)][e(380)][e(481)](e(503))[e(464)](t||{toJSON:!1})}[Zo(476)](){const e=Zo,i=this[e(494)],s=(0,Z.sanitizeEditorConfig)(i,$o),n=i[e(380)][e(481)](e(478)),r=i[e(380)][e(481)](e(379))[e(378)];return s[e(502)]=[e(418),e(425),e(439)],delete s[e(467)],s[e(380)][e(483)](Bo,Qt,ke,class extends U.Plugin{static get[e(403)](){return[Qt,e(379)]}[e(465)](){const s=e,o=this[s(494)][s(380)][s(481)](s(379));for(const t of r)t[s(427)]||o[s(485)](t.id)||o[s(415)](t);const a=n[s(394)][s(464)]();let c=null;const u=this[s(494)][s(380)][s(481)](s(423));u[s(515)]=n[s(515)],u[s(431)](s(447)).to(n),this[s(494)][s(422)][s(481)](s(425))[s(431)](s(447)).to(i,s(461),(t=>!t));for(const e of a){const i=null===e[s(498)];if(i&&e[s(463)]===e[s(408)])continue;const r=e[s(434)]();u[s(458)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(393)](r,o);else if(!o){const e=a[u(434)]();e.id=(0,t.uid)(),n[u(452)](e,a[u(463)])[u(446)]((t=>{c=t}))}}else e[u(393)](r,o)}))}}},To),s}[Zo(456)](){const t=Zo,e=this[t(494)][t(375)][t(481)](t(460))[t(500)];this[t(494)][t(375)][t(387)](t(398),(async()=>{const i=t;this[i(494)][i(405)](i(429));const s=this[i(494)][i(380)][i(481)](i(478));if(this[i(494)][i(380)][i(409)](i(469))){const t=this[i(494)][i(380)][i(481)](i(469));await t[i(475)]()}else await s[i(413)]();if(this[i(494)][i(380)][i(409)](i(433))&&this[i(494)][i(380)][i(481)](i(433))[i(506)](),this[i(494)][i(380)][i(409)](i(382))){const t=this[i(494)][i(380)][i(481)](i(382));t[i(419)]&&t[i(514)]()}const n=this[i(476)]();return e(n)[i(446)]((t=>{const e=i;return this[e(384)]=t,this[e(494)][e(380)][e(409)](e(496))&&this[e(494)][e(380)][e(481)](e(496))[e(392)](),t}))[i(390)]((t=>(console[i(395)](t),this[i(494)][i(450)](i(429)),null)))}))}[Zo(462)](){const t=Zo,e=this[t(494)][t(375)][t(481)](t(460))[t(495)];this[t(494)][t(375)][t(387)](t(470),(()=>(this[t(494)][t(380)][t(409)](t(433))&&this[t(494)][t(380)][t(481)](t(433))[t(506)](),this[t(384)][t(380)][t(481)](t(423))[t(440)](),e(this[t(384)])[t(446)]((()=>{const e=t;if(this[e(494)][e(450)](e(429)),this[e(384)]=null,this[e(494)][e(380)][e(409)](e(496))){const t=this[e(494)][e(380)][e(481)](e(496));t[e(392)](),t[e(399)]()}})))))}[Zo(474)](t){const e=Zo,i=this[e(494)][e(375)][e(481)](e(449)),s=this[e(494)][e(375)][e(481)](e(488)),n=this[e(494)][e(375)][e(481)](e(513));return Uo[e(493)](n,t)[e(446)]((t=>(s[e(391)][e(486)]=e(381),i[e(391)][e(486)]=e(407),t)))}[Zo(412)](t){const e=Zo,i=this[e(494)][e(375)][e(481)](e(449));return this[e(494)][e(375)][e(481)](e(488))[e(391)][e(486)]=e(407),i[e(391)][e(486)]="",t[e(404)]()}async[Zo(511)](t){const e=Zo,i=this[e(494)],s=this[e(384)][e(380)][e(481)](e(423)),n=i[e(380)][e(481)](e(478)),r=s[e(394)][e(512)](t);let o,a,c;try{o=await s[e(509)](r),a=await s[e(421)](r)}catch(t){return void console[e(395)](t)}i[e(482)][e(416)]((t=>{const s=e;for(const e of Array[s(426)](i[s(482)][s(420)][s(410)](s(489))))t[s(491)](e)})),s[e(400)]=!1,i[e(482)][e(504)]((t=>{const s=e;t[s(383)](null),t[s(479)](i[s(482)][s(397)][s(414)][s(448)]());const n=Object[s(389)](o);for(const e of i[s(482)][s(397)][s(388)])s(507)!=e[s(438)]&&e[s(484)]()&&!n[s(477)](e[s(438)])&&t[s(497)](e);for(const e of n){let n=i[s(482)][s(397)][s(436)](e);n&&n[s(484)]()||(n=t[s(406)](e));const r=a[e],c=Object[s(389)](r),u=o[e];for(const e of n[s(448)]())c[s(477)](e)||t[s(445)](e,n);for(const i of c)t[s(441)](i,a[e][i],n);t[s(505)](t[s(437)](n)),t[s(443)](i[s(471)][s(501)](u,n),n,0)}}));const u=Y(i[e(372)],e(430));return c=r[e(499)]?-1==r[e(499)][e(487)](u)?u+": "+r[e(499)]:r[e(499)]:u+": "+r[e(424)][e(508)](i[e(372)][e(432)],{month:e(472),day:e(411)})+", "+r[e(424)][e(466)](i[e(372)][e(432)],{hour:e(411),minute:e(411)}),await n[e(452)]({name:c}),s[e(400)]=!0,i[e(375)][e(481)](e(460))[e(495)]()}}function Yo(){var t=["410EOsgIK","661787mxWBiX","8760184ClyRGz","10646830lwJzxH","86318zPANwf","9RdrbGH","49384vrSlKX","6129673Zzmatr","2637885KOxARf","23KLXtOH","24OQbIib"];return(Yo=function(){return t})()}function Go(t,e){var i=Yo();return(Go=function(t,e){return i[t-=301]})(t,e)}!function(t){for(var e=Go,i=t();;)try{if(710841===parseInt(e(303))/1*(parseInt(e(309))/2)+parseInt(e(302))/3+-parseInt(e(311))/4*(parseInt(e(305))/5)+-parseInt(e(304))/6*(-parseInt(e(306))/7)+-parseInt(e(307))/8*(-parseInt(e(310))/9)+-parseInt(e(308))/10+-parseInt(e(301))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>U,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>nt,RevisionViewer:()=>Qt,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>Y,RevisionsSidebar:()=>xo});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M,V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(V=t,ArrayBuffer.isView(V)&&!(V instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}const M=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function L(){const t=["40925529aUVrvK","218535VvAlRQ","attributes","authorsIds","setAttribute","6NcmpUt","diffData","createdAt","fromVersion","model","creator","3039387jOcabL","name","setName","toVersion","set","authors","_update","530754WMgkEw","creatorId","11594128fDNWKF","934396RqIccU","toJSON","2618452OxfCmr","removeAttribute","map","fire","1PtPQPg"];return(L=function(){return t})()}const P=z;function z(t,e){const i=L();return(z=function(t,e){return i[t-=425]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(843546===-parseInt(e(431))/1*(parseInt(e(425))/2)+-parseInt(e(443))/3+-parseInt(e(427))/4+parseInt(e(433))/5*(-parseInt(e(437))/6)+-parseInt(e(450))/7+-parseInt(e(452))/8+parseInt(e(432))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(L);class U extends((0,t.ObservableMixin)()){id;[P(442)];[P(448)];[P(438)];[P(446)];[P(440)];[P(441)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(442)]=e[i(442)]||null,this[i(448)]=e[i(448)]||[],this[i(438)]=e[i(438)]||null,this[i(446)]=e[i(446)]||0,this[i(440)]=e[i(440)]||0,this[i(447)](i(444),e[i(444)]||""),this[i(447)](i(439),e[i(439)]||new Date),this[i(447)](i(434),e[i(434)]||{})}[P(445)](t){this[P(449)]({name:t})}[P(436)](t,e){const i=P,s=R(this[i(434)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(449)]({attributes:s})}[P(428)](t){const e=P,i=R(this[e(434)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(449)]({attributes:i})}[P(449)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(444),i(439),i(438),i(448),i(434),i(446),i(440),i(451)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(448)]&&(n[i(435)]=n[i(448)][i(429)]((t=>t.id)),delete n[i(448)]),this[i(430)](i(449),n,e))}[P(426)](){const t=P;return{id:this.id,name:this[t(444)],creatorId:this[t(442)]?this[t(442)].id:null,authorsIds:this[t(448)][t(429)]((t=>t.id)),diffData:this[t(438)],createdAt:this[t(439)],attributes:this[t(434)],fromVersion:this[t(440)],toVersion:this[t(446)]}}}var W=i(782),Z=i(211),H=i(783);const $=B;function q(){const t=["getRevisionsIterator","addRevision","add","355sJkUTn","getIndex","isNaN","createRevision","createdAt","13520432bUwUiF","pluginName","getRevisions","plugins","newRevisionId","push","RevisionsRepository","isOfficialPlugin","oldRevisionId","getLaterVisibleRevision","requires","reverse","116814HhrryR","from","21345cDlbQu","fromCharCode","join","name","toVersion","getRevision","attributes","length","get","9512109TJjtRK","creatorId","getUser","data","685984qAWZeO","diffData","map","Users","later","afterInit","href","fromVersion","editor","authorsIds","isPremiumPlugin","earlier","_revisions","1303115KzdvVB","478KAroVm","2519587lOLxTK","getRevisionsInDiff","getEarlierVisibleRevision","toJSON"];return(q=function(){return t})()}function B(t,e){const i=q();return(B=function(t,e){return i[t-=302]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(958071===-parseInt(e(346))/1+-parseInt(e(347))/2*(-parseInt(e(320))/3)+parseInt(e(333))/4+-parseInt(e(355))/5*(-parseInt(e(318))/6)+-parseInt(e(348))/7+-parseInt(e(306))/8+parseInt(e(329))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends W.Plugin{[$(345)];static get[$(316)](){return[Z.Users]}static get[$(307)](){return $(312)}static get[$(313)](){return!0}static get[$(343)](){return!0}get[$(327)](){const t=$;return this[t(345)][t(327)]}constructor(e){const i=$;super(e),this[i(345)]=new t.Collection}[$(338)](){!async function(e){const i=k([81,119,90,108,117,98,116,51,56,86,101,85,78,69,121,100,106,84,71,89,88,73,68,49,87,99,118,112,83,53,115,54,107,79,77,72,114,122,55,113,111,75,52,70,110,102,74,50,82,105,97,104,67,65,57,80,120,76,48,103,109,66]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(303)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([81]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=B;return t[e(335)]((t=>String[e(321)](t)))[e(322)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1742342400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(339)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[$(304)](t){const e=$,i=this[e(341)][e(309)][e(328)](e(336));return new U({id:t.id,name:t[e(323)],creator:t[e(330)]?i[e(331)](t[e(330)]):null,diffData:t[e(334)]||t[e(332)],authors:t[e(342)][e(335)]((t=>i[e(331)](t))),createdAt:new Date(t[e(305)]),attributes:t[e(326)],fromVersion:t[e(340)],toVersion:t[e(324)]})}[$(353)](t,e=0){const i=$;this[i(345)][i(354)](t,e)}[$(325)](t){const e=$;return this[e(345)][e(328)](t)}[$(308)](t={toJSON:!1}){const e=$,i=Array[e(319)](this[e(345)]);return i[e(317)](),t[e(351)]?i[e(335)]((t=>t[e(351)]())):i}[$(302)](t){const e=$;return this[e(345)][e(302)](t)}[$(350)](t){const e=$,[,i]=this[e(352)](t,{direction:e(344)});return i}[$(315)](t){const e=$,[,i]=this[e(352)](t,{direction:e(337)});return i}[$(349)](t){const e=$,i=[];for(const s of this[e(352)](t[e(310)]))if(i[e(311)](s),s.id===t[e(314)])break;return i}*[$(352)](t,{direction:e=$(344),filter:i=()=>!0}={}){const s=$,n=s(344)===e?1:-1;let r=this[s(345)][s(328)](t),o=this[s(302)](r);for(yield r;r;){if(o+=n,r=this[s(325)](o),!r)return;i(r)&&(yield r)}}}function J(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function G(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return X(t,e,r,o)}return X(t,e,r,o)}function X(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(M=s)||Number.isNaN(R)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,M;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>K(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&X(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&X(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(X(t.constructor,i.constructor,s,x)||G(t)&&G(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!K(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function Q(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,Q)}const et=it;function it(t,e){const i=ut();return(it=function(t,e){return i[t-=165]})(t,e)}!function(t){const e=it,i=t();for(;;)try{if(413196===-parseInt(e(214))/1*(parseInt(e(351))/2)+parseInt(e(433))/3+-parseInt(e(293))/4*(parseInt(e(228))/5)+-parseInt(e(296))/6*(parseInt(e(477))/7)+-parseInt(e(185))/8*(-parseInt(e(372))/9)+parseInt(e(235))/10*(parseInt(e(447))/11)+parseInt(e(252))/12*(parseInt(e(388))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ut);const st={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class nt extends W.Plugin{[et(219)];[et(366)];[et(274)];[et(455)];[et(340)];[et(377)];[et(311)];[et(231)];[et(436)];[et(249)];[et(462)];[et(275)];[et(246)];static get[et(269)](){return et(290)}static get[et(347)](){return!0}static get[et(236)](){return!0}static get[et(397)](){return[Z.Users,Y,W.PendingActions]}constructor(e){const i=et;super(e),this[i(274)]=null,this[i(455)]=null,this[i(377)]=new ot(this[i(338)]),this[i(231)]=this[i(338)][i(339)][i(405)](i(205))||i(257),this[i(436)]=new Map,this[i(246)]=null;const s=(0,t.uid)();this[i(311)]={history:this[i(338)][i(376)][i(291)][i(302)],getLatestVersion:()=>Promise[i(213)](this[i(338)][i(376)][i(291)][i(453)]),getCurrentRevisionId:()=>s},this[i(408)](i(220),!1),this[i(408)](i(223),!0),this[i(408)](i(398),!1),this[i(338)][i(339)][i(335)](i(336),!0),this[i(338)][i(313)][i(426)](i(197))[i(225)]({view:i(292)})}[et(344)](){const t=et;this[t(340)]=this[t(338)][t(255)][t(405)](t(287)),this[t(309)](),this[t(338)][t(414)].on(t(166),(()=>{const e=t,i=this[e(340)][e(411)](0),s=i&&null===i[e(483)]?i:null;if(this[e(462)]=!!s&&this[e(338)][e(339)][e(405)](e(336)),this[e(338)][e(255)][e(244)](e(216))){const t=this[e(311)][e(285)](),n=this[e(340)][e(411)](t);if(n)this[e(275)]=n[e(469)],this[e(462)]=!1;else{const t=this[e(311)][e(302)][e(380)][e(329)]((t=>!t[e(448)])),n=t?t[e(443)]:this[e(311)][e(302)][e(453)];i?(i[e(271)]<n&&i[e(270)]({toVersion:n}),this[e(462)]?(this[e(311)][e(285)]=()=>s.id,this[e(275)]=s[e(469)]):(this[e(275)]=i[e(271)],this[e(462)]=!1)):(this[e(275)]=n,this[e(462)]=!1)}}else s&&(this[e(338)][e(376)][e(291)][e(302)][e(453)]=Math[e(349)](s[e(271)],this[e(338)][e(376)][e(291)][e(302)][e(453)]),s[e(469)]===s[e(271)]?(0!==s[e(469)]&&(this[e(311)][e(285)]=()=>s.id),this[e(462)]=!1):this[e(462)]&&(this[e(311)][e(285)]=()=>s.id,this[e(275)]=s[e(469)])),this[e(462)]||(this[e(275)]=this[e(338)][e(376)][e(291)][e(453)]);this[e(377)][e(344)](this[e(311)][e(302)]),this[e(464)](this[e(275)]),this[e(320)](this[e(275)]),this[e(274)]&&this[e(179)]()})),this[t(348)](t(220)).to(this,t(398),(t=>!t)),this[t(219)]=this[t(338)][t(339)][t(405)](t(219));const e=this[t(338)];this[t(366)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(401)==r||i(191)==r||i(404)==r||i(215)==r||i(439)==r||i(470)==r||i(238)==r||i(480)==r){delete e[n],s=r,clearInterval(this[i(366)]),this[i(366)]=void 0;break}}i(191)==s&&e[i(357)](i(396)),i(404)==s&&e[i(357)](i(371)),i(215)==s&&e[i(357)](i(240)),i(439)==s&&e[i(357)](i(440),i(486)),i(470)==s&&e[i(357)](i(381)),i(238)==s&&e[i(357)](i(308)),i(480)==s&&e[i(357)](i(170))}),1e3)}async[et(463)](){const t=et;if(this[t(340)][t(283)]>0){const e=this[t(340)][t(411)](0),i=await this[t(286)](e),s=await this[t(369)](e);this[t(226)](i,s)}}[et(359)](){const t=et;super[t(359)](),this[t(366)]&&clearInterval(this[t(366)])}[et(407)](t){this[et(311)]=t}async[et(389)](){const t=et,e=await this[t(311)][t(403)]();if(e>this[t(455)][t(271)]){await this[t(327)]();const i=this[t(200)]({revision:this[t(455)],to:e});i[t(272)]=i[t(310)][t(355)]((e=>this[t(338)][t(255)][t(405)](t(227))[t(180)](e))),this[t(455)][t(270)](i)}}async[et(327)](){const t=et;this[t(462)]&&!this[t(246)]&&(await this[t(390)](this[t(455)]),this[t(377)][t(379)](this[t(455)]),this[t(246)]={fromVersion:this[t(455)][t(469)],authors:this[t(455)][t(272)][t(346)]()})}async[et(321)](e={},i=null){const s=et,n=[];await this[s(327)](),this[s(462)]=!1,i>this[s(455)][s(271)]&&(i=null),null===i&&(i=await this[s(311)][s(403)]());const r=this[s(267)](i),o=this[s(200)]({from:r,to:i});if(this[s(455)][s(271)]<i){const t=this[s(200)]({revision:this[s(455)],from:i,to:i});t[s(272)]=[],t[s(310)]=[],t.id=this[s(455)].id,this[s(455)][s(270)](t,!0),delete t[s(272)],n[s(258)](t)}e[s(435)]=this[s(338)][s(255)][s(405)](s(227)).me.id,e[s(473)]=e[s(473)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(393)](e);n[s(258)](e);const c=this[s(340)][s(374)](a);if(0!==c){const t=this[s(340)][s(411)](c-1);if(t[s(469)]!==i){const r=this[s(377)][s(218)](i,t[s(271)]),o={id:t.id,diffData:r[s(406)],authorsIds:r[s(310)],authors:r[s(310)][s(355)]((t=>this[s(338)][s(255)][s(405)](s(227))[s(180)](t))),fromVersion:i};t===this[s(455)]&&(o[s(428)]=new Date(e[s(428)][s(458)]()+10)),t[s(270)](o,!0),delete o[s(272)],n[s(258)](o)}}if(this[s(274)]){for(const t of n)this[s(303)](t.id,t,!0);this[s(179)]()}return a}[et(393)](t){const e=et,i=this[e(340)][e(289)](t);return this[e(274)]&&i.on(e(270),((t,i,s)=>{const n=e;s||(this[n(303)](i.id,i,!0),this[n(179)]())})),this[e(340)][e(356)](i,this[e(423)](i)),i}async[et(286)](t){const e=et;await this[e(390)](t);const i={};for(const s in t[e(406)]){if(t[e(406)][s][e(221)]&&!t[e(406)][s][e(221)][e(266)])continue;const n=this[e(172)](JSON[e(256)](t[e(406)][s][e(273)])),r=this[e(338)][e(332)][e(360)][e(291)],o=new H.ViewDocumentFragment(r,n[e(355)]((t=>rt(t,this[e(338)]))));this[e(338)][e(414)][e(279)][e(400)](e(415)),i[s]=this[e(338)][e(414)][e(279)][e(387)](o),this[e(338)][e(414)][e(279)][e(400)](e(391))}return i}async[et(369)](t){const e=et;await this[e(390)](t);const i={};for(const s in t[e(406)])t[e(406)][s][e(221)]&&!t[e(406)][s][e(221)][e(266)]||(i[s]=t[e(406)][s][e(412)]||{});return i}[et(179)](){const t=et;if(0===this[t(436)][t(298)])return;if(this[t(398)])return;let e=Array[t(182)](this[t(436)][t(484)]());this[t(436)][t(422)]();for(let i=0;i<e[t(283)];i++){const s=e[i];let n=!1;for(const e of Object[t(234)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(243)]((t=>null!==t)),!e[t(283)])return;for(let i=0;i<e[t(283)];i++){const s=e[i];void 0!==s[t(469)]&&void 0===s[t(271)]&&(s[t(271)]=this[t(340)][t(411)](s.id)[t(271)]),void 0!==s[t(271)]&&void 0===s[t(469)]&&(s[t(469)]=this[t(340)][t(411)](s.id)[t(469)])}const i=this[t(338)][t(339)][t(405)](t(205));this[t(398)]=!0,this[t(479)](),this[t(274)][t(254)](e,i)[t(253)]((()=>{this[t(398)]=!1}))[t(305)]((e=>{const i=t;if(e)for(const t of e)this[i(181)]({id:t.id,createdAt:t[i(428)]});this[i(242)](),this[i(179)]()}))}[et(226)](e,i){const s=et;let n=this[s(338)][s(339)][s(405)](s(277)),r=this[s(338)][s(339)][s(405)](s(312));if(void 0===n){n={};for(const t of this[s(338)][s(376)][s(291)][s(451)]())n[t]=""}if(s(199)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(338)][s(376)][s(291)][s(451)]())r[t]={}}let o=!1;const a=Object[s(234)](n),c=Object[s(234)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(487)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(234)](r[t])[s(283)]>0){o=!0;break}}o||(o=c[s(364)]((t=>!this[s(338)][s(376)][s(291)][s(178)](t)))),o&&(0,t.logWarning)(s(284),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(338)][s(339)][s(408)](s(277),e),this[s(338)][s(339)][s(408)](s(312),i)}[et(479)](){const t=et;if(!this[t(249)]){const e=this[t(338)][t(255)][t(405)](t(476));this[t(249)]=e[t(295)](J(this[t(338)][t(198)],t(472)))}}[et(242)](){const t=et;this[t(249)]&&(this[t(338)][t(255)][t(405)](t(476))[t(229)](this[t(249)]),this[t(249)]=null)}[et(423)](t){const e=et,i=this[e(340)][e(324)]();i[e(409)]();let s=0;for(;s<i[e(283)];){const n=i[s];if(n===this[e(455)]){s++;continue}if(n.id===this[e(231)])break;const r=t[e(271)]-n[e(271)]||t[e(469)]-n[e(469)];if(r>0)break;if(r<0)s++;else{if(!t[e(483)]&&n[e(483)])break;if(n[e(483)]||!t[e(483)]){if(t[e(428)]>n[e(428)])break;s++}else s++}}return s}[et(181)](t){const e=et,i=this[e(340)][e(411)](t.id);if(t[e(428)]&&(t[e(428)]=new Date(t[e(428)])),t[e(310)]){const i=this[e(338)][e(255)][e(405)](e(227));t[e(272)]=t[e(310)][e(355)]((t=>i[e(180)](t)))}i[e(270)](t,!0)}[et(200)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(469)],i=null!==i?i:t[s(271)];const n=this[s(377)][s(218)](e,i),r={diffData:n[s(406)],authorsIds:n[s(310)],fromVersion:e,toVersion:i};if(!t||i!==t[s(271)]){const t=i-1,e=this[s(311)][s(302)][s(363)](t);r[s(428)]=e&&e[s(428)]||new Date}if(this[s(246)]&&e===this[s(246)][s(469)])for(const t of this[s(246)][s(272)])r[s(310)][s(488)](t.id)||r[s(310)][s(258)](t.id);return r}[et(390)](t){const e=et;if(!t||t[e(406)])return Promise[e(213)]();{const i=this[e(338)][e(339)][e(405)](e(205));return this[e(274)][e(411)]({channelId:i,revisionId:t.id})[e(305)]((i=>{const s=e;t[s(406)]=i[s(406)]}))}}[et(303)](t,e,i){const s=et;if(this[s(436)][s(244)](t)){const n=this[s(436)][s(405)](t);e=i?{...n,...e}:{...e,...n}}this[s(436)][s(408)](t,e)}[et(267)](t){const e=et,i=this[e(340)][e(324)]();i[e(409)](),i[e(378)]();const s=i[e(329)]((i=>i[e(271)]<=t))[e(271)];return s<this[e(275)]?this[e(275)]:s}[et(464)](t){const e=et,i=this[e(340)][e(411)](this[e(340)][e(283)]-1);if(i)this[e(231)]=i.id;else{const i=!this[e(338)][e(376)][e(291)][e(460)][e(329)]((t=>this[e(338)][e(376)][e(343)](t))),s=this[e(338)][e(255)][e(405)](e(227)).me.id,n=J(this[e(338)][e(198)],e(i?350:262));this[e(193)]({from:t,to:t,id:this[e(231)],name:n,creatorId:s})}}[et(320)](t){const e=et,i=this[e(311)][e(285)]();this[e(455)]=this[e(340)][e(411)](i),this[e(455)]||(this[e(455)]=this[e(193)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(193)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(200)]({from:e,to:i});o[r(473)]=t,o[r(435)]=s,o.id=n;const a=this[r(393)](o);return this[r(274)]&&this[r(303)](o.id,o,!0),a}[et(309)](){const t=et;this[t(338)][t(313)][t(426)](t(465))[t(399)]({model:t(292)})}[et(172)](t){const e=et;return(t=t[e(243)]((t=>!t[e(473)]||e(457)!==t[e(473)]&&e(260)!==t[e(473)])))[e(241)]((t=>{const i=e;i(199)!=typeof t&&(t[i(233)]=this[i(172)](t[i(233)]),t[i(365)]=t[i(365)][i(243)]((t=>!t[0][i(217)](i(280)))))})),t}}function rt(t,e){const i=et,s=e[i(332)][i(360)][i(291)];if(i(199)==typeof t)return new H.ViewText(s,t);{const n=t[i(233)][i(355)]((t=>rt(t,e)));return new(st[t[i(323)]]||H.ViewElement)(s,t[i(473)],t[i(365)],n)}}class ot{[et(338)];[et(239)];[et(384)];[et(268)];[et(174)];[et(317)];[et(427)];[et(475)];[et(429)];[et(482)];[et(201)];[et(326)];[et(419)];[et(307)];[et(449)];[et(466)];[et(352)];constructor(t){const e=et;this[e(338)]=t,this[e(384)]=new Map,this[e(268)]=-1,this[e(174)]=-1,this[e(317)]=new Map,this[e(427)]=new Map,this[e(475)]=new Map,this[e(429)]=new Map,this[e(482)]=new Map,this[e(201)]=new Map,this[e(326)]=new Map,this[e(419)]=new Map,this[e(307)]=new Map,this[e(449)]=new Map,this[e(466)]=1}[et(344)](t){const e=et;this[e(239)]=t;const i=new Map,s=new Map,n=this[e(338)][e(376)][e(291)][e(460)][e(355)]((t=>t[e(299)]));for(const t of n){const n=this[e(338)][e(376)][e(291)][e(178)](t),r=at(n);i[e(408)](t,r),s[e(408)](t,Object[e(173)](n[e(206)]()))}const r=Array[e(182)](this[e(338)][e(376)][e(358)])[e(355)]((t=>[t[e(473)],t[e(437)]()])),o=this[e(239)][e(453)];this[e(304)](o,i,r,s),this[e(352)]=this[e(466)];const a=new Map,c=new Map;for(const t of n){const i=ct(t);a[e(408)](t,i),c[e(408)](t,{})}this[e(304)](Number[e(450)],a,[],c)}[et(218)](t,e){const i=et;if(this[i(268)]===t&&this[i(174)]<=e)this[i(384)][i(298)]>1&&this[i(208)](this[i(174)]),this[i(438)](this[i(174)],e,!0);else{if(!this[i(384)][i(244)](t)){const e=this[i(247)](t);this[i(319)](e,t,!1)}this[i(319)](t,e,!0)}return this[i(268)]=t,this[i(174)]=e,this[i(196)]()}[et(379)](t){const e=et;this[e(452)](),this[e(268)]=t[e(469)],this[e(174)]=t[e(271)];for(const i in t[e(406)]){const s=t[e(406)][i][e(221)],n=R(t[e(406)][i][e(315)])||{},r=this[e(261)](t[e(406)][i][e(417)]);r[e(299)]=i,r[e(184)]=!s||!s[e(266)],r[e(266)]=()=>r[e(184)],this[e(429)][e(408)](i,r),this[e(482)][e(408)](i,n),s&&this[e(449)][e(408)](i,s);const o=this[e(188)](r);this[e(326)][e(408)](i,o);for(const[t,i]of r[e(358)]){if(!t[e(217)](e(301)))continue;const s=t[e(288)](":")[2];for(const t of i[e(248)]({singleCharacters:!0})){const i=this[e(425)](t),n=e(373)==t[e(323)]?t[e(334)][e(276)][e(346)](0,-1):t[e(334)][e(276)],r=o[e(232)](n)[e(328)](i);this[e(419)][e(408)](r,{userId:s})}}}this[e(352)]=this[e(466)];const i=[...Array(this[e(466)])[e(234)]()][e(346)](1)[e(243)]((t=>!this[e(419)][e(244)](t)));let s=0;const n=new Map;for(const r in t[e(406)]){const o=t[e(406)][r][e(221)],a=R(t[e(406)][r][e(412)])||{},c=this[e(261)](t[e(406)][r][e(273)]);c[e(299)]=r,c[e(184)]=!o||o[e(266)],c[e(266)]=()=>c[e(184)],this[e(427)][e(408)](r,c),this[e(475)][e(408)](r,a);const u=this[e(188)](c,Number[e(450)]);this[e(201)][e(408)](r,u),n[e(408)](r,c[e(266)]()?a:{});for(const[t,i]of c[e(358)]){if(!t[e(217)](e(301)))continue;const s=t[e(288)](":")[2];for(const t of i[e(248)]({singleCharacters:!0})){const i=this[e(425)](t),n=this[e(466)]++,r=e(373)==t[e(323)]?t[e(334)][e(276)][e(346)](0,-1):t[e(334)][e(276)];u[e(232)](r)[e(362)](i,n),this[e(419)][e(408)](n,{userId:s})}}for(const t of this[e(338)][e(376)][e(192)](c)[e(248)]({singleCharacters:!0})){const n=this[e(425)](t),r=e(373)==t[e(323)]?t[e(334)][e(276)][e(346)](0,-1):t[e(334)][e(276)],o=u[e(232)](r);o[e(328)](n)>0||o[e(362)](n,i[s++])}for(const[t,i]of c[e(358)])t[e(217)](e(301))||this[e(317)][e(408)](t,i)}const r=ct(e(481));this[e(429)][e(408)](e(481),r),this[e(326)][e(408)](e(481),this[e(188)](r,1));const o=ct(e(481));this[e(427)][e(408)](e(481),o),this[e(201)][e(408)](e(481),this[e(188)](o,1));const a=Array[e(182)](this[e(427)])[e(355)]((([t,e])=>[t,at(e)]));this[e(304)](this[e(174)],a,this[e(317)],n)}[et(261)](t){const e=et,i=JSON[e(256)](t),s=this[e(338)][e(332)][e(360)][e(291)],n=new H.ViewDocumentFragment(s,i[e(355)]((t=>rt(t,this[e(338)]))));return this[e(338)][e(414)][e(337)](n)}[et(304)](t,e,i,s){const n=et,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(408)](t,{start:e[n(250)][n(402)](),end:e[n(424)][n(402)](),rootName:e[n(333)][n(299)]});this[n(384)][n(408)](t,{roots:r,markers:a,rootsAttributes:o})}[et(208)](t){const e=et;this[e(384)][e(392)](t)}[et(471)](){const t=et;this[t(452)](),this[t(268)]=-1,this[t(174)]=-1,this[t(384)][t(422)](),this[t(344)](this[t(239)])}[et(452)](){const t=et;this[t(419)][t(422)](),this[t(307)][t(422)](),this[t(449)][t(422)](),this[t(427)][t(422)](),this[t(475)][t(422)](),this[t(429)][t(422)](),this[t(482)][t(422)](),this[t(201)][t(422)](),this[t(326)][t(422)](),this[t(317)][t(422)](),this[t(466)]=1,this[t(352)]=this[t(466)]}[et(188)](t,e=null){const i=et;let s=null;t.is(i(168))||(s=new H.Element(t[i(473)],{vid_start:null===e?this[i(466)]++:e++}));const n=[];for(const s of t[i(294)]())if(s.is(i(316))){n[i(258)](this[i(188)](s,e));const t=n[n[i(283)]-1];null!==e&&(e=t.is(i(316),i(370))?t[i(328)](i(430))+1:t[i(328)](i(421))+1)}else for(let t=0;t<s[i(459)];t++)n[i(258)](new H.Element(i(370),{vid:null===e?this[i(466)]++:e++}));if(t.is(i(168))){const e=ct(t[i(299)]);return e[i(186)](0,n),e}return s[i(362)](i(421),null===e?this[i(466)]++:e++),s[i(186)](0,n),s}[et(319)](t,e,i){const s=et;this[s(452)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(384)][s(405)](t);this[s(429)]=new Map(n),this[s(482)]=new Map(R(o));for(const[t,e]of this[s(429)])if(s(481)!==t&&(this[s(427)][s(408)](t,at(e)),this[s(475)]=new Map(R(o)),i)){const i=this[s(466)];this[s(201)][s(408)](t,this[s(188)](e)),this[s(326)][s(408)](t,this[s(188)](e,i))}this[s(352)]=this[s(466)],this[s(427)][s(408)](s(481),at(this[s(429)][s(405)](s(481)))),i&&this[s(201)][s(408)](s(481),this[s(188)](this[s(429)][s(405)](s(481))));for(const[t,e]of r){const i=this[s(429)][s(405)](e[s(299)]),n=this[s(427)][s(405)](e[s(299)]),r=new H.Range(this[s(467)](e[s(250)],i),this[s(467)](e[s(424)],i)),o=this[s(207)](r,n);i[s(358)][s(408)](t,r),this[s(317)][s(408)](t,o)}this[s(438)](t,e,i)}[et(438)](t,e,i){const s=et;for(const n of this[s(239)][s(420)](t,e))this[s(325)](n,i);for(const t of this[s(427)][s(484)]())t[s(358)][s(422)]();for(const[t,e]of this[s(317)])this[s(427)][s(405)](e[s(333)][s(299)])[s(358)][s(408)](t,e[s(402)]());const n=new Map,r=new Map;for(const[t,e]of this[s(427)])n[s(408)](t,at(e)),r[s(408)](t,this[s(475)][s(405)](t));this[s(304)](e,n,this[s(317)],r)}[et(247)](t){const e=et,i=Array[e(182)](this[e(384)][e(234)]());i[e(297)](((t,e)=>t-e)),i[e(409)]();for(const e of i)if(e<t)return e;return Number[e(450)]}[et(330)](t,e){const i=et,s=Array[i(182)](e[i(358)])[i(355)]((([e,s])=>[e,this[i(207)](s,t)]));t[i(358)]=new Map(s)}[et(169)](t){const e=et;for(const i of this[e(317)][e(484)]()){const s=i[e(211)](t),n=H.Range[e(341)](s);i[e(250)]=n[e(250)],i[e(424)]=n[e(424)]}}[et(325)](t,e){const i=et;if(i(454)!=t[i(323)]&&i(468)!=t[i(323)]){if(i(368)==t[i(323)]){const s=t[i(171)][i(333)][i(299)];this[i(427)][i(244)](s)||(this[i(427)][i(408)](s,ct(s,!0)),this[i(475)][i(408)](s,{}),e&&this[i(201)][i(408)](s,ct(s,!0)))}else{if(i(282)==t[i(323)]||i(183)==t[i(323)]||i(474)==t[i(323)])return void this[i(345)](t);i(237)==t[i(323)]&&this[i(318)](t)}if(i(237)!==t[i(323)]){const e=this[i(461)](t,this[i(427)]);e[i(176)](),this[i(169)](e)}if(e)switch(t[i(323)]){case i(368):this[i(278)](t);break;case i(431):case i(229):case i(263):this[i(331)](t);break;case i(354):this[i(418)](t);break;case i(288):this[i(442)](t)}}else this[i(224)](t,e)}[et(461)](t,e){const i=et,s=t[i(402)]();return s[i(195)]=t[i(195)],this[i(375)](s,e),s}[et(281)](t){const e=et;return t[e(355)]((t=>{const i=e,s=this[i(425)](t);return Number(t[i(456)][i(328)](s))}))}[et(187)](t,e){const i=et;if(t.is(i(316),i(370)))e[i(258)]({item:t,type:i(441)});else{t.is(i(316))&&e[i(258)]({item:t,type:i(306)});for(const s of t[i(294)]())this[i(187)](s,e);t.is(i(316))&&e[i(258)]({item:t,type:i(373)})}return e}[et(196)](){const t=et,e=new Map(this[t(419)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(429)][t(234)](),...this[t(427)][t(234)]()]);a[t(392)](t(481));for(const e of a){const i=this[t(427)][t(405)](e)||ct(e,!1),s=this[t(429)][t(405)](e)||ct(e,!1);i[t(266)]()||s[t(266)]()?(n[t(273)][e]=at(i),n[t(417)][e]=at(s),this[t(330)](n[t(417)][e],s),this[t(330)](n[t(273)][e],i),r[t(273)][e]=this[t(187)](this[t(201)][t(405)](e),[]),r[t(417)][e]=this[t(187)](this[t(326)][t(405)](e)||ct(e,!1),[])):a[t(392)](e)}for(const n of a){const o=r[t(273)][n];for(const n of o){const r=this[t(425)](n),o=n[t(456)][t(328)](r);i[t(392)](o),o>=this[t(352)]&&s[t(408)](o,e[t(405)](o))}}for(const n of a){const a=r[t(273)][n],c=this[t(281)](r[t(417)][n]);let u=0;for(const n of a){const r=this[t(425)](n),a=n[t(456)][t(328)](r);if(!s[t(244)](a)&&!o[t(244)](a))if(i[t(244)](a))u++;else{if(a!=c[u]){const s=e[t(405)](a)||e[t(405)](c[u]);for(;a!=c[u];)i[t(244)](c[u])||(o[t(408)](c[u],s),e[t(408)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(273)][e];for(const e of n){const n=this[t(425)](e),r=e[t(456)][t(328)](n);if(o[t(244)](r)){const e=o[t(405)](r);i[t(244)](r)||i[t(408)](r,{...e}),s[t(408)](r,{...e})}}}for(const e of i[t(234)]())e>=this[t(352)]&&i[t(392)](e);const c=new Map;for(const e of a){let n=r[t(273)][e];for(const e of n)if(e[t(456)].is(t(316),t(209))){const i=this[t(425)](e),n=e[t(456)][t(328)](i);if(s[t(244)](n)){const i=e[t(456)][t(444)][t(444)][t(328)](t(353)),r=c[t(405)](i)||new Set;r[t(295)](s[t(405)](n)[t(264)]),c[t(408)](i,r)}}n=r[t(417)][e];for(const e of n)if(e[t(456)].is(t(316),t(209))){const s=this[t(425)](e),n=e[t(456)][t(328)](s);if(i[t(244)](n)){const s=e[t(456)][t(444)][t(444)][t(328)](t(353)),r=c[t(405)](s)||new Set;r[t(295)](i[t(405)](n)[t(264)]),c[t(408)](s,r)}}for(const e of c[t(234)]())(s[t(244)](e)||i[t(244)](e))&&c[t(392)](e)}for(const e of a){const n=r[t(273)][e];let o=null,a=null;for(const e of n){const n=this[t(425)](e),r=e[t(456)][t(328)](n),u=c[t(405)](r);u&&t(306)==e[t(323)]&&(o=Array[t(182)](u)[0],a=e[t(456)][t(328)](t(421))),o&&(i[t(408)](r,{userId:o}),s[t(408)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(417)][e],a=n[t(273)][e];for(const{userId:e}of this[t(307)][t(484)]())null!==e&&l[t(295)](e);for(const{userId:e}of this[t(449)][t(484)]())null!==e&&l[t(295)](e);this[t(190)](a,r[t(273)][e],s,t(203),l),this[t(190)](o,r[t(417)][e],i,t(194),l),u[e]={insertions:this[t(395)](a),deletions:this[t(395)](o),attachChange:this[t(449)][t(405)](e)||null,attributesBefore:R(this[t(482)][t(405)](e))||{},attributesAfter:R(this[t(475)][t(405)](e))}}return{diffData:u,authorsIds:Array[t(182)](l)}}[et(189)](t){const e=et;for(const[,i]of t[e(358)]){const t=i[e(250)][e(314)]()[e(243)]((t=>e(209)==t[e(473)]));for(const i of t)1==i[e(385)]&&i[e(204)](0).is(e(316),e(300))&&i[e(204)](0)[e(362)](e(230),!0)}}[et(395)](t){const e=et;this[e(189)](t);const i=this[e(338)][e(414)][e(210)](t,{}),s=Array[e(182)](i[e(294)]())[e(355)]((t=>this[e(478)](t)));return JSON[e(165)](s)}[et(478)](t){const e=et;if(t.is(e(370)))return t[e(414)];{const i=t;return{type:Object[e(234)](st)[e(329)]((e=>t instanceof st[e])),name:i[e(473)],attributes:Array[e(182)](i[e(206)]()),children:Array[e(182)](i[e(294)]())[e(355)]((t=>this[e(478)](t)))}}}[et(190)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(338)][r(376)];for(let s=0;s<e[r(283)];s++){const n=this[r(425)](e[s]),c=e[s][r(456)][r(328)](n),h=i[r(405)](c),d=s==e[r(283)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(264)]!=o[r(264)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(264)],d=l(301)+s+":"+h+":"+c++,f=u[l(175)](i,a);t[l(358)][l(408)](d,f),null!==h&&n[l(295)](h)}}[et(425)](t){const e=et;switch(t[e(323)]){case e(306):return e(353);case e(373):return e(421);default:return e(430)}}[et(375)](t,e){const i=et;t[i(443)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(405)](n[i(333)][i(299)]);t[s]=this[i(467)](n,r)}if(n instanceof H.Range){const r=e[i(405)](n[i(333)][i(299)]);t[s]=this[i(207)](n,r)}i(333)===s&&(t[i(333)]=e[i(405)](t[i(333)][i(299)]))}}[et(207)](t,e){const i=et;return this[i(338)][i(376)][i(175)](this[i(467)](t[i(250)],e),this[i(467)](t[i(424)],e))}[et(467)](t,e){const i=et;return this[i(338)][i(376)][i(222)](e,t[i(276)],t[i(251)])}[et(278)](t){const e=et,i=this[e(201)][e(405)](t[e(171)][e(333)][e(299)]),s=this[e(467)](t[e(171)],i),n=null===t[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,r=s[e(444)],o=this[e(466)],a=[];for(const i of t[e(432)])if(i.is(e(316)))a[e(258)](this[e(188)](i));else for(let t=0;t<i[e(459)];t++)a[e(258)](new H.Element(e(370),{vid:this[e(466)]++}));const c=this[e(466)];for(let t=o;t<c;t++)this[e(419)][e(408)](t,{userId:n});r[e(186)](s[e(367)],a)}[et(331)](t){const e=et;(t=this[e(461)](t,this[e(201)]))[e(176)]();const i=null===t[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,s=t[e(177)](),n=s[e(444)],r=s[e(367)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(204)](e);r.is(a(316),a(370))?s[a(408)](r[a(328)](a(430)),{userId:i}):(s[a(408)](r[a(328)](a(353)),{userId:i}),t(s,r,0,r[a(385)]),s[a(408)](r[a(328)](a(421)),{userId:i}))}}(this[e(419)],n,r,r+t[e(410)])}[et(418)](t){const e=et,i=null===(t=this[e(461)](t,this[e(201)]))[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,s=t[e(167)][e(444)],n=t[e(322)][e(444)],r=s[e(328)](e(421)),o=n[e(328)](e(353));s[e(362)](e(421),n[e(328)](e(421))),n[e(362)](e(421),r),this[e(419)][e(408)](o,{userId:i}),this[e(419)][e(408)](r,{userId:i}),t[e(176)]()}[et(442)](t){const e=et,i=null===(t=this[e(461)](t,this[e(201)]))[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,s=t[e(386)],n=t[e(259)][e(444)];t[e(176)]();const r=n[e(328)](e(421)),o=t[e(212)][e(446)];if(s){const t=o[e(328)](e(421)),s=n[e(328)](e(421));n[e(362)](e(421),t),o[e(362)](e(421),s),this[e(419)][e(408)](n[e(328)](e(421)),{userId:i}),this[e(419)][e(408)](o[e(328)](e(353)),{userId:i})}else{const t=this[e(466)]++,s=this[e(466)]++;n[e(362)](e(421),t),o[e(362)](e(353),s),o[e(362)](e(421),r),this[e(419)][e(408)](t,{userId:i}),this[e(419)][e(408)](s,{userId:i})}}[et(318)](t){const e=et;if(!t[e(361)])return;const i=(t=this[e(461)](t,this[e(427)]))[e(245)]?t[e(245)][e(333)]:null,s=t[e(265)]?t[e(265)][e(333)]:null;i&&this[e(317)][e(392)](t[e(473)]),s&&this[e(317)][e(408)](t[e(473)],t[e(265)][e(402)]());const n=null===t[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,r=t[e(473)];if(!this[e(307)][e(244)](r))return void this[e(307)][e(408)](r,{range:t[e(245)],userId:n});const o=this[e(307)][e(405)](r),a=o[e(383)],c=t[e(265)];null==a&&null==c||a&&c&&a[e(485)](c)?this[e(307)][e(392)](t[e(473)]):o[e(264)]=n}[et(224)](t,e){const i=et;this[i(427)][i(244)](t[i(299)])?this[i(427)][i(405)](t[i(299)])[i(184)]=t[i(416)]:(this[i(427)][i(408)](t[i(299)],ct(t[i(299)],!0)),this[i(475)][i(408)](t[i(299)],{}),e&&this[i(201)][i(408)](t[i(299)],ct(t[i(299)],!0)));const s=null===t[i(195)]?null:t[i(195)]||this[i(338)][i(255)][i(405)](i(227)).me.id,n=this[i(449)][i(405)](t[i(299)]);n&&n[i(264)]===s?this[i(449)][i(392)](t[i(299)]):this[i(449)][i(408)](t[i(299)],{userId:s,isAttached:t[i(416)]})}[et(345)](t){const e=et,i=this[e(475)][e(405)](t[e(333)][e(299)]);null===t[e(434)]?delete i[t[e(342)]]:i[t[e(342)]]=t[e(434)]}}function at(t){const e=et,i=ct(t[e(299)],t[e(266)]());for(const s of t[e(294)]()){const t=s[e(413)](!0);i[e(382)](t)}return i}function ct(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(299)]=t,s[i(184)]=e,s[i(266)]=()=>s[i(184)],s}function ut(){const t=["42783bjYAHr","update","_loadRevisionData","default","delete","addRevisionData","createPositionAfter","_prepareViewToSave","invalid","requires","_isPendingUpdate","markerToData","useFillerType","revisionHistoryLicenseKeyValid","clone","getLatestVersion","revisionHistoryLicenseKeyExpired","get","diffData","setSource","set","reverse","howMany","getRevision","attributesAfter","_clone","data","marked","isAdd","deletions","_handleMergeOperation","_touched","getOperations","vid_end","clear","_findInsertionIndex","end","_getVidAttributeName","for","_diffRoots","createdAt","_baseRoots","vid","move","nodes","428181liqlDr","newValue","creatorId","_bufferedUpdates","getRange","_applyOperations","revisionHistoryLicenseKeyNotAllowed","featureNotAllowed","text","_handleSplitOperation","baseVersion","parent","createPositionBefore","nodeAfter","1276Fmbmkt","_isInit","_touchedRoots","NEGATIVE_INFINITY","getRootNames","_reset","version","addRoot","currentRevision","item","revision-start","getTime","offsetSize","roots","_cloneOperation","_continueCurrentRevision","afterInit","_createInitialRevision","dataDowncast","_revisionId","_fixPosition","detachRoot","fromVersion","revisionHistoryLicenseKeyEvaluationLimit","reInit","PENDING_ACTION_REVISION_HISTORY","name","changeRootAttribute","_diffRootsAttributes","PendingActions","770945cVwHhu","_getViewJson","_addPendingAction","revisionHistoryLicenseKeyUsageLimit","$graveyard","_baseRootsAttributes","creator","values","isEqual","RevisionHistory","trim","includes","stringify","ready","targetPosition","documentFragment","_transformMarkers","usageLimit","position","_removeRevisionMarkers","fromEntries","_lastTo","createRange","_execute","getMovedRangeStart","getRoot","sendBufferedUpdates","getUser","setRevisionData","from","removeRootAttribute","_isAttached","264bXOUMa","_insertChild","_generateTape","_makeIdsRoot","_processRootBeforeSave","_markChanges","revisionHistoryLicenseKeyInvalid","createRangeIn","_makeRevision","deletion","_authorId","_getState","upcast","locale","string","buildRevisionData","_idsRoots","createPositionAt","insertion","getChild","collaboration.channelId","getAttributes","_fixRange","_removeMetaData","tableCell","toView","getTransformedByOperation","insertionPosition","resolve","879nMBHhN","revisionHistoryLicenseKeyDomainLimit","RealTimeCollaborationClient","startsWith","getData","licenseKey","isReady","attachChange","createPositionFromPath","isEnabled","_handleRootOperation","dataToMarker","_replaceEditorDataWithRevisionData","Users","10OuIhKc","remove","keepParagraph","_initialRevisionId","getNodeByPath","children","keys","9770bIByby","isPremiumPlugin","marker","revisionHistoryLicenseKeyTrialLimit","source","domainLimit","forEach","_removePendingAction","filter","has","oldRange","_loadedStateData","_getPreviousFrom","getWalker","_pendingAction","start","stickiness","2172mjFyYo","finally","updateRevisions","plugins","parse","initial","push","splitPosition","revision-end","_makeModelFromViewString","Initial revision","reinsert","userId","newRange","isAttached","_getFromVersion","_lastFrom","pluginName","_update","toVersion","authors","insertions","adapter","_startingVersion","path","initialData","_handleInsertOperation","processor","data-revision-","_getBaseVids","addRootAttribute","length","editor-initial-data-replaced-with-revision-data","getCurrentRevisionId","getRevisionDocumentData","RevisionsRepository","split","createRevision","RevisionTracker","document","revision","842108cjsOaG","getChildren","add","6dubSlv","sort","size","rootName","paragraph","revision:","history","_bufferUpdate","_saveMetaData","then","elementStart","_touchedMarkers","trialLimit","_setConversion","authorsIds","_source","rootsAttributes","conversion","getAncestors","attributesBefore","element","_markers","_handleMarkerOperation","_calculateMetaData","_createCurrentRevision","saveRevision","sourcePosition","type","getRevisions","_handleOperation","_baseIdsRoots","_loadState","getAttribute","find","_copyMarkers","_handleMoveOperation","editing","root","previousPosition","define","revisionHistory.resumeUnsavedRevision","toModel","editor","config","repository","_createFromRanges","key","hasContent","init","_handleRootAttributeOperation","slice","isOfficialPlugin","bind","max","Empty document","268NpEfbz","_startingRevisionId","vid_start","merge","map","addRevision","_showLicenseError","markers","destroy","view","affectsData","_setAttribute","getOperation","some","attributes","_licenseKeyCheckInterval","offset","insert","getRevisionRootsAttributes","$text","expired","57393dwJlvu","elementEnd","getIndex","_fixOperation","model","_revisionDataBuilder","shift","loadState","_operations","evaluationLimit","_appendChild","range","_savedMetaData","childCount","graveyardPosition","toData"];return(ut=function(){return t})()}function lt(t,e,i){const s=et,n=s(373)==t[s(323)]?i[s(202)](t[s(456)],s(424)):i[s(445)](t[s(456)]);return i[s(222)](e,n[s(276)],n[s(251)])}function ht(t,e,i){const s=et,n=s(306)==t[s(323)]?i[s(202)](t[s(456)],0):i[s(394)](t[s(456)]);return i[s(222)](e,n[s(276)],n[s(251)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var Tt=i(959),xt={attributes:{"data-cke":!0}};xt.setAttributes=wt(),xt.insert=kt().bind(null,"head"),xt.domAPI=gt(),xt.insertStyleElement=It();pt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;const Nt=At;function At(t,e){const i=Mt();return(At=function(t,e){return i[t-=203]})(t,e)}!function(t){const e=At,i=t();for(;;)try{if(874383===parseInt(e(228))/1+parseInt(e(213))/2+-parseInt(e(234))/3+-parseInt(e(223))/4*(-parseInt(e(226))/5)+parseInt(e(225))/6+parseInt(e(238))/7+parseInt(e(203))/8*(-parseInt(e(208))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Rt extends ft.View{[Nt(215)];[Nt(211)];[Nt(232)];constructor(e,i){const s=Nt;super(e),this[s(215)]=new t.FocusTracker,this[s(211)]=new t.KeystrokeHandler,this[s(212)](s(206),""),this[s(232)]=this[s(222)](i),this[s(220)]({tag:s(216),attributes:{class:["ck",s(244),s(241)],tabindex:"-1"},children:[this[s(232)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(204)](){const t=Nt;super[t(204)](),(0,ft.submitHandler)({view:this}),this[t(215)][t(210)](this[t(232)][t(214)]),this[t(211)][t(231)](this[t(214)]);const e=e=>e[t(205)]();this[t(211)][t(212)](t(237),e),this[t(211)][t(212)](t(207),e),this[t(211)][t(212)](t(230),e),this[t(211)][t(212)](t(236),e)}[Nt(218)](){const t=Nt;this[t(232)][t(218)]()}get[Nt(239)](){const t=Nt;return this[t(232)][t(217)][t(214)][t(227)][t(219)]()}set[Nt(239)](t){const e=Nt;this[e(232)][e(217)][e(214)][e(227)]=t[e(219)]()}[Nt(221)](){const t=Nt;this[t(232)][t(217)][t(214)][t(227)]="",this[t(232)][t(233)]=null}[Nt(222)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(224)],ft.createLabeledInputText),s=i[e(217)];s[e(243)]({attributes:{maxlength:e(229)}});let n=J(this[e(224)],e(209));return!t&&(n+=" ("+J(this[e(224)],e(235))+")"),i[e(240)]=n,s.on(e(242),(()=>{const t=e;this[t(206)]=s[t(214)][t(227)][t(219)]()})),i}}function Mt(){const t=["688405RuajLJ","value","551689SUINim","220","arrowup","listenTo","revisionNameInputView","errorText","3805116upOvvN","optional","arrowdown","arrowright","6610548uhleOQ","revisionName","label","ck-responsive-form","input","extendTemplate","ck-revision-history-save-revision-form","8VlogCH","render","stopPropagation","revisionNameInputValue","arrowleft","31591611PJfTaS","Name of the revision","add","keystrokes","set","3310156kkZKrZ","element","focusTracker","form","fieldView","focus","trim","setTemplate","reset","_createRevisionNameInput","32fitKqw","locale","8402130WKvMmr"];return(Mt=function(){return t})()}const Vt=Dt;function Et(){const t=["RevisionHistoryUI","items","4627UAWLZp","Revision history","config","init","revisionHistory.requireRevisionName","hide","panelView","_showDialog","2525530cHFTfo","showRevisionViewerCallback","get","revisionNameInputView","31473gniplD","set","editor","_createSaveRevisionFormView","321WVajTI","show","componentFactory","248697quMbIW","reset","children","Open revision history","_saveRevisionFormView","isPremiumPlugin","menu","isOfficialPlugin","saveRevision","_registerMenuComponent","render","Accept","plugins","ck-button-action","6592312OlhVcU","6190BUcxmf","isReady","isEnabled","execute","submit","Cancel","role","revisionHistory","2818fTrDjv","RevisionTracker","The revision name cannot be empty.","menuBar:revisionHistory","view","editing","delegate","pluginName","locale","1361472vhunxm","isOpen","revisionSave","isReadOnly","revisionName","errorText","add","7960pmcbqq","addMany","requires","menuitem","Save current revision","focus","bind","Dialog","buttonView"];return(Et=function(){return t})()}function Dt(t,e){const i=Et();return(Dt=function(t,e){return i[t-=132]})(t,e)}!function(t){const e=Dt,i=t();for(;;)try{if(971082===parseInt(e(195))/1+parseInt(e(149))/2*(-parseInt(e(192))/3)+parseInt(e(140))/4+parseInt(e(184))/5+parseInt(e(158))/6+-parseInt(e(176))/7*(-parseInt(e(165))/8)+-parseInt(e(188))/9*(parseInt(e(141))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Et);class Ct extends W.Plugin{static get[Vt(156)](){return Vt(174)}static get[Vt(133)](){return!0}static get[Vt(200)](){return!0}static get[Vt(167)](){return[nt]}[Vt(199)];[Vt(179)](){const t=Vt,e=this[t(190)],i=e[t(138)][t(186)](t(150));e.ui[t(194)][t(164)](t(148),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(182)][n(197)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(171)](n(143)).to(i,n(142),i,n(143),e,n(161),((t,e,i)=>t&&e&&!i)),r[n(173)][n(189)]({icon:dt.IconHistory,label:J(s,n(177)),tooltip:!0}),u[n(189)]({label:J(s,n(169)),withText:!0,role:n(168)}),u[n(171)](n(143)).to(i,n(142),i,n(143),e,n(161),((t,e,i)=>t&&e&&!i)),u.on(n(144),(()=>this[n(183)]())),h[n(189)]({label:J(s,n(198)),withText:!0,role:n(168)}),h[n(171)](n(143)).to(i,n(142),e,n(161),((t,e)=>t&&!e)),h.on(n(144),(()=>{const t=n;e[t(178)][t(186)](t(148))[t(185)](),r[t(159)]=!1,e[t(154)][t(153)][t(170)]()})),c[n(197)][n(164)](u),l[n(197)][n(164)](h),a[n(147)]=n(132),a[n(175)][n(166)]([c,l]),o[n(164)](a),r})),e.ui[t(194)][t(164)](t(152),(()=>this[t(135)]()))}[Vt(135)](){const t=Vt,e=this[t(190)],i=e[t(157)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(173)][t(189)]({icon:dt.IconHistory,label:J(i,t(177))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(189)]({label:J(i,t(169))}),o[t(155)](t(144)).to(s),o.on(t(144),(()=>{this[t(183)]()})),r[t(197)][t(164)](o),n[t(175)][t(164)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(189)]({label:J(i,t(198))}),c[t(155)](t(144)).to(s),c.on(t(144),(()=>{const i=t;e[i(178)][i(186)](i(148))[i(185)]()})),a[t(197)][t(164)](c),n[t(175)][t(164)](a),s[t(182)][t(197)][t(164)](n),s}[Vt(183)](){const t=Vt,e=this[t(190)],i=e[t(157)],s=e[t(138)][t(186)](t(172)),n=e[t(138)][t(186)](t(150));function r(n){const r=t;e[r(178)][r(186)](r(180))&&""===n[r(162)]?n[r(187)][r(163)]=J(i,r(151)):(e[r(138)][r(186)](nt)[r(134)]({name:n[r(162)]}),s[r(181)]())}this[t(199)]||(this[t(191)](),this[t(199)].on(t(145),(()=>r(this[t(199)])))),this[t(199)][t(196)](),s[t(193)]({id:t(160),title:J(i,t(169)),isModal:!0,content:this[t(199)],actionButtons:[{label:J(e[t(157)],t(146)),withText:!0,onExecute:()=>s[t(181)]()},{label:J(e[t(157)],t(137)),class:t(139),withText:!0,onCreate(i){const s=t;i[s(171)](s(143)).to(n,s(142),n,s(143),e,s(161),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(199)])}]})}[Vt(191)](){const t=Vt,e=this[t(190)],i=e[t(157)];this[t(199)]=new Rt(i,e[t(178)][t(186)](t(180))),this[t(199)][t(136)]()}}function Ft(t,e){const i=Lt();return(Ft=function(t,e){return i[t-=101]})(t,e)}const jt=Ft;function Lt(){const t=["bindTemplate","data","_model","type","ck-annotation","setTemplate","name","90mFTfml","span","isSuggestion","add","ck-revision-change__label","ck-revision-change","7MapKCC","Suggested by","15AKDEYV","div","ck-revision-change__","set","Removed by","Added by","author","element","64440wqIoFG","11577467jOjmQv","1886212JNqSST","2021478FDdtuc","803909sgMaEy","focus","changeId","463200aoPtay","189TqTytS","9159816tqchMM"];return(Lt=function(){return t})()}!function(t){const e=Ft,i=t();for(;;)try{if(774202===-parseInt(e(119))/1+parseInt(e(117))/2+parseInt(e(123))/3*(-parseInt(e(115))/4)+parseInt(e(107))/5*(-parseInt(e(118))/6)+-parseInt(e(105))/7*(-parseInt(e(124))/8)+-parseInt(e(132))/9*(-parseInt(e(122))/10)+parseInt(e(116))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Pt extends ft.View{[jt(121)];[jt(127)];constructor(t,e){const i=jt;super(t),this[i(127)]=e,this[i(121)]=e.id;const s=this[i(125)],n=J(t,e[i(126)][i(101)]?i(106):i(102)==e[i(128)]?i(112):i(111));this[i(110)](i(128),e[i(128)]),this[i(130)]({tag:i(108),attributes:{class:[i(129),i(104),s.to(i(128),(t=>i(109)+t))],tabindex:-1},children:[{tag:i(133),children:[{tag:i(133),attributes:{class:[i(103)]},children:[{text:n}]},{text:" "+e[i(113)][i(131)]}]}]})}[jt(120)](){const t=jt;this[t(114)][t(120)]()}}var zt=Ut;function Ut(t,e){var i=Wt();return(Ut=function(t,e){return i[t-=181]})(t,e)}function Wt(){var t=["1373050SMTGTQ","toJSON","set","8DUoRZn","1259705OkVQYP","1xPOmaA","data","564cEQdLS","rootName","2268IaSJjr","4881JZyZiL","359361HfRwJR","6kLUWMx","710072MdQNPe","12880417naPSHC","createdAt","type","author"];return(Wt=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(236863===-parseInt(e(185))/1*(parseInt(e(193))/2)+-parseInt(e(190))/3*(parseInt(e(187))/4)+-parseInt(e(184))/5*(parseInt(e(192))/6)+parseInt(e(189))/7*(-parseInt(e(183))/8)+parseInt(e(191))/9+-parseInt(e(198))/10+parseInt(e(194))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class Zt extends((0,t.ObservableMixin)()){id;[zt(197)];[zt(196)];[zt(186)];[zt(188)];constructor(e){var i=zt;super(),this.id=e.id||(0,t.uid)(),this[i(197)]=e[i(197)],this[i(196)]=e[i(196)],this[i(186)]=e[i(186)]||{},this[i(188)]=e[i(188)],this[i(182)](i(195),e[i(195)])}[zt(181)](){var t=zt;return{id:this.id,authorId:this[t(197)].id,type:this[t(196)],data:this[t(186)],createdAt:this[t(195)]}}}const Ht=$t;function $t(t,e){const i=qt();return($t=function(t,e){return i[t-=237]})(t,e)}function qt(){const t=["add","oldRevisionId","449047DpBsAA","1244424vyybOe","18UMMdhn","newRevisionId","711208GlyAUf","2731281ReKcfM","14690490odmZTo","810204nWqRTe","_setChanges","220450orGpEJ","4AoTBEL","changes","10fkBEYv"];return(qt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(232970===-parseInt(e(241))/1+parseInt(e(250))/2+-parseInt(e(248))/3*(parseInt(e(251))/4)+parseInt(e(238))/5*(-parseInt(e(242))/6)+-parseInt(e(246))/7+parseInt(e(245))/8*(parseInt(e(243))/9)+parseInt(e(247))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Bt{[Ht(244)];[Ht(240)];[Ht(237)];constructor(e,i){const s=Ht;this[s(244)]=e,this[s(240)]=i,this[s(237)]=new t.Collection}[Ht(249)](t){const e=Ht;for(const i of t)this[e(237)][e(239)](i)}}var Yt=i(536),Jt={attributes:{"data-cke":!0}};Jt.setAttributes=wt(),Jt.insert=kt().bind(null,"head"),Jt.domAPI=gt(),Jt.insertStyleElement=It();pt()(Yt.A,Jt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Gt=Kt;function Kt(t,e){const i=ee();return(Kt=function(t,e){return i[t-=431]})(t,e)}!function(t){const e=Kt,i=t();for(;;)try{if(343524===parseInt(e(628))/1+parseInt(e(762))/2+parseInt(e(699))/3*(-parseInt(e(599))/4)+-parseInt(e(624))/5+parseInt(e(626))/6+-parseInt(e(689))/7*(parseInt(e(437))/8)+-parseInt(e(486))/9*(-parseInt(e(768))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);const Xt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class Qt extends W.Plugin{[Gt(676)];[Gt(715)];[Gt(541)];[Gt(728)];[Gt(675)];[Gt(472)];static get[Gt(536)](){return Gt(491)}static get[Gt(462)](){return!0}static get[Gt(554)](){return!0}static get[Gt(449)](){return[Z.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Gt;super(t),this[e(676)]=this[e(463)][e(544)][e(704)](e(561)),this[e(684)](e(495),null),this[e(684)](e(616),null),this[e(541)]=null,this[e(684)](e(668),null),this[e(684)](e(757),!1),this[e(684)](e(574),!0),this.on(e(516),((t,i,s)=>{const n=e;this[n(495)]=null,this[n(616)]=null,this[n(463)][n(645)][n(597)][n(567)]((t=>{const e=n;for(const i of this[e(463)][e(645)][e(597)][e(598)][e(507)])s?t[e(604)](e(468),i):t[e(737)](e(468),i)}))})),this[e(654)](e(526)).to(this,e(495),(t=>null!==t)),this[e(654)](e(697)).to(this,e(757),this,e(668),this,e(495),((t,i,s)=>t&&s?i[e(593)][e(591)](s):0)),this[e(654)](e(503)).to(this,e(757),this,e(668),((t,i)=>t?i[e(593)][e(473)]:0)),this[e(728)]=null,this[e(675)]=new Map,this[e(715)]=null,this[e(472)]=this[e(463)][e(544)][e(704)](ft.ContextualBalloon)}[Gt(589)](){const t=Gt,e=this[t(463)],i=new se(e,{direction:t(752)}),s=new se(e,{direction:t(725)});e[t(445)][t(448)](t(703),i),e[t(445)][t(448)](t(727),s),e[t(445)][t(448)](t(537),new ie(e)),this.on(t(552),(()=>{const e=t;i[e(563)](),s[e(563)]()})),this[t(644)](),this[t(730)](),e[t(492)](t(481)),e[t(544)][t(741)](t(572))&&e[t(544)][t(704)](t(572))[t(464)](t(481))}async[Gt(656)](t){const e=Gt;await this[e(518)](t);const i={};for(const s in t[e(682)]){if(t[e(682)][s][e(611)]&&!t[e(682)][s][e(611)][e(568)])continue;const n=this[e(639)](JSON[e(488)](t[e(682)][s][e(505)])),r=this[e(463)][e(645)][e(597)][e(598)],o=new H.ViewDocumentFragment(r,n[e(672)]((t=>this[e(467)](t))));this[e(463)][e(655)][e(479)][e(615)](e(489)),i[s]=this[e(463)][e(655)][e(479)][e(710)](o),this[e(463)][e(655)][e(479)][e(615)](e(605))}return i}async[Gt(700)](t){const e=Gt;await this[e(518)](t);const i={};for(const s in t[e(682)])t[e(682)][s][e(611)]&&!t[e(682)][s][e(611)][e(568)]||(i[s]=t[e(682)][s][e(673)]||{});return i}[Gt(639)](t){const e=Gt;return(t=t[e(693)]((t=>!t[e(713)]||e(576)!==t[e(713)]&&e(443)!==t[e(713)])))[e(711)]((t=>{const i=e;i(553)!=typeof t&&(t[i(671)]=this[i(639)](t[i(671)]),t[i(736)]=t[i(736)][i(693)]((t=>!t[0][i(686)](i(458)))))})),t}async[Gt(744)](t,e,i=!1){const s=Gt;if(!this[s(574)])return;const n=this[s(668)],r=this[s(676)],o=s(553)==typeof t?r[s(665)](t):t,a=s(553)==typeof e?r[s(665)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(668)]&&this[s(668)][s(714)]===c&&this[s(668)][s(642)]===u)return Promise[s(763)]();this[s(757)]=!1,this[s(616)]=null,this[s(495)]=null,this[s(668)]=new Bt(c,u);const l=this[s(531)](o,a,!0)[s(672)]((t=>this[s(518)](t)));return l[s(451)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(721)](l)[s(474)]((()=>{const t=s;if(!this[t(574)])return;this[t(669)]();const e=this[t(687)](c,u);for(const i of e[t(593)])this[t(675)][t(684)](i.id,i);this[t(463)][t(622)][t(701)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(463)][s(622)][s(598)][s(564)]())i[s(755)](t);for(const t of Object[s(581)](e[s(622)])){const n=i[s(496)](t);for(const r of Object[s(581)](e[s(736)][t]))i[s(614)](r,e[s(736)][t][r],n);i[s(556)](e[s(622)][t],n,0)}})),this[t(668)][t(444)](this[t(538)](e[t(593)])),this[t(757)]=!0}))[s(749)]((t=>{const e=s;console[e(702)](t),this[e(669)](),n&&(this[e(668)]=n),this[e(757)]=!0}))}[Gt(663)](t,e){const i=Gt,s=this[i(676)][i(619)](t);return s.on(i(681),((t,i,n)=>e(i,n,s))),this[i(676)][i(482)](s),s}[Gt(518)](t){const e=Gt;if(!t||t[e(682)])return Promise[e(763)]();{const i=this[e(463)][e(723)][e(704)](e(657));return this[e(715)][e(665)]({channelId:i,revisionId:t.id})[e(474)]((i=>{const s=e;t[s(681)]({diffData:i[s(682)]},!0)}))}}[Gt(669)](){const t=Gt;this[t(495)]=null,this[t(579)](),this[t(728)]&&this[t(728)][t(691)](),this[t(728)]=null,this[t(675)][t(587)](),this[t(463)][t(622)][t(701)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(463)][i(622)][i(598)][i(564)]())e[i(755)](t)}))}[Gt(538)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(463)][e(622)][e(598)][e(564)]()){const n=this[e(463)][e(645)][e(597)][e(465)](t);if(!n)continue;const r=n[e(742)]()[e(634)](0);r&&(i[e(451)](t),s[e(684)](t,r))}return i[e(580)](((t,i)=>{const n=e,r=s[n(704)](t),o=s[n(704)](i);return r.y-o.y||r.x-o.x})),(t=t[e(693)]((t=>i[e(680)](t[e(543)]))))[e(580)](((t,s)=>i[e(557)](t[e(543)])-i[e(557)](s[e(543)]))),t}[Gt(586)](t){const e=Gt,i=Array[e(718)](t[e(708)])[e(693)]((([t,i])=>t[e(686)](e(460))&&!i[e(549)])),s=Array[e(718)](this[e(463)][e(622)][e(595)](t)[e(528)]({singleCharacters:!0}));if(0!=i[e(473)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(733)](":");if(n[e(677)][e(612)](t[e(584)])&&i[e(754)](),(t[e(738)][e(612)](n[e(560)])||t[e(738)][e(692)](n[e(560)]))&&(e(499)==r?t[e(455)]={userId:o}:e(707)==r&&(t[e(436)]={userId:o})),0==i[e(473)])break}return s}[Gt(478)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(473)];s++)e(603)===t[s][e(511)]?(t[s][e(634)][e(662)]=s,t[s][e(634)][e(747)]=s):(e(487)===t[s][e(511)]?t[s][e(634)][e(662)]=s:e(607)===t[s][e(511)]&&(t[s][e(634)][e(747)]=s),i[e(684)](t[s].id,s));for(const s of i[e(524)]())e(487)===t[s][e(511)]?t[s][e(634)][e(747)]=i[e(704)](t[s][e(739)]):e(607)===t[s][e(511)]&&(t[s][e(634)][e(662)]=i[e(704)](t[s][e(739)]))}[Gt(534)](t){const e=Gt;for(let i=0;i<t[e(473)];i++){if(e(487)===t[i][e(511)])t[i][e(634)][e(662)]=i;else if(e(607)===t[i][e(511)]){t[i][e(634)][e(747)]=i;const s=t[i][e(634)][e(662)];t[s][e(739)]=t[i].id,t[i][e(739)]=t[s].id}else t[i][e(634)][e(662)]=i,t[i][e(634)][e(747)]=i,t[i][e(739)]=null;t[i][e(570)]||(t[i][e(570)]=[],t[i][e(748)]=[])}}[Gt(658)](t,e){const i=Gt,s=t[i(693)]((t=>!t[i(455)]));for(let t=0;t<e[i(473)];t++)e[t][i(455)]&&(s[t][i(455)]=e[t][i(455)])}[Gt(520)](t){const e=Gt,i=JSON[e(488)](t),s=this[e(463)][e(645)][e(597)][e(598)],n=new H.ViewDocumentFragment(s,i[e(672)]((t=>this[e(467)](t))));return this[e(463)][e(655)][e(726)](n)}[Gt(467)](t){const e=Gt,i=this[e(463)][e(645)][e(597)][e(598)];if(e(553)==typeof t)return new H.ViewText(i,t);{const s=t[e(671)][e(672)]((t=>this[e(467)](t)));return new(Xt[t[e(511)]]||H.ViewElement)(i,t[e(713)],t[e(736)],s)}}[Gt(687)](t,e=null){const i=Gt,s=this[i(676)][i(665)](t),n=e?this[i(676)][i(665)](e):null,r=this[i(531)](s,n),o=r[r[i(473)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(473)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(581)](e[i(682)]))if(e[i(682)][t][i(611)]){const s=e[i(682)][t][i(611)];s[i(568)]?(u[i(448)](t),l[i(741)](t)&&l[i(704)](t)[i(643)]==s[i(643)]?l[i(566)](t):l[i(684)](t,s)):l[i(741)](t)?(u[i(566)](t),l[i(566)](t)):(u[i(448)](t),l[i(684)](t,s))}else u[i(448)](t)}for(const t of u){const e=l[i(741)](t)&&!l[i(704)](t)[i(568)];let s=e?r[i(473)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(682)][t]){const s=e?o[i(682)][t][i(494)]:o[i(682)][t][i(673)];c[i(736)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(622)]={};for(const e of t[i(588)])a[i(684)](e.id,e);for(const e of u){const s=t[i(682)][e]?t[i(682)][e][i(505)]:"[]",n=t[i(682)][e]?t[i(682)][e][i(722)]:"[]";t[i(622)][e]={insertions:this[i(520)](s),deletions:this[i(520)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(718)](s[i(622)][t][i(505)][i(708)])[i(693)]((([t])=>!t[i(686)](i(460)))));let h=0;for(const o of r){const r=this[i(586)](o[i(622)][t][i(505)]);o==s?(e=r,n=e[i(473)],e[i(711)]((t=>{t.id=h++})),this[i(534)](e)):this[i(658)](e,r);const a=e[i(693)]((t=>!t[i(455)]))[i(672)]((t=>t.id));let c=0;const l=this[i(586)](o[i(622)][t][i(722)]);l[i(711)]((t=>{t[i(436)]?t.id=n++:t.id=a[c++]})),this[i(534)](l),this[i(500)](e,i(455)),this[i(500)](l,i(436)),o==s&&this[i(694)](e,u),e=this[i(513)](e,l),this[i(478)](e),this[i(500)](e,i(436))}e=e[i(693)]((t=>!(t[i(455)]&&t[i(436)])));const d=new Map(o[i(622)][t][i(722)][i(708)]),f=new Set(u[i(581)]());for(const t of d[i(581)]())f[i(566)](t);this[i(542)](e,f),this[i(621)](e),e=this[i(705)](e),e=this[i(575)](e),e=this[i(461)](e);const{root:m,changes:p}=this[i(641)](e,a,t);c[i(622)][t]=m;const v=l[i(704)](t);if(v){const e=a[i(704)](v[i(643)]),s=new Zt({author:e,type:v[i(568)]?i(448):i(706),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(613)](s),c[i(736)][t][i(683)]=s.id}c[i(593)]=c[i(593)][i(454)](p)}return c}[Gt(694)](t,e){const i=Gt;for(let s=0;s<t[i(473)];s++)for(const[n,r]of e)r[i(560)][i(612)](t[s][i(738)])&&t[s][i(570)][i(451)](n),r[i(677)][i(612)](t[s][i(584)])&&t[s][i(748)][i(451)](n)}[Gt(513)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(473)]||r<e[i(473)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(451)](o);else if(a[i(436)]&&o[i(455)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(670)](t,n,e,r);s=s[i(454)](o),n=a,r=c}else a[i(436)]?(r++,s[i(451)](a)):(n++,s[i(451)](o))}return s}[Gt(542)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(473)];o++){for(let r=0;r<t[o][i(570)][i(473)];r++){const a=t[o][i(570)][r];if(!e[i(741)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(515)!=c||i(499)!=u&&i(707)!=u||(s[i(613)]({type:u,name:a,userId:l}),t[o][i(570)][i(760)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(748)][i(473)];r++){const a=t[o][i(748)][r];if(!e[i(741)](a))continue;const{group:c,type:u}=n(a);if(i(515)!=c||i(499)!=u&&i(707)!=u)continue;t[o][i(748)][i(760)](r,1),r--;const l=s[i(731)]((t=>t[i(713)]==a));l>-1&&s[i(760)](l,1)}}function n(t){const e=i,s=t[e(733)](":");return{group:s[0],type:s[1],subType:s[e(473)]>=5?s[2]:null,id:s[e(473)]<5?s[2]:s[3],authorId:s[e(473)]<5?s[3]:s[4],markerCount:6==s[e(473)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(473)];i++){if(t[e(455)]&&e(499)==s[i][e(511)])return t[e(646)]=s[i],void delete t[e(455)];if(!t[e(455)]&&!t[e(436)]&&e(707)==s[i][e(511)])return void(t[e(438)]=s[i])}}}[Gt(500)](t,e){const i=Gt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(684)](o.id,s);for(let s=0;s<t[i(473)];s++){if(i(436)==e&&t[s][i(455)]||i(455)==e&&t[s][i(436)])continue;if(i(603)==t[s][i(511)]){t[s][i(633)]=0;continue}const n=r[i(704)](t[s][i(739)]),o=r[i(704)](t[s].id);t[s][i(633)]=n-o}}[Gt(531)](t,e,i=!1){const s=Gt,n=[];let r=this[s(676)][s(591)](t),o=this[s(676)][s(591)](e);for(-1==o&&(o=this[s(676)][s(504)][s(473)],i=!1);r<o;)n[s(451)](this[s(676)][s(665)](r)),r++;return i&&n[s(451)](this[s(676)][s(665)](r)),n}[Gt(670)](t,e,i,s){const n=Gt,r=this[n(463)][n(622)][n(483)];let o=e;for(;t[o]&&t[o][n(455)];)o++;let a=s;for(;i[a]&&i[a][n(436)];)a++;u(t,e,o),u(i,s,a);const c=i[n(573)](s,a)[n(454)](t[n(573)](e,o));return c[n(580)](((t,e)=>t[n(767)]!=e[n(767)]?t[n(767)]-e[n(767)]:t[n(498)]!=e[n(498)]?t[n(498)]-e[n(498)]:t[n(633)]!=e[n(633)]?e[n(633)]-t[n(633)]:!!t[n(455)]!=!!e[n(455)]?-1==t[n(767)]||0==t[n(767)]?t[n(455)]?-1:1:t[n(455)]?1:-1:t[n(688)]-e[n(688)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(592)],c=!0;for(let n=e;n<i;n++)if(r[s(618)](t[n][s(634)])||(c=!1),t[n][s(634)][s(662)]<e&&(o=n),t[n][s(634)][s(747)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(767)]=n<=o?-1:n<a?0:1,t[n][s(688)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(633)]?t[i][s(498)]=u:(u++,t[i][s(498)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(767)]&&(t[n][s(498)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(633)]?t[e][s(498)]=u:(u--,t[e][s(498)]=u,u--)}}[Gt(621)](t){const e=Gt,i=new Map,s=this[e(463)][e(622)][e(483)];for(let n=1;n<t[e(473)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(603)==c[e(511)])continue;if(c[e(511)]!=u[e(511)])continue;if(!s[e(577)](u[e(634)])||s[e(594)](u[e(634)]))continue;if(!s[e(577)](c[e(634)])||s[e(594)](c[e(634)]))continue;if((t[n][e(455)]||t[n][e(646)])&&t[n-1][e(436)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(436)]||!t[n-1][e(455)]&&!t[n-1][e(646)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(498)]==o[e(498)],h=Math[e(627)](r[e(498)])<Math[e(627)](o[e(498)])&&0==o[e(633)];(l||h)&&(i[e(684)](o.id,r.id),t[e(760)](a,1),n--,r[e(455)]=!1)}for(let s=0;s<t[e(473)];s++)i[e(741)](t[s][e(739)])&&(t[s][e(739)]=i[e(704)](t[s][e(739)]))}[Gt(705)](t){const e=Gt,i=new Set(t[e(672)]((t=>t.id)));for(let s=0;s<t[e(473)];s++)i[e(741)](t[s][e(739)])||0==t[s][e(633)]||(t[s][e(679)]=!0);return t[e(693)]((t=>!t[e(679)]))}[Gt(575)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(473)];s++){if(i[e(741)](t[s].id)&&t[s][e(436)]&&(t[s][e(679)]=!0),t[s][e(679)])continue;if(0==t[s][e(633)])continue;if(e(487)!=t[s][e(511)])continue;if(null==t[s][e(739)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(739)];)e(487)==t[n][e(511)]?r++:e(607)==t[n][e(511)]&&r--,n++;if(0!=r)if(t[s][e(436)])t[s][e(679)]=!0;else for(;n!=s;)t[n][e(436)]&&0!=t[n][e(633)]&&(t[n][e(679)]=!0,i[e(448)](t[n][e(739)])),n--}return t[e(693)]((t=>!t[e(679)]))}[Gt(461)](t){const e=Gt,i=this[e(463)][e(622)][e(483)];for(let s=0;s<t[e(473)];s++){if(!(t[s][e(455)]||t[s][e(646)]||t[s][e(436)]||t[s][e(438)]))continue;if(0==t[s][e(633)])continue;const n=t[s][e(634)];i[e(577)](n)||i[e(594)](n)||(t[s][e(455)]&&delete t[s][e(455)],t[s][e(646)]&&delete t[s][e(646)],t[s][e(438)]&&delete t[s][e(438)],t[s][e(436)]&&(t[s][e(679)]=!0))}return t[e(693)]((t=>!t[e(679)]))}[Gt(641)](t,e,i){const s=Gt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(463)][s(622)],c=a[s(483)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(473)];e++)if(s(487)===t[e][s(511)]){t[e][s(738)]=a[s(709)](n,f);const i=new H.Element(t[e][s(634)][s(713)],t[e][s(634)][s(753)]());u[0][s(765)](i),f[s(451)](0),u[s(613)](i),t[e][s(584)]=a[s(709)](n,f)}else s(607)===t[e][s(511)]?(u[s(754)](),t[e][s(738)]=a[s(709)](n,f),f[s(517)](),f[f[s(473)]-1]++,t[e][s(584)]=a[s(709)](n,f)):(t[e][s(738)]=a[s(709)](n,f),d?d[s(550)]+=t[e][s(634)][s(655)]:d=new H.Text(t[e][s(634)][s(655)],t[e][s(634)][s(753)]()),t[e+1]&&s(603)===t[e+1][s(511)]&&v(d,t[e+1][s(634)])||(u[0][s(765)](d),d=null),f[f[s(473)]-1]+=t[e][s(634)][s(522)],t[e][s(584)]=a[s(709)](n,f));for(let e=0;e<t[s(473)];e++){const i=t[e][s(738)],n=t[e][s(584)];for(const n of t[e][s(570)])o[s(684)](n,{start:i,end:null});m(s(438),e,i,n),m(s(646),e,i,n),m(s(436),e,i,n),m(s(455),e,i,n);for(const i of t[e][s(748)])o[s(704)](i)[s(677)]=n}for(const[t,e]of o){const i=this[s(463)][s(622)][s(759)](e[s(560)],e[s(677)]);n[s(708)][s(684)](t,i)}return r[s(580)](((t,e)=>{const i=s,r=n[i(708)][i(704)](i(460)+t.id),o=n[i(708)][i(704)](i(460)+e.id);return r[i(560)][i(529)](o[i(560)])?-1:r[i(560)][i(692)](o[i(560)])?1:r[i(677)][i(529)](o[i(677)])?-1:r[i(677)][i(692)](o[i(677)])?1:i(448)===t[i(511)]?-1:1})),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(643)]:null,d=i===t[o(473)]-1,f=h[e][0],m=c[o(745)](t[i][o(634)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(677)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(643)]!==u&&(l[e][o(677)]=n,f&&f[o(643)]===l[e][o(643)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(487)!==t[i][o(511)]||f&&f[o(643)]===u||h[e][o(613)]({userId:u,object:t[i][o(634)],change:l[e]}),o(607)===t[i][o(511)]&&f&&f[o(555)]===t[i][o(634)]&&(h[e][o(754)](),l[e]=f[o(567)])),l[e]&&d&&(l[e][o(677)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(634)],f=a[h(483)][h(577)](d)&&!a[h(483)][h(594)](d),m=t[h(433)]==o[h(735)]&&o[h(434)];if(f&&m)return;const p=a[h(759)](t,o),v=e[h(704)](u),g=new Zt({author:v,type:h(455)==l||h(646)==l?h(448):h(706),data:{isSuggestion:h(646)==l||h(438)==l},createdAt:new Date,rootName:i});r[h(451)](g),n[h(708)][h(684)](h(460)+g.id,p)}function v(t,e){const i=s,n=t[i(753)](),r=e[i(753)]();for(const t of n){if(t[1]!==e[i(695)](t[0]))return!1;r[i(632)]()}return r[i(632)]()[i(447)]}}[Gt(644)](){const t=Gt;this[t(463)][t(452)][t(432)](t(766))[t(650)]({view:t(756)}),this[t(463)][t(452)][t(432)](t(477))[t(484)]({model:t(756),view:e=>{const i=t,s=e[i(431)][i(733)](":")[1],n=this[i(559)](s);if(!n)return null;const r=i(448)==n[i(511)]?i(499):i(707),o=[i(629),i(510)+r];return n[i(655)][i(651)]&&o[i(451)](i(510)+r+i(509)),this[i(495)]==n&&o[i(451)](i(743)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(463)][t(452)][t(432)](t(766))[t(448)]((e=>{const i=t;e.on(i(469),((t,e,s)=>{const n=i,r=e[n(480)][n(602)](0);if(!r||!r.is(n(442),n(502)))return;if(!s[n(758)][n(696)](r,{attributes:[n(716),n(690)]}))return;const o=e[n(583)][n(560)][n(433)];s[n(649)][n(614)](n(716),r[n(695)](n(716)),o),s[n(649)][n(614)](n(690),r[n(695)](n(690)),o)}),{priority:i(456)})})),this[t(463)][t(452)][t(432)](t(766))[t(448)]((e=>{const i=t;e.on(i(442),((t,e,s)=>{const n=i;if(!s[n(758)][n(696)](e[n(480)],{attributes:[n(716),n(690)]}))return;if(e[n(583)][n(549)])return;const r=e[n(583)][n(560)][n(433)];r[n(546)](n(716))||r[n(546)](n(441))||(s[n(649)][n(614)](n(716),e[n(480)][n(695)](n(716)),r),s[n(649)][n(614)](n(690),e[n(480)][n(695)](n(690)),r))}),{priority:i(456)})})),this[t(463)][t(452)][t(432)](t(766))[t(578)]({view:{name:t(617),attributes:{vid:!0}},model:{key:t(441),value:e=>e[t(695)](t(441))}}),this[t(463)][t(622)][t(483)].on(t(729),((e,[,i])=>{const s=t;[s(716),s(690),s(441)][s(680)](i)&&(e[s(636)]=!0,e[s(630)]())}),{priority:t(746)}),this[t(463)][t(452)][t(432)](t(674))[t(448)]((e=>{const i=t;e.on(i(664),((t,e,s)=>{const n=i;if(" "!=e[n(634)][n(655)]||e[n(634)][n(735)][n(501)]>1)return;if(!s[n(758)][n(696)](e[n(634)],t[n(713)]))return;const r=s[n(649)],o=s[n(601)][n(485)](e[n(608)]);r[n(508)](o,r[n(740)](n(617)))}))})),this[t(463)][t(452)][t(432)](t(674))[t(525)]({model:t(756)}),this[t(463)][t(645)][t(548)].on(t(659),function(e){const i=t,s=e[i(544)][i(704)](i(491));return(t,n,r)=>{const o=i,a=n[o(431)][o(733)](":")[1],c=s[o(559)](a);if(!c)return null;const u=o(448)==c[o(511)]?o(733):o(551);if(!r[o(758)][o(547)](n[o(562)],t[o(713)]))return;const l=n[o(562)][o(528)](),h=n[o(562)][o(560)],d=e[o(622)][o(483)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(634)];p=p||d[o(558)](e);const i=r[o(601)][o(600)](e);if(i&&i[o(446)](o(660)))return;o(607)==t[o(511)]&&d[o(577)](e)&&!d[o(594)](e)&&(e[o(514)]||h[o(532)]?f&&f[o(735)]==e||(f=e,g(t[o(738)]),v=!0):m=m||t[o(738)])}function g(t){const e=o,i=r[e(649)][e(527)](e(617),{class:e(510)+u}),a=r[e(601)][e(750)](t);c[e(655)][e(651)]&&r[e(649)][e(737)](e(510)+u+e(509),i),s[e(495)]==c&&r[e(649)][e(737)](e(743),i),r[e(649)][e(556)](a,i),r[e(601)][e(625)](i,n[e(431)])}p||v||!m||g(m)}}(this[t(463)]),{priority:t(497)}),this[t(463)][t(645)][t(548)].on(t(540),((e,i,s)=>{const n=t,r=s[n(601)][n(493)](i[n(431)]);if(r)for(const t of r)(t[n(585)](n(720))||t[n(585)](n(453)))&&(s[n(601)][n(647)](t,i[n(431)]),s[n(649)][n(706)](t))}),{priority:t(497)}),this[t(463)][t(645)][t(548)].on(t(659),((e,i,s)=>{const n=t,r=i[n(431)][n(733)](":")[1],o=this[n(559)](r);if(!o)return null;const a=n(448)==o[n(511)]?n(733):n(551);if(s[n(758)][n(547)](i[n(562)],e[n(713)]))for(const t of i[n(562)][n(539)]()){if(!t.is(n(442),n(661)))continue;const e=s[n(649)][n(527)](n(617),{class:n(510)+a}),r=s[n(601)][n(750)](this[n(463)][n(622)][n(590)](t));o[n(655)][n(651)]&&s[n(649)][n(737)](n(510)+a+n(509),e),this[n(495)]==o&&s[n(649)][n(737)](n(743),e),s[n(649)][n(556)](r,e),s[n(601)][n(625)](e,i[n(431)])}}),{priority:t(497)}),this[t(463)][t(622)][t(598)].on(t(567),(()=>{const e=t;this[e(463)][e(645)][e(597)][e(567)]((t=>{const i=e;for(const e of this[i(463)][i(622)][i(598)][i(564)]()){const s=this[i(463)][i(622)][i(598)][i(459)](e),n=this[i(463)][i(645)][i(597)][i(598)][i(459)](e);if(n){const e=s[i(695)](i(683));if(t[i(623)](i(533),n),t[i(604)](i(678),n),t[i(604)](i(466),n),t[i(604)](i(519),n),e){const s=this[i(559)](e);if(!s)return null;t[i(614)](i(533),e,n),t[i(737)](i(475)+s[i(511)],n),this[i(495)]==s&&t[i(737)](i(519),n)}}}}))})),this[t(463)][t(452)][t(432)](t(766))[t(650)]({view:t(648),model:e=>t(470)+e,converterPriority:t(746)}),this[t(463)][t(452)][t(432)](t(766))[t(650)]({view:t(717),model:e=>t(685)+e,converterPriority:t(746)}),this[t(463)][t(452)][t(432)](t(674))[t(525)]({model:t(515),view:e=>({name:t(545)+e,group:t(515)}),converterPriority:t(746)}),this[t(463)][t(452)][t(432)](t(477))[t(484)]({model:t(515),view:e=>{const i=t,s=e[i(431)][i(733)](":")[1];return i(499)!=s&&i(707)!=s?null:{classes:[i(631),i(732)+s]}}}),this[t(463)][t(645)][t(548)].on(t(653),te(this[t(463)],t(551)),{priority:t(497)}),this[t(463)][t(645)][t(548)].on(t(652),te(this[t(463)],t(733)),{priority:t(497)}),this[t(463)][t(645)][t(548)].on(t(712),((e,i,s)=>{const n=t,r=s[n(601)][n(493)](i[n(431)]);if(r)for(const t of r)t.is(n(530))&&(s[n(601)][n(647)](t,i[n(431)]),s[n(649)][n(706)](t))}),{priority:t(497)})}[Gt(559)](t){const e=Gt;return this[e(675)][e(704)](t)}[Gt(761)](t){const e=Gt;return this[e(728)]&&this[e(728)][e(691)](),this[e(728)]=new Pt(this[e(463)][e(523)],t),this[e(728)]}[Gt(730)](){const t=Gt;this[t(463)][t(622)][t(598)][t(457)][t(582)](t(756)),this.on(t(506),((e,i,s,n)=>{const r=t;n&&this[r(472)][r(706)](n),s&&(this[r(472)][r(448)]({view:s,stackId:r(450),position:{target:()=>{const t=r,e=this[t(463)][t(645)],i=this[t(559)](s[t(667)]);let n;if(i[t(655)][t(734)]){const s=e[t(597)][t(465)](i[t(543)]);n=Array[t(718)](s[t(742)]())}else{const i=this[t(463)][t(622)][t(708)][t(704)](t(460)+s[t(667)]);n=Array[t(718)](e[t(601)][t(493)](i[t(713)]))[t(672)]((i=>e[t(597)][t(666)][t(535)](i)))[t(672)]((e=>Array[t(718)](e[t(742)]())))[t(435)]()}return this[t(541)]&&n[t(751)]((e=>e[t(719)]-3<=this[t(541)].y&&e[t(609)]+3>=this[t(541)].y&&e[t(571)]-3<=this[t(541)].x&&e[t(724)]+3>=this[t(541)].x))||n[0]}}}),this[r(472)][r(476)](r(450)))})),this.on(t(698),((e,i,s,n)=>{const r=t;this[r(616)]=s?this[r(761)](s):null,this[r(463)][r(622)][r(567)]((()=>{const t=r,e=this[t(463)][t(645)];n&&(n[t(655)][t(734)]?e[t(597)][t(567)]((i=>{const s=t;i[s(604)](s(519),e[s(597)][s(598)][s(459)](n[s(543)]))})):e[t(637)](t(460)+n.id)),s&&(s[t(655)][t(734)]?e[t(597)][t(567)]((i=>{const n=t;i[n(737)](n(519),e[n(597)][n(598)][n(459)](s[n(543)]))})):e[t(637)](t(460)+s.id))}))})),this[t(640)](this[t(463)][t(645)][t(597)][t(598)],t(606),((e,i)=>{const s=t;if(this[s(495)])return;const n=this[s(565)](i[s(764)]),r=this[s(675)][s(704)](n);r?(this[s(541)]={x:i[s(471)].x,y:i[s(471)].y},this[s(616)]=this[s(761)](r)):(this[s(541)]=null,this[s(616)]=null)})),this[t(640)](this[t(463)][t(645)][t(597)][t(598)],t(638),((e,i)=>{const s=t,n=this[s(565)](i[s(764)]),r=this[s(675)][s(704)](n);r?(this[s(541)]={x:i[s(471)].x,y:i[s(471)].y},r===this[s(495)]?this[s(472)][s(490)]():this[s(495)]=r):(this[s(541)]=null,this[s(495)]=null)}))}[Gt(565)](t){const e=Gt;do{const i=t[e(695)](e(533));if(i)return i;t=t[e(735)]}while(t);return null}[Gt(579)](){const t=Gt;this[t(463)][t(622)][t(567)]((e=>{const i=t;for(const t of this[i(463)][i(622)][i(708)])e[i(610)](t)}))}}function te(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(758)][r(547)](s[r(562)],i[r(713)]))return;const o=s[r(562)][r(528)](),a=s[r(562)][r(560)],c=t[r(622)][r(483)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(634)];h=h||c[r(558)](e);const i=n[r(601)][r(600)](e);if(i&&i[r(446)](r(660)))return;r(607)==t[r(511)]&&c[r(577)](e)&&!c[r(594)](e)&&(e[r(514)]||a[r(532)]?u&&u[r(735)]==e||(u=e,f(t[r(738)]),d=!0):l=l||t[r(738)])}function f(t){const i=r,o=n[i(601)][i(750)](t),a=n[i(649)][i(527)](i(617),{class:i(732)+e});n[i(649)][i(556)](o,a),n[i(601)][i(625)](a,s[i(431)])}h||d||!l||f(l)}}function ee(){const t=["pairId","createAttributeElement","has","getClientRects","ck-suggestion-marker--active","compare","isObject","highest","endIndex","markersEnd","catch","toViewPosition","find","backward","getAttributes","shift","detachRoot","revision","isReady","consumable","createRange","splice","_getViewForChange","718576DjkBnz","resolve","target","_appendChild","upcast","side","10iwJogx","markerName","for","nodeAfter","isAtStart","flat","isRemoved","23192mytXQG","isRemoveSuggestion","_step","restoreRevisionCallback","vid","element","revision-end","_setChanges","commands","getCustomProperty","done","add","requires","revisionHistoryLabel","push","conversion","ck-suggestion-marker-merge","concat","isAdded","low","selection","data-revision-","getRoot","revision:","_removeUnsupportedChanges","isOfficialPlugin","editor","forceDisabled","getDomRoot","ck-revision-history-root-remove","_getViewObj","ck-editor__editable__overlay","element:pre","revision-comment:","domEvent","_balloon","length","then","ck-revision-history-root-","showStack","editingDowncast","_refreshStartEndIndex","processor","viewItem","revision-viewer","addRevision","schema","markerToHighlight","toViewRange","2612943ZVrSvt","elementStart","parse","marked","updatePosition","RevisionViewer","enableReadOnlyMode","markerNameToElements","attributesBefore","activeChange","addRoot","high","level","insertion","_setDistance","maxOffset","code","numberOfChanges","_revisions","insertions","change:activeView","roots","wrap","-new","ck-suggestion-marker-","type","change:isReady","_joinTapes","nextSibling","revision-suggestion","change:isEnabled","pop","loadRevisionData","ck-revision-history-root--active","_makeModelFromViewString","first","offsetSize","locale","values","markerToData","isNavigationMode","createUIElement","getWalker","isBefore","uiElement","_getRevisionsRange","isAtEnd","data-change-id","_processTape","mapViewToDom","pluginName","restoreRevision","_sortAndFilterDiffChanges","getItems","removeMarker:revision","_activeViewTarget","_markSuggestions","rootName","plugins","suggestion:","hasAttribute","test","downcastDispatcher","isCollapsed","_data","merge","change:numberOfChanges","string","isPremiumPlugin","object","insert","indexOf","isContent","_getChangeFromId","start","RevisionsRepository","markerRange","refresh","getRootNames","_findChangeIdFromDomTarget","delete","change","isAttached","revisionHistory","markersStart","left","WidgetToolbarRepository","slice","isEnabled","_markMismatchedRemovedTags","revision-start","isBlock","elementToAttribute","_cleanMarkers","sort","keys","observeMarkers","modelRange","nextPosition","hasClass","_makeTape","clear","authors","init","createPositionBefore","getIndex","POSITIVE_INFINITY","changes","isLimit","createRangeIn","execute","view","document","4FQabVa","toViewElement","mapper","getChild","text","removeClass","default","mouseover","elementEnd","range","bottom","removeMarker","attachChange","isEqual","unshift","setAttribute","useFillerType","activeView","span","isInline","createRevision","getLaterVisibleRevision","_fixObsoleteTags","model","removeAttribute","1746765nxiQvD","bindElementToMarker","3081762SILPfe","abs","624101uveeHP","ck-suggestion-marker","stop","ck-suggestion-preview-marker","next","distance","item","affectsData","return","reconvertMarker","mousedown","_removeRevisionMarkers","listenTo","_makeModelFromTape","oldRevisionId","userId","_setConversion","editing","isAddSuggestion","unbindElementFromMarkerName","comment","writer","dataToMarker","isSuggestion","addMarker:revision-suggestion:insertion","addMarker:revision-suggestion:deletion","bind","data","getRevisionData","collaboration.channelId","_markInsertions","addMarker:revision","addHighlight","softBreak","startIndex","addRevisionData","attribute:vid","getRevision","domConverter","changeId","diff","_cleanUp","_threeWayMerge","children","map","attributesAfter","dataDowncast","_changeIdToChange","repository","end","ck-revision-history-root-add","isIncorrect","includes","_update","diffData","revisionHistoryAttachChange","set","revision-suggestion:","startsWith","_getDiff","index","1379hbwmGn","vid_end","destroy","isAfter","filter","_markMarkers","getAttribute","consume","currentChangeNumber","change:activeChange","1570089ctqzhe","getRevisionRootsAttributes","enqueueChange","error","showPreviousChange","get","_removeMissingPairs","remove","deletion","markers","createPositionFromPath","toData","forEach","removeMarker:revision-suggestion","name","newRevisionId","adapter","vid_start","suggestion","from","top","ck-suggestion-marker-split","all","deletions","config","right","forward","toModel","showNextChange","_changeView","checkAttribute","_initInteractions","findIndex","ck-suggestion-preview-marker-","split","isOnRoot","parent","attributes","addClass","previousPosition"];return(ee=function(){return t})()}class ie extends W.Command{constructor(t){const e=Gt;super(t);const i=t[e(544)][e(704)](Qt);this[e(635)]=!1,this[e(640)](i,e(512),(()=>this[e(563)]())),this[e(640)](i,e(516),(()=>this[e(563)]()))}[Gt(596)](){const t=Gt,e=this[t(463)],i=e[t(544)][t(704)](Qt),s=i[t(757)]?i[t(668)][t(714)]:null;e[t(723)][t(704)](t(569))[t(440)](s)}[Gt(563)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(463)][t(544)][t(704)](Qt),r=n&&s[t(620)](n[t(714)]);this[t(574)]=e&&i&&Boolean(r)}}class se extends W.Command{[Gt(439)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(544)][i(704)](Qt);this[i(635)]=!1,this[i(439)]=i(725)===e?1:-1,this[i(640)](s,i(512),(()=>this[i(563)]())),this[i(640)](s,i(516),(()=>this[i(563)]())),this[i(640)](s,i(698),(()=>this[i(563)]()))}[Gt(596)](){const e=Gt,i=this[e(463)],s=i[e(544)][e(704)](Qt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(495)]=n?s[e(668)][e(593)][e(704)](r+this[e(439)]):s[e(668)][e(593)][e(521)],s[e(495)][e(655)][e(734)])o=i[e(645)][e(597)][e(465)](s[e(495)][e(543)]);else{const t=i[e(622)][e(708)][e(704)](e(460)+s[e(495)].id);o=(0,Z.getMarkerDomElement)(i[e(645)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(563)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(463)][t(544)][t(704)](Qt);this[t(574)]=!!(r&&n&&s)&&(!e||(1===this[t(439)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(t,e){const i=ae();return(oe=function(t,e){return i[t-=219]})(t,e)}function ae(){const t=["currentChangeNumber","backward","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui","515FekoMp","EDIT_X_OF_Y_REVISIONS","div","ck-revision-history-ui__changes-navigation","317936EJonlP","ck-revision-history-ui__changes-navigation__navigation","X_OF_Y_CHANGES","2980690pshaPM","bindTemplate","span","NUMBER_OF_CHANGES","ck-hidden","164727NhEdDC","ck-revision-history-ui__changes-navigation__wrapper","setTemplate","set","3GKYeAt","isBackwardNavigationEnabled","133356yAwZVh","102226cnYJNx","_statusText","527486TDTAXn","isForwardNavigationEnabled","Show previous change","No changes","_isStatusLabelVisible","63LrIpbL","Show next change","forward","Loading...","fire","execute","isNavigationMode","Total","isReady","numberOfChanges","bind","7806vgSUyZ","isEnabled"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(220875===-parseInt(e(251))/1+parseInt(e(253))/2+parseInt(e(248))/3*(-parseInt(e(250))/4)+parseInt(e(232))/5*(parseInt(e(226))/6)+-parseInt(e(258))/7*(parseInt(e(236))/8)+parseInt(e(244))/9+parseInt(e(239))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends ft.View{constructor(t){const e=oe;super(t);const i=this[e(240)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(247)](e(221),!1),this[e(247)](e(223),!1),this[e(247)](e(228),0),this[e(247)](e(224),0),this[e(247)](e(254),!1),this[e(247)](e(249),!1),this[e(225)](e(257)).to(this,e(223),this,e(224),((t,e)=>t&&e>0)),this[e(225)](e(252)).to(this,e(223),this,e(228),this,e(224),this,e(221),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(261));if(!n)return J(t,o(256));const a=J(t,o(242),n);return r?J(t,o(238),[s+1,n]):a})),s[e(247)]({label:J(t,e(255)),tooltip:!0,icon:dt.IconChevronUp}),n[e(247)]({label:J(t,e(259)),tooltip:!0,icon:dt.IconChevronDown}),s[e(225)](e(227)).to(this,e(249)),n[e(225)](e(227)).to(this,e(254)),s.on(e(220),(()=>this[e(219)](e(220),e(229)))),n.on(e(220),(()=>this[e(219)](e(220),e(260)))),this[e(246)]({tag:e(234),attributes:{class:["ck",e(231),e(235)]},children:[{tag:e(241),attributes:{class:[e(245)]},children:[{tag:e(241),attributes:{class:[e(230),i.if(e(257),e(243),(t=>!t))]},children:[{text:i.to(e(221),(i=>i?J(t,e(233))+": ":J(t,e(222))+": "))}]},{text:i.to(e(252))}]},new ft.ToolbarSeparatorView,{tag:e(234),attributes:{class:[e(237)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=me;function de(){const t=["view","2NrTKLX","roots","hide","isPremiumPlugin","editing","447137DYfrLR","7TiImXH","2217375glyMkS","editor","isOfficialPlugin","7819984eGUnuL","27348200hbgiOF","show","RevisionViewerLoadingOverlay","4LJWmTA","4889155ywNwpu","document","6819702uTcfvj","ck-editor__editable__loading-overlay","1217829yuSbBl","change","removeClass","addClass","pluginName"];return(de=function(){return t})()}!function(t){const e=me,i=t();for(;;)try{if(644695===-parseInt(e(378))/1*(-parseInt(e(373))/2)+-parseInt(e(367))/3+parseInt(e(362))/4*(parseInt(e(363))/5)+parseInt(e(365))/6+-parseInt(e(379))/7*(-parseInt(e(383))/8)+parseInt(e(380))/9+-parseInt(e(384))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const fe=he(366);function me(t,e){const i=de();return(me=function(t,e){return i[t-=360]})(t,e)}class pe extends W.Plugin{static get[he(371)](){return he(361)}static get[he(382)](){return!0}static get[he(376)](){return!0}[he(360)](){const t=he,e=this[t(381)][t(377)][t(372)];e[t(368)]((i=>{const s=t;for(const t of e[s(364)][s(374)])i[s(370)](fe,t)}))}[he(375)](){const t=he,e=this[t(381)][t(377)][t(372)];e[t(368)]((i=>{const s=t;for(const t of e[s(364)][s(374)])i[s(369)](fe,t)}))}}const ve=ge;function ge(t,e){const i=ye();return(ge=function(t,e){return i[t-=144]})(t,e)}function ye(){const t=["restoreRevision","showNextChange","ck-revision-history-ui__back-to-editing","isReady","execute","numberOfChanges","set","currentChangeNumber","requires","show","commands","isOfficialPlugin","isBackwardNavigationEnabled","pluginName","RevisionViewerUI","bind","182siaYFc","get","1251990whsVNx","changesNavigation","revisionHistory","92510LtbCmt","297545yAWMnD","Back to editing","329WbeGcI","Restore this revision","exitToEditing","forward","plugins","hide","init","editor","listenTo","add","isEnabled","isNavigationMode","121iLCjoj","isForwardNavigationEnabled","626TdxncV","closeRevisionViewerCallback","isPremiumPlugin","751497onGZFa","change:isReady","showPreviousChange","1432072StOPRe","48144iLvonP","componentFactory","config","12vaZhNC"];return(ye=function(){return t})()}!function(t){const e=ge,i=t();for(;;)try{if(381289===parseInt(e(172))/1*(parseInt(e(186))/2)+-parseInt(e(189))/3+-parseInt(e(147))/4*(-parseInt(e(170))/5)+parseInt(e(144))/6*(parseInt(e(164))/7)+parseInt(e(192))/8+-parseInt(e(166))/9+parseInt(e(169))/10*(parseInt(e(184))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class ke extends W.Plugin{static get[ve(161)](){return ve(162)}static get[ve(159)](){return!0}static get[ve(188)](){return!0}static get[ve(156)](){return[Qt,pe]}[ve(178)](){const t=ve,e=this[t(179)],i=e[t(176)][t(165)](Qt),s=e[t(176)][t(165)](pe);e.ui[t(145)][t(181)](t(174),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(154)]({label:J(i,s(171)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(150)}),this[s(180)](n,s(152),(()=>{const t=s;e[t(146)][t(165)](t(168))[t(187)]()})),n})),e.ui[t(145)][t(181)](t(148),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(154)]({label:J(i,s(173)),withText:!0,tooltip:!0}),n[s(163)](s(182)).to(e[s(158)][s(165)](s(148))),this[s(180)](n,s(152),(()=>e[s(152)](s(148)))),n})),e.ui[t(145)][t(181)](t(167),(s=>{const n=t,r=new ce(s),o=e[n(158)][n(165)](n(191)),a=e[n(158)][n(165)](n(149));return r[n(163)](n(160)).to(o,n(182)),r[n(163)](n(185)).to(a,n(182)),r[n(163)](n(151),n(155),n(153),n(183)).to(i),this[n(180)](r,n(152),((t,i)=>{const s=n;e[s(152)](s(175)===i?s(149):s(191))})),r})),s[t(157)](),i.on(t(190),((e,i,n)=>{const r=t;n?s[r(177)]():s[r(157)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;function _e(t,e){const i=Ie();return(_e=function(t,e){return i[t-=467]})(t,e)}function Ie(){const t=["bindTemplate","set","1681953hlzRMP","_tooltipString","236kvRwbK","309972kXOUCe","368336SdAiSQ","fieldView","390600xvdEsv","render","1KhdxlY","clientWidth","element","destroy","listenTo","ck-tooltip_multi-line","placeholder","Enter the revision name","_updateTooltipText","span","_resizeObserver","ck-revision-history-sidebar__revision-name","6253722JVJwtG","input","Revision name","value","extendTemplate","scrollWidth","610022ypjUIX","10TIYvfw","34525wTNdyd"];return(Ie=function(){return t})()}const Se=_e;!function(t){const e=_e,i=t();for(;;)try{if(225331===parseInt(e(488))/1*(parseInt(e(475))/2)+-parseInt(e(486))/3+parseInt(e(482))/4*(parseInt(e(477))/5)+parseInt(e(483))/6+parseInt(e(480))/7+parseInt(e(484))/8+-parseInt(e(469))/9*(parseInt(e(476))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Oe extends ft.LabeledFieldView{[Se(467)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(478)];this[i(479)]({label:J(t,i(471)),_tooltipString:""}),this[i(485)][i(494)]=J(t,i(495)),this[i(473)]({tag:i(497),attributes:{class:[i(468)],"data-cke-tooltip-text":s.to(i(481)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(493)}})}[Se(487)](){const e=Se;super[e(487)](),this[e(467)]=new t.ResizeObserver(this[e(485)][e(490)],(()=>this[e(496)]())),this[e(492)](this[e(485)],e(470),(()=>this[e(496)]()))}[Se(491)](){const t=Se;super[t(491)](),this[t(467)]&&this[t(467)][t(491)]()}[Se(496)](){const t=Se,e=this[t(485)][t(490)];this[t(481)]=e[t(474)]>e[t(489)]&&e[t(472)]||""}}var Te=i(249),xe={attributes:{"data-cke":!0}};xe.setAttributes=wt(),xe.insert=kt().bind(null,"head"),xe.domAPI=gt(),xe.insertStyleElement=It();pt()(Te.A,xe);Te.A&&Te.A.locals&&Te.A.locals;function Ne(t,e){const i=Re();return(Ne=function(t,e){return i[t-=287]})(t,e)}!function(t){const e=Ne,i=t();for(;;)try{if(894356===-parseInt(e(296))/1+parseInt(e(288))/2+-parseInt(e(303))/3*(parseInt(e(290))/4)+parseInt(e(305))/5*(-parseInt(e(301))/6)+-parseInt(e(304))/7+parseInt(e(292))/8+parseInt(e(300))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ae extends ft.View{constructor(t,e,i){const s=Ne;super(t);const n=new ft.IconView;n[s(298)]({content:dt.IconUser,viewBox:s(289)});const r=["ck",s(297)];i&&r[s(294)](s(295));const o=[{tag:s(291),attributes:{class:["ck",s(299)],title:J(t,s(i?306:293))},children:[n,e[s(302)]]}];this[s(287)]({tag:"li",attributes:{class:r},children:o})}}function Re(){const t=["Revision creator","setTemplate","485142GfrkwN","0 0 11 10","1755112UPspUO","span","13573856mzbiUB","Revision author","push","ck-revision-history-sidebar__revision-author_creator","117580nPBppz","ck-revision-history-sidebar__revision-author","set","ck-revision-history-sidebar__revision-author__name","4767966EQQyvx","4398jFbHIr","name","6VTtbyr","1440285gbFgVd","2550gSOTlm"];return(Re=function(){return t})()}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=126]})(t,e)}function Ve(){var t=["9230039EjFkkW","381416gPFbXJ","numeric","1112148FkifVE","5626250UBsOWw","long","45929AOPMFo","984222yDzOsD","1079451GebPGe","toLocaleDateString","toLocaleTimeString"];return(Ve=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(811923===-parseInt(e(129))/1+parseInt(e(135))/2+parseInt(e(131))/3+parseInt(e(126))/4+-parseInt(e(127))/5+-parseInt(e(130))/6+parseInt(e(134))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var Ee=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ee.A,De);Ee.A&&Ee.A.locals&&Ee.A.locals;function Ce(t,e){const i=Fe();return(Ce=function(t,e){return i[t-=482]})(t,e)}function Fe(){const t=["290287ixLiUw","isVisible","source","first","_action","change:isActionsDropdownOpen","Show more items","stopPropagation","bind","set","Name this revision","buttonView","2757150WKXcCp","add","isOpen","isEnabled","model","1727280hnSsbR","execute","panelPosition","8uNDnAA","button","listenTo","ck-on","name","map","locale","1264410gBuQoc","2rBJaxL","145928gDstfy","extendTemplate","menuitem","listView","Compare against selected","function","items","menu","8322SVHKhX","class","find","isReady","5586950nGPrtW","isActionsDropdownOpen","action","Restore this revision","2471ovvBMD","ck-revision-history-sidebar__revision__actions","bindTemplate","children"];return(Fe=function(){return t})()}!function(t){const e=Ce,i=t();for(;;)try{if(351739===parseInt(e(492))/1*(parseInt(e(520))/2)+parseInt(e(519))/3+parseInt(e(521))/4+parseInt(e(509))/5+parseInt(e(529))/6*(-parseInt(e(488))/7)+parseInt(e(512))/8*(parseInt(e(504))/9)+-parseInt(e(484))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var je=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=wt(),Le.insert=kt().bind(null,"head"),Le.domAPI=gt(),Le.insertStyleElement=It();pt()(je.A,Le);je.A&&je.A.locals&&je.A.locals;const Pe=Ue;function ze(){const t=["setName","uiLanguage","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__actions_dropdown_open","isConfirm","16466220GJUoIJ","ck-revision-history-sidebar__revision_selected","deselect","ck-revision-history-sidebar__revision-authors","srcElement","fieldView","isSelected","361901gTIokX","length","createdAt","2ZMjOQq","ck-revision-history-sidebar__revision","isEnabled","_createdAtFormatted","bind","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","945860obInZt","listenTo","revisionActionsView","extendTemplate","isHighlighted","set","highlight","setTemplate","ck-revision-history-sidebar__revision_highlighted","unhighlight","ck-disabled","isActionsDropdownOpen","select","990125qtwAQN","filter","value","bindTemplate","ck-revision-history-sidebar__revision__date","220","map","closest","revisionNameView","from","16sDrrNI","fire","ck-revision-history-sidebar__revision-wrapper",".ck-thread__remove-confirm","div","authors","2304528SyXJCO","element","1260741xMRakF","ck-reset","change","unshift","_revision","name","creator","render","1354241vTCEMd","span","isReady","_requireRevisionName"];return(ze=function(){return t})()}function Ue(t,e){const i=ze();return(Ue=function(t,e){return i[t-=348]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(237978===-parseInt(e(374))/1*(parseInt(e(377))/2)+-parseInt(e(350))/3+-parseInt(e(383))/4+parseInt(e(396))/5+-parseInt(e(348))/6+parseInt(e(358))/7*(-parseInt(e(406))/8)+parseInt(e(367))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class We extends((0,Z.ConfirmMixin)(ft.View)){id;[Pe(404)];[Pe(385)];[Pe(354)];[Pe(361)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(399)],a=function(t,e){const i=r,s=Array[i(405)](e[i(411)])[i(397)]((t=>t!=e[i(356)]));return e[i(356)]&&s[i(353)](e[i(356)]),s[i(402)]((s=>new Ae(t,s,s==e[i(356)])))}(e,i);this.id=i.id,this[r(354)]=i,this[r(361)]=n,this[r(381)](r(355),r(376)).to(i),this[r(381)](r(380)).to(this,r(376),(t=>{return i=e[r(363)],(s=t)[(n=Me)(132)](i,{month:n(128),day:n(136)})+", "+s[n(133)](i,{hour:n(136),minute:n(136)});var i,s,n})),this[r(388)](r(373),!1),this[r(388)](r(387),!1),this[r(388)](r(394),!1),this[r(388)](r(360),!1),this[r(388)](r(379),!1),this[r(404)]=new Oe(e,ft.createLabeledInputText),this[r(404)][r(372)][r(386)]({attributes:{maxlength:r(401)}}),this[r(404)][r(372)][r(381)](r(398)).to(this,r(355),(t=>t||this[r(380)])),this[r(404)][r(381)](r(379)).to(this,r(373),this,r(379),((t,e)=>t&&e)),this[r(385)]=s&&s[r(375)]?function(e,i){const s=Ce,n=e[s(490)],r=e[s(518)],o=(0,ft.createDropdown)(r);o[s(511)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ce,s=t[i(518)],n={"Compare against selected":J(s,i(525)),"Name this revision":J(s,i(502)),"Restore this revision":J(s,i(487))};return e[i(517)]((t=>{const e=i,s=n[t[e(516)]];return s&&s!==t[e(516)]&&(t[e(516)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(513),model:new ft.ViewModel({label:t[n(516)],class:t[n(530)],withText:!0,role:n(523),_action:t[n(486)]})};i[n(508)][n(500)](n(507)).to(e,n(485),(i=>n(526)!=typeof t[n(507)]||!i||t[n(507)](e))),o[n(505)](i)}return o}(e,i);return e[s(500)](s(485)).to(o,s(506)),o[s(503)][s(501)]({label:J(r,s(498)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(522)]({attributes:{class:[s(489),n.if(s(485),s(515))]},on:{click:n.to((t=>t[s(499)]()))}}),o.on(s(510),(t=>{const i=s;e[i(483)]&&i(526)==typeof t[i(494)][i(496)]&&t[i(494)][i(496)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(528)}),o[s(514)](e,s(497),((t,n,r)=>{const a=s;if(r)for(const t of o[a(524)][a(527)]){const s=t[a(491)][a(495)],n=i[a(482)]((t=>t[a(486)]===s[a(496)]))[a(493)];t[a(493)]=void 0===n||n(e)}})),o}(this,s):"",this[r(385)]&&this[r(385)][r(381)](r(379)).to(this),this[r(390)]({tag:r(410),attributes:{class:["ck",r(351),r(408),o.if(r(366),r(382))]},children:[{tag:r(410),attributes:{class:["ck",r(351),r(378),o.if(r(379),r(393),(t=>!t)),o.if(r(373),r(368)),o.if(r(387),r(391)),o.if(r(394),r(365))]},children:[this[r(404)],{tag:r(359),attributes:{class:["ck",r(400)]},children:[{text:o.to(r(380))}]},{tag:r(410),attributes:{class:["ck",r(364)]},children:[{tag:"ul",attributes:{class:["ck",r(370)]},children:a}]},this[r(385)]],on:{click:o.to((t=>{const e=r;t[e(371)][e(403)](e(409))||this[e(360)]&&this[e(379)]&&this[e(407)](e(395),{id:this.id})}))}}]})}[Pe(357)](){const t=Pe;super[t(357)]();const e=this[t(404)][t(372)][t(349)];this[t(384)](e,t(352),(()=>{const i=t;this[i(361)]&&!e[i(398)]||this[i(407)](i(362),{id:this.id,name:e[i(398)]}),e[i(398)]||(e[i(398)]=this[i(355)]?this[i(355)]:this[i(380)])}))}[Pe(395)](){this[Pe(373)]=!0}[Pe(369)](){this[Pe(373)]=!1}[Pe(389)](){this[Pe(387)]=!0}[Pe(392)](){this[Pe(387)]=!1}}class Ze extends Error{}class He extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends Ze{}class Ye extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ze{}class Ge extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Xe="short",Qe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Xe,day:Ke},ii={year:Ke,month:Xe,day:Ke,weekday:Xe},si={year:Ke,month:Qe,day:Ke},ni={year:Ke,month:Qe,day:Ke,weekday:Qe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke},yi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Xe},ki={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},bi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,timeZoneName:Qe},wi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe};class _i{get type(){throw new Ge}get name(){throw new Ge}get ianaName(){return this.name}get isUniversal(){throw new Ge}offsetName(t,e){throw new Ge}formatOffset(t,e){throw new Ge}offset(t){throw new Ge}equals(t){throw new Ge}get isValid(){throw new Ge}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ws(t,e,i)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xi={};class Ni extends _i{static create(t){return xi[t]||(xi[t]=new Ni(t)),xi[t]}static resetCache(){xi={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ni.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ws(t,e,i,this.name)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ti[e];"era"===e?s[r]=n:ws(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ls({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Ri={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.DateTimeFormat(t,e),Ri[i]=s),s}let Vi={};let Ei={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rs(this.floor?Math.floor(t):Ds(t,3),this.padTo)}}class Li{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ni.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Di||(Di=(new Intl.DateTimeFormat).resolvedOptions().locale,Di)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Di=null,Ri={},Vi={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ns(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Fi(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=eo.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Fi(this,t,en,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Li(t,this.intl,e)}relFormatter(t={}){return new Pi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Wi=null;class Zi extends _i{static get utcInstance(){return null===Wi&&(Wi=new Zi(0)),Wi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${qs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return qs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Hi extends _i{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Hi(t)}const qi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Bi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=qi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${qi[i]}${e}`)),Ji[i][e]}let Ki,Xi=()=>Date.now(),Qi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){Qi=t}static get defaultZone(){return $i(Qi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=Ns(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Ui.resetCache(),Ni.resetCache(),eo.resetCache(),Ji={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Bs(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...Bs(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...Bs(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...Bs(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new Be("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function ks(t){const e=Is(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ts(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function xs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ns(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Is(t)&&t>=e&&t<=i}function Rs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ls(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function Us(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Ws(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Hs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(xs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Hs(n)}return i}function qs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Rs(i,2)}:${Rs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Rs(i,2)}${Rs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Gs];case"short":return[...Js];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Qs];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Rs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Ms(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function xn(t,e){return[{},t[e]?Ni.create(t[e]):null,e+1]}const Nn=RegExp(`^T?${gn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Rn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ms(e)):Ms(e),month:Js.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:Qs.indexOf(t)+1),a}const En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Vn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Cn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Fn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ln(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,n,s,i,r,o,a),Zi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Un=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Wn=dn(/(\d{4})-?(\d{3})/,kn),Zn=dn(yn),Hn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,Tn,xn),$n=fn(bn,On,Tn,xn),qn=fn(wn,On,Tn,xn),Bn=fn(On,Tn,xn);const Yn=fn(On);const Jn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Kn=fn(On,Tn,xn);const Xn="Invalid Duration",Qn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Qn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Qn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:$s(t,ur.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[An,Rn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[Nn,Yn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new ur({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ln.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=nr.map((e=>{const i=this.values[e];return ws(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Ds(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return eo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(xs(e.values,t)||xs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=Hs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...$s(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return or(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new $e(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:hr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return hr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return $i(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=fr(t,e);return(i-i%7)/7}],["days",fr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(qi.hanidec))e+=Yi.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Nr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Tr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Gi(e),s=Gi(e,"{2}"),n=Gi(e,"{3}"),r=Gi(e,"{4}"),o=Gi(e,"{6}"),a=Gi(e,"{1,2}"),c=Gi(e,"{1,3}"),u=Gi(e,"{1,6}"),l=Gi(e,"{1,9}"),h=Gi(e,"{2,4}"),d=Gi(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,Us);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(xs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),ws(t.u)||(t.S=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(xs(i,"a")&&xs(i,"H"))throw new Be("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function xr(t,e,i){return new Tr(t,i).explainFromTokens(e)}function Nr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Rr=864e13;function Mr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Cr(Ls(t),e,i)}function Lr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ls(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?ln.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Rs(t.c.year,i?6:4),e?(s+="-",s+=Rs(t.c.month),s+="-",s+=Rs(t.c.day)):(s+=Rs(t.c.month),s+=Rs(t.c.day)),s}function Wr(t,e,i,s,n,r){let o=Rs(t.c.hour);return e?(o+=":",o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Rs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Rs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Rs(Math.trunc(-t.o/60)),o+=":",o+=Rs(Math.trunc(-t.o%60))):(o+="+",o+=Rs(Math.trunc(t.o/60)),o+=":",o+=Rs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Hr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Gr(t,e){const i=$i(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Ui.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of qr)ws(t[e])&&(t[e]=Zr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Qr&&(Qr=rs.now()),to[t]=t.offset(Qr)),to[t]}(i);[n,r]=jr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Ds(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Qr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return eo.invalid("invalid input");const n=$i(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Ui.fromObject(e)}):eo.invalid(Mr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Rr||t>Rr?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:$i(e.zone,rs.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:$i(e.zone,rs.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Ui.fromObject(e),n=$s(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=Br,v=Hr,g=ms(g,r,o)):u?(p=Yr,v=$r,g=vs(g)):(p=qr,v=Zr);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=As(t.weekNumber,1,zs(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=As(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=jr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Hn],[Un,$n],[Wn,qn],[Zn,Bn])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,Ln],[Fn,Ln],[jn,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=xr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Jn,Hn],[Gn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new He(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Qr=void 0,to={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ls(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Wr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Wr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return ur.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||eo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Je("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return xr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(){const t=["toRelativeCalendar","2119878nhybXK","weekdayLong","47llJdrK","week","local","hasSame","month","fromJSDate","day","year","minus","3202617oRebRk","320562XiYAmz","16643495xYMjEr","765vVBdlt","154vqmwxk","toJSDate","setLocale","50384vvQYxZ","180CptHhm","13440HMoxci","startOf","monthLong","3802AHwjog"];return(so=function(){return t})()}function no(t,e){const i=so();return(no=function(t,e){return i[t-=239]})(t,e)}function ro(t,e){const i=no,s=eo[i(245)](t)[i(255)](e),n=eo[i(242)](),r=n[i(248)]({days:1})[i(259)](i(246));let o,a;return s[i(243)](n,i(246))?(o=s[i(259)](i(246))[i(254)](),a=s[i(262)]()):s[i(243)](r,i(246))?(o=r[i(254)](),a=s[i(262)]()):s[i(243)](n,i(241))?(o=s[i(259)](i(241))[i(254)](),a=s[i(239)]||""):s[i(243)](n,i(247))?(o=s[i(259)](i(244))[i(254)](),a=s[i(260)]||""):(o=s[i(259)](i(247))[i(254)](),a=String(s[i(247)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(622566===parseInt(e(240))/1*(parseInt(e(261))/2)+-parseInt(e(249))/3+parseInt(e(258))/4*(parseInt(e(252))/5)+parseInt(e(263))/6+parseInt(e(253))/7*(-parseInt(e(256))/8)+-parseInt(e(250))/9*(parseInt(e(257))/10)+parseInt(e(251))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(so);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=lo;function uo(){const t=["ck-revision-history-sidebar__time-period","5048624ORwkre","10ClDxuR","1281808duoeNU","30087OxxXtX","delegate","uiLanguage","localizedPeriodName","2835738UeMRyn","div","locale","1795995KmbbTd","startDate","ck-revision-history-sidebar__time-period__label","find","_revisionActions","21966131msBTIC","removeRevision","ck-revision-history-sidebar__time-period__revisions","remove","3272fXgNFU","add","setName","724460NsNiXH","_requireRevisionName","createCollection","setTemplate","span","select","addRevision","10PitFUI","revisionViews","2PpxrcI"];return(uo=function(){return t})()}function lo(t,e){const i=uo();return(lo=function(t,e){return i[t-=208]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(778116===parseInt(e(212))/1*(-parseInt(e(208))/2)+parseInt(e(220))/3+parseInt(e(232))/4*(-parseInt(e(239))/5)+parseInt(e(217))/6+parseInt(e(210))/7+-parseInt(e(229))/8*(parseInt(e(213))/9)+-parseInt(e(211))/10*(-parseInt(e(225))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(uo);class ho extends ft.View{[co(221)];[co(240)];[co(224)];[co(233)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(219)][n(215)])[n(216)];this[n(221)]=e,this[n(240)]=this[n(234)](),this[n(224)]=i,this[n(233)]=s,this[n(240)][n(214)](n(237)).to(this),this[n(240)][n(214)](n(231)).to(this),this[n(235)]({tag:n(218),attributes:{class:["ck",n(209)]},children:[{tag:n(236),attributes:{class:["ck",n(222)]},children:[{text:r}]},{tag:n(218),attributes:{class:["ck",n(227)]},children:this[n(240)]}]})}[co(238)](t){const e=co,i=new We(this[e(219)],t,this[e(224)],this[e(233)]);this[e(240)][e(230)](i)}[co(226)](t){const e=co,i=this[e(240)][e(223)]((e=>e.id===t.id));this[e(240)][e(228)](i)}}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;!function(t){const e=vo,i=t();for(;;)try{if(603137===-parseInt(e(379))/1*(-parseInt(e(392))/2)+parseInt(e(385))/3+-parseInt(e(383))/4*(-parseInt(e(393))/5)+-parseInt(e(378))/6+parseInt(e(384))/7+parseInt(e(377))/8*(-parseInt(e(386))/9)+-parseInt(e(382))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class po extends ft.View{constructor(t){const e=vo;super(t);const i=new ft.IconView;i[e(394)]=dt.IconHistory,this[e(380)]({tag:e(390),attributes:{class:["ck",e(389),e(388)]},children:[i,{tag:e(387),attributes:{class:["ck",e(391)]},children:[J(t,e(381))]}]})}}function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=377]})(t,e)}function go(){const t=["5ULuQDz","content","253968vGxWDT","3086448rclowL","5QzCrrT","setTemplate","Revision history","11911890IsgLFi","2523396VYsypu","2214660NSpwei","969240UWYoEa","45vISJWO","span","ck-revision-history-sidebar__header","ck-reset_all","div","ck-revision-history-sidebar__header__label","478862yEjZsn"];return(go=function(){return t})()}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=185]})(t,e)}function _o(){const t=["setName","201NLGmCZ","set","_removeRevision","_revisionActions","map","render","get","ck-revision-history-sidebar__timeline","revisionSetName","fire","deselect","bindTemplate","_requireRevisionName","_revisions","ck-rounded-corners","select","1302foixhq","getTime","createCollection","setTemplate","find","883340MzYTuA","789460haLGxb","startDate","16YWZnyf","remove","createdAt","revisionSelected","selectRevision","_addRevision","flat","1527512aykboc","delegate","highlight","highlightRevisions","removeRevision","87749wqJJKB","ck-reset","228wbIVfb","isEnabled","locale","some","_getTimePeriodViewByStartDate","revisionViews","ck-disabled","div","uiLanguage","unhighlight","7122609SBcRDQ","4684LWVrvB","timePeriodViews","add","ck-revision-history-sidebar","addRevision"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(501203===-parseInt(e(195))/1+-parseInt(e(208))/2*(-parseInt(e(214))/3)+parseInt(e(238))/4*(-parseInt(e(236))/5)+parseInt(e(197))/6*(-parseInt(e(230))/7)+parseInt(e(190))/8+parseInt(e(207))/9+parseInt(e(235))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends ft.View{[bo(209)];[bo(227)];[bo(217)];[bo(226)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(225)];this[n(209)]=this[n(232)](),this[n(209)][n(191)](n(229)).to(this),this[n(209)][n(191)](n(213)).to(this),this[n(227)]=e,this[n(217)]=i,this[n(226)]=s,this.on(n(229),((t,e)=>{const i=n;this[i(223)](i(186),e)})),this.on(n(213),((t,e)=>{const i=n;this[i(223)](i(222),e)})),this[n(215)](n(198),!1),this[n(233)]({tag:n(204),attributes:{class:["ck",n(196),n(228),n(211)]},children:[new po(t),{tag:n(204),attributes:{class:["ck",n(221),r.if(n(198),n(203),(t=>!t))]},children:this[n(209)]}]})}[bo(219)](){const t=bo;super[t(219)]();for(const e of this[t(227)])this[t(188)](e);this[t(227)].on(t(210),((e,i)=>{this[t(188)](i)})),this[t(227)].on(t(239),((e,i)=>{this[t(216)](i)}))}get[bo(202)](){const t=bo;return this[t(209)][t(218)]((e=>e[t(202)][t(218)]((t=>t))))[t(189)]()}[bo(187)](t){const e=bo;for(const i of this[e(202)])t&&t.id===i.id?i[e(229)]():i[e(224)]()}[bo(193)](t){const e=bo;for(const i of this[e(202)])t[e(200)]((({id:t})=>t===i.id))?i[e(192)]():i[e(206)]()}[bo(188)](t){const e=bo,i=ro(t[e(185)],this[e(199)][e(205)])[e(237)];let s=this[e(209)][e(220)](0);s&&s[e(237)][e(231)]()===i[e(231)]()||(s=new ho(this[e(199)],i,this[e(217)],this[e(226)]),this[e(209)][e(210)](s)),s[e(212)](t)}[bo(216)](t){const e=bo,i=ro(t[e(185)],this[e(199)][e(205)])[e(237)];this[e(201)](i)[e(194)](t)}[bo(201)](t){const e=bo;return this[e(209)][e(234)]((i=>i[e(237)][e(231)]()===t[e(231)]()))}}const So=To;!function(t){const e=To,i=t();for(;;)try{if(480599===parseInt(e(415))/1+parseInt(e(425))/2*(parseInt(e(399))/3)+parseInt(e(380))/4+parseInt(e(390))/5*(parseInt(e(431))/6)+-parseInt(e(417))/7*(parseInt(e(375))/8)+-parseInt(e(387))/9+-parseInt(e(419))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class Oo extends W.Plugin{[So(440)];[So(423)];[So(369)];static[So(394)]=[So(412),So(372),So(418)];static[So(404)]=function(){const t=So;return{compareAgainstSelected:{name:t(389),action:({plugins:e},i)=>{const s=t,n=e[s(438)](Qt),r=n[s(381)];let o=n[s(437)][s(392)],a=i.id;r[s(446)](o)>r[s(446)](a)&&([o,a]=[a,o]),n[s(402)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(438)](Qt);return!(n[s(381)][s(411)](n[s(437)])[s(405)]>2||i[s(367)])}},restoreRevision:{name:t(429),action:(e,{id:i})=>{const s=t;e[s(422)][s(438)](s(432))[s(442)](i)},isVisible:({plugins:e},i)=>!!e[t(438)](Qt)[t(381)][t(397)](i.id)},nameRevision:{name:t(401),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(438)](Qt),o=r[n(381)][n(398)](i);r[n(402)](i,o),s[n(426)](),s[n(388)][n(406)]()}}}}();static get[So(445)](){return So(439)}static get[So(444)](){return!0}static get[So(377)](){return!0}static get[So(376)](){return[Qt]}constructor(t){const e=So;super(t),this[e(440)]=t[e(409)][e(438)](Qt),this[e(423)]=this[e(440)][e(381)],this[e(369)]=null}[So(368)](){const t=So,e=this[t(423)][t(385)],i=this[t(366)](),s=this[t(421)][t(422)][t(438)](t(378));this[t(369)]=new Io(this[t(421)][t(373)],e,i,this[t(421)][t(422)][t(438)](t(400))),this[t(369)].on(t(386),this[t(416)][t(430)](this)),this[t(369)].on(t(374),this[t(435)][t(430)](this)),this[t(369)][t(430)](t(428)).to(this[t(440)]),this[t(369)][t(370)].on(t(371),((e,i)=>{const s=t;i[s(410)].on(s(371),((t,e)=>{const i=s;e[i(430)](i(428),i(443)).to(this[i(440)])}))})),this[t(369)][t(365)](),this[t(396)](this[t(421)][t(434)],t(407),this[t(379)][t(430)](this)),this[t(396)](this[t(440)],t(393),this[t(408)][t(430)](this)),s[t(427)](this[t(369)][t(413)])}[So(424)](){const t=So;this[t(369)][t(413)][t(384)](),this[t(369)][t(424)]()}[So(379)](){const t=So,e=this[t(423)][t(420)](0);if(e){const i=this[t(423)][t(398)](e.id);this[t(440)][t(402)](e,i)}}[So(416)](t,e){const i=So,s=this[i(423)][i(420)](e.id),n=this[i(423)][i(398)](s.id);this[i(440)][i(402)](s,n)}[So(435)](t,e){const i=So;this[i(423)][i(420)](e.id)[i(414)](e[i(441)])}[So(408)](t,e,i){const s=So,n=this[s(423)][s(411)](i);n[s(405)]>2?(this[s(369)][s(433)](n),this[s(369)][s(364)](null)):(this[s(369)][s(433)]([]),this[s(369)][s(364)](n[0]))}[So(366)](){const t=So,e=this[t(421)],i=Oo[t(404)],s=e[t(422)][t(438)](t(395))||Oo[t(394)];if(s[t(405)])return s[t(383)]((s=>{const n=t,r=n(403)==typeof s?Object[n(391)]({},i[s]):s;return r[n(436)]=r[n(436)][n(430)](this,e),r[n(382)]&&(r[n(382)]=r[n(382)][n(430)](this,e)),r}))}}function To(t,e){const i=No();return(To=function(t,e){return i[t-=364]})(t,e)}const xo=Oo;function No(){const t=["newRevisionId","change:diff","defaultRevisionActions","revisionHistory.revisionActions","listenTo","getLaterVisibleRevision","getEarlierVisibleRevision","9147xeQAKt","revisionHistory.requireRevisionName","Name this revision","compare","string","availableRevisionActions","length","select","ready","_handleDiffChange","plugins","revisionViews","getRevisionsInDiff","compareAgainstSelected","element","setName","471261aMPhgO","_handleRevisionSelected","15981VbPItg","nameRevision","11554390ldIgYK","getRevision","editor","config","_revisionsRepository","destroy","326RlAPMv","focus","appendChild","isEnabled","Restore this revision","bind","328098jkWmAZ","revisionHistory","highlightRevisions","data","_handleRevisionSetName","action","diff","get","RevisionsSidebar","_revisionViewer","name","restoreRevisionCallback","isReady","isOfficialPlugin","pluginName","getIndex","selectRevision","render","_createRevisionActions","isSelected","init","_sidebarView","timePeriodViews","add","restoreRevision","locale","revisionSetName","264aBgZYv","requires","isPremiumPlugin","revisionHistory.viewerSidebarContainer","_handleEditorDataReady","677248FTuNwN","repository","isVisible","map","remove","_revisions","revisionSelected","3202146XaRMaA","fieldView","Compare against selected","85pBrXuw","assign"];return(No=function(){return t})()}const Ao=Mo;function Ro(){const t=["_elementReplacer","656560HUogma","destroy","viewportOffset","bind","name","replace","ready","config","element","193527AknLfX","fillFromConfig","21zMJtJN","document","170474wZwirr","render","editable","_view","editing","getRoot","addToolbar","attachDomRoot","1347606IfjodS","1749495dbplwm","_initToolbar","componentFactory","view","isFocused","fire","stickyPanel","limiterElement","setEditableElement","rootName","detachDomRoot","restore","584196RalsmK","_toolbarConfig","editor","focusTracker","init","50riJfRv","2OpqLEm","viewportTopOffset","isActive","get","toolbar","576956zRdAFa"];return(Ro=function(){return t})()}function Mo(t,e){const i=Ro();return(Mo=function(t,e){return i[t-=154]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(211653===-parseInt(e(182))/1*(-parseInt(e(155))/2)+-parseInt(e(198))/3+-parseInt(e(187))/4+-parseInt(e(164))/5+parseInt(e(176))/6+parseInt(e(200))/7*(-parseInt(e(189))/8)+parseInt(e(163))/9*(parseInt(e(181))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Vo extends ft.EditorUI{[Ao(158)];[Ao(177)];[Ao(188)];get[Ao(167)](){return this[Ao(158)]}constructor(e,i){const s=Ao;super(e),this[s(158)]=i,this[s(177)]=(0,ft.normalizeToolbarConfig)(e[s(196)][s(185)](s(186))),this[s(188)]=new t.ElementReplacer}get[Ao(197)](){const t=Ao;return this[t(167)][t(197)]}[Ao(180)](t){const e=Ao,i=this[e(178)],s=this[e(167)],n=i[e(159)][e(167)],r=s[e(157)],o=n[e(154)][e(160)]();r[e(193)]=o[e(173)],s[e(156)]();const a=r[e(197)];this[e(172)](r[e(193)],a),s[e(157)][e(192)](e(168)).to(this[e(179)]),n[e(162)](a),this[e(188)][e(194)](t,this[e(197)]),this[e(165)](),this[e(169)](e(195))}[Ao(190)](){const t=Ao;super[t(190)]();const e=this[t(167)],i=this[t(178)][t(159)][t(167)];this[t(188)][t(175)](),i[t(174)](e[t(157)][t(193)]),e[t(190)]()}[Ao(165)](){const t=Ao,e=this[t(167)];e[t(170)][t(192)](t(184)).to(this[t(179)],t(168)),e[t(170)][t(171)]=e[t(197)],e[t(170)][t(192)](t(183)).to(this,t(191),(({top:t})=>t)),e[t(186)][t(199)](this[t(177)],this[t(166)]),this[t(161)](e[t(186)])}}var Eo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Eo.A,Do);Eo.A&&Eo.A.locals&&Eo.A.locals;var Co=jo;function Fo(){var t=["top","2692415BgKwrV","81094BWvuYH","render","151068RApDBq","main","stickyPanel","shouldToolbarGroupWhenFull","5434044XyPJfE","editable","6611862IPrAxX","32NusJJN","5465808McnglX","_editable","content","toolbar","add","11108OieTXe","786UsamfR"];return(Fo=function(){return t})()}function jo(t,e){var i=Fo();return(jo=function(t,e){return i[t-=318]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(604557===-parseInt(e(318))/1+parseInt(e(335))/2+-parseInt(e(332))/3*(-parseInt(e(331))/4)+parseInt(e(334))/5+parseInt(e(324))/6+parseInt(e(322))/7+-parseInt(e(325))/8*(parseInt(e(326))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends ft.BoxedEditorUIView{[Co(327)];[Co(320)];[Co(329)];get[Co(323)](){return this[Co(327)]}constructor(t,e,i={}){var s=Co;super(t),this[s(320)]=new ft.StickyPanelView(t),this[s(329)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(321)]}),this[s(327)]=new ft.InlineEditableUIView(t,e)}[Co(336)](){var t=Co;super[t(336)](),this[t(320)][t(328)][t(330)](this[t(329)]),this[t(333)][t(330)](this[t(320)]),this[t(319)][t(330)](this[t(323)])}}const Po=Uo;function zo(){const t=["342759yKOBlI","document","348koLKhU","init","21610HzYFEj","5276131Zjfrxw","model","fire","_ui","locale","106360uaYJoq","updateSourceElement","destroy","view","editing","30843362xygUXU","create","initPlugins","sourceElement","ready","243eqDxqq","8SqImAd","initialData","data","get","40642IhCHNN","createRoot","config","1871252EdwHxj","129yvxmIY"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=204]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(694855===parseInt(e(213))/1+-parseInt(e(208))/2*(parseInt(e(212))/3)+parseInt(e(211))/4+parseInt(e(223))/5*(-parseInt(e(215))/6)+parseInt(e(218))/7*(-parseInt(e(204))/8)+-parseInt(e(233))/9*(parseInt(e(217))/10)+parseInt(e(228))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Wo extends((0,W.ElementApiMixin)(W.Editor)){[Po(221)];get ui(){return this[Po(221)]}constructor(t,e){const i=Po;super(e),this[i(231)]=t,this[i(219)][i(214)][i(209)]();const s=new Lo(this[i(222)],this[i(227)][i(226)],{shouldToolbarGroupWhenFull:!0});this[i(221)]=new Vo(this,s)}[Po(225)](){const t=Po;return this[t(224)](),this.ui[t(225)](),super[t(225)]()}static async[Po(229)](t,e){const i=Po,s=new this(t,e);return await s[i(230)](),await s.ui[i(216)](t),await s[i(206)][i(216)](s[i(210)][i(207)](i(205))||""),s[i(220)](i(232)),s}}const Zo=Ho;function Ho(t,e){const i=$o();return(Ho=function(t,e){return i[t-=370]})(t,e)}function $o(){const t=["users","Users","plugins","block","Dialog","setSelection","_viewerEditor","29552tlEvYw","6596838mnHfNd","set","roots","keys","catch","style","refreshVisibility","_update","repository","error","3107382BDVLgN","document","revisionHistory.showRevisionViewerCallback","refreshPositioning","isReady","revision-history-missing-configuration","translations","requires","destroy","enableReadOnlyMode","addRoot","none","fromVersion","has","getMarkersGroup","numeric","_closeRevisionViewer","update","selection","addUser","change","revisionHistory.requireRevisionName","exitToEditing","isOpen","markers","getRevisionRootsAttributes","commands","RevisionViewer","createdAt","restoreRevision","from","isAnonymous","isOfficialPlugin","revision-history-viewer-opened","Restored","bind","uiLanguage","PaginationLookup","toJSON","581XYPuBS","getRoot","createRangeIn","rootName","changesNavigation","_cleanUp","setAttribute","1208455UwyYda","insert","RestrictedEditingMode","removeAttribute","then","isEnabled","getAttributeKeys","revisionHistory.editorContainer","disableReadOnlyMode","isPremiumPlugin","saveRevision","4czazSX","RevisionHistory","end","_enhanceShowRevisionViewerCallback","56160UDuUpv","addRevisionData","revisionHistory.restoreRevisionCallback","revisionHistory","isReadOnly","_enhanceCloseRevisionViewerCallback","toVersion","getRevisions","init","toLocaleTimeString","lazyRoots","22FlQGZC","Autosave","revisionHistory.closeRevisionViewerCallback","data","long","78TmuKBM","_showRevisionViewer","save","_getRevisionViewerEditorConfig","includes","RevisionTracker","removeSelectionAttribute","result","get","model","push","isAttached","getUser","display","indexOf","revisionHistory.viewerContainer","restrictedEditingException","map","removeMarker","RevisionViewerIntegration","create","editor","closeRevisionViewerCallback","Annotations","detachRoot","creator","name","showRevisionViewerCallback","parse","toolbar","RevisionsRepository","enqueueChange","remove","_recalculatePageBreaks","$graveyard","toLocaleDateString","getRevisionData","pluginName","_restoreRevision","getRevision","revisionHistory.viewerEditorElement","hide","adapter","RevisionHistoryUI","3608950vNjhwV","locale","define","5818512DjEhlh","config","fromCharCode","join"];return($o=function(){return t})()}!function(t){const e=Ho,i=t();for(;;)try{if(588149===-parseInt(e(385))/1*(-parseInt(e(473))/2)+parseInt(e(396))/3+parseInt(e(453))/4*(parseInt(e(442))/5)+-parseInt(e(374))/6+-parseInt(e(435))/7*(-parseInt(e(457))/8)+-parseInt(e(386))/9+parseInt(e(371))/10*(-parseInt(e(468))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const qo=[Zo(370),Zo(444)];class Bo extends W.Plugin{[Zo(480)];static get[Zo(510)](){return Zo(492)}static get[Zo(428)](){return!0}static get[Zo(451)](){return!0}constructor(t){const e=Zo;function i(t){const e=Ho;return t[e(490)]((t=>String[e(376)](t)))[e(377)]("")}super(t),this[e(480)]=e(455),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends W.Plugin{[Zo(384)];static get[Zo(510)](){return Zo(454)}static get[Zo(428)](){return!0}static get[Zo(451)](){return!0}static get[Zo(403)](){return[nt,Ct]}constructor(e){const i=Zo;if(super(e),!this[i(494)][i(375)][i(481)](i(460)))throw new t.CKEditorError(i(401),this);this[i(384)]=null,this[i(494)][i(375)][i(373)](i(398),(t=>this[i(474)]({...t,translations:this[i(494)][i(372)][i(402)]}))),this[i(494)][i(375)][i(373)](i(470),(t=>this[i(412)](t))),this[i(494)][i(375)][i(373)](i(459),(t=>this[i(511)](t))),this[i(494)][i(375)][i(373)](i(417),!1),this[i(456)](),this[i(462)]()}set[Zo(515)](t){const e=Zo;this[e(494)][e(380)][e(481)](e(478))[e(515)]=t}get[Zo(515)](){const t=Zo;return this[t(494)][t(380)][t(481)](t(478))[t(515)]}[Zo(458)](t){const e=Zo;return this[e(494)][e(380)][e(481)](e(478))[e(458)](t)}[Zo(512)](t){const e=Zo;return this[e(494)][e(380)][e(481)](e(503))[e(512)](t)}[Zo(464)](t){const e=Zo;return this[e(494)][e(380)][e(481)](e(503))[e(464)](t||{toJSON:!1})}[Zo(476)](){const e=Zo,i=this[e(494)],s=(0,Z.sanitizeEditorConfig)(i,qo),n=i[e(380)][e(481)](e(478)),r=i[e(380)][e(481)](e(379))[e(378)];return s[e(502)]=[e(418),e(425),e(439)],delete s[e(467)],s[e(380)][e(483)](Bo,Qt,ke,class extends W.Plugin{static get[e(403)](){return[Qt,e(379)]}[e(465)](){const s=e,o=this[s(494)][s(380)][s(481)](s(379));for(const t of r)t[s(427)]||o[s(485)](t.id)||o[s(415)](t);const a=n[s(394)][s(464)]();let c=null;const u=this[s(494)][s(380)][s(481)](s(423));u[s(515)]=n[s(515)],u[s(431)](s(447)).to(n),this[s(494)][s(422)][s(481)](s(425))[s(431)](s(447)).to(i,s(461),(t=>!t));for(const e of a){const i=null===e[s(498)];if(i&&e[s(463)]===e[s(408)])continue;const r=e[s(434)]();u[s(458)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(393)](r,o);else if(!o){const e=a[u(434)]();e.id=(0,t.uid)(),n[u(452)](e,a[u(463)])[u(446)]((t=>{c=t}))}}else e[u(393)](r,o)}))}}},xo),s}[Zo(456)](){const t=Zo,e=this[t(494)][t(375)][t(481)](t(460))[t(500)];this[t(494)][t(375)][t(387)](t(398),(async()=>{const i=t;this[i(494)][i(405)](i(429));const s=this[i(494)][i(380)][i(481)](i(478));if(this[i(494)][i(380)][i(409)](i(469))){const t=this[i(494)][i(380)][i(481)](i(469));await t[i(475)]()}else await s[i(413)]();if(this[i(494)][i(380)][i(409)](i(433))&&this[i(494)][i(380)][i(481)](i(433))[i(506)](),this[i(494)][i(380)][i(409)](i(382))){const t=this[i(494)][i(380)][i(481)](i(382));t[i(419)]&&t[i(514)]()}const n=this[i(476)]();return e(n)[i(446)]((t=>{const e=i;return this[e(384)]=t,this[e(494)][e(380)][e(409)](e(496))&&this[e(494)][e(380)][e(481)](e(496))[e(392)](),t}))[i(390)]((t=>(console[i(395)](t),this[i(494)][i(450)](i(429)),null)))}))}[Zo(462)](){const t=Zo,e=this[t(494)][t(375)][t(481)](t(460))[t(495)];this[t(494)][t(375)][t(387)](t(470),(()=>(this[t(494)][t(380)][t(409)](t(433))&&this[t(494)][t(380)][t(481)](t(433))[t(506)](),this[t(384)][t(380)][t(481)](t(423))[t(440)](),e(this[t(384)])[t(446)]((()=>{const e=t;if(this[e(494)][e(450)](e(429)),this[e(384)]=null,this[e(494)][e(380)][e(409)](e(496))){const t=this[e(494)][e(380)][e(481)](e(496));t[e(392)](),t[e(399)]()}})))))}[Zo(474)](t){const e=Zo,i=this[e(494)][e(375)][e(481)](e(449)),s=this[e(494)][e(375)][e(481)](e(488)),n=this[e(494)][e(375)][e(481)](e(513));return Wo[e(493)](n,t)[e(446)]((t=>(s[e(391)][e(486)]=e(381),i[e(391)][e(486)]=e(407),t)))}[Zo(412)](t){const e=Zo,i=this[e(494)][e(375)][e(481)](e(449));return this[e(494)][e(375)][e(481)](e(488))[e(391)][e(486)]=e(407),i[e(391)][e(486)]="",t[e(404)]()}async[Zo(511)](t){const e=Zo,i=this[e(494)],s=this[e(384)][e(380)][e(481)](e(423)),n=i[e(380)][e(481)](e(478)),r=s[e(394)][e(512)](t);let o,a,c;try{o=await s[e(509)](r),a=await s[e(421)](r)}catch(t){return void console[e(395)](t)}i[e(482)][e(416)]((t=>{const s=e;for(const e of Array[s(426)](i[s(482)][s(420)][s(410)](s(489))))t[s(491)](e)})),s[e(400)]=!1,i[e(482)][e(504)]((t=>{const s=e;t[s(383)](null),t[s(479)](i[s(482)][s(397)][s(414)][s(448)]());const n=Object[s(389)](o);for(const e of i[s(482)][s(397)][s(388)])s(507)!=e[s(438)]&&e[s(484)]()&&!n[s(477)](e[s(438)])&&t[s(497)](e);for(const e of n){let n=i[s(482)][s(397)][s(436)](e);n&&n[s(484)]()||(n=t[s(406)](e));const r=a[e],c=Object[s(389)](r),u=o[e];for(const e of n[s(448)]())c[s(477)](e)||t[s(445)](e,n);for(const i of c)t[s(441)](i,a[e][i],n);t[s(505)](t[s(437)](n)),t[s(443)](i[s(471)][s(501)](u,n),n,0)}}));const u=J(i[e(372)],e(430));return c=r[e(499)]?-1==r[e(499)][e(487)](u)?u+": "+r[e(499)]:r[e(499)]:u+": "+r[e(424)][e(508)](i[e(372)][e(432)],{month:e(472),day:e(411)})+", "+r[e(424)][e(466)](i[e(372)][e(432)],{hour:e(411),minute:e(411)}),await n[e(452)]({name:c}),s[e(400)]=!0,i[e(375)][e(481)](e(460))[e(495)]()}}function Jo(){var t=["410EOsgIK","661787mxWBiX","8760184ClyRGz","10646830lwJzxH","86318zPANwf","9RdrbGH","49384vrSlKX","6129673Zzmatr","2637885KOxARf","23KLXtOH","24OQbIib"];return(Jo=function(){return t})()}function Go(t,e){var i=Jo();return(Go=function(t,e){return i[t-=301]})(t,e)}!function(t){for(var e=Go,i=t();;)try{if(710841===parseInt(e(303))/1*(parseInt(e(309))/2)+parseInt(e(302))/3+-parseInt(e(311))/4*(parseInt(e(305))/5)+-parseInt(e(304))/6*(-parseInt(e(306))/7)+-parseInt(e(307))/8*(-parseInt(e(310))/9)+-parseInt(e(308))/10+-parseInt(e(301))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|