@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250524.0 → 0.0.0-nightly-20250525.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/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.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/revisionviewer/changedetailsview.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:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ao});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==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E;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(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){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 E=/^(?:0|[1-9]\d*)$/;function M(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 E.test(t)}}function V(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,V(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 L(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 j(){const t=["3786oYKmMv","creator","name","1453160tHUusT","396875kXNFBr","setName","585atPRvZ","authorsIds","1367432ZGTHgK","_update","8722273eKpacU","2409660Czveej","toJSON","fire","creatorId","diffData","model","attributes","toVersion","setAttribute","set","23890936KLrEmz","removeAttribute","fromVersion","authors","map","createdAt"];return(j=function(){return t})()}const P=z;function z(t,e){const i=j();return(z=function(t,e){return i[t-=131]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(740876===-parseInt(e(131))/1+parseInt(e(155))/2*(-parseInt(e(134))/3)+parseInt(e(136))/4+parseInt(e(132))/5+parseInt(e(139))/6+-parseInt(e(138))/7+parseInt(e(149))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(j);class W extends((0,t.ObservableMixin)()){id;[P(156)];[P(152)];[P(143)];[P(146)];[P(151)];[P(144)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(156)]=e[i(156)]||null,this[i(152)]=e[i(152)]||[],this[i(143)]=e[i(143)]||null,this[i(146)]=e[i(146)]||0,this[i(151)]=e[i(151)]||0,this[i(148)](i(157),e[i(157)]||""),this[i(148)](i(154),e[i(154)]||new Date),this[i(148)](i(145),e[i(145)]||{})}[P(133)](t){this[P(137)]({name:t})}[P(147)](t,e){const i=P,s=R(this[i(145)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(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]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(137)]({attributes:s})}[P(150)](t){const e=P,i=R(this[e(145)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(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 L(t,V(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(137)]({attributes:i})}[P(137)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(157),i(154),i(143),i(152),i(145),i(146),i(151),i(142)];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(152)]&&(n[i(135)]=n[i(152)][i(153)]((t=>t.id)),delete n[i(152)]),this[i(141)](i(137),n,e))}[P(140)](){const t=P;return{id:this.id,name:this[t(157)],creatorId:this[t(156)]?this[t(156)].id:null,authorsIds:this[t(152)][t(153)]((t=>t.id)),diffData:this[t(143)],createdAt:this[t(154)],attributes:this[t(145)],fromVersion:this[t(151)],toVersion:this[t(146)]}}}var U=i(782),Z=i(211),H=i(783);function q(t,e){const i=B();return(q=function(t,e){return i[t-=215]})(t,e)}const $=q;function B(){const t=["href","toVersion","8lCRuCn","map","earlier","getIndex","oldRevisionId","editor","addRevision","getLaterVisibleRevision","from","authorsIds","12299364TMQFXT","11202110ILTRrD","getUser","9LZWLIl","fromVersion","push","getRevisionsInDiff","reverse","diffData","isPremiumPlugin","data","getRevisions","Users","748899wnOdYj","add","_revisions","later","attributes","13928352cGfiPN","RevisionsRepository","length","4003890xNlZUo","getRevisionsIterator","1763358hFkekl","newRevisionId","fromCharCode","createRevision","createdAt","getRevision","pluginName","afterInit","get","292KABsqJ","name","isOfficialPlugin","creatorId","toJSON","requires","plugins","isNaN","join","getEarlierVisibleRevision","17345OCmffi"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(935865===-parseInt(e(215))/1+parseInt(e(237))/2*(-parseInt(e(260))/3)+parseInt(e(224))/4*(-parseInt(e(234))/5)+-parseInt(e(268))/6+parseInt(e(247))/7+parseInt(e(265))/8+parseInt(e(250))/9*(parseInt(e(248))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[$(262)];static get[$(229)](){return[Z.Users]}static get[$(221)](){return $(266)}static get[$(226)](){return!0}static get[$(256)](){return!0}get[$(267)](){const t=$;return this[t(262)][t(267)]}constructor(e){const i=$;super(e),this[i(262)]=new t.Collection}[$(222)](){!async function(e){const i=k([89,114,106,102,97,57,55,111,75,81,99,74,84,70,122,121,112,73,56,78,51,116,80,118,113,49,86,67,101,115,83,104,110,76,66,69,88,71,87,98,82,117,53,90,120,48,52,109,68,119,50,108,107,77,65,72,105,103,79,100,54,85]),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=q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(231)](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([89]);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=q;return t[e(238)]((t=>String[e(217)](t)))[e(232)]("")}!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:1748044800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=q,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(235)]);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)}[$(218)](t){const e=$,i=this[e(242)][e(230)][e(223)](e(259));return new W({id:t.id,name:t[e(225)],creator:t[e(227)]?i[e(249)](t[e(227)]):null,diffData:t[e(255)]||t[e(257)],authors:t[e(246)][e(238)]((t=>i[e(249)](t))),createdAt:new Date(t[e(219)]),attributes:t[e(264)],fromVersion:t[e(251)],toVersion:t[e(236)]})}[$(243)](t,e=0){const i=$;this[i(262)][i(261)](t,e)}[$(220)](t){const e=$;return this[e(262)][e(223)](t)}[$(258)](t={toJSON:!1}){const e=$,i=Array[e(245)](this[e(262)]);return i[e(254)](),t[e(228)]?i[e(238)]((t=>t[e(228)]())):i}[$(240)](t){const e=$;return this[e(262)][e(240)](t)}[$(233)](t){const e=$,[,i]=this[e(269)](t,{direction:e(239)});return i}[$(244)](t){const e=$,[,i]=this[e(269)](t,{direction:e(263)});return i}[$(253)](t){const e=$,i=[];for(const s of this[e(269)](t[e(216)]))if(i[e(252)](s),s.id===t[e(241)])break;return i}*[$(269)](t,{direction:e=$(239),filter:i=()=>!0}={}){const s=$,n=s(239)===e?1:-1;let r=this[s(262)][s(223)](t),o=this[s(240)](r);for(yield r;r;){if(o+=n,r=this[s(220)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=407]})(t,e)}function K(){const t=["editing","1450694YGuGJu","children","filter","insertions","pluginName","_makeModelFromViewString","useFillerType","from","htmlProcessor","62396nxdfRx","_viewClassToTypeChar","loadRevisionData","_appendChild","getRevisionDocumentData","parse","customProperties","data","getRevision","fillerOffset","4765977zEaCEA","getRevisionRootsAttributes","config","map","createElement","startsWith","domChildrenToView","72443MbCssC","childNodes","getFillerOffset","_getTypeCharForViewElement","domConverter","string","toModel","isOfficialPlugin","3bJXtIE","410yIbWTJ","isAttached","length","name","revision-end","get","viewChildrenToDom","default","marked","innerHTML","attributes","RevisionHistoryUtils","2597472VUDplW","attributesAfter","domDocument","10PUVZmB","_typeCharToViewClass","document","constructor","processor","_getViewFromDiffObj","render","diffData","forEach","append","view","_setCustomProperty","attachChange","revision-start","data-revision-","type","488YgAZKt","editor","38481773nfrLsP","1145798nzPjIF","div","collaboration.channelId","isPremiumPlugin","_removeRevisionMarkers","toData"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(679256===-parseInt(e(429))/1+-parseInt(e(436))/2*(parseInt(e(470))/3)+parseInt(e(445))/4*(-parseInt(e(471))/5)+parseInt(e(407))/6+-parseInt(e(462))/7*(parseInt(e(426))/8)+parseInt(e(455))/9+parseInt(e(410))/10*(parseInt(e(428))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class Q extends U.Plugin{static get[J(440)](){return J(482)}static get[J(469)](){return!0}static get[J(432)](){return!0}[J(446)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[J(411)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[J(447)](t,e){const i=J;if(t[i(417)]||!e)return;const s=this[i(427)][i(457)][i(476)](i(431)),n=await e[i(453)]({channelId:s,revisionId:t.id});t[i(417)]=n[i(417)]}[J(449)](t){const e=J,i={};for(const s in t[e(417)]){if(t[e(417)][s][e(422)]&&!t[e(417)][s][e(422)][e(472)])continue;const n=this[e(433)](JSON[e(450)](t[e(417)][s][e(439)])),r=this[e(427)][e(435)][e(420)][e(412)],o=new H.ViewDocumentFragment(r,n[e(458)]((t=>this[e(415)](t,!1))));this[e(427)][e(452)][e(414)][e(442)](e(479)),i[s]=this[e(427)][e(452)][e(414)][e(434)](o),this[e(427)][e(452)][e(414)][e(442)](e(478))}return i}[J(456)](t){const e=J,i={};for(const s in t[e(417)])t[e(417)][s][e(422)]&&!t[e(417)][s][e(422)][e(472)]||(i[s]=t[e(417)][s][e(408)]||{});return i}[J(465)](t){const e=J;return this[e(446)][e(476)](t[e(413)])}[J(415)](t,e){const i=J,s=this[i(427)][i(435)][i(420)][i(412)];if(i(467)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(425)]||"r"==t[i(425)]?[]:t[i(437)][i(458)]((t=>this[i(415)](t,e)));const o=this[i(411)][i(476)](t[i(425)])||H.ViewElement,a=this[i(427)][i(452)][i(444)][i(466)];if(n=new o(s,t[i(474)],t[i(481)],r),"u"==t[i(425)]&&t[i(437)][0]){const r=t[i(437)][0];if(n[i(416)]=function(t){const e=i,s=t[e(459)](e(430));return s[e(480)]=r,s[e(463)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(448)](n);const e=Array[i(443)](a[i(477)](t,{bind:!1})),r=a[i(409)][i(459)](i(430));r[i(419)](...e),n=Array[i(443)](a[i(461)](r))[0]}}else if("r"==t[i(425)]&&t[i(437)][0]){const r=t[i(437)][0];if(n[i(416)]=function(t){t[i(480)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(448)](n);const e=Array[i(443)](a[i(477)](t,{bind:!1})),r=a[i(409)][i(459)](i(430));r[i(419)](...e);const o=Array[i(443)](a[i(461)](r));o[i(473)]>1?n[i(448)](o):n=o[0]}}if(t[i(451)])for(const[e,s]of t[i(451)])n[i(421)](e,s);const c=void 0===t[i(454)]?null:t[i(454)];return null!==c&&(n[i(464)]=()=>c),n}}[J(441)](t){const e=J,i=JSON[e(450)](t),s=this[e(427)][e(435)][e(420)][e(412)],n=new H.ViewDocumentFragment(s,i[e(458)]((t=>this[e(415)](t,!0))));return this[e(427)][e(452)][e(468)](n)}[J(433)](t){const e=J;return(t=t[e(438)]((t=>!t[e(474)]||e(423)!==t[e(474)]&&e(475)!==t[e(474)])))[e(418)]((t=>{const i=e;i(467)!=typeof t&&(t[i(437)]=this[i(433)](t[i(437)]),t[i(481)]=t[i(481)][i(438)]((t=>!t[0][i(460)](i(424)))))})),t}}function X(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 tt(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 et(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 it(t,e,r,o)}return it(t,e,r,o)}function it(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)===(E=s)||Number.isNaN(R)&&Number.isNaN(E)}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,E;const M=(s=s??new Map).get(t),V=s.get(i);if(null!=M&&null!=V)return M===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)||!et(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=>et(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(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(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(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=ct();return(ot=function(t,e){return i[t-=241]})(t,e)}!function(t){const e=ot,i=t();for(;;)try{if(946348===-parseInt(e(555))/1+-parseInt(e(423))/2+-parseInt(e(301))/3*(-parseInt(e(279))/4)+-parseInt(e(554))/5+-parseInt(e(526))/6+-parseInt(e(257))/7*(parseInt(e(389))/8)+parseInt(e(503))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ct);class at extends U.Plugin{[rt(255)];[rt(515)];[rt(411)]=null;[rt(345)];[rt(292)]=null;[rt(527)];[rt(560)];[rt(418)];[rt(284)];[rt(433)];[rt(538)];[rt(303)];[rt(394)];[rt(439)];static get[rt(372)](){return rt(340)}static get[rt(550)](){return!0}static get[rt(473)](){return!0}static get[rt(346)](){return[Z.Users,Y,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(345)]=this[i(270)][i(403)][i(296)](i(322)),this[i(433)]=this[i(270)][i(403)][i(296)](i(417)),this[i(527)]=new ut(this[i(270)]),this[i(418)]=this[i(270)][i(510)][i(296)](i(412))||i(393),this[i(284)]=new Map,this[i(439)]=null;const s=(0,t.uid)();this[i(560)]={history:this[i(270)][i(370)][i(359)][i(470)],getLatestVersion:()=>Promise[i(536)](this[i(270)][i(370)][i(359)][i(471)]),getCurrentRevisionId:()=>s},this[i(297)](i(387),!1),this[i(297)](i(514),!0),this[i(297)](i(369),!1),this[i(270)][i(510)][i(373)](i(278),!0),this[i(270)][i(516)][i(543)](i(347))[i(482)]({view:i(376)})}[rt(384)](){const t=rt;this[t(556)](),this[t(270)][t(534)].on(t(427),(()=>{const e=t,i=this[e(345)][e(466)](0),s=i&&null===i[e(535)]?i:null;if(this[e(303)]=!!s&&this[e(270)][e(510)][e(296)](e(278)),this[e(270)][e(403)][e(383)](e(521))){const t=this[e(560)][e(375)](),n=this[e(345)][e(466)](t);if(n)this[e(394)]=n[e(252)],this[e(303)]=!1;else{const t=this[e(560)][e(470)][e(436)][e(444)]((t=>!t[e(397)])),n=t?t[e(318)]:this[e(560)][e(470)][e(471)];i?(i[e(334)]<n&&i[e(496)]({toVersion:n}),this[e(303)]?(this[e(560)][e(375)]=()=>s.id,this[e(394)]=s[e(252)]):(this[e(394)]=i[e(334)],this[e(303)]=!1)):(this[e(394)]=n,this[e(303)]=!1)}}else s&&(this[e(270)][e(370)][e(359)][e(470)][e(471)]=Math[e(553)](s[e(334)],this[e(270)][e(370)][e(359)][e(470)][e(471)]),s[e(252)]===s[e(334)]?(0!==s[e(252)]&&(this[e(560)][e(375)]=()=>s.id),this[e(303)]=!1):this[e(303)]&&(this[e(560)][e(375)]=()=>s.id,this[e(394)]=s[e(252)])),this[e(303)]||(this[e(394)]=this[e(270)][e(370)][e(359)][e(471)]);this[e(527)][e(384)](this[e(560)][e(470)]),this[e(308)](this[e(394)]),this[e(291)](this[e(394)]),this[e(292)]&&this[e(461)]()})),this[t(282)](t(387)).to(this,t(369),(t=>!t)),this[t(255)]=this[t(270)][t(510)][t(296)](t(255));const e=this[t(270)];this[t(515)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(541)==r||i(395)==r||i(488)==r||i(398)==r||i(483)==r||i(421)==r||i(268)==r||i(499)==r){delete e[n],s=r,clearInterval(this[i(515)]),this[i(515)]=void 0;break}}i(395)==s&&e[i(558)](i(276)),i(488)==s&&e[i(558)](i(468)),i(398)==s&&e[i(558)](i(313)),i(483)==s&&e[i(558)](i(399),i(531)),i(421)==s&&e[i(558)](i(331)),i(268)==s&&e[i(558)](i(367)),i(499)==s&&e[i(558)](i(413))}),1e3)}async[rt(434)](){const t=rt;if(this[t(345)][t(249)]>0){const e=this[t(345)][t(466)](0),i=await this[t(312)](e),s=await this[t(336)](e);this[t(539)](i,s)}}[rt(293)](){const t=rt;super[t(293)](),this[t(515)]&&clearInterval(this[t(515)])}[rt(450)](t){this[rt(560)]=t}async[rt(405)](){const t=rt,e=await this[t(560)][t(311)]();if(e>this[t(411)][t(334)]){await this[t(267)]();const i=this[t(357)]({revision:this[t(411)],to:e});i[t(294)]=i[t(269)][t(447)]((e=>this[t(270)][t(403)][t(296)](t(545))[t(464)](e))),this[t(411)][t(496)](i)}}async[rt(487)](e={},i=null){const s=rt,n=[];await this[s(267)](),this[s(303)]=!1,i>this[s(411)][s(334)]&&(i=null),null===i&&(i=await this[s(560)][s(311)]());const r=this[s(501)](i),o=this[s(357)]({from:r,to:i});if(this[s(411)][s(334)]<i){const t=this[s(357)]({revision:this[s(411)],from:i,to:i});t[s(294)]=[],t[s(269)]=[],t.id=this[s(411)].id,this[s(411)][s(496)](t,!0),delete t[s(294)],n[s(275)](t)}e[s(344)]=this[s(270)][s(403)][s(296)](s(545)).me.id,e[s(505)]=e[s(505)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(382)](e);n[s(275)](e);const c=this[s(345)][s(428)](a);if(0!==c){const t=this[s(345)][s(466)](c-1);if(t[s(252)]!==i){const r=this[s(527)][s(366)](i,t[s(334)]),o={id:t.id,diffData:r[s(517)],authorsIds:r[s(269)],authors:r[s(269)][s(447)]((t=>this[s(270)][s(403)][s(296)](s(545))[s(464)](t))),fromVersion:i};t===this[s(411)]&&(o[s(508)]=new Date(e[s(508)][s(329)]()+10)),t[s(496)](o,!0),delete o[s(294)],n[s(275)](o)}}if(this[s(292)]){for(const t of n)this[s(264)](t.id,t,!0);this[s(461)]()}return a}[rt(382)](t){const e=rt,i=this[e(345)][e(497)](t);return this[e(292)]&&i.on(e(496),((t,i,s)=>{const n=e;s||(this[n(264)](i.id,i,!0),this[n(461)]())})),this[e(345)][e(321)](i,this[e(542)](i)),i}async[rt(312)](t){const e=rt;return await this[e(433)][e(562)](t,this[e(292)]),this[e(433)][e(312)](t)}async[rt(336)](t){const e=rt;return await this[e(433)][e(562)](t,this[e(292)]),this[e(433)][e(336)](t)}[rt(461)](){const t=rt;if(0===this[t(284)][t(250)])return;if(this[t(369)])return;let e=Array[t(274)](this[t(284)][t(253)]());this[t(284)][t(549)]();for(let i=0;i<e[t(249)];i++){const s=e[i];let n=!1;for(const e of Object[t(438)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(365)]((t=>null!==t)),!e[t(249)])return;for(let i=0;i<e[t(249)];i++){const s=e[i];void 0!==s[t(252)]&&void 0===s[t(334)]&&(s[t(334)]=this[t(345)][t(466)](s.id)[t(334)]),void 0!==s[t(334)]&&void 0===s[t(252)]&&(s[t(252)]=this[t(345)][t(466)](s.id)[t(252)])}const i=this[t(270)][t(510)][t(296)](t(412));this[t(369)]=!0,this[t(459)](),this[t(292)][t(307)](e,i)[t(391)]((()=>{this[t(369)]=!1}))[t(352)]((e=>{const i=t;if(e)for(const t of e)this[i(504)]({id:t.id,createdAt:t[i(508)]});this[i(320)](),this[i(461)]()}))}[rt(357)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(252)],i=null!==i?i:t[s(334)];const n=this[s(527)][s(366)](e,i),r={diffData:n[s(517)],authorsIds:n[s(269)],fromVersion:e,toVersion:i};if(!t||i!==t[s(334)]){const t=i-1,e=this[s(560)][s(470)][s(465)](t);r[s(508)]=e&&e[s(508)]||new Date}if(this[s(439)]&&e===this[s(439)][s(252)])for(const t of this[s(439)][s(294)])r[s(269)][s(509)](t.id)||r[s(269)][s(275)](t.id);return r}[rt(264)](t,e,i){const s=rt;if(this[s(284)][s(383)](t)){const n=this[s(284)][s(296)](t);e=i?{...n,...e}:{...e,...n}}this[s(284)][s(297)](t,e)}[rt(504)](t){const e=rt,i=this[e(345)][e(466)](t.id);if(t[e(508)]&&(t[e(508)]=new Date(t[e(508)])),t[e(269)]){const i=this[e(270)][e(403)][e(296)](e(545));t[e(294)]=t[e(269)][e(447)]((t=>i[e(464)](t)))}i[e(496)](t,!0)}[rt(308)](t){const e=rt,i=this[e(345)][e(466)](this[e(345)][e(249)]-1);if(i)this[e(418)]=i.id;else{const i=!this[e(270)][e(370)][e(359)][e(490)][e(444)]((t=>this[e(270)][e(370)][e(310)](t))),s=this[e(270)][e(403)][e(296)](e(545)).me.id,n=X(this[e(270)][e(544)],e(i?360:245));this[e(431)]({from:t,to:t,id:this[e(418)],name:n,creatorId:s})}}[rt(291)](t){const e=rt,i=this[e(560)][e(375)]();this[e(411)]=this[e(345)][e(466)](i),this[e(411)]||(this[e(411)]=this[e(431)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(267)](){const t=rt;this[t(303)]&&!this[t(439)]&&(await this[t(433)][t(562)](this[t(411)],this[t(292)]),this[t(527)][t(547)](this[t(411)]),this[t(439)]={fromVersion:this[t(411)][t(252)],authors:this[t(411)][t(294)][t(400)]()})}[rt(539)](e,i){const s=rt;let n=this[s(270)][s(510)][s(296)](s(272)),r=this[s(270)][s(510)][s(296)](s(415));if(void 0===n){n={};for(const t of this[s(270)][s(370)][s(359)][s(260)]())n[t]=""}if(s(522)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(270)][s(370)][s(359)][s(260)]())r[t]={}}let o=!1;const a=Object[s(438)](n),c=Object[s(438)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(263)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(438)](r[t])[s(249)]>0){o=!0;break}}o||(o=c[s(462)]((t=>!this[s(270)][s(370)][s(359)][s(302)](t)))),o&&(0,t.logWarning)(s(309),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(270)][s(510)][s(297)](s(272),e),this[s(270)][s(510)][s(297)](s(415),i)}[rt(459)](){const t=rt;if(!this[t(538)]){const e=this[t(270)][t(403)][t(296)](t(425));this[t(538)]=e[t(304)](X(this[t(270)][t(544)],t(559)))}}[rt(320)](){const t=rt;this[t(538)]&&(this[t(270)][t(403)][t(296)](t(425))[t(333)](this[t(538)]),this[t(538)]=null)}[rt(542)](t){const e=rt,i=this[e(345)][e(364)]();i[e(349)]();let s=0;for(;s<i[e(249)];){const n=i[s];if(n===this[e(411)]){s++;continue}if(n.id===this[e(418)])break;const r=t[e(334)]-n[e(334)]||t[e(252)]-n[e(252)];if(r>0)break;if(r<0)s++;else{if(!t[e(535)]&&n[e(535)])break;if(n[e(535)]||!t[e(535)]){if(t[e(508)]>n[e(508)])break;s++}else s++}}return s}[rt(501)](t){const e=rt,i=this[e(345)][e(364)]();i[e(349)](),i[e(523)]();const s=i[e(444)]((i=>i[e(334)]<=t))[e(334)];return s<this[e(394)]?this[e(394)]:s}[rt(431)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(357)]({from:e,to:i});o[r(505)]=t,o[r(344)]=s,o.id=n;const a=this[r(382)](o);return this[r(292)]&&this[r(264)](o.id,o,!0),a}[rt(556)](){const t=rt;this[t(270)][t(516)][t(543)](t(353))[t(380)]({model:t(376)})}}function ct(){const t=["plugins","previousPosition","update","createPositionAt","_removeMetaData","createPositionBefore","type","createRange","currentRevision","collaboration.channelId","usageLimit","_getBaseVids","rootsAttributes","tableCell","RevisionHistoryUtils","_initialRevisionId","getCustomProperties","getOperations","revisionHistoryLicenseKeyEvaluationLimit","_handleRootOperation","1161066RXvGLg","_touchedMarkers","PendingActions","$graveyard","ready","getIndex","_copyMarkers","_cloneOperation","_makeRevision","htmlProcessor","_utils","afterInit","_handleMarkerOperation","_operations","_getPreviousFrom","keys","_loadedStateData","newRange","range","key","children","find","keepParagraph","_touched","map","deletion","_isAttached","setSource","_revisionId","graveyardPosition","attachChange","toView","start","insertionPosition","uiElement","getAttributes","_addPendingAction","_handleOperation","sendBufferedUpdates","some","item","getUser","getOperation","getRevision","attributesAfter","expired","offset","history","version","getChild","isPremiumPlugin","vid_start","vid","source","render","move","getChildren","getAncestors","getRange","dataToMarker","revisionHistoryLicenseKeyNotAllowed","stringify","_handleRootAttributeOperation","getTransformedByOperation","saveRevision","revisionHistoryLicenseKeyExpired","rawElement","roots","path","elementStart","_lastFrom","detachRoot","_fixOperation","_update","createRevision","paragraph","revisionHistoryLicenseKeyUsageLimit","nodeAfter","_getFromVersion","getMovedRangeStart","36408861AmDfAR","setRevisionData","name","clone","_execute","createdAt","includes","config","_generateTape","_authorId","_getViewJson","isEnabled","_licenseKeyCheckInterval","conversion","diffData","_lastTo","splitPosition","getWalker","RealTimeCollaborationClient","string","shift","isEqual","_clone","2212218DxXamo","_revisionDataBuilder","_handleMergeOperation","_makeModelFromViewString","delete","RevisionHistory","revision:","$comment","data","creator","resolve","_calculateMetaData","_pendingAction","_replaceEditorDataWithRevisionData","createElement","revisionHistoryLicenseKeyValid","_findInsertionIndex","for","locale","Users","$text","loadState","attributesBefore","clear","isOfficialPlugin","childCount","_getVidAttributeName","max","2199895sKbrHA","1371683AAniTe","_setConversion","domConverter","_showLicenseError","PENDING_ACTION_REVISION_HISTORY","_source","changeRootAttribute","loadRevisionData","_getState","_processRootBeforeSave","text","customProperties","Initial revision","rootName","insertion","sourcePosition","length","size","merge","fromVersion","values","insertions","licenseKey","_prepareViewToSave","258517QdpbfG","userId","domDocument","getRootNames","_savedMetaData","_applyOperations","trim","_bufferUpdate","_baseRoots","NEGATIVE_INFINITY","_loadState","revisionHistoryLicenseKeyTrialLimit","authorsIds","editor","offsetSize","initialData","_fixPosition","from","push","invalid","_diffRoots","revisionHistory.resumeUnsavedRevision","8CqMzGO","_diffRootsAttributes","markers","bind","_markChanges","_bufferedUpdates","_handleMoveOperation","fromEntries","isAttached","outerHTML","addRootAttribute","_saveMetaData","_createCurrentRevision","adapter","destroy","authors","innerHTML","get","set","_startingRevisionId","_idsRoots","reInit","1653189nDqLgp","getRoot","_continueCurrentRevision","add","split","newValue","updateRevisions","_createInitialRevision","editor-initial-data-replaced-with-revision-data","hasContent","getLatestVersion","getRevisionDocumentData","domainLimit","elementEnd","addRoot","root","insert","baseVersion","end","_removePendingAction","addRevision","RevisionsRepository","element","marker","getFillerOffset","createRangeIn","_createFromRanges","_baseRootsAttributes","getTime","_reset","evaluationLimit","parent","remove","toVersion","fillerOffset","getRevisionRootsAttributes","_transformMarkers","vid_end","_appendChild","RevisionTracker","howMany","getAttribute","_baseIdsRoots","creatorId","repository","requires","upcast","createPositionFromPath","reverse","sort","_makeIdsRoot","then","dataDowncast","_markers","_handleSplitOperation","oldRange","buildRevisionData","_insertChild","document","Empty document","_handleInsertOperation","affectsData","nodes","getRevisions","filter","getData","trialLimit","_getTypeCharForViewElement","_isPendingUpdate","model","startsWith","pluginName","define","documentFragment","getCurrentRevisionId","revision","getNodeByPath","stickiness","isAdd","markerToData","createPositionAfter","addRevisionData","has","init","position","reinsert","isReady","_setAttribute","312wtujmX","_fixRange","finally","removeRootAttribute","initial","_startingVersion","revisionHistoryLicenseKeyInvalid","targetPosition","_isInit","revisionHistoryLicenseKeyDomainLimit","featureNotAllowed","slice","_touchedRoots","deletions"];return(ct=function(){return t})()}class ut{[rt(270)];[rt(476)];[rt(261)];[rt(493)];[rt(518)];[rt(354)];[rt(277)];[rt(280)];[rt(265)];[rt(328)];[rt(299)];[rt(343)];[rt(446)];[rt(424)];[rt(401)];[rt(451)];[rt(298)];constructor(t){const e=rt;this[e(270)]=t,this[e(261)]=new Map,this[e(493)]=-1,this[e(518)]=-1,this[e(354)]=new Map,this[e(277)]=new Map,this[e(280)]=new Map,this[e(265)]=new Map,this[e(328)]=new Map,this[e(299)]=new Map,this[e(343)]=new Map,this[e(446)]=new Map,this[e(424)]=new Map,this[e(401)]=new Map,this[e(451)]=1}[rt(384)](t){const e=rt;this[e(476)]=t;const i=new Map,s=new Map,n=this[e(270)][e(370)][e(359)][e(490)][e(447)]((t=>t[e(246)]));for(const t of n){const n=this[e(270)][e(370)][e(359)][e(302)](t),r=lt(n);i[e(297)](t,r),s[e(297)](t,Object[e(286)](n[e(458)]()))}const r=Array[e(274)](this[e(270)][e(370)][e(281)])[e(447)]((t=>[t[e(505)],t[e(481)]()])),o=this[e(476)][e(471)];this[e(290)](o,i,r,s),this[e(298)]=this[e(451)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(297)](t,i),c[e(297)](t,{})}this[e(290)](Number[e(266)],a,[],c)}[rt(366)](t,e){const i=rt;if(this[i(493)]===t&&this[i(518)]<=e)this[i(261)][i(250)]>1&&this[i(407)](this[i(518)]),this[i(262)](this[i(518)],e,!0);else{if(!this[i(261)][i(383)](t)){const e=this[i(437)](t);this[i(537)](e,t,!1)}this[i(537)](t,e,!0)}return this[i(493)]=t,this[i(518)]=e,this[i(241)]()}[rt(547)](t){const e=rt,i=this[e(270)][e(403)][e(296)](e(417));this[e(330)](),this[e(493)]=t[e(252)],this[e(518)]=t[e(334)];for(const s in t[e(517)]){const n=t[e(517)][s][e(453)],r=R(t[e(517)][s][e(548)])||{},o=i[e(529)](t[e(517)][s][e(402)]);o[e(246)]=s,o[e(449)]=!n||!n[e(287)],o[e(287)]=()=>o[e(449)],this[e(265)][e(297)](s,o),this[e(328)][e(297)](s,r),n&&this[e(401)][e(297)](s,n);const a=this[e(351)](o);this[e(343)][e(297)](s,a);for(const[t,i]of o[e(281)]){if(!t[e(371)](e(532)))continue;const s=t[e(305)](":")[2];for(const t of i[e(520)]({singleCharacters:!0})){const i=this[e(552)](t),n=e(314)==t[e(409)]?t[e(404)][e(491)][e(400)](0,-1):t[e(404)][e(491)],r=a[e(377)](n)[e(342)](i);this[e(446)][e(297)](r,{userId:s})}}}this[e(298)]=this[e(451)];const s=[...Array(this[e(451)])[e(438)]()][e(400)](1)[e(365)]((t=>!this[e(446)][e(383)](t)));let n=0;const r=new Map;for(const o in t[e(517)]){const a=t[e(517)][o][e(453)],c=R(t[e(517)][o][e(467)])||{},u=i[e(529)](t[e(517)][o][e(254)]);u[e(246)]=o,u[e(449)]=!a||a[e(287)],u[e(287)]=()=>u[e(449)],this[e(277)][e(297)](o,u),this[e(280)][e(297)](o,c);const l=this[e(351)](u,Number[e(266)]);this[e(299)][e(297)](o,l),r[e(297)](o,u[e(287)]()?c:{});for(const[t,i]of u[e(281)]){if(!t[e(371)](e(532)))continue;const s=t[e(305)](":")[2];for(const t of i[e(520)]({singleCharacters:!0})){const i=this[e(552)](t),n=this[e(451)]++,r=e(314)==t[e(409)]?t[e(404)][e(491)][e(400)](0,-1):t[e(404)][e(491)];l[e(377)](r)[e(388)](i,n),this[e(446)][e(297)](n,{userId:s})}}for(const t of this[e(270)][e(370)][e(326)](u)[e(520)]({singleCharacters:!0})){const i=this[e(552)](t),r=e(314)==t[e(409)]?t[e(404)][e(491)][e(400)](0,-1):t[e(404)][e(491)],o=l[e(377)](r);o[e(342)](i)>0||o[e(388)](i,s[n++])}for(const[t,i]of u[e(281)])t[e(371)](e(532))||this[e(354)][e(297)](t,i)}const o=ht(e(426));this[e(265)][e(297)](e(426),o),this[e(343)][e(297)](e(426),this[e(351)](o,1));const a=ht(e(426));this[e(277)][e(297)](e(426),a),this[e(299)][e(297)](e(426),this[e(351)](a,1));const c=Array[e(274)](this[e(277)])[e(447)]((([t,e])=>[t,lt(e)]));this[e(290)](this[e(518)],c,this[e(354)],r)}[rt(300)](){const t=rt;this[t(330)](),this[t(493)]=-1,this[t(518)]=-1,this[t(261)][t(549)](),this[t(384)](this[t(476)])}[rt(290)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(297)](t,{start:e[n(455)][n(506)](),end:e[n(319)][n(506)](),rootName:e[n(316)][n(246)]});this[n(261)][n(297)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(407)](t){const e=rt;this[e(261)][e(530)](t)}[rt(330)](){const t=rt;this[t(446)][t(549)](),this[t(424)][t(549)](),this[t(401)][t(549)](),this[t(277)][t(549)](),this[t(280)][t(549)](),this[t(265)][t(549)](),this[t(328)][t(549)](),this[t(299)][t(549)](),this[t(343)][t(549)](),this[t(354)][t(549)](),this[t(451)]=1,this[t(298)]=this[t(451)]}[rt(351)](t,e=null){const i=rt;let s=null;t.is(i(374))||(s=new H.Element(t[i(505)],{vid_start:null===e?this[i(451)]++:e++}));const n=[];for(const s of t[i(479)]())if(s.is(i(323))){n[i(275)](this[i(351)](s,e));const t=n[n[i(249)]-1];null!==e&&(e=t.is(i(323),i(546))?t[i(342)](i(475))+1:t[i(342)](i(338))+1)}else for(let t=0;t<s[i(271)];t++)n[i(275)](new H.Element(i(546),{vid:null===e?this[i(451)]++:e++}));if(t.is(i(374))){const e=ht(t[i(246)]);return e[i(358)](0,n),e}return s[i(388)](i(338),null===e?this[i(451)]++:e++),s[i(358)](0,n),s}[rt(537)](t,e,i){const s=rt;this[s(330)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(261)][s(296)](t);this[s(265)]=new Map(n),this[s(328)]=new Map(R(o));for(const[t,e]of this[s(265)])if(s(426)!==t&&(this[s(277)][s(297)](t,lt(e)),this[s(280)]=new Map(R(o)),i)){const i=this[s(451)];this[s(299)][s(297)](t,this[s(351)](e)),this[s(343)][s(297)](t,this[s(351)](e,i))}this[s(298)]=this[s(451)],this[s(277)][s(297)](s(426),lt(this[s(265)][s(296)](s(426)))),i&&this[s(299)][s(297)](s(426),this[s(351)](this[s(265)][s(296)](s(426))));for(const[t,e]of r){const i=this[s(265)][s(296)](e[s(246)]),n=this[s(277)][s(296)](e[s(246)]),r=new H.Range(this[s(273)](e[s(455)],i),this[s(273)](e[s(319)],i)),o=this[s(390)](r,n);i[s(281)][s(297)](t,r),this[s(354)][s(297)](t,o)}this[s(262)](t,e,i)}[rt(262)](t,e,i){const s=rt;for(const n of this[s(476)][s(420)](t,e))this[s(460)](n,i);for(const t of this[s(277)][s(253)]())t[s(281)][s(549)]();for(const[t,e]of this[s(354)])this[s(277)][s(296)](e[s(316)][s(246)])[s(281)][s(297)](t,e[s(506)]());const n=new Map,r=new Map;for(const[t,e]of this[s(277)])n[s(297)](t,lt(e)),r[s(297)](t,this[s(280)][s(296)](t));this[s(290)](e,n,this[s(354)],r)}[rt(437)](t){const e=rt,i=Array[e(274)](this[e(261)][e(438)]());i[e(350)](((t,e)=>t-e)),i[e(349)]();for(const e of i)if(e<t)return e;return Number[e(266)]}[rt(429)](t,e){const i=rt,s=Array[i(274)](e[i(281)])[i(447)]((([e,s])=>[e,this[i(390)](s,t)]));t[i(281)]=new Map(s)}[rt(337)](t){const e=rt;for(const i of this[e(354)][e(253)]()){const s=i[e(486)](t),n=H.Range[e(327)](s);i[e(455)]=n[e(455)],i[e(319)]=n[e(319)]}}[rt(460)](t,e){const i=rt;if(i(315)!=t[i(409)]&&i(494)!=t[i(409)]){if(i(317)==t[i(409)]){const s=t[i(385)][i(316)][i(246)];this[i(277)][i(383)](s)||(this[i(277)][i(297)](s,ht(s,!0)),this[i(280)][i(297)](s,{}),e&&this[i(299)][i(297)](s,ht(s,!0)))}else{if(i(289)==t[i(409)]||i(392)==t[i(409)]||i(561)==t[i(409)])return void this[i(485)](t);i(324)==t[i(409)]&&this[i(435)](t)}if(i(324)!==t[i(409)]){const e=this[i(430)](t,this[i(277)]);e[i(507)](),this[i(337)](e)}if(e)switch(t[i(409)]){case i(317):this[i(361)](t);break;case i(478):case i(333):case i(386):this[i(285)](t);break;case i(251):this[i(528)](t);break;case i(305):this[i(355)](t)}}else this[i(422)](t,e)}[rt(430)](t,e){const i=rt,s=t[i(506)]();return s[i(512)]=t[i(512)],this[i(495)](s,e),s}[rt(414)](t){const e=rt;return t[e(447)]((t=>{const i=e,s=this[i(552)](t);return Number(t[i(463)][i(342)](s))}))}[rt(511)](t,e){const i=rt;if(t.is(i(323),i(546)))e[i(275)]({item:t,type:i(243)});else{t.is(i(323))&&e[i(275)]({item:t,type:i(492)});for(const s of t[i(479)]())this[i(511)](s,e);t.is(i(323))&&e[i(275)]({item:t,type:i(314)})}return e}[rt(241)](){const t=rt,e=new Map(this[t(446)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(265)][t(438)](),...this[t(277)][t(438)]()]);a[t(530)](t(426));for(const e of a){const i=this[t(277)][t(296)](e)||ht(e,!1),s=this[t(265)][t(296)](e)||ht(e,!1);i[t(287)]()||s[t(287)]()?(n[t(254)][e]=lt(i),n[t(402)][e]=lt(s),this[t(429)](n[t(402)][e],s),this[t(429)](n[t(254)][e],i),r[t(254)][e]=this[t(511)](this[t(299)][t(296)](e),[]),r[t(402)][e]=this[t(511)](this[t(343)][t(296)](e)||ht(e,!1),[])):a[t(530)](e)}for(const n of a){const o=r[t(254)][n];for(const n of o){const r=this[t(552)](n),o=n[t(463)][t(342)](r);i[t(530)](o),o>=this[t(298)]&&s[t(297)](o,e[t(296)](o))}}for(const n of a){const a=r[t(254)][n],c=this[t(414)](r[t(402)][n]);let u=0;for(const n of a){const r=this[t(552)](n),a=n[t(463)][t(342)](r);if(!s[t(383)](a)&&!o[t(383)](a))if(i[t(383)](a))u++;else{if(a!=c[u]){const s=e[t(296)](a)||e[t(296)](c[u]);for(;a!=c[u];)i[t(383)](c[u])||(o[t(297)](c[u],s),e[t(297)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(254)][e];for(const e of n){const n=this[t(552)](e),r=e[t(463)][t(342)](n);if(o[t(383)](r)){const e=o[t(296)](r);i[t(383)](r)||i[t(297)](r,{...e}),s[t(297)](r,{...e})}}}for(const e of i[t(438)]())e>=this[t(298)]&&i[t(530)](e);const c=new Map;for(const e of a){let n=r[t(254)][e];for(const e of n)if(e[t(463)].is(t(323),t(416))){const i=this[t(552)](e),n=e[t(463)][t(342)](i);if(s[t(383)](n)){const i=e[t(463)][t(332)][t(332)][t(342)](t(474)),r=c[t(296)](i)||new Set;r[t(304)](s[t(296)](n)[t(258)]),c[t(297)](i,r)}}n=r[t(402)][e];for(const e of n)if(e[t(463)].is(t(323),t(416))){const s=this[t(552)](e),n=e[t(463)][t(342)](s);if(i[t(383)](n)){const s=e[t(463)][t(332)][t(332)][t(342)](t(474)),r=c[t(296)](s)||new Set;r[t(304)](i[t(296)](n)[t(258)]),c[t(297)](s,r)}}for(const e of c[t(438)]())(s[t(383)](e)||i[t(383)](e))&&c[t(530)](e)}for(const e of a){const n=r[t(254)][e];let o=null,a=null;for(const e of n){const n=this[t(552)](e),r=e[t(463)][t(342)](n),u=c[t(296)](r);u&&t(492)==e[t(409)]&&(o=Array[t(274)](u)[0],a=e[t(463)][t(342)](t(338))),o&&(i[t(297)](r,{userId:o}),s[t(297)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(402)][e],a=n[t(254)][e];for(const{userId:e}of this[t(424)][t(253)]())null!==e&&l[t(304)](e);for(const{userId:e}of this[t(401)][t(253)]())null!==e&&l[t(304)](e);this[t(283)](a,r[t(254)][e],s,t(247),l),this[t(283)](o,r[t(402)][e],i,t(448),l),u[e]={insertions:this[t(256)](a),deletions:this[t(256)](o),attachChange:this[t(401)][t(296)](e)||null,attributesBefore:R(this[t(328)][t(296)](e))||{},attributesAfter:R(this[t(280)][t(296)](e))}}return{diffData:u,authorsIds:Array[t(274)](l)}}[rt(242)](t){const e=rt;for(const[,i]of t[e(281)]){const t=i[e(455)][e(480)]()[e(365)]((t=>e(416)==t[e(505)]));for(const i of t)1==i[e(551)]&&i[e(472)](0).is(e(323),e(498))&&i[e(472)](0)[e(388)](e(445),!0)}}[rt(256)](t){const e=rt;this[e(242)](t);const i=this[e(270)][e(534)][e(454)](t,{}),s=Array[e(274)](i[e(479)]())[e(447)]((t=>this[e(513)](t)));return JSON[e(484)](s)}[rt(513)](t){const e=rt;if(t.is(e(546)))return t[e(534)];{const i=this[e(270)][e(403)][e(296)](e(417)),s=t,n=this[e(270)][e(534)][e(432)][e(557)],r={type:i[e(368)](s),name:s[e(505)],attributes:Array[e(274)](s[e(458)]()),children:Array[e(274)](s[e(479)]())[e(447)]((t=>this[e(513)](t)))};if(t.is(e(457))&&e(533)!=t[e(505)]){const i=t[e(477)](n[e(259)],n);r[e(443)][e(275)](i[e(288)])}else if(t.is(e(489))){const i=n[e(259)][e(540)](s[e(505)]);t[e(477)](i,n),r[e(443)][e(275)](i[e(295)])}const o=Array[e(274)](s[e(419)]());o[e(249)]>0&&(r[e(244)]=o);const a=s[e(325)]();return null!==a&&(r[e(335)]=a),r}}[rt(283)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(270)][r(370)];for(let s=0;s<e[r(249)];s++){const n=this[r(552)](e[s]),c=e[s][r(463)][r(342)](n),h=i[r(296)](c),d=s==e[r(249)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(258)]!=o[r(258)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(258)],d=l(532)+s+":"+h+":"+c++,f=u[l(410)](i,a);t[l(281)][l(297)](d,f),null!==h&&n[l(304)](h)}}[rt(552)](t){const e=rt;switch(t[e(409)]){case e(492):return e(474);case e(314):return e(338);default:return e(475)}}[rt(495)](t,e){const i=rt;t[i(318)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(296)](n[i(316)][i(246)]);t[s]=this[i(273)](n,r)}if(n instanceof H.Range){const r=e[i(296)](n[i(316)][i(246)]);t[s]=this[i(390)](n,r)}i(316)===s&&(t[i(316)]=e[i(296)](t[i(316)][i(246)]))}}[rt(390)](t,e){const i=rt;return this[i(270)][i(370)][i(410)](this[i(273)](t[i(455)],e),this[i(273)](t[i(319)],e))}[rt(273)](t,e){const i=rt;return this[i(270)][i(370)][i(348)](e,t[i(491)],t[i(378)])}[rt(361)](t){const e=rt,i=this[e(299)][e(296)](t[e(385)][e(316)][e(246)]),s=this[e(273)](t[e(385)],i),n=null===t[e(512)]?null:t[e(512)]||this[e(270)][e(403)][e(296)](e(545)).me.id,r=s[e(332)],o=this[e(451)],a=[];for(const i of t[e(363)])if(i.is(e(323)))a[e(275)](this[e(351)](i));else for(let t=0;t<i[e(271)];t++)a[e(275)](new H.Element(e(546),{vid:this[e(451)]++}));const c=this[e(451)];for(let t=o;t<c;t++)this[e(446)][e(297)](t,{userId:n});r[e(358)](s[e(469)],a)}[rt(285)](t){const e=rt;(t=this[e(430)](t,this[e(299)]))[e(507)]();const i=null===t[e(512)]?null:t[e(512)]||this[e(270)][e(403)][e(296)](e(545)).me.id,s=t[e(502)](),n=s[e(332)],r=s[e(469)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(472)](e);r.is(a(323),a(546))?s[a(297)](r[a(342)](a(475)),{userId:i}):(s[a(297)](r[a(342)](a(474)),{userId:i}),t(s,r,0,r[a(551)]),s[a(297)](r[a(342)](a(338)),{userId:i}))}}(this[e(446)],n,r,r+t[e(341)])}[rt(528)](t){const e=rt,i=null===(t=this[e(430)](t,this[e(299)]))[e(512)]?null:t[e(512)]||this[e(270)][e(403)][e(296)](e(545)).me.id,s=t[e(396)][e(332)],n=t[e(248)][e(332)],r=s[e(342)](e(338)),o=n[e(342)](e(474));s[e(388)](e(338),n[e(342)](e(338))),n[e(388)](e(338),r),this[e(446)][e(297)](o,{userId:i}),this[e(446)][e(297)](r,{userId:i}),t[e(507)]()}[rt(355)](t){const e=rt,i=null===(t=this[e(430)](t,this[e(299)]))[e(512)]?null:t[e(512)]||this[e(270)][e(403)][e(296)](e(545)).me.id,s=t[e(452)],n=t[e(519)][e(332)];t[e(507)]();const r=n[e(342)](e(338)),o=t[e(456)][e(500)];if(s){const t=o[e(342)](e(338)),s=n[e(342)](e(338));n[e(388)](e(338),t),o[e(388)](e(338),s),this[e(446)][e(297)](n[e(342)](e(338)),{userId:i}),this[e(446)][e(297)](o[e(342)](e(474)),{userId:i})}else{const t=this[e(451)]++,s=this[e(451)]++;n[e(388)](e(338),t),o[e(388)](e(474),s),o[e(388)](e(338),r),this[e(446)][e(297)](t,{userId:i}),this[e(446)][e(297)](s,{userId:i})}}[rt(435)](t){const e=rt;if(!t[e(362)])return;const i=(t=this[e(430)](t,this[e(277)]))[e(356)]?t[e(356)][e(316)]:null,s=t[e(440)]?t[e(440)][e(316)]:null;i&&this[e(354)][e(530)](t[e(505)]),s&&this[e(354)][e(297)](t[e(505)],t[e(440)][e(506)]());const n=null===t[e(512)]?null:t[e(512)]||this[e(270)][e(403)][e(296)](e(545)).me.id,r=t[e(505)];if(!this[e(424)][e(383)](r))return void this[e(424)][e(297)](r,{range:t[e(356)],userId:n});const o=this[e(424)][e(296)](r),a=o[e(441)],c=t[e(440)];null==a&&null==c||a&&c&&a[e(524)](c)?this[e(424)][e(530)](t[e(505)]):o[e(258)]=n}[rt(422)](t,e){const i=rt;this[i(277)][i(383)](t[i(246)])?this[i(277)][i(296)](t[i(246)])[i(449)]=t[i(379)]:(this[i(277)][i(297)](t[i(246)],ht(t[i(246)],!0)),this[i(280)][i(297)](t[i(246)],{}),e&&this[i(299)][i(297)](t[i(246)],ht(t[i(246)],!0)));const s=null===t[i(512)]?null:t[i(512)]||this[i(270)][i(403)][i(296)](i(545)).me.id,n=this[i(401)][i(296)](t[i(246)]);n&&n[i(258)]===s?this[i(401)][i(530)](t[i(246)]):this[i(401)][i(297)](t[i(246)],{userId:s,isAttached:t[i(379)]})}[rt(485)](t){const e=rt,i=this[e(280)][e(296)](t[e(316)][e(246)]);null===t[e(306)]?delete i[t[e(442)]]:i[t[e(442)]]=t[e(306)]}}function lt(t){const e=rt,i=ht(t[e(246)],t[e(287)]());for(const s of t[e(479)]()){const t=s[e(525)](!0);i[e(339)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(246)]=t,s[i(449)]=e,s[i(287)]=()=>s[i(449)],s}function dt(t,e,i){const s=rt,n=s(314)==t[s(409)]?i[s(406)](t[s(463)],s(319)):i[s(408)](t[s(463)]);return i[s(348)](e,n[s(491)],n[s(378)])}function ft(t,e,i){const s=rt,n=s(492)==t[s(409)]?i[s(406)](t[s(463)],0):i[s(381)](t[s(463)]);return i[s(348)](e,n[s(491)],n[s(378)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Ot();gt()(Nt.A,At);Nt.A&&Nt.A.locals&&Nt.A.locals;const Rt=Et;function Et(t,e){const i=Mt();return(Et=function(t,e){return i[t-=355]})(t,e)}function Mt(){const t=["label","33470ohSpIq","1MphgYm","optional","5337PxABoi","revisionNameInputValue","292iEVsjz","220","keystrokes","focus","errorText","focusTracker","add","setTemplate","stopPropagation","set","Name of the revision","3667578zIxuGy","arrowup","ck-responsive-form","5803408MgWZnk","36710DIsTRo","1624091OeHjfT","791074AkxQGt","value","reset","arrowleft","extendTemplate","ck-revision-history-save-revision-form","input","locale","revisionNameInputView","form","trim","render","415914JaZjzQ","fieldView","arrowdown","arrowright","revisionName","element","listenTo","_createRevisionNameInput"];return(Mt=function(){return t})()}!function(t){const e=Et,i=t();for(;;)try{if(376438===parseInt(e(393))/1*(parseInt(e(371))/2)+-parseInt(e(383))/3+-parseInt(e(397))/4*(parseInt(e(392))/5)+-parseInt(e(365))/6+-parseInt(e(370))/7+-parseInt(e(368))/8+-parseInt(e(395))/9*(-parseInt(e(369))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Vt extends pt.View{[Rt(359)];[Rt(356)];[Rt(379)];constructor(e,i){const s=Rt;super(e),this[s(359)]=new t.FocusTracker,this[s(356)]=new t.KeystrokeHandler,this[s(363)](s(396),""),this[s(379)]=this[s(390)](i),this[s(361)]({tag:s(380),attributes:{class:["ck",s(376),s(367)],tabindex:"-1"},children:[this[s(379)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(382)](){const t=Rt;super[t(382)](),(0,pt.submitHandler)({view:this}),this[t(359)][t(360)](this[t(379)][t(388)]),this[t(356)][t(389)](this[t(388)]);const e=e=>e[t(362)]();this[t(356)][t(363)](t(386),e),this[t(356)][t(363)](t(374),e),this[t(356)][t(363)](t(366),e),this[t(356)][t(363)](t(385),e)}[Rt(357)](){const t=Rt;this[t(379)][t(357)]()}get[Rt(387)](){const t=Rt;return this[t(379)][t(384)][t(388)][t(372)][t(381)]()}set[Rt(387)](t){const e=Rt;this[e(379)][e(384)][e(388)][e(372)]=t[e(381)]()}[Rt(373)](){const t=Rt;this[t(379)][t(384)][t(388)][t(372)]="",this[t(379)][t(358)]=null}[Rt(390)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(378)],pt.createLabeledInputText),s=i[e(384)];s[e(375)]({attributes:{maxlength:e(355)}});let n=X(this[e(378)],e(364));return!t&&(n+=" ("+X(this[e(378)],e(394))+")"),i[e(391)]=n,s.on(e(377),(()=>{const t=e;this[t(396)]=s[t(388)][t(372)][t(381)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=152]})(t,e)}function Ft(){const t=["componentFactory","_registerMenuComponent","_createSaveRevisionFormView","RevisionTracker","init","submit","5727546lmszem","Cancel","role","buttonView","delegate","revisionHistory.requireRevisionName","revisionHistory","revisionNameInputView","_showDialog","editor","isReadOnly","set","get","RevisionHistoryUI","render","230901LJdVyS","children","menu","execute","111181UOcfen","Save current revision","272601PTwtBP","requires","config","addMany","Revision history","editing","saveRevision","hide","bind","view","isReady","items","menuitem","showRevisionViewerCallback","Accept","add","4265wZYFvb","pluginName","isOfficialPlugin","locale","_saveRevisionFormView","85950HJWgqI","focus","reset","revisionName","ck-button-action","isEnabled","5848ZSkMbD","430sHzvvE","show","isPremiumPlugin","Open revision history","72EVHzZU","Dialog","isOpen","revisionSave","panelView","The revision name cannot be empty.","plugins","errorText","menuBar:revisionHistory","946816SEzmjL"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(896892===parseInt(e(166))/1+-parseInt(e(204))/2*(parseInt(e(193))/3)+-parseInt(e(199))/4*(-parseInt(e(188))/5)+-parseInt(e(220))/6+-parseInt(e(170))/7+parseInt(e(213))/8+parseInt(e(172))/9*(parseInt(e(200))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends U.Plugin{static get[Dt(189)](){return Dt(164)}static get[Dt(190)](){return!0}static get[Dt(202)](){return!0}static get[Dt(173)](){return[at]}[Dt(192)];[Dt(218)](){const t=Dt,e=this[t(160)],i=e[t(210)][t(163)](t(217));e.ui[t(214)][t(187)](t(157),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(208)][n(167)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(180)](n(198)).to(i,n(182),i,n(198),e,n(161),((t,e,i)=>t&&e&&!i)),r[n(154)][n(162)]({icon:mt.IconHistory,label:X(s,n(176)),tooltip:!0}),u[n(162)]({label:X(s,n(171)),withText:!0,role:n(184)}),u[n(180)](n(198)).to(i,n(182),i,n(198),e,n(161),((t,e,i)=>t&&e&&!i)),u.on(n(169),(()=>this[n(159)]())),h[n(162)]({label:X(s,n(203)),withText:!0,role:n(184)}),h[n(180)](n(198)).to(i,n(182),e,n(161),((t,e)=>t&&!e)),h.on(n(169),(()=>{const t=n;e[t(174)][t(163)](t(157))[t(185)](),r[t(206)]=!1,e[t(177)][t(181)][t(194)]()})),c[n(167)][n(187)](u),l[n(167)][n(187)](h),a[n(153)]=n(168),a[n(183)][n(175)]([c,l]),o[n(187)](a),r})),e.ui[t(214)][t(187)](t(212),(()=>this[t(215)]()))}[Dt(215)](){const t=Dt,e=this[t(160)],i=e[t(191)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(154)][t(162)]({icon:mt.IconHistory,label:X(i,t(176))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(162)]({label:X(i,t(171))}),o[t(155)](t(169)).to(s),o.on(t(169),(()=>{this[t(159)]()})),r[t(167)][t(187)](o),n[t(183)][t(187)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(162)]({label:X(i,t(203))}),c[t(155)](t(169)).to(s),c.on(t(169),(()=>{const i=t;e[i(174)][i(163)](i(157))[i(185)]()})),a[t(167)][t(187)](c),n[t(183)][t(187)](a),s[t(208)][t(167)][t(187)](n),s}[Dt(159)](){const t=Dt,e=this[t(160)],i=e[t(191)],s=e[t(210)][t(163)](t(205)),n=e[t(210)][t(163)](t(217));function r(n){const r=t;e[r(174)][r(163)](r(156))&&""===n[r(196)]?n[r(158)][r(211)]=X(i,r(209)):(e[r(210)][r(163)](at)[r(178)]({name:n[r(196)]}),s[r(179)]())}this[t(192)]||(this[t(216)](),this[t(192)].on(t(219),(()=>r(this[t(192)])))),this[t(192)][t(195)](),s[t(201)]({id:t(207),title:X(i,t(171)),isModal:!0,content:this[t(192)],actionButtons:[{label:X(e[t(191)],t(152)),withText:!0,onExecute:()=>s[t(179)]()},{label:X(e[t(191)],t(186)),class:t(197),withText:!0,onCreate(i){const s=t;i[s(180)](s(198)).to(n,s(182),n,s(198),e,s(161),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(192)])}]})}[Dt(216)](){const t=Dt,e=this[t(160)],i=e[t(191)];this[t(192)]=new Vt(i,e[t(174)][t(163)](t(156))),this[t(192)][t(165)]()}}const jt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=283]})(t,e)}function zt(){const t=["author","name","add","focus","2143168gngxKZ","297072emiLea","507252CWGqDf","type","Suggested by","bindTemplate","isSuggestion","ck-revision-change__","setTemplate","ck-revision-change__label","ck-annotation","426616EGzDuZ","set","ck-revision-change","Added by","div","18dpRgVE","span","data","Removed by","13251560tFBgNJ","3936527RzpHIH","225EINAve","changeId","element","3dGrRgd","560555oJAirv","_model"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(874043===parseInt(e(314))/1+parseInt(e(283))/2+parseInt(e(306))/3*(-parseInt(e(313))/4)+-parseInt(e(307))/5+-parseInt(e(297))/6*(parseInt(e(302))/7)+parseInt(e(292))/8*(parseInt(e(303))/9)+parseInt(e(301))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[jt(304)];[jt(308)];constructor(t,e){const i=jt;super(t),this[i(308)]=e,this[i(304)]=e.id;const s=this[i(286)],n=X(t,e[i(299)][i(287)]?i(285):i(311)==e[i(284)]?i(295):i(300));this[i(293)](i(284),e[i(284)]),this[i(289)]({tag:i(296),attributes:{class:[i(291),i(294),s.to(i(284),(t=>i(288)+t))],tabindex:-1},children:[{tag:i(298),children:[{tag:i(298),attributes:{class:[i(290)]},children:[{text:n}]},{text:" "+e[i(309)][i(310)]}]}]})}[jt(312)](){const t=jt;this[t(305)][t(312)]()}}var Ut=Ht;!function(t){for(var e=Ht,i=t();;)try{if(635612===-parseInt(e(348))/1+parseInt(e(356))/2*(-parseInt(e(358))/3)+parseInt(e(350))/4*(-parseInt(e(343))/5)+parseInt(e(344))/6*(-parseInt(e(347))/7)+-parseInt(e(352))/8+-parseInt(e(345))/9+parseInt(e(349))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends((0,t.ObservableMixin)()){id;[Ut(353)];[Ut(357)];[Ut(351)];[Ut(342)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(353)]=e[i(353)],this[i(357)]=e[i(357)],this[i(351)]=e[i(351)]||{},this[i(342)]=e[i(342)],this[i(355)](i(354),e[i(354)])}[Ut(346)](){var t=Ut;return{id:this.id,authorId:this[t(353)].id,type:this[t(357)],data:this[t(351)],createdAt:this[t(354)]}}}function Ht(t,e){var i=qt();return(Ht=function(t,e){return i[t-=342]})(t,e)}function qt(){var t=["152537orzpXH","45828510oLhXiV","12yNaspu","data","8702504xfejxL","author","createdAt","set","4832WTdaWf","type","483NJCqsi","rootName","2117800WXHvPE","38472WHjoPp","6539697mfQNtN","toJSON","350pGCLEl"];return(qt=function(){return t})()}const $t=Yt;function Bt(){const t=["2924248VJXCjE","2340432QUGcxO","2357301wztqJR","3215018kiTIWJ","1059751LXQxpH","newRevisionId","oldRevisionId","25989435KDFmSX","567zEQXMm","add","_setChanges","changes","67152AzIDOt","15geuUyT"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=115]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(806072===parseInt(e(122))/1+parseInt(e(121))/2+parseInt(e(120))/3+parseInt(e(118))/4+parseInt(e(117))/5*(-parseInt(e(119))/6)+parseInt(e(126))/7*(parseInt(e(116))/8)+-parseInt(e(125))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt{[$t(123)];[$t(124)];[$t(115)];constructor(e,i){const s=$t;this[s(123)]=e,this[s(124)]=i,this[s(115)]=new t.Collection}[$t(128)](t){const e=$t;for(const i of t)this[e(115)][e(127)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Qt=Xt;function Xt(t,e){const i=te();return(Xt=function(t,e){return i[t-=216]})(t,e)}function te(){const t=["config","add","requires","mouseover","insert","ck-revision-history-root--active","updatePosition","_activeViewTarget","showPreviousChange","consume","clear","revision:","includes","ck-suggestion-marker-","listenTo","_initInteractions","removeAttribute","nextPosition","element:pre","view","isRemoveSuggestion","RevisionHistoryUtils","mapViewToDom","pop","_utils","schema","deletions","findIndex","selection","attachChange","createAttributeElement","previousPosition","_setDistance","530XPbNbg","getIndex","change:isReady","side","nextSibling","execute","attributesBefore","_sortAndFilterDiffChanges","ck-suggestion-preview-marker","currentChangeNumber","error","data","1689300KwakoQ","_setConversion","ck-revision-history-root-","isAtEnd","slice","set","abs","object","_revisions","markerName","uiElement","addMarker:revision-suggestion:insertion","bind","commands","compare","reconvertMarker","item","toViewRange","catch","attributes","showNextChange","getRevisionRootsAttributes","ck-suggestion-marker","isPremiumPlugin","restoreRevisionCallback","vid_start","getRootNames","merge","maxOffset","getCustomProperty","getRoot","consumable","ck-editor__editable__overlay","13989uPfoaG","comment","activeChange","data-change-id","enqueueChange","roots","markerToData","all","change:isEnabled","addRevisionData","split","authors","change:activeChange","_threeWayMerge","distance","filter","isOnRoot","parent","ck-revision-history-root-remove","concat","removeClass","_joinTapes","revisionHistoryLabel","affectsData","insertion","RevisionsRepository","revisionHistory","map","isObject","_changeIdToChange","viewItem","_makeTape","_markInsertions","isAddSuggestion","_data","markerToHighlight","stop","domEvent","RevisionViewer","enableReadOnlyMode","diffData","markerRange","isInline","return","change","setAttribute","toViewElement","refresh","low","deletion","1634456oFtEar","high","revision","POSITIVE_INFINITY","_fixObsoleteTags","createPositionBefore","from","change:numberOfChanges","loadRevisionData","delete","isBlock","isAtStart","writer","isIncorrect","right","_getDiff","createRangeIn","isOfficialPlugin","activeView","remove","removeMarker","find","indexOf","repository","getRevisionDocumentData","level","addRevision","next","elementStart","_getRevisionsRange","first","createRange","isReady","diff","checkAttribute","markers","length","isRemoved","element","mousedown","_removeMissingPairs","getLaterVisibleRevision","createPositionFromPath","start","isAttached","_makeModelFromViewString","_setChanges","getClientRects","elementEnd","dataDowncast","ck-revision-history-root-add","editing","string","isLimit","newRevisionId","highest","createUIElement","addClass","getDomRoot","endIndex","getAttributes","oldRevisionId","init","pluginName","softBreak","removeMarker:revision-suggestion","document","rootName","vid_end","revision-suggestion:","markerNameToElements","-new","_refreshStartEndIndex","revision-comment:","detachRoot","isAfter","isCollapsed","shift","getAttribute","has","hasClass","49YfkwRo","_processTape","forceDisabled","attribute:vid","hasAttribute","wrap","addRoot","destroy","modelRange","unbindElementFromMarkerName","markersStart","addHighlight","plugins","247550oozlSn","range","isContent","revision-suggestion","insertions","upcast","top","1658188eGJGAu","getRevision","test","createRevision","getWalker","384294kpuqdE","end","for","isEqual","isBefore","then","showStack","editor","_removeUnsupportedChanges","flat","code","changes","sort","70Fzxigu","text","splice","_getChangeFromId","getChild","_makeModelFromTape","_findChangeIdFromDomTarget","restoreRevision","addMarker:revision-suggestion:deletion","dataToMarker","ck-suggestion-marker-split","left","type","173437PiOIgL","keys","getItems","offsetSize","name","suggestion:","ck-suggestion-marker--active","span","observeMarkers","startsWith","conversion","_cleanMarkers","elementToAttribute","isNavigationMode","_markSuggestions","userId","attributesAfter","resolve","removeMarker:revision","editingDowncast","pairId","_changeView","markersEnd","revision-viewer","get","index","locale","numberOfChanges","vid","change:activeView","suggestion","_markMismatchedRemovedTags","revisionHistoryAttachChange","_update","done","addMarker:revision","model","_appendChild","mapper","bottom","push","isSuggestion","ck-suggestion-marker-merge","domConverter","_markMarkers","startIndex","values","changeId","target","nodeAfter","isAdded","5ixDhTG","_getViewForChange","unshift","isEnabled","ck-suggestion-preview-marker-","WidgetToolbarRepository","downcastDispatcher","adapter","forEach","forward","toViewPosition","_cleanUp","backward","_balloon","_step","bindElementToMarker"];return(te=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(280423===-parseInt(e(470))/1+parseInt(e(495))/2*(parseInt(e(326))/3)+parseInt(e(477))/4*(-parseInt(e(232))/5)+-parseInt(e(482))/6*(parseInt(e(457))/7)+parseInt(e(376))/8+parseInt(e(293))/9+-parseInt(e(281))/10*(-parseInt(e(508))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Qt(399)];[Qt(239)]=null;[Qt(272)];[Qt(255)];[Qt(529)];[Qt(355)];[Qt(245)];static get[Qt(439)](){return Qt(364)}static get[Qt(393)](){return!0}static get[Qt(316)](){return!0}static get[Qt(250)](){return[Z.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(399)]=this[e(489)][e(469)][e(532)](e(351)),this[e(272)]=this[e(489)][e(469)][e(532)](e(269)),this[e(298)](e(328),null),this[e(298)](e(394),null),this[e(255)]=null,this[e(298)](e(409),null),this[e(298)](e(408),!1),this[e(298)](e(235),!0),this.on(e(334),((t,i,s)=>{const n=e;this[n(328)]=null,this[n(394)]=null,this[n(489)][n(427)][n(267)][n(370)]((t=>{const e=n;for(const i of this[e(489)][e(427)][e(267)][e(442)][e(331)])s?t[e(346)](e(325),i):t[e(433)](e(325),i)}))})),this[e(305)](e(521)).to(this,e(328),(t=>null!==t)),this[e(305)](e(290)).to(this,e(408),this,e(409),this,e(328),((t,i,s)=>t&&s?i[e(493)][e(282)](s):0)),this[e(305)](e(535)).to(this,e(408),this,e(409),((t,i)=>t?i[e(493)][e(412)]:0)),this[e(529)]=null,this[e(355)]=new Map,this[e(245)]=this[e(489)][e(469)][e(532)](pt.ContextualBalloon)}[Qt(438)](){const t=Qt,e=this[t(489)],i=new ne(e,{direction:t(244)}),s=new ne(e,{direction:t(241)});e[t(306)][t(249)](t(256),i),e[t(306)][t(249)](t(313),s),e[t(306)][t(249)](t(502),new se(e)),this.on(t(383),(()=>{const e=t;i[e(373)](),s[e(373)]()})),this[t(294)](),this[t(263)](),e[t(365)](t(531)),e[t(469)][t(455)](t(237))&&e[t(469)][t(532)](t(237))[t(459)](t(531))}async[Qt(400)](t){const e=Qt;return await this[e(272)][e(384)](t,this[e(239)]),this[e(272)][e(400)](t)}async[Qt(314)](t){const e=Qt;return await this[e(272)][e(384)](t,this[e(239)]),this[e(272)][e(314)](t)}async[Qt(307)](t,e,i=!1){const s=Qt;if(!this[s(235)])return;const n=this[s(409)],r=this[s(399)],o=s(428)==typeof t?r[s(478)](t):t,a=s(428)==typeof e?r[s(478)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(409)]&&this[s(409)][s(430)]===c&&this[s(409)][s(437)]===u)return Promise[s(525)]();this[s(408)]=!1,this[s(394)]=null,this[s(328)]=null,this[s(409)]=new Jt(c,u);const l=this[s(405)](o,a,!0)[s(353)]((t=>this[s(272)][s(384)](t,this[s(239)])));return l[s(221)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(333)](l)[s(487)]((()=>{const t=s;if(!this[t(235)])return;this[t(243)]();const e=this[t(391)](c,u);for(const i of e[t(493)])this[t(355)][t(298)](i.id,i);this[t(489)][t(217)][t(330)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(489)][s(217)][s(442)][s(319)]())i[s(450)](t);for(const t of Object[s(509)](e[s(217)])){const n=i[s(463)](t);for(const r of Object[s(509)](e[s(312)][t]))i[s(371)](r,e[s(312)][t][r],n);i[s(252)](e[s(217)][t],n,0)}})),this[t(409)][t(422)](this[t(288)](e[t(493)])),this[t(408)]=!0}))[s(311)]((t=>{const e=s;console[e(291)](t),this[e(243)](),n&&(this[e(409)]=n),this[e(408)]=!0}))}[Qt(335)](t,e){const i=Qt,s=this[i(399)][i(480)](t);return s.on(i(541),((t,i,n)=>e(i,n,s))),this[i(399)][i(402)](s),s}[Qt(243)](){const t=Qt;this[t(328)]=null,this[t(519)](),this[t(529)]&&this[t(529)][t(464)](),this[t(529)]=null,this[t(355)][t(258)](),this[t(489)][t(217)][t(330)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(489)][i(217)][i(442)][i(319)]())e[i(450)](t)}))}[Qt(288)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(489)][e(217)][e(442)][e(319)]()){const n=this[e(489)][e(427)][e(267)][e(434)](t);if(!n)continue;const r=n[e(423)]()[e(309)](0);r&&(i[e(221)](t),s[e(298)](t,r))}return i[e(494)](((t,i)=>{const n=e,r=s[n(532)](t),o=s[n(532)](i);return r.y-o.y||r.x-o.x})),(t=t[e(341)]((t=>i[e(260)](t[e(443)]))))[e(494)](((t,s)=>i[e(398)](t[e(443)])-i[e(398)](s[e(443)]))),t}[Qt(357)](t){const e=Qt,i=Array[e(382)](t[e(411)])[e(341)]((([t,i])=>t[e(517)](e(259))&&!i[e(452)])),s=Array[e(382)](this[e(489)][e(217)][e(392)](t)[e(481)]({singleCharacters:!0}));if(0!=i[e(412)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(336)](":");if(n[e(483)][e(485)](t[e(265)])&&i[e(453)](),(t[e(279)][e(485)](n[e(419)])||t[e(279)][e(451)](n[e(419)]))&&(e(350)==r?t[e(231)]={userId:o}:e(375)==r&&(t[e(413)]={userId:o})),0==i[e(412)])break}return s}[Qt(448)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(412)];s++)e(496)===t[s][e(507)]?(t[s][e(309)][e(226)]=s,t[s][e(309)][e(435)]=s):(e(404)===t[s][e(507)]?t[s][e(309)][e(226)]=s:e(424)===t[s][e(507)]&&(t[s][e(309)][e(435)]=s),i[e(298)](t[s].id,s));for(const s of i[e(227)]())e(404)===t[s][e(507)]?t[s][e(309)][e(435)]=i[e(532)](t[s][e(528)]):e(424)===t[s][e(507)]&&(t[s][e(309)][e(226)]=i[e(532)](t[s][e(528)]))}[Qt(458)](t){const e=Qt;for(let i=0;i<t[e(412)];i++){if(e(404)===t[i][e(507)])t[i][e(309)][e(226)]=i;else if(e(424)===t[i][e(507)]){t[i][e(309)][e(435)]=i;const s=t[i][e(309)][e(226)];t[s][e(528)]=t[i].id,t[i][e(528)]=t[s].id}else t[i][e(309)][e(226)]=i,t[i][e(309)][e(435)]=i,t[i][e(528)]=null;t[i][e(467)]||(t[i][e(467)]=[],t[i][e(530)]=[])}}[Qt(358)](t,e){const i=Qt,s=t[i(341)]((t=>!t[i(231)]));for(let t=0;t<e[i(412)];t++)e[t][i(231)]&&(s[t][i(231)]=e[t][i(231)])}[Qt(391)](t,e=null){const i=Qt,s=this[i(399)][i(478)](t),n=e?this[i(399)][i(478)](e):null,r=this[i(405)](s,n),o=r[r[i(412)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(412)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(509)](e[i(366)]))if(e[i(366)][t][i(277)]){const s=e[i(366)][t][i(277)];s[i(420)]?(u[i(249)](t),l[i(455)](t)&&l[i(532)](t)[i(523)]==s[i(523)]?l[i(385)](t):l[i(298)](t,s)):l[i(455)](t)?(u[i(385)](t),l[i(385)](t)):(u[i(249)](t),l[i(298)](t,s))}else u[i(249)](t)}for(const t of u){const e=l[i(455)](t)&&!l[i(532)](t)[i(420)];let s=e?r[i(412)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(366)][t]){const s=e?o[i(366)][t][i(287)]:o[i(366)][t][i(524)];c[i(312)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(217)]={};for(const e of t[i(337)])a[i(298)](e.id,e);for(const e of u){const s=t[i(366)][e]?t[i(366)][e][i(474)]:"[]",n=t[i(366)][e]?t[i(366)][e][i(274)]:"[]";t[i(217)][e]={insertions:this[i(272)][i(421)](s),deletions:this[i(272)][i(421)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(382)](s[i(217)][t][i(474)][i(411)])[i(341)]((([t])=>!t[i(517)](i(259)))));let h=0;for(const o of r){const r=this[i(357)](o[i(217)][t][i(474)]);o==s?(e=r,n=e[i(412)],e[i(240)]((t=>{t.id=h++})),this[i(458)](e)):this[i(358)](e,r);const a=e[i(341)]((t=>!t[i(231)]))[i(353)]((t=>t.id));let c=0;const l=this[i(357)](o[i(217)][t][i(274)]);l[i(240)]((t=>{t[i(413)]?t.id=n++:t.id=a[c++]})),this[i(458)](l),this[i(280)](e,i(231)),this[i(280)](l,i(413)),o==s&&this[i(225)](e,u),e=this[i(347)](e,l),this[i(448)](e),this[i(280)](e,i(413))}e=e[i(341)]((t=>!(t[i(231)]&&t[i(413)])));const d=new Map(o[i(217)][t][i(274)][i(411)]),f=new Set(u[i(509)]());for(const t of d[i(509)]())f[i(385)](t);this[i(522)](e,f),this[i(380)](e),e=this[i(416)](e),e=this[i(539)](e),e=this[i(490)](e);const{root:m,changes:p}=this[i(500)](e,a,t);c[i(217)][t]=m;const v=l[i(532)](t);if(v){const e=a[i(532)](v[i(523)]),s=new Zt({author:e,type:v[i(420)]?i(249):i(395),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(234)](s),c[i(312)][t][i(540)]=s.id}c[i(493)]=c[i(493)][i(345)](p)}return c}[Qt(225)](t,e){const i=Qt;for(let s=0;s<t[i(412)];s++)for(const[n,r]of e)!r[i(452)]&&r[i(419)][i(485)](t[s][i(279)])&&t[s][i(467)][i(221)](n),r[i(483)][i(485)](t[s][i(265)])&&t[s][i(530)][i(221)](n)}[Qt(347)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(412)]||r<e[i(412)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(221)](o);else if(a[i(413)]&&o[i(231)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(339)](t,n,e,r);s=s[i(345)](o),n=a,r=c}else a[i(413)]?(r++,s[i(221)](a)):(n++,s[i(221)](o))}return s}[Qt(522)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(412)];o++){for(let r=0;r<t[o][i(467)][i(412)];r++){const a=t[o][i(467)][r];if(!e[i(455)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(473)!=c||i(350)!=u&&i(375)!=u||(s[i(234)]({type:u,name:a,userId:l}),t[o][i(467)][i(497)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(530)][i(412)];r++){const a=t[o][i(530)][r];if(!e[i(455)](a))continue;const{group:c,type:u}=n(a);if(i(473)!=c||i(350)!=u&&i(375)!=u)continue;t[o][i(530)][i(497)](r,1),r--;const l=s[i(275)]((t=>t[i(512)]==a));l>-1&&s[i(497)](l,1)}}function n(t){const e=i,s=t[e(336)](":");return{group:s[0],type:s[1],subType:s[e(412)]>=5?s[2]:null,id:s[e(412)]<5?s[2]:s[3],authorId:s[e(412)]<5?s[3]:s[4],markerCount:6==s[e(412)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(412)];i++){if(t[e(231)]&&e(350)==s[i][e(507)]&&t[e(231)][e(523)]==s[i][e(523)])return t[e(359)]=s[i],void delete t[e(231)];if(!t[e(231)]&&!t[e(413)]&&e(375)==s[i][e(507)])return void(t[e(268)]=s[i])}}}[Qt(280)](t,e){const i=Qt;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(298)](o.id,s);for(let s=0;s<t[i(412)];s++){if(i(413)==e&&t[s][i(231)]||i(231)==e&&t[s][i(413)])continue;if(i(496)==t[s][i(507)]){t[s][i(340)]=0;continue}const n=r[i(532)](t[s][i(528)]),o=r[i(532)](t[s].id);t[s][i(340)]=n-o}}[Qt(405)](t,e,i=!1){const s=Qt,n=[];let r=this[s(399)][s(282)](t),o=this[s(399)][s(282)](e);for(-1==o&&(o=this[s(399)][s(301)][s(412)],i=!1);r<o;)n[s(221)](this[s(399)][s(478)](r)),r++;return i&&n[s(221)](this[s(399)][s(478)](r)),n}[Qt(339)](t,e,i,s){const n=Qt,r=this[n(489)][n(217)][n(273)];let o=e;for(;t[o]&&t[o][n(231)];)o++;let a=s;for(;i[a]&&i[a][n(413)];)a++;u(t,e,o),u(i,s,a);const c=i[n(297)](s,a)[n(345)](t[n(297)](e,o));return c[n(494)](((t,e)=>t[n(284)]!=e[n(284)]?t[n(284)]-e[n(284)]:t[n(401)]!=e[n(401)]?t[n(401)]-e[n(401)]:t[n(340)]!=e[n(340)]?e[n(340)]-t[n(340)]:!!t[n(231)]!=!!e[n(231)]?-1==t[n(284)]||0==t[n(284)]?t[n(231)]?-1:1:t[n(231)]?1:-1:t[n(533)]-e[n(533)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(379)],c=!0;for(let n=e;n<i;n++)if(r[s(368)](t[n][s(309)])||(c=!1),t[n][s(309)][s(226)]<e&&(o=n),t[n][s(309)][s(435)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(284)]=n<=o?-1:n<a?0:1,t[n][s(533)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(340)]?t[i][s(401)]=u:(u++,t[i][s(401)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(284)]&&(t[n][s(401)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(340)]?t[e][s(401)]=u:(u--,t[e][s(401)]=u,u--)}}[Qt(380)](t){const e=Qt,i=new Map,s=this[e(489)][e(217)][e(273)];for(let n=1;n<t[e(412)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(496)==c[e(507)])continue;if(c[e(507)]!=u[e(507)])continue;if(!s[e(386)](u[e(309)])||s[e(429)](u[e(309)]))continue;if(!s[e(386)](c[e(309)])||s[e(429)](c[e(309)]))continue;if((t[n][e(231)]||t[n][e(359)])&&t[n-1][e(413)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(413)]||!t[n-1][e(231)]&&!t[n-1][e(359)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(401)]==o[e(401)],h=Math[e(299)](r[e(401)])<Math[e(299)](o[e(401)])&&0==o[e(340)];(l||h)&&(i[e(298)](o.id,r.id),t[e(497)](a,1),n--,r[e(231)]=!1)}for(let s=0;s<t[e(412)];s++)i[e(455)](t[s][e(528)])&&(t[s][e(528)]=i[e(532)](t[s][e(528)]))}[Qt(416)](t){const e=Qt,i=new Set(t[e(353)]((t=>t.id)));for(let s=0;s<t[e(412)];s++)i[e(455)](t[s][e(528)])||0==t[s][e(340)]||(t[s][e(389)]=!0);return t[e(341)]((t=>!t[e(389)]))}[Qt(539)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(412)];s++){if(i[e(455)](t[s].id)&&t[s][e(413)]&&(t[s][e(389)]=!0),t[s][e(389)])continue;if(0==t[s][e(340)])continue;if(e(404)!=t[s][e(507)])continue;if(null==t[s][e(528)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(528)];)e(404)==t[n][e(507)]?r++:e(424)==t[n][e(507)]&&r--,n++;if(0!=r)if(t[s][e(413)])t[s][e(389)]=!0;else for(;n!=s;)t[n][e(413)]&&0!=t[n][e(340)]&&(t[n][e(389)]=!0,i[e(249)](t[n][e(528)])),n--}return t[e(341)]((t=>!t[e(389)]))}[Qt(490)](t){const e=Qt,i=this[e(489)][e(217)][e(273)];for(let s=0;s<t[e(412)];s++){if(!(t[s][e(231)]||t[s][e(359)]||t[s][e(413)]||t[s][e(268)]))continue;if(0==t[s][e(340)])continue;const n=t[s][e(309)];i[e(386)](n)||i[e(429)](n)||(t[s][e(231)]&&delete t[s][e(231)],t[s][e(359)]&&delete t[s][e(359)],t[s][e(268)]&&delete t[s][e(268)],t[s][e(413)]&&(t[s][e(389)]=!0))}return t[e(341)]((t=>!t[e(389)]))}[Qt(500)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(489)][s(217)],c=a[s(273)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(412)];e++)if(s(404)===t[e][s(507)]){t[e][s(279)]=a[s(418)](n,f);const i=new H.Element(t[e][s(309)][s(512)],t[e][s(309)][s(436)]());u[0][s(218)](i),f[s(221)](0),u[s(234)](i),t[e][s(265)]=a[s(418)](n,f)}else s(424)===t[e][s(507)]?(u[s(453)](),t[e][s(279)]=a[s(418)](n,f),f[s(271)](),f[f[s(412)]-1]++,t[e][s(265)]=a[s(418)](n,f)):(t[e][s(279)]=a[s(418)](n,f),d?d[s(360)]+=t[e][s(309)][s(292)]:d=new H.Text(t[e][s(309)][s(292)],t[e][s(309)][s(436)]()),t[e+1]&&s(496)===t[e+1][s(507)]&&v(d,t[e+1][s(309)])||(u[0][s(218)](d),d=null),f[f[s(412)]-1]+=t[e][s(309)][s(511)],t[e][s(265)]=a[s(418)](n,f));for(let e=0;e<t[s(412)];e++){const i=t[e][s(279)],n=t[e][s(265)];for(const n of t[e][s(467)])o[s(298)](n,{start:i,end:null});m(s(268),e,i,n),m(s(359),e,i,n),m(s(413),e,i,n),m(s(231),e,i,n);for(const i of t[e][s(530)]){const t=o[s(532)](i);t?t[s(483)]=n:o[s(298)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(489)][s(217)][s(407)](e[s(419)],e[s(483)]);n[s(411)][s(298)](t,i)}return r[s(494)](((t,e)=>{const i=s,r=n[i(411)][i(532)](i(259)+t.id),o=n[i(411)][i(532)](i(259)+e.id);return r[i(419)][i(486)](o[i(419)])?-1:r[i(419)][i(451)](o[i(419)])?1:r[i(483)][i(486)](o[i(483)])?-1:r[i(483)][i(451)](o[i(483)])?1:i(249)===t[i(507)]?-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(523)]:null,d=i===t[o(412)]-1,f=h[e][0],m=c[o(354)](t[i][o(309)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(483)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(523)]!==u&&(l[e][o(483)]=n,f&&f[o(523)]===l[e][o(523)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(404)!==t[i][o(507)]||f&&f[o(523)]===u||h[e][o(234)]({userId:u,object:t[i][o(309)],change:l[e]}),o(424)===t[i][o(507)]&&f&&f[o(300)]===t[i][o(309)]&&(h[e][o(453)](),l[e]=f[o(370)])),l[e]&&d&&(l[e][o(483)]=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(309)],f=a[h(273)][h(386)](d)&&!a[h(273)][h(429)](d),m=t[h(230)]==o[h(343)]&&o[h(387)];if(f&&m)return;const p=a[h(407)](t,o),v=e[h(532)](u),g=new Zt({author:v,type:h(231)==l||h(359)==l?h(249):h(395),data:{isSuggestion:h(359)==l||h(268)==l},createdAt:new Date,rootName:i});r[h(221)](g),n[h(411)][h(298)](h(259)+g.id,p)}function v(t,e){const i=s,n=t[i(436)](),r=e[i(436)]();for(const t of n){if(t[1]!==e[i(454)](t[0]))return!1;r[i(403)]()}return r[i(403)]()[i(542)]}}[Qt(294)](){const t=Qt;this[t(489)][t(518)][t(484)](t(475))[t(504)]({view:t(378)}),this[t(489)][t(518)][t(484)](t(527))[t(361)]({model:t(378),view:e=>{const i=t,s=e[i(302)][i(336)](":")[1],n=this[i(498)](s);if(!n)return null;const r=i(249)==n[i(507)]?i(350):i(375),o=[i(315),i(261)+r];return n[i(292)][i(222)]&&o[i(221)](i(261)+r+i(447)),this[i(328)]==n&&o[i(221)](i(514)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(489)][t(518)][t(484)](t(475))[t(249)]((e=>{const i=t;e.on(i(266),((t,e,s)=>{const n=i,r=e[n(356)][n(499)](0);if(!r||!r.is(n(414),n(492)))return;if(!s[n(324)][n(257)](r,{attributes:[n(318),n(444)]}))return;const o=e[n(465)][n(419)][n(230)];s[n(388)][n(371)](n(318),r[n(454)](n(318)),o),s[n(388)][n(371)](n(444),r[n(454)](n(444)),o)}),{priority:i(374)})})),this[t(489)][t(518)][t(484)](t(475))[t(249)]((e=>{const i=t;e.on(i(414),((t,e,s)=>{const n=i;if(!s[n(324)][n(257)](e[n(356)],{attributes:[n(318),n(444)]}))return;if(e[n(465)][n(452)])return;const r=e[n(465)][n(419)][n(230)];r[n(461)](n(318))||r[n(461)](n(536))||(s[n(388)][n(371)](n(318),e[n(356)][n(454)](n(318)),r),s[n(388)][n(371)](n(444),e[n(356)][n(454)](n(444)),r))}),{priority:i(374)})})),this[t(489)][t(518)][t(484)](t(475))[t(520)]({view:{name:t(515),attributes:{vid:!0}},model:{key:t(536),value:e=>e[t(454)](t(536))}}),this[t(489)][t(217)][t(273)].on(t(410),((e,[,i])=>{const s=t;[s(318),s(444),s(536)][s(260)](i)&&(e[s(369)]=!0,e[s(362)]())}),{priority:t(431)}),this[t(489)][t(518)][t(484)](t(425))[t(249)]((e=>{const i=t;e.on(i(460),((t,e,s)=>{const n=i;if(" "!=e[n(309)][n(292)]||e[n(309)][n(343)][n(321)]>1)return;if(!s[n(324)][n(257)](e[n(309)],t[n(512)]))return;const r=s[n(388)],o=s[n(219)][n(310)](e[n(471)]);r[n(462)](o,r[n(278)](n(515)))}))})),this[t(489)][t(518)][t(484)](t(425))[t(332)]({model:t(378)}),this[t(489)][t(427)][t(238)].on(t(216),function(e){const i=t,s=e[i(469)][i(532)](i(364));return(t,n,r)=>{const o=i,a=n[o(302)][o(336)](":")[1],c=s[o(498)](a);if(!c)return null;const u=o(249)==c[o(507)]?o(336):o(320);if(!r[o(324)][o(479)](n[o(367)],t[o(512)]))return;const l=n[o(367)][o(481)](),h=n[o(367)][o(419)],d=e[o(217)][o(273)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(309)];p=p||d[o(472)](e);const i=r[o(219)][o(372)](e);if(i&&i[o(322)](o(468)))return;o(424)==t[o(507)]&&d[o(386)](e)&&!d[o(429)](e)&&(e[o(285)]||h[o(296)]?f&&f[o(343)]==e||(f=e,g(t[o(279)]),v=!0):m=m||t[o(279)])}function g(t){const e=o,i=r[e(388)][e(432)](e(515),{class:e(261)+u}),a=r[e(219)][e(242)](t);c[e(292)][e(222)]&&r[e(388)][e(433)](e(261)+u+e(447),i),s[e(328)]==c&&r[e(388)][e(433)](e(514),i),r[e(388)][e(252)](a,i),r[e(219)][e(247)](i,n[e(302)])}p||v||!m||g(m)}}(this[t(489)]),{priority:t(377)}),this[t(489)][t(427)][t(238)].on(t(526),((e,i,s)=>{const n=t,r=s[n(219)][n(446)](i[n(302)]);if(r)for(const t of r)(t[n(456)](n(505))||t[n(456)](n(223)))&&(s[n(219)][n(466)](t,i[n(302)]),s[n(388)][n(395)](t))}),{priority:t(377)}),this[t(489)][t(427)][t(238)].on(t(216),((e,i,s)=>{const n=t,r=i[n(302)][n(336)](":")[1],o=this[n(498)](r);if(!o)return null;const a=n(249)==o[n(507)]?n(336):n(320);if(s[n(324)][n(479)](i[n(367)],e[n(512)]))for(const t of i[n(367)][n(510)]()){if(!t.is(n(414),n(440)))continue;const e=s[n(388)][n(432)](n(515),{class:n(261)+a}),r=s[n(219)][n(242)](this[n(489)][n(217)][n(381)](t));o[n(292)][n(222)]&&s[n(388)][n(433)](n(261)+a+n(447),e),this[n(328)]==o&&s[n(388)][n(433)](n(514),e),s[n(388)][n(252)](r,e),s[n(219)][n(247)](e,i[n(302)])}}),{priority:t(377)}),this[t(489)][t(217)][t(442)].on(t(370),(()=>{const e=t;this[e(489)][e(427)][e(267)][e(370)]((t=>{const i=e;for(const e of this[i(489)][i(217)][i(442)][i(319)]()){const s=this[i(489)][i(217)][i(442)][i(323)](e),n=this[i(489)][i(427)][i(267)][i(442)][i(323)](e);if(n){const e=s[i(454)](i(540));if(t[i(264)](i(329),n),t[i(346)](i(426),n),t[i(346)](i(344),n),t[i(346)](i(253),n),e){const s=this[i(498)](e);if(!s)return null;t[i(371)](i(329),e,n),t[i(433)](i(295)+s[i(507)],n),this[i(328)]==s&&t[i(433)](i(253),n)}}}}))})),this[t(489)][t(518)][t(484)](t(475))[t(504)]({view:t(327),model:e=>t(449)+e,converterPriority:t(431)}),this[t(489)][t(518)][t(484)](t(475))[t(504)]({view:t(538),model:e=>t(445)+e,converterPriority:t(431)}),this[t(489)][t(518)][t(484)](t(425))[t(332)]({model:t(473),view:e=>({name:t(513)+e,group:t(473)}),converterPriority:t(431)}),this[t(489)][t(518)][t(484)](t(527))[t(361)]({model:t(473),view:e=>{const i=t,s=e[i(302)][i(336)](":")[1];return i(350)!=s&&i(375)!=s?null:{classes:[i(289),i(236)+s]}}}),this[t(489)][t(427)][t(238)].on(t(503),ie(this[t(489)],t(320)),{priority:t(377)}),this[t(489)][t(427)][t(238)].on(t(304),ie(this[t(489)],t(336)),{priority:t(377)}),this[t(489)][t(427)][t(238)].on(t(441),((e,i,s)=>{const n=t,r=s[n(219)][n(446)](i[n(302)]);if(r)for(const t of r)t.is(n(303))&&(s[n(219)][n(466)](t,i[n(302)]),s[n(388)][n(395)](t))}),{priority:t(377)})}[Qt(498)](t){const e=Qt;return this[e(355)][e(532)](t)}[Qt(233)](t){const e=Qt;return this[e(529)]&&this[e(529)][e(464)](),this[e(529)]=new Wt(this[e(489)][e(534)],t),this[e(529)]}[Qt(263)](){const t=Qt;this[t(489)][t(217)][t(442)][t(276)][t(516)](t(378)),this.on(t(537),((e,i,s,n)=>{const r=t;n&&this[r(245)][r(395)](n),s&&(this[r(245)][r(249)]({view:s,stackId:r(348),position:{target:()=>{const t=r,e=this[t(489)][t(427)],i=this[t(498)](s[t(228)]);let n;if(i[t(292)][t(342)]){const s=e[t(267)][t(434)](i[t(443)]);n=Array[t(382)](s[t(423)]())}else{const i=this[t(489)][t(217)][t(411)][t(532)](t(259)+s[t(228)]);n=Array[t(382)](e[t(219)][t(446)](i[t(512)]))[t(353)]((i=>e[t(267)][t(224)][t(270)](i)))[t(353)]((e=>Array[t(382)](e[t(423)]())))[t(491)]()}return this[t(255)]&&n[t(397)]((e=>e[t(476)]-3<=this[t(255)].y&&e[t(220)]+3>=this[t(255)].y&&e[t(506)]-3<=this[t(255)].x&&e[t(390)]+3>=this[t(255)].x))||n[0]}}}),this[r(245)][r(488)](r(348)))})),this.on(t(338),((e,i,s,n)=>{const r=t;this[r(394)]=s?this[r(233)](s):null,this[r(489)][r(217)][r(370)]((()=>{const t=r,e=this[t(489)][t(427)];n&&(n[t(292)][t(342)]?e[t(267)][t(370)]((i=>{const s=t;i[s(346)](s(253),e[s(267)][s(442)][s(323)](n[s(443)]))})):e[t(308)](t(259)+n.id)),s&&(s[t(292)][t(342)]?e[t(267)][t(370)]((i=>{const n=t;i[n(433)](n(253),e[n(267)][n(442)][n(323)](s[n(443)]))})):e[t(308)](t(259)+s.id))}))})),this[t(262)](this[t(489)][t(427)][t(267)][t(442)],t(251),((e,i)=>{const s=t;if(this[s(328)])return;const n=this[s(501)](i[s(229)]),r=this[s(355)][s(532)](n);r?(this[s(255)]={x:i[s(363)].x,y:i[s(363)].y},this[s(394)]=this[s(233)](r)):(this[s(255)]=null,this[s(394)]=null)})),this[t(262)](this[t(489)][t(427)][t(267)][t(442)],t(415),((e,i)=>{const s=t,n=this[s(501)](i[s(229)]),r=this[s(355)][s(532)](n);r?(this[s(255)]={x:i[s(363)].x,y:i[s(363)].y},r===this[s(328)]?this[s(245)][s(254)]():this[s(328)]=r):(this[s(255)]=null,this[s(328)]=null)}))}[Qt(501)](t){const e=Qt;do{const i=t[e(454)](e(329));if(i)return i;t=t[e(343)]}while(t);return null}[Qt(519)](){const t=Qt;this[t(489)][t(217)][t(370)]((e=>{const i=t;for(const t of this[i(489)][i(217)][i(411)])e[i(396)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(324)][r(479)](s[r(367)],i[r(512)]))return;const o=s[r(367)][r(481)](),a=s[r(367)][r(419)],c=t[r(217)][r(273)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(309)];h=h||c[r(472)](e);const i=n[r(219)][r(372)](e);if(i&&i[r(322)](r(468)))return;r(424)==t[r(507)]&&c[r(386)](e)&&!c[r(429)](e)&&(e[r(285)]||a[r(296)]?u&&u[r(343)]==e||(u=e,f(t[r(279)]),d=!0):l=l||t[r(279)])}function f(t){const i=r,o=n[i(219)][i(242)](t),a=n[i(388)][i(432)](i(515),{class:i(236)+e});n[i(388)][i(252)](o,a),n[i(219)][i(247)](a,s[i(302)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(469)][e(532)](ee);this[e(349)]=!1,this[e(262)](i,e(283),(()=>this[e(373)]())),this[e(262)](i,e(334),(()=>this[e(373)]()))}[Qt(286)](){const t=Qt,e=this[t(489)],i=e[t(469)][t(532)](ee),s=i[t(408)]?i[t(409)][t(430)]:null;e[t(248)][t(532)](t(352))[t(317)](s)}[Qt(373)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(489)][t(469)][t(532)](ee),r=n&&s[t(417)](n[t(430)]);this[t(235)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(246)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(469)][i(532)](ee);this[i(349)]=!1,this[i(246)]=i(241)===e?1:-1,this[i(262)](s,i(283),(()=>this[i(373)]())),this[i(262)](s,i(334),(()=>this[i(373)]())),this[i(262)](s,i(338),(()=>this[i(373)]()))}[Qt(286)](){const e=Qt,i=this[e(489)],s=i[e(469)][e(532)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(328)]=n?s[e(409)][e(493)][e(532)](r+this[e(246)]):s[e(409)][e(493)][e(406)],s[e(328)][e(292)][e(342)])o=i[e(427)][e(267)][e(434)](s[e(328)][e(443)]);else{const t=i[e(217)][e(411)][e(532)](e(259)+s[e(328)].id);o=(0,Z.getMarkerDomElement)(i[e(427)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(373)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(489)][t(469)][t(532)](ee);this[t(235)]=!!(r&&n&&s)&&(!e||(1===this[t(246)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ue();return(ae=function(t,e){return i[t-=351]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(268257===-parseInt(e(352))/1+-parseInt(e(356))/2+-parseInt(e(372))/3*(parseInt(e(380))/4)+parseInt(e(389))/5+-parseInt(e(355))/6+parseInt(e(386))/7+parseInt(e(378))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ce extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(351)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(359)](e(361),!1),this[e(359)](e(387),!1),this[e(359)](e(381),0),this[e(359)](e(370),0),this[e(359)](e(388),!1),this[e(359)](e(358),!1),this[e(366)](e(360)).to(this,e(387),this,e(370),((t,e)=>t&&e>0)),this[e(366)](e(390)).to(this,e(387),this,e(381),this,e(370),this,e(361),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(371));if(!n)return X(t,o(367));const a=X(t,o(376),n);return r?X(t,o(364),[s+1,n]):a})),s[e(359)]({label:X(t,e(382)),tooltip:!0,icon:mt.IconChevronUp}),n[e(359)]({label:X(t,e(357)),tooltip:!0,icon:mt.IconChevronDown}),s[e(366)](e(369)).to(this,e(358)),n[e(366)](e(369)).to(this,e(388)),s.on(e(362),(()=>this[e(365)](e(362),e(383)))),n.on(e(362),(()=>this[e(365)](e(362),e(363)))),this[e(384)]({tag:e(377),attributes:{class:["ck",e(354),e(375)]},children:[{tag:e(379),attributes:{class:[e(368)]},children:[{tag:e(379),attributes:{class:[e(385),i.if(e(360),e(353),(t=>!t))]},children:[{text:i.to(e(361),(i=>i?X(t,e(391))+": ":X(t,e(374))+": "))}]},{text:i.to(e(390))}]},new pt.ToolbarSeparatorView,{tag:e(377),attributes:{class:[e(373)]},children:[s,n]}]})}}function ue(){const t=["2358372VkuNyT","334346qKbIzx","Show next change","isBackwardNavigationEnabled","set","_isStatusLabelVisible","isNavigationMode","execute","forward","X_OF_Y_CHANGES","fire","bind","No changes","ck-revision-history-ui__changes-navigation__wrapper","isEnabled","numberOfChanges","Loading...","3wEzmkF","ck-revision-history-ui__changes-navigation__navigation","Total","ck-revision-history-ui__changes-navigation","NUMBER_OF_CHANGES","div","5429256JQsfzm","span","639972WnSDQs","currentChangeNumber","Show previous change","backward","setTemplate","ck-revision-history-ui__changes-navigation__label","2330076MOfvwi","isReady","isForwardNavigationEnabled","1997130aplfwo","_statusText","EDIT_X_OF_Y_REVISIONS","bindTemplate","422466PdNzRf","ck-hidden","ck-revision-history-ui"];return(ue=function(){return t})()}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=me;!function(t){const e=me,i=t();for(;;)try{if(146948===-parseInt(e(143))/1+parseInt(e(145))/2*(parseInt(e(126))/3)+parseInt(e(130))/4*(parseInt(e(128))/5)+-parseInt(e(132))/6*(parseInt(e(146))/7)+-parseInt(e(133))/8+parseInt(e(139))/9*(parseInt(e(141))/10)+parseInt(e(134))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const fe=de(147);function me(t,e){const i=pe();return(me=function(t,e){return i[t-=125]})(t,e)}function pe(){const t=["roots","24HSoZuu","RevisionViewerLoadingOverlay","768930KciboB","removeClass","4XPzcIY","hide","408906tBMCtC","2339208KBhAfv","1993101sUJqGx","isPremiumPlugin","show","document","pluginName","18FTkixz","change","510940tiPfIe","editing","91290osRuLK","view","57444hBaPEj","14mlnQqY","ck-editor__editable__loading-overlay","isOfficialPlugin","addClass","editor"];return(pe=function(){return t})()}class ve extends U.Plugin{static get[de(138)](){return de(127)}static get[de(148)](){return!0}static get[de(135)](){return!0}[de(136)](){const t=de,e=this[t(150)][t(142)][t(144)];e[t(140)]((i=>{const s=t;for(const t of e[s(137)][s(125)])i[s(149)](fe,t)}))}[de(131)](){const t=de,e=this[t(150)][t(142)][t(144)];e[t(140)]((i=>{const s=t;for(const t of e[s(137)][s(125)])i[s(129)](fe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=179]})(t,e)}function ke(){const t=["showNextChange","isPremiumPlugin","2355856JYqEVN","show","hide","isEnabled","change:isReady","isNavigationMode","3dxcirn","changesNavigation","pluginName","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","restoreRevision","162866kIjjRh","isForwardNavigationEnabled","isOfficialPlugin","get","showPreviousChange","currentChangeNumber","execute","closeRevisionViewerCallback","commands","config","numberOfChanges","Restore this revision","isReady","componentFactory","exitToEditing","RevisionViewerUI","forward","212700MxJBSu","3335087VQiVIp","init","requires","952420QutBUK","Back to editing","8JJFrsv","bind","plugins","1162566ugysHJ","set","revisionHistory","add","listenTo","113129pqSbCp","editor"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(332945===parseInt(e(222))/1+-parseInt(e(191))/2*(-parseInt(e(185))/3)+parseInt(e(179))/4+parseInt(e(212))/5+-parseInt(e(208))/6+-parseInt(e(209))/7*(parseInt(e(214))/8)+-parseInt(e(217))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(187)](){return ge(206)}static get[ge(193)](){return!0}static get[ge(225)](){return!0}static get[ge(211)](){return[ee,ve]}[ge(210)](){const t=ge,e=this[t(223)],i=e[t(216)][t(194)](ee),s=e[t(216)][t(194)](ve);e.ui[t(204)][t(220)](t(205),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(218)]({label:X(i,s(213)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(189)}),this[s(221)](n,s(197),(()=>{const t=s;e[t(200)][t(194)](t(219))[t(198)]()})),n})),e.ui[t(204)][t(220)](t(190),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(218)]({label:X(i,s(202)),withText:!0,tooltip:!0}),n[s(215)](s(182)).to(e[s(199)][s(194)](s(190))),this[s(221)](n,s(197),(()=>e[s(197)](s(190)))),n})),e.ui[t(204)][t(220)](t(186),(s=>{const n=t,r=new ce(s),o=e[n(199)][n(194)](n(195)),a=e[n(199)][n(194)](n(224));return r[n(215)](n(188)).to(o,n(182)),r[n(215)](n(192)).to(a,n(182)),r[n(215)](n(203),n(196),n(201),n(184)).to(i),this[n(221)](r,n(197),((t,i)=>{const s=n;e[s(197)](s(207)===i?s(224):s(195))})),r})),s[t(180)](),i.on(t(183),((e,i,n)=>{const r=t;n?s[r(181)]():s[r(180)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;function Ie(){const t=["input","464073ushRZS","48186GZnVQN","Enter the revision name","listenTo","182CBpIUa","set","Revision name","placeholder","extendTemplate","16217694RKiUkm","scrollWidth","destroy","33600ZEJTVY","1420740WckzXS","4019917bGBMnE","25xxrjQO","_tooltipString","bindTemplate","ck-revision-history-sidebar__revision-name","44OtqYVJ","_resizeObserver","render","_updateTooltipText","50312mQvsYy","680GMWAqG","1645mAuwyk","fieldView","ck-tooltip_multi-line","clientWidth","element","span","40cjdnic","value"];return(Ie=function(){return t})()}function Se(t,e){const i=Ie();return(Se=function(t,e){return i[t-=134]})(t,e)}const Oe=Se;!function(t){const e=Se,i=t();for(;;)try{if(907933===-parseInt(e(163))/1*(-parseInt(e(137))/2)+parseInt(e(148))/3*(parseInt(e(167))/4)+-parseInt(e(138))/5*(parseInt(e(149))/6)+-parseInt(e(139))/7*(-parseInt(e(160))/8)+parseInt(e(157))/9+-parseInt(e(145))/10*(parseInt(e(162))/11)+parseInt(e(161))/12*(-parseInt(e(152))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Te extends pt.LabeledFieldView{[Oe(134)]=null;constructor(t,e){const i=Oe;super(t,e);const s=this[i(165)];this[i(153)]({label:X(t,i(154)),_tooltipString:""}),this[i(140)][i(155)]=X(t,i(150)),this[i(156)]({tag:i(144),attributes:{class:[i(166)],"data-cke-tooltip-text":s.to(i(164)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(141)}})}[Oe(135)](){const e=Oe;super[e(135)](),this[e(134)]=new t.ResizeObserver(this[e(140)][e(143)],(()=>this[e(136)]())),this[e(151)](this[e(140)],e(147),(()=>this[e(136)]()))}[Oe(159)](){const t=Oe;super[t(159)](),this[t(134)]&&this[t(134)][t(159)]()}[Oe(136)](){const t=Oe,e=this[t(140)][t(143)];this[t(164)]=e[t(158)]>e[t(142)]&&e[t(146)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=403]})(t,e)}function Re(){const t=["798250shqqOD","2052752Bxkcav","2978792ATZOdy","Revision author","7EtopMS","name","449074VbXSPO","2198811IYIXkh","0 0 11 10","12637197WhkTLS","ck-revision-history-sidebar__revision-author_creator","Revision creator","span","171414qEvMhe","set","ck-revision-history-sidebar__revision-author__name","setTemplate","ck-revision-history-sidebar__revision-author","push","2wEAigc","10rTLMXw"];return(Re=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(422952===parseInt(e(412))/1+parseInt(e(404))/2*(-parseInt(e(413))/3)+-parseInt(e(407))/4+parseInt(e(406))/5+-parseInt(e(419))/6*(-parseInt(e(410))/7)+-parseInt(e(408))/8+-parseInt(e(415))/9*(-parseInt(e(405))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ee extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(420)]({content:mt.IconUser,viewBox:s(414)});const r=["ck",s(423)];i&&r[s(403)](s(416));const o=[{tag:s(418),attributes:{class:["ck",s(421)],title:X(t,s(i?417:409))},children:[n,e[s(411)]]}];this[s(422)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=263]})(t,e)}function Ve(){var t=["toLocaleTimeString","long","7585823wiJngz","61434uZsiUM","numeric","349070oAKCwX","6937008TxvzPV","5613200ICKYiU","111Kaydik","8uWJlfN","toLocaleDateString","26808948nmbqfL","3695885kpRvje"];return(Ve=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(901529===-parseInt(e(269))/1+-parseInt(e(267))/2*(parseInt(e(272))/3)+-parseInt(e(271))/4+parseInt(e(263))/5+parseInt(e(270))/6+parseInt(e(266))/7*(-parseInt(e(273))/8)+parseInt(e(275))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=317]})(t,e)}function Le(){const t=["isEnabled","model","panelPosition","isVisible","locale","ck-revision-history-sidebar__revision__actions","change:isActionsDropdownOpen","listenTo","204852fkfPSd","buttonView","isReady","655491nfZaFG","name","2076RaREpK","Restore this revision","bindTemplate","_action","bind","3340HvcJto","add","4411wPdrBy","find","execute","set","function","menu","196YJgMeg","listView","stopPropagation","3370bnzipw","children","7437240Adkvtm","7tvPOqg","action","extendTemplate","Compare against selected","first","154482znrWKH","items","9038313Grqraa","button","class","source","ck-on","map","isActionsDropdownOpen","Show more items","menuitem","isOpen","Name this revision"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(755134===parseInt(e(333))/1*(-parseInt(e(338))/2)+-parseInt(e(362))/3+-parseInt(e(364))/4*(-parseInt(e(330))/5)+parseInt(e(359))/6*(parseInt(e(327))/7)+-parseInt(e(332))/8+parseInt(e(340))/9+-parseInt(e(319))/10*(-parseInt(e(321))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const ze=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=498]})(t,e)}function Ue(){const t=["extendTemplate","ck-disabled","ck-revision-history-sidebar__revision-authors","select","2303IbWvAG","2885956nwRSdc","unhighlight","ck-revision-history-sidebar__revision__date","render","change","div","authors","createdAt","creator","ck-revision-history-sidebar__revision_selected","13600060GMVixK","listenTo","element","map",".ck-thread__remove-confirm","566XdtWSe","1053jhzKeb","setName","isReady","4769163LNjNjb","uiLanguage","span","isConfirm","name","deselect","185356eAwoqX","highlight","_revision","length","setTemplate","25rVCmgp","isHighlighted","srcElement","bind","isActionsDropdownOpen","ck-revision-history-sidebar__revision__controls-wrapper","closest","revisionNameView","3976VslqVI","from","set","value","bindTemplate","ck-reset","unshift","_createdAtFormatted","ck-revision-history-sidebar__revision-wrapper","954570bKvEzv","_requireRevisionName","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__actions_dropdown_open","filter","fieldView","ck-revision-history-sidebar__revision_highlighted","isSelected","fire","isEnabled","ck-revision-history-sidebar__revision","revisionActionsView","11DwnLfK","220"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(764355===-parseInt(e(513))/1+parseInt(e(503))/2*(parseInt(e(504))/3)+parseInt(e(554))/4+parseInt(e(518))/5*(parseInt(e(535))/6)+-parseInt(e(553))/7*(-parseInt(e(526))/8)+parseInt(e(507))/9+-parseInt(e(498))/10*(parseInt(e(547))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(525)];[ze(546)];[ze(515)];[ze(536)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(530)],a=function(t,e){const i=r,s=Array[i(527)](e[i(560)])[i(539)]((t=>t!=e[i(562)]));return e[i(562)]&&s[i(532)](e[i(562)]),s[i(501)]((s=>new Ee(t,s,s==e[i(562)])))}(e,i);this.id=i.id,this[r(515)]=i,this[r(536)]=n,this[r(521)](r(511),r(561)).to(i),this[r(521)](r(533)).to(this,r(561),(t=>{return i=e[r(508)],(s=t)[(n=Me)(274)](i,{month:n(265),day:n(268)})+", "+s[n(264)](i,{hour:n(268),minute:n(268)});var i,s,n})),this[r(528)](r(542),!1),this[r(528)](r(519),!1),this[r(528)](r(522),!1),this[r(528)](r(506),!1),this[r(528)](r(544),!1),this[r(525)]=new Te(e,pt.createLabeledInputText),this[r(525)][r(540)][r(549)]({attributes:{maxlength:r(548)}}),this[r(525)][r(540)][r(521)](r(529)).to(this,r(511),(t=>t||this[r(533)])),this[r(525)][r(521)](r(544)).to(this,r(542),this,r(544),((t,e)=>t&&e)),this[r(546)]=s&&s[r(516)]?function(e,i){const s=Fe,n=e[s(366)],r=e[s(355)],o=(0,pt.createDropdown)(r);o[s(353)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(355)],n={"Compare against selected":X(s,i(336)),"Name this revision":X(s,i(350)),"Restore this revision":X(s,i(365))};return e[i(345)]((t=>{const e=i,s=n[t[e(363)]];return s&&s!==t[e(363)]&&(t[e(363)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(341),model:new pt.ViewModel({label:t[n(363)],class:t[n(342)],withText:!0,role:n(348),_action:t[n(334)]})};i[n(352)][n(318)](n(351)).to(e,n(346),(i=>n(325)!=typeof t[n(351)]||!i||t[n(351)](e))),o[n(320)](i)}return o}(e,i);return e[s(318)](s(346)).to(o,s(349)),o[s(360)][s(324)]({label:X(r,s(347)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(335)]({attributes:{class:[s(356),n.if(s(346),s(344))]},on:{click:n.to((t=>t[s(329)]()))}}),o.on(s(323),(t=>{const i=s;e[i(361)]&&i(325)==typeof t[i(343)][i(317)]&&t[i(343)][i(317)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(326)}),o[s(358)](e,s(357),((t,n,r)=>{const a=s;if(r)for(const t of o[a(328)][a(339)]){const s=t[a(331)][a(337)],n=i[a(322)]((t=>t[a(334)]===s[a(317)]))[a(354)];t[a(354)]=void 0===n||n(e)}})),o}(this,s):"",this[r(546)]&&this[r(546)][r(521)](r(544)).to(this),this[r(517)]({tag:r(559),attributes:{class:["ck",r(531),r(534),o.if(r(510),r(537))]},children:[{tag:r(559),attributes:{class:["ck",r(531),r(545),o.if(r(544),r(550),(t=>!t)),o.if(r(542),r(563)),o.if(r(519),r(541)),o.if(r(522),r(538))]},children:[this[r(525)],{tag:r(509),attributes:{class:["ck",r(556)]},children:[{text:o.to(r(533))}]},{tag:r(559),attributes:{class:["ck",r(523)]},children:[{tag:"ul",attributes:{class:["ck",r(551)]},children:a}]},this[r(546)]],on:{click:o.to((t=>{const e=r;t[e(520)][e(524)](e(502))||this[e(506)]&&this[e(544)]&&this[e(543)](e(552),{id:this.id})}))}}]})}[ze(557)](){const t=ze;super[t(557)]();const e=this[t(525)][t(540)][t(500)];this[t(499)](e,t(558),(()=>{const i=t;this[i(536)]&&!e[i(529)]||this[i(543)](i(505),{id:this.id,name:e[i(529)]}),e[i(529)]||(e[i(529)]=this[i(511)]?this[i(511)]:this[i(533)])}))}[ze(552)](){this[ze(542)]=!0}[ze(512)](){this[ze(542)]=!1}[ze(514)](){this[ze(519)]=!0}[ze(555)](){this[ze(519)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ai extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ai(t)),Ni[t]}static resetCache(){Ni={},Ti={}}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=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[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"})),Ti[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:_s(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 Ri={};let Ei={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.DateTimeFormat(t,e),Ei[i]=s),s}let Vi={};let Di={};let Ci=null;let Fi={};function Li(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 Es(this.floor?Math.floor(t):Cs(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&&Ai.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 zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[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 Wi={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||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Ei={},Vi={},Di={}}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,As(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 Li(this,t,Qs,(()=>{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=io.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 Li(this,t,sn,(()=>{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=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.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 zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[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:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}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 Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(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 qi extends Ii{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(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={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=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ai.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(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 ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(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 bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){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 Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Es(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(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?Fs(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 zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(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 Hs(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 qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(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}${Es(i,2)}:${Es(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Es(i,2)}${Es(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(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"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];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"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(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 ln[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 Es(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 nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.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=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(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 dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...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 pn(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 vn(...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 gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?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 En(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(Ds(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:Gs.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:tn.indexOf(t)+1),a}const Dn=/^(?:(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 Cn(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:Hs(l,h),[d,new Hi(f)]}const Fn=/^(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$/,Ln=/^(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),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(Tn,xn,Nn);const Xn="Invalid Duration",tr={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}},er={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},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,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:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(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 lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(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),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;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 lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,En])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[An,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({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?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(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+=Cs(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 io.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?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.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]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(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 ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(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=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)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;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(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 ur(this.matrix,e),ar(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 ar(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 rr)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 hr="Invalid Interval";class dr{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 Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.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:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.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=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.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?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).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(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.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(dr.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:dr.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 dr.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(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[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=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.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:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(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=mr(t,e);return(i-i%7)/7}],["days",mr]],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=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(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(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={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 Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Ar(hn.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=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(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 wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\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(Ns(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;_s(t.z)||(i=Ai.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(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),_s(t.u)||(t.S=Ds(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(Ns(i,"a")&&Ns(i,"H"))throw new Ye("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 Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Ar(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),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=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Er=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(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 Lr(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 Fr(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=lr.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]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(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=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.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+=Es(t.c.year,i?6:4),e?(s+="-",s+=Es(t.c.month),s+="-",s+=Es(t.c.day)):(s+=Es(t.c.month),s+=Es(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Es(t.c.hour);return e?(o+=":",o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Es(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Es(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Es(Math.trunc(-t.o/60)),o+=":",o+=Es(Math.trunc(-t.o%60))):(o+="+",o+=Es(Math.trunc(t.o/60)),o+=":",o+=Es(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(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 Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(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 to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.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=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("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 io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({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=Hi.utcInstance,Kr({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 io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Er||t>Er?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Ws(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=Rs(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,$n],[Zn,Bn],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("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}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Qn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}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?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.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=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.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 Cr(this,{ts:s,zone:t})}return io.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(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,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.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?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.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+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(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":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(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")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[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 lr.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(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.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||io.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),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("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 Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.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 xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("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 Ge(`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?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=168]})(t,e)}function ro(){const t=["22vQrice","23373sbgxOi","4911VbqqFg","58ponGqW","month","hasSame","130837MbZJAd","minus","startOf","day","weekdayLong","126675QMhnbR","week","setLocale","toRelativeCalendar","monthLong","year","local","8BhMnCb","toJSDate","5ircWNW","169152EKIitn","40gSvAKK","fromJSDate","144546QCDUWT","1308756KSMFuR"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(176)](t)[i(192)](e),n=io[i(170)](),r=n[i(186)]({days:1})[i(187)](i(188));let o,a;return s[i(184)](n,i(188))?(o=s[i(187)](i(188))[i(172)](),a=s[i(193)]()):s[i(184)](r,i(188))?(o=r[i(172)](),a=s[i(193)]()):s[i(184)](n,i(191))?(o=s[i(187)](i(191))[i(172)](),a=s[i(189)]||""):s[i(184)](n,i(169))?(o=s[i(187)](i(183))[i(172)](),a=s[i(168)]||""):(o=s[i(187)](i(169))[i(172)](),a=String(s[i(169)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(102054===-parseInt(e(190))/1+-parseInt(e(182))/2*(parseInt(e(181))/3)+parseInt(e(174))/4+parseInt(e(173))/5*(parseInt(e(177))/6)+parseInt(e(185))/7*(-parseInt(e(171))/8)+-parseInt(e(180))/9*(-parseInt(e(175))/10)+parseInt(e(179))/11*(parseInt(e(178))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;function uo(){const t=["addRevision","createCollection","delegate","revisionViews","ck-revision-history-sidebar__time-period__label","30vHPvgb","locale","4170419SAvuJo","63652uGMkgS","remove","1897008mafupp","uiLanguage","select","localizedPeriodName","add","ck-revision-history-sidebar__time-period__revisions","setTemplate","30CZLEPJ","startDate","div","18935uCuyWq","_revisionActions","_requireRevisionName","find","span","ck-revision-history-sidebar__time-period","removeRevision","21480PmUtna","155566hSleeZ","setName","1882161YWClso","222OzDnfL","12yjStMT"];return(uo=function(){return t})()}const lo=ho;function ho(t,e){const i=uo();return(ho=function(t,e){return i[t-=397]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(162957===-parseInt(e(401))/1+parseInt(e(402))/2*(-parseInt(e(406))/3)+parseInt(e(415))/4*(-parseInt(e(424))/5)+-parseInt(e(405))/6*(parseInt(e(427))/7)+-parseInt(e(417))/8+-parseInt(e(404))/9+parseInt(e(412))/10*(parseInt(e(414))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(uo);class fo extends pt.View{[lo(425)];[lo(410)];[lo(428)];[lo(429)];constructor(t,e,i,s){const n=lo;super(t);const r=oo(e,this[n(413)][n(418)])[n(420)];this[n(425)]=e,this[n(410)]=this[n(408)](),this[n(428)]=i,this[n(429)]=s,this[n(410)][n(409)](n(419)).to(this),this[n(410)][n(409)](n(403)).to(this),this[n(423)]({tag:n(426),attributes:{class:["ck",n(399)]},children:[{tag:n(398),attributes:{class:["ck",n(411)]},children:[{text:r}]},{tag:n(426),attributes:{class:["ck",n(422)]},children:this[n(410)]}]})}[lo(407)](t){const e=lo,i=new Ze(this[e(413)],t,this[e(428)],this[e(429)]);this[e(410)][e(421)](i)}[lo(400)](t){const e=lo,i=this[e(410)][e(397)]((e=>e.id===t.id));this[e(410)][e(416)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["18289fISQPY","46182nGNHvJ","4248640uLiesY","1152PWdWEG","content","ck-reset_all","669uyAfkx","setTemplate","766692FObONb","span","ck-revision-history-sidebar__header","ck-revision-history-sidebar__header__label","77ShrHNN","6576qIUjhF","Revision history","902965oTuZUn","div","20UDiDfM"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=360]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(151064===parseInt(e(367))/1*(parseInt(e(366))/2)+parseInt(e(373))/3+parseInt(e(375))/4+parseInt(e(364))/5+-parseInt(e(368))/6*(parseInt(e(361))/7)+-parseInt(e(362))/8*(-parseInt(e(370))/9)+-parseInt(e(369))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(371)]=mt.IconHistory,this[e(374)]({tag:e(365),attributes:{class:["ck",e(372),e(377)]},children:[i,{tag:e(376),attributes:{class:["ck",e(360)]},children:[X(t,e(363))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;function wo(){const t=["addRevision","div","setTemplate","select","createCollection","4632295DegIRX","timePeriodViews","set","1226512zIHFnt","bindTemplate","_removeRevision","636190avpGOd","ck-revision-history-sidebar","flat","deselect","_addRevision","_requireRevisionName","revisionSelected","_getTimePeriodViewByStartDate","revisionViews","startDate","add","get","highlight","find","3EjKBte","ck-disabled","1085387LWMCzO","ck-rounded-corners","uiLanguage","locale","20223SCaPFk","removeRevision","ck-reset","ck-revision-history-sidebar__timeline","unhighlight","revisionSetName","delegate","setName","fire","render","_revisionActions","_revisions","6896SxyhUa","some","remove","highlightRevisions","map","getTime","1309470UnlMYP","isEnabled","createdAt","selectRevision","7183463JhTvuh"];return(wo=function(){return t})()}const _o=Io;function Io(t,e){const i=wo();return(Io=function(t,e){return i[t-=145]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(544999===-parseInt(e(184))/1+parseInt(e(168))/2+-parseInt(e(182))/3*(parseInt(e(165))/4)+parseInt(e(162))/5+-parseInt(e(152))/6+-parseInt(e(156))/7+parseInt(e(146))/8*(parseInt(e(188))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class So extends pt.View{[_o(163)];[_o(145)];[_o(198)];[_o(173)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(166)];this[n(163)]=this[n(161)](),this[n(163)][n(194)](n(160)).to(this),this[n(163)][n(194)](n(195)).to(this),this[n(145)]=e,this[n(198)]=i,this[n(173)]=s,this.on(n(160),((t,e)=>{const i=n;this[i(196)](i(174),e)})),this.on(n(195),((t,e)=>{const i=n;this[i(196)](i(193),e)})),this[n(164)](n(153),!1),this[n(159)]({tag:n(158),attributes:{class:["ck",n(190),n(185),n(169)]},children:[new yo(t),{tag:n(158),attributes:{class:["ck",n(191),r.if(n(153),n(183),(t=>!t))]},children:this[n(163)]}]})}[_o(197)](){const t=_o;super[t(197)]();for(const e of this[t(145)])this[t(172)](e);this[t(145)].on(t(178),((e,i)=>{this[t(172)](i)})),this[t(145)].on(t(148),((e,i)=>{this[t(167)](i)}))}get[_o(176)](){const t=_o;return this[t(163)][t(150)]((e=>e[t(176)][t(150)]((t=>t))))[t(170)]()}[_o(155)](t){const e=_o;for(const i of this[e(176)])t&&t.id===i.id?i[e(160)]():i[e(171)]()}[_o(149)](t){const e=_o;for(const i of this[e(176)])t[e(147)]((({id:t})=>t===i.id))?i[e(180)]():i[e(192)]()}[_o(172)](t){const e=_o,i=oo(t[e(154)],this[e(187)][e(186)])[e(177)];let s=this[e(163)][e(179)](0);s&&s[e(177)][e(151)]()===i[e(151)]()||(s=new fo(this[e(187)],i,this[e(198)],this[e(173)]),this[e(163)][e(178)](s)),s[e(157)](t)}[_o(167)](t){const e=_o,i=oo(t[e(154)],this[e(187)][e(186)])[e(177)];this[e(175)](i)[e(189)](t)}[_o(175)](t){const e=_o;return this[e(163)][e(181)]((i=>i[e(177)][e(151)]()===t[e(151)]()))}}function Oo(){const t=["RevisionsSidebar","1066349AUASrK","get","action","compareAgainstSelected","timePeriodViews","1512homSYe","render","42411853DClNsA","locale","config","setName","_handleRevisionSetName","revisionSelected","diff","168zfeJZF","string","Restore this revision","listenTo","restoreRevision","revisionHistory","254568FhpbAH","newRevisionId","nameRevision","add","Name this revision","getEarlierVisibleRevision","isSelected","ready","revisionHistory.viewerSidebarContainer","focus","availableRevisionActions","select","_handleEditorDataReady","getIndex","24715TSQxEw","_createRevisionActions","getRevisionsInDiff","revisionHistory.revisionActions","revisionViews","_handleDiffChange","selectRevision","_handleRevisionSelected","1423206YhCrqJ","isOfficialPlugin","revisionHistory.requireRevisionName","isPremiumPlugin","Compare against selected","plugins","change:diff","editor","remove","38140YdkrBm","data","compare","_revisionsRepository","requires","init","_revisionViewer","getLaterVisibleRevision","3092LlerbZ","_sidebarView","defaultRevisionActions","1431bzwVio","name","highlightRevisions","isReady","map","restoreRevisionCallback","pluginName","getRevision","revisionSetName","fieldView","length","_revisions","bind","isEnabled","isVisible","element","1086uwQAph","assign","destroy","repository","appendChild"];return(Oo=function(){return t})()}const To=No;!function(t){const e=No,i=t();for(;;)try{if(590189===parseInt(e(356))/1+parseInt(e(314))/2+parseInt(e(334))/3*(parseInt(e(331))/4)+parseInt(e(306))/5*(parseInt(e(350))/6)+parseInt(e(370))/7*(parseInt(e(376))/8)+-parseInt(e(361))/9*(-parseInt(e(323))/10)+-parseInt(e(363))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class xo extends U.Plugin{[To(329)];[To(326)];[To(332)];static[To(333)]=[To(359),To(374),To(294)];static[To(302)]=function(){const t=To;return{compareAgainstSelected:{name:t(318),action:({plugins:e},i)=>{const s=t,n=e[s(357)](ee),r=n[s(353)];let o=n[s(369)][s(293)],a=i.id;r[s(305)](o)>r[s(305)](a)&&([o,a]=[a,o]),n[s(325)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(357)](ee);return!(n[s(353)][s(308)](n[s(369)])[s(344)]>2||i[s(298)])}},restoreRevision:{name:t(372),action:(e,{id:i})=>{const s=t;e[s(365)][s(357)](s(375))[s(339)](i)},isVisible:({plugins:e},i)=>!!e[t(357)](ee)[t(353)][t(330)](i.id)},nameRevision:{name:t(296),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(357)](ee),o=r[n(353)][n(297)](i);r[n(325)](i,o),s[n(301)](),s[n(343)][n(303)]()}}}}();static get[To(340)](){return To(355)}static get[To(315)](){return!0}static get[To(317)](){return!0}static get[To(327)](){return[ee]}constructor(t){const e=To;super(t),this[e(329)]=t[e(319)][e(357)](ee),this[e(326)]=this[e(329)][e(353)],this[e(332)]=null}[To(328)](){const t=To,e=this[t(326)][t(345)],i=this[t(307)](),s=this[t(321)][t(365)][t(357)](t(300));this[t(332)]=new So(this[t(321)][t(364)],e,i,this[t(321)][t(365)][t(357)](t(316))),this[t(332)].on(t(368),this[t(313)][t(346)](this)),this[t(332)].on(t(342),this[t(367)][t(346)](this)),this[t(332)][t(346)](t(347)).to(this[t(329)]),this[t(332)][t(360)].on(t(295),((e,i)=>{const s=t;i[s(310)].on(s(295),((t,e)=>{const i=s;e[i(346)](i(347),i(337)).to(this[i(329)])}))})),this[t(332)][t(362)](),this[t(373)](this[t(321)][t(324)],t(299),this[t(304)][t(346)](this)),this[t(373)](this[t(329)],t(320),this[t(311)][t(346)](this)),s[t(354)](this[t(332)][t(349)])}[To(352)](){const t=To;this[t(332)][t(349)][t(322)](),this[t(332)][t(352)]()}[To(304)](){const t=To,e=this[t(326)][t(341)](0);if(e){const i=this[t(326)][t(297)](e.id);this[t(329)][t(325)](e,i)}}[To(313)](t,e){const i=To,s=this[i(326)][i(341)](e.id),n=this[i(326)][i(297)](s.id);this[i(329)][i(325)](s,n)}[To(367)](t,e){const i=To;this[i(326)][i(341)](e.id)[i(366)](e[i(335)])}[To(311)](t,e,i){const s=To,n=this[s(326)][s(308)](i);n[s(344)]>2?(this[s(332)][s(336)](n),this[s(332)][s(312)](null)):(this[s(332)][s(336)]([]),this[s(332)][s(312)](n[0]))}[To(307)](){const t=To,e=this[t(321)],i=xo[t(302)],s=e[t(365)][t(357)](t(309))||xo[t(333)];if(s[t(344)])return s[t(338)]((s=>{const n=t,r=n(371)==typeof s?Object[n(351)]({},i[s]):s;return r[n(358)]=r[n(358)][n(346)](this,e),r[n(348)]&&(r[n(348)]=r[n(348)][n(346)](this,e)),r}))}}function No(t,e){const i=Oo();return(No=function(t,e){return i[t-=293]})(t,e)}const Ao=xo,Ro=Mo;function Eo(){const t=["isFocused","4pxiKRS","element","view","config","editor","destroy","7810BspcOJ","715788OqnjMh","ready","focusTracker","addToolbar","stickyPanel","name","fire","11ZqhRwz","_view","attachDomRoot","get","_toolbarConfig","restore","limiterElement","_elementReplacer","1QtYupo","editable","isActive","444kgEyyH","render","rootName","document","fillFromConfig","_initToolbar","replace","detachDomRoot","viewportOffset","getRoot","componentFactory","22030nYqSpG","991059rZKkcR","1846370vQQsFd","setEditableElement","viewportTopOffset","176okyFgZ","toolbar","init","121555ZhIxxm","2146581fFQfbY","editing","bind"];return(Eo=function(){return t})()}function Mo(t,e){const i=Eo();return(Mo=function(t,e){return i[t-=120]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(272495===parseInt(e(163))/1*(parseInt(e(147))/2)+parseInt(e(129))/3*(parseInt(e(141))/4)+parseInt(e(128))/5*(parseInt(e(166))/6)+-parseInt(e(136))/7*(parseInt(e(133))/8)+parseInt(e(137))/9+-parseInt(e(130))/10+-parseInt(e(155))/11*(parseInt(e(148))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Vo extends pt.EditorUI{[Ro(156)];[Ro(159)];[Ro(162)];get[Ro(143)](){return this[Ro(156)]}constructor(e,i){const s=Ro;super(e),this[s(156)]=i,this[s(159)]=(0,pt.normalizeToolbarConfig)(e[s(144)][s(158)](s(134))),this[s(162)]=new t.ElementReplacer}get[Ro(142)](){const t=Ro;return this[t(143)][t(142)]}[Ro(135)](t){const e=Ro,i=this[e(145)],s=this[e(143)],n=i[e(138)][e(143)],r=s[e(164)],o=n[e(120)][e(126)]();r[e(153)]=o[e(168)],s[e(167)]();const a=r[e(142)];this[e(131)](r[e(153)],a),s[e(164)][e(139)](e(140)).to(this[e(150)]),n[e(157)](a),this[e(162)][e(123)](t,this[e(142)]),this[e(122)](),this[e(154)](e(149))}[Ro(146)](){const t=Ro;super[t(146)]();const e=this[t(143)],i=this[t(145)][t(138)][t(143)];this[t(162)][t(160)](),i[t(124)](e[t(164)][t(153)]),e[t(146)]()}[Ro(122)](){const t=Ro,e=this[t(143)];e[t(152)][t(139)](t(165)).to(this[t(150)],t(140)),e[t(152)][t(161)]=e[t(142)],e[t(152)][t(139)](t(132)).to(this,t(125),(({top:t})=>t)),e[t(134)][t(121)](this[t(159)],this[t(127)]),this[t(151)](e[t(134)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=Lo;function Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=495]})(t,e)}function jo(){var t=["452714RIDFnm","9dKPZhO","render","193495XtsTkB","68nWbTWG","content","main","add","top","stickyPanel","714084EeoRIP","shouldToolbarGroupWhenFull","704167HEsbGu","_editable","2151897tVSbZC","2217677jLLgRQ","editable","5021688qqFRVt","toolbar"];return(jo=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(407114===-parseInt(e(510))/1+parseInt(e(498))/2+parseInt(e(512))/3+parseInt(e(502))/4*(-parseInt(e(501))/5)+-parseInt(e(508))/6+parseInt(e(513))/7+parseInt(e(496))/8*(parseInt(e(499))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(511)];[Fo(507)];[Fo(497)];get[Fo(495)](){return this[Fo(511)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(507)]=new pt.StickyPanelView(t),this[s(497)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(509)]}),this[s(511)]=new pt.InlineEditableUIView(t,e)}[Fo(500)](){var t=Fo;super[t(500)](),this[t(507)][t(503)][t(505)](this[t(497)]),this[t(506)][t(505)](this[t(507)]),this[t(504)][t(505)](this[t(495)])}}function zo(){const t=["sourceElement","locale","2650Erdlzc","456396hRLvdC","get","updateSourceElement","1507510wNswIJ","143hCEAxn","document","33607jisIxg","ready","view","model","120qrJiFL","destroy","initialData","config","create","createRoot","init","1006ropfWg","996356bejbEJ","_ui","179mfiLop","data","initPlugins","14922pGvyVI","6oEVxjp","editing","fire","5475960XfvFgO"];return(zo=function(){return t})()}const Wo=Uo;function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=479]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(356301===-parseInt(e(502))/1*(-parseInt(e(499))/2)+-parseInt(e(506))/3*(-parseInt(e(500))/4)+parseInt(e(485))/5+-parseInt(e(492))/6*(-parseInt(e(488))/7)+-parseInt(e(509))/8+parseInt(e(505))/9*(-parseInt(e(481))/10)+parseInt(e(486))/11*(parseInt(e(482))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(501)];get ui(){return this[Wo(501)]}constructor(t,e){const i=Wo;super(e),this[i(479)]=t,this[i(491)][i(487)][i(497)]();const s=new Po(this[i(480)],this[i(507)][i(490)],{shouldToolbarGroupWhenFull:!0});this[i(501)]=new Vo(this,s)}[Wo(493)](){const t=Wo;return this[t(484)](),this.ui[t(493)](),super[t(493)]()}static async[Wo(496)](t,e){const i=Wo,s=new this(t,e);return await s[i(504)](),await s.ui[i(498)](t),await s[i(503)][i(498)](s[i(495)][i(483)](i(494))||""),s[i(508)](i(489)),s}}function Ho(t,e){const i=qo();return(Ho=function(t,e){return i[t-=202]})(t,e)}function qo(){const t=["set","join","2665586SDMFNZ","addRoot","toolbar","markers","Users","removeAttribute","translations","RevisionTracker","enableReadOnlyMode","RevisionViewerIntegration","_closeRevisionViewer","plugins","_recalculatePageBreaks","detachRoot","setAttribute","$graveyard","rootName","insert","revisionHistory.editorContainer","toLocaleDateString","refreshPositioning","522246bcnMpE","view","6910jNvTsG","getAttributeKeys","revision-history-missing-configuration","getRevisions","isReady","hide","remove","lazyRoots","name","revisionHistory.viewerContainer","indexOf","config","createRangeIn","15IAEECt","users","change","get","revisionHistory.viewerEditorElement","getMarkersGroup","toJSON","loadRevisionData","DocumentOutline","none","toLocaleTimeString","create","requires","end","RevisionHistoryUtils","exitToEditing","removeMarker","createdAt","fromVersion","Annotations","creator","getUser","addUser","addRevisionData","locale","result","isEnabled","enqueueChange","_viewerEditor","revisionHistory.closeRevisionViewerCallback","model","refreshVisibility","isOfficialPlugin","Autosave","_cleanUp","_enhanceShowRevisionViewerCallback","selection","roots","then","changesNavigation","editor","numeric","uiLanguage","map","from","element","fromCharCode","getRevisionRootsAttributes","_restoreRevision","RevisionViewer","closeRevisionViewerCallback","style","restoreRevision","revision-history-viewer-opened","isReadOnly","error","4nQniBa","restrictedEditingException","isAnonymous","commands","parse","showRevisionViewerCallback","setSelection","16bYcgPW","display","revisionHistory.requireRevisionName","246169WaDOdY","revisionHistory.restoreRevisionCallback","RevisionHistory","revisionHistory","PaginationLookup","define","catch","push","isOpen","RevisionHistoryUI","Restored","document","init","pluginName","save","1525750UYbFCg","destroy","getRoot","RestrictedEditingMode","isPremiumPlugin","disableReadOnlyMode","RevisionsRepository","Dialog","includes","isAttached","keys","long","_enhanceCloseRevisionViewerCallback","update","328689iQbeeq","saveRevision","72348zTepKg","5EBXDNM","repository","DocumentOutlineUI","getRevision","bind","data","block","isRevisionViewerOpen","_showRevisionViewer","removeSelectionAttribute","adapter","_update","_getRevisionViewerEditorConfig","getRevisionDocumentData","has","revisionHistory.showRevisionViewerCallback","toVersion"];return(qo=function(){return t})()}const $o=Ho;!function(t){const e=Ho,i=t();for(;;)try{if(107044===parseInt(e(214))/1*(parseInt(e(354))/2)+parseInt(e(311))/3*(parseInt(e(270))/4)+parseInt(e(312))/5*(parseInt(e(352))/6)+-parseInt(e(280))/7*(-parseInt(e(277))/8)+-parseInt(e(309))/9+parseInt(e(295))/10+-parseInt(e(331))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[$o(289),$o(298)];class Yo extends U.Plugin{[$o(239)];static get[$o(293)](){return $o(340)}static get[$o(246)](){return!0}static get[$o(299)](){return!0}constructor(t){const e=$o;function i(t){const e=Ho;return t[e(257)]((t=>String[e(260)](t)))[e(330)]("")}super(t),this[e(239)]=e(227),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{[$o(242)];static get[$o(293)](){return $o(282)}static get[$o(246)](){return!0}static get[$o(299)](){return!0}static get[$o(226)](){return[at,Lt]}constructor(e){const i=$o;if(super(e),!this[i(254)][i(212)][i(217)](i(283)))throw new t.CKEditorError(i(203),this);this[i(242)]=null,this[i(329)](i(319),!1),this[i(254)][i(212)][i(285)](i(327),(t=>this[i(320)]({...t,translations:this[i(254)][i(238)][i(337)]}))),this[i(254)][i(212)][i(285)](i(243),(t=>this[i(341)](t))),this[i(254)][i(212)][i(285)](i(281),(t=>this[i(262)](t))),this[i(254)][i(212)][i(285)](i(279),!1),this[i(249)](),this[i(307)]()}set[$o(322)](t){const e=$o;this[e(254)][e(342)][e(217)](e(338))[e(322)]=t}get[$o(322)](){const t=$o;return this[t(254)][t(342)][t(217)](t(338))[t(322)]}[$o(237)](t){const e=$o;return this[e(254)][e(342)][e(217)](e(338))[e(237)](t)}[$o(315)](t){const e=$o;return this[e(254)][e(342)][e(217)](e(301))[e(315)](t)}[$o(204)](t){const e=$o;return this[e(254)][e(342)][e(217)](e(301))[e(204)](t||{toJSON:!1})}[$o(324)](){const e=$o,i=this[e(254)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(342)][e(217)](e(338)),r=i[e(342)][e(217)](e(335))[e(215)];return s[e(333)]=[e(229),e(266),e(253)],delete s[e(208)],s[e(342)][e(287)](Yo,ee,be,class extends U.Plugin{static get[e(226)](){return[ee,e(335)]}[e(292)](){const s=e,o=this[s(254)][s(342)][s(217)](s(335));for(const t of r)t[s(272)]||o[s(235)](t.id)||o[s(236)](t);const a=n[s(313)][s(204)]();let c=null;const u=this[s(254)][s(342)][s(217)](s(263));u[s(322)]=n[s(322)],u[s(316)](s(240)).to(n),this[s(254)][s(273)][s(217)](s(266))[s(316)](s(240)).to(i,s(268),(t=>!t));for(const e of a){const i=null===e[s(234)];if(i&&e[s(328)]===e[s(232)])continue;const r=e[s(220)]();u[s(237)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(323)](r,o);else if(!o){const e=a[u(220)]();e.id=(0,t.uid)(),n[u(310)](e,a[u(328)])[u(252)]((t=>{c=t}))}}else e[u(323)](r,o)}))}}},Ao),s}[$o(249)](){const t=$o,e=this[t(254)][t(212)][t(217)](t(283))[t(275)];this[t(254)][t(212)][t(329)](t(327),(async()=>{const i=t;this[i(254)][i(339)](i(267));const s=this[i(254)][i(342)][i(217)](i(338));if(this[i(254)][i(342)][i(326)](i(247))){const t=this[i(254)][i(342)][i(217)](i(247));await t[i(294)]()}else await s[i(308)]();if(this[i(254)][i(342)][i(326)](i(284))&&this[i(254)][i(342)][i(217)](i(284))[i(343)](),this[i(254)][i(342)][i(326)](i(302))){const t=this[i(254)][i(342)][i(217)](i(302));t[i(288)]&&t[i(206)]()}const n=this[i(324)]();return e(n)[i(252)]((t=>{const e=i;return this[e(242)]=t,this[e(254)][e(342)][e(326)](e(233))&&this[e(254)][e(342)][e(217)](e(233))[e(245)](),this[e(254)][e(342)][e(326)](e(222))&&(this[e(254)][e(342)][e(217)](e(314))[e(353)][e(259)][e(265)][e(278)]=e(223)),t}))[i(286)]((t=>(console[i(269)](t),this[i(254)][i(300)](i(267)),null)))}))}[$o(307)](){const t=$o,e=this[t(254)][t(212)][t(217)](t(283))[t(264)];this[t(254)][t(212)][t(329)](t(243),(()=>(this[t(254)][t(342)][t(326)](t(284))&&this[t(254)][t(342)][t(217)](t(284))[t(343)](),this[t(254)][t(342)][t(326)](t(222))&&(this[t(254)][t(342)][t(217)](t(314))[t(353)][t(259)][t(265)][t(278)]=""),this[t(242)][t(342)][t(217)](t(263))[t(248)](),e(this[t(242)])[t(252)]((()=>{const e=t;if(this[e(254)][e(300)](e(267)),this[e(242)]=null,this[e(254)][e(342)][e(326)](e(233))){const t=this[e(254)][e(342)][e(217)](e(233));t[e(245)](),t[e(351)]()}})))))}[$o(320)](t){const e=$o,i=this[e(254)][e(212)][e(217)](e(349)),s=this[e(254)][e(212)][e(217)](e(210)),n=this[e(254)][e(212)][e(217)](e(218));return Zo[e(225)](n,t)[e(252)]((t=>(s[e(265)][e(278)]=e(318),i[e(265)][e(278)]=e(223),this[e(319)]=!0,t)))}[$o(341)](t){const e=$o,i=this[e(254)][e(212)][e(217)](e(349));return this[e(254)][e(212)][e(217)](e(210))[e(265)][e(278)]=e(223),i[e(265)][e(278)]="",this[e(319)]=!1,t[e(296)]()}async[$o(262)](t){const e=$o,i=this[e(254)],s=this[e(242)][e(342)][e(217)](e(263)),n=i[e(342)][e(217)](e(338)),r=i[e(342)][e(217)](e(228)),o=s[e(313)][e(315)](t);let a,c,u;try{await r[e(221)](o,this[e(322)]),a=r[e(325)](o),c=r[e(261)](o)}catch(t){return void console[e(269)](t)}i[e(244)][e(216)]((t=>{const s=e;for(const e of Array[s(258)](i[s(244)][s(334)][s(219)](s(271))))t[s(230)](e)})),s[e(205)]=!1,i[e(244)][e(241)]((t=>{const s=e;t[s(276)](null),t[s(321)](i[s(244)][s(291)][s(250)][s(202)]());const n=Object[s(305)](a);for(const e of i[s(244)][s(291)][s(251)])s(346)!=e[s(347)]&&e[s(304)]()&&!n[s(303)](e[s(347)])&&t[s(344)](e);for(const e of n){let n=i[s(244)][s(291)][s(297)](e);n&&n[s(304)]()||(n=t[s(332)](e));const r=c[e],o=Object[s(305)](r),u=a[e];for(const e of n[s(202)]())o[s(303)](e)||t[s(336)](e,n);for(const i of o)t[s(345)](i,c[e][i],n);t[s(207)](t[s(213)](n)),t[s(348)](i[s(317)][s(274)](u,n),n,0)}}));const l=X(i[e(238)],e(290));return u=o[e(209)]?-1==o[e(209)][e(211)](l)?l+": "+o[e(209)]:o[e(209)]:l+": "+o[e(231)][e(350)](i[e(238)][e(256)],{month:e(306),day:e(255)})+", "+o[e(231)][e(224)](i[e(238)][e(256)],{hour:e(255),minute:e(255)}),await n[e(310)]({name:u}),s[e(205)]=!0,i[e(212)][e(217)](e(283))[e(264)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=301]})(t,e)}function Ko(){var t=["9637992SIZLwX","141UMqQIx","40KQFWTC","1837JVujQk","8842MOyLFu","11932GuWBqA","260FIuGrd","54OuNjOc","3621006GECyGi","5DjTSfU","20220fNsoEn","191871Zznzhl","861602rUlykV"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(358023===parseInt(e(312))/1*(-parseInt(e(309))/2)+parseInt(e(306))/3*(parseInt(e(310))/4)+-parseInt(e(301))/5*(-parseInt(e(313))/6)+-parseInt(e(304))/7*(parseInt(e(307))/8)+-parseInt(e(303))/9*(parseInt(e(311))/10)+parseInt(e(308))/11*(parseInt(e(302))/12)+parseInt(e(305))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(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:()=>W,RevisionHistory:()=>Go,RevisionHistoryUI:()=>Ft,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>me,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ao});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==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var 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(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){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 V=/^(?:0|[1-9]\d*)$/;function E(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 V.test(t)}}function M(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,M(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 L(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 j(){const t=["3786oYKmMv","creator","name","1453160tHUusT","396875kXNFBr","setName","585atPRvZ","authorsIds","1367432ZGTHgK","_update","8722273eKpacU","2409660Czveej","toJSON","fire","creatorId","diffData","model","attributes","toVersion","setAttribute","set","23890936KLrEmz","removeAttribute","fromVersion","authors","map","createdAt"];return(j=function(){return t})()}const P=z;function z(t,e){const i=j();return(z=function(t,e){return i[t-=131]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(740876===-parseInt(e(131))/1+parseInt(e(155))/2*(-parseInt(e(134))/3)+parseInt(e(136))/4+parseInt(e(132))/5+parseInt(e(139))/6+-parseInt(e(138))/7+parseInt(e(149))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(j);class W extends((0,t.ObservableMixin)()){id;[P(156)];[P(152)];[P(143)];[P(146)];[P(151)];[P(144)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(156)]=e[i(156)]||null,this[i(152)]=e[i(152)]||[],this[i(143)]=e[i(143)]||null,this[i(146)]=e[i(146)]||0,this[i(151)]=e[i(151)]||0,this[i(148)](i(157),e[i(157)]||""),this[i(148)](i(154),e[i(154)]||new Date),this[i(148)](i(145),e[i(145)]||{})}[P(133)](t){this[P(137)]({name:t})}[P(147)](t,e){const i=P,s=R(this[i(145)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(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]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(137)]({attributes:s})}[P(150)](t){const e=P,i=R(this[e(145)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(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 L(t,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(137)]({attributes:i})}[P(137)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(157),i(154),i(143),i(152),i(145),i(146),i(151),i(142)];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(152)]&&(n[i(135)]=n[i(152)][i(153)]((t=>t.id)),delete n[i(152)]),this[i(141)](i(137),n,e))}[P(140)](){const t=P;return{id:this.id,name:this[t(157)],creatorId:this[t(156)]?this[t(156)].id:null,authorsIds:this[t(152)][t(153)]((t=>t.id)),diffData:this[t(143)],createdAt:this[t(154)],attributes:this[t(145)],fromVersion:this[t(151)],toVersion:this[t(146)]}}}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-=451]})(t,e)}function B(){const t=["fromVersion","604kdJwlK","isOfficialPlugin","createdAt","push","length","605042YtNnlO","162xqDxbo","reverse","creatorId","addRevision","RevisionsRepository","1194NiMcuE","3201928bRsmCd","name","createRevision","get","data","getRevisionsInDiff","requires","earlier","afterInit","attributes","diffData","pluginName","from","fromCharCode","getRevisions","authorsIds","getUser","41345zyFnoU","getRevision","toVersion","Users","add","2879892ixVViC","editor","isNaN","_revisions","toJSON","getLaterVisibleRevision","6837bmxyro","newRevisionId","isPremiumPlugin","554770hkCHIr","later","join","5703180xErLKh","getIndex","href","oldRevisionId","getEarlierVisibleRevision","plugins","getRevisionsIterator","map"];return(B=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(756685===parseInt(e(483))/1+parseInt(e(489))/2*(-parseInt(e(463))/3)+parseInt(e(478))/4*(parseInt(e(452))/5)+parseInt(e(457))/6+-parseInt(e(469))/7+-parseInt(e(490))/8+parseInt(e(484))/9*(parseInt(e(466))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[q(460)];static get[q(496)](){return[Z.Users]}static get[q(501)](){return q(488)}static get[q(479)](){return!0}static get[q(465)](){return!0}get[q(482)](){const t=q;return this[t(460)][t(482)]}constructor(e){const i=q;super(e),this[i(460)]=new t.Collection}[q(498)](){!async function(e){const i=k([111,101,97,104,106,86,81,79,51,100,73,83,112,49,75,117,103,74,118,88,109,50,68,116,72,77,82,66,54,55,67,114,87,48,85,121,69,78,122,110,115,102,65,113,70,90,107,71,108,57,76,52,84,119,105,56,120,98,80,53,89,99]),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(459)](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(476)]((t=>String[e(503)](t)))[e(468)]("")}!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:1748131200;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(471)]);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(492)](t){const e=q,i=this[e(458)][e(474)][e(493)](e(455));return new W({id:t.id,name:t[e(491)],creator:t[e(486)]?i[e(451)](t[e(486)]):null,diffData:t[e(500)]||t[e(494)],authors:t[e(505)][e(476)]((t=>i[e(451)](t))),createdAt:new Date(t[e(480)]),attributes:t[e(499)],fromVersion:t[e(477)],toVersion:t[e(454)]})}[q(487)](t,e=0){const i=q;this[i(460)][i(456)](t,e)}[q(453)](t){const e=q;return this[e(460)][e(493)](t)}[q(504)](t={toJSON:!1}){const e=q,i=Array[e(502)](this[e(460)]);return i[e(485)](),t[e(461)]?i[e(476)]((t=>t[e(461)]())):i}[q(470)](t){const e=q;return this[e(460)][e(470)](t)}[q(473)](t){const e=q,[,i]=this[e(475)](t,{direction:e(497)});return i}[q(462)](t){const e=q,[,i]=this[e(475)](t,{direction:e(467)});return i}[q(495)](t){const e=q,i=[];for(const s of this[e(475)](t[e(464)]))if(i[e(481)](s),s.id===t[e(472)])break;return i}*[q(475)](t,{direction:e=q(497),filter:i=()=>!0}={}){const s=q,n=s(497)===e?1:-1;let r=this[s(460)][s(493)](t),o=this[s(470)](r);for(yield r;r;){if(o+=n,r=this[s(453)](o),!r)return;i(r)&&(yield r)}}}const G=J;function J(t,e){const i=K();return(J=function(t,e){return i[t-=407]})(t,e)}function K(){const t=["editing","1450694YGuGJu","children","filter","insertions","pluginName","_makeModelFromViewString","useFillerType","from","htmlProcessor","62396nxdfRx","_viewClassToTypeChar","loadRevisionData","_appendChild","getRevisionDocumentData","parse","customProperties","data","getRevision","fillerOffset","4765977zEaCEA","getRevisionRootsAttributes","config","map","createElement","startsWith","domChildrenToView","72443MbCssC","childNodes","getFillerOffset","_getTypeCharForViewElement","domConverter","string","toModel","isOfficialPlugin","3bJXtIE","410yIbWTJ","isAttached","length","name","revision-end","get","viewChildrenToDom","default","marked","innerHTML","attributes","RevisionHistoryUtils","2597472VUDplW","attributesAfter","domDocument","10PUVZmB","_typeCharToViewClass","document","constructor","processor","_getViewFromDiffObj","render","diffData","forEach","append","view","_setCustomProperty","attachChange","revision-start","data-revision-","type","488YgAZKt","editor","38481773nfrLsP","1145798nzPjIF","div","collaboration.channelId","isPremiumPlugin","_removeRevisionMarkers","toData"];return(K=function(){return t})()}!function(t){const e=J,i=t();for(;;)try{if(679256===-parseInt(e(429))/1+-parseInt(e(436))/2*(parseInt(e(470))/3)+parseInt(e(445))/4*(-parseInt(e(471))/5)+parseInt(e(407))/6+-parseInt(e(462))/7*(parseInt(e(426))/8)+parseInt(e(455))/9+parseInt(e(410))/10*(parseInt(e(428))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class Q extends U.Plugin{static get[G(440)](){return G(482)}static get[G(469)](){return!0}static get[G(432)](){return!0}[G(446)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[G(411)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[G(447)](t,e){const i=G;if(t[i(417)]||!e)return;const s=this[i(427)][i(457)][i(476)](i(431)),n=await e[i(453)]({channelId:s,revisionId:t.id});t[i(417)]=n[i(417)]}[G(449)](t){const e=G,i={};for(const s in t[e(417)]){if(t[e(417)][s][e(422)]&&!t[e(417)][s][e(422)][e(472)])continue;const n=this[e(433)](JSON[e(450)](t[e(417)][s][e(439)])),r=this[e(427)][e(435)][e(420)][e(412)],o=new H.ViewDocumentFragment(r,n[e(458)]((t=>this[e(415)](t,!1))));this[e(427)][e(452)][e(414)][e(442)](e(479)),i[s]=this[e(427)][e(452)][e(414)][e(434)](o),this[e(427)][e(452)][e(414)][e(442)](e(478))}return i}[G(456)](t){const e=G,i={};for(const s in t[e(417)])t[e(417)][s][e(422)]&&!t[e(417)][s][e(422)][e(472)]||(i[s]=t[e(417)][s][e(408)]||{});return i}[G(465)](t){const e=G;return this[e(446)][e(476)](t[e(413)])}[G(415)](t,e){const i=G,s=this[i(427)][i(435)][i(420)][i(412)];if(i(467)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(425)]||"r"==t[i(425)]?[]:t[i(437)][i(458)]((t=>this[i(415)](t,e)));const o=this[i(411)][i(476)](t[i(425)])||H.ViewElement,a=this[i(427)][i(452)][i(444)][i(466)];if(n=new o(s,t[i(474)],t[i(481)],r),"u"==t[i(425)]&&t[i(437)][0]){const r=t[i(437)][0];if(n[i(416)]=function(t){const e=i,s=t[e(459)](e(430));return s[e(480)]=r,s[e(463)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(448)](n);const e=Array[i(443)](a[i(477)](t,{bind:!1})),r=a[i(409)][i(459)](i(430));r[i(419)](...e),n=Array[i(443)](a[i(461)](r))[0]}}else if("r"==t[i(425)]&&t[i(437)][0]){const r=t[i(437)][0];if(n[i(416)]=function(t){t[i(480)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(448)](n);const e=Array[i(443)](a[i(477)](t,{bind:!1})),r=a[i(409)][i(459)](i(430));r[i(419)](...e);const o=Array[i(443)](a[i(461)](r));o[i(473)]>1?n[i(448)](o):n=o[0]}}if(t[i(451)])for(const[e,s]of t[i(451)])n[i(421)](e,s);const c=void 0===t[i(454)]?null:t[i(454)];return null!==c&&(n[i(464)]=()=>c),n}}[G(441)](t){const e=G,i=JSON[e(450)](t),s=this[e(427)][e(435)][e(420)][e(412)],n=new H.ViewDocumentFragment(s,i[e(458)]((t=>this[e(415)](t,!0))));return this[e(427)][e(452)][e(468)](n)}[G(433)](t){const e=G;return(t=t[e(438)]((t=>!t[e(474)]||e(423)!==t[e(474)]&&e(475)!==t[e(474)])))[e(418)]((t=>{const i=e;i(467)!=typeof t&&(t[i(437)]=this[i(433)](t[i(437)]),t[i(481)]=t[i(481)][i(438)]((t=>!t[0][i(460)](i(424)))))})),t}}function X(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 tt(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 et(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 it(t,e,r,o)}return it(t,e,r,o)}function it(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)===(V=s)||Number.isNaN(R)&&Number.isNaN(V)}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,V;const E=(s=s??new Map).get(t),M=s.get(i);if(null!=E&&null!=M)return E===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)||!et(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=>et(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(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(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(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=ct();return(ot=function(t,e){return i[t-=241]})(t,e)}!function(t){const e=ot,i=t();for(;;)try{if(946348===-parseInt(e(555))/1+-parseInt(e(423))/2+-parseInt(e(301))/3*(-parseInt(e(279))/4)+-parseInt(e(554))/5+-parseInt(e(526))/6+-parseInt(e(257))/7*(parseInt(e(389))/8)+parseInt(e(503))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ct);class at extends U.Plugin{[rt(255)];[rt(515)];[rt(411)]=null;[rt(345)];[rt(292)]=null;[rt(527)];[rt(560)];[rt(418)];[rt(284)];[rt(433)];[rt(538)];[rt(303)];[rt(394)];[rt(439)];static get[rt(372)](){return rt(340)}static get[rt(550)](){return!0}static get[rt(473)](){return!0}static get[rt(346)](){return[Z.Users,Y,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(345)]=this[i(270)][i(403)][i(296)](i(322)),this[i(433)]=this[i(270)][i(403)][i(296)](i(417)),this[i(527)]=new ut(this[i(270)]),this[i(418)]=this[i(270)][i(510)][i(296)](i(412))||i(393),this[i(284)]=new Map,this[i(439)]=null;const s=(0,t.uid)();this[i(560)]={history:this[i(270)][i(370)][i(359)][i(470)],getLatestVersion:()=>Promise[i(536)](this[i(270)][i(370)][i(359)][i(471)]),getCurrentRevisionId:()=>s},this[i(297)](i(387),!1),this[i(297)](i(514),!0),this[i(297)](i(369),!1),this[i(270)][i(510)][i(373)](i(278),!0),this[i(270)][i(516)][i(543)](i(347))[i(482)]({view:i(376)})}[rt(384)](){const t=rt;this[t(556)](),this[t(270)][t(534)].on(t(427),(()=>{const e=t,i=this[e(345)][e(466)](0),s=i&&null===i[e(535)]?i:null;if(this[e(303)]=!!s&&this[e(270)][e(510)][e(296)](e(278)),this[e(270)][e(403)][e(383)](e(521))){const t=this[e(560)][e(375)](),n=this[e(345)][e(466)](t);if(n)this[e(394)]=n[e(252)],this[e(303)]=!1;else{const t=this[e(560)][e(470)][e(436)][e(444)]((t=>!t[e(397)])),n=t?t[e(318)]:this[e(560)][e(470)][e(471)];i?(i[e(334)]<n&&i[e(496)]({toVersion:n}),this[e(303)]?(this[e(560)][e(375)]=()=>s.id,this[e(394)]=s[e(252)]):(this[e(394)]=i[e(334)],this[e(303)]=!1)):(this[e(394)]=n,this[e(303)]=!1)}}else s&&(this[e(270)][e(370)][e(359)][e(470)][e(471)]=Math[e(553)](s[e(334)],this[e(270)][e(370)][e(359)][e(470)][e(471)]),s[e(252)]===s[e(334)]?(0!==s[e(252)]&&(this[e(560)][e(375)]=()=>s.id),this[e(303)]=!1):this[e(303)]&&(this[e(560)][e(375)]=()=>s.id,this[e(394)]=s[e(252)])),this[e(303)]||(this[e(394)]=this[e(270)][e(370)][e(359)][e(471)]);this[e(527)][e(384)](this[e(560)][e(470)]),this[e(308)](this[e(394)]),this[e(291)](this[e(394)]),this[e(292)]&&this[e(461)]()})),this[t(282)](t(387)).to(this,t(369),(t=>!t)),this[t(255)]=this[t(270)][t(510)][t(296)](t(255));const e=this[t(270)];this[t(515)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(541)==r||i(395)==r||i(488)==r||i(398)==r||i(483)==r||i(421)==r||i(268)==r||i(499)==r){delete e[n],s=r,clearInterval(this[i(515)]),this[i(515)]=void 0;break}}i(395)==s&&e[i(558)](i(276)),i(488)==s&&e[i(558)](i(468)),i(398)==s&&e[i(558)](i(313)),i(483)==s&&e[i(558)](i(399),i(531)),i(421)==s&&e[i(558)](i(331)),i(268)==s&&e[i(558)](i(367)),i(499)==s&&e[i(558)](i(413))}),1e3)}async[rt(434)](){const t=rt;if(this[t(345)][t(249)]>0){const e=this[t(345)][t(466)](0),i=await this[t(312)](e),s=await this[t(336)](e);this[t(539)](i,s)}}[rt(293)](){const t=rt;super[t(293)](),this[t(515)]&&clearInterval(this[t(515)])}[rt(450)](t){this[rt(560)]=t}async[rt(405)](){const t=rt,e=await this[t(560)][t(311)]();if(e>this[t(411)][t(334)]){await this[t(267)]();const i=this[t(357)]({revision:this[t(411)],to:e});i[t(294)]=i[t(269)][t(447)]((e=>this[t(270)][t(403)][t(296)](t(545))[t(464)](e))),this[t(411)][t(496)](i)}}async[rt(487)](e={},i=null){const s=rt,n=[];await this[s(267)](),this[s(303)]=!1,i>this[s(411)][s(334)]&&(i=null),null===i&&(i=await this[s(560)][s(311)]());const r=this[s(501)](i),o=this[s(357)]({from:r,to:i});if(this[s(411)][s(334)]<i){const t=this[s(357)]({revision:this[s(411)],from:i,to:i});t[s(294)]=[],t[s(269)]=[],t.id=this[s(411)].id,this[s(411)][s(496)](t,!0),delete t[s(294)],n[s(275)](t)}e[s(344)]=this[s(270)][s(403)][s(296)](s(545)).me.id,e[s(505)]=e[s(505)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(382)](e);n[s(275)](e);const c=this[s(345)][s(428)](a);if(0!==c){const t=this[s(345)][s(466)](c-1);if(t[s(252)]!==i){const r=this[s(527)][s(366)](i,t[s(334)]),o={id:t.id,diffData:r[s(517)],authorsIds:r[s(269)],authors:r[s(269)][s(447)]((t=>this[s(270)][s(403)][s(296)](s(545))[s(464)](t))),fromVersion:i};t===this[s(411)]&&(o[s(508)]=new Date(e[s(508)][s(329)]()+10)),t[s(496)](o,!0),delete o[s(294)],n[s(275)](o)}}if(this[s(292)]){for(const t of n)this[s(264)](t.id,t,!0);this[s(461)]()}return a}[rt(382)](t){const e=rt,i=this[e(345)][e(497)](t);return this[e(292)]&&i.on(e(496),((t,i,s)=>{const n=e;s||(this[n(264)](i.id,i,!0),this[n(461)]())})),this[e(345)][e(321)](i,this[e(542)](i)),i}async[rt(312)](t){const e=rt;return await this[e(433)][e(562)](t,this[e(292)]),this[e(433)][e(312)](t)}async[rt(336)](t){const e=rt;return await this[e(433)][e(562)](t,this[e(292)]),this[e(433)][e(336)](t)}[rt(461)](){const t=rt;if(0===this[t(284)][t(250)])return;if(this[t(369)])return;let e=Array[t(274)](this[t(284)][t(253)]());this[t(284)][t(549)]();for(let i=0;i<e[t(249)];i++){const s=e[i];let n=!1;for(const e of Object[t(438)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(365)]((t=>null!==t)),!e[t(249)])return;for(let i=0;i<e[t(249)];i++){const s=e[i];void 0!==s[t(252)]&&void 0===s[t(334)]&&(s[t(334)]=this[t(345)][t(466)](s.id)[t(334)]),void 0!==s[t(334)]&&void 0===s[t(252)]&&(s[t(252)]=this[t(345)][t(466)](s.id)[t(252)])}const i=this[t(270)][t(510)][t(296)](t(412));this[t(369)]=!0,this[t(459)](),this[t(292)][t(307)](e,i)[t(391)]((()=>{this[t(369)]=!1}))[t(352)]((e=>{const i=t;if(e)for(const t of e)this[i(504)]({id:t.id,createdAt:t[i(508)]});this[i(320)](),this[i(461)]()}))}[rt(357)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(252)],i=null!==i?i:t[s(334)];const n=this[s(527)][s(366)](e,i),r={diffData:n[s(517)],authorsIds:n[s(269)],fromVersion:e,toVersion:i};if(!t||i!==t[s(334)]){const t=i-1,e=this[s(560)][s(470)][s(465)](t);r[s(508)]=e&&e[s(508)]||new Date}if(this[s(439)]&&e===this[s(439)][s(252)])for(const t of this[s(439)][s(294)])r[s(269)][s(509)](t.id)||r[s(269)][s(275)](t.id);return r}[rt(264)](t,e,i){const s=rt;if(this[s(284)][s(383)](t)){const n=this[s(284)][s(296)](t);e=i?{...n,...e}:{...e,...n}}this[s(284)][s(297)](t,e)}[rt(504)](t){const e=rt,i=this[e(345)][e(466)](t.id);if(t[e(508)]&&(t[e(508)]=new Date(t[e(508)])),t[e(269)]){const i=this[e(270)][e(403)][e(296)](e(545));t[e(294)]=t[e(269)][e(447)]((t=>i[e(464)](t)))}i[e(496)](t,!0)}[rt(308)](t){const e=rt,i=this[e(345)][e(466)](this[e(345)][e(249)]-1);if(i)this[e(418)]=i.id;else{const i=!this[e(270)][e(370)][e(359)][e(490)][e(444)]((t=>this[e(270)][e(370)][e(310)](t))),s=this[e(270)][e(403)][e(296)](e(545)).me.id,n=X(this[e(270)][e(544)],e(i?360:245));this[e(431)]({from:t,to:t,id:this[e(418)],name:n,creatorId:s})}}[rt(291)](t){const e=rt,i=this[e(560)][e(375)]();this[e(411)]=this[e(345)][e(466)](i),this[e(411)]||(this[e(411)]=this[e(431)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(267)](){const t=rt;this[t(303)]&&!this[t(439)]&&(await this[t(433)][t(562)](this[t(411)],this[t(292)]),this[t(527)][t(547)](this[t(411)]),this[t(439)]={fromVersion:this[t(411)][t(252)],authors:this[t(411)][t(294)][t(400)]()})}[rt(539)](e,i){const s=rt;let n=this[s(270)][s(510)][s(296)](s(272)),r=this[s(270)][s(510)][s(296)](s(415));if(void 0===n){n={};for(const t of this[s(270)][s(370)][s(359)][s(260)]())n[t]=""}if(s(522)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(270)][s(370)][s(359)][s(260)]())r[t]={}}let o=!1;const a=Object[s(438)](n),c=Object[s(438)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(263)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(438)](r[t])[s(249)]>0){o=!0;break}}o||(o=c[s(462)]((t=>!this[s(270)][s(370)][s(359)][s(302)](t)))),o&&(0,t.logWarning)(s(309),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(270)][s(510)][s(297)](s(272),e),this[s(270)][s(510)][s(297)](s(415),i)}[rt(459)](){const t=rt;if(!this[t(538)]){const e=this[t(270)][t(403)][t(296)](t(425));this[t(538)]=e[t(304)](X(this[t(270)][t(544)],t(559)))}}[rt(320)](){const t=rt;this[t(538)]&&(this[t(270)][t(403)][t(296)](t(425))[t(333)](this[t(538)]),this[t(538)]=null)}[rt(542)](t){const e=rt,i=this[e(345)][e(364)]();i[e(349)]();let s=0;for(;s<i[e(249)];){const n=i[s];if(n===this[e(411)]){s++;continue}if(n.id===this[e(418)])break;const r=t[e(334)]-n[e(334)]||t[e(252)]-n[e(252)];if(r>0)break;if(r<0)s++;else{if(!t[e(535)]&&n[e(535)])break;if(n[e(535)]||!t[e(535)]){if(t[e(508)]>n[e(508)])break;s++}else s++}}return s}[rt(501)](t){const e=rt,i=this[e(345)][e(364)]();i[e(349)](),i[e(523)]();const s=i[e(444)]((i=>i[e(334)]<=t))[e(334)];return s<this[e(394)]?this[e(394)]:s}[rt(431)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(357)]({from:e,to:i});o[r(505)]=t,o[r(344)]=s,o.id=n;const a=this[r(382)](o);return this[r(292)]&&this[r(264)](o.id,o,!0),a}[rt(556)](){const t=rt;this[t(270)][t(516)][t(543)](t(353))[t(380)]({model:t(376)})}}function ct(){const t=["plugins","previousPosition","update","createPositionAt","_removeMetaData","createPositionBefore","type","createRange","currentRevision","collaboration.channelId","usageLimit","_getBaseVids","rootsAttributes","tableCell","RevisionHistoryUtils","_initialRevisionId","getCustomProperties","getOperations","revisionHistoryLicenseKeyEvaluationLimit","_handleRootOperation","1161066RXvGLg","_touchedMarkers","PendingActions","$graveyard","ready","getIndex","_copyMarkers","_cloneOperation","_makeRevision","htmlProcessor","_utils","afterInit","_handleMarkerOperation","_operations","_getPreviousFrom","keys","_loadedStateData","newRange","range","key","children","find","keepParagraph","_touched","map","deletion","_isAttached","setSource","_revisionId","graveyardPosition","attachChange","toView","start","insertionPosition","uiElement","getAttributes","_addPendingAction","_handleOperation","sendBufferedUpdates","some","item","getUser","getOperation","getRevision","attributesAfter","expired","offset","history","version","getChild","isPremiumPlugin","vid_start","vid","source","render","move","getChildren","getAncestors","getRange","dataToMarker","revisionHistoryLicenseKeyNotAllowed","stringify","_handleRootAttributeOperation","getTransformedByOperation","saveRevision","revisionHistoryLicenseKeyExpired","rawElement","roots","path","elementStart","_lastFrom","detachRoot","_fixOperation","_update","createRevision","paragraph","revisionHistoryLicenseKeyUsageLimit","nodeAfter","_getFromVersion","getMovedRangeStart","36408861AmDfAR","setRevisionData","name","clone","_execute","createdAt","includes","config","_generateTape","_authorId","_getViewJson","isEnabled","_licenseKeyCheckInterval","conversion","diffData","_lastTo","splitPosition","getWalker","RealTimeCollaborationClient","string","shift","isEqual","_clone","2212218DxXamo","_revisionDataBuilder","_handleMergeOperation","_makeModelFromViewString","delete","RevisionHistory","revision:","$comment","data","creator","resolve","_calculateMetaData","_pendingAction","_replaceEditorDataWithRevisionData","createElement","revisionHistoryLicenseKeyValid","_findInsertionIndex","for","locale","Users","$text","loadState","attributesBefore","clear","isOfficialPlugin","childCount","_getVidAttributeName","max","2199895sKbrHA","1371683AAniTe","_setConversion","domConverter","_showLicenseError","PENDING_ACTION_REVISION_HISTORY","_source","changeRootAttribute","loadRevisionData","_getState","_processRootBeforeSave","text","customProperties","Initial revision","rootName","insertion","sourcePosition","length","size","merge","fromVersion","values","insertions","licenseKey","_prepareViewToSave","258517QdpbfG","userId","domDocument","getRootNames","_savedMetaData","_applyOperations","trim","_bufferUpdate","_baseRoots","NEGATIVE_INFINITY","_loadState","revisionHistoryLicenseKeyTrialLimit","authorsIds","editor","offsetSize","initialData","_fixPosition","from","push","invalid","_diffRoots","revisionHistory.resumeUnsavedRevision","8CqMzGO","_diffRootsAttributes","markers","bind","_markChanges","_bufferedUpdates","_handleMoveOperation","fromEntries","isAttached","outerHTML","addRootAttribute","_saveMetaData","_createCurrentRevision","adapter","destroy","authors","innerHTML","get","set","_startingRevisionId","_idsRoots","reInit","1653189nDqLgp","getRoot","_continueCurrentRevision","add","split","newValue","updateRevisions","_createInitialRevision","editor-initial-data-replaced-with-revision-data","hasContent","getLatestVersion","getRevisionDocumentData","domainLimit","elementEnd","addRoot","root","insert","baseVersion","end","_removePendingAction","addRevision","RevisionsRepository","element","marker","getFillerOffset","createRangeIn","_createFromRanges","_baseRootsAttributes","getTime","_reset","evaluationLimit","parent","remove","toVersion","fillerOffset","getRevisionRootsAttributes","_transformMarkers","vid_end","_appendChild","RevisionTracker","howMany","getAttribute","_baseIdsRoots","creatorId","repository","requires","upcast","createPositionFromPath","reverse","sort","_makeIdsRoot","then","dataDowncast","_markers","_handleSplitOperation","oldRange","buildRevisionData","_insertChild","document","Empty document","_handleInsertOperation","affectsData","nodes","getRevisions","filter","getData","trialLimit","_getTypeCharForViewElement","_isPendingUpdate","model","startsWith","pluginName","define","documentFragment","getCurrentRevisionId","revision","getNodeByPath","stickiness","isAdd","markerToData","createPositionAfter","addRevisionData","has","init","position","reinsert","isReady","_setAttribute","312wtujmX","_fixRange","finally","removeRootAttribute","initial","_startingVersion","revisionHistoryLicenseKeyInvalid","targetPosition","_isInit","revisionHistoryLicenseKeyDomainLimit","featureNotAllowed","slice","_touchedRoots","deletions"];return(ct=function(){return t})()}class ut{[rt(270)];[rt(476)];[rt(261)];[rt(493)];[rt(518)];[rt(354)];[rt(277)];[rt(280)];[rt(265)];[rt(328)];[rt(299)];[rt(343)];[rt(446)];[rt(424)];[rt(401)];[rt(451)];[rt(298)];constructor(t){const e=rt;this[e(270)]=t,this[e(261)]=new Map,this[e(493)]=-1,this[e(518)]=-1,this[e(354)]=new Map,this[e(277)]=new Map,this[e(280)]=new Map,this[e(265)]=new Map,this[e(328)]=new Map,this[e(299)]=new Map,this[e(343)]=new Map,this[e(446)]=new Map,this[e(424)]=new Map,this[e(401)]=new Map,this[e(451)]=1}[rt(384)](t){const e=rt;this[e(476)]=t;const i=new Map,s=new Map,n=this[e(270)][e(370)][e(359)][e(490)][e(447)]((t=>t[e(246)]));for(const t of n){const n=this[e(270)][e(370)][e(359)][e(302)](t),r=lt(n);i[e(297)](t,r),s[e(297)](t,Object[e(286)](n[e(458)]()))}const r=Array[e(274)](this[e(270)][e(370)][e(281)])[e(447)]((t=>[t[e(505)],t[e(481)]()])),o=this[e(476)][e(471)];this[e(290)](o,i,r,s),this[e(298)]=this[e(451)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(297)](t,i),c[e(297)](t,{})}this[e(290)](Number[e(266)],a,[],c)}[rt(366)](t,e){const i=rt;if(this[i(493)]===t&&this[i(518)]<=e)this[i(261)][i(250)]>1&&this[i(407)](this[i(518)]),this[i(262)](this[i(518)],e,!0);else{if(!this[i(261)][i(383)](t)){const e=this[i(437)](t);this[i(537)](e,t,!1)}this[i(537)](t,e,!0)}return this[i(493)]=t,this[i(518)]=e,this[i(241)]()}[rt(547)](t){const e=rt,i=this[e(270)][e(403)][e(296)](e(417));this[e(330)](),this[e(493)]=t[e(252)],this[e(518)]=t[e(334)];for(const s in t[e(517)]){const n=t[e(517)][s][e(453)],r=R(t[e(517)][s][e(548)])||{},o=i[e(529)](t[e(517)][s][e(402)]);o[e(246)]=s,o[e(449)]=!n||!n[e(287)],o[e(287)]=()=>o[e(449)],this[e(265)][e(297)](s,o),this[e(328)][e(297)](s,r),n&&this[e(401)][e(297)](s,n);const a=this[e(351)](o);this[e(343)][e(297)](s,a);for(const[t,i]of o[e(281)]){if(!t[e(371)](e(532)))continue;const s=t[e(305)](":")[2];for(const t of i[e(520)]({singleCharacters:!0})){const i=this[e(552)](t),n=e(314)==t[e(409)]?t[e(404)][e(491)][e(400)](0,-1):t[e(404)][e(491)],r=a[e(377)](n)[e(342)](i);this[e(446)][e(297)](r,{userId:s})}}}this[e(298)]=this[e(451)];const s=[...Array(this[e(451)])[e(438)]()][e(400)](1)[e(365)]((t=>!this[e(446)][e(383)](t)));let n=0;const r=new Map;for(const o in t[e(517)]){const a=t[e(517)][o][e(453)],c=R(t[e(517)][o][e(467)])||{},u=i[e(529)](t[e(517)][o][e(254)]);u[e(246)]=o,u[e(449)]=!a||a[e(287)],u[e(287)]=()=>u[e(449)],this[e(277)][e(297)](o,u),this[e(280)][e(297)](o,c);const l=this[e(351)](u,Number[e(266)]);this[e(299)][e(297)](o,l),r[e(297)](o,u[e(287)]()?c:{});for(const[t,i]of u[e(281)]){if(!t[e(371)](e(532)))continue;const s=t[e(305)](":")[2];for(const t of i[e(520)]({singleCharacters:!0})){const i=this[e(552)](t),n=this[e(451)]++,r=e(314)==t[e(409)]?t[e(404)][e(491)][e(400)](0,-1):t[e(404)][e(491)];l[e(377)](r)[e(388)](i,n),this[e(446)][e(297)](n,{userId:s})}}for(const t of this[e(270)][e(370)][e(326)](u)[e(520)]({singleCharacters:!0})){const i=this[e(552)](t),r=e(314)==t[e(409)]?t[e(404)][e(491)][e(400)](0,-1):t[e(404)][e(491)],o=l[e(377)](r);o[e(342)](i)>0||o[e(388)](i,s[n++])}for(const[t,i]of u[e(281)])t[e(371)](e(532))||this[e(354)][e(297)](t,i)}const o=ht(e(426));this[e(265)][e(297)](e(426),o),this[e(343)][e(297)](e(426),this[e(351)](o,1));const a=ht(e(426));this[e(277)][e(297)](e(426),a),this[e(299)][e(297)](e(426),this[e(351)](a,1));const c=Array[e(274)](this[e(277)])[e(447)]((([t,e])=>[t,lt(e)]));this[e(290)](this[e(518)],c,this[e(354)],r)}[rt(300)](){const t=rt;this[t(330)](),this[t(493)]=-1,this[t(518)]=-1,this[t(261)][t(549)](),this[t(384)](this[t(476)])}[rt(290)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(297)](t,{start:e[n(455)][n(506)](),end:e[n(319)][n(506)](),rootName:e[n(316)][n(246)]});this[n(261)][n(297)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(407)](t){const e=rt;this[e(261)][e(530)](t)}[rt(330)](){const t=rt;this[t(446)][t(549)](),this[t(424)][t(549)](),this[t(401)][t(549)](),this[t(277)][t(549)](),this[t(280)][t(549)](),this[t(265)][t(549)](),this[t(328)][t(549)](),this[t(299)][t(549)](),this[t(343)][t(549)](),this[t(354)][t(549)](),this[t(451)]=1,this[t(298)]=this[t(451)]}[rt(351)](t,e=null){const i=rt;let s=null;t.is(i(374))||(s=new H.Element(t[i(505)],{vid_start:null===e?this[i(451)]++:e++}));const n=[];for(const s of t[i(479)]())if(s.is(i(323))){n[i(275)](this[i(351)](s,e));const t=n[n[i(249)]-1];null!==e&&(e=t.is(i(323),i(546))?t[i(342)](i(475))+1:t[i(342)](i(338))+1)}else for(let t=0;t<s[i(271)];t++)n[i(275)](new H.Element(i(546),{vid:null===e?this[i(451)]++:e++}));if(t.is(i(374))){const e=ht(t[i(246)]);return e[i(358)](0,n),e}return s[i(388)](i(338),null===e?this[i(451)]++:e++),s[i(358)](0,n),s}[rt(537)](t,e,i){const s=rt;this[s(330)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(261)][s(296)](t);this[s(265)]=new Map(n),this[s(328)]=new Map(R(o));for(const[t,e]of this[s(265)])if(s(426)!==t&&(this[s(277)][s(297)](t,lt(e)),this[s(280)]=new Map(R(o)),i)){const i=this[s(451)];this[s(299)][s(297)](t,this[s(351)](e)),this[s(343)][s(297)](t,this[s(351)](e,i))}this[s(298)]=this[s(451)],this[s(277)][s(297)](s(426),lt(this[s(265)][s(296)](s(426)))),i&&this[s(299)][s(297)](s(426),this[s(351)](this[s(265)][s(296)](s(426))));for(const[t,e]of r){const i=this[s(265)][s(296)](e[s(246)]),n=this[s(277)][s(296)](e[s(246)]),r=new H.Range(this[s(273)](e[s(455)],i),this[s(273)](e[s(319)],i)),o=this[s(390)](r,n);i[s(281)][s(297)](t,r),this[s(354)][s(297)](t,o)}this[s(262)](t,e,i)}[rt(262)](t,e,i){const s=rt;for(const n of this[s(476)][s(420)](t,e))this[s(460)](n,i);for(const t of this[s(277)][s(253)]())t[s(281)][s(549)]();for(const[t,e]of this[s(354)])this[s(277)][s(296)](e[s(316)][s(246)])[s(281)][s(297)](t,e[s(506)]());const n=new Map,r=new Map;for(const[t,e]of this[s(277)])n[s(297)](t,lt(e)),r[s(297)](t,this[s(280)][s(296)](t));this[s(290)](e,n,this[s(354)],r)}[rt(437)](t){const e=rt,i=Array[e(274)](this[e(261)][e(438)]());i[e(350)](((t,e)=>t-e)),i[e(349)]();for(const e of i)if(e<t)return e;return Number[e(266)]}[rt(429)](t,e){const i=rt,s=Array[i(274)](e[i(281)])[i(447)]((([e,s])=>[e,this[i(390)](s,t)]));t[i(281)]=new Map(s)}[rt(337)](t){const e=rt;for(const i of this[e(354)][e(253)]()){const s=i[e(486)](t),n=H.Range[e(327)](s);i[e(455)]=n[e(455)],i[e(319)]=n[e(319)]}}[rt(460)](t,e){const i=rt;if(i(315)!=t[i(409)]&&i(494)!=t[i(409)]){if(i(317)==t[i(409)]){const s=t[i(385)][i(316)][i(246)];this[i(277)][i(383)](s)||(this[i(277)][i(297)](s,ht(s,!0)),this[i(280)][i(297)](s,{}),e&&this[i(299)][i(297)](s,ht(s,!0)))}else{if(i(289)==t[i(409)]||i(392)==t[i(409)]||i(561)==t[i(409)])return void this[i(485)](t);i(324)==t[i(409)]&&this[i(435)](t)}if(i(324)!==t[i(409)]){const e=this[i(430)](t,this[i(277)]);e[i(507)](),this[i(337)](e)}if(e)switch(t[i(409)]){case i(317):this[i(361)](t);break;case i(478):case i(333):case i(386):this[i(285)](t);break;case i(251):this[i(528)](t);break;case i(305):this[i(355)](t)}}else this[i(422)](t,e)}[rt(430)](t,e){const i=rt,s=t[i(506)]();return s[i(512)]=t[i(512)],this[i(495)](s,e),s}[rt(414)](t){const e=rt;return t[e(447)]((t=>{const i=e,s=this[i(552)](t);return Number(t[i(463)][i(342)](s))}))}[rt(511)](t,e){const i=rt;if(t.is(i(323),i(546)))e[i(275)]({item:t,type:i(243)});else{t.is(i(323))&&e[i(275)]({item:t,type:i(492)});for(const s of t[i(479)]())this[i(511)](s,e);t.is(i(323))&&e[i(275)]({item:t,type:i(314)})}return e}[rt(241)](){const t=rt,e=new Map(this[t(446)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(265)][t(438)](),...this[t(277)][t(438)]()]);a[t(530)](t(426));for(const e of a){const i=this[t(277)][t(296)](e)||ht(e,!1),s=this[t(265)][t(296)](e)||ht(e,!1);i[t(287)]()||s[t(287)]()?(n[t(254)][e]=lt(i),n[t(402)][e]=lt(s),this[t(429)](n[t(402)][e],s),this[t(429)](n[t(254)][e],i),r[t(254)][e]=this[t(511)](this[t(299)][t(296)](e),[]),r[t(402)][e]=this[t(511)](this[t(343)][t(296)](e)||ht(e,!1),[])):a[t(530)](e)}for(const n of a){const o=r[t(254)][n];for(const n of o){const r=this[t(552)](n),o=n[t(463)][t(342)](r);i[t(530)](o),o>=this[t(298)]&&s[t(297)](o,e[t(296)](o))}}for(const n of a){const a=r[t(254)][n],c=this[t(414)](r[t(402)][n]);let u=0;for(const n of a){const r=this[t(552)](n),a=n[t(463)][t(342)](r);if(!s[t(383)](a)&&!o[t(383)](a))if(i[t(383)](a))u++;else{if(a!=c[u]){const s=e[t(296)](a)||e[t(296)](c[u]);for(;a!=c[u];)i[t(383)](c[u])||(o[t(297)](c[u],s),e[t(297)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(254)][e];for(const e of n){const n=this[t(552)](e),r=e[t(463)][t(342)](n);if(o[t(383)](r)){const e=o[t(296)](r);i[t(383)](r)||i[t(297)](r,{...e}),s[t(297)](r,{...e})}}}for(const e of i[t(438)]())e>=this[t(298)]&&i[t(530)](e);const c=new Map;for(const e of a){let n=r[t(254)][e];for(const e of n)if(e[t(463)].is(t(323),t(416))){const i=this[t(552)](e),n=e[t(463)][t(342)](i);if(s[t(383)](n)){const i=e[t(463)][t(332)][t(332)][t(342)](t(474)),r=c[t(296)](i)||new Set;r[t(304)](s[t(296)](n)[t(258)]),c[t(297)](i,r)}}n=r[t(402)][e];for(const e of n)if(e[t(463)].is(t(323),t(416))){const s=this[t(552)](e),n=e[t(463)][t(342)](s);if(i[t(383)](n)){const s=e[t(463)][t(332)][t(332)][t(342)](t(474)),r=c[t(296)](s)||new Set;r[t(304)](i[t(296)](n)[t(258)]),c[t(297)](s,r)}}for(const e of c[t(438)]())(s[t(383)](e)||i[t(383)](e))&&c[t(530)](e)}for(const e of a){const n=r[t(254)][e];let o=null,a=null;for(const e of n){const n=this[t(552)](e),r=e[t(463)][t(342)](n),u=c[t(296)](r);u&&t(492)==e[t(409)]&&(o=Array[t(274)](u)[0],a=e[t(463)][t(342)](t(338))),o&&(i[t(297)](r,{userId:o}),s[t(297)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(402)][e],a=n[t(254)][e];for(const{userId:e}of this[t(424)][t(253)]())null!==e&&l[t(304)](e);for(const{userId:e}of this[t(401)][t(253)]())null!==e&&l[t(304)](e);this[t(283)](a,r[t(254)][e],s,t(247),l),this[t(283)](o,r[t(402)][e],i,t(448),l),u[e]={insertions:this[t(256)](a),deletions:this[t(256)](o),attachChange:this[t(401)][t(296)](e)||null,attributesBefore:R(this[t(328)][t(296)](e))||{},attributesAfter:R(this[t(280)][t(296)](e))}}return{diffData:u,authorsIds:Array[t(274)](l)}}[rt(242)](t){const e=rt;for(const[,i]of t[e(281)]){const t=i[e(455)][e(480)]()[e(365)]((t=>e(416)==t[e(505)]));for(const i of t)1==i[e(551)]&&i[e(472)](0).is(e(323),e(498))&&i[e(472)](0)[e(388)](e(445),!0)}}[rt(256)](t){const e=rt;this[e(242)](t);const i=this[e(270)][e(534)][e(454)](t,{}),s=Array[e(274)](i[e(479)]())[e(447)]((t=>this[e(513)](t)));return JSON[e(484)](s)}[rt(513)](t){const e=rt;if(t.is(e(546)))return t[e(534)];{const i=this[e(270)][e(403)][e(296)](e(417)),s=t,n=this[e(270)][e(534)][e(432)][e(557)],r={type:i[e(368)](s),name:s[e(505)],attributes:Array[e(274)](s[e(458)]()),children:Array[e(274)](s[e(479)]())[e(447)]((t=>this[e(513)](t)))};if(t.is(e(457))&&e(533)!=t[e(505)]){const i=t[e(477)](n[e(259)],n);r[e(443)][e(275)](i[e(288)])}else if(t.is(e(489))){const i=n[e(259)][e(540)](s[e(505)]);t[e(477)](i,n),r[e(443)][e(275)](i[e(295)])}const o=Array[e(274)](s[e(419)]());o[e(249)]>0&&(r[e(244)]=o);const a=s[e(325)]();return null!==a&&(r[e(335)]=a),r}}[rt(283)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(270)][r(370)];for(let s=0;s<e[r(249)];s++){const n=this[r(552)](e[s]),c=e[s][r(463)][r(342)](n),h=i[r(296)](c),d=s==e[r(249)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(258)]!=o[r(258)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(258)],d=l(532)+s+":"+h+":"+c++,f=u[l(410)](i,a);t[l(281)][l(297)](d,f),null!==h&&n[l(304)](h)}}[rt(552)](t){const e=rt;switch(t[e(409)]){case e(492):return e(474);case e(314):return e(338);default:return e(475)}}[rt(495)](t,e){const i=rt;t[i(318)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(296)](n[i(316)][i(246)]);t[s]=this[i(273)](n,r)}if(n instanceof H.Range){const r=e[i(296)](n[i(316)][i(246)]);t[s]=this[i(390)](n,r)}i(316)===s&&(t[i(316)]=e[i(296)](t[i(316)][i(246)]))}}[rt(390)](t,e){const i=rt;return this[i(270)][i(370)][i(410)](this[i(273)](t[i(455)],e),this[i(273)](t[i(319)],e))}[rt(273)](t,e){const i=rt;return this[i(270)][i(370)][i(348)](e,t[i(491)],t[i(378)])}[rt(361)](t){const e=rt,i=this[e(299)][e(296)](t[e(385)][e(316)][e(246)]),s=this[e(273)](t[e(385)],i),n=null===t[e(512)]?null:t[e(512)]||this[e(270)][e(403)][e(296)](e(545)).me.id,r=s[e(332)],o=this[e(451)],a=[];for(const i of t[e(363)])if(i.is(e(323)))a[e(275)](this[e(351)](i));else for(let t=0;t<i[e(271)];t++)a[e(275)](new H.Element(e(546),{vid:this[e(451)]++}));const c=this[e(451)];for(let t=o;t<c;t++)this[e(446)][e(297)](t,{userId:n});r[e(358)](s[e(469)],a)}[rt(285)](t){const e=rt;(t=this[e(430)](t,this[e(299)]))[e(507)]();const i=null===t[e(512)]?null:t[e(512)]||this[e(270)][e(403)][e(296)](e(545)).me.id,s=t[e(502)](),n=s[e(332)],r=s[e(469)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(472)](e);r.is(a(323),a(546))?s[a(297)](r[a(342)](a(475)),{userId:i}):(s[a(297)](r[a(342)](a(474)),{userId:i}),t(s,r,0,r[a(551)]),s[a(297)](r[a(342)](a(338)),{userId:i}))}}(this[e(446)],n,r,r+t[e(341)])}[rt(528)](t){const e=rt,i=null===(t=this[e(430)](t,this[e(299)]))[e(512)]?null:t[e(512)]||this[e(270)][e(403)][e(296)](e(545)).me.id,s=t[e(396)][e(332)],n=t[e(248)][e(332)],r=s[e(342)](e(338)),o=n[e(342)](e(474));s[e(388)](e(338),n[e(342)](e(338))),n[e(388)](e(338),r),this[e(446)][e(297)](o,{userId:i}),this[e(446)][e(297)](r,{userId:i}),t[e(507)]()}[rt(355)](t){const e=rt,i=null===(t=this[e(430)](t,this[e(299)]))[e(512)]?null:t[e(512)]||this[e(270)][e(403)][e(296)](e(545)).me.id,s=t[e(452)],n=t[e(519)][e(332)];t[e(507)]();const r=n[e(342)](e(338)),o=t[e(456)][e(500)];if(s){const t=o[e(342)](e(338)),s=n[e(342)](e(338));n[e(388)](e(338),t),o[e(388)](e(338),s),this[e(446)][e(297)](n[e(342)](e(338)),{userId:i}),this[e(446)][e(297)](o[e(342)](e(474)),{userId:i})}else{const t=this[e(451)]++,s=this[e(451)]++;n[e(388)](e(338),t),o[e(388)](e(474),s),o[e(388)](e(338),r),this[e(446)][e(297)](t,{userId:i}),this[e(446)][e(297)](s,{userId:i})}}[rt(435)](t){const e=rt;if(!t[e(362)])return;const i=(t=this[e(430)](t,this[e(277)]))[e(356)]?t[e(356)][e(316)]:null,s=t[e(440)]?t[e(440)][e(316)]:null;i&&this[e(354)][e(530)](t[e(505)]),s&&this[e(354)][e(297)](t[e(505)],t[e(440)][e(506)]());const n=null===t[e(512)]?null:t[e(512)]||this[e(270)][e(403)][e(296)](e(545)).me.id,r=t[e(505)];if(!this[e(424)][e(383)](r))return void this[e(424)][e(297)](r,{range:t[e(356)],userId:n});const o=this[e(424)][e(296)](r),a=o[e(441)],c=t[e(440)];null==a&&null==c||a&&c&&a[e(524)](c)?this[e(424)][e(530)](t[e(505)]):o[e(258)]=n}[rt(422)](t,e){const i=rt;this[i(277)][i(383)](t[i(246)])?this[i(277)][i(296)](t[i(246)])[i(449)]=t[i(379)]:(this[i(277)][i(297)](t[i(246)],ht(t[i(246)],!0)),this[i(280)][i(297)](t[i(246)],{}),e&&this[i(299)][i(297)](t[i(246)],ht(t[i(246)],!0)));const s=null===t[i(512)]?null:t[i(512)]||this[i(270)][i(403)][i(296)](i(545)).me.id,n=this[i(401)][i(296)](t[i(246)]);n&&n[i(258)]===s?this[i(401)][i(530)](t[i(246)]):this[i(401)][i(297)](t[i(246)],{userId:s,isAttached:t[i(379)]})}[rt(485)](t){const e=rt,i=this[e(280)][e(296)](t[e(316)][e(246)]);null===t[e(306)]?delete i[t[e(442)]]:i[t[e(442)]]=t[e(306)]}}function lt(t){const e=rt,i=ht(t[e(246)],t[e(287)]());for(const s of t[e(479)]()){const t=s[e(525)](!0);i[e(339)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(246)]=t,s[i(449)]=e,s[i(287)]=()=>s[i(449)],s}function dt(t,e,i){const s=rt,n=s(314)==t[s(409)]?i[s(406)](t[s(463)],s(319)):i[s(408)](t[s(463)]);return i[s(348)](e,n[s(491)],n[s(378)])}function ft(t,e,i){const s=rt,n=s(492)==t[s(409)]?i[s(406)](t[s(463)],0):i[s(381)](t[s(463)]);return i[s(348)](e,n[s(491)],n[s(378)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Ot();gt()(Nt.A,At);Nt.A&&Nt.A.locals&&Nt.A.locals;const Rt=Vt;function Vt(t,e){const i=Et();return(Vt=function(t,e){return i[t-=364]})(t,e)}function Et(){const t=["arrowdown","ck-responsive-form","keystrokes","render","focus","2849300KaPTFA","errorText","revisionNameInputView","fieldView","optional","reset","6680SrcXrk","stopPropagation","22Epekku","value","label","58339rlfdFJ","element","21FKCVZk","10419030gSuBqv","Name of the revision","extendTemplate","focusTracker","926436mrDvqN","816165jyKfac","add","arrowright","trim","set","10107wHQbCW","revisionName","ck-revision-history-save-revision-form","220","listenTo","setTemplate","arrowup","2008038fhFFfT","arrowleft","_createRevisionNameInput","revisionNameInputValue","locale","input","form"];return(Et=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(543794===-parseInt(e(399))/1*(-parseInt(e(396))/2)+-parseInt(e(364))/3+-parseInt(e(406))/4+-parseInt(e(388))/5+parseInt(e(376))/6*(-parseInt(e(401))/7)+-parseInt(e(394))/8*(-parseInt(e(369))/9)+parseInt(e(402))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Et);class Mt extends pt.View{[Rt(405)];[Rt(385)];[Rt(390)];constructor(e,i){const s=Rt;super(e),this[s(405)]=new t.FocusTracker,this[s(385)]=new t.KeystrokeHandler,this[s(368)](s(379),""),this[s(390)]=this[s(378)](i),this[s(374)]({tag:s(382),attributes:{class:["ck",s(371),s(384)],tabindex:"-1"},children:[this[s(390)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(386)](){const t=Rt;super[t(386)](),(0,pt.submitHandler)({view:this}),this[t(405)][t(365)](this[t(390)][t(400)]),this[t(385)][t(373)](this[t(400)]);const e=e=>e[t(395)]();this[t(385)][t(368)](t(366),e),this[t(385)][t(368)](t(377),e),this[t(385)][t(368)](t(375),e),this[t(385)][t(368)](t(383),e)}[Rt(387)](){const t=Rt;this[t(390)][t(387)]()}get[Rt(370)](){const t=Rt;return this[t(390)][t(391)][t(400)][t(397)][t(367)]()}set[Rt(370)](t){const e=Rt;this[e(390)][e(391)][e(400)][e(397)]=t[e(367)]()}[Rt(393)](){const t=Rt;this[t(390)][t(391)][t(400)][t(397)]="",this[t(390)][t(389)]=null}[Rt(378)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(380)],pt.createLabeledInputText),s=i[e(391)];s[e(404)]({attributes:{maxlength:e(372)}});let n=X(this[e(380)],e(403));return!t&&(n+=" ("+X(this[e(380)],e(392))+")"),i[e(398)]=n,s.on(e(381),(()=>{const t=e;this[t(379)]=s[t(400)][t(397)][t(367)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Lt();return(Ct=function(t,e){return i[t-=375]})(t,e)}!function(t){const e=Ct,i=t();for(;;)try{if(234724===parseInt(e(391))/1+parseInt(e(388))/2+-parseInt(e(408))/3*(parseInt(e(442))/4)+parseInt(e(437))/5+parseInt(e(422))/6+parseInt(e(395))/7*(parseInt(e(375))/8)+-parseInt(e(386))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Ft extends U.Plugin{static get[Dt(384)](){return Dt(403)}static get[Dt(377)](){return!0}static get[Dt(419)](){return!0}static get[Dt(378)](){return[at]}[Dt(398)];[Dt(433)](){const t=Dt,e=this[t(432)],i=e[t(411)][t(420)](t(413));e.ui[t(416)][t(381)](t(428),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(376)][n(436)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(396)](n(418)).to(i,n(438),i,n(418),e,n(387),((t,e,i)=>t&&e&&!i)),r[n(385)][n(441)]({icon:mt.IconHistory,label:X(s,n(394)),tooltip:!0}),u[n(441)]({label:X(s,n(434)),withText:!0,role:n(406)}),u[n(396)](n(418)).to(i,n(438),i,n(418),e,n(387),((t,e,i)=>t&&e&&!i)),u.on(n(399),(()=>this[n(435)]())),h[n(441)]({label:X(s,n(401)),withText:!0,role:n(406)}),h[n(396)](n(418)).to(i,n(438),e,n(387),((t,e)=>t&&!e)),h.on(n(399),(()=>{const t=n;e[t(379)][t(420)](t(428))[t(382)](),r[t(407)]=!1,e[t(402)][t(405)][t(421)]()})),c[n(436)][n(381)](u),l[n(436)][n(381)](h),a[n(380)]=n(415),a[n(425)][n(392)]([c,l]),o[n(381)](a),r})),e.ui[t(416)][t(381)](t(390),(()=>this[t(431)]()))}[Dt(431)](){const t=Dt,e=this[t(432)],i=e[t(417)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(385)][t(441)]({icon:mt.IconHistory,label:X(i,t(394))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(441)]({label:X(i,t(434))}),o[t(414)](t(399)).to(s),o.on(t(399),(()=>{this[t(435)]()})),r[t(436)][t(381)](o),n[t(425)][t(381)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(441)]({label:X(i,t(401))}),c[t(414)](t(399)).to(s),c.on(t(399),(()=>{const i=t;e[i(379)][i(420)](i(428))[i(382)]()})),a[t(436)][t(381)](c),n[t(425)][t(381)](a),s[t(376)][t(436)][t(381)](n),s}[Dt(435)](){const t=Dt,e=this[t(432)],i=e[t(417)],s=e[t(411)][t(420)](t(440)),n=e[t(411)][t(420)](t(413));function r(n){const r=t;e[r(379)][r(420)](r(409))&&""===n[r(423)]?n[r(424)][r(397)]=X(i,r(400)):(e[r(411)][r(420)](at)[r(412)]({name:n[r(423)]}),s[r(439)]())}this[t(398)]||(this[t(427)](),this[t(398)].on(t(429),(()=>r(this[t(398)])))),this[t(398)][t(404)](),s[t(389)]({id:t(410),title:X(i,t(434)),isModal:!0,content:this[t(398)],actionButtons:[{label:X(e[t(417)],t(383)),withText:!0,onExecute:()=>s[t(439)]()},{label:X(e[t(417)],t(393)),class:t(426),withText:!0,onCreate(i){const s=t;i[s(396)](s(418)).to(n,s(438),n,s(418),e,s(387),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(398)])}]})}[Dt(427)](){const t=Dt,e=this[t(432)],i=e[t(417)];this[t(398)]=new Mt(i,e[t(379)][t(420)](t(409))),this[t(398)][t(430)]()}}function Lt(){const t=["hide","Dialog","set","418056HKAKxn","4632bqvAGl","panelView","isOfficialPlugin","requires","config","role","add","showRevisionViewerCallback","Cancel","pluginName","buttonView","2108016miOlzW","isReadOnly","20638SfcKpb","show","menuBar:revisionHistory","456527rzjfgT","addMany","Accept","Revision history","2065LfrVGe","bind","errorText","_saveRevisionFormView","execute","The revision name cannot be empty.","Open revision history","editing","RevisionHistoryUI","reset","view","menuitem","isOpen","12SyOVbw","revisionHistory.requireRevisionName","revisionSave","plugins","saveRevision","RevisionTracker","delegate","menu","componentFactory","locale","isEnabled","isPremiumPlugin","get","focus","1195230OfPFJV","revisionName","revisionNameInputView","items","ck-button-action","_createSaveRevisionFormView","revisionHistory","submit","render","_registerMenuComponent","editor","init","Save current revision","_showDialog","children","250740wOYhsS","isReady"];return(Lt=function(){return t})()}const jt=Pt;function Pt(t,e){const i=Wt();return(Pt=function(t,e){return i[t-=176]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(112626===-parseInt(e(208))/1+-parseInt(e(189))/2*(-parseInt(e(193))/3)+parseInt(e(185))/4*(parseInt(e(194))/5)+parseInt(e(187))/6+parseInt(e(179))/7*(-parseInt(e(205))/8)+-parseInt(e(198))/9+parseInt(e(181))/10*(parseInt(e(202))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends pt.View{[jt(206)];[jt(200)];constructor(t,e){const i=jt;super(t),this[i(200)]=e,this[i(206)]=e.id;const s=this[i(178)],n=X(t,e[i(186)][i(180)]?i(191):i(182)==e[i(207)]?i(177):i(190));this[i(195)](i(207),e[i(207)]),this[i(192)]({tag:i(183),attributes:{class:[i(199),i(201),s.to(i(207),(t=>i(204)+t))],tabindex:-1},children:[{tag:i(196),children:[{tag:i(196),attributes:{class:[i(203)]},children:[{text:n}]},{text:" "+e[i(197)][i(184)]}]}]})}[jt(176)](){const t=jt;this[t(188)][t(176)]()}}function Wt(){const t=["div","name","5884ubHGQP","data","1117074QhANgX","element","3442bqgVkO","Removed by","Suggested by","setTemplate","309VjZIEp","150LEJKqi","set","span","author","1724094aZkptp","ck-annotation","_model","ck-revision-change","664279LgOSYD","ck-revision-change__label","ck-revision-change__","64ifBxpP","changeId","type","130886AAQJMv","focus","Added by","bindTemplate","81613axwFwm","isSuggestion","20gWBcjS","add"];return(Wt=function(){return t})()}var Ut=Ht;!function(t){for(var e=Ht,i=t();;)try{if(635612===-parseInt(e(348))/1+parseInt(e(356))/2*(-parseInt(e(358))/3)+parseInt(e(350))/4*(-parseInt(e(343))/5)+parseInt(e(344))/6*(-parseInt(e(347))/7)+-parseInt(e(352))/8+-parseInt(e(345))/9+parseInt(e(349))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends((0,t.ObservableMixin)()){id;[Ut(353)];[Ut(357)];[Ut(351)];[Ut(342)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(353)]=e[i(353)],this[i(357)]=e[i(357)],this[i(351)]=e[i(351)]||{},this[i(342)]=e[i(342)],this[i(355)](i(354),e[i(354)])}[Ut(346)](){var t=Ut;return{id:this.id,authorId:this[t(353)].id,type:this[t(357)],data:this[t(351)],createdAt:this[t(354)]}}}function Ht(t,e){var i=qt();return(Ht=function(t,e){return i[t-=342]})(t,e)}function qt(){var t=["152537orzpXH","45828510oLhXiV","12yNaspu","data","8702504xfejxL","author","createdAt","set","4832WTdaWf","type","483NJCqsi","rootName","2117800WXHvPE","38472WHjoPp","6539697mfQNtN","toJSON","350pGCLEl"];return(qt=function(){return t})()}const $t=Yt;function Bt(){const t=["2924248VJXCjE","2340432QUGcxO","2357301wztqJR","3215018kiTIWJ","1059751LXQxpH","newRevisionId","oldRevisionId","25989435KDFmSX","567zEQXMm","add","_setChanges","changes","67152AzIDOt","15geuUyT"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=115]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(806072===parseInt(e(122))/1+parseInt(e(121))/2+parseInt(e(120))/3+parseInt(e(118))/4+parseInt(e(117))/5*(-parseInt(e(119))/6)+parseInt(e(126))/7*(parseInt(e(116))/8)+-parseInt(e(125))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt{[$t(123)];[$t(124)];[$t(115)];constructor(e,i){const s=$t;this[s(123)]=e,this[s(124)]=i,this[s(115)]=new t.Collection}[$t(128)](t){const e=$t;for(const i of t)this[e(115)][e(127)](i)}}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Qt=Xt;function Xt(t,e){const i=te();return(Xt=function(t,e){return i[t-=216]})(t,e)}function te(){const t=["config","add","requires","mouseover","insert","ck-revision-history-root--active","updatePosition","_activeViewTarget","showPreviousChange","consume","clear","revision:","includes","ck-suggestion-marker-","listenTo","_initInteractions","removeAttribute","nextPosition","element:pre","view","isRemoveSuggestion","RevisionHistoryUtils","mapViewToDom","pop","_utils","schema","deletions","findIndex","selection","attachChange","createAttributeElement","previousPosition","_setDistance","530XPbNbg","getIndex","change:isReady","side","nextSibling","execute","attributesBefore","_sortAndFilterDiffChanges","ck-suggestion-preview-marker","currentChangeNumber","error","data","1689300KwakoQ","_setConversion","ck-revision-history-root-","isAtEnd","slice","set","abs","object","_revisions","markerName","uiElement","addMarker:revision-suggestion:insertion","bind","commands","compare","reconvertMarker","item","toViewRange","catch","attributes","showNextChange","getRevisionRootsAttributes","ck-suggestion-marker","isPremiumPlugin","restoreRevisionCallback","vid_start","getRootNames","merge","maxOffset","getCustomProperty","getRoot","consumable","ck-editor__editable__overlay","13989uPfoaG","comment","activeChange","data-change-id","enqueueChange","roots","markerToData","all","change:isEnabled","addRevisionData","split","authors","change:activeChange","_threeWayMerge","distance","filter","isOnRoot","parent","ck-revision-history-root-remove","concat","removeClass","_joinTapes","revisionHistoryLabel","affectsData","insertion","RevisionsRepository","revisionHistory","map","isObject","_changeIdToChange","viewItem","_makeTape","_markInsertions","isAddSuggestion","_data","markerToHighlight","stop","domEvent","RevisionViewer","enableReadOnlyMode","diffData","markerRange","isInline","return","change","setAttribute","toViewElement","refresh","low","deletion","1634456oFtEar","high","revision","POSITIVE_INFINITY","_fixObsoleteTags","createPositionBefore","from","change:numberOfChanges","loadRevisionData","delete","isBlock","isAtStart","writer","isIncorrect","right","_getDiff","createRangeIn","isOfficialPlugin","activeView","remove","removeMarker","find","indexOf","repository","getRevisionDocumentData","level","addRevision","next","elementStart","_getRevisionsRange","first","createRange","isReady","diff","checkAttribute","markers","length","isRemoved","element","mousedown","_removeMissingPairs","getLaterVisibleRevision","createPositionFromPath","start","isAttached","_makeModelFromViewString","_setChanges","getClientRects","elementEnd","dataDowncast","ck-revision-history-root-add","editing","string","isLimit","newRevisionId","highest","createUIElement","addClass","getDomRoot","endIndex","getAttributes","oldRevisionId","init","pluginName","softBreak","removeMarker:revision-suggestion","document","rootName","vid_end","revision-suggestion:","markerNameToElements","-new","_refreshStartEndIndex","revision-comment:","detachRoot","isAfter","isCollapsed","shift","getAttribute","has","hasClass","49YfkwRo","_processTape","forceDisabled","attribute:vid","hasAttribute","wrap","addRoot","destroy","modelRange","unbindElementFromMarkerName","markersStart","addHighlight","plugins","247550oozlSn","range","isContent","revision-suggestion","insertions","upcast","top","1658188eGJGAu","getRevision","test","createRevision","getWalker","384294kpuqdE","end","for","isEqual","isBefore","then","showStack","editor","_removeUnsupportedChanges","flat","code","changes","sort","70Fzxigu","text","splice","_getChangeFromId","getChild","_makeModelFromTape","_findChangeIdFromDomTarget","restoreRevision","addMarker:revision-suggestion:deletion","dataToMarker","ck-suggestion-marker-split","left","type","173437PiOIgL","keys","getItems","offsetSize","name","suggestion:","ck-suggestion-marker--active","span","observeMarkers","startsWith","conversion","_cleanMarkers","elementToAttribute","isNavigationMode","_markSuggestions","userId","attributesAfter","resolve","removeMarker:revision","editingDowncast","pairId","_changeView","markersEnd","revision-viewer","get","index","locale","numberOfChanges","vid","change:activeView","suggestion","_markMismatchedRemovedTags","revisionHistoryAttachChange","_update","done","addMarker:revision","model","_appendChild","mapper","bottom","push","isSuggestion","ck-suggestion-marker-merge","domConverter","_markMarkers","startIndex","values","changeId","target","nodeAfter","isAdded","5ixDhTG","_getViewForChange","unshift","isEnabled","ck-suggestion-preview-marker-","WidgetToolbarRepository","downcastDispatcher","adapter","forEach","forward","toViewPosition","_cleanUp","backward","_balloon","_step","bindElementToMarker"];return(te=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(280423===-parseInt(e(470))/1+parseInt(e(495))/2*(parseInt(e(326))/3)+parseInt(e(477))/4*(-parseInt(e(232))/5)+-parseInt(e(482))/6*(parseInt(e(457))/7)+parseInt(e(376))/8+parseInt(e(293))/9+-parseInt(e(281))/10*(-parseInt(e(508))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Qt(399)];[Qt(239)]=null;[Qt(272)];[Qt(255)];[Qt(529)];[Qt(355)];[Qt(245)];static get[Qt(439)](){return Qt(364)}static get[Qt(393)](){return!0}static get[Qt(316)](){return!0}static get[Qt(250)](){return[Z.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(399)]=this[e(489)][e(469)][e(532)](e(351)),this[e(272)]=this[e(489)][e(469)][e(532)](e(269)),this[e(298)](e(328),null),this[e(298)](e(394),null),this[e(255)]=null,this[e(298)](e(409),null),this[e(298)](e(408),!1),this[e(298)](e(235),!0),this.on(e(334),((t,i,s)=>{const n=e;this[n(328)]=null,this[n(394)]=null,this[n(489)][n(427)][n(267)][n(370)]((t=>{const e=n;for(const i of this[e(489)][e(427)][e(267)][e(442)][e(331)])s?t[e(346)](e(325),i):t[e(433)](e(325),i)}))})),this[e(305)](e(521)).to(this,e(328),(t=>null!==t)),this[e(305)](e(290)).to(this,e(408),this,e(409),this,e(328),((t,i,s)=>t&&s?i[e(493)][e(282)](s):0)),this[e(305)](e(535)).to(this,e(408),this,e(409),((t,i)=>t?i[e(493)][e(412)]:0)),this[e(529)]=null,this[e(355)]=new Map,this[e(245)]=this[e(489)][e(469)][e(532)](pt.ContextualBalloon)}[Qt(438)](){const t=Qt,e=this[t(489)],i=new ne(e,{direction:t(244)}),s=new ne(e,{direction:t(241)});e[t(306)][t(249)](t(256),i),e[t(306)][t(249)](t(313),s),e[t(306)][t(249)](t(502),new se(e)),this.on(t(383),(()=>{const e=t;i[e(373)](),s[e(373)]()})),this[t(294)](),this[t(263)](),e[t(365)](t(531)),e[t(469)][t(455)](t(237))&&e[t(469)][t(532)](t(237))[t(459)](t(531))}async[Qt(400)](t){const e=Qt;return await this[e(272)][e(384)](t,this[e(239)]),this[e(272)][e(400)](t)}async[Qt(314)](t){const e=Qt;return await this[e(272)][e(384)](t,this[e(239)]),this[e(272)][e(314)](t)}async[Qt(307)](t,e,i=!1){const s=Qt;if(!this[s(235)])return;const n=this[s(409)],r=this[s(399)],o=s(428)==typeof t?r[s(478)](t):t,a=s(428)==typeof e?r[s(478)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(409)]&&this[s(409)][s(430)]===c&&this[s(409)][s(437)]===u)return Promise[s(525)]();this[s(408)]=!1,this[s(394)]=null,this[s(328)]=null,this[s(409)]=new Gt(c,u);const l=this[s(405)](o,a,!0)[s(353)]((t=>this[s(272)][s(384)](t,this[s(239)])));return l[s(221)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(333)](l)[s(487)]((()=>{const t=s;if(!this[t(235)])return;this[t(243)]();const e=this[t(391)](c,u);for(const i of e[t(493)])this[t(355)][t(298)](i.id,i);this[t(489)][t(217)][t(330)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(489)][s(217)][s(442)][s(319)]())i[s(450)](t);for(const t of Object[s(509)](e[s(217)])){const n=i[s(463)](t);for(const r of Object[s(509)](e[s(312)][t]))i[s(371)](r,e[s(312)][t][r],n);i[s(252)](e[s(217)][t],n,0)}})),this[t(409)][t(422)](this[t(288)](e[t(493)])),this[t(408)]=!0}))[s(311)]((t=>{const e=s;console[e(291)](t),this[e(243)](),n&&(this[e(409)]=n),this[e(408)]=!0}))}[Qt(335)](t,e){const i=Qt,s=this[i(399)][i(480)](t);return s.on(i(541),((t,i,n)=>e(i,n,s))),this[i(399)][i(402)](s),s}[Qt(243)](){const t=Qt;this[t(328)]=null,this[t(519)](),this[t(529)]&&this[t(529)][t(464)](),this[t(529)]=null,this[t(355)][t(258)](),this[t(489)][t(217)][t(330)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(489)][i(217)][i(442)][i(319)]())e[i(450)](t)}))}[Qt(288)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(489)][e(217)][e(442)][e(319)]()){const n=this[e(489)][e(427)][e(267)][e(434)](t);if(!n)continue;const r=n[e(423)]()[e(309)](0);r&&(i[e(221)](t),s[e(298)](t,r))}return i[e(494)](((t,i)=>{const n=e,r=s[n(532)](t),o=s[n(532)](i);return r.y-o.y||r.x-o.x})),(t=t[e(341)]((t=>i[e(260)](t[e(443)]))))[e(494)](((t,s)=>i[e(398)](t[e(443)])-i[e(398)](s[e(443)]))),t}[Qt(357)](t){const e=Qt,i=Array[e(382)](t[e(411)])[e(341)]((([t,i])=>t[e(517)](e(259))&&!i[e(452)])),s=Array[e(382)](this[e(489)][e(217)][e(392)](t)[e(481)]({singleCharacters:!0}));if(0!=i[e(412)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(336)](":");if(n[e(483)][e(485)](t[e(265)])&&i[e(453)](),(t[e(279)][e(485)](n[e(419)])||t[e(279)][e(451)](n[e(419)]))&&(e(350)==r?t[e(231)]={userId:o}:e(375)==r&&(t[e(413)]={userId:o})),0==i[e(412)])break}return s}[Qt(448)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(412)];s++)e(496)===t[s][e(507)]?(t[s][e(309)][e(226)]=s,t[s][e(309)][e(435)]=s):(e(404)===t[s][e(507)]?t[s][e(309)][e(226)]=s:e(424)===t[s][e(507)]&&(t[s][e(309)][e(435)]=s),i[e(298)](t[s].id,s));for(const s of i[e(227)]())e(404)===t[s][e(507)]?t[s][e(309)][e(435)]=i[e(532)](t[s][e(528)]):e(424)===t[s][e(507)]&&(t[s][e(309)][e(226)]=i[e(532)](t[s][e(528)]))}[Qt(458)](t){const e=Qt;for(let i=0;i<t[e(412)];i++){if(e(404)===t[i][e(507)])t[i][e(309)][e(226)]=i;else if(e(424)===t[i][e(507)]){t[i][e(309)][e(435)]=i;const s=t[i][e(309)][e(226)];t[s][e(528)]=t[i].id,t[i][e(528)]=t[s].id}else t[i][e(309)][e(226)]=i,t[i][e(309)][e(435)]=i,t[i][e(528)]=null;t[i][e(467)]||(t[i][e(467)]=[],t[i][e(530)]=[])}}[Qt(358)](t,e){const i=Qt,s=t[i(341)]((t=>!t[i(231)]));for(let t=0;t<e[i(412)];t++)e[t][i(231)]&&(s[t][i(231)]=e[t][i(231)])}[Qt(391)](t,e=null){const i=Qt,s=this[i(399)][i(478)](t),n=e?this[i(399)][i(478)](e):null,r=this[i(405)](s,n),o=r[r[i(412)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(412)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(509)](e[i(366)]))if(e[i(366)][t][i(277)]){const s=e[i(366)][t][i(277)];s[i(420)]?(u[i(249)](t),l[i(455)](t)&&l[i(532)](t)[i(523)]==s[i(523)]?l[i(385)](t):l[i(298)](t,s)):l[i(455)](t)?(u[i(385)](t),l[i(385)](t)):(u[i(249)](t),l[i(298)](t,s))}else u[i(249)](t)}for(const t of u){const e=l[i(455)](t)&&!l[i(532)](t)[i(420)];let s=e?r[i(412)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(366)][t]){const s=e?o[i(366)][t][i(287)]:o[i(366)][t][i(524)];c[i(312)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(217)]={};for(const e of t[i(337)])a[i(298)](e.id,e);for(const e of u){const s=t[i(366)][e]?t[i(366)][e][i(474)]:"[]",n=t[i(366)][e]?t[i(366)][e][i(274)]:"[]";t[i(217)][e]={insertions:this[i(272)][i(421)](s),deletions:this[i(272)][i(421)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(382)](s[i(217)][t][i(474)][i(411)])[i(341)]((([t])=>!t[i(517)](i(259)))));let h=0;for(const o of r){const r=this[i(357)](o[i(217)][t][i(474)]);o==s?(e=r,n=e[i(412)],e[i(240)]((t=>{t.id=h++})),this[i(458)](e)):this[i(358)](e,r);const a=e[i(341)]((t=>!t[i(231)]))[i(353)]((t=>t.id));let c=0;const l=this[i(357)](o[i(217)][t][i(274)]);l[i(240)]((t=>{t[i(413)]?t.id=n++:t.id=a[c++]})),this[i(458)](l),this[i(280)](e,i(231)),this[i(280)](l,i(413)),o==s&&this[i(225)](e,u),e=this[i(347)](e,l),this[i(448)](e),this[i(280)](e,i(413))}e=e[i(341)]((t=>!(t[i(231)]&&t[i(413)])));const d=new Map(o[i(217)][t][i(274)][i(411)]),f=new Set(u[i(509)]());for(const t of d[i(509)]())f[i(385)](t);this[i(522)](e,f),this[i(380)](e),e=this[i(416)](e),e=this[i(539)](e),e=this[i(490)](e);const{root:m,changes:p}=this[i(500)](e,a,t);c[i(217)][t]=m;const v=l[i(532)](t);if(v){const e=a[i(532)](v[i(523)]),s=new Zt({author:e,type:v[i(420)]?i(249):i(395),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(234)](s),c[i(312)][t][i(540)]=s.id}c[i(493)]=c[i(493)][i(345)](p)}return c}[Qt(225)](t,e){const i=Qt;for(let s=0;s<t[i(412)];s++)for(const[n,r]of e)!r[i(452)]&&r[i(419)][i(485)](t[s][i(279)])&&t[s][i(467)][i(221)](n),r[i(483)][i(485)](t[s][i(265)])&&t[s][i(530)][i(221)](n)}[Qt(347)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(412)]||r<e[i(412)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(221)](o);else if(a[i(413)]&&o[i(231)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(339)](t,n,e,r);s=s[i(345)](o),n=a,r=c}else a[i(413)]?(r++,s[i(221)](a)):(n++,s[i(221)](o))}return s}[Qt(522)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(412)];o++){for(let r=0;r<t[o][i(467)][i(412)];r++){const a=t[o][i(467)][r];if(!e[i(455)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(473)!=c||i(350)!=u&&i(375)!=u||(s[i(234)]({type:u,name:a,userId:l}),t[o][i(467)][i(497)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(530)][i(412)];r++){const a=t[o][i(530)][r];if(!e[i(455)](a))continue;const{group:c,type:u}=n(a);if(i(473)!=c||i(350)!=u&&i(375)!=u)continue;t[o][i(530)][i(497)](r,1),r--;const l=s[i(275)]((t=>t[i(512)]==a));l>-1&&s[i(497)](l,1)}}function n(t){const e=i,s=t[e(336)](":");return{group:s[0],type:s[1],subType:s[e(412)]>=5?s[2]:null,id:s[e(412)]<5?s[2]:s[3],authorId:s[e(412)]<5?s[3]:s[4],markerCount:6==s[e(412)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(412)];i++){if(t[e(231)]&&e(350)==s[i][e(507)]&&t[e(231)][e(523)]==s[i][e(523)])return t[e(359)]=s[i],void delete t[e(231)];if(!t[e(231)]&&!t[e(413)]&&e(375)==s[i][e(507)])return void(t[e(268)]=s[i])}}}[Qt(280)](t,e){const i=Qt;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(298)](o.id,s);for(let s=0;s<t[i(412)];s++){if(i(413)==e&&t[s][i(231)]||i(231)==e&&t[s][i(413)])continue;if(i(496)==t[s][i(507)]){t[s][i(340)]=0;continue}const n=r[i(532)](t[s][i(528)]),o=r[i(532)](t[s].id);t[s][i(340)]=n-o}}[Qt(405)](t,e,i=!1){const s=Qt,n=[];let r=this[s(399)][s(282)](t),o=this[s(399)][s(282)](e);for(-1==o&&(o=this[s(399)][s(301)][s(412)],i=!1);r<o;)n[s(221)](this[s(399)][s(478)](r)),r++;return i&&n[s(221)](this[s(399)][s(478)](r)),n}[Qt(339)](t,e,i,s){const n=Qt,r=this[n(489)][n(217)][n(273)];let o=e;for(;t[o]&&t[o][n(231)];)o++;let a=s;for(;i[a]&&i[a][n(413)];)a++;u(t,e,o),u(i,s,a);const c=i[n(297)](s,a)[n(345)](t[n(297)](e,o));return c[n(494)](((t,e)=>t[n(284)]!=e[n(284)]?t[n(284)]-e[n(284)]:t[n(401)]!=e[n(401)]?t[n(401)]-e[n(401)]:t[n(340)]!=e[n(340)]?e[n(340)]-t[n(340)]:!!t[n(231)]!=!!e[n(231)]?-1==t[n(284)]||0==t[n(284)]?t[n(231)]?-1:1:t[n(231)]?1:-1:t[n(533)]-e[n(533)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(379)],c=!0;for(let n=e;n<i;n++)if(r[s(368)](t[n][s(309)])||(c=!1),t[n][s(309)][s(226)]<e&&(o=n),t[n][s(309)][s(435)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(284)]=n<=o?-1:n<a?0:1,t[n][s(533)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(340)]?t[i][s(401)]=u:(u++,t[i][s(401)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(284)]&&(t[n][s(401)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(340)]?t[e][s(401)]=u:(u--,t[e][s(401)]=u,u--)}}[Qt(380)](t){const e=Qt,i=new Map,s=this[e(489)][e(217)][e(273)];for(let n=1;n<t[e(412)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(496)==c[e(507)])continue;if(c[e(507)]!=u[e(507)])continue;if(!s[e(386)](u[e(309)])||s[e(429)](u[e(309)]))continue;if(!s[e(386)](c[e(309)])||s[e(429)](c[e(309)]))continue;if((t[n][e(231)]||t[n][e(359)])&&t[n-1][e(413)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(413)]||!t[n-1][e(231)]&&!t[n-1][e(359)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(401)]==o[e(401)],h=Math[e(299)](r[e(401)])<Math[e(299)](o[e(401)])&&0==o[e(340)];(l||h)&&(i[e(298)](o.id,r.id),t[e(497)](a,1),n--,r[e(231)]=!1)}for(let s=0;s<t[e(412)];s++)i[e(455)](t[s][e(528)])&&(t[s][e(528)]=i[e(532)](t[s][e(528)]))}[Qt(416)](t){const e=Qt,i=new Set(t[e(353)]((t=>t.id)));for(let s=0;s<t[e(412)];s++)i[e(455)](t[s][e(528)])||0==t[s][e(340)]||(t[s][e(389)]=!0);return t[e(341)]((t=>!t[e(389)]))}[Qt(539)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(412)];s++){if(i[e(455)](t[s].id)&&t[s][e(413)]&&(t[s][e(389)]=!0),t[s][e(389)])continue;if(0==t[s][e(340)])continue;if(e(404)!=t[s][e(507)])continue;if(null==t[s][e(528)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(528)];)e(404)==t[n][e(507)]?r++:e(424)==t[n][e(507)]&&r--,n++;if(0!=r)if(t[s][e(413)])t[s][e(389)]=!0;else for(;n!=s;)t[n][e(413)]&&0!=t[n][e(340)]&&(t[n][e(389)]=!0,i[e(249)](t[n][e(528)])),n--}return t[e(341)]((t=>!t[e(389)]))}[Qt(490)](t){const e=Qt,i=this[e(489)][e(217)][e(273)];for(let s=0;s<t[e(412)];s++){if(!(t[s][e(231)]||t[s][e(359)]||t[s][e(413)]||t[s][e(268)]))continue;if(0==t[s][e(340)])continue;const n=t[s][e(309)];i[e(386)](n)||i[e(429)](n)||(t[s][e(231)]&&delete t[s][e(231)],t[s][e(359)]&&delete t[s][e(359)],t[s][e(268)]&&delete t[s][e(268)],t[s][e(413)]&&(t[s][e(389)]=!0))}return t[e(341)]((t=>!t[e(389)]))}[Qt(500)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(489)][s(217)],c=a[s(273)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(412)];e++)if(s(404)===t[e][s(507)]){t[e][s(279)]=a[s(418)](n,f);const i=new H.Element(t[e][s(309)][s(512)],t[e][s(309)][s(436)]());u[0][s(218)](i),f[s(221)](0),u[s(234)](i),t[e][s(265)]=a[s(418)](n,f)}else s(424)===t[e][s(507)]?(u[s(453)](),t[e][s(279)]=a[s(418)](n,f),f[s(271)](),f[f[s(412)]-1]++,t[e][s(265)]=a[s(418)](n,f)):(t[e][s(279)]=a[s(418)](n,f),d?d[s(360)]+=t[e][s(309)][s(292)]:d=new H.Text(t[e][s(309)][s(292)],t[e][s(309)][s(436)]()),t[e+1]&&s(496)===t[e+1][s(507)]&&v(d,t[e+1][s(309)])||(u[0][s(218)](d),d=null),f[f[s(412)]-1]+=t[e][s(309)][s(511)],t[e][s(265)]=a[s(418)](n,f));for(let e=0;e<t[s(412)];e++){const i=t[e][s(279)],n=t[e][s(265)];for(const n of t[e][s(467)])o[s(298)](n,{start:i,end:null});m(s(268),e,i,n),m(s(359),e,i,n),m(s(413),e,i,n),m(s(231),e,i,n);for(const i of t[e][s(530)]){const t=o[s(532)](i);t?t[s(483)]=n:o[s(298)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(489)][s(217)][s(407)](e[s(419)],e[s(483)]);n[s(411)][s(298)](t,i)}return r[s(494)](((t,e)=>{const i=s,r=n[i(411)][i(532)](i(259)+t.id),o=n[i(411)][i(532)](i(259)+e.id);return r[i(419)][i(486)](o[i(419)])?-1:r[i(419)][i(451)](o[i(419)])?1:r[i(483)][i(486)](o[i(483)])?-1:r[i(483)][i(451)](o[i(483)])?1:i(249)===t[i(507)]?-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(523)]:null,d=i===t[o(412)]-1,f=h[e][0],m=c[o(354)](t[i][o(309)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(483)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(523)]!==u&&(l[e][o(483)]=n,f&&f[o(523)]===l[e][o(523)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(404)!==t[i][o(507)]||f&&f[o(523)]===u||h[e][o(234)]({userId:u,object:t[i][o(309)],change:l[e]}),o(424)===t[i][o(507)]&&f&&f[o(300)]===t[i][o(309)]&&(h[e][o(453)](),l[e]=f[o(370)])),l[e]&&d&&(l[e][o(483)]=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(309)],f=a[h(273)][h(386)](d)&&!a[h(273)][h(429)](d),m=t[h(230)]==o[h(343)]&&o[h(387)];if(f&&m)return;const p=a[h(407)](t,o),v=e[h(532)](u),g=new Zt({author:v,type:h(231)==l||h(359)==l?h(249):h(395),data:{isSuggestion:h(359)==l||h(268)==l},createdAt:new Date,rootName:i});r[h(221)](g),n[h(411)][h(298)](h(259)+g.id,p)}function v(t,e){const i=s,n=t[i(436)](),r=e[i(436)]();for(const t of n){if(t[1]!==e[i(454)](t[0]))return!1;r[i(403)]()}return r[i(403)]()[i(542)]}}[Qt(294)](){const t=Qt;this[t(489)][t(518)][t(484)](t(475))[t(504)]({view:t(378)}),this[t(489)][t(518)][t(484)](t(527))[t(361)]({model:t(378),view:e=>{const i=t,s=e[i(302)][i(336)](":")[1],n=this[i(498)](s);if(!n)return null;const r=i(249)==n[i(507)]?i(350):i(375),o=[i(315),i(261)+r];return n[i(292)][i(222)]&&o[i(221)](i(261)+r+i(447)),this[i(328)]==n&&o[i(221)](i(514)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(489)][t(518)][t(484)](t(475))[t(249)]((e=>{const i=t;e.on(i(266),((t,e,s)=>{const n=i,r=e[n(356)][n(499)](0);if(!r||!r.is(n(414),n(492)))return;if(!s[n(324)][n(257)](r,{attributes:[n(318),n(444)]}))return;const o=e[n(465)][n(419)][n(230)];s[n(388)][n(371)](n(318),r[n(454)](n(318)),o),s[n(388)][n(371)](n(444),r[n(454)](n(444)),o)}),{priority:i(374)})})),this[t(489)][t(518)][t(484)](t(475))[t(249)]((e=>{const i=t;e.on(i(414),((t,e,s)=>{const n=i;if(!s[n(324)][n(257)](e[n(356)],{attributes:[n(318),n(444)]}))return;if(e[n(465)][n(452)])return;const r=e[n(465)][n(419)][n(230)];r[n(461)](n(318))||r[n(461)](n(536))||(s[n(388)][n(371)](n(318),e[n(356)][n(454)](n(318)),r),s[n(388)][n(371)](n(444),e[n(356)][n(454)](n(444)),r))}),{priority:i(374)})})),this[t(489)][t(518)][t(484)](t(475))[t(520)]({view:{name:t(515),attributes:{vid:!0}},model:{key:t(536),value:e=>e[t(454)](t(536))}}),this[t(489)][t(217)][t(273)].on(t(410),((e,[,i])=>{const s=t;[s(318),s(444),s(536)][s(260)](i)&&(e[s(369)]=!0,e[s(362)]())}),{priority:t(431)}),this[t(489)][t(518)][t(484)](t(425))[t(249)]((e=>{const i=t;e.on(i(460),((t,e,s)=>{const n=i;if(" "!=e[n(309)][n(292)]||e[n(309)][n(343)][n(321)]>1)return;if(!s[n(324)][n(257)](e[n(309)],t[n(512)]))return;const r=s[n(388)],o=s[n(219)][n(310)](e[n(471)]);r[n(462)](o,r[n(278)](n(515)))}))})),this[t(489)][t(518)][t(484)](t(425))[t(332)]({model:t(378)}),this[t(489)][t(427)][t(238)].on(t(216),function(e){const i=t,s=e[i(469)][i(532)](i(364));return(t,n,r)=>{const o=i,a=n[o(302)][o(336)](":")[1],c=s[o(498)](a);if(!c)return null;const u=o(249)==c[o(507)]?o(336):o(320);if(!r[o(324)][o(479)](n[o(367)],t[o(512)]))return;const l=n[o(367)][o(481)](),h=n[o(367)][o(419)],d=e[o(217)][o(273)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(309)];p=p||d[o(472)](e);const i=r[o(219)][o(372)](e);if(i&&i[o(322)](o(468)))return;o(424)==t[o(507)]&&d[o(386)](e)&&!d[o(429)](e)&&(e[o(285)]||h[o(296)]?f&&f[o(343)]==e||(f=e,g(t[o(279)]),v=!0):m=m||t[o(279)])}function g(t){const e=o,i=r[e(388)][e(432)](e(515),{class:e(261)+u}),a=r[e(219)][e(242)](t);c[e(292)][e(222)]&&r[e(388)][e(433)](e(261)+u+e(447),i),s[e(328)]==c&&r[e(388)][e(433)](e(514),i),r[e(388)][e(252)](a,i),r[e(219)][e(247)](i,n[e(302)])}p||v||!m||g(m)}}(this[t(489)]),{priority:t(377)}),this[t(489)][t(427)][t(238)].on(t(526),((e,i,s)=>{const n=t,r=s[n(219)][n(446)](i[n(302)]);if(r)for(const t of r)(t[n(456)](n(505))||t[n(456)](n(223)))&&(s[n(219)][n(466)](t,i[n(302)]),s[n(388)][n(395)](t))}),{priority:t(377)}),this[t(489)][t(427)][t(238)].on(t(216),((e,i,s)=>{const n=t,r=i[n(302)][n(336)](":")[1],o=this[n(498)](r);if(!o)return null;const a=n(249)==o[n(507)]?n(336):n(320);if(s[n(324)][n(479)](i[n(367)],e[n(512)]))for(const t of i[n(367)][n(510)]()){if(!t.is(n(414),n(440)))continue;const e=s[n(388)][n(432)](n(515),{class:n(261)+a}),r=s[n(219)][n(242)](this[n(489)][n(217)][n(381)](t));o[n(292)][n(222)]&&s[n(388)][n(433)](n(261)+a+n(447),e),this[n(328)]==o&&s[n(388)][n(433)](n(514),e),s[n(388)][n(252)](r,e),s[n(219)][n(247)](e,i[n(302)])}}),{priority:t(377)}),this[t(489)][t(217)][t(442)].on(t(370),(()=>{const e=t;this[e(489)][e(427)][e(267)][e(370)]((t=>{const i=e;for(const e of this[i(489)][i(217)][i(442)][i(319)]()){const s=this[i(489)][i(217)][i(442)][i(323)](e),n=this[i(489)][i(427)][i(267)][i(442)][i(323)](e);if(n){const e=s[i(454)](i(540));if(t[i(264)](i(329),n),t[i(346)](i(426),n),t[i(346)](i(344),n),t[i(346)](i(253),n),e){const s=this[i(498)](e);if(!s)return null;t[i(371)](i(329),e,n),t[i(433)](i(295)+s[i(507)],n),this[i(328)]==s&&t[i(433)](i(253),n)}}}}))})),this[t(489)][t(518)][t(484)](t(475))[t(504)]({view:t(327),model:e=>t(449)+e,converterPriority:t(431)}),this[t(489)][t(518)][t(484)](t(475))[t(504)]({view:t(538),model:e=>t(445)+e,converterPriority:t(431)}),this[t(489)][t(518)][t(484)](t(425))[t(332)]({model:t(473),view:e=>({name:t(513)+e,group:t(473)}),converterPriority:t(431)}),this[t(489)][t(518)][t(484)](t(527))[t(361)]({model:t(473),view:e=>{const i=t,s=e[i(302)][i(336)](":")[1];return i(350)!=s&&i(375)!=s?null:{classes:[i(289),i(236)+s]}}}),this[t(489)][t(427)][t(238)].on(t(503),ie(this[t(489)],t(320)),{priority:t(377)}),this[t(489)][t(427)][t(238)].on(t(304),ie(this[t(489)],t(336)),{priority:t(377)}),this[t(489)][t(427)][t(238)].on(t(441),((e,i,s)=>{const n=t,r=s[n(219)][n(446)](i[n(302)]);if(r)for(const t of r)t.is(n(303))&&(s[n(219)][n(466)](t,i[n(302)]),s[n(388)][n(395)](t))}),{priority:t(377)})}[Qt(498)](t){const e=Qt;return this[e(355)][e(532)](t)}[Qt(233)](t){const e=Qt;return this[e(529)]&&this[e(529)][e(464)](),this[e(529)]=new zt(this[e(489)][e(534)],t),this[e(529)]}[Qt(263)](){const t=Qt;this[t(489)][t(217)][t(442)][t(276)][t(516)](t(378)),this.on(t(537),((e,i,s,n)=>{const r=t;n&&this[r(245)][r(395)](n),s&&(this[r(245)][r(249)]({view:s,stackId:r(348),position:{target:()=>{const t=r,e=this[t(489)][t(427)],i=this[t(498)](s[t(228)]);let n;if(i[t(292)][t(342)]){const s=e[t(267)][t(434)](i[t(443)]);n=Array[t(382)](s[t(423)]())}else{const i=this[t(489)][t(217)][t(411)][t(532)](t(259)+s[t(228)]);n=Array[t(382)](e[t(219)][t(446)](i[t(512)]))[t(353)]((i=>e[t(267)][t(224)][t(270)](i)))[t(353)]((e=>Array[t(382)](e[t(423)]())))[t(491)]()}return this[t(255)]&&n[t(397)]((e=>e[t(476)]-3<=this[t(255)].y&&e[t(220)]+3>=this[t(255)].y&&e[t(506)]-3<=this[t(255)].x&&e[t(390)]+3>=this[t(255)].x))||n[0]}}}),this[r(245)][r(488)](r(348)))})),this.on(t(338),((e,i,s,n)=>{const r=t;this[r(394)]=s?this[r(233)](s):null,this[r(489)][r(217)][r(370)]((()=>{const t=r,e=this[t(489)][t(427)];n&&(n[t(292)][t(342)]?e[t(267)][t(370)]((i=>{const s=t;i[s(346)](s(253),e[s(267)][s(442)][s(323)](n[s(443)]))})):e[t(308)](t(259)+n.id)),s&&(s[t(292)][t(342)]?e[t(267)][t(370)]((i=>{const n=t;i[n(433)](n(253),e[n(267)][n(442)][n(323)](s[n(443)]))})):e[t(308)](t(259)+s.id))}))})),this[t(262)](this[t(489)][t(427)][t(267)][t(442)],t(251),((e,i)=>{const s=t;if(this[s(328)])return;const n=this[s(501)](i[s(229)]),r=this[s(355)][s(532)](n);r?(this[s(255)]={x:i[s(363)].x,y:i[s(363)].y},this[s(394)]=this[s(233)](r)):(this[s(255)]=null,this[s(394)]=null)})),this[t(262)](this[t(489)][t(427)][t(267)][t(442)],t(415),((e,i)=>{const s=t,n=this[s(501)](i[s(229)]),r=this[s(355)][s(532)](n);r?(this[s(255)]={x:i[s(363)].x,y:i[s(363)].y},r===this[s(328)]?this[s(245)][s(254)]():this[s(328)]=r):(this[s(255)]=null,this[s(328)]=null)}))}[Qt(501)](t){const e=Qt;do{const i=t[e(454)](e(329));if(i)return i;t=t[e(343)]}while(t);return null}[Qt(519)](){const t=Qt;this[t(489)][t(217)][t(370)]((e=>{const i=t;for(const t of this[i(489)][i(217)][i(411)])e[i(396)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(324)][r(479)](s[r(367)],i[r(512)]))return;const o=s[r(367)][r(481)](),a=s[r(367)][r(419)],c=t[r(217)][r(273)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(309)];h=h||c[r(472)](e);const i=n[r(219)][r(372)](e);if(i&&i[r(322)](r(468)))return;r(424)==t[r(507)]&&c[r(386)](e)&&!c[r(429)](e)&&(e[r(285)]||a[r(296)]?u&&u[r(343)]==e||(u=e,f(t[r(279)]),d=!0):l=l||t[r(279)])}function f(t){const i=r,o=n[i(219)][i(242)](t),a=n[i(388)][i(432)](i(515),{class:i(236)+e});n[i(388)][i(252)](o,a),n[i(219)][i(247)](a,s[i(302)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(469)][e(532)](ee);this[e(349)]=!1,this[e(262)](i,e(283),(()=>this[e(373)]())),this[e(262)](i,e(334),(()=>this[e(373)]()))}[Qt(286)](){const t=Qt,e=this[t(489)],i=e[t(469)][t(532)](ee),s=i[t(408)]?i[t(409)][t(430)]:null;e[t(248)][t(532)](t(352))[t(317)](s)}[Qt(373)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(489)][t(469)][t(532)](ee),r=n&&s[t(417)](n[t(430)]);this[t(235)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(246)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(469)][i(532)](ee);this[i(349)]=!1,this[i(246)]=i(241)===e?1:-1,this[i(262)](s,i(283),(()=>this[i(373)]())),this[i(262)](s,i(334),(()=>this[i(373)]())),this[i(262)](s,i(338),(()=>this[i(373)]()))}[Qt(286)](){const e=Qt,i=this[e(489)],s=i[e(469)][e(532)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(328)]=n?s[e(409)][e(493)][e(532)](r+this[e(246)]):s[e(409)][e(493)][e(406)],s[e(328)][e(292)][e(342)])o=i[e(427)][e(267)][e(434)](s[e(328)][e(443)]);else{const t=i[e(217)][e(411)][e(532)](e(259)+s[e(328)].id);o=(0,Z.getMarkerDomElement)(i[e(427)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(373)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(489)][t(469)][t(532)](ee);this[t(235)]=!!(r&&n&&s)&&(!e||(1===this[t(246)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["setTemplate","ck-revision-history-ui__changes-navigation__label","1920308bROLVW","backward","54vpfeST","Show next change","ck-revision-history-ui","bind","9xqyQSR","678006UaJuhN","fire","ck-hidden","numberOfChanges","isReady","_isStatusLabelVisible","3465872VHwQAc","isNavigationMode","EDIT_X_OF_Y_REVISIONS","Total","12985870vKZJXr","_statusText","div","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation","No changes","isBackwardNavigationEnabled","isEnabled","forward","bindTemplate","ck-revision-history-ui__changes-navigation__wrapper","set","NUMBER_OF_CHANGES","67311qpjkwE","isForwardNavigationEnabled","147091mDVVXm","execute","24nTsryq","Show previous change","931005XsfDtM","Loading...","currentChangeNumber","span","X_OF_Y_CHANGES"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=402]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(313089===parseInt(e(442))/1+parseInt(e(412))/2*(-parseInt(e(440))/3)+parseInt(e(410))/4+-parseInt(e(403))/5+parseInt(e(444))/6*(-parseInt(e(417))/7)+parseInt(e(423))/8*(-parseInt(e(416))/9)+parseInt(e(427))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(436)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(438)](e(424),!1),this[e(438)](e(421),!1),this[e(438)](e(405),0),this[e(438)](e(420),0),this[e(438)](e(441),!1),this[e(438)](e(433),!1),this[e(415)](e(422)).to(this,e(421),this,e(420),((t,e)=>t&&e>0)),this[e(415)](e(428)).to(this,e(421),this,e(405),this,e(420),this,e(424),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(404));if(!n)return X(t,o(432));const a=X(t,o(439),n);return r?X(t,o(407),[s+1,n]):a})),s[e(438)]({label:X(t,e(402)),tooltip:!0,icon:mt.IconChevronUp}),n[e(438)]({label:X(t,e(413)),tooltip:!0,icon:mt.IconChevronDown}),s[e(415)](e(434)).to(this,e(433)),n[e(415)](e(434)).to(this,e(441)),s.on(e(443),(()=>this[e(418)](e(443),e(411)))),n.on(e(443),(()=>this[e(418)](e(443),e(435)))),this[e(408)]({tag:e(429),attributes:{class:["ck",e(414),e(431)]},children:[{tag:e(406),attributes:{class:[e(437)]},children:[{tag:e(406),attributes:{class:[e(409),i.if(e(422),e(419),(t=>!t))]},children:[{text:i.to(e(424),(i=>i?X(t,e(425))+": ":X(t,e(426))+": "))}]},{text:i.to(e(428))}]},new pt.ToolbarSeparatorView,{tag:e(429),attributes:{class:[e(430)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=pe;!function(t){const e=pe,i=t();for(;;)try{if(972592===parseInt(e(359))/1*(-parseInt(e(358))/2)+-parseInt(e(344))/3+-parseInt(e(343))/4+-parseInt(e(353))/5+-parseInt(e(360))/6+-parseInt(e(357))/7+parseInt(e(363))/8*(parseInt(e(362))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);const fe=de(361);class me extends U.Plugin{static get[de(350)](){return de(352)}static get[de(348)](){return!0}static get[de(351)](){return!0}[de(341)](){const t=de,e=this[t(355)][t(349)][t(346)];e[t(345)]((i=>{const s=t;for(const t of e[s(356)][s(364)])i[s(354)](fe,t)}))}[de(347)](){const t=de,e=this[t(355)][t(349)][t(346)];e[t(345)]((i=>{const s=t;for(const t of e[s(356)][s(364)])i[s(342)](fe,t)}))}}function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=341]})(t,e)}function ve(){const t=["change","view","hide","isOfficialPlugin","editing","pluginName","isPremiumPlugin","RevisionViewerLoadingOverlay","1538935lyfudH","addClass","editor","document","8169126sxttxk","174CzWATT","15734UocPTk","8051376MdFnyi","ck-editor__editable__loading-overlay","50138793HhHVHk","8wxLZWh","roots","show","removeClass","1630516hApgPQ","15591CGVArn"];return(ve=function(){return t})()}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=241]})(t,e)}function ke(){const t=["2269120hiqKDu","showPreviousChange","showNextChange","RevisionViewerUI","828600CcmtCE","18wgqcCE","isOfficialPlugin","isNavigationMode","forward","40CfIOAu","show","isBackwardNavigationEnabled","Back to editing","init","pluginName","isForwardNavigationEnabled","Restore this revision","isReady","changesNavigation","closeRevisionViewerCallback","numberOfChanges","11591390dZkbfl","isEnabled","add","currentChangeNumber","ck-revision-history-ui__back-to-editing","plugins","change:isReady","hide","listenTo","953029iMvmyh","9cLFffj","componentFactory","requires","revisionHistory","3399939qDAurr","commands","exitToEditing","1926184LyUmyL","isPremiumPlugin","get","config","editor","execute","set","restoreRevision","bind","1059945UfMFeX"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(640756===parseInt(e(278))/1+-parseInt(e(264))/2+-parseInt(e(261))/3+-parseInt(e(274))/4+parseInt(e(273))/5*(parseInt(e(279))/6)+parseInt(e(256))/7*(parseInt(e(283))/8)+-parseInt(e(257))/9*(-parseInt(e(247))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(288)](){return ge(277)}static get[ge(280)](){return!0}static get[ge(265)](){return!0}static get[ge(259)](){return[ee,me]}[ge(287)](){const t=ge,e=this[t(268)],i=e[t(252)][t(266)](ee),s=e[t(252)][t(266)](me);e.ui[t(258)][t(249)](t(263),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(270)]({label:X(i,s(286)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(251)}),this[s(255)](n,s(269),(()=>{const t=s;e[t(267)][t(266)](t(260))[t(245)]()})),n})),e.ui[t(258)][t(249)](t(271),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(270)]({label:X(i,s(242)),withText:!0,tooltip:!0}),n[s(272)](s(248)).to(e[s(262)][s(266)](s(271))),this[s(255)](n,s(269),(()=>e[s(269)](s(271)))),n})),e.ui[t(258)][t(249)](t(244),(s=>{const n=t,r=new ue(s),o=e[n(262)][n(266)](n(275)),a=e[n(262)][n(266)](n(276));return r[n(272)](n(285)).to(o,n(248)),r[n(272)](n(241)).to(a,n(248)),r[n(272)](n(243),n(250),n(246),n(281)).to(i),this[n(255)](r,n(269),((t,i)=>{const s=n;e[s(269)](s(282)===i?s(276):s(275))})),r})),s[t(284)](),i.on(t(253),((e,i,n)=>{const r=t;n?s[r(254)]():s[r(284)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;function Ie(t,e){const i=Oe();return(Ie=function(t,e){return i[t-=266]})(t,e)}const Se=Ie;function Oe(){const t=["span","3134352GfFDNm","value","scrollWidth","ck-tooltip_multi-line","6156344SzFvQT","extendTemplate","ck-revision-history-sidebar__revision-name","_resizeObserver","bindTemplate","_updateTooltipText","10JwCrhj","destroy","3661553lzRdpU","clientWidth","set","placeholder","input","183772QUbKYK","29036817spKfWJ","3092172wSdaZf","element","_tooltipString","fieldView","1667855QFQxZU","9IKULyW","Enter the revision name","render","Revision name","listenTo"];return(Oe=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(876289===-parseInt(e(283))/1+parseInt(e(277))/2*(-parseInt(e(284))/3)+parseInt(e(294))/4+-parseInt(e(270))/5*(parseInt(e(279))/6)+-parseInt(e(272))/7+-parseInt(e(290))/8+parseInt(e(278))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Se(267)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(268)];this[i(274)]({label:X(t,i(287)),_tooltipString:""}),this[i(282)][i(275)]=X(t,i(285)),this[i(295)]({tag:i(289),attributes:{class:[i(266)],"data-cke-tooltip-text":s.to(i(281)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(293)}})}[Se(286)](){const e=Se;super[e(286)](),this[e(267)]=new t.ResizeObserver(this[e(282)][e(280)],(()=>this[e(269)]())),this[e(288)](this[e(282)],e(276),(()=>this[e(269)]()))}[Se(271)](){const t=Se;super[t(271)](),this[t(267)]&&this[t(267)][t(271)]()}[Se(269)](){const t=Se,e=this[t(282)][t(280)];this[t(281)]=e[t(292)]>e[t(273)]&&e[t(291)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=153]})(t,e)}function Re(){const t=["push","Revision creator","ck-revision-history-sidebar__revision-author_creator","Revision author","2880VTBPZK","ck-revision-history-sidebar__revision-author","setTemplate","4296452yaBDqs","43704kaDyEw","span","set","0 0 11 10","4048842kNWden","1315500jsTRmA","2wzpOMh","528911plNTXq","ck-revision-history-sidebar__revision-author__name","584DHsHSx","name","21079430aNMexh","6300rVyhPs"];return(Re=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(796147===parseInt(e(154))/1+parseInt(e(153))/2*(-parseInt(e(173))/3)+-parseInt(e(167))/4+-parseInt(e(159))/5*(-parseInt(e(164))/6)+-parseInt(e(172))/7+parseInt(e(156))/8*(-parseInt(e(168))/9)+parseInt(e(158))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ve extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(170)]({content:mt.IconUser,viewBox:s(171)});const r=["ck",s(165)];i&&r[s(160)](s(162));const o=[{tag:s(169),attributes:{class:["ck",s(155)],title:X(t,s(i?161:163))},children:[n,e[s(157)]]}];this[s(166)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Me();return(Ee=function(t,e){return i[t-=263]})(t,e)}function Me(){var t=["toLocaleTimeString","long","7585823wiJngz","61434uZsiUM","numeric","349070oAKCwX","6937008TxvzPV","5613200ICKYiU","111Kaydik","8uWJlfN","toLocaleDateString","26808948nmbqfL","3695885kpRvje"];return(Me=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(901529===-parseInt(e(269))/1+-parseInt(e(267))/2*(parseInt(e(272))/3)+-parseInt(e(271))/4+parseInt(e(263))/5+parseInt(e(270))/6+parseInt(e(266))/7*(-parseInt(e(273))/8)+parseInt(e(275))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=205]})(t,e)}function Le(){const t=["Name this revision","find","buttonView","212185gITNxH","model","ck-revision-history-sidebar__revision__actions","listenTo","name","execute","1888873FzNcTZ","Show more items","isEnabled","locale","ck-on","16AESLGi","_action","menuitem","change:isActionsDropdownOpen","stopPropagation","isActionsDropdownOpen","30dxGAkk","2223324gwUJIr","isReady","listView","bindTemplate","set","Compare against selected","extendTemplate","454329dGiogQ","menu","children","18ftNIHB","117768iyzYBW","first","add","isOpen","5990171bgbSGc","action","isVisible","22yVWhaj","bind","button","Restore this revision","class","function","source","panelPosition","items","map","6456190smjhhV"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(721316===-parseInt(e(241))/1+-parseInt(e(252))/2*(parseInt(e(245))/3)+-parseInt(e(234))/4+-parseInt(e(216))/5*(parseInt(e(233))/6)+-parseInt(e(222))/7*(-parseInt(e(227))/8)+parseInt(e(244))/9*(parseInt(e(212))/10)+parseInt(e(249))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const ze=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=479]})(t,e)}function Ue(){const t=["23253620CNCXqu","fire","set","2146940tRTvvT","fieldView","authors","_revision","ck-revision-history-sidebar__revision","1278856kTaafW","663615oWzAcV","isActionsDropdownOpen","change","ck-revision-history-sidebar__actions_dropdown_open","ck-reset","isReady","6JeBSdk","value","ck-revision-history-sidebar__revision_highlighted","3589665WLMGEH",".ck-thread__remove-confirm","uiLanguage","3LtzhGP","element","isSelected","unshift","revisionNameView","5105814jMjuhC","span","div","select","name","map","revisionActionsView","isEnabled","deselect","9FLOAJW","render","220","setName","filter","isConfirm","listenTo","extendTemplate","bind","from","highlight","length","createdAt","_createdAtFormatted","ck-revision-history-sidebar__revision__controls-wrapper","3889184DpuXSc","_requireRevisionName","unhighlight","setTemplate","creator","ck-revision-history-sidebar__revision-wrapper","isHighlighted","closest","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision__date","srcElement","ck-revision-history-sidebar__revision_selected","ck-disabled","bindTemplate"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(475603===parseInt(e(518))/1+-parseInt(e(517))/2*(-parseInt(e(530))/3)+parseInt(e(512))/4+-parseInt(e(527))/5*(-parseInt(e(524))/6)+parseInt(e(535))/7+-parseInt(e(494))/8+parseInt(e(479))/9*(-parseInt(e(509))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(534)];[ze(541)];[ze(515)];[ze(495)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(508)],a=function(t,e){const i=r,s=Array[i(488)](e[i(514)])[i(483)]((t=>t!=e[i(498)]));return e[i(498)]&&s[i(533)](e[i(498)]),s[i(540)]((s=>new Ve(t,s,s==e[i(498)])))}(e,i);this.id=i.id,this[r(515)]=i,this[r(495)]=n,this[r(487)](r(539),r(491)).to(i),this[r(487)](r(492)).to(this,r(491),(t=>{return i=e[r(529)],(s=t)[(n=Ee)(274)](i,{month:n(265),day:n(268)})+", "+s[n(264)](i,{hour:n(268),minute:n(268)});var i,s,n})),this[r(511)](r(532),!1),this[r(511)](r(500),!1),this[r(511)](r(519),!1),this[r(511)](r(523),!1),this[r(511)](r(542),!1),this[r(534)]=new Te(e,pt.createLabeledInputText),this[r(534)][r(513)][r(486)]({attributes:{maxlength:r(481)}}),this[r(534)][r(513)][r(487)](r(525)).to(this,r(539),(t=>t||this[r(492)])),this[r(534)][r(487)](r(542)).to(this,r(532),this,r(542),((t,e)=>t&&e)),this[r(541)]=s&&s[r(490)]?function(e,i){const s=Fe,n=e[s(237)],r=e[s(225)],o=(0,pt.createDropdown)(r);o[s(209)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(225)],n={"Compare against selected":X(s,i(239)),"Name this revision":X(s,i(213)),"Restore this revision":X(s,i(205))};return e[i(211)]((t=>{const e=i,s=n[t[e(220)]];return s&&s!==t[e(220)]&&(t[e(220)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(254),model:new pt.ViewModel({label:t[n(220)],class:t[n(206)],withText:!0,role:n(229),_action:t[n(250)]})};i[n(217)][n(253)](n(224)).to(e,n(232),(i=>n(207)!=typeof t[n(224)]||!i||t[n(224)](e))),o[n(247)](i)}return o}(e,i);return e[s(253)](s(232)).to(o,s(248)),o[s(215)][s(238)]({label:X(r,s(223)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(240)]({attributes:{class:[s(218),n.if(s(232),s(226))]},on:{click:n.to((t=>t[s(231)]()))}}),o.on(s(221),(t=>{const i=s;e[i(235)]&&i(207)==typeof t[i(208)][i(228)]&&t[i(208)][i(228)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(242)}),o[s(219)](e,s(230),((t,n,r)=>{const a=s;if(r)for(const t of o[a(236)][a(210)]){const s=t[a(243)][a(246)],n=i[a(214)]((t=>t[a(250)]===s[a(228)]))[a(251)];t[a(251)]=void 0===n||n(e)}})),o}(this,s):"",this[r(541)]&&this[r(541)][r(487)](r(542)).to(this),this[r(497)]({tag:r(537),attributes:{class:["ck",r(522),r(499),o.if(r(484),r(502))]},children:[{tag:r(537),attributes:{class:["ck",r(522),r(516),o.if(r(542),r(507),(t=>!t)),o.if(r(532),r(506)),o.if(r(500),r(526)),o.if(r(519),r(521))]},children:[this[r(534)],{tag:r(536),attributes:{class:["ck",r(504)]},children:[{text:o.to(r(492))}]},{tag:r(537),attributes:{class:["ck",r(493)]},children:[{tag:"ul",attributes:{class:["ck",r(503)]},children:a}]},this[r(541)]],on:{click:o.to((t=>{const e=r;t[e(505)][e(501)](e(528))||this[e(523)]&&this[e(542)]&&this[e(510)](e(538),{id:this.id})}))}}]})}[ze(480)](){const t=ze;super[t(480)]();const e=this[t(534)][t(513)][t(531)];this[t(485)](e,t(520),(()=>{const i=t;this[i(495)]&&!e[i(525)]||this[i(510)](i(482),{id:this.id,name:e[i(525)]}),e[i(525)]||(e[i(525)]=this[i(539)]?this[i(539)]:this[i(492)])}))}[ze(538)](){this[ze(532)]=!0}[ze(543)](){this[ze(532)]=!1}[ze(489)](){this[ze(500)]=!0}[ze(496)](){this[ze(500)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Ge extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ai extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ai(t)),Ni[t]}static resetCache(){Ni={},Ti={}}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=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[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"})),Ti[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:_s(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 Ri={};let Vi={};function Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Mi={};let Di={};let Ci=null;let Fi={};function Li(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=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(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&&Ai.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=Ei(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 zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[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 Wi={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||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Mi={},Di={}}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=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(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,As(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 Li(this,t,Qs,(()=>{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=io.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 Li(this,t,sn,(()=>{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=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.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 zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[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:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}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 Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(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 qi extends Ii{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(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={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]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ai.resetCache(),io.resetCache(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(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 ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(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 bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){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 Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function As(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Es(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(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?Fs(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 zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(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 Hs(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 qs(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(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(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}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Gs=["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"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Js];case"long":return[...Gs];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"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(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 ln[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 Vs(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 nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.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=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(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 dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...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 pn(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 vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Es(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Es(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?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 Vn(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(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Es(e)):Es(e),month:Js.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(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 Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(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$/,Ln=/^(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[Mn(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(Tn,xn,Nn);const Xn="Invalid Duration",tr={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}},er={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},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,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:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(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 lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(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),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;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 lr.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 lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[An,Gn])}(t);return i?lr.fromObject(i,e):lr.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 as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({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 Ge(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?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(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+=Cs(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 io.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?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.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]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(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 ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(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=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)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;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(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 ur(this.matrix,e),ar(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 ar(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 rr)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 hr="Invalid Interval";class dr{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 as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.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:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.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=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.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?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).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(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.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(dr.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:dr.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 dr.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(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[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=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.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:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(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=mr(t,e);return(i-i%7)/7}],["days",mr]],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=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(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(Bi.hanidec))e+=Gi.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={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 Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Ar(hn.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=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(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 wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\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(Ns(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;_s(t.z)||(i=Ai.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(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),_s(t.u)||(t.S=Ds(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(Ns(i,"a")&&Ns(i,"H"))throw new Ye("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 Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Ar(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),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=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Vr=864e13;function Er(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(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 Lr(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 Fr(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=lr.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]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(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=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.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+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Gr=["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 Ge(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(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 to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Er(e));this.ts=_s(t.ts)?os.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=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("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 io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({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=Hi.utcInstance,Kr({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 io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Er(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.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(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Ui.fromObject(e),n=$s(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Ws(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=Rs(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,$n],[Zn,Bn],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(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}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Jn,qn],[Kn,Qn])}(t);return zr(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 as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}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?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.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=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.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 Cr(this,{ts:s,zone:t})}return io.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(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}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.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?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.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+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(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":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(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")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[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 lr.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(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.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||io.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),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("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 Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.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 xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(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?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=168]})(t,e)}function ro(){const t=["22vQrice","23373sbgxOi","4911VbqqFg","58ponGqW","month","hasSame","130837MbZJAd","minus","startOf","day","weekdayLong","126675QMhnbR","week","setLocale","toRelativeCalendar","monthLong","year","local","8BhMnCb","toJSDate","5ircWNW","169152EKIitn","40gSvAKK","fromJSDate","144546QCDUWT","1308756KSMFuR"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(176)](t)[i(192)](e),n=io[i(170)](),r=n[i(186)]({days:1})[i(187)](i(188));let o,a;return s[i(184)](n,i(188))?(o=s[i(187)](i(188))[i(172)](),a=s[i(193)]()):s[i(184)](r,i(188))?(o=r[i(172)](),a=s[i(193)]()):s[i(184)](n,i(191))?(o=s[i(187)](i(191))[i(172)](),a=s[i(189)]||""):s[i(184)](n,i(169))?(o=s[i(187)](i(183))[i(172)](),a=s[i(168)]||""):(o=s[i(187)](i(169))[i(172)](),a=String(s[i(169)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(102054===-parseInt(e(190))/1+-parseInt(e(182))/2*(parseInt(e(181))/3)+parseInt(e(174))/4+parseInt(e(173))/5*(parseInt(e(177))/6)+parseInt(e(185))/7*(-parseInt(e(171))/8)+-parseInt(e(180))/9*(-parseInt(e(175))/10)+parseInt(e(179))/11*(parseInt(e(178))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["4708624zeXpVW","643740jFzFFm","1244052xaxoDr","startDate","removeRevision","localizedPeriodName","revisionViews","select","div","_requireRevisionName","uiLanguage","1995915hdZOrq","remove","setTemplate","add","locale","ck-revision-history-sidebar__time-period","span","5402790VYMvbm","setName","createCollection","find","ck-revision-history-sidebar__time-period__revisions","2158464ZrvAtR","delegate","310976Rjgqtk","ck-revision-history-sidebar__time-period__label","7QXRVuq","addRevision","_revisionActions","1fuGzVS"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=285]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(418342===parseInt(e(310))/1*(-parseInt(e(305))/2)+-parseInt(e(313))/3+-parseInt(e(312))/4+-parseInt(e(291))/5+parseInt(e(303))/6+parseInt(e(307))/7*(parseInt(e(311))/8)+parseInt(e(298))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(314)];[uo(286)];[uo(309)];[uo(289)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(295)][n(290)])[n(285)];this[n(314)]=e,this[n(286)]=this[n(300)](),this[n(309)]=i,this[n(289)]=s,this[n(286)][n(304)](n(287)).to(this),this[n(286)][n(304)](n(299)).to(this),this[n(293)]({tag:n(288),attributes:{class:["ck",n(296)]},children:[{tag:n(297),attributes:{class:["ck",n(306)]},children:[{text:r}]},{tag:n(288),attributes:{class:["ck",n(302)]},children:this[n(286)]}]})}[uo(308)](t){const e=uo,i=new Ze(this[e(295)],t,this[e(309)],this[e(289)]);this[e(286)][e(294)](i)}[uo(315)](t){const e=uo,i=this[e(286)][e(301)]((e=>e.id===t.id));this[e(286)][e(292)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=138]})(t,e)}function go(){const t=["span","content","ck-reset_all","39025CQljRv","6jsEWcj","10zOruDV","4826140ceFFKG","ck-revision-history-sidebar__header__label","206781efHbCr","2872752fYkYGq","182345YjJZUy","122396UAdibz","6282621EsYrOV","Revision history","setTemplate","ck-revision-history-sidebar__header","636YFicqG","div"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(484073===parseInt(e(151))/1+parseInt(e(145))/2*(-parseInt(e(149))/3)+parseInt(e(152))/4*(parseInt(e(146))/5)+-parseInt(e(139))/6*(-parseInt(e(144))/7)+-parseInt(e(150))/8+parseInt(e(153))/9+-parseInt(e(147))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(142)]=mt.IconHistory,this[e(155)]({tag:e(140),attributes:{class:["ck",e(143),e(138)]},children:[i,{tag:e(141),attributes:{class:["ck",e(148)]},children:[X(t,e(154))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["8mmyDnV","locale","_getTimePeriodViewByStartDate","flat","ck-rounded-corners","remove","unhighlight","2619wmnnEd","startDate","removeRevision","highlightRevisions","4173875VstTxu","map","setTemplate","createCollection","_requireRevisionName","_revisionActions","77161dvyQDv","ck-revision-history-sidebar__timeline","deselect","createdAt","find","get","div","timePeriodViews","ck-revision-history-sidebar","select","setName","selectRevision","ck-reset","463175xCmZQk","getTime","1070ytBEQS","ck-disabled","732303GopPlO","render","highlight","revisionViews","add","addRevision","set","3461040kXErWV","bindTemplate","_addRevision","110PTtVHJ","delegate","isEnabled","uiLanguage","_removeRevision","some","fire","_revisions","366428VNnZfG","revisionSetName","revisionSelected"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=282]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(615328===parseInt(e(318))/1+-parseInt(e(320))/2*(parseInt(e(295))/3)+parseInt(e(285))/4+parseInt(e(299))/5+parseInt(e(329))/6+parseInt(e(305))/7*(parseInt(e(288))/8)+parseInt(e(322))/9*(-parseInt(e(332))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(312)];[wo(284)];[wo(304)];[wo(303)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(330)];this[n(312)]=this[n(302)](),this[n(312)][n(333)](n(314)).to(this),this[n(312)][n(333)](n(315)).to(this),this[n(284)]=e,this[n(304)]=i,this[n(303)]=s,this.on(n(314),((t,e)=>{const i=n;this[i(283)](i(287),e)})),this.on(n(315),((t,e)=>{const i=n;this[i(283)](i(286),e)})),this[n(328)](n(334),!1),this[n(301)]({tag:n(311),attributes:{class:["ck",n(317),n(292),n(313)]},children:[new yo(t),{tag:n(311),attributes:{class:["ck",n(306),r.if(n(334),n(321),(t=>!t))]},children:this[n(312)]}]})}[wo(323)](){const t=wo;super[t(323)]();for(const e of this[t(284)])this[t(331)](e);this[t(284)].on(t(326),((e,i)=>{this[t(331)](i)})),this[t(284)].on(t(293),((e,i)=>{this[t(336)](i)}))}get[wo(325)](){const t=wo;return this[t(312)][t(300)]((e=>e[t(325)][t(300)]((t=>t))))[t(291)]()}[wo(316)](t){const e=wo;for(const i of this[e(325)])t&&t.id===i.id?i[e(314)]():i[e(307)]()}[wo(298)](t){const e=wo;for(const i of this[e(325)])t[e(282)]((({id:t})=>t===i.id))?i[e(324)]():i[e(294)]()}[wo(331)](t){const e=wo,i=oo(t[e(308)],this[e(289)][e(335)])[e(296)];let s=this[e(312)][e(310)](0);s&&s[e(296)][e(319)]()===i[e(319)]()||(s=new fo(this[e(289)],i,this[e(304)],this[e(303)]),this[e(312)][e(326)](s)),s[e(327)](t)}[wo(336)](t){const e=wo,i=oo(t[e(308)],this[e(289)][e(335)])[e(296)];this[e(290)](i)[e(297)](t)}[wo(290)](t){const e=wo;return this[e(312)][e(309)]((i=>i[e(296)][e(319)]()===t[e(319)]()))}}const Oo=xo;function To(){const t=["2654536wTisRN","382359IAqqML","ready","_revisionsRepository","revisionHistory.requireRevisionName","element","_handleDiffChange","revisionSelected","Restore this revision","getRevision","14qfAQLY","restoreRevision","locale","4QePBqj","newRevisionId","change:diff","_handleRevisionSelected","add","42LyveUu","revisionSetName","bind","focus","requires","selectRevision","editor","pluginName","41570hoZYUO","_handleEditorDataReady","getEarlierVisibleRevision","diff","_revisions","Compare against selected","1173990kUhfBu","isReady","repository","getLaterVisibleRevision","revisionHistory","revisionHistory.revisionActions","highlightRevisions","fieldView","init","_sidebarView","nameRevision","availableRevisionActions","_handleRevisionSetName","config","2117304XKLmue","getIndex","action","isOfficialPlugin","revisionViews","destroy","timePeriodViews","1640695QGFGnp","Name this revision","RevisionsSidebar","listenTo","isSelected","revisionHistory.viewerSidebarContainer","compare","isPremiumPlugin","render","length","defaultRevisionActions","setName","isEnabled","name","select","map","get","data","restoreRevisionCallback","7426560YTxosM","appendChild","_revisionViewer","compareAgainstSelected","remove","_createRevisionActions","string","assign","getRevisionsInDiff","isVisible","plugins"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=142]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(508649===-parseInt(e(211))/1*(parseInt(e(219))/2)+-parseInt(e(194))/3*(parseInt(e(206))/4)+-parseInt(e(163))/5+parseInt(e(142))/6+-parseInt(e(203))/7*(-parseInt(e(193))/8)+parseInt(e(156))/9+parseInt(e(182))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends U.Plugin{[Oo(184)];[Oo(196)];[Oo(151)];static[Oo(173)]=[Oo(185),Oo(204),Oo(152)];static[Oo(153)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(224),action:({plugins:e},i)=>{const s=t,n=e[s(179)](ee),r=n[s(144)];let o=n[s(222)][s(207)],a=i.id;r[s(157)](o)>r[s(157)](a)&&([o,a]=[a,o]),n[s(169)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(179)](ee);return!(n[s(144)][s(190)](n[s(222)])[s(172)]>2||i[s(167)])}},restoreRevision:{name:t(201),action:(e,{id:i})=>{const s=t;e[s(155)][s(179)](s(146))[s(181)](i)},isVisible:({plugins:e},i)=>!!e[t(179)](ee)[t(144)][t(145)](i.id)},nameRevision:{name:t(164),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(179)](ee),o=r[n(144)][n(221)](i);r[n(169)](i,o),s[n(214)](),s[n(149)][n(177)]()}}}}();static get[Oo(218)](){return Oo(165)}static get[Oo(159)](){return!0}static get[Oo(170)](){return!0}static get[Oo(215)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(184)]=t[e(192)][e(179)](ee),this[e(196)]=this[e(184)][e(144)],this[e(151)]=null}[Oo(150)](){const t=Oo,e=this[t(196)][t(223)],i=this[t(187)](),s=this[t(217)][t(155)][t(179)](t(168));this[t(151)]=new So(this[t(217)][t(205)],e,i,this[t(217)][t(155)][t(179)](t(197))),this[t(151)].on(t(200),this[t(209)][t(213)](this)),this[t(151)].on(t(212),this[t(154)][t(213)](this)),this[t(151)][t(213)](t(175)).to(this[t(184)]),this[t(151)][t(162)].on(t(210),((e,i)=>{const s=t;i[s(160)].on(s(210),((t,e)=>{const i=s;e[i(213)](i(175),i(143)).to(this[i(184)])}))})),this[t(151)][t(171)](),this[t(166)](this[t(217)][t(180)],t(195),this[t(220)][t(213)](this)),this[t(166)](this[t(184)],t(208),this[t(199)][t(213)](this)),s[t(183)](this[t(151)][t(198)])}[Oo(161)](){const t=Oo;this[t(151)][t(198)][t(186)](),this[t(151)][t(161)]()}[Oo(220)](){const t=Oo,e=this[t(196)][t(202)](0);if(e){const i=this[t(196)][t(221)](e.id);this[t(184)][t(169)](e,i)}}[Oo(209)](t,e){const i=Oo,s=this[i(196)][i(202)](e.id),n=this[i(196)][i(221)](s.id);this[i(184)][i(169)](s,n)}[Oo(154)](t,e){const i=Oo;this[i(196)][i(202)](e.id)[i(174)](e[i(176)])}[Oo(199)](t,e,i){const s=Oo,n=this[s(196)][s(190)](i);n[s(172)]>2?(this[s(151)][s(148)](n),this[s(151)][s(216)](null)):(this[s(151)][s(148)]([]),this[s(151)][s(216)](n[0]))}[Oo(187)](){const t=Oo,e=this[t(217)],i=No[t(153)],s=e[t(155)][t(179)](t(147))||No[t(173)];if(s[t(172)])return s[t(178)]((s=>{const n=t,r=n(188)==typeof s?Object[n(189)]({},i[s]):s;return r[n(158)]=r[n(158)][n(213)](this,e),r[n(191)]&&(r[n(191)]=r[n(191)][n(213)](this,e)),r}))}}const Ao=No,Ro=Eo;function Vo(){const t=["isFocused","4pxiKRS","element","view","config","editor","destroy","7810BspcOJ","715788OqnjMh","ready","focusTracker","addToolbar","stickyPanel","name","fire","11ZqhRwz","_view","attachDomRoot","get","_toolbarConfig","restore","limiterElement","_elementReplacer","1QtYupo","editable","isActive","444kgEyyH","render","rootName","document","fillFromConfig","_initToolbar","replace","detachDomRoot","viewportOffset","getRoot","componentFactory","22030nYqSpG","991059rZKkcR","1846370vQQsFd","setEditableElement","viewportTopOffset","176okyFgZ","toolbar","init","121555ZhIxxm","2146581fFQfbY","editing","bind"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=120]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(272495===parseInt(e(163))/1*(parseInt(e(147))/2)+parseInt(e(129))/3*(parseInt(e(141))/4)+parseInt(e(128))/5*(parseInt(e(166))/6)+-parseInt(e(136))/7*(parseInt(e(133))/8)+parseInt(e(137))/9+-parseInt(e(130))/10+-parseInt(e(155))/11*(parseInt(e(148))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Mo extends pt.EditorUI{[Ro(156)];[Ro(159)];[Ro(162)];get[Ro(143)](){return this[Ro(156)]}constructor(e,i){const s=Ro;super(e),this[s(156)]=i,this[s(159)]=(0,pt.normalizeToolbarConfig)(e[s(144)][s(158)](s(134))),this[s(162)]=new t.ElementReplacer}get[Ro(142)](){const t=Ro;return this[t(143)][t(142)]}[Ro(135)](t){const e=Ro,i=this[e(145)],s=this[e(143)],n=i[e(138)][e(143)],r=s[e(164)],o=n[e(120)][e(126)]();r[e(153)]=o[e(168)],s[e(167)]();const a=r[e(142)];this[e(131)](r[e(153)],a),s[e(164)][e(139)](e(140)).to(this[e(150)]),n[e(157)](a),this[e(162)][e(123)](t,this[e(142)]),this[e(122)](),this[e(154)](e(149))}[Ro(146)](){const t=Ro;super[t(146)]();const e=this[t(143)],i=this[t(145)][t(138)][t(143)];this[t(162)][t(160)](),i[t(124)](e[t(164)][t(153)]),e[t(146)]()}[Ro(122)](){const t=Ro,e=this[t(143)];e[t(152)][t(139)](t(165)).to(this[t(150)],t(140)),e[t(152)][t(161)]=e[t(142)],e[t(152)][t(139)](t(132)).to(this,t(125),(({top:t})=>t)),e[t(134)][t(121)](this[t(159)],this[t(127)]),this[t(151)](e[t(134)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=Lo;function Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=495]})(t,e)}function jo(){var t=["452714RIDFnm","9dKPZhO","render","193495XtsTkB","68nWbTWG","content","main","add","top","stickyPanel","714084EeoRIP","shouldToolbarGroupWhenFull","704167HEsbGu","_editable","2151897tVSbZC","2217677jLLgRQ","editable","5021688qqFRVt","toolbar"];return(jo=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(407114===-parseInt(e(510))/1+parseInt(e(498))/2+parseInt(e(512))/3+parseInt(e(502))/4*(-parseInt(e(501))/5)+-parseInt(e(508))/6+parseInt(e(513))/7+parseInt(e(496))/8*(parseInt(e(499))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(511)];[Fo(507)];[Fo(497)];get[Fo(495)](){return this[Fo(511)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(507)]=new pt.StickyPanelView(t),this[s(497)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(509)]}),this[s(511)]=new pt.InlineEditableUIView(t,e)}[Fo(500)](){var t=Fo;super[t(500)](),this[t(507)][t(503)][t(505)](this[t(497)]),this[t(506)][t(505)](this[t(507)]),this[t(504)][t(505)](this[t(495)])}}function zo(){const t=["sourceElement","locale","2650Erdlzc","456396hRLvdC","get","updateSourceElement","1507510wNswIJ","143hCEAxn","document","33607jisIxg","ready","view","model","120qrJiFL","destroy","initialData","config","create","createRoot","init","1006ropfWg","996356bejbEJ","_ui","179mfiLop","data","initPlugins","14922pGvyVI","6oEVxjp","editing","fire","5475960XfvFgO"];return(zo=function(){return t})()}const Wo=Uo;function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=479]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(356301===-parseInt(e(502))/1*(-parseInt(e(499))/2)+-parseInt(e(506))/3*(-parseInt(e(500))/4)+parseInt(e(485))/5+-parseInt(e(492))/6*(-parseInt(e(488))/7)+-parseInt(e(509))/8+parseInt(e(505))/9*(-parseInt(e(481))/10)+parseInt(e(486))/11*(parseInt(e(482))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(501)];get ui(){return this[Wo(501)]}constructor(t,e){const i=Wo;super(e),this[i(479)]=t,this[i(491)][i(487)][i(497)]();const s=new Po(this[i(480)],this[i(507)][i(490)],{shouldToolbarGroupWhenFull:!0});this[i(501)]=new Mo(this,s)}[Wo(493)](){const t=Wo;return this[t(484)](),this.ui[t(493)](),super[t(493)]()}static async[Wo(496)](t,e){const i=Wo,s=new this(t,e);return await s[i(504)](),await s.ui[i(498)](t),await s[i(503)][i(498)](s[i(495)][i(483)](i(494))||""),s[i(508)](i(489)),s}}function Ho(t,e){const i=qo();return(Ho=function(t,e){return i[t-=202]})(t,e)}function qo(){const t=["set","join","2665586SDMFNZ","addRoot","toolbar","markers","Users","removeAttribute","translations","RevisionTracker","enableReadOnlyMode","RevisionViewerIntegration","_closeRevisionViewer","plugins","_recalculatePageBreaks","detachRoot","setAttribute","$graveyard","rootName","insert","revisionHistory.editorContainer","toLocaleDateString","refreshPositioning","522246bcnMpE","view","6910jNvTsG","getAttributeKeys","revision-history-missing-configuration","getRevisions","isReady","hide","remove","lazyRoots","name","revisionHistory.viewerContainer","indexOf","config","createRangeIn","15IAEECt","users","change","get","revisionHistory.viewerEditorElement","getMarkersGroup","toJSON","loadRevisionData","DocumentOutline","none","toLocaleTimeString","create","requires","end","RevisionHistoryUtils","exitToEditing","removeMarker","createdAt","fromVersion","Annotations","creator","getUser","addUser","addRevisionData","locale","result","isEnabled","enqueueChange","_viewerEditor","revisionHistory.closeRevisionViewerCallback","model","refreshVisibility","isOfficialPlugin","Autosave","_cleanUp","_enhanceShowRevisionViewerCallback","selection","roots","then","changesNavigation","editor","numeric","uiLanguage","map","from","element","fromCharCode","getRevisionRootsAttributes","_restoreRevision","RevisionViewer","closeRevisionViewerCallback","style","restoreRevision","revision-history-viewer-opened","isReadOnly","error","4nQniBa","restrictedEditingException","isAnonymous","commands","parse","showRevisionViewerCallback","setSelection","16bYcgPW","display","revisionHistory.requireRevisionName","246169WaDOdY","revisionHistory.restoreRevisionCallback","RevisionHistory","revisionHistory","PaginationLookup","define","catch","push","isOpen","RevisionHistoryUI","Restored","document","init","pluginName","save","1525750UYbFCg","destroy","getRoot","RestrictedEditingMode","isPremiumPlugin","disableReadOnlyMode","RevisionsRepository","Dialog","includes","isAttached","keys","long","_enhanceCloseRevisionViewerCallback","update","328689iQbeeq","saveRevision","72348zTepKg","5EBXDNM","repository","DocumentOutlineUI","getRevision","bind","data","block","isRevisionViewerOpen","_showRevisionViewer","removeSelectionAttribute","adapter","_update","_getRevisionViewerEditorConfig","getRevisionDocumentData","has","revisionHistory.showRevisionViewerCallback","toVersion"];return(qo=function(){return t})()}const $o=Ho;!function(t){const e=Ho,i=t();for(;;)try{if(107044===parseInt(e(214))/1*(parseInt(e(354))/2)+parseInt(e(311))/3*(parseInt(e(270))/4)+parseInt(e(312))/5*(parseInt(e(352))/6)+-parseInt(e(280))/7*(-parseInt(e(277))/8)+-parseInt(e(309))/9+parseInt(e(295))/10+-parseInt(e(331))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[$o(289),$o(298)];class Yo extends U.Plugin{[$o(239)];static get[$o(293)](){return $o(340)}static get[$o(246)](){return!0}static get[$o(299)](){return!0}constructor(t){const e=$o;function i(t){const e=Ho;return t[e(257)]((t=>String[e(260)](t)))[e(330)]("")}super(t),this[e(239)]=e(227),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 Go extends U.Plugin{[$o(242)];static get[$o(293)](){return $o(282)}static get[$o(246)](){return!0}static get[$o(299)](){return!0}static get[$o(226)](){return[at,Ft]}constructor(e){const i=$o;if(super(e),!this[i(254)][i(212)][i(217)](i(283)))throw new t.CKEditorError(i(203),this);this[i(242)]=null,this[i(329)](i(319),!1),this[i(254)][i(212)][i(285)](i(327),(t=>this[i(320)]({...t,translations:this[i(254)][i(238)][i(337)]}))),this[i(254)][i(212)][i(285)](i(243),(t=>this[i(341)](t))),this[i(254)][i(212)][i(285)](i(281),(t=>this[i(262)](t))),this[i(254)][i(212)][i(285)](i(279),!1),this[i(249)](),this[i(307)]()}set[$o(322)](t){const e=$o;this[e(254)][e(342)][e(217)](e(338))[e(322)]=t}get[$o(322)](){const t=$o;return this[t(254)][t(342)][t(217)](t(338))[t(322)]}[$o(237)](t){const e=$o;return this[e(254)][e(342)][e(217)](e(338))[e(237)](t)}[$o(315)](t){const e=$o;return this[e(254)][e(342)][e(217)](e(301))[e(315)](t)}[$o(204)](t){const e=$o;return this[e(254)][e(342)][e(217)](e(301))[e(204)](t||{toJSON:!1})}[$o(324)](){const e=$o,i=this[e(254)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(342)][e(217)](e(338)),r=i[e(342)][e(217)](e(335))[e(215)];return s[e(333)]=[e(229),e(266),e(253)],delete s[e(208)],s[e(342)][e(287)](Yo,ee,be,class extends U.Plugin{static get[e(226)](){return[ee,e(335)]}[e(292)](){const s=e,o=this[s(254)][s(342)][s(217)](s(335));for(const t of r)t[s(272)]||o[s(235)](t.id)||o[s(236)](t);const a=n[s(313)][s(204)]();let c=null;const u=this[s(254)][s(342)][s(217)](s(263));u[s(322)]=n[s(322)],u[s(316)](s(240)).to(n),this[s(254)][s(273)][s(217)](s(266))[s(316)](s(240)).to(i,s(268),(t=>!t));for(const e of a){const i=null===e[s(234)];if(i&&e[s(328)]===e[s(232)])continue;const r=e[s(220)]();u[s(237)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(323)](r,o);else if(!o){const e=a[u(220)]();e.id=(0,t.uid)(),n[u(310)](e,a[u(328)])[u(252)]((t=>{c=t}))}}else e[u(323)](r,o)}))}}},Ao),s}[$o(249)](){const t=$o,e=this[t(254)][t(212)][t(217)](t(283))[t(275)];this[t(254)][t(212)][t(329)](t(327),(async()=>{const i=t;this[i(254)][i(339)](i(267));const s=this[i(254)][i(342)][i(217)](i(338));if(this[i(254)][i(342)][i(326)](i(247))){const t=this[i(254)][i(342)][i(217)](i(247));await t[i(294)]()}else await s[i(308)]();if(this[i(254)][i(342)][i(326)](i(284))&&this[i(254)][i(342)][i(217)](i(284))[i(343)](),this[i(254)][i(342)][i(326)](i(302))){const t=this[i(254)][i(342)][i(217)](i(302));t[i(288)]&&t[i(206)]()}const n=this[i(324)]();return e(n)[i(252)]((t=>{const e=i;return this[e(242)]=t,this[e(254)][e(342)][e(326)](e(233))&&this[e(254)][e(342)][e(217)](e(233))[e(245)](),this[e(254)][e(342)][e(326)](e(222))&&(this[e(254)][e(342)][e(217)](e(314))[e(353)][e(259)][e(265)][e(278)]=e(223)),t}))[i(286)]((t=>(console[i(269)](t),this[i(254)][i(300)](i(267)),null)))}))}[$o(307)](){const t=$o,e=this[t(254)][t(212)][t(217)](t(283))[t(264)];this[t(254)][t(212)][t(329)](t(243),(()=>(this[t(254)][t(342)][t(326)](t(284))&&this[t(254)][t(342)][t(217)](t(284))[t(343)](),this[t(254)][t(342)][t(326)](t(222))&&(this[t(254)][t(342)][t(217)](t(314))[t(353)][t(259)][t(265)][t(278)]=""),this[t(242)][t(342)][t(217)](t(263))[t(248)](),e(this[t(242)])[t(252)]((()=>{const e=t;if(this[e(254)][e(300)](e(267)),this[e(242)]=null,this[e(254)][e(342)][e(326)](e(233))){const t=this[e(254)][e(342)][e(217)](e(233));t[e(245)](),t[e(351)]()}})))))}[$o(320)](t){const e=$o,i=this[e(254)][e(212)][e(217)](e(349)),s=this[e(254)][e(212)][e(217)](e(210)),n=this[e(254)][e(212)][e(217)](e(218));return Zo[e(225)](n,t)[e(252)]((t=>(s[e(265)][e(278)]=e(318),i[e(265)][e(278)]=e(223),this[e(319)]=!0,t)))}[$o(341)](t){const e=$o,i=this[e(254)][e(212)][e(217)](e(349));return this[e(254)][e(212)][e(217)](e(210))[e(265)][e(278)]=e(223),i[e(265)][e(278)]="",this[e(319)]=!1,t[e(296)]()}async[$o(262)](t){const e=$o,i=this[e(254)],s=this[e(242)][e(342)][e(217)](e(263)),n=i[e(342)][e(217)](e(338)),r=i[e(342)][e(217)](e(228)),o=s[e(313)][e(315)](t);let a,c,u;try{await r[e(221)](o,this[e(322)]),a=r[e(325)](o),c=r[e(261)](o)}catch(t){return void console[e(269)](t)}i[e(244)][e(216)]((t=>{const s=e;for(const e of Array[s(258)](i[s(244)][s(334)][s(219)](s(271))))t[s(230)](e)})),s[e(205)]=!1,i[e(244)][e(241)]((t=>{const s=e;t[s(276)](null),t[s(321)](i[s(244)][s(291)][s(250)][s(202)]());const n=Object[s(305)](a);for(const e of i[s(244)][s(291)][s(251)])s(346)!=e[s(347)]&&e[s(304)]()&&!n[s(303)](e[s(347)])&&t[s(344)](e);for(const e of n){let n=i[s(244)][s(291)][s(297)](e);n&&n[s(304)]()||(n=t[s(332)](e));const r=c[e],o=Object[s(305)](r),u=a[e];for(const e of n[s(202)]())o[s(303)](e)||t[s(336)](e,n);for(const i of o)t[s(345)](i,c[e][i],n);t[s(207)](t[s(213)](n)),t[s(348)](i[s(317)][s(274)](u,n),n,0)}}));const l=X(i[e(238)],e(290));return u=o[e(209)]?-1==o[e(209)][e(211)](l)?l+": "+o[e(209)]:o[e(209)]:l+": "+o[e(231)][e(350)](i[e(238)][e(256)],{month:e(306),day:e(255)})+", "+o[e(231)][e(224)](i[e(238)][e(256)],{hour:e(255),minute:e(255)}),await n[e(310)]({name:u}),s[e(205)]=!0,i[e(212)][e(217)](e(283))[e(264)]()}}function Jo(t,e){var i=Ko();return(Jo=function(t,e){return i[t-=301]})(t,e)}function Ko(){var t=["9637992SIZLwX","141UMqQIx","40KQFWTC","1837JVujQk","8842MOyLFu","11932GuWBqA","260FIuGrd","54OuNjOc","3621006GECyGi","5DjTSfU","20220fNsoEn","191871Zznzhl","861602rUlykV"];return(Ko=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(358023===parseInt(e(312))/1*(-parseInt(e(309))/2)+parseInt(e(306))/3*(parseInt(e(310))/4)+-parseInt(e(301))/5*(-parseInt(e(313))/6)+-parseInt(e(304))/7*(parseInt(e(307))/8)+-parseInt(e(303))/9*(parseInt(e(311))/10)+parseInt(e(308))/11*(parseInt(e(302))/12)+parseInt(e(305))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|