@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250606.0 → 0.0.0-nightly-20250607.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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=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(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)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]);n&&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),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.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 s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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:0s;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,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.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=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](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 n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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 n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>le,Revision:()=>Y,RevisionHistory:()=>na,RevisionHistoryUI:()=>Ht,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>mt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Ko,RevisionViewerLoadingOverlay:()=>_e,RevisionViewerUI:()=>xe,RevisionsRepository:()=>et,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>he});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,R=void 0){const A=R?.(t,e,i,n);if(null!=A)return A;if(null==(D=t)||"object"!=typeof D&&"function"!=typeof D)return t;var D;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,R));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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 n.set(t,e),N(e,t,i,n,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,R),e}if("object"==typeof t&&function(t){switch(s(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 n.set(t,e),N(e,t,i,n,R),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}function D(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const M=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&D(n,i)&&(void 0!==i||e in t)||(t[e]=i)},V=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}const C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(F.test(t)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function P(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function z(t,e,i){return function(t,e,i,n){if(null==t&&!P(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let t=0;t<s.length&&null!=r;t++){const e=L(s[t]);let o;if(t===s.length-1)o=i(r[e]);else{const i=r[e],a=n(i);o=void 0!==a?a:P(i)?i:E(s[t+1])?[]:{}}M(r,e,o),r=r[e]}return t}(t,e,(()=>i),(()=>{}))}function U(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const n=t[e];return void 0===n?U(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);const n=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===n?i:n}}}function H(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;try{return delete i[n],!0}catch{return!1}}const q=B;function $(){const t=["1656063oscqSd","authors","18257048PiyLJg","setAttribute","setName","fire","creator","toJSON","removeAttribute","diffData","model","creatorId","1311759ssoWuT","1974284mrfSxI","_update","map","createdAt","attributes","authorsIds","name","fromVersion","toVersion","776160FUNZue","4349118PyQAoV","565690raiXoz","set","8SCUzFc"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=165]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(889404===parseInt(e(188))/1+parseInt(e(187))/2*(parseInt(e(173))/3)+parseInt(e(174))/4+-parseInt(e(185))/5+-parseInt(e(184))/6+parseInt(e(183))/7+-parseInt(e(190))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends((0,t.ObservableMixin)()){id;[q(167)];[q(189)];[q(170)];[q(182)];[q(181)];[q(171)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(167)]=e[i(167)]||null,this[i(189)]=e[i(189)]||[],this[i(170)]=e[i(170)]||null,this[i(182)]=e[i(182)]||0,this[i(181)]=e[i(181)]||0,this[i(186)](i(180),e[i(180)]||""),this[i(186)](i(177),e[i(177)]||new Date),this[i(186)](i(178),e[i(178)]||{})}[q(165)](t){this[q(175)]({name:t})}[q(191)](t,e){const i=q,n=A(this[i(178)]);z(n,t,e),this[i(175)]({attributes:n})}[q(169)](t){const e=q,i=A(this[e(178)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return H(t,e);if("number"==typeof e?e=L(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]&&U(e))return H(t,W(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(175)]({attributes:i})}[q(175)](t,e=!1){const i=q;let n=!1;const s={id:this.id},r=[i(180),i(177),i(170),i(189),i(178),i(182),i(181),i(172)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(189)]&&(s[i(179)]=s[i(189)][i(176)]((t=>t.id)),delete s[i(189)]),this[i(166)](i(175),s,e))}[q(168)](){const t=q;return{id:this.id,name:this[t(180)],creatorId:this[t(167)]?this[t(167)].id:null,authorsIds:this[t(189)][t(176)]((t=>t.id)),diffData:this[t(170)],createdAt:this[t(177)],attributes:this[t(178)],fromVersion:this[t(181)],toVersion:this[t(182)]}}}var G=i(782),J=i(211),K=i(783);const X=tt;function Q(){const t=["64HnVFmJ","requires","getIndex","get","diffData","68156HOqdCr","fromCharCode","reverse","toVersion","createRevision","isPremiumPlugin","isNaN","editor","2304576eOzAMT","464432WnrdZo","oldRevisionId","388605HDhheU","getRevisionsIterator","earlier","name","data","_revisions","12sKZRdS","add","Users","addRevision","getLaterVisibleRevision","2393155VzYLdj","plugins","toJSON","94779hxnYYt","getRevisions","afterInit","26099062MBEPJx","later","length","join","isOfficialPlugin","href","730QfqXFX","from","getEarlierVisibleRevision","map","RevisionsRepository","pluginName","6EmkZsz","getRevisionsInDiff","getUser","authorsIds","fromVersion","push","createdAt","creatorId","newRevisionId","6eqgCNn","getRevision","attributes"];return(Q=function(){return t})()}function tt(t,e){const i=Q();return(tt=function(t,e){return i[t-=205]})(t,e)}!function(t){const e=tt,i=t();for(;;)try{if(407640===parseInt(e(232))/1*(parseInt(e(240))/2)+parseInt(e(248))/3+parseInt(e(249))/4+parseInt(e(205))/5*(parseInt(e(223))/6)+-parseInt(e(251))/7*(-parseInt(e(235))/8)+-parseInt(e(208))/9*(-parseInt(e(217))/10)+-parseInt(e(211))/11*(parseInt(e(257))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class et extends G.Plugin{[X(256)];static get[X(236)](){return[J.Users]}static get[X(222)](){return X(221)}static get[X(215)](){return!0}static get[X(245)](){return!0}get[X(213)](){const t=X;return this[t(256)][t(213)]}constructor(e){const i=X;super(e),this[i(256)]=new t.Collection}[X(210)](){!async function(e){const i=k([69,78,65,74,104,115,75,87,106,107,119,100,48,98,117,53,101,108,114,121,122,88,116,79,73,49,54,67,77,97,55,90,110,113,50,81,66,89,51,56,99,82,120,57,105,103,86,80,111,72,112,84,76,83,52,85,118,70,102,109,71,68]),n=964649,s=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 n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),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=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(246)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)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([69]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}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 n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,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,n])=>{i(e),t(n)})):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=tt;return t[e(220)]((t=>String[e(241)](t)))[e(214)]("")}!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()]=n),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])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[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,n=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),n={...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 n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(n())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(s-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 n=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])](s/n)));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)*n: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 n(){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 n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{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,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),(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,s,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])])?s/1e3:1749168e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,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:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(216)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[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=>s[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&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||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{return k([73,110,118,97,108,105,100])}}())}(this)}[X(244)](t){const e=X,i=this[e(247)][e(206)][e(238)](e(259));return new Y({id:t.id,name:t[e(254)],creator:t[e(230)]?i[e(225)](t[e(230)]):null,diffData:t[e(239)]||t[e(255)],authors:t[e(226)][e(220)]((t=>i[e(225)](t))),createdAt:new Date(t[e(229)]),attributes:t[e(234)],fromVersion:t[e(227)],toVersion:t[e(243)]})}[X(260)](t,e=0){const i=X;this[i(256)][i(258)](t,e)}[X(233)](t){const e=X;return this[e(256)][e(238)](t)}[X(209)](t={toJSON:!1}){const e=X,i=Array[e(218)](this[e(256)]);return i[e(242)](),t[e(207)]?i[e(220)]((t=>t[e(207)]())):i}[X(237)](t){const e=X;return this[e(256)][e(237)](t)}[X(219)](t){const e=X,[,i]=this[e(252)](t,{direction:e(253)});return i}[X(261)](t){const e=X,[,i]=this[e(252)](t,{direction:e(212)});return i}[X(224)](t){const e=X,i=[];for(const n of this[e(252)](t[e(231)]))if(i[e(228)](n),n.id===t[e(250)])break;return i}*[X(252)](t,{direction:e=X(253),filter:i=()=>!0}={}){const n=X,s=n(253)===e?1:-1;let r=this[n(256)][n(238)](t),o=this[n(237)](r);for(yield r;r;){if(o+=s,r=this[n(233)](o),!r)return;i(r)&&(yield r)}}}function it(){const t=["forEach","toModel","8191300tGqomN","insertions","document","loadRevisionData","isPremiumPlugin","toData","htmlProcessor","_setCustomProperty","createElement","marked","attributes","_makeModelFromViewString","revision-end","_getTypeCharForViewElement","render","childNodes","constructor","2LjtDSM","_removeRevisionMarkers","data-revision-","processor","name","getRevision","data","revision-start","customProperties","_appendChild","parse","domConverter","getRevisionRootsAttributes","config","1313599XkhYas","diffData","startsWith","attachChange","children","filter","type","div","map","length","collaboration.channelId","from","1032RPtjcd","9453366gOogYR","get","useFillerType","4700892YxCCjx","getFillerOffset","pluginName","_getViewFromDiffObj","182603OnPEib","RevisionHistoryUtils","isOfficialPlugin","domDocument","viewChildrenToDom","_viewClassToTypeChar","fillerOffset","_typeCharToViewClass","48mdBjjM","attributesAfter","view","editing","isAttached","innerHTML","92664WFlrfr","default","getRevisionDocumentData","50215bapIGM","domChildrenToView","string","append","editor"];return(it=function(){return t})()}const nt=st;function st(t,e){const i=it();return(st=function(t,e){return i[t-=488]})(t,e)}!function(t){const e=st,i=t();for(;;)try{if(895693===-parseInt(e(537))/1*(parseInt(e(503))/2)+-parseInt(e(533))/3+parseInt(e(551))/4+parseInt(e(554))/5*(parseInt(e(529))/6)+-parseInt(e(517))/7*(-parseInt(e(545))/8)+-parseInt(e(530))/9+parseInt(e(561))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);class rt extends G.Plugin{static get[nt(535)](){return nt(538)}static get[nt(539)](){return!0}static get[nt(490)](){return!0}[nt(542)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[nt(544)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[nt(489)](t,e){const i=nt;if(t[i(518)]||!e)return;const n=this[i(558)][i(516)][i(531)](i(527)),s=await e[i(508)]({channelId:n,revisionId:t.id});t[i(518)]=s[i(518)]}[nt(553)](t){const e=nt,i={};for(const n in t[e(518)]){if(t[e(518)][n][e(520)]&&!t[e(518)][n][e(520)][e(549)])continue;const s=this[e(504)](JSON[e(513)](t[e(518)][n][e(562)])),r=this[e(558)][e(548)][e(547)][e(488)],o=new K.ViewDocumentFragment(r,s[e(525)]((t=>this[e(536)](t,!1))));this[e(558)][e(509)][e(506)][e(532)](e(495)),i[n]=this[e(558)][e(509)][e(506)][e(491)](o),this[e(558)][e(509)][e(506)][e(532)](e(552))}return i}[nt(515)](t){const e=nt,i={};for(const n in t[e(518)])t[e(518)][n][e(520)]&&!t[e(518)][n][e(520)][e(549)]||(i[n]=t[e(518)][n][e(546)]||{});return i}[nt(499)](t){const e=nt;return this[e(542)][e(531)](t[e(502)])}[nt(536)](t,e){const i=nt,n=this[i(558)][i(548)][i(547)][i(488)];if(i(556)==typeof t)return new K.ViewText(n,t);{let s,r;r="u"==t[i(523)]||"r"==t[i(523)]?[]:t[i(521)][i(525)]((t=>this[i(536)](t,e)));const o=this[i(544)][i(531)](t[i(523)])||K.ViewElement,a=this[i(558)][i(509)][i(492)][i(514)];if(s=new o(n,t[i(507)],t[i(496)],r),"u"==t[i(523)]&&t[i(521)][0]){const r=t[i(521)][0];if(s[i(500)]=function(t){const e=i,n=t[e(494)](e(524));return n[e(550)]=r,n[e(501)][0]},e){const t=new K.ViewDocumentFragment(n);t[i(512)](s);const e=Array[i(528)](a[i(541)](t,{bind:!1})),r=a[i(540)][i(494)](i(524));r[i(557)](...e),s=Array[i(528)](a[i(555)](r))[0]}}else if("r"==t[i(523)]&&t[i(521)][0]){const r=t[i(521)][0];if(s[i(500)]=function(t){t[i(550)]=r},e){const t=new K.ViewDocumentFragment(n);t[i(512)](s);const e=Array[i(528)](a[i(541)](t,{bind:!1})),r=a[i(540)][i(494)](i(524));r[i(557)](...e);const o=Array[i(528)](a[i(555)](r));o[i(526)]>1?s[i(512)](o):s=o[0]}}if(t[i(511)])for(const[e,n]of t[i(511)])s[i(493)](e,n);const c=void 0===t[i(543)]?null:t[i(543)];return null!==c&&(s[i(534)]=()=>c),s}}[nt(497)](t){const e=nt,i=JSON[e(513)](t),n=this[e(558)][e(548)][e(547)][e(488)],s=new K.ViewDocumentFragment(n,i[e(525)]((t=>this[e(536)](t,!0))));return this[e(558)][e(509)][e(560)](s)}[nt(504)](t){const e=nt;return(t=t[e(522)]((t=>!t[e(507)]||e(510)!==t[e(507)]&&e(498)!==t[e(507)])))[e(559)]((t=>{const i=e;i(556)!=typeof t&&(t[i(521)]=this[i(504)](t[i(521)]),t[i(496)]=t[i(496)][i(522)]((t=>!t[0][i(519)](i(505)))))})),t}}function ot(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function at(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 ct(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,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 ut(t,e,r,o)}return ut(t,e,r,o)}function ut(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),R=s(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return D(t.valueOf(),i.valueOf());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}const A=(n=n??new Map).get(t),M=n.get(i);if(null!=A&&null!=M)return A===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ct(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex((e=>ct(o,e,void 0,t,i,n,x)));if(-1===a)return!1;s.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(!ct(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,n,x)||at(t)&&at(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ct(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}const dt=ft;function ft(t,e){const i=gt();return(ft=function(t,e){return i[t-=224]})(t,e)}!function(t){const e=ft,i=t();for(;;)try{if(270268===parseInt(e(412))/1+-parseInt(e(272))/2*(-parseInt(e(278))/3)+-parseInt(e(388))/4*(-parseInt(e(449))/5)+parseInt(e(241))/6+parseInt(e(290))/7*(-parseInt(e(508))/8)+-parseInt(e(236))/9*(parseInt(e(288))/10)+parseInt(e(280))/11*(-parseInt(e(234))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gt);class mt extends G.Plugin{[dt(497)];[dt(535)];[dt(262)]=null;[dt(463)];[dt(385)]=null;[dt(455)];[dt(340)];[dt(248)];[dt(273)];[dt(338)];[dt(364)];[dt(415)];[dt(363)];[dt(328)];static get[dt(501)](){return dt(316)}static get[dt(382)](){return!0}static get[dt(269)](){return!0}static get[dt(528)](){return[J.Users,et,rt,G.PendingActions]}constructor(e){const i=dt;super(e),this[i(463)]=this[i(395)][i(303)][i(408)](i(224)),this[i(338)]=this[i(395)][i(303)][i(408)](i(271)),this[i(455)]=new pt(this[i(395)]),this[i(248)]=this[i(395)][i(358)][i(408)](i(370))||i(478),this[i(273)]=new Map,this[i(328)]=null;const n=(0,t.uid)();this[i(340)]={history:this[i(395)][i(394)][i(427)][i(422)],getLatestVersion:()=>Promise[i(511)](this[i(395)][i(394)][i(427)][i(367)]),getCurrentRevisionId:()=>n},this[i(238)](i(342),!1),this[i(238)](i(285),!0),this[i(238)](i(452),!1),this[i(395)][i(358)][i(333)](i(442),!0),this[i(395)][i(302)][i(229)](i(251))[i(453)]({view:i(320)})}[dt(450)](){const t=dt;this[t(256)](),this[t(395)][t(543)].on(t(490),(()=>{const e=t,i=this[e(463)][e(336)](0),n=i&&null===i[e(434)]?i:null;if(this[e(415)]=!!n&&this[e(395)][e(358)][e(408)](e(442)),this[e(395)][e(303)][e(474)](e(233))){const t=this[e(340)][e(263)](),s=this[e(463)][e(336)](t);if(s)this[e(363)]=s[e(381)],this[e(415)]=!1;else{const t=this[e(340)][e(422)][e(337)][e(470)]((t=>!t[e(289)])),s=t?t[e(359)]:this[e(340)][e(422)][e(367)];i?(i[e(307)]<s&&i[e(306)]({toVersion:s}),this[e(415)]?(this[e(340)][e(263)]=()=>n.id,this[e(363)]=n[e(381)]):(this[e(363)]=i[e(307)],this[e(415)]=!1)):(this[e(363)]=s,this[e(415)]=!1)}}else n&&(this[e(395)][e(394)][e(427)][e(422)][e(367)]=Math[e(281)](n[e(307)],this[e(395)][e(394)][e(427)][e(422)][e(367)]),n[e(381)]===n[e(307)]?(0!==n[e(381)]&&(this[e(340)][e(263)]=()=>n.id),this[e(415)]=!1):this[e(415)]&&(this[e(340)][e(263)]=()=>n.id,this[e(363)]=n[e(381)])),this[e(415)]||(this[e(363)]=this[e(395)][e(394)][e(427)][e(367)]);this[e(455)][e(450)](this[e(340)][e(422)]),this[e(291)](this[e(363)]),this[e(454)](this[e(363)]),this[e(385)]&&this[e(522)]()})),this[t(487)](t(342)).to(this,t(452),(t=>!t)),this[t(497)]=this[t(395)][t(358)][t(408)](t(497));const e=this[t(395)];this[t(535)]=setInterval((()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(242)==r||i(354)==r||i(390)==r||i(469)==r||i(240)==r||i(521)==r||i(239)==r||i(513)==r){delete e[s],n=r,clearInterval(this[i(535)]),this[i(535)]=void 0;break}}i(354)==n&&e[i(407)](i(227)),i(390)==n&&e[i(407)](i(378)),i(469)==n&&e[i(407)](i(519)),i(240)==n&&e[i(407)](i(365),i(464)),i(521)==n&&e[i(407)](i(416)),i(239)==n&&e[i(407)](i(441)),i(513)==n&&e[i(407)](i(461))}),1e3)}async[dt(431)](){const t=dt;if(this[t(463)][t(480)]>0){const e=this[t(463)][t(336)](0),i=await this[t(492)](e),n=await this[t(548)](e);this[t(400)](i,n)}}[dt(537)](){const t=dt;super[t(537)](),this[t(535)]&&clearInterval(this[t(535)])}[dt(420)](t){this[dt(340)]=t}async[dt(544)](){const t=dt,e=await this[t(340)][t(447)]();if(e>this[t(262)][t(307)]){await this[t(380)]();const i=this[t(245)]({revision:this[t(262)],to:e});i[t(309)]=i[t(468)][t(314)]((e=>this[t(395)][t(303)][t(408)](t(512))[t(491)](e))),this[t(262)][t(306)](i)}}async[dt(429)](e={},i=null){const n=dt,s=[];await this[n(380)](),this[n(415)]=!1,i>this[n(262)][n(307)]&&(i=null),null===i&&(i=await this[n(340)][n(447)]());const r=this[n(301)](i),o=this[n(245)]({from:r,to:i});if(this[n(262)][n(307)]<i){const t=this[n(245)]({revision:this[n(262)],from:i,to:i});t[n(309)]=[],t[n(468)]=[],t.id=this[n(262)].id,this[n(262)][n(306)](t,!0),delete t[n(309)],s[n(446)](t)}e[n(373)]=this[n(395)][n(303)][n(408)](n(512)).me.id,e[n(356)]=e[n(356)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(510)](e);s[n(446)](e);const c=this[n(463)][n(325)](a);if(0!==c){const t=this[n(463)][n(336)](c-1);if(t[n(381)]!==i){const r=this[n(455)][n(445)](i,t[n(307)]),o={id:t.id,diffData:r[n(293)],authorsIds:r[n(468)],authors:r[n(468)][n(314)]((t=>this[n(395)][n(303)][n(408)](n(512))[n(491)](t))),fromVersion:i};t===this[n(262)]&&(o[n(351)]=new Date(e[n(351)][n(506)]()+10)),t[n(306)](o,!0),delete o[n(309)],s[n(446)](o)}}if(this[n(385)]){for(const t of s)this[n(345)](t.id,t,!0);this[n(522)]()}return a}[dt(510)](t){const e=dt,i=this[e(463)][e(403)](t);return this[e(385)]&&i.on(e(306),((t,i,n)=>{const s=e;n||(this[s(345)](i.id,i,!0),this[s(522)]())})),this[e(463)][e(502)](i,this[e(284)](i)),i}async[dt(492)](t){const e=dt;return await this[e(338)][e(417)](t,this[e(385)]),this[e(338)][e(492)](t)}async[dt(548)](t){const e=dt;return await this[e(338)][e(417)](t,this[e(385)]),this[e(338)][e(548)](t)}[dt(522)](){const t=dt;if(0===this[t(273)][t(252)])return;if(this[t(452)])return;let e=Array[t(541)](this[t(273)][t(315)]());this[t(273)][t(456)]();for(let i=0;i<e[t(480)];i++){const n=e[i];let s=!1;for(const e of Object[t(232)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(539)]((t=>null!==t)),!e[t(480)])return;for(let i=0;i<e[t(480)];i++){const n=e[i];void 0!==n[t(381)]&&void 0===n[t(307)]&&(n[t(307)]=this[t(463)][t(336)](n.id)[t(307)]),void 0!==n[t(307)]&&void 0===n[t(381)]&&(n[t(381)]=this[t(463)][t(336)](n.id)[t(381)])}const i=this[t(395)][t(358)][t(408)](t(370));this[t(452)]=!0,this[t(547)](),this[t(385)][t(304)](e,i)[t(346)]((()=>{this[t(452)]=!1}))[t(319)]((e=>{const i=t;if(e)for(const t of e)this[i(376)]({id:t.id,createdAt:t[i(351)]});this[i(259)](),this[i(522)]()}))}[dt(245)]({revision:t=null,from:e=null,to:i=null}){const n=dt;e=null!==e?e:t[n(381)],i=null!==i?i:t[n(307)];const s=this[n(455)][n(445)](e,i),r={diffData:s[n(293)],authorsIds:s[n(468)],fromVersion:e,toVersion:i};if(!t||i!==t[n(307)]){const t=i-1,e=this[n(340)][n(422)][n(261)](t);r[n(351)]=e&&e[n(351)]||new Date}if(this[n(328)]&&e===this[n(328)][n(381)])for(const t of this[n(328)][n(309)])r[n(468)][n(323)](t.id)||r[n(468)][n(446)](t.id);return r}[dt(345)](t,e,i){const n=dt;if(this[n(273)][n(474)](t)){const s=this[n(273)][n(408)](t);e=i?{...s,...e}:{...e,...s}}this[n(273)][n(238)](t,e)}[dt(376)](t){const e=dt,i=this[e(463)][e(336)](t.id);if(t[e(351)]&&(t[e(351)]=new Date(t[e(351)])),t[e(468)]){const i=this[e(395)][e(303)][e(408)](e(512));t[e(309)]=t[e(468)][e(314)]((t=>i[e(491)](t)))}i[e(306)](t,!0)}[dt(291)](t){const e=dt,i=this[e(463)][e(336)](this[e(463)][e(480)]-1);if(i)this[e(248)]=i.id;else{const i=!this[e(395)][e(394)][e(427)][e(295)][e(470)]((t=>this[e(395)][e(394)][e(287)](t))),n=this[e(395)][e(303)][e(408)](e(512)).me.id,s=ot(this[e(395)][e(444)],e(i?371:389));this[e(399)]({from:t,to:t,id:this[e(248)],name:s,creatorId:n})}}[dt(454)](t){const e=dt,i=this[e(340)][e(263)]();this[e(262)]=this[e(463)][e(336)](i),this[e(262)]||(this[e(262)]=this[e(399)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(380)](){const t=dt;this[t(415)]&&!this[t(328)]&&(await this[t(338)][t(417)](this[t(262)],this[t(385)]),this[t(455)][t(366)](this[t(262)]),this[t(328)]={fromVersion:this[t(262)][t(381)],authors:this[t(262)][t(309)][t(379)]()})}[dt(400)](e,i){const n=dt;let s=this[n(395)][n(358)][n(408)](n(322)),r=this[n(395)][n(358)][n(408)](n(405));if(void 0===s){s={};for(const t of this[n(395)][n(394)][n(427)][n(419)]())s[t]=""}if(n(517)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(395)][n(394)][n(427)][n(419)]())r[t]={}}let o=!1;const a=Object[n(232)](s),c=Object[n(232)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(504)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[n(232)](r[t])[n(480)]>0){o=!0;break}}o||(o=c[n(249)]((t=>!this[n(395)][n(394)][n(427)][n(231)](t)))),o&&(0,t.logWarning)(n(255),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(395)][n(358)][n(238)](n(322),e),this[n(395)][n(358)][n(238)](n(405),i)}[dt(547)](){const t=dt;if(!this[t(364)]){const e=this[t(395)][t(303)][t(408)](t(398));this[t(364)]=e[t(479)](ot(this[t(395)][t(444)],t(312)))}}[dt(259)](){const t=dt;this[t(364)]&&(this[t(395)][t(303)][t(408)](t(398))[t(347)](this[t(364)]),this[t(364)]=null)}[dt(284)](t){const e=dt,i=this[e(463)][e(335)]();i[e(509)]();let n=0;for(;n<i[e(480)];){const s=i[n];if(s===this[e(262)]){n++;continue}if(s.id===this[e(248)])break;const r=t[e(307)]-s[e(307)]||t[e(381)]-s[e(381)];if(r>0)break;if(r<0)n++;else{if(!t[e(434)]&&s[e(434)])break;if(s[e(434)]||!t[e(434)]){if(t[e(351)]>s[e(351)])break;n++}else n++}}return n}[dt(301)](t){const e=dt,i=this[e(463)][e(335)]();i[e(509)](),i[e(495)]();const n=i[e(470)]((i=>i[e(307)]<=t))[e(307)];return n<this[e(363)]?this[e(363)]:n}[dt(399)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=dt,o=this[r(245)]({from:e,to:i});o[r(356)]=t,o[r(373)]=n,o.id=s;const a=this[r(510)](o);return this[r(385)]&&this[r(345)](o.id,o,!0),a}[dt(256)](){const t=dt;this[t(395)][t(302)][t(229)](t(266))[t(505)]({model:t(320)})}}class pt{[dt(395)];[dt(526)];[dt(443)];[dt(265)];[dt(305)];[dt(482)];[dt(355)];[dt(318)];[dt(311)];[dt(414)];[dt(274)];[dt(410)];[dt(484)];[dt(341)];[dt(300)];[dt(529)];[dt(339)];constructor(t){const e=dt;this[e(395)]=t,this[e(443)]=new Map,this[e(265)]=-1,this[e(305)]=-1,this[e(482)]=new Map,this[e(355)]=new Map,this[e(318)]=new Map,this[e(311)]=new Map,this[e(414)]=new Map,this[e(274)]=new Map,this[e(410)]=new Map,this[e(484)]=new Map,this[e(341)]=new Map,this[e(300)]=new Map,this[e(529)]=1}[dt(450)](t){const e=dt;this[e(526)]=t;const i=new Map,n=new Map,s=this[e(395)][e(394)][e(427)][e(295)][e(314)]((t=>t[e(277)]));for(const t of s){const s=this[e(395)][e(394)][e(427)][e(231)](t),r=vt(s);i[e(238)](t,r),n[e(238)](t,Object[e(430)](s[e(282)]()))}const r=Array[e(541)](this[e(395)][e(394)][e(486)])[e(314)]((t=>[t[e(356)],t[e(294)]()])),o=this[e(526)][e(367)];this[e(527)](o,i,r,n),this[e(339)]=this[e(529)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(238)](t,i),c[e(238)](t,{})}this[e(527)](Number[e(343)],a,[],c)}[dt(445)](t,e){const i=dt;if(this[i(265)]===t&&this[i(305)]<=e)this[i(443)][i(252)]>1&&this[i(235)](this[i(305)]),this[i(299)](this[i(305)],e,!0);else{if(!this[i(443)][i(474)](t)){const e=this[i(268)](t);this[i(496)](e,t,!1)}this[i(496)](t,e,!0)}return this[i(265)]=t,this[i(305)]=e,this[i(411)]()}[dt(366)](t){const e=dt,i=this[e(395)][e(303)][e(408)](e(271));this[e(332)](),this[e(265)]=t[e(381)],this[e(305)]=t[e(307)];for(const n in t[e(293)]){const s=t[e(293)][n][e(425)],r=A(t[e(293)][n][e(439)])||{},o=i[e(321)](t[e(293)][n][e(360)]);o[e(277)]=n,o[e(226)]=!s||!s[e(466)],o[e(466)]=()=>o[e(226)],this[e(311)][e(238)](n,o),this[e(414)][e(238)](n,r),s&&this[e(300)][e(238)](n,s);const a=this[e(237)](o);this[e(410)][e(238)](n,a);for(const[t,i]of o[e(486)]){if(!t[e(298)](e(409)))continue;const n=t[e(310)](":")[2];for(const t of i[e(438)]({singleCharacters:!0})){const i=this[e(426)](t),s=e(435)==t[e(369)]?t[e(396)][e(451)][e(379)](0,-1):t[e(396)][e(451)],r=a[e(536)](s)[e(392)](i);this[e(484)][e(238)](r,{userId:n})}}}this[e(339)]=this[e(529)];const n=[...Array(this[e(529)])[e(232)]()][e(379)](1)[e(539)]((t=>!this[e(484)][e(474)](t)));let s=0;const r=new Map;for(const o in t[e(293)]){const a=t[e(293)][o][e(425)],c=A(t[e(293)][o][e(349)])||{},u=i[e(321)](t[e(293)][o][e(459)]);u[e(277)]=o,u[e(226)]=!a||a[e(466)],u[e(466)]=()=>u[e(226)],this[e(355)][e(238)](o,u),this[e(318)][e(238)](o,c);const l=this[e(237)](u,Number[e(343)]);this[e(274)][e(238)](o,l),r[e(238)](o,u[e(466)]()?c:{});for(const[t,i]of u[e(486)]){if(!t[e(298)](e(409)))continue;const n=t[e(310)](":")[2];for(const t of i[e(438)]({singleCharacters:!0})){const i=this[e(426)](t),s=this[e(529)]++,r=e(435)==t[e(369)]?t[e(396)][e(451)][e(379)](0,-1):t[e(396)][e(451)];l[e(536)](r)[e(524)](i,s),this[e(484)][e(238)](s,{userId:n})}}for(const t of this[e(395)][e(394)][e(344)](u)[e(438)]({singleCharacters:!0})){const i=this[e(426)](t),r=e(435)==t[e(369)]?t[e(396)][e(451)][e(379)](0,-1):t[e(396)][e(451)],o=l[e(536)](r);o[e(392)](i)>0||o[e(524)](i,n[s++])}for(const[t,i]of u[e(486)])t[e(298)](e(409))||this[e(482)][e(238)](t,i)}const o=yt(e(374));this[e(311)][e(238)](e(374),o),this[e(410)][e(238)](e(374),this[e(237)](o,1));const a=yt(e(374));this[e(355)][e(238)](e(374),a),this[e(274)][e(238)](e(374),this[e(237)](a,1));const c=Array[e(541)](this[e(355)])[e(314)]((([t,e])=>[t,vt(e)]));this[e(527)](this[e(305)],c,this[e(482)],r)}[dt(457)](){const t=dt;this[t(332)](),this[t(265)]=-1,this[t(305)]=-1,this[t(443)][t(456)](),this[t(450)](this[t(526)])}[dt(527)](t,e,i,n){const s=dt,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(238)](t,{start:e[s(514)][s(292)](),end:e[s(372)][s(292)](),rootName:e[s(377)][s(277)]});this[s(443)][s(238)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(235)](t){const e=dt;this[e(443)][e(384)](t)}[dt(332)](){const t=dt;this[t(484)][t(456)](),this[t(341)][t(456)](),this[t(300)][t(456)](),this[t(355)][t(456)](),this[t(318)][t(456)](),this[t(311)][t(456)](),this[t(414)][t(456)](),this[t(274)][t(456)](),this[t(410)][t(456)](),this[t(482)][t(456)](),this[t(529)]=1,this[t(339)]=this[t(529)]}[dt(237)](t,e=null){const i=dt;let n=null;t.is(i(386))||(n=new K.Element(t[i(356)],{vid_start:null===e?this[i(529)]++:e++}));const s=[];for(const n of t[i(406)]())if(n.is(i(267))){s[i(446)](this[i(237)](n,e));const t=s[s[i(480)]-1];null!==e&&(e=t.is(i(267),i(317))?t[i(392)](i(538))+1:t[i(392)](i(228))+1)}else for(let t=0;t<n[i(545)];t++)s[i(446)](new K.Element(i(317),{vid:null===e?this[i(529)]++:e++}));if(t.is(i(386))){const e=yt(t[i(277)]);return e[i(437)](0,s),e}return n[i(524)](i(228),null===e?this[i(529)]++:e++),n[i(437)](0,s),n}[dt(496)](t,e,i){const n=dt;this[n(332)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(443)][n(408)](t);this[n(311)]=new Map(s),this[n(414)]=new Map(A(o));for(const[t,e]of this[n(311)])if(n(374)!==t&&(this[n(355)][n(238)](t,vt(e)),this[n(318)]=new Map(A(o)),i)){const i=this[n(529)];this[n(274)][n(238)](t,this[n(237)](e)),this[n(410)][n(238)](t,this[n(237)](e,i))}this[n(339)]=this[n(529)],this[n(355)][n(238)](n(374),vt(this[n(311)][n(408)](n(374)))),i&&this[n(274)][n(238)](n(374),this[n(237)](this[n(311)][n(408)](n(374))));for(const[t,e]of r){const i=this[n(311)][n(408)](e[n(277)]),s=this[n(355)][n(408)](e[n(277)]),r=new K.Range(this[n(286)](e[n(514)],i),this[n(286)](e[n(372)],i)),o=this[n(532)](r,s);i[n(486)][n(238)](t,r),this[n(482)][n(238)](t,o)}this[n(299)](t,e,i)}[dt(299)](t,e,i){const n=dt;for(const s of this[n(526)][n(230)](t,e))this[n(516)](s,i);for(const t of this[n(355)][n(315)]())t[n(486)][n(456)]();for(const[t,e]of this[n(482)])this[n(355)][n(408)](e[n(377)][n(277)])[n(486)][n(238)](t,e[n(292)]());const s=new Map,r=new Map;for(const[t,e]of this[n(355)])s[n(238)](t,vt(e)),r[n(238)](t,this[n(318)][n(408)](t));this[n(527)](e,s,this[n(482)],r)}[dt(268)](t){const e=dt,i=Array[e(541)](this[e(443)][e(232)]());i[e(476)](((t,e)=>t-e)),i[e(509)]();for(const e of i)if(e<t)return e;return Number[e(343)]}[dt(297)](t,e){const i=dt,n=Array[i(541)](e[i(486)])[i(314)]((([e,n])=>[e,this[i(532)](n,t)]));t[i(486)]=new Map(n)}[dt(460)](t){const e=dt;for(const i of this[e(482)][e(315)]()){const n=i[e(428)](t),s=K.Range[e(494)](n);i[e(514)]=s[e(514)],i[e(372)]=s[e(372)]}}[dt(516)](t,e){const i=dt;if(i(257)!=t[i(369)]&&i(546)!=t[i(369)]){if(i(243)==t[i(369)]){const n=t[i(518)][i(377)][i(277)];this[i(355)][i(474)](n)||(this[i(355)][i(238)](n,yt(n,!0)),this[i(318)][i(238)](n,{}),e&&this[i(274)][i(238)](n,yt(n,!0)))}else{if(i(401)==t[i(369)]||i(515)==t[i(369)]||i(530)==t[i(369)])return void this[i(402)](t);i(350)==t[i(369)]&&this[i(534)](t)}if(i(350)!==t[i(369)]){const e=this[i(404)](t,this[i(355)]);e[i(462)](),this[i(460)](e)}if(e)switch(t[i(369)]){case i(243):this[i(500)](t);break;case i(283):case i(347):case i(276):this[i(296)](t);break;case i(432):this[i(279)](t);break;case i(310):this[i(352)](t)}}else this[i(247)](t,e)}[dt(404)](t,e){const i=dt,n=t[i(292)]();return n[i(353)]=t[i(353)],this[i(533)](n,e),n}[dt(413)](t){const e=dt;return t[e(314)]((t=>{const i=e,n=this[i(426)](t);return Number(t[i(507)][i(392)](n))}))}[dt(362)](t,e){const i=dt;if(t.is(i(267),i(317)))e[i(446)]({item:t,type:i(540)});else{t.is(i(267))&&e[i(446)]({item:t,type:i(327)});for(const n of t[i(406)]())this[i(362)](n,e);t.is(i(267))&&e[i(446)]({item:t,type:i(435)})}return e}[dt(411)](){const t=dt,e=new Map(this[t(484)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(311)][t(232)](),...this[t(355)][t(232)]()]);a[t(384)](t(374));for(const e of a){const i=this[t(355)][t(408)](e)||yt(e,!1),n=this[t(311)][t(408)](e)||yt(e,!1);i[t(466)]()||n[t(466)]()?(s[t(459)][e]=vt(i),s[t(360)][e]=vt(n),this[t(297)](s[t(360)][e],n),this[t(297)](s[t(459)][e],i),r[t(459)][e]=this[t(362)](this[t(274)][t(408)](e),[]),r[t(360)][e]=this[t(362)](this[t(410)][t(408)](e)||yt(e,!1),[])):a[t(384)](e)}for(const s of a){const o=r[t(459)][s];for(const s of o){const r=this[t(426)](s),o=s[t(507)][t(392)](r);i[t(384)](o),o>=this[t(339)]&&n[t(238)](o,e[t(408)](o))}}for(const s of a){const a=r[t(459)][s],c=this[t(413)](r[t(360)][s]);let u=0;for(const s of a){const r=this[t(426)](s),a=s[t(507)][t(392)](r);if(!n[t(474)](a)&&!o[t(474)](a))if(i[t(474)](a))u++;else{if(a!=c[u]){const n=e[t(408)](a)||e[t(408)](c[u]);for(;a!=c[u];)i[t(474)](c[u])||(o[t(238)](c[u],n),e[t(238)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(459)][e];for(const e of s){const s=this[t(426)](e),r=e[t(507)][t(392)](s);if(o[t(474)](r)){const e=o[t(408)](r);i[t(474)](r)||i[t(238)](r,{...e}),n[t(238)](r,{...e})}}}for(const e of i[t(232)]())e>=this[t(339)]&&i[t(384)](e);const c=new Map;for(const e of a){let s=r[t(459)][e];for(const e of s)if(e[t(507)].is(t(267),t(270))){const i=this[t(426)](e),s=e[t(507)][t(392)](i);if(n[t(474)](s)){const i=e[t(507)][t(254)][t(254)][t(392)](t(436)),r=c[t(408)](i)||new Set;r[t(479)](n[t(408)](s)[t(433)]),c[t(238)](i,r)}}s=r[t(360)][e];for(const e of s)if(e[t(507)].is(t(267),t(270))){const n=this[t(426)](e),s=e[t(507)][t(392)](n);if(i[t(474)](s)){const n=e[t(507)][t(254)][t(254)][t(392)](t(436)),r=c[t(408)](n)||new Set;r[t(479)](i[t(408)](s)[t(433)]),c[t(238)](n,r)}}for(const e of c[t(232)]())(n[t(474)](e)||i[t(474)](e))&&c[t(384)](e)}for(const e of a){const s=r[t(459)][e];let o=null,a=null;for(const e of s){const s=this[t(426)](e),r=e[t(507)][t(392)](s),u=c[t(408)](r);u&&t(327)==e[t(369)]&&(o=Array[t(541)](u)[0],a=e[t(507)][t(392)](t(228))),o&&(i[t(238)](r,{userId:o}),n[t(238)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(360)][e],a=s[t(459)][e];for(const{userId:e}of this[t(341)][t(315)]())null!==e&&l[t(479)](e);for(const{userId:e}of this[t(300)][t(315)]())null!==e&&l[t(479)](e);this[t(421)](a,r[t(459)][e],n,t(258),l),this[t(421)](o,r[t(360)][e],i,t(368),l),u[e]={insertions:this[t(473)](a),deletions:this[t(473)](o),attachChange:this[t(300)][t(408)](e)||null,attributesBefore:A(this[t(414)][t(408)](e))||{},attributesAfter:A(this[t(318)][t(408)](e))}}return{diffData:u,authorsIds:Array[t(541)](l)}}[dt(357)](t){const e=dt;for(const[,i]of t[e(486)]){const t=i[e(514)][e(440)]()[e(539)]((t=>e(270)==t[e(356)]));for(const i of t)1==i[e(531)]&&i[e(253)](0).is(e(267),e(361))&&i[e(253)](0)[e(524)](e(472),!0)}}[dt(473)](t){const e=dt;this[e(357)](t);const i=this[e(395)][e(543)][e(331)](t,{}),n=Array[e(541)](i[e(406)]())[e(314)]((t=>this[e(465)](t)));return JSON[e(334)](n)}[dt(465)](t){const e=dt;if(t.is(e(317)))return t[e(543)];{const i=this[e(395)][e(303)][e(408)](e(271)),n=t,s=this[e(395)][e(543)][e(225)][e(483)],r={type:i[e(475)](n),name:n[e(356)],attributes:Array[e(541)](n[e(282)]()),children:Array[e(541)](n[e(406)]())[e(314)]((t=>this[e(465)](t)))};if(t.is(e(260))&&e(498)!=t[e(356)]){const i=t[e(448)](s[e(477)],s);r[e(330)][e(446)](i[e(499)])}else if(t.is(e(246))){const i=s[e(477)][e(329)](n[e(356)]);t[e(448)](i,s),r[e(330)][e(446)](i[e(375)])}const o=Array[e(541)](n[e(481)]());o[e(480)]>0&&(r[e(313)]=o);const a=n[e(244)]();return null!==a&&(r[e(493)]=a),r}}[dt(421)](t,e,i,n,s){const r=dt;let o=null,a=null,c=0;const u=this[r(395)][r(394)];for(let n=0;n<e[r(480)];n++){const s=this[r(426)](e[n]),c=e[n][r(507)][r(392)](s),h=i[r(408)](c),d=n==e[r(480)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(433)]!=o[r(433)])&&(l(h,kt(a,t,u),kt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,kt(a,t,u),bt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(433)],d=l(409)+n+":"+h+":"+c++,f=u[l(485)](i,a);t[l(486)][l(238)](d,f),null!==h&&s[l(479)](h)}}[dt(426)](t){const e=dt;switch(t[e(369)]){case e(327):return e(436);case e(435):return e(228);default:return e(538)}}[dt(533)](t,e){const i=dt;t[i(359)]=null;for(const n in t){const s=t[n];if(s instanceof K.Position){const r=e[i(408)](s[i(377)][i(277)]);t[n]=this[i(286)](s,r)}if(s instanceof K.Range){const r=e[i(408)](s[i(377)][i(277)]);t[n]=this[i(532)](s,r)}i(377)===n&&(t[i(377)]=e[i(408)](t[i(377)][i(277)]))}}[dt(532)](t,e){const i=dt;return this[i(395)][i(394)][i(485)](this[i(286)](t[i(514)],e),this[i(286)](t[i(372)],e))}[dt(286)](t,e){const i=dt;return this[i(395)][i(394)][i(393)](e,t[i(451)],t[i(383)])}[dt(500)](t){const e=dt,i=this[e(274)][e(408)](t[e(518)][e(377)][e(277)]),n=this[e(286)](t[e(518)],i),s=null===t[e(353)]?null:t[e(353)]||this[e(395)][e(303)][e(408)](e(512)).me.id,r=n[e(254)],o=this[e(529)],a=[];for(const i of t[e(489)])if(i.is(e(267)))a[e(446)](this[e(237)](i));else for(let t=0;t<i[e(545)];t++)a[e(446)](new K.Element(e(317),{vid:this[e(529)]++}));const c=this[e(529)];for(let t=o;t<c;t++)this[e(484)][e(238)](t,{userId:s});r[e(437)](n[e(542)],a)}[dt(296)](t){const e=dt;(t=this[e(404)](t,this[e(274)]))[e(462)]();const i=null===t[e(353)]?null:t[e(353)]||this[e(395)][e(303)][e(408)](e(512)).me.id,n=t[e(308)](),s=n[e(254)],r=n[e(542)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(253)](e);r.is(a(267),a(317))?n[a(238)](r[a(392)](a(538)),{userId:i}):(n[a(238)](r[a(392)](a(436)),{userId:i}),t(n,r,0,r[a(531)]),n[a(238)](r[a(392)](a(228)),{userId:i}))}}(this[e(484)],s,r,r+t[e(326)])}[dt(279)](t){const e=dt,i=null===(t=this[e(404)](t,this[e(274)]))[e(353)]?null:t[e(353)]||this[e(395)][e(303)][e(408)](e(512)).me.id,n=t[e(387)][e(254)],s=t[e(418)][e(254)],r=n[e(392)](e(228)),o=s[e(392)](e(436));n[e(524)](e(228),s[e(392)](e(228))),s[e(524)](e(228),r),this[e(484)][e(238)](o,{userId:i}),this[e(484)][e(238)](r,{userId:i}),t[e(462)]()}[dt(352)](t){const e=dt,i=null===(t=this[e(404)](t,this[e(274)]))[e(353)]?null:t[e(353)]||this[e(395)][e(303)][e(408)](e(512)).me.id,n=t[e(525)],s=t[e(264)][e(254)];t[e(462)]();const r=s[e(392)](e(228)),o=t[e(275)][e(348)];if(n){const t=o[e(392)](e(228)),n=s[e(392)](e(228));s[e(524)](e(228),t),o[e(524)](e(228),n),this[e(484)][e(238)](s[e(392)](e(228)),{userId:i}),this[e(484)][e(238)](o[e(392)](e(436)),{userId:i})}else{const t=this[e(529)]++,n=this[e(529)]++;s[e(524)](e(228),t),o[e(524)](e(436),n),o[e(524)](e(228),r),this[e(484)][e(238)](t,{userId:i}),this[e(484)][e(238)](n,{userId:i})}}[dt(534)](t){const e=dt;if(!t[e(391)])return;const i=(t=this[e(404)](t,this[e(355)]))[e(424)]?t[e(424)][e(377)]:null,n=t[e(523)]?t[e(523)][e(377)]:null;i&&this[e(482)][e(384)](t[e(356)]),n&&this[e(482)][e(238)](t[e(356)],t[e(523)][e(292)]());const s=null===t[e(353)]?null:t[e(353)]||this[e(395)][e(303)][e(408)](e(512)).me.id,r=t[e(356)];if(!this[e(341)][e(474)](r))return void this[e(341)][e(238)](r,{range:t[e(424)],userId:s});const o=this[e(341)][e(408)](r),a=o[e(520)],c=t[e(523)];null==a&&null==c||a&&c&&a[e(397)](c)?this[e(341)][e(384)](t[e(356)]):o[e(433)]=s}[dt(247)](t,e){const i=dt;this[i(355)][i(474)](t[i(277)])?this[i(355)][i(408)](t[i(277)])[i(226)]=t[i(488)]:(this[i(355)][i(238)](t[i(277)],yt(t[i(277)],!0)),this[i(318)][i(238)](t[i(277)],{}),e&&this[i(274)][i(238)](t[i(277)],yt(t[i(277)],!0)));const n=null===t[i(353)]?null:t[i(353)]||this[i(395)][i(303)][i(408)](i(512)).me.id,s=this[i(300)][i(408)](t[i(277)]);s&&s[i(433)]===n?this[i(300)][i(384)](t[i(277)]):this[i(300)][i(238)](t[i(277)],{userId:n,isAttached:t[i(488)]})}[dt(402)](t){const e=dt,i=this[e(318)][e(408)](t[e(377)][e(277)]);null===t[e(503)]?delete i[t[e(458)]]:i[t[e(458)]]=t[e(503)]}}function vt(t){const e=dt,i=yt(t[e(277)],t[e(466)]());for(const n of t[e(406)]()){const t=n[e(423)](!0);i[e(467)](t)}return i}function gt(){const t=["newRange","_setAttribute","graveyardPosition","source","_saveMetaData","requires","_revisionId","changeRootAttribute","childCount","_fixRange","_fixOperation","_handleMarkerOperation","_licenseKeyCheckInterval","getNodeByPath","destroy","vid","filter","text","from","offset","data","update","offsetSize","detachRoot","_addPendingAction","getRevisionRootsAttributes","RevisionsRepository","htmlProcessor","_isAttached","invalid","vid_end","for","getOperations","getRoot","keys","RealTimeCollaborationClient","4448916iSKfPN","_removeMetaData","29907eTdUkD","_makeIdsRoot","set","revisionHistoryLicenseKeyTrialLimit","revisionHistoryLicenseKeyNotAllowed","1338024faaZgV","revisionHistoryLicenseKeyValid","insert","getFillerOffset","buildRevisionData","rawElement","_handleRootOperation","_initialRevisionId","some","createPositionBefore","upcast","size","getChild","parent","editor-initial-data-replaced-with-revision-data","_setConversion","addRoot","insertion","_removePendingAction","uiElement","getOperation","currentRevision","getCurrentRevisionId","splitPosition","_lastFrom","dataDowncast","element","_getPreviousFrom","isPremiumPlugin","tableCell","RevisionHistoryUtils","34ZLcTaB","_bufferedUpdates","_idsRoots","insertionPosition","reinsert","rootName","41265ffHnQE","_handleMergeOperation","22kToRiB","max","getAttributes","move","_findInsertionIndex","isEnabled","_fixPosition","hasContent","10mOuPNr","_isInit","7OPVrlZ","_createInitialRevision","clone","diffData","getRange","roots","_handleMoveOperation","_copyMarkers","startsWith","_applyOperations","_touchedRoots","_getFromVersion","conversion","plugins","updateRevisions","_lastTo","_update","toVersion","getMovedRangeStart","authors","split","_baseRoots","PENDING_ACTION_REVISION_HISTORY","customProperties","map","values","RevisionTracker","$text","_diffRootsAttributes","then","revision","_makeModelFromViewString","initialData","includes","createPositionAfter","getIndex","howMany","elementStart","_loadedStateData","createElement","children","toView","_reset","define","stringify","getRevisions","getRevision","_operations","_utils","_startingRevisionId","_source","_touchedMarkers","isReady","NEGATIVE_INFINITY","createRangeIn","_bufferUpdate","finally","remove","nodeAfter","attributesAfter","marker","createdAt","_handleSplitOperation","_authorId","revisionHistoryLicenseKeyInvalid","_diffRoots","name","_processRootBeforeSave","config","baseVersion","deletions","paragraph","_generateTape","_startingVersion","_pendingAction","featureNotAllowed","loadState","version","deletion","type","collaboration.channelId","Empty document","end","creatorId","$graveyard","innerHTML","setRevisionData","root","expired","slice","_loadState","fromVersion","isOfficialPlugin","stickiness","delete","adapter","documentFragment","targetPosition","4Jcqyvx","Initial revision","revisionHistoryLicenseKeyExpired","affectsData","getAttribute","createPositionFromPath","model","editor","previousPosition","isEqual","PendingActions","_makeRevision","_replaceEditorDataWithRevisionData","addRootAttribute","_handleRootAttributeOperation","createRevision","_cloneOperation","rootsAttributes","getChildren","_showLicenseError","get","revision:","_baseIdsRoots","_getState","461509wWTxIA","_getBaseVids","_baseRootsAttributes","_continueCurrentRevision","evaluationLimit","loadRevisionData","sourcePosition","getRootNames","setSource","_markChanges","history","_clone","oldRange","attachChange","_getVidAttributeName","document","getTransformedByOperation","saveRevision","fromEntries","afterInit","merge","userId","creator","elementEnd","vid_start","_insertChild","getWalker","attributesBefore","getAncestors","trialLimit","revisionHistory.resumeUnsavedRevision","_savedMetaData","locale","getData","push","getLatestVersion","render","2597950FbcjJj","init","path","_isPendingUpdate","dataToMarker","_createCurrentRevision","_revisionDataBuilder","clear","reInit","key","insertions","_transformMarkers","usageLimit","_execute","repository","RevisionHistory","_getViewJson","isAttached","_appendChild","authorsIds","revisionHistoryLicenseKeyDomainLimit","find","createPositionAt","keepParagraph","_prepareViewToSave","has","_getTypeCharForViewElement","sort","domDocument","initial","add","length","getCustomProperties","_markers","domConverter","_touched","createRange","markers","bind","isAdd","nodes","ready","getUser","getRevisionDocumentData","fillerOffset","_createFromRanges","shift","_calculateMetaData","licenseKey","$comment","outerHTML","_handleInsertOperation","pluginName","addRevision","newValue","trim","markerToData","getTime","item","3382888MjZMIa","reverse","addRevisionData","resolve","Users","revisionHistoryLicenseKeyUsageLimit","start","removeRootAttribute","_handleOperation","string","position","domainLimit","range","revisionHistoryLicenseKeyEvaluationLimit","sendBufferedUpdates"];return(gt=function(){return t})()}function yt(t,e=!0){const i=dt,n=new K.DocumentFragment;return n[i(277)]=t,n[i(226)]=e,n[i(466)]=()=>n[i(226)],n}function kt(t,e,i){const n=dt,s=n(435)==t[n(369)]?i[n(471)](t[n(507)],n(372)):i[n(250)](t[n(507)]);return i[n(393)](e,s[n(451)],s[n(383)])}function bt(t,e,i){const n=dt,s=n(327)==t[n(369)]?i[n(471)](t[n(507)],0):i[n(324)](t[n(507)]);return i[n(393)](e,s[n(451)],s[n(383)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),Tt=i.n(Ot),xt=i(262),Nt=i.n(xt),Rt=i(667),At=i.n(Rt),Dt=i(357),Mt=i.n(Dt),Vt=i(426),Et={attributes:{"data-cke":!0}};Et.setAttributes=At(),Et.insert=Nt().bind(null,"head"),Et.domAPI=Tt(),Et.insertStyleElement=Mt();St()(Vt.A,Et);Vt.A&&Vt.A.locals&&Vt.A.locals;var Ct=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=At(),Ft.insert=Nt().bind(null,"head"),Ft.domAPI=Tt(),Ft.insertStyleElement=Mt();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;const jt=Lt;function Lt(t,e){const i=Wt();return(Lt=function(t,e){return i[t-=298]})(t,e)}!function(t){const e=Lt,i=t();for(;;)try{if(280901===parseInt(e(314))/1*(-parseInt(e(334))/2)+parseInt(e(341))/3+-parseInt(e(312))/4*(-parseInt(e(339))/5)+parseInt(e(320))/6+parseInt(e(309))/7*(parseInt(e(324))/8)+-parseInt(e(338))/9+-parseInt(e(323))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class Pt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[jt(335)];[jt(333)];[jt(299)];constructor(e,i){const n=jt;super(e),this[n(335)]=new t.FocusTracker,this[n(333)]=new t.KeystrokeHandler,this[n(313)](n(330),""),this[n(299)]=this[n(327)](i),this[n(305)]({tag:n(326),attributes:{class:["ck",n(311),n(340)],tabindex:"-1"},children:[this[n(299)]]}),this[n(298)]()}[jt(332)](){const t=jt;super[t(332)](),(0,_t.submitHandler)({view:this}),this[t(335)][t(307)](this[t(299)][t(317)]),this[t(333)][t(316)](this[t(317)]);const e=e=>e[t(302)]();this[t(333)][t(313)](t(301),e),this[t(333)][t(313)](t(321),e),this[t(333)][t(313)](t(304),e),this[t(333)][t(313)](t(336),e)}[jt(322)](){const t=jt;this[t(299)][t(322)]()}get[jt(315)](){const t=jt;return this[t(299)][t(318)][t(317)][t(319)][t(300)]()}set[jt(315)](t){const e=jt;this[e(299)][e(318)][e(317)][e(319)]=t[e(300)]()}[jt(310)](){const t=jt;this[t(299)][t(318)][t(317)][t(319)]="",this[t(299)][t(328)]=null}[jt(327)](t){const e=jt,i=new _t.LabeledFieldView(this[e(308)],_t.createLabeledInputText),n=i[e(318)];n[e(337)]({attributes:{maxlength:e(331)}});let s=ot(this[e(308)],e(325));return!t&&(s+=" ("+ot(this[e(308)],e(329))+")"),i[e(303)]=s,n.on(e(306),(()=>{const t=e;this[t(330)]=n[t(317)][t(319)][t(300)]()})),i}}function Wt(){const t=["errorText","optional","revisionNameInputValue","220","render","keystrokes","34eLmLnr","focusTracker","arrowdown","extendTemplate","4685580fCWwpr","10hDoWYw","ck-responsive-form","268719zPBIXY","initializeCssTransitionDisablerMixin","revisionNameInputView","trim","arrowright","stopPropagation","label","arrowup","setTemplate","input","add","locale","63dBljKl","reset","ck-revision-history-save-revision-form","966952kTBNKd","set","1454kndUFO","revisionName","listenTo","element","fieldView","value","484572xtTlNE","arrowleft","focus","496110ZolHLF","197368gZBntl","Name of the revision","form","_createRevisionNameInput"];return(Wt=function(){return t})()}const zt=Zt;function Ut(){const t=["395906PGPSoB","7200981AzxaYb","Open revision history","948825WqRYiX","panelView","_registerMenuComponent","The revision name cannot be empty.","errorText","Cancel","addMany","hide","_createSaveRevisionFormView","RevisionTracker","saveRevision","134307dCnkvb","isReady","editor","revisionName","6cwwnPn","Dialog","submit","menuBar:revisionHistory","isReadOnly","locale","focus","get","componentFactory","isOfficialPlugin","editing","show","bind","21010FCRWTu","_showDialog","showRevisionViewerCallback","set","init","view","Accept","menu","revisionHistory","plugins","_saveRevisionFormView","requires","isOpen","24DaTJVY","add","2280992UFLDhy","menuitem","delegate","reset","Save current revision","pluginName","config","children","revisionSave","ck-button-action","items","render","revisionHistory.requireRevisionName","execute","isEnabled","role","isPremiumPlugin","buttonView","RevisionHistoryUI","revisionNameInputView","293931RovppI","Revision history"];return(Ut=function(){return t})()}function Zt(t,e){const i=Ut();return(Zt=function(t,e){return i[t-=181]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(191272===parseInt(e(214))/1+parseInt(e(247))/2+parseInt(e(230))/3*(parseInt(e(192))/4)+parseInt(e(219))/5+parseInt(e(234))/6*(-parseInt(e(216))/7)+parseInt(e(194))/8+-parseInt(e(217))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Ht extends G.Plugin{static get[zt(199)](){return zt(212)}static get[zt(243)](){return!0}static get[zt(210)](){return!0}static get[zt(190)](){return[mt]}[zt(189)];[zt(183)](){const t=zt,e=this[t(232)],i=e[t(188)][t(241)](t(228));e.ui[t(242)][t(193)](t(187),(n=>{const s=t,r=(0,_t.createDropdown)(n),o=r[s(220)][s(201)],a=new _t.ListView(n),c=new _t.ListItemView(n),u=new _t.ButtonView(n),l=new _t.ListItemView(n),h=new _t.ButtonView(n);return r[s(246)](s(208)).to(i,s(231),i,s(208),e,s(238),((t,e,i)=>t&&e&&!i)),r[s(211)][s(182)]({icon:wt.IconHistory,label:ot(n,s(215)),tooltip:!0}),u[s(182)]({label:ot(n,s(198)),withText:!0,role:s(195)}),u[s(246)](s(208)).to(i,s(231),i,s(208),e,s(238),((t,e,i)=>t&&e&&!i)),u.on(s(207),(()=>this[s(248)]())),h[s(182)]({label:ot(n,s(218)),withText:!0,role:s(195)}),h[s(246)](s(208)).to(i,s(231),e,s(238),((t,e)=>t&&!e)),h.on(s(207),(()=>{const t=s;e[t(200)][t(241)](t(187))[t(181)](),r[t(191)]=!1,e[t(244)][t(184)][t(240)]()})),c[s(201)][s(193)](u),l[s(201)][s(193)](h),a[s(209)]=s(186),a[s(204)][s(225)]([c,l]),o[s(193)](a),r})),e.ui[t(242)][t(193)](t(237),(()=>this[t(221)]()))}[zt(221)](){const t=zt,e=this[t(232)],i=e[t(239)],n=new _t.MenuBarMenuView(i),s=new _t.MenuBarMenuListView(i);n[t(211)][t(182)]({icon:wt.IconHistory,label:ot(i,t(215))});const r=new _t.MenuBarMenuListItemView(i,n),o=new _t.MenuBarMenuListItemButtonView(i);o[t(182)]({label:ot(i,t(198))}),o[t(196)](t(207)).to(n),o.on(t(207),(()=>{this[t(248)]()})),r[t(201)][t(193)](o),s[t(204)][t(193)](r);const a=new _t.MenuBarMenuListItemView(i,n),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(182)]({label:ot(i,t(218))}),c[t(196)](t(207)).to(n),c.on(t(207),(()=>{const i=t;e[i(200)][i(241)](i(187))[i(181)]()})),a[t(201)][t(193)](c),s[t(204)][t(193)](a),n[t(220)][t(201)][t(193)](s),n}[zt(248)](){const t=zt,e=this[t(232)],i=e[t(239)],n=e[t(188)][t(241)](t(235)),s=e[t(188)][t(241)](t(228));function r(s){const r=t;e[r(200)][r(241)](r(206))&&""===s[r(233)]?s[r(213)][r(223)]=ot(i,r(222)):(e[r(188)][r(241)](mt)[r(229)]({name:s[r(233)]}),n[r(226)]())}this[t(189)]||(this[t(227)](),this[t(189)].on(t(236),(()=>r(this[t(189)])))),this[t(189)][t(197)](),n[t(245)]({id:t(202),title:ot(i,t(198)),isModal:!0,content:this[t(189)],actionButtons:[{label:ot(e[t(239)],t(224)),withText:!0,onExecute:()=>n[t(226)]()},{label:ot(e[t(239)],t(185)),class:t(203),withText:!0,onCreate(i){const n=t;i[n(246)](n(208)).to(s,n(231),s,n(208),e,n(238),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(189)])}]})}[zt(227)](){const t=zt,e=this[t(232)],i=e[t(239)];this[t(189)]=new Pt(i,e[t(200)][t(241)](t(206))),this[t(189)][t(205)]()}}const qt=Bt;function $t(){const t=["16pBLFMq","Added by","380219zuyvVB","40JgMxcs","type","div","6CskdFF","setTemplate","changeId","name","ck-revision-change__label","add","2695319XIQjVi","847705cxPvFa","799929yXiYPF","ck-revision-change","element","data","bindTemplate","10jxVWua","isSuggestion","129881tHRsJK","Suggested by","author","focus","_model","179946oFUwHn","set","Removed by","span","ck-annotation","ck-revision-change__","14802LNODpE"];return($t=function(){return t})()}function Bt(t,e){const i=$t();return(Bt=function(t,e){return i[t-=334]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(224303===-parseInt(e(347))/1+-parseInt(e(352))/2+-parseInt(e(358))/3*(-parseInt(e(362))/4)+parseInt(e(339))/5*(parseInt(e(365))/6)+-parseInt(e(361))/7*(parseInt(e(359))/8)+parseInt(e(340))/9+-parseInt(e(345))/10*(-parseInt(e(338))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Yt extends _t.View{[qt(334)];[qt(351)];constructor(t,e){const i=qt;super(t),this[i(351)]=e,this[i(334)]=e.id;const n=this[i(344)],s=ot(t,e[i(343)][i(346)]?i(348):i(337)==e[i(363)]?i(360):i(354));this[i(353)](i(363),e[i(363)]),this[i(366)]({tag:i(364),attributes:{class:[i(356),i(341),n.to(i(363),(t=>i(357)+t))],tabindex:-1},children:[{tag:i(355),children:[{tag:i(355),attributes:{class:[i(336)]},children:[{text:s}]},{text:" "+e[i(349)][i(335)]}]}]})}[qt(350)](){const t=qt;this[t(342)][t(350)]()}}var Gt=Jt;function Jt(t,e){var i=Kt();return(Jt=function(t,e){return i[t-=424]})(t,e)}function Kt(){var t=["type","317770wQtUvz","115ZODsTy","set","1356083Crmqtd","5996288febnlH","data","844452kIhUHy","rootName","173092kQWKLA","author","createdAt","toJSON","1494520swbnsa","6ImGDKD","1170nFTozZ","7626941wIfzLC"];return(Kt=function(){return t})()}!function(t){for(var e=Jt,i=t();;)try{if(902363===-parseInt(e(424))/1+-parseInt(e(433))/2+-parseInt(e(427))/3+-parseInt(e(429))/4*(-parseInt(e(439))/5)+-parseInt(e(434))/6*(parseInt(e(436))/7)+-parseInt(e(425))/8+parseInt(e(435))/9*(parseInt(e(438))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(430)];[Gt(437)];[Gt(426)];[Gt(428)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(430)]=e[i(430)],this[i(437)]=e[i(437)],this[i(426)]=e[i(426)]||{},this[i(428)]=e[i(428)],this[i(440)](i(431),e[i(431)])}[Gt(432)](){var t=Gt;return{id:this.id,authorId:this[t(430)].id,type:this[t(437)],data:this[t(426)],createdAt:this[t(431)]}}}function Qt(t,e){const i=ee();return(Qt=function(t,e){return i[t-=257]})(t,e)}const te=Qt;function ee(){const t=["_setChanges","5diPXzy","oldRevisionId","981QppHnZ","538296uipcGR","1051116bPGnpi","8831LuLDwA","1402530JskYCK","add","changes","newRevisionId","66RDjCMt","16344eirFOS","2923818orYeyn","3355856qYepAe"];return(ee=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(300231===-parseInt(e(264))/1*(-parseInt(e(269))/2)+-parseInt(e(262))/3+parseInt(e(263))/4+-parseInt(e(259))/5*(-parseInt(e(271))/6)+-parseInt(e(257))/7+parseInt(e(270))/8*(-parseInt(e(261))/9)+parseInt(e(265))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class ie{[te(268)];[te(260)];[te(267)];constructor(e,i){const n=te;this[n(268)]=e,this[n(260)]=i,this[n(267)]=new t.Collection}[te(258)](t){const e=te;for(const i of t)this[e(267)][e(266)](i)}}var ne=i(536),se={attributes:{"data-cke":!0}};se.setAttributes=At(),se.insert=Nt().bind(null,"head"),se.domAPI=Tt(),se.insertStyleElement=Mt();St()(ne.A,se);ne.A&&ne.A.locals&&ne.A.locals;const re=ae;function oe(){const t=["start","dataDowncast","isRemoveSuggestion","slice","POSITIVE_INFINITY","plugins","_getViewForChange","unbindElementFromMarkerName","change","changes","error","top","revisionHistory","reconvertMarker","offsetSize","change:activeView","markerName","getAttributes","activeView","detachRoot","uiElement","WidgetToolbarRepository","ck-suggestion-marker--active","markerNameToElements","rootName","isReady","_fixObsoleteTags","isBlock","removeMarker","view","3648iJKpCw","getChild","attribute:vid","_appendChild","resolve","isEnabled","values","unshift","comment","currentChangeNumber","distance","ck-suggestion-marker","domEvent","_setChanges","indexOf","push","insertions","getRevision","name","conversion","_findChangeIdFromDomTarget","markerToData","isEqual","vid","insert","remove","isSuggestion","vid_start","markersStart","revision:","consumable","RevisionsRepository","then","isRemoved","schema","object","_threeWayMerge","destroy","data","isIncorrect","358qoirDv","createAttributeElement","addClass","delete","insertion","_removeMissingPairs","clear","for","downcastDispatcher","markers","next","oldRevisionId","pop","document","isAdded","createRange","addHighlight","isAddSuggestion","_changeView","isAttached","mousedown","listenTo","showStack","code","removeClass","ck-suggestion-marker-","_processTape","forward","_makeTape","return","deletions","toViewElement","requires","updatePosition","revision-suggestion:","revisionHistoryLabel","_sortAndFilterDiffChanges","affectsData","_getDiff","setAttribute","modelRange","backward","elementToAttribute","change:activeChange","_setConversion","markerToHighlight","previousPosition","stop","findIndex","compare","consume","enableReadOnlyMode","add","adapter","keys","splice","ck-revision-history-root-","execute","markerRange","ck-suggestion-marker-split","revision-suggestion","createUIElement","low","maxOffset","isBefore","_joinTapes","getCustomProperty","_activeViewTarget","has","_cleanMarkers","change:numberOfChanges","isLimit","observeMarkers","2810649NskBUw","commands","checkAttribute","createPositionFromPath","revision-viewer","mouseover","all","vid_end","upcast","change:isEnabled","find","get","roots","merge","getIndex","nextSibling","addMarker:revision-suggestion:deletion","span","getRoot","diffData","enqueueChange","createPositionBefore","_removeUnsupportedChanges","ck-revision-history-root-add","activeChange","right","_getRevisionsRange","numberOfChanges","nodeAfter","abs","split","isNavigationMode","isInline","ck-suggestion-preview-marker-","removeMarker:revision","index","addRevisionData","RevisionViewer","attributesBefore","revisionHistoryAttachChange","getRootNames","done","_refreshStartEndIndex","addRevision","4138468hSaBII","_cleanUp","removeAttribute","markersEnd","elementStart","viewItem","createRevision","sort","attributesAfter","toViewRange","highest","31535384qGYQUL","addRoot","change:isReady","shift","isAtEnd","getClientRects","_changeIdToChange","_data","forceDisabled","flat","locale","userId","softBreak","map","4403049KIcxJK","diff","isOfficialPlugin","startsWith","getLaterVisibleRevision","3474800sCWBAq","parent","revision","range","isPremiumPlugin","5142636OLVGmR","pluginName","nextPosition","addMarker:revision-suggestion:insertion","addMarker:revision","target","selection","concat","dataToMarker","editor","isAfter","editingDowncast","isAtStart","from","ck-revision-history-root-remove","startIndex","elementEnd","isOnRoot","level","isCollapsed","bottom","_setDistance","ck-editor__editable__overlay","filter","element","catch","side","_markSuggestions","-new","getRevisionDocumentData","hasClass","test","hasAttribute","_step","showPreviousChange","pairId","getItems","_initInteractions","_revisions","writer","item","loadRevisionData","createRangeIn","set","ck-revision-history-root--active","getAttribute","getRevisionRootsAttributes","_makeModelFromTape","deletion","RevisionHistoryUtils","ck-suggestion-marker-merge","data-change-id","high","forEach","length","isContent","restoreRevisionCallback","mapViewToDom","refresh","removeMarker:revision-suggestion","left","getWalker","ck-suggestion-preview-marker","includes","mapper","init","type","isObject","_markMarkers","newRevisionId","editing","repository","toViewPosition","bind","attachChange","config","_update","string","attributes","_makeModelFromViewString","revision-comment:","changeId","suggestion:","endIndex","end","_markInsertions","getDomRoot","text","_balloon","_markMismatchedRemovedTags","_getChangeFromId","domConverter","model","restoreRevision","showNextChange","_utils","first","suggestion","wrap","element:pre","authors","bindElementToMarker"];return(oe=function(){return t})()}function ae(t,e){const i=oe();return(ae=function(t,e){return i[t-=255]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(526278===-parseInt(e(464))/1*(parseInt(e(424))/2)+-parseInt(e(537))/3+-parseInt(e(257))/4+parseInt(e(287))/5+-parseInt(e(292))/6+-parseInt(e(282))/7+parseInt(e(268))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce extends G.Plugin{[re(363)];[re(517)]=null;[re(387)];[re(531)];[re(482)];[re(274)];[re(380)];static get[re(293)](){return re(574)}static get[re(284)](){return!0}static get[re(291)](){return!0}static get[re(496)](){return[J.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(363)]=this[e(301)][e(399)][e(548)](e(455)),this[e(387)]=this[e(301)][e(399)][e(548)](e(341)),this[e(335)](e(561),null),this[e(335)](e(412),null),this[e(531)]=null,this[e(335)](e(283),null),this[e(335)](e(419),!1),this[e(335)](e(429),!0),this.on(e(546),((t,i,n)=>{const s=e;this[s(561)]=null,this[s(412)]=null,this[s(301)][s(362)][s(423)][s(402)]((t=>{const e=s;for(const i of this[e(301)][e(362)][e(423)][e(477)][e(549)])n?t[e(488)](e(314),i):t[e(466)](e(314),i)}))})),this[e(365)](e(568)).to(this,e(561),(t=>null!==t)),this[e(365)](e(433)).to(this,e(419),this,e(283),this,e(561),((t,i,n)=>t&&n?i[e(403)][e(551)](n):0)),this[e(365)](e(564)).to(this,e(419),this,e(283),((t,i)=>t?i[e(403)][e(346)]:0)),this[e(482)]=null,this[e(274)]=new Map,this[e(380)]=this[e(301)][e(399)][e(548)](_t.ContextualBalloon)}[re(357)](){const t=re,e=this[t(301)],i=new he(e,{direction:t(505)}),n=new he(e,{direction:t(491)});e[t(538)][t(516)](t(326),i),e[t(538)][t(516)](t(386),n),e[t(538)][t(516)](t(385),new le(e)),this.on(t(534),(()=>{const e=t;i[e(350)](),n[e(350)]()})),this[t(508)](),this[t(329)](),e[t(515)](t(541)),e[t(399)][t(532)](t(415))&&e[t(399)][t(548)](t(415))[t(276)](t(541))}async[re(321)](t){const e=re;return await this[e(387)][e(333)](t,this[e(517)]),this[e(387)][e(321)](t)}async[re(338)](t){const e=re;return await this[e(387)][e(333)](t,this[e(517)]),this[e(387)][e(338)](t)}async[re(513)](t,e,i=!1){const n=re;if(!this[n(429)])return;const s=this[n(283)],r=this[n(363)],o=n(369)==typeof t?r[n(441)](t):t,a=n(369)==typeof e?r[n(441)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(283)]&&this[n(283)][n(361)]===c&&this[n(283)][n(475)]===u)return Promise[n(428)]();this[n(419)]=!1,this[n(412)]=null,this[n(561)]=null,this[n(283)]=new ie(c,u);const l=this[n(563)](o,a,!0)[n(281)]((t=>this[n(387)][n(333)](t,this[n(517)])));return l[n(439)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(543)](l)[n(456)]((()=>{const t=n;if(!this[t(429)])return;this[t(258)]();const e=this[t(502)](c,u);for(const i of e[t(403)])this[t(274)][t(335)](i.id,i);this[t(301)][t(384)][t(557)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(301)][n(384)][n(477)][n(577)]())i[n(413)](t);for(const t of Object[n(518)](e[n(384)])){const s=i[n(269)](t);for(const r of Object[n(518)](e[n(370)][t]))i[n(503)](r,e[n(370)][t][r],s);i[n(448)](e[n(384)][t],s,0)}})),this[t(283)][t(437)](this[t(500)](e[t(403)])),this[t(419)]=!0}))[n(317)]((t=>{const e=n;console[e(404)](t),this[e(258)](),s&&(this[e(283)]=s),this[e(419)]=!0}))}[re(573)](t,e){const i=re,n=this[i(363)][i(263)](t);return n.on(i(368),((t,i,s)=>e(i,s,n))),this[i(363)][i(256)](n),n}[re(258)](){const t=re;this[t(561)]=null,this[t(533)](),this[t(482)]&&this[t(482)][t(461)](),this[t(482)]=null,this[t(274)][t(470)](),this[t(301)][t(384)][t(557)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(301)][i(384)][i(477)][i(577)]())e[i(413)](t)}))}[re(500)](t){const e=re,i=[],n=new Map;for(const t of this[e(301)][e(384)][e(477)][e(577)]()){const s=this[e(301)][e(362)][e(423)][e(378)](t);if(!s)continue;const r=s[e(273)]()[e(332)](0);r&&(i[e(439)](t),n[e(335)](t,r))}return i[e(264)](((t,i)=>{const s=e,r=n[s(548)](t),o=n[s(548)](i);return r.y-o.y||r.x-o.x})),(t=t[e(315)]((t=>i[e(355)](t[e(418)]))))[e(264)](((t,n)=>i[e(438)](t[e(418)])-i[e(438)](n[e(418)]))),t}[re(492)](t){const e=re,i=Array[e(305)](t[e(473)])[e(315)]((([t,i])=>t[e(285)](e(453))&&!i[e(311)])),n=Array[e(305)](this[e(301)][e(384)][e(334)](t)[e(353)]({singleCharacters:!0}));if(0!=i[e(346)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(567)](":");if(s[e(376)][e(446)](t[e(294)])&&i[e(271)](),(t[e(510)][e(446)](s[e(394)])||t[e(510)][e(302)](s[e(394)]))&&(e(468)==r?t[e(478)]={userId:o}:e(340)==r&&(t[e(457)]={userId:o})),0==i[e(346)])break}return n}[re(255)](t){const e=re,i=new Map;for(let n=0;n<t[e(346)];n++)e(379)===t[n][e(358)]?(t[n][e(332)][e(307)]=n,t[n][e(332)][e(375)]=n):(e(261)===t[n][e(358)]?t[n][e(332)][e(307)]=n:e(308)===t[n][e(358)]&&(t[n][e(332)][e(375)]=n),i[e(335)](t[n].id,n));for(const n of i[e(430)]())e(261)===t[n][e(358)]?t[n][e(332)][e(375)]=i[e(548)](t[n][e(327)]):e(308)===t[n][e(358)]&&(t[n][e(332)][e(307)]=i[e(548)](t[n][e(327)]))}[re(490)](t){const e=re;for(let i=0;i<t[e(346)];i++){if(e(261)===t[i][e(358)])t[i][e(332)][e(307)]=i;else if(e(308)===t[i][e(358)]){t[i][e(332)][e(375)]=i;const n=t[i][e(332)][e(307)];t[n][e(327)]=t[i].id,t[i][e(327)]=t[n].id}else t[i][e(332)][e(307)]=i,t[i][e(332)][e(375)]=i,t[i][e(327)]=null;t[i][e(452)]||(t[i][e(452)]=[],t[i][e(260)]=[])}}[re(377)](t,e){const i=re,n=t[i(315)]((t=>!t[i(478)]));for(let t=0;t<e[i(346)];t++)e[t][i(478)]&&(n[t][i(478)]=e[t][i(478)])}[re(502)](t,e=null){const i=re,n=this[i(363)][i(441)](t),s=e?this[i(363)][i(441)](e):null,r=this[i(563)](n,s),o=r[r[i(346)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(346)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(518)](e[i(556)]))if(e[i(556)][t][i(366)]){const n=e[i(556)][t][i(366)];n[i(483)]?(u[i(516)](t),l[i(532)](t)&&l[i(548)](t)[i(279)]==n[i(279)]?l[i(467)](t):l[i(335)](t,n)):l[i(532)](t)?(u[i(467)](t),l[i(467)](t)):(u[i(516)](t),l[i(335)](t,n))}else u[i(516)](t)}for(const t of u){const e=l[i(532)](t)&&!l[i(548)](t)[i(483)];let n=e?r[i(346)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(556)][t]){const n=e?o[i(556)][t][i(575)]:o[i(556)][t][i(265)];c[i(370)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(384)]={};for(const e of t[i(392)])a[i(335)](e.id,e);for(const e of u){const n=t[i(556)][e]?t[i(556)][e][i(440)]:"[]",s=t[i(556)][e]?t[i(556)][e][i(494)]:"[]";t[i(384)][e]={insertions:this[i(387)][i(371)](n),deletions:this[i(387)][i(371)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(305)](n[i(384)][t][i(440)][i(473)])[i(315)]((([t])=>!t[i(285)](i(453)))));let h=0;for(const o of r){const r=this[i(492)](o[i(384)][t][i(440)]);o==n?(e=r,s=e[i(346)],e[i(345)]((t=>{t.id=h++})),this[i(490)](e)):this[i(377)](e,r);const a=e[i(315)]((t=>!t[i(478)]))[i(281)]((t=>t.id));let c=0;const l=this[i(492)](o[i(384)][t][i(494)]);l[i(345)]((t=>{t[i(457)]?t.id=s++:t.id=a[c++]})),this[i(490)](l),this[i(313)](e,i(478)),this[i(313)](l,i(457)),o==n&&this[i(360)](e,u),e=this[i(529)](e,l),this[i(255)](e),this[i(313)](e,i(457))}e=e[i(315)]((t=>!(t[i(478)]&&t[i(457)])));const d=new Map(o[i(384)][t][i(494)][i(473)]),f=new Set(u[i(518)]());for(const t of d[i(518)]())f[i(467)](t);this[i(319)](e,f),this[i(420)](e),e=this[i(469)](e),e=this[i(381)](e),e=this[i(559)](e);const{root:m,changes:p}=this[i(339)](e,a,t);c[i(384)][t]=m;const v=l[i(548)](t);if(v){const e=a[i(548)](v[i(279)]),n=new Xt({author:e,type:v[i(483)]?i(516):i(449),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(431)](n),c[i(370)][t][i(576)]=n.id}c[i(403)]=c[i(403)][i(299)](p)}return c}[re(360)](t,e){const i=re;for(let n=0;n<t[i(346)];n++)for(const[s,r]of e)!r[i(311)]&&r[i(394)][i(446)](t[n][i(510)])&&t[n][i(452)][i(439)](s),r[i(376)][i(446)](t[n][i(294)])&&t[n][i(260)][i(439)](s)}[re(529)](t,e){const i=re;let n=[],s=0,r=0;for(;s<t[i(346)]||r<e[i(346)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(439)](o);else if(a[i(457)]&&o[i(478)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(460)](t,s,e,r);n=n[i(299)](o),s=a,r=c}else a[i(457)]?(r++,n[i(439)](a)):(s++,n[i(439)](o))}return n}[re(319)](t,e){const i=re,n=[];for(let o=0;o<t[i(346)];o++){for(let r=0;r<t[o][i(452)][i(346)];r++){const a=t[o][i(452)][r];if(!e[i(532)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(524)!=c||i(468)!=u&&i(340)!=u||(n[i(431)]({type:u,name:a,userId:l}),t[o][i(452)][i(519)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(260)][i(346)];r++){const a=t[o][i(260)][r];if(!e[i(532)](a))continue;const{group:c,type:u}=s(a);if(i(524)!=c||i(468)!=u&&i(340)!=u)continue;t[o][i(260)][i(519)](r,1),r--;const l=n[i(512)]((t=>t[i(442)]==a));l>-1&&n[i(519)](l,1)}}function s(t){const e=i,n=t[e(567)](":");return{group:n[0],type:n[1],subType:n[e(346)]>=5?n[2]:null,id:n[e(346)]<5?n[2]:n[3],authorId:n[e(346)]<5?n[3]:n[4],markerCount:6==n[e(346)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(346)];i++){if(t[e(478)]&&e(468)==n[i][e(358)]&&t[e(478)][e(279)]==n[i][e(279)])return t[e(481)]=n[i],void delete t[e(478)];if(!t[e(478)]&&!t[e(457)]&&e(340)==n[i][e(358)])return void(t[e(396)]=n[i])}}}[re(313)](t,e){const i=re;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(335)](o.id,n);for(let n=0;n<t[i(346)];n++){if(i(457)==e&&t[n][i(478)]||i(478)==e&&t[n][i(457)])continue;if(i(379)==t[n][i(358)]){t[n][i(434)]=0;continue}const s=r[i(548)](t[n][i(327)]),o=r[i(548)](t[n].id);t[n][i(434)]=s-o}}[re(563)](t,e,i=!1){const n=re,s=[];let r=this[n(363)][n(551)](t),o=this[n(363)][n(551)](e);for(-1==o&&(o=this[n(363)][n(330)][n(346)],i=!1);r<o;)s[n(439)](this[n(363)][n(441)](r)),r++;return i&&s[n(439)](this[n(363)][n(441)](r)),s}[re(460)](t,e,i,n){const s=re,r=this[s(301)][s(384)][s(458)];let o=e;for(;t[o]&&t[o][s(478)];)o++;let a=n;for(;i[a]&&i[a][s(457)];)a++;u(t,e,o),u(i,n,a);const c=i[s(397)](n,a)[s(299)](t[s(397)](e,o));return c[s(264)](((t,e)=>t[s(318)]!=e[s(318)]?t[s(318)]-e[s(318)]:t[s(310)]!=e[s(310)]?t[s(310)]-e[s(310)]:t[s(434)]!=e[s(434)]?e[s(434)]-t[s(434)]:!!t[s(478)]!=!!e[s(478)]?-1==t[s(318)]||0==t[s(318)]?t[s(478)]?-1:1:t[s(478)]?1:-1:t[s(572)]-e[s(572)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(398)],c=!0;for(let s=e;s<i;s++)if(r[n(569)](t[s][n(332)])||(c=!1),t[s][n(332)][n(307)]<e&&(o=s),t[s][n(332)][n(375)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(318)]=s<=o?-1:s<a?0:1,t[s][n(572)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(434)]?t[i][n(310)]=u:(u++,t[i][n(310)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(318)]&&(t[s][n(310)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(434)]?t[e][n(310)]=u:(u--,t[e][n(310)]=u,u--)}}[re(420)](t){const e=re,i=new Map,n=this[e(301)][e(384)][e(458)];for(let s=1;s<t[e(346)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(379)==c[e(358)])continue;if(c[e(358)]!=u[e(358)])continue;if(!n[e(421)](u[e(332)])||n[e(535)](u[e(332)]))continue;if(!n[e(421)](c[e(332)])||n[e(535)](c[e(332)]))continue;if((t[s][e(478)]||t[s][e(481)])&&t[s-1][e(457)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(457)]||!t[s-1][e(478)]&&!t[s-1][e(481)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(310)]==o[e(310)],h=Math[e(566)](r[e(310)])<Math[e(566)](o[e(310)])&&0==o[e(434)];(l||h)&&(i[e(335)](o.id,r.id),t[e(519)](a,1),s--,r[e(478)]=!1)}for(let n=0;n<t[e(346)];n++)i[e(532)](t[n][e(327)])&&(t[n][e(327)]=i[e(548)](t[n][e(327)]))}[re(469)](t){const e=re,i=new Set(t[e(281)]((t=>t.id)));for(let n=0;n<t[e(346)];n++)i[e(532)](t[n][e(327)])||0==t[n][e(434)]||(t[n][e(463)]=!0);return t[e(315)]((t=>!t[e(463)]))}[re(381)](t){const e=re,i=new Set;for(let n=0;n<t[e(346)];n++){if(i[e(532)](t[n].id)&&t[n][e(457)]&&(t[n][e(463)]=!0),t[n][e(463)])continue;if(0==t[n][e(434)])continue;if(e(261)!=t[n][e(358)])continue;if(null==t[n][e(327)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(327)];)e(261)==t[s][e(358)]?r++:e(308)==t[s][e(358)]&&r--,s++;if(0!=r)if(t[n][e(457)])t[n][e(463)]=!0;else for(;s!=n;)t[s][e(457)]&&0!=t[s][e(434)]&&(t[s][e(463)]=!0,i[e(516)](t[s][e(327)])),s--}return t[e(315)]((t=>!t[e(463)]))}[re(559)](t){const e=re,i=this[e(301)][e(384)][e(458)];for(let n=0;n<t[e(346)];n++){if(!(t[n][e(478)]||t[n][e(481)]||t[n][e(457)]||t[n][e(396)]))continue;if(0==t[n][e(434)])continue;const s=t[n][e(332)];i[e(421)](s)||i[e(535)](s)||(t[n][e(478)]&&delete t[n][e(478)],t[n][e(481)]&&delete t[n][e(481)],t[n][e(396)]&&delete t[n][e(396)],t[n][e(457)]&&(t[n][e(463)]=!0))}return t[e(315)]((t=>!t[e(463)]))}[re(339)](t,e,i){const n=re,s=new K.DocumentFragment,r=[],o=new Map,a=this[n(301)][n(384)],c=a[n(458)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(346)];e++)if(n(261)===t[e][n(358)]){t[e][n(510)]=a[n(540)](s,f);const i=new K.Element(t[e][n(332)][n(442)],t[e][n(332)][n(411)]());u[0][n(427)](i),f[n(439)](0),u[n(431)](i),t[e][n(294)]=a[n(540)](s,f)}else n(308)===t[e][n(358)]?(u[n(271)](),t[e][n(510)]=a[n(540)](s,f),f[n(476)](),f[f[n(346)]-1]++,t[e][n(294)]=a[n(540)](s,f)):(t[e][n(510)]=a[n(540)](s,f),d?d[n(275)]+=t[e][n(332)][n(462)]:d=new K.Text(t[e][n(332)][n(462)],t[e][n(332)][n(411)]()),t[e+1]&&n(379)===t[e+1][n(358)]&&v(d,t[e+1][n(332)])||(u[0][n(427)](d),d=null),f[f[n(346)]-1]+=t[e][n(332)][n(408)],t[e][n(294)]=a[n(540)](s,f));for(let e=0;e<t[n(346)];e++){const i=t[e][n(510)],s=t[e][n(294)];for(const s of t[e][n(452)])o[n(335)](s,{start:i,end:null});m(n(396),e,i,s),m(n(481),e,i,s),m(n(457),e,i,s),m(n(478),e,i,s);for(const i of t[e][n(260)]){const t=o[n(548)](i);t?t[n(376)]=s:o[n(335)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(301)][n(384)][n(479)](e[n(394)],e[n(376)]);s[n(473)][n(335)](t,i)}return r[n(264)](((t,e)=>{const i=n,r=s[i(473)][i(548)](i(453)+t.id),o=s[i(473)][i(548)](i(453)+e.id);return r[i(394)][i(528)](o[i(394)])?-1:r[i(394)][i(302)](o[i(394)])?1:r[i(376)][i(528)](o[i(376)])?-1:r[i(376)][i(302)](o[i(376)])?1:i(516)===t[i(358)]?-1:1})),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(279)]:null,d=i===t[o(346)]-1,f=h[e][0],m=c[o(359)](t[i][o(332)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(376)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(279)]!==u&&(l[e][o(376)]=s,f&&f[o(279)]===l[e][o(279)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(261)!==t[i][o(358)]||f&&f[o(279)]===u||h[e][o(431)]({userId:u,object:t[i][o(332)],change:l[e]}),o(308)===t[i][o(358)]&&f&&f[o(459)]===t[i][o(332)]&&(h[e][o(271)](),l[e]=f[o(402)])),l[e]&&d&&(l[e][o(376)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(332)],f=a[h(458)][h(421)](d)&&!a[h(458)][h(535)](d),m=t[h(565)]==o[h(288)]&&o[h(304)];if(f&&m)return;const p=a[h(479)](t,o),v=e[h(548)](u),g=new Xt({author:v,type:h(478)==l||h(481)==l?h(516):h(449),data:{isSuggestion:h(481)==l||h(396)==l},createdAt:new Date,rootName:i});r[h(439)](g),s[h(473)][h(335)](h(453)+g.id,p)}function v(t,e){const i=n,s=t[i(411)](),r=e[i(411)]();for(const t of s){if(t[1]!==e[i(337)](t[0]))return!1;r[i(474)]()}return r[i(474)]()[i(578)]}}[re(508)](){const t=re;this[t(301)][t(443)][t(471)](t(545))[t(300)]({view:t(289)}),this[t(301)][t(443)][t(471)](t(303))[t(509)]({model:t(289),view:e=>{const i=t,n=e[i(410)][i(567)](":")[1],s=this[i(382)](n);if(!s)return null;const r=i(516)==s[i(358)]?i(468):i(340),o=[i(435),i(489)+r];return s[i(462)][i(450)]&&o[i(439)](i(489)+r+i(320)),this[i(561)]==s&&o[i(439)](i(416)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(301)][t(443)][t(471)](t(545))[t(516)]((e=>{const i=t;e.on(i(391),((t,e,n)=>{const s=i,r=e[s(262)][s(425)](0);if(!r||!r.is(s(316),s(487)))return;if(!n[s(454)][s(514)](r,{attributes:[s(451),s(544)]}))return;const o=e[s(504)][s(394)][s(565)];n[s(331)][s(503)](s(451),r[s(337)](s(451)),o),n[s(331)][s(503)](s(544),r[s(337)](s(544)),o)}),{priority:i(526)})})),this[t(301)][t(443)][t(471)](t(545))[t(516)]((e=>{const i=t;e.on(i(316),((t,e,n)=>{const s=i;if(!n[s(454)][s(514)](e[s(262)],{attributes:[s(451),s(544)]}))return;if(e[s(504)][s(311)])return;const r=e[s(504)][s(394)][s(565)];r[s(324)](s(451))||r[s(324)](s(447))||(n[s(331)][s(503)](s(451),e[s(262)][s(337)](s(451)),r),n[s(331)][s(503)](s(544),e[s(262)][s(337)](s(544)),r))}),{priority:i(526)})})),this[t(301)][t(443)][t(471)](t(545))[t(506)]({view:{name:t(554),attributes:{vid:!0}},model:{key:t(447),value:e=>e[t(337)](t(447))}}),this[t(301)][t(384)][t(458)].on(t(539),((e,[,i])=>{const n=t;[n(451),n(544),n(447)][n(355)](i)&&(e[n(493)]=!0,e[n(511)]())}),{priority:t(267)}),this[t(301)][t(443)][t(471)](t(395))[t(516)]((e=>{const i=t;e.on(i(426),((t,e,n)=>{const s=i;if(" "!=e[s(332)][s(462)]||e[s(332)][s(288)][s(527)]>1)return;if(!n[s(454)][s(514)](e[s(332)],t[s(442)]))return;const r=n[s(331)],o=n[s(356)][s(266)](e[s(290)]);r[s(390)](o,r[s(465)](s(554)))}))})),this[t(301)][t(443)][t(471)](t(395))[t(445)]({model:t(289)}),this[t(301)][t(362)][t(472)].on(t(296),function(e){const i=t,n=e[i(399)][i(548)](i(574));return(t,s,r)=>{const o=i,a=s[o(410)][o(567)](":")[1],c=n[o(382)](a);if(!c)return null;const u=o(516)==c[o(358)]?o(567):o(550);if(!r[o(454)][o(323)](s[o(522)],t[o(442)]))return;const l=s[o(522)][o(353)](),h=s[o(522)][o(394)],d=e[o(384)][o(458)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(332)];p=p||d[o(347)](e);const i=r[o(356)][o(495)](e);if(i&&i[o(530)](o(480)))return;o(308)==t[o(358)]&&d[o(421)](e)&&!d[o(535)](e)&&(e[o(552)]||h[o(272)]?f&&f[o(288)]==e||(f=e,g(t[o(510)]),v=!0):m=m||t[o(510)])}function g(t){const e=o,i=r[e(331)][e(525)](e(554),{class:e(489)+u}),a=r[e(356)][e(364)](t);c[e(462)][e(450)]&&r[e(331)][e(466)](e(489)+u+e(320),i),n[e(561)]==c&&r[e(331)][e(466)](e(416),i),r[e(331)][e(448)](a,i),r[e(356)][e(393)](i,s[e(410)])}p||v||!m||g(m)}}(this[t(301)]),{priority:t(344)}),this[t(301)][t(362)][t(472)].on(t(571),((e,i,n)=>{const s=t,r=n[s(356)][s(417)](i[s(410)]);if(r)for(const t of r)(t[s(322)](s(523))||t[s(322)](s(342)))&&(n[s(356)][s(401)](t,i[s(410)]),n[s(331)][s(449)](t))}),{priority:t(344)}),this[t(301)][t(362)][t(472)].on(t(296),((e,i,n)=>{const s=t,r=i[s(410)][s(567)](":")[1],o=this[s(382)](r);if(!o)return null;const a=s(516)==o[s(358)]?s(567):s(550);if(n[s(454)][s(323)](i[s(522)],e[s(442)]))for(const t of i[s(522)][s(328)]()){if(!t.is(s(316),s(280)))continue;const e=n[s(331)][s(525)](s(554),{class:s(489)+a}),r=n[s(356)][s(364)](this[s(301)][s(384)][s(558)](t));o[s(462)][s(450)]&&n[s(331)][s(466)](s(489)+a+s(320),e),this[s(561)]==o&&n[s(331)][s(466)](s(416),e),n[s(331)][s(448)](r,e),n[s(356)][s(393)](e,i[s(410)])}}),{priority:t(344)}),this[t(301)][t(384)][t(477)].on(t(402),(()=>{const e=t;this[e(301)][e(362)][e(423)][e(402)]((t=>{const i=e;for(const e of this[i(301)][i(384)][i(477)][i(577)]()){const n=this[i(301)][i(384)][i(477)][i(555)](e),s=this[i(301)][i(362)][i(423)][i(477)][i(555)](e);if(s){const e=n[i(337)](i(576));if(t[i(259)](i(343),s),t[i(488)](i(560),s),t[i(488)](i(306),s),t[i(488)](i(336),s),e){const n=this[i(382)](e);if(!n)return null;t[i(503)](i(343),e,s),t[i(466)](i(520)+n[i(358)],s),this[i(561)]==n&&t[i(466)](i(336),s)}}}}))})),this[t(301)][t(443)][t(471)](t(545))[t(300)]({view:t(432),model:e=>t(372)+e,converterPriority:t(267)}),this[t(301)][t(443)][t(471)](t(545))[t(300)]({view:t(389),model:e=>t(498)+e,converterPriority:t(267)}),this[t(301)][t(443)][t(471)](t(395))[t(445)]({model:t(524),view:e=>({name:t(374)+e,group:t(524)}),converterPriority:t(267)}),this[t(301)][t(443)][t(471)](t(303))[t(509)]({model:t(524),view:e=>{const i=t,n=e[i(410)][i(567)](":")[1];return i(468)!=n&&i(340)!=n?null:{classes:[i(354),i(570)+n]}}}),this[t(301)][t(362)][t(472)].on(t(553),ue(this[t(301)],t(550)),{priority:t(344)}),this[t(301)][t(362)][t(472)].on(t(295),ue(this[t(301)],t(567)),{priority:t(344)}),this[t(301)][t(362)][t(472)].on(t(351),((e,i,n)=>{const s=t,r=n[s(356)][s(417)](i[s(410)]);if(r)for(const t of r)t.is(s(414))&&(n[s(356)][s(401)](t,i[s(410)]),n[s(331)][s(449)](t))}),{priority:t(344)})}[re(382)](t){const e=re;return this[e(274)][e(548)](t)}[re(400)](t){const e=re;return this[e(482)]&&this[e(482)][e(461)](),this[e(482)]=new Yt(this[e(301)][e(278)],t),this[e(482)]}[re(329)](){const t=re;this[t(301)][t(384)][t(477)][t(298)][t(536)](t(289)),this.on(t(409),((e,i,n,s)=>{const r=t;s&&this[r(380)][r(449)](s),n&&(this[r(380)][r(516)]({view:n,stackId:r(499),position:{target:()=>{const t=r,e=this[t(301)][t(362)],i=this[t(382)](n[t(373)]);let s;if(i[t(462)][t(309)]){const n=e[t(423)][t(378)](i[t(418)]);s=Array[t(305)](n[t(273)]())}else{const i=this[t(301)][t(384)][t(473)][t(548)](t(453)+n[t(373)]);s=Array[t(305)](e[t(356)][t(417)](i[t(442)]))[t(281)]((i=>e[t(423)][t(383)][t(349)](i)))[t(281)]((e=>Array[t(305)](e[t(273)]())))[t(277)]()}return this[t(531)]&&s[t(547)]((e=>e[t(405)]-3<=this[t(531)].y&&e[t(312)]+3>=this[t(531)].y&&e[t(352)]-3<=this[t(531)].x&&e[t(562)]+3>=this[t(531)].x))||s[0]}}}),this[r(380)][r(486)](r(499)))})),this.on(t(507),((e,i,n,s)=>{const r=t;this[r(412)]=n?this[r(400)](n):null,this[r(301)][r(384)][r(402)]((()=>{const t=r,e=this[t(301)][t(362)];s&&(s[t(462)][t(309)]?e[t(423)][t(402)]((i=>{const n=t;i[n(488)](n(336),e[n(423)][n(477)][n(555)](s[n(418)]))})):e[t(407)](t(453)+s.id)),n&&(n[t(462)][t(309)]?e[t(423)][t(402)]((i=>{const s=t;i[s(466)](s(336),e[s(423)][s(477)][s(555)](n[s(418)]))})):e[t(407)](t(453)+n.id))}))})),this[t(485)](this[t(301)][t(362)][t(423)][t(477)],t(542),((e,i)=>{const n=t;if(this[n(561)])return;const s=this[n(444)](i[n(297)]),r=this[n(274)][n(548)](s);r?(this[n(531)]={x:i[n(436)].x,y:i[n(436)].y},this[n(412)]=this[n(400)](r)):(this[n(531)]=null,this[n(412)]=null)})),this[t(485)](this[t(301)][t(362)][t(423)][t(477)],t(484),((e,i)=>{const n=t,s=this[n(444)](i[n(297)]),r=this[n(274)][n(548)](s);r?(this[n(531)]={x:i[n(436)].x,y:i[n(436)].y},r===this[n(561)]?this[n(380)][n(497)]():this[n(561)]=r):(this[n(531)]=null,this[n(561)]=null)}))}[re(444)](t){const e=re;do{const i=t[e(337)](e(343));if(i)return i;t=t[e(288)]}while(t);return null}[re(533)](){const t=re;this[t(301)][t(384)][t(402)]((e=>{const i=t;for(const t of this[i(301)][i(384)][i(473)])e[i(422)](t)}))}}function ue(t,e){return(i,n,s)=>{const r=ae;if(!s[r(454)][r(323)](n[r(522)],i[r(442)]))return;const o=n[r(522)][r(353)](),a=n[r(522)][r(394)],c=t[r(384)][r(458)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(332)];h=h||c[r(347)](e);const i=s[r(356)][r(495)](e);if(i&&i[r(530)](r(480)))return;r(308)==t[r(358)]&&c[r(421)](e)&&!c[r(535)](e)&&(e[r(552)]||a[r(272)]?u&&u[r(288)]==e||(u=e,f(t[r(510)]),d=!0):l=l||t[r(510)])}function f(t){const i=r,o=s[i(356)][i(364)](t),a=s[i(331)][i(525)](i(554),{class:i(570)+e});s[i(331)][i(448)](o,a),s[i(356)][i(393)](a,n[i(410)])}h||d||!l||f(l)}}class le extends G.Command{constructor(t){const e=re;super(t);const i=t[e(399)][e(548)](ce);this[e(501)]=!1,this[e(485)](i,e(270),(()=>this[e(350)]())),this[e(485)](i,e(546),(()=>this[e(350)]()))}[re(521)](){const t=re,e=this[t(301)],i=e[t(399)][t(548)](ce),n=i[t(419)]?i[t(283)][t(361)]:null;e[t(367)][t(548)](t(406))[t(348)](n)}[re(350)](){const t=re,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(301)][t(399)][t(548)](ce),r=s&&n[t(286)](s[t(361)]);this[t(429)]=e&&i&&Boolean(r)}}class he extends G.Command{[re(325)];constructor(t,{direction:e}){const i=re;super(t);const n=t[i(399)][i(548)](ce);this[i(501)]=!1,this[i(325)]=i(491)===e?1:-1,this[i(485)](n,i(270),(()=>this[i(350)]())),this[i(485)](n,i(546),(()=>this[i(350)]())),this[i(485)](n,i(507),(()=>this[i(350)]()))}[re(521)](){const e=re,i=this[e(301)],n=i[e(399)][e(548)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(561)]=s?n[e(283)][e(403)][e(548)](r+this[e(325)]):n[e(283)][e(403)][e(388)],n[e(561)][e(462)][e(309)])o=i[e(362)][e(423)][e(378)](n[e(561)][e(418)]);else{const t=i[e(384)][e(473)][e(548)](e(453)+n[e(561)].id);o=(0,J.getMarkerDomElement)(i[e(362)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(350)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(301)][t(399)][t(548)](ce);this[t(429)]=!!(r&&s&&n)&&(!e||(1===this[t(325)]?i<n-1:i>0))}}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=At(),fe.insert=Nt().bind(null,"head"),fe.domAPI=Tt(),fe.insertStyleElement=Mt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(){const t=["isNavigationMode","ck-revision-history-ui","isBackwardNavigationEnabled","numberOfChanges","backward","Loading...","2697336vXBrRv","_isStatusLabelVisible","execute","span","975783KEFexD","currentChangeNumber","ck-hidden","isForwardNavigationEnabled","Show next change","fire","No changes","102036WNnbnF","267544vcEXut","500Vutkvr","30665heQagN","18341001fLeHXI","Show previous change","setTemplate","NUMBER_OF_CHANGES","isEnabled","10175970itbCAn","6IMApsk","ck-revision-history-ui__changes-navigation__navigation","EDIT_X_OF_Y_REVISIONS","div","ck-revision-history-ui__changes-navigation__label","isReady","forward","_statusText","bind","Total","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__wrapper","bindTemplate","set","ck-revision-history-ui__changes-navigation"];return(me=function(){return t})()}function pe(t,e){const i=me();return(pe=function(t,e){return i[t-=331]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(832504===-parseInt(e(344))/1+-parseInt(e(351))/2+-parseInt(e(340))/3+-parseInt(e(353))/4*(parseInt(e(354))/5)+parseInt(e(361))/6*(parseInt(e(360))/7)+parseInt(e(352))/8+parseInt(e(355))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);class ve extends _t.View{constructor(t){const e=pe;super(t);const i=this[e(331)],n=new _t.ButtonView(t),s=new _t.ButtonView(t);this[e(332)](e(334),!1),this[e(332)](e(366),!1),this[e(332)](e(345),0),this[e(332)](e(337),0),this[e(332)](e(347),!1),this[e(332)](e(336),!1),this[e(369)](e(341)).to(this,e(366),this,e(337),((t,e)=>t&&e>0)),this[e(369)](e(368)).to(this,e(366),this,e(345),this,e(337),this,e(334),((i,n,s,r)=>{const o=e;if(!i)return ot(t,o(339));if(!s)return ot(t,o(350));const a=ot(t,o(358),s);return r?ot(t,o(371),[n+1,s]):a})),n[e(332)]({label:ot(t,e(356)),tooltip:!0,icon:wt.IconChevronUp}),s[e(332)]({label:ot(t,e(348)),tooltip:!0,icon:wt.IconChevronDown}),n[e(369)](e(359)).to(this,e(336)),s[e(369)](e(359)).to(this,e(347)),n.on(e(342),(()=>this[e(349)](e(342),e(338)))),s.on(e(342),(()=>this[e(349)](e(342),e(367)))),this[e(357)]({tag:e(364),attributes:{class:["ck",e(335),e(333)]},children:[{tag:e(343),attributes:{class:[e(372)]},children:[{tag:e(343),attributes:{class:[e(365),i.if(e(341),e(346),(t=>!t))]},children:[{text:i.to(e(334),(i=>i?ot(t,e(363))+": ":ot(t,e(370))+": "))}]},{text:i.to(e(368))}]},new _t.ToolbarSeparatorView,{tag:e(364),attributes:{class:[e(362)]},children:[n,s]}]})}}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=At(),ye.insert=Nt().bind(null,"head"),ye.domAPI=Tt(),ye.insertStyleElement=Mt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;const ke=we;!function(t){const e=we,i=t();for(;;)try{if(803810===-parseInt(e(442))/1+-parseInt(e(454))/2*(parseInt(e(450))/3)+parseInt(e(446))/4+parseInt(e(449))/5+parseInt(e(463))/6+parseInt(e(459))/7*(-parseInt(e(453))/8)+-parseInt(e(448))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const be=ke(447);function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=440]})(t,e)}class _e extends G.Plugin{static get[ke(458)](){return ke(462)}static get[ke(456)](){return!0}static get[ke(444)](){return!0}[ke(443)](){const t=ke,e=this[t(455)][t(451)][t(457)];e[t(461)]((i=>{const n=t;for(const t of e[n(452)][n(441)])i[n(440)](be,t)}))}[ke(445)](){const t=ke,e=this[t(455)][t(451)][t(457)];e[t(461)]((i=>{const n=t;for(const t of e[n(452)][n(441)])i[n(460)](be,t)}))}}function Ie(){const t=["editor","isOfficialPlugin","view","pluginName","1423387hqyzUN","removeClass","change","RevisionViewerLoadingOverlay","2275038caBIAu","addClass","roots","714826DuNfQe","show","isPremiumPlugin","hide","6098832lMLUId","ck-editor__editable__loading-overlay","6819552qyOhKu","7163440hUNTwk","80331LCvFjg","editing","document","8pSsvaJ","64eGNFOt"];return(Ie=function(){return t})()}const Se=Oe;function Oe(t,e){const i=Te();return(Oe=function(t,e){return i[t-=220]})(t,e)}function Te(){const t=["isReady","closeRevisionViewerCallback","set","9243tOFTso","numberOfChanges","componentFactory","886782JdVeIs","exitToEditing","commands","execute","375660MDAfXQ","40ucUfiq","revisionHistory","Back to editing","hide","isOfficialPlugin","currentChangeNumber","10dgKyKC","isBackwardNavigationEnabled","editor","Restore this revision","9234yuYrCT","plugins","isPremiumPlugin","152lSCHhx","bind","changesNavigation","restoreRevision","get","ck-revision-history-ui__back-to-editing","add","showPreviousChange","759548yIZxQH","showNextChange","listenTo","isNavigationMode","config","926585rldrPh","pluginName","isForwardNavigationEnabled","RevisionViewerUI","44786OyRxcG","isEnabled","5DWcnKh","requires","forward","change:isReady","init","show"];return(Te=function(){return t})()}!function(t){const e=Oe,i=t();for(;;)try{if(157595===-parseInt(e(266))/1*(-parseInt(e(231))/2)+parseInt(e(224))/3+-parseInt(e(246))/4*(parseInt(e(257))/5)+-parseInt(e(220))/6+parseInt(e(255))/7+parseInt(e(238))/8*(-parseInt(e(235))/9)+parseInt(e(225))/10*(parseInt(e(251))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class xe extends G.Plugin{static get[Se(252)](){return Se(254)}static get[Se(229)](){return!0}static get[Se(237)](){return!0}static get[Se(258)](){return[ce,_e]}[Se(261)](){const t=Se,e=this[t(233)],i=e[t(236)][t(242)](ce),n=e[t(236)][t(242)](_e);e.ui[t(268)][t(244)](t(221),(i=>{const n=t,s=new _t.ButtonView(i);return s[n(265)]({label:ot(i,n(227)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:n(243)}),this[n(248)](s,n(223),(()=>{const t=n;e[t(250)][t(242)](t(226))[t(264)]()})),s})),e.ui[t(268)][t(244)](t(241),(i=>{const n=t,s=new _t.ButtonView(i);return s[n(265)]({label:ot(i,n(234)),withText:!0,tooltip:!0}),s[n(239)](n(256)).to(e[n(222)][n(242)](n(241))),this[n(248)](s,n(223),(()=>e[n(223)](n(241)))),s})),e.ui[t(268)][t(244)](t(240),(n=>{const s=t,r=new ve(n),o=e[s(222)][s(242)](s(245)),a=e[s(222)][s(242)](s(247));return r[s(239)](s(232)).to(o,s(256)),r[s(239)](s(253)).to(a,s(256)),r[s(239)](s(263),s(230),s(267),s(249)).to(i),this[s(248)](r,s(223),((t,i)=>{const n=s;e[n(223)](n(259)===i?n(247):n(245))})),r})),n[t(262)](),i.on(t(260),((e,i,s)=>{const r=t;s?n[r(228)]():n[r(262)]()}))}}var Ne=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=At(),Re.insert=Nt().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Mt();St()(Ne.A,Re);Ne.A&&Ne.A.locals&&Ne.A.locals;const Ae=De;function De(t,e){const i=Me();return(De=function(t,e){return i[t-=348]})(t,e)}function Me(){const t=["span","listenTo","_updateTooltipText","3594072nZYNIP","element","placeholder","5KSuhKU","ck-revision-history-sidebar__revision-name","scrollWidth","set","fieldView","2682844KGbdyv","200288KCGTVf","_resizeObserver","401274vqFWCc","3647790vRSKpU","1037870AiegwG","clientWidth","render","input","Enter the revision name","destroy","1363922dyEFlj","_tooltipString","ck-tooltip_multi-line","value","bindTemplate","Revision name","extendTemplate"];return(Me=function(){return t})()}!function(t){const e=De,i=t();for(;;)try{if(619675===parseInt(e(351))/1+parseInt(e(353))/2+parseInt(e(369))/3+parseInt(e(348))/4*(-parseInt(e(372))/5)+-parseInt(e(352))/6+-parseInt(e(359))/7+-parseInt(e(349))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class Ve extends _t.LabeledFieldView{[Ae(350)]=null;constructor(t,e){const i=Ae;super(t,e);const n=this[i(363)];this[i(375)]({label:ot(t,i(364)),_tooltipString:""}),this[i(376)][i(371)]=ot(t,i(357)),this[i(365)]({tag:i(366),attributes:{class:[i(373)],"data-cke-tooltip-text":n.to(i(360)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(361)}})}[Ae(355)](){const e=Ae;super[e(355)](),this[e(350)]=new t.ResizeObserver(this[e(376)][e(370)],(()=>this[e(368)]())),this[e(367)](this[e(376)],e(356),(()=>this[e(368)]()))}[Ae(358)](){const t=Ae;super[t(358)](),this[t(350)]&&this[t(350)][t(358)]()}[Ae(368)](){const t=Ae,e=this[t(376)][t(370)];this[t(360)]=e[t(374)]>e[t(354)]&&e[t(362)]||""}}var Ee=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=At(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=Tt(),Ce.insertStyleElement=Mt();St()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=109]})(t,e)}function je(){const t=["0 0 11 10","ck-revision-history-sidebar__revision-author__name","1591710ZHYfkq","2051esUDdI","span","setTemplate","865mLosIm","Revision creator","6tmrmus","8qKSXmQ","3544cfxSjN","ck-revision-history-sidebar__revision-author","3893301RDyung","260159bawjGX","set","Revision author","name","push","4254dSvCAL","ck-revision-history-sidebar__revision-author_creator","4773923WaFsWO","2970650vpPDwk"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(406769===parseInt(e(125))/1*(-parseInt(e(120))/2)+parseInt(e(114))/3+-parseInt(e(122))/4*(-parseInt(e(118))/5)+-parseInt(e(130))/6*(-parseInt(e(115))/7)+-parseInt(e(121))/8*(-parseInt(e(124))/9)+parseInt(e(111))/10+-parseInt(e(110))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Le extends _t.View{constructor(t,e,i){const n=Fe;super(t);const s=new _t.IconView;s[n(126)]({content:wt.IconUser,viewBox:n(112)});const r=["ck",n(123)];i&&r[n(129)](n(109));const o=[{tag:n(116),attributes:{class:["ck",n(113)],title:ot(t,n(i?119:127))},children:[s,e[n(128)]]}];this[n(117)]({tag:"li",attributes:{class:r},children:o})}}function Pe(t,e){var i=We();return(Pe=function(t,e){return i[t-=216]})(t,e)}function We(){var t=["1032bQUCDs","5hqStvS","toLocaleTimeString","86769sxeGWc","2560RCHDvC","4vIUXWZ","203uqJSUC","189957MeDrUw","15127bXDwcr","numeric","29926AGDAlx","long","toLocaleDateString","675858lkwGvS","22AtXAGt","3304HSmDHK","3674rlgKTV"];return(We=function(){return t})()}!function(t){for(var e=Pe,i=t();;)try{if(144785===-parseInt(e(225))/1*(parseInt(e(231))/2)+parseInt(e(224))/3*(-parseInt(e(222))/4)+parseInt(e(218))/5*(parseInt(e(230))/6)+parseInt(e(223))/7*(-parseInt(e(232))/8)+-parseInt(e(220))/9+parseInt(e(221))/10*(parseInt(e(216))/11)+parseInt(e(217))/12*(parseInt(e(227))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var ze=i(11),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=At(),Ue.insert=Nt().bind(null,"head"),Ue.domAPI=Tt(),Ue.insertStyleElement=Mt();St()(ze.A,Ue);ze.A&&ze.A.locals&&ze.A.locals;function Ze(t,e){const i=He();return(Ze=function(t,e){return i[t-=196]})(t,e)}function He(){const t=["1237750DxArDS","listenTo","ck-revision-history-sidebar__revision__actions","class","stopPropagation","bindTemplate","find","3074328SVGkNj","1JjJXGf","add","locale","extendTemplate","isActionsDropdownOpen","listView","function","panelPosition","items","ck-on","isEnabled","205275QYsuzd","action","menu","bind","button","isReady","change:isActionsDropdownOpen","menuitem","model","source","execute","map","isOpen","Show more items","2096552WbCLNg","name","set","2788863pZWCPW","Name this revision","Restore this revision","Compare against selected","_action","first","3763312OxMThS","18odoGMB","children","buttonView","isVisible","4476444dFGteS"];return(He=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(935139===parseInt(e(230))/1*(parseInt(e(207))/2)+-parseInt(e(241))/3+-parseInt(e(221))/4+parseInt(e(222))/5+-parseInt(e(229))/6+parseInt(e(210))/7+parseInt(e(216))/8*(parseInt(e(217))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var qe=i(216),$e={attributes:{"data-cke":!0}};$e.setAttributes=At(),$e.insert=Nt().bind(null,"head"),$e.domAPI=Tt(),$e.insertStyleElement=Mt();St()(qe.A,$e);qe.A&&qe.A.locals&&qe.A.locals;const Be=Ye;function Ye(t,e){const i=Ge();return(Ye=function(t,e){return i[t-=142]})(t,e)}function Ge(){const t=["265097lsXiuC","authors","isHighlighted","isReady","ck-revision-history-sidebar__revision__controls-wrapper","unshift","fire","ck-reset","set","ck-revision-history-sidebar__revision-authors","1546044povgmd","isActionsDropdownOpen","value","_requireRevisionName","extendTemplate","listenTo","9DyTMkG","220","highlight","isConfirm","map","754239KweLNs","isEnabled","_createdAtFormatted","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setTemplate","136GgotxA","bind","revisionActionsView","filter","ck-revision-history-sidebar__revision-wrapper","_revision","setName","fieldView","render","ck-revision-history-sidebar__revision__date","isSelected","24515cWWTja","div","ck-disabled","closest","ck-revision-history-sidebar__revision_selected","24ihRrAL","bindTemplate","340990uueUZL","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision","from","2172190vJDZjA","span","change","name","unhighlight","srcElement","createdAt","deselect","30754RQRXIz","ck-revision-history-sidebar__revision_highlighted","element","revisionNameView","length","creator",".ck-thread__remove-confirm","select","uiLanguage"];return(Ge=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(151294===-parseInt(e(189))/1+parseInt(e(177))/2+parseInt(e(154))/3+-parseInt(e(159))/4*(parseInt(e(170))/5)+parseInt(e(143))/6+parseInt(e(198))/7*(-parseInt(e(175))/8)+-parseInt(e(149))/9*(parseInt(e(181))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Je extends((0,J.ConfirmMixin)(_t.View)){id;[Be(192)];[Be(161)];[Be(164)];[Be(146)];constructor(e,i,n,s){const r=Be;super(e);const o=this[r(176)],a=function(t,e){const i=r,n=Array[i(180)](e[i(199)])[i(162)]((t=>t!=e[i(194)]));return e[i(194)]&&n[i(203)](e[i(194)]),n[i(153)]((n=>new Le(t,n,n==e[i(194)])))}(e,i);this.id=i.id,this[r(164)]=i,this[r(146)]=s,this[r(160)](r(184),r(187)).to(i),this[r(160)](r(156)).to(this,r(187),(t=>{return i=e[r(197)],(n=t)[(s=Pe)(229)](i,{month:s(228),day:s(226)})+", "+n[s(219)](i,{hour:s(226),minute:s(226)});var i,n,s})),this[r(206)](r(169),!1),this[r(206)](r(200),!1),this[r(206)](r(144),!1),this[r(206)](r(201),!1),this[r(206)](r(155),!1),this[r(192)]=new Ve(e,_t.createLabeledInputText),this[r(192)][r(166)][r(147)]({attributes:{maxlength:r(150)}}),this[r(192)][r(166)][r(160)](r(145)).to(this,r(184),(t=>t||this[r(156)])),this[r(192)][r(160)](r(155)).to(this,r(169),this,r(155),((t,e)=>t&&e)),this[r(161)]=n&&n[r(193)]?function(e,i){const n=Ze,s=e[n(227)],r=e[n(232)],o=(0,_t.createDropdown)(r);o[n(237)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(232)],s={"Compare against selected":ot(n,i(213)),"Name this revision":ot(n,i(211)),"Restore this revision":ot(n,i(212))};return e[i(204)]((t=>{const e=i,n=s[t[e(208)]];return n&&n!==t[e(208)]&&(t[e(208)]=n),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:s(197),model:new _t.ViewModel({label:t[s(208)],class:t[s(225)],withText:!0,role:s(200),_action:t[s(242)]})};i[s(201)][s(196)](s(240)).to(e,s(234),(i=>s(236)!=typeof t[s(240)]||!i||t[s(240)](e))),o[s(231)](i)}return o}(e,i);return e[n(196)](n(234)).to(o,n(205)),o[n(219)][n(209)]({label:ot(r,n(206)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[n(233)]({attributes:{class:[n(224),s.if(n(234),n(239))]},on:{click:s.to((t=>t[n(226)]()))}}),o.on(n(203),(t=>{const i=n;e[i(198)]&&i(236)==typeof t[i(202)][i(214)]&&t[i(202)][i(214)](e)})),(0,_t.addListToDropdown)(o,a,{role:n(243)}),o[n(223)](e,n(199),((t,s,r)=>{const a=n;if(r)for(const t of o[a(235)][a(238)]){const n=t[a(218)][a(215)],s=i[a(228)]((t=>t[a(242)]===n[a(214)]))[a(220)];t[a(220)]=void 0===s||s(e)}})),o}(this,n):"",this[r(161)]&&this[r(161)][r(160)](r(155)).to(this),this[r(158)]({tag:r(171),attributes:{class:["ck",r(205),r(163),o.if(r(152),r(157))]},children:[{tag:r(171),attributes:{class:["ck",r(205),r(179),o.if(r(155),r(172),(t=>!t)),o.if(r(169),r(174)),o.if(r(200),r(190)),o.if(r(144),r(178))]},children:[this[r(192)],{tag:r(182),attributes:{class:["ck",r(168)]},children:[{text:o.to(r(156))}]},{tag:r(171),attributes:{class:["ck",r(202)]},children:[{tag:"ul",attributes:{class:["ck",r(142)]},children:a}]},this[r(161)]],on:{click:o.to((t=>{const e=r;t[e(186)][e(173)](e(195))||this[e(201)]&&this[e(155)]&&this[e(204)](e(196),{id:this.id})}))}}]})}[Be(167)](){const t=Be;super[t(167)]();const e=this[t(192)][t(166)][t(191)];this[t(148)](e,t(183),(()=>{const i=t;this[i(146)]&&!e[i(145)]||this[i(204)](i(165),{id:this.id,name:e[i(145)]}),e[i(145)]||(e[i(145)]=this[i(184)]?this[i(184)]:this[i(156)])}))}[Be(196)](){this[Be(169)]=!0}[Be(188)](){this[Be(169)]=!1}[Be(151)](){this[Be(200)]=!0}[Be(185)](){this[Be(200)]=!1}}class Ke extends Error{}class Xe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Qe extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Ke{}class ii extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Ke{}class si extends Ke{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ri={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ai{get type(){throw new si}get name(){throw new si}get ianaName(){return this.name}get isUniversal(){throw new si}offsetName(t,e){throw new si}formatOffset(t,e){throw new si}offset(t){throw new si}equals(t){throw new si}get isValid(){throw new si}}let Di=null;class Mi extends Ai{static get instance(){return null===Di&&(Di=new Mi),Di}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qn(t,e,i)}formatOffset(t,e){return ns(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Vi=new Map;const Ei={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class Fi extends Ai{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new Fi(t)),e}static resetCache(){Ci.clear(),Vi.clear()}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=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qn(t,e,i,this.name)}formatOffset(t,e){return ns(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Vi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Vi.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ei[e];"era"===e?n[r]=s:Mn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let ji={};const Li=new Map;function Pi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const Wi=new Map;const zi=new Map;let Ui=null;const Zi=new Map;function Hi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const qi=new Map;function $i(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Bi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...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 n=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return zn(this.floor?Math.floor(t):qn(t,3),this.padTo)}}class Yi{constructor(t,e,i){let n;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&&Fi.create(i).valid?(n=i,this.dt=t):(n="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,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=Pi(e,s)}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 Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=zi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),zi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={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 ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[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 Ji={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||vn.defaultLocale,o=r||(s?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||vn.defaultNumberingSystem,c=i||vn.defaultOutputCalendar,u=Pn(n)||vn.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Ui=null,Li.clear(),Wi.clear(),zi.clear(),Zi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Ki.create(t,e,i,n)}constructor(t,e,i,n,s){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,n;try{e=Pi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Pi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,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=s,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"===Hi(t.locale).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?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Pn(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 $i(this,t,cs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=ho.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return $i(this,t,ds,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=ho.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return $i(this,void 0,(()=>fs),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return $i(this,t,gs,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Hi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fn()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ji,...e}),qi.set(t,e)}return e}(this.locale):Ji}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 Xi=null;class Qi extends Ai{static get utcInstance(){return null===Xi&&(Xi=new Qi(0)),Xi}static instance(t){return 0===t?Qi.utcInstance:new Qi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Qi(ts(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ns(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ns(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ns(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 tn extends Ai{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 en(t,e){if(Mn(t)||null===t)return e;if(t instanceof Ai)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Mi.instance:"utc"===i||"gmt"===i?Qi.utcInstance:Qi.parseSpecifier(i)||Fi.create(t)}return Vn(t)?Qi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new tn(t)}const nn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},sn={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]},rn=nn.hanidec.replace(/[\[|\]]/g,"").split("");const on=new Map;function an({numberingSystem:t},e=""){const i=t||"latn";let n=on.get(i);void 0===n&&(n=new Map,on.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${nn[i]}${e}`),n.set(e,s)),s}let cn,un=()=>Date.now(),ln="system",hn=null,dn=null,fn=null,mn=60,pn=null;class vn{static get now(){return un}static set now(t){un=t}static set defaultZone(t){ln=t}static get defaultZone(){return en(ln,Mi.instance)}static get defaultLocale(){return hn}static set defaultLocale(t){hn=t}static get defaultNumberingSystem(){return dn}static set defaultNumberingSystem(t){dn=t}static get defaultOutputCalendar(){return fn}static set defaultOutputCalendar(t){fn=t}static get defaultWeekSettings(){return pn}static set defaultWeekSettings(t){pn=Pn(t)}static get twoDigitCutoffYear(){return mn}static set twoDigitCutoffYear(t){mn=t%100}static get throwOnInvalid(){return cn}static set throwOnInvalid(t){cn=t}static resetCaches(){Ki.resetCache(),Fi.resetCache(),ho.resetCache(),on.clear()}}class gn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const yn=[0,31,59,90,120,151,181,212,243,273,304,334],kn=[0,31,60,91,121,152,182,213,244,274,305,335];function bn(t,e){return new gn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function wn(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function _n(t,e,i){return i+($n(t)?kn:yn)[e-1]}function In(t,e){const i=$n(t)?kn:yn,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Sn(t,e){return(t-e+7)%7+1}function On(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=_n(n,s,r),a=Sn(wn(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Kn(c,e,i)):u>Kn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ss(t)}}function Tn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=Sn(wn(n,1,e),i),a=Bn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Bn(c)):u>a?(c=n+1,u-=Bn(n)):c=n;const{month:l,day:h}=In(c,u);return{year:c,month:l,day:h,...ss(t)}}function xn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:_n(e,i,n),...ss(t)}}function Nn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=In(e,i);return{year:e,month:n,day:s,...ss(t)}}function Rn(t,e){if(!Mn(t.localWeekday)||!Mn(t.localWeekNumber)||!Mn(t.localWeekYear)){if(!Mn(t.weekday)||!Mn(t.weekNumber)||!Mn(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Mn(t.localWeekday)||(t.weekday=t.localWeekday),Mn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Mn(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 An(t){const e=En(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Yn(t.year,t.month));return e?i?!n&&bn("day",t.day):bn("month",t.month):bn("year",t.year)}function Dn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&bn("millisecond",s):bn("second",n):bn("minute",i):bn("hour",e)}function Mn(t){return void 0===t}function Vn(t){return"number"==typeof t}function En(t){return"number"==typeof t&&t%1==0}function Cn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s}),null)[1]}function Ln(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Pn(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Wn(t,1,7))))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return En(t)&&t>=e&&t<=i}function zn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Un(t){return Mn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Mn(t)||null===t||""===t?void 0:parseFloat(t)}function Hn(t){if(!Mn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qn(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function $n(t){return t%4==0&&(t%100!=0||t%400==0)}function Bn(t){return $n(t)?366:365}function Yn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$n(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(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 Jn(t,e,i){return-Sn(wn(t,1,e),i)+e-1}function Kn(t,e=4,i=1){const n=Jn(t,e,i),s=Jn(t+1,e,i);return(Bn(t)-n+s)/7}function Xn(t){return t>99?t:t>vn.twoDigitCutoffYear?1900+t:2e3+t}function Qn(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function ts(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function es(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function is(t,e){const i={};for(const n in t)if(Ln(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=es(s)}return i}function ns(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${zn(i,2)}:${zn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${zn(i,2)}${zn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ss(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const rs=["January","February","March","April","May","June","July","August","September","October","November","December"],os=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],as=["J","F","M","A","M","J","J","A","S","O","N","D"];function cs(t){switch(t){case"narrow":return[...as];case"short":return[...os];case"long":return[...rs];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 us=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ls=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hs=["M","T","W","T","F","S","S"];function ds(t){switch(t){case"narrow":return[...hs];case"short":return[...ls];case"long":return[...us];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fs=["AM","PM"],ms=["Before Christ","Anno Domini"],ps=["BC","AD"],vs=["B","A"];function gs(t){switch(t){case"narrow":return[...vs];case"short":return[...ps];case"long":return[...ms];default:return null}}function ys(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const ks={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:Ti,ffff:Ni,F:_i,FF:Si,FFF:xi,FFFF:Ri};class bs{static create(t,e={}){return new bs(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return ks[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 zn(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(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(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 fs[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return cs(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return ds(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bs.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gs(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ys(bs.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 n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({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 n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({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 n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({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 n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({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}},n=bs.parseFormat(e),s=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return ys(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter((t=>t)))))}}const ws=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _s(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Is(...t){return e=>t.reduce((([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function Ss(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Os(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Un(e[i+s]);return[n,null,i+s]}}const Ts=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xs=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ns=RegExp(`${xs.source}${`(?:${Ts.source}?(?:\\[(${ws.source})\\])?)?`}`),Rs=RegExp(`(?:T${Ns.source})?`),As=Os("weekYear","weekNumber","weekDay"),Ds=Os("year","ordinal"),Ms=RegExp(`${xs.source} ?(?:${Ts.source}|(${ws.source}))?`),Vs=RegExp(`(?: ${Ms.source})?`);function Es(t,e,i){const n=t[e];return Mn(n)?i:Un(n)}function Cs(t,e){return[{hours:Es(t,e,0),minutes:Es(t,e+1,0),seconds:Es(t,e+2,0),milliseconds:Hn(t[e+3])},null,e+4]}function Fs(t,e){const i=!t[e]&&!t[e+1],n=ts(t[e+1],t[e+2]);return[{},i?null:Qi.instance(n),e+3]}function js(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const Ls=RegExp(`^T?${xs.source}$`),Ps=/^-?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 Ws(t){const[e,i,n,s,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(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(Hn(u),h)}]}const zs={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Us(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Un(e)):Un(e),month:os.indexOf(i)+1,day:Un(n),hour:Un(s),minute:Un(r)};return o&&(a.second=Un(o)),t&&(a.weekday=t.length>3?us.indexOf(t)+1:ls.indexOf(t)+1),a}const Zs=/^(?:(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 Hs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Us(e,s,n,i,r,o,a);let f;return f=c?zs[c]:u?0:ts(l,h),[d,new Qi(f)]}const qs=/^(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$/,$s=/^(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$/,Bs=/^(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 Ys(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,s,n,i,r,o,a),Qi.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,a,i,n,s,r,o),Qi.utcInstance]}const Js=_s(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Ks=_s(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Xs=_s(/(\d{4})-?(\d{3})/,Rs),Qs=_s(Ns),tr=Is((function(t,e){return[{year:Es(t,e),month:Es(t,e+1,1),day:Es(t,e+2,1)},null,e+3]}),Cs,Fs,js),er=Is(As,Cs,Fs,js),ir=Is(Ds,Cs,Fs,js),nr=Is(Cs,Fs,js);const sr=Is(Cs);const rr=_s(/(\d{4})-(\d\d)-(\d\d)/,Vs),or=_s(Ms),ar=Is(Cs,Fs,js);const cr="Invalid Duration",ur={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}},lr={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},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,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:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(t,e,i=!1){const n={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 kr(n)}function gr(t,e){let i=e.milliseconds??0;for(const n of pr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight(((n,s)=>{if(Mn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s}),null),mr.reduce(((i,n)=>{if(Mn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n}),null)}class kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return kr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kr({values:is(t,kr.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vn(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Ss(t,[Ps,Ws])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Ss(t,[Ls,sr])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new ti(i);return new kr({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 ii(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?bs.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map((e=>{const i=this.values[e];return Mn(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+=qn(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 ho.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?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(Ln(e.values,t)||Ln(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.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]=es(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...is(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return vr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>kr.normalizeUnit(t)));const e={},i={},n=this.toObject();let s;for(const r of mr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Vn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return yr(this.matrix,e),vr(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 vr(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 n of mr)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const br="Invalid Interval";class wr{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 ni("need to specify a reason the Interval is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Qe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),n=fo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.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:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,n);return null==s?new wr({start:i,end:n}):s}static after(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.fromDateTimes(n,n.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=ho.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=ho.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return wr.fromDateTimes(t,r);if(s){const i=kr.fromISO(n,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):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 n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.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?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(wr.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=kr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*s)));i=+t>+this.e?this.e:t,r.push(wr.fromDateTimes(n,i)),n=i,s+=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:wr.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 wr.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 n=[],s=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...s).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&&n.push(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(n)}difference(...t){return wr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[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=ci,e={}){return this.isValid?bs.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=vn.defaultZone){const e=ho.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return en(t,vn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Cn(),localeWeek:Fn()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(kr.fromMillis(n).as("days"))}function Sr(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["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=Ir(t,e);return(i-i%7)/7}],["days",Ir]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=kr.fromObject(r,n);return u.length>0?kr.fromMillis(c,n).shiftTo(...u).plus(l):l}function Or(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 n=t.charCodeAt(i);if(-1!==t[i].search(nn.hanidec))e+=rn.indexOf(t[i]);else for(const t in sn){const[i,s]=sn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,xr=new RegExp(Tr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(xr,Tr)}function Rr(t){return t.replace(/\./g,"").replace(xr," ").toLowerCase()}function Ar(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex((t=>Rr(i)===Rr(t)))+e}}function Dr(t,e){return{regex:t,deser:([,t,e])=>ts(t,e),groups:e}}function Mr(t){return{regex:t,deser:([t])=>t}}const Vr={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 Er=null;function Cr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Lr(bs.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Cr(bs.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=an(e),n=an(e,"{2}"),s=an(e,"{3}"),r=an(e,"{4}"),o=an(e,"{6}"),a=an(e,"{1,2}"),c=an(e,"{1,3}"),u=an(e,"{1,6}"),l=an(e,"{1,9}"),h=an(e,"{2,4}"),d=an(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 Ar(e.eras("short"),0);case"GG":return Ar(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Xn);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(n);case"MMM":return Ar(e.months("short",!0),1);case"MMMM":return Ar(e.months("long",!0),1);case"LLL":return Ar(e.months("short",!1),1);case"LLLL":return Ar(e.months("long",!1),1);case"o":case"S":return Or(c);case"ooo":case"SSS":return Or(s);case"u":return Mr(l);case"uu":return Mr(a);case"uuu":case"E":case"c":return Or(i);case"a":return Ar(e.meridiems(),0);case"EEE":return Ar(e.weekdays("short",!1),1);case"EEEE":return Ar(e.weekdays("long",!1),1);case"ccc":return Ar(e.weekdays("short",!0),1);case"cccc":return Ar(e.weekdays("long",!0),1);case"Z":case"ZZ":return Dr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Dr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Mr(/[a-z_+-/]{1,256}?/i);case" ":return Mr(/[^\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 n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Ln(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Mn(t.z)||(i=Fi.create(t.z)),Mn(t.Z)||(i||(i=new Qi(t.Z)),e=t.Z),Mn(t.q)||(t.M=3*(t.q-1)+1),Mn(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),Mn(t.u)||(t.S=Hn(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(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 n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Ln(i,"a")&&Ln(i,"H"))throw new ei("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,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 jr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=bs.create(e,t).dtFormatter((Er||(Er=ho.fromMillis(1555555555555)),Er)),n=i.formatToParts(),s=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(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=Vr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s)))}const Pr="Invalid DateTime",Wr=864e13;function zr(t){return new gn("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=On(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=On(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Hr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...i,...e,old:i})}function qr(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function $r(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 Br(t,e,i){return qr(Gn(t),e,i)}function Yr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Yn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=kr.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=Gn(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=ho.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return ho.invalid(new gn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Jr(t,e,i=!0){return t.isValid?bs.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=zn(t.c.year,i?6:4),e?(n+="-",n+=zn(t.c.month),n+="-",n+=zn(t.c.day)):(n+=zn(t.c.month),n+=zn(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=zn(t.c.hour);return e?(o+=":",o+=zn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=zn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zn(Math.trunc(-t.o/60)),o+=":",o+=zn(Math.trunc(-t.o%60))):(o+="+",o+=zn(Math.trunc(t.o/60)),o+=":",o+=zn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Qr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],so=["year","ordinal","hour","minute","second","millisecond"];function ro(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 ii(t);return e}(t)}}function oo(t,e){const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(zr(i));const n=Ki.fromObject(e);let s,r;if(Mn(t.year))s=vn.now();else{for(const e of io)Mn(t[e])&&(t[e]=Qr[e]);const e=An(t)||Dn(t);if(e)return ho.invalid(e);const n=function(t){if(void 0===uo&&(uo=vn.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[s,r]=Br(t,n,i)}return new ho({ts:s,zone:i,loc:n,o:r})}function ao(t,e,i){const n=!!Mn(i.round)||i.round,s=(t,s)=>{t=qn(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function co(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 uo;const lo=new Map;class ho{constructor(t){const e=t.zone||vn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gn("invalid input"):null)||(e.isValid?null:zr(e));this.ts=Mn(t.ts)?vn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Vn(t.o)&&!t.old?t.o:e.offset(this.ts);n=$r(this.ts,r),i=Number.isNaN(n.year)?new gn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return oo({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return t.zone=Qi.utcInstance,oo({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return ho.invalid("invalid input");const s=en(e.zone,vn.defaultZone);return s.isValid?new ho({ts:i,zone:s,loc:Ki.fromObject(e)}):ho.invalid(zr(s))}static fromMillis(t,e={}){if(Vn(t))return t<-Wr||t>Wr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:en(e.zone,vn.defaultZone),loc:Ki.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vn(t))return new ho({ts:1e3*t,zone:en(e.zone,vn.defaultZone),loc:Ki.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(zr(i));const n=Ki.fromObject(e),s=is(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=vn.now(),c=Mn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Mn(s.ordinal),l=!Mn(s.year),h=!Mn(s.month)||!Mn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=$r(a,c);m?(p=no,v=to,g=On(g,r,o)):u?(p=so,v=eo,g=xn(g)):(p=io,v=Qr);let y=!1;for(const t of p){Mn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=En(t.weekYear),s=Wn(t.weekNumber,1,Kn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&bn("weekday",t.weekday):bn("week",t.weekNumber):bn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=En(t.year),i=Wn(t.ordinal,1,Bn(t.year));return e?!i&&bn("ordinal",t.ordinal):bn("year",t.year)}(s):An(s),b=k||Dn(s);if(b)return ho.invalid(b);const w=m?Tn(s,r,o):u?Nn(s):s,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Ss(t,[Js,tr],[Ks,er],[Xs,ir],[Qs,nr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Ss(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,Hs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Ss(t,[qs,Ys],[$s,Ys],[Bs,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Mn(t)||Mn(e))throw new ni("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=jr(t,e,i);return[n,s,r,o]}(r,t,e);return u?ho.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Ss(t,[rr,tr],[or,ar])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Xe(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Ki.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Cr(bs.parseFormat(t),Ki.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){uo=void 0,lo.clear()}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?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?xn(this.c).ordinal:NaN}get monthShort(){return this.isValid?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.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=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=$r(a,r),l=$r(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Hr(this,{ts:a}),Hr(this,{ts:c})]:[this]}get isInLeapYear(){return $n(this.year)}get daysInMonth(){return Yn(this.year,this.month)}get daysInYear(){return this.isValid?Bn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Kn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Kn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=bs.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(Qi.instance(t),e)}toLocal(){return this.setZone(vn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=en(t,vn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Br(i,e,t)}return Hr(this,{ts:n,zone:t})}return ho.invalid(zr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Hr(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=is(t,ro),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Mn(e.weekYear)||!Mn(e.weekNumber)||!Mn(e.weekday),r=!Mn(e.ordinal),o=!Mn(e.year),a=!Mn(e.month)||!Mn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;s?l=Tn({...On(this.c,i,n),...e},i,n):Mn(e.ordinal)?(l={...this.toObject(),...e},Mn(e.day)&&(l.day=Math.min(Yn(l.year,l.month),l.day))):l=Nn({...xn(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Hr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Hr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Hr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=kr.normalizeUnit(t);switch(n){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"===n)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"===n){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?bs.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bs.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bs.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Kr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Jr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Xr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Jr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Jr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Jr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Pr}[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 kr.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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||ho.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),ao(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new ni("min requires all arguments be DateTimes");return jn(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new ni("max requires all arguments be DateTimes");return jn(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Ki.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Fr(s,t)}static fromFormatParser(t,e,i={}){if(Mn(t)||Mn(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`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?ho.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return xi}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&Vn(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(){const t=["hasSame","5024868WolxAV","fromJSDate","local","2110840kWTUGh","startOf","setLocale","toJSDate","105mjKrtB","41620cQeLte","7504686dnYNhm","day","2028840RTDszm","14zAqrgG","monthLong","186380KHIISK","month","weekdayLong","year","10LmFZLi","toRelativeCalendar","minus","week","5068740XFJbVw"];return(mo=function(){return t})()}function po(t,e){const i=mo();return(po=function(t,e){return i[t-=451]})(t,e)}function vo(t,e){const i=po,n=ho[i(464)](t)[i(468)](e),s=ho[i(465)](),r=s[i(459)]({days:1})[i(467)](i(473));let o,a;return n[i(462)](s,i(473))?(o=n[i(467)](i(473))[i(469)](),a=n[i(458)]()):n[i(462)](r,i(473))?(o=r[i(469)](),a=n[i(458)]()):n[i(462)](s,i(460))?(o=n[i(467)](i(460))[i(469)](),a=n[i(455)]||""):n[i(462)](s,i(456))?(o=n[i(467)](i(454))[i(469)](),a=n[i(452)]||""):(o=n[i(467)](i(456))[i(469)](),a=String(n[i(456)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(801861===parseInt(e(453))/1*(-parseInt(e(457))/2)+parseInt(e(470))/3*(-parseInt(e(471))/4)+parseInt(e(474))/5+parseInt(e(463))/6+-parseInt(e(451))/7*(-parseInt(e(466))/8)+parseInt(e(472))/9+-parseInt(e(461))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mo);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=At(),yo.insert=Nt().bind(null,"head"),yo.domAPI=Tt(),yo.insertStyleElement=Mt();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;function ko(t,e){const i=wo();return(ko=function(t,e){return i[t-=287]})(t,e)}const bo=ko;function wo(){const t=["_requireRevisionName","startDate","setName","ck-revision-history-sidebar__time-period","1930hXXNeI","select","928072CKNAFN","uiLanguage","5679PdZbVS","ck-revision-history-sidebar__time-period__label","localizedPeriodName","6UuRVEh","revisionViews","6657896dprrVM","delegate","div","_revisionActions","addRevision","remove","find","316FoQBkh","ck-revision-history-sidebar__time-period__revisions","188655iVHCBW","329354lXPZQj","setTemplate","span","locale","add","4065061IXmxYy","createCollection","7635zQHDrk","removeRevision"];return(wo=function(){return t})()}!function(t){const e=ko,i=t();for(;;)try{if(556128===parseInt(e(295))/1+parseInt(e(312))/2+-parseInt(e(287))/3*(parseInt(e(309))/4)+parseInt(e(311))/5+parseInt(e(300))/6*(parseInt(e(317))/7)+-parseInt(e(302))/8+parseInt(e(297))/9*(-parseInt(e(293))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class _o extends _t.View{[bo(290)];[bo(301)];[bo(305)];[bo(289)];constructor(t,e,i,n){const s=bo;super(t);const r=vo(e,this[s(315)][s(296)])[s(299)];this[s(290)]=e,this[s(301)]=this[s(318)](),this[s(305)]=i,this[s(289)]=n,this[s(301)][s(303)](s(294)).to(this),this[s(301)][s(303)](s(291)).to(this),this[s(313)]({tag:s(304),attributes:{class:["ck",s(292)]},children:[{tag:s(314),attributes:{class:["ck",s(298)]},children:[{text:r}]},{tag:s(304),attributes:{class:["ck",s(310)]},children:this[s(301)]}]})}[bo(306)](t){const e=bo,i=new Je(this[e(315)],t,this[e(305)],this[e(289)]);this[e(301)][e(316)](i)}[bo(288)](t){const e=bo,i=this[e(301)][e(308)]((e=>e.id===t.id));this[e(301)][e(307)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=At(),So.insert=Nt().bind(null,"head"),So.domAPI=Tt(),So.insertStyleElement=Mt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(t,e){const i=xo();return(Oo=function(t,e){return i[t-=170]})(t,e)}!function(t){const e=Oo,i=t();for(;;)try{if(833791===-parseInt(e(184))/1+-parseInt(e(179))/2+-parseInt(e(173))/3+-parseInt(e(182))/4*(-parseInt(e(170))/5)+-parseInt(e(177))/6+parseInt(e(176))/7*(parseInt(e(178))/8)+-parseInt(e(187))/9*(-parseInt(e(186))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class To extends _t.View{constructor(t){const e=Oo;super(t);const i=new _t.IconView;i[e(183)]=wt.IconHistory,this[e(172)]({tag:e(175),attributes:{class:["ck",e(185),e(180)]},children:[i,{tag:e(181),attributes:{class:["ck",e(171)]},children:[ot(t,e(174))]}]})}}function xo(){const t=["80OQQthv","899808slFgII","ck-revision-history-sidebar__header","span","26088yjeOcF","content","1630541yrXnnr","ck-reset_all","76660YCXnXV","2601AXbhMt","640LEoeFU","ck-revision-history-sidebar__header__label","setTemplate","282651gkhUWl","Revision history","div","1064420MPshCK","9374622szPDki"];return(xo=function(){return t})()}var No=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=At(),Ro.insert=Nt().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Mt();St()(No.A,Ro);No.A&&No.A.locals&&No.A.locals;const Ao=Mo;function Do(){const t=["_revisions","_getTimePeriodViewByStartDate","bindTemplate","ck-reset","flat","16OWxxMP","revisionSelected","84gqRkyK","ck-rounded-corners","907011KPYteq","delegate","261kLaJDD","get","getTime","280390YmqmOX","render","select","createdAt","revisionViews","unhighlight","addRevision","remove","isEnabled","add","createCollection","ck-revision-history-sidebar__timeline","revisionSetName","startDate","ck-disabled","ck-revision-history-sidebar","639jRRSsA","map","18116haadsY","timePeriodViews","fire","locale","478565RzjgoU","8VEmvZA","_removeRevision","selectRevision","highlight","setTemplate","deselect","34990jwSkjX","6pdlIHu","set","highlightRevisions","_requireRevisionName","_revisionActions","setName","removeRevision","uiLanguage","some","_addRevision","find","918078KQrRrn","62082chkSXG","273CgyipX","div"];return(Do=function(){return t})()}function Mo(t,e){const i=Do();return(Mo=function(t,e){return i[t-=446]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(309908===-parseInt(e(474))/1*(parseInt(e(455))/2)+parseInt(e(488))/3*(-parseInt(e(450))/4)+-parseInt(e(454))/5*(parseInt(e(462))/6)+-parseInt(e(486))/7*(parseInt(e(482))/8)+-parseInt(e(448))/9*(parseInt(e(461))/10)+-parseInt(e(491))/11*(-parseInt(e(484))/12)+-parseInt(e(475))/13*(-parseInt(e(473))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Vo extends _t.View{[Ao(451)];[Ao(477)];[Ao(466)];[Ao(465)];constructor(t,e,i,n){const s=Ao;super(t);const r=this[s(479)];this[s(451)]=this[s(501)](),this[s(451)][s(487)](s(493)).to(this),this[s(451)][s(487)](s(467)).to(this),this[s(477)]=e,this[s(466)]=i,this[s(465)]=n,this.on(s(493),((t,e)=>{const i=s;this[i(452)](i(483),e)})),this.on(s(467),((t,e)=>{const i=s;this[i(452)](i(503),e)})),this[s(463)](s(499),!1),this[s(459)]({tag:s(476),attributes:{class:["ck",s(480),s(485),s(447)]},children:[new To(t),{tag:s(476),attributes:{class:["ck",s(502),r.if(s(499),s(446),(t=>!t))]},children:this[s(451)]}]})}[Ao(492)](){const t=Ao;super[t(492)]();for(const e of this[t(477)])this[t(471)](e);this[t(477)].on(t(500),((e,i)=>{this[t(471)](i)})),this[t(477)].on(t(498),((e,i)=>{this[t(456)](i)}))}get[Ao(495)](){const t=Ao;return this[t(451)][t(449)]((e=>e[t(495)][t(449)]((t=>t))))[t(481)]()}[Ao(457)](t){const e=Ao;for(const i of this[e(495)])t&&t.id===i.id?i[e(493)]():i[e(460)]()}[Ao(464)](t){const e=Ao;for(const i of this[e(495)])t[e(470)]((({id:t})=>t===i.id))?i[e(458)]():i[e(496)]()}[Ao(471)](t){const e=Ao,i=vo(t[e(494)],this[e(453)][e(469)])[e(504)];let n=this[e(451)][e(489)](0);n&&n[e(504)][e(490)]()===i[e(490)]()||(n=new _o(this[e(453)],i,this[e(466)],this[e(465)]),this[e(451)][e(500)](n)),n[e(497)](t)}[Ao(456)](t){const e=Ao,i=vo(t[e(494)],this[e(453)][e(469)])[e(504)];this[e(478)](i)[e(468)](t)}[Ao(478)](t){const e=Ao;return this[e(451)][e(472)]((i=>i[e(504)][e(490)]()===t[e(490)]()))}}const Eo=Co;function Co(t,e){const i=Fo();return(Co=function(t,e){return i[t-=446]})(t,e)}function Fo(){const t=["_handleEditorDataReady","_revisionViewer","revisionViews","compare","revisionHistory.revisionActions","ready","_sidebarView","isSelected","revisionSetName","repository","get","diff","Restore this revision","editor","pluginName","isPremiumPlugin","6msTfrb","isEnabled","length","config","selectRevision","_createRevisionActions","nameRevision","16863110NBUqik","3007768LtEHeU","highlightRevisions","listenTo","newRevisionId","compareAgainstSelected","_revisions","224912ePlPoZ","availableRevisionActions","destroy","timePeriodViews","add","change:diff","bind","126504mKNPqI","data","focus","RevisionsSidebar","render","getEarlierVisibleRevision","getLaterVisibleRevision","10VQnvFZ","fieldView","getIndex","assign","name","action","plugins","remove","_revisionsRepository","defaultRevisionActions","getRevision","42217DykGHM","revisionHistory.requireRevisionName","revisionHistory","setName","revisionSelected","isReady","_handleRevisionSetName","restoreRevisionCallback","requires","init","6glBPVv","restoreRevision","locale","getRevisionsInDiff","isVisible","_handleDiffChange","_handleRevisionSelected","Name this revision","revisionHistory.viewerSidebarContainer","appendChild","5322770FMgknH","2006768sWOSXW","map","select","element","isOfficialPlugin","1336fltWiR","string","Compare against selected"];return(Fo=function(){return t})()}!function(t){const e=Co,i=t();for(;;)try{if(886617===-parseInt(e(450))/1+-parseInt(e(528))/2+-parseInt(e(485))/3*(parseInt(e(496))/4)+-parseInt(e(495))/5*(-parseInt(e(520))/6)+-parseInt(e(475))/7*(-parseInt(e(501))/8)+parseInt(e(457))/9*(parseInt(e(464))/10)+parseInt(e(527))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class jo extends G.Plugin{[Eo(505)];[Eo(472)];[Eo(510)];static[Eo(473)]=[Eo(448),Eo(486),Eo(526)];static[Eo(451)]=function(){const t=Eo;return{compareAgainstSelected:{name:t(503),action:({plugins:e},i)=>{const n=t,s=e[n(514)](ce),r=s[n(513)];let o=s[n(515)][n(447)],a=i.id;r[n(466)](o)>r[n(466)](a)&&([o,a]=[a,o]),s[n(507)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(514)](ce);return!(s[n(513)][n(488)](s[n(515)])[n(522)]>2||i[n(511)])}},restoreRevision:{name:t(516),action:(e,{id:i})=>{const n=t;e[n(523)][n(514)](n(477))[n(482)](i)},isVisible:({plugins:e},i)=>!!e[t(514)](ce)[t(513)][t(463)](i.id)},nameRevision:{name:t(492),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(514)](ce),o=r[s(513)][s(462)](i);r[s(507)](i,o),n[s(459)](),n[s(465)][s(498)]()}}}}();static get[Eo(518)](){return Eo(460)}static get[Eo(500)](){return!0}static get[Eo(519)](){return!0}static get[Eo(483)](){return[ce]}constructor(t){const e=Eo;super(t),this[e(505)]=t[e(470)][e(514)](ce),this[e(472)]=this[e(505)][e(513)],this[e(510)]=null}[Eo(484)](){const t=Eo,e=this[t(472)][t(449)],i=this[t(525)](),n=this[t(517)][t(523)][t(514)](t(493));this[t(510)]=new Vo(this[t(517)][t(487)],e,i,this[t(517)][t(523)][t(514)](t(476))),this[t(510)].on(t(479),this[t(491)][t(456)](this)),this[t(510)].on(t(512),this[t(481)][t(456)](this)),this[t(510)][t(456)](t(521)).to(this[t(505)]),this[t(510)][t(453)].on(t(454),((e,i)=>{const n=t;i[n(506)].on(n(454),((t,e)=>{const i=n;e[i(456)](i(521),i(480)).to(this[i(505)])}))})),this[t(510)][t(461)](),this[t(446)](this[t(517)][t(458)],t(509),this[t(504)][t(456)](this)),this[t(446)](this[t(505)],t(455),this[t(490)][t(456)](this)),n[t(494)](this[t(510)][t(499)])}[Eo(452)](){const t=Eo;this[t(510)][t(499)][t(471)](),this[t(510)][t(452)]()}[Eo(504)](){const t=Eo,e=this[t(472)][t(474)](0);if(e){const i=this[t(472)][t(462)](e.id);this[t(505)][t(507)](e,i)}}[Eo(491)](t,e){const i=Eo,n=this[i(472)][i(474)](e.id),s=this[i(472)][i(462)](n.id);this[i(505)][i(507)](n,s)}[Eo(481)](t,e){const i=Eo;this[i(472)][i(474)](e.id)[i(478)](e[i(468)])}[Eo(490)](t,e,i){const n=Eo,s=this[n(472)][n(488)](i);s[n(522)]>2?(this[n(510)][n(529)](s),this[n(510)][n(524)](null)):(this[n(510)][n(529)]([]),this[n(510)][n(524)](s[0]))}[Eo(525)](){const t=Eo,e=this[t(517)],i=jo[t(451)],n=e[t(523)][t(514)](t(508))||jo[t(473)];if(n[t(522)])return n[t(497)]((n=>{const s=t,r=s(502)==typeof n?Object[s(467)]({},i[n]):n;return r[s(469)]=r[s(469)][s(456)](this,e),r[s(489)]&&(r[s(489)]=r[s(489)][s(456)](this,e)),r}))}}function Lo(){const t=["_initToolbar","ready","setEditableElement","name","document","123vqLghp","getRoot","focusTracker","5qGImOY","620585fnFtMN","20086Uysmxu","editor","addToolbar","toolbar","1576386kOihvK","stickyPanel","attachDomRoot","element","get","destroy","viewportOffset","bind","31576kbZwIB","_view","limiterElement","editing","_toolbarConfig","276FRVnEZ","isFocused","_elementReplacer","componentFactory","3990830nzjsjO","init","711hKLrAr","detachDomRoot","isActive","replace","38404uqjsfi","fire","rootName","30MJiOWm","19504xRybRn","restore","fillFromConfig","viewportTopOffset","render","editable","config","view"];return(Lo=function(){return t})()}function Po(t,e){const i=Lo();return(Po=function(t,e){return i[t-=497]})(t,e)}const Wo=Po;!function(t){const e=Po,i=t();for(;;)try{if(266902===-parseInt(e(529))/1*(-parseInt(e(511))/2)+parseInt(e(543))/3*(-parseInt(e(526))/4)+parseInt(e(497))/5*(parseInt(e(503))/6)+parseInt(e(498))/7+parseInt(e(530))/8*(parseInt(e(522))/9)+-parseInt(e(520))/10+-parseInt(e(499))/11*(-parseInt(e(516))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class zo extends _t.EditorUI{[Wo(512)];[Wo(515)];[Wo(518)];get[Wo(537)](){return this[Wo(512)]}constructor(e,i){const n=Wo;super(e),this[n(512)]=i,this[n(515)]=(0,_t.normalizeToolbarConfig)(e[n(536)][n(507)](n(502))),this[n(518)]=new t.ElementReplacer}get[Wo(506)](){const t=Wo;return this[t(537)][t(506)]}[Wo(521)](t){const e=Wo,i=this[e(500)],n=this[e(537)],s=i[e(514)][e(537)],r=n[e(535)],o=s[e(542)][e(544)]();r[e(541)]=o[e(528)],n[e(534)]();const a=r[e(506)];this[e(540)](r[e(541)],a),n[e(535)][e(510)](e(517)).to(this[e(545)]),s[e(505)](a),this[e(518)][e(525)](t,this[e(506)]),this[e(538)](),this[e(527)](e(539))}[Wo(508)](){const t=Wo;super[t(508)]();const e=this[t(537)],i=this[t(500)][t(514)][t(537)];this[t(518)][t(531)](),i[t(523)](e[t(535)][t(541)]),e[t(508)]()}[Wo(538)](){const t=Wo,e=this[t(537)];e[t(504)][t(510)](t(524)).to(this[t(545)],t(517)),e[t(504)][t(513)]=e[t(506)],e[t(504)][t(510)](t(533)).to(this,t(509),(({top:t})=>t)),e[t(502)][t(532)](this[t(515)],this[t(519)]),this[t(501)](e[t(502)])}}var Uo=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=At(),Zo.insert=Nt().bind(null,"head"),Zo.domAPI=Tt(),Zo.insertStyleElement=Mt();St()(Uo.A,Zo);Uo.A&&Uo.A.locals&&Uo.A.locals;var Ho=qo;function qo(t,e){var i=$o();return(qo=function(t,e){return i[t-=383]})(t,e)}function $o(){var t=["render","shouldToolbarGroupWhenFull","76661jEmWwl","_editable","62480wDxdzb","7EItQRu","41264oNQpRY","8wIjYDL","main","editable","948vAIMnW","11312865nTRpBl","4769619gxqZOG","285618EXqfLE","top","add","2486hpAwbe","stickyPanel","content","265wnAfpo","34DurZng","1585cFKbVe","toolbar"];return($o=function(){return t})()}!function(t){for(var e=qo,i=t();;)try{if(806873===-parseInt(e(387))/1*(-parseInt(e(386))/2)+parseInt(e(401))/3+-parseInt(e(395))/4*(parseInt(e(385))/5)+-parseInt(e(402))/6*(-parseInt(e(394))/7)+parseInt(e(396))/8*(-parseInt(e(400))/9)+-parseInt(e(393))/10*(-parseInt(e(405))/11)+-parseInt(e(399))/12*(parseInt(e(391))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Bo extends _t.BoxedEditorUIView{[Ho(392)];[Ho(383)];[Ho(388)];get[Ho(398)](){return this[Ho(392)]}constructor(t,e,i={}){var n=Ho;super(t),this[n(383)]=new _t.StickyPanelView(t),this[n(388)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[n(390)]}),this[n(392)]=new _t.InlineEditableUIView(t,e)}[Ho(389)](){var t=Ho;super[t(389)](),this[t(383)][t(384)][t(404)](this[t(388)]),this[t(403)][t(404)](this[t(383)]),this[t(397)][t(404)](this[t(398)])}}const Yo=Jo;function Go(){const t=["723960DqinXK","model","destroy","init","view","fire","locale","1622516dDIvab","document","initialData","get","ready","4044691idmRDt","createRoot","235664QDyaLI","2571090GRtskq","_ui","initPlugins","9863008Ujyzjm","updateSourceElement","editing","create","5XCRBzR","sourceElement","data","config","1736427BtmJdP"];return(Go=function(){return t})()}function Jo(t,e){const i=Go();return(Jo=function(t,e){return i[t-=150]})(t,e)}!function(t){const e=Jo,i=t();for(;;)try{if(444056===parseInt(e(176))/1+parseInt(e(163))/2+parseInt(e(175))/3+parseInt(e(156))/4+-parseInt(e(171))/5*(-parseInt(e(164))/6)+-parseInt(e(161))/7+-parseInt(e(167))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Yo(165)];get ui(){return this[Yo(165)]}constructor(t,e){const i=Yo;super(e),this[i(172)]=t,this[i(150)][i(157)][i(162)]();const n=new Bo(this[i(155)],this[i(169)][i(153)],{shouldToolbarGroupWhenFull:!0});this[i(165)]=new zo(this,n)}[Yo(151)](){const t=Yo;return this[t(168)](),this.ui[t(151)](),super[t(151)]()}static async[Yo(170)](t,e){const i=Yo,n=new this(t,e);return await n[i(166)](),await n.ui[i(152)](t),await n[i(173)][i(152)](n[i(174)][i(159)](i(158))||""),n[i(154)](i(160)),n}}const Xo=Qo;function Qo(t,e){const i=ta();return(Qo=function(t,e){return i[t-=126]})(t,e)}function ta(){const t=["set","revisionHistory.restoreRevisionCallback","plugins","isAttached","_enhanceShowRevisionViewerCallback","revisionHistory.viewerContainer","none","Annotations","669029qefHQc","showRevisionViewerCallback","save","getUser","locale","_update","isOpen","restoreRevision","RevisionHistory","1340901WCCExl","removeSelectionAttribute","enqueueChange","_showRevisionViewer","map","element","isOfficialPlugin","display","getMarkersGroup","get","editor","long","name","markers","requires","1700956yUenaD","error","DocumentOutline","indexOf","revisionHistory.showRevisionViewerCallback","toolbar","DocumentOutlineUI","getRevisions","disableReadOnlyMode","update","end","revision-history-missing-configuration","selection","init","result","$graveyard","isReady","push","exitToEditing","getRevision","from","revisionHistory","Users","_enhanceCloseRevisionViewerCallback","addRevisionData","Dialog","isReadOnly","refreshPositioning","addUser","detachRoot","createdAt","toLocaleDateString","join","saveRevision","getRevisionDocumentData","RevisionHistoryUtils","isEnabled","554743mDIesO","model","getRoot","3530LcqYtk","revisionHistory.requireRevisionName","RestrictedEditingMode","2229180URuoAZ","rootName","setSelection","_viewerEditor","repository","catch","users","includes","isAnonymous","fromVersion","lazyRoots","RevisionsRepository","insert","translations","bind","revision-history-viewer-opened","remove","creator","style","getRevisionRootsAttributes","PaginationLookup","RevisionHistoryUI","document","adapter","uiLanguage","revisionHistory.closeRevisionViewerCallback","numeric","config","then","define","loadRevisionData","110SXETmN","_cleanUp","RevisionTracker","isRevisionViewerOpen","toVersion","removeMarker","RevisionViewerIntegration","refreshVisibility","change","destroy","addRoot","3459704OmxAzf","block","revisionHistory.viewerEditorElement","toLocaleTimeString","_closeRevisionViewer","getAttributeKeys","setAttribute","create","pluginName","revisionHistory.editorContainer","changesNavigation","roots","2316eBpXMd","has","_recalculatePageBreaks","view","keys","removeAttribute","restrictedEditingException","3BHPaHo","commands","createRangeIn","Restored","toJSON","parse","_getRevisionViewerEditorConfig","RevisionViewer","closeRevisionViewerCallback","hide","fromCharCode","enableReadOnlyMode","_restoreRevision","Autosave","isPremiumPlugin","data"];return(ta=function(){return t})()}!function(t){const e=Qo,i=t();for(;;)try{if(435342===-parseInt(e(159))/1+parseInt(e(183))/2*(-parseInt(e(135))/3)+parseInt(e(128))/4*(-parseInt(e(223))/5)+parseInt(e(226))/6+-parseInt(e(220))/7+parseInt(e(268))/8+parseInt(e(168))/9*(parseInt(e(257))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ea=[Xo(247),Xo(225)];class ia extends G.Plugin{[Xo(197)];static get[Xo(276)](){return Xo(263)}static get[Xo(174)](){return!0}static get[Xo(149)](){return!0}constructor(t){const e=Xo;function i(t){const e=Qo;return t[e(172)]((t=>String[e(145)](t)))[e(215)]("")}super(t),this[e(197)]=e(193),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 na extends G.Plugin{[Xo(229)];static get[Xo(276)](){return Xo(167)}static get[Xo(174)](){return!0}static get[Xo(149)](){return!0}static get[Xo(182)](){return[mt,Ht]}constructor(e){const i=Xo;if(super(e),!this[i(178)][i(253)][i(177)](i(204)))throw new t.CKEditorError(i(194),this);this[i(229)]=null,this[i(151)](i(260),!1),this[i(178)][i(253)][i(255)](i(187),(t=>this[i(171)]({...t,translations:this[i(178)][i(163)][i(239)]}))),this[i(178)][i(253)][i(255)](i(251),(t=>this[i(272)](t))),this[i(178)][i(253)][i(255)](i(152),(t=>this[i(147)](t))),this[i(178)][i(253)][i(255)](i(224),!1),this[i(155)](),this[i(206)]()}set[Xo(249)](t){const e=Xo;this[e(178)][e(153)][e(177)](e(259))[e(249)]=t}get[Xo(249)](){const t=Xo;return this[t(178)][t(153)][t(177)](t(259))[t(249)]}[Xo(207)](t){const e=Xo;return this[e(178)][e(153)][e(177)](e(259))[e(207)](t)}[Xo(202)](t){const e=Xo;return this[e(178)][e(153)][e(177)](e(237))[e(202)](t)}[Xo(190)](t){const e=Xo;return this[e(178)][e(153)][e(177)](e(237))[e(190)](t||{toJSON:!1})}[Xo(141)](){const e=Xo,i=this[e(178)],n=(0,J.sanitizeEditorConfig)(i,ea),s=i[e(153)][e(177)](e(259)),r=i[e(153)][e(177)](e(205))[e(232)];return n[e(188)]=[e(201),e(166),e(126)],delete n[e(236)],n[e(153)][e(200)](ia,ce,xe,class extends G.Plugin{static get[e(182)](){return[ce,e(205)]}[e(196)](){const n=e,o=this[n(178)][n(153)][n(177)](n(205));for(const t of r)t[n(234)]||o[n(162)](t.id)||o[n(211)](t);const a=s[n(230)][n(190)]();let c=null;const u=this[n(178)][n(153)][n(177)](n(142));u[n(249)]=s[n(249)],u[n(240)](n(219)).to(s),this[n(178)][n(136)][n(177)](n(166))[n(240)](n(219)).to(i,n(209),(t=>!t));for(const e of a){const i=null===e[n(243)];if(i&&e[n(261)]===e[n(235)])continue;const r=e[n(139)]();u[n(207)](r,((r,o,a)=>{const u=n;if(i){if(c)c[u(164)](r,o);else if(!o){const e=a[u(139)]();e.id=(0,t.uid)(),s[u(216)](e,a[u(261)])[u(254)]((t=>{c=t}))}}else e[u(164)](r,o)}))}}},jo),n}[Xo(155)](){const t=Xo,e=this[t(178)][t(253)][t(177)](t(204))[t(160)];this[t(178)][t(253)][t(151)](t(187),(async()=>{const i=t;this[i(178)][i(146)](i(241));const n=this[i(178)][i(153)][i(177)](i(259));if(this[i(178)][i(153)][i(129)](i(148))){const t=this[i(178)][i(153)][i(177)](i(148));await t[i(161)]()}else await n[i(192)]();if(this[i(178)][i(153)][i(129)](i(246))&&this[i(178)][i(153)][i(177)](i(246))[i(130)](),this[i(178)][i(153)][i(129)](i(208))){const t=this[i(178)][i(153)][i(177)](i(208));t[i(165)]&&t[i(144)]()}const s=this[i(141)]();return e(s)[i(254)]((t=>{const e=i;return this[e(229)]=t,this[e(178)][e(153)][e(129)](e(158))&&this[e(178)][e(153)][e(177)](e(158))[e(264)](),this[e(178)][e(153)][e(129)](e(185))&&(this[e(178)][e(153)][e(177)](e(189))[e(131)][e(173)][e(244)][e(175)]=e(157)),t}))[i(231)]((t=>(console[i(184)](t),this[i(178)][i(191)](i(241)),null)))}))}[Xo(206)](){const t=Xo,e=this[t(178)][t(253)][t(177)](t(204))[t(143)];this[t(178)][t(253)][t(151)](t(251),(()=>(this[t(178)][t(153)][t(129)](t(246))&&this[t(178)][t(153)][t(177)](t(246))[t(130)](),this[t(178)][t(153)][t(129)](t(185))&&(this[t(178)][t(153)][t(177)](t(189))[t(131)][t(173)][t(244)][t(175)]=""),this[t(229)][t(153)][t(177)](t(142))[t(258)](),e(this[t(229)])[t(254)]((()=>{const e=t;if(this[e(178)][e(191)](e(241)),this[e(229)]=null,this[e(178)][e(153)][e(129)](e(158))){const t=this[e(178)][e(153)][e(177)](e(158));t[e(264)](),t[e(210)]()}})))))}[Xo(171)](t){const e=Xo,i=this[e(178)][e(253)][e(177)](e(277)),n=this[e(178)][e(253)][e(177)](e(156)),s=this[e(178)][e(253)][e(177)](e(270));return Ko[e(275)](s,t)[e(254)]((t=>(n[e(244)][e(175)]=e(269),i[e(244)][e(175)]=e(157),this[e(260)]=!0,t)))}[Xo(272)](t){const e=Xo,i=this[e(178)][e(253)][e(177)](e(277));return this[e(178)][e(253)][e(177)](e(156))[e(244)][e(175)]=e(157),i[e(244)][e(175)]="",this[e(260)]=!1,t[e(266)]()}async[Xo(147)](t){const e=Xo,i=this[e(178)],n=this[e(229)][e(153)][e(177)](e(142)),s=i[e(153)][e(177)](e(259)),r=i[e(153)][e(177)](e(218)),o=n[e(230)][e(202)](t);let a,c,u;try{await r[e(256)](o,this[e(249)]),a=r[e(217)](o),c=r[e(245)](o)}catch(t){return void console[e(184)](t)}i[e(221)][e(265)]((t=>{const n=e;for(const e of Array[n(203)](i[n(221)][n(181)][n(176)](n(134))))t[n(262)](e)})),n[e(199)]=!1,i[e(221)][e(170)]((t=>{const n=e;t[n(228)](null),t[n(169)](i[n(221)][n(248)][n(195)][n(273)]());const s=Object[n(132)](a);for(const e of i[n(221)][n(248)][n(127)])n(198)!=e[n(227)]&&e[n(154)]()&&!s[n(233)](e[n(227)])&&t[n(212)](e);for(const e of s){let s=i[n(221)][n(248)][n(222)](e);s&&s[n(154)]()||(s=t[n(267)](e));const r=c[e],o=Object[n(132)](r),u=a[e];for(const e of s[n(273)]())o[n(233)](e)||t[n(133)](e,s);for(const i of o)t[n(274)](i,c[e][i],s);t[n(242)](t[n(137)](s)),t[n(238)](i[n(150)][n(140)](u,s),s,0)}}));const l=ot(i[e(163)],e(138));return u=o[e(180)]?-1==o[e(180)][e(186)](l)?l+": "+o[e(180)]:o[e(180)]:l+": "+o[e(213)][e(214)](i[e(163)][e(250)],{month:e(179),day:e(252)})+", "+o[e(213)][e(271)](i[e(163)][e(250)],{hour:e(252),minute:e(252)}),await s[e(216)]({name:u}),n[e(199)]=!0,i[e(253)][e(177)](e(204))[e(143)]()}}function sa(t,e){var i=ra();return(sa=function(t,e){return i[t-=190]})(t,e)}function ra(){var t=["25934VtuAoR","3mkOhmj","2355624rGiyvM","1140030mTxEGN","6ilEOCq","445921BPKtza","5598153dkeBvY","78FFIdZy","4386064HbNIwo","8854900qkskkc"];return(ra=function(){return t})()}!function(t){for(var e=sa,i=t();;)try{if(638869===-parseInt(e(199))/1*(parseInt(e(193))/2)+-parseInt(e(190))/3*(parseInt(e(197))/4)+-parseInt(e(192))/5+-parseInt(e(196))/6*(-parseInt(e(194))/7)+-parseInt(e(191))/8+parseInt(e(195))/9+parseInt(e(198))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
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:0s;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,{RestoreRevisionCommand:()=>le,Revision:()=>Y,RevisionHistory:()=>sa,RevisionHistoryUI:()=>Ht,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>mt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Ko,RevisionViewerLoadingOverlay:()=>_e,RevisionViewerUI:()=>xe,RevisionsRepository:()=>et,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>he});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(D=t)||"object"!=typeof D&&"function"!=typeof D)return t;var D;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,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,x(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(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,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),N(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),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(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,N(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),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}function D(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const M=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&D(s,i)&&(void 0!==i||e in t)||(t[e]=i)},V=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}const C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(F.test(t)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function P(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(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 W(t,e,i){return function(t,e,i,s){if(null==t&&!P(t))return t;const n=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let t=0;t<n.length&&null!=r;t++){const e=L(n[t]);let o;if(t===n.length-1)o=i(r[e]);else{const i=r[e],a=s(i);o=void 0!==a?a:P(i)?i:E(n[t+1])?[]:{}}M(r,e,o),r=r[e]}return t}(t,e,(()=>i),(()=>{}))}function U(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?U(e)?H(t,z(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=L(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 Z(t,e){const i=H(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 q=B;function $(){const t=["1656063oscqSd","authors","18257048PiyLJg","setAttribute","setName","fire","creator","toJSON","removeAttribute","diffData","model","creatorId","1311759ssoWuT","1974284mrfSxI","_update","map","createdAt","attributes","authorsIds","name","fromVersion","toVersion","776160FUNZue","4349118PyQAoV","565690raiXoz","set","8SCUzFc"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=165]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(889404===parseInt(e(188))/1+parseInt(e(187))/2*(parseInt(e(173))/3)+parseInt(e(174))/4+-parseInt(e(185))/5+-parseInt(e(184))/6+parseInt(e(183))/7+-parseInt(e(190))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends((0,t.ObservableMixin)()){id;[q(167)];[q(189)];[q(170)];[q(182)];[q(181)];[q(171)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(167)]=e[i(167)]||null,this[i(189)]=e[i(189)]||[],this[i(170)]=e[i(170)]||null,this[i(182)]=e[i(182)]||0,this[i(181)]=e[i(181)]||0,this[i(186)](i(180),e[i(180)]||""),this[i(186)](i(177),e[i(177)]||new Date),this[i(186)](i(178),e[i(178)]||{})}[q(165)](t){this[q(175)]({name:t})}[q(191)](t,e){const i=q,s=A(this[i(178)]);W(s,t,e),this[i(175)]({attributes:s})}[q(169)](t){const e=q,i=A(this[e(178)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return Z(t,e);if("number"==typeof e?e=L(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]&&U(e))return Z(t,z(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(175)]({attributes:i})}[q(175)](t,e=!1){const i=q;let s=!1;const n={id:this.id},r=[i(180),i(177),i(170),i(189),i(178),i(182),i(181),i(172)];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(189)]&&(n[i(179)]=n[i(189)][i(176)]((t=>t.id)),delete n[i(189)]),this[i(166)](i(175),n,e))}[q(168)](){const t=q;return{id:this.id,name:this[t(180)],creatorId:this[t(167)]?this[t(167)].id:null,authorsIds:this[t(189)][t(176)]((t=>t.id)),diffData:this[t(170)],createdAt:this[t(177)],attributes:this[t(178)],fromVersion:this[t(181)],toVersion:this[t(182)]}}}var G=i(782),J=i(211),K=i(783);function X(){const t=["length","authorsIds","getRevision","fromVersion","_revisions","oldRevisionId","afterInit","createRevision","reverse","plugins","33663WPackU","from","pluginName","24mrQZhA","map","isNaN","editor","isPremiumPlugin","toVersion","2146pvlDUM","37861060eTWcgF","join","creatorId","getIndex","toJSON","fromCharCode","3861LNjAma","getRevisionsIterator","attributes","6675680RYTtSW","addRevision","isOfficialPlugin","data","2607048skcwbs","1260eUvfRM","getLaterVisibleRevision","getRevisionsInDiff","Users","getEarlierVisibleRevision","push","earlier","createdAt","href","RevisionsRepository","add","246792zgRQVF","name","get","newRevisionId","189675DcLxmy","getRevisions","later","diffData","requires","getUser"];return(X=function(){return t})()}const Q=tt;function tt(t,e){const i=X();return(tt=function(t,e){return i[t-=105]})(t,e)}!function(t){const e=tt,i=t();for(;;)try{if(857944===-parseInt(e(144))/1+parseInt(e(118))/2*(parseInt(e(125))/3)+parseInt(e(128))/4+-parseInt(e(148))/5+-parseInt(e(133))/6*(-parseInt(e(109))/7)+-parseInt(e(112))/8*(-parseInt(e(132))/9)+-parseInt(e(119))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class et extends G.Plugin{[Q(158)];static get[Q(152)](){return[J.Users]}static get[Q(111)](){return Q(142)}static get[Q(130)](){return!0}static get[Q(116)](){return!0}get[Q(154)](){const t=Q;return this[t(158)][t(154)]}constructor(e){const i=Q;super(e),this[i(158)]=new t.Collection}[Q(105)](){!async function(e){const i=k([83,68,48,110,77,75,84,74,117,121,53,88,86,82,105,52,104,98,108,111,78,120,115,66,50,109,101,112,67,70,119,57,107,85,54,80,106,81,79,118,65,100,97,103,56,71,72,116,102,87,114,76,89,55,51,122,73,69,113,90,99,49]),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=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(114)](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([83]);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=tt;return t[e(113)]((t=>String[e(124)](t)))[e(120)]("")}!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{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:1749254400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,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(141)]);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{return k([73,110,118,97,108,105,100])}}())}(this)}[Q(106)](t){const e=Q,i=this[e(115)][e(108)][e(146)](e(136));return new Y({id:t.id,name:t[e(145)],creator:t[e(121)]?i[e(153)](t[e(121)]):null,diffData:t[e(151)]||t[e(131)],authors:t[e(155)][e(113)]((t=>i[e(153)](t))),createdAt:new Date(t[e(140)]),attributes:t[e(127)],fromVersion:t[e(157)],toVersion:t[e(117)]})}[Q(129)](t,e=0){const i=Q;this[i(158)][i(143)](t,e)}[Q(156)](t){const e=Q;return this[e(158)][e(146)](t)}[Q(149)](t={toJSON:!1}){const e=Q,i=Array[e(110)](this[e(158)]);return i[e(107)](),t[e(123)]?i[e(113)]((t=>t[e(123)]())):i}[Q(122)](t){const e=Q;return this[e(158)][e(122)](t)}[Q(137)](t){const e=Q,[,i]=this[e(126)](t,{direction:e(139)});return i}[Q(134)](t){const e=Q,[,i]=this[e(126)](t,{direction:e(150)});return i}[Q(135)](t){const e=Q,i=[];for(const s of this[e(126)](t[e(147)]))if(i[e(138)](s),s.id===t[e(159)])break;return i}*[Q(126)](t,{direction:e=Q(139),filter:i=()=>!0}={}){const s=Q,n=s(139)===e?1:-1;let r=this[s(158)][s(146)](t),o=this[s(122)](r);for(yield r;r;){if(o+=n,r=this[s(156)](o),!r)return;i(r)&&(yield r)}}}function it(){const t=["forEach","toModel","8191300tGqomN","insertions","document","loadRevisionData","isPremiumPlugin","toData","htmlProcessor","_setCustomProperty","createElement","marked","attributes","_makeModelFromViewString","revision-end","_getTypeCharForViewElement","render","childNodes","constructor","2LjtDSM","_removeRevisionMarkers","data-revision-","processor","name","getRevision","data","revision-start","customProperties","_appendChild","parse","domConverter","getRevisionRootsAttributes","config","1313599XkhYas","diffData","startsWith","attachChange","children","filter","type","div","map","length","collaboration.channelId","from","1032RPtjcd","9453366gOogYR","get","useFillerType","4700892YxCCjx","getFillerOffset","pluginName","_getViewFromDiffObj","182603OnPEib","RevisionHistoryUtils","isOfficialPlugin","domDocument","viewChildrenToDom","_viewClassToTypeChar","fillerOffset","_typeCharToViewClass","48mdBjjM","attributesAfter","view","editing","isAttached","innerHTML","92664WFlrfr","default","getRevisionDocumentData","50215bapIGM","domChildrenToView","string","append","editor"];return(it=function(){return t})()}const st=nt;function nt(t,e){const i=it();return(nt=function(t,e){return i[t-=488]})(t,e)}!function(t){const e=nt,i=t();for(;;)try{if(895693===-parseInt(e(537))/1*(parseInt(e(503))/2)+-parseInt(e(533))/3+parseInt(e(551))/4+parseInt(e(554))/5*(parseInt(e(529))/6)+-parseInt(e(517))/7*(-parseInt(e(545))/8)+-parseInt(e(530))/9+parseInt(e(561))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);class rt extends G.Plugin{static get[st(535)](){return st(538)}static get[st(539)](){return!0}static get[st(490)](){return!0}[st(542)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[st(544)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[st(489)](t,e){const i=st;if(t[i(518)]||!e)return;const s=this[i(558)][i(516)][i(531)](i(527)),n=await e[i(508)]({channelId:s,revisionId:t.id});t[i(518)]=n[i(518)]}[st(553)](t){const e=st,i={};for(const s in t[e(518)]){if(t[e(518)][s][e(520)]&&!t[e(518)][s][e(520)][e(549)])continue;const n=this[e(504)](JSON[e(513)](t[e(518)][s][e(562)])),r=this[e(558)][e(548)][e(547)][e(488)],o=new K.ViewDocumentFragment(r,n[e(525)]((t=>this[e(536)](t,!1))));this[e(558)][e(509)][e(506)][e(532)](e(495)),i[s]=this[e(558)][e(509)][e(506)][e(491)](o),this[e(558)][e(509)][e(506)][e(532)](e(552))}return i}[st(515)](t){const e=st,i={};for(const s in t[e(518)])t[e(518)][s][e(520)]&&!t[e(518)][s][e(520)][e(549)]||(i[s]=t[e(518)][s][e(546)]||{});return i}[st(499)](t){const e=st;return this[e(542)][e(531)](t[e(502)])}[st(536)](t,e){const i=st,s=this[i(558)][i(548)][i(547)][i(488)];if(i(556)==typeof t)return new K.ViewText(s,t);{let n,r;r="u"==t[i(523)]||"r"==t[i(523)]?[]:t[i(521)][i(525)]((t=>this[i(536)](t,e)));const o=this[i(544)][i(531)](t[i(523)])||K.ViewElement,a=this[i(558)][i(509)][i(492)][i(514)];if(n=new o(s,t[i(507)],t[i(496)],r),"u"==t[i(523)]&&t[i(521)][0]){const r=t[i(521)][0];if(n[i(500)]=function(t){const e=i,s=t[e(494)](e(524));return s[e(550)]=r,s[e(501)][0]},e){const t=new K.ViewDocumentFragment(s);t[i(512)](n);const e=Array[i(528)](a[i(541)](t,{bind:!1})),r=a[i(540)][i(494)](i(524));r[i(557)](...e),n=Array[i(528)](a[i(555)](r))[0]}}else if("r"==t[i(523)]&&t[i(521)][0]){const r=t[i(521)][0];if(n[i(500)]=function(t){t[i(550)]=r},e){const t=new K.ViewDocumentFragment(s);t[i(512)](n);const e=Array[i(528)](a[i(541)](t,{bind:!1})),r=a[i(540)][i(494)](i(524));r[i(557)](...e);const o=Array[i(528)](a[i(555)](r));o[i(526)]>1?n[i(512)](o):n=o[0]}}if(t[i(511)])for(const[e,s]of t[i(511)])n[i(493)](e,s);const c=void 0===t[i(543)]?null:t[i(543)];return null!==c&&(n[i(534)]=()=>c),n}}[st(497)](t){const e=st,i=JSON[e(513)](t),s=this[e(558)][e(548)][e(547)][e(488)],n=new K.ViewDocumentFragment(s,i[e(525)]((t=>this[e(536)](t,!0))));return this[e(558)][e(509)][e(560)](n)}[st(504)](t){const e=st;return(t=t[e(522)]((t=>!t[e(507)]||e(510)!==t[e(507)]&&e(498)!==t[e(507)])))[e(559)]((t=>{const i=e;i(556)!=typeof t&&(t[i(521)]=this[i(504)](t[i(521)]),t[i(496)]=t[i(496)][i(522)]((t=>!t[0][i(519)](i(505)))))})),t}}function ot(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 at(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 ct(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 ut(t,e,r,o)}return ut(t,e,r,o)}function ut(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return D(t.valueOf(),i.valueOf());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}const A=(s=s??new Map).get(t),M=s.get(i);if(null!=A&&null!=M)return A===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ct(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>ct(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ct(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,s,x)||at(t)&&at(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(!ct(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}const dt=ft;function ft(t,e){const i=gt();return(ft=function(t,e){return i[t-=224]})(t,e)}!function(t){const e=ft,i=t();for(;;)try{if(270268===parseInt(e(412))/1+-parseInt(e(272))/2*(-parseInt(e(278))/3)+-parseInt(e(388))/4*(-parseInt(e(449))/5)+parseInt(e(241))/6+parseInt(e(290))/7*(-parseInt(e(508))/8)+-parseInt(e(236))/9*(parseInt(e(288))/10)+parseInt(e(280))/11*(-parseInt(e(234))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gt);class mt extends G.Plugin{[dt(497)];[dt(535)];[dt(262)]=null;[dt(463)];[dt(385)]=null;[dt(455)];[dt(340)];[dt(248)];[dt(273)];[dt(338)];[dt(364)];[dt(415)];[dt(363)];[dt(328)];static get[dt(501)](){return dt(316)}static get[dt(382)](){return!0}static get[dt(269)](){return!0}static get[dt(528)](){return[J.Users,et,rt,G.PendingActions]}constructor(e){const i=dt;super(e),this[i(463)]=this[i(395)][i(303)][i(408)](i(224)),this[i(338)]=this[i(395)][i(303)][i(408)](i(271)),this[i(455)]=new pt(this[i(395)]),this[i(248)]=this[i(395)][i(358)][i(408)](i(370))||i(478),this[i(273)]=new Map,this[i(328)]=null;const s=(0,t.uid)();this[i(340)]={history:this[i(395)][i(394)][i(427)][i(422)],getLatestVersion:()=>Promise[i(511)](this[i(395)][i(394)][i(427)][i(367)]),getCurrentRevisionId:()=>s},this[i(238)](i(342),!1),this[i(238)](i(285),!0),this[i(238)](i(452),!1),this[i(395)][i(358)][i(333)](i(442),!0),this[i(395)][i(302)][i(229)](i(251))[i(453)]({view:i(320)})}[dt(450)](){const t=dt;this[t(256)](),this[t(395)][t(543)].on(t(490),(()=>{const e=t,i=this[e(463)][e(336)](0),s=i&&null===i[e(434)]?i:null;if(this[e(415)]=!!s&&this[e(395)][e(358)][e(408)](e(442)),this[e(395)][e(303)][e(474)](e(233))){const t=this[e(340)][e(263)](),n=this[e(463)][e(336)](t);if(n)this[e(363)]=n[e(381)],this[e(415)]=!1;else{const t=this[e(340)][e(422)][e(337)][e(470)]((t=>!t[e(289)])),n=t?t[e(359)]:this[e(340)][e(422)][e(367)];i?(i[e(307)]<n&&i[e(306)]({toVersion:n}),this[e(415)]?(this[e(340)][e(263)]=()=>s.id,this[e(363)]=s[e(381)]):(this[e(363)]=i[e(307)],this[e(415)]=!1)):(this[e(363)]=n,this[e(415)]=!1)}}else s&&(this[e(395)][e(394)][e(427)][e(422)][e(367)]=Math[e(281)](s[e(307)],this[e(395)][e(394)][e(427)][e(422)][e(367)]),s[e(381)]===s[e(307)]?(0!==s[e(381)]&&(this[e(340)][e(263)]=()=>s.id),this[e(415)]=!1):this[e(415)]&&(this[e(340)][e(263)]=()=>s.id,this[e(363)]=s[e(381)])),this[e(415)]||(this[e(363)]=this[e(395)][e(394)][e(427)][e(367)]);this[e(455)][e(450)](this[e(340)][e(422)]),this[e(291)](this[e(363)]),this[e(454)](this[e(363)]),this[e(385)]&&this[e(522)]()})),this[t(487)](t(342)).to(this,t(452),(t=>!t)),this[t(497)]=this[t(395)][t(358)][t(408)](t(497));const e=this[t(395)];this[t(535)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(242)==r||i(354)==r||i(390)==r||i(469)==r||i(240)==r||i(521)==r||i(239)==r||i(513)==r){delete e[n],s=r,clearInterval(this[i(535)]),this[i(535)]=void 0;break}}i(354)==s&&e[i(407)](i(227)),i(390)==s&&e[i(407)](i(378)),i(469)==s&&e[i(407)](i(519)),i(240)==s&&e[i(407)](i(365),i(464)),i(521)==s&&e[i(407)](i(416)),i(239)==s&&e[i(407)](i(441)),i(513)==s&&e[i(407)](i(461))}),1e3)}async[dt(431)](){const t=dt;if(this[t(463)][t(480)]>0){const e=this[t(463)][t(336)](0),i=await this[t(492)](e),s=await this[t(548)](e);this[t(400)](i,s)}}[dt(537)](){const t=dt;super[t(537)](),this[t(535)]&&clearInterval(this[t(535)])}[dt(420)](t){this[dt(340)]=t}async[dt(544)](){const t=dt,e=await this[t(340)][t(447)]();if(e>this[t(262)][t(307)]){await this[t(380)]();const i=this[t(245)]({revision:this[t(262)],to:e});i[t(309)]=i[t(468)][t(314)]((e=>this[t(395)][t(303)][t(408)](t(512))[t(491)](e))),this[t(262)][t(306)](i)}}async[dt(429)](e={},i=null){const s=dt,n=[];await this[s(380)](),this[s(415)]=!1,i>this[s(262)][s(307)]&&(i=null),null===i&&(i=await this[s(340)][s(447)]());const r=this[s(301)](i),o=this[s(245)]({from:r,to:i});if(this[s(262)][s(307)]<i){const t=this[s(245)]({revision:this[s(262)],from:i,to:i});t[s(309)]=[],t[s(468)]=[],t.id=this[s(262)].id,this[s(262)][s(306)](t,!0),delete t[s(309)],n[s(446)](t)}e[s(373)]=this[s(395)][s(303)][s(408)](s(512)).me.id,e[s(356)]=e[s(356)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(510)](e);n[s(446)](e);const c=this[s(463)][s(325)](a);if(0!==c){const t=this[s(463)][s(336)](c-1);if(t[s(381)]!==i){const r=this[s(455)][s(445)](i,t[s(307)]),o={id:t.id,diffData:r[s(293)],authorsIds:r[s(468)],authors:r[s(468)][s(314)]((t=>this[s(395)][s(303)][s(408)](s(512))[s(491)](t))),fromVersion:i};t===this[s(262)]&&(o[s(351)]=new Date(e[s(351)][s(506)]()+10)),t[s(306)](o,!0),delete o[s(309)],n[s(446)](o)}}if(this[s(385)]){for(const t of n)this[s(345)](t.id,t,!0);this[s(522)]()}return a}[dt(510)](t){const e=dt,i=this[e(463)][e(403)](t);return this[e(385)]&&i.on(e(306),((t,i,s)=>{const n=e;s||(this[n(345)](i.id,i,!0),this[n(522)]())})),this[e(463)][e(502)](i,this[e(284)](i)),i}async[dt(492)](t){const e=dt;return await this[e(338)][e(417)](t,this[e(385)]),this[e(338)][e(492)](t)}async[dt(548)](t){const e=dt;return await this[e(338)][e(417)](t,this[e(385)]),this[e(338)][e(548)](t)}[dt(522)](){const t=dt;if(0===this[t(273)][t(252)])return;if(this[t(452)])return;let e=Array[t(541)](this[t(273)][t(315)]());this[t(273)][t(456)]();for(let i=0;i<e[t(480)];i++){const s=e[i];let n=!1;for(const e of Object[t(232)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(539)]((t=>null!==t)),!e[t(480)])return;for(let i=0;i<e[t(480)];i++){const s=e[i];void 0!==s[t(381)]&&void 0===s[t(307)]&&(s[t(307)]=this[t(463)][t(336)](s.id)[t(307)]),void 0!==s[t(307)]&&void 0===s[t(381)]&&(s[t(381)]=this[t(463)][t(336)](s.id)[t(381)])}const i=this[t(395)][t(358)][t(408)](t(370));this[t(452)]=!0,this[t(547)](),this[t(385)][t(304)](e,i)[t(346)]((()=>{this[t(452)]=!1}))[t(319)]((e=>{const i=t;if(e)for(const t of e)this[i(376)]({id:t.id,createdAt:t[i(351)]});this[i(259)](),this[i(522)]()}))}[dt(245)]({revision:t=null,from:e=null,to:i=null}){const s=dt;e=null!==e?e:t[s(381)],i=null!==i?i:t[s(307)];const n=this[s(455)][s(445)](e,i),r={diffData:n[s(293)],authorsIds:n[s(468)],fromVersion:e,toVersion:i};if(!t||i!==t[s(307)]){const t=i-1,e=this[s(340)][s(422)][s(261)](t);r[s(351)]=e&&e[s(351)]||new Date}if(this[s(328)]&&e===this[s(328)][s(381)])for(const t of this[s(328)][s(309)])r[s(468)][s(323)](t.id)||r[s(468)][s(446)](t.id);return r}[dt(345)](t,e,i){const s=dt;if(this[s(273)][s(474)](t)){const n=this[s(273)][s(408)](t);e=i?{...n,...e}:{...e,...n}}this[s(273)][s(238)](t,e)}[dt(376)](t){const e=dt,i=this[e(463)][e(336)](t.id);if(t[e(351)]&&(t[e(351)]=new Date(t[e(351)])),t[e(468)]){const i=this[e(395)][e(303)][e(408)](e(512));t[e(309)]=t[e(468)][e(314)]((t=>i[e(491)](t)))}i[e(306)](t,!0)}[dt(291)](t){const e=dt,i=this[e(463)][e(336)](this[e(463)][e(480)]-1);if(i)this[e(248)]=i.id;else{const i=!this[e(395)][e(394)][e(427)][e(295)][e(470)]((t=>this[e(395)][e(394)][e(287)](t))),s=this[e(395)][e(303)][e(408)](e(512)).me.id,n=ot(this[e(395)][e(444)],e(i?371:389));this[e(399)]({from:t,to:t,id:this[e(248)],name:n,creatorId:s})}}[dt(454)](t){const e=dt,i=this[e(340)][e(263)]();this[e(262)]=this[e(463)][e(336)](i),this[e(262)]||(this[e(262)]=this[e(399)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(380)](){const t=dt;this[t(415)]&&!this[t(328)]&&(await this[t(338)][t(417)](this[t(262)],this[t(385)]),this[t(455)][t(366)](this[t(262)]),this[t(328)]={fromVersion:this[t(262)][t(381)],authors:this[t(262)][t(309)][t(379)]()})}[dt(400)](e,i){const s=dt;let n=this[s(395)][s(358)][s(408)](s(322)),r=this[s(395)][s(358)][s(408)](s(405));if(void 0===n){n={};for(const t of this[s(395)][s(394)][s(427)][s(419)]())n[t]=""}if(s(517)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(395)][s(394)][s(427)][s(419)]())r[t]={}}let o=!1;const a=Object[s(232)](n),c=Object[s(232)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(504)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[s(232)](r[t])[s(480)]>0){o=!0;break}}o||(o=c[s(249)]((t=>!this[s(395)][s(394)][s(427)][s(231)](t)))),o&&(0,t.logWarning)(s(255),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(395)][s(358)][s(238)](s(322),e),this[s(395)][s(358)][s(238)](s(405),i)}[dt(547)](){const t=dt;if(!this[t(364)]){const e=this[t(395)][t(303)][t(408)](t(398));this[t(364)]=e[t(479)](ot(this[t(395)][t(444)],t(312)))}}[dt(259)](){const t=dt;this[t(364)]&&(this[t(395)][t(303)][t(408)](t(398))[t(347)](this[t(364)]),this[t(364)]=null)}[dt(284)](t){const e=dt,i=this[e(463)][e(335)]();i[e(509)]();let s=0;for(;s<i[e(480)];){const n=i[s];if(n===this[e(262)]){s++;continue}if(n.id===this[e(248)])break;const r=t[e(307)]-n[e(307)]||t[e(381)]-n[e(381)];if(r>0)break;if(r<0)s++;else{if(!t[e(434)]&&n[e(434)])break;if(n[e(434)]||!t[e(434)]){if(t[e(351)]>n[e(351)])break;s++}else s++}}return s}[dt(301)](t){const e=dt,i=this[e(463)][e(335)]();i[e(509)](),i[e(495)]();const s=i[e(470)]((i=>i[e(307)]<=t))[e(307)];return s<this[e(363)]?this[e(363)]:s}[dt(399)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=dt,o=this[r(245)]({from:e,to:i});o[r(356)]=t,o[r(373)]=s,o.id=n;const a=this[r(510)](o);return this[r(385)]&&this[r(345)](o.id,o,!0),a}[dt(256)](){const t=dt;this[t(395)][t(302)][t(229)](t(266))[t(505)]({model:t(320)})}}class pt{[dt(395)];[dt(526)];[dt(443)];[dt(265)];[dt(305)];[dt(482)];[dt(355)];[dt(318)];[dt(311)];[dt(414)];[dt(274)];[dt(410)];[dt(484)];[dt(341)];[dt(300)];[dt(529)];[dt(339)];constructor(t){const e=dt;this[e(395)]=t,this[e(443)]=new Map,this[e(265)]=-1,this[e(305)]=-1,this[e(482)]=new Map,this[e(355)]=new Map,this[e(318)]=new Map,this[e(311)]=new Map,this[e(414)]=new Map,this[e(274)]=new Map,this[e(410)]=new Map,this[e(484)]=new Map,this[e(341)]=new Map,this[e(300)]=new Map,this[e(529)]=1}[dt(450)](t){const e=dt;this[e(526)]=t;const i=new Map,s=new Map,n=this[e(395)][e(394)][e(427)][e(295)][e(314)]((t=>t[e(277)]));for(const t of n){const n=this[e(395)][e(394)][e(427)][e(231)](t),r=vt(n);i[e(238)](t,r),s[e(238)](t,Object[e(430)](n[e(282)]()))}const r=Array[e(541)](this[e(395)][e(394)][e(486)])[e(314)]((t=>[t[e(356)],t[e(294)]()])),o=this[e(526)][e(367)];this[e(527)](o,i,r,s),this[e(339)]=this[e(529)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(238)](t,i),c[e(238)](t,{})}this[e(527)](Number[e(343)],a,[],c)}[dt(445)](t,e){const i=dt;if(this[i(265)]===t&&this[i(305)]<=e)this[i(443)][i(252)]>1&&this[i(235)](this[i(305)]),this[i(299)](this[i(305)],e,!0);else{if(!this[i(443)][i(474)](t)){const e=this[i(268)](t);this[i(496)](e,t,!1)}this[i(496)](t,e,!0)}return this[i(265)]=t,this[i(305)]=e,this[i(411)]()}[dt(366)](t){const e=dt,i=this[e(395)][e(303)][e(408)](e(271));this[e(332)](),this[e(265)]=t[e(381)],this[e(305)]=t[e(307)];for(const s in t[e(293)]){const n=t[e(293)][s][e(425)],r=A(t[e(293)][s][e(439)])||{},o=i[e(321)](t[e(293)][s][e(360)]);o[e(277)]=s,o[e(226)]=!n||!n[e(466)],o[e(466)]=()=>o[e(226)],this[e(311)][e(238)](s,o),this[e(414)][e(238)](s,r),n&&this[e(300)][e(238)](s,n);const a=this[e(237)](o);this[e(410)][e(238)](s,a);for(const[t,i]of o[e(486)]){if(!t[e(298)](e(409)))continue;const s=t[e(310)](":")[2];for(const t of i[e(438)]({singleCharacters:!0})){const i=this[e(426)](t),n=e(435)==t[e(369)]?t[e(396)][e(451)][e(379)](0,-1):t[e(396)][e(451)],r=a[e(536)](n)[e(392)](i);this[e(484)][e(238)](r,{userId:s})}}}this[e(339)]=this[e(529)];const s=[...Array(this[e(529)])[e(232)]()][e(379)](1)[e(539)]((t=>!this[e(484)][e(474)](t)));let n=0;const r=new Map;for(const o in t[e(293)]){const a=t[e(293)][o][e(425)],c=A(t[e(293)][o][e(349)])||{},u=i[e(321)](t[e(293)][o][e(459)]);u[e(277)]=o,u[e(226)]=!a||a[e(466)],u[e(466)]=()=>u[e(226)],this[e(355)][e(238)](o,u),this[e(318)][e(238)](o,c);const l=this[e(237)](u,Number[e(343)]);this[e(274)][e(238)](o,l),r[e(238)](o,u[e(466)]()?c:{});for(const[t,i]of u[e(486)]){if(!t[e(298)](e(409)))continue;const s=t[e(310)](":")[2];for(const t of i[e(438)]({singleCharacters:!0})){const i=this[e(426)](t),n=this[e(529)]++,r=e(435)==t[e(369)]?t[e(396)][e(451)][e(379)](0,-1):t[e(396)][e(451)];l[e(536)](r)[e(524)](i,n),this[e(484)][e(238)](n,{userId:s})}}for(const t of this[e(395)][e(394)][e(344)](u)[e(438)]({singleCharacters:!0})){const i=this[e(426)](t),r=e(435)==t[e(369)]?t[e(396)][e(451)][e(379)](0,-1):t[e(396)][e(451)],o=l[e(536)](r);o[e(392)](i)>0||o[e(524)](i,s[n++])}for(const[t,i]of u[e(486)])t[e(298)](e(409))||this[e(482)][e(238)](t,i)}const o=yt(e(374));this[e(311)][e(238)](e(374),o),this[e(410)][e(238)](e(374),this[e(237)](o,1));const a=yt(e(374));this[e(355)][e(238)](e(374),a),this[e(274)][e(238)](e(374),this[e(237)](a,1));const c=Array[e(541)](this[e(355)])[e(314)]((([t,e])=>[t,vt(e)]));this[e(527)](this[e(305)],c,this[e(482)],r)}[dt(457)](){const t=dt;this[t(332)](),this[t(265)]=-1,this[t(305)]=-1,this[t(443)][t(456)](),this[t(450)](this[t(526)])}[dt(527)](t,e,i,s){const n=dt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(238)](t,{start:e[n(514)][n(292)](),end:e[n(372)][n(292)](),rootName:e[n(377)][n(277)]});this[n(443)][n(238)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(235)](t){const e=dt;this[e(443)][e(384)](t)}[dt(332)](){const t=dt;this[t(484)][t(456)](),this[t(341)][t(456)](),this[t(300)][t(456)](),this[t(355)][t(456)](),this[t(318)][t(456)](),this[t(311)][t(456)](),this[t(414)][t(456)](),this[t(274)][t(456)](),this[t(410)][t(456)](),this[t(482)][t(456)](),this[t(529)]=1,this[t(339)]=this[t(529)]}[dt(237)](t,e=null){const i=dt;let s=null;t.is(i(386))||(s=new K.Element(t[i(356)],{vid_start:null===e?this[i(529)]++:e++}));const n=[];for(const s of t[i(406)]())if(s.is(i(267))){n[i(446)](this[i(237)](s,e));const t=n[n[i(480)]-1];null!==e&&(e=t.is(i(267),i(317))?t[i(392)](i(538))+1:t[i(392)](i(228))+1)}else for(let t=0;t<s[i(545)];t++)n[i(446)](new K.Element(i(317),{vid:null===e?this[i(529)]++:e++}));if(t.is(i(386))){const e=yt(t[i(277)]);return e[i(437)](0,n),e}return s[i(524)](i(228),null===e?this[i(529)]++:e++),s[i(437)](0,n),s}[dt(496)](t,e,i){const s=dt;this[s(332)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(443)][s(408)](t);this[s(311)]=new Map(n),this[s(414)]=new Map(A(o));for(const[t,e]of this[s(311)])if(s(374)!==t&&(this[s(355)][s(238)](t,vt(e)),this[s(318)]=new Map(A(o)),i)){const i=this[s(529)];this[s(274)][s(238)](t,this[s(237)](e)),this[s(410)][s(238)](t,this[s(237)](e,i))}this[s(339)]=this[s(529)],this[s(355)][s(238)](s(374),vt(this[s(311)][s(408)](s(374)))),i&&this[s(274)][s(238)](s(374),this[s(237)](this[s(311)][s(408)](s(374))));for(const[t,e]of r){const i=this[s(311)][s(408)](e[s(277)]),n=this[s(355)][s(408)](e[s(277)]),r=new K.Range(this[s(286)](e[s(514)],i),this[s(286)](e[s(372)],i)),o=this[s(532)](r,n);i[s(486)][s(238)](t,r),this[s(482)][s(238)](t,o)}this[s(299)](t,e,i)}[dt(299)](t,e,i){const s=dt;for(const n of this[s(526)][s(230)](t,e))this[s(516)](n,i);for(const t of this[s(355)][s(315)]())t[s(486)][s(456)]();for(const[t,e]of this[s(482)])this[s(355)][s(408)](e[s(377)][s(277)])[s(486)][s(238)](t,e[s(292)]());const n=new Map,r=new Map;for(const[t,e]of this[s(355)])n[s(238)](t,vt(e)),r[s(238)](t,this[s(318)][s(408)](t));this[s(527)](e,n,this[s(482)],r)}[dt(268)](t){const e=dt,i=Array[e(541)](this[e(443)][e(232)]());i[e(476)](((t,e)=>t-e)),i[e(509)]();for(const e of i)if(e<t)return e;return Number[e(343)]}[dt(297)](t,e){const i=dt,s=Array[i(541)](e[i(486)])[i(314)]((([e,s])=>[e,this[i(532)](s,t)]));t[i(486)]=new Map(s)}[dt(460)](t){const e=dt;for(const i of this[e(482)][e(315)]()){const s=i[e(428)](t),n=K.Range[e(494)](s);i[e(514)]=n[e(514)],i[e(372)]=n[e(372)]}}[dt(516)](t,e){const i=dt;if(i(257)!=t[i(369)]&&i(546)!=t[i(369)]){if(i(243)==t[i(369)]){const s=t[i(518)][i(377)][i(277)];this[i(355)][i(474)](s)||(this[i(355)][i(238)](s,yt(s,!0)),this[i(318)][i(238)](s,{}),e&&this[i(274)][i(238)](s,yt(s,!0)))}else{if(i(401)==t[i(369)]||i(515)==t[i(369)]||i(530)==t[i(369)])return void this[i(402)](t);i(350)==t[i(369)]&&this[i(534)](t)}if(i(350)!==t[i(369)]){const e=this[i(404)](t,this[i(355)]);e[i(462)](),this[i(460)](e)}if(e)switch(t[i(369)]){case i(243):this[i(500)](t);break;case i(283):case i(347):case i(276):this[i(296)](t);break;case i(432):this[i(279)](t);break;case i(310):this[i(352)](t)}}else this[i(247)](t,e)}[dt(404)](t,e){const i=dt,s=t[i(292)]();return s[i(353)]=t[i(353)],this[i(533)](s,e),s}[dt(413)](t){const e=dt;return t[e(314)]((t=>{const i=e,s=this[i(426)](t);return Number(t[i(507)][i(392)](s))}))}[dt(362)](t,e){const i=dt;if(t.is(i(267),i(317)))e[i(446)]({item:t,type:i(540)});else{t.is(i(267))&&e[i(446)]({item:t,type:i(327)});for(const s of t[i(406)]())this[i(362)](s,e);t.is(i(267))&&e[i(446)]({item:t,type:i(435)})}return e}[dt(411)](){const t=dt,e=new Map(this[t(484)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(311)][t(232)](),...this[t(355)][t(232)]()]);a[t(384)](t(374));for(const e of a){const i=this[t(355)][t(408)](e)||yt(e,!1),s=this[t(311)][t(408)](e)||yt(e,!1);i[t(466)]()||s[t(466)]()?(n[t(459)][e]=vt(i),n[t(360)][e]=vt(s),this[t(297)](n[t(360)][e],s),this[t(297)](n[t(459)][e],i),r[t(459)][e]=this[t(362)](this[t(274)][t(408)](e),[]),r[t(360)][e]=this[t(362)](this[t(410)][t(408)](e)||yt(e,!1),[])):a[t(384)](e)}for(const n of a){const o=r[t(459)][n];for(const n of o){const r=this[t(426)](n),o=n[t(507)][t(392)](r);i[t(384)](o),o>=this[t(339)]&&s[t(238)](o,e[t(408)](o))}}for(const n of a){const a=r[t(459)][n],c=this[t(413)](r[t(360)][n]);let u=0;for(const n of a){const r=this[t(426)](n),a=n[t(507)][t(392)](r);if(!s[t(474)](a)&&!o[t(474)](a))if(i[t(474)](a))u++;else{if(a!=c[u]){const s=e[t(408)](a)||e[t(408)](c[u]);for(;a!=c[u];)i[t(474)](c[u])||(o[t(238)](c[u],s),e[t(238)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(459)][e];for(const e of n){const n=this[t(426)](e),r=e[t(507)][t(392)](n);if(o[t(474)](r)){const e=o[t(408)](r);i[t(474)](r)||i[t(238)](r,{...e}),s[t(238)](r,{...e})}}}for(const e of i[t(232)]())e>=this[t(339)]&&i[t(384)](e);const c=new Map;for(const e of a){let n=r[t(459)][e];for(const e of n)if(e[t(507)].is(t(267),t(270))){const i=this[t(426)](e),n=e[t(507)][t(392)](i);if(s[t(474)](n)){const i=e[t(507)][t(254)][t(254)][t(392)](t(436)),r=c[t(408)](i)||new Set;r[t(479)](s[t(408)](n)[t(433)]),c[t(238)](i,r)}}n=r[t(360)][e];for(const e of n)if(e[t(507)].is(t(267),t(270))){const s=this[t(426)](e),n=e[t(507)][t(392)](s);if(i[t(474)](n)){const s=e[t(507)][t(254)][t(254)][t(392)](t(436)),r=c[t(408)](s)||new Set;r[t(479)](i[t(408)](n)[t(433)]),c[t(238)](s,r)}}for(const e of c[t(232)]())(s[t(474)](e)||i[t(474)](e))&&c[t(384)](e)}for(const e of a){const n=r[t(459)][e];let o=null,a=null;for(const e of n){const n=this[t(426)](e),r=e[t(507)][t(392)](n),u=c[t(408)](r);u&&t(327)==e[t(369)]&&(o=Array[t(541)](u)[0],a=e[t(507)][t(392)](t(228))),o&&(i[t(238)](r,{userId:o}),s[t(238)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(360)][e],a=n[t(459)][e];for(const{userId:e}of this[t(341)][t(315)]())null!==e&&l[t(479)](e);for(const{userId:e}of this[t(300)][t(315)]())null!==e&&l[t(479)](e);this[t(421)](a,r[t(459)][e],s,t(258),l),this[t(421)](o,r[t(360)][e],i,t(368),l),u[e]={insertions:this[t(473)](a),deletions:this[t(473)](o),attachChange:this[t(300)][t(408)](e)||null,attributesBefore:A(this[t(414)][t(408)](e))||{},attributesAfter:A(this[t(318)][t(408)](e))}}return{diffData:u,authorsIds:Array[t(541)](l)}}[dt(357)](t){const e=dt;for(const[,i]of t[e(486)]){const t=i[e(514)][e(440)]()[e(539)]((t=>e(270)==t[e(356)]));for(const i of t)1==i[e(531)]&&i[e(253)](0).is(e(267),e(361))&&i[e(253)](0)[e(524)](e(472),!0)}}[dt(473)](t){const e=dt;this[e(357)](t);const i=this[e(395)][e(543)][e(331)](t,{}),s=Array[e(541)](i[e(406)]())[e(314)]((t=>this[e(465)](t)));return JSON[e(334)](s)}[dt(465)](t){const e=dt;if(t.is(e(317)))return t[e(543)];{const i=this[e(395)][e(303)][e(408)](e(271)),s=t,n=this[e(395)][e(543)][e(225)][e(483)],r={type:i[e(475)](s),name:s[e(356)],attributes:Array[e(541)](s[e(282)]()),children:Array[e(541)](s[e(406)]())[e(314)]((t=>this[e(465)](t)))};if(t.is(e(260))&&e(498)!=t[e(356)]){const i=t[e(448)](n[e(477)],n);r[e(330)][e(446)](i[e(499)])}else if(t.is(e(246))){const i=n[e(477)][e(329)](s[e(356)]);t[e(448)](i,n),r[e(330)][e(446)](i[e(375)])}const o=Array[e(541)](s[e(481)]());o[e(480)]>0&&(r[e(313)]=o);const a=s[e(244)]();return null!==a&&(r[e(493)]=a),r}}[dt(421)](t,e,i,s,n){const r=dt;let o=null,a=null,c=0;const u=this[r(395)][r(394)];for(let s=0;s<e[r(480)];s++){const n=this[r(426)](e[s]),c=e[s][r(507)][r(392)](n),h=i[r(408)](c),d=s==e[r(480)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(433)]!=o[r(433)])&&(l(h,kt(a,t,u),kt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,kt(a,t,u),bt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(433)],d=l(409)+s+":"+h+":"+c++,f=u[l(485)](i,a);t[l(486)][l(238)](d,f),null!==h&&n[l(479)](h)}}[dt(426)](t){const e=dt;switch(t[e(369)]){case e(327):return e(436);case e(435):return e(228);default:return e(538)}}[dt(533)](t,e){const i=dt;t[i(359)]=null;for(const s in t){const n=t[s];if(n instanceof K.Position){const r=e[i(408)](n[i(377)][i(277)]);t[s]=this[i(286)](n,r)}if(n instanceof K.Range){const r=e[i(408)](n[i(377)][i(277)]);t[s]=this[i(532)](n,r)}i(377)===s&&(t[i(377)]=e[i(408)](t[i(377)][i(277)]))}}[dt(532)](t,e){const i=dt;return this[i(395)][i(394)][i(485)](this[i(286)](t[i(514)],e),this[i(286)](t[i(372)],e))}[dt(286)](t,e){const i=dt;return this[i(395)][i(394)][i(393)](e,t[i(451)],t[i(383)])}[dt(500)](t){const e=dt,i=this[e(274)][e(408)](t[e(518)][e(377)][e(277)]),s=this[e(286)](t[e(518)],i),n=null===t[e(353)]?null:t[e(353)]||this[e(395)][e(303)][e(408)](e(512)).me.id,r=s[e(254)],o=this[e(529)],a=[];for(const i of t[e(489)])if(i.is(e(267)))a[e(446)](this[e(237)](i));else for(let t=0;t<i[e(545)];t++)a[e(446)](new K.Element(e(317),{vid:this[e(529)]++}));const c=this[e(529)];for(let t=o;t<c;t++)this[e(484)][e(238)](t,{userId:n});r[e(437)](s[e(542)],a)}[dt(296)](t){const e=dt;(t=this[e(404)](t,this[e(274)]))[e(462)]();const i=null===t[e(353)]?null:t[e(353)]||this[e(395)][e(303)][e(408)](e(512)).me.id,s=t[e(308)](),n=s[e(254)],r=s[e(542)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(253)](e);r.is(a(267),a(317))?s[a(238)](r[a(392)](a(538)),{userId:i}):(s[a(238)](r[a(392)](a(436)),{userId:i}),t(s,r,0,r[a(531)]),s[a(238)](r[a(392)](a(228)),{userId:i}))}}(this[e(484)],n,r,r+t[e(326)])}[dt(279)](t){const e=dt,i=null===(t=this[e(404)](t,this[e(274)]))[e(353)]?null:t[e(353)]||this[e(395)][e(303)][e(408)](e(512)).me.id,s=t[e(387)][e(254)],n=t[e(418)][e(254)],r=s[e(392)](e(228)),o=n[e(392)](e(436));s[e(524)](e(228),n[e(392)](e(228))),n[e(524)](e(228),r),this[e(484)][e(238)](o,{userId:i}),this[e(484)][e(238)](r,{userId:i}),t[e(462)]()}[dt(352)](t){const e=dt,i=null===(t=this[e(404)](t,this[e(274)]))[e(353)]?null:t[e(353)]||this[e(395)][e(303)][e(408)](e(512)).me.id,s=t[e(525)],n=t[e(264)][e(254)];t[e(462)]();const r=n[e(392)](e(228)),o=t[e(275)][e(348)];if(s){const t=o[e(392)](e(228)),s=n[e(392)](e(228));n[e(524)](e(228),t),o[e(524)](e(228),s),this[e(484)][e(238)](n[e(392)](e(228)),{userId:i}),this[e(484)][e(238)](o[e(392)](e(436)),{userId:i})}else{const t=this[e(529)]++,s=this[e(529)]++;n[e(524)](e(228),t),o[e(524)](e(436),s),o[e(524)](e(228),r),this[e(484)][e(238)](t,{userId:i}),this[e(484)][e(238)](s,{userId:i})}}[dt(534)](t){const e=dt;if(!t[e(391)])return;const i=(t=this[e(404)](t,this[e(355)]))[e(424)]?t[e(424)][e(377)]:null,s=t[e(523)]?t[e(523)][e(377)]:null;i&&this[e(482)][e(384)](t[e(356)]),s&&this[e(482)][e(238)](t[e(356)],t[e(523)][e(292)]());const n=null===t[e(353)]?null:t[e(353)]||this[e(395)][e(303)][e(408)](e(512)).me.id,r=t[e(356)];if(!this[e(341)][e(474)](r))return void this[e(341)][e(238)](r,{range:t[e(424)],userId:n});const o=this[e(341)][e(408)](r),a=o[e(520)],c=t[e(523)];null==a&&null==c||a&&c&&a[e(397)](c)?this[e(341)][e(384)](t[e(356)]):o[e(433)]=n}[dt(247)](t,e){const i=dt;this[i(355)][i(474)](t[i(277)])?this[i(355)][i(408)](t[i(277)])[i(226)]=t[i(488)]:(this[i(355)][i(238)](t[i(277)],yt(t[i(277)],!0)),this[i(318)][i(238)](t[i(277)],{}),e&&this[i(274)][i(238)](t[i(277)],yt(t[i(277)],!0)));const s=null===t[i(353)]?null:t[i(353)]||this[i(395)][i(303)][i(408)](i(512)).me.id,n=this[i(300)][i(408)](t[i(277)]);n&&n[i(433)]===s?this[i(300)][i(384)](t[i(277)]):this[i(300)][i(238)](t[i(277)],{userId:s,isAttached:t[i(488)]})}[dt(402)](t){const e=dt,i=this[e(318)][e(408)](t[e(377)][e(277)]);null===t[e(503)]?delete i[t[e(458)]]:i[t[e(458)]]=t[e(503)]}}function vt(t){const e=dt,i=yt(t[e(277)],t[e(466)]());for(const s of t[e(406)]()){const t=s[e(423)](!0);i[e(467)](t)}return i}function gt(){const t=["newRange","_setAttribute","graveyardPosition","source","_saveMetaData","requires","_revisionId","changeRootAttribute","childCount","_fixRange","_fixOperation","_handleMarkerOperation","_licenseKeyCheckInterval","getNodeByPath","destroy","vid","filter","text","from","offset","data","update","offsetSize","detachRoot","_addPendingAction","getRevisionRootsAttributes","RevisionsRepository","htmlProcessor","_isAttached","invalid","vid_end","for","getOperations","getRoot","keys","RealTimeCollaborationClient","4448916iSKfPN","_removeMetaData","29907eTdUkD","_makeIdsRoot","set","revisionHistoryLicenseKeyTrialLimit","revisionHistoryLicenseKeyNotAllowed","1338024faaZgV","revisionHistoryLicenseKeyValid","insert","getFillerOffset","buildRevisionData","rawElement","_handleRootOperation","_initialRevisionId","some","createPositionBefore","upcast","size","getChild","parent","editor-initial-data-replaced-with-revision-data","_setConversion","addRoot","insertion","_removePendingAction","uiElement","getOperation","currentRevision","getCurrentRevisionId","splitPosition","_lastFrom","dataDowncast","element","_getPreviousFrom","isPremiumPlugin","tableCell","RevisionHistoryUtils","34ZLcTaB","_bufferedUpdates","_idsRoots","insertionPosition","reinsert","rootName","41265ffHnQE","_handleMergeOperation","22kToRiB","max","getAttributes","move","_findInsertionIndex","isEnabled","_fixPosition","hasContent","10mOuPNr","_isInit","7OPVrlZ","_createInitialRevision","clone","diffData","getRange","roots","_handleMoveOperation","_copyMarkers","startsWith","_applyOperations","_touchedRoots","_getFromVersion","conversion","plugins","updateRevisions","_lastTo","_update","toVersion","getMovedRangeStart","authors","split","_baseRoots","PENDING_ACTION_REVISION_HISTORY","customProperties","map","values","RevisionTracker","$text","_diffRootsAttributes","then","revision","_makeModelFromViewString","initialData","includes","createPositionAfter","getIndex","howMany","elementStart","_loadedStateData","createElement","children","toView","_reset","define","stringify","getRevisions","getRevision","_operations","_utils","_startingRevisionId","_source","_touchedMarkers","isReady","NEGATIVE_INFINITY","createRangeIn","_bufferUpdate","finally","remove","nodeAfter","attributesAfter","marker","createdAt","_handleSplitOperation","_authorId","revisionHistoryLicenseKeyInvalid","_diffRoots","name","_processRootBeforeSave","config","baseVersion","deletions","paragraph","_generateTape","_startingVersion","_pendingAction","featureNotAllowed","loadState","version","deletion","type","collaboration.channelId","Empty document","end","creatorId","$graveyard","innerHTML","setRevisionData","root","expired","slice","_loadState","fromVersion","isOfficialPlugin","stickiness","delete","adapter","documentFragment","targetPosition","4Jcqyvx","Initial revision","revisionHistoryLicenseKeyExpired","affectsData","getAttribute","createPositionFromPath","model","editor","previousPosition","isEqual","PendingActions","_makeRevision","_replaceEditorDataWithRevisionData","addRootAttribute","_handleRootAttributeOperation","createRevision","_cloneOperation","rootsAttributes","getChildren","_showLicenseError","get","revision:","_baseIdsRoots","_getState","461509wWTxIA","_getBaseVids","_baseRootsAttributes","_continueCurrentRevision","evaluationLimit","loadRevisionData","sourcePosition","getRootNames","setSource","_markChanges","history","_clone","oldRange","attachChange","_getVidAttributeName","document","getTransformedByOperation","saveRevision","fromEntries","afterInit","merge","userId","creator","elementEnd","vid_start","_insertChild","getWalker","attributesBefore","getAncestors","trialLimit","revisionHistory.resumeUnsavedRevision","_savedMetaData","locale","getData","push","getLatestVersion","render","2597950FbcjJj","init","path","_isPendingUpdate","dataToMarker","_createCurrentRevision","_revisionDataBuilder","clear","reInit","key","insertions","_transformMarkers","usageLimit","_execute","repository","RevisionHistory","_getViewJson","isAttached","_appendChild","authorsIds","revisionHistoryLicenseKeyDomainLimit","find","createPositionAt","keepParagraph","_prepareViewToSave","has","_getTypeCharForViewElement","sort","domDocument","initial","add","length","getCustomProperties","_markers","domConverter","_touched","createRange","markers","bind","isAdd","nodes","ready","getUser","getRevisionDocumentData","fillerOffset","_createFromRanges","shift","_calculateMetaData","licenseKey","$comment","outerHTML","_handleInsertOperation","pluginName","addRevision","newValue","trim","markerToData","getTime","item","3382888MjZMIa","reverse","addRevisionData","resolve","Users","revisionHistoryLicenseKeyUsageLimit","start","removeRootAttribute","_handleOperation","string","position","domainLimit","range","revisionHistoryLicenseKeyEvaluationLimit","sendBufferedUpdates"];return(gt=function(){return t})()}function yt(t,e=!0){const i=dt,s=new K.DocumentFragment;return s[i(277)]=t,s[i(226)]=e,s[i(466)]=()=>s[i(226)],s}function kt(t,e,i){const s=dt,n=s(435)==t[s(369)]?i[s(471)](t[s(507)],s(372)):i[s(250)](t[s(507)]);return i[s(393)](e,n[s(451)],n[s(383)])}function bt(t,e,i){const s=dt,n=s(327)==t[s(369)]?i[s(471)](t[s(507)],0):i[s(324)](t[s(507)]);return i[s(393)](e,n[s(451)],n[s(383)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),Tt=i.n(Ot),xt=i(262),Nt=i.n(xt),Rt=i(667),At=i.n(Rt),Dt=i(357),Mt=i.n(Dt),Vt=i(426),Et={attributes:{"data-cke":!0}};Et.setAttributes=At(),Et.insert=Nt().bind(null,"head"),Et.domAPI=Tt(),Et.insertStyleElement=Mt();St()(Vt.A,Et);Vt.A&&Vt.A.locals&&Vt.A.locals;var Ct=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=At(),Ft.insert=Nt().bind(null,"head"),Ft.domAPI=Tt(),Ft.insertStyleElement=Mt();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;function jt(t,e){const i=Pt();return(jt=function(t,e){return i[t-=469]})(t,e)}const Lt=jt;function Pt(){const t=["ck-revision-history-save-revision-form","extendTemplate","Name of the revision","add","set","value","reset","initializeCssTransitionDisablerMixin","2290050qFtjdM","optional","11764JHDUBV","arrowright","label","arrowleft","errorText","render","input","ck-responsive-form","arrowup","5556420ZbDTvM","trim","891834puFOuN","keystrokes","1100090xhUdfO","element","focusTracker","revisionNameInputValue","stopPropagation","setTemplate","_createRevisionNameInput","locale","44yyjaPx","revisionName","revisionNameInputView","844881nHxaPQ","focus","form","1109224CBqCHy","fieldView","listenTo","4kGRcGs","220","arrowdown"];return(Pt=function(){return t})()}!function(t){const e=jt,i=t();for(;;)try{if(200137===-parseInt(e(474))/1*(-parseInt(e(496))/2)+-parseInt(e(477))/3*(parseInt(e(483))/4)+parseInt(e(509))/5+-parseInt(e(507))/6+-parseInt(e(494))/7+-parseInt(e(480))/8+parseInt(e(505))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class zt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[Lt(511)];[Lt(508)];[Lt(476)];constructor(e,i){const s=Lt;super(e),this[s(511)]=new t.FocusTracker,this[s(508)]=new t.KeystrokeHandler,this[s(490)](s(469),""),this[s(476)]=this[s(472)](i),this[s(471)]({tag:s(479),attributes:{class:["ck",s(486),s(503)],tabindex:"-1"},children:[this[s(476)]]}),this[s(493)]()}[Lt(501)](){const t=Lt;super[t(501)](),(0,_t.submitHandler)({view:this}),this[t(511)][t(489)](this[t(476)][t(510)]),this[t(508)][t(482)](this[t(510)]);const e=e=>e[t(470)]();this[t(508)][t(490)](t(497),e),this[t(508)][t(490)](t(499),e),this[t(508)][t(490)](t(504),e),this[t(508)][t(490)](t(485),e)}[Lt(478)](){const t=Lt;this[t(476)][t(478)]()}get[Lt(475)](){const t=Lt;return this[t(476)][t(481)][t(510)][t(491)][t(506)]()}set[Lt(475)](t){const e=Lt;this[e(476)][e(481)][e(510)][e(491)]=t[e(506)]()}[Lt(492)](){const t=Lt;this[t(476)][t(481)][t(510)][t(491)]="",this[t(476)][t(500)]=null}[Lt(472)](t){const e=Lt,i=new _t.LabeledFieldView(this[e(473)],_t.createLabeledInputText),s=i[e(481)];s[e(487)]({attributes:{maxlength:e(484)}});let n=ot(this[e(473)],e(488));return!t&&(n+=" ("+ot(this[e(473)],e(495))+")"),i[e(498)]=n,s.on(e(502),(()=>{const t=e;this[t(469)]=s[t(510)][t(491)][t(506)]()})),i}}const Wt=Ut;function Ut(t,e){const i=Zt();return(Ut=function(t,e){return i[t-=117]})(t,e)}!function(t){const e=Ut,i=t();for(;;)try{if(207570===-parseInt(e(158))/1+parseInt(e(133))/2*(parseInt(e(175))/3)+parseInt(e(136))/4*(parseInt(e(142))/5)+parseInt(e(121))/6*(-parseInt(e(117))/7)+-parseInt(e(180))/8*(-parseInt(e(154))/9)+-parseInt(e(176))/10+-parseInt(e(161))/11*(-parseInt(e(156))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class Ht extends G.Plugin{static get[Wt(120)](){return Wt(146)}static get[Wt(144)](){return!0}static get[Wt(179)](){return!0}static get[Wt(155)](){return[mt]}[Wt(137)];[Wt(159)](){const t=Wt,e=this[t(153)],i=e[t(174)][t(164)](t(178));e.ui[t(125)][t(151)](t(128),(s=>{const n=t,r=(0,_t.createDropdown)(s),o=r[n(170)][n(148)],a=new _t.ListView(s),c=new _t.ListItemView(s),u=new _t.ButtonView(s),l=new _t.ListItemView(s),h=new _t.ButtonView(s);return r[n(184)](n(162)).to(i,n(152),i,n(162),e,n(138),((t,e,i)=>t&&e&&!i)),r[n(186)][n(182)]({icon:wt.IconHistory,label:ot(s,n(150)),tooltip:!0}),u[n(182)]({label:ot(s,n(134)),withText:!0,role:n(139)}),u[n(184)](n(162)).to(i,n(152),i,n(162),e,n(138),((t,e,i)=>t&&e&&!i)),u.on(n(157),(()=>this[n(172)]())),h[n(182)]({label:ot(s,n(177)),withText:!0,role:n(139)}),h[n(184)](n(162)).to(i,n(152),e,n(138),((t,e)=>t&&!e)),h.on(n(157),(()=>{const t=n;e[t(119)][t(164)](t(128))[t(160)](),r[t(168)]=!1,e[t(183)][t(141)][t(143)]()})),c[n(148)][n(151)](u),l[n(148)][n(151)](h),a[n(166)]=n(171),a[n(165)][n(147)]([c,l]),o[n(151)](a),r})),e.ui[t(125)][t(151)](t(123),(()=>this[t(173)]()))}[Wt(173)](){const t=Wt,e=this[t(153)],i=e[t(132)],s=new _t.MenuBarMenuView(i),n=new _t.MenuBarMenuListView(i);s[t(186)][t(182)]({icon:wt.IconHistory,label:ot(i,t(150))});const r=new _t.MenuBarMenuListItemView(i,s),o=new _t.MenuBarMenuListItemButtonView(i);o[t(182)]({label:ot(i,t(134))}),o[t(145)](t(157)).to(s),o.on(t(157),(()=>{this[t(172)]()})),r[t(148)][t(151)](o),n[t(165)][t(151)](r);const a=new _t.MenuBarMenuListItemView(i,s),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(182)]({label:ot(i,t(177))}),c[t(145)](t(157)).to(s),c.on(t(157),(()=>{const i=t;e[i(119)][i(164)](i(128))[i(160)]()})),a[t(148)][t(151)](c),n[t(165)][t(151)](a),s[t(170)][t(148)][t(151)](n),s}[Wt(172)](){const t=Wt,e=this[t(153)],i=e[t(132)],s=e[t(174)][t(164)](t(126)),n=e[t(174)][t(164)](t(178));function r(n){const r=t;e[r(119)][r(164)](r(187))&&""===n[r(124)]?n[r(118)][r(181)]=ot(i,r(129)):(e[r(174)][r(164)](mt)[r(135)]({name:n[r(124)]}),s[r(131)]())}this[t(137)]||(this[t(185)](),this[t(137)].on(t(127),(()=>r(this[t(137)])))),this[t(137)][t(122)](),s[t(167)]({id:t(163),title:ot(i,t(134)),isModal:!0,content:this[t(137)],actionButtons:[{label:ot(e[t(132)],t(169)),withText:!0,onExecute:()=>s[t(131)]()},{label:ot(e[t(132)],t(130)),class:t(140),withText:!0,onCreate(i){const s=t;i[s(184)](s(162)).to(n,s(152),n,s(162),e,s(138),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(137)])}]})}[Wt(185)](){const t=Wt,e=this[t(153)],i=e[t(132)];this[t(137)]=new zt(i,e[t(119)][t(164)](t(187))),this[t(137)][t(149)]()}}function Zt(){const t=["revisionHistory.requireRevisionName","1330rSPXOk","revisionNameInputView","config","pluginName","13098IVaeRm","reset","menuBar:revisionHistory","revisionName","componentFactory","Dialog","submit","revisionHistory","The revision name cannot be empty.","Accept","hide","locale","477454SooJDp","Save current revision","saveRevision","2264vKnKOT","_saveRevisionFormView","isReadOnly","menuitem","ck-button-action","view","1425pxYxyt","focus","isOfficialPlugin","delegate","RevisionHistoryUI","addMany","children","render","Revision history","add","isReady","editor","2463597qSylTQ","requires","6928188GPZnUe","execute","260916ZQnnQy","init","showRevisionViewerCallback","11hybEiD","isEnabled","revisionSave","get","items","role","show","isOpen","Cancel","panelView","menu","_showDialog","_registerMenuComponent","plugins","3mVxHxN","3678630nDXTlI","Open revision history","RevisionTracker","isPremiumPlugin","8UXgorh","errorText","set","editing","bind","_createSaveRevisionFormView","buttonView"];return(Zt=function(){return t})()}function qt(t,e){const i=Bt();return(qt=function(t,e){return i[t-=393]})(t,e)}const $t=qt;function Bt(){const t=["data","bindTemplate","changeId","ck-revision-change__label","Suggested by","add","isSuggestion","458870CMgyhp","name","type","12YRCrEC","989450vcWABh","focus","Removed by","ck-revision-change__","set","26272LPrkjj","4117078wKaGfl","ck-annotation","author","Added by","1THLwvY","2809158zyDtpL","setTemplate","ck-revision-change","159932gCeHvI","div","_model","span","element","8tMtprv","2544174WJSAYH"];return(Bt=function(){return t})()}!function(t){const e=qt,i=t();for(;;)try{if(303580===parseInt(e(407))/1*(-parseInt(e(411))/2)+-parseInt(e(396))/3*(parseInt(e(402))/4)+-parseInt(e(393))/5+-parseInt(e(408))/6+parseInt(e(403))/7+parseInt(e(416))/8*(parseInt(e(417))/9)+parseInt(e(397))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Yt extends _t.View{[$t(420)];[$t(413)];constructor(t,e){const i=$t;super(t),this[i(413)]=e,this[i(420)]=e.id;const s=this[i(419)],n=ot(t,e[i(418)][i(424)]?i(422):i(423)==e[i(395)]?i(406):i(399));this[i(401)](i(395),e[i(395)]),this[i(409)]({tag:i(412),attributes:{class:[i(404),i(410),s.to(i(395),(t=>i(400)+t))],tabindex:-1},children:[{tag:i(414),children:[{tag:i(414),attributes:{class:[i(421)]},children:[{text:n}]},{text:" "+e[i(405)][i(394)]}]}]})}[$t(398)](){const t=$t;this[t(415)][t(398)]()}}var Gt=Jt;function Jt(t,e){var i=Kt();return(Jt=function(t,e){return i[t-=424]})(t,e)}function Kt(){var t=["type","317770wQtUvz","115ZODsTy","set","1356083Crmqtd","5996288febnlH","data","844452kIhUHy","rootName","173092kQWKLA","author","createdAt","toJSON","1494520swbnsa","6ImGDKD","1170nFTozZ","7626941wIfzLC"];return(Kt=function(){return t})()}!function(t){for(var e=Jt,i=t();;)try{if(902363===-parseInt(e(424))/1+-parseInt(e(433))/2+-parseInt(e(427))/3+-parseInt(e(429))/4*(-parseInt(e(439))/5)+-parseInt(e(434))/6*(parseInt(e(436))/7)+-parseInt(e(425))/8+parseInt(e(435))/9*(parseInt(e(438))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(430)];[Gt(437)];[Gt(426)];[Gt(428)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(430)]=e[i(430)],this[i(437)]=e[i(437)],this[i(426)]=e[i(426)]||{},this[i(428)]=e[i(428)],this[i(440)](i(431),e[i(431)])}[Gt(432)](){var t=Gt;return{id:this.id,authorId:this[t(430)].id,type:this[t(437)],data:this[t(426)],createdAt:this[t(431)]}}}function Qt(t,e){const i=ee();return(Qt=function(t,e){return i[t-=257]})(t,e)}const te=Qt;function ee(){const t=["_setChanges","5diPXzy","oldRevisionId","981QppHnZ","538296uipcGR","1051116bPGnpi","8831LuLDwA","1402530JskYCK","add","changes","newRevisionId","66RDjCMt","16344eirFOS","2923818orYeyn","3355856qYepAe"];return(ee=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(300231===-parseInt(e(264))/1*(-parseInt(e(269))/2)+-parseInt(e(262))/3+parseInt(e(263))/4+-parseInt(e(259))/5*(-parseInt(e(271))/6)+-parseInt(e(257))/7+parseInt(e(270))/8*(-parseInt(e(261))/9)+parseInt(e(265))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class ie{[te(268)];[te(260)];[te(267)];constructor(e,i){const s=te;this[s(268)]=e,this[s(260)]=i,this[s(267)]=new t.Collection}[te(258)](t){const e=te;for(const i of t)this[e(267)][e(266)](i)}}var se=i(536),ne={attributes:{"data-cke":!0}};ne.setAttributes=At(),ne.insert=Nt().bind(null,"head"),ne.domAPI=Tt(),ne.insertStyleElement=Mt();St()(se.A,ne);se.A&&se.A.locals&&se.A.locals;const re=ae;function oe(){const t=["start","dataDowncast","isRemoveSuggestion","slice","POSITIVE_INFINITY","plugins","_getViewForChange","unbindElementFromMarkerName","change","changes","error","top","revisionHistory","reconvertMarker","offsetSize","change:activeView","markerName","getAttributes","activeView","detachRoot","uiElement","WidgetToolbarRepository","ck-suggestion-marker--active","markerNameToElements","rootName","isReady","_fixObsoleteTags","isBlock","removeMarker","view","3648iJKpCw","getChild","attribute:vid","_appendChild","resolve","isEnabled","values","unshift","comment","currentChangeNumber","distance","ck-suggestion-marker","domEvent","_setChanges","indexOf","push","insertions","getRevision","name","conversion","_findChangeIdFromDomTarget","markerToData","isEqual","vid","insert","remove","isSuggestion","vid_start","markersStart","revision:","consumable","RevisionsRepository","then","isRemoved","schema","object","_threeWayMerge","destroy","data","isIncorrect","358qoirDv","createAttributeElement","addClass","delete","insertion","_removeMissingPairs","clear","for","downcastDispatcher","markers","next","oldRevisionId","pop","document","isAdded","createRange","addHighlight","isAddSuggestion","_changeView","isAttached","mousedown","listenTo","showStack","code","removeClass","ck-suggestion-marker-","_processTape","forward","_makeTape","return","deletions","toViewElement","requires","updatePosition","revision-suggestion:","revisionHistoryLabel","_sortAndFilterDiffChanges","affectsData","_getDiff","setAttribute","modelRange","backward","elementToAttribute","change:activeChange","_setConversion","markerToHighlight","previousPosition","stop","findIndex","compare","consume","enableReadOnlyMode","add","adapter","keys","splice","ck-revision-history-root-","execute","markerRange","ck-suggestion-marker-split","revision-suggestion","createUIElement","low","maxOffset","isBefore","_joinTapes","getCustomProperty","_activeViewTarget","has","_cleanMarkers","change:numberOfChanges","isLimit","observeMarkers","2810649NskBUw","commands","checkAttribute","createPositionFromPath","revision-viewer","mouseover","all","vid_end","upcast","change:isEnabled","find","get","roots","merge","getIndex","nextSibling","addMarker:revision-suggestion:deletion","span","getRoot","diffData","enqueueChange","createPositionBefore","_removeUnsupportedChanges","ck-revision-history-root-add","activeChange","right","_getRevisionsRange","numberOfChanges","nodeAfter","abs","split","isNavigationMode","isInline","ck-suggestion-preview-marker-","removeMarker:revision","index","addRevisionData","RevisionViewer","attributesBefore","revisionHistoryAttachChange","getRootNames","done","_refreshStartEndIndex","addRevision","4138468hSaBII","_cleanUp","removeAttribute","markersEnd","elementStart","viewItem","createRevision","sort","attributesAfter","toViewRange","highest","31535384qGYQUL","addRoot","change:isReady","shift","isAtEnd","getClientRects","_changeIdToChange","_data","forceDisabled","flat","locale","userId","softBreak","map","4403049KIcxJK","diff","isOfficialPlugin","startsWith","getLaterVisibleRevision","3474800sCWBAq","parent","revision","range","isPremiumPlugin","5142636OLVGmR","pluginName","nextPosition","addMarker:revision-suggestion:insertion","addMarker:revision","target","selection","concat","dataToMarker","editor","isAfter","editingDowncast","isAtStart","from","ck-revision-history-root-remove","startIndex","elementEnd","isOnRoot","level","isCollapsed","bottom","_setDistance","ck-editor__editable__overlay","filter","element","catch","side","_markSuggestions","-new","getRevisionDocumentData","hasClass","test","hasAttribute","_step","showPreviousChange","pairId","getItems","_initInteractions","_revisions","writer","item","loadRevisionData","createRangeIn","set","ck-revision-history-root--active","getAttribute","getRevisionRootsAttributes","_makeModelFromTape","deletion","RevisionHistoryUtils","ck-suggestion-marker-merge","data-change-id","high","forEach","length","isContent","restoreRevisionCallback","mapViewToDom","refresh","removeMarker:revision-suggestion","left","getWalker","ck-suggestion-preview-marker","includes","mapper","init","type","isObject","_markMarkers","newRevisionId","editing","repository","toViewPosition","bind","attachChange","config","_update","string","attributes","_makeModelFromViewString","revision-comment:","changeId","suggestion:","endIndex","end","_markInsertions","getDomRoot","text","_balloon","_markMismatchedRemovedTags","_getChangeFromId","domConverter","model","restoreRevision","showNextChange","_utils","first","suggestion","wrap","element:pre","authors","bindElementToMarker"];return(oe=function(){return t})()}function ae(t,e){const i=oe();return(ae=function(t,e){return i[t-=255]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(526278===-parseInt(e(464))/1*(parseInt(e(424))/2)+-parseInt(e(537))/3+-parseInt(e(257))/4+parseInt(e(287))/5+-parseInt(e(292))/6+-parseInt(e(282))/7+parseInt(e(268))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce extends G.Plugin{[re(363)];[re(517)]=null;[re(387)];[re(531)];[re(482)];[re(274)];[re(380)];static get[re(293)](){return re(574)}static get[re(284)](){return!0}static get[re(291)](){return!0}static get[re(496)](){return[J.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(363)]=this[e(301)][e(399)][e(548)](e(455)),this[e(387)]=this[e(301)][e(399)][e(548)](e(341)),this[e(335)](e(561),null),this[e(335)](e(412),null),this[e(531)]=null,this[e(335)](e(283),null),this[e(335)](e(419),!1),this[e(335)](e(429),!0),this.on(e(546),((t,i,s)=>{const n=e;this[n(561)]=null,this[n(412)]=null,this[n(301)][n(362)][n(423)][n(402)]((t=>{const e=n;for(const i of this[e(301)][e(362)][e(423)][e(477)][e(549)])s?t[e(488)](e(314),i):t[e(466)](e(314),i)}))})),this[e(365)](e(568)).to(this,e(561),(t=>null!==t)),this[e(365)](e(433)).to(this,e(419),this,e(283),this,e(561),((t,i,s)=>t&&s?i[e(403)][e(551)](s):0)),this[e(365)](e(564)).to(this,e(419),this,e(283),((t,i)=>t?i[e(403)][e(346)]:0)),this[e(482)]=null,this[e(274)]=new Map,this[e(380)]=this[e(301)][e(399)][e(548)](_t.ContextualBalloon)}[re(357)](){const t=re,e=this[t(301)],i=new he(e,{direction:t(505)}),s=new he(e,{direction:t(491)});e[t(538)][t(516)](t(326),i),e[t(538)][t(516)](t(386),s),e[t(538)][t(516)](t(385),new le(e)),this.on(t(534),(()=>{const e=t;i[e(350)](),s[e(350)]()})),this[t(508)](),this[t(329)](),e[t(515)](t(541)),e[t(399)][t(532)](t(415))&&e[t(399)][t(548)](t(415))[t(276)](t(541))}async[re(321)](t){const e=re;return await this[e(387)][e(333)](t,this[e(517)]),this[e(387)][e(321)](t)}async[re(338)](t){const e=re;return await this[e(387)][e(333)](t,this[e(517)]),this[e(387)][e(338)](t)}async[re(513)](t,e,i=!1){const s=re;if(!this[s(429)])return;const n=this[s(283)],r=this[s(363)],o=s(369)==typeof t?r[s(441)](t):t,a=s(369)==typeof e?r[s(441)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(283)]&&this[s(283)][s(361)]===c&&this[s(283)][s(475)]===u)return Promise[s(428)]();this[s(419)]=!1,this[s(412)]=null,this[s(561)]=null,this[s(283)]=new ie(c,u);const l=this[s(563)](o,a,!0)[s(281)]((t=>this[s(387)][s(333)](t,this[s(517)])));return l[s(439)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(543)](l)[s(456)]((()=>{const t=s;if(!this[t(429)])return;this[t(258)]();const e=this[t(502)](c,u);for(const i of e[t(403)])this[t(274)][t(335)](i.id,i);this[t(301)][t(384)][t(557)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(301)][s(384)][s(477)][s(577)]())i[s(413)](t);for(const t of Object[s(518)](e[s(384)])){const n=i[s(269)](t);for(const r of Object[s(518)](e[s(370)][t]))i[s(503)](r,e[s(370)][t][r],n);i[s(448)](e[s(384)][t],n,0)}})),this[t(283)][t(437)](this[t(500)](e[t(403)])),this[t(419)]=!0}))[s(317)]((t=>{const e=s;console[e(404)](t),this[e(258)](),n&&(this[e(283)]=n),this[e(419)]=!0}))}[re(573)](t,e){const i=re,s=this[i(363)][i(263)](t);return s.on(i(368),((t,i,n)=>e(i,n,s))),this[i(363)][i(256)](s),s}[re(258)](){const t=re;this[t(561)]=null,this[t(533)](),this[t(482)]&&this[t(482)][t(461)](),this[t(482)]=null,this[t(274)][t(470)](),this[t(301)][t(384)][t(557)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(301)][i(384)][i(477)][i(577)]())e[i(413)](t)}))}[re(500)](t){const e=re,i=[],s=new Map;for(const t of this[e(301)][e(384)][e(477)][e(577)]()){const n=this[e(301)][e(362)][e(423)][e(378)](t);if(!n)continue;const r=n[e(273)]()[e(332)](0);r&&(i[e(439)](t),s[e(335)](t,r))}return i[e(264)](((t,i)=>{const n=e,r=s[n(548)](t),o=s[n(548)](i);return r.y-o.y||r.x-o.x})),(t=t[e(315)]((t=>i[e(355)](t[e(418)]))))[e(264)](((t,s)=>i[e(438)](t[e(418)])-i[e(438)](s[e(418)]))),t}[re(492)](t){const e=re,i=Array[e(305)](t[e(473)])[e(315)]((([t,i])=>t[e(285)](e(453))&&!i[e(311)])),s=Array[e(305)](this[e(301)][e(384)][e(334)](t)[e(353)]({singleCharacters:!0}));if(0!=i[e(346)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(567)](":");if(n[e(376)][e(446)](t[e(294)])&&i[e(271)](),(t[e(510)][e(446)](n[e(394)])||t[e(510)][e(302)](n[e(394)]))&&(e(468)==r?t[e(478)]={userId:o}:e(340)==r&&(t[e(457)]={userId:o})),0==i[e(346)])break}return s}[re(255)](t){const e=re,i=new Map;for(let s=0;s<t[e(346)];s++)e(379)===t[s][e(358)]?(t[s][e(332)][e(307)]=s,t[s][e(332)][e(375)]=s):(e(261)===t[s][e(358)]?t[s][e(332)][e(307)]=s:e(308)===t[s][e(358)]&&(t[s][e(332)][e(375)]=s),i[e(335)](t[s].id,s));for(const s of i[e(430)]())e(261)===t[s][e(358)]?t[s][e(332)][e(375)]=i[e(548)](t[s][e(327)]):e(308)===t[s][e(358)]&&(t[s][e(332)][e(307)]=i[e(548)](t[s][e(327)]))}[re(490)](t){const e=re;for(let i=0;i<t[e(346)];i++){if(e(261)===t[i][e(358)])t[i][e(332)][e(307)]=i;else if(e(308)===t[i][e(358)]){t[i][e(332)][e(375)]=i;const s=t[i][e(332)][e(307)];t[s][e(327)]=t[i].id,t[i][e(327)]=t[s].id}else t[i][e(332)][e(307)]=i,t[i][e(332)][e(375)]=i,t[i][e(327)]=null;t[i][e(452)]||(t[i][e(452)]=[],t[i][e(260)]=[])}}[re(377)](t,e){const i=re,s=t[i(315)]((t=>!t[i(478)]));for(let t=0;t<e[i(346)];t++)e[t][i(478)]&&(s[t][i(478)]=e[t][i(478)])}[re(502)](t,e=null){const i=re,s=this[i(363)][i(441)](t),n=e?this[i(363)][i(441)](e):null,r=this[i(563)](s,n),o=r[r[i(346)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(346)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(518)](e[i(556)]))if(e[i(556)][t][i(366)]){const s=e[i(556)][t][i(366)];s[i(483)]?(u[i(516)](t),l[i(532)](t)&&l[i(548)](t)[i(279)]==s[i(279)]?l[i(467)](t):l[i(335)](t,s)):l[i(532)](t)?(u[i(467)](t),l[i(467)](t)):(u[i(516)](t),l[i(335)](t,s))}else u[i(516)](t)}for(const t of u){const e=l[i(532)](t)&&!l[i(548)](t)[i(483)];let s=e?r[i(346)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(556)][t]){const s=e?o[i(556)][t][i(575)]:o[i(556)][t][i(265)];c[i(370)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(384)]={};for(const e of t[i(392)])a[i(335)](e.id,e);for(const e of u){const s=t[i(556)][e]?t[i(556)][e][i(440)]:"[]",n=t[i(556)][e]?t[i(556)][e][i(494)]:"[]";t[i(384)][e]={insertions:this[i(387)][i(371)](s),deletions:this[i(387)][i(371)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(305)](s[i(384)][t][i(440)][i(473)])[i(315)]((([t])=>!t[i(285)](i(453)))));let h=0;for(const o of r){const r=this[i(492)](o[i(384)][t][i(440)]);o==s?(e=r,n=e[i(346)],e[i(345)]((t=>{t.id=h++})),this[i(490)](e)):this[i(377)](e,r);const a=e[i(315)]((t=>!t[i(478)]))[i(281)]((t=>t.id));let c=0;const l=this[i(492)](o[i(384)][t][i(494)]);l[i(345)]((t=>{t[i(457)]?t.id=n++:t.id=a[c++]})),this[i(490)](l),this[i(313)](e,i(478)),this[i(313)](l,i(457)),o==s&&this[i(360)](e,u),e=this[i(529)](e,l),this[i(255)](e),this[i(313)](e,i(457))}e=e[i(315)]((t=>!(t[i(478)]&&t[i(457)])));const d=new Map(o[i(384)][t][i(494)][i(473)]),f=new Set(u[i(518)]());for(const t of d[i(518)]())f[i(467)](t);this[i(319)](e,f),this[i(420)](e),e=this[i(469)](e),e=this[i(381)](e),e=this[i(559)](e);const{root:m,changes:p}=this[i(339)](e,a,t);c[i(384)][t]=m;const v=l[i(548)](t);if(v){const e=a[i(548)](v[i(279)]),s=new Xt({author:e,type:v[i(483)]?i(516):i(449),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(431)](s),c[i(370)][t][i(576)]=s.id}c[i(403)]=c[i(403)][i(299)](p)}return c}[re(360)](t,e){const i=re;for(let s=0;s<t[i(346)];s++)for(const[n,r]of e)!r[i(311)]&&r[i(394)][i(446)](t[s][i(510)])&&t[s][i(452)][i(439)](n),r[i(376)][i(446)](t[s][i(294)])&&t[s][i(260)][i(439)](n)}[re(529)](t,e){const i=re;let s=[],n=0,r=0;for(;n<t[i(346)]||r<e[i(346)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(439)](o);else if(a[i(457)]&&o[i(478)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(460)](t,n,e,r);s=s[i(299)](o),n=a,r=c}else a[i(457)]?(r++,s[i(439)](a)):(n++,s[i(439)](o))}return s}[re(319)](t,e){const i=re,s=[];for(let o=0;o<t[i(346)];o++){for(let r=0;r<t[o][i(452)][i(346)];r++){const a=t[o][i(452)][r];if(!e[i(532)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(524)!=c||i(468)!=u&&i(340)!=u||(s[i(431)]({type:u,name:a,userId:l}),t[o][i(452)][i(519)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(260)][i(346)];r++){const a=t[o][i(260)][r];if(!e[i(532)](a))continue;const{group:c,type:u}=n(a);if(i(524)!=c||i(468)!=u&&i(340)!=u)continue;t[o][i(260)][i(519)](r,1),r--;const l=s[i(512)]((t=>t[i(442)]==a));l>-1&&s[i(519)](l,1)}}function n(t){const e=i,s=t[e(567)](":");return{group:s[0],type:s[1],subType:s[e(346)]>=5?s[2]:null,id:s[e(346)]<5?s[2]:s[3],authorId:s[e(346)]<5?s[3]:s[4],markerCount:6==s[e(346)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(346)];i++){if(t[e(478)]&&e(468)==s[i][e(358)]&&t[e(478)][e(279)]==s[i][e(279)])return t[e(481)]=s[i],void delete t[e(478)];if(!t[e(478)]&&!t[e(457)]&&e(340)==s[i][e(358)])return void(t[e(396)]=s[i])}}}[re(313)](t,e){const i=re;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(335)](o.id,s);for(let s=0;s<t[i(346)];s++){if(i(457)==e&&t[s][i(478)]||i(478)==e&&t[s][i(457)])continue;if(i(379)==t[s][i(358)]){t[s][i(434)]=0;continue}const n=r[i(548)](t[s][i(327)]),o=r[i(548)](t[s].id);t[s][i(434)]=n-o}}[re(563)](t,e,i=!1){const s=re,n=[];let r=this[s(363)][s(551)](t),o=this[s(363)][s(551)](e);for(-1==o&&(o=this[s(363)][s(330)][s(346)],i=!1);r<o;)n[s(439)](this[s(363)][s(441)](r)),r++;return i&&n[s(439)](this[s(363)][s(441)](r)),n}[re(460)](t,e,i,s){const n=re,r=this[n(301)][n(384)][n(458)];let o=e;for(;t[o]&&t[o][n(478)];)o++;let a=s;for(;i[a]&&i[a][n(457)];)a++;u(t,e,o),u(i,s,a);const c=i[n(397)](s,a)[n(299)](t[n(397)](e,o));return c[n(264)](((t,e)=>t[n(318)]!=e[n(318)]?t[n(318)]-e[n(318)]:t[n(310)]!=e[n(310)]?t[n(310)]-e[n(310)]:t[n(434)]!=e[n(434)]?e[n(434)]-t[n(434)]:!!t[n(478)]!=!!e[n(478)]?-1==t[n(318)]||0==t[n(318)]?t[n(478)]?-1:1:t[n(478)]?1:-1:t[n(572)]-e[n(572)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(398)],c=!0;for(let n=e;n<i;n++)if(r[s(569)](t[n][s(332)])||(c=!1),t[n][s(332)][s(307)]<e&&(o=n),t[n][s(332)][s(375)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(318)]=n<=o?-1:n<a?0:1,t[n][s(572)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(434)]?t[i][s(310)]=u:(u++,t[i][s(310)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(318)]&&(t[n][s(310)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(434)]?t[e][s(310)]=u:(u--,t[e][s(310)]=u,u--)}}[re(420)](t){const e=re,i=new Map,s=this[e(301)][e(384)][e(458)];for(let n=1;n<t[e(346)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(379)==c[e(358)])continue;if(c[e(358)]!=u[e(358)])continue;if(!s[e(421)](u[e(332)])||s[e(535)](u[e(332)]))continue;if(!s[e(421)](c[e(332)])||s[e(535)](c[e(332)]))continue;if((t[n][e(478)]||t[n][e(481)])&&t[n-1][e(457)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(457)]||!t[n-1][e(478)]&&!t[n-1][e(481)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(310)]==o[e(310)],h=Math[e(566)](r[e(310)])<Math[e(566)](o[e(310)])&&0==o[e(434)];(l||h)&&(i[e(335)](o.id,r.id),t[e(519)](a,1),n--,r[e(478)]=!1)}for(let s=0;s<t[e(346)];s++)i[e(532)](t[s][e(327)])&&(t[s][e(327)]=i[e(548)](t[s][e(327)]))}[re(469)](t){const e=re,i=new Set(t[e(281)]((t=>t.id)));for(let s=0;s<t[e(346)];s++)i[e(532)](t[s][e(327)])||0==t[s][e(434)]||(t[s][e(463)]=!0);return t[e(315)]((t=>!t[e(463)]))}[re(381)](t){const e=re,i=new Set;for(let s=0;s<t[e(346)];s++){if(i[e(532)](t[s].id)&&t[s][e(457)]&&(t[s][e(463)]=!0),t[s][e(463)])continue;if(0==t[s][e(434)])continue;if(e(261)!=t[s][e(358)])continue;if(null==t[s][e(327)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(327)];)e(261)==t[n][e(358)]?r++:e(308)==t[n][e(358)]&&r--,n++;if(0!=r)if(t[s][e(457)])t[s][e(463)]=!0;else for(;n!=s;)t[n][e(457)]&&0!=t[n][e(434)]&&(t[n][e(463)]=!0,i[e(516)](t[n][e(327)])),n--}return t[e(315)]((t=>!t[e(463)]))}[re(559)](t){const e=re,i=this[e(301)][e(384)][e(458)];for(let s=0;s<t[e(346)];s++){if(!(t[s][e(478)]||t[s][e(481)]||t[s][e(457)]||t[s][e(396)]))continue;if(0==t[s][e(434)])continue;const n=t[s][e(332)];i[e(421)](n)||i[e(535)](n)||(t[s][e(478)]&&delete t[s][e(478)],t[s][e(481)]&&delete t[s][e(481)],t[s][e(396)]&&delete t[s][e(396)],t[s][e(457)]&&(t[s][e(463)]=!0))}return t[e(315)]((t=>!t[e(463)]))}[re(339)](t,e,i){const s=re,n=new K.DocumentFragment,r=[],o=new Map,a=this[s(301)][s(384)],c=a[s(458)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(346)];e++)if(s(261)===t[e][s(358)]){t[e][s(510)]=a[s(540)](n,f);const i=new K.Element(t[e][s(332)][s(442)],t[e][s(332)][s(411)]());u[0][s(427)](i),f[s(439)](0),u[s(431)](i),t[e][s(294)]=a[s(540)](n,f)}else s(308)===t[e][s(358)]?(u[s(271)](),t[e][s(510)]=a[s(540)](n,f),f[s(476)](),f[f[s(346)]-1]++,t[e][s(294)]=a[s(540)](n,f)):(t[e][s(510)]=a[s(540)](n,f),d?d[s(275)]+=t[e][s(332)][s(462)]:d=new K.Text(t[e][s(332)][s(462)],t[e][s(332)][s(411)]()),t[e+1]&&s(379)===t[e+1][s(358)]&&v(d,t[e+1][s(332)])||(u[0][s(427)](d),d=null),f[f[s(346)]-1]+=t[e][s(332)][s(408)],t[e][s(294)]=a[s(540)](n,f));for(let e=0;e<t[s(346)];e++){const i=t[e][s(510)],n=t[e][s(294)];for(const n of t[e][s(452)])o[s(335)](n,{start:i,end:null});m(s(396),e,i,n),m(s(481),e,i,n),m(s(457),e,i,n),m(s(478),e,i,n);for(const i of t[e][s(260)]){const t=o[s(548)](i);t?t[s(376)]=n:o[s(335)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(301)][s(384)][s(479)](e[s(394)],e[s(376)]);n[s(473)][s(335)](t,i)}return r[s(264)](((t,e)=>{const i=s,r=n[i(473)][i(548)](i(453)+t.id),o=n[i(473)][i(548)](i(453)+e.id);return r[i(394)][i(528)](o[i(394)])?-1:r[i(394)][i(302)](o[i(394)])?1:r[i(376)][i(528)](o[i(376)])?-1:r[i(376)][i(302)](o[i(376)])?1:i(516)===t[i(358)]?-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(279)]:null,d=i===t[o(346)]-1,f=h[e][0],m=c[o(359)](t[i][o(332)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(376)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(279)]!==u&&(l[e][o(376)]=n,f&&f[o(279)]===l[e][o(279)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(261)!==t[i][o(358)]||f&&f[o(279)]===u||h[e][o(431)]({userId:u,object:t[i][o(332)],change:l[e]}),o(308)===t[i][o(358)]&&f&&f[o(459)]===t[i][o(332)]&&(h[e][o(271)](),l[e]=f[o(402)])),l[e]&&d&&(l[e][o(376)]=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(332)],f=a[h(458)][h(421)](d)&&!a[h(458)][h(535)](d),m=t[h(565)]==o[h(288)]&&o[h(304)];if(f&&m)return;const p=a[h(479)](t,o),v=e[h(548)](u),g=new Xt({author:v,type:h(478)==l||h(481)==l?h(516):h(449),data:{isSuggestion:h(481)==l||h(396)==l},createdAt:new Date,rootName:i});r[h(439)](g),n[h(473)][h(335)](h(453)+g.id,p)}function v(t,e){const i=s,n=t[i(411)](),r=e[i(411)]();for(const t of n){if(t[1]!==e[i(337)](t[0]))return!1;r[i(474)]()}return r[i(474)]()[i(578)]}}[re(508)](){const t=re;this[t(301)][t(443)][t(471)](t(545))[t(300)]({view:t(289)}),this[t(301)][t(443)][t(471)](t(303))[t(509)]({model:t(289),view:e=>{const i=t,s=e[i(410)][i(567)](":")[1],n=this[i(382)](s);if(!n)return null;const r=i(516)==n[i(358)]?i(468):i(340),o=[i(435),i(489)+r];return n[i(462)][i(450)]&&o[i(439)](i(489)+r+i(320)),this[i(561)]==n&&o[i(439)](i(416)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(301)][t(443)][t(471)](t(545))[t(516)]((e=>{const i=t;e.on(i(391),((t,e,s)=>{const n=i,r=e[n(262)][n(425)](0);if(!r||!r.is(n(316),n(487)))return;if(!s[n(454)][n(514)](r,{attributes:[n(451),n(544)]}))return;const o=e[n(504)][n(394)][n(565)];s[n(331)][n(503)](n(451),r[n(337)](n(451)),o),s[n(331)][n(503)](n(544),r[n(337)](n(544)),o)}),{priority:i(526)})})),this[t(301)][t(443)][t(471)](t(545))[t(516)]((e=>{const i=t;e.on(i(316),((t,e,s)=>{const n=i;if(!s[n(454)][n(514)](e[n(262)],{attributes:[n(451),n(544)]}))return;if(e[n(504)][n(311)])return;const r=e[n(504)][n(394)][n(565)];r[n(324)](n(451))||r[n(324)](n(447))||(s[n(331)][n(503)](n(451),e[n(262)][n(337)](n(451)),r),s[n(331)][n(503)](n(544),e[n(262)][n(337)](n(544)),r))}),{priority:i(526)})})),this[t(301)][t(443)][t(471)](t(545))[t(506)]({view:{name:t(554),attributes:{vid:!0}},model:{key:t(447),value:e=>e[t(337)](t(447))}}),this[t(301)][t(384)][t(458)].on(t(539),((e,[,i])=>{const s=t;[s(451),s(544),s(447)][s(355)](i)&&(e[s(493)]=!0,e[s(511)]())}),{priority:t(267)}),this[t(301)][t(443)][t(471)](t(395))[t(516)]((e=>{const i=t;e.on(i(426),((t,e,s)=>{const n=i;if(" "!=e[n(332)][n(462)]||e[n(332)][n(288)][n(527)]>1)return;if(!s[n(454)][n(514)](e[n(332)],t[n(442)]))return;const r=s[n(331)],o=s[n(356)][n(266)](e[n(290)]);r[n(390)](o,r[n(465)](n(554)))}))})),this[t(301)][t(443)][t(471)](t(395))[t(445)]({model:t(289)}),this[t(301)][t(362)][t(472)].on(t(296),function(e){const i=t,s=e[i(399)][i(548)](i(574));return(t,n,r)=>{const o=i,a=n[o(410)][o(567)](":")[1],c=s[o(382)](a);if(!c)return null;const u=o(516)==c[o(358)]?o(567):o(550);if(!r[o(454)][o(323)](n[o(522)],t[o(442)]))return;const l=n[o(522)][o(353)](),h=n[o(522)][o(394)],d=e[o(384)][o(458)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(332)];p=p||d[o(347)](e);const i=r[o(356)][o(495)](e);if(i&&i[o(530)](o(480)))return;o(308)==t[o(358)]&&d[o(421)](e)&&!d[o(535)](e)&&(e[o(552)]||h[o(272)]?f&&f[o(288)]==e||(f=e,g(t[o(510)]),v=!0):m=m||t[o(510)])}function g(t){const e=o,i=r[e(331)][e(525)](e(554),{class:e(489)+u}),a=r[e(356)][e(364)](t);c[e(462)][e(450)]&&r[e(331)][e(466)](e(489)+u+e(320),i),s[e(561)]==c&&r[e(331)][e(466)](e(416),i),r[e(331)][e(448)](a,i),r[e(356)][e(393)](i,n[e(410)])}p||v||!m||g(m)}}(this[t(301)]),{priority:t(344)}),this[t(301)][t(362)][t(472)].on(t(571),((e,i,s)=>{const n=t,r=s[n(356)][n(417)](i[n(410)]);if(r)for(const t of r)(t[n(322)](n(523))||t[n(322)](n(342)))&&(s[n(356)][n(401)](t,i[n(410)]),s[n(331)][n(449)](t))}),{priority:t(344)}),this[t(301)][t(362)][t(472)].on(t(296),((e,i,s)=>{const n=t,r=i[n(410)][n(567)](":")[1],o=this[n(382)](r);if(!o)return null;const a=n(516)==o[n(358)]?n(567):n(550);if(s[n(454)][n(323)](i[n(522)],e[n(442)]))for(const t of i[n(522)][n(328)]()){if(!t.is(n(316),n(280)))continue;const e=s[n(331)][n(525)](n(554),{class:n(489)+a}),r=s[n(356)][n(364)](this[n(301)][n(384)][n(558)](t));o[n(462)][n(450)]&&s[n(331)][n(466)](n(489)+a+n(320),e),this[n(561)]==o&&s[n(331)][n(466)](n(416),e),s[n(331)][n(448)](r,e),s[n(356)][n(393)](e,i[n(410)])}}),{priority:t(344)}),this[t(301)][t(384)][t(477)].on(t(402),(()=>{const e=t;this[e(301)][e(362)][e(423)][e(402)]((t=>{const i=e;for(const e of this[i(301)][i(384)][i(477)][i(577)]()){const s=this[i(301)][i(384)][i(477)][i(555)](e),n=this[i(301)][i(362)][i(423)][i(477)][i(555)](e);if(n){const e=s[i(337)](i(576));if(t[i(259)](i(343),n),t[i(488)](i(560),n),t[i(488)](i(306),n),t[i(488)](i(336),n),e){const s=this[i(382)](e);if(!s)return null;t[i(503)](i(343),e,n),t[i(466)](i(520)+s[i(358)],n),this[i(561)]==s&&t[i(466)](i(336),n)}}}}))})),this[t(301)][t(443)][t(471)](t(545))[t(300)]({view:t(432),model:e=>t(372)+e,converterPriority:t(267)}),this[t(301)][t(443)][t(471)](t(545))[t(300)]({view:t(389),model:e=>t(498)+e,converterPriority:t(267)}),this[t(301)][t(443)][t(471)](t(395))[t(445)]({model:t(524),view:e=>({name:t(374)+e,group:t(524)}),converterPriority:t(267)}),this[t(301)][t(443)][t(471)](t(303))[t(509)]({model:t(524),view:e=>{const i=t,s=e[i(410)][i(567)](":")[1];return i(468)!=s&&i(340)!=s?null:{classes:[i(354),i(570)+s]}}}),this[t(301)][t(362)][t(472)].on(t(553),ue(this[t(301)],t(550)),{priority:t(344)}),this[t(301)][t(362)][t(472)].on(t(295),ue(this[t(301)],t(567)),{priority:t(344)}),this[t(301)][t(362)][t(472)].on(t(351),((e,i,s)=>{const n=t,r=s[n(356)][n(417)](i[n(410)]);if(r)for(const t of r)t.is(n(414))&&(s[n(356)][n(401)](t,i[n(410)]),s[n(331)][n(449)](t))}),{priority:t(344)})}[re(382)](t){const e=re;return this[e(274)][e(548)](t)}[re(400)](t){const e=re;return this[e(482)]&&this[e(482)][e(461)](),this[e(482)]=new Yt(this[e(301)][e(278)],t),this[e(482)]}[re(329)](){const t=re;this[t(301)][t(384)][t(477)][t(298)][t(536)](t(289)),this.on(t(409),((e,i,s,n)=>{const r=t;n&&this[r(380)][r(449)](n),s&&(this[r(380)][r(516)]({view:s,stackId:r(499),position:{target:()=>{const t=r,e=this[t(301)][t(362)],i=this[t(382)](s[t(373)]);let n;if(i[t(462)][t(309)]){const s=e[t(423)][t(378)](i[t(418)]);n=Array[t(305)](s[t(273)]())}else{const i=this[t(301)][t(384)][t(473)][t(548)](t(453)+s[t(373)]);n=Array[t(305)](e[t(356)][t(417)](i[t(442)]))[t(281)]((i=>e[t(423)][t(383)][t(349)](i)))[t(281)]((e=>Array[t(305)](e[t(273)]())))[t(277)]()}return this[t(531)]&&n[t(547)]((e=>e[t(405)]-3<=this[t(531)].y&&e[t(312)]+3>=this[t(531)].y&&e[t(352)]-3<=this[t(531)].x&&e[t(562)]+3>=this[t(531)].x))||n[0]}}}),this[r(380)][r(486)](r(499)))})),this.on(t(507),((e,i,s,n)=>{const r=t;this[r(412)]=s?this[r(400)](s):null,this[r(301)][r(384)][r(402)]((()=>{const t=r,e=this[t(301)][t(362)];n&&(n[t(462)][t(309)]?e[t(423)][t(402)]((i=>{const s=t;i[s(488)](s(336),e[s(423)][s(477)][s(555)](n[s(418)]))})):e[t(407)](t(453)+n.id)),s&&(s[t(462)][t(309)]?e[t(423)][t(402)]((i=>{const n=t;i[n(466)](n(336),e[n(423)][n(477)][n(555)](s[n(418)]))})):e[t(407)](t(453)+s.id))}))})),this[t(485)](this[t(301)][t(362)][t(423)][t(477)],t(542),((e,i)=>{const s=t;if(this[s(561)])return;const n=this[s(444)](i[s(297)]),r=this[s(274)][s(548)](n);r?(this[s(531)]={x:i[s(436)].x,y:i[s(436)].y},this[s(412)]=this[s(400)](r)):(this[s(531)]=null,this[s(412)]=null)})),this[t(485)](this[t(301)][t(362)][t(423)][t(477)],t(484),((e,i)=>{const s=t,n=this[s(444)](i[s(297)]),r=this[s(274)][s(548)](n);r?(this[s(531)]={x:i[s(436)].x,y:i[s(436)].y},r===this[s(561)]?this[s(380)][s(497)]():this[s(561)]=r):(this[s(531)]=null,this[s(561)]=null)}))}[re(444)](t){const e=re;do{const i=t[e(337)](e(343));if(i)return i;t=t[e(288)]}while(t);return null}[re(533)](){const t=re;this[t(301)][t(384)][t(402)]((e=>{const i=t;for(const t of this[i(301)][i(384)][i(473)])e[i(422)](t)}))}}function ue(t,e){return(i,s,n)=>{const r=ae;if(!n[r(454)][r(323)](s[r(522)],i[r(442)]))return;const o=s[r(522)][r(353)](),a=s[r(522)][r(394)],c=t[r(384)][r(458)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(332)];h=h||c[r(347)](e);const i=n[r(356)][r(495)](e);if(i&&i[r(530)](r(480)))return;r(308)==t[r(358)]&&c[r(421)](e)&&!c[r(535)](e)&&(e[r(552)]||a[r(272)]?u&&u[r(288)]==e||(u=e,f(t[r(510)]),d=!0):l=l||t[r(510)])}function f(t){const i=r,o=n[i(356)][i(364)](t),a=n[i(331)][i(525)](i(554),{class:i(570)+e});n[i(331)][i(448)](o,a),n[i(356)][i(393)](a,s[i(410)])}h||d||!l||f(l)}}class le extends G.Command{constructor(t){const e=re;super(t);const i=t[e(399)][e(548)](ce);this[e(501)]=!1,this[e(485)](i,e(270),(()=>this[e(350)]())),this[e(485)](i,e(546),(()=>this[e(350)]()))}[re(521)](){const t=re,e=this[t(301)],i=e[t(399)][t(548)](ce),s=i[t(419)]?i[t(283)][t(361)]:null;e[t(367)][t(548)](t(406))[t(348)](s)}[re(350)](){const t=re,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(301)][t(399)][t(548)](ce),r=n&&s[t(286)](n[t(361)]);this[t(429)]=e&&i&&Boolean(r)}}class he extends G.Command{[re(325)];constructor(t,{direction:e}){const i=re;super(t);const s=t[i(399)][i(548)](ce);this[i(501)]=!1,this[i(325)]=i(491)===e?1:-1,this[i(485)](s,i(270),(()=>this[i(350)]())),this[i(485)](s,i(546),(()=>this[i(350)]())),this[i(485)](s,i(507),(()=>this[i(350)]()))}[re(521)](){const e=re,i=this[e(301)],s=i[e(399)][e(548)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(561)]=n?s[e(283)][e(403)][e(548)](r+this[e(325)]):s[e(283)][e(403)][e(388)],s[e(561)][e(462)][e(309)])o=i[e(362)][e(423)][e(378)](s[e(561)][e(418)]);else{const t=i[e(384)][e(473)][e(548)](e(453)+s[e(561)].id);o=(0,J.getMarkerDomElement)(i[e(362)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(350)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(301)][t(399)][t(548)](ce);this[t(429)]=!!(r&&n&&s)&&(!e||(1===this[t(325)]?i<s-1:i>0))}}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=At(),fe.insert=Nt().bind(null,"head"),fe.domAPI=Tt(),fe.insertStyleElement=Mt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(){const t=["_isStatusLabelVisible","2333140XwowID","Show next change","fire","ck-hidden","636UyFMKh","EDIT_X_OF_Y_REVISIONS","isBackwardNavigationEnabled","isNavigationMode","ck-revision-history-ui__changes-navigation__wrapper","7711803OSSMDi","bind","No changes","execute","Show previous change","ck-revision-history-ui__changes-navigation__navigation","isForwardNavigationEnabled","X_OF_Y_CHANGES","137944dYEAvi","9540YOjgLu","_statusText","Loading...","21AECzhi","bindTemplate","1837896feCuKe","setTemplate","currentChangeNumber","set","span","numberOfChanges","ck-revision-history-ui","NUMBER_OF_CHANGES","forward","isReady","div","ck-revision-history-ui__changes-navigation__label","backward","Total","isEnabled","10zrKrBj","ck-revision-history-ui__changes-navigation","10dGTdaP","1998246HWeole","999053yuHDrY"];return(me=function(){return t})()}function pe(t,e){const i=me();return(pe=function(t,e){return i[t-=330]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(481508===-parseInt(e(346))/1*(-parseInt(e(369))/2)+-parseInt(e(370))/3+parseInt(e(373))/4+-parseInt(e(347))/5*(parseInt(e(333))/6)+-parseInt(e(350))/7*(parseInt(e(352))/8)+parseInt(e(338))/9+-parseInt(e(367))/10*(parseInt(e(371))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);class ve extends _t.View{constructor(t){const e=pe;super(t);const i=this[e(351)],s=new _t.ButtonView(t),n=new _t.ButtonView(t);this[e(355)](e(336),!1),this[e(355)](e(361),!1),this[e(355)](e(354),0),this[e(355)](e(357),0),this[e(355)](e(344),!1),this[e(355)](e(335),!1),this[e(339)](e(372)).to(this,e(361),this,e(357),((t,e)=>t&&e>0)),this[e(339)](e(348)).to(this,e(361),this,e(354),this,e(357),this,e(336),((i,s,n,r)=>{const o=e;if(!i)return ot(t,o(349));if(!n)return ot(t,o(340));const a=ot(t,o(359),n);return r?ot(t,o(345),[s+1,n]):a})),s[e(355)]({label:ot(t,e(342)),tooltip:!0,icon:wt.IconChevronUp}),n[e(355)]({label:ot(t,e(330)),tooltip:!0,icon:wt.IconChevronDown}),s[e(339)](e(366)).to(this,e(335)),n[e(339)](e(366)).to(this,e(344)),s.on(e(341),(()=>this[e(331)](e(341),e(364)))),n.on(e(341),(()=>this[e(331)](e(341),e(360)))),this[e(353)]({tag:e(362),attributes:{class:["ck",e(358),e(368)]},children:[{tag:e(356),attributes:{class:[e(337)]},children:[{tag:e(356),attributes:{class:[e(363),i.if(e(372),e(332),(t=>!t))]},children:[{text:i.to(e(336),(i=>i?ot(t,e(334))+": ":ot(t,e(365))+": "))}]},{text:i.to(e(348))}]},new _t.ToolbarSeparatorView,{tag:e(362),attributes:{class:[e(343)]},children:[s,n]}]})}}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=At(),ye.insert=Nt().bind(null,"head"),ye.domAPI=Tt(),ye.insertStyleElement=Mt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;const ke=we;!function(t){const e=we,i=t();for(;;)try{if(803810===-parseInt(e(442))/1+-parseInt(e(454))/2*(parseInt(e(450))/3)+parseInt(e(446))/4+parseInt(e(449))/5+parseInt(e(463))/6+parseInt(e(459))/7*(-parseInt(e(453))/8)+-parseInt(e(448))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const be=ke(447);function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=440]})(t,e)}class _e extends G.Plugin{static get[ke(458)](){return ke(462)}static get[ke(456)](){return!0}static get[ke(444)](){return!0}[ke(443)](){const t=ke,e=this[t(455)][t(451)][t(457)];e[t(461)]((i=>{const s=t;for(const t of e[s(452)][s(441)])i[s(440)](be,t)}))}[ke(445)](){const t=ke,e=this[t(455)][t(451)][t(457)];e[t(461)]((i=>{const s=t;for(const t of e[s(452)][s(441)])i[s(460)](be,t)}))}}function Ie(){const t=["editor","isOfficialPlugin","view","pluginName","1423387hqyzUN","removeClass","change","RevisionViewerLoadingOverlay","2275038caBIAu","addClass","roots","714826DuNfQe","show","isPremiumPlugin","hide","6098832lMLUId","ck-editor__editable__loading-overlay","6819552qyOhKu","7163440hUNTwk","80331LCvFjg","editing","document","8pSsvaJ","64eGNFOt"];return(Ie=function(){return t})()}const Se=Te;function Oe(){const t=["RevisionViewerUI","currentChangeNumber","bind","3972462yIDBER","change:isReady","showNextChange","listenTo","isForwardNavigationEnabled","changesNavigation","init","Back to editing","show","plugins","numberOfChanges","componentFactory","editor","isBackwardNavigationEnabled","set","requires","ck-revision-history-ui__back-to-editing","isReady","closeRevisionViewerCallback","461772BTJYyk","isOfficialPlugin","152RLzoSq","14083659NghbCP","add","showPreviousChange","config","hide","1672176DEuEvZ","revisionHistory","4676898rhBrnl","forward","10QToQvN","644706gTCjEm","isNavigationMode","542465knHzuF","commands","exitToEditing","restoreRevision","get","execute","pluginName","isPremiumPlugin","isEnabled","Restore this revision"];return(Oe=function(){return t})()}function Te(t,e){const i=Oe();return(Te=function(t,e){return i[t-=311]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(761283===-parseInt(e(313))/1+-parseInt(e(355))/2+parseInt(e(328))/3+-parseInt(e(347))/4*(-parseInt(e(312))/5)+parseInt(e(357))/6+parseInt(e(315))/7*(parseInt(e(349))/8)+-parseInt(e(350))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class xe extends G.Plugin{static get[Se(321)](){return Se(325)}static get[Se(348)](){return!0}static get[Se(322)](){return!0}static get[Se(343)](){return[ce,_e]}[Se(334)](){const t=Se,e=this[t(340)],i=e[t(337)][t(319)](ce),s=e[t(337)][t(319)](_e);e.ui[t(339)][t(351)](t(317),(i=>{const s=t,n=new _t.ButtonView(i);return n[s(342)]({label:ot(i,s(335)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:s(344)}),this[s(331)](n,s(320),(()=>{const t=s;e[t(353)][t(319)](t(356))[t(346)]()})),n})),e.ui[t(339)][t(351)](t(318),(i=>{const s=t,n=new _t.ButtonView(i);return n[s(342)]({label:ot(i,s(324)),withText:!0,tooltip:!0}),n[s(327)](s(323)).to(e[s(316)][s(319)](s(318))),this[s(331)](n,s(320),(()=>e[s(320)](s(318)))),n})),e.ui[t(339)][t(351)](t(333),(s=>{const n=t,r=new ve(s),o=e[n(316)][n(319)](n(352)),a=e[n(316)][n(319)](n(330));return r[n(327)](n(341)).to(o,n(323)),r[n(327)](n(332)).to(a,n(323)),r[n(327)](n(345),n(326),n(338),n(314)).to(i),this[n(331)](r,n(320),((t,i)=>{const s=n;e[s(320)](s(311)===i?s(330):s(352))})),r})),s[t(336)](),i.on(t(329),((e,i,n)=>{const r=t;n?s[r(354)]():s[r(336)]()}))}}var Ne=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=At(),Re.insert=Nt().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Mt();St()(Ne.A,Re);Ne.A&&Ne.A.locals&&Ne.A.locals;const Ae=De;function De(t,e){const i=Me();return(De=function(t,e){return i[t-=169]})(t,e)}function Me(){const t=["Revision name","864090BSfWEV","element","bindTemplate","ck-tooltip_multi-line","415862fNzdFu","extendTemplate","destroy","scrollWidth","clientWidth","placeholder","render","_tooltipString","value","set","_updateTooltipText","fieldView","359564ABPcfo","_resizeObserver","2011660ZrKwpe","305393IKybcc","ck-revision-history-sidebar__revision-name","29872ZwrPlU","input","9IVqaOu","Enter the revision name","span","45KCpyFj","1351842PuXLHm","7mivUTw","listenTo"];return(Me=function(){return t})()}!function(t){const e=De,i=t();for(;;)try{if(174078===-parseInt(e(180))/1+-parseInt(e(196))/2+-parseInt(e(184))/3*(parseInt(e(177))/4)+parseInt(e(192))/5+-parseInt(e(188))/6+parseInt(e(189))/7*(parseInt(e(182))/8)+parseInt(e(187))/9*(parseInt(e(179))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class Ve extends _t.LabeledFieldView{[Ae(178)]=null;constructor(t,e){const i=Ae;super(t,e);const s=this[i(194)];this[i(174)]({label:ot(t,i(191)),_tooltipString:""}),this[i(176)][i(170)]=ot(t,i(185)),this[i(197)]({tag:i(186),attributes:{class:[i(181)],"data-cke-tooltip-text":s.to(i(172)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(195)}})}[Ae(171)](){const e=Ae;super[e(171)](),this[e(178)]=new t.ResizeObserver(this[e(176)][e(193)],(()=>this[e(175)]())),this[e(190)](this[e(176)],e(183),(()=>this[e(175)]()))}[Ae(198)](){const t=Ae;super[t(198)](),this[t(178)]&&this[t(178)][t(198)]()}[Ae(175)](){const t=Ae,e=this[t(176)][t(193)];this[t(172)]=e[t(199)]>e[t(169)]&&e[t(173)]||""}}var Ee=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=At(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=Tt(),Ce.insertStyleElement=Mt();St()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(){const t=["ck-revision-history-sidebar__revision-author_creator","3595032hEvXRA","span","146946kcdqgy","name","546393bWuHQt","set","9AXcjQn","5730584VzqtwI","ck-revision-history-sidebar__revision-author__name","2215085SHDqQQ","12AfcMil","Revision creator","15500MJgbXt","0 0 11 10","3285daQVFL","ck-revision-history-sidebar__revision-author","push","Revision author","4172736aqZLHC","setTemplate"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=471]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(401194===parseInt(e(491))/1*(-parseInt(e(487))/2)+-parseInt(e(489))/3*(-parseInt(e(474))/4)+parseInt(e(473))/5+-parseInt(e(482))/6+-parseInt(e(485))/7+parseInt(e(471))/8+-parseInt(e(478))/9*(-parseInt(e(476))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class Le extends _t.View{constructor(t,e,i){const s=je;super(t);const n=new _t.IconView;n[s(490)]({content:wt.IconUser,viewBox:s(477)});const r=["ck",s(479)];i&&r[s(480)](s(484));const o=[{tag:s(486),attributes:{class:["ck",s(472)],title:ot(t,s(i?475:481))},children:[n,e[s(488)]]}];this[s(483)]({tag:"li",attributes:{class:r},children:o})}}function Pe(t,e){var i=ze();return(Pe=function(t,e){return i[t-=216]})(t,e)}function ze(){var t=["1032bQUCDs","5hqStvS","toLocaleTimeString","86769sxeGWc","2560RCHDvC","4vIUXWZ","203uqJSUC","189957MeDrUw","15127bXDwcr","numeric","29926AGDAlx","long","toLocaleDateString","675858lkwGvS","22AtXAGt","3304HSmDHK","3674rlgKTV"];return(ze=function(){return t})()}!function(t){for(var e=Pe,i=t();;)try{if(144785===-parseInt(e(225))/1*(parseInt(e(231))/2)+parseInt(e(224))/3*(-parseInt(e(222))/4)+parseInt(e(218))/5*(parseInt(e(230))/6)+parseInt(e(223))/7*(-parseInt(e(232))/8)+-parseInt(e(220))/9+parseInt(e(221))/10*(parseInt(e(216))/11)+parseInt(e(217))/12*(parseInt(e(227))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(11),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=At(),Ue.insert=Nt().bind(null,"head"),Ue.domAPI=Tt(),Ue.insertStyleElement=Mt();St()(We.A,Ue);We.A&&We.A.locals&&We.A.locals;function He(){const t=["extendTemplate","find","menuitem","action","change:isActionsDropdownOpen","isReady","name","first","panelPosition","items","Show more items","buttonView","125144oHHjFo","Name this revision","isOpen","_action","isActionsDropdownOpen","328245eliiVx","stopPropagation","listenTo","1IdKFDA","12OBFFsB","children","3259960cXWrli","add","menu","4226128aPkYqc","button","model","376138MceEmP","listView","Restore this revision","9GvOvfm","6833112hIcVbD","ck-on","locale","1128194ycIRrm","set","execute","isVisible","source","isEnabled","class","bindTemplate","Compare against selected","ck-revision-history-sidebar__revision__actions","48txEmVG","bind","function","map"];return(He=function(){return t})()}function Ze(t,e){const i=He();return(Ze=function(t,e){return i[t-=236]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(362354===parseInt(e(261))/1*(parseInt(e(277))/2)+parseInt(e(262))/3*(-parseInt(e(253))/4)+-parseInt(e(258))/5+-parseInt(e(237))/6*(parseInt(e(270))/7)+parseInt(e(267))/8*(-parseInt(e(273))/9)+parseInt(e(264))/10+parseInt(e(274))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var qe=i(216),$e={attributes:{"data-cke":!0}};$e.setAttributes=At(),$e.insert=Nt().bind(null,"head"),$e.domAPI=Tt(),$e.insertStyleElement=Mt();St()(qe.A,$e);qe.A&&qe.A.locals&&qe.A.locals;function Be(t,e){const i=Je();return(Be=function(t,e){return i[t-=173]})(t,e)}const Ye=Be;!function(t){const e=Be,i=t();for(;;)try{if(156859===parseInt(e(217))/1*(parseInt(e(187))/2)+-parseInt(e(205))/3*(-parseInt(e(206))/4)+-parseInt(e(192))/5*(-parseInt(e(198))/6)+parseInt(e(175))/7+-parseInt(e(196))/8+parseInt(e(236))/9*(-parseInt(e(185))/10)+parseInt(e(183))/11*(parseInt(e(227))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ge extends((0,J.ConfirmMixin)(_t.View)){id;[Ye(197)];[Ye(226)];[Ye(231)];[Ye(221)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(233)],a=function(t,e){const i=r,s=Array[i(237)](e[i(232)])[i(182)]((t=>t!=e[i(239)]));return e[i(239)]&&s[i(199)](e[i(239)]),s[i(234)]((s=>new Le(t,s,s==e[i(239)])))}(e,i);this.id=i.id,this[r(231)]=i,this[r(221)]=n,this[r(220)](r(238),r(201)).to(i),this[r(220)](r(224)).to(this,r(201),(t=>{return i=e[r(208)],(s=t)[(n=Pe)(229)](i,{month:n(228),day:n(226)})+", "+s[n(219)](i,{hour:n(226),minute:n(226)});var i,s,n})),this[r(212)](r(204),!1),this[r(212)](r(191),!1),this[r(212)](r(176),!1),this[r(212)](r(211),!1),this[r(212)](r(193),!1),this[r(197)]=new Ve(e,_t.createLabeledInputText),this[r(197)][r(229)][r(207)]({attributes:{maxlength:r(235)}}),this[r(197)][r(229)][r(220)](r(222)).to(this,r(238),(t=>t||this[r(224)])),this[r(197)][r(220)](r(193)).to(this,r(204),this,r(193),((t,e)=>t&&e)),this[r(226)]=s&&s[r(219)]?function(e,i){const s=Ze,n=e[s(284)],r=e[s(276)],o=(0,_t.createDropdown)(r);o[s(249)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(276)],n={"Compare against selected":ot(s,i(285)),"Name this revision":ot(s,i(254)),"Restore this revision":ot(s,i(272))};return e[i(240)]((t=>{const e=i,s=n[t[e(247)]];return s&&s!==t[e(247)]&&(t[e(247)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(268),model:new _t.ViewModel({label:t[n(247)],class:t[n(283)],withText:!0,role:n(243),_action:t[n(244)]})};i[n(269)][n(238)](n(282)).to(e,n(257),(i=>n(239)!=typeof t[n(282)]||!i||t[n(282)](e))),o[n(265)](i)}return o}(e,i);return e[s(238)](s(257)).to(o,s(255)),o[s(252)][s(278)]({label:ot(r,s(251)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[s(241)]({attributes:{class:[s(236),n.if(s(257),s(275))]},on:{click:n.to((t=>t[s(259)]()))}}),o.on(s(279),(t=>{const i=s;e[i(246)]&&i(239)==typeof t[i(281)][i(256)]&&t[i(281)][i(256)](e)})),(0,_t.addListToDropdown)(o,a,{role:s(266)}),o[s(260)](e,s(245),((t,n,r)=>{const a=s;if(r)for(const t of o[a(271)][a(250)]){const s=t[a(263)][a(248)],n=i[a(242)]((t=>t[a(244)]===s[a(256)]))[a(280)];t[a(280)]=void 0===n||n(e)}})),o}(this,s):"",this[r(226)]&&this[r(226)][r(220)](r(193)).to(this),this[r(189)]({tag:r(214),attributes:{class:["ck",r(200),r(174),o.if(r(190),r(209))]},children:[{tag:r(214),attributes:{class:["ck",r(200),r(186),o.if(r(193),r(195),(t=>!t)),o.if(r(204),r(202)),o.if(r(191),r(180)),o.if(r(176),r(178))]},children:[this[r(197)],{tag:r(213),attributes:{class:["ck",r(203)]},children:[{text:o.to(r(224))}]},{tag:r(214),attributes:{class:["ck",r(177)]},children:[{tag:"ul",attributes:{class:["ck",r(173)]},children:a}]},this[r(226)]],on:{click:o.to((t=>{const e=r;t[e(181)][e(188)](e(216))||this[e(211)]&&this[e(193)]&&this[e(215)](e(179),{id:this.id})}))}}]})}[Ye(184)](){const t=Ye;super[t(184)]();const e=this[t(197)][t(229)][t(218)];this[t(228)](e,t(230),(()=>{const i=t;this[i(221)]&&!e[i(222)]||this[i(215)](i(194),{id:this.id,name:e[i(222)]}),e[i(222)]||(e[i(222)]=this[i(238)]?this[i(238)]:this[i(224)])}))}[Ye(179)](){this[Ye(204)]=!0}[Ye(225)](){this[Ye(204)]=!1}[Ye(223)](){this[Ye(191)]=!0}[Ye(210)](){this[Ye(191)]=!1}}function Je(){const t=["from","name","creator","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision-wrapper","303135hxSNSx","isActionsDropdownOpen","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__actions_dropdown_open","select","ck-revision-history-sidebar__revision_highlighted","srcElement","filter","11fuswWk","render","20SVtFgk","ck-revision-history-sidebar__revision","4978JqwxzU","closest","setTemplate","isConfirm","isHighlighted","130575WLNdhm","isEnabled","setName","ck-disabled","2000048GeRrrM","revisionNameView","6kjDiqp","unshift","ck-reset","createdAt","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision__date","isSelected","19329iQvsmN","88ktsbnM","extendTemplate","uiLanguage","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","unhighlight","isReady","set","span","div","fire",".ck-thread__remove-confirm","76tWtWUM","element","length","bind","_requireRevisionName","value","highlight","_createdAtFormatted","deselect","revisionActionsView","2933196XKpkns","listenTo","fieldView","change","_revision","authors","bindTemplate","map","220","1070541OqpGON"];return(Je=function(){return t})()}class Ke extends Error{}class Xe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Qe extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Ke{}class ii extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class si extends Ke{}class ni extends Ke{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ri={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ai{get type(){throw new ni}get name(){throw new ni}get ianaName(){return this.name}get isUniversal(){throw new ni}offsetName(t,e){throw new ni}formatOffset(t,e){throw new ni}offset(t){throw new ni}equals(t){throw new ni}get isValid(){throw new ni}}let Di=null;class Mi extends Ai{static get instance(){return null===Di&&(Di=new Mi),Di}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(t,e,i)}formatOffset(t,e){return sn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Vi=new Map;const Ei={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class Fi extends Ai{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new Fi(t)),e}static resetCache(){Ci.clear(),Vi.clear()}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=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(t,e,i,this.name)}formatOffset(t,e){return sn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Vi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Vi.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=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=Ei[e];"era"===e?s[r]=n:Ds(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"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Ys({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let ji={};const Li=new Map;function Pi(t,e={}){const i=JSON.stringify([t,e]);let s=Li.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Li.set(i,s)),s}const zi=new Map;const Wi=new Map;let Ui=null;const Hi=new Map;function Zi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const qi=new Map;function $i(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Bi{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=zi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),zi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return zs(this.floor?Math.floor(t):Zs(t,3),this.padTo)}}class Yi{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&&Fi.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=Pi(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 Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Es()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Wi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(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 Ji={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||ps.defaultLocale,o=r||(n?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||ps.defaultNumberingSystem,c=i||ps.defaultOutputCalendar,u=Ls(s)||ps.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Ui=null,Li.clear(),zi.clear(),Wi.clear(),Hi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ki.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=Pi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Pi(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"===Zi(t.locale).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?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ls(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 $i(this,t,cn,(()=>{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=ho.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 $i(this,t,dn,(()=>{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=ho.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return $i(this,void 0,(()=>fn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return $i(this,t,gn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.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 Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=ji[i];return s||(s=new Intl.ListFormat(t,e),ji[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Zi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Cs()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ji,...e}),qi.set(t,e)}return e}(this.locale):Ji}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 Xi=null;class Qi extends Ai{static get utcInstance(){return null===Xi&&(Xi=new Qi(0)),Xi}static instance(t){return 0===t?Qi.utcInstance:new Qi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Qi(Qs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${sn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${sn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return sn(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 ts extends Ai{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 es(t,e){if(Ds(t)||null===t)return e;if(t instanceof Ai)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Mi.instance:"utc"===i||"gmt"===i?Qi.utcInstance:Qi.parseSpecifier(i)||Fi.create(t)}return Ms(t)?Qi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new ts(t)}const is={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ss={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]},ns=is.hanidec.replace(/[\[|\]]/g,"").split("");const rs=new Map;function os({numberingSystem:t},e=""){const i=t||"latn";let s=rs.get(i);void 0===s&&(s=new Map,rs.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${is[i]}${e}`),s.set(e,n)),n}let as,cs=()=>Date.now(),us="system",ls=null,hs=null,ds=null,fs=60,ms=null;class ps{static get now(){return cs}static set now(t){cs=t}static set defaultZone(t){us=t}static get defaultZone(){return es(us,Mi.instance)}static get defaultLocale(){return ls}static set defaultLocale(t){ls=t}static get defaultNumberingSystem(){return hs}static set defaultNumberingSystem(t){hs=t}static get defaultOutputCalendar(){return ds}static set defaultOutputCalendar(t){ds=t}static get defaultWeekSettings(){return ms}static set defaultWeekSettings(t){ms=Ls(t)}static get twoDigitCutoffYear(){return fs}static set twoDigitCutoffYear(t){fs=t%100}static get throwOnInvalid(){return as}static set throwOnInvalid(t){as=t}static resetCaches(){Ki.resetCache(),Fi.resetCache(),ho.resetCache(),rs.clear()}}class vs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const gs=[0,31,59,90,120,151,181,212,243,273,304,334],ys=[0,31,60,91,121,152,182,213,244,274,305,335];function ks(t,e){return new vs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function bs(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 ws(t,e,i){return i+(qs(t)?ys:gs)[e-1]}function _s(t,e){const i=qs(t)?ys:gs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function Is(t,e){return(t-e+7)%7+1}function Ss(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ws(s,n,r),a=Is(bs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Js(c,e,i)):u>Js(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...nn(t)}}function Os(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Is(bs(s,1,e),i),a=$s(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=$s(c)):u>a?(c=s+1,u-=$s(s)):c=s;const{month:l,day:h}=_s(c,u);return{year:c,month:l,day:h,...nn(t)}}function Ts(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ws(e,i,s),...nn(t)}}function xs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=_s(e,i);return{year:e,month:s,day:n,...nn(t)}}function Ns(t,e){if(!Ds(t.localWeekday)||!Ds(t.localWeekNumber)||!Ds(t.localWeekYear)){if(!Ds(t.weekday)||!Ds(t.weekNumber)||!Ds(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Ds(t.localWeekday)||(t.weekday=t.localWeekday),Ds(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Ds(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 Rs(t){const e=Vs(t.year),i=Ps(t.month,1,12),s=Ps(t.day,1,Bs(t.year,t.month));return e?i?!s&&ks("day",t.day):ks("month",t.month):ks("year",t.year)}function As(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Ps(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Ps(i,0,59),a=Ps(s,0,59),c=Ps(n,0,999);return r?o?a?!c&&ks("millisecond",n):ks("second",s):ks("minute",i):ks("hour",e)}function Ds(t){return void 0===t}function Ms(t){return"number"==typeof t}function Vs(t){return"number"==typeof t&&t%1==0}function Es(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Fs(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 js(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ls(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Ps(t.firstDay,1,7)||!Ps(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Ps(t,1,7))))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ps(t,e,i){return Vs(t)&&t>=e&&t<=i}function zs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ws(t){return Ds(t)||null===t||""===t?void 0:parseInt(t,10)}function Us(t){return Ds(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Ds(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Zs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function qs(t){return t%4==0&&(t%100!=0||t%400==0)}function $s(t){return qs(t)?366:365}function Bs(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ys(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 Gs(t,e,i){return-Is(bs(t,1,e),i)+e-1}function Js(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return($s(t)-s+n)/7}function Ks(t){return t>99?t:t>ps.twoDigitCutoffYear?1900+t:2e3+t}function Xs(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 Qs(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 tn(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function en(t,e){const i={};for(const s in t)if(js(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=tn(n)}return i}function sn(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}${zs(i,2)}:${zs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${zs(i,2)}${zs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function nn(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const rn=["January","February","March","April","May","June","July","August","September","October","November","December"],on=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],an=["J","F","M","A","M","J","J","A","S","O","N","D"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];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 un=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ln=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hn=["M","T","W","T","F","S","S"];function dn(t){switch(t){case"narrow":return[...hn];case"short":return[...ln];case"long":return[...un];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fn=["AM","PM"],mn=["Before Christ","Anno Domini"],pn=["BC","AD"],vn=["B","A"];function gn(t){switch(t){case"narrow":return[...vn];case"short":return[...pn];case"long":return[...mn];default:return null}}function yn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const kn={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:Ti,ffff:Ni,F:_i,FF:Si,FFF:xi,FFFF:Ri};class bn{static create(t,e={}){return new bn(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 kn[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 zs(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 fn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return cn(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return dn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return yn(bn.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=bn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return yn(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 wn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _n(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function In(...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 Sn(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 On(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ws(e[i+n]);return[s,null,i+n]}}const Tn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Nn=RegExp(`${xn.source}${`(?:${Tn.source}?(?:\\[(${wn.source})\\])?)?`}`),Rn=RegExp(`(?:T${Nn.source})?`),An=On("weekYear","weekNumber","weekDay"),Dn=On("year","ordinal"),Mn=RegExp(`${xn.source} ?(?:${Tn.source}|(${wn.source}))?`),Vn=RegExp(`(?: ${Mn.source})?`);function En(t,e,i){const s=t[e];return Ds(s)?i:Ws(s)}function Cn(t,e){return[{hours:En(t,e,0),minutes:En(t,e+1,0),seconds:En(t,e+2,0),milliseconds:Hs(t[e+3])},null,e+4]}function Fn(t,e){const i=!t[e]&&!t[e+1],s=Qs(t[e+1],t[e+2]);return[{},i?null:Qi.instance(s),e+3]}function jn(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const Ln=RegExp(`^T?${xn.source}$`),Pn=/^-?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 zn(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(Us(i)),months:d(Us(s)),weeks:d(Us(n)),days:d(Us(r)),hours:d(Us(o)),minutes:d(Us(a)),seconds:d(Us(c),"-0"===c),milliseconds:d(Hs(u),h)}]}const Wn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Un(t,e,i,s,n,r,o){const a={year:2===e.length?Ks(Ws(e)):Ws(e),month:on.indexOf(i)+1,day:Ws(s),hour:Ws(n),minute:Ws(r)};return o&&(a.second=Ws(o)),t&&(a.weekday=t.length>3?un.indexOf(t)+1:ln.indexOf(t)+1),a}const Hn=/^(?:(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 Zn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Un(e,n,s,i,r,o,a);let f;return f=c?Wn[c]:u?0:Qs(l,h),[d,new Qi(f)]}const qn=/^(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$/,$n=/^(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$/,Bn=/^(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 Yn(t){const[,e,i,s,n,r,o,a]=t;return[Un(e,n,s,i,r,o,a),Qi.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Un(e,a,i,s,n,r,o),Qi.utcInstance]}const Jn=_n(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Kn=_n(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Xn=_n(/(\d{4})-?(\d{3})/,Rn),Qn=_n(Nn),tr=In((function(t,e){return[{year:En(t,e),month:En(t,e+1,1),day:En(t,e+2,1)},null,e+3]}),Cn,Fn,jn),er=In(An,Cn,Fn,jn),ir=In(Dn,Cn,Fn,jn),sr=In(Cn,Fn,jn);const nr=In(Cn);const rr=_n(/(\d{4})-(\d\d)-(\d\d)/,Vn),or=_n(Mn),ar=In(Cn,Fn,jn);const cr="Invalid Duration",ur={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}},lr={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},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,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:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(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 kr(s)}function gr(t,e){let i=e.milliseconds??0;for(const s of pr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight(((s,n)=>{if(Ds(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),mr.reduce(((i,s)=>{if(Ds(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return kr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kr({values:en(t,kr.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ms(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Sn(t,[Pn,zn])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Sn(t,[Ln,nr])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new ti(i);return new kr({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 ii(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?bn.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map((e=>{const i=this.values[e];return Ds(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+=Zs(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 ho.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?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(js(e.values,t)||js(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.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]=tn(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...en(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return vr(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 yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(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=>kr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of mr)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;Ms(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ms(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 yr(this.matrix,e),vr(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 vr(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 mr)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 br="Invalid Interval";class wr{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 si("need to specify a reason the Interval is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Qe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),s=fo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.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:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,s);return null==n?new wr({start:i,end:s}):n}static after(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.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=ho.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=ho.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return wr.fromDateTimes(t,r);if(n){const i=kr.fromISO(s,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):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?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).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(wr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=kr.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(wr.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:wr.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 wr.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(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(s)}difference(...t){return wr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[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=ci,e={}){return this.isValid?bn.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=ps.defaultZone){const e=ho.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return es(t,ps.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ki.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ki.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Es(),localeWeek:Cs()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(kr.fromMillis(s).as("days"))}function Sr(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=Ir(t,e);return(i-i%7)/7}],["days",Ir]],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=kr.fromObject(r,s);return u.length>0?kr.fromMillis(c,s).shiftTo(...u).plus(l):l}function Or(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(is.hanidec))e+=ns.indexOf(t[i]);else for(const t in ss){const[i,n]=ss[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,xr=new RegExp(Tr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(xr,Tr)}function Rr(t){return t.replace(/\./g,"").replace(xr," ").toLowerCase()}function Ar(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex((t=>Rr(i)===Rr(t)))+e}}function Dr(t,e){return{regex:t,deser:([,t,e])=>Qs(t,e),groups:e}}function Mr(t){return{regex:t,deser:([t])=>t}}const Vr={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 Er=null;function Cr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Lr(bn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Cr(bn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=os(e),s=os(e,"{2}"),n=os(e,"{3}"),r=os(e,"{4}"),o=os(e,"{6}"),a=os(e,"{1,2}"),c=os(e,"{1,3}"),u=os(e,"{1,6}"),l=os(e,"{1,9}"),h=os(e,"{2,4}"),d=os(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 Ar(e.eras("short"),0);case"GG":return Ar(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Ks);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(s);case"MMM":return Ar(e.months("short",!0),1);case"MMMM":return Ar(e.months("long",!0),1);case"LLL":return Ar(e.months("short",!1),1);case"LLLL":return Ar(e.months("long",!1),1);case"o":case"S":return Or(c);case"ooo":case"SSS":return Or(n);case"u":return Mr(l);case"uu":return Mr(a);case"uuu":case"E":case"c":return Or(i);case"a":return Ar(e.meridiems(),0);case"EEE":return Ar(e.weekdays("short",!1),1);case"EEEE":return Ar(e.weekdays("long",!1),1);case"ccc":return Ar(e.weekdays("short",!0),1);case"cccc":return Ar(e.weekdays("long",!0),1);case"Z":case"ZZ":return Dr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Dr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Mr(/[a-z_+-/]{1,256}?/i);case" ":return Mr(/[^\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(js(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;Ds(t.z)||(i=Fi.create(t.z)),Ds(t.Z)||(i||(i=new Qi(t.Z)),e=t.Z),Ds(t.q)||(t.M=3*(t.q-1)+1),Ds(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),Ds(t.u)||(t.S=Hs(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(js(i,"a")&&js(i,"H"))throw new ei("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 jr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=bn.create(e,t).dtFormatter((Er||(Er=ho.fromMillis(1555555555555)),Er)),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=Vr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Pr="Invalid DateTime",zr=864e13;function Wr(t){return new vs("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=Ss(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Ss(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Zr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...i,...e,old:i})}function qr(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 $r(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 Br(t,e,i){return qr(Ys(t),e,i)}function Yr(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,Bs(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=kr.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=Ys(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(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=ho.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return ho.invalid(new vs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Jr(t,e,i=!0){return t.isValid?bn.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=zs(t.c.year,i?6:4),e?(s+="-",s+=zs(t.c.month),s+="-",s+=zs(t.c.day)):(s+=zs(t.c.month),s+=zs(t.c.day)),s}function Xr(t,e,i,s,n,r){let o=zs(t.c.hour);return e?(o+=":",o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=zs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zs(Math.trunc(-t.o/60)),o+=":",o+=zs(Math.trunc(-t.o%60))):(o+="+",o+=zs(Math.trunc(t.o/60)),o+=":",o+=zs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Qr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],no=["year","ordinal","hour","minute","second","millisecond"];function ro(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 ii(t);return e}(t)}}function oo(t,e){const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Wr(i));const s=Ki.fromObject(e);let n,r;if(Ds(t.year))n=ps.now();else{for(const e of io)Ds(t[e])&&(t[e]=Qr[e]);const e=Rs(t)||As(t);if(e)return ho.invalid(e);const s=function(t){if(void 0===uo&&(uo=ps.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[n,r]=Br(t,s,i)}return new ho({ts:n,zone:i,loc:s,o:r})}function ao(t,e,i){const s=!!Ds(i.round)||i.round,n=(t,n)=>{t=Zs(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 co(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 uo;const lo=new Map;class ho{constructor(t){const e=t.zone||ps.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new vs("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Ds(t.ts)?ps.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=Ms(t.o)&&!t.old?t.o:e.offset(this.ts);s=$r(this.ts,r),i=Number.isNaN(s.year)?new vs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return oo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Qi.utcInstance,oo({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 ho.invalid("invalid input");const n=es(e.zone,ps.defaultZone);return n.isValid?new ho({ts:i,zone:n,loc:Ki.fromObject(e)}):ho.invalid(Wr(n))}static fromMillis(t,e={}){if(Ms(t))return t<-zr||t>zr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:es(e.zone,ps.defaultZone),loc:Ki.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ms(t))return new ho({ts:1e3*t,zone:es(e.zone,ps.defaultZone),loc:Ki.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Wr(i));const s=Ki.fromObject(e),n=en(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=Ns(n,s),a=ps.now(),c=Ds(e.specificOffset)?i.offset(a):e.specificOffset,u=!Ds(n.ordinal),l=!Ds(n.year),h=!Ds(n.month)||!Ds(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=$r(a,c);m?(p=so,v=to,g=Ss(g,r,o)):u?(p=no,v=eo,g=Ts(g)):(p=io,v=Qr);let y=!1;for(const t of p){Ds(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Vs(t.weekYear),n=Ps(t.weekNumber,1,Js(t.weekYear,e,i)),r=Ps(t.weekday,1,7);return s?n?!r&&ks("weekday",t.weekday):ks("week",t.weekNumber):ks("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Vs(t.year),i=Ps(t.ordinal,1,$s(t.year));return e?!i&&ks("ordinal",t.ordinal):ks("year",t.year)}(n):Rs(n),b=k||As(n);if(b)return ho.invalid(b);const w=m?Os(n,r,o):u?xs(n):n,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return Sn(t,[Jn,tr],[Kn,er],[Xn,ir],[Qn,sr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return Sn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hn,Zn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return Sn(t,[qn,Yn],[$n,Yn],[Bn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Ds(t)||Ds(e))throw new si("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=jr(t,e,i);return[s,n,r,o]}(r,t,e);return u?ho.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return Sn(t,[rr,tr],[or,ar])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Xe(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Ki.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Cr(bn.parseFormat(t),Ki.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){uo=void 0,lo.clear()}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?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?Ts(this.c).ordinal:NaN}get monthShort(){return this.isValid?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.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=Ys(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=$r(a,r),l=$r(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Zr(this,{ts:a}),Zr(this,{ts:c})]:[this]}get isInLeapYear(){return qs(this.year)}get daysInMonth(){return Bs(this.year,this.month)}get daysInYear(){return this.isValid?$s(this.year):NaN}get weeksInWeekYear(){return this.isValid?Js(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Js(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=bn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Qi.instance(t),e)}toLocal(){return this.setZone(ps.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=es(t,ps.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]=Br(i,e,t)}return Zr(this,{ts:s,zone:t})}return ho.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Zr(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=en(t,ro),{minDaysInFirstWeek:i,startOfWeek:s}=Ns(e,this.loc),n=!Ds(e.weekYear)||!Ds(e.weekNumber)||!Ds(e.weekday),r=!Ds(e.ordinal),o=!Ds(e.year),a=!Ds(e.month)||!Ds(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;n?l=Os({...Ss(this.c,i,s),...e},i,s):Ds(e.ordinal)?(l={...this.toObject(),...e},Ds(e.day)&&(l.day=Math.min(Bs(l.year,l.month),l.day))):l=xs({...Ts(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Zr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=kr.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?bn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bn.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bn.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=Kr(this,r);return o+="T",o+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Jr(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":"")+Xr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Jr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Jr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(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")),Jr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Pr}[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 kr.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(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.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||ho.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),ao(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new si("min requires all arguments be DateTimes");return Fs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new si("max requires all arguments be DateTimes");return Fs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return jr(Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ki.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Fr(n,t)}static fromFormatParser(t,e,i={}){if(Ds(t)||Ds(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`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?ho.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return xi}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&Ms(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(){const t=["hasSame","5024868WolxAV","fromJSDate","local","2110840kWTUGh","startOf","setLocale","toJSDate","105mjKrtB","41620cQeLte","7504686dnYNhm","day","2028840RTDszm","14zAqrgG","monthLong","186380KHIISK","month","weekdayLong","year","10LmFZLi","toRelativeCalendar","minus","week","5068740XFJbVw"];return(mo=function(){return t})()}function po(t,e){const i=mo();return(po=function(t,e){return i[t-=451]})(t,e)}function vo(t,e){const i=po,s=ho[i(464)](t)[i(468)](e),n=ho[i(465)](),r=n[i(459)]({days:1})[i(467)](i(473));let o,a;return s[i(462)](n,i(473))?(o=s[i(467)](i(473))[i(469)](),a=s[i(458)]()):s[i(462)](r,i(473))?(o=r[i(469)](),a=s[i(458)]()):s[i(462)](n,i(460))?(o=s[i(467)](i(460))[i(469)](),a=s[i(455)]||""):s[i(462)](n,i(456))?(o=s[i(467)](i(454))[i(469)](),a=s[i(452)]||""):(o=s[i(467)](i(456))[i(469)](),a=String(s[i(456)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(801861===parseInt(e(453))/1*(-parseInt(e(457))/2)+parseInt(e(470))/3*(-parseInt(e(471))/4)+parseInt(e(474))/5+parseInt(e(463))/6+-parseInt(e(451))/7*(-parseInt(e(466))/8)+parseInt(e(472))/9+-parseInt(e(461))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mo);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=At(),yo.insert=Nt().bind(null,"head"),yo.domAPI=Tt(),yo.insertStyleElement=Mt();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;const ko=bo;function bo(t,e){const i=wo();return(bo=function(t,e){return i[t-=311]})(t,e)}function wo(){const t=["revisionViews","removeRevision","1734880LIVHuA","_requireRevisionName","setTemplate","438684IoFgTc","delegate","locale","ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period__revisions","uiLanguage","15810599tNwtjC","remove","localizedPeriodName","setName","createCollection","_revisionActions","8XhSNiB","add","347569SUlvzk","addRevision","select","span","startDate","4060422fjMfpr","7441344EHhvBE","3469030FBccLj","div","find"];return(wo=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(965915===parseInt(e(314))/1+parseInt(e(326))/2+parseInt(e(319))/3+parseInt(e(329))/4+-parseInt(e(321))/5+parseInt(e(320))/6+parseInt(e(336))/7*(-parseInt(e(312))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class _o extends _t.View{[ko(318)];[ko(324)];[ko(311)];[ko(327)];constructor(t,e,i,s){const n=ko;super(t);const r=vo(e,this[n(331)][n(335)])[n(338)];this[n(318)]=e,this[n(324)]=this[n(340)](),this[n(311)]=i,this[n(327)]=s,this[n(324)][n(330)](n(316)).to(this),this[n(324)][n(330)](n(339)).to(this),this[n(328)]({tag:n(322),attributes:{class:["ck",n(332)]},children:[{tag:n(317),attributes:{class:["ck",n(333)]},children:[{text:r}]},{tag:n(322),attributes:{class:["ck",n(334)]},children:this[n(324)]}]})}[ko(315)](t){const e=ko,i=new Ge(this[e(331)],t,this[e(311)],this[e(327)]);this[e(324)][e(313)](i)}[ko(325)](t){const e=ko,i=this[e(324)][e(323)]((e=>e.id===t.id));this[e(324)][e(337)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=At(),So.insert=Nt().bind(null,"head"),So.domAPI=Tt(),So.insertStyleElement=Mt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(){const t=["7711344KxhqWc","setTemplate","11TAPvaF","ck-revision-history-sidebar__header__label","Revision history","9072rRBHvL","7518666mntFXr","ck-reset_all","content","9295210PcaqoX","ck-revision-history-sidebar__header","1169kDdXmx","1831204UCHVRI","202525utvzJp","132sBaasG","1vAqPJh","div","span","46952xGrwPQ"];return(Oo=function(){return t})()}function To(t,e){const i=Oo();return(To=function(t,e){return i[t-=166]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(741942===parseInt(e(171))/1*(parseInt(e(168))/2)+parseInt(e(180))/3+parseInt(e(170))/4*(parseInt(e(169))/5)+parseInt(e(181))/6+-parseInt(e(167))/7*(parseInt(e(174))/8)+-parseInt(e(175))/9+parseInt(e(184))/10*(-parseInt(e(177))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class xo extends _t.View{constructor(t){const e=To;super(t);const i=new _t.IconView;i[e(183)]=wt.IconHistory,this[e(176)]({tag:e(172),attributes:{class:["ck",e(182),e(166)]},children:[i,{tag:e(173),attributes:{class:["ck",e(178)]},children:[ot(t,e(179))]}]})}}var No=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=At(),Ro.insert=Nt().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Mt();St()(No.A,Ro);No.A&&No.A.locals&&No.A.locals;function Ao(){const t=["revisionSetName","2809305wXUYHP","7xtHmEC","662658lNIhAP","div","revisionSelected","getTime","ck-revision-history-sidebar__timeline","setName","get","_removeRevision","ck-reset","remove","add","_getTimePeriodViewByStartDate","10eQFzHQ","_revisions","fire","uiLanguage","highlight","flat","ck-revision-history-sidebar","827916TkKFmo","timePeriodViews","select","removeRevision","deselect","revisionViews","isEnabled","ck-rounded-corners","1637560KLpbkV","delegate","395808pkRWMh","startDate","some","bindTemplate","ck-disabled","_revisionActions","setTemplate","_requireRevisionName","map","set","6422757pCpipw","unhighlight","createdAt","locale","render","highlightRevisions","addRevision","createCollection","find","39230pgUEYB","5pbOhXH","2ITmdCD","_addRevision","selectRevision"];return(Ao=function(){return t})()}function Do(t,e){const i=Ao();return(Do=function(t,e){return i[t-=207]})(t,e)}const Mo=Do;!function(t){const e=Do,i=t();for(;;)try{if(172726===-parseInt(e(215))/1+parseInt(e(217))/2*(-parseInt(e(242))/3)+-parseInt(e(252))/4+-parseInt(e(216))/5*(-parseInt(e(223))/6)+parseInt(e(222))/7*(parseInt(e(250))/8)+-parseInt(e(221))/9+-parseInt(e(235))/10*(-parseInt(e(262))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class Vo extends _t.View{[Mo(243)];[Mo(236)];[Mo(257)];[Mo(259)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(255)];this[n(243)]=this[n(213)](),this[n(243)][n(251)](n(244)).to(this),this[n(243)][n(251)](n(228)).to(this),this[n(236)]=e,this[n(257)]=i,this[n(259)]=s,this.on(n(244),((t,e)=>{const i=n;this[i(237)](i(225),e)})),this.on(n(228),((t,e)=>{const i=n;this[i(237)](i(220),e)})),this[n(261)](n(248),!1),this[n(258)]({tag:n(224),attributes:{class:["ck",n(231),n(249),n(241)]},children:[new xo(t),{tag:n(224),attributes:{class:["ck",n(227),r.if(n(248),n(256),(t=>!t))]},children:this[n(243)]}]})}[Mo(210)](){const t=Mo;super[t(210)]();for(const e of this[t(236)])this[t(218)](e);this[t(236)].on(t(233),((e,i)=>{this[t(218)](i)})),this[t(236)].on(t(232),((e,i)=>{this[t(230)](i)}))}get[Mo(247)](){const t=Mo;return this[t(243)][t(260)]((e=>e[t(247)][t(260)]((t=>t))))[t(240)]()}[Mo(219)](t){const e=Mo;for(const i of this[e(247)])t&&t.id===i.id?i[e(244)]():i[e(246)]()}[Mo(211)](t){const e=Mo;for(const i of this[e(247)])t[e(254)]((({id:t})=>t===i.id))?i[e(239)]():i[e(207)]()}[Mo(218)](t){const e=Mo,i=vo(t[e(208)],this[e(209)][e(238)])[e(253)];let s=this[e(243)][e(229)](0);s&&s[e(253)][e(226)]()===i[e(226)]()||(s=new _o(this[e(209)],i,this[e(257)],this[e(259)]),this[e(243)][e(233)](s)),s[e(212)](t)}[Mo(230)](t){const e=Mo,i=vo(t[e(208)],this[e(209)][e(238)])[e(253)];this[e(234)](i)[e(245)](t)}[Mo(234)](t){const e=Mo;return this[e(243)][e(214)]((i=>i[e(253)][e(226)]()===t[e(226)]()))}}function Eo(){const t=["listenTo","isVisible","isSelected","select","change:diff","revisionSetName","setName","data","remove","timePeriodViews","isOfficialPlugin","_createRevisionActions","getLaterVisibleRevision","assign","_revisions","2507515wTNrWR","editor","nameRevision","getIndex","get","revisionHistory.requireRevisionName","bind","isEnabled","newRevisionId","_handleRevisionSelected","_handleRevisionSetName","_revisionViewer","5440323kMyocG","defaultRevisionActions","isReady","restoreRevisionCallback","_handleDiffChange","restoreRevision","compareAgainstSelected","selectRevision","28886600bQQOWr","Name this revision","Compare against selected","map","getEarlierVisibleRevision","render","focus","config","revisionHistory.viewerSidebarContainer","23130zVsWvr","RevisionsSidebar","ready","compare","79953TistUY","9362240ArpXqv","destroy","pluginName","element","plugins","revisionSelected","getRevision","revisionHistory.revisionActions","_sidebarView","isPremiumPlugin","action","_handleEditorDataReady","6749235KhDBvv","name","revisionHistory","length","102azWPgY","init","repository","getRevisionsInDiff","locale","highlightRevisions","string","6SRkYxw","availableRevisionActions","_revisionsRepository","fieldView","add","requires","diff","24bIvJxI","appendChild","revisionViews","Restore this revision"];return(Eo=function(){return t})()}const Co=Fo;function Fo(t,e){const i=Eo();return(Fo=function(t,e){return i[t-=331]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(646757===parseInt(e(398))/1*(parseInt(e(336))/2)+-parseInt(e(402))/3*(-parseInt(e(350))/4)+parseInt(e(369))/5*(-parseInt(e(343))/6)+parseInt(e(381))/7+parseInt(e(403))/8+parseInt(e(332))/9+-parseInt(e(389))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class jo extends G.Plugin{[Co(380)];[Co(345)];[Co(411)];static[Co(382)]=[Co(387),Co(386),Co(371)];static[Co(344)]=function(){const t=Co;return{compareAgainstSelected:{name:t(391),action:({plugins:e},i)=>{const s=t,n=e[s(373)](ce),r=n[s(338)];let o=n[s(349)][s(377)],a=i.id;r[s(372)](o)>r[s(372)](a)&&([o,a]=[a,o]),n[s(401)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(373)](ce);return!(n[s(338)][s(339)](n[s(349)])[s(335)]>2||i[s(356)])}},restoreRevision:{name:t(353),action:(e,{id:i})=>{const s=t;e[s(396)][s(373)](s(334))[s(384)](i)},isVisible:({plugins:e},i)=>!!e[t(373)](ce)[t(338)][t(366)](i.id)},nameRevision:{name:t(390),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(373)](ce),o=r[n(338)][n(393)](i);r[n(401)](i,o),s[n(395)](),s[n(346)][n(357)]()}}}}();static get[Co(405)](){return Co(399)}static get[Co(364)](){return!0}static get[Co(412)](){return!0}static get[Co(348)](){return[ce]}constructor(t){const e=Co;super(t),this[e(380)]=t[e(407)][e(373)](ce),this[e(345)]=this[e(380)][e(338)],this[e(411)]=null}[Co(337)](){const t=Co,e=this[t(345)][t(368)],i=this[t(365)](),s=this[t(370)][t(396)][t(373)](t(397));this[t(411)]=new Vo(this[t(370)][t(340)],e,i,this[t(370)][t(396)][t(373)](t(374))),this[t(411)].on(t(408),this[t(378)][t(375)](this)),this[t(411)].on(t(359),this[t(379)][t(375)](this)),this[t(411)][t(375)](t(376)).to(this[t(380)]),this[t(411)][t(363)].on(t(347),((e,i)=>{const s=t;i[s(352)].on(s(347),((t,e)=>{const i=s;e[i(375)](i(376),i(383)).to(this[i(380)])}))})),this[t(411)][t(394)](),this[t(354)](this[t(370)][t(361)],t(400),this[t(331)][t(375)](this)),this[t(354)](this[t(380)],t(358),this[t(385)][t(375)](this)),s[t(351)](this[t(411)][t(406)])}[Co(404)](){const t=Co;this[t(411)][t(406)][t(362)](),this[t(411)][t(404)]()}[Co(331)](){const t=Co,e=this[t(345)][t(409)](0);if(e){const i=this[t(345)][t(393)](e.id);this[t(380)][t(401)](e,i)}}[Co(378)](t,e){const i=Co,s=this[i(345)][i(409)](e.id),n=this[i(345)][i(393)](s.id);this[i(380)][i(401)](s,n)}[Co(379)](t,e){const i=Co;this[i(345)][i(409)](e.id)[i(360)](e[i(333)])}[Co(385)](t,e,i){const s=Co,n=this[s(345)][s(339)](i);n[s(335)]>2?(this[s(411)][s(341)](n),this[s(411)][s(388)](null)):(this[s(411)][s(341)]([]),this[s(411)][s(388)](n[0]))}[Co(365)](){const t=Co,e=this[t(370)],i=jo[t(344)],s=e[t(396)][t(373)](t(410))||jo[t(382)];if(s[t(335)])return s[t(392)]((s=>{const n=t,r=n(342)==typeof s?Object[n(367)]({},i[s]):s;return r[n(413)]=r[n(413)][n(375)](this,e),r[n(355)]&&(r[n(355)]=r[n(355)][n(375)](this,e)),r}))}}function Lo(){const t=["_initToolbar","ready","setEditableElement","name","document","123vqLghp","getRoot","focusTracker","5qGImOY","620585fnFtMN","20086Uysmxu","editor","addToolbar","toolbar","1576386kOihvK","stickyPanel","attachDomRoot","element","get","destroy","viewportOffset","bind","31576kbZwIB","_view","limiterElement","editing","_toolbarConfig","276FRVnEZ","isFocused","_elementReplacer","componentFactory","3990830nzjsjO","init","711hKLrAr","detachDomRoot","isActive","replace","38404uqjsfi","fire","rootName","30MJiOWm","19504xRybRn","restore","fillFromConfig","viewportTopOffset","render","editable","config","view"];return(Lo=function(){return t})()}function Po(t,e){const i=Lo();return(Po=function(t,e){return i[t-=497]})(t,e)}const zo=Po;!function(t){const e=Po,i=t();for(;;)try{if(266902===-parseInt(e(529))/1*(-parseInt(e(511))/2)+parseInt(e(543))/3*(-parseInt(e(526))/4)+parseInt(e(497))/5*(parseInt(e(503))/6)+parseInt(e(498))/7+parseInt(e(530))/8*(parseInt(e(522))/9)+-parseInt(e(520))/10+-parseInt(e(499))/11*(-parseInt(e(516))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Wo extends _t.EditorUI{[zo(512)];[zo(515)];[zo(518)];get[zo(537)](){return this[zo(512)]}constructor(e,i){const s=zo;super(e),this[s(512)]=i,this[s(515)]=(0,_t.normalizeToolbarConfig)(e[s(536)][s(507)](s(502))),this[s(518)]=new t.ElementReplacer}get[zo(506)](){const t=zo;return this[t(537)][t(506)]}[zo(521)](t){const e=zo,i=this[e(500)],s=this[e(537)],n=i[e(514)][e(537)],r=s[e(535)],o=n[e(542)][e(544)]();r[e(541)]=o[e(528)],s[e(534)]();const a=r[e(506)];this[e(540)](r[e(541)],a),s[e(535)][e(510)](e(517)).to(this[e(545)]),n[e(505)](a),this[e(518)][e(525)](t,this[e(506)]),this[e(538)](),this[e(527)](e(539))}[zo(508)](){const t=zo;super[t(508)]();const e=this[t(537)],i=this[t(500)][t(514)][t(537)];this[t(518)][t(531)](),i[t(523)](e[t(535)][t(541)]),e[t(508)]()}[zo(538)](){const t=zo,e=this[t(537)];e[t(504)][t(510)](t(524)).to(this[t(545)],t(517)),e[t(504)][t(513)]=e[t(506)],e[t(504)][t(510)](t(533)).to(this,t(509),(({top:t})=>t)),e[t(502)][t(532)](this[t(515)],this[t(519)]),this[t(501)](e[t(502)])}}var Uo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=At(),Ho.insert=Nt().bind(null,"head"),Ho.domAPI=Tt(),Ho.insertStyleElement=Mt();St()(Uo.A,Ho);Uo.A&&Uo.A.locals&&Uo.A.locals;var Zo=qo;function qo(t,e){var i=$o();return(qo=function(t,e){return i[t-=383]})(t,e)}function $o(){var t=["render","shouldToolbarGroupWhenFull","76661jEmWwl","_editable","62480wDxdzb","7EItQRu","41264oNQpRY","8wIjYDL","main","editable","948vAIMnW","11312865nTRpBl","4769619gxqZOG","285618EXqfLE","top","add","2486hpAwbe","stickyPanel","content","265wnAfpo","34DurZng","1585cFKbVe","toolbar"];return($o=function(){return t})()}!function(t){for(var e=qo,i=t();;)try{if(806873===-parseInt(e(387))/1*(-parseInt(e(386))/2)+parseInt(e(401))/3+-parseInt(e(395))/4*(parseInt(e(385))/5)+-parseInt(e(402))/6*(-parseInt(e(394))/7)+parseInt(e(396))/8*(-parseInt(e(400))/9)+-parseInt(e(393))/10*(-parseInt(e(405))/11)+-parseInt(e(399))/12*(parseInt(e(391))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Bo extends _t.BoxedEditorUIView{[Zo(392)];[Zo(383)];[Zo(388)];get[Zo(398)](){return this[Zo(392)]}constructor(t,e,i={}){var s=Zo;super(t),this[s(383)]=new _t.StickyPanelView(t),this[s(388)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[s(390)]}),this[s(392)]=new _t.InlineEditableUIView(t,e)}[Zo(389)](){var t=Zo;super[t(389)](),this[t(383)][t(384)][t(404)](this[t(388)]),this[t(403)][t(404)](this[t(383)]),this[t(397)][t(404)](this[t(398)])}}const Yo=Jo;function Go(){const t=["723960DqinXK","model","destroy","init","view","fire","locale","1622516dDIvab","document","initialData","get","ready","4044691idmRDt","createRoot","235664QDyaLI","2571090GRtskq","_ui","initPlugins","9863008Ujyzjm","updateSourceElement","editing","create","5XCRBzR","sourceElement","data","config","1736427BtmJdP"];return(Go=function(){return t})()}function Jo(t,e){const i=Go();return(Jo=function(t,e){return i[t-=150]})(t,e)}!function(t){const e=Jo,i=t();for(;;)try{if(444056===parseInt(e(176))/1+parseInt(e(163))/2+parseInt(e(175))/3+parseInt(e(156))/4+-parseInt(e(171))/5*(-parseInt(e(164))/6)+-parseInt(e(161))/7+-parseInt(e(167))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Yo(165)];get ui(){return this[Yo(165)]}constructor(t,e){const i=Yo;super(e),this[i(172)]=t,this[i(150)][i(157)][i(162)]();const s=new Bo(this[i(155)],this[i(169)][i(153)],{shouldToolbarGroupWhenFull:!0});this[i(165)]=new Wo(this,s)}[Yo(151)](){const t=Yo;return this[t(168)](),this.ui[t(151)](),super[t(151)]()}static async[Yo(170)](t,e){const i=Yo,s=new this(t,e);return await s[i(166)](),await s.ui[i(152)](t),await s[i(173)][i(152)](s[i(174)][i(159)](i(158))||""),s[i(154)](i(160)),s}}const Xo=Qo;function Qo(t,e){const i=ta();return(Qo=function(t,e){return i[t-=126]})(t,e)}function ta(){const t=["set","revisionHistory.restoreRevisionCallback","plugins","isAttached","_enhanceShowRevisionViewerCallback","revisionHistory.viewerContainer","none","Annotations","669029qefHQc","showRevisionViewerCallback","save","getUser","locale","_update","isOpen","restoreRevision","RevisionHistory","1340901WCCExl","removeSelectionAttribute","enqueueChange","_showRevisionViewer","map","element","isOfficialPlugin","display","getMarkersGroup","get","editor","long","name","markers","requires","1700956yUenaD","error","DocumentOutline","indexOf","revisionHistory.showRevisionViewerCallback","toolbar","DocumentOutlineUI","getRevisions","disableReadOnlyMode","update","end","revision-history-missing-configuration","selection","init","result","$graveyard","isReady","push","exitToEditing","getRevision","from","revisionHistory","Users","_enhanceCloseRevisionViewerCallback","addRevisionData","Dialog","isReadOnly","refreshPositioning","addUser","detachRoot","createdAt","toLocaleDateString","join","saveRevision","getRevisionDocumentData","RevisionHistoryUtils","isEnabled","554743mDIesO","model","getRoot","3530LcqYtk","revisionHistory.requireRevisionName","RestrictedEditingMode","2229180URuoAZ","rootName","setSelection","_viewerEditor","repository","catch","users","includes","isAnonymous","fromVersion","lazyRoots","RevisionsRepository","insert","translations","bind","revision-history-viewer-opened","remove","creator","style","getRevisionRootsAttributes","PaginationLookup","RevisionHistoryUI","document","adapter","uiLanguage","revisionHistory.closeRevisionViewerCallback","numeric","config","then","define","loadRevisionData","110SXETmN","_cleanUp","RevisionTracker","isRevisionViewerOpen","toVersion","removeMarker","RevisionViewerIntegration","refreshVisibility","change","destroy","addRoot","3459704OmxAzf","block","revisionHistory.viewerEditorElement","toLocaleTimeString","_closeRevisionViewer","getAttributeKeys","setAttribute","create","pluginName","revisionHistory.editorContainer","changesNavigation","roots","2316eBpXMd","has","_recalculatePageBreaks","view","keys","removeAttribute","restrictedEditingException","3BHPaHo","commands","createRangeIn","Restored","toJSON","parse","_getRevisionViewerEditorConfig","RevisionViewer","closeRevisionViewerCallback","hide","fromCharCode","enableReadOnlyMode","_restoreRevision","Autosave","isPremiumPlugin","data"];return(ta=function(){return t})()}!function(t){const e=Qo,i=t();for(;;)try{if(435342===-parseInt(e(159))/1+parseInt(e(183))/2*(-parseInt(e(135))/3)+parseInt(e(128))/4*(-parseInt(e(223))/5)+parseInt(e(226))/6+-parseInt(e(220))/7+parseInt(e(268))/8+parseInt(e(168))/9*(parseInt(e(257))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ea=[Xo(247),Xo(225)];class ia extends G.Plugin{[Xo(197)];static get[Xo(276)](){return Xo(263)}static get[Xo(174)](){return!0}static get[Xo(149)](){return!0}constructor(t){const e=Xo;function i(t){const e=Qo;return t[e(172)]((t=>String[e(145)](t)))[e(215)]("")}super(t),this[e(197)]=e(193),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 sa extends G.Plugin{[Xo(229)];static get[Xo(276)](){return Xo(167)}static get[Xo(174)](){return!0}static get[Xo(149)](){return!0}static get[Xo(182)](){return[mt,Ht]}constructor(e){const i=Xo;if(super(e),!this[i(178)][i(253)][i(177)](i(204)))throw new t.CKEditorError(i(194),this);this[i(229)]=null,this[i(151)](i(260),!1),this[i(178)][i(253)][i(255)](i(187),(t=>this[i(171)]({...t,translations:this[i(178)][i(163)][i(239)]}))),this[i(178)][i(253)][i(255)](i(251),(t=>this[i(272)](t))),this[i(178)][i(253)][i(255)](i(152),(t=>this[i(147)](t))),this[i(178)][i(253)][i(255)](i(224),!1),this[i(155)](),this[i(206)]()}set[Xo(249)](t){const e=Xo;this[e(178)][e(153)][e(177)](e(259))[e(249)]=t}get[Xo(249)](){const t=Xo;return this[t(178)][t(153)][t(177)](t(259))[t(249)]}[Xo(207)](t){const e=Xo;return this[e(178)][e(153)][e(177)](e(259))[e(207)](t)}[Xo(202)](t){const e=Xo;return this[e(178)][e(153)][e(177)](e(237))[e(202)](t)}[Xo(190)](t){const e=Xo;return this[e(178)][e(153)][e(177)](e(237))[e(190)](t||{toJSON:!1})}[Xo(141)](){const e=Xo,i=this[e(178)],s=(0,J.sanitizeEditorConfig)(i,ea),n=i[e(153)][e(177)](e(259)),r=i[e(153)][e(177)](e(205))[e(232)];return s[e(188)]=[e(201),e(166),e(126)],delete s[e(236)],s[e(153)][e(200)](ia,ce,xe,class extends G.Plugin{static get[e(182)](){return[ce,e(205)]}[e(196)](){const s=e,o=this[s(178)][s(153)][s(177)](s(205));for(const t of r)t[s(234)]||o[s(162)](t.id)||o[s(211)](t);const a=n[s(230)][s(190)]();let c=null;const u=this[s(178)][s(153)][s(177)](s(142));u[s(249)]=n[s(249)],u[s(240)](s(219)).to(n),this[s(178)][s(136)][s(177)](s(166))[s(240)](s(219)).to(i,s(209),(t=>!t));for(const e of a){const i=null===e[s(243)];if(i&&e[s(261)]===e[s(235)])continue;const r=e[s(139)]();u[s(207)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(164)](r,o);else if(!o){const e=a[u(139)]();e.id=(0,t.uid)(),n[u(216)](e,a[u(261)])[u(254)]((t=>{c=t}))}}else e[u(164)](r,o)}))}}},jo),s}[Xo(155)](){const t=Xo,e=this[t(178)][t(253)][t(177)](t(204))[t(160)];this[t(178)][t(253)][t(151)](t(187),(async()=>{const i=t;this[i(178)][i(146)](i(241));const s=this[i(178)][i(153)][i(177)](i(259));if(this[i(178)][i(153)][i(129)](i(148))){const t=this[i(178)][i(153)][i(177)](i(148));await t[i(161)]()}else await s[i(192)]();if(this[i(178)][i(153)][i(129)](i(246))&&this[i(178)][i(153)][i(177)](i(246))[i(130)](),this[i(178)][i(153)][i(129)](i(208))){const t=this[i(178)][i(153)][i(177)](i(208));t[i(165)]&&t[i(144)]()}const n=this[i(141)]();return e(n)[i(254)]((t=>{const e=i;return this[e(229)]=t,this[e(178)][e(153)][e(129)](e(158))&&this[e(178)][e(153)][e(177)](e(158))[e(264)](),this[e(178)][e(153)][e(129)](e(185))&&(this[e(178)][e(153)][e(177)](e(189))[e(131)][e(173)][e(244)][e(175)]=e(157)),t}))[i(231)]((t=>(console[i(184)](t),this[i(178)][i(191)](i(241)),null)))}))}[Xo(206)](){const t=Xo,e=this[t(178)][t(253)][t(177)](t(204))[t(143)];this[t(178)][t(253)][t(151)](t(251),(()=>(this[t(178)][t(153)][t(129)](t(246))&&this[t(178)][t(153)][t(177)](t(246))[t(130)](),this[t(178)][t(153)][t(129)](t(185))&&(this[t(178)][t(153)][t(177)](t(189))[t(131)][t(173)][t(244)][t(175)]=""),this[t(229)][t(153)][t(177)](t(142))[t(258)](),e(this[t(229)])[t(254)]((()=>{const e=t;if(this[e(178)][e(191)](e(241)),this[e(229)]=null,this[e(178)][e(153)][e(129)](e(158))){const t=this[e(178)][e(153)][e(177)](e(158));t[e(264)](),t[e(210)]()}})))))}[Xo(171)](t){const e=Xo,i=this[e(178)][e(253)][e(177)](e(277)),s=this[e(178)][e(253)][e(177)](e(156)),n=this[e(178)][e(253)][e(177)](e(270));return Ko[e(275)](n,t)[e(254)]((t=>(s[e(244)][e(175)]=e(269),i[e(244)][e(175)]=e(157),this[e(260)]=!0,t)))}[Xo(272)](t){const e=Xo,i=this[e(178)][e(253)][e(177)](e(277));return this[e(178)][e(253)][e(177)](e(156))[e(244)][e(175)]=e(157),i[e(244)][e(175)]="",this[e(260)]=!1,t[e(266)]()}async[Xo(147)](t){const e=Xo,i=this[e(178)],s=this[e(229)][e(153)][e(177)](e(142)),n=i[e(153)][e(177)](e(259)),r=i[e(153)][e(177)](e(218)),o=s[e(230)][e(202)](t);let a,c,u;try{await r[e(256)](o,this[e(249)]),a=r[e(217)](o),c=r[e(245)](o)}catch(t){return void console[e(184)](t)}i[e(221)][e(265)]((t=>{const s=e;for(const e of Array[s(203)](i[s(221)][s(181)][s(176)](s(134))))t[s(262)](e)})),s[e(199)]=!1,i[e(221)][e(170)]((t=>{const s=e;t[s(228)](null),t[s(169)](i[s(221)][s(248)][s(195)][s(273)]());const n=Object[s(132)](a);for(const e of i[s(221)][s(248)][s(127)])s(198)!=e[s(227)]&&e[s(154)]()&&!n[s(233)](e[s(227)])&&t[s(212)](e);for(const e of n){let n=i[s(221)][s(248)][s(222)](e);n&&n[s(154)]()||(n=t[s(267)](e));const r=c[e],o=Object[s(132)](r),u=a[e];for(const e of n[s(273)]())o[s(233)](e)||t[s(133)](e,n);for(const i of o)t[s(274)](i,c[e][i],n);t[s(242)](t[s(137)](n)),t[s(238)](i[s(150)][s(140)](u,n),n,0)}}));const l=ot(i[e(163)],e(138));return u=o[e(180)]?-1==o[e(180)][e(186)](l)?l+": "+o[e(180)]:o[e(180)]:l+": "+o[e(213)][e(214)](i[e(163)][e(250)],{month:e(179),day:e(252)})+", "+o[e(213)][e(271)](i[e(163)][e(250)],{hour:e(252),minute:e(252)}),await n[e(216)]({name:u}),s[e(199)]=!0,i[e(253)][e(177)](e(204))[e(143)]()}}function na(t,e){var i=ra();return(na=function(t,e){return i[t-=190]})(t,e)}function ra(){var t=["25934VtuAoR","3mkOhmj","2355624rGiyvM","1140030mTxEGN","6ilEOCq","445921BPKtza","5598153dkeBvY","78FFIdZy","4386064HbNIwo","8854900qkskkc"];return(ra=function(){return t})()}!function(t){for(var e=na,i=t();;)try{if(638869===-parseInt(e(199))/1*(parseInt(e(193))/2)+-parseInt(e(190))/3*(parseInt(e(197))/4)+-parseInt(e(192))/5+-parseInt(e(196))/6*(-parseInt(e(194))/7)+-parseInt(e(191))/8+parseInt(e(195))/9+parseInt(e(198))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();