@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250315.0 → 0.0.0-nightly-20250316.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.
@@ -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:()=>z,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>rt,RevisionViewer:()=>te,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>Y,RevisionsSidebar:()=>xo});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function N(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M,V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=N(t[n],n,i,s,R);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,N(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(N(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(V=t,ArrayBuffer.isView(V)&&!(V instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=N(t[n],n,i,s,R);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),x(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),x(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),x(e,t,i,s,R),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,x(e,t,i,s,R),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),x(e,t,i,s,R),e}return t}function x(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]=N(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return N(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 x(e,t),e}case u:{const e={};return x(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const M=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function D(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 E(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?E(e)?F(t,D(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}}const j=P;function P(t,e){const i=W();return(P=function(t,e){return i[t-=289]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(846342===parseInt(e(294))/1+parseInt(e(300))/2*(-parseInt(e(315))/3)+parseInt(e(316))/4+parseInt(e(312))/5+-parseInt(e(317))/6*(parseInt(e(306))/7)+parseInt(e(295))/8+parseInt(e(311))/9*(-parseInt(e(289))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[j(298)];[j(291)];[j(296)];[j(292)];[j(305)];[j(293)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(298)]=e[i(298)]||null,this[i(291)]=e[i(291)]||[],this[i(296)]=e[i(296)]||null,this[i(292)]=e[i(292)]||0,this[i(305)]=e[i(305)]||0,this[i(313)](i(314),e[i(314)]||""),this[i(313)](i(307),e[i(307)]||new Date),this[i(313)](i(304),e[i(304)]||{})}[j(301)](t){this[j(309)]({name:t})}[j(308)](t,e){const i=j,s=A(this[i(304)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(309)]({attributes:s})}[j(303)](t){const e=j,i=A(this[e(304)]);(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]&&E(e))return L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(309)]({attributes:i})}[j(309)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(314),i(307),i(296),i(291),i(304),i(292),i(305),i(310)];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(291)]&&(n[i(297)]=n[i(291)][i(299)]((t=>t.id)),delete n[i(291)]),this[i(302)](i(309),n,e))}[j(290)](){const t=j;return{id:this.id,name:this[t(314)],creatorId:this[t(298)]?this[t(298)].id:null,authorsIds:this[t(291)][t(299)]((t=>t.id)),diffData:this[t(296)],createdAt:this[t(307)],attributes:this[t(304)],fromVersion:this[t(305)],toVersion:this[t(292)]}}}function W(){const t=["6astTUQ","30BiptrB","toJSON","authors","toVersion","model","1639765fTZfWK","9101040AFeVBv","diffData","authorsIds","creator","map","1790958PHEymi","setName","fire","removeAttribute","attributes","fromVersion","2326100pNlMef","createdAt","setAttribute","_update","creatorId","8730963bFqFQP","5030250lMoHMj","set","name","3UyRFBu","4803988JtMNWp"];return(W=function(){return t})()}var U=i(782),Z=i(211),H=i(783);const B=q;function q(t,e){const i=$();return(q=function(t,e){return i[t-=198]})(t,e)}function $(){const t=["afterInit","get","addRevision","toJSON","push","later","length","reverse","getRevisions","getUser","1190382okbHbp","pluginName","authorsIds","3869658YNVpqr","fromCharCode","map","fromVersion","getRevisionsInDiff","earlier","data","diffData","attributes","getRevisionsIterator","editor","href","134fzbMZa","newRevisionId","getIndex","createdAt","add","getLaterVisibleRevision","14iNknzs","from","join","name","_revisions","creatorId","isNaN","15tahXDB","getRevision","createRevision","564979CDJCmp","plugins","RevisionsRepository","2399620XzzLBX","requires","oldRevisionId","getEarlierVisibleRevision","toVersion","Users","23685eSLAGg","231670qakNfg","isOfficialPlugin","isPremiumPlugin","75448DmAOBa"];return($=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(324505===parseInt(e(229))/1+parseInt(e(213))/2*(parseInt(e(238))/3)+-parseInt(e(232))/4+parseInt(e(226))/5*(-parseInt(e(198))/6)+parseInt(e(219))/7*(parseInt(e(242))/8)+parseInt(e(201))/9+-parseInt(e(239))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[B(223)];static get[B(233)](){return[Z.Users]}static get[B(199)](){return B(231)}static get[B(240)](){return!0}static get[B(241)](){return!0}get[B(249)](){const t=B;return this[t(223)][t(249)]}constructor(e){const i=B;super(e),this[i(223)]=new t.Collection}[B(243)](){!async function(e){const i=k([66,108,113,84,67,55,76,101,51,71,121,87,70,48,119,52,99,102,56,100,103,82,69,98,107,122,77,74,53,86,120,78,118,81,90,105,110,112,72,85,109,115,97,80,49,65,116,106,75,79,114,89,104,83,54,68,88,57,117,111,50,73]),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(225)](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([66]);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(203)]((t=>String[e(202)](t)))[e(221)]("")}!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:1741996800;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(212)]);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)}[B(228)](t){const e=B,i=this[e(211)][e(230)][e(244)](e(237));return new z({id:t.id,name:t[e(222)],creator:t[e(224)]?i[e(252)](t[e(224)]):null,diffData:t[e(208)]||t[e(207)],authors:t[e(200)][e(203)]((t=>i[e(252)](t))),createdAt:new Date(t[e(216)]),attributes:t[e(209)],fromVersion:t[e(204)],toVersion:t[e(236)]})}[B(245)](t,e=0){const i=B;this[i(223)][i(217)](t,e)}[B(227)](t){const e=B;return this[e(223)][e(244)](t)}[B(251)](t={toJSON:!1}){const e=B,i=Array[e(220)](this[e(223)]);return i[e(250)](),t[e(246)]?i[e(203)]((t=>t[e(246)]())):i}[B(215)](t){const e=B;return this[e(223)][e(215)](t)}[B(235)](t){const e=B,[,i]=this[e(210)](t,{direction:e(206)});return i}[B(218)](t){const e=B,[,i]=this[e(210)](t,{direction:e(248)});return i}[B(205)](t){const e=B,i=[];for(const s of this[e(210)](t[e(214)]))if(i[e(247)](s),s.id===t[e(234)])break;return i}*[B(210)](t,{direction:e=B(206),filter:i=()=>!0}={}){const s=B,n=s(206)===e?1:-1;let r=this[s(223)][s(244)](t),o=this[s(215)](r);for(yield r;r;){if(o+=n,r=this[s(227)](o),!r)return;i(r)&&(yield r)}}}function J(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function G(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return Q(t,e,r,o)}return Q(t,e,r,o)}function Q(t,i,s,N){if(Object.is(t,i))return!0;let x=n(t),R=n(i);if(x===u&&(x=v),R===u&&(R=v),x!==R)return!1;switch(x){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,M;const V=(s=s??new Map).get(t),D=s.get(i);if(null!=V&&null!=D)return V===i;s.set(t,i),s.set(i,t);try{switch(x){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(n,i.get(e),e,t,i,s,N))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>K(o,e,void 0,t,i,s,N)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,N))return!1;return!0;case p:return t.byteLength===i.byteLength&&Q(new Uint8Array(t),new Uint8Array(i),s,N);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&Q(new Uint8Array(t),new Uint8Array(i),s,N);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(Q(t.constructor,i.constructor,s,N)||G(t)&&G(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!K(o,i[r],r,t,i,s,N))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function X(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,X)}const et=it;function it(t,e){const i=st();return(it=function(t,e){return i[t-=364]})(t,e)}function st(){const t=["revisionHistoryLicenseKeyNotAllowed","_licenseKeyCheckInterval","revisionHistoryLicenseKeyExpired","useFillerType","_continueCurrentRevision","1370EUuLUE","toModel","data-revision-","finally","attachChange","stickiness","repository","createPositionFromPath","version","1086560zviNKH","removeRootAttribute","_getViewJson","_handleOperation","_addPendingAction","evaluationLimit","nodes","_diffRootsAttributes","type","insertion","getData","140400EAcude","delete","_handleRootOperation","attributesAfter","_initialRevisionId","getAttributes","dataDowncast","afterInit","getTime","1724679GlAfxV","range","_isPendingUpdate","_isInit","_loadRevisionData","getUser","_handleMarkerOperation","_transformMarkers","dataToMarker","remove","forEach","model","item","reverse","$graveyard","conversion","_processRootBeforeSave","targetPosition","_update","5ejCoNn","diffData","buildRevisionData","$text","string","reinsert","trim","parse","_prepareViewToSave","_removeRevisionMarkers","affectsData","_setConversion","get","reInit","Empty document","stringify","attributes","vid","revision-end","merge","childCount","getAncestors","data","oldRange","getTransformedByOperation","initial","_createInitialRevision","authorsIds","offset","from","changeRootAttribute","getRevisionRootsAttributes","marked","revisionHistoryLicenseKeyInvalid","PENDING_ACTION_REVISION_HISTORY","Initial revision","upcast","position","_markChanges","sourcePosition","userId","sort","_clone","_setAttribute","vid_start","getRevisionDocumentData","setRevisionData","_applyOperations","_createCurrentRevision","toVersion","addRootAttribute","element","fromEntries","getChildren","_showLicenseError","revisionHistoryLicenseKeyUsageLimit","attributesBefore","createRangeIn","_getFromVersion","_handleRootAttributeOperation","_baseRootsAttributes","elementEnd","config","add","_handleMoveOperation","1096444rzfsFW","destroy","getRevision","createPositionAfter","default","revisionHistoryLicenseKeyDomainLimit","insertionPosition","values","_savedMetaData","resolve","createRange","getRevisions","children","offsetSize","end","_diffRoots","Users","getRoot","_lastFrom","markers","featureNotAllowed","fromVersion","history","requires","rootsAttributes","getRootNames","push","revision","shift","nodeAfter","bind","rootName","addRevisionData","elementStart","set","text","path","currentRevision","domainLimit","vid_end","_generateTape","isEqual","addRevision","_loadedStateData","_replaceEditorDataWithRevisionData","PendingActions","revisionHistory.resumeUnsavedRevision","_handleMergeOperation","marker","init","_startingRevisionId","toData","markerToData","deletion","toView","setSource","hasContent","isEnabled","_calculateMetaData","_baseRoots","initialData","revisionHistoryLicenseKeyValid","_removeMetaData","getLatestVersion","_operations","view","isPremiumPlugin","length","_revisionDataBuilder","previousPosition","insert","splitPosition","plugins","RealTimeCollaborationClient","_handleInsertOperation","_loadState","key","define","creatorId","keys","filter","_revisionId","editing","_removePendingAction","getWalker","ready","keepParagraph","includes","authors","_bufferUpdate","_findInsertionIndex","getAttribute","addRoot","getIndex","expired","revision-start","updateRevisions","move","_touched","createdAt","invalid","_baseIdsRoots","max","paragraph","NEGATIVE_INFINITY","loadState","start","adapter","update","root","createRevision","_touchedRoots","name","getOperation","slice","getNodeByPath","documentFragment","source","_startingVersion","_cloneOperation","roots","_bufferedUpdates","clone","usageLimit","_insertChild","3JhsRBD","then","_saveMetaData","_makeIdsRoot","has","revision:","RevisionsRepository","RevisionHistory","_getState","for","createPositionAt","_markers","getMovedRangeStart","8503owjccR","newValue","_pendingAction","_fixRange","processor","tableCell","clear","licenseKey","createPositionBefore","_idsRoots","insertions","creator","split","document","editor","_execute","baseVersion","pluginName","sendBufferedUpdates","_getPreviousFrom","_fixOperation","615918XRMJey","some","getChild","_createFromRanges","map","newRange","_touchedMarkers","getRange","revisionHistoryLicenseKeyEvaluationLimit","_isAttached","editor-initial-data-replaced-with-revision-data","graveyardPosition","RevisionTracker","deletions","collaboration.channelId","locale","_source","saveRevision","_fixPosition","getCurrentRevisionId","getOperations","isOfficialPlugin","_getVidAttributeName","howMany","_handleSplitOperation","revisionHistoryLicenseKeyTrialLimit","_reset","startsWith","isReady","_lastTo","403150BelTwq","_makeRevision","_appendChild","detachRoot","_getBaseVids","parent","_copyMarkers","_authorId","_makeModelFromViewString","21zTbypJ","isAdd","size","isAttached","trialLimit","find"];return(st=function(){return t})()}!function(t){const e=it,i=t();for(;;)try{if(190005===-parseInt(e(505))/1+-parseInt(e(465))/2*(parseInt(e(401))/3)+parseInt(e(598))/4*(parseInt(e(533))/5)+parseInt(e(435))/6*(parseInt(e(474))/7)+-parseInt(e(494))/8+parseInt(e(514))/9+parseInt(e(485))/10*(-parseInt(e(414))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);const nt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class rt extends U.Plugin{[et(421)];[et(481)];[et(383)];[et(635)];[et(491)];[et(666)];[et(451)];[et(509)];[et(397)];[et(416)];[et(484)];[et(394)];[et(641)];static get[et(431)](){return et(447)}static get[et(456)](){return!0}static get[et(664)](){return!0}static get[et(621)](){return[Z.Users,Y,U.PendingActions]}constructor(e){const i=et;super(e),this[i(383)]=null,this[i(635)]=null,this[i(666)]=new at(this[i(428)]),this[i(509)]=this[i(428)][i(595)][i(545)](i(449))||i(558),this[i(397)]=new Map,this[i(641)]=null;const s=(0,t.uid)();this[i(451)]={history:this[i(428)][i(525)][i(427)][i(620)],getLatestVersion:()=>Promise[i(607)](this[i(428)][i(525)][i(427)][i(493)]),getCurrentRevisionId:()=>s},this[i(632)](i(463),!1),this[i(632)](i(655),!0),this[i(632)](i(516),!1),this[i(428)][i(595)][i(675)](i(644),!0),this[i(428)][i(529)][i(410)](i(569))[i(522)]({view:i(625)})}[et(647)](){const t=et;this[t(491)]=this[t(428)][t(670)][t(545)](t(407)),this[t(544)](),this[t(428)][t(555)].on(t(683),(()=>{const e=t,i=this[e(491)][e(600)](0),s=i&&null===i[e(425)]?i:null;if(this[e(484)]=!!s&&this[e(428)][e(595)][e(545)](e(644)),this[e(428)][e(670)][e(405)](e(671))){const t=this[e(451)][e(454)](),n=this[e(491)][e(600)](t);if(n)this[e(394)]=n[e(619)],this[e(484)]=!1;else{const t=this[e(451)][e(620)][e(662)][e(479)]((t=>!t[e(517)])),n=t?t[e(430)]:this[e(451)][e(620)][e(493)];i?(i[e(582)]<n&&i[e(532)]({toVersion:n}),this[e(484)]?(this[e(451)][e(454)]=()=>s.id,this[e(394)]=s[e(619)]):(this[e(394)]=i[e(582)],this[e(484)]=!1)):(this[e(394)]=n,this[e(484)]=!1)}}else s&&(this[e(428)][e(525)][e(427)][e(620)][e(493)]=Math[e(378)](s[e(582)],this[e(428)][e(525)][e(427)][e(620)][e(493)]),s[e(619)]===s[e(582)]?(0!==s[e(619)]&&(this[e(451)][e(454)]=()=>s.id),this[e(484)]=!1):this[e(484)]&&(this[e(451)][e(454)]=()=>s.id,this[e(394)]=s[e(619)])),this[e(484)]||(this[e(394)]=this[e(428)][e(525)][e(427)][e(493)]);this[e(666)][e(647)](this[e(451)][e(620)]),this[e(559)](this[e(394)]),this[e(581)](this[e(394)]),this[e(383)]&&this[e(432)]()})),this[t(628)](t(463)).to(this,t(516),(t=>!t)),this[t(421)]=this[t(428)][t(595)][t(545)](t(421));const e=this[t(428)];this[t(481)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(659)==r||i(566)==r||i(482)==r||i(603)==r||i(480)==r||i(443)==r||i(460)==r||i(588)==r){delete e[n],s=r,clearInterval(this[i(481)]),this[i(481)]=void 0;break}}i(566)==s&&e[i(587)](i(376)),i(482)==s&&e[i(587)](i(370)),i(603)==s&&e[i(587)](i(636)),i(480)==s&&e[i(587)](i(618),i(408)),i(443)==s&&e[i(587)](i(499)),i(460)==s&&e[i(587)](i(478)),i(588)==s&&e[i(587)](i(399))}),1e3)}async[et(512)](){const t=et;if(this[t(491)][t(665)]>0){const e=this[t(491)][t(600)](0),i=await this[t(578)](e),s=await this[t(564)](e);this[t(642)](i,s)}}[et(599)](){const t=et;super[t(599)](),this[t(481)]&&clearInterval(this[t(481)])}[et(653)](t){this[et(451)]=t}async[et(384)](){const t=et,e=await this[t(451)][t(661)]();if(e>this[t(635)][t(582)]){await this[t(673)]();const i=this[t(535)]({revision:this[t(635)],to:e});i[t(364)]=i[t(560)][t(439)]((e=>this[t(428)][t(670)][t(545)](t(614))[t(519)](e))),this[t(635)][t(532)](i)}}async[et(673)](){const t=et;this[t(484)]&&!this[t(641)]&&(await this[t(518)](this[t(635)]),this[t(666)][t(381)](this[t(635)]),this[t(641)]={fromVersion:this[t(635)][t(619)],authors:this[t(635)][t(364)][t(390)]()})}async[et(452)](e={},i=null){const s=et,n=[];await this[s(673)](),this[s(484)]=!1,i>this[s(635)][s(582)]&&(i=null),null===i&&(i=await this[s(451)][s(661)]());const r=this[s(591)](i),o=this[s(535)]({from:r,to:i});if(this[s(635)][s(582)]<i){const t=this[s(535)]({revision:this[s(635)],from:i,to:i});t[s(364)]=[],t[s(560)]=[],t.id=this[s(635)].id,this[s(635)][s(532)](t,!0),delete t[s(364)],n[s(624)](t)}e[s(676)]=this[s(428)][s(670)][s(545)](s(614)).me.id,e[s(388)]=e[s(388)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(630)](e);n[s(624)](e);const c=this[s(491)][s(369)](a);if(0!==c){const t=this[s(491)][s(600)](c-1);if(t[s(619)]!==i){const r=this[s(666)][s(504)](i,t[s(582)]),o={id:t.id,diffData:r[s(534)],authorsIds:r[s(560)],authors:r[s(560)][s(439)]((t=>this[s(428)][s(670)][s(545)](s(614))[s(519)](t))),fromVersion:i};t===this[s(635)]&&(o[s(375)]=new Date(e[s(375)][s(513)]()+10)),t[s(532)](o,!0),delete o[s(364)],n[s(624)](o)}}if(this[s(383)]){for(const t of n)this[s(365)](t.id,t,!0);this[s(432)]()}return a}[et(630)](t){const e=et,i=this[e(491)][e(386)](t);return this[e(383)]&&i.on(e(532),((t,i,s)=>{const n=e;s||(this[n(365)](i.id,i,!0),this[n(432)]())})),this[e(491)][e(640)](i,this[e(366)](i)),i}async[et(578)](t){const e=et;await this[e(518)](t);const i={};for(const s in t[e(534)]){if(t[e(534)][s][e(489)]&&!t[e(534)][s][e(489)][e(477)])continue;const n=this[e(542)](JSON[e(540)](t[e(534)][s][e(424)])),r=this[e(428)][e(680)][e(663)][e(427)],o=new H.ViewDocumentFragment(r,n[e(439)]((t=>ot(t,this[e(428)]))));this[e(428)][e(555)][e(418)][e(483)](e(565)),i[s]=this[e(428)][e(555)][e(418)][e(649)](o),this[e(428)][e(555)][e(418)][e(483)](e(602))}return i}async[et(564)](t){const e=et;await this[e(518)](t);const i={};for(const s in t[e(534)])t[e(534)][s][e(489)]&&!t[e(534)][s][e(489)][e(477)]||(i[s]=t[e(534)][s][e(508)]||{});return i}[et(432)](){const t=et;if(0===this[t(397)][t(476)])return;if(this[t(516)])return;let e=Array[t(562)](this[t(397)][t(605)]());this[t(397)][t(420)]();for(let i=0;i<e[t(665)];i++){const s=e[i];let n=!1;for(const e of Object[t(677)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(678)]((t=>null!==t)),!e[t(665)])return;for(let i=0;i<e[t(665)];i++){const s=e[i];void 0!==s[t(619)]&&void 0===s[t(582)]&&(s[t(582)]=this[t(491)][t(600)](s.id)[t(582)]),void 0!==s[t(582)]&&void 0===s[t(619)]&&(s[t(619)]=this[t(491)][t(600)](s.id)[t(619)])}const i=this[t(428)][t(595)][t(545)](t(449));this[t(516)]=!0,this[t(498)](),this[t(383)][t(372)](e,i)[t(488)]((()=>{this[t(516)]=!1}))[t(402)]((e=>{const i=t;if(e)for(const t of e)this[i(579)]({id:t.id,createdAt:t[i(375)]});this[i(681)](),this[i(432)]()}))}[et(642)](e,i){const s=et;let n=this[s(428)][s(595)][s(545)](s(658)),r=this[s(428)][s(595)][s(545)](s(622));if(void 0===n){n={};for(const t of this[s(428)][s(525)][s(427)][s(623)]())n[t]=""}if(s(537)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(428)][s(525)][s(427)][s(623)]())r[t]={}}let o=!1;const a=Object[s(677)](n),c=Object[s(677)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(539)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(677)](r[t])[s(665)]>0){o=!0;break}}o||(o=c[s(436)]((t=>!this[s(428)][s(525)][s(427)][s(615)](t)))),o&&(0,t.logWarning)(s(445),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(428)][s(595)][s(632)](s(658),e),this[s(428)][s(595)][s(632)](s(622),i)}[et(498)](){const t=et;if(!this[t(416)]){const e=this[t(428)][t(670)][t(545)](t(643));this[t(416)]=e[t(596)](J(this[t(428)][t(450)],t(567)))}}[et(681)](){const t=et;this[t(416)]&&(this[t(428)][t(670)][t(545)](t(643))[t(523)](this[t(416)]),this[t(416)]=null)}[et(366)](t){const e=et,i=this[e(491)][e(609)]();i[e(527)]();let s=0;for(;s<i[e(665)];){const n=i[s];if(n===this[e(635)]){s++;continue}if(n.id===this[e(509)])break;const r=t[e(582)]-n[e(582)]||t[e(619)]-n[e(619)];if(r>0)break;if(r<0)s++;else{if(!t[e(425)]&&n[e(425)])break;if(n[e(425)]||!t[e(425)]){if(t[e(375)]>n[e(375)])break;s++}else s++}}return s}[et(579)](t){const e=et,i=this[e(491)][e(600)](t.id);if(t[e(375)]&&(t[e(375)]=new Date(t[e(375)])),t[e(560)]){const i=this[e(428)][e(670)][e(545)](e(614));t[e(364)]=t[e(560)][e(439)]((t=>i[e(519)](t)))}i[e(532)](t,!0)}[et(535)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(619)],i=null!==i?i:t[s(582)];const n=this[s(666)][s(504)](e,i),r={diffData:n[s(534)],authorsIds:n[s(560)],fromVersion:e,toVersion:i};if(!t||i!==t[s(582)]){const t=i-1,e=this[s(451)][s(620)][s(389)](t);r[s(375)]=e&&e[s(375)]||new Date}if(this[s(641)]&&e===this[s(641)][s(619)])for(const t of this[s(641)][s(364)])r[s(560)][s(685)](t.id)||r[s(560)][s(624)](t.id);return r}[et(518)](t){const e=et;if(!t||t[e(534)])return Promise[e(607)]();{const i=this[e(428)][e(595)][e(545)](e(449));return this[e(383)][e(600)]({channelId:i,revisionId:t.id})[e(402)]((i=>{const s=e;t[s(534)]=i[s(534)]}))}}[et(365)](t,e,i){const s=et;if(this[s(397)][s(405)](t)){const n=this[s(397)][s(545)](t);e=i?{...n,...e}:{...e,...n}}this[s(397)][s(632)](t,e)}[et(591)](t){const e=et,i=this[e(491)][e(609)]();i[e(527)](),i[e(626)]();const s=i[e(479)]((i=>i[e(582)]<=t))[e(582)];return s<this[e(394)]?this[e(394)]:s}[et(559)](t){const e=et,i=this[e(491)][e(600)](this[e(491)][e(665)]-1);if(i)this[e(509)]=i.id;else{const i=!this[e(428)][e(525)][e(427)][e(396)][e(479)]((t=>this[e(428)][e(525)][e(654)](t))),s=this[e(428)][e(670)][e(545)](e(614)).me.id,n=J(this[e(428)][e(450)],e(i?547:568));this[e(466)]({from:t,to:t,id:this[e(509)],name:n,creatorId:s})}}[et(581)](t){const e=et,i=this[e(451)][e(454)]();this[e(635)]=this[e(491)][e(600)](i),this[e(635)]||(this[e(635)]=this[e(466)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(466)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(535)]({from:e,to:i});o[r(388)]=t,o[r(676)]=s,o.id=n;const a=this[r(630)](o);return this[r(383)]&&this[r(365)](o.id,o,!0),a}[et(544)](){const t=et;this[t(428)][t(529)][t(410)](t(511))[t(650)]({model:t(625)})}[et(542)](t){const e=et;return(t=t[e(678)]((t=>!t[e(388)]||e(371)!==t[e(388)]&&e(551)!==t[e(388)])))[e(524)]((t=>{const i=e;i(537)!=typeof t&&(t[i(610)]=this[i(542)](t[i(610)]),t[i(549)]=t[i(549)][i(678)]((t=>!t[0][i(462)](i(487)))))})),t}}function ot(t,e){const i=et,s=e[i(680)][i(663)][i(427)];if(i(537)==typeof t)return new H.ViewText(s,t);{const n=t[i(610)][i(439)]((t=>ot(t,e)));return new(nt[t[i(502)]]||H.ViewElement)(s,t[i(388)],t[i(549)],n)}}class at{[et(428)];[et(393)];[et(606)];[et(616)];[et(464)];[et(412)];[et(613)];[et(501)];[et(657)];[et(593)];[et(423)];[et(377)];[et(374)];[et(441)];[et(387)];[et(679)];[et(648)];constructor(t){const e=et;this[e(428)]=t,this[e(606)]=new Map,this[e(616)]=-1,this[e(464)]=-1,this[e(412)]=new Map,this[e(613)]=new Map,this[e(501)]=new Map,this[e(657)]=new Map,this[e(593)]=new Map,this[e(423)]=new Map,this[e(377)]=new Map,this[e(374)]=new Map,this[e(441)]=new Map,this[e(387)]=new Map,this[e(679)]=1}[et(647)](t){const e=et;this[e(393)]=t;const i=new Map,s=new Map,n=this[e(428)][e(525)][e(427)][e(396)][e(439)]((t=>t[e(629)]));for(const t of n){const n=this[e(428)][e(525)][e(427)][e(615)](t),r=ct(n);i[e(632)](t,r),s[e(632)](t,Object[e(585)](n[e(510)]()))}const r=Array[e(562)](this[e(428)][e(525)][e(617)])[e(439)]((t=>[t[e(388)],t[e(442)]()])),o=this[e(393)][e(493)];this[e(403)](o,i,r,s),this[e(648)]=this[e(679)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(632)](t,i),c[e(632)](t,{})}this[e(403)](Number[e(380)],a,[],c)}[et(504)](t,e){const i=et;if(this[i(616)]===t&&this[i(464)]<=e)this[i(606)][i(476)]>1&&this[i(660)](this[i(464)]),this[i(580)](this[i(464)],e,!0);else{if(!this[i(606)][i(405)](t)){const e=this[i(433)](t);this[i(656)](e,t,!1)}this[i(656)](t,e,!0)}return this[i(616)]=t,this[i(464)]=e,this[i(409)]()}[et(381)](t){const e=et;this[e(461)](),this[e(616)]=t[e(619)],this[e(464)]=t[e(582)];for(const i in t[e(534)]){const s=t[e(534)][i][e(489)],n=A(t[e(534)][i][e(589)])||{},r=this[e(473)](t[e(534)][i][e(448)]);r[e(629)]=i,r[e(444)]=!s||!s[e(477)],r[e(477)]=()=>r[e(444)],this[e(657)][e(632)](i,r),this[e(593)][e(632)](i,n),s&&this[e(387)][e(632)](i,s);const o=this[e(404)](r);this[e(377)][e(632)](i,o);for(const[t,i]of r[e(617)]){if(!t[e(462)](e(406)))continue;const s=t[e(426)](":")[2];for(const t of i[e(682)]({singleCharacters:!0})){const i=this[e(457)](t),n=e(594)==t[e(502)]?t[e(667)][e(634)][e(390)](0,-1):t[e(667)][e(634)],r=o[e(391)](n)[e(367)](i);this[e(374)][e(632)](r,{userId:s})}}}this[e(648)]=this[e(679)];const i=[...Array(this[e(679)])[e(677)]()][e(390)](1)[e(678)]((t=>!this[e(374)][e(405)](t)));let s=0;const n=new Map;for(const r in t[e(534)]){const o=t[e(534)][r][e(489)],a=A(t[e(534)][r][e(508)])||{},c=this[e(473)](t[e(534)][r][e(424)]);c[e(629)]=r,c[e(444)]=!o||o[e(477)],c[e(477)]=()=>c[e(444)],this[e(613)][e(632)](r,c),this[e(501)][e(632)](r,a);const u=this[e(404)](c,Number[e(380)]);this[e(423)][e(632)](r,u),n[e(632)](r,c[e(477)]()?a:{});for(const[t,i]of c[e(617)]){if(!t[e(462)](e(406)))continue;const s=t[e(426)](":")[2];for(const t of i[e(682)]({singleCharacters:!0})){const i=this[e(457)](t),n=this[e(679)]++,r=e(594)==t[e(502)]?t[e(667)][e(634)][e(390)](0,-1):t[e(667)][e(634)];u[e(391)](r)[e(576)](i,n),this[e(374)][e(632)](n,{userId:s})}}for(const t of this[e(428)][e(525)][e(590)](c)[e(682)]({singleCharacters:!0})){const n=this[e(457)](t),r=e(594)==t[e(502)]?t[e(667)][e(634)][e(390)](0,-1):t[e(667)][e(634)],o=u[e(391)](r);o[e(367)](n)>0||o[e(576)](n,i[s++])}for(const[t,i]of c[e(617)])t[e(462)](e(406))||this[e(412)][e(632)](t,i)}const r=ut(e(528));this[e(657)][e(632)](e(528),r),this[e(377)][e(632)](e(528),this[e(404)](r,1));const o=ut(e(528));this[e(613)][e(632)](e(528),o),this[e(423)][e(632)](e(528),this[e(404)](o,1));const a=Array[e(562)](this[e(613)])[e(439)]((([t,e])=>[t,ct(e)]));this[e(403)](this[e(464)],a,this[e(412)],n)}[et(473)](t){const e=et,i=JSON[e(540)](t),s=this[e(428)][e(680)][e(663)][e(427)],n=new H.ViewDocumentFragment(s,i[e(439)]((t=>ot(t,this[e(428)]))));return this[e(428)][e(555)][e(486)](n)}[et(403)](t,e,i,s){const n=et,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(632)](t,{start:e[n(382)][n(398)](),end:e[n(612)][n(398)](),rootName:e[n(385)][n(629)]});this[n(606)][n(632)](t,{roots:r,markers:a,rootsAttributes:o})}[et(660)](t){const e=et;this[e(606)][e(506)](t)}[et(546)](){const t=et;this[t(461)](),this[t(616)]=-1,this[t(464)]=-1,this[t(606)][t(420)](),this[t(647)](this[t(393)])}[et(461)](){const t=et;this[t(374)][t(420)](),this[t(441)][t(420)](),this[t(387)][t(420)](),this[t(613)][t(420)](),this[t(501)][t(420)](),this[t(657)][t(420)](),this[t(593)][t(420)](),this[t(423)][t(420)](),this[t(377)][t(420)](),this[t(412)][t(420)](),this[t(679)]=1,this[t(648)]=this[t(679)]}[et(404)](t,e=null){const i=et;let s=null;t.is(i(392))||(s=new H.Element(t[i(388)],{vid_start:null===e?this[i(679)]++:e++}));const n=[];for(const s of t[i(586)]())if(s.is(i(584))){n[i(624)](this[i(404)](s,e));const t=n[n[i(665)]-1];null!==e&&(e=t.is(i(584),i(536))?t[i(367)](i(550))+1:t[i(367)](i(637))+1)}else for(let t=0;t<s[i(611)];t++)n[i(624)](new H.Element(i(536),{vid:null===e?this[i(679)]++:e++}));if(t.is(i(392))){const e=ut(t[i(629)]);return e[i(400)](0,n),e}return s[i(576)](i(637),null===e?this[i(679)]++:e++),s[i(400)](0,n),s}[et(656)](t,e,i){const s=et;this[s(461)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(606)][s(545)](t);this[s(657)]=new Map(n),this[s(593)]=new Map(A(o));for(const[t,e]of this[s(657)])if(s(528)!==t&&(this[s(613)][s(632)](t,ct(e)),this[s(501)]=new Map(A(o)),i)){const i=this[s(679)];this[s(423)][s(632)](t,this[s(404)](e)),this[s(377)][s(632)](t,this[s(404)](e,i))}this[s(648)]=this[s(679)],this[s(613)][s(632)](s(528),ct(this[s(657)][s(545)](s(528)))),i&&this[s(423)][s(632)](s(528),this[s(404)](this[s(657)][s(545)](s(528))));for(const[t,e]of r){const i=this[s(657)][s(545)](e[s(629)]),n=this[s(613)][s(545)](e[s(629)]),r=new H.Range(this[s(453)](e[s(382)],i),this[s(453)](e[s(612)],i)),o=this[s(417)](r,n);i[s(617)][s(632)](t,r),this[s(412)][s(632)](t,o)}this[s(580)](t,e,i)}[et(580)](t,e,i){const s=et;for(const n of this[s(393)][s(455)](t,e))this[s(497)](n,i);for(const t of this[s(613)][s(605)]())t[s(617)][s(420)]();for(const[t,e]of this[s(412)])this[s(613)][s(545)](e[s(385)][s(629)])[s(617)][s(632)](t,e[s(398)]());const n=new Map,r=new Map;for(const[t,e]of this[s(613)])n[s(632)](t,ct(e)),r[s(632)](t,this[s(501)][s(545)](t));this[s(403)](e,n,this[s(412)],r)}[et(433)](t){const e=et,i=Array[e(562)](this[e(606)][e(677)]());i[e(574)](((t,e)=>t-e)),i[e(527)]();for(const e of i)if(e<t)return e;return Number[e(380)]}[et(471)](t,e){const i=et,s=Array[i(562)](e[i(617)])[i(439)]((([e,s])=>[e,this[i(417)](s,t)]));t[i(617)]=new Map(s)}[et(521)](t){const e=et;for(const i of this[e(412)][e(605)]()){const s=i[e(557)](t),n=H.Range[e(438)](s);i[e(382)]=n[e(382)],i[e(612)]=n[e(612)]}}[et(497)](t,e){const i=et;if(i(368)!=t[i(502)]&&i(468)!=t[i(502)]){if(i(668)==t[i(502)]){const s=t[i(570)][i(385)][i(629)];this[i(613)][i(405)](s)||(this[i(613)][i(632)](s,ut(s,!0)),this[i(501)][i(632)](s,{}),e&&this[i(423)][i(632)](s,ut(s,!0)))}else{if(i(583)==t[i(502)]||i(495)==t[i(502)]||i(563)==t[i(502)])return void this[i(592)](t);i(646)==t[i(502)]&&this[i(520)](t)}if(i(646)!==t[i(502)]){const e=this[i(395)](t,this[i(613)]);e[i(429)](),this[i(521)](e)}if(e)switch(t[i(502)]){case i(668):this[i(672)](t);break;case i(373):case i(523):case i(538):this[i(597)](t);break;case i(552):this[i(645)](t);break;case i(426):this[i(459)](t)}}else this[i(507)](t,e)}[et(395)](t,e){const i=et,s=t[i(398)]();return s[i(472)]=t[i(472)],this[i(434)](s,e),s}[et(469)](t){const e=et;return t[e(439)]((t=>{const i=e,s=this[i(457)](t);return Number(t[i(526)][i(367)](s))}))}[et(638)](t,e){const i=et;if(t.is(i(584),i(536)))e[i(624)]({item:t,type:i(633)});else{t.is(i(584))&&e[i(624)]({item:t,type:i(631)});for(const s of t[i(586)]())this[i(638)](s,e);t.is(i(584))&&e[i(624)]({item:t,type:i(594)})}return e}[et(409)](){const t=et,e=new Map(this[t(374)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(657)][t(677)](),...this[t(613)][t(677)]()]);a[t(506)](t(528));for(const e of a){const i=this[t(613)][t(545)](e)||ut(e,!1),s=this[t(657)][t(545)](e)||ut(e,!1);i[t(477)]()||s[t(477)]()?(n[t(424)][e]=ct(i),n[t(448)][e]=ct(s),this[t(471)](n[t(448)][e],s),this[t(471)](n[t(424)][e],i),r[t(424)][e]=this[t(638)](this[t(423)][t(545)](e),[]),r[t(448)][e]=this[t(638)](this[t(377)][t(545)](e)||ut(e,!1),[])):a[t(506)](e)}for(const n of a){const o=r[t(424)][n];for(const n of o){const r=this[t(457)](n),o=n[t(526)][t(367)](r);i[t(506)](o),o>=this[t(648)]&&s[t(632)](o,e[t(545)](o))}}for(const n of a){const a=r[t(424)][n],c=this[t(469)](r[t(448)][n]);let u=0;for(const n of a){const r=this[t(457)](n),a=n[t(526)][t(367)](r);if(!s[t(405)](a)&&!o[t(405)](a))if(i[t(405)](a))u++;else{if(a!=c[u]){const s=e[t(545)](a)||e[t(545)](c[u]);for(;a!=c[u];)i[t(405)](c[u])||(o[t(632)](c[u],s),e[t(632)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(424)][e];for(const e of n){const n=this[t(457)](e),r=e[t(526)][t(367)](n);if(o[t(405)](r)){const e=o[t(545)](r);i[t(405)](r)||i[t(632)](r,{...e}),s[t(632)](r,{...e})}}}for(const e of i[t(677)]())e>=this[t(648)]&&i[t(506)](e);const c=new Map;for(const e of a){let n=r[t(424)][e];for(const e of n)if(e[t(526)].is(t(584),t(419))){const i=this[t(457)](e),n=e[t(526)][t(367)](i);if(s[t(405)](n)){const i=e[t(526)][t(470)][t(470)][t(367)](t(577)),r=c[t(545)](i)||new Set;r[t(596)](s[t(545)](n)[t(573)]),c[t(632)](i,r)}}n=r[t(448)][e];for(const e of n)if(e[t(526)].is(t(584),t(419))){const s=this[t(457)](e),n=e[t(526)][t(367)](s);if(i[t(405)](n)){const s=e[t(526)][t(470)][t(470)][t(367)](t(577)),r=c[t(545)](s)||new Set;r[t(596)](i[t(545)](n)[t(573)]),c[t(632)](s,r)}}for(const e of c[t(677)]())(s[t(405)](e)||i[t(405)](e))&&c[t(506)](e)}for(const e of a){const n=r[t(424)][e];let o=null,a=null;for(const e of n){const n=this[t(457)](e),r=e[t(526)][t(367)](n),u=c[t(545)](r);u&&t(631)==e[t(502)]&&(o=Array[t(562)](u)[0],a=e[t(526)][t(367)](t(637))),o&&(i[t(632)](r,{userId:o}),s[t(632)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(448)][e],a=n[t(424)][e];for(const{userId:e}of this[t(441)][t(605)]())null!==e&&l[t(596)](e);for(const{userId:e}of this[t(387)][t(605)]())null!==e&&l[t(596)](e);this[t(571)](a,r[t(424)][e],s,t(503),l),this[t(571)](o,r[t(448)][e],i,t(651),l),u[e]={insertions:this[t(541)](a),deletions:this[t(541)](o),attachChange:this[t(387)][t(545)](e)||null,attributesBefore:A(this[t(593)][t(545)](e))||{},attributesAfter:A(this[t(501)][t(545)](e))}}return{diffData:u,authorsIds:Array[t(562)](l)}}[et(530)](t){const e=et;for(const[,i]of t[e(617)]){const t=i[e(382)][e(554)]()[e(678)]((t=>e(419)==t[e(388)]));for(const i of t)1==i[e(553)]&&i[e(437)](0).is(e(584),e(379))&&i[e(437)](0)[e(576)](e(684),!0)}}[et(541)](t){const e=et;this[e(530)](t);const i=this[e(428)][e(555)][e(652)](t,{}),s=Array[e(562)](i[e(586)]())[e(439)]((t=>this[e(496)](t)));return JSON[e(548)](s)}[et(496)](t){const e=et;if(t.is(e(536)))return t[e(555)];{const i=t;return{type:Object[e(677)](nt)[e(479)]((e=>t instanceof nt[e])),name:i[e(388)],attributes:Array[e(562)](i[e(510)]()),children:Array[e(562)](i[e(586)]())[e(439)]((t=>this[e(496)](t)))}}}[et(571)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(428)][r(525)];for(let s=0;s<e[r(665)];s++){const n=this[r(457)](e[s]),c=e[s][r(526)][r(367)](n),h=i[r(545)](c),d=s==e[r(665)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(573)]!=o[r(573)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(573)],d=l(406)+s+":"+h+":"+c++,f=u[l(608)](i,a);t[l(617)][l(632)](d,f),null!==h&&n[l(596)](h)}}[et(457)](t){const e=et;switch(t[e(502)]){case e(631):return e(577);case e(594):return e(637);default:return e(550)}}[et(434)](t,e){const i=et;t[i(430)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(545)](n[i(385)][i(629)]);t[s]=this[i(453)](n,r)}if(n instanceof H.Range){const r=e[i(545)](n[i(385)][i(629)]);t[s]=this[i(417)](n,r)}i(385)===s&&(t[i(385)]=e[i(545)](t[i(385)][i(629)]))}}[et(417)](t,e){const i=et;return this[i(428)][i(525)][i(608)](this[i(453)](t[i(382)],e),this[i(453)](t[i(612)],e))}[et(453)](t,e){const i=et;return this[i(428)][i(525)][i(492)](e,t[i(634)],t[i(490)])}[et(672)](t){const e=et,i=this[e(423)][e(545)](t[e(570)][e(385)][e(629)]),s=this[e(453)](t[e(570)],i),n=null===t[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,r=s[e(470)],o=this[e(679)],a=[];for(const i of t[e(500)])if(i.is(e(584)))a[e(624)](this[e(404)](i));else for(let t=0;t<i[e(611)];t++)a[e(624)](new H.Element(e(536),{vid:this[e(679)]++}));const c=this[e(679)];for(let t=o;t<c;t++)this[e(374)][e(632)](t,{userId:n});r[e(400)](s[e(561)],a)}[et(597)](t){const e=et;(t=this[e(395)](t,this[e(423)]))[e(429)]();const i=null===t[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,s=t[e(413)](),n=s[e(470)],r=s[e(561)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(437)](e);r.is(a(584),a(536))?s[a(632)](r[a(367)](a(550)),{userId:i}):(s[a(632)](r[a(367)](a(577)),{userId:i}),t(s,r,0,r[a(553)]),s[a(632)](r[a(367)](a(637)),{userId:i}))}}(this[e(374)],n,r,r+t[e(458)])}[et(645)](t){const e=et,i=null===(t=this[e(395)](t,this[e(423)]))[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,s=t[e(531)][e(470)],n=t[e(572)][e(470)],r=s[e(367)](e(637)),o=n[e(367)](e(577));s[e(576)](e(637),n[e(367)](e(637))),n[e(576)](e(637),r),this[e(374)][e(632)](o,{userId:i}),this[e(374)][e(632)](r,{userId:i}),t[e(429)]()}[et(459)](t){const e=et,i=null===(t=this[e(395)](t,this[e(423)]))[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,s=t[e(446)],n=t[e(669)][e(470)];t[e(429)]();const r=n[e(367)](e(637)),o=t[e(604)][e(627)];if(s){const t=o[e(367)](e(637)),s=n[e(367)](e(637));n[e(576)](e(637),t),o[e(576)](e(637),s),this[e(374)][e(632)](n[e(367)](e(637)),{userId:i}),this[e(374)][e(632)](o[e(367)](e(577)),{userId:i})}else{const t=this[e(679)]++,s=this[e(679)]++;n[e(576)](e(637),t),o[e(576)](e(577),s),o[e(576)](e(637),r),this[e(374)][e(632)](t,{userId:i}),this[e(374)][e(632)](s,{userId:i})}}[et(520)](t){const e=et;if(!t[e(543)])return;const i=(t=this[e(395)](t,this[e(613)]))[e(556)]?t[e(556)][e(385)]:null,s=t[e(440)]?t[e(440)][e(385)]:null;i&&this[e(412)][e(506)](t[e(388)]),s&&this[e(412)][e(632)](t[e(388)],t[e(440)][e(398)]());const n=null===t[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,r=t[e(388)];if(!this[e(441)][e(405)](r))return void this[e(441)][e(632)](r,{range:t[e(556)],userId:n});const o=this[e(441)][e(545)](r),a=o[e(515)],c=t[e(440)];null==a&&null==c||a&&c&&a[e(639)](c)?this[e(441)][e(506)](t[e(388)]):o[e(573)]=n}[et(507)](t,e){const i=et;this[i(613)][i(405)](t[i(629)])?this[i(613)][i(545)](t[i(629)])[i(444)]=t[i(475)]:(this[i(613)][i(632)](t[i(629)],ut(t[i(629)],!0)),this[i(501)][i(632)](t[i(629)],{}),e&&this[i(423)][i(632)](t[i(629)],ut(t[i(629)],!0)));const s=null===t[i(472)]?null:t[i(472)]||this[i(428)][i(670)][i(545)](i(614)).me.id,n=this[i(387)][i(545)](t[i(629)]);n&&n[i(573)]===s?this[i(387)][i(506)](t[i(629)]):this[i(387)][i(632)](t[i(629)],{userId:s,isAttached:t[i(475)]})}[et(592)](t){const e=et,i=this[e(501)][e(545)](t[e(385)][e(629)]);null===t[e(415)]?delete i[t[e(674)]]:i[t[e(674)]]=t[e(415)]}}function ct(t){const e=et,i=ut(t[e(629)],t[e(477)]());for(const s of t[e(586)]()){const t=s[e(575)](!0);i[e(467)](t)}return i}function ut(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(629)]=t,s[i(444)]=e,s[i(477)]=()=>s[i(444)],s}function lt(t,e,i){const s=et,n=s(594)==t[s(502)]?i[s(411)](t[s(526)],s(612)):i[s(422)](t[s(526)]);return i[s(492)](e,n[s(634)],n[s(490)])}function ht(t,e,i){const s=et,n=s(631)==t[s(502)]?i[s(411)](t[s(526)],0):i[s(601)](t[s(526)]);return i[s(492)](e,n[s(634)],n[s(490)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var Tt=i(959),Nt={attributes:{"data-cke":!0}};Nt.setAttributes=wt(),Nt.insert=kt().bind(null,"head"),Nt.domAPI=gt(),Nt.insertStyleElement=It();pt()(Tt.A,Nt);Tt.A&&Tt.A.locals&&Tt.A.locals;const xt=At;function Rt(){const t=["revisionNameInputValue","8xdLtcH","553905pERagr","revisionNameInputView","103384QyIRAd","set","errorText","reset","input","locale","220","915NviSfU","revisionName","_createRevisionNameInput","Name of the revision","trim","listenTo","24094560PjDHAq","keystrokes","1991808rJLBAV","arrowup","stopPropagation","1773744WfpXsg","value","18ZZdTDz","focus","add","4694535TAOVIo","element","render","ck-revision-history-save-revision-form","optional","arrowleft","focusTracker","label","fieldView","ck-responsive-form","arrowright","form","arrowdown","setTemplate","26436uOQZhO","extendTemplate"];return(Rt=function(){return t})()}function At(t,e){const i=Rt();return(At=function(t,e){return i[t-=370]})(t,e)}!function(t){const e=At,i=t();for(;;)try{if(494614===parseInt(e(384))/1*(-parseInt(e(404))/2)+parseInt(e(382))/3+parseInt(e(402))/4+-parseInt(e(391))/5*(parseInt(e(378))/6)+-parseInt(e(399))/7+-parseInt(e(381))/8*(parseInt(e(407))/9)+parseInt(e(397))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rt);class Mt extends ft.View{[xt(370)];[xt(398)];[xt(383)];constructor(e,i){const s=xt;super(e),this[s(370)]=new t.FocusTracker,this[s(398)]=new t.KeystrokeHandler,this[s(385)](s(380),""),this[s(383)]=this[s(393)](i),this[s(377)]({tag:s(375),attributes:{class:["ck",s(410),s(373)],tabindex:"-1"},children:[this[s(383)]]}),(0,ft.injectCssTransitionDisabler)(this)}[xt(409)](){const t=xt;super[t(409)](),(0,ft.submitHandler)({view:this}),this[t(370)][t(406)](this[t(383)][t(408)]),this[t(398)][t(396)](this[t(408)]);const e=e=>e[t(401)]();this[t(398)][t(385)](t(374),e),this[t(398)][t(385)](t(412),e),this[t(398)][t(385)](t(400),e),this[t(398)][t(385)](t(376),e)}[xt(405)](){const t=xt;this[t(383)][t(405)]()}get[xt(392)](){const t=xt;return this[t(383)][t(372)][t(408)][t(403)][t(395)]()}set[xt(392)](t){const e=xt;this[e(383)][e(372)][e(408)][e(403)]=t[e(395)]()}[xt(387)](){const t=xt;this[t(383)][t(372)][t(408)][t(403)]="",this[t(383)][t(386)]=null}[xt(393)](t){const e=xt,i=new ft.LabeledFieldView(this[e(389)],ft.createLabeledInputText),s=i[e(372)];s[e(379)]({attributes:{maxlength:e(390)}});let n=J(this[e(389)],e(394));return!t&&(n+=" ("+J(this[e(389)],e(411))+")"),i[e(371)]=n,s.on(e(388),(()=>{const t=e;this[t(380)]=s[t(408)][t(403)][t(395)]()})),i}}function Vt(){const t=["editor","panelView","revisionName","role","revisionHistory","16034LCSYDs","editing","747252VEFHiY","75852MZFezL","show","isEnabled","menu","execute","menuBar:revisionHistory","errorText","delegate","1456746BHYnwI","Cancel","326015Wadrth","init","isOfficialPlugin","isPremiumPlugin","add","render","RevisionHistoryUI","addMany","The revision name cannot be empty.","saveRevision","_saveRevisionFormView","requires","isReady","ck-button-action","buttonView","showRevisionViewerCallback","RevisionTracker","22OwpOCk","items","3482328LTBdxW","reset","locale","set","hide","revisionSave","plugins","pluginName","Revision history","revisionNameInputView","1007958RavAxW","view","children","menuitem","focus","Accept","config","Open revision history","isOpen","Save current revision","isReadOnly","get","bind","Dialog","submit","_createSaveRevisionFormView","_showDialog","revisionHistory.requireRevisionName","componentFactory","_registerMenuComponent"];return(Vt=function(){return t})()}const Dt=Et;function Et(t,e){const i=Vt();return(Et=function(t,e){return i[t-=265]})(t,e)}!function(t){const e=Et,i=t();for(;;)try{if(187414===-parseInt(e(308))/1*(-parseInt(e(271))/2)+parseInt(e(283))/3+-parseInt(e(310))/4+parseInt(e(321))/5+parseInt(e(319))/6+-parseInt(e(311))/7+-parseInt(e(273))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Ct extends U.Plugin{static get[Dt(280)](){return Dt(327)}static get[Dt(323)](){return!0}static get[Dt(324)](){return!0}static get[Dt(265)](){return[rt]}[Dt(331)];[Dt(322)](){const t=Dt,e=this[t(303)],i=e[t(279)][t(294)](t(270));e.ui[t(301)][t(325)](t(307),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(304)][n(285)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(295)](n(313)).to(i,n(266),i,n(313),e,n(293),((t,e,i)=>t&&e&&!i)),r[n(268)][n(276)]({icon:dt.IconHistory,label:J(s,n(281)),tooltip:!0}),u[n(276)]({label:J(s,n(292)),withText:!0,role:n(286)}),u[n(295)](n(313)).to(i,n(266),i,n(313),e,n(293),((t,e,i)=>t&&e&&!i)),u.on(n(315),(()=>this[n(299)]())),h[n(276)]({label:J(s,n(290)),withText:!0,role:n(286)}),h[n(295)](n(313)).to(i,n(266),e,n(293),((t,e)=>t&&!e)),h.on(n(315),(()=>{const t=n;e[t(289)][t(294)](t(307))[t(269)](),r[t(291)]=!1,e[t(309)][t(284)][t(287)]()})),c[n(285)][n(325)](u),l[n(285)][n(325)](h),a[n(306)]=n(314),a[n(272)][n(328)]([c,l]),o[n(325)](a),r})),e.ui[t(301)][t(325)](t(316),(()=>this[t(302)]()))}[Dt(302)](){const t=Dt,e=this[t(303)],i=e[t(275)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(268)][t(276)]({icon:dt.IconHistory,label:J(i,t(281))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(276)]({label:J(i,t(292))}),o[t(318)](t(315)).to(s),o.on(t(315),(()=>{this[t(299)]()})),r[t(285)][t(325)](o),n[t(272)][t(325)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(276)]({label:J(i,t(290))}),c[t(318)](t(315)).to(s),c.on(t(315),(()=>{const i=t;e[i(289)][i(294)](i(307))[i(269)]()})),a[t(285)][t(325)](c),n[t(272)][t(325)](a),s[t(304)][t(285)][t(325)](n),s}[Dt(299)](){const t=Dt,e=this[t(303)],i=e[t(275)],s=e[t(279)][t(294)](t(296)),n=e[t(279)][t(294)](t(270));function r(n){const r=t;e[r(289)][r(294)](r(300))&&""===n[r(305)]?n[r(282)][r(317)]=J(i,r(329)):(e[r(279)][r(294)](rt)[r(330)]({name:n[r(305)]}),s[r(277)]())}this[t(331)]||(this[t(298)](),this[t(331)].on(t(297),(()=>r(this[t(331)])))),this[t(331)][t(274)](),s[t(312)]({id:t(278),title:J(i,t(292)),isModal:!0,content:this[t(331)],actionButtons:[{label:J(e[t(275)],t(320)),withText:!0,onExecute:()=>s[t(277)]()},{label:J(e[t(275)],t(288)),class:t(267),withText:!0,onCreate(i){const s=t;i[s(295)](s(313)).to(n,s(266),n,s(313),e,s(293),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(331)])}]})}[Dt(298)](){const t=Dt,e=this[t(303)],i=e[t(275)];this[t(331)]=new Mt(i,e[t(289)][t(294)](t(300))),this[t(331)][t(326)]()}}const Ft=Lt;function Lt(t,e){const i=Pt();return(Lt=function(t,e){return i[t-=363]})(t,e)}!function(t){const e=Lt,i=t();for(;;)try{if(670690===-parseInt(e(369))/1*(-parseInt(e(395))/2)+parseInt(e(378))/3+parseInt(e(393))/4*(-parseInt(e(390))/5)+parseInt(e(372))/6*(-parseInt(e(368))/7)+parseInt(e(380))/8+-parseInt(e(377))/9*(-parseInt(e(363))/10)+-parseInt(e(367))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class jt extends ft.View{[Ft(371)];[Ft(381)];constructor(t,e){const i=Ft;super(t),this[i(381)]=e,this[i(371)]=e.id;const s=this[i(374)],n=J(t,e[i(382)][i(388)]?i(391):i(376)==e[i(370)]?i(389):i(384));this[i(387)](i(370),e[i(370)]),this[i(375)]({tag:i(364),attributes:{class:[i(365),i(394),s.to(i(370),(t=>i(383)+t))],tabindex:-1},children:[{tag:i(386),children:[{tag:i(386),attributes:{class:[i(385)]},children:[{text:n}]},{text:" "+e[i(379)][i(366)]}]}]})}[Ft(392)](){const t=Ft;this[t(373)][t(392)]()}}function Pt(){const t=["focus","3632TTLVXk","ck-revision-change","83338QVutsT","1421590CmgiLr","div","ck-annotation","name","18926831rkztom","7cbNaJf","9jJIfFj","type","changeId","2482692ThaQwl","element","bindTemplate","setTemplate","add","63xqmwJr","1207110iCfMKM","author","8943528ovAAir","_model","data","ck-revision-change__","Removed by","ck-revision-change__label","span","set","isSuggestion","Added by","470rbYyTR","Suggested by"];return(Pt=function(){return t})()}function zt(){var t=["set","10GciWft","toJSON","2620338UkJKBx","1044772qCfksL","2ULrPwK","136908yUHPXq","createdAt","4098367ICPEsF","3088184kosTGX","12dtlfmf","author","rootName","type","data","951695mfCrow","6416154GyCwzE"];return(zt=function(){return t})()}var Wt=Ut;function Ut(t,e){var i=zt();return(Ut=function(t,e){return i[t-=257]})(t,e)}!function(t){for(var e=Ut,i=t();;)try{if(697516===-parseInt(e(262))/1*(-parseInt(e(263))/2)+parseInt(e(264))/3+-parseInt(e(268))/4*(parseInt(e(273))/5)+parseInt(e(261))/6+-parseInt(e(266))/7+-parseInt(e(267))/8+parseInt(e(257))/9*(parseInt(e(259))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Zt extends((0,t.ObservableMixin)()){id;[Wt(269)];[Wt(271)];[Wt(272)];[Wt(270)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(269)]=e[i(269)],this[i(271)]=e[i(271)],this[i(272)]=e[i(272)]||{},this[i(270)]=e[i(270)],this[i(258)](i(265),e[i(265)])}[Wt(260)](){var t=Wt;return{id:this.id,authorId:this[t(269)].id,type:this[t(271)],data:this[t(272)],createdAt:this[t(265)]}}}function Ht(t,e){const i=$t();return(Ht=function(t,e){return i[t-=432]})(t,e)}const Bt=Ht;!function(t){const e=Ht,i=t();for(;;)try{if(358775===parseInt(e(443))/1+-parseInt(e(441))/2*(parseInt(e(440))/3)+-parseInt(e(436))/4+-parseInt(e(438))/5*(-parseInt(e(442))/6)+parseInt(e(444))/7*(-parseInt(e(434))/8)+-parseInt(e(445))/9*(-parseInt(e(448))/10)+-parseInt(e(437))/11*(-parseInt(e(433))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class qt{[Bt(432)];[Bt(447)];[Bt(435)];constructor(e,i){const s=Bt;this[s(432)]=e,this[s(447)]=i,this[s(435)]=new t.Collection}[Bt(446)](t){const e=Bt;for(const i of t)this[e(435)][e(439)](i)}}function $t(){const t=["_setChanges","oldRevisionId","140AMimWG","newRevisionId","740604OULtBU","796856RXlFCp","changes","2018768ByalrD","77YbaIoj","84445IChBtB","add","75sFDQrE","53740EKNcJF","186FLaopP","220015hRzqNT","14vIqVqy","359253HTmQcu"];return($t=function(){return t})()}var Yt=i(536),Jt={attributes:{"data-cke":!0}};Jt.setAttributes=wt(),Jt.insert=kt().bind(null,"head"),Jt.domAPI=gt(),Jt.insertStyleElement=It();pt()(Yt.A,Jt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Gt=Kt;function Kt(t,e){const i=Qt();return(Kt=function(t,e){return i[t-=215]})(t,e)}function Qt(){const t=["marked","commands","setAttribute","ck-revision-history-root-","numberOfChanges","editor","getChild","consume","bind","comment","_removeUnsupportedChanges","revisionHistoryAttachChange","dataToMarker","delete","ck-revision-history-root--active","isObject","flat","isAtEnd","174TFqrLk","hasClass","isInline","high","_markMismatchedRemovedTags","stop","_setConversion","deletion","diffData","isRemoved","string","ck-suggestion-marker-split","distance","test","suggestion","createRange","_step","addRevisionData","revisionHistoryLabel","createUIElement","conversion","isLimit","_sortAndFilterDiffChanges","addMarker:revision-suggestion:insertion","plugins","ck-suggestion-preview-marker-","insertion","data-revision-","data-change-id","elementEnd","getIndex","isAddSuggestion","elementStart","low","change:isReady","rootName","editing","changes","4772UtirjD","nodeAfter","getDomRoot","range","toViewPosition","ck-suggestion-marker-merge","showNextChange","showPreviousChange","downcastDispatcher","modelRange","toData","toViewElement","observeMarkers","isNavigationMode","WidgetToolbarRepository","5MbBNYt","forEach","has","parse","vid_start","clear","startIndex","vid_end","view","_setChanges","revision-start","ck-revision-history-root-add","left","change:activeChange","RevisionViewer","_getDiff","isCollapsed","removeAttribute","schema","domEvent","removeClass","return","ck-suggestion-marker--active","includes","createPositionFromPath","currentChangeNumber","indexOf","isOfficialPlugin","object","ck-revision-history-root-remove","from","getRootNames","forceDisabled","vid","10QbeOgM","markersEnd","right","911682hffpPB","_changeIdToChange","userId","diff","markerToData","removeMarker:revision","loadRevisionData","highest","suggestion:","mouseover","affectsData","revision:","RevisionsRepository","split","then","POSITIVE_INFINITY","item","bindElementToMarker","addRevision","top","error","resolve","getAttribute","forward","getRoot","requires","addClass","ck-suggestion-preview-marker","ck-suggestion-marker-","revision-suggestion:","get","start","element:pre","name","concat","mapViewToDom","backward","push","_initInteractions","type","locale","attributes","createAttributeElement","_makeModelFromViewString","7640435VIczyF","deletions","addMarker:revision","unshift","collaboration.channelId","changeId","enqueueChange","change","_markMarkers","pop","getClientRects","isIncorrect","_activeViewTarget","parent","981954CdytQX","compare","isPremiumPlugin","detachRoot","revision-comment:","next","viewItem","model","destroy","pluginName","markerNameToElements","showStack","default","_makeModelFromTape","wrap","change:activeView","_setDistance","nextPosition","side","isOnRoot","ck-suggestion-marker","values","isAfter","element","editingDowncast","processor","text","offsetSize","_fixObsoleteTags","attributesAfter","_cleanUp","authors","mapper","unbindElementFromMarkerName","isEqual","data","attribute:vid","_markSuggestions","getRevisionRootsAttributes","isEnabled","length","_threeWayMerge","nextSibling","markerName","change:numberOfChanges","isSuggestion","previousPosition","_joinTapes","revision-end","_appendChild","find","abs","_cleanMarkers","restoreRevisionCallback","keys","_processTape","revision","_removeRevisionMarkers","removeMarker","endIndex","domConverter","target","sort","refresh","toViewRange","init","map","revisionHistory","maxOffset","_refreshStartEndIndex","uiElement","isBlock","code","isRemoveSuggestion","activeChange","config","findIndex","isContent","all","reconvertMarker","_update","getItems","mousedown","_balloon","revision-suggestion","filter","isAdded","_getChangeFromId","isAttached","_findChangeIdFromDomTarget","_removeMissingPairs","slice","hasAttribute","splice","attachChange","done","addMarker:revision-suggestion:deletion","markersStart","-new","getLaterVisibleRevision","first","isAtStart","span","shift","end","add","set","execute","writer","_markInsertions","startsWith","2214993nTnkcp","upcast","152754auBlYF","elementToAttribute","attributesBefore","pairId","ck-editor__editable__overlay","updatePosition","getWalker","_getViewObj","isReady","checkAttribute","merge","change:isEnabled","insertions","remove","945488hFfllw","document","activeView","revision-viewer","enableReadOnlyMode","_getRevisionsRange","_changeView","addRoot","softBreak","_data","oldRevisionId","selection","index","_getViewForChange","repository","dataDowncast","toModel","for","createRangeIn","children","addHighlight","getRevision","catch","_makeTape","getCustomProperty","insert","restoreRevision","getAttributes","newRevisionId","removeMarker:revision-suggestion","adapter","16axmZsB","consumable","markerToHighlight","_revisions","useFillerType","markerRange","listenTo","isBefore","createPositionBefore","roots","getRevisionData","markers","level","createRevision","bottom"];return(Qt=function(){return t})()}!function(t){const e=Kt,i=t();for(;;)try{if(393303===parseInt(e(447))/1*(-parseInt(e(409))/2)+parseInt(e(329))/3+parseInt(e(345))/4*(-parseInt(e(462))/5)+-parseInt(e(218))/6+-parseInt(e(331))/7+parseInt(e(376))/8*(-parseInt(e(499))/9)+-parseInt(e(496))/10*(-parseInt(e(543))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);const Xt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class te extends U.Plugin{[Gt(359)];[Gt(375)];[Gt(216)];[Gt(351)];[Gt(500)];[Gt(301)];static get[Gt(227)](){return Gt(476)}static get[Gt(489)](){return!0}static get[Gt(220)](){return!0}static get[Gt(524)](){return[Z.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Gt;super(t),this[e(359)]=this[e(396)][e(433)][e(529)](e(511)),this[e(324)](e(292),null),this[e(324)](e(347),null),this[e(216)]=null,this[e(324)](e(502),null),this[e(324)](e(339),!1),this[e(324)](e(257),!0),this.on(e(342),((t,i,s)=>{const n=e;this[n(292)]=null,this[n(347)]=null,this[n(396)][n(445)][n(470)][n(550)]((t=>{const e=n;for(const i of this[e(396)][e(445)][e(470)][e(346)][e(385)])s?t[e(482)](e(335),i):t[e(525)](e(335),i)}))})),this[e(399)](e(460)).to(this,e(292),(t=>null!==t)),this[e(399)](e(487)).to(this,e(339),this,e(502),this,e(292),((t,i,s)=>t&&s?i[e(446)][e(439)](s):0)),this[e(399)](e(395)).to(this,e(339),this,e(502),((t,i)=>t?i[e(446)][e(258)]:0)),this[e(351)]=null,this[e(500)]=new Map,this[e(375)]=null,this[e(301)]=this[e(396)][e(433)][e(529)](ft.ContextualBalloon)}[Gt(283)](){const t=Gt,e=this[t(396)],i=new se(e,{direction:t(535)}),s=new se(e,{direction:t(522)});e[t(392)][t(323)](t(454),i),e[t(392)][t(323)](t(453),s),e[t(392)][t(323)](t(371),new ie(e)),this.on(t(262),(()=>{const e=t;i[e(281)](),s[e(281)]()})),this[t(415)](),this[t(537)](),e[t(349)](t(348)),e[t(433)][t(464)](t(461))&&e[t(433)][t(529)](t(461))[t(494)](t(348))}async[Gt(386)](t){const e=Gt;await this[e(505)](t);const i={};for(const s in t[e(417)]){if(t[e(417)][s][e(312)]&&!t[e(417)][s][e(312)][e(306)])continue;const n=this[e(275)](JSON[e(465)](t[e(417)][s][e(343)])),r=this[e(396)][e(445)][e(470)][e(346)],o=new H.ViewDocumentFragment(r,n[e(284)]((t=>this[e(338)](t))));this[e(396)][e(253)][e(243)][e(380)](e(391)),i[s]=this[e(396)][e(253)][e(243)][e(457)](o),this[e(396)][e(253)][e(243)][e(380)](e(230))}return i}async[Gt(256)](t){const e=Gt;await this[e(505)](t);const i={};for(const s in t[e(417)])t[e(417)][s][e(312)]&&!t[e(417)][s][e(312)][e(306)]||(i[s]=t[e(417)][s][e(247)]||{});return i}[Gt(275)](t){const e=Gt;return(t=t[e(303)]((t=>!t[e(532)]||e(472)!==t[e(532)]&&e(266)!==t[e(532)])))[e(463)]((t=>{const i=e;i(419)!=typeof t&&(t[i(364)]=this[i(275)](t[i(364)]),t[i(540)]=t[i(540)][i(303)]((t=>!t[0][i(328)](i(436)))))})),t}async[Gt(219)](t,e,i=!1){const s=Gt;if(!this[s(257)])return;const n=this[s(502)],r=this[s(359)],o=s(419)==typeof t?r[s(366)](t):t,a=s(419)==typeof e?r[s(366)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(502)]&&this[s(502)][s(373)]===c&&this[s(502)][s(355)]===u)return Promise[s(520)]();this[s(339)]=!1,this[s(347)]=null,this[s(292)]=null,this[s(502)]=new qt(c,u);const l=this[s(350)](o,a,!0)[s(284)]((t=>this[s(505)](t)));return l[s(536)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(296)](l)[s(513)]((()=>{const t=s;if(!this[t(257)])return;this[t(248)]();const e=this[t(477)](c,u);for(const i of e[t(446)])this[t(500)][t(324)](i.id,i);this[t(396)][t(225)][t(549)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(396)][s(225)][s(346)][s(493)]())i[s(221)](t);for(const t of Object[s(272)](e[s(225)])){const n=i[s(352)](t);for(const r of Object[s(272)](e[s(540)][t]))i[s(393)](r,e[s(540)][t][r],n);i[s(370)](e[s(225)][t],n,0)}})),this[t(502)][t(471)](this[t(431)](e[t(446)])),this[t(339)]=!0}))[s(367)]((t=>{const e=s;console[e(519)](t),this[e(248)](),n&&(this[e(502)]=n),this[e(339)]=!0}))}[Gt(426)](t,e){const i=Gt,s=this[i(359)][i(389)](t);return s.on(i(298),((t,i,n)=>e(i,n,s))),this[i(359)][i(517)](s),s}[Gt(505)](t){const e=Gt;if(!t||t[e(417)])return Promise[e(520)]();{const i=this[e(396)][e(293)][e(529)](e(547));return this[e(375)][e(366)]({channelId:i,revisionId:t.id})[e(513)]((i=>{const s=e;t[s(298)]({diffData:i[s(417)]},!0)}))}}[Gt(248)](){const t=Gt;this[t(292)]=null,this[t(270)](),this[t(351)]&&this[t(351)][t(226)](),this[t(351)]=null,this[t(500)][t(467)](),this[t(396)][t(225)][t(549)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(396)][i(225)][i(346)][i(493)]())e[i(221)](t)}))}[Gt(431)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(396)][e(225)][e(346)][e(493)]()){const n=this[e(396)][e(445)][e(470)][e(449)](t);if(!n)continue;const r=n[e(553)]()[e(515)](0);r&&(i[e(536)](t),s[e(324)](t,r))}return i[e(280)](((t,i)=>{const n=e,r=s[n(529)](t),o=s[n(529)](i);return r.y-o.y||r.x-o.x})),(t=t[e(303)]((t=>i[e(485)](t[e(444)]))))[e(280)](((t,s)=>i[e(488)](t[e(444)])-i[e(488)](s[e(444)]))),t}[Gt(368)](t){const e=Gt,i=Array[e(492)](t[e(387)])[e(303)]((([t,i])=>t[e(328)](e(510))&&!i[e(478)])),s=Array[e(492)](this[e(396)][e(225)][e(363)](t)[e(337)]({singleCharacters:!0}));if(0!=i[e(258)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(512)](":");if(n[e(322)][e(252)](t[e(235)])&&i[e(321)](),(t[e(264)][e(252)](n[e(530)])||t[e(264)][e(240)](n[e(530)]))&&(e(435)==r?t[e(304)]={userId:o}:e(416)==r&&(t[e(418)]={userId:o})),0==i[e(258)])break}return s}[Gt(287)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(258)];s++)e(244)===t[s][e(538)]?(t[s][e(515)][e(468)]=s,t[s][e(515)][e(277)]=s):(e(441)===t[s][e(538)]?t[s][e(515)][e(468)]=s:e(438)===t[s][e(538)]&&(t[s][e(515)][e(277)]=s),i[e(324)](t[s].id,s));for(const s of i[e(239)]())e(441)===t[s][e(538)]?t[s][e(515)][e(277)]=i[e(529)](t[s][e(334)]):e(438)===t[s][e(538)]&&(t[s][e(515)][e(468)]=i[e(529)](t[s][e(334)]))}[Gt(273)](t){const e=Gt;for(let i=0;i<t[e(258)];i++){if(e(441)===t[i][e(538)])t[i][e(515)][e(468)]=i;else if(e(438)===t[i][e(538)]){t[i][e(515)][e(277)]=i;const s=t[i][e(515)][e(468)];t[s][e(334)]=t[i].id,t[i][e(334)]=t[s].id}else t[i][e(515)][e(468)]=i,t[i][e(515)][e(277)]=i,t[i][e(334)]=null;t[i][e(315)]||(t[i][e(315)]=[],t[i][e(497)]=[])}}[Gt(327)](t,e){const i=Gt,s=t[i(303)]((t=>!t[i(304)]));for(let t=0;t<e[i(258)];t++)e[t][i(304)]&&(s[t][i(304)]=e[t][i(304)])}[Gt(542)](t){const e=Gt,i=JSON[e(465)](t),s=this[e(396)][e(445)][e(470)][e(346)],n=new H.ViewDocumentFragment(s,i[e(284)]((t=>this[e(338)](t))));return this[e(396)][e(253)][e(361)](n)}[Gt(338)](t){const e=Gt,i=this[e(396)][e(445)][e(470)][e(346)];if(e(419)==typeof t)return new H.ViewText(i,t);{const s=t[e(364)][e(284)]((t=>this[e(338)](t)));return new(Xt[t[e(538)]]||H.ViewElement)(i,t[e(532)],t[e(540)],s)}}[Gt(477)](t,e=null){const i=Gt,s=this[i(359)][i(366)](t),n=e?this[i(359)][i(366)](e):null,r=this[i(350)](s,n),o=r[r[i(258)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(258)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(272)](e[i(417)]))if(e[i(417)][t][i(312)]){const s=e[i(417)][t][i(312)];s[i(306)]?(u[i(323)](t),l[i(464)](t)&&l[i(529)](t)[i(501)]==s[i(501)]?l[i(404)](t):l[i(324)](t,s)):l[i(464)](t)?(u[i(404)](t),l[i(404)](t)):(u[i(323)](t),l[i(324)](t,s))}else u[i(323)](t)}for(const t of u){const e=l[i(464)](t)&&!l[i(529)](t)[i(306)];let s=e?r[i(258)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(417)][t]){const s=e?o[i(417)][t][i(333)]:o[i(417)][t][i(247)];c[i(540)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(225)]={};for(const e of t[i(249)])a[i(324)](e.id,e);for(const e of u){const s=t[i(417)][e]?t[i(417)][e][i(343)]:"[]",n=t[i(417)][e]?t[i(417)][e][i(544)]:"[]";t[i(225)][e]={insertions:this[i(542)](s),deletions:this[i(542)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(492)](s[i(225)][t][i(343)][i(387)])[i(303)]((([t])=>!t[i(328)](i(510)))));let h=0;for(const o of r){const r=this[i(368)](o[i(225)][t][i(343)]);o==s?(e=r,n=e[i(258)],e[i(463)]((t=>{t.id=h++})),this[i(273)](e)):this[i(327)](e,r);const a=e[i(303)]((t=>!t[i(304)]))[i(284)]((t=>t.id));let c=0;const l=this[i(368)](o[i(225)][t][i(544)]);l[i(463)]((t=>{t[i(418)]?t.id=n++:t.id=a[c++]})),this[i(273)](l),this[i(234)](e,i(304)),this[i(234)](l,i(418)),o==s&&this[i(551)](e,u),e=this[i(265)](e,l),this[i(287)](e),this[i(234)](e,i(418))}e=e[i(303)]((t=>!(t[i(304)]&&t[i(418)])));const d=new Map(o[i(225)][t][i(544)][i(387)]),f=new Set(u[i(272)]());for(const t of d[i(272)]())f[i(404)](t);this[i(255)](e,f),this[i(246)](e),e=this[i(308)](e),e=this[i(413)](e),e=this[i(401)](e);const{root:m,changes:p}=this[i(231)](e,a,t);c[i(225)][t]=m;const v=l[i(529)](t);if(v){const e=a[i(529)](v[i(501)]),s=new Zt({author:e,type:v[i(306)]?i(323):i(344),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(546)](s),c[i(540)][t][i(402)]=s.id}c[i(446)]=c[i(446)][i(533)](p)}return c}[Gt(551)](t,e){const i=Gt;for(let s=0;s<t[i(258)];s++)for(const[n,r]of e)r[i(530)][i(252)](t[s][i(264)])&&t[s][i(315)][i(536)](n),r[i(322)][i(252)](t[s][i(235)])&&t[s][i(497)][i(536)](n)}[Gt(265)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(258)]||r<e[i(258)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(536)](o);else if(a[i(418)]&&o[i(304)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(259)](t,n,e,r);s=s[i(533)](o),n=a,r=c}else a[i(418)]?(r++,s[i(536)](a)):(n++,s[i(536)](o))}return s}[Gt(255)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(258)];o++){for(let r=0;r<t[o][i(315)][i(258)];r++){const a=t[o][i(315)][r];if(!e[i(464)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(302)!=c||i(435)!=u&&i(416)!=u||(s[i(546)]({type:u,name:a,userId:l}),t[o][i(315)][i(311)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(497)][i(258)];r++){const a=t[o][i(497)][r];if(!e[i(464)](a))continue;const{group:c,type:u}=n(a);if(i(302)!=c||i(435)!=u&&i(416)!=u)continue;t[o][i(497)][i(311)](r,1),r--;const l=s[i(294)]((t=>t[i(532)]==a));l>-1&&s[i(311)](l,1)}}function n(t){const e=i,s=t[e(512)](":");return{group:s[0],type:s[1],subType:s[e(258)]>=5?s[2]:null,id:s[e(258)]<5?s[2]:s[3],authorId:s[e(258)]<5?s[3]:s[4],markerCount:6==s[e(258)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(258)];i++){if(t[e(304)]&&e(435)==s[i][e(538)])return t[e(440)]=s[i],void delete t[e(304)];if(!t[e(304)]&&!t[e(418)]&&e(416)==s[i][e(538)])return void(t[e(291)]=s[i])}}}[Gt(234)](t,e){const i=Gt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(324)](o.id,s);for(let s=0;s<t[i(258)];s++){if(i(418)==e&&t[s][i(304)]||i(304)==e&&t[s][i(418)])continue;if(i(244)==t[s][i(538)]){t[s][i(421)]=0;continue}const n=r[i(529)](t[s][i(334)]),o=r[i(529)](t[s].id);t[s][i(421)]=n-o}}[Gt(350)](t,e,i=!1){const s=Gt,n=[];let r=this[s(359)][s(439)](t),o=this[s(359)][s(439)](e);for(-1==o&&(o=this[s(359)][s(379)][s(258)],i=!1);r<o;)n[s(536)](this[s(359)][s(366)](r)),r++;return i&&n[s(536)](this[s(359)][s(366)](r)),n}[Gt(259)](t,e,i,s){const n=Gt,r=this[n(396)][n(225)][n(480)];let o=e;for(;t[o]&&t[o][n(304)];)o++;let a=s;for(;i[a]&&i[a][n(418)];)a++;u(t,e,o),u(i,s,a);const c=i[n(309)](s,a)[n(533)](t[n(309)](e,o));return c[n(280)](((t,e)=>t[n(236)]!=e[n(236)]?t[n(236)]-e[n(236)]:t[n(388)]!=e[n(388)]?t[n(388)]-e[n(388)]:t[n(421)]!=e[n(421)]?e[n(421)]-t[n(421)]:!!t[n(304)]!=!!e[n(304)]?-1==t[n(236)]||0==t[n(236)]?t[n(304)]?-1:1:t[n(304)]?1:-1:t[n(357)]-e[n(357)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(514)],c=!0;for(let n=e;n<i;n++)if(r[s(411)](t[n][s(515)])||(c=!1),t[n][s(515)][s(468)]<e&&(o=n),t[n][s(515)][s(277)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(236)]=n<=o?-1:n<a?0:1,t[n][s(357)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(421)]?t[i][s(388)]=u:(u++,t[i][s(388)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(236)]&&(t[n][s(388)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(421)]?t[e][s(388)]=u:(u--,t[e][s(388)]=u,u--)}}[Gt(246)](t){const e=Gt,i=new Map,s=this[e(396)][e(225)][e(480)];for(let n=1;n<t[e(258)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(244)==c[e(538)])continue;if(c[e(538)]!=u[e(538)])continue;if(!s[e(289)](u[e(515)])||s[e(430)](u[e(515)]))continue;if(!s[e(289)](c[e(515)])||s[e(430)](c[e(515)]))continue;if((t[n][e(304)]||t[n][e(440)])&&t[n-1][e(418)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(418)]||!t[n-1][e(304)]&&!t[n-1][e(440)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(388)]==o[e(388)],h=Math[e(269)](r[e(388)])<Math[e(269)](o[e(388)])&&0==o[e(421)];(l||h)&&(i[e(324)](o.id,r.id),t[e(311)](a,1),n--,r[e(304)]=!1)}for(let s=0;s<t[e(258)];s++)i[e(464)](t[s][e(334)])&&(t[s][e(334)]=i[e(529)](t[s][e(334)]))}[Gt(308)](t){const e=Gt,i=new Set(t[e(284)]((t=>t.id)));for(let s=0;s<t[e(258)];s++)i[e(464)](t[s][e(334)])||0==t[s][e(421)]||(t[s][e(215)]=!0);return t[e(303)]((t=>!t[e(215)]))}[Gt(413)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(258)];s++){if(i[e(464)](t[s].id)&&t[s][e(418)]&&(t[s][e(215)]=!0),t[s][e(215)])continue;if(0==t[s][e(421)])continue;if(e(441)!=t[s][e(538)])continue;if(null==t[s][e(334)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(334)];)e(441)==t[n][e(538)]?r++:e(438)==t[n][e(538)]&&r--,n++;if(0!=r)if(t[s][e(418)])t[s][e(215)]=!0;else for(;n!=s;)t[n][e(418)]&&0!=t[n][e(421)]&&(t[n][e(215)]=!0,i[e(323)](t[n][e(334)])),n--}return t[e(303)]((t=>!t[e(215)]))}[Gt(401)](t){const e=Gt,i=this[e(396)][e(225)][e(480)];for(let s=0;s<t[e(258)];s++){if(!(t[s][e(304)]||t[s][e(440)]||t[s][e(418)]||t[s][e(291)]))continue;if(0==t[s][e(421)])continue;const n=t[s][e(515)];i[e(289)](n)||i[e(430)](n)||(t[s][e(304)]&&delete t[s][e(304)],t[s][e(440)]&&delete t[s][e(440)],t[s][e(291)]&&delete t[s][e(291)],t[s][e(418)]&&(t[s][e(215)]=!0))}return t[e(303)]((t=>!t[e(215)]))}[Gt(231)](t,e,i){const s=Gt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(396)][s(225)],c=a[s(480)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(258)];e++)if(s(441)===t[e][s(538)]){t[e][s(264)]=a[s(486)](n,f);const i=new H.Element(t[e][s(515)][s(532)],t[e][s(515)][s(372)]());u[0][s(267)](i),f[s(536)](0),u[s(546)](i),t[e][s(235)]=a[s(486)](n,f)}else s(438)===t[e][s(538)]?(u[s(321)](),t[e][s(264)]=a[s(486)](n,f),f[s(552)](),f[f[s(258)]-1]++,t[e][s(235)]=a[s(486)](n,f)):(t[e][s(264)]=a[s(486)](n,f),d?d[s(354)]+=t[e][s(515)][s(253)]:d=new H.Text(t[e][s(515)][s(253)],t[e][s(515)][s(372)]()),t[e+1]&&s(244)===t[e+1][s(538)]&&v(d,t[e+1][s(515)])||(u[0][s(267)](d),d=null),f[f[s(258)]-1]+=t[e][s(515)][s(245)],t[e][s(235)]=a[s(486)](n,f));for(let e=0;e<t[s(258)];e++){const i=t[e][s(264)],n=t[e][s(235)];for(const n of t[e][s(315)])o[s(324)](n,{start:i,end:null});m(s(291),e,i,n),m(s(440),e,i,n),m(s(418),e,i,n),m(s(304),e,i,n);for(const i of t[e][s(497)])o[s(529)](i)[s(322)]=n}for(const[t,e]of o){const i=this[s(396)][s(225)][s(424)](e[s(530)],e[s(322)]);n[s(387)][s(324)](t,i)}return r[s(280)](((t,e)=>{const i=s,r=n[i(387)][i(529)](i(510)+t.id),o=n[i(387)][i(529)](i(510)+e.id);return r[i(530)][i(383)](o[i(530)])?-1:r[i(530)][i(240)](o[i(530)])?1:r[i(322)][i(383)](o[i(322)])?-1:r[i(322)][i(240)](o[i(322)])?1:i(323)===t[i(538)]?-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(501)]:null,d=i===t[o(258)]-1,f=h[e][0],m=c[o(406)](t[i][o(515)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(322)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(501)]!==u&&(l[e][o(322)]=n,f&&f[o(501)]===l[e][o(501)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(441)!==t[i][o(538)]||f&&f[o(501)]===u||h[e][o(546)]({userId:u,object:t[i][o(515)],change:l[e]}),o(438)===t[i][o(538)]&&f&&f[o(490)]===t[i][o(515)]&&(h[e][o(321)](),l[e]=f[o(550)])),l[e]&&d&&(l[e][o(322)]=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(515)],f=a[h(480)][h(289)](d)&&!a[h(480)][h(430)](d),m=t[h(448)]==o[h(217)]&&o[h(319)];if(f&&m)return;const p=a[h(424)](t,o),v=e[h(529)](u),g=new Zt({author:v,type:h(304)==l||h(440)==l?h(323):h(344),data:{isSuggestion:h(440)==l||h(291)==l},createdAt:new Date,rootName:i});r[h(536)](g),n[h(387)][h(324)](h(510)+g.id,p)}function v(t,e){const i=s,n=t[i(372)](),r=e[i(372)]();for(const t of n){if(t[1]!==e[i(521)](t[0]))return!1;r[i(223)]()}return r[i(223)]()[i(313)]}}[Gt(415)](){const t=Gt;this[t(396)][t(429)][t(362)](t(330))[t(403)]({view:t(274)}),this[t(396)][t(429)][t(362)](t(242))[t(378)]({model:t(274),view:e=>{const i=t,s=e[i(261)][i(512)](":")[1],n=this[i(305)](s);if(!n)return null;const r=i(323)==n[i(538)]?i(435):i(416),o=[i(238),i(527)+r];return n[i(253)][i(263)]&&o[i(536)](i(527)+r+i(316)),this[i(292)]==n&&o[i(536)](i(484)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(396)][t(429)][t(362)](t(330))[t(323)]((e=>{const i=t;e.on(i(531),((t,e,s)=>{const n=i,r=e[n(224)][n(397)](0);if(!r||!r.is(n(241),n(290)))return;if(!s[n(377)][n(398)](r,{attributes:[n(466),n(469)]}))return;const o=e[n(456)][n(530)][n(448)];s[n(326)][n(393)](n(466),r[n(521)](n(466)),o),s[n(326)][n(393)](n(469),r[n(521)](n(469)),o)}),{priority:i(442)})})),this[t(396)][t(429)][t(362)](t(330))[t(323)]((e=>{const i=t;e.on(i(241),((t,e,s)=>{const n=i;if(!s[n(377)][n(398)](e[n(224)],{attributes:[n(466),n(469)]}))return;if(e[n(456)][n(478)])return;const r=e[n(456)][n(530)][n(448)];r[n(310)](n(466))||r[n(310)](n(495))||(s[n(326)][n(393)](n(466),e[n(224)][n(521)](n(466)),r),s[n(326)][n(393)](n(469),e[n(224)][n(521)](n(469)),r))}),{priority:i(442)})})),this[t(396)][t(429)][t(362)](t(330))[t(332)]({view:{name:t(320),attributes:{vid:!0}},model:{key:t(495),value:e=>e[t(521)](t(495))}}),this[t(396)][t(225)][t(480)].on(t(340),((e,[,i])=>{const s=t;[s(466),s(469),s(495)][s(485)](i)&&(e[s(483)]=!0,e[s(414)]())}),{priority:t(506)}),this[t(396)][t(429)][t(362)](t(360))[t(323)]((e=>{const i=t;e.on(i(254),((t,e,s)=>{const n=i;if(" "!=e[n(515)][n(253)]||e[n(515)][n(217)][n(286)]>1)return;if(!s[n(377)][n(398)](e[n(515)],t[n(532)]))return;const r=s[n(326)],o=s[n(250)][n(282)](e[n(450)]);r[n(232)](o,r[n(541)](n(320)))}))})),this[t(396)][t(429)][t(362)](t(360))[t(503)]({model:t(274)}),this[t(396)][t(445)][t(455)].on(t(545),function(e){const i=t,s=e[i(433)][i(529)](i(476));return(t,n,r)=>{const o=i,a=n[o(261)][o(512)](":")[1],c=s[o(305)](a);if(!c)return null;const u=o(323)==c[o(538)]?o(512):o(341);if(!r[o(377)][o(422)](n[o(381)],t[o(532)]))return;const l=n[o(381)][o(337)](),h=n[o(381)][o(530)],d=e[o(225)][o(480)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(515)];p=p||d[o(295)](e);const i=r[o(250)][o(458)](e);if(i&&i[o(369)](o(365)))return;o(438)==t[o(538)]&&d[o(289)](e)&&!d[o(430)](e)&&(e[o(260)]||h[o(408)]?f&&f[o(217)]==e||(f=e,g(t[o(264)]),v=!0):m=m||t[o(264)])}function g(t){const e=o,i=r[e(326)][e(428)](e(320),{class:e(527)+u}),a=r[e(250)][e(451)](t);c[e(253)][e(263)]&&r[e(326)][e(525)](e(527)+u+e(316),i),s[e(292)]==c&&r[e(326)][e(525)](e(484),i),r[e(326)][e(370)](a,i),r[e(250)][e(516)](i,n[e(261)])}p||v||!m||g(m)}}(this[t(396)]),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(504),((e,i,s)=>{const n=t,r=s[n(250)][n(228)](i[n(261)]);if(r)for(const t of r)(t[n(410)](n(420))||t[n(410)](n(452)))&&(s[n(250)][n(251)](t,i[n(261)]),s[n(326)][n(344)](t))}),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(545),((e,i,s)=>{const n=t,r=i[n(261)][n(512)](":")[1],o=this[n(305)](r);if(!o)return null;const a=n(323)==o[n(538)]?n(512):n(341);if(s[n(377)][n(422)](i[n(381)],e[n(532)]))for(const t of i[n(381)][n(299)]()){if(!t.is(n(241),n(353)))continue;const e=s[n(326)][n(428)](n(320),{class:n(527)+a}),r=s[n(250)][n(451)](this[n(396)][n(225)][n(384)](t));o[n(253)][n(263)]&&s[n(326)][n(525)](n(527)+a+n(316),e),this[n(292)]==o&&s[n(326)][n(525)](n(484),e),s[n(326)][n(370)](r,e),s[n(250)][n(516)](e,i[n(261)])}}),{priority:t(412)}),this[t(396)][t(225)][t(346)].on(t(550),(()=>{const e=t;this[e(396)][e(445)][e(470)][e(550)]((t=>{const i=e;for(const e of this[i(396)][i(225)][i(346)][i(493)]()){const s=this[i(396)][i(225)][i(346)][i(523)](e),n=this[i(396)][i(445)][i(470)][i(346)][i(523)](e);if(n){const e=s[i(521)](i(402));if(t[i(479)](i(437),n),t[i(482)](i(473),n),t[i(482)](i(491),n),t[i(482)](i(405),n),e){const s=this[i(305)](e);if(!s)return null;t[i(393)](i(437),e,n),t[i(525)](i(394)+s[i(538)],n),this[i(292)]==s&&t[i(525)](i(405),n)}}}}))})),this[t(396)][t(429)][t(362)](t(330))[t(403)]({view:t(400),model:e=>t(222)+e,converterPriority:t(506)}),this[t(396)][t(429)][t(362)](t(330))[t(403)]({view:t(423),model:e=>t(528)+e,converterPriority:t(506)}),this[t(396)][t(429)][t(362)](t(360))[t(503)]({model:t(302),view:e=>({name:t(507)+e,group:t(302)}),converterPriority:t(506)}),this[t(396)][t(429)][t(362)](t(242))[t(378)]({model:t(302),view:e=>{const i=t,s=e[i(261)][i(512)](":")[1];return i(435)!=s&&i(416)!=s?null:{classes:[i(526),i(434)+s]}}}),this[t(396)][t(445)][t(455)].on(t(314),ee(this[t(396)],t(341)),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(432),ee(this[t(396)],t(512)),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(374),((e,i,s)=>{const n=t,r=s[n(250)][n(228)](i[n(261)]);if(r)for(const t of r)t.is(n(288))&&(s[n(250)][n(251)](t,i[n(261)]),s[n(326)][n(344)](t))}),{priority:t(412)})}[Gt(305)](t){const e=Gt;return this[e(500)][e(529)](t)}[Gt(358)](t){const e=Gt;return this[e(351)]&&this[e(351)][e(226)](),this[e(351)]=new jt(this[e(396)][e(539)],t),this[e(351)]}[Gt(537)](){const t=Gt;this[t(396)][t(225)][t(346)][t(356)][t(459)](t(274)),this.on(t(233),((e,i,s,n)=>{const r=t;n&&this[r(301)][r(344)](n),s&&(this[r(301)][r(323)]({view:s,stackId:r(427),position:{target:()=>{const t=r,e=this[t(396)][t(445)],i=this[t(305)](s[t(548)]);let n;if(i[t(253)][t(237)]){const s=e[t(470)][t(449)](i[t(444)]);n=Array[t(492)](s[t(553)]())}else{const i=this[t(396)][t(225)][t(387)][t(529)](t(510)+s[t(548)]);n=Array[t(492)](e[t(250)][t(228)](i[t(532)]))[t(284)]((i=>e[t(470)][t(278)][t(534)](i)))[t(284)]((e=>Array[t(492)](e[t(553)]())))[t(407)]()}return this[t(216)]&&n[t(268)]((e=>e[t(518)]-3<=this[t(216)].y&&e[t(390)]+3>=this[t(216)].y&&e[t(474)]-3<=this[t(216)].x&&e[t(498)]+3>=this[t(216)].x))||n[0]}}}),this[r(301)][r(229)](r(427)))})),this.on(t(475),((e,i,s,n)=>{const r=t;this[r(347)]=s?this[r(358)](s):null,this[r(396)][r(225)][r(550)]((()=>{const t=r,e=this[t(396)][t(445)];n&&(n[t(253)][t(237)]?e[t(470)][t(550)]((i=>{const s=t;i[s(482)](s(405),e[s(470)][s(346)][s(523)](n[s(444)]))})):e[t(297)](t(510)+n.id)),s&&(s[t(253)][t(237)]?e[t(470)][t(550)]((i=>{const n=t;i[n(525)](n(405),e[n(470)][n(346)][n(523)](s[n(444)]))})):e[t(297)](t(510)+s.id))}))})),this[t(382)](this[t(396)][t(445)][t(470)][t(346)],t(508),((e,i)=>{const s=t;if(this[s(292)])return;const n=this[s(307)](i[s(279)]),r=this[s(500)][s(529)](n);r?(this[s(216)]={x:i[s(481)].x,y:i[s(481)].y},this[s(347)]=this[s(358)](r)):(this[s(216)]=null,this[s(347)]=null)})),this[t(382)](this[t(396)][t(445)][t(470)][t(346)],t(300),((e,i)=>{const s=t,n=this[s(307)](i[s(279)]),r=this[s(500)][s(529)](n);r?(this[s(216)]={x:i[s(481)].x,y:i[s(481)].y},r===this[s(292)]?this[s(301)][s(336)]():this[s(292)]=r):(this[s(216)]=null,this[s(292)]=null)}))}[Gt(307)](t){const e=Gt;do{const i=t[e(521)](e(437));if(i)return i;t=t[e(217)]}while(t);return null}[Gt(270)](){const t=Gt;this[t(396)][t(225)][t(550)]((e=>{const i=t;for(const t of this[i(396)][i(225)][i(387)])e[i(276)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(377)][r(422)](s[r(381)],i[r(532)]))return;const o=s[r(381)][r(337)](),a=s[r(381)][r(530)],c=t[r(225)][r(480)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(515)];h=h||c[r(295)](e);const i=n[r(250)][r(458)](e);if(i&&i[r(369)](r(365)))return;r(438)==t[r(538)]&&c[r(289)](e)&&!c[r(430)](e)&&(e[r(260)]||a[r(408)]?u&&u[r(217)]==e||(u=e,f(t[r(264)]),d=!0):l=l||t[r(264)])}function f(t){const i=r,o=n[i(250)][i(451)](t),a=n[i(326)][i(428)](i(320),{class:i(434)+e});n[i(326)][i(370)](o,a),n[i(250)][i(516)](a,s[i(261)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Gt;super(t);const i=t[e(433)][e(529)](te);this[e(509)]=!1,this[e(382)](i,e(443),(()=>this[e(281)]())),this[e(382)](i,e(342),(()=>this[e(281)]()))}[Gt(325)](){const t=Gt,e=this[t(396)],i=e[t(433)][t(529)](te),s=i[t(339)]?i[t(502)][t(373)]:null;e[t(293)][t(529)](t(285))[t(271)](s)}[Gt(281)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(396)][t(433)][t(529)](te),r=n&&s[t(317)](n[t(373)]);this[t(257)]=e&&i&&Boolean(r)}}class se extends U.Command{[Gt(425)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(433)][i(529)](te);this[i(509)]=!1,this[i(425)]=i(522)===e?1:-1,this[i(382)](s,i(443),(()=>this[i(281)]())),this[i(382)](s,i(342),(()=>this[i(281)]())),this[i(382)](s,i(475),(()=>this[i(281)]()))}[Gt(325)](){const e=Gt,i=this[e(396)],s=i[e(433)][e(529)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(292)]=n?s[e(502)][e(446)][e(529)](r+this[e(425)]):s[e(502)][e(446)][e(318)],s[e(292)][e(253)][e(237)])o=i[e(445)][e(470)][e(449)](s[e(292)][e(444)]);else{const t=i[e(225)][e(387)][e(529)](e(510)+s[e(292)].id);o=(0,Z.getMarkerDomElement)(i[e(445)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(281)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(396)][t(433)][t(529)](te);this[t(257)]=!!(r&&n&&s)&&(!e||(1===this[t(425)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(t,e){const i=ae();return(oe=function(t,e){return i[t-=115]})(t,e)}function ae(){const t=["ck-hidden","ck-revision-history-ui__changes-navigation__navigation","878492mZGCjK","1323WpsAuP","_statusText","isBackwardNavigationEnabled","isNavigationMode","isReady","8277120NOIDpw","currentChangeNumber","div","161399NtDouk","Total","isForwardNavigationEnabled","EDIT_X_OF_Y_REVISIONS","1995324YjnXpF","set","ck-revision-history-ui__changes-navigation__wrapper","bindTemplate","backward","ck-revision-history-ui","span","Show next change","NUMBER_OF_CHANGES","No changes","Loading...","_isStatusLabelVisible","X_OF_Y_CHANGES","setTemplate","bind","252eZtSRN","896094NaPLur","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__label","forward","isEnabled","execute","fire","numberOfChanges","Show previous change","421768UtZrdn","120LaIqPy"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(880706===parseInt(e(124))/1+-parseInt(e(133))/2+parseInt(e(150))/3+parseInt(e(137))/4+-parseInt(e(143))/5+-parseInt(e(123))/6*(-parseInt(e(146))/7)+-parseInt(e(134))/8*(parseInt(e(138))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends ft.View{constructor(t){const e=oe;super(t);const i=this[e(153)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(151)](e(141),!1),this[e(151)](e(142),!1),this[e(151)](e(144),0),this[e(151)](e(131),0),this[e(151)](e(148),!1),this[e(151)](e(140),!1),this[e(122)](e(119)).to(this,e(142),this,e(131),((t,e)=>t&&e>0)),this[e(122)](e(139)).to(this,e(142),this,e(144),this,e(131),this,e(141),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(118));if(!n)return J(t,o(117));const a=J(t,o(116),n);return r?J(t,o(120),[s+1,n]):a})),s[e(151)]({label:J(t,e(132)),tooltip:!0,icon:dt.IconChevronUp}),n[e(151)]({label:J(t,e(115)),tooltip:!0,icon:dt.IconChevronDown}),s[e(122)](e(128)).to(this,e(140)),n[e(122)](e(128)).to(this,e(148)),s.on(e(129),(()=>this[e(130)](e(129),e(154)))),n.on(e(129),(()=>this[e(130)](e(129),e(127)))),this[e(121)]({tag:e(145),attributes:{class:["ck",e(155),e(125)]},children:[{tag:e(156),attributes:{class:[e(152)]},children:[{tag:e(156),attributes:{class:[e(126),i.if(e(119),e(135),(t=>!t))]},children:[{text:i.to(e(141),(i=>i?J(t,e(149))+": ":J(t,e(147))+": "))}]},{text:i.to(e(139))}]},new ft.ToolbarSeparatorView,{tag:e(145),attributes:{class:[e(136)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=fe;function de(){const t=["removeClass","addClass","editing","213docnJa","224199fQfmqh","930135TfTpCZ","view","change","document","roots","1Eukeri","11059104MOawgk","1168198FDLveG","pluginName","isOfficialPlugin","RevisionViewerLoadingOverlay","show","81570mMUhrt","1266391Qbvayl","isPremiumPlugin","168DDaDrN","ck-editor__editable__loading-overlay","editor","231oottqs","hide","22744txIMZO","18bzHoPY"];return(de=function(){return t})()}function fe(t,e){const i=de();return(fe=function(t,e){return i[t-=212]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(310719===-parseInt(e(233))/1*(parseInt(e(235))/2)+-parseInt(e(226))/3*(parseInt(e(221))/4)+parseInt(e(228))/5+-parseInt(e(222))/6*(-parseInt(e(214))/7)+-parseInt(e(216))/8*(parseInt(e(227))/9)+parseInt(e(213))/10*(parseInt(e(219))/11)+parseInt(e(234))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const me=he(217);class pe extends U.Plugin{static get[he(236)](){return he(238)}static get[he(237)](){return!0}static get[he(215)](){return!0}[he(212)](){const t=he,e=this[t(218)][t(225)][t(229)];e[t(230)]((i=>{const s=t;for(const t of e[s(231)][s(232)])i[s(224)](me,t)}))}[he(220)](){const t=he,e=this[t(218)][t(225)][t(229)];e[t(230)]((i=>{const s=t;for(const t of e[s(231)][s(232)])i[s(223)](me,t)}))}}function ve(t,e){const i=ye();return(ve=function(t,e){return i[t-=244]})(t,e)}const ge=ve;function ye(){const t=["91284NXLTZQ","13578NMiimv","forward","change:isReady","get","2973624ciARJE","54dnirwh","199126edCQCs","isBackwardNavigationEnabled","exitToEditing","init","requires","240273LZDNly","currentChangeNumber","RevisionViewerUI","bind","isForwardNavigationEnabled","241066blTVqn","isOfficialPlugin","1703WmwZot","execute","showNextChange","changesNavigation","2285410iHuebp","editor","revisionHistory","closeRevisionViewerCallback","show","4ewKdaj","isPremiumPlugin","ck-revision-history-ui__back-to-editing","2HhRbPT","numberOfChanges","restoreRevision","add","config","isReady","listenTo","plugins","Restore this revision","304lfGMqn","Back to editing","isNavigationMode","isEnabled","commands","set","1810uviPYv","showPreviousChange","componentFactory","pluginName","hide"];return(ye=function(){return t})()}!function(t){const e=ve,i=t();for(;;)try{if(699216===-parseInt(e(246))/1*(parseInt(e(270))/2)+-parseInt(e(244))/3*(-parseInt(e(267))/4)+parseInt(e(285))/5*(parseInt(e(291))/6)+-parseInt(e(256))/7*(parseInt(e(279))/8)+parseInt(e(245))/9*(parseInt(e(262))/10)+parseInt(e(251))/11+-parseInt(e(290))/12*(parseInt(e(258))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class ke extends U.Plugin{static get[ge(288)](){return ge(253)}static get[ge(257)](){return!0}static get[ge(268)](){return!0}static get[ge(250)](){return[te,pe]}[ge(249)](){const t=ge,e=this[t(263)],i=e[t(277)][t(294)](te),s=e[t(277)][t(294)](pe);e.ui[t(287)][t(273)](t(248),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(284)]({label:J(i,s(280)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(269)}),this[s(276)](n,s(259),(()=>{const t=s;e[t(274)][t(294)](t(264))[t(265)]()})),n})),e.ui[t(287)][t(273)](t(272),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(284)]({label:J(i,s(278)),withText:!0,tooltip:!0}),n[s(254)](s(282)).to(e[s(283)][s(294)](s(272))),this[s(276)](n,s(259),(()=>e[s(259)](s(272)))),n})),e.ui[t(287)][t(273)](t(261),(s=>{const n=t,r=new ce(s),o=e[n(283)][n(294)](n(286)),a=e[n(283)][n(294)](n(260));return r[n(254)](n(247)).to(o,n(282)),r[n(254)](n(255)).to(a,n(282)),r[n(254)](n(275),n(252),n(271),n(281)).to(i),this[n(276)](r,n(259),((t,i)=>{const s=n;e[s(259)](s(292)===i?s(260):s(286))})),r})),s[t(266)](),i.on(t(293),((e,i,n)=>{const r=t;n?s[r(289)]():s[r(266)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;const _e=Ie;function Ie(t,e){const i=Se();return(Ie=function(t,e){return i[t-=139]})(t,e)}function Se(){const t=["bindTemplate","listenTo","1xFaauc","31173720PtrxnI","clientWidth","destroy","Revision name","2241JbJeRg","ck-tooltip_multi-line","_updateTooltipText","_resizeObserver","299388YaKGif","4wbjbEI","147erjRth","_tooltipString","fieldView","set","element","7537755iHRGoJ","3455252rZNEec","input","extendTemplate","scrollWidth","span","5138200yreqCZ","Enter the revision name","51860VDMHun","placeholder","value","render","ck-revision-history-sidebar__revision-name","33fpDkAS","2040699MGsNLT"];return(Se=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(896573===-parseInt(e(168))/1*(parseInt(e(152))/2)+-parseInt(e(165))/3+parseInt(e(145))/4*(-parseInt(e(151))/5)+parseInt(e(144))/6*(-parseInt(e(146))/7)+-parseInt(e(157))/8+-parseInt(e(140))/9*(parseInt(e(159))/10)+parseInt(e(164))/11*(parseInt(e(169))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends ft.LabeledFieldView{[_e(143)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(166)];this[i(149)]({label:J(t,i(139)),_tooltipString:""}),this[i(148)][i(160)]=J(t,i(158)),this[i(154)]({tag:i(156),attributes:{class:[i(163)],"data-cke-tooltip-text":s.to(i(147)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(141)}})}[_e(162)](){const e=_e;super[e(162)](),this[e(143)]=new t.ResizeObserver(this[e(148)][e(150)],(()=>this[e(142)]())),this[e(167)](this[e(148)],e(153),(()=>this[e(142)]()))}[_e(171)](){const t=_e;super[t(171)](),this[t(143)]&&this[t(143)][t(171)]()}[_e(142)](){const t=_e,e=this[t(148)][t(150)];this[t(147)]=e[t(155)]>e[t(170)]&&e[t(161)]||""}}var Te=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=wt(),Ne.insert=kt().bind(null,"head"),Ne.domAPI=gt(),Ne.insertStyleElement=It();pt()(Te.A,Ne);Te.A&&Te.A.locals&&Te.A.locals;function xe(t,e){const i=Re();return(xe=function(t,e){return i[t-=128]})(t,e)}function Re(){const t=["name","set","10rpQjsm","332739FMQURt","3909498mLOEkJ","2359475XltOVA","4901004hrGlfn","ck-revision-history-sidebar__revision-author","push","ck-revision-history-sidebar__revision-author__name","14BCImMy","setTemplate","616138FNavkZ","1570473OIyFJY","0 0 11 10","4FYMsDw","Revision author","2657080sJHQBp","span","Revision creator","ck-revision-history-sidebar__revision-author_creator"];return(Re=function(){return t})()}!function(t){const e=xe,i=t();for(;;)try{if(462813===parseInt(e(147))/1+-parseInt(e(135))/2+-parseInt(e(136))/3*(-parseInt(e(138))/4)+parseInt(e(128))/5+parseInt(e(148))/6+-parseInt(e(133))/7*(parseInt(e(140))/8)+parseInt(e(129))/9*(-parseInt(e(146))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ae extends ft.View{constructor(t,e,i){const s=xe;super(t);const n=new ft.IconView;n[s(145)]({content:dt.IconUser,viewBox:s(137)});const r=["ck",s(130)];i&&r[s(131)](s(143));const o=[{tag:s(141),attributes:{class:["ck",s(132)],title:J(t,s(i?142:139))},children:[n,e[s(144)]]}];this[s(134)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=354]})(t,e)}function Ve(){var t=["60fJPTsk","690444CibKPG","1wJKLKZ","2009307TIsxag","4ZwHmcl","543946jqsapf","5857488FMtHDk","toLocaleDateString","numeric","long","13534128iRYFcx","2380128dWAEQx","toLocaleTimeString","4245845mhAziZ"];return(Ve=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(999537===parseInt(e(363))/1*(parseInt(e(366))/2)+parseInt(e(364))/3*(parseInt(e(365))/4)+parseInt(e(360))/5+-parseInt(e(358))/6+parseInt(e(367))/7+-parseInt(e(357))/8+parseInt(e(362))/9*(parseInt(e(361))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var De=i(11),Ee={attributes:{"data-cke":!0}};Ee.setAttributes=wt(),Ee.insert=kt().bind(null,"head"),Ee.domAPI=gt(),Ee.insertStyleElement=It();pt()(De.A,Ee);De.A&&De.A.locals&&De.A.locals;function Ce(){const t=["2085512QEiigp","isActionsDropdownOpen","bindTemplate","7cAHTqD","map","button","class","isReady","panelPosition","stopPropagation","isOpen","24sUrJDz","20fvzqOo","isEnabled","buttonView","ck-on","listView","set","function","1646cOqutM","model","1851cTdtQz","Compare against selected","action","24oPRdGc","items","execute","source","220664HUEqLP","Restore this revision","ck-revision-history-sidebar__revision__actions","Name this revision","add","listenTo","Show more items","40gfSQgH","bind","118097TvlmKP","first","2332312UuaIbn","children","menuitem","406538lKFvyM","extendTemplate","menu","_action","isVisible","locale","9UDQNVO","name","change:isActionsDropdownOpen","find"];return(Ce=function(){return t})()}function Fe(t,e){const i=Ce();return(Fe=function(t,e){return i[t-=352]})(t,e)}!function(t){const e=Fe,i=t();for(;;)try{if(171263===parseInt(e(375))/1*(-parseInt(e(391))/2)+parseInt(e(393))/3+parseInt(e(400))/4*(-parseInt(e(384))/5)+parseInt(e(396))/6*(-parseInt(e(357))/7)+-parseInt(e(359))/8*(-parseInt(e(368))/9)+parseInt(e(355))/10*(-parseInt(e(362))/11)+-parseInt(e(383))/12*(-parseInt(e(372))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ce);var Le=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=wt(),je.insert=kt().bind(null,"head"),je.domAPI=gt(),je.insertStyleElement=It();pt()(Le.A,je);Le.A&&Le.A.locals&&Le.A.locals;const Pe=We;function ze(){const t=["ck-revision-history-sidebar__revision__date","30bhFuSe","isSelected","264QCMMeA","highlight","104KQyajK","revisionNameView","_requireRevisionName","closest","unhighlight","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__actions_dropdown_open","setName","srcElement","571576eChXFR","ck-revision-history-sidebar__revision_highlighted","unshift","div","authors","extendTemplate","listenTo","name",".ck-thread__remove-confirm","filter","195587fbKsIU","856658cWEyrl","change","fire","select","set","1426ELHpRZ","fieldView","ck-revision-history-sidebar__revision__controls-wrapper","41607HJOkvi","isEnabled","from","336947rGtHYf","revisionActionsView","isReady","ck-revision-history-sidebar__revision_selected","setTemplate","creator","deselect","span","isHighlighted","isConfirm","ck-disabled","ck-revision-history-sidebar__revision","isActionsDropdownOpen","_createdAtFormatted","_revision","220","createdAt","575934GxobxL","5CxypGt","render","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision-wrapper","587aXrtGD","6LGDMdR","uiLanguage","bind","length","ck-reset","element","value","map","bindTemplate"];return(ze=function(){return t})()}function We(t,e){const i=ze();return(We=function(t,e){return i[t-=303]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(234240===-parseInt(e(334))/1*(parseInt(e(306))/2)+parseInt(e(335))/3*(parseInt(e(358))/4)+parseInt(e(330))/5*(parseInt(e(329))/6)+parseInt(e(368))/7*(-parseInt(e(349))/8)+parseInt(e(309))/9*(-parseInt(e(345))/10)+parseInt(e(369))/11+-parseInt(e(347))/12*(-parseInt(e(312))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class Ue extends((0,Z.ConfirmMixin)(ft.View)){id;[Pe(350)];[Pe(313)];[Pe(326)];[Pe(351)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(343)],a=function(t,e){const i=r,s=Array[i(311)](e[i(362)])[i(367)]((t=>t!=e[i(317)]));return e[i(317)]&&s[i(360)](e[i(317)]),s[i(342)]((s=>new Ae(t,s,s==e[i(317)])))}(e,i);this.id=i.id,this[r(326)]=i,this[r(351)]=n,this[r(337)](r(365),r(328)).to(i),this[r(337)](r(325)).to(this,r(328),(t=>{return i=e[r(336)],(s=t)[(n=Me)(354)](i,{month:n(356),day:n(355)})+", "+s[n(359)](i,{hour:n(355),minute:n(355)});var i,s,n})),this[r(305)](r(346),!1),this[r(305)](r(320),!1),this[r(305)](r(324),!1),this[r(305)](r(314),!1),this[r(305)](r(310),!1),this[r(350)]=new Oe(e,ft.createLabeledInputText),this[r(350)][r(307)][r(363)]({attributes:{maxlength:r(327)}}),this[r(350)][r(307)][r(337)](r(341)).to(this,r(365),(t=>t||this[r(325)])),this[r(350)][r(337)](r(310)).to(this,r(346),this,r(310),((t,e)=>t&&e)),this[r(313)]=s&&s[r(338)]?function(e,i){const s=Fe,n=e[s(374)],r=e[s(367)],o=(0,ft.createDropdown)(r);o[s(380)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(367)],n={"Compare against selected":J(s,i(394)),"Name this revision":J(s,i(403)),"Restore this revision":J(s,i(401))};return e[i(376)]((t=>{const e=i,s=n[t[e(369)]];return s&&s!==t[e(369)]&&(t[e(369)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(377),model:new ft.ViewModel({label:t[n(369)],class:t[n(378)],withText:!0,role:n(361),_action:t[n(395)]})};i[n(392)][n(356)](n(385)).to(e,n(373),(i=>n(390)!=typeof t[n(385)]||!i||t[n(385)](e))),o[n(352)](i)}return o}(e,i);return e[s(356)](s(373)).to(o,s(382)),o[s(386)][s(389)]({label:J(r,s(354)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(363)]({attributes:{class:[s(402),n.if(s(373),s(387))]},on:{click:n.to((t=>t[s(381)]()))}}),o.on(s(398),(t=>{const i=s;e[i(379)]&&i(390)==typeof t[i(399)][i(365)]&&t[i(399)][i(365)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(364)}),o[s(353)](e,s(370),((t,n,r)=>{const a=s;if(r)for(const t of o[a(388)][a(397)]){const s=t[a(360)][a(358)],n=i[a(371)]((t=>t[a(395)]===s[a(365)]))[a(366)];t[a(366)]=void 0===n||n(e)}})),o}(this,s):"",this[r(313)]&&this[r(313)][r(337)](r(310)).to(this),this[r(316)]({tag:r(361),attributes:{class:["ck",r(339),r(333),o.if(r(321),r(332))]},children:[{tag:r(361),attributes:{class:["ck",r(339),r(323),o.if(r(310),r(322),(t=>!t)),o.if(r(346),r(315)),o.if(r(320),r(359)),o.if(r(324),r(355))]},children:[this[r(350)],{tag:r(319),attributes:{class:["ck",r(344)]},children:[{text:o.to(r(325))}]},{tag:r(361),attributes:{class:["ck",r(308)]},children:[{tag:"ul",attributes:{class:["ck",r(354)]},children:a}]},this[r(313)]],on:{click:o.to((t=>{const e=r;t[e(357)][e(352)](e(366))||this[e(314)]&&this[e(310)]&&this[e(303)](e(304),{id:this.id})}))}}]})}[Pe(331)](){const t=Pe;super[t(331)]();const e=this[t(350)][t(307)][t(340)];this[t(364)](e,t(370),(()=>{const i=t;this[i(351)]&&!e[i(341)]||this[i(303)](i(356),{id:this.id,name:e[i(341)]}),e[i(341)]||(e[i(341)]=this[i(365)]?this[i(365)]:this[i(325)])}))}[Pe(304)](){this[Pe(346)]=!0}[Pe(318)](){this[Pe(346)]=!1}[Pe(348)](){this[Pe(320)]=!0}[Pe(353)](){this[Pe(320)]=!1}}class Ze extends Error{}class He extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class $e extends Ze{}class Ye extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ze{}class Ge extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",Xe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Qe,day:Ke},ii={year:Ke,month:Qe,day:Ke,weekday:Qe},si={year:Ke,month:Xe,day:Ke},ni={year:Ke,month:Xe,day:Ke,weekday:Xe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},yi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},ki={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},bi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,timeZoneName:Xe},wi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe};class _i{get type(){throw new Ge}get name(){throw new Ge}get ianaName(){return this.name}get isUniversal(){throw new Ge}offsetName(t,e){throw new Ge}formatOffset(t,e){throw new Ge}offset(t){throw new Ge}equals(t){throw new Ge}get isValid(){throw new Ge}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class xi extends _i{static create(t){return Ni[t]||(Ni[t]=new xi(t)),Ni[t]}static resetCache(){Ni={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=xi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ti[e];"era"===e?s[r]=n:ws(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(js({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 Ai={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.DateTimeFormat(t,e),Ai[i]=s),s}let Vi={};let Di={};let Ei=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{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 As(this.floor?Math.floor(t):Es(t,3),this.padTo)}}class ji{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&&xi.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=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 zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Ei||(Ei=(new Intl.DateTimeFormat).resolvedOptions().locale,Ei)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=xs(s)||rs.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Ei=null,Ai={},Vi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,xs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Fi(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=eo.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Fi(this,t,en,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(t,this.intl,e)}relFormatter(t={}){return new Pi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=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:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ui=null;class Zi extends _i{static get utcInstance(){return null===Ui&&(Ui=new Zi(0)),Ui}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${qs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return qs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Hi extends _i{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Bi(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||xi.create(t)}return _s(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Hi(t)}const qi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},$i={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=qi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${qi[i]}${e}`)),Ji[i][e]}let Ki,Qi=()=>Date.now(),Xi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){Xi=t}static get defaultZone(){return Bi(Xi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=xs(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Wi.resetCache(),xi.resetCache(),eo.resetCache(),Ji={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...$s(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...$s(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...$s(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...$s(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new $e("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function ks(t){const e=Is(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,Ls(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=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&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ts(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function xs(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 Is(t)&&t>=e&&t<=i}function As(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Es(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function Ws(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Hs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function Bs(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Hs(n)}return i}function qs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${As(i,2)}:${As(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${As(i,2)}${As(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function $s(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Gs];case"short":return[...Js];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Xs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Xs];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return As(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Ms(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?xi.create(t[e]):null,e+1]}const xn=RegExp(`^T?${gn.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 An(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?Ws(Ms(e)):Ms(e),month:Js.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:Xs.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 En(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Vn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Cn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Fn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(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 jn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,n,s,i,r,o,a),Zi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Wn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Un=dn(/(\d{4})-?(\d{3})/,kn),Zn=dn(yn),Hn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,Tn,Nn),Bn=fn(bn,On,Tn,Nn),qn=fn(wn,On,Tn,Nn),$n=fn(On,Tn,Nn);const Yn=fn(On);const Jn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Kn=fn(On,Tn,Nn);const Qn="Invalid Duration",Xn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Xn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Xn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:Bs(t,ur.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[Rn,An])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[xn,Yn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new ur({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ln.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=nr.map((e=>{const i=this.values[e];return ws(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Es(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return eo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=Hs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...Bs(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return or(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new Be(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:hr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return hr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return xi.isValidZone(t)}static normalizeZone(t){return Bi(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=fr(t,e);return(i-i%7)/7}],["days",fr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(qi.hanidec))e+=Yi.indexOf(t[i]);else for(const t in $i){const[i,n]=$i[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=xr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Tr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Gi(e),s=Gi(e,"{2}"),n=Gi(e,"{3}"),r=Gi(e,"{4}"),o=Gi(e,"{6}"),a=Gi(e,"{1,2}"),c=Gi(e,"{1,3}"),u=Gi(e,"{1,6}"),l=Gi(e,"{1,9}"),h=Gi(e,"{2,4}"),d=Gi(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,Ws);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(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;ws(t.z)||(i=xi.create(t.z)),ws(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),ws(t.u)||(t.S=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 $e("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 Tr(t,i).explainFromTokens(e)}function xr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Ar=864e13;function Mr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Er(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Cr(js(t),e,i)}function jr(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,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=js(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?ln.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=As(t.c.year,i?6:4),e?(s+="-",s+=As(t.c.month),s+="-",s+=As(t.c.day)):(s+=As(t.c.month),s+=As(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=As(t.c.hour);return e?(o+=":",o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=As(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=As(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=As(Math.trunc(-t.o/60)),o+=":",o+=As(Math.trunc(-t.o%60))):(o+="+",o+=As(Math.trunc(t.o/60)),o+=":",o+=As(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Hr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Br={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["year","month","day","hour","minute","second","millisecond"],$r=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Gr(t,e){const i=Bi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of qr)ws(t[e])&&(t[e]=Zr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Xr&&(Xr=rs.now()),to[t]=t.offset(Xr)),to[t]}(i);[n,r]=Lr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Es(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 Qr(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 Xr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return eo.invalid("invalid input");const n=Bi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Mr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Ar||t>Ar?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:Bi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:Bi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=Bi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e),n=Bs(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new $e("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new $e("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=$r,v=Hr,g=ms(g,r,o)):u?(p=Yr,v=Br,g=vs(g)):(p=qr,v=Zr);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=Rs(t.weekNumber,1,zs(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=Rs(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=Lr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Hn],[Wn,Bn],[Un,qn],[Zn,$n])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,En])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,jn],[Fn,jn],[Ln,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Jn,Hn],[Gn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new He(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=xr(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Xr=void 0,to={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?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?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Er(this,{ts:a}),Er(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=Bi(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Lr(i,e,t)}return Er(this,{ts:s,zone:t})}return eo.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Er(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=Bs(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new $e("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new $e("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Er(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Er(this,jr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Er(this,jr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():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 ur.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||eo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Je("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(){const t=["20UsmTwS","2WfEPBw","1483456SwaPOI","month","413666sFMkML","339804PgmrvY","startOf","7GqjENS","setLocale","year","563538uojDvO","hasSame","weekdayLong","166671BLwvUo","84GVOfOy","monthLong","minus","222147fFTqnv","5xCZRLO","day","toRelativeCalendar","fromJSDate","toJSDate","week","local","175151kcPiVB"];return(so=function(){return t})()}function no(t,e){const i=so();return(no=function(t,e){return i[t-=106]})(t,e)}function ro(t,e){const i=no,s=eo[i(117)](t)[i(130)](e),n=eo[i(120)](),r=n[i(112)]({days:1})[i(128)](i(115));let o,a;return s[i(107)](n,i(115))?(o=s[i(128)](i(115))[i(118)](),a=s[i(116)]()):s[i(107)](r,i(115))?(o=r[i(118)](),a=s[i(116)]()):s[i(107)](n,i(119))?(o=s[i(128)](i(119))[i(118)](),a=s[i(108)]||""):s[i(107)](n,i(131))?(o=s[i(128)](i(125))[i(118)](),a=s[i(111)]||""):(o=s[i(128)](i(131))[i(118)](),a=String(s[i(131)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(100122===parseInt(e(121))/1*(parseInt(e(123))/2)+-parseInt(e(109))/3+-parseInt(e(127))/4*(parseInt(e(114))/5)+-parseInt(e(106))/6*(-parseInt(e(129))/7)+parseInt(e(124))/8+-parseInt(e(113))/9*(-parseInt(e(122))/10)+-parseInt(e(126))/11*(parseInt(e(110))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(so);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;function co(t,e){const i=lo();return(co=function(t,e){return i[t-=487]})(t,e)}const uo=co;function lo(){const t=["48020aWYfBr","ck-revision-history-sidebar__time-period","2211HmEMoI","remove","div","removeRevision","startDate","1188HKxaqf","_requireRevisionName","1999711aNfduA","select","uiLanguage","revisionViews","localizedPeriodName","delegate","setTemplate","setName","ck-revision-history-sidebar__time-period__label","find","add","3278096HRuQLd","_revisionActions","254JuWLeh","1096MzsShW","ck-revision-history-sidebar__time-period__revisions","213372oNGcfA","span","3hXRcWF","56152gjQjeZ","createCollection","100DhhhdS","locale","addRevision","23488044dXWXxR"];return(lo=function(){return t})()}!function(t){const e=co,i=t();for(;;)try{if(534360===-parseInt(e(492))/1*(parseInt(e(491))/2)+parseInt(e(496))/3*(-parseInt(e(489))/4)+parseInt(e(499))/5*(-parseInt(e(494))/6)+parseInt(e(512))/7+-parseInt(e(497))/8*(-parseInt(e(510))/9)+parseInt(e(503))/10*(-parseInt(e(505))/11)+parseInt(e(502))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class ho extends ft.View{[uo(509)];[uo(515)];[uo(490)];[uo(511)];constructor(t,e,i,s){const n=uo;super(t);const r=ro(e,this[n(500)][n(514)])[n(516)];this[n(509)]=e,this[n(515)]=this[n(498)](),this[n(490)]=i,this[n(511)]=s,this[n(515)][n(517)](n(513)).to(this),this[n(515)][n(517)](n(519)).to(this),this[n(518)]({tag:n(507),attributes:{class:["ck",n(504)]},children:[{tag:n(495),attributes:{class:["ck",n(520)]},children:[{text:r}]},{tag:n(507),attributes:{class:["ck",n(493)]},children:this[n(515)]}]})}[uo(501)](t){const e=uo,i=new Ue(this[e(500)],t,this[e(490)],this[e(511)]);this[e(515)][e(488)](i)}[uo(508)](t){const e=uo,i=this[e(515)][e(487)]((e=>e.id===t.id));this[e(515)][e(506)](i)}}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(){const t=["5623355LJodWR","6YMqQoj","content","6NzXcQH","41559639UHiTbU","span","36WWlBdf","1LDVAuj","div","4251702bFZcUi","845336vjaIVy","11800640MBVjOA","Revision history","2197600qalSfD","114848BYVZRo","ck-reset_all","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","setTemplate"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=463]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(616756===-parseInt(e(477))/1*(parseInt(e(480))/2)+-parseInt(e(471))/3*(parseInt(e(464))/4)+parseInt(e(470))/5*(-parseInt(e(473))/6)+parseInt(e(479))/7+-parseInt(e(465))/8*(-parseInt(e(476))/9)+-parseInt(e(481))/10+parseInt(e(474))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);class go extends ft.View{constructor(t){const e=vo;super(t);const i=new ft.IconView;i[e(472)]=dt.IconHistory,this[e(469)]({tag:e(478),attributes:{class:["ck",e(466),e(468)]},children:[i,{tag:e(475),attributes:{class:["ck",e(467)]},children:[J(t,e(463))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=275]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(440365===-parseInt(e(292))/1*(-parseInt(e(281))/2)+-parseInt(e(278))/3+parseInt(e(321))/4*(-parseInt(e(319))/5)+-parseInt(e(294))/6+parseInt(e(326))/7*(parseInt(e(297))/8)+-parseInt(e(310))/9+parseInt(e(308))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class _o extends ft.View{[bo(285)];[bo(283)];[bo(276)];[bo(320)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(286)];this[n(285)]=this[n(304)](),this[n(285)][n(325)](n(306)).to(this),this[n(285)][n(325)](n(315)).to(this),this[n(283)]=e,this[n(276)]=i,this[n(320)]=s,this.on(n(306),((t,e)=>{const i=n;this[i(327)](i(323),e)})),this.on(n(315),((t,e)=>{const i=n;this[i(327)](i(313),e)})),this[n(279)](n(291),!1),this[n(329)]({tag:n(300),attributes:{class:["ck",n(324),n(316),n(298)]},children:[new go(t),{tag:n(300),attributes:{class:["ck",n(299),r.if(n(291),n(311),(t=>!t))]},children:this[n(285)]}]})}[bo(322)](){const t=bo;super[t(322)]();for(const e of this[t(283)])this[t(295)](e);this[t(283)].on(t(314),((e,i)=>{this[t(295)](i)})),this[t(283)].on(t(296),((e,i)=>{this[t(287)](i)}))}get[bo(275)](){const t=bo;return this[t(285)][t(307)]((e=>e[t(275)][t(307)]((t=>t))))[t(284)]()}[bo(312)](t){const e=bo;for(const i of this[e(275)])t&&t.id===i.id?i[e(306)]():i[e(293)]()}[bo(317)](t){const e=bo;for(const i of this[e(275)])t[e(328)]((({id:t})=>t===i.id))?i[e(303)]():i[e(302)]()}[bo(295)](t){const e=bo,i=ro(t[e(309)],this[e(290)][e(301)])[e(288)];let s=this[e(285)][e(305)](0);s&&s[e(288)][e(280)]()===i[e(280)]()||(s=new ho(this[e(290)],i,this[e(276)],this[e(320)]),this[e(285)][e(314)](s)),s[e(289)](t)}[bo(287)](t){const e=bo,i=ro(t[e(309)],this[e(290)][e(301)])[e(288)];this[e(282)](i)[e(277)](t)}[bo(282)](t){const e=bo;return this[e(285)][e(318)]((i=>i[e(288)][e(280)]()===t[e(280)]()))}}function Io(){const t=["selectRevision","revisionSetName","add","setName","ck-rounded-corners","highlightRevisions","find","39030QIEntQ","_requireRevisionName","296VTfPFn","render","revisionSelected","ck-reset","delegate","542143LcNDEk","fire","some","setTemplate","revisionViews","_revisionActions","removeRevision","920016CFBZwc","set","getTime","394hlFRVj","_getTimePeriodViewByStartDate","_revisions","flat","timePeriodViews","bindTemplate","_removeRevision","startDate","addRevision","locale","isEnabled","109SEDwge","deselect","2568030sqmIBl","_addRevision","remove","16LmPzbx","ck-revision-history-sidebar","ck-revision-history-sidebar__timeline","div","uiLanguage","unhighlight","highlight","createCollection","get","select","map","21220550IRVagH","createdAt","4911660nmeIqp","ck-disabled"];return(Io=function(){return t})()}const So=To;function Oo(){const t=["revisionHistory","render","data","select","3073LXWUrK","getRevision","_revisions","Compare against selected","map","_handleRevisionSelected","appendChild","selectRevision","isVisible","name","plugins","3jQdSyY","isOfficialPlugin","10446oNgQmD","_revisionsRepository","4747450PylWfn","highlightRevisions","2417060dJvNax","assign","config","getRevisionsInDiff","diff","isSelected","getIndex","207yYvzwP","revisionSetName","isReady","_handleRevisionSetName","getEarlierVisibleRevision","restoreRevision","Name this revision","revisionSelected","add","destroy","length","revisionViews","revisionHistory.revisionActions","getLaterVisibleRevision","11sBaluO","focus","remove","newRevisionId","_handleEditorDataReady","revisionHistory.viewerSidebarContainer","2736988BskOCY","setName","nameRevision","107312CPuvwQ","ready","timePeriodViews","RevisionsSidebar","locale","_sidebarView","get","bind","_createRevisionActions","Restore this revision","compareAgainstSelected","_revisionViewer","repository","805160nZhTvU","defaultRevisionActions","listenTo","init","restoreRevisionCallback","fieldView","pluginName","editor","availableRevisionActions","_handleDiffChange","isEnabled","760937HihSIA","element","compare","string","requires","revisionHistory.requireRevisionName","action","change:diff","isPremiumPlugin"];return(Oo=function(){return t})()}function To(t,e){const i=Oo();return(To=function(t,e){return i[t-=227]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(433830===parseInt(e(255))/1+parseInt(e(244))/2+parseInt(e(279))/3*(parseInt(e(228))/4)+-parseInt(e(285))/5+parseInt(e(281))/6*(-parseInt(e(268))/7)+parseInt(e(231))/8*(parseInt(e(292))/9)+-parseInt(e(283))/10*(parseInt(e(306))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class No extends U.Plugin{[So(242)];[So(282)];[So(236)];static[So(245)]=[So(241),So(297),So(230)];static[So(252)]=function(){const t=So;return{compareAgainstSelected:{name:t(271),action:({plugins:e},i)=>{const s=t,n=e[s(237)](te),r=n[s(243)];let o=n[s(289)][s(309)],a=i.id;r[s(291)](o)>r[s(291)](a)&&([o,a]=[a,o]),n[s(257)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(237)](te);return!(n[s(243)][s(288)](n[s(289)])[s(302)]>2||i[s(290)])}},restoreRevision:{name:t(240),action:(e,{id:i})=>{const s=t;e[s(287)][s(237)](s(264))[s(248)](i)},isVisible:({plugins:e},i)=>!!e[t(237)](te)[t(243)][t(305)](i.id)},nameRevision:{name:t(298),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(237)](te),o=r[n(243)][n(296)](i);r[n(257)](i,o),s[n(307)](),s[n(249)][n(267)]()}}}}();static get[So(250)](){return So(234)}static get[So(280)](){return!0}static get[So(263)](){return!0}static get[So(259)](){return[te]}constructor(t){const e=So;super(t),this[e(242)]=t[e(278)][e(237)](te),this[e(282)]=this[e(242)][e(243)],this[e(236)]=null}[So(247)](){const t=So,e=this[t(282)][t(270)],i=this[t(239)](),s=this[t(251)][t(287)][t(237)](t(227));this[t(236)]=new _o(this[t(251)][t(235)],e,i,this[t(251)][t(287)][t(237)](t(260))),this[t(236)].on(t(299),this[t(273)][t(238)](this)),this[t(236)].on(t(293),this[t(295)][t(238)](this)),this[t(236)][t(238)](t(254)).to(this[t(242)]),this[t(236)][t(233)].on(t(300),((e,i)=>{const s=t;i[s(303)].on(s(300),((t,e)=>{const i=s;e[i(238)](i(254),i(294)).to(this[i(242)])}))})),this[t(236)][t(265)](),this[t(246)](this[t(251)][t(266)],t(232),this[t(310)][t(238)](this)),this[t(246)](this[t(242)],t(262),this[t(253)][t(238)](this)),s[t(274)](this[t(236)][t(256)])}[So(301)](){const t=So;this[t(236)][t(256)][t(308)](),this[t(236)][t(301)]()}[So(310)](){const t=So,e=this[t(282)][t(269)](0);if(e){const i=this[t(282)][t(296)](e.id);this[t(242)][t(257)](e,i)}}[So(273)](t,e){const i=So,s=this[i(282)][i(269)](e.id),n=this[i(282)][i(296)](s.id);this[i(242)][i(257)](s,n)}[So(295)](t,e){const i=So;this[i(282)][i(269)](e.id)[i(229)](e[i(277)])}[So(253)](t,e,i){const s=So,n=this[s(282)][s(288)](i);n[s(302)]>2?(this[s(236)][s(284)](n),this[s(236)][s(275)](null)):(this[s(236)][s(284)]([]),this[s(236)][s(275)](n[0]))}[So(239)](){const t=So,e=this[t(251)],i=No[t(252)],s=e[t(287)][t(237)](t(304))||No[t(245)];if(s[t(302)])return s[t(272)]((s=>{const n=t,r=n(258)==typeof s?Object[n(286)]({},i[s]):s;return r[n(261)]=r[n(261)][n(238)](this,e),r[n(276)]&&(r[n(276)]=r[n(276)][n(238)](this,e)),r}))}}const xo=No,Ro=Ao;function Ao(t,e){const i=Mo();return(Ao=function(t,e){return i[t-=174]})(t,e)}function Mo(){const t=["limiterElement","viewportOffset","7202766vuyHOf","834659MOTUzT","rootName","5LXpgaP","attachDomRoot","toolbar","9064165FNdkBl","3232cNbXEB","isFocused","focusTracker","36wsxjCI","view","detachDomRoot","186778vIYdek","destroy","bind","name","_toolbarConfig","1137590whrXNb","restore","get","fillFromConfig","replace","render","editing","stickyPanel","editor","componentFactory","_view","_elementReplacer","16VmjcaZ","3176692SYllYp","init","fire","viewportTopOffset","element","isActive","addToolbar","getRoot","setEditableElement","ready","document","editable","config","_initToolbar","1788WMBaiV"];return(Mo=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(670507===parseInt(e(194))/1+-parseInt(e(188))/2*(parseInt(e(178))/3)+-parseInt(e(212))/4+-parseInt(e(184))/5*(-parseInt(e(181))/6)+-parseInt(e(182))/7*(parseInt(e(211))/8)+-parseInt(e(191))/9*(-parseInt(e(199))/10)+parseInt(e(187))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Vo extends ft.EditorUI{[Ro(209)];[Ro(198)];[Ro(210)];get[Ro(192)](){return this[Ro(209)]}constructor(e,i){const s=Ro;super(e),this[s(209)]=i,this[s(198)]=(0,ft.normalizeToolbarConfig)(e[s(176)][s(201)](s(186))),this[s(210)]=new t.ElementReplacer}get[Ro(216)](){const t=Ro;return this[t(192)][t(216)]}[Ro(213)](t){const e=Ro,i=this[e(207)],s=this[e(192)],n=i[e(205)][e(192)],r=s[e(175)],o=n[e(174)][e(219)]();r[e(197)]=o[e(183)],s[e(204)]();const a=r[e(216)];this[e(220)](r[e(197)],a),s[e(175)][e(196)](e(189)).to(this[e(190)]),n[e(185)](a),this[e(210)][e(203)](t,this[e(216)]),this[e(177)](),this[e(214)](e(221))}[Ro(195)](){const t=Ro;super[t(195)]();const e=this[t(192)],i=this[t(207)][t(205)][t(192)];this[t(210)][t(200)](),i[t(193)](e[t(175)][t(197)]),e[t(195)]()}[Ro(177)](){const t=Ro,e=this[t(192)];e[t(206)][t(196)](t(217)).to(this[t(190)],t(189)),e[t(206)][t(179)]=e[t(216)],e[t(206)][t(196)](t(215)).to(this,t(180),(({top:t})=>t)),e[t(186)][t(202)](this[t(198)],this[t(208)]),this[t(218)](e[t(186)])}}var Do=i(161),Eo={attributes:{"data-cke":!0}};Eo.setAttributes=wt(),Eo.insert=kt().bind(null,"head"),Eo.domAPI=gt(),Eo.insertStyleElement=It();pt()(Do.A,Eo);Do.A&&Do.A.locals&&Do.A.locals;var Co=Fo;function Fo(t,e){var i=Lo();return(Fo=function(t,e){return i[t-=423]})(t,e)}function Lo(){var t=["top","6166480NnVPdC","editable","16dtJIJw","10pYDSmE","shouldToolbarGroupWhenFull","18YlMZBE","2370683rcPtzN","stickyPanel","toolbar","add","368814rekSVH","104072CgDJlv","main","577960LfcYHT","content","60678dpTBLA","6015690TIouBG","_editable","render"];return(Lo=function(){return t})()}!function(t){for(var e=Fo,i=t();;)try{if(360750===-parseInt(e(424))/1+-parseInt(e(426))/2*(-parseInt(e(436))/3)+parseInt(e(442))/4+parseInt(e(434))/5*(parseInt(e(441))/6)+-parseInt(e(437))/7*(parseInt(e(433))/8)+parseInt(e(427))/9+parseInt(e(431))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends ft.BoxedEditorUIView{[Co(428)];[Co(438)];[Co(439)];get[Co(432)](){return this[Co(428)]}constructor(t,e,i={}){var s=Co;super(t),this[s(438)]=new ft.StickyPanelView(t),this[s(439)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(435)]}),this[s(428)]=new ft.InlineEditableUIView(t,e)}[Co(429)](){var t=Co;super[t(429)](),this[t(438)][t(425)][t(440)](this[t(439)]),this[t(430)][t(440)](this[t(438)]),this[t(423)][t(440)](this[t(432)])}}function Po(t,e){const i=Wo();return(Po=function(t,e){return i[t-=143]})(t,e)}const zo=Po;function Wo(){const t=["2685gkaSPR","locale","2692930XkRuZx","initialData","_ui","11946040eayKGu","createRoot","init","destroy","updateSourceElement","get","2490789qzDgYe","model","4lVbHBR","view","9kCbyWv","1446qeBARE","1486248gNaNkS","443392eauMUo","5160323vnheAc","config","document","fire","data","initPlugins","sourceElement","ready","editing","create"];return(Wo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(954053===-parseInt(e(153))/1+-parseInt(e(154))/2+-parseInt(e(147))/3*(-parseInt(e(149))/4)+-parseInt(e(165))/5*(parseInt(e(152))/6)+parseInt(e(155))/7+parseInt(e(170))/8+-parseInt(e(151))/9*(parseInt(e(167))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,U.ElementApiMixin)(U.Editor)){[zo(169)];get ui(){return this[zo(169)]}constructor(t,e){const i=zo;super(e),this[i(161)]=t,this[i(148)][i(157)][i(171)]();const s=new jo(this[i(166)],this[i(163)][i(150)],{shouldToolbarGroupWhenFull:!0});this[i(169)]=new Vo(this,s)}[zo(144)](){const t=zo;return this[t(145)](),this.ui[t(144)](),super[t(144)]()}static async[zo(164)](t,e){const i=zo,s=new this(t,e);return await s[i(160)](),await s.ui[i(143)](t),await s[i(159)][i(143)](s[i(156)][i(146)](i(168))||""),s[i(158)](i(162)),s}}const Zo=Bo;function Ho(){const t=["revisionHistory.viewerContainer","none","revisionHistory.editorContainer","model","join","revisionHistory.restoreRevisionCallback","data","getRoot","catch","RevisionViewerIntegration","Restored","18CSaBSD","end","revisionHistory.showRevisionViewerCallback","isAttached","756852aJGMwo","161361vUmHec","pluginName","getMarkersGroup","users","long","removeSelectionAttribute","revision-history-missing-configuration","_cleanUp","RevisionsRepository","then","getRevisionRootsAttributes","insert","rootName","selection","RevisionTracker","bind","remove","revision-history-viewer-opened","addRoot","Dialog","revisionHistory.viewerEditorElement","isReady","destroy","set","showRevisionViewerCallback","Annotations","_enhanceShowRevisionViewerCallback","includes","refreshVisibility","init","from","_restoreRevision","RevisionViewer","indexOf","error","fromCharCode","revisionHistory.closeRevisionViewerCallback","keys","get","locale","commands","restrictedEditingException","document","uiLanguage","numeric","creator","revisionHistory.requireRevisionName","getRevisionData","1040217KGkiAU","translations","markers","390cmxCzm","createRangeIn","create","refreshPositioning","PaginationLookup","enableReadOnlyMode","addRevisionData","getRevision","2775296zhCVqW","5538550uhfcib","RevisionHistory","has","restoreRevision","update","toJSON","lazyRoots","roots","createdAt","hide","fromVersion","exitToEditing","editor","define","getAttributeKeys","_update","plugins","Autosave","isOpen","addUser","_showRevisionViewer","repository","block","_viewerEditor","2NBWJOh","isAnonymous","$graveyard","toLocaleDateString","RestrictedEditingMode","revisionHistory","save","_recalculatePageBreaks","closeRevisionViewerCallback","config","adapter","parse","toolbar","requires","_enhanceCloseRevisionViewerCallback","changesNavigation","name","_getRevisionViewerEditorConfig","detachRoot","change","RevisionHistoryUI","toVersion","removeMarker","setAttribute","isReadOnly","setSelection","style","getUser","display","result","isOfficialPlugin","isEnabled","_closeRevisionViewer","Users","map","2208983QGfezN","6849096DBUvrn","push","disableReadOnlyMode","enqueueChange","removeAttribute","getRevisions","saveRevision","isPremiumPlugin","toLocaleTimeString"];return(Ho=function(){return t})()}function Bo(t,e){const i=Ho();return(Bo=function(t,e){return i[t-=368]})(t,e)}!function(t){const e=Bo,i=t();for(;;)try{if(593158===parseInt(e(449))/1*(parseInt(e(485))/2)+-parseInt(e(400))/3+-parseInt(e(460))/4+parseInt(e(461))/5+parseInt(e(396))/6*(parseInt(e(375))/7)+-parseInt(e(376))/8+-parseInt(e(401))/9*(parseInt(e(452))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);const qo=[Zo(505),Zo(489)];class $o extends U.Plugin{[Zo(369)];static get[Zo(402)](){return Zo(394)}static get[Zo(370)](){return!0}static get[Zo(383)](){return!0}constructor(t){const e=Zo;function i(t){const e=Bo;return t[e(374)]((t=>String[e(436)](t)))[e(389)]("")}super(t),this[e(369)]=e(397),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends U.Plugin{[Zo(484)];static get[Zo(402)](){return Zo(462)}static get[Zo(370)](){return!0}static get[Zo(383)](){return!0}static get[Zo(498)](){return[rt,Ct]}constructor(e){const i=Zo;if(super(e),!this[i(473)][i(494)][i(439)](i(490)))throw new t.CKEditorError(i(407),this);this[i(484)]=null,this[i(473)][i(494)][i(474)](i(398),(t=>this[i(481)]({...t,translations:this[i(473)][i(440)][i(450)]}))),this[i(473)][i(494)][i(474)](i(437),(t=>this[i(372)](t))),this[i(473)][i(494)][i(474)](i(390),(t=>this[i(432)](t))),this[i(473)][i(494)][i(474)](i(447),!1),this[i(427)](),this[i(499)]()}set[Zo(495)](t){const e=Zo;this[e(473)][e(477)][e(439)](e(415))[e(495)]=t}get[Zo(495)](){const t=Zo;return this[t(473)][t(477)][t(439)](t(415))[t(495)]}[Zo(458)](t){const e=Zo;return this[e(473)][e(477)][e(439)](e(415))[e(458)](t)}[Zo(459)](t){const e=Zo;return this[e(473)][e(477)][e(439)](e(409))[e(459)](t)}[Zo(381)](t){const e=Zo;return this[e(473)][e(477)][e(439)](e(409))[e(381)](t||{toJSON:!1})}[Zo(502)](){const e=Zo,i=this[e(473)],s=(0,Z.sanitizeEditorConfig)(i,qo),n=i[e(477)][e(439)](e(415)),r=i[e(477)][e(439)](e(373))[e(404)];return s[e(497)]=[e(472),e(464),e(500)],delete s[e(467)],s[e(477)][e(377)]($o,te,ke,class extends U.Plugin{static get[e(498)](){return[te,e(373)]}[e(430)](){const s=e,o=this[s(473)][s(477)][s(439)](s(373));for(const t of r)t[s(486)]||o[s(512)](t.id)||o[s(480)](t);const a=n[s(482)][s(381)]();let c=null;const u=this[s(473)][s(477)][s(439)](s(433));u[s(495)]=n[s(495)],u[s(416)](s(371)).to(n),this[s(473)][s(441)][s(439)](s(464))[s(416)](s(371)).to(i,s(509),(t=>!t));for(const e of a){const i=null===e[s(446)];if(i&&e[s(506)]===e[s(471)])continue;const r=e[s(466)]();u[s(458)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(476)](r,o);else if(!o){const e=a[u(466)]();e.id=(0,t.uid)(),n[u(382)](e,a[u(506)])[u(410)]((t=>{c=t}))}}else e[u(476)](r,o)}))}}},xo),s}[Zo(427)](){const t=Zo,e=this[t(473)][t(494)][t(439)](t(490))[t(425)];this[t(473)][t(494)][t(424)](t(398),(async()=>{const i=t;this[i(473)][i(457)](i(418));const s=this[i(473)][i(477)][i(439)](i(415));if(this[i(473)][i(477)][i(463)](i(478))){const t=this[i(473)][i(477)][i(439)](i(478));await t[i(491)]()}else await s[i(465)]();if(this[i(473)][i(477)][i(463)](i(456))&&this[i(473)][i(477)][i(439)](i(456))[i(492)](),this[i(473)][i(477)][i(463)](i(420))){const t=this[i(473)][i(477)][i(439)](i(420));t[i(479)]&&t[i(470)]()}const n=this[i(502)]();return e(n)[i(410)]((t=>{const e=i;return this[e(484)]=t,this[e(473)][e(477)][e(463)](e(426))&&this[e(473)][e(477)][e(439)](e(426))[e(429)](),t}))[i(393)]((t=>(console[i(435)](t),this[i(473)][i(378)](i(418)),null)))}))}[Zo(499)](){const t=Zo,e=this[t(473)][t(494)][t(439)](t(490))[t(493)];this[t(473)][t(494)][t(424)](t(437),(()=>(this[t(473)][t(477)][t(463)](t(456))&&this[t(473)][t(477)][t(439)](t(456))[t(492)](),this[t(484)][t(477)][t(439)](t(433))[t(408)](),e(this[t(484)])[t(410)]((()=>{const e=t;if(this[e(473)][e(378)](e(418)),this[e(484)]=null,this[e(473)][e(477)][e(463)](e(426))){const t=this[e(473)][e(477)][e(439)](e(426));t[e(429)](),t[e(455)]()}})))))}[Zo(481)](t){const e=Zo,i=this[e(473)][e(494)][e(439)](e(387)),s=this[e(473)][e(494)][e(439)](e(385)),n=this[e(473)][e(494)][e(439)](e(421));return Uo[e(454)](n,t)[e(410)]((t=>(s[e(511)][e(368)]=e(483),i[e(511)][e(368)]=e(386),t)))}[Zo(372)](t){const e=Zo,i=this[e(473)][e(494)][e(439)](e(387));return this[e(473)][e(494)][e(439)](e(385))[e(511)][e(368)]=e(386),i[e(511)][e(368)]="",t[e(423)]()}async[Zo(432)](t){const e=Zo,i=this[e(473)],s=this[e(484)][e(477)][e(439)](e(433)),n=i[e(477)][e(439)](e(415)),r=s[e(482)][e(459)](t);let o,a,c;try{o=await s[e(448)](r),a=await s[e(411)](r)}catch(t){return void console[e(435)](t)}i[e(388)][e(504)]((t=>{const s=e;for(const e of Array[s(431)](i[s(388)][s(451)][s(403)](s(442))))t[s(507)](e)})),s[e(422)]=!1,i[e(388)][e(379)]((t=>{const s=e;t[s(510)](null),t[s(406)](i[s(388)][s(443)][s(414)][s(475)]());const n=Object[s(438)](o);for(const e of i[s(388)][s(443)][s(468)])s(487)!=e[s(413)]&&e[s(399)]()&&!n[s(428)](e[s(413)])&&t[s(503)](e);for(const e of n){let n=i[s(388)][s(443)][s(392)](e);n&&n[s(399)]()||(n=t[s(419)](e));const r=a[e],c=Object[s(438)](r),u=o[e];for(const e of n[s(475)]())c[s(428)](e)||t[s(380)](e,n);for(const i of c)t[s(508)](i,a[e][i],n);t[s(417)](t[s(453)](n)),t[s(412)](i[s(391)][s(496)](u,n),n,0)}}));const u=J(i[e(440)],e(395));return c=r[e(501)]?-1==r[e(501)][e(434)](u)?u+": "+r[e(501)]:r[e(501)]:u+": "+r[e(469)][e(488)](i[e(440)][e(444)],{month:e(405),day:e(445)})+", "+r[e(469)][e(384)](i[e(440)][e(444)],{hour:e(445),minute:e(445)}),await n[e(382)]({name:c}),s[e(422)]=!0,i[e(494)][e(439)](e(490))[e(493)]()}}function Jo(t,e){var i=Go();return(Jo=function(t,e){return i[t-=329]})(t,e)}function Go(){var t=["5177390DblPWL","579539cNlFTE","2878425kceEhN","1183835ocywgr","27NZAGWh","4910700ecdrBd","20BiiPMD","2547828IzSCgw","1165927RtpKFm","16XHECCU"];return(Go=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(691502===-parseInt(e(333))/1+-parseInt(e(329))/2+parseInt(e(334))/3+parseInt(e(338))/4*(parseInt(e(335))/5)+-parseInt(e(337))/6+parseInt(e(330))/7*(-parseInt(e(331))/8)+parseInt(e(336))/9*(parseInt(e(332))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(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:()=>z,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>rt,RevisionViewer:()=>te,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>Y,RevisionsSidebar:()=>xo});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function N(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M,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]=N(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,N(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(N(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(E=t,ArrayBuffer.isView(E)&&!(E instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=N(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),x(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),x(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),x(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,x(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),x(e,t,i,s,A),e}return t}function x(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]=N(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return N(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 x(e,t),e}case u:{const e={};return x(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}const M=/^(?:0|[1-9]\d*)$/;function 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 M.test(t)}}function D(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 V(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?V(e)?F(t,D(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=W();return(P=function(t,e){return i[t-=289]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(846342===parseInt(e(294))/1+parseInt(e(300))/2*(-parseInt(e(315))/3)+parseInt(e(316))/4+parseInt(e(312))/5+-parseInt(e(317))/6*(parseInt(e(306))/7)+parseInt(e(295))/8+parseInt(e(311))/9*(-parseInt(e(289))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[L(298)];[L(291)];[L(296)];[L(292)];[L(305)];[L(293)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(298)]=e[i(298)]||null,this[i(291)]=e[i(291)]||[],this[i(296)]=e[i(296)]||null,this[i(292)]=e[i(292)]||0,this[i(305)]=e[i(305)]||0,this[i(313)](i(314),e[i(314)]||""),this[i(313)](i(307),e[i(307)]||new Date),this[i(313)](i(304),e[i(304)]||{})}[L(301)](t){this[L(309)]({name:t})}[L(308)](t,e){const i=L,s=R(this[i(304)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(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(309)]({attributes:s})}[L(303)](t){const e=L,i=R(this[e(304)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&V(e))return j(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(309)]({attributes:i})}[L(309)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(314),i(307),i(296),i(291),i(304),i(292),i(305),i(310)];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(291)]&&(n[i(297)]=n[i(291)][i(299)]((t=>t.id)),delete n[i(291)]),this[i(302)](i(309),n,e))}[L(290)](){const t=L;return{id:this.id,name:this[t(314)],creatorId:this[t(298)]?this[t(298)].id:null,authorsIds:this[t(291)][t(299)]((t=>t.id)),diffData:this[t(296)],createdAt:this[t(307)],attributes:this[t(304)],fromVersion:this[t(305)],toVersion:this[t(292)]}}}function W(){const t=["6astTUQ","30BiptrB","toJSON","authors","toVersion","model","1639765fTZfWK","9101040AFeVBv","diffData","authorsIds","creator","map","1790958PHEymi","setName","fire","removeAttribute","attributes","fromVersion","2326100pNlMef","createdAt","setAttribute","_update","creatorId","8730963bFqFQP","5030250lMoHMj","set","name","3UyRFBu","4803988JtMNWp"];return(W=function(){return t})()}var U=i(782),H=i(211),Z=i(783);function q(t,e){const i=B();return(q=function(t,e){return i[t-=342]})(t,e)}function B(){const t=["name","913WOjpuX","getRevisions","83984dxsZEM","4hYLxwm","pluginName","getEarlierVisibleRevision","2664935jDvlRf","push","isOfficialPlugin","44810EYgpPq","href","toJSON","createdAt","getIndex","editor","13695264wpWSBa","RevisionsRepository","newRevisionId","toVersion","createRevision","plugins","map","earlier","later","length","creatorId","oldRevisionId","attributes","_revisions","getUser","fromCharCode","getRevisionsInDiff","54CnrsAj","isNaN","fromVersion","get","Users","addRevision","505JMklXN","reverse","authorsIds","getRevisionsIterator","from","join","getRevision","getLaterVisibleRevision","2556SvRDyC","afterInit","353103JnvNxL","45056EPpTwb","data","diffData","isPremiumPlugin","add","requires","8KPTUuB"];return(B=function(){return t})()}const $=q;!function(t){const e=q,i=t();for(;;)try{if(247227===parseInt(e(391))/1*(-parseInt(e(387))/2)+parseInt(e(380))/3*(parseInt(e(392))/4)+-parseInt(e(370))/5*(-parseInt(e(378))/6)+-parseInt(e(395))/7+parseInt(e(381))/8*(parseInt(e(364))/9)+-parseInt(e(398))/10*(parseInt(e(389))/11)+parseInt(e(347))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[$(360)];static get[$(386)](){return[H.Users]}static get[$(393)](){return $(348)}static get[$(397)](){return!0}static get[$(384)](){return!0}get[$(356)](){const t=$;return this[t(360)][t(356)]}constructor(e){const i=$;super(e),this[i(360)]=new t.Collection}[$(379)](){!async function(e){const i=k([111,49,78,117,65,88,87,106,112,51,101,103,118,105,52,53,69,67,68,115,54,90,107,85,80,57,104,120,50,89,77,71,66,99,102,108,76,73,83,72,100,56,74,82,114,55,70,119,109,79,116,48,121,98,110,97,86,75,81,84,113,122]),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(365)](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=q;return t[e(353)]((t=>String[e(362)](t)))[e(375)]("")}!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:1742083200;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(342)]);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)}[$(351)](t){const e=$,i=this[e(346)][e(352)][e(367)](e(368));return new z({id:t.id,name:t[e(388)],creator:t[e(357)]?i[e(361)](t[e(357)]):null,diffData:t[e(383)]||t[e(382)],authors:t[e(372)][e(353)]((t=>i[e(361)](t))),createdAt:new Date(t[e(344)]),attributes:t[e(359)],fromVersion:t[e(366)],toVersion:t[e(350)]})}[$(369)](t,e=0){const i=$;this[i(360)][i(385)](t,e)}[$(376)](t){const e=$;return this[e(360)][e(367)](t)}[$(390)](t={toJSON:!1}){const e=$,i=Array[e(374)](this[e(360)]);return i[e(371)](),t[e(343)]?i[e(353)]((t=>t[e(343)]())):i}[$(345)](t){const e=$;return this[e(360)][e(345)](t)}[$(394)](t){const e=$,[,i]=this[e(373)](t,{direction:e(354)});return i}[$(377)](t){const e=$,[,i]=this[e(373)](t,{direction:e(355)});return i}[$(363)](t){const e=$,i=[];for(const s of this[e(373)](t[e(349)]))if(i[e(396)](s),s.id===t[e(358)])break;return i}*[$(373)](t,{direction:e=$(354),filter:i=()=>!0}={}){const s=$,n=s(354)===e?1:-1;let r=this[s(360)][s(367)](t),o=this[s(345)](r);for(yield r;r;){if(o+=n,r=this[s(376)](o),!r)return;i(r)&&(yield r)}}}function J(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function G(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return X(t,e,r,o)}return X(t,e,r,o)}function X(t,i,s,N){if(Object.is(t,i))return!0;let x=n(t),A=n(i);if(x===u&&(x=v),A===u&&(A=v),x!==A)return!1;switch(x){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(M=s)||Number.isNaN(R)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,M;const E=(s=s??new Map).get(t),D=s.get(i);if(null!=E&&null!=D)return E===i;s.set(t,i),s.set(i,t);try{switch(x){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(n,i.get(e),e,t,i,s,N))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>K(o,e,void 0,t,i,s,N)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,N))return!1;return!0;case p:return t.byteLength===i.byteLength&&X(new Uint8Array(t),new Uint8Array(i),s,N);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&X(new Uint8Array(t),new Uint8Array(i),s,N);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(X(t.constructor,i.constructor,s,N)||G(t)&&G(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!K(o,i[r],r,t,i,s,N))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function Q(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,Q)}const et=it;function it(t,e){const i=st();return(it=function(t,e){return i[t-=364]})(t,e)}function st(){const t=["revisionHistoryLicenseKeyNotAllowed","_licenseKeyCheckInterval","revisionHistoryLicenseKeyExpired","useFillerType","_continueCurrentRevision","1370EUuLUE","toModel","data-revision-","finally","attachChange","stickiness","repository","createPositionFromPath","version","1086560zviNKH","removeRootAttribute","_getViewJson","_handleOperation","_addPendingAction","evaluationLimit","nodes","_diffRootsAttributes","type","insertion","getData","140400EAcude","delete","_handleRootOperation","attributesAfter","_initialRevisionId","getAttributes","dataDowncast","afterInit","getTime","1724679GlAfxV","range","_isPendingUpdate","_isInit","_loadRevisionData","getUser","_handleMarkerOperation","_transformMarkers","dataToMarker","remove","forEach","model","item","reverse","$graveyard","conversion","_processRootBeforeSave","targetPosition","_update","5ejCoNn","diffData","buildRevisionData","$text","string","reinsert","trim","parse","_prepareViewToSave","_removeRevisionMarkers","affectsData","_setConversion","get","reInit","Empty document","stringify","attributes","vid","revision-end","merge","childCount","getAncestors","data","oldRange","getTransformedByOperation","initial","_createInitialRevision","authorsIds","offset","from","changeRootAttribute","getRevisionRootsAttributes","marked","revisionHistoryLicenseKeyInvalid","PENDING_ACTION_REVISION_HISTORY","Initial revision","upcast","position","_markChanges","sourcePosition","userId","sort","_clone","_setAttribute","vid_start","getRevisionDocumentData","setRevisionData","_applyOperations","_createCurrentRevision","toVersion","addRootAttribute","element","fromEntries","getChildren","_showLicenseError","revisionHistoryLicenseKeyUsageLimit","attributesBefore","createRangeIn","_getFromVersion","_handleRootAttributeOperation","_baseRootsAttributes","elementEnd","config","add","_handleMoveOperation","1096444rzfsFW","destroy","getRevision","createPositionAfter","default","revisionHistoryLicenseKeyDomainLimit","insertionPosition","values","_savedMetaData","resolve","createRange","getRevisions","children","offsetSize","end","_diffRoots","Users","getRoot","_lastFrom","markers","featureNotAllowed","fromVersion","history","requires","rootsAttributes","getRootNames","push","revision","shift","nodeAfter","bind","rootName","addRevisionData","elementStart","set","text","path","currentRevision","domainLimit","vid_end","_generateTape","isEqual","addRevision","_loadedStateData","_replaceEditorDataWithRevisionData","PendingActions","revisionHistory.resumeUnsavedRevision","_handleMergeOperation","marker","init","_startingRevisionId","toData","markerToData","deletion","toView","setSource","hasContent","isEnabled","_calculateMetaData","_baseRoots","initialData","revisionHistoryLicenseKeyValid","_removeMetaData","getLatestVersion","_operations","view","isPremiumPlugin","length","_revisionDataBuilder","previousPosition","insert","splitPosition","plugins","RealTimeCollaborationClient","_handleInsertOperation","_loadState","key","define","creatorId","keys","filter","_revisionId","editing","_removePendingAction","getWalker","ready","keepParagraph","includes","authors","_bufferUpdate","_findInsertionIndex","getAttribute","addRoot","getIndex","expired","revision-start","updateRevisions","move","_touched","createdAt","invalid","_baseIdsRoots","max","paragraph","NEGATIVE_INFINITY","loadState","start","adapter","update","root","createRevision","_touchedRoots","name","getOperation","slice","getNodeByPath","documentFragment","source","_startingVersion","_cloneOperation","roots","_bufferedUpdates","clone","usageLimit","_insertChild","3JhsRBD","then","_saveMetaData","_makeIdsRoot","has","revision:","RevisionsRepository","RevisionHistory","_getState","for","createPositionAt","_markers","getMovedRangeStart","8503owjccR","newValue","_pendingAction","_fixRange","processor","tableCell","clear","licenseKey","createPositionBefore","_idsRoots","insertions","creator","split","document","editor","_execute","baseVersion","pluginName","sendBufferedUpdates","_getPreviousFrom","_fixOperation","615918XRMJey","some","getChild","_createFromRanges","map","newRange","_touchedMarkers","getRange","revisionHistoryLicenseKeyEvaluationLimit","_isAttached","editor-initial-data-replaced-with-revision-data","graveyardPosition","RevisionTracker","deletions","collaboration.channelId","locale","_source","saveRevision","_fixPosition","getCurrentRevisionId","getOperations","isOfficialPlugin","_getVidAttributeName","howMany","_handleSplitOperation","revisionHistoryLicenseKeyTrialLimit","_reset","startsWith","isReady","_lastTo","403150BelTwq","_makeRevision","_appendChild","detachRoot","_getBaseVids","parent","_copyMarkers","_authorId","_makeModelFromViewString","21zTbypJ","isAdd","size","isAttached","trialLimit","find"];return(st=function(){return t})()}!function(t){const e=it,i=t();for(;;)try{if(190005===-parseInt(e(505))/1+-parseInt(e(465))/2*(parseInt(e(401))/3)+parseInt(e(598))/4*(parseInt(e(533))/5)+parseInt(e(435))/6*(parseInt(e(474))/7)+-parseInt(e(494))/8+parseInt(e(514))/9+parseInt(e(485))/10*(-parseInt(e(414))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);const nt={c:Z.ViewContainerElement,a:Z.ViewAttributeElement,e:Z.ViewEmptyElement,r:Z.ViewRawElement,u:Z.ViewUIElement};class rt extends U.Plugin{[et(421)];[et(481)];[et(383)];[et(635)];[et(491)];[et(666)];[et(451)];[et(509)];[et(397)];[et(416)];[et(484)];[et(394)];[et(641)];static get[et(431)](){return et(447)}static get[et(456)](){return!0}static get[et(664)](){return!0}static get[et(621)](){return[H.Users,Y,U.PendingActions]}constructor(e){const i=et;super(e),this[i(383)]=null,this[i(635)]=null,this[i(666)]=new at(this[i(428)]),this[i(509)]=this[i(428)][i(595)][i(545)](i(449))||i(558),this[i(397)]=new Map,this[i(641)]=null;const s=(0,t.uid)();this[i(451)]={history:this[i(428)][i(525)][i(427)][i(620)],getLatestVersion:()=>Promise[i(607)](this[i(428)][i(525)][i(427)][i(493)]),getCurrentRevisionId:()=>s},this[i(632)](i(463),!1),this[i(632)](i(655),!0),this[i(632)](i(516),!1),this[i(428)][i(595)][i(675)](i(644),!0),this[i(428)][i(529)][i(410)](i(569))[i(522)]({view:i(625)})}[et(647)](){const t=et;this[t(491)]=this[t(428)][t(670)][t(545)](t(407)),this[t(544)](),this[t(428)][t(555)].on(t(683),(()=>{const e=t,i=this[e(491)][e(600)](0),s=i&&null===i[e(425)]?i:null;if(this[e(484)]=!!s&&this[e(428)][e(595)][e(545)](e(644)),this[e(428)][e(670)][e(405)](e(671))){const t=this[e(451)][e(454)](),n=this[e(491)][e(600)](t);if(n)this[e(394)]=n[e(619)],this[e(484)]=!1;else{const t=this[e(451)][e(620)][e(662)][e(479)]((t=>!t[e(517)])),n=t?t[e(430)]:this[e(451)][e(620)][e(493)];i?(i[e(582)]<n&&i[e(532)]({toVersion:n}),this[e(484)]?(this[e(451)][e(454)]=()=>s.id,this[e(394)]=s[e(619)]):(this[e(394)]=i[e(582)],this[e(484)]=!1)):(this[e(394)]=n,this[e(484)]=!1)}}else s&&(this[e(428)][e(525)][e(427)][e(620)][e(493)]=Math[e(378)](s[e(582)],this[e(428)][e(525)][e(427)][e(620)][e(493)]),s[e(619)]===s[e(582)]?(0!==s[e(619)]&&(this[e(451)][e(454)]=()=>s.id),this[e(484)]=!1):this[e(484)]&&(this[e(451)][e(454)]=()=>s.id,this[e(394)]=s[e(619)])),this[e(484)]||(this[e(394)]=this[e(428)][e(525)][e(427)][e(493)]);this[e(666)][e(647)](this[e(451)][e(620)]),this[e(559)](this[e(394)]),this[e(581)](this[e(394)]),this[e(383)]&&this[e(432)]()})),this[t(628)](t(463)).to(this,t(516),(t=>!t)),this[t(421)]=this[t(428)][t(595)][t(545)](t(421));const e=this[t(428)];this[t(481)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(659)==r||i(566)==r||i(482)==r||i(603)==r||i(480)==r||i(443)==r||i(460)==r||i(588)==r){delete e[n],s=r,clearInterval(this[i(481)]),this[i(481)]=void 0;break}}i(566)==s&&e[i(587)](i(376)),i(482)==s&&e[i(587)](i(370)),i(603)==s&&e[i(587)](i(636)),i(480)==s&&e[i(587)](i(618),i(408)),i(443)==s&&e[i(587)](i(499)),i(460)==s&&e[i(587)](i(478)),i(588)==s&&e[i(587)](i(399))}),1e3)}async[et(512)](){const t=et;if(this[t(491)][t(665)]>0){const e=this[t(491)][t(600)](0),i=await this[t(578)](e),s=await this[t(564)](e);this[t(642)](i,s)}}[et(599)](){const t=et;super[t(599)](),this[t(481)]&&clearInterval(this[t(481)])}[et(653)](t){this[et(451)]=t}async[et(384)](){const t=et,e=await this[t(451)][t(661)]();if(e>this[t(635)][t(582)]){await this[t(673)]();const i=this[t(535)]({revision:this[t(635)],to:e});i[t(364)]=i[t(560)][t(439)]((e=>this[t(428)][t(670)][t(545)](t(614))[t(519)](e))),this[t(635)][t(532)](i)}}async[et(673)](){const t=et;this[t(484)]&&!this[t(641)]&&(await this[t(518)](this[t(635)]),this[t(666)][t(381)](this[t(635)]),this[t(641)]={fromVersion:this[t(635)][t(619)],authors:this[t(635)][t(364)][t(390)]()})}async[et(452)](e={},i=null){const s=et,n=[];await this[s(673)](),this[s(484)]=!1,i>this[s(635)][s(582)]&&(i=null),null===i&&(i=await this[s(451)][s(661)]());const r=this[s(591)](i),o=this[s(535)]({from:r,to:i});if(this[s(635)][s(582)]<i){const t=this[s(535)]({revision:this[s(635)],from:i,to:i});t[s(364)]=[],t[s(560)]=[],t.id=this[s(635)].id,this[s(635)][s(532)](t,!0),delete t[s(364)],n[s(624)](t)}e[s(676)]=this[s(428)][s(670)][s(545)](s(614)).me.id,e[s(388)]=e[s(388)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(630)](e);n[s(624)](e);const c=this[s(491)][s(369)](a);if(0!==c){const t=this[s(491)][s(600)](c-1);if(t[s(619)]!==i){const r=this[s(666)][s(504)](i,t[s(582)]),o={id:t.id,diffData:r[s(534)],authorsIds:r[s(560)],authors:r[s(560)][s(439)]((t=>this[s(428)][s(670)][s(545)](s(614))[s(519)](t))),fromVersion:i};t===this[s(635)]&&(o[s(375)]=new Date(e[s(375)][s(513)]()+10)),t[s(532)](o,!0),delete o[s(364)],n[s(624)](o)}}if(this[s(383)]){for(const t of n)this[s(365)](t.id,t,!0);this[s(432)]()}return a}[et(630)](t){const e=et,i=this[e(491)][e(386)](t);return this[e(383)]&&i.on(e(532),((t,i,s)=>{const n=e;s||(this[n(365)](i.id,i,!0),this[n(432)]())})),this[e(491)][e(640)](i,this[e(366)](i)),i}async[et(578)](t){const e=et;await this[e(518)](t);const i={};for(const s in t[e(534)]){if(t[e(534)][s][e(489)]&&!t[e(534)][s][e(489)][e(477)])continue;const n=this[e(542)](JSON[e(540)](t[e(534)][s][e(424)])),r=this[e(428)][e(680)][e(663)][e(427)],o=new Z.ViewDocumentFragment(r,n[e(439)]((t=>ot(t,this[e(428)]))));this[e(428)][e(555)][e(418)][e(483)](e(565)),i[s]=this[e(428)][e(555)][e(418)][e(649)](o),this[e(428)][e(555)][e(418)][e(483)](e(602))}return i}async[et(564)](t){const e=et;await this[e(518)](t);const i={};for(const s in t[e(534)])t[e(534)][s][e(489)]&&!t[e(534)][s][e(489)][e(477)]||(i[s]=t[e(534)][s][e(508)]||{});return i}[et(432)](){const t=et;if(0===this[t(397)][t(476)])return;if(this[t(516)])return;let e=Array[t(562)](this[t(397)][t(605)]());this[t(397)][t(420)]();for(let i=0;i<e[t(665)];i++){const s=e[i];let n=!1;for(const e of Object[t(677)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(678)]((t=>null!==t)),!e[t(665)])return;for(let i=0;i<e[t(665)];i++){const s=e[i];void 0!==s[t(619)]&&void 0===s[t(582)]&&(s[t(582)]=this[t(491)][t(600)](s.id)[t(582)]),void 0!==s[t(582)]&&void 0===s[t(619)]&&(s[t(619)]=this[t(491)][t(600)](s.id)[t(619)])}const i=this[t(428)][t(595)][t(545)](t(449));this[t(516)]=!0,this[t(498)](),this[t(383)][t(372)](e,i)[t(488)]((()=>{this[t(516)]=!1}))[t(402)]((e=>{const i=t;if(e)for(const t of e)this[i(579)]({id:t.id,createdAt:t[i(375)]});this[i(681)](),this[i(432)]()}))}[et(642)](e,i){const s=et;let n=this[s(428)][s(595)][s(545)](s(658)),r=this[s(428)][s(595)][s(545)](s(622));if(void 0===n){n={};for(const t of this[s(428)][s(525)][s(427)][s(623)]())n[t]=""}if(s(537)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(428)][s(525)][s(427)][s(623)]())r[t]={}}let o=!1;const a=Object[s(677)](n),c=Object[s(677)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(539)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(677)](r[t])[s(665)]>0){o=!0;break}}o||(o=c[s(436)]((t=>!this[s(428)][s(525)][s(427)][s(615)](t)))),o&&(0,t.logWarning)(s(445),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(428)][s(595)][s(632)](s(658),e),this[s(428)][s(595)][s(632)](s(622),i)}[et(498)](){const t=et;if(!this[t(416)]){const e=this[t(428)][t(670)][t(545)](t(643));this[t(416)]=e[t(596)](J(this[t(428)][t(450)],t(567)))}}[et(681)](){const t=et;this[t(416)]&&(this[t(428)][t(670)][t(545)](t(643))[t(523)](this[t(416)]),this[t(416)]=null)}[et(366)](t){const e=et,i=this[e(491)][e(609)]();i[e(527)]();let s=0;for(;s<i[e(665)];){const n=i[s];if(n===this[e(635)]){s++;continue}if(n.id===this[e(509)])break;const r=t[e(582)]-n[e(582)]||t[e(619)]-n[e(619)];if(r>0)break;if(r<0)s++;else{if(!t[e(425)]&&n[e(425)])break;if(n[e(425)]||!t[e(425)]){if(t[e(375)]>n[e(375)])break;s++}else s++}}return s}[et(579)](t){const e=et,i=this[e(491)][e(600)](t.id);if(t[e(375)]&&(t[e(375)]=new Date(t[e(375)])),t[e(560)]){const i=this[e(428)][e(670)][e(545)](e(614));t[e(364)]=t[e(560)][e(439)]((t=>i[e(519)](t)))}i[e(532)](t,!0)}[et(535)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(619)],i=null!==i?i:t[s(582)];const n=this[s(666)][s(504)](e,i),r={diffData:n[s(534)],authorsIds:n[s(560)],fromVersion:e,toVersion:i};if(!t||i!==t[s(582)]){const t=i-1,e=this[s(451)][s(620)][s(389)](t);r[s(375)]=e&&e[s(375)]||new Date}if(this[s(641)]&&e===this[s(641)][s(619)])for(const t of this[s(641)][s(364)])r[s(560)][s(685)](t.id)||r[s(560)][s(624)](t.id);return r}[et(518)](t){const e=et;if(!t||t[e(534)])return Promise[e(607)]();{const i=this[e(428)][e(595)][e(545)](e(449));return this[e(383)][e(600)]({channelId:i,revisionId:t.id})[e(402)]((i=>{const s=e;t[s(534)]=i[s(534)]}))}}[et(365)](t,e,i){const s=et;if(this[s(397)][s(405)](t)){const n=this[s(397)][s(545)](t);e=i?{...n,...e}:{...e,...n}}this[s(397)][s(632)](t,e)}[et(591)](t){const e=et,i=this[e(491)][e(609)]();i[e(527)](),i[e(626)]();const s=i[e(479)]((i=>i[e(582)]<=t))[e(582)];return s<this[e(394)]?this[e(394)]:s}[et(559)](t){const e=et,i=this[e(491)][e(600)](this[e(491)][e(665)]-1);if(i)this[e(509)]=i.id;else{const i=!this[e(428)][e(525)][e(427)][e(396)][e(479)]((t=>this[e(428)][e(525)][e(654)](t))),s=this[e(428)][e(670)][e(545)](e(614)).me.id,n=J(this[e(428)][e(450)],e(i?547:568));this[e(466)]({from:t,to:t,id:this[e(509)],name:n,creatorId:s})}}[et(581)](t){const e=et,i=this[e(451)][e(454)]();this[e(635)]=this[e(491)][e(600)](i),this[e(635)]||(this[e(635)]=this[e(466)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(466)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(535)]({from:e,to:i});o[r(388)]=t,o[r(676)]=s,o.id=n;const a=this[r(630)](o);return this[r(383)]&&this[r(365)](o.id,o,!0),a}[et(544)](){const t=et;this[t(428)][t(529)][t(410)](t(511))[t(650)]({model:t(625)})}[et(542)](t){const e=et;return(t=t[e(678)]((t=>!t[e(388)]||e(371)!==t[e(388)]&&e(551)!==t[e(388)])))[e(524)]((t=>{const i=e;i(537)!=typeof t&&(t[i(610)]=this[i(542)](t[i(610)]),t[i(549)]=t[i(549)][i(678)]((t=>!t[0][i(462)](i(487)))))})),t}}function ot(t,e){const i=et,s=e[i(680)][i(663)][i(427)];if(i(537)==typeof t)return new Z.ViewText(s,t);{const n=t[i(610)][i(439)]((t=>ot(t,e)));return new(nt[t[i(502)]]||Z.ViewElement)(s,t[i(388)],t[i(549)],n)}}class at{[et(428)];[et(393)];[et(606)];[et(616)];[et(464)];[et(412)];[et(613)];[et(501)];[et(657)];[et(593)];[et(423)];[et(377)];[et(374)];[et(441)];[et(387)];[et(679)];[et(648)];constructor(t){const e=et;this[e(428)]=t,this[e(606)]=new Map,this[e(616)]=-1,this[e(464)]=-1,this[e(412)]=new Map,this[e(613)]=new Map,this[e(501)]=new Map,this[e(657)]=new Map,this[e(593)]=new Map,this[e(423)]=new Map,this[e(377)]=new Map,this[e(374)]=new Map,this[e(441)]=new Map,this[e(387)]=new Map,this[e(679)]=1}[et(647)](t){const e=et;this[e(393)]=t;const i=new Map,s=new Map,n=this[e(428)][e(525)][e(427)][e(396)][e(439)]((t=>t[e(629)]));for(const t of n){const n=this[e(428)][e(525)][e(427)][e(615)](t),r=ct(n);i[e(632)](t,r),s[e(632)](t,Object[e(585)](n[e(510)]()))}const r=Array[e(562)](this[e(428)][e(525)][e(617)])[e(439)]((t=>[t[e(388)],t[e(442)]()])),o=this[e(393)][e(493)];this[e(403)](o,i,r,s),this[e(648)]=this[e(679)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(632)](t,i),c[e(632)](t,{})}this[e(403)](Number[e(380)],a,[],c)}[et(504)](t,e){const i=et;if(this[i(616)]===t&&this[i(464)]<=e)this[i(606)][i(476)]>1&&this[i(660)](this[i(464)]),this[i(580)](this[i(464)],e,!0);else{if(!this[i(606)][i(405)](t)){const e=this[i(433)](t);this[i(656)](e,t,!1)}this[i(656)](t,e,!0)}return this[i(616)]=t,this[i(464)]=e,this[i(409)]()}[et(381)](t){const e=et;this[e(461)](),this[e(616)]=t[e(619)],this[e(464)]=t[e(582)];for(const i in t[e(534)]){const s=t[e(534)][i][e(489)],n=R(t[e(534)][i][e(589)])||{},r=this[e(473)](t[e(534)][i][e(448)]);r[e(629)]=i,r[e(444)]=!s||!s[e(477)],r[e(477)]=()=>r[e(444)],this[e(657)][e(632)](i,r),this[e(593)][e(632)](i,n),s&&this[e(387)][e(632)](i,s);const o=this[e(404)](r);this[e(377)][e(632)](i,o);for(const[t,i]of r[e(617)]){if(!t[e(462)](e(406)))continue;const s=t[e(426)](":")[2];for(const t of i[e(682)]({singleCharacters:!0})){const i=this[e(457)](t),n=e(594)==t[e(502)]?t[e(667)][e(634)][e(390)](0,-1):t[e(667)][e(634)],r=o[e(391)](n)[e(367)](i);this[e(374)][e(632)](r,{userId:s})}}}this[e(648)]=this[e(679)];const i=[...Array(this[e(679)])[e(677)]()][e(390)](1)[e(678)]((t=>!this[e(374)][e(405)](t)));let s=0;const n=new Map;for(const r in t[e(534)]){const o=t[e(534)][r][e(489)],a=R(t[e(534)][r][e(508)])||{},c=this[e(473)](t[e(534)][r][e(424)]);c[e(629)]=r,c[e(444)]=!o||o[e(477)],c[e(477)]=()=>c[e(444)],this[e(613)][e(632)](r,c),this[e(501)][e(632)](r,a);const u=this[e(404)](c,Number[e(380)]);this[e(423)][e(632)](r,u),n[e(632)](r,c[e(477)]()?a:{});for(const[t,i]of c[e(617)]){if(!t[e(462)](e(406)))continue;const s=t[e(426)](":")[2];for(const t of i[e(682)]({singleCharacters:!0})){const i=this[e(457)](t),n=this[e(679)]++,r=e(594)==t[e(502)]?t[e(667)][e(634)][e(390)](0,-1):t[e(667)][e(634)];u[e(391)](r)[e(576)](i,n),this[e(374)][e(632)](n,{userId:s})}}for(const t of this[e(428)][e(525)][e(590)](c)[e(682)]({singleCharacters:!0})){const n=this[e(457)](t),r=e(594)==t[e(502)]?t[e(667)][e(634)][e(390)](0,-1):t[e(667)][e(634)],o=u[e(391)](r);o[e(367)](n)>0||o[e(576)](n,i[s++])}for(const[t,i]of c[e(617)])t[e(462)](e(406))||this[e(412)][e(632)](t,i)}const r=ut(e(528));this[e(657)][e(632)](e(528),r),this[e(377)][e(632)](e(528),this[e(404)](r,1));const o=ut(e(528));this[e(613)][e(632)](e(528),o),this[e(423)][e(632)](e(528),this[e(404)](o,1));const a=Array[e(562)](this[e(613)])[e(439)]((([t,e])=>[t,ct(e)]));this[e(403)](this[e(464)],a,this[e(412)],n)}[et(473)](t){const e=et,i=JSON[e(540)](t),s=this[e(428)][e(680)][e(663)][e(427)],n=new Z.ViewDocumentFragment(s,i[e(439)]((t=>ot(t,this[e(428)]))));return this[e(428)][e(555)][e(486)](n)}[et(403)](t,e,i,s){const n=et,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(632)](t,{start:e[n(382)][n(398)](),end:e[n(612)][n(398)](),rootName:e[n(385)][n(629)]});this[n(606)][n(632)](t,{roots:r,markers:a,rootsAttributes:o})}[et(660)](t){const e=et;this[e(606)][e(506)](t)}[et(546)](){const t=et;this[t(461)](),this[t(616)]=-1,this[t(464)]=-1,this[t(606)][t(420)](),this[t(647)](this[t(393)])}[et(461)](){const t=et;this[t(374)][t(420)](),this[t(441)][t(420)](),this[t(387)][t(420)](),this[t(613)][t(420)](),this[t(501)][t(420)](),this[t(657)][t(420)](),this[t(593)][t(420)](),this[t(423)][t(420)](),this[t(377)][t(420)](),this[t(412)][t(420)](),this[t(679)]=1,this[t(648)]=this[t(679)]}[et(404)](t,e=null){const i=et;let s=null;t.is(i(392))||(s=new Z.Element(t[i(388)],{vid_start:null===e?this[i(679)]++:e++}));const n=[];for(const s of t[i(586)]())if(s.is(i(584))){n[i(624)](this[i(404)](s,e));const t=n[n[i(665)]-1];null!==e&&(e=t.is(i(584),i(536))?t[i(367)](i(550))+1:t[i(367)](i(637))+1)}else for(let t=0;t<s[i(611)];t++)n[i(624)](new Z.Element(i(536),{vid:null===e?this[i(679)]++:e++}));if(t.is(i(392))){const e=ut(t[i(629)]);return e[i(400)](0,n),e}return s[i(576)](i(637),null===e?this[i(679)]++:e++),s[i(400)](0,n),s}[et(656)](t,e,i){const s=et;this[s(461)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(606)][s(545)](t);this[s(657)]=new Map(n),this[s(593)]=new Map(R(o));for(const[t,e]of this[s(657)])if(s(528)!==t&&(this[s(613)][s(632)](t,ct(e)),this[s(501)]=new Map(R(o)),i)){const i=this[s(679)];this[s(423)][s(632)](t,this[s(404)](e)),this[s(377)][s(632)](t,this[s(404)](e,i))}this[s(648)]=this[s(679)],this[s(613)][s(632)](s(528),ct(this[s(657)][s(545)](s(528)))),i&&this[s(423)][s(632)](s(528),this[s(404)](this[s(657)][s(545)](s(528))));for(const[t,e]of r){const i=this[s(657)][s(545)](e[s(629)]),n=this[s(613)][s(545)](e[s(629)]),r=new Z.Range(this[s(453)](e[s(382)],i),this[s(453)](e[s(612)],i)),o=this[s(417)](r,n);i[s(617)][s(632)](t,r),this[s(412)][s(632)](t,o)}this[s(580)](t,e,i)}[et(580)](t,e,i){const s=et;for(const n of this[s(393)][s(455)](t,e))this[s(497)](n,i);for(const t of this[s(613)][s(605)]())t[s(617)][s(420)]();for(const[t,e]of this[s(412)])this[s(613)][s(545)](e[s(385)][s(629)])[s(617)][s(632)](t,e[s(398)]());const n=new Map,r=new Map;for(const[t,e]of this[s(613)])n[s(632)](t,ct(e)),r[s(632)](t,this[s(501)][s(545)](t));this[s(403)](e,n,this[s(412)],r)}[et(433)](t){const e=et,i=Array[e(562)](this[e(606)][e(677)]());i[e(574)](((t,e)=>t-e)),i[e(527)]();for(const e of i)if(e<t)return e;return Number[e(380)]}[et(471)](t,e){const i=et,s=Array[i(562)](e[i(617)])[i(439)]((([e,s])=>[e,this[i(417)](s,t)]));t[i(617)]=new Map(s)}[et(521)](t){const e=et;for(const i of this[e(412)][e(605)]()){const s=i[e(557)](t),n=Z.Range[e(438)](s);i[e(382)]=n[e(382)],i[e(612)]=n[e(612)]}}[et(497)](t,e){const i=et;if(i(368)!=t[i(502)]&&i(468)!=t[i(502)]){if(i(668)==t[i(502)]){const s=t[i(570)][i(385)][i(629)];this[i(613)][i(405)](s)||(this[i(613)][i(632)](s,ut(s,!0)),this[i(501)][i(632)](s,{}),e&&this[i(423)][i(632)](s,ut(s,!0)))}else{if(i(583)==t[i(502)]||i(495)==t[i(502)]||i(563)==t[i(502)])return void this[i(592)](t);i(646)==t[i(502)]&&this[i(520)](t)}if(i(646)!==t[i(502)]){const e=this[i(395)](t,this[i(613)]);e[i(429)](),this[i(521)](e)}if(e)switch(t[i(502)]){case i(668):this[i(672)](t);break;case i(373):case i(523):case i(538):this[i(597)](t);break;case i(552):this[i(645)](t);break;case i(426):this[i(459)](t)}}else this[i(507)](t,e)}[et(395)](t,e){const i=et,s=t[i(398)]();return s[i(472)]=t[i(472)],this[i(434)](s,e),s}[et(469)](t){const e=et;return t[e(439)]((t=>{const i=e,s=this[i(457)](t);return Number(t[i(526)][i(367)](s))}))}[et(638)](t,e){const i=et;if(t.is(i(584),i(536)))e[i(624)]({item:t,type:i(633)});else{t.is(i(584))&&e[i(624)]({item:t,type:i(631)});for(const s of t[i(586)]())this[i(638)](s,e);t.is(i(584))&&e[i(624)]({item:t,type:i(594)})}return e}[et(409)](){const t=et,e=new Map(this[t(374)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(657)][t(677)](),...this[t(613)][t(677)]()]);a[t(506)](t(528));for(const e of a){const i=this[t(613)][t(545)](e)||ut(e,!1),s=this[t(657)][t(545)](e)||ut(e,!1);i[t(477)]()||s[t(477)]()?(n[t(424)][e]=ct(i),n[t(448)][e]=ct(s),this[t(471)](n[t(448)][e],s),this[t(471)](n[t(424)][e],i),r[t(424)][e]=this[t(638)](this[t(423)][t(545)](e),[]),r[t(448)][e]=this[t(638)](this[t(377)][t(545)](e)||ut(e,!1),[])):a[t(506)](e)}for(const n of a){const o=r[t(424)][n];for(const n of o){const r=this[t(457)](n),o=n[t(526)][t(367)](r);i[t(506)](o),o>=this[t(648)]&&s[t(632)](o,e[t(545)](o))}}for(const n of a){const a=r[t(424)][n],c=this[t(469)](r[t(448)][n]);let u=0;for(const n of a){const r=this[t(457)](n),a=n[t(526)][t(367)](r);if(!s[t(405)](a)&&!o[t(405)](a))if(i[t(405)](a))u++;else{if(a!=c[u]){const s=e[t(545)](a)||e[t(545)](c[u]);for(;a!=c[u];)i[t(405)](c[u])||(o[t(632)](c[u],s),e[t(632)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(424)][e];for(const e of n){const n=this[t(457)](e),r=e[t(526)][t(367)](n);if(o[t(405)](r)){const e=o[t(545)](r);i[t(405)](r)||i[t(632)](r,{...e}),s[t(632)](r,{...e})}}}for(const e of i[t(677)]())e>=this[t(648)]&&i[t(506)](e);const c=new Map;for(const e of a){let n=r[t(424)][e];for(const e of n)if(e[t(526)].is(t(584),t(419))){const i=this[t(457)](e),n=e[t(526)][t(367)](i);if(s[t(405)](n)){const i=e[t(526)][t(470)][t(470)][t(367)](t(577)),r=c[t(545)](i)||new Set;r[t(596)](s[t(545)](n)[t(573)]),c[t(632)](i,r)}}n=r[t(448)][e];for(const e of n)if(e[t(526)].is(t(584),t(419))){const s=this[t(457)](e),n=e[t(526)][t(367)](s);if(i[t(405)](n)){const s=e[t(526)][t(470)][t(470)][t(367)](t(577)),r=c[t(545)](s)||new Set;r[t(596)](i[t(545)](n)[t(573)]),c[t(632)](s,r)}}for(const e of c[t(677)]())(s[t(405)](e)||i[t(405)](e))&&c[t(506)](e)}for(const e of a){const n=r[t(424)][e];let o=null,a=null;for(const e of n){const n=this[t(457)](e),r=e[t(526)][t(367)](n),u=c[t(545)](r);u&&t(631)==e[t(502)]&&(o=Array[t(562)](u)[0],a=e[t(526)][t(367)](t(637))),o&&(i[t(632)](r,{userId:o}),s[t(632)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(448)][e],a=n[t(424)][e];for(const{userId:e}of this[t(441)][t(605)]())null!==e&&l[t(596)](e);for(const{userId:e}of this[t(387)][t(605)]())null!==e&&l[t(596)](e);this[t(571)](a,r[t(424)][e],s,t(503),l),this[t(571)](o,r[t(448)][e],i,t(651),l),u[e]={insertions:this[t(541)](a),deletions:this[t(541)](o),attachChange:this[t(387)][t(545)](e)||null,attributesBefore:R(this[t(593)][t(545)](e))||{},attributesAfter:R(this[t(501)][t(545)](e))}}return{diffData:u,authorsIds:Array[t(562)](l)}}[et(530)](t){const e=et;for(const[,i]of t[e(617)]){const t=i[e(382)][e(554)]()[e(678)]((t=>e(419)==t[e(388)]));for(const i of t)1==i[e(553)]&&i[e(437)](0).is(e(584),e(379))&&i[e(437)](0)[e(576)](e(684),!0)}}[et(541)](t){const e=et;this[e(530)](t);const i=this[e(428)][e(555)][e(652)](t,{}),s=Array[e(562)](i[e(586)]())[e(439)]((t=>this[e(496)](t)));return JSON[e(548)](s)}[et(496)](t){const e=et;if(t.is(e(536)))return t[e(555)];{const i=t;return{type:Object[e(677)](nt)[e(479)]((e=>t instanceof nt[e])),name:i[e(388)],attributes:Array[e(562)](i[e(510)]()),children:Array[e(562)](i[e(586)]())[e(439)]((t=>this[e(496)](t)))}}}[et(571)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(428)][r(525)];for(let s=0;s<e[r(665)];s++){const n=this[r(457)](e[s]),c=e[s][r(526)][r(367)](n),h=i[r(545)](c),d=s==e[r(665)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(573)]!=o[r(573)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(573)],d=l(406)+s+":"+h+":"+c++,f=u[l(608)](i,a);t[l(617)][l(632)](d,f),null!==h&&n[l(596)](h)}}[et(457)](t){const e=et;switch(t[e(502)]){case e(631):return e(577);case e(594):return e(637);default:return e(550)}}[et(434)](t,e){const i=et;t[i(430)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(545)](n[i(385)][i(629)]);t[s]=this[i(453)](n,r)}if(n instanceof Z.Range){const r=e[i(545)](n[i(385)][i(629)]);t[s]=this[i(417)](n,r)}i(385)===s&&(t[i(385)]=e[i(545)](t[i(385)][i(629)]))}}[et(417)](t,e){const i=et;return this[i(428)][i(525)][i(608)](this[i(453)](t[i(382)],e),this[i(453)](t[i(612)],e))}[et(453)](t,e){const i=et;return this[i(428)][i(525)][i(492)](e,t[i(634)],t[i(490)])}[et(672)](t){const e=et,i=this[e(423)][e(545)](t[e(570)][e(385)][e(629)]),s=this[e(453)](t[e(570)],i),n=null===t[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,r=s[e(470)],o=this[e(679)],a=[];for(const i of t[e(500)])if(i.is(e(584)))a[e(624)](this[e(404)](i));else for(let t=0;t<i[e(611)];t++)a[e(624)](new Z.Element(e(536),{vid:this[e(679)]++}));const c=this[e(679)];for(let t=o;t<c;t++)this[e(374)][e(632)](t,{userId:n});r[e(400)](s[e(561)],a)}[et(597)](t){const e=et;(t=this[e(395)](t,this[e(423)]))[e(429)]();const i=null===t[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,s=t[e(413)](),n=s[e(470)],r=s[e(561)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(437)](e);r.is(a(584),a(536))?s[a(632)](r[a(367)](a(550)),{userId:i}):(s[a(632)](r[a(367)](a(577)),{userId:i}),t(s,r,0,r[a(553)]),s[a(632)](r[a(367)](a(637)),{userId:i}))}}(this[e(374)],n,r,r+t[e(458)])}[et(645)](t){const e=et,i=null===(t=this[e(395)](t,this[e(423)]))[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,s=t[e(531)][e(470)],n=t[e(572)][e(470)],r=s[e(367)](e(637)),o=n[e(367)](e(577));s[e(576)](e(637),n[e(367)](e(637))),n[e(576)](e(637),r),this[e(374)][e(632)](o,{userId:i}),this[e(374)][e(632)](r,{userId:i}),t[e(429)]()}[et(459)](t){const e=et,i=null===(t=this[e(395)](t,this[e(423)]))[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,s=t[e(446)],n=t[e(669)][e(470)];t[e(429)]();const r=n[e(367)](e(637)),o=t[e(604)][e(627)];if(s){const t=o[e(367)](e(637)),s=n[e(367)](e(637));n[e(576)](e(637),t),o[e(576)](e(637),s),this[e(374)][e(632)](n[e(367)](e(637)),{userId:i}),this[e(374)][e(632)](o[e(367)](e(577)),{userId:i})}else{const t=this[e(679)]++,s=this[e(679)]++;n[e(576)](e(637),t),o[e(576)](e(577),s),o[e(576)](e(637),r),this[e(374)][e(632)](t,{userId:i}),this[e(374)][e(632)](s,{userId:i})}}[et(520)](t){const e=et;if(!t[e(543)])return;const i=(t=this[e(395)](t,this[e(613)]))[e(556)]?t[e(556)][e(385)]:null,s=t[e(440)]?t[e(440)][e(385)]:null;i&&this[e(412)][e(506)](t[e(388)]),s&&this[e(412)][e(632)](t[e(388)],t[e(440)][e(398)]());const n=null===t[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,r=t[e(388)];if(!this[e(441)][e(405)](r))return void this[e(441)][e(632)](r,{range:t[e(556)],userId:n});const o=this[e(441)][e(545)](r),a=o[e(515)],c=t[e(440)];null==a&&null==c||a&&c&&a[e(639)](c)?this[e(441)][e(506)](t[e(388)]):o[e(573)]=n}[et(507)](t,e){const i=et;this[i(613)][i(405)](t[i(629)])?this[i(613)][i(545)](t[i(629)])[i(444)]=t[i(475)]:(this[i(613)][i(632)](t[i(629)],ut(t[i(629)],!0)),this[i(501)][i(632)](t[i(629)],{}),e&&this[i(423)][i(632)](t[i(629)],ut(t[i(629)],!0)));const s=null===t[i(472)]?null:t[i(472)]||this[i(428)][i(670)][i(545)](i(614)).me.id,n=this[i(387)][i(545)](t[i(629)]);n&&n[i(573)]===s?this[i(387)][i(506)](t[i(629)]):this[i(387)][i(632)](t[i(629)],{userId:s,isAttached:t[i(475)]})}[et(592)](t){const e=et,i=this[e(501)][e(545)](t[e(385)][e(629)]);null===t[e(415)]?delete i[t[e(674)]]:i[t[e(674)]]=t[e(415)]}}function ct(t){const e=et,i=ut(t[e(629)],t[e(477)]());for(const s of t[e(586)]()){const t=s[e(575)](!0);i[e(467)](t)}return i}function ut(t,e=!0){const i=et,s=new Z.DocumentFragment;return s[i(629)]=t,s[i(444)]=e,s[i(477)]=()=>s[i(444)],s}function lt(t,e,i){const s=et,n=s(594)==t[s(502)]?i[s(411)](t[s(526)],s(612)):i[s(422)](t[s(526)]);return i[s(492)](e,n[s(634)],n[s(490)])}function ht(t,e,i){const s=et,n=s(631)==t[s(502)]?i[s(411)](t[s(526)],0):i[s(601)](t[s(526)]);return i[s(492)](e,n[s(634)],n[s(490)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var Tt=i(959),Nt={attributes:{"data-cke":!0}};Nt.setAttributes=wt(),Nt.insert=kt().bind(null,"head"),Nt.domAPI=gt(),Nt.insertStyleElement=It();pt()(Tt.A,Nt);Tt.A&&Tt.A.locals&&Tt.A.locals;const xt=At;function At(t,e){const i=Rt();return(At=function(t,e){return i[t-=314]})(t,e)}function Rt(){const t=["render","set","313602dZPrrS","locale","value","revisionNameInputValue","arrowup","Name of the revision","setTemplate","ck-revision-history-save-revision-form","ck-responsive-form","arrowdown","389976oSWjXO","_createRevisionNameInput","input","extendTemplate","listenTo","stopPropagation","revisionNameInputView","arrowright","focus","reset","add","label","focusTracker","form","trim","1331694xOoMdS","optional","fieldView","element","45DbUhkx","arrowleft","397816xjdvOQ","keystrokes","74994HqcMIG","8146989NeMoCI","revisionName","231iKbWja","183256brHsNX","220","errorText"];return(Rt=function(){return t})()}!function(t){const e=At,i=t();for(;;)try{if(395243===-parseInt(e(323))/1+parseInt(e(342))/2+-parseInt(e(315))/3+parseInt(e(321))/4+parseInt(e(319))/5*(parseInt(e(332))/6)+parseInt(e(326))/7*(-parseInt(e(327))/8)+parseInt(e(324))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rt);class Mt extends ft.View{[xt(354)];[xt(322)];[xt(348)];constructor(e,i){const s=xt;super(e),this[s(354)]=new t.FocusTracker,this[s(322)]=new t.KeystrokeHandler,this[s(331)](s(335),""),this[s(348)]=this[s(343)](i),this[s(338)]({tag:s(355),attributes:{class:["ck",s(339),s(340)],tabindex:"-1"},children:[this[s(348)]]}),(0,ft.injectCssTransitionDisabler)(this)}[xt(330)](){const t=xt;super[t(330)](),(0,ft.submitHandler)({view:this}),this[t(354)][t(352)](this[t(348)][t(318)]),this[t(322)][t(346)](this[t(318)]);const e=e=>e[t(347)]();this[t(322)][t(331)](t(349),e),this[t(322)][t(331)](t(320),e),this[t(322)][t(331)](t(336),e),this[t(322)][t(331)](t(341),e)}[xt(350)](){const t=xt;this[t(348)][t(350)]()}get[xt(325)](){const t=xt;return this[t(348)][t(317)][t(318)][t(334)][t(314)]()}set[xt(325)](t){const e=xt;this[e(348)][e(317)][e(318)][e(334)]=t[e(314)]()}[xt(351)](){const t=xt;this[t(348)][t(317)][t(318)][t(334)]="",this[t(348)][t(329)]=null}[xt(343)](t){const e=xt,i=new ft.LabeledFieldView(this[e(333)],ft.createLabeledInputText),s=i[e(317)];s[e(345)]({attributes:{maxlength:e(328)}});let n=J(this[e(333)],e(337));return!t&&(n+=" ("+J(this[e(333)],e(316))+")"),i[e(353)]=n,s.on(e(344),(()=>{const t=e;this[t(335)]=s[t(318)][t(334)][t(314)]()})),i}}const Et=Vt;function Dt(){const t=["errorText","isReady","menuitem","submit","5634MTegmb","pluginName","get","Cancel","view","componentFactory","351JBiHtH","320232gtjsNS","render","_registerMenuComponent","Accept","children","locale","1898965xioiOL","isOfficialPlugin","revisionSave","isEnabled","120104nXqfyL","hide","isOpen","_showDialog","saveRevision","role","set","plugins","showRevisionViewerCallback","RevisionTracker","init","73832oMRUJr","Dialog","reset","Revision history","show","revisionHistory.requireRevisionName","config","panelView","menu","Open revision history","176769PRoaJq","add","revisionNameInputView","editor","revisionName","revisionHistory","bind","ck-button-action","menuBar:revisionHistory","focus","RevisionHistoryUI","_createSaveRevisionFormView","The revision name cannot be empty.","isPremiumPlugin","Save current revision","addMany","isReadOnly","buttonView","editing","items","11174260AltTAt","9093AuRdrR","20naOodn","execute","_saveRevisionFormView","delegate","requires"];return(Dt=function(){return t})()}function Vt(t,e){const i=Dt();return(Vt=function(t,e){return i[t-=330]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(632295===parseInt(e(381))/1+parseInt(e(344))/2*(-parseInt(e(391))/3)+parseInt(e(360))/4+parseInt(e(366))/5+parseInt(e(353))/6*(parseInt(e(343))/7)+-parseInt(e(370))/8*(-parseInt(e(359))/9)+-parseInt(e(342))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Ct extends U.Plugin{static get[Et(354)](){return Et(332)}static get[Et(367)](){return!0}static get[Et(335)](){return!0}static get[Et(348)](){return[rt]}[Et(346)];[Et(380)](){const t=Et,e=this[t(394)],i=e[t(377)][t(355)](t(379));e.ui[t(358)][t(392)](t(396),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(388)][n(364)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(397)](n(369)).to(i,n(350),i,n(369),e,n(338),((t,e,i)=>t&&e&&!i)),r[n(339)][n(376)]({icon:dt.IconHistory,label:J(s,n(384)),tooltip:!0}),u[n(376)]({label:J(s,n(336)),withText:!0,role:n(351)}),u[n(397)](n(369)).to(i,n(350),i,n(369),e,n(338),((t,e,i)=>t&&e&&!i)),u.on(n(345),(()=>this[n(373)]())),h[n(376)]({label:J(s,n(390)),withText:!0,role:n(351)}),h[n(397)](n(369)).to(i,n(350),e,n(338),((t,e)=>t&&!e)),h.on(n(345),(()=>{const t=n;e[t(387)][t(355)](t(396))[t(378)](),r[t(372)]=!1,e[t(340)][t(357)][t(331)]()})),c[n(364)][n(392)](u),l[n(364)][n(392)](h),a[n(375)]=n(389),a[n(341)][n(337)]([c,l]),o[n(392)](a),r})),e.ui[t(358)][t(392)](t(330),(()=>this[t(362)]()))}[Et(362)](){const t=Et,e=this[t(394)],i=e[t(365)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(339)][t(376)]({icon:dt.IconHistory,label:J(i,t(384))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(376)]({label:J(i,t(336))}),o[t(347)](t(345)).to(s),o.on(t(345),(()=>{this[t(373)]()})),r[t(364)][t(392)](o),n[t(341)][t(392)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(376)]({label:J(i,t(390))}),c[t(347)](t(345)).to(s),c.on(t(345),(()=>{const i=t;e[i(387)][i(355)](i(396))[i(378)]()})),a[t(364)][t(392)](c),n[t(341)][t(392)](a),s[t(388)][t(364)][t(392)](n),s}[Et(373)](){const t=Et,e=this[t(394)],i=e[t(365)],s=e[t(377)][t(355)](t(382)),n=e[t(377)][t(355)](t(379));function r(n){const r=t;e[r(387)][r(355)](r(386))&&""===n[r(395)]?n[r(393)][r(349)]=J(i,r(334)):(e[r(377)][r(355)](rt)[r(374)]({name:n[r(395)]}),s[r(371)]())}this[t(346)]||(this[t(333)](),this[t(346)].on(t(352),(()=>r(this[t(346)])))),this[t(346)][t(383)](),s[t(385)]({id:t(368),title:J(i,t(336)),isModal:!0,content:this[t(346)],actionButtons:[{label:J(e[t(365)],t(356)),withText:!0,onExecute:()=>s[t(371)]()},{label:J(e[t(365)],t(363)),class:t(398),withText:!0,onCreate(i){const s=t;i[s(397)](s(369)).to(n,s(350),n,s(369),e,s(338),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(346)])}]})}[Et(333)](){const t=Et,e=this[t(394)],i=e[t(365)];this[t(346)]=new Mt(i,e[t(387)][t(355)](t(386))),this[t(346)][t(361)]()}}function Ft(){const t=["add","ck-revision-change__","ck-revision-change","267380uPNXcw","606795TkWolh","Added by","Suggested by","45897mRGvuX","152jYdcRz","type","isSuggestion","5346363MMTfaH","set","_model","element","18dTNfYP","4lTWJNc","72yTHLdy","div","ck-annotation","changeId","data","setTemplate","bindTemplate","name","span","Removed by","author","ck-revision-change__label","559624XyOaoe","1242675ySmwhQ","5785ArIJFs","focus"];return(Ft=function(){return t})()}const jt=Lt;function Lt(t,e){const i=Ft();return(Lt=function(t,e){return i[t-=344]})(t,e)}!function(t){const e=Lt,i=t();for(;;)try{if(294879===-parseInt(e(368))/1*(parseInt(e(344))/2)+-parseInt(e(365))/3+parseInt(e(369))/4*(-parseInt(e(359))/5)+-parseInt(e(376))/6*(-parseInt(e(358))/7)+parseInt(e(357))/8*(parseInt(e(345))/9)+parseInt(e(364))/10+-parseInt(e(372))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Pt extends ft.View{[jt(348)];[jt(374)];constructor(t,e){const i=jt;super(t),this[i(374)]=e,this[i(348)]=e.id;const s=this[i(351)],n=J(t,e[i(349)][i(371)]?i(367):i(361)==e[i(370)]?i(366):i(354));this[i(373)](i(370),e[i(370)]),this[i(350)]({tag:i(346),attributes:{class:[i(347),i(363),s.to(i(370),(t=>i(362)+t))],tabindex:-1},children:[{tag:i(353),children:[{tag:i(353),attributes:{class:[i(356)]},children:[{text:n}]},{text:" "+e[i(355)][i(352)]}]}]})}[jt(360)](){const t=jt;this[t(375)][t(360)]()}}function zt(){var t=["set","10GciWft","toJSON","2620338UkJKBx","1044772qCfksL","2ULrPwK","136908yUHPXq","createdAt","4098367ICPEsF","3088184kosTGX","12dtlfmf","author","rootName","type","data","951695mfCrow","6416154GyCwzE"];return(zt=function(){return t})()}var Wt=Ut;function Ut(t,e){var i=zt();return(Ut=function(t,e){return i[t-=257]})(t,e)}!function(t){for(var e=Ut,i=t();;)try{if(697516===-parseInt(e(262))/1*(-parseInt(e(263))/2)+parseInt(e(264))/3+-parseInt(e(268))/4*(parseInt(e(273))/5)+parseInt(e(261))/6+-parseInt(e(266))/7+-parseInt(e(267))/8+parseInt(e(257))/9*(parseInt(e(259))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ht extends((0,t.ObservableMixin)()){id;[Wt(269)];[Wt(271)];[Wt(272)];[Wt(270)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(269)]=e[i(269)],this[i(271)]=e[i(271)],this[i(272)]=e[i(272)]||{},this[i(270)]=e[i(270)],this[i(258)](i(265),e[i(265)])}[Wt(260)](){var t=Wt;return{id:this.id,authorId:this[t(269)].id,type:this[t(271)],data:this[t(272)],createdAt:this[t(265)]}}}function Zt(t,e){const i=$t();return(Zt=function(t,e){return i[t-=432]})(t,e)}const qt=Zt;!function(t){const e=Zt,i=t();for(;;)try{if(358775===parseInt(e(443))/1+-parseInt(e(441))/2*(parseInt(e(440))/3)+-parseInt(e(436))/4+-parseInt(e(438))/5*(-parseInt(e(442))/6)+parseInt(e(444))/7*(-parseInt(e(434))/8)+-parseInt(e(445))/9*(-parseInt(e(448))/10)+-parseInt(e(437))/11*(-parseInt(e(433))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Bt{[qt(432)];[qt(447)];[qt(435)];constructor(e,i){const s=qt;this[s(432)]=e,this[s(447)]=i,this[s(435)]=new t.Collection}[qt(446)](t){const e=qt;for(const i of t)this[e(435)][e(439)](i)}}function $t(){const t=["_setChanges","oldRevisionId","140AMimWG","newRevisionId","740604OULtBU","796856RXlFCp","changes","2018768ByalrD","77YbaIoj","84445IChBtB","add","75sFDQrE","53740EKNcJF","186FLaopP","220015hRzqNT","14vIqVqy","359253HTmQcu"];return($t=function(){return t})()}var Yt=i(536),Jt={attributes:{"data-cke":!0}};Jt.setAttributes=wt(),Jt.insert=kt().bind(null,"head"),Jt.domAPI=gt(),Jt.insertStyleElement=It();pt()(Yt.A,Jt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Gt=Kt;function Kt(t,e){const i=Xt();return(Kt=function(t,e){return i[t-=215]})(t,e)}function Xt(){const t=["marked","commands","setAttribute","ck-revision-history-root-","numberOfChanges","editor","getChild","consume","bind","comment","_removeUnsupportedChanges","revisionHistoryAttachChange","dataToMarker","delete","ck-revision-history-root--active","isObject","flat","isAtEnd","174TFqrLk","hasClass","isInline","high","_markMismatchedRemovedTags","stop","_setConversion","deletion","diffData","isRemoved","string","ck-suggestion-marker-split","distance","test","suggestion","createRange","_step","addRevisionData","revisionHistoryLabel","createUIElement","conversion","isLimit","_sortAndFilterDiffChanges","addMarker:revision-suggestion:insertion","plugins","ck-suggestion-preview-marker-","insertion","data-revision-","data-change-id","elementEnd","getIndex","isAddSuggestion","elementStart","low","change:isReady","rootName","editing","changes","4772UtirjD","nodeAfter","getDomRoot","range","toViewPosition","ck-suggestion-marker-merge","showNextChange","showPreviousChange","downcastDispatcher","modelRange","toData","toViewElement","observeMarkers","isNavigationMode","WidgetToolbarRepository","5MbBNYt","forEach","has","parse","vid_start","clear","startIndex","vid_end","view","_setChanges","revision-start","ck-revision-history-root-add","left","change:activeChange","RevisionViewer","_getDiff","isCollapsed","removeAttribute","schema","domEvent","removeClass","return","ck-suggestion-marker--active","includes","createPositionFromPath","currentChangeNumber","indexOf","isOfficialPlugin","object","ck-revision-history-root-remove","from","getRootNames","forceDisabled","vid","10QbeOgM","markersEnd","right","911682hffpPB","_changeIdToChange","userId","diff","markerToData","removeMarker:revision","loadRevisionData","highest","suggestion:","mouseover","affectsData","revision:","RevisionsRepository","split","then","POSITIVE_INFINITY","item","bindElementToMarker","addRevision","top","error","resolve","getAttribute","forward","getRoot","requires","addClass","ck-suggestion-preview-marker","ck-suggestion-marker-","revision-suggestion:","get","start","element:pre","name","concat","mapViewToDom","backward","push","_initInteractions","type","locale","attributes","createAttributeElement","_makeModelFromViewString","7640435VIczyF","deletions","addMarker:revision","unshift","collaboration.channelId","changeId","enqueueChange","change","_markMarkers","pop","getClientRects","isIncorrect","_activeViewTarget","parent","981954CdytQX","compare","isPremiumPlugin","detachRoot","revision-comment:","next","viewItem","model","destroy","pluginName","markerNameToElements","showStack","default","_makeModelFromTape","wrap","change:activeView","_setDistance","nextPosition","side","isOnRoot","ck-suggestion-marker","values","isAfter","element","editingDowncast","processor","text","offsetSize","_fixObsoleteTags","attributesAfter","_cleanUp","authors","mapper","unbindElementFromMarkerName","isEqual","data","attribute:vid","_markSuggestions","getRevisionRootsAttributes","isEnabled","length","_threeWayMerge","nextSibling","markerName","change:numberOfChanges","isSuggestion","previousPosition","_joinTapes","revision-end","_appendChild","find","abs","_cleanMarkers","restoreRevisionCallback","keys","_processTape","revision","_removeRevisionMarkers","removeMarker","endIndex","domConverter","target","sort","refresh","toViewRange","init","map","revisionHistory","maxOffset","_refreshStartEndIndex","uiElement","isBlock","code","isRemoveSuggestion","activeChange","config","findIndex","isContent","all","reconvertMarker","_update","getItems","mousedown","_balloon","revision-suggestion","filter","isAdded","_getChangeFromId","isAttached","_findChangeIdFromDomTarget","_removeMissingPairs","slice","hasAttribute","splice","attachChange","done","addMarker:revision-suggestion:deletion","markersStart","-new","getLaterVisibleRevision","first","isAtStart","span","shift","end","add","set","execute","writer","_markInsertions","startsWith","2214993nTnkcp","upcast","152754auBlYF","elementToAttribute","attributesBefore","pairId","ck-editor__editable__overlay","updatePosition","getWalker","_getViewObj","isReady","checkAttribute","merge","change:isEnabled","insertions","remove","945488hFfllw","document","activeView","revision-viewer","enableReadOnlyMode","_getRevisionsRange","_changeView","addRoot","softBreak","_data","oldRevisionId","selection","index","_getViewForChange","repository","dataDowncast","toModel","for","createRangeIn","children","addHighlight","getRevision","catch","_makeTape","getCustomProperty","insert","restoreRevision","getAttributes","newRevisionId","removeMarker:revision-suggestion","adapter","16axmZsB","consumable","markerToHighlight","_revisions","useFillerType","markerRange","listenTo","isBefore","createPositionBefore","roots","getRevisionData","markers","level","createRevision","bottom"];return(Xt=function(){return t})()}!function(t){const e=Kt,i=t();for(;;)try{if(393303===parseInt(e(447))/1*(-parseInt(e(409))/2)+parseInt(e(329))/3+parseInt(e(345))/4*(-parseInt(e(462))/5)+-parseInt(e(218))/6+-parseInt(e(331))/7+parseInt(e(376))/8*(-parseInt(e(499))/9)+-parseInt(e(496))/10*(-parseInt(e(543))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);const Qt={c:Z.ViewContainerElement,a:Z.ViewAttributeElement,e:Z.ViewEmptyElement,r:Z.ViewRawElement,u:Z.ViewUIElement};class te extends U.Plugin{[Gt(359)];[Gt(375)];[Gt(216)];[Gt(351)];[Gt(500)];[Gt(301)];static get[Gt(227)](){return Gt(476)}static get[Gt(489)](){return!0}static get[Gt(220)](){return!0}static get[Gt(524)](){return[H.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Gt;super(t),this[e(359)]=this[e(396)][e(433)][e(529)](e(511)),this[e(324)](e(292),null),this[e(324)](e(347),null),this[e(216)]=null,this[e(324)](e(502),null),this[e(324)](e(339),!1),this[e(324)](e(257),!0),this.on(e(342),((t,i,s)=>{const n=e;this[n(292)]=null,this[n(347)]=null,this[n(396)][n(445)][n(470)][n(550)]((t=>{const e=n;for(const i of this[e(396)][e(445)][e(470)][e(346)][e(385)])s?t[e(482)](e(335),i):t[e(525)](e(335),i)}))})),this[e(399)](e(460)).to(this,e(292),(t=>null!==t)),this[e(399)](e(487)).to(this,e(339),this,e(502),this,e(292),((t,i,s)=>t&&s?i[e(446)][e(439)](s):0)),this[e(399)](e(395)).to(this,e(339),this,e(502),((t,i)=>t?i[e(446)][e(258)]:0)),this[e(351)]=null,this[e(500)]=new Map,this[e(375)]=null,this[e(301)]=this[e(396)][e(433)][e(529)](ft.ContextualBalloon)}[Gt(283)](){const t=Gt,e=this[t(396)],i=new se(e,{direction:t(535)}),s=new se(e,{direction:t(522)});e[t(392)][t(323)](t(454),i),e[t(392)][t(323)](t(453),s),e[t(392)][t(323)](t(371),new ie(e)),this.on(t(262),(()=>{const e=t;i[e(281)](),s[e(281)]()})),this[t(415)](),this[t(537)](),e[t(349)](t(348)),e[t(433)][t(464)](t(461))&&e[t(433)][t(529)](t(461))[t(494)](t(348))}async[Gt(386)](t){const e=Gt;await this[e(505)](t);const i={};for(const s in t[e(417)]){if(t[e(417)][s][e(312)]&&!t[e(417)][s][e(312)][e(306)])continue;const n=this[e(275)](JSON[e(465)](t[e(417)][s][e(343)])),r=this[e(396)][e(445)][e(470)][e(346)],o=new Z.ViewDocumentFragment(r,n[e(284)]((t=>this[e(338)](t))));this[e(396)][e(253)][e(243)][e(380)](e(391)),i[s]=this[e(396)][e(253)][e(243)][e(457)](o),this[e(396)][e(253)][e(243)][e(380)](e(230))}return i}async[Gt(256)](t){const e=Gt;await this[e(505)](t);const i={};for(const s in t[e(417)])t[e(417)][s][e(312)]&&!t[e(417)][s][e(312)][e(306)]||(i[s]=t[e(417)][s][e(247)]||{});return i}[Gt(275)](t){const e=Gt;return(t=t[e(303)]((t=>!t[e(532)]||e(472)!==t[e(532)]&&e(266)!==t[e(532)])))[e(463)]((t=>{const i=e;i(419)!=typeof t&&(t[i(364)]=this[i(275)](t[i(364)]),t[i(540)]=t[i(540)][i(303)]((t=>!t[0][i(328)](i(436)))))})),t}async[Gt(219)](t,e,i=!1){const s=Gt;if(!this[s(257)])return;const n=this[s(502)],r=this[s(359)],o=s(419)==typeof t?r[s(366)](t):t,a=s(419)==typeof e?r[s(366)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(502)]&&this[s(502)][s(373)]===c&&this[s(502)][s(355)]===u)return Promise[s(520)]();this[s(339)]=!1,this[s(347)]=null,this[s(292)]=null,this[s(502)]=new Bt(c,u);const l=this[s(350)](o,a,!0)[s(284)]((t=>this[s(505)](t)));return l[s(536)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(296)](l)[s(513)]((()=>{const t=s;if(!this[t(257)])return;this[t(248)]();const e=this[t(477)](c,u);for(const i of e[t(446)])this[t(500)][t(324)](i.id,i);this[t(396)][t(225)][t(549)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(396)][s(225)][s(346)][s(493)]())i[s(221)](t);for(const t of Object[s(272)](e[s(225)])){const n=i[s(352)](t);for(const r of Object[s(272)](e[s(540)][t]))i[s(393)](r,e[s(540)][t][r],n);i[s(370)](e[s(225)][t],n,0)}})),this[t(502)][t(471)](this[t(431)](e[t(446)])),this[t(339)]=!0}))[s(367)]((t=>{const e=s;console[e(519)](t),this[e(248)](),n&&(this[e(502)]=n),this[e(339)]=!0}))}[Gt(426)](t,e){const i=Gt,s=this[i(359)][i(389)](t);return s.on(i(298),((t,i,n)=>e(i,n,s))),this[i(359)][i(517)](s),s}[Gt(505)](t){const e=Gt;if(!t||t[e(417)])return Promise[e(520)]();{const i=this[e(396)][e(293)][e(529)](e(547));return this[e(375)][e(366)]({channelId:i,revisionId:t.id})[e(513)]((i=>{const s=e;t[s(298)]({diffData:i[s(417)]},!0)}))}}[Gt(248)](){const t=Gt;this[t(292)]=null,this[t(270)](),this[t(351)]&&this[t(351)][t(226)](),this[t(351)]=null,this[t(500)][t(467)](),this[t(396)][t(225)][t(549)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(396)][i(225)][i(346)][i(493)]())e[i(221)](t)}))}[Gt(431)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(396)][e(225)][e(346)][e(493)]()){const n=this[e(396)][e(445)][e(470)][e(449)](t);if(!n)continue;const r=n[e(553)]()[e(515)](0);r&&(i[e(536)](t),s[e(324)](t,r))}return i[e(280)](((t,i)=>{const n=e,r=s[n(529)](t),o=s[n(529)](i);return r.y-o.y||r.x-o.x})),(t=t[e(303)]((t=>i[e(485)](t[e(444)]))))[e(280)](((t,s)=>i[e(488)](t[e(444)])-i[e(488)](s[e(444)]))),t}[Gt(368)](t){const e=Gt,i=Array[e(492)](t[e(387)])[e(303)]((([t,i])=>t[e(328)](e(510))&&!i[e(478)])),s=Array[e(492)](this[e(396)][e(225)][e(363)](t)[e(337)]({singleCharacters:!0}));if(0!=i[e(258)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(512)](":");if(n[e(322)][e(252)](t[e(235)])&&i[e(321)](),(t[e(264)][e(252)](n[e(530)])||t[e(264)][e(240)](n[e(530)]))&&(e(435)==r?t[e(304)]={userId:o}:e(416)==r&&(t[e(418)]={userId:o})),0==i[e(258)])break}return s}[Gt(287)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(258)];s++)e(244)===t[s][e(538)]?(t[s][e(515)][e(468)]=s,t[s][e(515)][e(277)]=s):(e(441)===t[s][e(538)]?t[s][e(515)][e(468)]=s:e(438)===t[s][e(538)]&&(t[s][e(515)][e(277)]=s),i[e(324)](t[s].id,s));for(const s of i[e(239)]())e(441)===t[s][e(538)]?t[s][e(515)][e(277)]=i[e(529)](t[s][e(334)]):e(438)===t[s][e(538)]&&(t[s][e(515)][e(468)]=i[e(529)](t[s][e(334)]))}[Gt(273)](t){const e=Gt;for(let i=0;i<t[e(258)];i++){if(e(441)===t[i][e(538)])t[i][e(515)][e(468)]=i;else if(e(438)===t[i][e(538)]){t[i][e(515)][e(277)]=i;const s=t[i][e(515)][e(468)];t[s][e(334)]=t[i].id,t[i][e(334)]=t[s].id}else t[i][e(515)][e(468)]=i,t[i][e(515)][e(277)]=i,t[i][e(334)]=null;t[i][e(315)]||(t[i][e(315)]=[],t[i][e(497)]=[])}}[Gt(327)](t,e){const i=Gt,s=t[i(303)]((t=>!t[i(304)]));for(let t=0;t<e[i(258)];t++)e[t][i(304)]&&(s[t][i(304)]=e[t][i(304)])}[Gt(542)](t){const e=Gt,i=JSON[e(465)](t),s=this[e(396)][e(445)][e(470)][e(346)],n=new Z.ViewDocumentFragment(s,i[e(284)]((t=>this[e(338)](t))));return this[e(396)][e(253)][e(361)](n)}[Gt(338)](t){const e=Gt,i=this[e(396)][e(445)][e(470)][e(346)];if(e(419)==typeof t)return new Z.ViewText(i,t);{const s=t[e(364)][e(284)]((t=>this[e(338)](t)));return new(Qt[t[e(538)]]||Z.ViewElement)(i,t[e(532)],t[e(540)],s)}}[Gt(477)](t,e=null){const i=Gt,s=this[i(359)][i(366)](t),n=e?this[i(359)][i(366)](e):null,r=this[i(350)](s,n),o=r[r[i(258)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(258)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(272)](e[i(417)]))if(e[i(417)][t][i(312)]){const s=e[i(417)][t][i(312)];s[i(306)]?(u[i(323)](t),l[i(464)](t)&&l[i(529)](t)[i(501)]==s[i(501)]?l[i(404)](t):l[i(324)](t,s)):l[i(464)](t)?(u[i(404)](t),l[i(404)](t)):(u[i(323)](t),l[i(324)](t,s))}else u[i(323)](t)}for(const t of u){const e=l[i(464)](t)&&!l[i(529)](t)[i(306)];let s=e?r[i(258)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(417)][t]){const s=e?o[i(417)][t][i(333)]:o[i(417)][t][i(247)];c[i(540)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(225)]={};for(const e of t[i(249)])a[i(324)](e.id,e);for(const e of u){const s=t[i(417)][e]?t[i(417)][e][i(343)]:"[]",n=t[i(417)][e]?t[i(417)][e][i(544)]:"[]";t[i(225)][e]={insertions:this[i(542)](s),deletions:this[i(542)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(492)](s[i(225)][t][i(343)][i(387)])[i(303)]((([t])=>!t[i(328)](i(510)))));let h=0;for(const o of r){const r=this[i(368)](o[i(225)][t][i(343)]);o==s?(e=r,n=e[i(258)],e[i(463)]((t=>{t.id=h++})),this[i(273)](e)):this[i(327)](e,r);const a=e[i(303)]((t=>!t[i(304)]))[i(284)]((t=>t.id));let c=0;const l=this[i(368)](o[i(225)][t][i(544)]);l[i(463)]((t=>{t[i(418)]?t.id=n++:t.id=a[c++]})),this[i(273)](l),this[i(234)](e,i(304)),this[i(234)](l,i(418)),o==s&&this[i(551)](e,u),e=this[i(265)](e,l),this[i(287)](e),this[i(234)](e,i(418))}e=e[i(303)]((t=>!(t[i(304)]&&t[i(418)])));const d=new Map(o[i(225)][t][i(544)][i(387)]),f=new Set(u[i(272)]());for(const t of d[i(272)]())f[i(404)](t);this[i(255)](e,f),this[i(246)](e),e=this[i(308)](e),e=this[i(413)](e),e=this[i(401)](e);const{root:m,changes:p}=this[i(231)](e,a,t);c[i(225)][t]=m;const v=l[i(529)](t);if(v){const e=a[i(529)](v[i(501)]),s=new Ht({author:e,type:v[i(306)]?i(323):i(344),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(546)](s),c[i(540)][t][i(402)]=s.id}c[i(446)]=c[i(446)][i(533)](p)}return c}[Gt(551)](t,e){const i=Gt;for(let s=0;s<t[i(258)];s++)for(const[n,r]of e)r[i(530)][i(252)](t[s][i(264)])&&t[s][i(315)][i(536)](n),r[i(322)][i(252)](t[s][i(235)])&&t[s][i(497)][i(536)](n)}[Gt(265)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(258)]||r<e[i(258)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(536)](o);else if(a[i(418)]&&o[i(304)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(259)](t,n,e,r);s=s[i(533)](o),n=a,r=c}else a[i(418)]?(r++,s[i(536)](a)):(n++,s[i(536)](o))}return s}[Gt(255)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(258)];o++){for(let r=0;r<t[o][i(315)][i(258)];r++){const a=t[o][i(315)][r];if(!e[i(464)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(302)!=c||i(435)!=u&&i(416)!=u||(s[i(546)]({type:u,name:a,userId:l}),t[o][i(315)][i(311)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(497)][i(258)];r++){const a=t[o][i(497)][r];if(!e[i(464)](a))continue;const{group:c,type:u}=n(a);if(i(302)!=c||i(435)!=u&&i(416)!=u)continue;t[o][i(497)][i(311)](r,1),r--;const l=s[i(294)]((t=>t[i(532)]==a));l>-1&&s[i(311)](l,1)}}function n(t){const e=i,s=t[e(512)](":");return{group:s[0],type:s[1],subType:s[e(258)]>=5?s[2]:null,id:s[e(258)]<5?s[2]:s[3],authorId:s[e(258)]<5?s[3]:s[4],markerCount:6==s[e(258)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(258)];i++){if(t[e(304)]&&e(435)==s[i][e(538)])return t[e(440)]=s[i],void delete t[e(304)];if(!t[e(304)]&&!t[e(418)]&&e(416)==s[i][e(538)])return void(t[e(291)]=s[i])}}}[Gt(234)](t,e){const i=Gt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(324)](o.id,s);for(let s=0;s<t[i(258)];s++){if(i(418)==e&&t[s][i(304)]||i(304)==e&&t[s][i(418)])continue;if(i(244)==t[s][i(538)]){t[s][i(421)]=0;continue}const n=r[i(529)](t[s][i(334)]),o=r[i(529)](t[s].id);t[s][i(421)]=n-o}}[Gt(350)](t,e,i=!1){const s=Gt,n=[];let r=this[s(359)][s(439)](t),o=this[s(359)][s(439)](e);for(-1==o&&(o=this[s(359)][s(379)][s(258)],i=!1);r<o;)n[s(536)](this[s(359)][s(366)](r)),r++;return i&&n[s(536)](this[s(359)][s(366)](r)),n}[Gt(259)](t,e,i,s){const n=Gt,r=this[n(396)][n(225)][n(480)];let o=e;for(;t[o]&&t[o][n(304)];)o++;let a=s;for(;i[a]&&i[a][n(418)];)a++;u(t,e,o),u(i,s,a);const c=i[n(309)](s,a)[n(533)](t[n(309)](e,o));return c[n(280)](((t,e)=>t[n(236)]!=e[n(236)]?t[n(236)]-e[n(236)]:t[n(388)]!=e[n(388)]?t[n(388)]-e[n(388)]:t[n(421)]!=e[n(421)]?e[n(421)]-t[n(421)]:!!t[n(304)]!=!!e[n(304)]?-1==t[n(236)]||0==t[n(236)]?t[n(304)]?-1:1:t[n(304)]?1:-1:t[n(357)]-e[n(357)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(514)],c=!0;for(let n=e;n<i;n++)if(r[s(411)](t[n][s(515)])||(c=!1),t[n][s(515)][s(468)]<e&&(o=n),t[n][s(515)][s(277)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(236)]=n<=o?-1:n<a?0:1,t[n][s(357)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(421)]?t[i][s(388)]=u:(u++,t[i][s(388)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(236)]&&(t[n][s(388)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(421)]?t[e][s(388)]=u:(u--,t[e][s(388)]=u,u--)}}[Gt(246)](t){const e=Gt,i=new Map,s=this[e(396)][e(225)][e(480)];for(let n=1;n<t[e(258)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(244)==c[e(538)])continue;if(c[e(538)]!=u[e(538)])continue;if(!s[e(289)](u[e(515)])||s[e(430)](u[e(515)]))continue;if(!s[e(289)](c[e(515)])||s[e(430)](c[e(515)]))continue;if((t[n][e(304)]||t[n][e(440)])&&t[n-1][e(418)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(418)]||!t[n-1][e(304)]&&!t[n-1][e(440)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(388)]==o[e(388)],h=Math[e(269)](r[e(388)])<Math[e(269)](o[e(388)])&&0==o[e(421)];(l||h)&&(i[e(324)](o.id,r.id),t[e(311)](a,1),n--,r[e(304)]=!1)}for(let s=0;s<t[e(258)];s++)i[e(464)](t[s][e(334)])&&(t[s][e(334)]=i[e(529)](t[s][e(334)]))}[Gt(308)](t){const e=Gt,i=new Set(t[e(284)]((t=>t.id)));for(let s=0;s<t[e(258)];s++)i[e(464)](t[s][e(334)])||0==t[s][e(421)]||(t[s][e(215)]=!0);return t[e(303)]((t=>!t[e(215)]))}[Gt(413)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(258)];s++){if(i[e(464)](t[s].id)&&t[s][e(418)]&&(t[s][e(215)]=!0),t[s][e(215)])continue;if(0==t[s][e(421)])continue;if(e(441)!=t[s][e(538)])continue;if(null==t[s][e(334)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(334)];)e(441)==t[n][e(538)]?r++:e(438)==t[n][e(538)]&&r--,n++;if(0!=r)if(t[s][e(418)])t[s][e(215)]=!0;else for(;n!=s;)t[n][e(418)]&&0!=t[n][e(421)]&&(t[n][e(215)]=!0,i[e(323)](t[n][e(334)])),n--}return t[e(303)]((t=>!t[e(215)]))}[Gt(401)](t){const e=Gt,i=this[e(396)][e(225)][e(480)];for(let s=0;s<t[e(258)];s++){if(!(t[s][e(304)]||t[s][e(440)]||t[s][e(418)]||t[s][e(291)]))continue;if(0==t[s][e(421)])continue;const n=t[s][e(515)];i[e(289)](n)||i[e(430)](n)||(t[s][e(304)]&&delete t[s][e(304)],t[s][e(440)]&&delete t[s][e(440)],t[s][e(291)]&&delete t[s][e(291)],t[s][e(418)]&&(t[s][e(215)]=!0))}return t[e(303)]((t=>!t[e(215)]))}[Gt(231)](t,e,i){const s=Gt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(396)][s(225)],c=a[s(480)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(258)];e++)if(s(441)===t[e][s(538)]){t[e][s(264)]=a[s(486)](n,f);const i=new Z.Element(t[e][s(515)][s(532)],t[e][s(515)][s(372)]());u[0][s(267)](i),f[s(536)](0),u[s(546)](i),t[e][s(235)]=a[s(486)](n,f)}else s(438)===t[e][s(538)]?(u[s(321)](),t[e][s(264)]=a[s(486)](n,f),f[s(552)](),f[f[s(258)]-1]++,t[e][s(235)]=a[s(486)](n,f)):(t[e][s(264)]=a[s(486)](n,f),d?d[s(354)]+=t[e][s(515)][s(253)]:d=new Z.Text(t[e][s(515)][s(253)],t[e][s(515)][s(372)]()),t[e+1]&&s(244)===t[e+1][s(538)]&&v(d,t[e+1][s(515)])||(u[0][s(267)](d),d=null),f[f[s(258)]-1]+=t[e][s(515)][s(245)],t[e][s(235)]=a[s(486)](n,f));for(let e=0;e<t[s(258)];e++){const i=t[e][s(264)],n=t[e][s(235)];for(const n of t[e][s(315)])o[s(324)](n,{start:i,end:null});m(s(291),e,i,n),m(s(440),e,i,n),m(s(418),e,i,n),m(s(304),e,i,n);for(const i of t[e][s(497)])o[s(529)](i)[s(322)]=n}for(const[t,e]of o){const i=this[s(396)][s(225)][s(424)](e[s(530)],e[s(322)]);n[s(387)][s(324)](t,i)}return r[s(280)](((t,e)=>{const i=s,r=n[i(387)][i(529)](i(510)+t.id),o=n[i(387)][i(529)](i(510)+e.id);return r[i(530)][i(383)](o[i(530)])?-1:r[i(530)][i(240)](o[i(530)])?1:r[i(322)][i(383)](o[i(322)])?-1:r[i(322)][i(240)](o[i(322)])?1:i(323)===t[i(538)]?-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(501)]:null,d=i===t[o(258)]-1,f=h[e][0],m=c[o(406)](t[i][o(515)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(322)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(501)]!==u&&(l[e][o(322)]=n,f&&f[o(501)]===l[e][o(501)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(441)!==t[i][o(538)]||f&&f[o(501)]===u||h[e][o(546)]({userId:u,object:t[i][o(515)],change:l[e]}),o(438)===t[i][o(538)]&&f&&f[o(490)]===t[i][o(515)]&&(h[e][o(321)](),l[e]=f[o(550)])),l[e]&&d&&(l[e][o(322)]=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(515)],f=a[h(480)][h(289)](d)&&!a[h(480)][h(430)](d),m=t[h(448)]==o[h(217)]&&o[h(319)];if(f&&m)return;const p=a[h(424)](t,o),v=e[h(529)](u),g=new Ht({author:v,type:h(304)==l||h(440)==l?h(323):h(344),data:{isSuggestion:h(440)==l||h(291)==l},createdAt:new Date,rootName:i});r[h(536)](g),n[h(387)][h(324)](h(510)+g.id,p)}function v(t,e){const i=s,n=t[i(372)](),r=e[i(372)]();for(const t of n){if(t[1]!==e[i(521)](t[0]))return!1;r[i(223)]()}return r[i(223)]()[i(313)]}}[Gt(415)](){const t=Gt;this[t(396)][t(429)][t(362)](t(330))[t(403)]({view:t(274)}),this[t(396)][t(429)][t(362)](t(242))[t(378)]({model:t(274),view:e=>{const i=t,s=e[i(261)][i(512)](":")[1],n=this[i(305)](s);if(!n)return null;const r=i(323)==n[i(538)]?i(435):i(416),o=[i(238),i(527)+r];return n[i(253)][i(263)]&&o[i(536)](i(527)+r+i(316)),this[i(292)]==n&&o[i(536)](i(484)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(396)][t(429)][t(362)](t(330))[t(323)]((e=>{const i=t;e.on(i(531),((t,e,s)=>{const n=i,r=e[n(224)][n(397)](0);if(!r||!r.is(n(241),n(290)))return;if(!s[n(377)][n(398)](r,{attributes:[n(466),n(469)]}))return;const o=e[n(456)][n(530)][n(448)];s[n(326)][n(393)](n(466),r[n(521)](n(466)),o),s[n(326)][n(393)](n(469),r[n(521)](n(469)),o)}),{priority:i(442)})})),this[t(396)][t(429)][t(362)](t(330))[t(323)]((e=>{const i=t;e.on(i(241),((t,e,s)=>{const n=i;if(!s[n(377)][n(398)](e[n(224)],{attributes:[n(466),n(469)]}))return;if(e[n(456)][n(478)])return;const r=e[n(456)][n(530)][n(448)];r[n(310)](n(466))||r[n(310)](n(495))||(s[n(326)][n(393)](n(466),e[n(224)][n(521)](n(466)),r),s[n(326)][n(393)](n(469),e[n(224)][n(521)](n(469)),r))}),{priority:i(442)})})),this[t(396)][t(429)][t(362)](t(330))[t(332)]({view:{name:t(320),attributes:{vid:!0}},model:{key:t(495),value:e=>e[t(521)](t(495))}}),this[t(396)][t(225)][t(480)].on(t(340),((e,[,i])=>{const s=t;[s(466),s(469),s(495)][s(485)](i)&&(e[s(483)]=!0,e[s(414)]())}),{priority:t(506)}),this[t(396)][t(429)][t(362)](t(360))[t(323)]((e=>{const i=t;e.on(i(254),((t,e,s)=>{const n=i;if(" "!=e[n(515)][n(253)]||e[n(515)][n(217)][n(286)]>1)return;if(!s[n(377)][n(398)](e[n(515)],t[n(532)]))return;const r=s[n(326)],o=s[n(250)][n(282)](e[n(450)]);r[n(232)](o,r[n(541)](n(320)))}))})),this[t(396)][t(429)][t(362)](t(360))[t(503)]({model:t(274)}),this[t(396)][t(445)][t(455)].on(t(545),function(e){const i=t,s=e[i(433)][i(529)](i(476));return(t,n,r)=>{const o=i,a=n[o(261)][o(512)](":")[1],c=s[o(305)](a);if(!c)return null;const u=o(323)==c[o(538)]?o(512):o(341);if(!r[o(377)][o(422)](n[o(381)],t[o(532)]))return;const l=n[o(381)][o(337)](),h=n[o(381)][o(530)],d=e[o(225)][o(480)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(515)];p=p||d[o(295)](e);const i=r[o(250)][o(458)](e);if(i&&i[o(369)](o(365)))return;o(438)==t[o(538)]&&d[o(289)](e)&&!d[o(430)](e)&&(e[o(260)]||h[o(408)]?f&&f[o(217)]==e||(f=e,g(t[o(264)]),v=!0):m=m||t[o(264)])}function g(t){const e=o,i=r[e(326)][e(428)](e(320),{class:e(527)+u}),a=r[e(250)][e(451)](t);c[e(253)][e(263)]&&r[e(326)][e(525)](e(527)+u+e(316),i),s[e(292)]==c&&r[e(326)][e(525)](e(484),i),r[e(326)][e(370)](a,i),r[e(250)][e(516)](i,n[e(261)])}p||v||!m||g(m)}}(this[t(396)]),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(504),((e,i,s)=>{const n=t,r=s[n(250)][n(228)](i[n(261)]);if(r)for(const t of r)(t[n(410)](n(420))||t[n(410)](n(452)))&&(s[n(250)][n(251)](t,i[n(261)]),s[n(326)][n(344)](t))}),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(545),((e,i,s)=>{const n=t,r=i[n(261)][n(512)](":")[1],o=this[n(305)](r);if(!o)return null;const a=n(323)==o[n(538)]?n(512):n(341);if(s[n(377)][n(422)](i[n(381)],e[n(532)]))for(const t of i[n(381)][n(299)]()){if(!t.is(n(241),n(353)))continue;const e=s[n(326)][n(428)](n(320),{class:n(527)+a}),r=s[n(250)][n(451)](this[n(396)][n(225)][n(384)](t));o[n(253)][n(263)]&&s[n(326)][n(525)](n(527)+a+n(316),e),this[n(292)]==o&&s[n(326)][n(525)](n(484),e),s[n(326)][n(370)](r,e),s[n(250)][n(516)](e,i[n(261)])}}),{priority:t(412)}),this[t(396)][t(225)][t(346)].on(t(550),(()=>{const e=t;this[e(396)][e(445)][e(470)][e(550)]((t=>{const i=e;for(const e of this[i(396)][i(225)][i(346)][i(493)]()){const s=this[i(396)][i(225)][i(346)][i(523)](e),n=this[i(396)][i(445)][i(470)][i(346)][i(523)](e);if(n){const e=s[i(521)](i(402));if(t[i(479)](i(437),n),t[i(482)](i(473),n),t[i(482)](i(491),n),t[i(482)](i(405),n),e){const s=this[i(305)](e);if(!s)return null;t[i(393)](i(437),e,n),t[i(525)](i(394)+s[i(538)],n),this[i(292)]==s&&t[i(525)](i(405),n)}}}}))})),this[t(396)][t(429)][t(362)](t(330))[t(403)]({view:t(400),model:e=>t(222)+e,converterPriority:t(506)}),this[t(396)][t(429)][t(362)](t(330))[t(403)]({view:t(423),model:e=>t(528)+e,converterPriority:t(506)}),this[t(396)][t(429)][t(362)](t(360))[t(503)]({model:t(302),view:e=>({name:t(507)+e,group:t(302)}),converterPriority:t(506)}),this[t(396)][t(429)][t(362)](t(242))[t(378)]({model:t(302),view:e=>{const i=t,s=e[i(261)][i(512)](":")[1];return i(435)!=s&&i(416)!=s?null:{classes:[i(526),i(434)+s]}}}),this[t(396)][t(445)][t(455)].on(t(314),ee(this[t(396)],t(341)),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(432),ee(this[t(396)],t(512)),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(374),((e,i,s)=>{const n=t,r=s[n(250)][n(228)](i[n(261)]);if(r)for(const t of r)t.is(n(288))&&(s[n(250)][n(251)](t,i[n(261)]),s[n(326)][n(344)](t))}),{priority:t(412)})}[Gt(305)](t){const e=Gt;return this[e(500)][e(529)](t)}[Gt(358)](t){const e=Gt;return this[e(351)]&&this[e(351)][e(226)](),this[e(351)]=new Pt(this[e(396)][e(539)],t),this[e(351)]}[Gt(537)](){const t=Gt;this[t(396)][t(225)][t(346)][t(356)][t(459)](t(274)),this.on(t(233),((e,i,s,n)=>{const r=t;n&&this[r(301)][r(344)](n),s&&(this[r(301)][r(323)]({view:s,stackId:r(427),position:{target:()=>{const t=r,e=this[t(396)][t(445)],i=this[t(305)](s[t(548)]);let n;if(i[t(253)][t(237)]){const s=e[t(470)][t(449)](i[t(444)]);n=Array[t(492)](s[t(553)]())}else{const i=this[t(396)][t(225)][t(387)][t(529)](t(510)+s[t(548)]);n=Array[t(492)](e[t(250)][t(228)](i[t(532)]))[t(284)]((i=>e[t(470)][t(278)][t(534)](i)))[t(284)]((e=>Array[t(492)](e[t(553)]())))[t(407)]()}return this[t(216)]&&n[t(268)]((e=>e[t(518)]-3<=this[t(216)].y&&e[t(390)]+3>=this[t(216)].y&&e[t(474)]-3<=this[t(216)].x&&e[t(498)]+3>=this[t(216)].x))||n[0]}}}),this[r(301)][r(229)](r(427)))})),this.on(t(475),((e,i,s,n)=>{const r=t;this[r(347)]=s?this[r(358)](s):null,this[r(396)][r(225)][r(550)]((()=>{const t=r,e=this[t(396)][t(445)];n&&(n[t(253)][t(237)]?e[t(470)][t(550)]((i=>{const s=t;i[s(482)](s(405),e[s(470)][s(346)][s(523)](n[s(444)]))})):e[t(297)](t(510)+n.id)),s&&(s[t(253)][t(237)]?e[t(470)][t(550)]((i=>{const n=t;i[n(525)](n(405),e[n(470)][n(346)][n(523)](s[n(444)]))})):e[t(297)](t(510)+s.id))}))})),this[t(382)](this[t(396)][t(445)][t(470)][t(346)],t(508),((e,i)=>{const s=t;if(this[s(292)])return;const n=this[s(307)](i[s(279)]),r=this[s(500)][s(529)](n);r?(this[s(216)]={x:i[s(481)].x,y:i[s(481)].y},this[s(347)]=this[s(358)](r)):(this[s(216)]=null,this[s(347)]=null)})),this[t(382)](this[t(396)][t(445)][t(470)][t(346)],t(300),((e,i)=>{const s=t,n=this[s(307)](i[s(279)]),r=this[s(500)][s(529)](n);r?(this[s(216)]={x:i[s(481)].x,y:i[s(481)].y},r===this[s(292)]?this[s(301)][s(336)]():this[s(292)]=r):(this[s(216)]=null,this[s(292)]=null)}))}[Gt(307)](t){const e=Gt;do{const i=t[e(521)](e(437));if(i)return i;t=t[e(217)]}while(t);return null}[Gt(270)](){const t=Gt;this[t(396)][t(225)][t(550)]((e=>{const i=t;for(const t of this[i(396)][i(225)][i(387)])e[i(276)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(377)][r(422)](s[r(381)],i[r(532)]))return;const o=s[r(381)][r(337)](),a=s[r(381)][r(530)],c=t[r(225)][r(480)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(515)];h=h||c[r(295)](e);const i=n[r(250)][r(458)](e);if(i&&i[r(369)](r(365)))return;r(438)==t[r(538)]&&c[r(289)](e)&&!c[r(430)](e)&&(e[r(260)]||a[r(408)]?u&&u[r(217)]==e||(u=e,f(t[r(264)]),d=!0):l=l||t[r(264)])}function f(t){const i=r,o=n[i(250)][i(451)](t),a=n[i(326)][i(428)](i(320),{class:i(434)+e});n[i(326)][i(370)](o,a),n[i(250)][i(516)](a,s[i(261)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Gt;super(t);const i=t[e(433)][e(529)](te);this[e(509)]=!1,this[e(382)](i,e(443),(()=>this[e(281)]())),this[e(382)](i,e(342),(()=>this[e(281)]()))}[Gt(325)](){const t=Gt,e=this[t(396)],i=e[t(433)][t(529)](te),s=i[t(339)]?i[t(502)][t(373)]:null;e[t(293)][t(529)](t(285))[t(271)](s)}[Gt(281)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(396)][t(433)][t(529)](te),r=n&&s[t(317)](n[t(373)]);this[t(257)]=e&&i&&Boolean(r)}}class se extends U.Command{[Gt(425)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(433)][i(529)](te);this[i(509)]=!1,this[i(425)]=i(522)===e?1:-1,this[i(382)](s,i(443),(()=>this[i(281)]())),this[i(382)](s,i(342),(()=>this[i(281)]())),this[i(382)](s,i(475),(()=>this[i(281)]()))}[Gt(325)](){const e=Gt,i=this[e(396)],s=i[e(433)][e(529)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(292)]=n?s[e(502)][e(446)][e(529)](r+this[e(425)]):s[e(502)][e(446)][e(318)],s[e(292)][e(253)][e(237)])o=i[e(445)][e(470)][e(449)](s[e(292)][e(444)]);else{const t=i[e(225)][e(387)][e(529)](e(510)+s[e(292)].id);o=(0,H.getMarkerDomElement)(i[e(445)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(281)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(396)][t(433)][t(529)](te);this[t(257)]=!!(r&&n&&s)&&(!e||(1===this[t(425)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;!function(t){const e=ae,i=t();for(;;)try{if(563649===parseInt(e(161))/1*(parseInt(e(176))/2)+-parseInt(e(163))/3+parseInt(e(138))/4*(parseInt(e(172))/5)+parseInt(e(145))/6*(-parseInt(e(159))/7)+parseInt(e(162))/8+parseInt(e(144))/9*(-parseInt(e(170))/10)+parseInt(e(149))/11*(parseInt(e(148))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class oe extends ft.View{constructor(t){const e=ae;super(t);const i=this[e(143)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(150)](e(137),!1),this[e(150)](e(177),!1),this[e(150)](e(160),0),this[e(150)](e(169),0),this[e(150)](e(153),!1),this[e(150)](e(166),!1),this[e(158)](e(180)).to(this,e(177),this,e(169),((t,e)=>t&&e>0)),this[e(158)](e(178)).to(this,e(177),this,e(160),this,e(169),this,e(137),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(165));if(!n)return J(t,o(147));const a=J(t,o(146),n);return r?J(t,o(155),[s+1,n]):a})),s[e(150)]({label:J(t,e(181)),tooltip:!0,icon:dt.IconChevronUp}),n[e(150)]({label:J(t,e(152)),tooltip:!0,icon:dt.IconChevronDown}),s[e(158)](e(140)).to(this,e(166)),n[e(158)](e(140)).to(this,e(153)),s.on(e(141),(()=>this[e(175)](e(141),e(171)))),n.on(e(141),(()=>this[e(175)](e(141),e(179)))),this[e(151)]({tag:e(139),attributes:{class:["ck",e(142),e(154)]},children:[{tag:e(157),attributes:{class:[e(156)]},children:[{tag:e(157),attributes:{class:[e(167),i.if(e(180),e(174),(t=>!t))]},children:[{text:i.to(e(137),(i=>i?J(t,e(168))+": ":J(t,e(173))+": "))}]},{text:i.to(e(178))}]},new ft.ToolbarSeparatorView,{tag:e(139),attributes:{class:[e(164)]},children:[s,n]}]})}}function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=137]})(t,e)}function ce(){const t=["_isStatusLabelVisible","Show previous change","isNavigationMode","12EMzrjh","div","isEnabled","execute","ck-revision-history-ui","bindTemplate","4509LgpMQQ","2038020exPUJa","NUMBER_OF_CHANGES","No changes","24GSihZW","70345FCnsAh","set","setTemplate","Show next change","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__wrapper","span","bind","7HwUVjO","currentChangeNumber","2567sjMNiD","2916280Xuwdkk","868575hSoAMd","ck-revision-history-ui__changes-navigation__navigation","Loading...","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__label","EDIT_X_OF_Y_REVISIONS","numberOfChanges","10020kKqOXW","backward","1729530AkcbFy","Total","ck-hidden","fire","218wjYUmq","isReady","_statusText","forward"];return(ce=function(){return t})()}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=de;function de(t,e){const i=me();return(de=function(t,e){return i[t-=231]})(t,e)}!function(t){const e=de,i=t();for(;;)try{if(493519===-parseInt(e(245))/1+parseInt(e(253))/2+-parseInt(e(236))/3+parseInt(e(241))/4+-parseInt(e(238))/5+parseInt(e(247))/6*(parseInt(e(232))/7)+-parseInt(e(250))/8*(-parseInt(e(243))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const fe=he(242);function me(){const t=["view","2497422dqoRHG","editing","4466885GQDqoB","pluginName","document","909408XsfIZb","ck-editor__editable__loading-overlay","9DQSdGh","show","63823DbpCpP","hide","648FnqvBn","isPremiumPlugin","addClass","13924888ILCpZw","isOfficialPlugin","editor","443188AOLMgQ","roots","RevisionViewerLoadingOverlay","6069NBYBEV","change","removeClass"];return(me=function(){return t})()}class pe extends U.Plugin{static get[he(239)](){return he(231)}static get[he(251)](){return!0}static get[he(248)](){return!0}[he(244)](){const t=he,e=this[t(252)][t(237)][t(235)];e[t(233)]((i=>{const s=t;for(const t of e[s(240)][s(254)])i[s(249)](fe,t)}))}[he(246)](){const t=he,e=this[t(252)][t(237)][t(235)];e[t(233)]((i=>{const s=t;for(const t of e[s(240)][s(254)])i[s(234)](fe,t)}))}}const ve=ye;function ge(){const t=["currentChangeNumber","componentFactory","revisionHistory","168937uDRyRl","requires","editor","isReady","show","closeRevisionViewerCallback","changesNavigation","269946BYQsGo","2040516wfNFVq","isForwardNavigationEnabled","45840NsJbNw","get","11271168aLpAyf","restoreRevision","368nGXlof","numberOfChanges","init","forward","44504RrNMDc","set","12btgRFf","Restore this revision","isOfficialPlugin","861JWmPXO","change:isReady","listenTo","RevisionViewerUI","commands","bind","execute","showPreviousChange","isNavigationMode","exitToEditing","isBackwardNavigationEnabled","170GtRtbc","config","ck-revision-history-ui__back-to-editing","Back to editing","isPremiumPlugin","add","showNextChange","hide","plugins","438317Dyzaqh","pluginName","isEnabled"];return(ge=function(){return t})()}function ye(t,e){const i=ge();return(ye=function(t,e){return i[t-=126]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(914643===parseInt(e(131))/1*(parseInt(e(151))/2)+parseInt(e(139))/3+parseInt(e(145))/4*(-parseInt(e(141))/5)+-parseInt(e(138))/6+parseInt(e(154))/7*(parseInt(e(149))/8)+-parseInt(e(143))/9+parseInt(e(165))/10*(parseInt(e(174))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ke extends U.Plugin{static get[ve(126)](){return ve(157)}static get[ve(153)](){return!0}static get[ve(169)](){return!0}static get[ve(132)](){return[te,pe]}[ve(147)](){const t=ve,e=this[t(133)],i=e[t(173)][t(142)](te),s=e[t(173)][t(142)](pe);e.ui[t(129)][t(170)](t(163),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(150)]({label:J(i,s(168)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(167)}),this[s(156)](n,s(160),(()=>{const t=s;e[t(166)][t(142)](t(130))[t(136)]()})),n})),e.ui[t(129)][t(170)](t(144),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(150)]({label:J(i,s(152)),withText:!0,tooltip:!0}),n[s(159)](s(127)).to(e[s(158)][s(142)](s(144))),this[s(156)](n,s(160),(()=>e[s(160)](s(144)))),n})),e.ui[t(129)][t(170)](t(137),(s=>{const n=t,r=new oe(s),o=e[n(158)][n(142)](n(161)),a=e[n(158)][n(142)](n(171));return r[n(159)](n(164)).to(o,n(127)),r[n(159)](n(140)).to(a,n(127)),r[n(159)](n(134),n(128),n(146),n(162)).to(i),this[n(156)](r,n(160),((t,i)=>{const s=n;e[s(160)](s(148)===i?s(171):s(161))})),r})),s[t(135)](),i.on(t(155),((e,i,n)=>{const r=t;n?s[r(172)]():s[r(135)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;function _e(t,e){const i=Se();return(_e=function(t,e){return i[t-=119]})(t,e)}const Ie=_e;function Se(){const t=["listenTo","761008kNoSYD","12GRedFc","placeholder","input","4FfFIww","_resizeObserver","value","scrollWidth","Revision name","element","clientWidth","1400380OTeyMO","_tooltipString","110klNQOA","3192785GtHeQA","_updateTooltipText","23653QHSmDE","Enter the revision name","ck-revision-history-sidebar__revision-name","render","destroy","ck-tooltip_multi-line","set","extendTemplate","2150139DxjFJu","3128178hPIzIh","2345040LIkdij","span","bindTemplate","fieldView","42WSnQYB"];return(Se=function(){return t})()}!function(t){const e=_e,i=t();for(;;)try{if(398195===-parseInt(e(140))/1*(-parseInt(e(125))/2)+parseInt(e(148))/3*(-parseInt(e(128))/4)+-parseInt(e(138))/5+parseInt(e(149))/6+-parseInt(e(122))/7*(parseInt(e(124))/8)+parseInt(e(150))/9+-parseInt(e(135))/10*(-parseInt(e(137))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends ft.LabeledFieldView{[Ie(129)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(120)];this[i(146)]({label:J(t,i(132)),_tooltipString:""}),this[i(121)][i(126)]=J(t,i(141)),this[i(147)]({tag:i(119),attributes:{class:[i(142)],"data-cke-tooltip-text":s.to(i(136)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(145)}})}[Ie(143)](){const e=Ie;super[e(143)](),this[e(129)]=new t.ResizeObserver(this[e(121)][e(133)],(()=>this[e(139)]())),this[e(123)](this[e(121)],e(127),(()=>this[e(139)]()))}[Ie(144)](){const t=Ie;super[t(144)](),this[t(129)]&&this[t(129)][t(144)]()}[Ie(139)](){const t=Ie,e=this[t(121)][t(133)];this[t(136)]=e[t(131)]>e[t(134)]&&e[t(130)]||""}}var Te=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=wt(),Ne.insert=kt().bind(null,"head"),Ne.domAPI=gt(),Ne.insertStyleElement=It();pt()(Te.A,Ne);Te.A&&Te.A.locals&&Te.A.locals;function xe(){const t=["set","135637ERlUts","3480QmrBTF","6177620uUGXSD","ck-revision-history-sidebar__revision-author_creator","1113005xmrnRL","Revision creator","ck-revision-history-sidebar__revision-author__name","push","setTemplate","4557REvzvb","span","name","1365549uUActh","0 0 11 10","Revision author","12330NQIexh","ck-revision-history-sidebar__revision-author","858420DEknoY","2XwNjKY","1338SeIXaw"];return(xe=function(){return t})()}function Ae(t,e){const i=xe();return(Ae=function(t,e){return i[t-=258]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(330859===parseInt(e(276))/1*(-parseInt(e(273))/2)+-parseInt(e(267))/3+-parseInt(e(272))/4+-parseInt(e(259))/5+-parseInt(e(274))/6*(-parseInt(e(264))/7)+parseInt(e(277))/8*(parseInt(e(270))/9)+parseInt(e(278))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Re extends ft.View{constructor(t,e,i){const s=Ae;super(t);const n=new ft.IconView;n[s(275)]({content:dt.IconUser,viewBox:s(268)});const r=["ck",s(271)];i&&r[s(262)](s(258));const o=[{tag:s(265),attributes:{class:["ck",s(261)],title:J(t,s(i?260:269))},children:[n,e[s(266)]]}];this[s(263)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=354]})(t,e)}function Ee(){var t=["60fJPTsk","690444CibKPG","1wJKLKZ","2009307TIsxag","4ZwHmcl","543946jqsapf","5857488FMtHDk","toLocaleDateString","numeric","long","13534128iRYFcx","2380128dWAEQx","toLocaleTimeString","4245845mhAziZ"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(999537===parseInt(e(363))/1*(parseInt(e(366))/2)+parseInt(e(364))/3*(parseInt(e(365))/4)+parseInt(e(360))/5+-parseInt(e(358))/6+parseInt(e(367))/7+-parseInt(e(357))/8+parseInt(e(362))/9*(parseInt(e(361))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ve={attributes:{"data-cke":!0}};Ve.setAttributes=wt(),Ve.insert=kt().bind(null,"head"),Ve.domAPI=gt(),Ve.insertStyleElement=It();pt()(De.A,Ve);De.A&&De.A.locals&&De.A.locals;function Ce(t,e){const i=Fe();return(Ce=function(t,e){return i[t-=370]})(t,e)}function Fe(){const t=["stopPropagation","187oNZmZF","isVisible","first","action","source","map","extendTemplate","isActionsDropdownOpen","listenTo","bindTemplate","1308PJNMyz","name","21QDFFrd","766458QGQigT","add","function","children","menuitem","7013124ZjjKVX","ck-revision-history-sidebar__revision__actions","24385tLToDA","panelPosition","72UvkpEM","114850IyIntE","items","button","locale","class","buttonView","ck-on","bind","459410YpUMbw","Show more items","isEnabled","Restore this revision","change:isActionsDropdownOpen","model","find","17163024nORrKN","menu","execute","_action","set","Compare against selected","8CrOWKW","isReady","listView","isOpen","69028fxMGiQ","Name this revision"];return(Fe=function(){return t})()}!function(t){const e=Ce,i=t();for(;;)try{if(593773===-parseInt(e(401))/1*(parseInt(e(386))/2)+parseInt(e(402))/3*(parseInt(e(382))/4)+parseInt(e(409))/5*(parseInt(e(399))/6)+-parseInt(e(420))/7*(-parseInt(e(411))/8)+parseInt(e(407))/9+-parseInt(e(412))/10*(parseInt(e(389))/11)+-parseInt(e(376))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var je=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=wt(),Le.insert=kt().bind(null,"head"),Le.domAPI=gt(),Le.insertStyleElement=It();pt()(je.A,Le);je.A&&je.A.locals&&je.A.locals;const Pe=ze;function ze(t,e){const i=Ue();return(ze=function(t,e){return i[t-=443]})(t,e)}!function(t){const e=ze,i=t();for(;;)try{if(528598===parseInt(e(446))/1+-parseInt(e(467))/2+parseInt(e(489))/3+-parseInt(e(462))/4+parseInt(e(499))/5*(-parseInt(e(480))/6)+-parseInt(e(465))/7+parseInt(e(498))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class We extends((0,H.ConfirmMixin)(ft.View)){id;[Pe(496)];[Pe(493)];[Pe(477)];[Pe(468)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(485)],a=function(t,e){const i=r,s=Array[i(486)](e[i(451)])[i(463)]((t=>t!=e[i(460)]));return e[i(460)]&&s[i(458)](e[i(460)]),s[i(449)]((s=>new Re(t,s,s==e[i(460)])))}(e,i);this.id=i.id,this[r(477)]=i,this[r(468)]=n,this[r(453)](r(472),r(482)).to(i),this[r(453)](r(459)).to(this,r(482),(t=>{return i=e[r(450)],(s=t)[(n=Me)(354)](i,{month:n(356),day:n(355)})+", "+s[n(359)](i,{hour:n(355),minute:n(355)});var i,s,n})),this[r(455)](r(443),!1),this[r(455)](r(478),!1),this[r(455)](r(445),!1),this[r(455)](r(444),!1),this[r(455)](r(500),!1),this[r(496)]=new Oe(e,ft.createLabeledInputText),this[r(496)][r(488)][r(503)]({attributes:{maxlength:r(490)}}),this[r(496)][r(488)][r(453)](r(491)).to(this,r(472),(t=>t||this[r(459)])),this[r(496)][r(453)](r(500)).to(this,r(443),this,r(500),((t,e)=>t&&e)),this[r(493)]=s&&s[r(447)]?function(e,i){const s=Ce,n=e[s(398)],r=e[s(415)],o=(0,ft.createDropdown)(r);o[s(410)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ce,s=t[i(415)],n={"Compare against selected":J(s,i(381)),"Name this revision":J(s,i(387)),"Restore this revision":J(s,i(372))};return e[i(394)]((t=>{const e=i,s=n[t[e(400)]];return s&&s!==t[e(400)]&&(t[e(400)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(414),model:new ft.ViewModel({label:t[n(400)],class:t[n(416)],withText:!0,role:n(406),_action:t[n(392)]})};i[n(374)][n(419)](n(371)).to(e,n(396),(i=>n(404)!=typeof t[n(371)]||!i||t[n(371)](e))),o[n(403)](i)}return o}(e,i);return e[s(419)](s(396)).to(o,s(385)),o[s(417)][s(380)]({label:J(r,s(370)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(395)]({attributes:{class:[s(408),n.if(s(396),s(418))]},on:{click:n.to((t=>t[s(388)]()))}}),o.on(s(378),(t=>{const i=s;e[i(383)]&&i(404)==typeof t[i(393)][i(379)]&&t[i(393)][i(379)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(377)}),o[s(397)](e,s(373),((t,n,r)=>{const a=s;if(r)for(const t of o[a(384)][a(413)]){const s=t[a(405)][a(391)],n=i[a(375)]((t=>t[a(392)]===s[a(379)]))[a(390)];t[a(390)]=void 0===n||n(e)}})),o}(this,s):"",this[r(493)]&&this[r(493)][r(453)](r(500)).to(this),this[r(484)]({tag:r(494),attributes:{class:["ck",r(454),r(483),o.if(r(501),r(495))]},children:[{tag:r(494),attributes:{class:["ck",r(454),r(502),o.if(r(500),r(470),(t=>!t)),o.if(r(443),r(476)),o.if(r(478),r(461)),o.if(r(445),r(475))]},children:[this[r(496)],{tag:r(452),attributes:{class:["ck",r(457)]},children:[{text:o.to(r(459))}]},{tag:r(494),attributes:{class:["ck",r(456)]},children:[{tag:"ul",attributes:{class:["ck",r(479)]},children:a}]},this[r(493)]],on:{click:o.to((t=>{const e=r;t[e(469)][e(474)](e(487))||this[e(444)]&&this[e(500)]&&this[e(492)](e(448),{id:this.id})}))}}]})}[Pe(504)](){const t=Pe;super[t(504)]();const e=this[t(496)][t(488)][t(505)];this[t(497)](e,t(464),(()=>{const i=t;this[i(468)]&&!e[i(491)]||this[i(492)](i(471),{id:this.id,name:e[i(491)]}),e[i(491)]||(e[i(491)]=this[i(472)]?this[i(472)]:this[i(459)])}))}[Pe(448)](){this[Pe(443)]=!0}[Pe(473)](){this[Pe(443)]=!1}[Pe(466)](){this[Pe(478)]=!0}[Pe(481)](){this[Pe(478)]=!1}}function Ue(){const t=["3033306YJHmpW","unhighlight","createdAt","ck-revision-history-sidebar__revision-wrapper","setTemplate","bindTemplate","from",".ck-thread__remove-confirm","fieldView","1757424fddAGh","220","value","fire","revisionActionsView","div","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","revisionNameView","listenTo","22001576SQEXop","10GQjIyn","isEnabled","isConfirm","ck-revision-history-sidebar__revision","extendTemplate","render","element","isSelected","isReady","isActionsDropdownOpen","240438rEdXwP","length","select","map","uiLanguage","authors","span","bind","ck-reset","set","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision__date","unshift","_createdAtFormatted","creator","ck-revision-history-sidebar__revision_highlighted","3172632MbFkFD","filter","change","4179028hbVkEr","highlight","1293162caQBBm","_requireRevisionName","srcElement","ck-disabled","setName","name","deselect","closest","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision_selected","_revision","isHighlighted","ck-revision-history-sidebar__revision-authors"];return(Ue=function(){return t})()}class He extends Error{}class Ze extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class $e extends He{}class Ye extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ge extends He{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Xe="short",Qe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Xe,day:Ke},ii={year:Ke,month:Xe,day:Ke,weekday:Xe},si={year:Ke,month:Qe,day:Ke},ni={year:Ke,month:Qe,day:Ke,weekday:Qe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke},yi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Xe},ki={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},bi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,timeZoneName:Qe},wi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe};class _i{get type(){throw new Ge}get name(){throw new Ge}get ianaName(){return this.name}get isUniversal(){throw new Ge}offsetName(t,e){throw new Ge}formatOffset(t,e){throw new Ge}offset(t){throw new Ge}equals(t){throw new Ge}get isValid(){throw new Ge}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class xi extends _i{static create(t){return Ni[t]||(Ni[t]=new xi(t)),Ni[t]}static resetCache(){Ni={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=xi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ti[e];"era"===e?s[r]=n:ws(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ls({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Ri={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.DateTimeFormat(t,e),Ri[i]=s),s}let Ei={};let Di={};let Vi=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rs(this.floor?Math.floor(t):Vs(t,3),this.padTo)}}class Li{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&xi.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=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 zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Vi||(Vi=(new Intl.DateTimeFormat).resolvedOptions().locale,Vi)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=xs(s)||rs.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Vi=null,Ri={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,xs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Fi(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=eo.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Fi(this,t,en,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Li(t,this.intl,e)}relFormatter(t={}){return new Pi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ui=null;class Hi extends _i{static get utcInstance(){return null===Ui&&(Ui=new Hi(0)),Ui}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 Zi extends _i{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function qi(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||xi.create(t)}return _s(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Zi(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"},$i={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let Ki,Xi=()=>Date.now(),Qi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){Qi=t}static get defaultZone(){return qi(Qi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=xs(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Wi.resetCache(),xi.resetCache(),eo.resetCache(),Ji={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...$s(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...$s(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...$s(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...$s(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new $e("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function ks(t){const e=Is(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ts(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function xs(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Is(t)&&t>=e&&t<=i}function Rs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Vs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ls(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function Ws(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function 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 Zs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Zs(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}${Rs(i,2)}:${Rs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Rs(i,2)}${Rs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function $s(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Gs];case"short":return[...Js];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Qs];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Rs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Ms(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function Tn(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]?xi.create(t[e]):null,e+1]}const xn=RegExp(`^T?${gn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Rn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(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 En(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Ms(e)):Ms(e),month:Js.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:Qs.indexOf(t)+1),a}const 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 Vn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Cn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Fn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ln(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Hi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Hi.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Wn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Un=dn(/(\d{4})-?(\d{3})/,kn),Hn=dn(yn),Zn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,Tn,Nn),qn=fn(bn,On,Tn,Nn),Bn=fn(wn,On,Tn,Nn),$n=fn(On,Tn,Nn);const Yn=fn(On);const Jn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Kn=fn(On,Tn,Nn);const Xn="Invalid Duration",Qn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Qn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Qn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:qs(t,ur.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[An,Rn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[xn,Yn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new Be(i);return new ur({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ln.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=nr.map((e=>{const i=this.values[e];return ws(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Vs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return eo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=Zs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...qs(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return or(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:hr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return hr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return xi.isValidZone(t)}static normalizeZone(t){return qi(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=fr(t,e);return(i-i%7)/7}],["days",fr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Yi.indexOf(t[i]);else for(const t in $i){const[i,n]=$i[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=xr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Tr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Gi(e),s=Gi(e,"{2}"),n=Gi(e,"{3}"),r=Gi(e,"{4}"),o=Gi(e,"{6}"),a=Gi(e,"{1,2}"),c=Gi(e,"{1,3}"),u=Gi(e,"{1,6}"),l=Gi(e,"{1,9}"),h=Gi(e,"{2,4}"),d=Gi(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,Ws);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(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;ws(t.z)||(i=xi.create(t.z)),ws(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),ws(t.u)||(t.S=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 $e("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 Tr(t,i).explainFromTokens(e)}function xr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Rr=864e13;function Mr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Vr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Cr(Ls(t),e,i)}function Lr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ls(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?ln.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Rs(t.c.year,i?6:4),e?(s+="-",s+=Rs(t.c.month),s+="-",s+=Rs(t.c.day)):(s+=Rs(t.c.month),s+=Rs(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=Rs(t.c.hour);return e?(o+=":",o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Rs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Rs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Rs(Math.trunc(-t.o/60)),o+=":",o+=Rs(Math.trunc(-t.o%60))):(o+="+",o+=Rs(Math.trunc(t.o/60)),o+=":",o+=Rs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Zr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],$r=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Gr(t,e){const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of Br)ws(t[e])&&(t[e]=Hr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Qr&&(Qr=rs.now()),to[t]=t.offset(Qr)),to[t]}(i);[n,r]=jr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Vs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Qr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return eo.invalid("invalid input");const n=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Mr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Rr||t>Rr?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e),n=qs(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new $e("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new $e("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=$r,v=Zr,g=ms(g,r,o)):u?(p=Yr,v=qr,g=vs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=As(t.weekNumber,1,zs(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=As(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=jr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Zn],[Wn,qn],[Un,Bn],[Hn,$n])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Vn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,Ln],[Fn,Ln],[jn,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Jn,Zn],[Gn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new Ze(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=xr(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Qr=void 0,to={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(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?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ls(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Vr(this,{ts:a}),Vr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Vr(this,{ts:s,zone:t})}return eo.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Vr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=qs(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new $e("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new $e("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Vr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Vr(this,Lr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Vr(this,Lr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return ur.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||eo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Je("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(t,e){const i=no();return(so=function(t,e){return i[t-=406]})(t,e)}function no(){const t=["week","monthLong","2673579dyUntD","11618278xwQfkF","toRelativeCalendar","year","minus","local","day","159980HGFofA","45203184PWpeLk","startOf","toJSDate","weekdayLong","hasSame","fromJSDate","75fkLxay","10555128ZQkOAL","month","745692WclmKf","3540300swIZfN","setLocale"];return(no=function(){return t})()}function ro(t,e){const i=so,s=eo[i(407)](t)[i(413)](e),n=eo[i(421)](),r=n[i(420)]({days:1})[i(425)](i(422));let o,a;return s[i(406)](n,i(422))?(o=s[i(425)](i(422))[i(426)](),a=s[i(418)]()):s[i(406)](r,i(422))?(o=r[i(426)](),a=s[i(418)]()):s[i(406)](n,i(414))?(o=s[i(425)](i(414))[i(426)](),a=s[i(427)]||""):s[i(406)](n,i(419))?(o=s[i(425)](i(410))[i(426)](),a=s[i(415)]||""):(o=s[i(425)](i(419))[i(426)](),a=String(s[i(419)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=so,i=t();for(;;)try{if(915730===parseInt(e(411))/1+-parseInt(e(412))/2+-parseInt(e(416))/3+parseInt(e(423))/4*(parseInt(e(408))/5)+-parseInt(e(409))/6+-parseInt(e(417))/7+parseInt(e(424))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=uo;function uo(t,e){const i=ho();return(uo=function(t,e){return i[t-=214]})(t,e)}!function(t){const e=uo,i=t();for(;;)try{if(801236===-parseInt(e(240))/1*(-parseInt(e(223))/2)+parseInt(e(242))/3+parseInt(e(241))/4*(parseInt(e(246))/5)+parseInt(e(233))/6*(parseInt(e(220))/7)+-parseInt(e(222))/8+-parseInt(e(221))/9*(-parseInt(e(245))/10)+-parseInt(e(235))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class lo extends ft.View{[co(229)];[co(227)];[co(225)];[co(228)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(237)][n(234)])[n(218)];this[n(229)]=e,this[n(227)]=this[n(230)](),this[n(225)]=i,this[n(228)]=s,this[n(227)][n(217)](n(219)).to(this),this[n(227)][n(217)](n(231)).to(this),this[n(226)]({tag:n(236),attributes:{class:["ck",n(216)]},children:[{tag:n(215),attributes:{class:["ck",n(243)]},children:[{text:r}]},{tag:n(236),attributes:{class:["ck",n(238)]},children:this[n(227)]}]})}[co(239)](t){const e=co,i=new We(this[e(237)],t,this[e(225)],this[e(228)]);this[e(227)][e(232)](i)}[co(244)](t){const e=co,i=this[e(227)][e(224)]((e=>e.id===t.id));this[e(227)][e(214)](i)}}function ho(){const t=["ck-revision-history-sidebar__time-period","delegate","localizedPeriodName","select","882PTnmYi","13753251wDVgwu","5660048xEiKOx","58YyhxhO","find","_revisionActions","setTemplate","revisionViews","_requireRevisionName","startDate","createCollection","setName","add","48876yfJfyC","uiLanguage","46800369yLzuNR","div","locale","ck-revision-history-sidebar__time-period__revisions","addRevision","9049reKdNL","4QkzhKd","4509369SsueIb","ck-revision-history-sidebar__time-period__label","removeRevision","10sHGtae","7216210qnMbWe","remove","span"];return(ho=function(){return t})()}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(){const t=["setTemplate","19527RJhKVw","36kiWNuc","content","div","ck-revision-history-sidebar__header","2joceYh","3900gXaKng","7358384gGJjMn","111472DBMHqe","1251130LuUXVz","160836eoHqkc","span","12LUDrIh","2528210XOQkPA","ck-revision-history-sidebar__header__label","Revision history","412DMzoLV","350KFeLJm","ck-reset_all","1103667DnrOHB"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=468]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(707314===-parseInt(e(479))/1*(parseInt(e(486))/2)+-parseInt(e(481))/3*(parseInt(e(476))/4)+parseInt(e(473))/5*(-parseInt(e(472))/6)+parseInt(e(477))/7*(-parseInt(e(468))/8)+-parseInt(e(482))/9*(parseInt(e(469))/10)+parseInt(e(488))/11+parseInt(e(470))/12*(parseInt(e(487))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);class go extends ft.View{constructor(t){const e=vo;super(t);const i=new ft.IconView;i[e(483)]=dt.IconHistory,this[e(480)]({tag:e(484),attributes:{class:["ck",e(478),e(485)]},children:[i,{tag:e(471),attributes:{class:["ck",e(474)]},children:[J(t,e(475))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=121]})(t,e)}function _o(){const t=["setName","isEnabled","startDate","_removeRevision","9010770jwfJiI","ck-rounded-corners","_revisions","_addRevision","revisionSetName","deselect","11ZePCGm","1634636oAXIrH","delegate","revisionViews","103694cksMOt","3kXZtGx","find","flat","1047222hxgnoz","set","ck-disabled","5knBMMy","select","createdAt","div","fire","highlightRevisions","_revisionActions","remove","removeRevision","_requireRevisionName","bindTemplate","add","locale","setTemplate","261AhHGfo","2231159bQKEMC","unhighlight","revisionSelected","highlight","map","_getTimePeriodViewByStartDate","get","ck-reset","16648dPCwUJ","addRevision","getTime","ck-revision-history-sidebar__timeline","timePeriodViews","some","selectRevision","render","ck-revision-history-sidebar","createCollection","uiLanguage","762826bxHvqy"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(216514===-parseInt(e(151))/1+-parseInt(e(136))/2*(-parseInt(e(152))/3)+parseInt(e(148))/4*(-parseInt(e(158))/5)+-parseInt(e(155))/6+-parseInt(e(173))/7+parseInt(e(125))/8*(-parseInt(e(172))/9)+-parseInt(e(141))/10*(-parseInt(e(147))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends ft.View{[bo(129)];[bo(143)];[bo(164)];[bo(167)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(168)];this[n(129)]=this[n(134)](),this[n(129)][n(149)](n(159)).to(this),this[n(129)][n(149)](n(137)).to(this),this[n(143)]=e,this[n(164)]=i,this[n(167)]=s,this.on(n(159),((t,e)=>{const i=n;this[i(162)](i(175),e)})),this.on(n(137),((t,e)=>{const i=n;this[i(162)](i(145),e)})),this[n(156)](n(138),!1),this[n(171)]({tag:n(161),attributes:{class:["ck",n(124),n(142),n(133)]},children:[new go(t),{tag:n(161),attributes:{class:["ck",n(128),r.if(n(138),n(157),(t=>!t))]},children:this[n(129)]}]})}[bo(132)](){const t=bo;super[t(132)]();for(const e of this[t(143)])this[t(144)](e);this[t(143)].on(t(169),((e,i)=>{this[t(144)](i)})),this[t(143)].on(t(165),((e,i)=>{this[t(140)](i)}))}get[bo(150)](){const t=bo;return this[t(129)][t(121)]((e=>e[t(150)][t(121)]((t=>t))))[t(154)]()}[bo(131)](t){const e=bo;for(const i of this[e(150)])t&&t.id===i.id?i[e(159)]():i[e(146)]()}[bo(163)](t){const e=bo;for(const i of this[e(150)])t[e(130)]((({id:t})=>t===i.id))?i[e(176)]():i[e(174)]()}[bo(144)](t){const e=bo,i=ro(t[e(160)],this[e(170)][e(135)])[e(139)];let s=this[e(129)][e(123)](0);s&&s[e(139)][e(127)]()===i[e(127)]()||(s=new lo(this[e(170)],i,this[e(164)],this[e(167)]),this[e(129)][e(169)](s)),s[e(126)](t)}[bo(140)](t){const e=bo,i=ro(t[e(160)],this[e(170)][e(135)])[e(139)];this[e(122)](i)[e(166)](t)}[bo(122)](t){const e=bo;return this[e(129)][e(153)]((i=>i[e(139)][e(127)]()===t[e(127)]()))}}const So=Oo;function Oo(t,e){const i=To();return(Oo=function(t,e){return i[t-=248]})(t,e)}function To(){const t=["editor","revisionViews","highlightRevisions","data","9QoqqOy","isPremiumPlugin","pluginName","length","_handleEditorDataReady","selectRevision","Restore this revision","_revisions","revisionHistory","newRevisionId","revisionHistory.requireRevisionName","isReady","_sidebarView","string","revisionSetName","2xUXqqC","config","293816odYmaY","plugins","_revisionViewer","366247HJdXAA","restoreRevisionCallback","bind","appendChild","ready","remove","compareAgainstSelected","render","2109770SqYAPH","setName","map","Name this revision","element","getLaterVisibleRevision","add","374036ZmSWcY","destroy","listenTo","get","getIndex","410499tGBdjP","change:diff","_handleDiffChange","RevisionsSidebar","fieldView","_revisionsRepository","repository","revisionHistory.viewerSidebarContainer","availableRevisionActions","_handleRevisionSelected","focus","15BiPJcD","compare","timePeriodViews","action","defaultRevisionActions","revisionHistory.revisionActions","init","revisionSelected","getRevisionsInDiff","Compare against selected","nameRevision","isEnabled","name","isSelected","assign","_createRevisionActions","isVisible","locale","requires","1501758nElUWO","select","isOfficialPlugin","restoreRevision","getEarlierVisibleRevision","diff","24OHdKox","3436015qHonMT","getRevision","_handleRevisionSetName"];return(To=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(182324===parseInt(e(274))/1+-parseInt(e(272))/2*(parseInt(e(297))/3)+-parseInt(e(292))/4*(parseInt(e(308))/5)+parseInt(e(327))/6+-parseInt(e(277))/7*(-parseInt(e(249))/8)+parseInt(e(257))/9*(parseInt(e(285))/10)+-parseInt(e(250))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends U.Plugin{[So(276)];[So(302)];[So(269)];static[So(312)]=[So(283),So(330),So(318)];static[So(305)]=function(){const t=So;return{compareAgainstSelected:{name:t(317),action:({plugins:e},i)=>{const s=t,n=e[s(295)](te),r=n[s(303)];let o=n[s(248)][s(266)],a=i.id;r[s(296)](o)>r[s(296)](a)&&([o,a]=[a,o]),n[s(309)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(295)](te);return!(n[s(303)][s(316)](n[s(248)])[s(260)]>2||i[s(321)])}},restoreRevision:{name:t(263),action:(e,{id:i})=>{const s=t;e[s(273)][s(295)](s(265))[s(278)](i)},isVisible:({plugins:e},i)=>!!e[t(295)](te)[t(303)][t(290)](i.id)},nameRevision:{name:t(288),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(295)](te),o=r[n(303)][n(331)](i);r[n(309)](i,o),s[n(307)](),s[n(301)][n(328)]()}}}}();static get[So(259)](){return So(300)}static get[So(329)](){return!0}static get[So(258)](){return!0}static get[So(326)](){return[te]}constructor(t){const e=So;super(t),this[e(276)]=t[e(275)][e(295)](te),this[e(302)]=this[e(276)][e(303)],this[e(269)]=null}[So(314)](){const t=So,e=this[t(302)][t(264)],i=this[t(323)](),s=this[t(253)][t(273)][t(295)](t(304));this[t(269)]=new Io(this[t(253)][t(325)],e,i,this[t(253)][t(273)][t(295)](t(267))),this[t(269)].on(t(315),this[t(306)][t(279)](this)),this[t(269)].on(t(271),this[t(252)][t(279)](this)),this[t(269)][t(279)](t(319)).to(this[t(276)]),this[t(269)][t(310)].on(t(291),((e,i)=>{const s=t;i[s(254)].on(s(291),((t,e)=>{const i=s;e[i(279)](i(319),i(268)).to(this[i(276)])}))})),this[t(269)][t(284)](),this[t(294)](this[t(253)][t(256)],t(281),this[t(261)][t(279)](this)),this[t(294)](this[t(276)],t(298),this[t(299)][t(279)](this)),s[t(280)](this[t(269)][t(289)])}[So(293)](){const t=So;this[t(269)][t(289)][t(282)](),this[t(269)][t(293)]()}[So(261)](){const t=So,e=this[t(302)][t(251)](0);if(e){const i=this[t(302)][t(331)](e.id);this[t(276)][t(309)](e,i)}}[So(306)](t,e){const i=So,s=this[i(302)][i(251)](e.id),n=this[i(302)][i(331)](s.id);this[i(276)][i(309)](s,n)}[So(252)](t,e){const i=So;this[i(302)][i(251)](e.id)[i(286)](e[i(320)])}[So(299)](t,e,i){const s=So,n=this[s(302)][s(316)](i);n[s(260)]>2?(this[s(269)][s(255)](n),this[s(269)][s(262)](null)):(this[s(269)][s(255)]([]),this[s(269)][s(262)](n[0]))}[So(323)](){const t=So,e=this[t(253)],i=No[t(305)],s=e[t(273)][t(295)](t(313))||No[t(312)];if(s[t(260)])return s[t(287)]((s=>{const n=t,r=n(270)==typeof s?Object[n(322)]({},i[s]):s;return r[n(311)]=r[n(311)][n(279)](this,e),r[n(324)]&&(r[n(324)]=r[n(324)][n(279)](this,e)),r}))}}const xo=No,Ao=Ro;function Ro(t,e){const i=Mo();return(Ro=function(t,e){return i[t-=174]})(t,e)}function Mo(){const t=["limiterElement","viewportOffset","7202766vuyHOf","834659MOTUzT","rootName","5LXpgaP","attachDomRoot","toolbar","9064165FNdkBl","3232cNbXEB","isFocused","focusTracker","36wsxjCI","view","detachDomRoot","186778vIYdek","destroy","bind","name","_toolbarConfig","1137590whrXNb","restore","get","fillFromConfig","replace","render","editing","stickyPanel","editor","componentFactory","_view","_elementReplacer","16VmjcaZ","3176692SYllYp","init","fire","viewportTopOffset","element","isActive","addToolbar","getRoot","setEditableElement","ready","document","editable","config","_initToolbar","1788WMBaiV"];return(Mo=function(){return t})()}!function(t){const e=Ro,i=t();for(;;)try{if(670507===parseInt(e(194))/1+-parseInt(e(188))/2*(parseInt(e(178))/3)+-parseInt(e(212))/4+-parseInt(e(184))/5*(-parseInt(e(181))/6)+-parseInt(e(182))/7*(parseInt(e(211))/8)+-parseInt(e(191))/9*(-parseInt(e(199))/10)+parseInt(e(187))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends ft.EditorUI{[Ao(209)];[Ao(198)];[Ao(210)];get[Ao(192)](){return this[Ao(209)]}constructor(e,i){const s=Ao;super(e),this[s(209)]=i,this[s(198)]=(0,ft.normalizeToolbarConfig)(e[s(176)][s(201)](s(186))),this[s(210)]=new t.ElementReplacer}get[Ao(216)](){const t=Ao;return this[t(192)][t(216)]}[Ao(213)](t){const e=Ao,i=this[e(207)],s=this[e(192)],n=i[e(205)][e(192)],r=s[e(175)],o=n[e(174)][e(219)]();r[e(197)]=o[e(183)],s[e(204)]();const a=r[e(216)];this[e(220)](r[e(197)],a),s[e(175)][e(196)](e(189)).to(this[e(190)]),n[e(185)](a),this[e(210)][e(203)](t,this[e(216)]),this[e(177)](),this[e(214)](e(221))}[Ao(195)](){const t=Ao;super[t(195)]();const e=this[t(192)],i=this[t(207)][t(205)][t(192)];this[t(210)][t(200)](),i[t(193)](e[t(175)][t(197)]),e[t(195)]()}[Ao(177)](){const t=Ao,e=this[t(192)];e[t(206)][t(196)](t(217)).to(this[t(190)],t(189)),e[t(206)][t(179)]=e[t(216)],e[t(206)][t(196)](t(215)).to(this,t(180),(({top:t})=>t)),e[t(186)][t(202)](this[t(198)],this[t(208)]),this[t(218)](e[t(186)])}}var Do=i(161),Vo={attributes:{"data-cke":!0}};Vo.setAttributes=wt(),Vo.insert=kt().bind(null,"head"),Vo.domAPI=gt(),Vo.insertStyleElement=It();pt()(Do.A,Vo);Do.A&&Do.A.locals&&Do.A.locals;var Co=Fo;function Fo(t,e){var i=jo();return(Fo=function(t,e){return i[t-=423]})(t,e)}function jo(){var t=["top","6166480NnVPdC","editable","16dtJIJw","10pYDSmE","shouldToolbarGroupWhenFull","18YlMZBE","2370683rcPtzN","stickyPanel","toolbar","add","368814rekSVH","104072CgDJlv","main","577960LfcYHT","content","60678dpTBLA","6015690TIouBG","_editable","render"];return(jo=function(){return t})()}!function(t){for(var e=Fo,i=t();;)try{if(360750===-parseInt(e(424))/1+-parseInt(e(426))/2*(-parseInt(e(436))/3)+parseInt(e(442))/4+parseInt(e(434))/5*(parseInt(e(441))/6)+-parseInt(e(437))/7*(parseInt(e(433))/8)+parseInt(e(427))/9+parseInt(e(431))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends ft.BoxedEditorUIView{[Co(428)];[Co(438)];[Co(439)];get[Co(432)](){return this[Co(428)]}constructor(t,e,i={}){var s=Co;super(t),this[s(438)]=new ft.StickyPanelView(t),this[s(439)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(435)]}),this[s(428)]=new ft.InlineEditableUIView(t,e)}[Co(429)](){var t=Co;super[t(429)](),this[t(438)][t(425)][t(440)](this[t(439)]),this[t(430)][t(440)](this[t(438)]),this[t(423)][t(440)](this[t(432)])}}function Po(t,e){const i=Wo();return(Po=function(t,e){return i[t-=143]})(t,e)}const zo=Po;function Wo(){const t=["2685gkaSPR","locale","2692930XkRuZx","initialData","_ui","11946040eayKGu","createRoot","init","destroy","updateSourceElement","get","2490789qzDgYe","model","4lVbHBR","view","9kCbyWv","1446qeBARE","1486248gNaNkS","443392eauMUo","5160323vnheAc","config","document","fire","data","initPlugins","sourceElement","ready","editing","create"];return(Wo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(954053===-parseInt(e(153))/1+-parseInt(e(154))/2+-parseInt(e(147))/3*(-parseInt(e(149))/4)+-parseInt(e(165))/5*(parseInt(e(152))/6)+parseInt(e(155))/7+parseInt(e(170))/8+-parseInt(e(151))/9*(parseInt(e(167))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,U.ElementApiMixin)(U.Editor)){[zo(169)];get ui(){return this[zo(169)]}constructor(t,e){const i=zo;super(e),this[i(161)]=t,this[i(148)][i(157)][i(171)]();const s=new Lo(this[i(166)],this[i(163)][i(150)],{shouldToolbarGroupWhenFull:!0});this[i(169)]=new Eo(this,s)}[zo(144)](){const t=zo;return this[t(145)](),this.ui[t(144)](),super[t(144)]()}static async[zo(164)](t,e){const i=zo,s=new this(t,e);return await s[i(160)](),await s.ui[i(143)](t),await s[i(159)][i(143)](s[i(156)][i(146)](i(168))||""),s[i(158)](i(162)),s}}const Ho=qo;function Zo(){const t=["revisionHistory.viewerContainer","none","revisionHistory.editorContainer","model","join","revisionHistory.restoreRevisionCallback","data","getRoot","catch","RevisionViewerIntegration","Restored","18CSaBSD","end","revisionHistory.showRevisionViewerCallback","isAttached","756852aJGMwo","161361vUmHec","pluginName","getMarkersGroup","users","long","removeSelectionAttribute","revision-history-missing-configuration","_cleanUp","RevisionsRepository","then","getRevisionRootsAttributes","insert","rootName","selection","RevisionTracker","bind","remove","revision-history-viewer-opened","addRoot","Dialog","revisionHistory.viewerEditorElement","isReady","destroy","set","showRevisionViewerCallback","Annotations","_enhanceShowRevisionViewerCallback","includes","refreshVisibility","init","from","_restoreRevision","RevisionViewer","indexOf","error","fromCharCode","revisionHistory.closeRevisionViewerCallback","keys","get","locale","commands","restrictedEditingException","document","uiLanguage","numeric","creator","revisionHistory.requireRevisionName","getRevisionData","1040217KGkiAU","translations","markers","390cmxCzm","createRangeIn","create","refreshPositioning","PaginationLookup","enableReadOnlyMode","addRevisionData","getRevision","2775296zhCVqW","5538550uhfcib","RevisionHistory","has","restoreRevision","update","toJSON","lazyRoots","roots","createdAt","hide","fromVersion","exitToEditing","editor","define","getAttributeKeys","_update","plugins","Autosave","isOpen","addUser","_showRevisionViewer","repository","block","_viewerEditor","2NBWJOh","isAnonymous","$graveyard","toLocaleDateString","RestrictedEditingMode","revisionHistory","save","_recalculatePageBreaks","closeRevisionViewerCallback","config","adapter","parse","toolbar","requires","_enhanceCloseRevisionViewerCallback","changesNavigation","name","_getRevisionViewerEditorConfig","detachRoot","change","RevisionHistoryUI","toVersion","removeMarker","setAttribute","isReadOnly","setSelection","style","getUser","display","result","isOfficialPlugin","isEnabled","_closeRevisionViewer","Users","map","2208983QGfezN","6849096DBUvrn","push","disableReadOnlyMode","enqueueChange","removeAttribute","getRevisions","saveRevision","isPremiumPlugin","toLocaleTimeString"];return(Zo=function(){return t})()}function qo(t,e){const i=Zo();return(qo=function(t,e){return i[t-=368]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(593158===parseInt(e(449))/1*(parseInt(e(485))/2)+-parseInt(e(400))/3+-parseInt(e(460))/4+parseInt(e(461))/5+parseInt(e(396))/6*(parseInt(e(375))/7)+-parseInt(e(376))/8+-parseInt(e(401))/9*(parseInt(e(452))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zo);const Bo=[Ho(505),Ho(489)];class $o extends U.Plugin{[Ho(369)];static get[Ho(402)](){return Ho(394)}static get[Ho(370)](){return!0}static get[Ho(383)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(374)]((t=>String[e(436)](t)))[e(389)]("")}super(t),this[e(369)]=e(397),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends U.Plugin{[Ho(484)];static get[Ho(402)](){return Ho(462)}static get[Ho(370)](){return!0}static get[Ho(383)](){return!0}static get[Ho(498)](){return[rt,Ct]}constructor(e){const i=Ho;if(super(e),!this[i(473)][i(494)][i(439)](i(490)))throw new t.CKEditorError(i(407),this);this[i(484)]=null,this[i(473)][i(494)][i(474)](i(398),(t=>this[i(481)]({...t,translations:this[i(473)][i(440)][i(450)]}))),this[i(473)][i(494)][i(474)](i(437),(t=>this[i(372)](t))),this[i(473)][i(494)][i(474)](i(390),(t=>this[i(432)](t))),this[i(473)][i(494)][i(474)](i(447),!1),this[i(427)](),this[i(499)]()}set[Ho(495)](t){const e=Ho;this[e(473)][e(477)][e(439)](e(415))[e(495)]=t}get[Ho(495)](){const t=Ho;return this[t(473)][t(477)][t(439)](t(415))[t(495)]}[Ho(458)](t){const e=Ho;return this[e(473)][e(477)][e(439)](e(415))[e(458)](t)}[Ho(459)](t){const e=Ho;return this[e(473)][e(477)][e(439)](e(409))[e(459)](t)}[Ho(381)](t){const e=Ho;return this[e(473)][e(477)][e(439)](e(409))[e(381)](t||{toJSON:!1})}[Ho(502)](){const e=Ho,i=this[e(473)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(477)][e(439)](e(415)),r=i[e(477)][e(439)](e(373))[e(404)];return s[e(497)]=[e(472),e(464),e(500)],delete s[e(467)],s[e(477)][e(377)]($o,te,ke,class extends U.Plugin{static get[e(498)](){return[te,e(373)]}[e(430)](){const s=e,o=this[s(473)][s(477)][s(439)](s(373));for(const t of r)t[s(486)]||o[s(512)](t.id)||o[s(480)](t);const a=n[s(482)][s(381)]();let c=null;const u=this[s(473)][s(477)][s(439)](s(433));u[s(495)]=n[s(495)],u[s(416)](s(371)).to(n),this[s(473)][s(441)][s(439)](s(464))[s(416)](s(371)).to(i,s(509),(t=>!t));for(const e of a){const i=null===e[s(446)];if(i&&e[s(506)]===e[s(471)])continue;const r=e[s(466)]();u[s(458)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(476)](r,o);else if(!o){const e=a[u(466)]();e.id=(0,t.uid)(),n[u(382)](e,a[u(506)])[u(410)]((t=>{c=t}))}}else e[u(476)](r,o)}))}}},xo),s}[Ho(427)](){const t=Ho,e=this[t(473)][t(494)][t(439)](t(490))[t(425)];this[t(473)][t(494)][t(424)](t(398),(async()=>{const i=t;this[i(473)][i(457)](i(418));const s=this[i(473)][i(477)][i(439)](i(415));if(this[i(473)][i(477)][i(463)](i(478))){const t=this[i(473)][i(477)][i(439)](i(478));await t[i(491)]()}else await s[i(465)]();if(this[i(473)][i(477)][i(463)](i(456))&&this[i(473)][i(477)][i(439)](i(456))[i(492)](),this[i(473)][i(477)][i(463)](i(420))){const t=this[i(473)][i(477)][i(439)](i(420));t[i(479)]&&t[i(470)]()}const n=this[i(502)]();return e(n)[i(410)]((t=>{const e=i;return this[e(484)]=t,this[e(473)][e(477)][e(463)](e(426))&&this[e(473)][e(477)][e(439)](e(426))[e(429)](),t}))[i(393)]((t=>(console[i(435)](t),this[i(473)][i(378)](i(418)),null)))}))}[Ho(499)](){const t=Ho,e=this[t(473)][t(494)][t(439)](t(490))[t(493)];this[t(473)][t(494)][t(424)](t(437),(()=>(this[t(473)][t(477)][t(463)](t(456))&&this[t(473)][t(477)][t(439)](t(456))[t(492)](),this[t(484)][t(477)][t(439)](t(433))[t(408)](),e(this[t(484)])[t(410)]((()=>{const e=t;if(this[e(473)][e(378)](e(418)),this[e(484)]=null,this[e(473)][e(477)][e(463)](e(426))){const t=this[e(473)][e(477)][e(439)](e(426));t[e(429)](),t[e(455)]()}})))))}[Ho(481)](t){const e=Ho,i=this[e(473)][e(494)][e(439)](e(387)),s=this[e(473)][e(494)][e(439)](e(385)),n=this[e(473)][e(494)][e(439)](e(421));return Uo[e(454)](n,t)[e(410)]((t=>(s[e(511)][e(368)]=e(483),i[e(511)][e(368)]=e(386),t)))}[Ho(372)](t){const e=Ho,i=this[e(473)][e(494)][e(439)](e(387));return this[e(473)][e(494)][e(439)](e(385))[e(511)][e(368)]=e(386),i[e(511)][e(368)]="",t[e(423)]()}async[Ho(432)](t){const e=Ho,i=this[e(473)],s=this[e(484)][e(477)][e(439)](e(433)),n=i[e(477)][e(439)](e(415)),r=s[e(482)][e(459)](t);let o,a,c;try{o=await s[e(448)](r),a=await s[e(411)](r)}catch(t){return void console[e(435)](t)}i[e(388)][e(504)]((t=>{const s=e;for(const e of Array[s(431)](i[s(388)][s(451)][s(403)](s(442))))t[s(507)](e)})),s[e(422)]=!1,i[e(388)][e(379)]((t=>{const s=e;t[s(510)](null),t[s(406)](i[s(388)][s(443)][s(414)][s(475)]());const n=Object[s(438)](o);for(const e of i[s(388)][s(443)][s(468)])s(487)!=e[s(413)]&&e[s(399)]()&&!n[s(428)](e[s(413)])&&t[s(503)](e);for(const e of n){let n=i[s(388)][s(443)][s(392)](e);n&&n[s(399)]()||(n=t[s(419)](e));const r=a[e],c=Object[s(438)](r),u=o[e];for(const e of n[s(475)]())c[s(428)](e)||t[s(380)](e,n);for(const i of c)t[s(508)](i,a[e][i],n);t[s(417)](t[s(453)](n)),t[s(412)](i[s(391)][s(496)](u,n),n,0)}}));const u=J(i[e(440)],e(395));return c=r[e(501)]?-1==r[e(501)][e(434)](u)?u+": "+r[e(501)]:r[e(501)]:u+": "+r[e(469)][e(488)](i[e(440)][e(444)],{month:e(405),day:e(445)})+", "+r[e(469)][e(384)](i[e(440)][e(444)],{hour:e(445),minute:e(445)}),await n[e(382)]({name:c}),s[e(422)]=!0,i[e(494)][e(439)](e(490))[e(493)]()}}function Jo(t,e){var i=Go();return(Jo=function(t,e){return i[t-=329]})(t,e)}function Go(){var t=["5177390DblPWL","579539cNlFTE","2878425kceEhN","1183835ocywgr","27NZAGWh","4910700ecdrBd","20BiiPMD","2547828IzSCgw","1165927RtpKFm","16XHECCU"];return(Go=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(691502===-parseInt(e(333))/1+-parseInt(e(329))/2+parseInt(e(334))/3+parseInt(e(338))/4*(parseInt(e(335))/5)+-parseInt(e(337))/6+parseInt(e(330))/7*(-parseInt(e(331))/8)+parseInt(e(336))/9*(parseInt(e(332))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();