@ckeditor/ckeditor5-revision-history 47.4.0-alpha.2 → 47.4.0-alpha.3

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-2026, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={10:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},52:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},98:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},102: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)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},243:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},251:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},282:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},297: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)}}}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},324:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},448:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},505:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},586:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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{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__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.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},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779: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}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},815:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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-confirm-view{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-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-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},929: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}}}},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:()=>he,Revision:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>Zt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Po,ShowChangeCommand:()=>de});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==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;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 M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function P(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&&(j.test(t)||!F.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 z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function U(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&&!z(t))return t;const n=P(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=L(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(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":{if(M(e))return i;const s=t[e];return void 0===s?H(e)?Z(t,U(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;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=Y;function B(){const t=["fromVersion","setName","2747637Zoaqco","3446890cTBaHY","44joniKN","attributes","_update","21795jjnByU","4180DLjEiF","2346096VXhSMX","set","11JuzufO","creatorId","removeAttribute","2877180iOaCAb","diffData","creator","model","73vvlXTv","authors","1023400WIpoie","5iVjqBn","toVersion","toJSON","createdAt","fire","map","setAttribute","authorsIds","name","7juFHDJ"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=315]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(219781===parseInt(e(344))/1*(parseInt(e(334))/2)+parseInt(e(333))/3*(-parseInt(e(330))/4)+-parseInt(e(316))/5*(parseInt(e(335))/6)+parseInt(e(325))/7*(parseInt(e(315))/8)+parseInt(e(328))/9+-parseInt(e(329))/10*(-parseInt(e(337))/11)+-parseInt(e(340))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class J extends((0,t.ObservableMixin)()){id;[$(342)];[$(345)];[$(341)];[$(317)];[$(326)];[$(343)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(342)]=e[i(342)]||null,this[i(345)]=e[i(345)]||[],this[i(341)]=e[i(341)]||null,this[i(317)]=e[i(317)]||0,this[i(326)]=e[i(326)]||0,this[i(336)](i(324),e[i(324)]||""),this[i(336)](i(319),e[i(319)]||new Date),this[i(336)](i(331),e[i(331)]||{})}[$(327)](t){this[$(332)]({name:t})}[$(322)](t,e){const i=$,s=A(this[i(331)]);W(s,t,e),this[i(332)]({attributes:s})}[$(339)](t){const e=$,i=A(this[e(331)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=L(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(332)]({attributes:i})}[$(332)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(324),i(319),i(341),i(345),i(331),i(317),i(326),i(338)];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(345)]&&(n[i(323)]=n[i(345)][i(321)](t=>t.id),delete n[i(345)]),this[i(320)](i(332),n,e))}[$(318)](){const t=$;return{id:this.id,name:this[t(324)],creatorId:this[t(342)]?this[t(342)].id:null,authorsIds:this[t(345)][t(321)](t=>t.id),diffData:this[t(341)],createdAt:this[t(319)],attributes:this[t(331)],fromVersion:this[t(326)],toVersion:this[t(317)]}}}var G=i(782),K=i(211),Q=i(783);const X=et;function tt(){const t=["href","diffData","addRevision","afterInit","createRevision","get","data","getEarlierVisibleRevision","getRevisionsInDiff","12826917wAfUMX","earlier","from","isPremiumPlugin","push","join","creatorId","name","getRevision","1974404nnqmcY","reverse","4CIBTxE","getRevisions","getRevisionsIterator","createdAt","map","isNaN","fromCharCode","toVersion","pluginName","add","requires","toJSON","getUser","1315863bjHfTg","attributes","length","later","500628PTAVaz","30851360HcPCKD","isOfficialPlugin","editor","getIndex","fromVersion","plugins","388129boOzcB","Users","24nsUeXu","authorsIds","5nNkYxW","RevisionsRepository","_revisions","getLaterVisibleRevision","newRevisionId","oldRevisionId","7734966CQdlHn"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=294]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(951593===parseInt(e(337))/1+-parseInt(e(324))/2*(-parseInt(e(341))/3)+-parseInt(e(322))/4+parseInt(e(297))/5*(parseInt(e(303))/6)+-parseInt(e(348))/7*(-parseInt(e(295))/8)+parseInt(e(313))/9+-parseInt(e(342))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[X(299)];static get[X(334)](){return[K.Users]}static get[X(332)](){return X(298)}static get[X(343)](){return!0}static get[X(316)](){return!0}get[X(339)](){const t=X;return this[t(299)][t(339)]}constructor(e){const i=X;super(e),this[i(299)]=new t.Collection}[X(307)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([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]),[y([121])]:y([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]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=et;return t[e(328)](t=>String[e(330)](t))[e(318)]("")}!function(t){const i=u();r[i]=y([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[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([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[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([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===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([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(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([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]))||p(y([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=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1768003200;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=et,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(304)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=et;for(const e in window)if(window[y([78,117,109,98,101,114])][i(329)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[X(308)](t){const e=X,i=this[e(344)][e(347)][e(309)](e(294));return new J({id:t.id,name:t[e(320)],creator:t[e(319)]?i[e(336)](t[e(319)]):null,diffData:t[e(305)]||t[e(310)],authors:t[e(296)][e(328)](t=>i[e(336)](t)),createdAt:new Date(t[e(327)]),attributes:t[e(338)],fromVersion:t[e(346)],toVersion:t[e(331)]})}[X(306)](t,e=0){const i=X;this[i(299)][i(333)](t,e)}[X(321)](t){const e=X;return this[e(299)][e(309)](t)}[X(325)](t={toJSON:!1}){const e=X,i=Array[e(315)](this[e(299)]);return i[e(323)](),t[e(335)]?i[e(328)](t=>t[e(335)]()):i}[X(345)](t){const e=X;return this[e(299)][e(345)](t)}[X(311)](t){const e=X,[,i]=this[e(326)](t,{direction:e(314)});return i}[X(300)](t){const e=X,[,i]=this[e(326)](t,{direction:e(340)});return i}[X(312)](t){const e=X,i=[];for(const s of this[e(326)](t[e(301)]))if(i[e(317)](s),s.id===t[e(302)])break;return i}*[X(326)](t,{direction:e=X(314),filter:i=()=>!0}={}){const s=X,n=s(314)===e?1:-1;let r=this[s(299)][s(309)](t),o=this[s(345)](r);for(yield r;r;){if(o+=n,r=this[s(321)](o),!r)return;i(r)&&(yield r)}}}function st(){const t=["_viewClassToTypeChar","editor","attachChange","isOfficialPlugin","9dwROYw","forEach","_removeRevisionMarkers","filter","from","type","toData","8yZJbPn","_appendChild","childNodes","859406WnwvjB","toModel","config","data","constructor","diffData","htmlProcessor","map","146565ystKdy","customProperties","string","isAttached","209qDxLwT","attributesAfter","domDocument","name","getRevision","render","66nVbUim","getRevisionRootsAttributes","viewChildrenToDom","getRevisionDocumentData","1007114lVHUTa","data-revision-","domChildrenToView","document","_makeModelFromViewString","attributes","processor","length","646170msQjnH","RevisionHistoryUtils","get","collaboration.channelId","insertions","pluginName","fillerOffset","_typeCharToViewClass","append","editing","view","startsWith","isPremiumPlugin","revision-end","_setCustomProperty","revision-start","5142090bGCSJN","6395627ChKgSE","children","marked","parse","getFillerOffset","useFillerType","_getViewFromDiffObj","loadRevisionData","domConverter","52KknKiB","8952WWnKuq","innerHTML","_getTypeCharForViewElement","div","default","createElement"];return(st=function(){return t})()}function nt(t,e){const i=st();return(nt=function(t,e){return i[t-=359]})(t,e)}const rt=nt;!function(t){const e=nt,i=t();for(;;)try{if(763338===-parseInt(e(388))/1+-parseInt(e(366))/2+-parseInt(e(374))/3*(parseInt(e(422))/4)+-parseInt(e(396))/5*(-parseInt(e(384))/6)+-parseInt(e(413))/7*(-parseInt(e(363))/8)+parseInt(e(433))/9*(parseInt(e(412))/10)+parseInt(e(378))/11*(-parseInt(e(423))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends G.Plugin{static get[rt(401)](){return rt(397)}static get[rt(432)](){return!0}static get[rt(408)](){return!0}[rt(429)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[rt(403)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[rt(420)](t,e){const i=rt;if(t[i(371)]||!e)return;const s=this[i(430)][i(368)][i(398)](i(399)),n=await e[i(382)]({channelId:s,revisionId:t.id});t[i(371)]=n[i(371)]}[rt(387)](t){const e=rt,i={};for(const s in t[e(371)]){if(t[e(371)][s][e(431)]&&!t[e(371)][s][e(431)][e(377)])continue;const n=this[e(435)](JSON[e(416)](t[e(371)][s][e(400)])),r=this[e(430)][e(405)][e(406)][e(391)],o=new Q.ViewDocumentFragment(r,n[e(373)](t=>this[e(419)](t,!1)));this[e(430)][e(369)][e(394)][e(418)](e(415)),i[s]=this[e(430)][e(369)][e(394)][e(362)](o),this[e(430)][e(369)][e(394)][e(418)](e(427))}return i}[rt(385)](t){const e=rt,i={};for(const s in t[e(371)])t[e(371)][s][e(431)]&&!t[e(371)][s][e(431)][e(377)]||(i[s]=t[e(371)][s][e(379)]||{});return i}[rt(425)](t){const e=rt;return this[e(429)][e(398)](t[e(370)])}[rt(419)](t,e){const i=rt,s=this[i(430)][i(405)][i(406)][i(391)];if(i(376)==typeof t)return new Q.ViewText(s,t);{let n,r;r="u"==t[i(361)]||"r"==t[i(361)]?[]:t[i(414)][i(373)](t=>this[i(419)](t,e));const o=this[i(403)][i(398)](t[i(361)])||Q.ViewElement,a=this[i(430)][i(369)][i(372)][i(421)];if(n=new o(s,t[i(381)],t[i(393)],r),"u"==t[i(361)]&&t[i(414)][0]){const r=t[i(414)][0];if(n[i(383)]=function(t){const e=i,s=t[e(428)](e(426));return s[e(424)]=r,s[e(365)][0]},e){const t=new Q.ViewDocumentFragment(s);t[i(364)](n);const e=Array[i(360)](a[i(386)](t,{bind:!1})),r=a[i(380)][i(428)](i(426));r[i(404)](...e),n=Array[i(360)](a[i(390)](r))[0]}}else if("r"==t[i(361)]&&t[i(414)][0]){const r=t[i(414)][0];if(n[i(383)]=function(t){t[i(424)]=r},e){const t=new Q.ViewDocumentFragment(s);t[i(364)](n);const e=Array[i(360)](a[i(386)](t,{bind:!1})),r=a[i(380)][i(428)](i(426));r[i(404)](...e);const o=Array[i(360)](a[i(390)](r));o[i(395)]>1?n[i(364)](o):n=o[0]}}if(t[i(375)])for(const[e,s]of t[i(375)])n[i(410)](e,s);const c=void 0===t[i(402)]?null:t[i(402)];return null!==c&&(n[i(417)]=()=>c),n}}[rt(392)](t){const e=rt,i=JSON[e(416)](t),s=this[e(430)][e(405)][e(406)][e(391)],n=new Q.ViewDocumentFragment(s,i[e(373)](t=>this[e(419)](t,!0)));return this[e(430)][e(369)][e(367)](n)}[rt(435)](t){const e=rt;return(t=t[e(359)](t=>!t[e(381)]||e(411)!==t[e(381)]&&e(409)!==t[e(381)]))[e(434)](t=>{const i=e;i(376)!=typeof t&&(t[i(414)]=this[i(435)](t[i(414)]),t[i(393)]=t[i(393)][i(359)](t=>!t[0][i(407)](i(389))))}),t}}function at(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 ct(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 ut(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 lt(t,e,r,o)}return lt(t,e,r,o)}function lt(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 V(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)||!ut(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=>ut(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(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(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(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=bt;function mt(){const t=["setRevisionData","documentFragment","text","updateRevisions","_transformMarkers","attributesBefore","RevisionHistory","length","delete","string","getMovedRangeStart","version","authors","toVersion","invalid","getChildren","_cloneOperation","creator","domDocument","_showLicenseError","licenseKey","elementStart","getIndex","elementEnd","_loadState","_utils","stickiness","loadRevisionData","_fixRange","revisionHistoryLicenseKeyInvalid","move","320296WVFhEa","Users","getRevisionRootsAttributes","addRoot","userId","split","push","_findInsertionIndex","_revisionDataBuilder","getAttribute","insertion","RealTimeCollaborationClient","createPositionFromPath","_handleOperation","values","some","end","_touchedRoots","_handleSplitOperation","attachChange","type","markers","PENDING_ACTION_REVISION_HISTORY","nodeAfter","upcast","getChild","has","$graveyard","domConverter","_isPendingUpdate","buildRevisionData","detachRoot","_calculateMetaData","clone","nodes","revisionHistoryLicenseKeyDomainLimit","bind","position","_startingRevisionId","_createFromRanges","item","loadState","remove","marker","deletions","markerToData","_handleInsertOperation","_makeRevision","outerHTML","_createCurrentRevision","config","$comment","sendBufferedUpdates","_getTypeCharForViewElement","getOperations","model","sort","expired","currentRevision","dataDowncast","isEqual","name","from","rawElement","revision:","_makeModelFromViewString","RevisionsRepository","collaboration.channelId","_authorId","_licenseKeyCheckInterval","createPositionBefore","tableCell","getCurrentRevisionId","isAdd","_markChanges","conversion","initialData","_getVidAttributeName","277824FYGGHu","_touchedMarkers","addRevisionData","finally","_fixOperation","ready","slice","revisionHistoryLicenseKeyUsageLimit","define","deletion","8aNlnKV","initial","_idsRoots","children","includes","editor","_diffRootsAttributes","getAttributes","authorsIds","roots","_lastTo","changeRootAttribute","vid","evaluationLimit","reInit","revisionHistoryLicenseKeyEvaluationLimit","paragraph","_pendingAction","removeRootAttribute","_isAttached","adapter","getLatestVersion","parent","_reset","setSource","getRevision","document","RevisionHistoryUtils","_handleRootAttributeOperation","revisionHistory.resumeUnsavedRevision","_handleMarkerOperation","getCustomProperties","_replaceEditorDataWithRevisionData","baseVersion","revisionHistoryLicenseKeyNotAllowed","_handleRootOperation","vid_end","sourcePosition","getTime","_getFromVersion","_loadedStateData","repository","fromVersion","createRangeIn","_addPendingAction","isReady","Empty document","rootsAttributes","customProperties","innerHTML","targetPosition","history","trim","root","rootName","_applyOperations","newRange","htmlProcessor","for","dataToMarker","isEnabled","max","_getPreviousFrom","_execute","_setConversion","size","start","toView","destroy","_getViewJson","_handleMoveOperation","merge","reinsert","newValue","$text","_insertChild","getRevisions","_bufferedUpdates","_continueCurrentRevision","requires","9764343BsVPFn","_handleMergeOperation","vid_start","_startingVersion","offset","_appendChild","_revisionId","Initial revision","getOperation","isOfficialPlugin","getRoot","update","isAttached","_baseIdsRoots","_getState","editor-initial-data-replaced-with-revision-data","_prepareViewToSave","shift","diffData","set","getFillerOffset","getWalker","resolve","createPositionAfter","source","domainLimit","addRevision","_savedMetaData","createdAt","getData","find","_touched","revision","_makeIdsRoot","featureNotAllowed","_baseRootsAttributes","NEGATIVE_INFINITY","offsetSize","968620keNamR","_source","get","getUser","splitPosition","childCount","keys","revisionHistoryLicenseKeyExpired","PendingActions","_update","_markers","createPositionAt","affectsData","_operations","plugins","64047pXROow","creatorId","oldRange","_removeMetaData","getRange","previousPosition","clear","1578689lLeteI","getRootNames","_baseRoots","getNodeByPath","createElement","howMany","_createInitialRevision","fromEntries","_saveMetaData","uiElement","_getBaseVids","_fixPosition","_initialRevisionId","usageLimit","_bufferUpdate","_isInit","_setAttribute","createRevision","path","getTransformedByOperation","then","revisionHistoryLicenseKeyValid","getRevisionDocumentData","hasContent","element","data","insert","getAncestors","57844MrYdxY","fillerOffset","createRange","isPremiumPlugin","graveyardPosition","pluginName","locale","_generateTape","init","range","_copyMarkers","reverse","_lastFrom","keepParagraph","attributesAfter","key","insertions","map","_diffRoots","_removePendingAction","startsWith","insertionPosition","stringify","saveRevision","addRootAttribute","RevisionTracker","_processRootBeforeSave","afterInit","add","filter","_clone","140JdRfJO","render"];return(mt=function(){return t})()}!function(t){const e=bt,i=t();for(;;)try{if(265523===parseInt(e(341))/1+-parseInt(e(227))/2+parseInt(e(242))/3+-parseInt(e(277))/4*(parseInt(e(308))/5)+-parseInt(e(419))/6+-parseInt(e(249))/7+-parseInt(e(429))/8*(-parseInt(e(189))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends G.Plugin{[ft(330)];[ft(410)];[ft(399)]=null;[ft(470)];[ft(449)]=null;[ft(349)];[ft(228)];[ft(261)];[ft(186)];[ft(335)];[ft(446)];[ft(187)];[ft(192)];[ft(469)];static get[ft(282)](){return ft(302)}static get[ft(198)](){return!0}static get[ft(280)](){return!0}static get[ft(188)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(470)]=this[i(434)][i(241)][i(229)](i(407)),this[i(335)]=this[i(434)][i(241)][i(229)](i(456)),this[i(349)]=new vt(this[i(434)]),this[i(261)]=this[i(434)][i(391)][i(229)](i(408))||i(430),this[i(186)]=new Map,this[i(469)]=null;const s=(0,t.uid)();this[i(228)]={history:this[i(434)][i(396)][i(455)][i(480)],getLatestVersion:()=>Promise[i(211)](this[i(434)][i(396)][i(455)][i(321)]),getCurrentRevisionId:()=>s},this[i(208)](i(474),!1),this[i(208)](i(169),!0),this[i(208)](i(370),!1),this[i(434)][i(391)][i(427)](i(458),!0),this[i(434)][i(416)][i(167)](i(365))[i(168)]({view:i(221)})}[ft(285)](){const t=ft;this[t(173)](),this[t(434)][t(274)].on(t(424),()=>{const e=t,i=this[e(470)][e(454)](0),s=i&&null===i[e(327)]?i:null;if(this[e(187)]=!!s&&this[e(434)][e(391)][e(229)](e(458)),this[e(434)][e(241)][e(367)](e(352))){const t=this[e(228)][e(413)](),n=this[e(470)][e(454)](t);if(n)this[e(192)]=n[e(471)],this[e(187)]=!1;else{const t=this[e(228)][e(480)][e(240)][e(219)](t=>!t[e(264)]),n=t?t[e(462)]:this[e(228)][e(480)][e(321)];i?(i[e(323)]<n&&i[e(236)]({toVersion:n}),this[e(187)]?(this[e(228)][e(413)]=()=>s.id,this[e(192)]=s[e(471)]):(this[e(192)]=i[e(323)],this[e(187)]=!1)):(this[e(192)]=n,this[e(187)]=!1)}}else s&&(this[e(434)][e(396)][e(455)][e(480)][e(321)]=Math[e(170)](s[e(323)],this[e(434)][e(396)][e(455)][e(480)][e(321)]),s[e(471)]===s[e(323)]?(0!==s[e(471)]&&(this[e(228)][e(413)]=()=>s.id),this[e(187)]=!1):this[e(187)]&&(this[e(228)][e(413)]=()=>s.id,this[e(192)]=s[e(471)])),this[e(187)]||(this[e(192)]=this[e(434)][e(396)][e(455)][e(321)]);this[e(349)][e(285)](this[e(228)][e(480)]),this[e(255)](this[e(192)]),this[e(390)](this[e(192)]),this[e(449)]&&this[e(393)]()}),this[t(377)](t(474)).to(this,t(370),t=>!t),this[t(330)]=this[t(434)][t(391)][t(229)](t(330));const e=this[t(434)];this[t(410)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(270)==r||i(339)==r||i(234)==r||i(376)==r||i(463)==r||i(444)==r||i(426)==r){delete e[n],s=r,clearInterval(this[i(410)]),this[i(410)]=void 0;break}}i(339)==s&&e[i(329)](i(324)),i(234)==s&&e[i(329)](i(398)),i(376)==s&&e[i(329)](i(214)),i(463)==s&&e[i(329)](i(223),i(316)),i(444)==s&&e[i(329)](i(442)),i(426)==s&&e[i(329)](i(262))},1e3)}async[ft(304)](){const t=ft;if(this[t(470)][t(317)]>0){const e=this[t(470)][t(454)](0),i=await this[t(271)](e),s=await this[t(343)](e);this[t(461)](i,s)}}[ft(177)](){const t=ft;super[t(177)](),this[t(410)]&&clearInterval(this[t(410)])}[ft(453)](t){this[ft(228)]=t}async[ft(200)](){const t=ft,e=await this[t(228)][t(450)]();if(e>this[t(399)][t(323)]){await this[t(334)]();const i=this[t(371)]({revision:this[t(399)],to:e});i[t(322)]=i[t(437)][t(294)](e=>this[t(434)][t(241)][t(229)](t(342))[t(230)](e)),this[t(399)][t(236)](i)}}async[ft(300)](e={},i=null){const s=ft,n=[];await this[s(334)](),this[s(187)]=!1,i>this[s(399)][s(323)]&&(i=null),null===i&&(i=await this[s(228)][s(450)]());const r=this[s(468)](i),o=this[s(371)]({from:r,to:i});if(this[s(399)][s(323)]<i){const t=this[s(371)]({revision:this[s(399)],from:i,to:i});t[s(322)]=[],t[s(437)]=[],t.id=this[s(399)].id,this[s(399)][s(236)](t,!0),delete t[s(322)],n[s(347)](t)}e[s(243)]=this[s(434)][s(241)][s(229)](s(342)).me.id,e[s(402)]=e[s(402)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(421)](e);n[s(347)](e);const c=this[s(470)][s(332)](a);if(0!==c){const t=this[s(470)][s(454)](c-1);if(t[s(471)]!==i){const r=this[s(349)][s(218)](i,t[s(323)]),o={id:t.id,diffData:r[s(207)],authorsIds:r[s(437)],authors:r[s(437)][s(294)](t=>this[s(434)][s(241)][s(229)](s(342))[s(230)](t)),fromVersion:i};t===this[s(399)]&&(o[s(217)]=new Date(e[s(217)][s(467)]()+10)),t[s(236)](o,!0),delete o[s(322)],n[s(347)](o)}}if(this[s(449)]){for(const t of n)this[s(263)](t.id,t,!0);this[s(393)]()}return a}[ft(421)](t){const e=ft,i=this[e(470)][e(266)](t);return this[e(449)]&&i.on(e(236),(t,i,s)=>{const n=e;s||(this[n(263)](i.id,i,!0),this[n(393)]())}),this[e(470)][e(215)](i,this[e(348)](i)),i}async[ft(271)](t){const e=ft;return await this[e(335)][e(337)](t,this[e(449)]),this[e(335)][e(271)](t)}async[ft(343)](t){const e=ft;return await this[e(335)][e(337)](t,this[e(449)]),this[e(335)][e(343)](t)}[ft(393)](){const t=ft;if(0===this[t(186)][t(174)])return;if(this[t(370)])return;let e=Array[t(403)](this[t(186)][t(355)]());this[t(186)][t(248)]();for(let i=0;i<e[t(317)];i++){const s=e[i];let n=!1;for(const e of Object[t(233)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(306)](t=>null!==t),!e[t(317)])return;for(let i=0;i<e[t(317)];i++){const s=e[i];void 0!==s[t(471)]&&void 0===s[t(323)]&&(s[t(323)]=this[t(470)][t(454)](s.id)[t(323)]),void 0!==s[t(323)]&&void 0===s[t(471)]&&(s[t(471)]=this[t(470)][t(454)](s.id)[t(471)])}const i=this[t(434)][t(391)][t(229)](t(408));this[t(370)]=!0,this[t(473)](),this[t(449)][t(313)](e,i)[t(422)](()=>{this[t(370)]=!1})[t(269)](e=>{const i=t;if(e)for(const t of e)this[i(310)]({id:t.id,createdAt:t[i(217)]});this[i(296)](),this[i(393)]()})}[ft(371)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(471)],i=null!==i?i:t[s(323)];const n=this[s(349)][s(218)](e,i),r={diffData:n[s(207)],authorsIds:n[s(437)],fromVersion:e,toVersion:i};if(!t||i!==t[s(323)]){const t=i-1,e=this[s(228)][s(480)][s(197)](t);r[s(217)]=e&&e[s(217)]||new Date}if(this[s(469)]&&e===this[s(469)][s(471)])for(const t of this[s(469)][s(322)])r[s(437)][s(433)](t.id)||r[s(437)][s(347)](t.id);return r}[ft(263)](t,e,i){const s=ft;if(this[s(186)][s(367)](t)){const n=this[s(186)][s(229)](t);e=i?{...n,...e}:{...e,...n}}this[s(186)][s(208)](t,e)}[ft(310)](t){const e=ft,i=this[e(470)][e(454)](t.id);if(t[e(217)]&&(t[e(217)]=new Date(t[e(217)])),t[e(437)]){const i=this[e(434)][e(241)][e(229)](e(342));t[e(322)]=t[e(437)][e(294)](t=>i[e(230)](t))}i[e(236)](t,!0)}[ft(255)](t){const e=ft,i=this[e(470)][e(454)](this[e(470)][e(317)]-1);if(i)this[e(261)]=i.id;else{const i=!this[e(434)][e(396)][e(455)][e(438)][e(219)](t=>this[e(434)][e(396)][e(272)](t)),s=this[e(434)][e(241)][e(229)](e(342)).me.id,n=at(this[e(434)][e(283)],e(i?475:196));this[e(388)]({from:t,to:t,id:this[e(261)],name:n,creatorId:s})}}[ft(390)](t){const e=ft,i=this[e(228)][e(413)]();this[e(399)]=this[e(470)][e(454)](i),this[e(399)]||(this[e(399)]=this[e(388)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(334)](){const t=ft;this[t(187)]&&!this[t(469)]&&(await this[t(335)][t(337)](this[t(399)],this[t(449)]),this[t(349)][t(382)](this[t(399)]),this[t(469)]={fromVersion:this[t(399)][t(471)],authors:this[t(399)][t(322)][t(425)]()})}[ft(461)](e,i){const s=ft;let n=this[s(434)][s(391)][s(229)](s(417)),r=this[s(434)][s(391)][s(229)](s(476));if(void 0===n){n={};for(const t of this[s(434)][s(396)][s(455)][s(250)]())n[t]=""}if(s(319)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(434)][s(396)][s(455)][s(250)]())r[t]={}}let o=!1;const a=Object[s(233)](n),c=Object[s(233)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(481)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(233)](r[t])[s(317)]>0){o=!0;break}}o||(o=c[s(356)](t=>!this[s(434)][s(396)][s(455)][s(199)](t))),o&&(0,t.logWarning)(s(204),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(434)][s(391)][s(208)](s(417),e),this[s(434)][s(391)][s(208)](s(476),i)}[ft(473)](){const t=ft;if(!this[t(446)]){const e=this[t(434)][t(241)][t(229)](t(235));this[t(446)]=e[t(305)](at(this[t(434)][t(283)],t(363)))}}[ft(296)](){const t=ft;this[t(446)]&&(this[t(434)][t(241)][t(229)](t(235))[t(383)](this[t(446)]),this[t(446)]=null)}[ft(348)](t){const e=ft,i=this[e(470)][e(185)]();i[e(288)]();let s=0;for(;s<i[e(317)];){const n=i[s];if(n===this[e(399)]){s++;continue}if(n.id===this[e(261)])break;const r=t[e(323)]-n[e(323)]||t[e(471)]-n[e(471)];if(r>0)break;if(r<0)s++;else{if(!t[e(327)]&&n[e(327)])break;if(n[e(327)]||!t[e(327)]){if(t[e(217)]>n[e(217)])break;s++}else s++}}return s}[ft(468)](t){const e=ft,i=this[e(470)][e(185)]();i[e(288)](),i[e(206)]();const s=i[e(219)](i=>i[e(323)]<=t)[e(323)];return s<this[e(192)]?this[e(192)]:s}[ft(388)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(371)]({from:e,to:i});o[r(402)]=t,o[r(243)]=s,o.id=n;const a=this[r(421)](o);return this[r(449)]&&this[r(263)](o.id,o,!0),a}[ft(173)](){const t=ft;this[t(434)][t(416)][t(167)](t(400))[t(386)]({model:t(221)})}}class vt{[ft(434)];[ft(213)];[ft(216)];[ft(289)];[ft(439)];[ft(237)];[ft(295)];[ft(435)];[ft(251)];[ft(224)];[ft(431)];[ft(202)];[ft(220)];[ft(420)];[ft(358)];[ft(195)];[ft(379)];constructor(t){const e=ft;this[e(434)]=t,this[e(216)]=new Map,this[e(289)]=-1,this[e(439)]=-1,this[e(237)]=new Map,this[e(295)]=new Map,this[e(435)]=new Map,this[e(251)]=new Map,this[e(224)]=new Map,this[e(431)]=new Map,this[e(202)]=new Map,this[e(220)]=new Map,this[e(420)]=new Map,this[e(358)]=new Map,this[e(195)]=1}[ft(285)](t){const e=ft;this[e(213)]=t;const i=new Map,s=new Map,n=this[e(434)][e(396)][e(455)][e(438)][e(294)](t=>t[e(163)]);for(const t of n){const n=this[e(434)][e(396)][e(455)][e(199)](t),r=gt(n);i[e(208)](t,r),s[e(208)](t,Object[e(256)](n[e(436)]()))}const r=Array[e(403)](this[e(434)][e(396)][e(362)])[e(294)](t=>[t[e(402)],t[e(246)]()]),o=this[e(213)][e(321)];this[e(257)](o,i,r,s),this[e(379)]=this[e(195)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(208)](t,i),c[e(208)](t,{})}this[e(257)](Number[e(225)],a,[],c)}[ft(218)](t,e){const i=ft;if(this[i(289)]===t&&this[i(439)]<=e)this[i(216)][i(174)]>1&&this[i(245)](this[i(439)]),this[i(164)](this[i(439)],e,!0);else{if(!this[i(216)][i(367)](t)){const e=this[i(171)](t);this[i(373)](e,t,!1)}this[i(373)](t,e,!0)}return this[i(289)]=t,this[i(439)]=e,this[i(203)]()}[ft(382)](t){const e=ft;if(!this[e(216)][e(367)](t[e(471)])){const i=this[e(171)](t[e(471)]);this[e(373)](i,t[e(471)],!1)}this[e(373)](t[e(471)],t[e(323)],!1);const i=this[e(434)][e(241)][e(229)](e(456));this[e(452)](),this[e(289)]=t[e(471)],this[e(439)]=t[e(323)];for(const s in t[e(207)]){const n=t[e(207)][s][e(360)],r=A(t[e(207)][s][e(315)])||{},o=i[e(406)](t[e(207)][s][e(385)]);o[e(163)]=s,o[e(448)]=!n||!n[e(201)],o[e(201)]=()=>o[e(448)],this[e(251)][e(208)](s,o),this[e(224)][e(208)](s,r),n&&this[e(358)][e(208)](s,n);const a=this[e(222)](o);this[e(202)][e(208)](s,a);for(const[t,i]of o[e(362)]){if(!t[e(297)](e(405)))continue;const s=t[e(346)](":")[2];for(const t of i[e(210)]({singleCharacters:!0})){const i=this[e(418)](t),n=e(333)==t[e(361)]?t[e(247)][e(267)][e(425)](0,-1):t[e(247)][e(267)],r=a[e(252)](n)[e(350)](i);this[e(220)][e(208)](r,{userId:s})}o[e(362)][e(318)](t)}}this[e(379)]=this[e(195)];const s=[...Array(this[e(195)])[e(233)]()][e(425)](1)[e(306)](t=>!this[e(220)][e(367)](t));let n=0;const r=new Map;for(const o in t[e(207)]){const a=t[e(207)][o][e(360)],c=A(t[e(207)][o][e(291)])||{},u=i[e(406)](t[e(207)][o][e(293)]);u[e(163)]=o,u[e(448)]=!a||a[e(201)],u[e(201)]=()=>u[e(448)],this[e(295)][e(208)](o,u),this[e(435)][e(208)](o,c);const l=this[e(222)](u,Number[e(225)]);this[e(431)][e(208)](o,l),r[e(208)](o,u[e(201)]()?c:{});for(const[t,i]of u[e(362)]){if(!t[e(297)](e(405)))continue;const s=t[e(346)](":")[2];for(const t of i[e(210)]({singleCharacters:!0})){const i=this[e(418)](t),n=this[e(195)]++,r=e(333)==t[e(361)]?t[e(247)][e(267)][e(425)](0,-1):t[e(247)][e(267)];l[e(252)](r)[e(265)](i,n),this[e(220)][e(208)](n,{userId:s})}u[e(362)][e(318)](t)}for(const t of this[e(434)][e(396)][e(472)](u)[e(210)]({singleCharacters:!0})){const i=this[e(418)](t),r=e(333)==t[e(361)]?t[e(247)][e(267)][e(425)](0,-1):t[e(247)][e(267)],o=l[e(252)](r);o[e(350)](i)>0||o[e(265)](i,s[n++])}for(const[t,i]of u[e(362)])t[e(297)](e(405))||this[e(237)][e(208)](t,i)}const{roots:o}=this[e(216)][e(229)](t[e(471)]),{roots:a}=this[e(216)][e(229)](t[e(323)]),c=gt(o[e(229)](e(368)));this[e(251)][e(208)](e(368),c),this[e(202)][e(208)](e(368),this[e(222)](c,Number[e(225)]));const u=gt(a[e(229)](e(368)));this[e(295)][e(208)](e(368),u),this[e(431)][e(208)](e(368),this[e(222)](u));const l=Array[e(403)](this[e(295)])[e(294)](([t,e])=>[t,gt(e)]);this[e(257)](this[e(439)],l,this[e(237)],r)}[ft(443)](){const t=ft;this[t(452)](),this[t(289)]=-1,this[t(439)]=-1,this[t(216)][t(248)](),this[t(285)](this[t(213)])}[ft(257)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(208)](t,{start:e[n(175)][n(374)](),end:e[n(357)][n(374)](),rootName:e[n(162)][n(163)]});this[n(216)][n(208)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(245)](t){const e=ft;this[e(216)][e(318)](t)}[ft(452)](){const t=ft;this[t(220)][t(248)](),this[t(420)][t(248)](),this[t(358)][t(248)](),this[t(295)][t(248)](),this[t(435)][t(248)](),this[t(251)][t(248)](),this[t(224)][t(248)](),this[t(431)][t(248)](),this[t(202)][t(248)](),this[t(237)][t(248)](),this[t(195)]=1,this[t(379)]=this[t(195)]}[ft(222)](t,e=null){const i=ft;let s=null;t.is(i(311))||(s=new Q.ModelElement(t[i(402)],{vid_start:null===e?this[i(195)]++:e++}));const n=[];for(const s of t[i(325)]())if(s.is(i(273))){n[i(347)](this[i(222)](s,e));const t=n[n[i(317)]-1];null!==e&&(e=t.is(i(273),i(183))?t[i(350)](i(441))+1:t[i(350)](i(465))+1)}else for(let t=0;t<s[i(226)];t++)n[i(347)](new Q.ModelElement(i(183),{vid:null===e?this[i(195)]++:e++}));if(t.is(i(311))){const e=yt(t[i(163)]);return e[i(184)](0,n),e}return s[i(265)](i(465),null===e?this[i(195)]++:e++),s[i(184)](0,n),s}[ft(373)](t,e,i){const s=ft;this[s(452)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(216)][s(229)](t);this[s(251)]=new Map(n),this[s(224)]=new Map(A(o));for(const[t,e]of this[s(251)])if(s(368)!==t&&(this[s(295)][s(208)](t,gt(e)),this[s(435)]=new Map(A(o)),i)){const i=this[s(195)];this[s(431)][s(208)](t,this[s(222)](e)),this[s(202)][s(208)](t,this[s(222)](e,i))}this[s(379)]=this[s(195)],this[s(295)][s(208)](s(368),gt(this[s(251)][s(229)](s(368)))),i&&this[s(431)][s(208)](s(368),this[s(222)](this[s(251)][s(229)](s(368))));for(const[t,e]of r){const i=this[s(251)][s(229)](e[s(163)]),n=this[s(295)][s(229)](e[s(163)]),r=new Q.ModelRange(this[s(260)](e[s(175)],i),this[s(260)](e[s(357)],i)),o=this[s(338)](r,n);i[s(362)][s(208)](t,r),this[s(237)][s(208)](t,o)}this[s(164)](t,e,i)}[ft(164)](t,e,i){const s=ft;for(const n of this[s(213)][s(395)](t,e))this[s(354)](n,i);for(const t of this[s(295)][s(355)]())t[s(362)][s(248)]();for(const[t,e]of this[s(237)])this[s(295)][s(229)](e[s(162)][s(163)])[s(362)][s(208)](t,e[s(374)]());const n=new Map,r=new Map;for(const[t,e]of this[s(295)])n[s(208)](t,gt(e)),r[s(208)](t,this[s(435)][s(229)](t));this[s(257)](e,n,this[s(237)],r)}[ft(171)](t){const e=ft,i=Array[e(403)](this[e(216)][e(233)]());i[e(397)]((t,e)=>t-e),i[e(288)]();for(const e of i)if(e<t)return e;return Number[e(225)]}[ft(287)](t,e){const i=ft,s=Array[i(403)](e[i(362)])[i(294)](([e,s])=>[e,this[i(338)](s,t)]);t[i(362)]=new Map(s)}[ft(314)](t){const e=ft;for(const i of this[e(237)][e(355)]()){const s=i[e(268)](t),n=Q.ModelRange[e(380)](s);i[e(175)]=n[e(175)],i[e(357)]=n[e(357)]}}[ft(354)](t,e){const i=ft;if(i(344)!=t[i(361)]&&i(372)!=t[i(361)]){if(i(275)==t[i(361)]){const s=t[i(378)][i(162)][i(163)];this[i(295)][i(367)](s)||(this[i(295)][i(208)](s,yt(s,!0)),this[i(435)][i(208)](s,{}),e&&this[i(431)][i(208)](s,yt(s,!0)))}else{if(i(301)==t[i(361)]||i(447)==t[i(361)]||i(440)==t[i(361)])return void this[i(457)](t);i(384)==t[i(361)]&&this[i(459)](t)}if(i(384)!==t[i(361)]){const e=this[i(326)](t,this[i(295)]);e[i(172)](),this[i(314)](e)}if(e)switch(t[i(361)]){case i(275):this[i(387)](t);break;case i(340):case i(383):case i(181):this[i(179)](t);break;case i(180):this[i(190)](t);break;case i(346):this[i(359)](t)}}else this[i(464)](t,e)}[ft(326)](t,e){const i=ft,s=t[i(374)]();return s[i(409)]=t[i(409)],this[i(423)](s,e),s}[ft(259)](t){const e=ft;return t[e(294)](t=>{const i=e,s=this[i(418)](t);return Number(t[i(381)][i(350)](s))})}[ft(284)](t,e){const i=ft;if(t.is(i(273),i(183)))e[i(347)]({item:t,type:i(312)});else{t.is(i(273))&&e[i(347)]({item:t,type:i(331)});for(const s of t[i(325)]())this[i(284)](s,e);t.is(i(273))&&e[i(347)]({item:t,type:i(333)})}return e}[ft(203)](){const t=ft,e=new Map(this[t(220)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(251)][t(233)](),...this[t(295)][t(233)]()]);a[t(318)](t(368));for(const e of a){const i=this[t(295)][t(229)](e)||yt(e,!1),s=this[t(251)][t(229)](e)||yt(e,!1);i[t(201)]()||s[t(201)]()?(n[t(293)][e]=gt(i),n[t(385)][e]=gt(s),this[t(287)](n[t(385)][e],s),this[t(287)](n[t(293)][e],i),r[t(293)][e]=this[t(284)](this[t(431)][t(229)](e),[]),r[t(385)][e]=this[t(284)](this[t(202)][t(229)](e)||yt(e,!1),[])):a[t(318)](e)}for(const n of a){const o=r[t(293)][n];for(const n of o){const r=this[t(418)](n),o=n[t(381)][t(350)](r);i[t(318)](o),o>=this[t(379)]&&s[t(208)](o,e[t(229)](o))}}for(const n of a){const a=r[t(293)][n],c=this[t(259)](r[t(385)][n]);let u=0;for(const n of a){const r=this[t(418)](n),a=n[t(381)][t(350)](r);if(!s[t(367)](a)&&!o[t(367)](a))if(i[t(367)](a))u++;else{if(a!=c[u]){const s=e[t(229)](a)||e[t(229)](c[u]);for(;a!=c[u];)i[t(367)](c[u])||(o[t(208)](c[u],s),e[t(208)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(293)][e];for(const e of n){const n=this[t(418)](e),r=e[t(381)][t(350)](n);if(o[t(367)](r)){const e=o[t(229)](r);i[t(367)](r)||i[t(208)](r,{...e}),s[t(208)](r,{...e})}}}for(const e of i[t(233)]())e>=this[t(379)]&&i[t(318)](e);const c=new Map;for(const e of a){let n=r[t(293)][e];for(const e of n)if(e[t(381)].is(t(273),t(412))){const i=this[t(418)](e),n=e[t(381)][t(350)](i);if(s[t(367)](n)){const i=e[t(381)][t(451)][t(451)][t(350)](t(191)),r=c[t(229)](i)||new Set;r[t(305)](s[t(229)](n)[t(345)]),c[t(208)](i,r)}}n=r[t(385)][e];for(const e of n)if(e[t(381)].is(t(273),t(412))){const s=this[t(418)](e),n=e[t(381)][t(350)](s);if(i[t(367)](n)){const s=e[t(381)][t(451)][t(451)][t(350)](t(191)),r=c[t(229)](s)||new Set;r[t(305)](i[t(229)](n)[t(345)]),c[t(208)](s,r)}}for(const e of c[t(233)]())(s[t(367)](e)||i[t(367)](e))&&c[t(318)](e)}for(const e of a){const n=r[t(293)][e];let o=null,a=null;for(const e of n){const n=this[t(418)](e),r=e[t(381)][t(350)](n),u=c[t(229)](r);u&&t(331)==e[t(361)]&&(o=Array[t(403)](u)[0],a=e[t(381)][t(350)](t(465))),o&&(i[t(208)](r,{userId:o}),s[t(208)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(385)][e],a=n[t(293)][e];for(const{userId:e}of this[t(420)][t(355)]())null!==e&&l[t(305)](e);for(const{userId:e}of this[t(358)][t(355)]())null!==e&&l[t(305)](e);this[t(415)](a,r[t(293)][e],s,t(351),l),this[t(415)](o,r[t(385)][e],i,t(428),l),u[e]={insertions:this[t(205)](a),deletions:this[t(205)](o),attachChange:this[t(358)][t(229)](e)||null,attributesBefore:A(this[t(224)][t(229)](e))||{},attributesAfter:A(this[t(435)][t(229)](e))}}return{diffData:u,authorsIds:Array[t(403)](l)}}[ft(303)](t){const e=ft;for(const[,i]of t[e(362)]){const t=i[e(175)][e(276)]()[e(306)](t=>e(412)==t[e(402)]);for(const i of t)1==i[e(232)]&&i[e(366)](0).is(e(273),e(445))&&i[e(366)](0)[e(265)](e(290),!0)}}[ft(205)](t){const e=ft;this[e(303)](t);const i=this[e(434)][e(274)][e(176)](t,{}),s=Array[e(403)](i[e(325)]())[e(294)](t=>this[e(178)](t));return JSON[e(299)](s)}[ft(178)](t){const e=ft;if(t.is(e(183)))return t[e(274)];{const i=this[e(434)][e(241)][e(229)](e(456)),s=t,n=this[e(434)][e(274)][e(166)][e(369)],r={type:i[e(394)](s),name:s[e(402)],attributes:Array[e(403)](s[e(436)]()),children:Array[e(403)](s[e(325)]())[e(294)](t=>this[e(178)](t))};if(t.is(e(258))&&e(392)!=t[e(402)]){const i=t[e(309)](n[e(328)],n);r[e(432)][e(347)](i[e(389)])}else if(t.is(e(404))){const i=n[e(328)][e(253)](s[e(402)]);t[e(309)](i,n),r[e(432)][e(347)](i[e(478)])}const o=Array[e(403)](s[e(460)]());o[e(317)]>0&&(r[e(477)]=o);const a=s[e(209)]();return null!==a&&(r[e(278)]=a),r}}[ft(415)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(434)][r(396)];for(let s=0;s<e[r(317)];s++){const n=this[r(418)](e[s]),c=e[s][r(381)][r(350)](n),h=i[r(229)](c),d=s==e[r(317)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(345)]!=o[r(345)])&&(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),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(345)],d=l(405)+s+":"+h+":"+c++,f=u[l(279)](i,a);t[l(362)][l(208)](d,f),null!==h&&n[l(305)](h)}}[ft(418)](t){const e=ft;switch(t[e(361)]){case e(331):return e(191);case e(333):return e(465);default:return e(441)}}[ft(423)](t,e){const i=ft;t[i(462)]=null;for(const s in t){const n=t[s];if(n instanceof Q.ModelPosition){const r=e[i(229)](n[i(162)][i(163)]);t[s]=this[i(260)](n,r)}if(n instanceof Q.ModelRange){const r=e[i(229)](n[i(162)][i(163)]);t[s]=this[i(338)](n,r)}i(162)===s&&(t[i(162)]=e[i(229)](t[i(162)][i(163)]))}}[ft(338)](t,e){const i=ft;return this[i(434)][i(396)][i(279)](this[i(260)](t[i(175)],e),this[i(260)](t[i(357)],e))}[ft(260)](t,e){const i=ft;return this[i(434)][i(396)][i(353)](e,t[i(267)],t[i(336)])}[ft(387)](t){const e=ft,i=this[e(431)][e(229)](t[e(378)][e(162)][e(163)]),s=this[e(260)](t[e(378)],i),n=null===t[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,r=s[e(451)],o=this[e(195)],a=[];for(const i of t[e(375)])if(i.is(e(273)))a[e(347)](this[e(222)](i));else for(let t=0;t<i[e(226)];t++)a[e(347)](new Q.ModelElement(e(183),{vid:this[e(195)]++}));const c=this[e(195)];for(let t=o;t<c;t++)this[e(220)][e(208)](t,{userId:n});r[e(184)](s[e(193)],a)}[ft(179)](t){const e=ft;(t=this[e(326)](t,this[e(431)]))[e(172)]();const i=null===t[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,s=t[e(320)](),n=s[e(451)],r=s[e(193)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(366)](e);r.is(a(273),a(183))?s[a(208)](r[a(350)](a(441)),{userId:i}):(s[a(208)](r[a(350)](a(191)),{userId:i}),t(s,r,0,r[a(232)]),s[a(208)](r[a(350)](a(465)),{userId:i}))}}(this[e(220)],n,r,r+t[e(254)])}[ft(190)](t){const e=ft,i=null===(t=this[e(326)](t,this[e(431)]))[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,s=t[e(479)][e(451)],n=t[e(466)][e(451)],r=s[e(350)](e(465)),o=n[e(350)](e(191));s[e(265)](e(465),n[e(350)](e(465))),n[e(265)](e(465),r),this[e(220)][e(208)](o,{userId:i}),this[e(220)][e(208)](r,{userId:i}),t[e(172)]()}[ft(359)](t){const e=ft,i=null===(t=this[e(326)](t,this[e(431)]))[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,s=t[e(281)],n=t[e(231)][e(451)];t[e(172)]();const r=n[e(350)](e(465)),o=t[e(298)][e(364)];if(s){const t=o[e(350)](e(465)),s=n[e(350)](e(465));n[e(265)](e(465),t),o[e(265)](e(465),s),this[e(220)][e(208)](n[e(350)](e(465)),{userId:i}),this[e(220)][e(208)](o[e(350)](e(191)),{userId:i})}else{const t=this[e(195)]++,s=this[e(195)]++;n[e(265)](e(465),t),o[e(265)](e(191),s),o[e(265)](e(465),r),this[e(220)][e(208)](t,{userId:i}),this[e(220)][e(208)](s,{userId:i})}}[ft(459)](t){const e=ft;if(!t[e(239)])return;const i=(t=this[e(326)](t,this[e(295)]))[e(244)]?t[e(244)][e(162)]:null,s=t[e(165)]?t[e(165)][e(162)]:null;i&&this[e(237)][e(318)](t[e(402)]),s&&this[e(237)][e(208)](t[e(402)],t[e(165)][e(374)]());const n=null===t[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,r=t[e(402)];if(!this[e(420)][e(367)](r))return void this[e(420)][e(208)](r,{range:t[e(244)],userId:n});const o=this[e(420)][e(229)](r),a=o[e(286)],c=t[e(165)];null==a&&null==c||a&&c&&a[e(401)](c)?this[e(420)][e(318)](t[e(402)]):o[e(345)]=n}[ft(464)](t,e){const i=ft;this[i(295)][i(367)](t[i(163)])?this[i(295)][i(229)](t[i(163)])[i(448)]=t[i(414)]:(this[i(295)][i(208)](t[i(163)],yt(t[i(163)],!0)),this[i(435)][i(208)](t[i(163)],{}),e&&this[i(431)][i(208)](t[i(163)],yt(t[i(163)],!0)));const s=null===t[i(409)]?null:t[i(409)]||this[i(434)][i(241)][i(229)](i(342)).me.id,n=this[i(358)][i(229)](t[i(163)]);n&&n[i(345)]===s?this[i(358)][i(318)](t[i(163)]):this[i(358)][i(208)](t[i(163)],{userId:s,isAttached:t[i(414)]})}[ft(457)](t){const e=ft,i=this[e(435)][e(229)](t[e(162)][e(163)]);null===t[e(182)]?delete i[t[e(292)]]:i[t[e(292)]]=t[e(182)]}}function gt(t){const e=ft,i=yt(t[e(163)],t[e(201)]());for(const s of t[e(325)]()){const t=s[e(307)](!0);i[e(194)](t)}return i}function yt(t,e=!0){const i=ft,s=new Q.ModelDocumentFragment;return s[i(163)]=t,s[i(448)]=e,s[i(201)]=()=>s[i(448)],s}function kt(t,e,i){const s=ft,n=s(333)==t[s(361)]?i[s(238)](t[s(381)],s(357)):i[s(411)](t[s(381)]);return i[s(353)](e,n[s(267)],n[s(336)])}function bt(t,e){const i=mt();return(bt=function(t,e){return i[t-=162]})(t,e)}function wt(t,e,i){const s=ft,n=s(331)==t[s(361)]?i[s(238)](t[s(381)],0):i[s(212)](t[s(381)]);return i[s(353)](e,n[s(267)],n[s(336)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),Nt=i(102),Rt=i.n(Nt),At=i(123),Mt=i.n(At),Vt=i(741),Dt=i.n(Vt),Et=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(98),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Pt=Lt;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=235]})(t,e)}function zt(){const t=["focus","optional","render","fieldView","extendTemplate","arrowright","listenTo","input","10DijsCb","initializeCssTransitionDisablerMixin","errorText","keystrokes","500984wHEcyN","arrowup","revisionNameInputView","revisionName","add","revisionNameInputValue","label","element","743562obSysa","arrowdown","_createRevisionNameInput","trim","setTemplate","216FYDKpJ","98281zpnltj","stopPropagation","77HGTNcj","7735705nUGdlb","set","locale","value","arrowleft","6SODpwQ","220","focusTracker","10274752JmTwtC","reset","Name of the revision","form","1395656NoYcju","10xpDpZu","11910654SUKnwk","ck-revision-history-save-revision-form","ck-responsive-form"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(836375===parseInt(e(267))/1*(parseInt(e(237))/2)+parseInt(e(275))/3*(-parseInt(e(236))/4)+parseInt(e(270))/5+-parseInt(e(261))/6*(parseInt(e(269))/7)+-parseInt(e(278))/8+parseInt(e(238))/9*(parseInt(e(249))/10)+parseInt(e(253))/11*(parseInt(e(266))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(277)];[Pt(252)];[Pt(255)];constructor(e,i){const s=Pt;super(e),this[s(277)]=new t.FocusTracker,this[s(252)]=new t.KeystrokeHandler,this[s(271)](s(258),""),this[s(255)]=this[s(263)](i),this[s(265)]({tag:s(235),attributes:{class:["ck",s(239),s(240)],tabindex:"-1"},children:[this[s(255)]]}),this[s(250)]()}[Pt(243)](){const t=Pt;super[t(243)](),(0,It.submitHandler)({view:this}),this[t(277)][t(257)](this[t(255)][t(260)]),this[t(252)][t(247)](this[t(260)]);const e=e=>e[t(268)]();this[t(252)][t(271)](t(246),e),this[t(252)][t(271)](t(274),e),this[t(252)][t(271)](t(254),e),this[t(252)][t(271)](t(262),e)}[Pt(241)](){const t=Pt;this[t(255)][t(241)]()}get[Pt(256)](){const t=Pt;return this[t(255)][t(244)][t(260)][t(273)][t(264)]()}set[Pt(256)](t){const e=Pt;this[e(255)][e(244)][e(260)][e(273)]=t[e(264)]()}[Pt(279)](){const t=Pt;this[t(255)][t(244)][t(260)][t(273)]="",this[t(255)][t(251)]=null}[Pt(263)](t){const e=Pt,i=new It.LabeledFieldView(this[e(272)],It.createLabeledInputText),s=i[e(244)];s[e(245)]({attributes:{maxlength:e(276)}});let n=at(this[e(272)],e(280));return!t&&(n+=" ("+at(this[e(272)],e(242))+")"),i[e(259)]=n,s.on(e(248),()=>{const t=e;this[t(258)]=s[t(260)][t(273)][t(264)]()}),i}}const Wt=Ht;function Ht(t,e){const i=qt();return(Ht=function(t,e){return i[t-=212]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(358196===-parseInt(e(265))/1+parseInt(e(232))/2+parseInt(e(226))/3*(-parseInt(e(218))/4)+-parseInt(e(236))/5+-parseInt(e(277))/6+-parseInt(e(228))/7+parseInt(e(275))/8*(parseInt(e(255))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends G.Plugin{static get[Wt(238)](){return Wt(242)}static get[Wt(273)](){return!0}static get[Wt(278)](){return!0}static get[Wt(246)](){return[pt]}[Wt(241)];[Wt(223)](){const t=Wt,e=this[t(215)],i=e[t(243)][t(237)](t(269));e.ui[t(267)][t(221)](t(231),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(264)][n(249)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(225)](It.ButtonView),l=new It.ListItemView(s),h=this[n(234)](It.ButtonView);return r[n(245)](n(251)).to(i,n(227),i,n(251),e,n(248),(t,e,i)=>t&&e&&!i),r[n(258)][n(260)]({icon:_t.IconHistory,label:at(s,n(217)),tooltip:!0}),u[n(260)]({withText:!0,role:n(262)}),h[n(260)]({withText:!0,role:n(262)}),this[n(256)](h,n(282),()=>{const t=n;r[t(220)]=!1,e[t(252)][t(268)][t(280)]()},{priority:n(272)}),c[n(249)][n(221)](u),l[n(249)][n(221)](h),a[n(283)]=n(281),a[n(259)][n(250)]([c,l]),o[n(221)](a),r}),e.ui[t(267)][t(221)](t(276),()=>this[t(271)]())}[Wt(271)](){const t=Wt,e=this[t(215)],i=e[t(266)],s=e[t(243)][t(237)](t(269)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(245)](t(251)).to(s,t(227),s,t(251),e,t(248),(t,e,i)=>t&&e&&!i),n[t(258)][t(260)]({icon:_t.IconHistory,label:at(i,t(217))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(225)](It.MenuBarMenuListItemButtonView);a[t(263)](t(282)).to(n),o[t(249)][t(221)](a),r[t(259)][t(221)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(234)](It.MenuBarMenuListItemButtonView);return u[t(263)](t(282)).to(n),c[t(249)][t(221)](u),r[t(259)][t(221)](c),n[t(264)][t(249)][t(221)](r),n}[Wt(225)](t){const e=Wt,i=this[e(215)],s=i[e(243)][e(237)](e(269)),n=new t(i[e(266)]);return n[e(260)]({label:at(i[e(266)],e(212))}),n[e(245)](e(251)).to(s,e(227),s,e(251),i,e(248),(t,e,i)=>t&&e&&!i),this[e(256)](n,e(282),()=>{this[e(240)]()}),n}[Wt(234)](t){const e=Wt,i=this[e(215)],s=i[e(243)][e(237)](e(269)),n=new t(i[e(266)]);return n[e(260)]({label:at(i[e(266)],e(270))}),n[e(245)](e(251)).to(s,e(227),i,e(248),(t,e)=>t&&!e),this[e(256)](n,e(282),()=>{const t=e;i[t(224)][t(237)](t(231))[t(254)]()}),n}[Wt(240)](){const t=Wt,e=this[t(215)],i=e[t(266)],s=e[t(243)][t(237)](t(214)),n=e[t(243)][t(237)](t(269));function r(n){const r=t;e[r(224)][r(237)](r(213))&&""===n[r(261)]?n[r(274)][r(235)]=at(i,r(239)):(e[r(243)][r(237)](pt)[r(244)]({name:n[r(261)]}),s[r(219)]())}this[t(241)]||(this[t(230)](),this[t(241)].on(t(247),()=>r(this[t(241)]))),this[t(241)][t(279)](),s[t(233)]({id:t(253),title:at(i,t(212)),isModal:!0,content:this[t(241)],actionButtons:[{label:at(e[t(266)],t(257)),withText:!0,onExecute:()=>s[t(219)]()},{label:at(e[t(266)],t(229)),class:t(216),withText:!0,onCreate(i){const s=t;i[s(245)](s(251)).to(n,s(227),n,s(251),e,s(248),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(241)])}]})}[Wt(230)](){const t=Wt,e=this[t(215)],i=e[t(266)];this[t(241)]=new Ut(i,e[t(224)][t(237)](t(213))),this[t(241)][t(222)]()}}function qt(){const t=["_createSaveRevisionButton","300IdpeEP","isReady","3807041QvXkQq","Accept","_createSaveRevisionFormView","revisionHistory","986896LExBkD","show","_createOpenRevisionButton","errorText","3578580DTRhrU","get","pluginName","The revision name cannot be empty.","_showDialog","_saveRevisionFormView","RevisionHistoryUI","plugins","saveRevision","bind","requires","submit","isReadOnly","children","addMany","isEnabled","editing","revisionSave","showRevisionViewerCallback","27376659Qmphjo","listenTo","Cancel","buttonView","items","set","revisionName","menuitem","delegate","panelView","672627VetRVa","locale","componentFactory","view","RevisionTracker","Open revision history","_registerMenuComponent","low","isOfficialPlugin","revisionNameInputView","8RVxIoV","menuBar:revisionHistory","4030182pIVSBA","isPremiumPlugin","reset","focus","menu","execute","role","Save current revision","revisionHistory.requireRevisionName","Dialog","editor","ck-button-action","Revision history","22928kRYpFm","hide","isOpen","add","render","init","config"];return(qt=function(){return t})()}function $t(t,e){const i=Bt();return($t=function(t,e){return i[t-=373]})(t,e)}function Bt(){const t=["type","data","ck-revision-change","element","span","8311737SaExoA","_model","bindTemplate","445806LFOCtG","ck-revision-change__label","214650pmULEt","3511395xRjFLz","1202096taAdLD","name","Suggested by","1552TdjKFY","div","setTemplate","1665sjMDTO","set","ck-revision-change__","ck-annotation","focus","8585168cyAcRt","changeId","50lEFJGF","718eajvBQ","isSuggestion","add","Added by","Removed by","author"];return(Bt=function(){return t})()}const Yt=$t;!function(t){const e=$t,i=t();for(;;)try{if(654705===parseInt(e(395))/1*(parseInt(e(384))/2)+-parseInt(e(380))/3+parseInt(e(381))/4+-parseInt(e(394))/5*(parseInt(e(377))/6)+-parseInt(e(374))/7+-parseInt(e(392))/8+-parseInt(e(387))/9*(-parseInt(e(379))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[Yt(393)];[Yt(375)];constructor(t,e){const i=Yt;super(t),this[i(375)]=e,this[i(393)]=e.id;const s=this[i(376)],n=at(t,e[i(402)][i(396)]?i(383):i(397)==e[i(401)]?i(398):i(399));this[i(388)](i(401),e[i(401)]),this[i(386)]({tag:i(385),attributes:{class:[i(390),i(403),s.to(i(401),t=>i(389)+t)],tabindex:-1},children:[{tag:i(373),children:[{tag:i(373),attributes:{class:[i(378)]},children:[{text:n}]},{text:" "+e[i(400)][i(382)]}]}]})}[Yt(391)](){const t=Yt;this[t(404)][t(391)]()}}var Gt=Kt;function Kt(t,e){var i=Qt();return(Kt=function(t,e){return i[t-=256]})(t,e)}function Qt(){var t=["1392503TIjHpm","rootName","author","set","12067BGXewE","96ySwsaq","4974RJNyEG","type","toJSON","8070ZHlIIB","2545eqvOdO","createdAt","data","21165yibQJP","23481TXsAOx","236PTqaGt","1709194XegOeg","138700WVKSom"];return(Qt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(499951===-parseInt(e(261))/1+-parseInt(e(260))/2+-parseInt(e(257))/3*(-parseInt(e(259))/4)+-parseInt(e(272))/5*(-parseInt(e(268))/6)+-parseInt(e(262))/7+parseInt(e(267))/8*(-parseInt(e(258))/9)+-parseInt(e(271))/10*(-parseInt(e(266))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(264)];[Gt(269)];[Gt(256)];[Gt(263)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(264)]=e[i(264)],this[i(269)]=e[i(269)],this[i(256)]=e[i(256)]||{},this[i(263)]=e[i(263)],this[i(265)](i(273),e[i(273)])}[Gt(270)](){var t=Gt;return{id:this.id,authorId:this[t(264)].id,type:this[t(269)],data:this[t(256)],createdAt:this[t(273)]}}}function te(){const t=["362776KWOHmq","add","8965890FfPcHu","oldRevisionId","1207470RiTfYm","3909936ACYvMK","newRevisionId","7431HBeGHz","91yEGidn","_setChanges","841072gbdAaf","446DeEkke","changes","5173992iYhbhi","5RGBUIF"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=162]})(t,e)}const ie=ee;!function(t){const e=ee,i=t();for(;;)try{if(667252===-parseInt(e(166))/1+-parseInt(e(167))/2*(parseInt(e(163))/3)+parseInt(e(176))/4+parseInt(e(170))/5*(parseInt(e(175))/6)+parseInt(e(164))/7*(-parseInt(e(171))/8)+parseInt(e(169))/9+parseInt(e(173))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class se{[ie(162)];[ie(174)];[ie(168)];constructor(e,i){const s=ie;this[s(162)]=e,this[s(174)]=i,this[s(168)]=new t.Collection}[ie(165)](t){const e=ie;for(const i of t)this[e(168)][e(172)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ae;function ae(t,e){const i=le();return(ae=function(t,e){return i[t-=316]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(630445===parseInt(e(546))/1*(parseInt(e(384))/2)+parseInt(e(637))/3*(parseInt(e(430))/4)+-parseInt(e(338))/5+-parseInt(e(621))/6*(parseInt(e(329))/7)+parseInt(e(616))/8*(-parseInt(e(485))/9)+-parseInt(e(392))/10+-parseInt(e(452))/11*(-parseInt(e(333))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(le);class ce extends G.Plugin{[oe(465)];[oe(427)]=null;[oe(404)];[oe(544)];[oe(417)];[oe(467)];[oe(515)];static get[oe(632)](){return oe(596)}static get[oe(495)](){return!0}static get[oe(358)](){return!0}static get[oe(509)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(465)]=this[e(453)][e(363)][e(336)](e(575)),this[e(404)]=this[e(453)][e(363)][e(336)](e(471)),this[e(456)](e(371),null),this[e(456)](e(505),null),this[e(544)]=null,this[e(456)](e(369),null),this[e(456)](e(335),!1),this[e(456)](e(572),!0),this.on(e(545),(t,i,s)=>{const n=e;this[n(371)]=null,this[n(505)]=null,this[n(453)][n(464)][n(470)][n(624)](t=>{const e=n;for(const i of this[e(453)][e(464)][e(470)][e(594)][e(377)])s?t[e(366)](e(387),i):t[e(397)](e(387),i)})}),this[e(643)](e(493)).to(this,e(371),t=>null!==t),this[e(643)](e(341)).to(this,e(335),this,e(369),this,e(371),(t,i,s)=>t&&s?i[e(362)][e(606)](s):0),this[e(643)](e(434)).to(this,e(335),this,e(369),(t,i)=>t?i[e(362)][e(492)]:0),this[e(417)]=null,this[e(467)]=new Map,this[e(515)]=this[e(453)][e(363)][e(336)](It.ContextualBalloon)}[oe(501)](){const t=oe,e=this[t(453)],i=new de(e,{direction:t(410)}),s=new de(e,{direction:t(610)});e[t(322)][t(556)](t(380),i),e[t(322)][t(556)](t(393),s),e[t(322)][t(556)](t(447),new he(e)),this.on(t(605),()=>{const e=t;i[e(595)](),s[e(595)]()}),this[t(327)](),this[t(552)](),e[t(476)](t(463)),e[t(363)][t(615)](t(386))&&e[t(363)][t(336)](t(386))[t(444)](t(463))}async[oe(337)](t){const e=oe;return await this[e(404)][e(381)](t,this[e(427)]),this[e(404)][e(337)](t)}async[oe(318)](t){const e=oe;return await this[e(404)][e(381)](t,this[e(427)]),this[e(404)][e(318)](t)}async[oe(537)](t,e,i=!1){const s=oe;if(!this[s(572)])return;const n=this[s(369)],r=this[s(465)],o=s(475)==typeof t?r[s(504)](t):t,a=s(475)==typeof e?r[s(504)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(369)]&&this[s(369)][s(566)]===c&&this[s(369)][s(344)]===u)return Promise[s(613)]();this[s(335)]=!1,this[s(505)]=null,this[s(371)]=null,this[s(369)]=new se(c,u);const l=this[s(511)](o,a,!0)[s(460)](t=>this[s(404)][s(381)](t,this[s(427)]));return l[s(422)](new Promise(t=>{setTimeout(t,20)})),Promise[s(347)](l)[s(607)](()=>{const t=s;if(!this[t(572)])return;this[t(436)]();const e=this[t(508)](c,u);for(const i of e[t(362)])this[t(467)][t(456)](i.id,i);this[t(453)][t(525)][t(623)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(453)][s(525)][s(594)][s(532)]())i[s(635)](t);for(const t of Object[s(324)](e[s(525)])){const n=i[s(538)](t);for(const r of Object[s(324)](e[s(478)][t]))i[s(459)](r,e[s(478)][t][r],n);i[s(524)](e[s(525)][t],n,0)}}),this[t(369)][t(634)](this[t(630)](e[t(362)])),this[t(335)]=!0})[s(482)](t=>{const e=s;console[e(536)](t),this[e(436)](),n&&(this[e(369)]=n),this[e(335)]=!0})}[oe(457)](t,e){const i=oe,s=this[i(465)][i(573)](t);return s.on(i(383),(t,i,n)=>e(i,n,s)),this[i(465)][i(491)](s),s}[oe(436)](){const t=oe;this[t(371)]=null,this[t(514)](),this[t(417)]&&this[t(417)][t(390)](),this[t(417)]=null,this[t(467)][t(385)](),this[t(453)][t(525)][t(623)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(453)][i(525)][i(594)][i(532)]())e[i(635)](t)})}[oe(630)](t){const e=oe,i=[],s=new Map;for(const t of this[e(453)][e(525)][e(594)][e(532)]()){const n=this[e(453)][e(464)][e(470)][e(578)](t);if(!n)continue;const r=n[e(370)]()[e(450)](0);r&&(i[e(422)](t),s[e(456)](t,r))}return i[e(440)]((t,i)=>{const n=e,r=s[n(336)](t),o=s[n(336)](i);return r.y-o.y||r.x-o.x}),(t=t[e(620)](t=>i[e(522)](t[e(406)])))[e(440)]((t,s)=>i[e(585)](t[e(406)])-i[e(585)](s[e(406)])),t}[oe(388)](t){const e=oe,i=Array[e(541)](t[e(565)])[e(620)](([t,i])=>t[e(374)](e(520))&&!i[e(540)]),s=Array[e(541)](this[e(453)][e(525)][e(528)](t)[e(497)]({singleCharacters:!0}));if(0!=i[e(492)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(628)](":");if(n[e(451)][e(354)](t[e(359)])&&i[e(553)](),(t[e(499)][e(354)](n[e(437)])||t[e(499)][e(445)](n[e(437)]))&&(e(489)==r?t[e(446)]={userId:o}:e(519)==r&&(t[e(400)]={userId:o})),0==i[e(492)])break}return s}[oe(560)](t){const e=oe,i=new Map;for(let s=0;s<t[e(492)];s++)e(619)===t[s][e(399)]?(t[s][e(450)][e(483)]=s,t[s][e(450)][e(576)]=s):(e(373)===t[s][e(399)]?t[s][e(450)][e(483)]=s:e(455)===t[s][e(399)]&&(t[s][e(450)][e(576)]=s),i[e(456)](t[s].id,s));for(const s of i[e(543)]())e(373)===t[s][e(399)]?t[s][e(450)][e(576)]=i[e(336)](t[s][e(559)]):e(455)===t[s][e(399)]&&(t[s][e(450)][e(483)]=i[e(336)](t[s][e(559)]))}[oe(502)](t){const e=oe;for(let i=0;i<t[e(492)];i++){if(e(373)===t[i][e(399)])t[i][e(450)][e(483)]=i;else if(e(455)===t[i][e(399)]){t[i][e(450)][e(576)]=i;const s=t[i][e(450)][e(483)];t[s][e(559)]=t[i].id,t[i][e(559)]=t[s].id}else t[i][e(450)][e(483)]=i,t[i][e(450)][e(576)]=i,t[i][e(559)]=null;t[i][e(629)]||(t[i][e(629)]=[],t[i][e(599)]=[])}}[oe(521)](t,e){const i=oe,s=t[i(620)](t=>!t[i(446)]);for(let t=0;t<e[i(492)];t++)e[t][i(446)]&&(s[t][i(446)]=e[t][i(446)])}[oe(508)](t,e=null){const i=oe,s=this[i(465)][i(504)](t),n=e?this[i(465)][i(504)](e):null,r=this[i(511)](s,n),o=r[r[i(492)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(492)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(324)](e[i(342)]))if(e[i(342)][t][i(513)]){const s=e[i(342)][t][i(513)];s[i(626)]?(u[i(556)](t),l[i(615)](t)&&l[i(336)](t)[i(580)]==s[i(580)]?l[i(411)](t):l[i(456)](t,s)):l[i(615)](t)?(u[i(411)](t),l[i(411)](t)):(u[i(556)](t),l[i(456)](t,s))}else u[i(556)](t)}for(const t of u){const e=l[i(615)](t)&&!l[i(336)](t)[i(626)];let s=e?r[i(492)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(342)][t]){const s=e?o[i(342)][t][i(614)]:o[i(342)][t][i(535)];c[i(478)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(525)]={};for(const e of t[i(435)])a[i(456)](e.id,e);for(const e of u){const s=t[i(342)][e]?t[i(342)][e][i(429)]:"[]",n=t[i(342)][e]?t[i(342)][e][i(328)]:"[]";t[i(525)][e]={insertions:this[i(404)][i(642)](s),deletions:this[i(404)][i(642)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(541)](s[i(525)][t][i(429)][i(565)])[i(620)](([t])=>!t[i(374)](i(520))));let h=0;for(const o of r){const r=this[i(388)](o[i(525)][t][i(429)]);o==s?(e=r,n=e[i(492)],e[i(554)](t=>{t.id=h++}),this[i(502)](e)):this[i(521)](e,r);const a=e[i(620)](t=>!t[i(446)])[i(460)](t=>t.id);let c=0;const l=this[i(388)](o[i(525)][t][i(328)]);l[i(554)](t=>{t[i(400)]?t.id=n++:t.id=a[c++]}),this[i(502)](l),this[i(591)](e,i(446)),this[i(591)](l,i(400)),o==s&&this[i(396)](e,u),e=this[i(481)](e,l),this[i(560)](e),this[i(591)](e,i(400))}e=e[i(620)](t=>!(t[i(446)]&&t[i(400)]));const d=new Map(o[i(525)][t][i(328)][i(565)]),f=new Set(u[i(324)]());for(const t of d[i(324)]())f[i(411)](t);this[i(357)](e,f),this[i(330)](e),e=this[i(414)](e),e=this[i(421)](e),e=this[i(600)](e);const{root:m,changes:p}=this[i(510)](e,a,t);c[i(525)][t]=m;const v=l[i(336)](t);if(v){const e=a[i(336)](v[i(580)]),s=new Xt({author:e,type:v[i(626)]?i(556):i(530),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(331)](s),c[i(478)][t][i(326)]=s.id}c[i(362)]=c[i(362)][i(379)](p)}return c}[oe(396)](t,e){const i=oe;for(let s=0;s<t[i(492)];s++)for(const[n,r]of e)!r[i(540)]&&r[i(437)][i(354)](t[s][i(499)])&&t[s][i(629)][i(422)](n),r[i(451)][i(354)](t[s][i(359)])&&t[s][i(599)][i(422)](n)}[oe(481)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(492)]||r<e[i(492)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(422)](o);else if(a[i(400)]&&o[i(446)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(586)](t,n,e,r);s=s[i(379)](o),n=a,r=c}else a[i(400)]?(r++,s[i(422)](a)):(n++,s[i(422)](o))}return s}[oe(357)](t,e){const i=oe,s=[];for(let o=0;o<t[i(492)];o++){for(let r=0;r<t[o][i(629)][i(492)];r++){const a=t[o][i(629)][r];if(!e[i(615)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(507)!=c||i(489)!=u&&i(519)!=u||(s[i(331)]({type:u,name:a,userId:l}),t[o][i(629)][i(598)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(599)][i(492)];r++){const a=t[o][i(599)][r];if(!e[i(615)](a))continue;const{group:c,type:u}=n(a);if(i(507)!=c||i(489)!=u&&i(519)!=u)continue;t[o][i(599)][i(598)](r,1),r--;const l=s[i(500)](t=>t[i(317)]==a);l>-1&&s[i(598)](l,1)}}function n(t){const e=i,s=t[e(628)](":");return{group:s[0],type:s[1],subType:s[e(492)]>=5?s[2]:null,id:s[e(492)]<5?s[2]:s[3],authorId:s[e(492)]<5?s[3]:s[4],markerCount:6==s[e(492)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(492)];i++){if(t[e(446)]&&e(489)==s[i][e(399)]&&t[e(446)][e(580)]==s[i][e(580)])return t[e(353)]=s[i],void delete t[e(446)];if(!t[e(446)]&&!t[e(400)]&&e(519)==s[i][e(399)])return void(t[e(506)]=s[i])}}}[oe(591)](t,e){const i=oe;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(456)](o.id,s);for(let s=0;s<t[i(492)];s++){if(i(400)==e&&t[s][i(446)]||i(446)==e&&t[s][i(400)])continue;if(i(619)==t[s][i(399)]){t[s][i(412)]=0;continue}const n=r[i(336)](t[s][i(559)]),o=r[i(336)](t[s].id);t[s][i(412)]=n-o}}[oe(511)](t,e,i=!1){const s=oe,n=[];let r=this[s(465)][s(606)](t),o=this[s(465)][s(606)](e);for(-1==o&&(o=this[s(465)][s(332)][s(492)],i=!1);r<o;)n[s(422)](this[s(465)][s(504)](r)),r++;return i&&n[s(422)](this[s(465)][s(504)](r)),n}[oe(586)](t,e,i,s){const n=oe,r=this[n(453)][n(525)][n(424)];let o=e;for(;t[o]&&t[o][n(446)];)o++;let a=s;for(;i[a]&&i[a][n(400)];)a++;u(t,e,o),u(i,s,a);const c=i[n(415)](s,a)[n(379)](t[n(415)](e,o));return c[n(440)]((t,e)=>t[n(571)]!=e[n(571)]?t[n(571)]-e[n(571)]:t[n(639)]!=e[n(639)]?t[n(639)]-e[n(639)]:t[n(412)]!=e[n(412)]?e[n(412)]-t[n(412)]:!!t[n(446)]!=!!e[n(446)]?-1==t[n(571)]||0==t[n(571)]?t[n(446)]?-1:1:t[n(446)]?1:-1:t[n(355)]-e[n(355)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(562)],c=!0;for(let n=e;n<i;n++)if(r[s(432)](t[n][s(450)])||(c=!1),t[n][s(450)][s(483)]<e&&(o=n),t[n][s(450)][s(576)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(571)]=n<=o?-1:n<a?0:1,t[n][s(355)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(412)]?t[i][s(639)]=u:(u++,t[i][s(639)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(571)]&&(t[n][s(639)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(412)]?t[e][s(639)]=u:(u--,t[e][s(639)]=u,u--)}}[oe(330)](t){const e=oe,i=new Map,s=this[e(453)][e(525)][e(424)];for(let n=1;n<t[e(492)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(619)==c[e(399)])continue;if(c[e(399)]!=u[e(399)])continue;if(!s[e(350)](u[e(450)])||s[e(518)](u[e(450)]))continue;if(!s[e(350)](c[e(450)])||s[e(518)](c[e(450)]))continue;if((t[n][e(446)]||t[n][e(353)])&&t[n-1][e(400)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(400)]||!t[n-1][e(446)]&&!t[n-1][e(353)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(639)]==o[e(639)],h=Math[e(468)](r[e(639)])<Math[e(468)](o[e(639)])&&0==o[e(412)];(l||h)&&(i[e(456)](o.id,r.id),t[e(598)](a,1),n--,r[e(446)]=!1)}for(let s=0;s<t[e(492)];s++)i[e(615)](t[s][e(559)])&&(t[s][e(559)]=i[e(336)](t[s][e(559)]))}[oe(414)](t){const e=oe,i=new Set(t[e(460)](t=>t.id));for(let s=0;s<t[e(492)];s++)i[e(615)](t[s][e(559)])||0==t[s][e(412)]||(t[s][e(349)]=!0);return t[e(620)](t=>!t[e(349)])}[oe(421)](t){const e=oe,i=new Set;for(let s=0;s<t[e(492)];s++){if(i[e(615)](t[s].id)&&t[s][e(400)]&&(t[s][e(349)]=!0),t[s][e(349)])continue;if(0==t[s][e(412)])continue;if(e(373)!=t[s][e(399)])continue;if(null==t[s][e(559)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(559)];)e(373)==t[n][e(399)]?r++:e(455)==t[n][e(399)]&&r--,n++;if(0!=r)if(t[s][e(400)])t[s][e(349)]=!0;else for(;n!=s;)t[n][e(400)]&&0!=t[n][e(412)]&&(t[n][e(349)]=!0,i[e(556)](t[n][e(559)])),n--}return t[e(620)](t=>!t[e(349)])}[oe(600)](t){const e=oe,i=this[e(453)][e(525)][e(424)];for(let s=0;s<t[e(492)];s++){if(!(t[s][e(446)]||t[s][e(353)]||t[s][e(400)]||t[s][e(506)]))continue;if(0==t[s][e(412)])continue;const n=t[s][e(450)];i[e(350)](n)||i[e(518)](n)||(t[s][e(446)]&&delete t[s][e(446)],t[s][e(353)]&&delete t[s][e(353)],t[s][e(506)]&&delete t[s][e(506)],t[s][e(400)]&&(t[s][e(349)]=!0))}return t[e(620)](t=>!t[e(349)])}[oe(510)](t,e,i){const s=oe,n=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[s(453)][s(525)],c=a[s(424)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(492)];e++)if(s(373)===t[e][s(399)]){t[e][s(499)]=a[s(407)](n,f);const i=new Q.ModelElement(t[e][s(450)][s(317)],t[e][s(450)][s(555)]());u[0][s(609)](i),f[s(422)](0),u[s(331)](i),t[e][s(359)]=a[s(407)](n,f)}else s(455)===t[e][s(399)]?(u[s(553)](),t[e][s(499)]=a[s(407)](n,f),f[s(608)](),f[f[s(492)]-1]++,t[e][s(359)]=a[s(407)](n,f)):(t[e][s(499)]=a[s(407)](n,f),d?d[s(633)]+=t[e][s(450)][s(558)]:d=new Q.ModelText(t[e][s(450)][s(558)],t[e][s(450)][s(555)]()),t[e+1]&&s(619)===t[e+1][s(399)]&&v(d,t[e+1][s(450)])||(u[0][s(609)](d),d=null),f[f[s(492)]-1]+=t[e][s(450)][s(547)],t[e][s(359)]=a[s(407)](n,f));for(let e=0;e<t[s(492)];e++){const i=t[e][s(499)],n=t[e][s(359)];for(const n of t[e][s(629)])o[s(456)](n,{start:i,end:null});m(s(506),e,i,n),m(s(353),e,i,n),m(s(400),e,i,n),m(s(446),e,i,n);for(const i of t[e][s(599)]){const t=o[s(336)](i);t?t[s(451)]=n:o[s(456)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(453)][s(525)][s(401)](e[s(437)],e[s(451)]);n[s(565)][s(456)](t,i)}return r[s(440)]((t,e)=>{const i=s,r=n[i(565)][i(336)](i(520)+t.id),o=n[i(565)][i(336)](i(520)+e.id);return r[i(437)][i(601)](o[i(437)])?-1:r[i(437)][i(445)](o[i(437)])?1:r[i(451)][i(601)](o[i(451)])?-1:r[i(451)][i(445)](o[i(451)])?1:i(556)===t[i(399)]?-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(580)]:null,d=i===t[o(492)]-1,f=h[e][0],m=c[o(472)](t[i][o(450)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(451)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(580)]!==u&&(l[e][o(451)]=n,f&&f[o(580)]===l[e][o(580)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(373)!==t[i][o(399)]||f&&f[o(580)]===u||h[e][o(331)]({userId:u,object:t[i][o(450)],change:l[e]}),o(455)===t[i][o(399)]&&f&&f[o(638)]===t[i][o(450)]&&(h[e][o(553)](),l[e]=f[o(624)])),l[e]&&d&&(l[e][o(451)]=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(450)],f=a[h(424)][h(350)](d)&&!a[h(424)][h(518)](d),m=t[h(420)]==o[h(593)]&&o[h(592)];if(f&&m)return;const p=a[h(401)](t,o),v=e[h(336)](u),g=new Xt({author:v,type:h(446)==l||h(353)==l?h(556):h(530),data:{isSuggestion:h(353)==l||h(506)==l},createdAt:new Date,rootName:i});r[h(422)](g),n[h(565)][h(456)](h(520)+g.id,p)}function v(t,e){const i=s,n=t[i(555)](),r=e[i(555)]();for(const t of n){if(t[1]!==e[i(389)](t[0]))return!1;r[i(534)]()}return r[i(534)]()[i(570)]}}[oe(327)](){const t=oe;this[t(453)][t(568)][t(488)](t(636))[t(589)]({view:t(529)}),this[t(453)][t(568)][t(488)](t(480))[t(583)]({model:t(529),view:e=>{const i=t,s=e[i(442)][i(628)](":")[1],n=this[i(574)](s);if(!n)return null;const r=i(556)==n[i(399)]?i(489):i(519),o=[i(484),i(458)+r];return n[i(558)][i(448)]&&o[i(422)](i(458)+r+i(368)),this[i(371)]==n&&o[i(422)](i(346)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(453)][t(568)][t(488)](t(636))[t(556)](e=>{const i=t;e.on(i(542),(t,e,s)=>{const n=i,r=e[n(320)][n(548)](0);if(!r||!r.is(n(409),n(466)))return;if(!s[n(569)][n(351)](r,{attributes:[n(527),n(345)]}))return;const o=e[n(533)][n(437)][n(420)];s[n(441)][n(459)](n(527),r[n(389)](n(527)),o),s[n(441)][n(459)](n(345),r[n(389)](n(345)),o)},{priority:i(394)})}),this[t(453)][t(568)][t(488)](t(636))[t(556)](e=>{const i=t;e.on(i(409),(t,e,s)=>{const n=i;if(!s[n(569)][n(351)](e[n(320)],{attributes:[n(527),n(345)]}))return;if(e[n(533)][n(540)])return;const r=e[n(533)][n(437)][n(420)];r[n(539)](n(527))||r[n(539)](n(526))||(s[n(441)][n(459)](n(527),e[n(320)][n(389)](n(527)),r),s[n(441)][n(459)](n(345),e[n(320)][n(389)](n(345)),r))},{priority:i(394)})}),this[t(453)][t(568)][t(488)](t(636))[t(625)]({view:{name:t(426),attributes:{vid:!0}},model:{key:t(526),value:e=>e[t(389)](t(526))}}),this[t(453)][t(525)][t(424)].on(t(551),(e,[,i])=>{const s=t;[s(527),s(345),s(526)][s(522)](i)&&(e[s(382)]=!0,e[s(376)]())},{priority:t(419)}),this[t(453)][t(568)][t(488)](t(439))[t(556)](e=>{const i=t;e.on(i(474),(t,e,s)=>{const n=i;if(" "!=e[n(450)][n(558)]||e[n(450)][n(593)][n(402)]>1)return;if(!s[n(569)][n(351)](e[n(450)],t[n(317)]))return;const r=s[n(441)],o=s[n(398)][n(433)](e[n(561)]);r[n(403)](o,r[n(641)](n(426)))})}),this[t(453)][t(568)][t(488)](t(439))[t(431)]({model:t(529)}),this[t(453)][t(464)][t(325)].on(t(564),function(e){const i=t,s=e[i(363)][i(336)](i(596));return(t,n,r)=>{const o=i,a=n[o(442)][o(628)](":")[1],c=s[o(574)](a);if(!c)return null;const u=o(556)==c[o(399)]?o(628):o(494);if(!r[o(569)][o(443)](n[o(581)],t[o(317)]))return;const l=n[o(581)][o(497)](),h=n[o(581)][o(437)],d=e[o(525)][o(424)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(450)];p=p||d[o(321)](e);const i=r[o(398)][o(498)](e);if(i&&i[o(319)](o(416)))return;o(455)==t[o(399)]&&d[o(350)](e)&&!d[o(518)](e)&&(e[o(612)]||h[o(405)]?f&&f[o(593)]==e||(f=e,g(t[o(499)]),v=!0):m=m||t[o(499)])}function g(t){const e=o,i=r[e(441)][e(428)](e(426),{class:e(458)+u}),a=r[e(398)][e(496)](t);c[e(558)][e(448)]&&r[e(441)][e(397)](e(458)+u+e(368),i),s[e(371)]==c&&r[e(441)][e(397)](e(346),i),r[e(441)][e(524)](a,i),r[e(398)][e(334)](i,n[e(442)])}p||v||!m||g(m)}}(this[t(453)]),{priority:t(631)}),this[t(453)][t(464)][t(325)].on(t(584),(e,i,s)=>{const n=t,r=s[n(398)][n(563)](i[n(442)]);if(r)for(const t of r)(t[n(622)](n(418))||t[n(622)](n(391)))&&(s[n(398)][n(512)](t,i[n(442)]),s[n(441)][n(530)](t))},{priority:t(631)}),this[t(453)][t(464)][t(325)].on(t(564),(e,i,s)=>{const n=t,r=i[n(442)][n(628)](":")[1],o=this[n(574)](r);if(!o)return null;const a=n(556)==o[n(399)]?n(628):n(494);if(s[n(569)][n(443)](i[n(581)],e[n(317)]))for(const t of i[n(581)][n(618)]()){if(!t.is(n(409),n(461)))continue;const e=s[n(441)][n(428)](n(426),{class:n(458)+a}),r=s[n(398)][n(496)](this[n(453)][n(525)][n(611)](t));o[n(558)][n(448)]&&s[n(441)][n(397)](n(458)+a+n(368),e),this[n(371)]==o&&s[n(441)][n(397)](n(346),e),s[n(441)][n(524)](r,e),s[n(398)][n(334)](e,i[n(442)])}},{priority:t(631)}),this[t(453)][t(525)][t(594)].on(t(624),()=>{const e=t;this[e(453)][e(464)][e(470)][e(624)](t=>{const i=e;for(const e of this[i(453)][i(525)][i(594)][i(532)]()){const s=this[i(453)][i(525)][i(594)][i(627)](e),n=this[i(453)][i(464)][i(470)][i(594)][i(627)](e);if(n){const e=s[i(389)](i(326));if(t[i(423)](i(487),n),t[i(366)](i(378),n),t[i(366)](i(408),n),t[i(366)](i(603),n),e){const s=this[i(574)](e);if(!s)return null;t[i(459)](i(487),e,n),t[i(397)](i(516)+s[i(399)],n),this[i(371)]==s&&t[i(397)](i(603),n)}}}})}),this[t(453)][t(568)][t(488)](t(636))[t(589)]({view:t(348),model:e=>t(588)+e,converterPriority:t(419)}),this[t(453)][t(568)][t(488)](t(636))[t(589)]({view:t(531),model:e=>t(425)+e,converterPriority:t(419)}),this[t(453)][t(568)][t(488)](t(439))[t(431)]({model:t(507),view:e=>({name:t(477)+e,group:t(507)}),converterPriority:t(419)}),this[t(453)][t(568)][t(488)](t(480))[t(583)]({model:t(507),view:e=>{const i=t,s=e[i(442)][i(628)](":")[1];return i(489)!=s&&i(519)!=s?null:{classes:[i(372),i(360)+s]}}}),this[t(453)][t(464)][t(325)].on(t(449),ue(this[t(453)],t(494)),{priority:t(631)}),this[t(453)][t(464)][t(325)].on(t(479),ue(this[t(453)],t(628)),{priority:t(631)}),this[t(453)][t(464)][t(325)].on(t(567),(e,i,s)=>{const n=t,r=s[n(398)][n(563)](i[n(442)]);if(r)for(const t of r)t.is(n(361))&&(s[n(398)][n(512)](t,i[n(442)]),s[n(441)][n(530)](t))},{priority:t(631)})}[oe(574)](t){const e=oe;return this[e(467)][e(336)](t)}[oe(486)](t){const e=oe;return this[e(417)]&&this[e(417)][e(390)](),this[e(417)]=new Jt(this[e(453)][e(367)],t),this[e(417)]}[oe(552)](){const t=oe;this[t(453)][t(525)][t(594)][t(364)][t(517)](t(529)),this.on(t(550),(e,i,s,n)=>{const r=t;n&&this[r(515)][r(530)](n),s&&(this[r(515)][r(556)]({view:s,stackId:r(503),position:{target:()=>{const t=r,e=this[t(453)][t(464)],i=this[t(574)](s[t(340)]);let n;if(i[t(558)][t(316)]){const s=e[t(470)][t(578)](i[t(406)]);n=Array[t(541)](s[t(370)]())}else{const i=this[t(453)][t(525)][t(565)][t(336)](t(520)+s[t(340)]);n=Array[t(541)](e[t(398)][t(563)](i[t(317)]))[t(460)](i=>e[t(470)][t(640)][t(604)](i))[t(460)](e=>Array[t(541)](e[t(370)]()))[t(395)]()}return this[t(544)]&&n[t(549)](e=>e[t(365)]-3<=this[t(544)].y&&e[t(356)]+3>=this[t(544)].y&&e[t(617)]-3<=this[t(544)].x&&e[t(339)]+3>=this[t(544)].x)||n[0]}}}),this[r(515)][r(473)](r(503)))}),this.on(t(469),(e,i,s,n)=>{const r=t;this[r(505)]=s?this[r(486)](s):null,this[r(453)][r(525)][r(624)](()=>{const t=r,e=this[t(453)][t(464)];n&&(n[t(558)][t(316)]?e[t(470)][t(624)](i=>{const s=t;i[s(366)](s(603),e[s(470)][s(594)][s(627)](n[s(406)]))}):e[t(490)](t(520)+n.id)),s&&(s[t(558)][t(316)]?e[t(470)][t(624)](i=>{const n=t;i[n(397)](n(603),e[n(470)][n(594)][n(627)](s[n(406)]))}):e[t(490)](t(520)+s.id))})}),this[t(587)](this[t(453)][t(464)][t(470)][t(594)],t(557),(e,i)=>{const s=t;if(this[s(371)])return;const n=this[s(323)](i[s(582)]),r=this[s(467)][s(336)](n);r?(this[s(544)]={x:i[s(462)].x,y:i[s(462)].y},this[s(505)]=this[s(486)](r)):(this[s(544)]=null,this[s(505)]=null)}),this[t(587)](this[t(453)][t(464)][t(470)][t(594)],t(413),(e,i)=>{const s=t,n=this[s(323)](i[s(582)]),r=this[s(467)][s(336)](n);r?(this[s(544)]={x:i[s(462)].x,y:i[s(462)].y},r===this[s(371)]?this[s(515)][s(343)]():this[s(371)]=r):(this[s(544)]=null,this[s(371)]=null)})}[oe(323)](t){const e=oe;do{const i=t[e(389)](e(487));if(i)return i;t=t[e(593)]}while(t);return null}[oe(514)](){const t=oe;this[t(453)][t(525)][t(624)](e=>{const i=t;for(const t of this[i(453)][i(525)][i(565)])e[i(375)](t)})}}function ue(t,e){return(i,s,n)=>{const r=ae;if(!n[r(569)][r(443)](s[r(581)],i[r(317)]))return;const o=s[r(581)][r(497)](),a=s[r(581)][r(437)],c=t[r(525)][r(424)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(450)];h=h||c[r(321)](e);const i=n[r(398)][r(498)](e);if(i&&i[r(319)](r(416)))return;r(455)==t[r(399)]&&c[r(350)](e)&&!c[r(518)](e)&&(e[r(612)]||a[r(405)]?u&&u[r(593)]==e||(u=e,f(t[r(499)]),d=!0):l=l||t[r(499)])}function f(t){const i=r,o=n[i(398)][i(496)](t),a=n[i(441)][i(428)](i(426),{class:i(360)+e});n[i(441)][i(524)](o,a),n[i(398)][i(334)](a,s[i(442)])}h||d||!l||f(l)}}function le(){const t=["refresh","RevisionViewer","change:isReady","splice","markersEnd","_removeUnsupportedChanges","isBefore","config","ck-revision-history-root--active","mapViewToDom","change:numberOfChanges","getIndex","then","pop","_appendChild","forward","createPositionBefore","nextSibling","resolve","attributesBefore","has","4440776LuTfMp","left","getItems","text","filter","2473206HSgTYc","hasClass","enqueueChange","change","elementToAttribute","isAttached","getRoot","split","markersStart","_sortAndFilterDiffChanges","high","pluginName","_data","_setChanges","detachRoot","upcast","187011ZjnJGH","object","level","domConverter","createAttributeElement","_makeModelFromViewString","bind","isOnRoot","name","getRevisionRootsAttributes","getCustomProperty","viewItem","isContent","commands","_findChangeIdFromDomTarget","keys","downcastDispatcher","revisionHistoryAttachChange","_setConversion","deletions","7NGvKOK","_fixObsoleteTags","unshift","_revisions","3237348VLkrTD","bindElementToMarker","isReady","get","getRevisionDocumentData","4741190OsrxdL","right","changeId","currentChangeNumber","diffData","updatePosition","oldRevisionId","vid_end","ck-suggestion-marker--active","all","comment","isIncorrect","isBlock","consume","first","isAddSuggestion","isEqual","index","bottom","_markSuggestions","isPremiumPlugin","nextPosition","ck-suggestion-preview-marker-","uiElement","changes","plugins","selection","top","removeClass","locale","-new","diff","getClientRects","activeChange","ck-suggestion-preview-marker","elementStart","startsWith","removeMarker","stop","roots","ck-revision-history-root-add","concat","showPreviousChange","loadRevisionData","return","_update","4DKDfar","clear","WidgetToolbarRepository","ck-editor__editable__overlay","_makeTape","getAttribute","destroy","ck-suggestion-marker-merge","2969910lPGjhJ","showNextChange","low","flat","_markMarkers","addClass","mapper","type","isRemoved","createRange","maxOffset","wrap","_utils","isAtEnd","rootName","createPositionFromPath","ck-revision-history-root-remove","element","backward","delete","distance","mousedown","_removeMissingPairs","slice","addHighlight","_changeView","ck-suggestion-marker-split","highest","nodeAfter","_markMismatchedRemovedTags","push","removeAttribute","schema","revision-suggestion:","span","adapter","createUIElement","insertions","68TcMMxU","markerToData","isInline","toViewRange","numberOfChanges","authors","_cleanUp","start","affectsData","dataDowncast","sort","writer","markerName","test","forceDisabled","isAfter","isAdded","restoreRevision","isSuggestion","addMarker:revision-suggestion:deletion","item","end","55bQTUQT","editor","restoreRevisionCallback","elementEnd","set","addRevisionData","ck-suggestion-marker-","setAttribute","map","softBreak","domEvent","revision-viewer","editing","repository","code","_changeIdToChange","abs","change:activeChange","view","RevisionHistoryUtils","isObject","showStack","attribute:vid","string","enableReadOnlyMode","suggestion:","attributes","addMarker:revision-suggestion:insertion","editingDowncast","_joinTapes","catch","startIndex","ck-suggestion-marker","9RiYzZe","_getViewForChange","data-change-id","for","insertion","reconvertMarker","addRevision","length","isNavigationMode","merge","isOfficialPlugin","toViewPosition","getWalker","toViewElement","previousPosition","findIndex","init","_processTape","revisionHistoryLabel","getRevision","activeView","isRemoveSuggestion","revision-suggestion","_getDiff","requires","_makeModelFromTape","_getRevisionsRange","unbindElementFromMarkerName","attachChange","_cleanMarkers","_balloon","ck-revision-history-root-","observeMarkers","isLimit","deletion","revision:","_markInsertions","includes","_step","insert","model","vid","vid_start","createRangeIn","revision","remove","suggestion","getRootNames","modelRange","next","attributesAfter","error","compare","addRoot","hasAttribute","isCollapsed","from","element:pre","values","_activeViewTarget","change:isEnabled","217174iKQCfC","offsetSize","getChild","find","change:activeView","checkAttribute","_initInteractions","shift","forEach","getAttributes","add","mouseover","data","pairId","_refreshStartEndIndex","range","POSITIVE_INFINITY","markerNameToElements","addMarker:revision","markers","newRevisionId","removeMarker:revision-suggestion","conversion","consumable","done","side","isEnabled","createRevision","_getChangeFromId","RevisionsRepository","endIndex","revisionHistory","getDomRoot","getLaterVisibleRevision","userId","markerRange","target","markerToHighlight","removeMarker:revision","indexOf","_threeWayMerge","listenTo","revision-comment:","dataToMarker","execute","_setDistance","isAtStart","parent","document"];return(le=function(){return t})()}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(363)][e(336)](ce);this[e(438)]=!1,this[e(587)](i,e(597),()=>this[e(595)]()),this[e(587)](i,e(545),()=>this[e(595)]())}[oe(590)](){const t=oe,e=this[t(453)],i=e[t(363)][t(336)](ce),s=i[t(335)]?i[t(369)][t(566)]:null;e[t(602)][t(336)](t(577))[t(454)](s)}[oe(595)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(453)][t(363)][t(336)](ce),r=n&&s[t(579)](n[t(566)]);this[t(572)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(523)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(363)][i(336)](ce);this[i(438)]=!1,this[i(523)]=i(610)===e?1:-1,this[i(587)](s,i(597),()=>this[i(595)]()),this[i(587)](s,i(545),()=>this[i(595)]()),this[i(587)](s,i(469),()=>this[i(595)]())}[oe(590)](){const e=oe,i=this[e(453)],s=i[e(363)][e(336)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(371)]=n?s[e(369)][e(362)][e(336)](r+this[e(523)]):s[e(369)][e(362)][e(352)],s[e(371)][e(558)][e(316)])o=i[e(464)][e(470)][e(578)](s[e(371)][e(406)]);else{const t=i[e(525)][e(565)][e(336)](e(520)+s[e(371)].id);o=(0,K.getMarkerDomElement)(i[e(464)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(595)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(453)][t(363)][t(336)](ce);this[t(572)]=!!(r&&n&&s)&&(!e||(1===this[t(523)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=357]})(t,e)}function ve(){const t=["1001670EdgmIQ","isForwardNavigationEnabled","isReady","3605329RvjYDS","131048Gybfdq","420bfeVAP","forward","1840080PdOALG","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__label","11927940qFDVJs","8145sWUkWB","1JZEnsw","backward","setTemplate","set","span","_isStatusLabelVisible","isEnabled","_statusText","NUMBER_OF_CHANGES","div","No changes","isBackwardNavigationEnabled","fire","ck-revision-history-ui__changes-navigation","Total","333KfBWXv","765768KnMZnB","isNavigationMode","ck-revision-history-ui__changes-navigation__wrapper","bindTemplate","ck-revision-history-ui__changes-navigation__navigation","Show previous change","Show next change","currentChangeNumber","EDIT_X_OF_Y_REVISIONS","numberOfChanges","execute","ck-hidden","bind","Loading...","X_OF_Y_CHANGES"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(317923===-parseInt(e(395))/1*(-parseInt(e(383))/2)+parseInt(e(390))/3+parseInt(e(368))/4+-parseInt(e(394))/5*(-parseInt(e(388))/6)+-parseInt(e(386))/7+parseInt(e(387))/8*(parseInt(e(367))/9)+-parseInt(e(393))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(371)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(398)](e(369),!1),this[e(398)](e(385),!1),this[e(398)](e(375),0),this[e(398)](e(377),0),this[e(398)](e(384),!1),this[e(398)](e(363),!1),this[e(380)](e(357)).to(this,e(385),this,e(377),(t,e)=>t&&e>0),this[e(380)](e(359)).to(this,e(385),this,e(375),this,e(377),this,e(369),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(381));if(!n)return at(t,o(362));const a=at(t,o(360),n);return r?at(t,o(382),[s+1,n]):a}),s[e(398)]({label:at(t,e(373)),tooltip:!0,icon:_t.IconChevronUp}),n[e(398)]({label:at(t,e(374)),tooltip:!0,icon:_t.IconChevronDown}),s[e(380)](e(358)).to(this,e(363)),n[e(380)](e(358)).to(this,e(384)),s.on(e(378),()=>this[e(364)](e(378),e(396))),n.on(e(378),()=>this[e(364)](e(378),e(389))),this[e(397)]({tag:e(361),attributes:{class:["ck",e(391),e(365)]},children:[{tag:e(399),attributes:{class:[e(370)]},children:[{tag:e(399),attributes:{class:[e(392),i.if(e(357),e(379),t=>!t)]},children:[{text:i.to(e(369),i=>i?at(t,e(376))+": ":at(t,e(366))+": ")}]},{text:i.to(e(359))}]},new It.ToolbarSeparatorView,{tag:e(361),attributes:{class:[e(372)]},children:[s,n]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=_e;!function(t){const e=_e,i=t();for(;;)try{if(870200===parseInt(e(123))/1*(-parseInt(e(137))/2)+parseInt(e(148))/3*(-parseInt(e(136))/4)+parseInt(e(143))/5+-parseInt(e(124))/6*(-parseInt(e(130))/7)+-parseInt(e(141))/8*(parseInt(e(134))/9)+parseInt(e(135))/10*(parseInt(e(140))/11)+-parseInt(e(146))/12*(-parseInt(e(127))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const we=be(133);function _e(t,e){const i=Ie();return(_e=function(t,e){return i[t-=121]})(t,e)}function Ie(){const t=["document","editor","7wDKNmp","pluginName","hide","ck-editor__editable__loading-overlay","37161NZJLjk","20fDWfzM","68xAaspd","2AiURMC","addClass","isPremiumPlugin","5541217tmJrYi","2488KyEZJc","view","7480355EaBIbP","RevisionViewerLoadingOverlay","roots","21926316qVxQaf","removeClass","253749FHvIfo","change","show","1599649sddPoZ","5166726tbKqrq","isOfficialPlugin","editing","13BDgCUY"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(131)](){return be(144)}static get[be(125)](){return!0}static get[be(139)](){return!0}[be(122)](){const t=be,e=this[t(129)][t(126)][t(142)];e[t(121)](i=>{const s=t;for(const t of e[s(128)][s(145)])i[s(138)](we,t)})}[be(132)](){const t=be,e=this[t(129)][t(126)][t(142)];e[t(121)](i=>{const s=t;for(const t of e[s(128)][s(145)])i[s(147)](we,t)})}}const Oe=xe;function Te(){const t=["plugins","isPremiumPlugin","isNavigationMode","73923zAhybc","numberOfChanges","set","hide","get","566396xneXvY","add","revisionHistory","7CbCVRD","173028pzmpFz","editor","isReady","isEnabled","isBackwardNavigationEnabled","commands","forward","2bslsLF","275nErDwy","Back to editing","bind","componentFactory","execute","11oeJDJg","2709488KihJgX","3957405xINqcO","2363170SNLcGy","currentChangeNumber","showNextChange","isOfficialPlugin","change:isReady","closeRevisionViewerCallback","pluginName","requires","showPreviousChange","RevisionViewerUI","show","14231097hRlGoI","Restore this revision","exitToEditing","ck-revision-history-ui__back-to-editing","listenTo","restoreRevision","config","init","changesNavigation","isForwardNavigationEnabled"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=304]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(816665===-parseInt(e(332))/1+-parseInt(e(348))/2*(-parseInt(e(307))/3)+parseInt(e(337))/4+-parseInt(e(349))/5*(-parseInt(e(341))/6)+-parseInt(e(340))/7*(parseInt(e(306))/8)+-parseInt(e(319))/9+parseInt(e(308))/10*(-parseInt(e(305))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(314)](){return Oe(317)}static get[Oe(311)](){return!0}static get[Oe(330)](){return!0}static get[Oe(315)](){return[ce,Se]}[Oe(326)](){const t=Oe,e=this[t(342)],i=e[t(329)][t(336)](ce),s=e[t(329)][t(336)](Se);e.ui[t(352)][t(338)](t(321),i=>{const s=t,n=new It.ButtonView(i);return n[s(334)]({label:at(i,s(350)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(322)}),this[s(323)](n,s(304),()=>{const t=s;e[t(325)][t(336)](t(339))[t(313)]()}),n}),e.ui[t(352)][t(338)](t(324),i=>{const s=t,n=new It.ButtonView(i);return n[s(334)]({label:at(i,s(320)),withText:!0,tooltip:!0}),n[s(351)](s(344)).to(e[s(346)][s(336)](s(324))),this[s(323)](n,s(304),()=>e[s(304)](s(324))),n}),e.ui[t(352)][t(338)](t(327),s=>{const n=t,r=new ge(s),o=e[n(346)][n(336)](n(316)),a=e[n(346)][n(336)](n(310));return r[n(351)](n(345)).to(o,n(344)),r[n(351)](n(328)).to(a,n(344)),r[n(351)](n(343),n(309),n(333),n(331)).to(i),this[n(323)](r,n(304),(t,i)=>{const s=n;e[s(304)](s(347)===i?s(310):s(316))}),r}),s[t(318)](),i.on(t(312),(e,i,n)=>{const r=t;n?s[r(335)]():s[r(318)]()})}}var Re=i(815),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Dt();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ve;function Ve(t,e){const i=De();return(Ve=function(t,e){return i[t-=462]})(t,e)}function De(){const t=["Enter the revision name","Revision name","5277582oJlnHS","_updateTooltipText","33VEvRoI","_resizeObserver","clientWidth","_tooltipString","input","fieldView","listenTo","108626cSgYms","ck-tooltip_multi-line","842376GizxHW","span","scrollWidth","bindTemplate","render","9uvZquz","1817690wIFfsF","4JnVqmO","destroy","2808695jyXUpm","placeholder","value","element","set","213209gkfLEX","extendTemplate","ck-revision-history-sidebar__revision-name","1857541FKRphN"];return(De=function(){return t})()}!function(t){const e=Ve,i=t();for(;;)try{if(471091===parseInt(e(480))/1+parseInt(e(464))/2*(parseInt(e(488))/3)+parseInt(e(473))/4*(parseInt(e(475))/5)+-parseInt(e(486))/6+parseInt(e(483))/7+-parseInt(e(466))/8+parseInt(e(471))/9*(-parseInt(e(472))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends It.LabeledFieldView{[Me(489)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(469)];this[i(479)]({label:at(t,i(485)),_tooltipString:""}),this[i(462)][i(476)]=at(t,i(484)),this[i(481)]({tag:i(467),attributes:{class:[i(482)],"data-cke-tooltip-text":s.to(i(491)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(465)}})}[Me(470)](){const e=Me;super[e(470)](),this[e(489)]=new t.ResizeObserver(this[e(462)][e(478)],()=>this[e(487)]()),this[e(463)](this[e(462)],e(492),()=>this[e(487)]())}[Me(474)](){const t=Me;super[t(474)](),this[t(489)]&&this[t(489)][t(474)]()}[Me(487)](){const t=Me,e=this[t(462)][t(478)];this[t(491)]=e[t(468)]>e[t(490)]&&e[t(477)]||""}}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Pe();return(je=function(t,e){return i[t-=383]})(t,e)}function Pe(){const t=["57690CAsKjB","40344mxFAdF","306RfiFUb","9uIhuBT","push","Revision author","3799088zLDqPX","966658NdZOKS","ck-revision-history-sidebar__revision-author_creator","0 0 11 10","setTemplate","set","ck-revision-history-sidebar__revision-author","890967xmjTDg","Revision creator","span","3725825vDkifB","name","18cJTiif","3379776bixqjj","ck-revision-history-sidebar__revision-author__name"];return(Pe=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(442774===-parseInt(e(399))/1*(-parseInt(e(397))/2)+parseInt(e(388))/3+parseInt(e(394))/4+-parseInt(e(391))/5+-parseInt(e(393))/6*(parseInt(e(403))/7)+parseInt(e(402))/8+parseInt(e(398))/9*(-parseInt(e(396))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class Le extends It.View{constructor(t,e,i){const s=je;super(t);const n=new It.IconView;n[s(386)]({content:_t.IconUser,viewBox:s(384)});const r=["ck",s(387)];i&&r[s(400)](s(383));const o=[{tag:s(390),attributes:{class:["ck",s(395)],title:at(t,s(i?389:401))},children:[n,e[s(392)]]}];this[s(385)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=482]})(t,e)}function Ue(){var t=["12164175yVwYNi","numeric","2xawTGR","66gZVNRs","285178AecUsT","2606343KGKmDf","214116PPjLgP","2659176pQcJxd","long","toLocaleDateString","toLocaleTimeString","3734455OURaAa","8383032skVPgI"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(534278===parseInt(e(486))/1*(-parseInt(e(484))/2)+parseInt(e(487))/3+parseInt(e(489))/4+-parseInt(e(493))/5+-parseInt(e(485))/6*(-parseInt(e(488))/7)+parseInt(e(494))/8+-parseInt(e(482))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var We=i(505),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Dt();Ot()(We.A,He);We.A&&We.A.locals&&We.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=302]})(t,e)}function qe(){const t=["1616504XEGRtc","561140JERYLr","model","2178771UbnHmj","listView","name","items","Restore this revision","listenTo","82oJxUFe","Compare against selected","add","set","function","ck-revision-history-sidebar__revision__actions","locale","find","bind","execute","isEnabled","source","isActionsDropdownOpen","36FCTMvi","stopPropagation","isVisible","extendTemplate","panelPosition","_action","ck-on","map","Name this revision","10jrHveP","25971JXYpaq","children","isOpen","Show more items","44WmSKpT","class","bindTemplate","1146370NylQAs","first","137370DOBUQU","menu","isReady","button","597979qTckfM","action","buttonView","menuitem","change:isActionsDropdownOpen"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(439062===-parseInt(e(326))/1+-parseInt(e(340))/2*(parseInt(e(313))/3)+-parseInt(e(332))/4+-parseInt(e(312))/5*(parseInt(e(322))/6)+parseInt(e(334))/7+parseInt(e(331))/8*(parseInt(e(303))/9)+parseInt(e(320))/10*(parseInt(e(317))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["ck-revision-history-sidebar__revision-wrapper","555736HyiwTp","isHighlighted","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","div","highlight","listenTo","fire","ck-disabled","5128608gOdubF","set","deselect","2202665IgRkix","_requireRevisionName","ck-revision-history-sidebar__revision_selected","change","1135663RfsOFk","select","name","revisionActionsView","closest","revisionNameView","filter","2424294fmhvkG","extendTemplate","element","ck-revision-history-sidebar__actions_dropdown_open","render","bind","unshift","ck-revision-history-sidebar__revision-authors","150156ZiFbDT",".ck-confirm-view","_createdAtFormatted","_revision","isEnabled","unhighlight","setTemplate","isActionsDropdownOpen","uiLanguage","isConfirm","map","220","44yeIzdN","length","fieldView","42GsiOgV","isReady","authors","6TFtGKM","srcElement","ck-revision-history-sidebar__revision","isSelected","span","setName","ck-revision-history-sidebar__revision__date","ck-reset","16201590auryKP","creator","value","ck-revision-history-sidebar__revision__controls-wrapper","bindTemplate","ck-revision-history-sidebar__revision_highlighted","from","createdAt"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=399]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(754175===-parseInt(e(423))/1+parseInt(e(450))/2*(parseInt(e(438))/3)+parseInt(e(416))/4+parseInt(e(419))/5*(parseInt(e(456))/6)+parseInt(e(453))/7*(parseInt(e(408))/8)+parseInt(e(430))/9+-parseInt(e(399))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(428)];[Ye(426)];[Ye(441)];[Ye(420)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(403)],a=function(t,e){const i=r,s=Array[i(405)](e[i(455)])[i(429)](t=>t!=e[i(400)]);return e[i(400)]&&s[i(436)](e[i(400)]),s[i(448)](s=>new Le(t,s,s==e[i(400)]))}(e,i);this.id=i.id,this[r(441)]=i,this[r(420)]=n,this[r(435)](r(425),r(406)).to(i),this[r(435)](r(440)).to(this,r(406),t=>{return i=e[r(446)],(s=t)[(n=ze)(491)](i,{month:n(490),day:n(483)})+", "+s[n(492)](i,{hour:n(483),minute:n(483)});var i,s,n}),this[r(417)](r(459),!1),this[r(417)](r(409),!1),this[r(417)](r(445),!1),this[r(417)](r(454),!1),this[r(417)](r(442),!1),this[r(428)]=new Ee(e,It.createLabeledInputText),this[r(428)][r(452)][r(431)]({attributes:{maxlength:r(449)}}),this[r(428)][r(452)][r(435)](r(401)).to(this,r(425),t=>t||this[r(440)]),this[r(428)][r(435)](r(442)).to(this,r(459),this,r(442),(t,e)=>t&&e),this[r(426)]=s&&s[r(451)]?function(e,i){const s=Ze,n=e[s(319)],r=e[s(346)],o=(0,It.createDropdown)(r);o[s(307)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(346)],n={"Compare against selected":at(s,i(341)),"Name this revision":at(s,i(311)),"Restore this revision":at(s,i(338))};return e[i(310)](t=>{const e=i,s=n[t[e(336)]];return s&&s!==t[e(336)]&&(t[e(336)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(325),model:new It.UIModel({label:t[n(336)],class:t[n(318)],withText:!0,role:n(329),_action:t[n(327)]})};i[n(333)][n(348)](n(350)).to(e,n(302),i=>n(344)!=typeof t[n(350)]||!i||t[n(350)](e)),o[n(342)](i)}return o}(e,i);return e[s(348)](s(302)).to(o,s(315)),o[s(328)][s(343)]({label:at(r,s(316)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(306)]({attributes:{class:[s(345),n.if(s(302),s(309))]},on:{click:n.to(t=>t[s(304)]())}}),o.on(s(349),t=>{const i=s;e[i(324)]&&i(344)==typeof t[i(351)][i(308)]&&t[i(351)][i(308)](e)}),(0,It.addListToDropdown)(o,a,{role:s(323)}),o[s(339)](e,s(330),(t,n,r)=>{const a=s;if(r)for(const t of o[a(335)][a(337)]){const s=t[a(314)][a(321)],n=i[a(347)](t=>t[a(327)]===s[a(308)])[a(305)];t[a(305)]=void 0===n||n(e)}}),o}(this,s):"",this[r(426)]&&this[r(426)][r(435)](r(442)).to(this),this[r(444)]({tag:r(411),attributes:{class:["ck",r(463),r(407),o.if(r(447),r(410))]},children:[{tag:r(411),attributes:{class:["ck",r(463),r(458),o.if(r(442),r(415),t=>!t),o.if(r(459),r(421)),o.if(r(409),r(404)),o.if(r(445),r(433))]},children:[this[r(428)],{tag:r(460),attributes:{class:["ck",r(462)]},children:[{text:o.to(r(440))}]},{tag:r(411),attributes:{class:["ck",r(402)]},children:[{tag:"ul",attributes:{class:["ck",r(437)]},children:a}]},this[r(426)]],on:{click:o.to(t=>{const e=r;t[e(457)][e(427)](e(439))||this[e(454)]&&this[e(442)]&&this[e(414)](e(424),{id:this.id})})}}]})}[Ye(434)](){const t=Ye;super[t(434)]();const e=this[t(428)][t(452)][t(432)];this[t(413)](e,t(422),()=>{const i=t;this[i(420)]&&!e[i(401)]||this[i(414)](i(461),{id:this.id,name:e[i(401)]}),e[i(401)]||(e[i(401)]=this[i(425)]?this[i(425)]:this[i(440)])})}[Ye(424)](){this[Ye(459)]=!0}[Ye(418)](){this[Ye(459)]=!1}[Ye(412)](){this[Ye(409)]=!0}[Ye(443)](){this[Ye(409)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class si extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}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 nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Ei.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=ji.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 nn(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=Ei.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"}),Ei.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=Ci[e];"era"===e?s[r]=n:Vs(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,(Js({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 Pi={};const Li=new Map;function zi(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 Ui=new Map;const Wi=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{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=Ui.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Ui.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 Us(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.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=zi(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&&Cs()&&(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 Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ls(s)||vs.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Hi=null,Li.clear(),Ui.clear(),Wi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Qi.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=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(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"===qi(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?Qi.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 Bi(this,t,un,()=>{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=fo.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 Bi(this,t,fn,()=>{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=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.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 Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(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=Pi[i];return s||(s=new Intl.ListFormat(t,e),Pi[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}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 ts extends Mi{static get utcInstance(){return null===Xi&&(Xi=new ts(0)),Xi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(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 es extends Mi{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 is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||ji.create(t)}return Ds(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={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]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Di.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ls(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Qi.resetCache(),ji.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(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 _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function Rs(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(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 As(t){const e=Es(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function js(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 Ps(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ls(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Es(t)&&t>=e&&t<=i}function Us(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ws(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Hs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Qs(t){return t>99?t:t>vs.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 tn(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 en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ps(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(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}${Us(i,2)}:${Us(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Us(i,2)}${Us(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];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 ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};class wn{static create(t,e={}){return new wn(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 bn[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 Us(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 mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.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=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(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 _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...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 On(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 Tn(...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 xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rn=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),An=RegExp(`(?:T${Rn.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),Dn=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),En=RegExp(`(?: ${Dn.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Ws(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function jn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Pn(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ln=RegExp(`^T?${Nn.source}$`),zn=/^-?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 Un(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(Hs(i)),months:d(Hs(s)),weeks:d(Hs(n)),days:d(Hs(r)),hours:d(Hs(o)),minutes:d(Hs(a)),seconds:d(Hs(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Wn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hn(t,e,i,s,n,r,o){const a={year:2===e.length?Qs(Ws(e)):Ws(e),month:an.indexOf(i)+1,day:Ws(s),hour:Ws(n),minute:Ws(r)};return o&&(a.second=Ws(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Zn=/^(?:(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 qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Hn(e,n,s,i,r,o,a);let f;return f=c?Wn[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(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$/,Bn=/^(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$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,An),Qn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,An),Xn=In(/(\d{4})-?(\d{3})/,An),tr=In(Rn),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,jn,Pn),ir=Sn(Mn,Fn,jn,Pn),sr=Sn(Vn,Fn,jn,Pn),nr=Sn(Fn,jn,Pn);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,En),ar=In(Dn),cr=Sn(Fn,jn,Pn);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(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 br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(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),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.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 br({values:sn(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ds(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Un])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[Ln,rr])}(t);return i?br.fromObject(i,e):br.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 gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({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 si(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?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(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+=qs(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 fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ps(e.values,t)||Ps(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(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 kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(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=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)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;Ds(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ds(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 kr(this.matrix,e),gr(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 gr(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;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.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=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.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?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).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(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.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(_r.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:_r.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 _r.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(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(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=Sr(t,e);return(i-i%7)/7}],["days",Sr]],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=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(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(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={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 Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Lr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\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]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}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(Ps(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;return Vs(t.z)||(i=ji.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(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),Vs(t.u)||(t.S=Zs(t.u)),[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},{}),i,e]}(i):[null,null,void 0];if(Ps(i,"a")&&Ps(i,"H"))throw new ii("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 Pr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),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=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Ur=864e13;function Wr(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(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 Br(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 Yr(t,e,i){return $r(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=$r(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=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Us(t.c.year,i?6:4),e?(s+="-",s+=Us(t.c.month),s+="-",s+=Us(t.c.day)):(s+=Us(t.c.month),s+=Us(t.c.day)),s}function Xr(t,e,i,s,n,r){let o=Us(t.c.hour);return e?(o+=":",o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Us(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Us(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Us(Math.trunc(-t.o/60)),o+=":",o+=Us(Math.trunc(-t.o%60))):(o+="+",o+=Us(Math.trunc(t.o/60)),o+=":",o+=Us(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const s=Qi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=As(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(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 uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Vs(t.ts)?vs.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=Ds(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({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 fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Qi.fromObject(e)}):fo.invalid(Wr(n))}static fromMillis(t,e={}){if(Ds(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ds(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const s=Qi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rs(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Es(t.weekYear),n=zs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Es(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):As(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Qn,ir],[Xn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Pr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,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 gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.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?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(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?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.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]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(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=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=Rs(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.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?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.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=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(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 Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(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")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[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 br.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(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.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||fo.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),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Pr(Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Qi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new jr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,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?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Ds(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=283]})(t,e)}function vo(){const t=["fromJSDate","1376908ricFFm","year","hasSame","2214270NmrxiP","local","toJSDate","setLocale","day","startOf","minus","month","toRelativeCalendar","3443064IiUSxS","monthLong","week","9pGzrCP","571650srvfQZ","543376XRlXUG","2257605dBWNOZ","weekdayLong","6HoiTbT","574776ZdfUOG"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(290)](t)[i(297)](e),n=fo[i(295)](),r=n[i(300)]({days:1})[i(299)](i(298));let o,a;return s[i(293)](n,i(298))?(o=s[i(299)](i(298))[i(296)](),a=s[i(302)]()):s[i(293)](r,i(298))?(o=r[i(296)](),a=s[i(302)]()):s[i(293)](n,i(305))?(o=s[i(299)](i(305))[i(296)](),a=s[i(287)]||""):s[i(293)](n,i(292))?(o=s[i(299)](i(301))[i(296)](),a=s[i(304)]||""):(o=s[i(299)](i(292))[i(296)](),a=String(s[i(292)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(520749===-parseInt(e(284))/1+parseInt(e(285))/2*(-parseInt(e(288))/3)+parseInt(e(291))/4+parseInt(e(294))/5+parseInt(e(289))/6+parseInt(e(286))/7+parseInt(e(303))/8*(parseInt(e(283))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["16hIhyQu","removeRevision","22030560FaIQnQ","setName","span","uiLanguage","24696qsUxxo","find","33hbJJDN","452VCQwJg","div","select","localizedPeriodName","_revisionActions","764155mVQSaY","createCollection","609164fBOPpC","4dIpwEO","3818835sZSHJf","locale","2776067TRwNbL","42SIQIpx","delegate","ck-revision-history-sidebar__time-period__revisions","revisionViews","remove","setTemplate","_requireRevisionName","add","232590NkqeeO","ck-revision-history-sidebar__time-period__label","addRevision","startDate","ck-revision-history-sidebar__time-period"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=330]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(755105===-parseInt(e(342))/1*(-parseInt(e(341))/2)+-parseInt(e(331))/3*(parseInt(e(334))/4)+-parseInt(e(339))/5*(parseInt(e(346))/6)+-parseInt(e(345))/7*(parseInt(e(359))/8)+parseInt(e(343))/9+-parseInt(e(354))/10*(-parseInt(e(333))/11)+parseInt(e(361))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(357)];[bo(349)];[bo(338)];[bo(352)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(344)][n(330)])[n(337)];this[n(357)]=e,this[n(349)]=this[n(340)](),this[n(338)]=i,this[n(352)]=s,this[n(349)][n(347)](n(336)).to(this),this[n(349)][n(347)](n(362)).to(this),this[n(351)]({tag:n(335),attributes:{class:["ck",n(358)]},children:[{tag:n(363),attributes:{class:["ck",n(355)]},children:[{text:r}]},{tag:n(335),attributes:{class:["ck",n(348)]},children:this[n(349)]}]})}[bo(356)](t){const e=bo,i=new Ke(this[e(344)],t,this[e(338)],this[e(352)]);this[e(349)][e(353)](i)}[bo(360)](t){const e=bo,i=this[e(349)][e(332)](e=>e.id===t.id);this[e(349)][e(350)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=No();return(To=function(t,e){return i[t-=306]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(136468===-parseInt(e(313))/1*(parseInt(e(308))/2)+-parseInt(e(309))/3*(-parseInt(e(316))/4)+-parseInt(e(307))/5+parseInt(e(310))/6+parseInt(e(318))/7*(-parseInt(e(315))/8)+-parseInt(e(306))/9*(-parseInt(e(324))/10)+parseInt(e(320))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(314)]=_t.IconHistory,this[e(322)]({tag:e(317),attributes:{class:["ck",e(321),e(311)]},children:[i,{tag:e(312),attributes:{class:["ck",e(323)]},children:[at(t,e(319))]}]})}}function No(){const t=["span","2FKWOCn","content","3264TrBayW","827760OIrRQJ","div","2331yIKxPq","Revision history","2197305YcIAfz","ck-reset_all","setTemplate","ck-revision-history-sidebar__header__label","70EdxNrT","115029SGoPPx","747255cTsDok","224166WVAnWv","3pPIyOK","898722VJWaaB","ck-revision-history-sidebar__header"];return(No=function(){return t})()}var Ro=i(692),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Dt();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=188]})(t,e)}function Do(){const t=["uiLanguage","add","selectRevision","remove","15mGmqfm","some","unhighlight","startDate","select","ck-disabled","_requireRevisionName","createdAt","ck-rounded-corners","2614LAdLhj","1777167TilUHk","fire","flat","delegate","_removeRevision","highlightRevisions","1237wSOuEs","div","6843900QLlXIT","bindTemplate","locale","revisionViews","ck-revision-history-sidebar","ck-reset","find","10530909TvwcQM","deselect","highlight","1817838zWTkHc","setName","removeRevision","getTime","addRevision","_revisionActions","map","set","createCollection","_revisions","ck-revision-history-sidebar__timeline","revisionSelected","_addRevision","render","revisionSetName","_getTimePeriodViewByStartDate","30GDParl","3613104spjePa","isEnabled","4904469xwsjWZ","setTemplate","get","timePeriodViews"];return(Do=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(863020===-parseInt(e(217))/1*(parseInt(e(210))/2)+-parseInt(e(193))/3+parseInt(e(219))/4+parseInt(e(201))/5*(-parseInt(e(229))/6)+parseInt(e(211))/7+-parseInt(e(191))/8+parseInt(e(226))/9*(parseInt(e(190))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Mo(196)];[Mo(238)];[Mo(234)];[Mo(207)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(220)];this[n(196)]=this[n(237)](),this[n(196)][n(214)](n(205)).to(this),this[n(196)][n(214)](n(230)).to(this),this[n(238)]=e,this[n(234)]=i,this[n(207)]=s,this.on(n(205),(t,e)=>{const i=n;this[i(212)](i(240),e)}),this.on(n(230),(t,e)=>{const i=n;this[i(212)](i(188),e)}),this[n(236)](n(192),!1),this[n(194)]({tag:n(218),attributes:{class:["ck",n(224),n(209),n(223)]},children:[new xo(t),{tag:n(218),attributes:{class:["ck",n(239),r.if(n(192),n(206),t=>!t)]},children:this[n(196)]}]})}[Mo(242)](){const t=Mo;super[t(242)]();for(const e of this[t(238)])this[t(241)](e);this[t(238)].on(t(198),(e,i)=>{this[t(241)](i)}),this[t(238)].on(t(200),(e,i)=>{this[t(215)](i)})}get[Mo(222)](){const t=Mo;return this[t(196)][t(235)](e=>e[t(222)][t(235)](t=>t))[t(213)]()}[Mo(199)](t){const e=Mo;for(const i of this[e(222)])t&&t.id===i.id?i[e(205)]():i[e(227)]()}[Mo(216)](t){const e=Mo;for(const i of this[e(222)])t[e(202)](({id:t})=>t===i.id)?i[e(228)]():i[e(203)]()}[Mo(241)](t){const e=Mo,i=go(t[e(208)],this[e(221)][e(197)])[e(204)];let s=this[e(196)][e(195)](0);s&&s[e(204)][e(232)]()===i[e(232)]()||(s=new Io(this[e(221)],i,this[e(234)],this[e(207)]),this[e(196)][e(198)](s)),s[e(233)](t)}[Mo(215)](t){const e=Mo,i=go(t[e(208)],this[e(221)][e(197)])[e(204)];this[e(189)](i)[e(231)](t)}[Mo(189)](t){const e=Mo;return this[e(196)][e(225)](i=>i[e(204)][e(232)]()===t[e(232)]())}}const Co=jo;function Fo(){const t=["locale","909178MRDQIB","_revisions","bind","_handleDiffChange","availableRevisionActions","defaultRevisionActions","revisionHistory.revisionActions","1cWPsZR","length","_handleEditorDataReady","_revisionsRepository","map","nameRevision","get","_revisionViewer","newRevisionId","editor","11xSPmge","isVisible","Restore this revision","fieldView","init","_handleRevisionSetName","2643708RQLJBG","action","getRevisionsInDiff","isOfficialPlugin","highlightRevisions","_sidebarView","isSelected","element","appendChild","repository","change:diff","remove","_handleRevisionSelected","2834368ZhNVLG","pluginName","isEnabled","compare","timePeriodViews","1040169TFdJPS","diff","revisionHistory","revisionSetName","focus","Compare against selected","setName","requires","isPremiumPlugin","5pOuoTJ","Name this revision","ready","revisionHistory.requireRevisionName","getLaterVisibleRevision","revisionSelected","getIndex","name","RevisionsSidebar","4510908fajDoj","compareAgainstSelected","string","restoreRevisionCallback","getRevision","selectRevision","select","7wqszTd","add","config","render","restoreRevision","getEarlierVisibleRevision","6020ArrZVW","assign","revisionViews","plugins","destroy","revisionHistory.viewerSidebarContainer","listenTo","_createRevisionActions","7574740nsApFV","isReady","data"];return(Fo=function(){return t})()}function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=216]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(276301===-parseInt(e(286))/1*(-parseInt(e(279))/2)+-parseInt(e(236))/3+-parseInt(e(267))/4*(parseInt(e(245))/5)+-parseInt(e(218))/6+parseInt(e(261))/7*(parseInt(e(231))/8)+-parseInt(e(254))/9+parseInt(e(275))/10*(parseInt(e(296))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends G.Plugin{[Co(293)];[Co(289)];[Co(223)];static[Co(284)]=[Co(255),Co(265),Co(291)];static[Co(283)]=function(){const t=Co;return{compareAgainstSelected:{name:t(241),action:({plugins:e},i)=>{const s=t,n=e[s(292)](ce),r=n[s(227)];let o=n[s(237)][s(294)],a=i.id;r[s(251)](o)>r[s(251)](a)&&([o,a]=[a,o]),n[s(234)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(292)](ce);return!(n[s(227)][s(220)](n[s(237)])[s(287)]>2||i[s(224)])}},restoreRevision:{name:t(298),action:(e,{id:i})=>{const s=t;e[s(263)][s(292)](s(238))[s(257)](i)},isVisible:({plugins:e},i)=>!!e[t(292)](ce)[t(227)][t(249)](i.id)},nameRevision:{name:t(246),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(292)](ce),o=r[n(227)][n(266)](i);r[n(234)](i,o),s[n(240)](),s[n(299)][n(260)]()}}}}();static get[Co(232)](){return Co(253)}static get[Co(221)](){return!0}static get[Co(244)](){return!0}static get[Co(243)](){return[ce]}constructor(t){const e=Co;super(t),this[e(293)]=t[e(270)][e(292)](ce),this[e(289)]=this[e(293)][e(227)],this[e(223)]=null}[Co(216)](){const t=Co,e=this[t(289)][t(280)],i=this[t(274)](),s=this[t(295)][t(263)][t(292)](t(272));this[t(223)]=new Eo(this[t(295)][t(278)],e,i,this[t(295)][t(263)][t(292)](t(248))),this[t(223)].on(t(250),this[t(230)][t(281)](this)),this[t(223)].on(t(239),this[t(217)][t(281)](this)),this[t(223)][t(281)](t(233)).to(this[t(293)]),this[t(223)][t(235)].on(t(262),(e,i)=>{const s=t;i[s(269)].on(s(262),(t,e)=>{const i=s;e[i(281)](i(233),i(276)).to(this[i(293)])})}),this[t(223)][t(264)](),this[t(273)](this[t(295)][t(277)],t(247),this[t(288)][t(281)](this)),this[t(273)](this[t(293)],t(228),this[t(282)][t(281)](this)),s[t(226)](this[t(223)][t(225)])}[Co(271)](){const t=Co;this[t(223)][t(225)][t(229)](),this[t(223)][t(271)]()}[Co(288)](){const t=Co,e=this[t(289)][t(258)](0);if(e){const i=this[t(289)][t(266)](e.id);this[t(293)][t(234)](e,i)}}[Co(230)](t,e){const i=Co,s=this[i(289)][i(258)](e.id),n=this[i(289)][i(266)](s.id);this[i(293)][i(234)](s,n)}[Co(217)](t,e){const i=Co;this[i(289)][i(258)](e.id)[i(242)](e[i(252)])}[Co(282)](t,e,i){const s=Co,n=this[s(289)][s(220)](i);n[s(287)]>2?(this[s(223)][s(222)](n),this[s(223)][s(259)](null)):(this[s(223)][s(222)]([]),this[s(223)][s(259)](n[0]))}[Co(274)](){const t=Co,e=this[t(295)],i=Po[t(283)],s=e[t(263)][t(292)](t(285))||Po[t(284)];if(s[t(287)])return s[t(290)](s=>{const n=t,r=n(256)==typeof s?Object[n(268)]({},i[s]):s;return r[n(219)]=r[n(219)][n(281)](this,e),r[n(297)]&&(r[n(297)]=r[n(297)][n(281)](this,e)),r})}}const Lo=Uo;!function(t){const e=Uo,i=t();for(;;)try{if(410095===-parseInt(e(119))/1*(parseInt(e(110))/2)+-parseInt(e(157))/3*(-parseInt(e(122))/4)+parseInt(e(149))/5*(parseInt(e(142))/6)+parseInt(e(146))/7+parseInt(e(123))/8*(-parseInt(e(154))/9)+parseInt(e(145))/10*(-parseInt(e(133))/11)+parseInt(e(109))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class zo extends It.EditorUI{[Lo(115)];[Lo(144)];[Lo(116)];get[Lo(113)](){return this[Lo(115)]}constructor(e,i){const s=Lo;super(e),this[s(115)]=i,this[s(144)]=(0,It.normalizeToolbarConfig)(e[s(137)][s(141)](s(120))),this[s(116)]=new t.ElementReplacer}get[Lo(155)](){const t=Lo;return this[t(113)][t(155)]}[Lo(126)](t){const e=Lo,i=this[e(127)],s=this[e(113)],n=i[e(125)][e(113)],r=s[e(134)],o=n[e(117)][e(148)]();r[e(132)]=o[e(114)],s[e(136)]();const a=r[e(155)];this[e(128)](r[e(132)],a),s[e(134)][e(112)](e(156)).to(this[e(152)]),n[e(124)](a),this[e(116)][e(153)](t,this[e(155)]),this[e(118)](),this[e(150)](e(138))}[Lo(143)](){const t=Lo;super[t(143)]();const e=this[t(113)],i=this[t(127)][t(125)][t(113)];this[t(116)][t(111)](),i[t(121)](e[t(134)][t(132)]),e[t(143)]()}[Lo(118)](){const t=Lo,e=this[t(113)];e[t(140)][t(112)](t(139)).to(this[t(152)],t(156)),e[t(140)][t(135)]=e[t(155)],e[t(140)][t(112)](t(129)).to(this,t(131),({top:t})=>t),e[t(120)][t(151)](this[t(144)],this[t(130)]),this[t(147)](e[t(120)])}}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=109]})(t,e)}function Wo(){const t=["ready","isActive","stickyPanel","get","122658rnHluR","destroy","_toolbarConfig","7349330qldjGA","1953091gWIoIt","addToolbar","getRoot","50FBFdXi","fire","fillFromConfig","focusTracker","replace","9syKIzJ","element","isFocused","87jcPKxN","11340852ZCcQaC","34CsoNGR","restore","bind","view","rootName","_view","_elementReplacer","document","_initToolbar","45274fZuXNm","toolbar","detachDomRoot","82060hxyyfy","870104woRiHd","attachDomRoot","editing","init","editor","setEditableElement","viewportTopOffset","componentFactory","viewportOffset","name","11ivkeKa","editable","limiterElement","render","config"];return(Wo=function(){return t})()}var Ho=i(324),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Dt();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=Bo;function $o(){var t=["3690atTrIC","content","503019NukFJD","10371210gmnPgN","5881785KEDQbI","7FqYUZH","40sIajSU","shouldToolbarGroupWhenFull","toolbar","85qbRjEF","89837zMvBAq","render","stickyPanel","top","main","add","_editable","editable","291408HMQDOU","180642GxZMiB","4093482VsHrLv"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=303]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(923635===parseInt(e(309))/1*(parseInt(e(323))/2)+parseInt(e(303))/3+-parseInt(e(322))/4*(parseInt(e(313))/5)+-parseInt(e(307))/6+-parseInt(e(308))/7+parseInt(e(310))/8*(-parseInt(e(306))/9)+-parseInt(e(304))/10*(-parseInt(e(314))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(320)];[qo(316)];[qo(312)];get[qo(321)](){return this[qo(320)]}constructor(t,e,i={}){var s=qo;super(t),this[s(316)]=new It.StickyPanelView(t),this[s(312)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(311)]}),this[s(320)]=new It.InlineEditableUIView(t,e)}[qo(315)](){var t=qo;super[t(315)](),this[t(316)][t(305)][t(319)](this[t(312)]),this[t(317)][t(319)](this[t(316)]),this[t(318)][t(319)](this[t(321)])}}const Jo=Ko;function Go(){const t=["sourceElement","initialData","fire","updateSourceElement","910IvSYhi","view","editing","initPlugins","locale","config","init","createRoot","1982558ghGDHa","1505895TdRfZA","create","destroy","6879544GgZLvy","ready","model","121185csIKIJ","6JcZftN","1078817EERFhb","_ui","data","3VaYGWo","get","document","6255536uJuPoq","6305306HQAgJs"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=272]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(979467===-parseInt(e(274))/1+-parseInt(e(294))/2*(parseInt(e(277))/3)+parseInt(e(280))/4+parseInt(e(295))/5*(parseInt(e(273))/6)+-parseInt(e(281))/7+parseInt(e(298))/8+parseInt(e(272))/9*(parseInt(e(286))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(275)];get ui(){return this[Jo(275)]}constructor(t,e){const i=Jo;super(e),this[i(282)]=t,this[i(300)][i(279)][i(293)]();const s=new Yo(this[i(290)],this[i(288)][i(287)],{shouldToolbarGroupWhenFull:!0});this[i(275)]=new zo(this,s)}[Jo(297)](){const t=Jo;return this[t(285)](),this.ui[t(297)](),super[t(297)]()}static async[Jo(296)](t,e){const i=Jo,s=new this(t,e);return await s[i(289)](),await s.ui[i(292)](t),await s[i(276)][i(292)](s[i(291)][i(278)](i(283))||""),s[i(284)](i(299)),s}}const Xo=ea;function ta(){const t=["panelViews","rootName","1216638jpXlKw","fromCharCode","insert","revisionHistory","create","revisionHistory.viewerContainer","AIReviewMode","has","getRevision","name","isReady","none","isOfficialPlugin","pluginName","revision-history-missing-configuration","getMarkersGroup","addUser","_getRevisionViewerEditorConfig","creator","isReadOnly","replace","AIChatHistory","isEnabled","restoreRevision","bind","Annotations","long","AIActions","PaginationLookup","_closeRevisionViewer","_recalculatePageBreaks","91122cfQyJd","editor","define","save","element","enqueueChange","config","saveRevision","RestrictedEditingMode","AIBalloon","Users","setSelection","_showRevisionViewer","refreshVisibility","block","then","_viewerEditor","addRoot","uiLanguage","getRevisions","474159VvjFkp","error","revisionHistory.requireRevisionName","display","toJSON","disableReadOnlyMode","removeSelectionAttribute","createRangeIn","Autosave","model","RevisionHistory","RevisionTracker","translations","lazyRoots","markers","requires","repository","revisionHistory.showRevisionViewerCallback","DocumentOutline","revision-history-viewer-opened","adapter","addRevisionData","loadRevisionData","_restoreRevision","catch","isAnonymous","ck-tab-panel_disabled","keys","users","exitToEditing","locale","numeric","getAttributeKeys","isOpen","join","_enhanceShowRevisionViewerCallback","result","getRoot","querySelector","showRevisionViewerCallback","RevisionHistoryUtils","revisionHistory.editorContainer","AITabs","isPremiumPlugin","includes","set","push","_cleanUp","revisionHistory.restoreRevisionCallback","refreshPositioning","RevisionHistoryUI","_update","_enhanceCloseRevisionViewerCallback","commands","revisionHistory.viewerEditorElement","map","setAttribute","end","createdAt","data","style","selection","tabindex","view","remove","indexOf","RevisionViewerIntegration","344588jjqpem","parse","document","enableReadOnlyMode","4FZYOcl","toolbar","getRevisionDocumentData","AIChat","743824WDroYU","init","Restored","detachRoot","removeAttribute","change","DocumentOutlineUI","toLocaleTimeString","1268568QKYVos",".ck-ai-chat__prompt-input .ck-textarea","from","hide","fromVersion","isRevisionViewerOpen","update","getRevisionRootsAttributes","toLocaleDateString"," ck-tab-panel_disabled","closeRevisionViewerCallback","getUser","destroy","restrictedEditingException","plugins","toVersion","changesNavigation","35cuhSeH","AIQuickActions","RevisionViewer","class",".ck-ai-chat-history .ck-input","123475pCUNrN","revisionHistory.closeRevisionViewerCallback","roots","get","RevisionsRepository","isAttached","$graveyard","removeMarker","Dialog"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=184]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(122865===parseInt(e(211))/1+-parseInt(e(340))/2+parseInt(e(273))/3*(-parseInt(e(344))/4)+parseInt(e(206))/5*(parseInt(e(253))/6)+parseInt(e(189))/7+-parseInt(e(348))/8+parseInt(e(222))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(323),Xo(261),Xo(347),Xo(228),Xo(262),Xo(207),Xo(249)];class sa extends G.Plugin{[Xo(309)];static get[Xo(235)](){return Xo(339)}static get[Xo(234)](){return!0}static get[Xo(316)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(328)](t=>String[e(223)](t))[e(307)]("")}super(t),this[e(309)]=e(330),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(269)];static get[Xo(235)](){return Xo(283)}static get[Xo(234)](){return!0}static get[Xo(316)](){return!0}static get[Xo(288)](){return[pt,Zt]}constructor(e){const i=Xo;if(super(e),!this[i(254)][i(259)][i(214)](i(225)))throw new t.CKEditorError(i(236),this);this[i(269)]=null,this[i(318)](i(194),!1),this[i(254)][i(259)][i(255)](i(290),t=>this[i(265)]({...t,translations:this[i(254)][i(303)][i(285)]})),this[i(254)][i(259)][i(255)](i(212),t=>this[i(251)](t)),this[i(254)][i(259)][i(255)](i(321),t=>this[i(296)](t)),this[i(254)][i(259)][i(255)](i(275),!1),this[i(308)](),this[i(325)]()}set[Xo(293)](t){const e=Xo;this[e(254)][e(203)][e(214)](e(284))[e(293)]=t}get[Xo(293)](){const t=Xo;return this[t(254)][t(203)][t(214)](t(284))[t(293)]}[Xo(294)](t){const e=Xo;return this[e(254)][e(203)][e(214)](e(284))[e(294)](t)}[Xo(230)](t){const e=Xo;return this[e(254)][e(203)][e(214)](e(215))[e(230)](t)}[Xo(272)](t){const e=Xo;return this[e(254)][e(203)][e(214)](e(215))[e(272)](t||{toJSON:!1})}[Xo(239)](){const e=Xo,i=this[e(254)],s=(0,K.sanitizeEditorConfig)(i,ia),n=i[e(203)][e(214)](e(284)),r=i[e(203)][e(214)](e(263))[e(301)];return s[e(345)]=[e(302),e(245),e(205)],delete s[e(286)],s[e(203)][e(319)](sa,ce,Ne,class extends G.Plugin{static get[e(288)](){return[ce,e(263)]}[e(349)](){const s=e,o=this[s(254)][s(203)][s(214)](s(263));for(const t of r)t[s(298)]||o[s(200)](t.id)||o[s(238)](t);const a=n[s(289)][s(272)]();let c=null;const u=this[s(254)][s(203)][s(214)](s(208));u[s(293)]=n[s(293)],u[s(246)](s(244)).to(n),this[s(254)][s(326)][s(214)](s(245))[s(246)](s(244)).to(i,s(241),t=>!t);for(const e of a){const i=null===e[s(240)];if(i&&e[s(204)]===e[s(193)])continue;const r=e[s(277)]();u[s(294)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(324)](r,o);else if(!o){const e=a[u(277)]();e.id=(0,t.uid)(),n[u(260)](e,a[u(204)])[u(268)](t=>{c=t})}}else e[u(324)](r,o)})}}},Po),s}[Xo(308)](){const t=Xo,e=this[t(254)][t(259)][t(214)](t(225))[t(312)];this[t(254)][t(259)][t(318)](t(290),async()=>{const i=t;this[i(254)][i(343)](i(292));const s=this[i(254)][i(203)][i(214)](i(284));if(this[i(254)][i(203)][i(229)](i(281))){const t=this[i(254)][i(203)][i(214)](i(281));await t[i(256)]()}else await s[i(195)]();if(this[i(254)][i(203)][i(229)](i(250))&&this[i(254)][i(203)][i(214)](i(250))[i(252)](),this[i(254)][i(203)][i(229)](i(219))){const t=this[i(254)][i(203)][i(214)](i(219));t[i(306)]&&t[i(192)]()}if(this[i(254)][i(203)][i(229)](i(315))){const t=this[i(254)][i(203)][i(214)](i(315))[i(336)][i(220)];for(const e of t)e[i(209)]=e[i(209)]?e[i(209)]+i(198):i(299);if(this[i(254)][i(203)][i(229)](i(347))){const t=document[i(311)](i(190));t&&t[i(329)](i(335),"-1")}if(this[i(254)][i(203)][i(229)](i(243))){const t=document[i(311)](i(210));t&&t[i(329)](i(335),"-1")}}const n=this[i(239)]();return e(n)[i(268)](t=>{const e=i;return this[e(269)]=t,this[e(254)][e(203)][e(229)](e(247))&&this[e(254)][e(203)][e(214)](e(247))[e(266)](),this[e(254)][e(203)][e(229)](e(291))&&(this[e(254)][e(203)][e(214)](e(187))[e(336)][e(257)][e(333)][e(276)]=e(233)),t})[i(297)](t=>(console[i(274)](t),this[i(254)][i(278)](i(292)),null))})}[Xo(325)](){const t=Xo,e=this[t(254)][t(259)][t(214)](t(225))[t(199)];this[t(254)][t(259)][t(318)](t(212),()=>{const i=t;if(this[i(254)][i(203)][i(229)](i(250))&&this[i(254)][i(203)][i(214)](i(250))[i(252)](),this[i(254)][i(203)][i(229)](i(291))&&(this[i(254)][i(203)][i(214)](i(187))[i(336)][i(257)][i(333)][i(276)]=""),this[i(254)][i(203)][i(229)](i(315))){const t=this[i(254)][i(203)][i(214)](i(315))[i(336)][i(220)];for(const e of t)e[i(209)]=i(299)===e[i(209)]?"":e[i(209)][i(242)](i(198),"");if(this[i(254)][i(203)][i(229)](i(347))){const t=document[i(311)](i(190));t&&t[i(185)](i(335))}if(this[i(254)][i(203)][i(229)](i(243))){const t=document[i(311)](i(210));t&&t[i(185)](i(335))}}return this[i(269)][i(203)][i(214)](i(208))[i(320)](),e(this[i(269)])[i(268)](()=>{const t=i;if(this[t(254)][t(278)](t(292)),this[t(269)]=null,this[t(254)][t(203)][t(229)](t(247))){const e=this[t(254)][t(203)][t(214)](t(247));e[t(266)](),e[t(322)]()}})})}[Xo(265)](t){const e=Xo,i=this[e(254)][e(259)][e(214)](e(314)),s=this[e(254)][e(259)][e(214)](e(227)),n=this[e(254)][e(259)][e(214)](e(327));return Qo[e(226)](n,t)[e(268)](t=>(s[e(333)][e(276)]=e(267),i[e(333)][e(276)]=e(233),this[e(194)]=!0,t))}[Xo(251)](t){const e=Xo,i=this[e(254)][e(259)][e(214)](e(314));return this[e(254)][e(259)][e(214)](e(227))[e(333)][e(276)]=e(233),i[e(333)][e(276)]="",this[e(194)]=!1,t[e(201)]()}async[Xo(296)](t){const e=Xo,i=this[e(254)],s=this[e(269)][e(203)][e(214)](e(208)),n=i[e(203)][e(214)](e(284)),r=i[e(203)][e(214)](e(313)),o=s[e(289)][e(230)](t);let a,c,u;try{await r[e(295)](o,this[e(293)]),a=r[e(346)](o),c=r[e(196)](o)}catch(t){return void console[e(274)](t)}i[e(282)][e(186)](t=>{const s=e;for(const e of Array[s(191)](i[s(282)][s(287)][s(237)](s(202))))t[s(218)](e)}),s[e(232)]=!1,i[e(282)][e(258)](t=>{const s=e;t[s(264)](null),t[s(279)](i[s(282)][s(342)][s(334)][s(305)]());const n=Object[s(300)](a);for(const e of i[s(282)][s(342)][s(213)])s(217)!=e[s(221)]&&e[s(216)]()&&!n[s(317)](e[s(221)])&&t[s(184)](e);for(const e of n){let n=i[s(282)][s(342)][s(310)](e);n&&n[s(216)]()||(n=t[s(270)](e));const r=c[e],o=Object[s(300)](r),u=a[e];for(const e of n[s(305)]())o[s(317)](e)||t[s(185)](e,n);for(const i of o)t[s(329)](i,c[e][i],n);t[s(337)](t[s(280)](n)),t[s(224)](i[s(332)][s(341)](u,n),n,0)}});const l=at(i[e(303)],e(350));return u=o[e(231)]?-1==o[e(231)][e(338)](l)?l+": "+o[e(231)]:o[e(231)]:l+": "+o[e(331)][e(197)](i[e(303)][e(271)],{month:e(248),day:e(304)})+", "+o[e(331)][e(188)](i[e(303)][e(271)],{hour:e(304),minute:e(304)}),await n[e(260)]({name:u}),s[e(232)]=!0,i[e(259)][e(214)](e(225))[e(199)]()}}function ra(){var t=["5873fxRQNV","147480tWpxTE","7408ogfOCq","2172525LYmzBa","9aBScxC","5838UndHfO","1465MajAbt","21025vtZAWX","6323640dSIhaj","2622186RYTaqo"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=361]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(711612===parseInt(e(363))/1+parseInt(e(365))/2+-parseInt(e(369))/3+-parseInt(e(367))/4+-parseInt(e(362))/5*(-parseInt(e(361))/6)+parseInt(e(366))/7*(-parseInt(e(368))/8)+parseInt(e(370))/9*(parseInt(e(364))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={10:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},52:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},98:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},102: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)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},243:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},251:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},282:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},297: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)}}}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},324:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},448:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},505:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},586:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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{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__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.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},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779: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}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},815:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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-confirm-view{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-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-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},929: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}}}},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:()=>he,Revision:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(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 D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(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&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function H(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function U(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&&!H(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=P(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:H(i)?i:C(n[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function z(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":{if(M(e))return i;const s=t[e];return void 0===s?z(e)?Z(t,U(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=P(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;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=Y;function B(){const t=["fromVersion","setName","2747637Zoaqco","3446890cTBaHY","44joniKN","attributes","_update","21795jjnByU","4180DLjEiF","2346096VXhSMX","set","11JuzufO","creatorId","removeAttribute","2877180iOaCAb","diffData","creator","model","73vvlXTv","authors","1023400WIpoie","5iVjqBn","toVersion","toJSON","createdAt","fire","map","setAttribute","authorsIds","name","7juFHDJ"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=315]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(219781===parseInt(e(344))/1*(parseInt(e(334))/2)+parseInt(e(333))/3*(-parseInt(e(330))/4)+-parseInt(e(316))/5*(parseInt(e(335))/6)+parseInt(e(325))/7*(parseInt(e(315))/8)+parseInt(e(328))/9+-parseInt(e(329))/10*(-parseInt(e(337))/11)+-parseInt(e(340))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class J extends((0,t.ObservableMixin)()){id;[$(342)];[$(345)];[$(341)];[$(317)];[$(326)];[$(343)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(342)]=e[i(342)]||null,this[i(345)]=e[i(345)]||[],this[i(341)]=e[i(341)]||null,this[i(317)]=e[i(317)]||0,this[i(326)]=e[i(326)]||0,this[i(336)](i(324),e[i(324)]||""),this[i(336)](i(319),e[i(319)]||new Date),this[i(336)](i(331),e[i(331)]||{})}[$(327)](t){this[$(332)]({name:t})}[$(322)](t,e){const i=$,s=R(this[i(331)]);W(s,t,e),this[i(332)]({attributes:s})}[$(339)](t){const e=$,i=R(this[e(331)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&z(e))return q(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(332)]({attributes:i})}[$(332)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(324),i(319),i(341),i(345),i(331),i(317),i(326),i(338)];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(345)]&&(n[i(323)]=n[i(345)][i(321)](t=>t.id),delete n[i(345)]),this[i(320)](i(332),n,e))}[$(318)](){const t=$;return{id:this.id,name:this[t(324)],creatorId:this[t(342)]?this[t(342)].id:null,authorsIds:this[t(345)][t(321)](t=>t.id),diffData:this[t(341)],createdAt:this[t(319)],attributes:this[t(331)],fromVersion:this[t(326)],toVersion:this[t(317)]}}}var G=i(782),K=i(211),Q=i(783);const X=et;function tt(){const t=["push","join","editor","diffData","requires","28846210CIYLsO","Users","toJSON","earlier","afterInit","plugins","44956EeLNeJ","1205208RZEpwJ","reverse","pluginName","9UwtIVr","109860UGtbVX","name","later","187qvyMAB","data","length","href","395YIvvXM","attributes","_revisions","isOfficialPlugin","creatorId","get","createRevision","getRevision","authorsIds","map","isPremiumPlugin","7204qfqlYV","1262793bEDETh","getEarlierVisibleRevision","RevisionsRepository","1589568NsJVJT","getRevisionsInDiff","getLaterVisibleRevision","createdAt","oldRevisionId","isNaN","toVersion","add","addRevision","getUser","newRevisionId","getIndex","fromCharCode","fromVersion","getRevisions","from","getRevisionsIterator"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=143]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(524025===parseInt(e(190))/1*(-parseInt(e(150))/2)+-parseInt(e(183))/3+-parseInt(e(182))/4*(parseInt(e(194))/5)+-parseInt(e(187))/6+-parseInt(e(151))/7+-parseInt(e(154))/8+-parseInt(e(186))/9*(-parseInt(e(176))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[X(196)];static get[X(175)](){return[K.Users]}static get[X(185)](){return X(153)}static get[X(197)](){return!0}static get[X(149)](){return!0}get[X(192)](){const t=X;return this[t(196)][t(192)]}constructor(e){const i=X;super(e),this[i(196)]=new t.Collection}[X(180)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([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]),[y([121])]:y([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]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=et;return t[e(148)](t=>String[e(166)](t))[e(172)]("")}!function(t){const i=u();r[i]=y([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[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([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[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([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===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([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(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([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]))||p(y([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=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1768089600;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=et,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(193)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=et;for(const e in window)if(window[y([78,117,109,98,101,114])][i(159)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[X(145)](t){const e=X,i=this[e(173)][e(181)][e(144)](e(177));return new J({id:t.id,name:t[e(188)],creator:t[e(143)]?i[e(163)](t[e(143)]):null,diffData:t[e(174)]||t[e(191)],authors:t[e(147)][e(148)](t=>i[e(163)](t)),createdAt:new Date(t[e(157)]),attributes:t[e(195)],fromVersion:t[e(167)],toVersion:t[e(160)]})}[X(162)](t,e=0){const i=X;this[i(196)][i(161)](t,e)}[X(146)](t){const e=X;return this[e(196)][e(144)](t)}[X(168)](t={toJSON:!1}){const e=X,i=Array[e(169)](this[e(196)]);return i[e(184)](),t[e(178)]?i[e(148)](t=>t[e(178)]()):i}[X(165)](t){const e=X;return this[e(196)][e(165)](t)}[X(152)](t){const e=X,[,i]=this[e(170)](t,{direction:e(179)});return i}[X(156)](t){const e=X,[,i]=this[e(170)](t,{direction:e(189)});return i}[X(155)](t){const e=X,i=[];for(const s of this[e(170)](t[e(164)]))if(i[e(171)](s),s.id===t[e(158)])break;return i}*[X(170)](t,{direction:e=X(179),filter:i=()=>!0}={}){const s=X,n=s(179)===e?1:-1;let r=this[s(196)][s(144)](t),o=this[s(165)](r);for(yield r;r;){if(o+=n,r=this[s(146)](o),!r)return;i(r)&&(yield r)}}}function st(){const t=["_viewClassToTypeChar","editor","attachChange","isOfficialPlugin","9dwROYw","forEach","_removeRevisionMarkers","filter","from","type","toData","8yZJbPn","_appendChild","childNodes","859406WnwvjB","toModel","config","data","constructor","diffData","htmlProcessor","map","146565ystKdy","customProperties","string","isAttached","209qDxLwT","attributesAfter","domDocument","name","getRevision","render","66nVbUim","getRevisionRootsAttributes","viewChildrenToDom","getRevisionDocumentData","1007114lVHUTa","data-revision-","domChildrenToView","document","_makeModelFromViewString","attributes","processor","length","646170msQjnH","RevisionHistoryUtils","get","collaboration.channelId","insertions","pluginName","fillerOffset","_typeCharToViewClass","append","editing","view","startsWith","isPremiumPlugin","revision-end","_setCustomProperty","revision-start","5142090bGCSJN","6395627ChKgSE","children","marked","parse","getFillerOffset","useFillerType","_getViewFromDiffObj","loadRevisionData","domConverter","52KknKiB","8952WWnKuq","innerHTML","_getTypeCharForViewElement","div","default","createElement"];return(st=function(){return t})()}function nt(t,e){const i=st();return(nt=function(t,e){return i[t-=359]})(t,e)}const rt=nt;!function(t){const e=nt,i=t();for(;;)try{if(763338===-parseInt(e(388))/1+-parseInt(e(366))/2+-parseInt(e(374))/3*(parseInt(e(422))/4)+-parseInt(e(396))/5*(-parseInt(e(384))/6)+-parseInt(e(413))/7*(-parseInt(e(363))/8)+parseInt(e(433))/9*(parseInt(e(412))/10)+parseInt(e(378))/11*(-parseInt(e(423))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends G.Plugin{static get[rt(401)](){return rt(397)}static get[rt(432)](){return!0}static get[rt(408)](){return!0}[rt(429)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[rt(403)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[rt(420)](t,e){const i=rt;if(t[i(371)]||!e)return;const s=this[i(430)][i(368)][i(398)](i(399)),n=await e[i(382)]({channelId:s,revisionId:t.id});t[i(371)]=n[i(371)]}[rt(387)](t){const e=rt,i={};for(const s in t[e(371)]){if(t[e(371)][s][e(431)]&&!t[e(371)][s][e(431)][e(377)])continue;const n=this[e(435)](JSON[e(416)](t[e(371)][s][e(400)])),r=this[e(430)][e(405)][e(406)][e(391)],o=new Q.ViewDocumentFragment(r,n[e(373)](t=>this[e(419)](t,!1)));this[e(430)][e(369)][e(394)][e(418)](e(415)),i[s]=this[e(430)][e(369)][e(394)][e(362)](o),this[e(430)][e(369)][e(394)][e(418)](e(427))}return i}[rt(385)](t){const e=rt,i={};for(const s in t[e(371)])t[e(371)][s][e(431)]&&!t[e(371)][s][e(431)][e(377)]||(i[s]=t[e(371)][s][e(379)]||{});return i}[rt(425)](t){const e=rt;return this[e(429)][e(398)](t[e(370)])}[rt(419)](t,e){const i=rt,s=this[i(430)][i(405)][i(406)][i(391)];if(i(376)==typeof t)return new Q.ViewText(s,t);{let n,r;r="u"==t[i(361)]||"r"==t[i(361)]?[]:t[i(414)][i(373)](t=>this[i(419)](t,e));const o=this[i(403)][i(398)](t[i(361)])||Q.ViewElement,a=this[i(430)][i(369)][i(372)][i(421)];if(n=new o(s,t[i(381)],t[i(393)],r),"u"==t[i(361)]&&t[i(414)][0]){const r=t[i(414)][0];if(n[i(383)]=function(t){const e=i,s=t[e(428)](e(426));return s[e(424)]=r,s[e(365)][0]},e){const t=new Q.ViewDocumentFragment(s);t[i(364)](n);const e=Array[i(360)](a[i(386)](t,{bind:!1})),r=a[i(380)][i(428)](i(426));r[i(404)](...e),n=Array[i(360)](a[i(390)](r))[0]}}else if("r"==t[i(361)]&&t[i(414)][0]){const r=t[i(414)][0];if(n[i(383)]=function(t){t[i(424)]=r},e){const t=new Q.ViewDocumentFragment(s);t[i(364)](n);const e=Array[i(360)](a[i(386)](t,{bind:!1})),r=a[i(380)][i(428)](i(426));r[i(404)](...e);const o=Array[i(360)](a[i(390)](r));o[i(395)]>1?n[i(364)](o):n=o[0]}}if(t[i(375)])for(const[e,s]of t[i(375)])n[i(410)](e,s);const c=void 0===t[i(402)]?null:t[i(402)];return null!==c&&(n[i(417)]=()=>c),n}}[rt(392)](t){const e=rt,i=JSON[e(416)](t),s=this[e(430)][e(405)][e(406)][e(391)],n=new Q.ViewDocumentFragment(s,i[e(373)](t=>this[e(419)](t,!0)));return this[e(430)][e(369)][e(367)](n)}[rt(435)](t){const e=rt;return(t=t[e(359)](t=>!t[e(381)]||e(411)!==t[e(381)]&&e(409)!==t[e(381)]))[e(434)](t=>{const i=e;i(376)!=typeof t&&(t[i(414)]=this[i(435)](t[i(414)]),t[i(393)]=t[i(393)][i(359)](t=>!t[0][i(407)](i(389))))}),t}}function at(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 ct(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 ut(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 lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(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 R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===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)||!ut(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=>ut(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(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(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(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=bt;function mt(){const t=["setRevisionData","documentFragment","text","updateRevisions","_transformMarkers","attributesBefore","RevisionHistory","length","delete","string","getMovedRangeStart","version","authors","toVersion","invalid","getChildren","_cloneOperation","creator","domDocument","_showLicenseError","licenseKey","elementStart","getIndex","elementEnd","_loadState","_utils","stickiness","loadRevisionData","_fixRange","revisionHistoryLicenseKeyInvalid","move","320296WVFhEa","Users","getRevisionRootsAttributes","addRoot","userId","split","push","_findInsertionIndex","_revisionDataBuilder","getAttribute","insertion","RealTimeCollaborationClient","createPositionFromPath","_handleOperation","values","some","end","_touchedRoots","_handleSplitOperation","attachChange","type","markers","PENDING_ACTION_REVISION_HISTORY","nodeAfter","upcast","getChild","has","$graveyard","domConverter","_isPendingUpdate","buildRevisionData","detachRoot","_calculateMetaData","clone","nodes","revisionHistoryLicenseKeyDomainLimit","bind","position","_startingRevisionId","_createFromRanges","item","loadState","remove","marker","deletions","markerToData","_handleInsertOperation","_makeRevision","outerHTML","_createCurrentRevision","config","$comment","sendBufferedUpdates","_getTypeCharForViewElement","getOperations","model","sort","expired","currentRevision","dataDowncast","isEqual","name","from","rawElement","revision:","_makeModelFromViewString","RevisionsRepository","collaboration.channelId","_authorId","_licenseKeyCheckInterval","createPositionBefore","tableCell","getCurrentRevisionId","isAdd","_markChanges","conversion","initialData","_getVidAttributeName","277824FYGGHu","_touchedMarkers","addRevisionData","finally","_fixOperation","ready","slice","revisionHistoryLicenseKeyUsageLimit","define","deletion","8aNlnKV","initial","_idsRoots","children","includes","editor","_diffRootsAttributes","getAttributes","authorsIds","roots","_lastTo","changeRootAttribute","vid","evaluationLimit","reInit","revisionHistoryLicenseKeyEvaluationLimit","paragraph","_pendingAction","removeRootAttribute","_isAttached","adapter","getLatestVersion","parent","_reset","setSource","getRevision","document","RevisionHistoryUtils","_handleRootAttributeOperation","revisionHistory.resumeUnsavedRevision","_handleMarkerOperation","getCustomProperties","_replaceEditorDataWithRevisionData","baseVersion","revisionHistoryLicenseKeyNotAllowed","_handleRootOperation","vid_end","sourcePosition","getTime","_getFromVersion","_loadedStateData","repository","fromVersion","createRangeIn","_addPendingAction","isReady","Empty document","rootsAttributes","customProperties","innerHTML","targetPosition","history","trim","root","rootName","_applyOperations","newRange","htmlProcessor","for","dataToMarker","isEnabled","max","_getPreviousFrom","_execute","_setConversion","size","start","toView","destroy","_getViewJson","_handleMoveOperation","merge","reinsert","newValue","$text","_insertChild","getRevisions","_bufferedUpdates","_continueCurrentRevision","requires","9764343BsVPFn","_handleMergeOperation","vid_start","_startingVersion","offset","_appendChild","_revisionId","Initial revision","getOperation","isOfficialPlugin","getRoot","update","isAttached","_baseIdsRoots","_getState","editor-initial-data-replaced-with-revision-data","_prepareViewToSave","shift","diffData","set","getFillerOffset","getWalker","resolve","createPositionAfter","source","domainLimit","addRevision","_savedMetaData","createdAt","getData","find","_touched","revision","_makeIdsRoot","featureNotAllowed","_baseRootsAttributes","NEGATIVE_INFINITY","offsetSize","968620keNamR","_source","get","getUser","splitPosition","childCount","keys","revisionHistoryLicenseKeyExpired","PendingActions","_update","_markers","createPositionAt","affectsData","_operations","plugins","64047pXROow","creatorId","oldRange","_removeMetaData","getRange","previousPosition","clear","1578689lLeteI","getRootNames","_baseRoots","getNodeByPath","createElement","howMany","_createInitialRevision","fromEntries","_saveMetaData","uiElement","_getBaseVids","_fixPosition","_initialRevisionId","usageLimit","_bufferUpdate","_isInit","_setAttribute","createRevision","path","getTransformedByOperation","then","revisionHistoryLicenseKeyValid","getRevisionDocumentData","hasContent","element","data","insert","getAncestors","57844MrYdxY","fillerOffset","createRange","isPremiumPlugin","graveyardPosition","pluginName","locale","_generateTape","init","range","_copyMarkers","reverse","_lastFrom","keepParagraph","attributesAfter","key","insertions","map","_diffRoots","_removePendingAction","startsWith","insertionPosition","stringify","saveRevision","addRootAttribute","RevisionTracker","_processRootBeforeSave","afterInit","add","filter","_clone","140JdRfJO","render"];return(mt=function(){return t})()}!function(t){const e=bt,i=t();for(;;)try{if(265523===parseInt(e(341))/1+-parseInt(e(227))/2+parseInt(e(242))/3+-parseInt(e(277))/4*(parseInt(e(308))/5)+-parseInt(e(419))/6+-parseInt(e(249))/7+-parseInt(e(429))/8*(-parseInt(e(189))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends G.Plugin{[ft(330)];[ft(410)];[ft(399)]=null;[ft(470)];[ft(449)]=null;[ft(349)];[ft(228)];[ft(261)];[ft(186)];[ft(335)];[ft(446)];[ft(187)];[ft(192)];[ft(469)];static get[ft(282)](){return ft(302)}static get[ft(198)](){return!0}static get[ft(280)](){return!0}static get[ft(188)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(470)]=this[i(434)][i(241)][i(229)](i(407)),this[i(335)]=this[i(434)][i(241)][i(229)](i(456)),this[i(349)]=new vt(this[i(434)]),this[i(261)]=this[i(434)][i(391)][i(229)](i(408))||i(430),this[i(186)]=new Map,this[i(469)]=null;const s=(0,t.uid)();this[i(228)]={history:this[i(434)][i(396)][i(455)][i(480)],getLatestVersion:()=>Promise[i(211)](this[i(434)][i(396)][i(455)][i(321)]),getCurrentRevisionId:()=>s},this[i(208)](i(474),!1),this[i(208)](i(169),!0),this[i(208)](i(370),!1),this[i(434)][i(391)][i(427)](i(458),!0),this[i(434)][i(416)][i(167)](i(365))[i(168)]({view:i(221)})}[ft(285)](){const t=ft;this[t(173)](),this[t(434)][t(274)].on(t(424),()=>{const e=t,i=this[e(470)][e(454)](0),s=i&&null===i[e(327)]?i:null;if(this[e(187)]=!!s&&this[e(434)][e(391)][e(229)](e(458)),this[e(434)][e(241)][e(367)](e(352))){const t=this[e(228)][e(413)](),n=this[e(470)][e(454)](t);if(n)this[e(192)]=n[e(471)],this[e(187)]=!1;else{const t=this[e(228)][e(480)][e(240)][e(219)](t=>!t[e(264)]),n=t?t[e(462)]:this[e(228)][e(480)][e(321)];i?(i[e(323)]<n&&i[e(236)]({toVersion:n}),this[e(187)]?(this[e(228)][e(413)]=()=>s.id,this[e(192)]=s[e(471)]):(this[e(192)]=i[e(323)],this[e(187)]=!1)):(this[e(192)]=n,this[e(187)]=!1)}}else s&&(this[e(434)][e(396)][e(455)][e(480)][e(321)]=Math[e(170)](s[e(323)],this[e(434)][e(396)][e(455)][e(480)][e(321)]),s[e(471)]===s[e(323)]?(0!==s[e(471)]&&(this[e(228)][e(413)]=()=>s.id),this[e(187)]=!1):this[e(187)]&&(this[e(228)][e(413)]=()=>s.id,this[e(192)]=s[e(471)])),this[e(187)]||(this[e(192)]=this[e(434)][e(396)][e(455)][e(321)]);this[e(349)][e(285)](this[e(228)][e(480)]),this[e(255)](this[e(192)]),this[e(390)](this[e(192)]),this[e(449)]&&this[e(393)]()}),this[t(377)](t(474)).to(this,t(370),t=>!t),this[t(330)]=this[t(434)][t(391)][t(229)](t(330));const e=this[t(434)];this[t(410)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(270)==r||i(339)==r||i(234)==r||i(376)==r||i(463)==r||i(444)==r||i(426)==r){delete e[n],s=r,clearInterval(this[i(410)]),this[i(410)]=void 0;break}}i(339)==s&&e[i(329)](i(324)),i(234)==s&&e[i(329)](i(398)),i(376)==s&&e[i(329)](i(214)),i(463)==s&&e[i(329)](i(223),i(316)),i(444)==s&&e[i(329)](i(442)),i(426)==s&&e[i(329)](i(262))},1e3)}async[ft(304)](){const t=ft;if(this[t(470)][t(317)]>0){const e=this[t(470)][t(454)](0),i=await this[t(271)](e),s=await this[t(343)](e);this[t(461)](i,s)}}[ft(177)](){const t=ft;super[t(177)](),this[t(410)]&&clearInterval(this[t(410)])}[ft(453)](t){this[ft(228)]=t}async[ft(200)](){const t=ft,e=await this[t(228)][t(450)]();if(e>this[t(399)][t(323)]){await this[t(334)]();const i=this[t(371)]({revision:this[t(399)],to:e});i[t(322)]=i[t(437)][t(294)](e=>this[t(434)][t(241)][t(229)](t(342))[t(230)](e)),this[t(399)][t(236)](i)}}async[ft(300)](e={},i=null){const s=ft,n=[];await this[s(334)](),this[s(187)]=!1,i>this[s(399)][s(323)]&&(i=null),null===i&&(i=await this[s(228)][s(450)]());const r=this[s(468)](i),o=this[s(371)]({from:r,to:i});if(this[s(399)][s(323)]<i){const t=this[s(371)]({revision:this[s(399)],from:i,to:i});t[s(322)]=[],t[s(437)]=[],t.id=this[s(399)].id,this[s(399)][s(236)](t,!0),delete t[s(322)],n[s(347)](t)}e[s(243)]=this[s(434)][s(241)][s(229)](s(342)).me.id,e[s(402)]=e[s(402)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(421)](e);n[s(347)](e);const c=this[s(470)][s(332)](a);if(0!==c){const t=this[s(470)][s(454)](c-1);if(t[s(471)]!==i){const r=this[s(349)][s(218)](i,t[s(323)]),o={id:t.id,diffData:r[s(207)],authorsIds:r[s(437)],authors:r[s(437)][s(294)](t=>this[s(434)][s(241)][s(229)](s(342))[s(230)](t)),fromVersion:i};t===this[s(399)]&&(o[s(217)]=new Date(e[s(217)][s(467)]()+10)),t[s(236)](o,!0),delete o[s(322)],n[s(347)](o)}}if(this[s(449)]){for(const t of n)this[s(263)](t.id,t,!0);this[s(393)]()}return a}[ft(421)](t){const e=ft,i=this[e(470)][e(266)](t);return this[e(449)]&&i.on(e(236),(t,i,s)=>{const n=e;s||(this[n(263)](i.id,i,!0),this[n(393)]())}),this[e(470)][e(215)](i,this[e(348)](i)),i}async[ft(271)](t){const e=ft;return await this[e(335)][e(337)](t,this[e(449)]),this[e(335)][e(271)](t)}async[ft(343)](t){const e=ft;return await this[e(335)][e(337)](t,this[e(449)]),this[e(335)][e(343)](t)}[ft(393)](){const t=ft;if(0===this[t(186)][t(174)])return;if(this[t(370)])return;let e=Array[t(403)](this[t(186)][t(355)]());this[t(186)][t(248)]();for(let i=0;i<e[t(317)];i++){const s=e[i];let n=!1;for(const e of Object[t(233)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(306)](t=>null!==t),!e[t(317)])return;for(let i=0;i<e[t(317)];i++){const s=e[i];void 0!==s[t(471)]&&void 0===s[t(323)]&&(s[t(323)]=this[t(470)][t(454)](s.id)[t(323)]),void 0!==s[t(323)]&&void 0===s[t(471)]&&(s[t(471)]=this[t(470)][t(454)](s.id)[t(471)])}const i=this[t(434)][t(391)][t(229)](t(408));this[t(370)]=!0,this[t(473)](),this[t(449)][t(313)](e,i)[t(422)](()=>{this[t(370)]=!1})[t(269)](e=>{const i=t;if(e)for(const t of e)this[i(310)]({id:t.id,createdAt:t[i(217)]});this[i(296)](),this[i(393)]()})}[ft(371)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(471)],i=null!==i?i:t[s(323)];const n=this[s(349)][s(218)](e,i),r={diffData:n[s(207)],authorsIds:n[s(437)],fromVersion:e,toVersion:i};if(!t||i!==t[s(323)]){const t=i-1,e=this[s(228)][s(480)][s(197)](t);r[s(217)]=e&&e[s(217)]||new Date}if(this[s(469)]&&e===this[s(469)][s(471)])for(const t of this[s(469)][s(322)])r[s(437)][s(433)](t.id)||r[s(437)][s(347)](t.id);return r}[ft(263)](t,e,i){const s=ft;if(this[s(186)][s(367)](t)){const n=this[s(186)][s(229)](t);e=i?{...n,...e}:{...e,...n}}this[s(186)][s(208)](t,e)}[ft(310)](t){const e=ft,i=this[e(470)][e(454)](t.id);if(t[e(217)]&&(t[e(217)]=new Date(t[e(217)])),t[e(437)]){const i=this[e(434)][e(241)][e(229)](e(342));t[e(322)]=t[e(437)][e(294)](t=>i[e(230)](t))}i[e(236)](t,!0)}[ft(255)](t){const e=ft,i=this[e(470)][e(454)](this[e(470)][e(317)]-1);if(i)this[e(261)]=i.id;else{const i=!this[e(434)][e(396)][e(455)][e(438)][e(219)](t=>this[e(434)][e(396)][e(272)](t)),s=this[e(434)][e(241)][e(229)](e(342)).me.id,n=at(this[e(434)][e(283)],e(i?475:196));this[e(388)]({from:t,to:t,id:this[e(261)],name:n,creatorId:s})}}[ft(390)](t){const e=ft,i=this[e(228)][e(413)]();this[e(399)]=this[e(470)][e(454)](i),this[e(399)]||(this[e(399)]=this[e(388)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(334)](){const t=ft;this[t(187)]&&!this[t(469)]&&(await this[t(335)][t(337)](this[t(399)],this[t(449)]),this[t(349)][t(382)](this[t(399)]),this[t(469)]={fromVersion:this[t(399)][t(471)],authors:this[t(399)][t(322)][t(425)]()})}[ft(461)](e,i){const s=ft;let n=this[s(434)][s(391)][s(229)](s(417)),r=this[s(434)][s(391)][s(229)](s(476));if(void 0===n){n={};for(const t of this[s(434)][s(396)][s(455)][s(250)]())n[t]=""}if(s(319)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(434)][s(396)][s(455)][s(250)]())r[t]={}}let o=!1;const a=Object[s(233)](n),c=Object[s(233)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(481)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(233)](r[t])[s(317)]>0){o=!0;break}}o||(o=c[s(356)](t=>!this[s(434)][s(396)][s(455)][s(199)](t))),o&&(0,t.logWarning)(s(204),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(434)][s(391)][s(208)](s(417),e),this[s(434)][s(391)][s(208)](s(476),i)}[ft(473)](){const t=ft;if(!this[t(446)]){const e=this[t(434)][t(241)][t(229)](t(235));this[t(446)]=e[t(305)](at(this[t(434)][t(283)],t(363)))}}[ft(296)](){const t=ft;this[t(446)]&&(this[t(434)][t(241)][t(229)](t(235))[t(383)](this[t(446)]),this[t(446)]=null)}[ft(348)](t){const e=ft,i=this[e(470)][e(185)]();i[e(288)]();let s=0;for(;s<i[e(317)];){const n=i[s];if(n===this[e(399)]){s++;continue}if(n.id===this[e(261)])break;const r=t[e(323)]-n[e(323)]||t[e(471)]-n[e(471)];if(r>0)break;if(r<0)s++;else{if(!t[e(327)]&&n[e(327)])break;if(n[e(327)]||!t[e(327)]){if(t[e(217)]>n[e(217)])break;s++}else s++}}return s}[ft(468)](t){const e=ft,i=this[e(470)][e(185)]();i[e(288)](),i[e(206)]();const s=i[e(219)](i=>i[e(323)]<=t)[e(323)];return s<this[e(192)]?this[e(192)]:s}[ft(388)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(371)]({from:e,to:i});o[r(402)]=t,o[r(243)]=s,o.id=n;const a=this[r(421)](o);return this[r(449)]&&this[r(263)](o.id,o,!0),a}[ft(173)](){const t=ft;this[t(434)][t(416)][t(167)](t(400))[t(386)]({model:t(221)})}}class vt{[ft(434)];[ft(213)];[ft(216)];[ft(289)];[ft(439)];[ft(237)];[ft(295)];[ft(435)];[ft(251)];[ft(224)];[ft(431)];[ft(202)];[ft(220)];[ft(420)];[ft(358)];[ft(195)];[ft(379)];constructor(t){const e=ft;this[e(434)]=t,this[e(216)]=new Map,this[e(289)]=-1,this[e(439)]=-1,this[e(237)]=new Map,this[e(295)]=new Map,this[e(435)]=new Map,this[e(251)]=new Map,this[e(224)]=new Map,this[e(431)]=new Map,this[e(202)]=new Map,this[e(220)]=new Map,this[e(420)]=new Map,this[e(358)]=new Map,this[e(195)]=1}[ft(285)](t){const e=ft;this[e(213)]=t;const i=new Map,s=new Map,n=this[e(434)][e(396)][e(455)][e(438)][e(294)](t=>t[e(163)]);for(const t of n){const n=this[e(434)][e(396)][e(455)][e(199)](t),r=gt(n);i[e(208)](t,r),s[e(208)](t,Object[e(256)](n[e(436)]()))}const r=Array[e(403)](this[e(434)][e(396)][e(362)])[e(294)](t=>[t[e(402)],t[e(246)]()]),o=this[e(213)][e(321)];this[e(257)](o,i,r,s),this[e(379)]=this[e(195)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(208)](t,i),c[e(208)](t,{})}this[e(257)](Number[e(225)],a,[],c)}[ft(218)](t,e){const i=ft;if(this[i(289)]===t&&this[i(439)]<=e)this[i(216)][i(174)]>1&&this[i(245)](this[i(439)]),this[i(164)](this[i(439)],e,!0);else{if(!this[i(216)][i(367)](t)){const e=this[i(171)](t);this[i(373)](e,t,!1)}this[i(373)](t,e,!0)}return this[i(289)]=t,this[i(439)]=e,this[i(203)]()}[ft(382)](t){const e=ft;if(!this[e(216)][e(367)](t[e(471)])){const i=this[e(171)](t[e(471)]);this[e(373)](i,t[e(471)],!1)}this[e(373)](t[e(471)],t[e(323)],!1);const i=this[e(434)][e(241)][e(229)](e(456));this[e(452)](),this[e(289)]=t[e(471)],this[e(439)]=t[e(323)];for(const s in t[e(207)]){const n=t[e(207)][s][e(360)],r=R(t[e(207)][s][e(315)])||{},o=i[e(406)](t[e(207)][s][e(385)]);o[e(163)]=s,o[e(448)]=!n||!n[e(201)],o[e(201)]=()=>o[e(448)],this[e(251)][e(208)](s,o),this[e(224)][e(208)](s,r),n&&this[e(358)][e(208)](s,n);const a=this[e(222)](o);this[e(202)][e(208)](s,a);for(const[t,i]of o[e(362)]){if(!t[e(297)](e(405)))continue;const s=t[e(346)](":")[2];for(const t of i[e(210)]({singleCharacters:!0})){const i=this[e(418)](t),n=e(333)==t[e(361)]?t[e(247)][e(267)][e(425)](0,-1):t[e(247)][e(267)],r=a[e(252)](n)[e(350)](i);this[e(220)][e(208)](r,{userId:s})}o[e(362)][e(318)](t)}}this[e(379)]=this[e(195)];const s=[...Array(this[e(195)])[e(233)]()][e(425)](1)[e(306)](t=>!this[e(220)][e(367)](t));let n=0;const r=new Map;for(const o in t[e(207)]){const a=t[e(207)][o][e(360)],c=R(t[e(207)][o][e(291)])||{},u=i[e(406)](t[e(207)][o][e(293)]);u[e(163)]=o,u[e(448)]=!a||a[e(201)],u[e(201)]=()=>u[e(448)],this[e(295)][e(208)](o,u),this[e(435)][e(208)](o,c);const l=this[e(222)](u,Number[e(225)]);this[e(431)][e(208)](o,l),r[e(208)](o,u[e(201)]()?c:{});for(const[t,i]of u[e(362)]){if(!t[e(297)](e(405)))continue;const s=t[e(346)](":")[2];for(const t of i[e(210)]({singleCharacters:!0})){const i=this[e(418)](t),n=this[e(195)]++,r=e(333)==t[e(361)]?t[e(247)][e(267)][e(425)](0,-1):t[e(247)][e(267)];l[e(252)](r)[e(265)](i,n),this[e(220)][e(208)](n,{userId:s})}u[e(362)][e(318)](t)}for(const t of this[e(434)][e(396)][e(472)](u)[e(210)]({singleCharacters:!0})){const i=this[e(418)](t),r=e(333)==t[e(361)]?t[e(247)][e(267)][e(425)](0,-1):t[e(247)][e(267)],o=l[e(252)](r);o[e(350)](i)>0||o[e(265)](i,s[n++])}for(const[t,i]of u[e(362)])t[e(297)](e(405))||this[e(237)][e(208)](t,i)}const{roots:o}=this[e(216)][e(229)](t[e(471)]),{roots:a}=this[e(216)][e(229)](t[e(323)]),c=gt(o[e(229)](e(368)));this[e(251)][e(208)](e(368),c),this[e(202)][e(208)](e(368),this[e(222)](c,Number[e(225)]));const u=gt(a[e(229)](e(368)));this[e(295)][e(208)](e(368),u),this[e(431)][e(208)](e(368),this[e(222)](u));const l=Array[e(403)](this[e(295)])[e(294)](([t,e])=>[t,gt(e)]);this[e(257)](this[e(439)],l,this[e(237)],r)}[ft(443)](){const t=ft;this[t(452)](),this[t(289)]=-1,this[t(439)]=-1,this[t(216)][t(248)](),this[t(285)](this[t(213)])}[ft(257)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(208)](t,{start:e[n(175)][n(374)](),end:e[n(357)][n(374)](),rootName:e[n(162)][n(163)]});this[n(216)][n(208)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(245)](t){const e=ft;this[e(216)][e(318)](t)}[ft(452)](){const t=ft;this[t(220)][t(248)](),this[t(420)][t(248)](),this[t(358)][t(248)](),this[t(295)][t(248)](),this[t(435)][t(248)](),this[t(251)][t(248)](),this[t(224)][t(248)](),this[t(431)][t(248)](),this[t(202)][t(248)](),this[t(237)][t(248)](),this[t(195)]=1,this[t(379)]=this[t(195)]}[ft(222)](t,e=null){const i=ft;let s=null;t.is(i(311))||(s=new Q.ModelElement(t[i(402)],{vid_start:null===e?this[i(195)]++:e++}));const n=[];for(const s of t[i(325)]())if(s.is(i(273))){n[i(347)](this[i(222)](s,e));const t=n[n[i(317)]-1];null!==e&&(e=t.is(i(273),i(183))?t[i(350)](i(441))+1:t[i(350)](i(465))+1)}else for(let t=0;t<s[i(226)];t++)n[i(347)](new Q.ModelElement(i(183),{vid:null===e?this[i(195)]++:e++}));if(t.is(i(311))){const e=yt(t[i(163)]);return e[i(184)](0,n),e}return s[i(265)](i(465),null===e?this[i(195)]++:e++),s[i(184)](0,n),s}[ft(373)](t,e,i){const s=ft;this[s(452)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(216)][s(229)](t);this[s(251)]=new Map(n),this[s(224)]=new Map(R(o));for(const[t,e]of this[s(251)])if(s(368)!==t&&(this[s(295)][s(208)](t,gt(e)),this[s(435)]=new Map(R(o)),i)){const i=this[s(195)];this[s(431)][s(208)](t,this[s(222)](e)),this[s(202)][s(208)](t,this[s(222)](e,i))}this[s(379)]=this[s(195)],this[s(295)][s(208)](s(368),gt(this[s(251)][s(229)](s(368)))),i&&this[s(431)][s(208)](s(368),this[s(222)](this[s(251)][s(229)](s(368))));for(const[t,e]of r){const i=this[s(251)][s(229)](e[s(163)]),n=this[s(295)][s(229)](e[s(163)]),r=new Q.ModelRange(this[s(260)](e[s(175)],i),this[s(260)](e[s(357)],i)),o=this[s(338)](r,n);i[s(362)][s(208)](t,r),this[s(237)][s(208)](t,o)}this[s(164)](t,e,i)}[ft(164)](t,e,i){const s=ft;for(const n of this[s(213)][s(395)](t,e))this[s(354)](n,i);for(const t of this[s(295)][s(355)]())t[s(362)][s(248)]();for(const[t,e]of this[s(237)])this[s(295)][s(229)](e[s(162)][s(163)])[s(362)][s(208)](t,e[s(374)]());const n=new Map,r=new Map;for(const[t,e]of this[s(295)])n[s(208)](t,gt(e)),r[s(208)](t,this[s(435)][s(229)](t));this[s(257)](e,n,this[s(237)],r)}[ft(171)](t){const e=ft,i=Array[e(403)](this[e(216)][e(233)]());i[e(397)]((t,e)=>t-e),i[e(288)]();for(const e of i)if(e<t)return e;return Number[e(225)]}[ft(287)](t,e){const i=ft,s=Array[i(403)](e[i(362)])[i(294)](([e,s])=>[e,this[i(338)](s,t)]);t[i(362)]=new Map(s)}[ft(314)](t){const e=ft;for(const i of this[e(237)][e(355)]()){const s=i[e(268)](t),n=Q.ModelRange[e(380)](s);i[e(175)]=n[e(175)],i[e(357)]=n[e(357)]}}[ft(354)](t,e){const i=ft;if(i(344)!=t[i(361)]&&i(372)!=t[i(361)]){if(i(275)==t[i(361)]){const s=t[i(378)][i(162)][i(163)];this[i(295)][i(367)](s)||(this[i(295)][i(208)](s,yt(s,!0)),this[i(435)][i(208)](s,{}),e&&this[i(431)][i(208)](s,yt(s,!0)))}else{if(i(301)==t[i(361)]||i(447)==t[i(361)]||i(440)==t[i(361)])return void this[i(457)](t);i(384)==t[i(361)]&&this[i(459)](t)}if(i(384)!==t[i(361)]){const e=this[i(326)](t,this[i(295)]);e[i(172)](),this[i(314)](e)}if(e)switch(t[i(361)]){case i(275):this[i(387)](t);break;case i(340):case i(383):case i(181):this[i(179)](t);break;case i(180):this[i(190)](t);break;case i(346):this[i(359)](t)}}else this[i(464)](t,e)}[ft(326)](t,e){const i=ft,s=t[i(374)]();return s[i(409)]=t[i(409)],this[i(423)](s,e),s}[ft(259)](t){const e=ft;return t[e(294)](t=>{const i=e,s=this[i(418)](t);return Number(t[i(381)][i(350)](s))})}[ft(284)](t,e){const i=ft;if(t.is(i(273),i(183)))e[i(347)]({item:t,type:i(312)});else{t.is(i(273))&&e[i(347)]({item:t,type:i(331)});for(const s of t[i(325)]())this[i(284)](s,e);t.is(i(273))&&e[i(347)]({item:t,type:i(333)})}return e}[ft(203)](){const t=ft,e=new Map(this[t(220)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(251)][t(233)](),...this[t(295)][t(233)]()]);a[t(318)](t(368));for(const e of a){const i=this[t(295)][t(229)](e)||yt(e,!1),s=this[t(251)][t(229)](e)||yt(e,!1);i[t(201)]()||s[t(201)]()?(n[t(293)][e]=gt(i),n[t(385)][e]=gt(s),this[t(287)](n[t(385)][e],s),this[t(287)](n[t(293)][e],i),r[t(293)][e]=this[t(284)](this[t(431)][t(229)](e),[]),r[t(385)][e]=this[t(284)](this[t(202)][t(229)](e)||yt(e,!1),[])):a[t(318)](e)}for(const n of a){const o=r[t(293)][n];for(const n of o){const r=this[t(418)](n),o=n[t(381)][t(350)](r);i[t(318)](o),o>=this[t(379)]&&s[t(208)](o,e[t(229)](o))}}for(const n of a){const a=r[t(293)][n],c=this[t(259)](r[t(385)][n]);let u=0;for(const n of a){const r=this[t(418)](n),a=n[t(381)][t(350)](r);if(!s[t(367)](a)&&!o[t(367)](a))if(i[t(367)](a))u++;else{if(a!=c[u]){const s=e[t(229)](a)||e[t(229)](c[u]);for(;a!=c[u];)i[t(367)](c[u])||(o[t(208)](c[u],s),e[t(208)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(293)][e];for(const e of n){const n=this[t(418)](e),r=e[t(381)][t(350)](n);if(o[t(367)](r)){const e=o[t(229)](r);i[t(367)](r)||i[t(208)](r,{...e}),s[t(208)](r,{...e})}}}for(const e of i[t(233)]())e>=this[t(379)]&&i[t(318)](e);const c=new Map;for(const e of a){let n=r[t(293)][e];for(const e of n)if(e[t(381)].is(t(273),t(412))){const i=this[t(418)](e),n=e[t(381)][t(350)](i);if(s[t(367)](n)){const i=e[t(381)][t(451)][t(451)][t(350)](t(191)),r=c[t(229)](i)||new Set;r[t(305)](s[t(229)](n)[t(345)]),c[t(208)](i,r)}}n=r[t(385)][e];for(const e of n)if(e[t(381)].is(t(273),t(412))){const s=this[t(418)](e),n=e[t(381)][t(350)](s);if(i[t(367)](n)){const s=e[t(381)][t(451)][t(451)][t(350)](t(191)),r=c[t(229)](s)||new Set;r[t(305)](i[t(229)](n)[t(345)]),c[t(208)](s,r)}}for(const e of c[t(233)]())(s[t(367)](e)||i[t(367)](e))&&c[t(318)](e)}for(const e of a){const n=r[t(293)][e];let o=null,a=null;for(const e of n){const n=this[t(418)](e),r=e[t(381)][t(350)](n),u=c[t(229)](r);u&&t(331)==e[t(361)]&&(o=Array[t(403)](u)[0],a=e[t(381)][t(350)](t(465))),o&&(i[t(208)](r,{userId:o}),s[t(208)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(385)][e],a=n[t(293)][e];for(const{userId:e}of this[t(420)][t(355)]())null!==e&&l[t(305)](e);for(const{userId:e}of this[t(358)][t(355)]())null!==e&&l[t(305)](e);this[t(415)](a,r[t(293)][e],s,t(351),l),this[t(415)](o,r[t(385)][e],i,t(428),l),u[e]={insertions:this[t(205)](a),deletions:this[t(205)](o),attachChange:this[t(358)][t(229)](e)||null,attributesBefore:R(this[t(224)][t(229)](e))||{},attributesAfter:R(this[t(435)][t(229)](e))}}return{diffData:u,authorsIds:Array[t(403)](l)}}[ft(303)](t){const e=ft;for(const[,i]of t[e(362)]){const t=i[e(175)][e(276)]()[e(306)](t=>e(412)==t[e(402)]);for(const i of t)1==i[e(232)]&&i[e(366)](0).is(e(273),e(445))&&i[e(366)](0)[e(265)](e(290),!0)}}[ft(205)](t){const e=ft;this[e(303)](t);const i=this[e(434)][e(274)][e(176)](t,{}),s=Array[e(403)](i[e(325)]())[e(294)](t=>this[e(178)](t));return JSON[e(299)](s)}[ft(178)](t){const e=ft;if(t.is(e(183)))return t[e(274)];{const i=this[e(434)][e(241)][e(229)](e(456)),s=t,n=this[e(434)][e(274)][e(166)][e(369)],r={type:i[e(394)](s),name:s[e(402)],attributes:Array[e(403)](s[e(436)]()),children:Array[e(403)](s[e(325)]())[e(294)](t=>this[e(178)](t))};if(t.is(e(258))&&e(392)!=t[e(402)]){const i=t[e(309)](n[e(328)],n);r[e(432)][e(347)](i[e(389)])}else if(t.is(e(404))){const i=n[e(328)][e(253)](s[e(402)]);t[e(309)](i,n),r[e(432)][e(347)](i[e(478)])}const o=Array[e(403)](s[e(460)]());o[e(317)]>0&&(r[e(477)]=o);const a=s[e(209)]();return null!==a&&(r[e(278)]=a),r}}[ft(415)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(434)][r(396)];for(let s=0;s<e[r(317)];s++){const n=this[r(418)](e[s]),c=e[s][r(381)][r(350)](n),h=i[r(229)](c),d=s==e[r(317)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(345)]!=o[r(345)])&&(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),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(345)],d=l(405)+s+":"+h+":"+c++,f=u[l(279)](i,a);t[l(362)][l(208)](d,f),null!==h&&n[l(305)](h)}}[ft(418)](t){const e=ft;switch(t[e(361)]){case e(331):return e(191);case e(333):return e(465);default:return e(441)}}[ft(423)](t,e){const i=ft;t[i(462)]=null;for(const s in t){const n=t[s];if(n instanceof Q.ModelPosition){const r=e[i(229)](n[i(162)][i(163)]);t[s]=this[i(260)](n,r)}if(n instanceof Q.ModelRange){const r=e[i(229)](n[i(162)][i(163)]);t[s]=this[i(338)](n,r)}i(162)===s&&(t[i(162)]=e[i(229)](t[i(162)][i(163)]))}}[ft(338)](t,e){const i=ft;return this[i(434)][i(396)][i(279)](this[i(260)](t[i(175)],e),this[i(260)](t[i(357)],e))}[ft(260)](t,e){const i=ft;return this[i(434)][i(396)][i(353)](e,t[i(267)],t[i(336)])}[ft(387)](t){const e=ft,i=this[e(431)][e(229)](t[e(378)][e(162)][e(163)]),s=this[e(260)](t[e(378)],i),n=null===t[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,r=s[e(451)],o=this[e(195)],a=[];for(const i of t[e(375)])if(i.is(e(273)))a[e(347)](this[e(222)](i));else for(let t=0;t<i[e(226)];t++)a[e(347)](new Q.ModelElement(e(183),{vid:this[e(195)]++}));const c=this[e(195)];for(let t=o;t<c;t++)this[e(220)][e(208)](t,{userId:n});r[e(184)](s[e(193)],a)}[ft(179)](t){const e=ft;(t=this[e(326)](t,this[e(431)]))[e(172)]();const i=null===t[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,s=t[e(320)](),n=s[e(451)],r=s[e(193)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(366)](e);r.is(a(273),a(183))?s[a(208)](r[a(350)](a(441)),{userId:i}):(s[a(208)](r[a(350)](a(191)),{userId:i}),t(s,r,0,r[a(232)]),s[a(208)](r[a(350)](a(465)),{userId:i}))}}(this[e(220)],n,r,r+t[e(254)])}[ft(190)](t){const e=ft,i=null===(t=this[e(326)](t,this[e(431)]))[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,s=t[e(479)][e(451)],n=t[e(466)][e(451)],r=s[e(350)](e(465)),o=n[e(350)](e(191));s[e(265)](e(465),n[e(350)](e(465))),n[e(265)](e(465),r),this[e(220)][e(208)](o,{userId:i}),this[e(220)][e(208)](r,{userId:i}),t[e(172)]()}[ft(359)](t){const e=ft,i=null===(t=this[e(326)](t,this[e(431)]))[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,s=t[e(281)],n=t[e(231)][e(451)];t[e(172)]();const r=n[e(350)](e(465)),o=t[e(298)][e(364)];if(s){const t=o[e(350)](e(465)),s=n[e(350)](e(465));n[e(265)](e(465),t),o[e(265)](e(465),s),this[e(220)][e(208)](n[e(350)](e(465)),{userId:i}),this[e(220)][e(208)](o[e(350)](e(191)),{userId:i})}else{const t=this[e(195)]++,s=this[e(195)]++;n[e(265)](e(465),t),o[e(265)](e(191),s),o[e(265)](e(465),r),this[e(220)][e(208)](t,{userId:i}),this[e(220)][e(208)](s,{userId:i})}}[ft(459)](t){const e=ft;if(!t[e(239)])return;const i=(t=this[e(326)](t,this[e(295)]))[e(244)]?t[e(244)][e(162)]:null,s=t[e(165)]?t[e(165)][e(162)]:null;i&&this[e(237)][e(318)](t[e(402)]),s&&this[e(237)][e(208)](t[e(402)],t[e(165)][e(374)]());const n=null===t[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,r=t[e(402)];if(!this[e(420)][e(367)](r))return void this[e(420)][e(208)](r,{range:t[e(244)],userId:n});const o=this[e(420)][e(229)](r),a=o[e(286)],c=t[e(165)];null==a&&null==c||a&&c&&a[e(401)](c)?this[e(420)][e(318)](t[e(402)]):o[e(345)]=n}[ft(464)](t,e){const i=ft;this[i(295)][i(367)](t[i(163)])?this[i(295)][i(229)](t[i(163)])[i(448)]=t[i(414)]:(this[i(295)][i(208)](t[i(163)],yt(t[i(163)],!0)),this[i(435)][i(208)](t[i(163)],{}),e&&this[i(431)][i(208)](t[i(163)],yt(t[i(163)],!0)));const s=null===t[i(409)]?null:t[i(409)]||this[i(434)][i(241)][i(229)](i(342)).me.id,n=this[i(358)][i(229)](t[i(163)]);n&&n[i(345)]===s?this[i(358)][i(318)](t[i(163)]):this[i(358)][i(208)](t[i(163)],{userId:s,isAttached:t[i(414)]})}[ft(457)](t){const e=ft,i=this[e(435)][e(229)](t[e(162)][e(163)]);null===t[e(182)]?delete i[t[e(292)]]:i[t[e(292)]]=t[e(182)]}}function gt(t){const e=ft,i=yt(t[e(163)],t[e(201)]());for(const s of t[e(325)]()){const t=s[e(307)](!0);i[e(194)](t)}return i}function yt(t,e=!0){const i=ft,s=new Q.ModelDocumentFragment;return s[i(163)]=t,s[i(448)]=e,s[i(201)]=()=>s[i(448)],s}function kt(t,e,i){const s=ft,n=s(333)==t[s(361)]?i[s(238)](t[s(381)],s(357)):i[s(411)](t[s(381)]);return i[s(353)](e,n[s(267)],n[s(336)])}function bt(t,e){const i=mt();return(bt=function(t,e){return i[t-=162]})(t,e)}function wt(t,e,i){const s=ft,n=s(331)==t[s(361)]?i[s(238)](t[s(381)],0):i[s(212)](t[s(381)]);return i[s(353)](e,n[s(267)],n[s(336)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),Nt=i(102),At=i.n(Nt),Rt=i(123),Mt=i.n(Rt),Vt=i(741),Et=i.n(Vt),Dt=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(98),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Et();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Ht;function Pt(){const t=["arrowup","optional","arrowleft","trim","locale","element","focusTracker","reset","listenTo","setTemplate","extendTemplate","ck-responsive-form","arrowdown","errorText","form","stopPropagation","1396360kEQAVv","16035UItvCV","fieldView","set","220","318843aKnozH","revisionName","Name of the revision","initializeCssTransitionDisablerMixin","ck-revision-history-save-revision-form","1457892hmIAPx","label","arrowright","9384peOJTb","add","revisionNameInputView","_createRevisionNameInput","27935620krVTSA","keystrokes","3753692ffqRSJ","focus","value","844FKHnHb","8729FZBIkq","5YAuytD","render","revisionNameInputValue","input"];return(Pt=function(){return t})()}function Ht(t,e){const i=Pt();return(Ht=function(t,e){return i[t-=186]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(961931===-parseInt(e(202))/1+parseInt(e(221))/2+parseInt(e(203))/3*(-parseInt(e(224))/4)+-parseInt(e(226))/5*(-parseInt(e(212))/6)+-parseInt(e(225))/7*(parseInt(e(215))/8)+parseInt(e(207))/9+parseInt(e(219))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(192)];[Lt(220)];[Lt(217)];constructor(e,i){const s=Lt;super(e),this[s(192)]=new t.FocusTracker,this[s(220)]=new t.KeystrokeHandler,this[s(205)](s(228),""),this[s(217)]=this[s(218)](i),this[s(195)]({tag:s(200),attributes:{class:["ck",s(211),s(197)],tabindex:"-1"},children:[this[s(217)]]}),this[s(210)]()}[Lt(227)](){const t=Lt;super[t(227)](),(0,It.submitHandler)({view:this}),this[t(192)][t(216)](this[t(217)][t(191)]),this[t(220)][t(194)](this[t(191)]);const e=e=>e[t(201)]();this[t(220)][t(205)](t(214),e),this[t(220)][t(205)](t(188),e),this[t(220)][t(205)](t(186),e),this[t(220)][t(205)](t(198),e)}[Lt(222)](){const t=Lt;this[t(217)][t(222)]()}get[Lt(208)](){const t=Lt;return this[t(217)][t(204)][t(191)][t(223)][t(189)]()}set[Lt(208)](t){const e=Lt;this[e(217)][e(204)][e(191)][e(223)]=t[e(189)]()}[Lt(193)](){const t=Lt;this[t(217)][t(204)][t(191)][t(223)]="",this[t(217)][t(199)]=null}[Lt(218)](t){const e=Lt,i=new It.LabeledFieldView(this[e(190)],It.createLabeledInputText),s=i[e(204)];s[e(196)]({attributes:{maxlength:e(206)}});let n=at(this[e(190)],e(209));return!t&&(n+=" ("+at(this[e(190)],e(187))+")"),i[e(213)]=n,s.on(e(229),()=>{const t=e;this[t(228)]=s[t(191)][t(223)][t(189)]()}),i}}const Wt=Zt;function zt(){const t=["426483bQTKjI","revisionNameInputView","_createSaveRevisionButton","Revision history","26446VoftBp","isReadOnly","editing","errorText","Cancel","revisionHistory.requireRevisionName","RevisionHistoryUI","panelView","role","render","config","isOfficialPlugin","focus","delegate","items","low","ck-button-action","733276NwULUv","children","reset","Dialog","init","isReady","view","_createSaveRevisionFormView","_createOpenRevisionButton","_showDialog","revisionName","564wPHMCs","requires","Accept","_registerMenuComponent","saveRevision","componentFactory","buttonView","addMany","isOpen","66uTUmAu","menuitem","menu","The revision name cannot be empty.","execute","4420560IkYZTT","revisionSave","plugins","hide","revisionHistory","menuBar:revisionHistory","showRevisionViewerCallback","bind","410DawkWD","pluginName","Open revision history","add","editor","17792nmPoRF","listenTo","submit","Save current revision","_saveRevisionFormView","RevisionTracker","locale","930769aOnpfs","get","show","5216410lubnMo","set","isPremiumPlugin","isEnabled"];return(zt=function(){return t})()}function Zt(t,e){const i=zt();return(Zt=function(t,e){return i[t-=471]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(660666===-parseInt(e(539))/1+parseInt(e(494))/2+parseInt(e(505))/3*(parseInt(e(532))/4)+-parseInt(e(542))/5+-parseInt(e(514))/6*(-parseInt(e(477))/7)+-parseInt(e(519))/8+-parseInt(e(473))/9*(-parseInt(e(527))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class qt extends G.Plugin{static get[Wt(528)](){return Wt(483)}static get[Wt(488)](){return!0}static get[Wt(471)](){return!0}static get[Wt(506)](){return[pt]}[Wt(536)];[Wt(498)](){const t=Wt,e=this[t(531)],i=e[t(521)][t(540)](t(537));e.ui[t(510)][t(530)](t(523),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(484)][n(495)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(475)](It.ButtonView),l=new It.ListItemView(s),h=this[n(502)](It.ButtonView);return r[n(526)](n(472)).to(i,n(499),i,n(472),e,n(478),(t,e,i)=>t&&e&&!i),r[n(511)][n(543)]({icon:_t.IconHistory,label:at(s,n(476)),tooltip:!0}),u[n(543)]({withText:!0,role:n(515)}),h[n(543)]({withText:!0,role:n(515)}),this[n(533)](h,n(518),()=>{const t=n;r[t(513)]=!1,e[t(479)][t(500)][t(489)]()},{priority:n(492)}),c[n(495)][n(530)](u),l[n(495)][n(530)](h),a[n(485)]=n(516),a[n(491)][n(512)]([c,l]),o[n(530)](a),r}),e.ui[t(510)][t(530)](t(524),()=>this[t(508)]())}[Wt(508)](){const t=Wt,e=this[t(531)],i=e[t(538)],s=e[t(521)][t(540)](t(537)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(526)](t(472)).to(s,t(499),s,t(472),e,t(478),(t,e,i)=>t&&e&&!i),n[t(511)][t(543)]({icon:_t.IconHistory,label:at(i,t(476))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(475)](It.MenuBarMenuListItemButtonView);a[t(490)](t(518)).to(n),o[t(495)][t(530)](a),r[t(491)][t(530)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(502)](It.MenuBarMenuListItemButtonView);return u[t(490)](t(518)).to(n),c[t(495)][t(530)](u),r[t(491)][t(530)](c),n[t(484)][t(495)][t(530)](r),n}[Wt(475)](t){const e=Wt,i=this[e(531)],s=i[e(521)][e(540)](e(537)),n=new t(i[e(538)]);return n[e(543)]({label:at(i[e(538)],e(535))}),n[e(526)](e(472)).to(s,e(499),s,e(472),i,e(478),(t,e,i)=>t&&e&&!i),this[e(533)](n,e(518),()=>{this[e(503)]()}),n}[Wt(502)](t){const e=Wt,i=this[e(531)],s=i[e(521)][e(540)](e(537)),n=new t(i[e(538)]);return n[e(543)]({label:at(i[e(538)],e(529))}),n[e(526)](e(472)).to(s,e(499),i,e(478),(t,e)=>t&&!e),this[e(533)](n,e(518),()=>{const t=e;i[t(487)][t(540)](t(523))[t(525)]()}),n}[Wt(503)](){const t=Wt,e=this[t(531)],i=e[t(538)],s=e[t(521)][t(540)](t(497)),n=e[t(521)][t(540)](t(537));function r(n){const r=t;e[r(487)][r(540)](r(482))&&""===n[r(504)]?n[r(474)][r(480)]=at(i,r(517)):(e[r(521)][r(540)](pt)[r(509)]({name:n[r(504)]}),s[r(522)]())}this[t(536)]||(this[t(501)](),this[t(536)].on(t(534),()=>r(this[t(536)]))),this[t(536)][t(496)](),s[t(541)]({id:t(520),title:at(i,t(535)),isModal:!0,content:this[t(536)],actionButtons:[{label:at(e[t(538)],t(481)),withText:!0,onExecute:()=>s[t(522)]()},{label:at(e[t(538)],t(507)),class:t(493),withText:!0,onCreate(i){const s=t;i[s(526)](s(472)).to(n,s(499),n,s(472),e,s(478),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(536)])}]})}[Wt(501)](){const t=Wt,e=this[t(531)],i=e[t(538)];this[t(536)]=new Ut(i,e[t(487)][t(540)](t(482))),this[t(536)][t(486)]()}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=349]})(t,e)}function Yt(){const t=["Removed by","author","element","data","isSuggestion","name","378kfaSSM","1038680uAJOQm","set","706710MEREcJ","_model","ck-revision-change__label","type","span","setTemplate","bindTemplate","focus","5RfizGo","9BbBtwa","13336JzNqFL","ck-revision-change__","146763vemslC","add","Suggested by","Added by","ck-annotation","ck-revision-change","5410GnGbQC","div","139066uoTQlA","280950TyqTdr","changeId"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(171828===parseInt(e(373))/1+parseInt(e(375))/2+-parseInt(e(367))/3+parseInt(e(353))/4+parseInt(e(363))/5*(parseInt(e(376))/6)+parseInt(e(352))/7*(-parseInt(e(365))/8)+parseInt(e(364))/9*(-parseInt(e(355))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[$t(377)];[$t(356)];constructor(t,e){const i=$t;super(t),this[i(356)]=e,this[i(377)]=e.id;const s=this[i(361)],n=at(t,e[i(349)][i(350)]?i(369):i(368)==e[i(358)]?i(370):i(378));this[i(354)](i(358),e[i(358)]),this[i(360)]({tag:i(374),attributes:{class:[i(371),i(372),s.to(i(358),t=>i(366)+t)],tabindex:-1},children:[{tag:i(359),children:[{tag:i(359),attributes:{class:[i(357)]},children:[{text:n}]},{text:" "+e[i(379)][i(351)]}]}]})}[$t(362)](){const t=$t;this[t(380)][t(362)]()}}var Gt=Kt;function Kt(t,e){var i=Qt();return(Kt=function(t,e){return i[t-=256]})(t,e)}function Qt(){var t=["1392503TIjHpm","rootName","author","set","12067BGXewE","96ySwsaq","4974RJNyEG","type","toJSON","8070ZHlIIB","2545eqvOdO","createdAt","data","21165yibQJP","23481TXsAOx","236PTqaGt","1709194XegOeg","138700WVKSom"];return(Qt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(499951===-parseInt(e(261))/1+-parseInt(e(260))/2+-parseInt(e(257))/3*(-parseInt(e(259))/4)+-parseInt(e(272))/5*(-parseInt(e(268))/6)+-parseInt(e(262))/7+parseInt(e(267))/8*(-parseInt(e(258))/9)+-parseInt(e(271))/10*(-parseInt(e(266))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(264)];[Gt(269)];[Gt(256)];[Gt(263)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(264)]=e[i(264)],this[i(269)]=e[i(269)],this[i(256)]=e[i(256)]||{},this[i(263)]=e[i(263)],this[i(265)](i(273),e[i(273)])}[Gt(270)](){var t=Gt;return{id:this.id,authorId:this[t(264)].id,type:this[t(269)],data:this[t(256)],createdAt:this[t(273)]}}}function te(){const t=["362776KWOHmq","add","8965890FfPcHu","oldRevisionId","1207470RiTfYm","3909936ACYvMK","newRevisionId","7431HBeGHz","91yEGidn","_setChanges","841072gbdAaf","446DeEkke","changes","5173992iYhbhi","5RGBUIF"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=162]})(t,e)}const ie=ee;!function(t){const e=ee,i=t();for(;;)try{if(667252===-parseInt(e(166))/1+-parseInt(e(167))/2*(parseInt(e(163))/3)+parseInt(e(176))/4+parseInt(e(170))/5*(parseInt(e(175))/6)+parseInt(e(164))/7*(-parseInt(e(171))/8)+parseInt(e(169))/9+parseInt(e(173))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class se{[ie(162)];[ie(174)];[ie(168)];constructor(e,i){const s=ie;this[s(162)]=e,this[s(174)]=i,this[s(168)]=new t.Collection}[ie(165)](t){const e=ie;for(const i of t)this[e(168)][e(172)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ae;function ae(t,e){const i=le();return(ae=function(t,e){return i[t-=316]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(630445===parseInt(e(546))/1*(parseInt(e(384))/2)+parseInt(e(637))/3*(parseInt(e(430))/4)+-parseInt(e(338))/5+-parseInt(e(621))/6*(parseInt(e(329))/7)+parseInt(e(616))/8*(-parseInt(e(485))/9)+-parseInt(e(392))/10+-parseInt(e(452))/11*(-parseInt(e(333))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(le);class ce extends G.Plugin{[oe(465)];[oe(427)]=null;[oe(404)];[oe(544)];[oe(417)];[oe(467)];[oe(515)];static get[oe(632)](){return oe(596)}static get[oe(495)](){return!0}static get[oe(358)](){return!0}static get[oe(509)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(465)]=this[e(453)][e(363)][e(336)](e(575)),this[e(404)]=this[e(453)][e(363)][e(336)](e(471)),this[e(456)](e(371),null),this[e(456)](e(505),null),this[e(544)]=null,this[e(456)](e(369),null),this[e(456)](e(335),!1),this[e(456)](e(572),!0),this.on(e(545),(t,i,s)=>{const n=e;this[n(371)]=null,this[n(505)]=null,this[n(453)][n(464)][n(470)][n(624)](t=>{const e=n;for(const i of this[e(453)][e(464)][e(470)][e(594)][e(377)])s?t[e(366)](e(387),i):t[e(397)](e(387),i)})}),this[e(643)](e(493)).to(this,e(371),t=>null!==t),this[e(643)](e(341)).to(this,e(335),this,e(369),this,e(371),(t,i,s)=>t&&s?i[e(362)][e(606)](s):0),this[e(643)](e(434)).to(this,e(335),this,e(369),(t,i)=>t?i[e(362)][e(492)]:0),this[e(417)]=null,this[e(467)]=new Map,this[e(515)]=this[e(453)][e(363)][e(336)](It.ContextualBalloon)}[oe(501)](){const t=oe,e=this[t(453)],i=new de(e,{direction:t(410)}),s=new de(e,{direction:t(610)});e[t(322)][t(556)](t(380),i),e[t(322)][t(556)](t(393),s),e[t(322)][t(556)](t(447),new he(e)),this.on(t(605),()=>{const e=t;i[e(595)](),s[e(595)]()}),this[t(327)](),this[t(552)](),e[t(476)](t(463)),e[t(363)][t(615)](t(386))&&e[t(363)][t(336)](t(386))[t(444)](t(463))}async[oe(337)](t){const e=oe;return await this[e(404)][e(381)](t,this[e(427)]),this[e(404)][e(337)](t)}async[oe(318)](t){const e=oe;return await this[e(404)][e(381)](t,this[e(427)]),this[e(404)][e(318)](t)}async[oe(537)](t,e,i=!1){const s=oe;if(!this[s(572)])return;const n=this[s(369)],r=this[s(465)],o=s(475)==typeof t?r[s(504)](t):t,a=s(475)==typeof e?r[s(504)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(369)]&&this[s(369)][s(566)]===c&&this[s(369)][s(344)]===u)return Promise[s(613)]();this[s(335)]=!1,this[s(505)]=null,this[s(371)]=null,this[s(369)]=new se(c,u);const l=this[s(511)](o,a,!0)[s(460)](t=>this[s(404)][s(381)](t,this[s(427)]));return l[s(422)](new Promise(t=>{setTimeout(t,20)})),Promise[s(347)](l)[s(607)](()=>{const t=s;if(!this[t(572)])return;this[t(436)]();const e=this[t(508)](c,u);for(const i of e[t(362)])this[t(467)][t(456)](i.id,i);this[t(453)][t(525)][t(623)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(453)][s(525)][s(594)][s(532)]())i[s(635)](t);for(const t of Object[s(324)](e[s(525)])){const n=i[s(538)](t);for(const r of Object[s(324)](e[s(478)][t]))i[s(459)](r,e[s(478)][t][r],n);i[s(524)](e[s(525)][t],n,0)}}),this[t(369)][t(634)](this[t(630)](e[t(362)])),this[t(335)]=!0})[s(482)](t=>{const e=s;console[e(536)](t),this[e(436)](),n&&(this[e(369)]=n),this[e(335)]=!0})}[oe(457)](t,e){const i=oe,s=this[i(465)][i(573)](t);return s.on(i(383),(t,i,n)=>e(i,n,s)),this[i(465)][i(491)](s),s}[oe(436)](){const t=oe;this[t(371)]=null,this[t(514)](),this[t(417)]&&this[t(417)][t(390)](),this[t(417)]=null,this[t(467)][t(385)](),this[t(453)][t(525)][t(623)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(453)][i(525)][i(594)][i(532)]())e[i(635)](t)})}[oe(630)](t){const e=oe,i=[],s=new Map;for(const t of this[e(453)][e(525)][e(594)][e(532)]()){const n=this[e(453)][e(464)][e(470)][e(578)](t);if(!n)continue;const r=n[e(370)]()[e(450)](0);r&&(i[e(422)](t),s[e(456)](t,r))}return i[e(440)]((t,i)=>{const n=e,r=s[n(336)](t),o=s[n(336)](i);return r.y-o.y||r.x-o.x}),(t=t[e(620)](t=>i[e(522)](t[e(406)])))[e(440)]((t,s)=>i[e(585)](t[e(406)])-i[e(585)](s[e(406)])),t}[oe(388)](t){const e=oe,i=Array[e(541)](t[e(565)])[e(620)](([t,i])=>t[e(374)](e(520))&&!i[e(540)]),s=Array[e(541)](this[e(453)][e(525)][e(528)](t)[e(497)]({singleCharacters:!0}));if(0!=i[e(492)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(628)](":");if(n[e(451)][e(354)](t[e(359)])&&i[e(553)](),(t[e(499)][e(354)](n[e(437)])||t[e(499)][e(445)](n[e(437)]))&&(e(489)==r?t[e(446)]={userId:o}:e(519)==r&&(t[e(400)]={userId:o})),0==i[e(492)])break}return s}[oe(560)](t){const e=oe,i=new Map;for(let s=0;s<t[e(492)];s++)e(619)===t[s][e(399)]?(t[s][e(450)][e(483)]=s,t[s][e(450)][e(576)]=s):(e(373)===t[s][e(399)]?t[s][e(450)][e(483)]=s:e(455)===t[s][e(399)]&&(t[s][e(450)][e(576)]=s),i[e(456)](t[s].id,s));for(const s of i[e(543)]())e(373)===t[s][e(399)]?t[s][e(450)][e(576)]=i[e(336)](t[s][e(559)]):e(455)===t[s][e(399)]&&(t[s][e(450)][e(483)]=i[e(336)](t[s][e(559)]))}[oe(502)](t){const e=oe;for(let i=0;i<t[e(492)];i++){if(e(373)===t[i][e(399)])t[i][e(450)][e(483)]=i;else if(e(455)===t[i][e(399)]){t[i][e(450)][e(576)]=i;const s=t[i][e(450)][e(483)];t[s][e(559)]=t[i].id,t[i][e(559)]=t[s].id}else t[i][e(450)][e(483)]=i,t[i][e(450)][e(576)]=i,t[i][e(559)]=null;t[i][e(629)]||(t[i][e(629)]=[],t[i][e(599)]=[])}}[oe(521)](t,e){const i=oe,s=t[i(620)](t=>!t[i(446)]);for(let t=0;t<e[i(492)];t++)e[t][i(446)]&&(s[t][i(446)]=e[t][i(446)])}[oe(508)](t,e=null){const i=oe,s=this[i(465)][i(504)](t),n=e?this[i(465)][i(504)](e):null,r=this[i(511)](s,n),o=r[r[i(492)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(492)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(324)](e[i(342)]))if(e[i(342)][t][i(513)]){const s=e[i(342)][t][i(513)];s[i(626)]?(u[i(556)](t),l[i(615)](t)&&l[i(336)](t)[i(580)]==s[i(580)]?l[i(411)](t):l[i(456)](t,s)):l[i(615)](t)?(u[i(411)](t),l[i(411)](t)):(u[i(556)](t),l[i(456)](t,s))}else u[i(556)](t)}for(const t of u){const e=l[i(615)](t)&&!l[i(336)](t)[i(626)];let s=e?r[i(492)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(342)][t]){const s=e?o[i(342)][t][i(614)]:o[i(342)][t][i(535)];c[i(478)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(525)]={};for(const e of t[i(435)])a[i(456)](e.id,e);for(const e of u){const s=t[i(342)][e]?t[i(342)][e][i(429)]:"[]",n=t[i(342)][e]?t[i(342)][e][i(328)]:"[]";t[i(525)][e]={insertions:this[i(404)][i(642)](s),deletions:this[i(404)][i(642)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(541)](s[i(525)][t][i(429)][i(565)])[i(620)](([t])=>!t[i(374)](i(520))));let h=0;for(const o of r){const r=this[i(388)](o[i(525)][t][i(429)]);o==s?(e=r,n=e[i(492)],e[i(554)](t=>{t.id=h++}),this[i(502)](e)):this[i(521)](e,r);const a=e[i(620)](t=>!t[i(446)])[i(460)](t=>t.id);let c=0;const l=this[i(388)](o[i(525)][t][i(328)]);l[i(554)](t=>{t[i(400)]?t.id=n++:t.id=a[c++]}),this[i(502)](l),this[i(591)](e,i(446)),this[i(591)](l,i(400)),o==s&&this[i(396)](e,u),e=this[i(481)](e,l),this[i(560)](e),this[i(591)](e,i(400))}e=e[i(620)](t=>!(t[i(446)]&&t[i(400)]));const d=new Map(o[i(525)][t][i(328)][i(565)]),f=new Set(u[i(324)]());for(const t of d[i(324)]())f[i(411)](t);this[i(357)](e,f),this[i(330)](e),e=this[i(414)](e),e=this[i(421)](e),e=this[i(600)](e);const{root:m,changes:p}=this[i(510)](e,a,t);c[i(525)][t]=m;const v=l[i(336)](t);if(v){const e=a[i(336)](v[i(580)]),s=new Xt({author:e,type:v[i(626)]?i(556):i(530),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(331)](s),c[i(478)][t][i(326)]=s.id}c[i(362)]=c[i(362)][i(379)](p)}return c}[oe(396)](t,e){const i=oe;for(let s=0;s<t[i(492)];s++)for(const[n,r]of e)!r[i(540)]&&r[i(437)][i(354)](t[s][i(499)])&&t[s][i(629)][i(422)](n),r[i(451)][i(354)](t[s][i(359)])&&t[s][i(599)][i(422)](n)}[oe(481)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(492)]||r<e[i(492)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(422)](o);else if(a[i(400)]&&o[i(446)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(586)](t,n,e,r);s=s[i(379)](o),n=a,r=c}else a[i(400)]?(r++,s[i(422)](a)):(n++,s[i(422)](o))}return s}[oe(357)](t,e){const i=oe,s=[];for(let o=0;o<t[i(492)];o++){for(let r=0;r<t[o][i(629)][i(492)];r++){const a=t[o][i(629)][r];if(!e[i(615)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(507)!=c||i(489)!=u&&i(519)!=u||(s[i(331)]({type:u,name:a,userId:l}),t[o][i(629)][i(598)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(599)][i(492)];r++){const a=t[o][i(599)][r];if(!e[i(615)](a))continue;const{group:c,type:u}=n(a);if(i(507)!=c||i(489)!=u&&i(519)!=u)continue;t[o][i(599)][i(598)](r,1),r--;const l=s[i(500)](t=>t[i(317)]==a);l>-1&&s[i(598)](l,1)}}function n(t){const e=i,s=t[e(628)](":");return{group:s[0],type:s[1],subType:s[e(492)]>=5?s[2]:null,id:s[e(492)]<5?s[2]:s[3],authorId:s[e(492)]<5?s[3]:s[4],markerCount:6==s[e(492)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(492)];i++){if(t[e(446)]&&e(489)==s[i][e(399)]&&t[e(446)][e(580)]==s[i][e(580)])return t[e(353)]=s[i],void delete t[e(446)];if(!t[e(446)]&&!t[e(400)]&&e(519)==s[i][e(399)])return void(t[e(506)]=s[i])}}}[oe(591)](t,e){const i=oe;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(456)](o.id,s);for(let s=0;s<t[i(492)];s++){if(i(400)==e&&t[s][i(446)]||i(446)==e&&t[s][i(400)])continue;if(i(619)==t[s][i(399)]){t[s][i(412)]=0;continue}const n=r[i(336)](t[s][i(559)]),o=r[i(336)](t[s].id);t[s][i(412)]=n-o}}[oe(511)](t,e,i=!1){const s=oe,n=[];let r=this[s(465)][s(606)](t),o=this[s(465)][s(606)](e);for(-1==o&&(o=this[s(465)][s(332)][s(492)],i=!1);r<o;)n[s(422)](this[s(465)][s(504)](r)),r++;return i&&n[s(422)](this[s(465)][s(504)](r)),n}[oe(586)](t,e,i,s){const n=oe,r=this[n(453)][n(525)][n(424)];let o=e;for(;t[o]&&t[o][n(446)];)o++;let a=s;for(;i[a]&&i[a][n(400)];)a++;u(t,e,o),u(i,s,a);const c=i[n(415)](s,a)[n(379)](t[n(415)](e,o));return c[n(440)]((t,e)=>t[n(571)]!=e[n(571)]?t[n(571)]-e[n(571)]:t[n(639)]!=e[n(639)]?t[n(639)]-e[n(639)]:t[n(412)]!=e[n(412)]?e[n(412)]-t[n(412)]:!!t[n(446)]!=!!e[n(446)]?-1==t[n(571)]||0==t[n(571)]?t[n(446)]?-1:1:t[n(446)]?1:-1:t[n(355)]-e[n(355)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(562)],c=!0;for(let n=e;n<i;n++)if(r[s(432)](t[n][s(450)])||(c=!1),t[n][s(450)][s(483)]<e&&(o=n),t[n][s(450)][s(576)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(571)]=n<=o?-1:n<a?0:1,t[n][s(355)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(412)]?t[i][s(639)]=u:(u++,t[i][s(639)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(571)]&&(t[n][s(639)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(412)]?t[e][s(639)]=u:(u--,t[e][s(639)]=u,u--)}}[oe(330)](t){const e=oe,i=new Map,s=this[e(453)][e(525)][e(424)];for(let n=1;n<t[e(492)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(619)==c[e(399)])continue;if(c[e(399)]!=u[e(399)])continue;if(!s[e(350)](u[e(450)])||s[e(518)](u[e(450)]))continue;if(!s[e(350)](c[e(450)])||s[e(518)](c[e(450)]))continue;if((t[n][e(446)]||t[n][e(353)])&&t[n-1][e(400)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(400)]||!t[n-1][e(446)]&&!t[n-1][e(353)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(639)]==o[e(639)],h=Math[e(468)](r[e(639)])<Math[e(468)](o[e(639)])&&0==o[e(412)];(l||h)&&(i[e(456)](o.id,r.id),t[e(598)](a,1),n--,r[e(446)]=!1)}for(let s=0;s<t[e(492)];s++)i[e(615)](t[s][e(559)])&&(t[s][e(559)]=i[e(336)](t[s][e(559)]))}[oe(414)](t){const e=oe,i=new Set(t[e(460)](t=>t.id));for(let s=0;s<t[e(492)];s++)i[e(615)](t[s][e(559)])||0==t[s][e(412)]||(t[s][e(349)]=!0);return t[e(620)](t=>!t[e(349)])}[oe(421)](t){const e=oe,i=new Set;for(let s=0;s<t[e(492)];s++){if(i[e(615)](t[s].id)&&t[s][e(400)]&&(t[s][e(349)]=!0),t[s][e(349)])continue;if(0==t[s][e(412)])continue;if(e(373)!=t[s][e(399)])continue;if(null==t[s][e(559)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(559)];)e(373)==t[n][e(399)]?r++:e(455)==t[n][e(399)]&&r--,n++;if(0!=r)if(t[s][e(400)])t[s][e(349)]=!0;else for(;n!=s;)t[n][e(400)]&&0!=t[n][e(412)]&&(t[n][e(349)]=!0,i[e(556)](t[n][e(559)])),n--}return t[e(620)](t=>!t[e(349)])}[oe(600)](t){const e=oe,i=this[e(453)][e(525)][e(424)];for(let s=0;s<t[e(492)];s++){if(!(t[s][e(446)]||t[s][e(353)]||t[s][e(400)]||t[s][e(506)]))continue;if(0==t[s][e(412)])continue;const n=t[s][e(450)];i[e(350)](n)||i[e(518)](n)||(t[s][e(446)]&&delete t[s][e(446)],t[s][e(353)]&&delete t[s][e(353)],t[s][e(506)]&&delete t[s][e(506)],t[s][e(400)]&&(t[s][e(349)]=!0))}return t[e(620)](t=>!t[e(349)])}[oe(510)](t,e,i){const s=oe,n=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[s(453)][s(525)],c=a[s(424)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(492)];e++)if(s(373)===t[e][s(399)]){t[e][s(499)]=a[s(407)](n,f);const i=new Q.ModelElement(t[e][s(450)][s(317)],t[e][s(450)][s(555)]());u[0][s(609)](i),f[s(422)](0),u[s(331)](i),t[e][s(359)]=a[s(407)](n,f)}else s(455)===t[e][s(399)]?(u[s(553)](),t[e][s(499)]=a[s(407)](n,f),f[s(608)](),f[f[s(492)]-1]++,t[e][s(359)]=a[s(407)](n,f)):(t[e][s(499)]=a[s(407)](n,f),d?d[s(633)]+=t[e][s(450)][s(558)]:d=new Q.ModelText(t[e][s(450)][s(558)],t[e][s(450)][s(555)]()),t[e+1]&&s(619)===t[e+1][s(399)]&&v(d,t[e+1][s(450)])||(u[0][s(609)](d),d=null),f[f[s(492)]-1]+=t[e][s(450)][s(547)],t[e][s(359)]=a[s(407)](n,f));for(let e=0;e<t[s(492)];e++){const i=t[e][s(499)],n=t[e][s(359)];for(const n of t[e][s(629)])o[s(456)](n,{start:i,end:null});m(s(506),e,i,n),m(s(353),e,i,n),m(s(400),e,i,n),m(s(446),e,i,n);for(const i of t[e][s(599)]){const t=o[s(336)](i);t?t[s(451)]=n:o[s(456)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(453)][s(525)][s(401)](e[s(437)],e[s(451)]);n[s(565)][s(456)](t,i)}return r[s(440)]((t,e)=>{const i=s,r=n[i(565)][i(336)](i(520)+t.id),o=n[i(565)][i(336)](i(520)+e.id);return r[i(437)][i(601)](o[i(437)])?-1:r[i(437)][i(445)](o[i(437)])?1:r[i(451)][i(601)](o[i(451)])?-1:r[i(451)][i(445)](o[i(451)])?1:i(556)===t[i(399)]?-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(580)]:null,d=i===t[o(492)]-1,f=h[e][0],m=c[o(472)](t[i][o(450)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(451)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(580)]!==u&&(l[e][o(451)]=n,f&&f[o(580)]===l[e][o(580)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(373)!==t[i][o(399)]||f&&f[o(580)]===u||h[e][o(331)]({userId:u,object:t[i][o(450)],change:l[e]}),o(455)===t[i][o(399)]&&f&&f[o(638)]===t[i][o(450)]&&(h[e][o(553)](),l[e]=f[o(624)])),l[e]&&d&&(l[e][o(451)]=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(450)],f=a[h(424)][h(350)](d)&&!a[h(424)][h(518)](d),m=t[h(420)]==o[h(593)]&&o[h(592)];if(f&&m)return;const p=a[h(401)](t,o),v=e[h(336)](u),g=new Xt({author:v,type:h(446)==l||h(353)==l?h(556):h(530),data:{isSuggestion:h(353)==l||h(506)==l},createdAt:new Date,rootName:i});r[h(422)](g),n[h(565)][h(456)](h(520)+g.id,p)}function v(t,e){const i=s,n=t[i(555)](),r=e[i(555)]();for(const t of n){if(t[1]!==e[i(389)](t[0]))return!1;r[i(534)]()}return r[i(534)]()[i(570)]}}[oe(327)](){const t=oe;this[t(453)][t(568)][t(488)](t(636))[t(589)]({view:t(529)}),this[t(453)][t(568)][t(488)](t(480))[t(583)]({model:t(529),view:e=>{const i=t,s=e[i(442)][i(628)](":")[1],n=this[i(574)](s);if(!n)return null;const r=i(556)==n[i(399)]?i(489):i(519),o=[i(484),i(458)+r];return n[i(558)][i(448)]&&o[i(422)](i(458)+r+i(368)),this[i(371)]==n&&o[i(422)](i(346)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(453)][t(568)][t(488)](t(636))[t(556)](e=>{const i=t;e.on(i(542),(t,e,s)=>{const n=i,r=e[n(320)][n(548)](0);if(!r||!r.is(n(409),n(466)))return;if(!s[n(569)][n(351)](r,{attributes:[n(527),n(345)]}))return;const o=e[n(533)][n(437)][n(420)];s[n(441)][n(459)](n(527),r[n(389)](n(527)),o),s[n(441)][n(459)](n(345),r[n(389)](n(345)),o)},{priority:i(394)})}),this[t(453)][t(568)][t(488)](t(636))[t(556)](e=>{const i=t;e.on(i(409),(t,e,s)=>{const n=i;if(!s[n(569)][n(351)](e[n(320)],{attributes:[n(527),n(345)]}))return;if(e[n(533)][n(540)])return;const r=e[n(533)][n(437)][n(420)];r[n(539)](n(527))||r[n(539)](n(526))||(s[n(441)][n(459)](n(527),e[n(320)][n(389)](n(527)),r),s[n(441)][n(459)](n(345),e[n(320)][n(389)](n(345)),r))},{priority:i(394)})}),this[t(453)][t(568)][t(488)](t(636))[t(625)]({view:{name:t(426),attributes:{vid:!0}},model:{key:t(526),value:e=>e[t(389)](t(526))}}),this[t(453)][t(525)][t(424)].on(t(551),(e,[,i])=>{const s=t;[s(527),s(345),s(526)][s(522)](i)&&(e[s(382)]=!0,e[s(376)]())},{priority:t(419)}),this[t(453)][t(568)][t(488)](t(439))[t(556)](e=>{const i=t;e.on(i(474),(t,e,s)=>{const n=i;if(" "!=e[n(450)][n(558)]||e[n(450)][n(593)][n(402)]>1)return;if(!s[n(569)][n(351)](e[n(450)],t[n(317)]))return;const r=s[n(441)],o=s[n(398)][n(433)](e[n(561)]);r[n(403)](o,r[n(641)](n(426)))})}),this[t(453)][t(568)][t(488)](t(439))[t(431)]({model:t(529)}),this[t(453)][t(464)][t(325)].on(t(564),function(e){const i=t,s=e[i(363)][i(336)](i(596));return(t,n,r)=>{const o=i,a=n[o(442)][o(628)](":")[1],c=s[o(574)](a);if(!c)return null;const u=o(556)==c[o(399)]?o(628):o(494);if(!r[o(569)][o(443)](n[o(581)],t[o(317)]))return;const l=n[o(581)][o(497)](),h=n[o(581)][o(437)],d=e[o(525)][o(424)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(450)];p=p||d[o(321)](e);const i=r[o(398)][o(498)](e);if(i&&i[o(319)](o(416)))return;o(455)==t[o(399)]&&d[o(350)](e)&&!d[o(518)](e)&&(e[o(612)]||h[o(405)]?f&&f[o(593)]==e||(f=e,g(t[o(499)]),v=!0):m=m||t[o(499)])}function g(t){const e=o,i=r[e(441)][e(428)](e(426),{class:e(458)+u}),a=r[e(398)][e(496)](t);c[e(558)][e(448)]&&r[e(441)][e(397)](e(458)+u+e(368),i),s[e(371)]==c&&r[e(441)][e(397)](e(346),i),r[e(441)][e(524)](a,i),r[e(398)][e(334)](i,n[e(442)])}p||v||!m||g(m)}}(this[t(453)]),{priority:t(631)}),this[t(453)][t(464)][t(325)].on(t(584),(e,i,s)=>{const n=t,r=s[n(398)][n(563)](i[n(442)]);if(r)for(const t of r)(t[n(622)](n(418))||t[n(622)](n(391)))&&(s[n(398)][n(512)](t,i[n(442)]),s[n(441)][n(530)](t))},{priority:t(631)}),this[t(453)][t(464)][t(325)].on(t(564),(e,i,s)=>{const n=t,r=i[n(442)][n(628)](":")[1],o=this[n(574)](r);if(!o)return null;const a=n(556)==o[n(399)]?n(628):n(494);if(s[n(569)][n(443)](i[n(581)],e[n(317)]))for(const t of i[n(581)][n(618)]()){if(!t.is(n(409),n(461)))continue;const e=s[n(441)][n(428)](n(426),{class:n(458)+a}),r=s[n(398)][n(496)](this[n(453)][n(525)][n(611)](t));o[n(558)][n(448)]&&s[n(441)][n(397)](n(458)+a+n(368),e),this[n(371)]==o&&s[n(441)][n(397)](n(346),e),s[n(441)][n(524)](r,e),s[n(398)][n(334)](e,i[n(442)])}},{priority:t(631)}),this[t(453)][t(525)][t(594)].on(t(624),()=>{const e=t;this[e(453)][e(464)][e(470)][e(624)](t=>{const i=e;for(const e of this[i(453)][i(525)][i(594)][i(532)]()){const s=this[i(453)][i(525)][i(594)][i(627)](e),n=this[i(453)][i(464)][i(470)][i(594)][i(627)](e);if(n){const e=s[i(389)](i(326));if(t[i(423)](i(487),n),t[i(366)](i(378),n),t[i(366)](i(408),n),t[i(366)](i(603),n),e){const s=this[i(574)](e);if(!s)return null;t[i(459)](i(487),e,n),t[i(397)](i(516)+s[i(399)],n),this[i(371)]==s&&t[i(397)](i(603),n)}}}})}),this[t(453)][t(568)][t(488)](t(636))[t(589)]({view:t(348),model:e=>t(588)+e,converterPriority:t(419)}),this[t(453)][t(568)][t(488)](t(636))[t(589)]({view:t(531),model:e=>t(425)+e,converterPriority:t(419)}),this[t(453)][t(568)][t(488)](t(439))[t(431)]({model:t(507),view:e=>({name:t(477)+e,group:t(507)}),converterPriority:t(419)}),this[t(453)][t(568)][t(488)](t(480))[t(583)]({model:t(507),view:e=>{const i=t,s=e[i(442)][i(628)](":")[1];return i(489)!=s&&i(519)!=s?null:{classes:[i(372),i(360)+s]}}}),this[t(453)][t(464)][t(325)].on(t(449),ue(this[t(453)],t(494)),{priority:t(631)}),this[t(453)][t(464)][t(325)].on(t(479),ue(this[t(453)],t(628)),{priority:t(631)}),this[t(453)][t(464)][t(325)].on(t(567),(e,i,s)=>{const n=t,r=s[n(398)][n(563)](i[n(442)]);if(r)for(const t of r)t.is(n(361))&&(s[n(398)][n(512)](t,i[n(442)]),s[n(441)][n(530)](t))},{priority:t(631)})}[oe(574)](t){const e=oe;return this[e(467)][e(336)](t)}[oe(486)](t){const e=oe;return this[e(417)]&&this[e(417)][e(390)](),this[e(417)]=new Jt(this[e(453)][e(367)],t),this[e(417)]}[oe(552)](){const t=oe;this[t(453)][t(525)][t(594)][t(364)][t(517)](t(529)),this.on(t(550),(e,i,s,n)=>{const r=t;n&&this[r(515)][r(530)](n),s&&(this[r(515)][r(556)]({view:s,stackId:r(503),position:{target:()=>{const t=r,e=this[t(453)][t(464)],i=this[t(574)](s[t(340)]);let n;if(i[t(558)][t(316)]){const s=e[t(470)][t(578)](i[t(406)]);n=Array[t(541)](s[t(370)]())}else{const i=this[t(453)][t(525)][t(565)][t(336)](t(520)+s[t(340)]);n=Array[t(541)](e[t(398)][t(563)](i[t(317)]))[t(460)](i=>e[t(470)][t(640)][t(604)](i))[t(460)](e=>Array[t(541)](e[t(370)]()))[t(395)]()}return this[t(544)]&&n[t(549)](e=>e[t(365)]-3<=this[t(544)].y&&e[t(356)]+3>=this[t(544)].y&&e[t(617)]-3<=this[t(544)].x&&e[t(339)]+3>=this[t(544)].x)||n[0]}}}),this[r(515)][r(473)](r(503)))}),this.on(t(469),(e,i,s,n)=>{const r=t;this[r(505)]=s?this[r(486)](s):null,this[r(453)][r(525)][r(624)](()=>{const t=r,e=this[t(453)][t(464)];n&&(n[t(558)][t(316)]?e[t(470)][t(624)](i=>{const s=t;i[s(366)](s(603),e[s(470)][s(594)][s(627)](n[s(406)]))}):e[t(490)](t(520)+n.id)),s&&(s[t(558)][t(316)]?e[t(470)][t(624)](i=>{const n=t;i[n(397)](n(603),e[n(470)][n(594)][n(627)](s[n(406)]))}):e[t(490)](t(520)+s.id))})}),this[t(587)](this[t(453)][t(464)][t(470)][t(594)],t(557),(e,i)=>{const s=t;if(this[s(371)])return;const n=this[s(323)](i[s(582)]),r=this[s(467)][s(336)](n);r?(this[s(544)]={x:i[s(462)].x,y:i[s(462)].y},this[s(505)]=this[s(486)](r)):(this[s(544)]=null,this[s(505)]=null)}),this[t(587)](this[t(453)][t(464)][t(470)][t(594)],t(413),(e,i)=>{const s=t,n=this[s(323)](i[s(582)]),r=this[s(467)][s(336)](n);r?(this[s(544)]={x:i[s(462)].x,y:i[s(462)].y},r===this[s(371)]?this[s(515)][s(343)]():this[s(371)]=r):(this[s(544)]=null,this[s(371)]=null)})}[oe(323)](t){const e=oe;do{const i=t[e(389)](e(487));if(i)return i;t=t[e(593)]}while(t);return null}[oe(514)](){const t=oe;this[t(453)][t(525)][t(624)](e=>{const i=t;for(const t of this[i(453)][i(525)][i(565)])e[i(375)](t)})}}function ue(t,e){return(i,s,n)=>{const r=ae;if(!n[r(569)][r(443)](s[r(581)],i[r(317)]))return;const o=s[r(581)][r(497)](),a=s[r(581)][r(437)],c=t[r(525)][r(424)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(450)];h=h||c[r(321)](e);const i=n[r(398)][r(498)](e);if(i&&i[r(319)](r(416)))return;r(455)==t[r(399)]&&c[r(350)](e)&&!c[r(518)](e)&&(e[r(612)]||a[r(405)]?u&&u[r(593)]==e||(u=e,f(t[r(499)]),d=!0):l=l||t[r(499)])}function f(t){const i=r,o=n[i(398)][i(496)](t),a=n[i(441)][i(428)](i(426),{class:i(360)+e});n[i(441)][i(524)](o,a),n[i(398)][i(334)](a,s[i(442)])}h||d||!l||f(l)}}function le(){const t=["refresh","RevisionViewer","change:isReady","splice","markersEnd","_removeUnsupportedChanges","isBefore","config","ck-revision-history-root--active","mapViewToDom","change:numberOfChanges","getIndex","then","pop","_appendChild","forward","createPositionBefore","nextSibling","resolve","attributesBefore","has","4440776LuTfMp","left","getItems","text","filter","2473206HSgTYc","hasClass","enqueueChange","change","elementToAttribute","isAttached","getRoot","split","markersStart","_sortAndFilterDiffChanges","high","pluginName","_data","_setChanges","detachRoot","upcast","187011ZjnJGH","object","level","domConverter","createAttributeElement","_makeModelFromViewString","bind","isOnRoot","name","getRevisionRootsAttributes","getCustomProperty","viewItem","isContent","commands","_findChangeIdFromDomTarget","keys","downcastDispatcher","revisionHistoryAttachChange","_setConversion","deletions","7NGvKOK","_fixObsoleteTags","unshift","_revisions","3237348VLkrTD","bindElementToMarker","isReady","get","getRevisionDocumentData","4741190OsrxdL","right","changeId","currentChangeNumber","diffData","updatePosition","oldRevisionId","vid_end","ck-suggestion-marker--active","all","comment","isIncorrect","isBlock","consume","first","isAddSuggestion","isEqual","index","bottom","_markSuggestions","isPremiumPlugin","nextPosition","ck-suggestion-preview-marker-","uiElement","changes","plugins","selection","top","removeClass","locale","-new","diff","getClientRects","activeChange","ck-suggestion-preview-marker","elementStart","startsWith","removeMarker","stop","roots","ck-revision-history-root-add","concat","showPreviousChange","loadRevisionData","return","_update","4DKDfar","clear","WidgetToolbarRepository","ck-editor__editable__overlay","_makeTape","getAttribute","destroy","ck-suggestion-marker-merge","2969910lPGjhJ","showNextChange","low","flat","_markMarkers","addClass","mapper","type","isRemoved","createRange","maxOffset","wrap","_utils","isAtEnd","rootName","createPositionFromPath","ck-revision-history-root-remove","element","backward","delete","distance","mousedown","_removeMissingPairs","slice","addHighlight","_changeView","ck-suggestion-marker-split","highest","nodeAfter","_markMismatchedRemovedTags","push","removeAttribute","schema","revision-suggestion:","span","adapter","createUIElement","insertions","68TcMMxU","markerToData","isInline","toViewRange","numberOfChanges","authors","_cleanUp","start","affectsData","dataDowncast","sort","writer","markerName","test","forceDisabled","isAfter","isAdded","restoreRevision","isSuggestion","addMarker:revision-suggestion:deletion","item","end","55bQTUQT","editor","restoreRevisionCallback","elementEnd","set","addRevisionData","ck-suggestion-marker-","setAttribute","map","softBreak","domEvent","revision-viewer","editing","repository","code","_changeIdToChange","abs","change:activeChange","view","RevisionHistoryUtils","isObject","showStack","attribute:vid","string","enableReadOnlyMode","suggestion:","attributes","addMarker:revision-suggestion:insertion","editingDowncast","_joinTapes","catch","startIndex","ck-suggestion-marker","9RiYzZe","_getViewForChange","data-change-id","for","insertion","reconvertMarker","addRevision","length","isNavigationMode","merge","isOfficialPlugin","toViewPosition","getWalker","toViewElement","previousPosition","findIndex","init","_processTape","revisionHistoryLabel","getRevision","activeView","isRemoveSuggestion","revision-suggestion","_getDiff","requires","_makeModelFromTape","_getRevisionsRange","unbindElementFromMarkerName","attachChange","_cleanMarkers","_balloon","ck-revision-history-root-","observeMarkers","isLimit","deletion","revision:","_markInsertions","includes","_step","insert","model","vid","vid_start","createRangeIn","revision","remove","suggestion","getRootNames","modelRange","next","attributesAfter","error","compare","addRoot","hasAttribute","isCollapsed","from","element:pre","values","_activeViewTarget","change:isEnabled","217174iKQCfC","offsetSize","getChild","find","change:activeView","checkAttribute","_initInteractions","shift","forEach","getAttributes","add","mouseover","data","pairId","_refreshStartEndIndex","range","POSITIVE_INFINITY","markerNameToElements","addMarker:revision","markers","newRevisionId","removeMarker:revision-suggestion","conversion","consumable","done","side","isEnabled","createRevision","_getChangeFromId","RevisionsRepository","endIndex","revisionHistory","getDomRoot","getLaterVisibleRevision","userId","markerRange","target","markerToHighlight","removeMarker:revision","indexOf","_threeWayMerge","listenTo","revision-comment:","dataToMarker","execute","_setDistance","isAtStart","parent","document"];return(le=function(){return t})()}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(363)][e(336)](ce);this[e(438)]=!1,this[e(587)](i,e(597),()=>this[e(595)]()),this[e(587)](i,e(545),()=>this[e(595)]())}[oe(590)](){const t=oe,e=this[t(453)],i=e[t(363)][t(336)](ce),s=i[t(335)]?i[t(369)][t(566)]:null;e[t(602)][t(336)](t(577))[t(454)](s)}[oe(595)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(453)][t(363)][t(336)](ce),r=n&&s[t(579)](n[t(566)]);this[t(572)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(523)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(363)][i(336)](ce);this[i(438)]=!1,this[i(523)]=i(610)===e?1:-1,this[i(587)](s,i(597),()=>this[i(595)]()),this[i(587)](s,i(545),()=>this[i(595)]()),this[i(587)](s,i(469),()=>this[i(595)]())}[oe(590)](){const e=oe,i=this[e(453)],s=i[e(363)][e(336)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(371)]=n?s[e(369)][e(362)][e(336)](r+this[e(523)]):s[e(369)][e(362)][e(352)],s[e(371)][e(558)][e(316)])o=i[e(464)][e(470)][e(578)](s[e(371)][e(406)]);else{const t=i[e(525)][e(565)][e(336)](e(520)+s[e(371)].id);o=(0,K.getMarkerDomElement)(i[e(464)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(595)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(453)][t(363)][t(336)](ce);this[t(572)]=!!(r&&n&&s)&&(!e||(1===this[t(523)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ge();return(pe=function(t,e){return i[t-=291]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(549514===-parseInt(e(317))/1+-parseInt(e(328))/2*(parseInt(e(303))/3)+-parseInt(e(335))/4*(-parseInt(e(301))/5)+-parseInt(e(310))/6+-parseInt(e(311))/7*(parseInt(e(292))/8)+parseInt(e(296))/9*(parseInt(e(298))/10)+parseInt(e(299))/11*(parseInt(e(331))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ve extends It.View{constructor(t){const e=pe;super(t);const i=this[e(304)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(306)](e(330),!1),this[e(306)](e(297),!1),this[e(306)](e(291),0),this[e(306)](e(320),0),this[e(306)](e(334),!1),this[e(306)](e(323),!1),this[e(314)](e(312)).to(this,e(297),this,e(320),(t,e)=>t&&e>0),this[e(314)](e(326)).to(this,e(297),this,e(291),this,e(320),this,e(330),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(332));if(!n)return at(t,o(319));const a=at(t,o(300),n);return r?at(t,o(316),[s+1,n]):a}),s[e(306)]({label:at(t,e(313)),tooltip:!0,icon:_t.IconChevronUp}),n[e(306)]({label:at(t,e(302)),tooltip:!0,icon:_t.IconChevronDown}),s[e(314)](e(327)).to(this,e(323)),n[e(314)](e(327)).to(this,e(334)),s.on(e(324),()=>this[e(305)](e(324),e(315))),n.on(e(324),()=>this[e(305)](e(324),e(318))),this[e(333)]({tag:e(307),attributes:{class:["ck",e(321),e(293)]},children:[{tag:e(308),attributes:{class:[e(322)]},children:[{tag:e(308),attributes:{class:[e(295),i.if(e(312),e(309),t=>!t)]},children:[{text:i.to(e(330),i=>i?at(t,e(325))+": ":at(t,e(294))+": ")}]},{text:i.to(e(326))}]},new It.ToolbarSeparatorView,{tag:e(307),attributes:{class:[e(329)]},children:[s,n]}]})}}function ge(){const t=["128416TUqTPL","ck-revision-history-ui__changes-navigation","Total","ck-revision-history-ui__changes-navigation__label","1107HOPOQK","isReady","42660mJxyUH","7073hfohJQ","NUMBER_OF_CHANGES","615vhajNp","Show next change","16953gobMUJ","bindTemplate","fire","set","div","span","ck-hidden","1499070QNICml","56oFltAa","_isStatusLabelVisible","Show previous change","bind","backward","X_OF_Y_CHANGES","1015708Bvxosm","forward","No changes","numberOfChanges","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__wrapper","isBackwardNavigationEnabled","execute","EDIT_X_OF_Y_REVISIONS","_statusText","isEnabled","56oASHfo","ck-revision-history-ui__changes-navigation__navigation","isNavigationMode","11496AmtekF","Loading...","setTemplate","isForwardNavigationEnabled","31252Lluwpx","currentChangeNumber"];return(ge=function(){return t})()}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=_e;!function(t){const e=_e,i=t();for(;;)try{if(870200===parseInt(e(123))/1*(-parseInt(e(137))/2)+parseInt(e(148))/3*(-parseInt(e(136))/4)+parseInt(e(143))/5+-parseInt(e(124))/6*(-parseInt(e(130))/7)+-parseInt(e(141))/8*(parseInt(e(134))/9)+parseInt(e(135))/10*(parseInt(e(140))/11)+-parseInt(e(146))/12*(-parseInt(e(127))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const we=be(133);function _e(t,e){const i=Ie();return(_e=function(t,e){return i[t-=121]})(t,e)}function Ie(){const t=["document","editor","7wDKNmp","pluginName","hide","ck-editor__editable__loading-overlay","37161NZJLjk","20fDWfzM","68xAaspd","2AiURMC","addClass","isPremiumPlugin","5541217tmJrYi","2488KyEZJc","view","7480355EaBIbP","RevisionViewerLoadingOverlay","roots","21926316qVxQaf","removeClass","253749FHvIfo","change","show","1599649sddPoZ","5166726tbKqrq","isOfficialPlugin","editing","13BDgCUY"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(131)](){return be(144)}static get[be(125)](){return!0}static get[be(139)](){return!0}[be(122)](){const t=be,e=this[t(129)][t(126)][t(142)];e[t(121)](i=>{const s=t;for(const t of e[s(128)][s(145)])i[s(138)](we,t)})}[be(132)](){const t=be,e=this[t(129)][t(126)][t(142)];e[t(121)](i=>{const s=t;for(const t of e[s(128)][s(145)])i[s(147)](we,t)})}}const Oe=xe;function Te(){const t=["3068737XudpsT","2GfQjpz","isForwardNavigationEnabled","ck-revision-history-ui__back-to-editing","RevisionViewerUI","555481WaChGW","334112mcMEUt","changesNavigation","Restore this revision","bind","isPremiumPlugin","restoreRevision","9leugne","4429841PmUpIi","6rLIuzS","listenTo","pluginName","config","Back to editing","revisionHistory","isOfficialPlugin","12IoucEB","editor","947298RKocqu","requires","currentChangeNumber","isBackwardNavigationEnabled","154250mSLNvH","isReady","isNavigationMode","showNextChange","add","11WvxpBk","exitToEditing","execute","84ZXTAyH","numberOfChanges","plugins","componentFactory","change:isReady","show","forward","commands","showPreviousChange","get","set","hide","init","isEnabled","closeRevisionViewerCallback","6215490CSwEPX"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=197]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(319798===parseInt(e(218))/1*(-parseInt(e(214))/2)+-parseInt(e(236))/3+-parseInt(e(234))/4*(parseInt(e(240))/5)+-parseInt(e(227))/6*(parseInt(e(213))/7)+-parseInt(e(219))/8*(parseInt(e(225))/9)+parseInt(e(212))/10*(-parseInt(e(245))/11)+-parseInt(e(197))/12*(-parseInt(e(226))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(229)](){return Oe(217)}static get[Oe(233)](){return!0}static get[Oe(223)](){return!0}static get[Oe(237)](){return[ce,Se]}[Oe(209)](){const t=Oe,e=this[t(235)],i=e[t(199)][t(206)](ce),s=e[t(199)][t(206)](Se);e.ui[t(200)][t(244)](t(246),i=>{const s=t,n=new It.ButtonView(i);return n[s(207)]({label:at(i,s(231)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(216)}),this[s(228)](n,s(247),()=>{const t=s;e[t(230)][t(206)](t(232))[t(211)]()}),n}),e.ui[t(200)][t(244)](t(224),i=>{const s=t,n=new It.ButtonView(i);return n[s(207)]({label:at(i,s(221)),withText:!0,tooltip:!0}),n[s(222)](s(210)).to(e[s(204)][s(206)](s(224))),this[s(228)](n,s(247),()=>e[s(247)](s(224))),n}),e.ui[t(200)][t(244)](t(220),s=>{const n=t,r=new ve(s),o=e[n(204)][n(206)](n(205)),a=e[n(204)][n(206)](n(243));return r[n(222)](n(239)).to(o,n(210)),r[n(222)](n(215)).to(a,n(210)),r[n(222)](n(241),n(238),n(198),n(242)).to(i),this[n(228)](r,n(247),(t,i)=>{const s=n;e[s(247)](s(203)===i?s(243):s(205))}),r}),s[t(202)](),i.on(t(201),(e,i,n)=>{const r=t;n?s[r(208)]():s[r(202)]()})}}var Ae=i(815),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Et();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ee;function Ve(){const t=["_updateTooltipText","input","element","set","value","1481320wHLYWs","ck-revision-history-sidebar__revision-name","1001584KZILoy","span","destroy","scrollWidth","placeholder","34wMFGcN","bindTemplate","_tooltipString","listenTo","clientWidth","Enter the revision name","138rqWndc","_resizeObserver","ck-tooltip_multi-line","render","76089Hftgjs","18HxIFAa","2424072IrTHQj","extendTemplate","32063KOWMWx","5037610MqiRNz","222922QovNFB","fieldView","Revision name"];return(Ve=function(){return t})()}function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=269]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(370603===-parseInt(e(275))/1*(parseInt(e(292))/2)+parseInt(e(271))/3+-parseInt(e(287))/4+-parseInt(e(285))/5+-parseInt(e(298))/6*(-parseInt(e(277))/7)+-parseInt(e(273))/8+-parseInt(e(272))/9*(-parseInt(e(276))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Me(299)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(293)];this[i(283)]({label:at(t,i(279)),_tooltipString:""}),this[i(278)][i(291)]=at(t,i(297)),this[i(274)]({tag:i(288),attributes:{class:[i(286)],"data-cke-tooltip-text":s.to(i(294)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(269)}})}[Me(270)](){const e=Me;super[e(270)](),this[e(299)]=new t.ResizeObserver(this[e(278)][e(282)],()=>this[e(280)]()),this[e(295)](this[e(278)],e(281),()=>this[e(280)]())}[Me(289)](){const t=Me;super[t(289)](),this[t(299)]&&this[t(299)][t(289)]()}[Me(280)](){const t=Me,e=this[t(278)][t(282)];this[t(294)]=e[t(290)]>e[t(296)]&&e[t(284)]||""}}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["356188hGLIva","7801340UWfoEu","0 0 11 10","ck-revision-history-sidebar__revision-author__name","2244690uFBWWN","push","ck-revision-history-sidebar__revision-author_creator","35HqKdSY","884nZvWId","9ADUmAm","Revision creator","span","Revision author","1135hOEgDZ","186093JxDuev","name","set","ck-revision-history-sidebar__revision-author","523215KvobPW","135992PLcOmw","setTemplate"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=266]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(339447===parseInt(e(281))/1+-parseInt(e(284))/2*(parseInt(e(272))/3)+parseInt(e(271))/4*(parseInt(e(276))/5)+-parseInt(e(267))/6+parseInt(e(270))/7*(-parseInt(e(282))/8)+-parseInt(e(277))/9+parseInt(e(285))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const s=Le;super(t);const n=new It.IconView;n[s(279)]({content:_t.IconUser,viewBox:s(286)});const r=["ck",s(280)];i&&r[s(268)](s(269));const o=[{tag:s(274),attributes:{class:["ck",s(266)],title:at(t,s(i?273:275))},children:[n,e[s(278)]]}];this[s(283)]({tag:"li",attributes:{class:r},children:o})}}function He(t,e){var i=Ue();return(He=function(t,e){return i[t-=482]})(t,e)}function Ue(){var t=["12164175yVwYNi","numeric","2xawTGR","66gZVNRs","285178AecUsT","2606343KGKmDf","214116PPjLgP","2659176pQcJxd","long","toLocaleDateString","toLocaleTimeString","3734455OURaAa","8383032skVPgI"];return(Ue=function(){return t})()}!function(t){for(var e=He,i=t();;)try{if(534278===parseInt(e(486))/1*(-parseInt(e(484))/2)+parseInt(e(487))/3+parseInt(e(489))/4+-parseInt(e(493))/5+-parseInt(e(485))/6*(-parseInt(e(488))/7)+parseInt(e(494))/8+-parseInt(e(482))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var We=i(505),ze={attributes:{"data-cke":!0}};ze.setAttributes=Mt(),ze.insert=At().bind(null,"head"),ze.domAPI=xt(),ze.insertStyleElement=Et();Ot()(We.A,ze);We.A&&We.A.locals&&We.A.locals;function Ze(){const t=["name","stopPropagation","listView","249130PJMsBk","button","660IEqEjR","listenTo","54713ITolig","class","3034692aZgwfF","10YwtKhq","function","execute","buttonView","3310195vLFjNx","isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions","find","isOpen","7272KviHYU","set","ck-on","menu","bindTemplate","Compare against selected","597738pQPeFJ","isVisible","menuitem","locale","children","change:isActionsDropdownOpen","Show more items","3416LrQsPQ","extendTemplate","Restore this revision","model","326538KIGSLg","items","14AVlwih","panelPosition","Name this revision","add","map","isReady","bind","action","isEnabled","source","_action","first"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=422]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(390585===parseInt(e(438))/1*(-parseInt(e(469))/2)+parseInt(e(467))/3+-parseInt(e(440))/4+-parseInt(e(441))/5*(parseInt(e(456))/6)+parseInt(e(445))/7+parseInt(e(463))/8*(-parseInt(e(450))/9)+-parseInt(e(434))/10*(-parseInt(e(436))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var $e=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["set","ck-revision-history-sidebar__revision-wrapper","div","isActionsDropdownOpen",".ck-confirm-view","authors","bind","isHighlighted","400345OQQIhj","uiLanguage","3543nHJrdK","setTemplate","from","unhighlight","render","element","createdAt","140fMzVtD","ck-revision-history-sidebar__revision-authors","value","298229PeCpPp","ck-reset","unshift","ck-revision-history-sidebar__revision","_createdAtFormatted","change","span","594265zLfepq","158186QddsJZ","select","ck-disabled","deselect","2aBScQD","220","revisionActionsView","extendTemplate","filter","setName","fieldView","_requireRevisionName","listenTo","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","995400ajTnqK","8wSteUn","map","bindTemplate","fire","name","ck-revision-history-sidebar__revision_highlighted","ck-revision-history-sidebar__revision__controls-wrapper","2734812mgYvSB","ck-revision-history-sidebar__revision_selected","isEnabled","ck-revision-history-sidebar__revision__date","length","highlight","24shyUro","isReady","creator","isConfirm","srcElement","ck-revision-history-sidebar__actions_dropdown_open","closest","isSelected","revisionNameView","_revision"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=240]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(178176===-parseInt(e(276))/1*(parseInt(e(288))/2)+-parseInt(e(266))/3+-parseInt(e(299))/4*(parseInt(e(283))/5)+-parseInt(e(298))/6+-parseInt(e(284))/7*(-parseInt(e(246))/8)+parseInt(e(240))/9+parseInt(e(273))/10*(parseInt(e(264))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(254)];[Ye(290)];[Ye(255)];[Ye(295)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(301)],a=function(t,e){const i=r,s=Array[i(268)](e[i(261)])[i(292)](t=>t!=e[i(248)]);return e[i(248)]&&s[i(278)](e[i(248)]),s[i(300)](s=>new Pe(t,s,s==e[i(248)]))}(e,i);this.id=i.id,this[r(255)]=i,this[r(295)]=n,this[r(262)](r(303),r(272)).to(i),this[r(262)](r(280)).to(this,r(272),t=>{return i=e[r(265)],(s=t)[(n=He)(491)](i,{month:n(490),day:n(483)})+", "+s[n(492)](i,{hour:n(483),minute:n(483)});var i,s,n}),this[r(256)](r(253),!1),this[r(256)](r(263),!1),this[r(256)](r(259),!1),this[r(256)](r(247),!1),this[r(256)](r(242),!1),this[r(254)]=new De(e,It.createLabeledInputText),this[r(254)][r(294)][r(291)]({attributes:{maxlength:r(289)}}),this[r(254)][r(294)][r(262)](r(275)).to(this,r(303),t=>t||this[r(280)]),this[r(254)][r(262)](r(242)).to(this,r(253),this,r(242),(t,e)=>t&&e),this[r(290)]=s&&s[r(244)]?function(e,i){const s=qe,n=e[s(454)],r=e[s(459)],o=(0,It.createDropdown)(r);o[s(470)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=qe,s=t[i(459)],n={"Compare against selected":at(s,i(455)),"Name this revision":at(s,i(471)),"Restore this revision":at(s,i(465))};return e[i(423)](t=>{const e=i,s=n[t[e(431)]];return s&&s!==t[e(431)]&&(t[e(431)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(435),model:new It.UIModel({label:t[n(431)],class:t[n(439)],withText:!0,role:n(458),_action:t[n(426)]})};i[n(466)][n(425)](n(427)).to(e,n(446),i=>n(442)!=typeof t[n(427)]||!i||t[n(427)](e)),o[n(422)](i)}return o}(e,i);return e[s(425)](s(446)).to(o,s(449)),o[s(444)][s(451)]({label:at(r,s(462)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(464)]({attributes:{class:[s(447),n.if(s(446),s(452))]},on:{click:n.to(t=>t[s(432)]())}}),o.on(s(443),t=>{const i=s;e[i(424)]&&i(442)==typeof t[i(428)][i(429)]&&t[i(428)][i(429)](e)}),(0,It.addListToDropdown)(o,a,{role:s(453)}),o[s(437)](e,s(461),(t,n,r)=>{const a=s;if(r)for(const t of o[a(433)][a(468)]){const s=t[a(460)][a(430)],n=i[a(448)](t=>t[a(426)]===s[a(429)])[a(457)];t[a(457)]=void 0===n||n(e)}}),o}(this,s):"",this[r(290)]&&this[r(290)][r(262)](r(242)).to(this),this[r(267)]({tag:r(258),attributes:{class:["ck",r(277),r(257),o.if(r(249),r(297))]},children:[{tag:r(258),attributes:{class:["ck",r(277),r(279),o.if(r(242),r(286),t=>!t),o.if(r(253),r(241)),o.if(r(263),r(304)),o.if(r(259),r(251))]},children:[this[r(254)],{tag:r(282),attributes:{class:["ck",r(243)]},children:[{text:o.to(r(280))}]},{tag:r(258),attributes:{class:["ck",r(305)]},children:[{tag:"ul",attributes:{class:["ck",r(274)]},children:a}]},this[r(290)]],on:{click:o.to(t=>{const e=r;t[e(250)][e(252)](e(260))||this[e(247)]&&this[e(242)]&&this[e(302)](e(285),{id:this.id})})}}]})}[Ye(270)](){const t=Ye;super[t(270)]();const e=this[t(254)][t(294)][t(271)];this[t(296)](e,t(281),()=>{const i=t;this[i(295)]&&!e[i(275)]||this[i(302)](i(293),{id:this.id,name:e[i(275)]}),e[i(275)]||(e[i(275)]=this[i(303)]?this[i(303)]:this[i(280)])})}[Ye(285)](){this[Ye(253)]=!0}[Ye(287)](){this[Ye(253)]=!1}[Ye(245)](){this[Ye(263)]=!0}[Ye(269)](){this[Ye(263)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class si extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),Vi}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 nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Di.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=ji.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 nn(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=Di.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"}),Di.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=Ci[e];"era"===e?s[r]=n:Vs(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,(Js({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 Li={};const Pi=new Map;function Hi(t,e={}){const i=JSON.stringify([t,e]);let s=Pi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Pi.set(i,s)),s}const Ui=new Map;const Wi=new Map;let zi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{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=Ui.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Ui.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 Us(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.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=Hi(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&&Cs()&&(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 Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":zi||(zi=(new Intl.DateTimeFormat).resolvedOptions().locale,zi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){zi=null,Pi.clear(),Ui.clear(),Wi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Qi.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=Hi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Hi(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"===qi(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?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ps(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 Bi(this,t,un,()=>{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=fo.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 Bi(this,t,fn,()=>{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=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.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 Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(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=Li[i];return s||(s=new Intl.ListFormat(t,e),Li[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}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 ts extends Mi{static get utcInstance(){return null===Xi&&(Xi=new ts(0)),Xi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(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 es extends Mi{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 is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ei.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||ji.create(t)}return Es(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={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]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Ei.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ps(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Qi.resetCache(),ji.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(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 _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(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=Ds(t.year),i=Hs(t.month,1,12),s=Hs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Hs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Hs(i,0,59),a=Hs(s,0,59),c=Hs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Es(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function js(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 Ls(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!Hs(t.firstDay,1,7)||!Hs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Hs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Hs(t,e,i){return Ds(t)&&t>=e&&t<=i}function Us(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ws(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function zs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Qs(t){return t>99?t:t>vs.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 tn(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 en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ls(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(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}${Us(i,2)}:${Us(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Us(i,2)}${Us(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];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 ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class wn{static create(t,e={}){return new wn(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 bn[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 Us(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 mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.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=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(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 _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...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 On(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 Tn(...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 xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),En=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),Dn=RegExp(`(?: ${En.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Ws(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function jn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Ln(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Pn=RegExp(`^T?${Nn.source}$`),Hn=/^-?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 Un(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(zs(i)),months:d(zs(s)),weeks:d(zs(n)),days:d(zs(r)),hours:d(zs(o)),minutes:d(zs(a)),seconds:d(zs(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Wn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function zn(t,e,i,s,n,r,o){const a={year:2===e.length?Qs(Ws(e)):Ws(e),month:an.indexOf(i)+1,day:Ws(s),hour:Ws(n),minute:Ws(r)};return o&&(a.second=Ws(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Zn=/^(?:(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 qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=zn(e,n,s,i,r,o,a);let f;return f=c?Wn[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(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$/,Bn=/^(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$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[zn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[zn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Qn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Xn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,jn,Ln),ir=Sn(Mn,Fn,jn,Ln),sr=Sn(Vn,Fn,jn,Ln),nr=Sn(Fn,jn,Ln);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(En),cr=Sn(Fn,jn,Ln);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(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 br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(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),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.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 br({values:sn(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Es(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[Hn,Un])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[Pn,rr])}(t);return i?br.fromObject(i,e):br.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 gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({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 si(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?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(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+=qs(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 fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ls(e.values,t)||Ls(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(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 kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(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=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)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;Es(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Es(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 kr(this.matrix,e),gr(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 gr(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;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.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=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.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?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).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(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.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(_r.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:_r.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 _r.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(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(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=Sr(t,e);return(i-i%7)/7}],["days",Sr]],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=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(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(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Dr={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 Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\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]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}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(Ls(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;return Vs(t.z)||(i=ji.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(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),Vs(t.u)||(t.S=Zs(t.u)),[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},{}),i,e]}(i):[null,null,void 0];if(Ls(i,"a")&&Ls(i,"H"))throw new ii("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 Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),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=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const Hr="Invalid DateTime",Ur=864e13;function Wr(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function zr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(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 Br(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 Yr(t,e,i){return $r(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=$r(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=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Us(t.c.year,i?6:4),e?(s+="-",s+=Us(t.c.month),s+="-",s+=Us(t.c.day)):(s+=Us(t.c.month),s+=Us(t.c.day)),s}function Xr(t,e,i,s,n,r){let o=Us(t.c.hour);return e?(o+=":",o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Us(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Us(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Us(Math.trunc(-t.o/60)),o+=":",o+=Us(Math.trunc(-t.o%60))):(o+="+",o+=Us(Math.trunc(t.o/60)),o+=":",o+=Us(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const s=Qi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(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 uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Vs(t.ts)?vs.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=Es(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({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 fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Qi.fromObject(e)}):fo.invalid(Wr(n))}static fromMillis(t,e={}){if(Es(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Es(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const s=Qi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=Hs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=Hs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=Hs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Qn,ir],[Xn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,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 gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.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?zr(this).weekYear:NaN}get weekNumber(){return this.isValid?zr(this).weekNumber:NaN}get weekday(){return this.isValid?zr(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?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.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]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(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=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.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?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Hr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):Hr}toLocaleParts(t={}){return this.isValid?wn.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=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(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 Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(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")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Hr}[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 br.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(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.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||fo.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),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Qi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new jr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,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?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Es(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=283]})(t,e)}function vo(){const t=["fromJSDate","1376908ricFFm","year","hasSame","2214270NmrxiP","local","toJSDate","setLocale","day","startOf","minus","month","toRelativeCalendar","3443064IiUSxS","monthLong","week","9pGzrCP","571650srvfQZ","543376XRlXUG","2257605dBWNOZ","weekdayLong","6HoiTbT","574776ZdfUOG"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(290)](t)[i(297)](e),n=fo[i(295)](),r=n[i(300)]({days:1})[i(299)](i(298));let o,a;return s[i(293)](n,i(298))?(o=s[i(299)](i(298))[i(296)](),a=s[i(302)]()):s[i(293)](r,i(298))?(o=r[i(296)](),a=s[i(302)]()):s[i(293)](n,i(305))?(o=s[i(299)](i(305))[i(296)](),a=s[i(287)]||""):s[i(293)](n,i(292))?(o=s[i(299)](i(301))[i(296)](),a=s[i(304)]||""):(o=s[i(299)](i(292))[i(296)](),a=String(s[i(292)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(520749===-parseInt(e(284))/1+parseInt(e(285))/2*(-parseInt(e(288))/3)+parseInt(e(291))/4+parseInt(e(294))/5+parseInt(e(289))/6+parseInt(e(286))/7+parseInt(e(303))/8*(parseInt(e(283))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(){const t=["44ZhHssv","span","28696sHBccZ","locale","228627nZSiRp","154992KmOPef","_requireRevisionName","delegate","createCollection","186738KlmfsI","find","add","removeRevision","1793CYzrGW","944Yshhlk","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period","42NTrjaY","19752KEiAIg","setTemplate","uiLanguage","4555OJEWwB","select","_revisionActions","171SJXhdL","ck-revision-history-sidebar__time-period__revisions","addRevision","setName","div","revisionViews","startDate","localizedPeriodName","remove","9970oqsopg"];return(bo=function(){return t})()}function wo(t,e){const i=bo();return(wo=function(t,e){return i[t-=258]})(t,e)}const _o=wo;!function(t){const e=wo,i=t();for(;;)try{if(131543===-parseInt(e(282))/1+-parseInt(e(278))/2*(-parseInt(e(262))/3)+parseInt(e(258))/4*(-parseInt(e(265))/5)+-parseInt(e(287))/6*(-parseInt(e(261))/7)+-parseInt(e(280))/8*(-parseInt(e(268))/9)+-parseInt(e(277))/10*(-parseInt(e(291))/11)+parseInt(e(283))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class Io extends It.View{[_o(274)];[_o(273)];[_o(267)];[_o(284)];constructor(t,e,i,s){const n=_o;super(t);const r=go(e,this[n(281)][n(264)])[n(275)];this[n(274)]=e,this[n(273)]=this[n(286)](),this[n(267)]=i,this[n(284)]=s,this[n(273)][n(285)](n(266)).to(this),this[n(273)][n(285)](n(271)).to(this),this[n(263)]({tag:n(272),attributes:{class:["ck",n(260)]},children:[{tag:n(279),attributes:{class:["ck",n(259)]},children:[{text:r}]},{tag:n(272),attributes:{class:["ck",n(269)]},children:this[n(273)]}]})}[_o(270)](t){const e=_o,i=new Ke(this[e(281)],t,this[e(267)],this[e(284)]);this[e(273)][e(289)](i)}[_o(290)](t){const e=_o,i=this[e(273)][e(288)](e=>e.id===t.id);this[e(273)][e(276)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["7WfrLzs","2DFkgcR","setTemplate","3537490JwTZjs","ck-revision-history-sidebar__header","Revision history","195zcRUYQ","ck-revision-history-sidebar__header__label","ck-reset_all","33uNJJIm","906667zJtvRD","6202074mEtkUO","span","4131040MlkpZL","52074wnXXeF","div","content","19196VRcqHX","1694568rlvhUG","512ZCCugt"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=362]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(561634===parseInt(e(377))/1*(-parseInt(e(368))/2)+-parseInt(e(373))/3*(parseInt(e(364))/4)+-parseInt(e(380))/5+-parseInt(e(378))/6*(-parseInt(e(367))/7)+-parseInt(e(366))/8*(-parseInt(e(381))/9)+parseInt(e(370))/10*(parseInt(e(376))/11)+parseInt(e(365))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(363)]=_t.IconHistory,this[e(369)]({tag:e(362),attributes:{class:["ck",e(375),e(371)]},children:[i,{tag:e(379),attributes:{class:["ck",e(374)]},children:[at(t,e(372))]}]})}}var Ao=i(692),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Et();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Eo;function Vo(){const t=["379972TgHznj","timePeriodViews","95943YzegbU","find","revisionViews","_getTimePeriodViewByStartDate","map","10AJcusE","delegate","startDate","ck-rounded-corners","createCollection","339364wuDGVl","select","bindTemplate","flat","12kFHWKy","removeRevision","remove","_requireRevisionName","set","setTemplate","6FHZkwo","ck-reset","highlight","get","div","_removeRevision","_revisions","511227TTCApu","addRevision","locale","add","2614544PsVimk","setName","ck-revision-history-sidebar","some","_revisionActions","getTime","render","highlightRevisions","ck-disabled","2751507cjaBJn","fire","_addRevision","deselect","revisionSelected","1295819KAdXDa","revisionSetName","ck-revision-history-sidebar__timeline","selectRevision","5npDCla","uiLanguage","createdAt","isEnabled","1DiNugp","unhighlight"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=134]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(215947===-parseInt(e(147))/1*(parseInt(e(161))/2)+parseInt(e(151))/3+parseInt(e(149))/4*(-parseInt(e(143))/5)+-parseInt(e(171))/6*(parseInt(e(139))/7)+parseInt(e(182))/8+-parseInt(e(178))/9*(-parseInt(e(156))/10)+-parseInt(e(134))/11*(-parseInt(e(165))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(150)];[Mo(177)];[Mo(186)];[Mo(168)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(163)];this[n(150)]=this[n(160)](),this[n(150)][n(157)](n(162)).to(this),this[n(150)][n(157)](n(183)).to(this),this[n(177)]=e,this[n(186)]=i,this[n(168)]=s,this.on(n(162),(t,e)=>{const i=n;this[i(135)](i(138),e)}),this.on(n(183),(t,e)=>{const i=n;this[i(135)](i(140),e)}),this[n(169)](n(146),!1),this[n(170)]({tag:n(175),attributes:{class:["ck",n(172),n(159),n(184)]},children:[new No(t),{tag:n(175),attributes:{class:["ck",n(141),r.if(n(146),n(190),t=>!t)]},children:this[n(150)]}]})}[Mo(188)](){const t=Mo;super[t(188)]();for(const e of this[t(177)])this[t(136)](e);this[t(177)].on(t(181),(e,i)=>{this[t(136)](i)}),this[t(177)].on(t(167),(e,i)=>{this[t(176)](i)})}get[Mo(153)](){const t=Mo;return this[t(150)][t(155)](e=>e[t(153)][t(155)](t=>t))[t(164)]()}[Mo(142)](t){const e=Mo;for(const i of this[e(153)])t&&t.id===i.id?i[e(162)]():i[e(137)]()}[Mo(189)](t){const e=Mo;for(const i of this[e(153)])t[e(185)](({id:t})=>t===i.id)?i[e(173)]():i[e(148)]()}[Mo(136)](t){const e=Mo,i=go(t[e(145)],this[e(180)][e(144)])[e(158)];let s=this[e(150)][e(174)](0);s&&s[e(158)][e(187)]()===i[e(187)]()||(s=new Io(this[e(180)],i,this[e(186)],this[e(168)]),this[e(150)][e(181)](s)),s[e(179)](t)}[Mo(176)](t){const e=Mo,i=go(t[e(145)],this[e(180)][e(144)])[e(158)];this[e(154)](i)[e(166)](t)}[Mo(154)](t){const e=Mo;return this[e(150)][e(152)](i=>i[e(158)][e(187)]()===t[e(187)]())}}const Co=Fo;function Fo(t,e){const i=jo();return(Fo=function(t,e){return i[t-=242]})(t,e)}function jo(){const t=["focus","compare","_handleRevisionSetName","pluginName","requires","revisionSetName","bind","getRevision","map","get","isVisible","isSelected","getLaterVisibleRevision","diff","isOfficialPlugin","2lxkqhe","isReady","RevisionsSidebar","_revisions","getIndex","defaultRevisionActions","string","_sidebarView","compareAgainstSelected","newRevisionId","673467ruVGCi","_revisionViewer","_revisionsRepository","add","init","render","Restore this revision","name","_handleDiffChange","data","appendChild","repository","fieldView","restoreRevision","highlightRevisions","action","ready","_handleEditorDataReady","listenTo","1447362Hgccri","selectRevision","4852000YaVaNm","remove","locale","element","isPremiumPlugin","170418LwMKbp","destroy","revisionSelected","change:diff","119736EfpaCa","assign","_handleRevisionSelected","Name this revision","revisionHistory.revisionActions","timePeriodViews","getRevisionsInDiff","3571253mdnuAM","revisionViews","editor","plugins","Compare against selected","17292960HkwtOi","revisionHistory.viewerSidebarContainer","getEarlierVisibleRevision","revisionHistory.requireRevisionName","length","_createRevisionActions","nameRevision","revisionHistory","isEnabled","select","setName","restoreRevisionCallback","availableRevisionActions","config"];return(jo=function(){return t})()}!function(t){const e=Fo,i=t();for(;;)try{if(487141===-parseInt(e(277))/1*(parseInt(e(267))/2)+-parseInt(e(296))/3+-parseInt(e(307))/4+-parseInt(e(298))/5+-parseInt(e(303))/6+parseInt(e(314))/7+parseInt(e(319))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends G.Plugin{[Co(278)];[Co(279)];[Co(274)];static[Co(272)]=[Co(275),Co(290),Co(244)];static[Co(250)]=function(){const t=Co;return{compareAgainstSelected:{name:t(318),action:({plugins:e},i)=>{const s=t,n=e[s(261)](ce),r=n[s(288)];let o=n[s(265)][s(276)],a=i.id;r[s(271)](o)>r[s(271)](a)&&([o,a]=[a,o]),n[s(253)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(261)](ce);return!(n[s(288)][s(313)](n[s(265)])[s(242)]>2||i[s(263)])}},restoreRevision:{name:t(283),action:(e,{id:i})=>{const s=t;e[s(251)][s(261)](s(245))[s(249)](i)},isVisible:({plugins:e},i)=>!!e[t(261)](ce)[t(288)][t(264)](i.id)},nameRevision:{name:t(310),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(261)](ce),o=r[n(288)][n(321)](i);r[n(253)](i,o),s[n(252)](),s[n(289)][n(247)]()}}}}();static get[Co(255)](){return Co(269)}static get[Co(266)](){return!0}static get[Co(302)](){return!0}static get[Co(256)](){return[ce]}constructor(t){const e=Co;super(t),this[e(278)]=t[e(317)][e(261)](ce),this[e(279)]=this[e(278)][e(288)],this[e(274)]=null}[Co(281)](){const t=Co,e=this[t(279)][t(270)],i=this[t(243)](),s=this[t(316)][t(251)][t(261)](t(320));this[t(274)]=new Do(this[t(316)][t(300)],e,i,this[t(316)][t(251)][t(261)](t(322))),this[t(274)].on(t(305),this[t(309)][t(258)](this)),this[t(274)].on(t(257),this[t(254)][t(258)](this)),this[t(274)][t(258)](t(246)).to(this[t(278)]),this[t(274)][t(312)].on(t(280),(e,i)=>{const s=t;i[s(315)].on(s(280),(t,e)=>{const i=s;e[i(258)](i(246),i(268)).to(this[i(278)])})}),this[t(274)][t(282)](),this[t(295)](this[t(316)][t(286)],t(293),this[t(294)][t(258)](this)),this[t(295)](this[t(278)],t(306),this[t(285)][t(258)](this)),s[t(287)](this[t(274)][t(301)])}[Co(304)](){const t=Co;this[t(274)][t(301)][t(299)](),this[t(274)][t(304)]()}[Co(294)](){const t=Co,e=this[t(279)][t(259)](0);if(e){const i=this[t(279)][t(321)](e.id);this[t(278)][t(253)](e,i)}}[Co(309)](t,e){const i=Co,s=this[i(279)][i(259)](e.id),n=this[i(279)][i(321)](s.id);this[i(278)][i(253)](s,n)}[Co(254)](t,e){const i=Co;this[i(279)][i(259)](e.id)[i(248)](e[i(284)])}[Co(285)](t,e,i){const s=Co,n=this[s(279)][s(313)](i);n[s(242)]>2?(this[s(274)][s(291)](n),this[s(274)][s(297)](null)):(this[s(274)][s(291)]([]),this[s(274)][s(297)](n[0]))}[Co(243)](){const t=Co,e=this[t(316)],i=Lo[t(250)],s=e[t(251)][t(261)](t(311))||Lo[t(272)];if(s[t(242)])return s[t(260)](s=>{const n=t,r=n(273)==typeof s?Object[n(308)]({},i[s]):s;return r[n(292)]=r[n(292)][n(258)](this,e),r[n(262)]&&(r[n(262)]=r[n(262)][n(258)](this,e)),r})}}const Po=Uo;!function(t){const e=Uo,i=t();for(;;)try{if(410095===-parseInt(e(119))/1*(parseInt(e(110))/2)+-parseInt(e(157))/3*(-parseInt(e(122))/4)+parseInt(e(149))/5*(parseInt(e(142))/6)+parseInt(e(146))/7+parseInt(e(123))/8*(-parseInt(e(154))/9)+parseInt(e(145))/10*(-parseInt(e(133))/11)+parseInt(e(109))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Ho extends It.EditorUI{[Po(115)];[Po(144)];[Po(116)];get[Po(113)](){return this[Po(115)]}constructor(e,i){const s=Po;super(e),this[s(115)]=i,this[s(144)]=(0,It.normalizeToolbarConfig)(e[s(137)][s(141)](s(120))),this[s(116)]=new t.ElementReplacer}get[Po(155)](){const t=Po;return this[t(113)][t(155)]}[Po(126)](t){const e=Po,i=this[e(127)],s=this[e(113)],n=i[e(125)][e(113)],r=s[e(134)],o=n[e(117)][e(148)]();r[e(132)]=o[e(114)],s[e(136)]();const a=r[e(155)];this[e(128)](r[e(132)],a),s[e(134)][e(112)](e(156)).to(this[e(152)]),n[e(124)](a),this[e(116)][e(153)](t,this[e(155)]),this[e(118)](),this[e(150)](e(138))}[Po(143)](){const t=Po;super[t(143)]();const e=this[t(113)],i=this[t(127)][t(125)][t(113)];this[t(116)][t(111)](),i[t(121)](e[t(134)][t(132)]),e[t(143)]()}[Po(118)](){const t=Po,e=this[t(113)];e[t(140)][t(112)](t(139)).to(this[t(152)],t(156)),e[t(140)][t(135)]=e[t(155)],e[t(140)][t(112)](t(129)).to(this,t(131),({top:t})=>t),e[t(120)][t(151)](this[t(144)],this[t(130)]),this[t(147)](e[t(120)])}}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=109]})(t,e)}function Wo(){const t=["ready","isActive","stickyPanel","get","122658rnHluR","destroy","_toolbarConfig","7349330qldjGA","1953091gWIoIt","addToolbar","getRoot","50FBFdXi","fire","fillFromConfig","focusTracker","replace","9syKIzJ","element","isFocused","87jcPKxN","11340852ZCcQaC","34CsoNGR","restore","bind","view","rootName","_view","_elementReplacer","document","_initToolbar","45274fZuXNm","toolbar","detachDomRoot","82060hxyyfy","870104woRiHd","attachDomRoot","editing","init","editor","setEditableElement","viewportTopOffset","componentFactory","viewportOffset","name","11ivkeKa","editable","limiterElement","render","config"];return(Wo=function(){return t})()}var zo=i(324),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(zo.A,Zo);zo.A&&zo.A.locals&&zo.A.locals;var qo=Bo;function $o(){var t=["3690atTrIC","content","503019NukFJD","10371210gmnPgN","5881785KEDQbI","7FqYUZH","40sIajSU","shouldToolbarGroupWhenFull","toolbar","85qbRjEF","89837zMvBAq","render","stickyPanel","top","main","add","_editable","editable","291408HMQDOU","180642GxZMiB","4093482VsHrLv"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=303]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(923635===parseInt(e(309))/1*(parseInt(e(323))/2)+parseInt(e(303))/3+-parseInt(e(322))/4*(parseInt(e(313))/5)+-parseInt(e(307))/6+-parseInt(e(308))/7+parseInt(e(310))/8*(-parseInt(e(306))/9)+-parseInt(e(304))/10*(-parseInt(e(314))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(320)];[qo(316)];[qo(312)];get[qo(321)](){return this[qo(320)]}constructor(t,e,i={}){var s=qo;super(t),this[s(316)]=new It.StickyPanelView(t),this[s(312)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(311)]}),this[s(320)]=new It.InlineEditableUIView(t,e)}[qo(315)](){var t=qo;super[t(315)](),this[t(316)][t(305)][t(319)](this[t(312)]),this[t(317)][t(319)](this[t(316)]),this[t(318)][t(319)](this[t(321)])}}const Jo=Ko;function Go(){const t=["sourceElement","initialData","fire","updateSourceElement","910IvSYhi","view","editing","initPlugins","locale","config","init","createRoot","1982558ghGDHa","1505895TdRfZA","create","destroy","6879544GgZLvy","ready","model","121185csIKIJ","6JcZftN","1078817EERFhb","_ui","data","3VaYGWo","get","document","6255536uJuPoq","6305306HQAgJs"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=272]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(979467===-parseInt(e(274))/1+-parseInt(e(294))/2*(parseInt(e(277))/3)+parseInt(e(280))/4+parseInt(e(295))/5*(parseInt(e(273))/6)+-parseInt(e(281))/7+parseInt(e(298))/8+parseInt(e(272))/9*(parseInt(e(286))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(275)];get ui(){return this[Jo(275)]}constructor(t,e){const i=Jo;super(e),this[i(282)]=t,this[i(300)][i(279)][i(293)]();const s=new Yo(this[i(290)],this[i(288)][i(287)],{shouldToolbarGroupWhenFull:!0});this[i(275)]=new Ho(this,s)}[Jo(297)](){const t=Jo;return this[t(285)](),this.ui[t(297)](),super[t(297)]()}static async[Jo(296)](t,e){const i=Jo,s=new this(t,e);return await s[i(289)](),await s.ui[i(292)](t),await s[i(276)][i(292)](s[i(291)][i(278)](i(283))||""),s[i(284)](i(299)),s}}const Xo=ea;function ta(){const t=["panelViews","rootName","1216638jpXlKw","fromCharCode","insert","revisionHistory","create","revisionHistory.viewerContainer","AIReviewMode","has","getRevision","name","isReady","none","isOfficialPlugin","pluginName","revision-history-missing-configuration","getMarkersGroup","addUser","_getRevisionViewerEditorConfig","creator","isReadOnly","replace","AIChatHistory","isEnabled","restoreRevision","bind","Annotations","long","AIActions","PaginationLookup","_closeRevisionViewer","_recalculatePageBreaks","91122cfQyJd","editor","define","save","element","enqueueChange","config","saveRevision","RestrictedEditingMode","AIBalloon","Users","setSelection","_showRevisionViewer","refreshVisibility","block","then","_viewerEditor","addRoot","uiLanguage","getRevisions","474159VvjFkp","error","revisionHistory.requireRevisionName","display","toJSON","disableReadOnlyMode","removeSelectionAttribute","createRangeIn","Autosave","model","RevisionHistory","RevisionTracker","translations","lazyRoots","markers","requires","repository","revisionHistory.showRevisionViewerCallback","DocumentOutline","revision-history-viewer-opened","adapter","addRevisionData","loadRevisionData","_restoreRevision","catch","isAnonymous","ck-tab-panel_disabled","keys","users","exitToEditing","locale","numeric","getAttributeKeys","isOpen","join","_enhanceShowRevisionViewerCallback","result","getRoot","querySelector","showRevisionViewerCallback","RevisionHistoryUtils","revisionHistory.editorContainer","AITabs","isPremiumPlugin","includes","set","push","_cleanUp","revisionHistory.restoreRevisionCallback","refreshPositioning","RevisionHistoryUI","_update","_enhanceCloseRevisionViewerCallback","commands","revisionHistory.viewerEditorElement","map","setAttribute","end","createdAt","data","style","selection","tabindex","view","remove","indexOf","RevisionViewerIntegration","344588jjqpem","parse","document","enableReadOnlyMode","4FZYOcl","toolbar","getRevisionDocumentData","AIChat","743824WDroYU","init","Restored","detachRoot","removeAttribute","change","DocumentOutlineUI","toLocaleTimeString","1268568QKYVos",".ck-ai-chat__prompt-input .ck-textarea","from","hide","fromVersion","isRevisionViewerOpen","update","getRevisionRootsAttributes","toLocaleDateString"," ck-tab-panel_disabled","closeRevisionViewerCallback","getUser","destroy","restrictedEditingException","plugins","toVersion","changesNavigation","35cuhSeH","AIQuickActions","RevisionViewer","class",".ck-ai-chat-history .ck-input","123475pCUNrN","revisionHistory.closeRevisionViewerCallback","roots","get","RevisionsRepository","isAttached","$graveyard","removeMarker","Dialog"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=184]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(122865===parseInt(e(211))/1+-parseInt(e(340))/2+parseInt(e(273))/3*(-parseInt(e(344))/4)+parseInt(e(206))/5*(parseInt(e(253))/6)+parseInt(e(189))/7+-parseInt(e(348))/8+parseInt(e(222))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(323),Xo(261),Xo(347),Xo(228),Xo(262),Xo(207),Xo(249)];class sa extends G.Plugin{[Xo(309)];static get[Xo(235)](){return Xo(339)}static get[Xo(234)](){return!0}static get[Xo(316)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(328)](t=>String[e(223)](t))[e(307)]("")}super(t),this[e(309)]=e(330),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(269)];static get[Xo(235)](){return Xo(283)}static get[Xo(234)](){return!0}static get[Xo(316)](){return!0}static get[Xo(288)](){return[pt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(254)][i(259)][i(214)](i(225)))throw new t.CKEditorError(i(236),this);this[i(269)]=null,this[i(318)](i(194),!1),this[i(254)][i(259)][i(255)](i(290),t=>this[i(265)]({...t,translations:this[i(254)][i(303)][i(285)]})),this[i(254)][i(259)][i(255)](i(212),t=>this[i(251)](t)),this[i(254)][i(259)][i(255)](i(321),t=>this[i(296)](t)),this[i(254)][i(259)][i(255)](i(275),!1),this[i(308)](),this[i(325)]()}set[Xo(293)](t){const e=Xo;this[e(254)][e(203)][e(214)](e(284))[e(293)]=t}get[Xo(293)](){const t=Xo;return this[t(254)][t(203)][t(214)](t(284))[t(293)]}[Xo(294)](t){const e=Xo;return this[e(254)][e(203)][e(214)](e(284))[e(294)](t)}[Xo(230)](t){const e=Xo;return this[e(254)][e(203)][e(214)](e(215))[e(230)](t)}[Xo(272)](t){const e=Xo;return this[e(254)][e(203)][e(214)](e(215))[e(272)](t||{toJSON:!1})}[Xo(239)](){const e=Xo,i=this[e(254)],s=(0,K.sanitizeEditorConfig)(i,ia),n=i[e(203)][e(214)](e(284)),r=i[e(203)][e(214)](e(263))[e(301)];return s[e(345)]=[e(302),e(245),e(205)],delete s[e(286)],s[e(203)][e(319)](sa,ce,Ne,class extends G.Plugin{static get[e(288)](){return[ce,e(263)]}[e(349)](){const s=e,o=this[s(254)][s(203)][s(214)](s(263));for(const t of r)t[s(298)]||o[s(200)](t.id)||o[s(238)](t);const a=n[s(289)][s(272)]();let c=null;const u=this[s(254)][s(203)][s(214)](s(208));u[s(293)]=n[s(293)],u[s(246)](s(244)).to(n),this[s(254)][s(326)][s(214)](s(245))[s(246)](s(244)).to(i,s(241),t=>!t);for(const e of a){const i=null===e[s(240)];if(i&&e[s(204)]===e[s(193)])continue;const r=e[s(277)]();u[s(294)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(324)](r,o);else if(!o){const e=a[u(277)]();e.id=(0,t.uid)(),n[u(260)](e,a[u(204)])[u(268)](t=>{c=t})}}else e[u(324)](r,o)})}}},Lo),s}[Xo(308)](){const t=Xo,e=this[t(254)][t(259)][t(214)](t(225))[t(312)];this[t(254)][t(259)][t(318)](t(290),async()=>{const i=t;this[i(254)][i(343)](i(292));const s=this[i(254)][i(203)][i(214)](i(284));if(this[i(254)][i(203)][i(229)](i(281))){const t=this[i(254)][i(203)][i(214)](i(281));await t[i(256)]()}else await s[i(195)]();if(this[i(254)][i(203)][i(229)](i(250))&&this[i(254)][i(203)][i(214)](i(250))[i(252)](),this[i(254)][i(203)][i(229)](i(219))){const t=this[i(254)][i(203)][i(214)](i(219));t[i(306)]&&t[i(192)]()}if(this[i(254)][i(203)][i(229)](i(315))){const t=this[i(254)][i(203)][i(214)](i(315))[i(336)][i(220)];for(const e of t)e[i(209)]=e[i(209)]?e[i(209)]+i(198):i(299);if(this[i(254)][i(203)][i(229)](i(347))){const t=document[i(311)](i(190));t&&t[i(329)](i(335),"-1")}if(this[i(254)][i(203)][i(229)](i(243))){const t=document[i(311)](i(210));t&&t[i(329)](i(335),"-1")}}const n=this[i(239)]();return e(n)[i(268)](t=>{const e=i;return this[e(269)]=t,this[e(254)][e(203)][e(229)](e(247))&&this[e(254)][e(203)][e(214)](e(247))[e(266)](),this[e(254)][e(203)][e(229)](e(291))&&(this[e(254)][e(203)][e(214)](e(187))[e(336)][e(257)][e(333)][e(276)]=e(233)),t})[i(297)](t=>(console[i(274)](t),this[i(254)][i(278)](i(292)),null))})}[Xo(325)](){const t=Xo,e=this[t(254)][t(259)][t(214)](t(225))[t(199)];this[t(254)][t(259)][t(318)](t(212),()=>{const i=t;if(this[i(254)][i(203)][i(229)](i(250))&&this[i(254)][i(203)][i(214)](i(250))[i(252)](),this[i(254)][i(203)][i(229)](i(291))&&(this[i(254)][i(203)][i(214)](i(187))[i(336)][i(257)][i(333)][i(276)]=""),this[i(254)][i(203)][i(229)](i(315))){const t=this[i(254)][i(203)][i(214)](i(315))[i(336)][i(220)];for(const e of t)e[i(209)]=i(299)===e[i(209)]?"":e[i(209)][i(242)](i(198),"");if(this[i(254)][i(203)][i(229)](i(347))){const t=document[i(311)](i(190));t&&t[i(185)](i(335))}if(this[i(254)][i(203)][i(229)](i(243))){const t=document[i(311)](i(210));t&&t[i(185)](i(335))}}return this[i(269)][i(203)][i(214)](i(208))[i(320)](),e(this[i(269)])[i(268)](()=>{const t=i;if(this[t(254)][t(278)](t(292)),this[t(269)]=null,this[t(254)][t(203)][t(229)](t(247))){const e=this[t(254)][t(203)][t(214)](t(247));e[t(266)](),e[t(322)]()}})})}[Xo(265)](t){const e=Xo,i=this[e(254)][e(259)][e(214)](e(314)),s=this[e(254)][e(259)][e(214)](e(227)),n=this[e(254)][e(259)][e(214)](e(327));return Qo[e(226)](n,t)[e(268)](t=>(s[e(333)][e(276)]=e(267),i[e(333)][e(276)]=e(233),this[e(194)]=!0,t))}[Xo(251)](t){const e=Xo,i=this[e(254)][e(259)][e(214)](e(314));return this[e(254)][e(259)][e(214)](e(227))[e(333)][e(276)]=e(233),i[e(333)][e(276)]="",this[e(194)]=!1,t[e(201)]()}async[Xo(296)](t){const e=Xo,i=this[e(254)],s=this[e(269)][e(203)][e(214)](e(208)),n=i[e(203)][e(214)](e(284)),r=i[e(203)][e(214)](e(313)),o=s[e(289)][e(230)](t);let a,c,u;try{await r[e(295)](o,this[e(293)]),a=r[e(346)](o),c=r[e(196)](o)}catch(t){return void console[e(274)](t)}i[e(282)][e(186)](t=>{const s=e;for(const e of Array[s(191)](i[s(282)][s(287)][s(237)](s(202))))t[s(218)](e)}),s[e(232)]=!1,i[e(282)][e(258)](t=>{const s=e;t[s(264)](null),t[s(279)](i[s(282)][s(342)][s(334)][s(305)]());const n=Object[s(300)](a);for(const e of i[s(282)][s(342)][s(213)])s(217)!=e[s(221)]&&e[s(216)]()&&!n[s(317)](e[s(221)])&&t[s(184)](e);for(const e of n){let n=i[s(282)][s(342)][s(310)](e);n&&n[s(216)]()||(n=t[s(270)](e));const r=c[e],o=Object[s(300)](r),u=a[e];for(const e of n[s(305)]())o[s(317)](e)||t[s(185)](e,n);for(const i of o)t[s(329)](i,c[e][i],n);t[s(337)](t[s(280)](n)),t[s(224)](i[s(332)][s(341)](u,n),n,0)}});const l=at(i[e(303)],e(350));return u=o[e(231)]?-1==o[e(231)][e(338)](l)?l+": "+o[e(231)]:o[e(231)]:l+": "+o[e(331)][e(197)](i[e(303)][e(271)],{month:e(248),day:e(304)})+", "+o[e(331)][e(188)](i[e(303)][e(271)],{hour:e(304),minute:e(304)}),await n[e(260)]({name:u}),s[e(232)]=!0,i[e(259)][e(214)](e(225))[e(199)]()}}function ra(){var t=["5873fxRQNV","147480tWpxTE","7408ogfOCq","2172525LYmzBa","9aBScxC","5838UndHfO","1465MajAbt","21025vtZAWX","6323640dSIhaj","2622186RYTaqo"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=361]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(711612===parseInt(e(363))/1+parseInt(e(365))/2+-parseInt(e(369))/3+-parseInt(e(367))/4+-parseInt(e(362))/5*(-parseInt(e(361))/6)+parseInt(e(366))/7*(-parseInt(e(368))/8)+parseInt(e(370))/9*(parseInt(e(364))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();