@ckeditor/ckeditor5-revision-history 36.0.1 → 37.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/package.json +22 -7
- package/src/augmentation.d.ts +25 -0
- package/src/augmentation.js +23 -0
- package/src/changeitem.d.ts +52 -0
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.d.ts +27 -0
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.d.ts +28 -0
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.d.ts +43 -0
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.d.ts +10 -0
- package/src/index.js +1 -1
- package/src/revision.d.ts +153 -0
- package/src/revision.js +1 -1
- package/src/revisiondiff.d.ts +19 -0
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.d.ts +93 -0
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryadapter.d.ts +60 -0
- package/src/revisionhistoryadapter.js +23 -0
- package/src/revisionhistoryconfig.d.ts +60 -0
- package/src/revisionhistoryconfig.js +23 -0
- package/src/revisionsrepository.d.ts +43 -0
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +72 -0
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +21 -0
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +9 -0
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +4 -0
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +4 -0
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.d.ts +91 -0
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.d.ts +17 -0
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.d.ts +30 -0
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.d.ts +4 -0
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +80 -0
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.d.ts +21 -0
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.d.ts +39 -0
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +4 -0
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +25 -0
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.d.ts +40 -0
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.d.ts +8 -0
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.d.ts +18 -0
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.d.ts +36 -0
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +22 -0
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.d.ts +22 -0
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.d.ts +7 -0
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={164:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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 o=r},525:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const o=r},834:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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 o=r},522:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}.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 o=r},957:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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);transition:var(--ck-revision-history-revision-transitions);width:100%}.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 o=r},996:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{display:inline-block}.ck.ck-revision-history-save-revision-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-revision-history-save-revision-form{flex-wrap:wrap}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-revision-history-save-revision-form .ck-button{flex-basis:50%}}",""]);const o=r},790:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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 o=r},29:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck.ck-revision-history-sidebar__header{--header-height:calc(var(--ck-ui-component-min-height) + 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 o=r},37:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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 o=r},288:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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}',""]);const o=r},368:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible}.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 o=r},168:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.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-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius: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 o=r},542:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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-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 o=r},758:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(r[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&r[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},810:(e,t)=>{"use strict";function i(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function a(e,t,i){return a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,i){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return i&&s(r,i.prototype),r},a.apply(null,arguments)}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;var i;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return a(e,arguments,o(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s(n,e)},c(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function d(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(e){if("string"==typeof e)return u(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?u(e,t):void 0}}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}var l=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t}(c(Error)),x=function(e){function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return r(t,e),t}(l),h=function(e){function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return r(t,e),t}(l),f=function(e){function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return r(t,e),t}(l),v=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t}(l),m=function(e){function t(t){return e.call(this,"Invalid unit "+t)||this}return r(t,e),t}(l),b=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t}(l),g=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return r(t,e),t}(l),y="numeric",p="short",k="long",_={year:y,month:y,day:y},w={year:y,month:p,day:y},S={year:y,month:p,day:y,weekday:p},T={year:y,month:k,day:y},O={year:y,month:k,day:y,weekday:k},I={hour:y,minute:y},R={hour:y,minute:y,second:y},N={hour:y,minute:y,second:y,timeZoneName:p},V={hour:y,minute:y,second:y,timeZoneName:k},E={hour:y,minute:y,hour12:!1},M={hour:y,minute:y,second:y,hour12:!1},A={hour:y,minute:y,second:y,hour12:!1,timeZoneName:p},D={hour:y,minute:y,second:y,hour12:!1,timeZoneName:k},C={year:y,month:y,day:y,hour:y,minute:y},j={year:y,month:y,day:y,hour:y,minute:y,second:y},F={year:y,month:p,day:y,hour:y,minute:y},L={year:y,month:p,day:y,hour:y,minute:y,second:y},P={year:y,month:p,day:y,weekday:p,hour:y,minute:y},z={year:y,month:k,day:y,hour:y,minute:y,timeZoneName:p},Z={year:y,month:k,day:y,hour:y,minute:y,second:y,timeZoneName:p},U={year:y,month:k,day:y,weekday:k,hour:y,minute:y,timeZoneName:k},H={year:y,month:k,day:y,weekday:k,hour:y,minute:y,second:y,timeZoneName:k};function q(e){return void 0===e}function B(e){return"number"==typeof e}function W(e){return"number"==typeof e&&e%1==0}function G(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(e){return!1}}function Y(){return!q(Intl.DateTimeFormat.prototype.formatToParts)}function J(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function $(e,t,i){if(0!==e.length)return e.reduce((function(e,n){var r=[t(n),n];return e&&i(e[0],r[0])===e[0]?e:r}),null)[1]}function K(e,t){return t.reduce((function(t,i){return t[i]=e[i],t}),{})}function X(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Q(e,t,i){return W(e)&&e>=t&&e<=i}function ee(e,t){void 0===t&&(t=2);var i=e<0?"-":"",n=i?-1*e:e;return""+i+(n.toString().length<t?("0".repeat(t)+n).slice(-t):n.toString())}function te(e){return q(e)||null===e||""===e?void 0:parseInt(e,10)}function ie(e){if(!q(e)&&null!==e&&""!==e){var t=1e3*parseFloat("0."+e);return Math.floor(t)}}function ne(e,t,i){void 0===i&&(i=!1);var n=Math.pow(10,t);return(i?Math.trunc:Math.round)(e*n)/n}function re(e){return e%4==0&&(e%100!=0||e%400==0)}function oe(e){return re(e)?366:365}function se(e,t){var i=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===i?re(e+(t-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function ae(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(t.getUTCFullYear()-1900),+t}function ce(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,i=e-1,n=(i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400))%7;return 4===t||3===n?53:52}function ue(e){return e>99?e:e>60?1900+e:2e3+e}function de(e,t,i,n){void 0===n&&(n=null);var r=new Date(e),o={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(o.timeZone=n);var s=Object.assign({timeZoneName:t},o),a=G();if(a&&Y()){var c=new Intl.DateTimeFormat(i,s).formatToParts(r).find((function(e){return"timezonename"===e.type.toLowerCase()}));return c?c.value:null}if(a){var u=new Intl.DateTimeFormat(i,o).format(r);return new Intl.DateTimeFormat(i,s).format(r).substring(u.length).replace(/^[, \u200e]+/,"")}return null}function le(e,t){var i=parseInt(e,10);Number.isNaN(i)&&(i=0);var n=parseInt(t,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function xe(e){var t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new b("Invalid unit value "+e);return t}function he(e,t,i){var n={};for(var r in e)if(X(e,r)){if(i.indexOf(r)>=0)continue;var o=e[r];if(null==o)continue;n[t(r)]=xe(o)}return n}function fe(e,t){var i=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),r=e>=0?"+":"-";switch(t){case"short":return""+r+ee(i,2)+":"+ee(n,2);case"narrow":return""+r+i+(n>0?":"+n:"");case"techie":return""+r+ee(i,2)+ee(n,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function ve(e){return K(e,["hour","minute","second","millisecond"])}var me=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function be(e){return JSON.stringify(e,Object.keys(e).sort())}var ge=["January","February","March","April","May","June","July","August","September","October","November","December"],ye=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pe=["J","F","M","A","M","J","J","A","S","O","N","D"];function ke(e){switch(e){case"narrow":return[].concat(pe);case"short":return[].concat(ye);case"long":return[].concat(ge);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}}var _e=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],we=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Se=["M","T","W","T","F","S","S"];function Te(e){switch(e){case"narrow":return[].concat(Se);case"short":return[].concat(we);case"long":return[].concat(_e);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Oe=["AM","PM"],Ie=["Before Christ","Anno Domini"],Re=["BC","AD"],Ne=["B","A"];function Ve(e){switch(e){case"narrow":return[].concat(Ne);case"short":return[].concat(Re);case"long":return[].concat(Ie);default:return null}}function Ee(e,t){for(var i,n="",r=d(e);!(i=r()).done;){var o=i.value;o.literal?n+=o.val:n+=t(o.val)}return n}var Me={D:_,DD:w,DDD:T,DDDD:O,t:I,tt:R,ttt:N,tttt:V,T:E,TT:M,TTT:A,TTTT:D,f:C,ff:F,fff:z,ffff:U,F:j,FF:L,FFF:Z,FFFF:H},Ae=function(){function e(e,t){this.opts=t,this.loc=e,this.systemLoc=null}e.create=function(t,i){return void 0===i&&(i={}),new e(t,i)},e.parseFormat=function(e){for(var t=null,i="",n=!1,r=[],o=0;o<e.length;o++){var s=e.charAt(o);"'"===s?(i.length>0&&r.push({literal:n,val:i}),t=null,i="",n=!n):n||s===t?i+=s:(i.length>0&&r.push({literal:!1,val:i}),i=s,t=s)}return i.length>0&&r.push({literal:n,val:i}),r},e.macroTokenToFormatOpts=function(e){return Me[e]};var t=e.prototype;return t.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,Object.assign({},this.opts,t)).format()},t.formatDateTime=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).format()},t.formatDateTimeParts=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).formatToParts()},t.resolvedOptions=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).resolvedOptions()},t.num=function(e,t){if(void 0===t&&(t=0),this.opts.forceSimple)return ee(e,t);var i=Object.assign({},this.opts);return t>0&&(i.padTo=t),this.loc.numberFormatter(i).format(e)},t.formatDateTimeFromString=function(t,i){var n=this,r="en"===this.loc.listingMode(),o=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar&&Y(),s=function(e,i){return n.loc.extract(t,e,i)},a=function(e){return t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):""},c=function(){return r?function(e){return Oe[e.hour<12?0:1]}(t):s({hour:"numeric",hour12:!0},"dayperiod")},u=function(e,i){return r?function(e,t){return ke(t)[e.month-1]}(t,e):s(i?{month:e}:{month:e,day:"numeric"},"month")},d=function(e,i){return r?function(e,t){return Te(t)[e.weekday-1]}(t,e):s(i?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},l=function(e){return r?function(e,t){return Ve(t)[e.year<0?0:1]}(t,e):s({era:e},"era")};return Ee(e.parseFormat(i),(function(i){switch(i){case"S":return n.num(t.millisecond);case"u":case"SSS":return n.num(t.millisecond,3);case"s":return n.num(t.second);case"ss":return n.num(t.second,2);case"m":return n.num(t.minute);case"mm":return n.num(t.minute,2);case"h":return n.num(t.hour%12==0?12:t.hour%12);case"hh":return n.num(t.hour%12==0?12:t.hour%12,2);case"H":return n.num(t.hour);case"HH":return n.num(t.hour,2);case"Z":return a({format:"narrow",allowZ:n.opts.allowZ});case"ZZ":return a({format:"short",allowZ:n.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:n.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:n.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:n.loc.locale});case"z":return t.zoneName;case"a":return c();case"d":return o?s({day:"numeric"},"day"):n.num(t.day);case"dd":return o?s({day:"2-digit"},"day"):n.num(t.day,2);case"c":case"E":return n.num(t.weekday);case"ccc":return d("short",!0);case"cccc":return d("long",!0);case"ccccc":return d("narrow",!0);case"EEE":return d("short",!1);case"EEEE":return d("long",!1);case"EEEEE":return d("narrow",!1);case"L":return o?s({month:"numeric",day:"numeric"},"month"):n.num(t.month);case"LL":return o?s({month:"2-digit",day:"numeric"},"month"):n.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return o?s({month:"numeric"},"month"):n.num(t.month);case"MM":return o?s({month:"2-digit"},"month"):n.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return o?s({year:"numeric"},"year"):n.num(t.year);case"yy":return o?s({year:"2-digit"},"year"):n.num(t.year.toString().slice(-2),2);case"yyyy":return o?s({year:"numeric"},"year"):n.num(t.year,4);case"yyyyyy":return o?s({year:"numeric"},"year"):n.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return n.num(t.weekYear.toString().slice(-2),2);case"kkkk":return n.num(t.weekYear,4);case"W":return n.num(t.weekNumber);case"WW":return n.num(t.weekNumber,2);case"o":return n.num(t.ordinal);case"ooo":return n.num(t.ordinal,3);case"q":return n.num(t.quarter);case"qq":return n.num(t.quarter,2);case"X":return n.num(Math.floor(t.ts/1e3));case"x":return n.num(t.ts);default:return function(i){var r=e.macroTokenToFormatOpts(i);return r?n.formatWithSystemDefault(t,r):i}(i)}}))},t.formatDurationFromString=function(t,i){var n,r=this,o=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},s=e.parseFormat(i),a=s.reduce((function(e,t){var i=t.literal,n=t.val;return i?e:e.concat(n)}),[]),c=t.shiftTo.apply(t,a.map(o).filter((function(e){return e})));return Ee(s,(n=c,function(e){var t=o(e);return t?r.num(n.get(t),e.length):e}))},e}(),De=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),Ce=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new g},t.formatOffset=function(e,t){throw new g},t.offset=function(e){throw new g},t.equals=function(e){throw new g},n(e,[{key:"type",get:function(){throw new g}},{key:"name",get:function(){throw new g}},{key:"universal",get:function(){throw new g}},{key:"isValid",get:function(){throw new g}}]),e}(),je=null,Fe=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var i=t.prototype;return i.offsetName=function(e,t){return de(e,t.format,t.locale)},i.formatOffset=function(e,t){return fe(this.offset(e),t)},i.offset=function(e){return-new Date(e).getTimezoneOffset()},i.equals=function(e){return"local"===e.type},n(t,[{key:"type",get:function(){return"local"}},{key:"name",get:function(){return G()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===je&&(je=new t),je}}]),t}(Ce),Le=RegExp("^"+me.source+"$"),Pe={};var ze={year:0,month:1,day:2,hour:3,minute:4,second:5};var Ze={},Ue=function(e){function t(i){var n;return(n=e.call(this)||this).zoneName=i,n.valid=t.isValidZone(i),n}r(t,e),t.create=function(e){return Ze[e]||(Ze[e]=new t(e)),Ze[e]},t.resetCache=function(){Ze={},Pe={}},t.isValidSpecifier=function(e){return!(!e||!e.match(Le))},t.isValidZone=function(e){try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}},t.parseGMTOffset=function(e){if(e){var t=e.match(/^Etc\/GMT(0|[+-]\d{1,2})$/i);if(t)return-60*parseInt(t[1])}return null};var i=t.prototype;return i.offsetName=function(e,t){return de(e,t.format,t.locale,this.name)},i.formatOffset=function(e,t){return fe(this.offset(e),t)},i.offset=function(e){var t=new Date(e);if(isNaN(t))return NaN;var i,n=(i=this.name,Pe[i]||(Pe[i]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Pe[i]),r=n.formatToParts?function(e,t){for(var i=e.formatToParts(t),n=[],r=0;r<i.length;r++){var o=i[r],s=o.type,a=o.value,c=ze[s];q(c)||(n[c]=parseInt(a,10))}return n}(n,t):function(e,t){var i=e.format(t).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(i),r=n[1],o=n[2];return[n[3],r,o,n[4],n[5],n[6]]}(n,t),o=r[0],s=r[1],a=r[2],c=r[3],u=+t,d=u%1e3;return(ae({year:o,month:s,day:a,hour:24===c?0:c,minute:r[4],second:r[5],millisecond:0})-(u-=d>=0?d:1e3+d))/6e4},i.equals=function(e){return"iana"===e.type&&e.name===this.name},n(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(Ce),He=null,qe=function(e){function t(t){var i;return(i=e.call(this)||this).fixed=t,i}r(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){var i=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(i)return new t(le(i[1],i[2]))}return null},n(t,null,[{key:"utcInstance",get:function(){return null===He&&(He=new t(0)),He}}]);var i=t.prototype;return i.offsetName=function(){return this.name},i.formatOffset=function(e,t){return fe(this.fixed,t)},i.offset=function(){return this.fixed},i.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},n(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+fe(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),t}(Ce),Be=function(e){function t(t){var i;return(i=e.call(this)||this).zoneName=t,i}r(t,e);var i=t.prototype;return i.offsetName=function(){return null},i.formatOffset=function(){return""},i.offset=function(){return NaN},i.equals=function(){return!1},n(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),t}(Ce);function We(e,t){var i;if(q(e)||null===e)return t;if(e instanceof Ce)return e;if("string"==typeof e){var n=e.toLowerCase();return"local"===n?t:"utc"===n||"gmt"===n?qe.utcInstance:null!=(i=Ue.parseGMTOffset(e))?qe.instance(i):Ue.isValidSpecifier(n)?Ue.create(e):qe.parseSpecifier(n)||new Be(e)}return B(e)?qe.instance(e):"object"==typeof e&&e.offset&&"number"==typeof e.offset?e:new Be(e)}var Ge=function(){return Date.now()},Ye=null,Je=null,$e=null,Ke=null,Xe=!1,Qe=function(){function e(){}return e.resetCaches=function(){dt.resetCache(),Ue.resetCache()},n(e,null,[{key:"now",get:function(){return Ge},set:function(e){Ge=e}},{key:"defaultZoneName",get:function(){return e.defaultZone.name},set:function(e){Ye=e?We(e):null}},{key:"defaultZone",get:function(){return Ye||Fe.instance}},{key:"defaultLocale",get:function(){return Je},set:function(e){Je=e}},{key:"defaultNumberingSystem",get:function(){return $e},set:function(e){$e=e}},{key:"defaultOutputCalendar",get:function(){return Ke},set:function(e){Ke=e}},{key:"throwOnInvalid",get:function(){return Xe},set:function(e){Xe=e}}]),e}(),et={};function tt(e,t){void 0===t&&(t={});var i=JSON.stringify([e,t]),n=et[i];return n||(n=new Intl.DateTimeFormat(e,t),et[i]=n),n}var it={};var nt={};function rt(e,t){void 0===t&&(t={});var i=t,n=(i.base,function(e,t){if(null==e)return{};var i,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)i=o[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(i,["base"])),r=JSON.stringify([e,n]),o=nt[r];return o||(o=new Intl.RelativeTimeFormat(e,t),nt[r]=o),o}var ot=null;function st(e,t,i,n,r){var o=e.listingMode(i);return"error"===o?null:"en"===o?n(t):r(t)}var at=function(){function e(e,t,i){if(this.padTo=i.padTo||0,this.floor=i.floor||!1,!t&&G()){var n={useGrouping:!1};i.padTo>0&&(n.minimumIntegerDigits=i.padTo),this.inf=function(e,t){void 0===t&&(t={});var i=JSON.stringify([e,t]),n=it[i];return n||(n=new Intl.NumberFormat(e,t),it[i]=n),n}(e,n)}}return e.prototype.format=function(e){if(this.inf){var t=this.floor?Math.floor(e):e;return this.inf.format(t)}return ee(this.floor?Math.floor(e):ne(e,3),this.padTo)},e}(),ct=function(){function e(e,t,i){var n;if(this.opts=i,this.hasIntl=G(),e.zone.universal&&this.hasIntl){var r=e.offset/60*-1,o=r>=0?"Etc/GMT+"+r:"Etc/GMT"+r,s=Ue.isValidZone(o);0!==e.offset&&s?(n=o,this.dt=e):(n="UTC",i.timeZoneName?this.dt=e:this.dt=0===e.offset?e:hn.fromMillis(e.ts+60*e.offset*1e3))}else"local"===e.zone.type?this.dt=e:(this.dt=e,n=e.zone.name);if(this.hasIntl){var a=Object.assign({},this.opts);n&&(a.timeZone=n),this.dtf=tt(t,a)}}var t=e.prototype;return t.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var e=function(e){var t="EEEE, LLLL d, yyyy, h:mm a";switch(be(K(e,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case be(_):return"M/d/yyyy";case be(w):return"LLL d, yyyy";case be(S):return"EEE, LLL d, yyyy";case be(T):return"LLLL d, yyyy";case be(O):return"EEEE, LLLL d, yyyy";case be(I):return"h:mm a";case be(R):return"h:mm:ss a";case be(N):case be(V):return"h:mm a";case be(E):return"HH:mm";case be(M):return"HH:mm:ss";case be(A):case be(D):return"HH:mm";case be(C):return"M/d/yyyy, h:mm a";case be(F):return"LLL d, yyyy, h:mm a";case be(z):return"LLLL d, yyyy, h:mm a";case be(U):return t;case be(j):return"M/d/yyyy, h:mm:ss a";case be(L):return"LLL d, yyyy, h:mm:ss a";case be(P):return"EEE, d LLL yyyy, h:mm a";case be(Z):return"LLLL d, yyyy, h:mm:ss a";case be(H):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return t}}(this.opts),t=dt.create("en-US");return Ae.create(t).formatDateTimeFromString(this.dt,e)},t.formatToParts=function(){return this.hasIntl&&Y()?this.dtf.formatToParts(this.dt.toJSDate()):[]},t.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},e}(),ut=function(){function e(e,t,i){this.opts=Object.assign({style:"long"},i),!t&&J()&&(this.rtf=rt(e,i))}var t=e.prototype;return t.format=function(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,i,n){void 0===i&&(i="always"),void 0===n&&(n=!1);var r={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."]},o=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===i&&o){var s="days"===e;switch(t){case 1:return s?"tomorrow":"next "+r[e][0];case-1:return s?"yesterday":"last "+r[e][0];case 0:return s?"today":"this "+r[e][0]}}var a=Object.is(t,-0)||t<0,c=Math.abs(t),u=1===c,d=r[e],l=n?u?d[1]:d[2]||d[1]:u?r[e][0]:e;return a?c+" "+l+" ago":"in "+c+" "+l}(t,e,this.opts.numeric,"long"!==this.opts.style)},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),dt=function(){function e(e,t,i,n){var r=function(e){var t=e.indexOf("-u-");if(-1===t)return[e];var i,n=e.substring(0,t);try{i=tt(e).resolvedOptions()}catch(e){i=tt(n).resolvedOptions()}var r=i;return[n,r.numberingSystem,r.calendar]}(e),o=r[0],s=r[1],a=r[2];this.locale=o,this.numberingSystem=t||s||null,this.outputCalendar=i||a||null,this.intl=function(e,t,i){return G()?i||t?(e+="-u",i&&(e+="-ca-"+i),t&&(e+="-nu-"+t),e):e:[]}(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}e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)},e.create=function(t,i,n,r){void 0===r&&(r=!1);var o=t||Qe.defaultLocale;return new e(o||(r?"en-US":function(){if(ot)return ot;if(G()){var e=(new Intl.DateTimeFormat).resolvedOptions().locale;return ot=e&&"und"!==e?e:"en-US"}return ot="en-US"}()),i||Qe.defaultNumberingSystem,n||Qe.defaultOutputCalendar,o)},e.resetCache=function(){ot=null,et={},it={},nt={}},e.fromObject=function(t){var i=void 0===t?{}:t,n=i.locale,r=i.numberingSystem,o=i.outputCalendar;return e.create(n,r,o)};var t=e.prototype;return t.listingMode=function(e){void 0===e&&(e=!0);var t=G()&&Y(),i=this.isEnglish(),n=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t||i&&n||e?!t||i&&n?"en":"intl":"error"},t.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this},t.redefaultToEN=function(e){return void 0===e&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!0}))},t.redefaultToSystem=function(e){return void 0===e&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!1}))},t.months=function(e,t,i){var n=this;return void 0===t&&(t=!1),void 0===i&&(i=!0),st(this,e,i,ke,(function(){var i=t?{month:e,day:"numeric"}:{month:e},r=t?"format":"standalone";return n.monthsCache[r][e]||(n.monthsCache[r][e]=function(e){for(var t=[],i=1;i<=12;i++){var n=hn.utc(2016,i,1);t.push(e(n))}return t}((function(e){return n.extract(e,i,"month")}))),n.monthsCache[r][e]}))},t.weekdays=function(e,t,i){var n=this;return void 0===t&&(t=!1),void 0===i&&(i=!0),st(this,e,i,Te,(function(){var i=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},r=t?"format":"standalone";return n.weekdaysCache[r][e]||(n.weekdaysCache[r][e]=function(e){for(var t=[],i=1;i<=7;i++){var n=hn.utc(2016,11,13+i);t.push(e(n))}return t}((function(e){return n.extract(e,i,"weekday")}))),n.weekdaysCache[r][e]}))},t.meridiems=function(e){var t=this;return void 0===e&&(e=!0),st(this,void 0,e,(function(){return Oe}),(function(){if(!t.meridiemCache){var e={hour:"numeric",hour12:!0};t.meridiemCache=[hn.utc(2016,11,13,9),hn.utc(2016,11,13,19)].map((function(i){return t.extract(i,e,"dayperiod")}))}return t.meridiemCache}))},t.eras=function(e,t){var i=this;return void 0===t&&(t=!0),st(this,e,t,Ve,(function(){var t={era:e};return i.eraCache[e]||(i.eraCache[e]=[hn.utc(-40,1,1),hn.utc(2017,1,1)].map((function(e){return i.extract(e,t,"era")}))),i.eraCache[e]}))},t.extract=function(e,t,i){var n=this.dtFormatter(e,t).formatToParts().find((function(e){return e.type.toLowerCase()===i}));return n?n.value:null},t.numberFormatter=function(e){return void 0===e&&(e={}),new at(this.intl,e.forceSimple||this.fastNumbers,e)},t.dtFormatter=function(e,t){return void 0===t&&(t={}),new ct(e,this.intl,t)},t.relFormatter=function(e){return void 0===e&&(e={}),new ut(this.intl,this.isEnglish(),e)},t.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||G()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},t.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},n(e,[{key:"fastNumbers",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||G()&&"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),e}();function lt(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=t.reduce((function(e,t){return e+t.source}),"");return RegExp("^"+n+"$")}function xt(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e){return t.reduce((function(t,i){var n=t[0],r=t[1],o=t[2],s=i(e,o),a=s[0],c=s[1],u=s[2];return[Object.assign(n,a),r||c,u]}),[{},null,1]).slice(0,2)}}function ht(e){if(null==e)return[null,null];for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];for(var r=0,o=i;r<o.length;r++){var s=o[r],a=s[0],c=s[1],u=a.exec(e);if(u)return c(u)}return[null,null]}function ft(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e,i){var n,r={};for(n=0;n<t.length;n++)r[t[n]]=te(e[i+n]);return[r,null,i+n]}}var vt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,mt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,bt=RegExp(""+mt.source+vt.source+"?"),gt=RegExp("(?:T"+bt.source+")?"),yt=ft("weekYear","weekNumber","weekDay"),pt=ft("year","ordinal"),kt=RegExp(mt.source+" ?(?:"+vt.source+"|("+me.source+"))?"),_t=RegExp("(?: "+kt.source+")?");function wt(e,t,i){var n=e[t];return q(n)?i:te(n)}function St(e,t){return[{year:wt(e,t),month:wt(e,t+1,1),day:wt(e,t+2,1)},null,t+3]}function Tt(e,t){return[{hours:wt(e,t,0),minutes:wt(e,t+1,0),seconds:wt(e,t+2,0),milliseconds:ie(e[t+3])},null,t+4]}function Ot(e,t){var i=!e[t]&&!e[t+1],n=le(e[t+1],e[t+2]);return[{},i?null:qe.instance(n),t+3]}function It(e,t){return[{},e[t]?Ue.create(e[t]):null,t+1]}var Rt=RegExp("^T?"+mt.source+"$"),Nt=/^-?P(?:(?:(-?\d{1,9})Y)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})W)?(?:(-?\d{1,9})D)?(?:T(?:(-?\d{1,9})H)?(?:(-?\d{1,9})M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/;function Vt(e){var t=e[0],i=e[1],n=e[2],r=e[3],o=e[4],s=e[5],a=e[6],c=e[7],u=e[8],d="-"===t[0],l=c&&"-"===c[0],x=function(e,t){return void 0===t&&(t=!1),void 0!==e&&(t||e&&d)?-e:e};return[{years:x(te(i)),months:x(te(n)),weeks:x(te(r)),days:x(te(o)),hours:x(te(s)),minutes:x(te(a)),seconds:x(te(c),"-0"===c),milliseconds:x(ie(u),l)}]}var Et={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mt(e,t,i,n,r,o,s){var a={year:2===t.length?ue(te(t)):te(t),month:ye.indexOf(i)+1,day:te(n),hour:te(r),minute:te(o)};return s&&(a.second=te(s)),e&&(a.weekday=e.length>3?_e.indexOf(e)+1:we.indexOf(e)+1),a}var At=/^(?:(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 Dt(e){var t,i=e[1],n=e[2],r=e[3],o=e[4],s=e[5],a=e[6],c=e[7],u=e[8],d=e[9],l=e[10],x=e[11],h=Mt(i,o,r,n,s,a,c);return t=u?Et[u]:d?0:le(l,x),[h,new qe(t)]}var Ct=/^(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$/,jt=/^(Monday|Tuesday|Wedsday|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$/,Ft=/^(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 Lt(e){var t=e[1],i=e[2],n=e[3];return[Mt(t,e[4],n,i,e[5],e[6],e[7]),qe.utcInstance]}function Pt(e){var t=e[1],i=e[2],n=e[3],r=e[4],o=e[5],s=e[6];return[Mt(t,e[7],i,n,r,o,s),qe.utcInstance]}var zt=lt(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,gt),Zt=lt(/(\d{4})-?W(\d\d)(?:-?(\d))?/,gt),Ut=lt(/(\d{4})-?(\d{3})/,gt),Ht=lt(bt),qt=xt(St,Tt,Ot),Bt=xt(yt,Tt,Ot),Wt=xt(pt,Tt,Ot),Gt=xt(Tt,Ot);var Yt=xt(Tt);var Jt=lt(/(\d{4})-(\d\d)-(\d\d)/,_t),$t=lt(kt),Kt=xt(St,Tt,Ot,It),Xt=xt(Tt,Ot,It);var Qt={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}},ei=Object.assign({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}},Qt),ti=365.2425,ii=30.436875,ni=Object.assign({years:{quarters:4,months:12,weeks:52.1775,days:ti,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:ii,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},Qt),ri=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],oi=ri.slice(0).reverse();function si(e,t,i){void 0===i&&(i=!1);var n={values:i?t.values:Object.assign({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new ci(n)}function ai(e,t,i,n,r){var o=e[r][i],s=t[i]/o,a=!(Math.sign(s)===Math.sign(n[r]))&&0!==n[r]&&Math.abs(s)<=1?function(e){return e<0?Math.floor(e):Math.ceil(e)}(s):Math.trunc(s);n[r]+=a,t[i]-=a*o}var ci=function(){function e(e){var t="longterm"===e.conversionAccuracy||!1;this.values=e.values,this.loc=e.loc||dt.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t?ni:ei,this.isLuxonDuration=!0}e.fromMillis=function(t,i){return e.fromObject(Object.assign({milliseconds:t},i))},e.fromObject=function(t){if(null==t||"object"!=typeof t)throw new b("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new e({values:he(t,e.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:dt.fromObject(t),conversionAccuracy:t.conversionAccuracy})},e.fromISO=function(t,i){var n=function(e){return ht(e,[Nt,Vt])}(t),r=n[0];if(r){var o=Object.assign(r,i);return e.fromObject(o)}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.fromISOTime=function(t,i){var n=function(e){return ht(e,[Rt,Yt])}(t),r=n[0];if(r){var o=Object.assign(r,i);return e.fromObject(o)}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.invalid=function(t,i){if(void 0===i&&(i=null),!t)throw new b("need to specify a reason the Duration is invalid");var n=t instanceof De?t:new De(t,i);if(Qe.throwOnInvalid)throw new f(n);return new e({invalid:n})},e.normalizeUnit=function(e){var t={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"}[e?e.toLowerCase():e];if(!t)throw new m(e);return t},e.isDuration=function(e){return e&&e.isLuxonDuration||!1};var t=e.prototype;return t.toFormat=function(e,t){void 0===t&&(t={});var i=Object.assign({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?Ae.create(this.loc,i).formatDurationFromString(this,e):"Invalid Duration"},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=Object.assign({},this.values);return e.includeConfig&&(t.conversionAccuracy=this.conversionAccuracy,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toISO=function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=ne(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e},t.toISOTime=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var t=this.toMillis();if(t<0||t>=864e5)return null;e=Object.assign({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);var i=this.shiftTo("hours","minutes","seconds","milliseconds"),n="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===i.seconds&&0===i.milliseconds||(n+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===i.milliseconds||(n+=".SSS"));var r=i.toFormat(n);return e.includePrefix&&(r="T"+r),r},t.toJSON=function(){return this.toISO()},t.toString=function(){return this.toISO()},t.toMillis=function(){return this.as("milliseconds")},t.valueOf=function(){return this.toMillis()},t.plus=function(e){if(!this.isValid)return this;for(var t,i=ui(e),n={},r=d(ri);!(t=r()).done;){var o=t.value;(X(i.values,o)||X(this.values,o))&&(n[o]=i.get(o)+this.get(o))}return si(this,{values:n},!0)},t.minus=function(e){if(!this.isValid)return this;var t=ui(e);return this.plus(t.negate())},t.mapUnits=function(e){if(!this.isValid)return this;for(var t={},i=0,n=Object.keys(this.values);i<n.length;i++){var r=n[i];t[r]=xe(e(this.values[r],r))}return si(this,{values:t},!0)},t.get=function(t){return this[e.normalizeUnit(t)]},t.set=function(t){return this.isValid?si(this,{values:Object.assign(this.values,he(t,e.normalizeUnit,[]))}):this},t.reconfigure=function(e){var t=void 0===e?{}:e,i=t.locale,n=t.numberingSystem,r=t.conversionAccuracy,o={loc:this.loc.clone({locale:i,numberingSystem:n})};return r&&(o.conversionAccuracy=r),si(this,o)},t.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},t.normalize=function(){if(!this.isValid)return this;var e=this.toObject();return function(e,t){oi.reduce((function(i,n){return q(t[n])?i:(i&&ai(e,t,i,t,n),n)}),null)}(this.matrix,e),si(this,{values:e},!0)},t.shiftTo=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];if(!this.isValid)return this;if(0===i.length)return this;i=i.map((function(t){return e.normalizeUnit(t)}));for(var r,o,s={},a={},c=this.toObject(),u=d(ri);!(o=u()).done;){var l=o.value;if(i.indexOf(l)>=0){r=l;var x=0;for(var h in a)x+=this.matrix[h][l]*a[h],a[h]=0;B(c[l])&&(x+=c[l]);var f=Math.trunc(x);for(var v in s[l]=f,a[l]=x-f,c)ri.indexOf(v)>ri.indexOf(l)&&ai(this.matrix,c,v,s,l)}else B(c[l])&&(a[l]=c[l])}for(var m in a)0!==a[m]&&(s[r]+=m===r?a[m]:a[m]/this.matrix[r][m]);return si(this,{values:s},!0).normalize()},t.negate=function(){if(!this.isValid)return this;for(var e={},t=0,i=Object.keys(this.values);t<i.length;t++){var n=i[t];e[n]=-this.values[n]}return si(this,{values:e},!0)},t.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(var t,i=d(ri);!(t=i()).done;){var n=t.value;if(r=this.values[n],o=e.values[n],!(void 0===r||0===r?void 0===o||0===o:r===o))return!1}var r,o;return!0},n(e,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}();function ui(e){if(B(e))return ci.fromMillis(e);if(ci.isDuration(e))return e;if("object"==typeof e)return ci.fromObject(e);throw new b("Unknown duration argument "+e+" of type "+typeof e)}var di="Invalid Interval";function li(e,t){return e&&e.isValid?t&&t.isValid?t<e?xi.invalid("end before start","The end of an interval must be after its start, but you had start="+e.toISO()+" and end="+t.toISO()):null:xi.invalid("missing or invalid end"):xi.invalid("missing or invalid start")}var xi=function(){function e(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}e.invalid=function(t,i){if(void 0===i&&(i=null),!t)throw new b("need to specify a reason the Interval is invalid");var n=t instanceof De?t:new De(t,i);if(Qe.throwOnInvalid)throw new h(n);return new e({invalid:n})},e.fromDateTimes=function(t,i){var n=fn(t),r=fn(i),o=li(n,r);return null==o?new e({start:n,end:r}):o},e.after=function(t,i){var n=ui(i),r=fn(t);return e.fromDateTimes(r,r.plus(n))},e.before=function(t,i){var n=ui(i),r=fn(t);return e.fromDateTimes(r.minus(n),r)},e.fromISO=function(t,i){var n=(t||"").split("/",2),r=n[0],o=n[1];if(r&&o){var s,a,c,u;try{a=(s=hn.fromISO(r,i)).isValid}catch(o){a=!1}try{u=(c=hn.fromISO(o,i)).isValid}catch(o){u=!1}if(a&&u)return e.fromDateTimes(s,c);if(a){var d=ci.fromISO(o,i);if(d.isValid)return e.after(s,d)}else if(u){var l=ci.fromISO(r,i);if(l.isValid)return e.before(c,l)}}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.isInterval=function(e){return e&&e.isLuxonInterval||!1};var t=e.prototype;return t.length=function(e){return void 0===e&&(e="milliseconds"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},t.count=function(e){if(void 0===e&&(e="milliseconds"),!this.isValid)return NaN;var t=this.start.startOf(e),i=this.end.startOf(e);return Math.floor(i.diff(t,e).get(e))+1},t.hasSame=function(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))},t.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},t.isAfter=function(e){return!!this.isValid&&this.s>e},t.isBefore=function(e){return!!this.isValid&&this.e<=e},t.contains=function(e){return!!this.isValid&&(this.s<=e&&this.e>e)},t.set=function(t){var i=void 0===t?{}:t,n=i.start,r=i.end;return this.isValid?e.fromDateTimes(n||this.s,r||this.e):this},t.splitAt=function(){var t=this;if(!this.isValid)return[];for(var i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];for(var o=n.map(fn).filter((function(e){return t.contains(e)})).sort(),s=[],a=this.s,c=0;a<this.e;){var u=o[c]||this.e,d=+u>+this.e?this.e:u;s.push(e.fromDateTimes(a,d)),a=d,c+=1}return s},t.splitBy=function(t){var i=ui(t);if(!this.isValid||!i.isValid||0===i.as("milliseconds"))return[];for(var n,r=this.s,o=1,s=[];r<this.e;){var a=this.start.plus(i.mapUnits((function(e){return e*o})));n=+a>+this.e?this.e:a,s.push(e.fromDateTimes(r,n)),r=n,o+=1}return s},t.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},t.overlaps=function(e){return this.e>e.s&&this.s<e.e},t.abutsStart=function(e){return!!this.isValid&&+this.e==+e.s},t.abutsEnd=function(e){return!!this.isValid&&+e.e==+this.s},t.engulfs=function(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)},t.equals=function(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))},t.intersection=function(t){if(!this.isValid)return this;var i=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return i>=n?null:e.fromDateTimes(i,n)},t.union=function(t){if(!this.isValid)return this;var i=this.s<t.s?this.s:t.s,n=this.e>t.e?this.e:t.e;return e.fromDateTimes(i,n)},e.merge=function(e){var t=e.sort((function(e,t){return e.s-t.s})).reduce((function(e,t){var i=e[0],n=e[1];return n?n.overlaps(t)||n.abutsStart(t)?[i,n.union(t)]:[i.concat([n]),t]:[i,t]}),[[],null]),i=t[0],n=t[1];return n&&i.push(n),i},e.xor=function(t){for(var i,n,r=null,o=0,s=[],a=t.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),c=d((i=Array.prototype).concat.apply(i,a).sort((function(e,t){return e.time-t.time})));!(n=c()).done;){var u=n.value;1===(o+="s"===u.type?1:-1)?r=u.time:(r&&+r!=+u.time&&s.push(e.fromDateTimes(r,u.time)),r=null)}return e.merge(s)},t.difference=function(){for(var t=this,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];return e.xor([this].concat(n)).map((function(e){return t.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))},t.toString=function(){return this.isValid?"["+this.s.toISO()+" – "+this.e.toISO()+")":di},t.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):di},t.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():di},t.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+"/"+this.e.toISOTime(e):di},t.toFormat=function(e,t){var i=(void 0===t?{}:t).separator,n=void 0===i?" – ":i;return this.isValid?""+this.s.toFormat(e)+n+this.e.toFormat(e):di},t.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):ci.invalid(this.invalidReason)},t.mapEndpoints=function(t){return e.fromDateTimes(t(this.s),t(this.e))},n(e,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),hi=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=Qe.defaultZone);var t=hn.now().setZone(e).set({month:12});return!e.universal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return Ue.isValidSpecifier(e)&&Ue.isValidZone(e)},e.normalizeZone=function(e){return We(e,Qe.defaultZone)},e.months=function(e,t){void 0===e&&(e="long");var i=void 0===t?{}:t,n=i.locale,r=void 0===n?null:n,o=i.numberingSystem,s=void 0===o?null:o,a=i.locObj,c=void 0===a?null:a,u=i.outputCalendar,d=void 0===u?"gregory":u;return(c||dt.create(r,s,d)).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e="long");var i=void 0===t?{}:t,n=i.locale,r=void 0===n?null:n,o=i.numberingSystem,s=void 0===o?null:o,a=i.locObj,c=void 0===a?null:a,u=i.outputCalendar,d=void 0===u?"gregory":u;return(c||dt.create(r,s,d)).months(e,!0)},e.weekdays=function(e,t){void 0===e&&(e="long");var i=void 0===t?{}:t,n=i.locale,r=void 0===n?null:n,o=i.numberingSystem,s=void 0===o?null:o,a=i.locObj;return((void 0===a?null:a)||dt.create(r,s,null)).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e="long");var i=void 0===t?{}:t,n=i.locale,r=void 0===n?null:n,o=i.numberingSystem,s=void 0===o?null:o,a=i.locObj;return((void 0===a?null:a)||dt.create(r,s,null)).weekdays(e,!0)},e.meridiems=function(e){var t=(void 0===e?{}:e).locale,i=void 0===t?null:t;return dt.create(i).meridiems()},e.eras=function(e,t){void 0===e&&(e="short");var i=(void 0===t?{}:t).locale,n=void 0===i?null:i;return dt.create(n,null,"gregory").eras(e)},e.features=function(){var e=!1,t=!1,i=!1,n=!1;if(G()){e=!0,t=Y(),n=J();try{i="America/New_York"===new Intl.DateTimeFormat("en",{timeZone:"America/New_York"}).resolvedOptions().timeZone}catch(e){i=!1}}return{intl:e,intlTokens:t,zones:i,relative:n}},e}();function fi(e,t){var i=function(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},n=i(t)-i(e);return Math.floor(ci.fromMillis(n).as("days"))}function vi(e,t,i,n){var r=function(e,t,i){for(var n,r,o={},s=0,a=[["years",function(e,t){return t.year-e.year}],["quarters",function(e,t){return t.quarter-e.quarter}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){var i=fi(e,t);return(i-i%7)/7}],["days",fi]];s<a.length;s++){var c=a[s],u=c[0],d=c[1];if(i.indexOf(u)>=0){var l;n=u;var x,h=d(e,t);(r=e.plus(((l={})[u]=h,l)))>t?(e=e.plus(((x={})[u]=h-1,x)),h-=1):e=r,o[u]=h}}return[e,o,r,n]}(e,t,i),o=r[0],s=r[1],a=r[2],c=r[3],u=t-o,d=i.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(0===d.length){var l;if(a<t)a=o.plus(((l={})[c]=1,l));a!==o&&(s[c]=(s[c]||0)+u/(a-o))}var x,h=ci.fromObject(Object.assign(s,n));return d.length>0?(x=ci.fromMillis(u,n)).shiftTo.apply(x,d).plus(h):h}var mi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},bi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},gi=mi.hanidec.replace(/[\[|\]]/g,"").split("");function yi(e,t){var i=e.numberingSystem;return void 0===t&&(t=""),new RegExp(""+mi[i||"latn"]+t)}var pi="missing Intl.DateTimeFormat.formatToParts support";function ki(e,t){return void 0===t&&(t=function(e){return e}),{regex:e,deser:function(e){var i=e[0];return t(function(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var i=0;i<e.length;i++){var n=e.charCodeAt(i);if(-1!==e[i].search(mi.hanidec))t+=gi.indexOf(e[i]);else for(var r in bi){var o=bi[r],s=o[0],a=o[1];n>=s&&n<=a&&(t+=n-s)}}return parseInt(t,10)}return t}(i))}}}var _i="( |"+String.fromCharCode(160)+")",wi=new RegExp(_i,"g");function Si(e){return e.replace(/\./g,"\\.?").replace(wi,_i)}function Ti(e){return e.replace(/\./g,"").replace(wi," ").toLowerCase()}function Oi(e,t){return null===e?null:{regex:RegExp(e.map(Si).join("|")),deser:function(i){var n=i[0];return e.findIndex((function(e){return Ti(n)===Ti(e)}))+t}}}function Ii(e,t){return{regex:e,deser:function(e){return le(e[1],e[2])},groups:t}}function Ri(e){return{regex:e,deser:function(e){return e[0]}}}var Ni={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",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var Vi=null;function Ei(e,t){if(e.literal)return e;var i=Ae.macroTokenToFormatOpts(e.val);if(!i)return e;var n=Ae.create(t,i).formatDateTimeParts((Vi||(Vi=hn.fromMillis(1555555555555)),Vi)).map((function(e){return function(e,t,i){var n=e.type,r=e.value;if("literal"===n)return{literal:!0,val:r};var o=i[n],s=Ni[n];return"object"==typeof s&&(s=s[o]),s?{literal:!1,val:s}:void 0}(e,0,i)}));return n.includes(void 0)?e:n}function Mi(e,t,i){var n=function(e,t){var i;return(i=Array.prototype).concat.apply(i,e.map((function(e){return Ei(e,t)})))}(Ae.parseFormat(i),e),r=n.map((function(t){return i=t,r=yi(n=e),o=yi(n,"{2}"),s=yi(n,"{3}"),a=yi(n,"{4}"),c=yi(n,"{6}"),u=yi(n,"{1,2}"),d=yi(n,"{1,3}"),l=yi(n,"{1,6}"),x=yi(n,"{1,9}"),h=yi(n,"{2,4}"),f=yi(n,"{4,6}"),v=function(e){return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(e){return e[0]},literal:!0};var t},m=function(e){if(i.literal)return v(e);switch(e.val){case"G":return Oi(n.eras("short",!1),0);case"GG":return Oi(n.eras("long",!1),0);case"y":return ki(l);case"yy":case"kk":return ki(h,ue);case"yyyy":case"kkkk":return ki(a);case"yyyyy":return ki(f);case"yyyyyy":return ki(c);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return ki(u);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return ki(o);case"MMM":return Oi(n.months("short",!0,!1),1);case"MMMM":return Oi(n.months("long",!0,!1),1);case"LLL":return Oi(n.months("short",!1,!1),1);case"LLLL":return Oi(n.months("long",!1,!1),1);case"o":case"S":return ki(d);case"ooo":case"SSS":return ki(s);case"u":return Ri(x);case"a":return Oi(n.meridiems(),0);case"E":case"c":return ki(r);case"EEE":return Oi(n.weekdays("short",!1,!1),1);case"EEEE":return Oi(n.weekdays("long",!1,!1),1);case"ccc":return Oi(n.weekdays("short",!0,!1),1);case"cccc":return Oi(n.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Ii(new RegExp("([+-]"+u.source+")(?::("+o.source+"))?"),2);case"ZZZ":return Ii(new RegExp("([+-]"+u.source+")("+o.source+")?"),2);case"z":return Ri(/[a-z_+-/]{1,256}?/i);default:return v(e)}}(i)||{invalidReason:pi},m.token=i,m;var i,n,r,o,s,a,c,u,d,l,x,h,f,v,m})),o=r.find((function(e){return e.invalidReason}));if(o)return{input:t,tokens:n,invalidReason:o.invalidReason};var s=function(e){return["^"+e.map((function(e){return e.regex})).reduce((function(e,t){return e+"("+t.source+")"}),"")+"$",e]}(r),a=s[0],c=s[1],u=RegExp(a,"i"),d=function(e,t,i){var n=e.match(t);if(n){var r={},o=1;for(var s in i)if(X(i,s)){var a=i[s],c=a.groups?a.groups+1:1;!a.literal&&a.token&&(r[a.token.val[0]]=a.deser(n.slice(o,o+c))),o+=c}return[n,r]}return[n,{}]}(t,u,c),l=d[0],x=d[1],h=x?function(e){var t;return t=q(e.Z)?q(e.z)?null:Ue.create(e.z):new qe(e.Z),q(e.q)||(e.M=3*(e.q-1)+1),q(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),q(e.u)||(e.S=ie(e.u)),[Object.keys(e).reduce((function(t,i){var n=function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(i);return n&&(t[n]=e[i]),t}),{}),t]}(x):[null,null],f=h[0],m=h[1];if(X(x,"a")&&X(x,"H"))throw new v("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:n,regex:u,rawMatches:l,matches:x,result:f,zone:m}}var Ai=[0,31,59,90,120,151,181,212,243,273,304,334],Di=[0,31,60,91,121,152,182,213,244,274,305,335];function Ci(e,t){return new De("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function ji(e,t,i){var n=new Date(Date.UTC(e,t-1,i)).getUTCDay();return 0===n?7:n}function Fi(e,t,i){return i+(re(e)?Di:Ai)[t-1]}function Li(e,t){var i=re(e)?Di:Ai,n=i.findIndex((function(e){return e<t}));return{month:n+1,day:t-i[n]}}function Pi(e){var t,i=e.year,n=e.month,r=e.day,o=Fi(i,n,r),s=ji(i,n,r),a=Math.floor((o-s+10)/7);return a<1?a=ce(t=i-1):a>ce(i)?(t=i+1,a=1):t=i,Object.assign({weekYear:t,weekNumber:a,weekday:s},ve(e))}function zi(e){var t,i=e.weekYear,n=e.weekNumber,r=e.weekday,o=ji(i,1,4),s=oe(i),a=7*n+r-o-3;a<1?a+=oe(t=i-1):a>s?(t=i+1,a-=oe(i)):t=i;var c=Li(t,a),u=c.month,d=c.day;return Object.assign({year:t,month:u,day:d},ve(e))}function Zi(e){var t=e.year,i=Fi(t,e.month,e.day);return Object.assign({year:t,ordinal:i},ve(e))}function Ui(e){var t=e.year,i=Li(t,e.ordinal),n=i.month,r=i.day;return Object.assign({year:t,month:n,day:r},ve(e))}function Hi(e){var t=W(e.year),i=Q(e.month,1,12),n=Q(e.day,1,se(e.year,e.month));return t?i?!n&&Ci("day",e.day):Ci("month",e.month):Ci("year",e.year)}function qi(e){var t=e.hour,i=e.minute,n=e.second,r=e.millisecond,o=Q(t,0,23)||24===t&&0===i&&0===n&&0===r,s=Q(i,0,59),a=Q(n,0,59),c=Q(r,0,999);return o?s?a?!c&&Ci("millisecond",r):Ci("second",n):Ci("minute",i):Ci("hour",t)}var Bi="Invalid DateTime",Wi=864e13;function Gi(e){return new De("unsupported zone",'the zone "'+e.name+'" is not supported')}function Yi(e){return null===e.weekData&&(e.weekData=Pi(e.c)),e.weekData}function Ji(e,t){var i={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new hn(Object.assign({},i,t,{old:i}))}function $i(e,t,i){var n=e-60*t*1e3,r=i.offset(n);if(t===r)return[n,t];n-=60*(r-t)*1e3;var o=i.offset(n);return r===o?[n,r]:[e-60*Math.min(r,o)*1e3,Math.max(r,o)]}function Ki(e,t){var i=new Date(e+=60*t*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 Xi(e,t,i){return $i(ae(e),t,i)}function Qi(e,t){var i=e.o,n=e.c.year+Math.trunc(t.years),r=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),o=Object.assign({},e.c,{year:n,month:r,day:Math.min(e.c.day,se(n,r))+Math.trunc(t.days)+7*Math.trunc(t.weeks)}),s=ci.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=$i(ae(o),i,e.zone),c=a[0],u=a[1];return 0!==s&&(c+=s,u=e.zone.offset(c)),{ts:c,o:u}}function en(e,t,i,n,r){var o=i.setZone,s=i.zone;if(e&&0!==Object.keys(e).length){var a=t||s,c=hn.fromObject(Object.assign(e,i,{zone:a,setZone:void 0}));return o?c:c.setZone(s)}return hn.invalid(new De("unparsable",'the input "'+r+"\" can't be parsed as "+n))}function tn(e,t,i){return void 0===i&&(i=!0),e.isValid?Ae.create(dt.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(e,t):null}function nn(e,t){var i=t.suppressSeconds,n=void 0!==i&&i,r=t.suppressMilliseconds,o=void 0!==r&&r,s=t.includeOffset,a=t.includePrefix,c=void 0!==a&&a,u=t.includeZone,d=void 0!==u&&u,l=t.spaceZone,x=void 0!==l&&l,h=t.format,f=void 0===h?"extended":h,v="basic"===f?"HHmm":"HH:mm";n&&0===e.second&&0===e.millisecond||(v+="basic"===f?"ss":":ss",o&&0===e.millisecond||(v+=".SSS")),(d||s)&&x&&(v+=" "),d?v+="z":s&&(v+="basic"===f?"ZZZ":"ZZ");var m=tn(e,v);return c&&(m="T"+m),m}var rn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},on={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},sn={ordinal:1,hour:0,minute:0,second:0,millisecond:0},an=["year","month","day","hour","minute","second","millisecond"],cn=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],un=["year","ordinal","hour","minute","second","millisecond"];function dn(e){var t={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"}[e.toLowerCase()];if(!t)throw new m(e);return t}function ln(e,t){for(var i,n=d(an);!(i=n()).done;){var r=i.value;q(e[r])&&(e[r]=rn[r])}var o=Hi(e)||qi(e);if(o)return hn.invalid(o);var s=Qe.now(),a=Xi(e,t.offset(s),t),c=a[0],u=a[1];return new hn({ts:c,zone:t,o:u})}function xn(e,t,i){var n=!!q(i.round)||i.round,r=function(e,r){return e=ne(e,n||i.calendary?0:2,!0),t.loc.clone(i).relFormatter(i).format(e,r)},o=function(n){return i.calendary?t.hasSame(e,n)?0:t.startOf(n).diff(e.startOf(n),n).get(n):t.diff(e,n).get(n)};if(i.unit)return r(o(i.unit),i.unit);for(var s,a=d(i.units);!(s=a()).done;){var c=s.value,u=o(c);if(Math.abs(u)>=1)return r(u,c)}return r(e>t?-0:0,i.units[i.units.length-1])}var hn=function(){function e(e){var t=e.zone||Qe.defaultZone,i=e.invalid||(Number.isNaN(e.ts)?new De("invalid input"):null)||(t.isValid?null:Gi(t));this.ts=q(e.ts)?Qe.now():e.ts;var n=null,r=null;if(!i)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t)){var o=[e.old.c,e.old.o];n=o[0],r=o[1]}else{var s=t.offset(this.ts);n=Ki(this.ts,s),n=(i=Number.isNaN(n.year)?new De("invalid input"):null)?null:n,r=i?null:s}this._zone=t,this.loc=e.loc||dt.create(),this.invalid=i,this.weekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}e.now=function(){return new e({})},e.local=function(t,i,n,r,o,s,a){return q(t)?e.now():ln({year:t,month:i,day:n,hour:r,minute:o,second:s,millisecond:a},Qe.defaultZone)},e.utc=function(t,i,n,r,o,s,a){return q(t)?new e({ts:Qe.now(),zone:qe.utcInstance}):ln({year:t,month:i,day:n,hour:r,minute:o,second:s,millisecond:a},qe.utcInstance)},e.fromJSDate=function(t,i){void 0===i&&(i={});var n,r=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);if(Number.isNaN(r))return e.invalid("invalid input");var o=We(i.zone,Qe.defaultZone);return o.isValid?new e({ts:r,zone:o,loc:dt.fromObject(i)}):e.invalid(Gi(o))},e.fromMillis=function(t,i){if(void 0===i&&(i={}),B(t))return t<-Wi||t>Wi?e.invalid("Timestamp out of range"):new e({ts:t,zone:We(i.zone,Qe.defaultZone),loc:dt.fromObject(i)});throw new b("fromMillis requires a numerical input, but received a "+typeof t+" with value "+t)},e.fromSeconds=function(t,i){if(void 0===i&&(i={}),B(t))return new e({ts:1e3*t,zone:We(i.zone,Qe.defaultZone),loc:dt.fromObject(i)});throw new b("fromSeconds requires a numerical input")},e.fromObject=function(t){var i=We(t.zone,Qe.defaultZone);if(!i.isValid)return e.invalid(Gi(i));var n=Qe.now(),r=i.offset(n),o=he(t,dn,["zone","locale","outputCalendar","numberingSystem"]),s=!q(o.ordinal),a=!q(o.year),c=!q(o.month)||!q(o.day),u=a||c,l=o.weekYear||o.weekNumber,x=dt.fromObject(t);if((u||s)&&l)throw new v("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&s)throw new v("Can't mix ordinal dates with month/day");var h,f,m=l||o.weekday&&!u,b=Ki(n,r);m?(h=cn,f=on,b=Pi(b)):s?(h=un,f=sn,b=Zi(b)):(h=an,f=rn);for(var g,y=!1,p=d(h);!(g=p()).done;){var k=g.value;q(o[k])?o[k]=y?f[k]:b[k]:y=!0}var _=m?function(e){var t=W(e.weekYear),i=Q(e.weekNumber,1,ce(e.weekYear)),n=Q(e.weekday,1,7);return t?i?!n&&Ci("weekday",e.weekday):Ci("week",e.week):Ci("weekYear",e.weekYear)}(o):s?function(e){var t=W(e.year),i=Q(e.ordinal,1,oe(e.year));return t?!i&&Ci("ordinal",e.ordinal):Ci("year",e.year)}(o):Hi(o),w=_||qi(o);if(w)return e.invalid(w);var S=Xi(m?zi(o):s?Ui(o):o,r,i),T=new e({ts:S[0],zone:i,o:S[1],loc:x});return o.weekday&&u&&t.weekday!==T.weekday?e.invalid("mismatched weekday","you can't specify both a weekday of "+o.weekday+" and a date of "+T.toISO()):T},e.fromISO=function(e,t){void 0===t&&(t={});var i=function(e){return ht(e,[zt,qt],[Zt,Bt],[Ut,Wt],[Ht,Gt])}(e);return en(i[0],i[1],t,"ISO 8601",e)},e.fromRFC2822=function(e,t){void 0===t&&(t={});var i=function(e){return ht(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[At,Dt])}(e);return en(i[0],i[1],t,"RFC 2822",e)},e.fromHTTP=function(e,t){void 0===t&&(t={});var i=function(e){return ht(e,[Ct,Lt],[jt,Lt],[Ft,Pt])}(e);return en(i[0],i[1],t,"HTTP",t)},e.fromFormat=function(t,i,n){if(void 0===n&&(n={}),q(t)||q(i))throw new b("fromFormat requires an input string and a format");var r=n,o=r.locale,s=void 0===o?null:o,a=r.numberingSystem,c=void 0===a?null:a,u=function(e,t,i){var n=Mi(e,t,i);return[n.result,n.zone,n.invalidReason]}(dt.fromOpts({locale:s,numberingSystem:c,defaultToEN:!0}),t,i),d=u[0],l=u[1],x=u[2];return x?e.invalid(x):en(d,l,n,"format "+i,t)},e.fromString=function(t,i,n){return void 0===n&&(n={}),e.fromFormat(t,i,n)},e.fromSQL=function(e,t){void 0===t&&(t={});var i=function(e){return ht(e,[Jt,Kt],[$t,Xt])}(e);return en(i[0],i[1],t,"SQL",e)},e.invalid=function(t,i){if(void 0===i&&(i=null),!t)throw new b("need to specify a reason the DateTime is invalid");var n=t instanceof De?t:new De(t,i);if(Qe.throwOnInvalid)throw new x(n);return new e({invalid:n})},e.isDateTime=function(e){return e&&e.isLuxonDateTime||!1};var t=e.prototype;return t.get=function(e){return this[e]},t.resolvedLocaleOpts=function(e){void 0===e&&(e={});var t=Ae.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.calendar}},t.toUTC=function(e,t){return void 0===e&&(e=0),void 0===t&&(t={}),this.setZone(qe.instance(e),t)},t.toLocal=function(){return this.setZone(Qe.defaultZone)},t.setZone=function(t,i){var n=void 0===i?{}:i,r=n.keepLocalTime,o=void 0!==r&&r,s=n.keepCalendarTime,a=void 0!==s&&s;if((t=We(t,Qe.defaultZone)).equals(this.zone))return this;if(t.isValid){var c=this.ts;if(o||a){var u=t.offset(this.ts);c=Xi(this.toObject(),u,t)[0]}return Ji(this,{ts:c,zone:t})}return e.invalid(Gi(t))},t.reconfigure=function(e){var t=void 0===e?{}:e,i=t.locale,n=t.numberingSystem,r=t.outputCalendar;return Ji(this,{loc:this.loc.clone({locale:i,numberingSystem:n,outputCalendar:r})})},t.setLocale=function(e){return this.reconfigure({locale:e})},t.set=function(e){if(!this.isValid)return this;var t,i=he(e,dn,[]),n=!q(i.weekYear)||!q(i.weekNumber)||!q(i.weekday),r=!q(i.ordinal),o=!q(i.year),s=!q(i.month)||!q(i.day),a=o||s,c=i.weekYear||i.weekNumber;if((a||r)&&c)throw new v("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(s&&r)throw new v("Can't mix ordinal dates with month/day");n?t=zi(Object.assign(Pi(this.c),i)):q(i.ordinal)?(t=Object.assign(this.toObject(),i),q(i.day)&&(t.day=Math.min(se(t.year,t.month),t.day))):t=Ui(Object.assign(Zi(this.c),i));var u=Xi(t,this.o,this.zone);return Ji(this,{ts:u[0],o:u[1]})},t.plus=function(e){return this.isValid?Ji(this,Qi(this,ui(e))):this},t.minus=function(e){return this.isValid?Ji(this,Qi(this,ui(e).negate())):this},t.startOf=function(e){if(!this.isValid)return this;var t={},i=ci.normalizeUnit(e);switch(i){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===i&&(t.weekday=1),"quarters"===i){var n=Math.ceil(this.month/3);t.month=3*(n-1)+1}return this.set(t)},t.endOf=function(e){var t;return this.isValid?this.plus((t={},t[e]=1,t)).startOf(e).minus(1):this},t.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?Ae.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Bi},t.toLocaleString=function(e){return void 0===e&&(e=_),this.isValid?Ae.create(this.loc.clone(e),e).formatDateTime(this):Bi},t.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?Ae.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},t.toISO=function(e){return void 0===e&&(e={}),this.isValid?this.toISODate(e)+"T"+this.toISOTime(e):null},t.toISODate=function(e){var t=(void 0===e?{}:e).format,i="basic"===(void 0===t?"extended":t)?"yyyyMMdd":"yyyy-MM-dd";return this.year>9999&&(i="+"+i),tn(this,i)},t.toISOWeekDate=function(){return tn(this,"kkkk-'W'WW-c")},t.toISOTime=function(e){var t=void 0===e?{}:e,i=t.suppressMilliseconds,n=void 0!==i&&i,r=t.suppressSeconds,o=void 0!==r&&r,s=t.includeOffset,a=void 0===s||s,c=t.includePrefix,u=void 0!==c&&c,d=t.format;return nn(this,{suppressSeconds:o,suppressMilliseconds:n,includeOffset:a,includePrefix:u,format:void 0===d?"extended":d})},t.toRFC2822=function(){return tn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},t.toHTTP=function(){return tn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},t.toSQLDate=function(){return tn(this,"yyyy-MM-dd")},t.toSQLTime=function(e){var t=void 0===e?{}:e,i=t.includeOffset,n=void 0===i||i,r=t.includeZone;return nn(this,{includeOffset:n,includeZone:void 0!==r&&r,spaceZone:!0})},t.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},t.toString=function(){return this.isValid?this.toISO():Bi},t.valueOf=function(){return this.toMillis()},t.toMillis=function(){return this.isValid?this.ts:NaN},t.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},t.toJSON=function(){return this.toISO()},t.toBSON=function(){return this.toJSDate()},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=Object.assign({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},t.diff=function(e,t,i){if(void 0===t&&(t="milliseconds"),void 0===i&&(i={}),!this.isValid||!e.isValid)return ci.invalid(this.invalid||e.invalid,"created by diffing an invalid DateTime");var n,r=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},i),o=(n=t,Array.isArray(n)?n:[n]).map(ci.normalizeUnit),s=e.valueOf()>this.valueOf(),a=vi(s?this:e,s?e:this,o,r);return s?a.negate():a},t.diffNow=function(t,i){return void 0===t&&(t="milliseconds"),void 0===i&&(i={}),this.diff(e.now(),t,i)},t.until=function(e){return this.isValid?xi.fromDateTimes(this,e):this},t.hasSame=function(e,t){if(!this.isValid)return!1;var i=e.valueOf(),n=this.setZone(e.zone,{keepLocalTime:!0});return n.startOf(t)<=i&&i<=n.endOf(t)},t.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},t.toRelative=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var i=t.base||e.fromObject({zone:this.zone}),n=t.padding?this<i?-t.padding:t.padding:0,r=["years","months","days","hours","minutes","seconds"],o=t.unit;return Array.isArray(t.unit)&&(r=t.unit,o=void 0),xn(i,this.plus(n),Object.assign(t,{numeric:"always",units:r,unit:o}))},t.toRelativeCalendar=function(t){return void 0===t&&(t={}),this.isValid?xn(t.base||e.fromObject({zone:this.zone}),this,Object.assign(t,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},e.min=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];if(!i.every(e.isDateTime))throw new b("min requires all arguments be DateTimes");return $(i,(function(e){return e.valueOf()}),Math.min)},e.max=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];if(!i.every(e.isDateTime))throw new b("max requires all arguments be DateTimes");return $(i,(function(e){return e.valueOf()}),Math.max)},e.fromFormatExplain=function(e,t,i){void 0===i&&(i={});var n=i,r=n.locale,o=void 0===r?null:r,s=n.numberingSystem,a=void 0===s?null:s;return Mi(dt.fromOpts({locale:o,numberingSystem:a,defaultToEN:!0}),e,t)},e.fromStringExplain=function(t,i,n){return void 0===n&&(n={}),e.fromFormatExplain(t,i,n)},n(e,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?Yi(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Yi(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Yi(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?Zi(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?hi.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?hi.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?hi.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?hi.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.universal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return re(this.year)}},{key:"daysInMonth",get:function(){return se(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?oe(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?ce(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return _}},{key:"DATE_MED",get:function(){return w}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return S}},{key:"DATE_FULL",get:function(){return T}},{key:"DATE_HUGE",get:function(){return O}},{key:"TIME_SIMPLE",get:function(){return I}},{key:"TIME_WITH_SECONDS",get:function(){return R}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return N}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return V}},{key:"TIME_24_SIMPLE",get:function(){return E}},{key:"TIME_24_WITH_SECONDS",get:function(){return M}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return A}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return D}},{key:"DATETIME_SHORT",get:function(){return C}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return j}},{key:"DATETIME_MED",get:function(){return F}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return L}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return P}},{key:"DATETIME_FULL",get:function(){return z}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return Z}},{key:"DATETIME_HUGE",get:function(){return U}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return H}}]),e}();function fn(e){if(hn.isDateTime(e))return e;if(e&&e.valueOf&&B(e.valueOf()))return hn.fromJSDate(e);if(e&&"object"==typeof e)return hn.fromObject(e);throw new b("Unknown datetime argument: "+e+", of type "+typeof e)}t.ou=hn},278:(e,t,i)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var e={};return 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(e){i=null}e[t]=i}return e[t]}}(),s=[];function a(e){for(var t=-1,i=0;i<s.length;i++)if(s[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},n=[],r=0;r<e.length;r++){var o=e[r],c=t.base?o[0]+t.base:o[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var l=a(d),x={css:o[1],media:o[2],sourceMap:o[3]};-1!==l?(s[l].references++,s[l].updater(x)):s.push({identifier:d,updater:m(x,t),references:1}),n.push(d)}return n}function u(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var r=i.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var s=o(e.insert||"head");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(t)}return t}var d,l=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function x(e,t,i,n){var r=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=l(t,r);else{var o=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function h(e,t,i){var n=i.css,r=i.media,o=i.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var f=null,v=0;function m(e,t){var i,n,r;if(t.singleton){var o=v++;i=f||(f=u(t)),n=x.bind(null,i,o,!1),r=x.bind(null,i,o,!0)}else i=u(t),n=h.bind(null,i,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var r=a(i[n]);s[r].references--}for(var o=c(e,t),u=0;u<i.length;u++){var d=a(i[u]);0===s[d].references&&(s[d].updater(),s.splice(d,1))}i=o}}}},417:(e,t,i)=>{e.exports=i(720)("./src/collaboration-core.js")},704:(e,t,i)=>{e.exports=i(79)("./src/core.js")},492:(e,t,i)=>{e.exports=i(79)("./src/engine.js")},273:(e,t,i)=>{e.exports=i(79)("./src/ui.js")},209:(e,t,i)=>{e.exports=i(79)("./src/utils.js")},720:e=>{"use strict";e.exports=CKEditor5.collaborationDll},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={id:n,exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{RevisionHistory:()=>Bs,RevisionTracker:()=>Kn});var e=i(704),t=i(209),r=i(417),o=i(492);const s=function(){this.__data__=[],this.size=0};const a=function(e,t){return e===t||e!=e&&t!=t};const c=function(e,t){for(var i=e.length;i--;)if(a(e[i][0],t))return i;return-1};var u=Array.prototype.splice;const d=function(e){var t=this.__data__,i=c(t,e);return!(i<0)&&(i==t.length-1?t.pop():u.call(t,i,1),--this.size,!0)};const l=function(e){var t=this.__data__,i=c(t,e);return i<0?void 0:t[i][1]};const x=function(e){return c(this.__data__,e)>-1};const h=function(e,t){var i=this.__data__,n=c(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this};function f(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}f.prototype.clear=s,f.prototype.delete=d,f.prototype.get=l,f.prototype.has=x,f.prototype.set=h;const v=f;const m=function(){this.__data__=new v,this.size=0};const b=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i};const g=function(e){return this.__data__.get(e)};const y=function(e){return this.__data__.has(e)};const p="object"==typeof global&&global&&global.Object===Object&&global;var k="object"==typeof self&&self&&self.Object===Object&&self;const _=p||k||Function("return this")();const w=_.Symbol;var S=Object.prototype,T=S.hasOwnProperty,O=S.toString,I=w?w.toStringTag:void 0;const R=function(e){var t=T.call(e,I),i=e[I];try{e[I]=void 0;var n=!0}catch(e){}var r=O.call(e);return n&&(t?e[I]=i:delete e[I]),r};var N=Object.prototype.toString;const V=function(e){return N.call(e)};var E="[object Null]",M="[object Undefined]",A=w?w.toStringTag:void 0;const D=function(e){return null==e?void 0===e?M:E:A&&A in Object(e)?R(e):V(e)};const C=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var j="[object AsyncFunction]",F="[object Function]",L="[object GeneratorFunction]",P="[object Proxy]";const z=function(e){if(!C(e))return!1;var t=D(e);return t==F||t==L||t==j||t==P};const Z=_["__core-js_shared__"];var U,H=(U=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+U:"";const q=function(e){return!!H&&H in e};var B=Function.prototype.toString;const W=function(e){if(null!=e){try{return B.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var G=/^\[object .+?Constructor\]$/,Y=Function.prototype,J=Object.prototype,$=Y.toString,K=J.hasOwnProperty,X=RegExp("^"+$.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Q=function(e){return!(!C(e)||q(e))&&(z(e)?X:G).test(W(e))};const ee=function(e,t){return null==e?void 0:e[t]};const te=function(e,t){var i=ee(e,t);return Q(i)?i:void 0};const ie=te(_,"Map");const ne=te(Object,"create");const re=function(){this.__data__=ne?ne(null):{},this.size=0};const oe=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var se="__lodash_hash_undefined__",ae=Object.prototype.hasOwnProperty;const ce=function(e){var t=this.__data__;if(ne){var i=t[e];return i===se?void 0:i}return ae.call(t,e)?t[e]:void 0};var ue=Object.prototype.hasOwnProperty;const de=function(e){var t=this.__data__;return ne?void 0!==t[e]:ue.call(t,e)};var le="__lodash_hash_undefined__";const xe=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=ne&&void 0===t?le:t,this};function he(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}he.prototype.clear=re,he.prototype.delete=oe,he.prototype.get=ce,he.prototype.has=de,he.prototype.set=xe;const fe=he;const ve=function(){this.size=0,this.__data__={hash:new fe,map:new(ie||v),string:new fe}};const me=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const be=function(e,t){var i=e.__data__;return me(t)?i["string"==typeof t?"string":"hash"]:i.map};const ge=function(e){var t=be(this,e).delete(e);return this.size-=t?1:0,t};const ye=function(e){return be(this,e).get(e)};const pe=function(e){return be(this,e).has(e)};const ke=function(e,t){var i=be(this,e),n=i.size;return i.set(e,t),this.size+=i.size==n?0:1,this};function _e(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}_e.prototype.clear=ve,_e.prototype.delete=ge,_e.prototype.get=ye,_e.prototype.has=pe,_e.prototype.set=ke;const we=_e;var Se=200;const Te=function(e,t){var i=this.__data__;if(i instanceof v){var n=i.__data__;if(!ie||n.length<Se-1)return n.push([e,t]),this.size=++i.size,this;i=this.__data__=new we(n)}return i.set(e,t),this.size=i.size,this};function Oe(e){var t=this.__data__=new v(e);this.size=t.size}Oe.prototype.clear=m,Oe.prototype.delete=b,Oe.prototype.get=g,Oe.prototype.has=y,Oe.prototype.set=Te;const Ie=Oe;const Re=function(e,t){for(var i=-1,n=null==e?0:e.length;++i<n&&!1!==t(e[i],i,e););return e};const Ne=function(){try{var e=te(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();const Ve=function(e,t,i){"__proto__"==t&&Ne?Ne(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i};var Ee=Object.prototype.hasOwnProperty;const Me=function(e,t,i){var n=e[t];Ee.call(e,t)&&a(n,i)&&(void 0!==i||t in e)||Ve(e,t,i)};const Ae=function(e,t,i,n){var r=!i;i||(i={});for(var o=-1,s=t.length;++o<s;){var a=t[o],c=n?n(i[a],e[a],a,i,e):void 0;void 0===c&&(c=e[a]),r?Ve(i,a,c):Me(i,a,c)}return i};const De=function(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n};const Ce=function(e){return null!=e&&"object"==typeof e};var je="[object Arguments]";const Fe=function(e){return Ce(e)&&D(e)==je};var Le=Object.prototype,Pe=Le.hasOwnProperty,ze=Le.propertyIsEnumerable;const Ze=Fe(function(){return arguments}())?Fe:function(e){return Ce(e)&&Pe.call(e,"callee")&&!ze.call(e,"callee")};const Ue=Array.isArray;const He=function(){return!1};var qe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Be=qe&&"object"==typeof module&&module&&!module.nodeType&&module,We=Be&&Be.exports===qe?_.Buffer:void 0;const Ge=(We?We.isBuffer:void 0)||He;var Ye=9007199254740991,Je=/^(?:0|[1-9]\d*)$/;const $e=function(e,t){var i=typeof e;return!!(t=null==t?Ye:t)&&("number"==i||"symbol"!=i&&Je.test(e))&&e>-1&&e%1==0&&e<t};var Ke=9007199254740991;const Xe=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ke};var Qe={};Qe["[object Float32Array]"]=Qe["[object Float64Array]"]=Qe["[object Int8Array]"]=Qe["[object Int16Array]"]=Qe["[object Int32Array]"]=Qe["[object Uint8Array]"]=Qe["[object Uint8ClampedArray]"]=Qe["[object Uint16Array]"]=Qe["[object Uint32Array]"]=!0,Qe["[object Arguments]"]=Qe["[object Array]"]=Qe["[object ArrayBuffer]"]=Qe["[object Boolean]"]=Qe["[object DataView]"]=Qe["[object Date]"]=Qe["[object Error]"]=Qe["[object Function]"]=Qe["[object Map]"]=Qe["[object Number]"]=Qe["[object Object]"]=Qe["[object RegExp]"]=Qe["[object Set]"]=Qe["[object String]"]=Qe["[object WeakMap]"]=!1;const et=function(e){return Ce(e)&&Xe(e.length)&&!!Qe[D(e)]};const tt=function(e){return function(t){return e(t)}};var it="object"==typeof exports&&exports&&!exports.nodeType&&exports,nt=it&&"object"==typeof module&&module&&!module.nodeType&&module,rt=nt&&nt.exports===it&&p.process;const ot=function(){try{var e=nt&&nt.require&&nt.require("util").types;return e||rt&&rt.binding&&rt.binding("util")}catch(e){}}();var st=ot&&ot.isTypedArray;const at=st?tt(st):et;var ct=Object.prototype.hasOwnProperty;const ut=function(e,t){var i=Ue(e),n=!i&&Ze(e),r=!i&&!n&&Ge(e),o=!i&&!n&&!r&&at(e),s=i||n||r||o,a=s?De(e.length,String):[],c=a.length;for(var u in e)!t&&!ct.call(e,u)||s&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||$e(u,c))||a.push(u);return a};var dt=Object.prototype;const lt=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||dt)};const xt=function(e,t){return function(i){return e(t(i))}};const ht=xt(Object.keys,Object);var ft=Object.prototype.hasOwnProperty;const vt=function(e){if(!lt(e))return ht(e);var t=[];for(var i in Object(e))ft.call(e,i)&&"constructor"!=i&&t.push(i);return t};const mt=function(e){return null!=e&&Xe(e.length)&&!z(e)};const bt=function(e){return mt(e)?ut(e):vt(e)};const gt=function(e,t){return e&&Ae(t,bt(t),e)};const yt=function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t};var pt=Object.prototype.hasOwnProperty;const kt=function(e){if(!C(e))return yt(e);var t=lt(e),i=[];for(var n in e)("constructor"!=n||!t&&pt.call(e,n))&&i.push(n);return i};const _t=function(e){return mt(e)?ut(e,!0):kt(e)};const wt=function(e,t){return e&&Ae(t,_t(t),e)};var St="object"==typeof exports&&exports&&!exports.nodeType&&exports,Tt=St&&"object"==typeof module&&module&&!module.nodeType&&module,Ot=Tt&&Tt.exports===St?_.Buffer:void 0,It=Ot?Ot.allocUnsafe:void 0;const Rt=function(e,t){if(t)return e.slice();var i=e.length,n=It?It(i):new e.constructor(i);return e.copy(n),n};const Nt=function(e,t){var i=-1,n=e.length;for(t||(t=Array(n));++i<n;)t[i]=e[i];return t};const Vt=function(e,t){for(var i=-1,n=null==e?0:e.length,r=0,o=[];++i<n;){var s=e[i];t(s,i,e)&&(o[r++]=s)}return o};const Et=function(){return[]};var Mt=Object.prototype.propertyIsEnumerable,At=Object.getOwnPropertySymbols;const Dt=At?function(e){return null==e?[]:(e=Object(e),Vt(At(e),(function(t){return Mt.call(e,t)})))}:Et;const Ct=function(e,t){return Ae(e,Dt(e),t)};const jt=function(e,t){for(var i=-1,n=t.length,r=e.length;++i<n;)e[r+i]=t[i];return e};const Ft=xt(Object.getPrototypeOf,Object);const Lt=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)jt(t,Dt(e)),e=Ft(e);return t}:Et;const Pt=function(e,t){return Ae(e,Lt(e),t)};const zt=function(e,t,i){var n=t(e);return Ue(e)?n:jt(n,i(e))};const Zt=function(e){return zt(e,bt,Dt)};const Ut=function(e){return zt(e,_t,Lt)};const Ht=te(_,"DataView");const qt=te(_,"Promise");const Bt=te(_,"Set");const Wt=te(_,"WeakMap");var Gt="[object Map]",Yt="[object Promise]",Jt="[object Set]",$t="[object WeakMap]",Kt="[object DataView]",Xt=W(Ht),Qt=W(ie),ei=W(qt),ti=W(Bt),ii=W(Wt),ni=D;(Ht&&ni(new Ht(new ArrayBuffer(1)))!=Kt||ie&&ni(new ie)!=Gt||qt&&ni(qt.resolve())!=Yt||Bt&&ni(new Bt)!=Jt||Wt&&ni(new Wt)!=$t)&&(ni=function(e){var t=D(e),i="[object Object]"==t?e.constructor:void 0,n=i?W(i):"";if(n)switch(n){case Xt:return Kt;case Qt:return Gt;case ei:return Yt;case ti:return Jt;case ii:return $t}return t});const ri=ni;var oi=Object.prototype.hasOwnProperty;const si=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&oi.call(e,"index")&&(i.index=e.index,i.input=e.input),i};const ai=_.Uint8Array;const ci=function(e){var t=new e.constructor(e.byteLength);return new ai(t).set(new ai(e)),t};const ui=function(e,t){var i=t?ci(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)};var di=/\w*$/;const li=function(e){var t=new e.constructor(e.source,di.exec(e));return t.lastIndex=e.lastIndex,t};var xi=w?w.prototype:void 0,hi=xi?xi.valueOf:void 0;const fi=function(e){return hi?Object(hi.call(e)):{}};const vi=function(e,t){var i=t?ci(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)};var mi="[object Boolean]",bi="[object Date]",gi="[object Map]",yi="[object Number]",pi="[object RegExp]",ki="[object Set]",_i="[object String]",wi="[object Symbol]",Si="[object ArrayBuffer]",Ti="[object DataView]",Oi="[object Float32Array]",Ii="[object Float64Array]",Ri="[object Int8Array]",Ni="[object Int16Array]",Vi="[object Int32Array]",Ei="[object Uint8Array]",Mi="[object Uint8ClampedArray]",Ai="[object Uint16Array]",Di="[object Uint32Array]";const Ci=function(e,t,i){var n=e.constructor;switch(t){case Si:return ci(e);case mi:case bi:return new n(+e);case Ti:return ui(e,i);case Oi:case Ii:case Ri:case Ni:case Vi:case Ei:case Mi:case Ai:case Di:return vi(e,i);case gi:return new n;case yi:case _i:return new n(e);case pi:return li(e);case ki:return new n;case wi:return fi(e)}};var ji=Object.create;const Fi=function(){function e(){}return function(t){if(!C(t))return{};if(ji)return ji(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}();const Li=function(e){return"function"!=typeof e.constructor||lt(e)?{}:Fi(Ft(e))};var Pi="[object Map]";const zi=function(e){return Ce(e)&&ri(e)==Pi};var Zi=ot&&ot.isMap;const Ui=Zi?tt(Zi):zi;var Hi="[object Set]";const qi=function(e){return Ce(e)&&ri(e)==Hi};var Bi=ot&&ot.isSet;const Wi=Bi?tt(Bi):qi;var Gi=1,Yi=2,Ji=4,$i="[object Arguments]",Ki="[object Function]",Xi="[object GeneratorFunction]",Qi="[object Object]",en={};en[$i]=en["[object Array]"]=en["[object ArrayBuffer]"]=en["[object DataView]"]=en["[object Boolean]"]=en["[object Date]"]=en["[object Float32Array]"]=en["[object Float64Array]"]=en["[object Int8Array]"]=en["[object Int16Array]"]=en["[object Int32Array]"]=en["[object Map]"]=en["[object Number]"]=en[Qi]=en["[object RegExp]"]=en["[object Set]"]=en["[object String]"]=en["[object Symbol]"]=en["[object Uint8Array]"]=en["[object Uint8ClampedArray]"]=en["[object Uint16Array]"]=en["[object Uint32Array]"]=!0,en["[object Error]"]=en[Ki]=en["[object WeakMap]"]=!1;const tn=function e(t,i,n,r,o,s){var a,c=i&Gi,u=i&Yi,d=i&Ji;if(n&&(a=o?n(t,r,o,s):n(t)),void 0!==a)return a;if(!C(t))return t;var l=Ue(t);if(l){if(a=si(t),!c)return Nt(t,a)}else{var x=ri(t),h=x==Ki||x==Xi;if(Ge(t))return Rt(t,c);if(x==Qi||x==$i||h&&!o){if(a=u||h?{}:Li(t),!c)return u?Pt(t,wt(a,t)):Ct(t,gt(a,t))}else{if(!en[x])return o?t:{};a=Ci(t,x,c)}}s||(s=new Ie);var f=s.get(t);if(f)return f;s.set(t,a),Wi(t)?t.forEach((function(r){a.add(e(r,i,n,r,t,s))})):Ui(t)&&t.forEach((function(r,o){a.set(o,e(r,i,n,o,t,s))}));var v=l?void 0:(d?u?Ut:Zt:u?_t:bt)(t);return Re(v||t,(function(r,o){v&&(r=t[o=r]),Me(a,o,e(r,i,n,o,t,s))})),a};var nn=1,rn=4;const on=function(e){return tn(e,nn|rn)};var sn="[object Symbol]";const an=function(e){return"symbol"==typeof e||Ce(e)&&D(e)==sn};var cn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,un=/^\w*$/;const dn=function(e,t){if(Ue(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!an(e))||(un.test(e)||!cn.test(e)||null!=t&&e in Object(t))};var ln="Expected a function";function xn(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(ln);var i=function(){var n=arguments,r=t?t.apply(this,n):n[0],o=i.cache;if(o.has(r))return o.get(r);var s=e.apply(this,n);return i.cache=o.set(r,s)||o,s};return i.cache=new(xn.Cache||we),i}xn.Cache=we;const hn=xn;var fn=500;var vn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mn=/\\(\\)?/g;const bn=function(e){var t=hn(e,(function(e){return i.size===fn&&i.clear(),e})),i=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(vn,(function(e,i,n,r){t.push(n?r.replace(mn,"$1"):i||e)})),t}));const gn=function(e,t){for(var i=-1,n=null==e?0:e.length,r=Array(n);++i<n;)r[i]=t(e[i],i,e);return r};var yn=1/0,pn=w?w.prototype:void 0,kn=pn?pn.toString:void 0;const _n=function e(t){if("string"==typeof t)return t;if(Ue(t))return gn(t,e)+"";if(an(t))return kn?kn.call(t):"";var i=t+"";return"0"==i&&1/t==-yn?"-0":i};const wn=function(e){return null==e?"":_n(e)};const Sn=function(e,t){return Ue(e)?e:dn(e,t)?[e]:bn(wn(e))};var Tn=1/0;const On=function(e){if("string"==typeof e||an(e))return e;var t=e+"";return"0"==t&&1/e==-Tn?"-0":t};const In=function(e,t,i,n){if(!C(e))return e;for(var r=-1,o=(t=Sn(t,e)).length,s=o-1,a=e;null!=a&&++r<o;){var c=On(t[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(r!=s){var d=a[c];void 0===(u=n?n(d,c,a):void 0)&&(u=C(d)?d:$e(t[r+1])?[]:{})}Me(a,c,u),a=a[c]}return e};const Rn=function(e,t,i){return null==e?e:In(e,t,i)};const Nn=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};const Vn=function(e,t){for(var i=0,n=(t=Sn(t,e)).length;null!=e&&i<n;)e=e[On(t[i++])];return i&&i==n?e:void 0};const En=function(e,t,i){var n=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(i=i>r?r:i)<0&&(i+=r),r=t>i?0:i-t>>>0,t>>>=0;for(var o=Array(r);++n<r;)o[n]=e[n+t];return o};const Mn=function(e,t){return t.length<2?e:Vn(e,En(t,0,-1))};const An=function(e,t){return t=Sn(t,e),null==(e=Mn(e,t))||delete e[On(Nn(t))]};const Dn=function(e,t){return null==e||An(e,t)},Cn=["diffData","set","creatorId","authorsIds","fromVersion","toVersion","setName","authors","fire","_update","removeAttribute","createdAt","creator","attributes","name","setAttribute"];var jn,Fn;jn=Cn,Fn=231,function(e){for(;--e;)jn.push(jn.shift())}(++Fn);const Ln=function(e,t){return Cn[e-=0]};class Pn{constructor(e){this.id=e.id||(0,t.uid)(),this[Ln("0xa")](Ln("0x7"),e[Ln("0x7")]||""),this[Ln("0x5")]=e.creator||null,this[Ln("0x0")]=e.authors||[],this.set(Ln("0x4"),e[Ln("0x4")]||new Date),this.diffData=e[Ln("0x9")]||null,this[Ln("0xa")]("attributes",e[Ln("0x6")]||{}),this[Ln("0xe")]=e[Ln("0xe")]||0,this[Ln("0xd")]=e[Ln("0xd")]||0}[Ln("0xf")](e){this._update({name:e})}[Ln("0x8")](e,t){const i=on(this[Ln("0x6")]);Rn(i,e,t),this[Ln("0x2")]({attributes:i})}[Ln("0x3")](e){const t=on(this[Ln("0x6")]);Dn(t,e),this[Ln("0x2")]({attributes:t})}[Ln("0x2")](e,t=!1){let i=!1;const n={id:this.id};for(const t of[Ln("0x7"),Ln("0x4"),Ln("0x9"),Ln("0x0"),Ln("0x6"),Ln("0xe"),Ln("0xd"),Ln("0xb")]){const r=e[t];void 0!==r&&r!==this[t]&&(this[t]=r,n[t]=r,i=!0)}i&&(n[Ln("0x0")]&&(n[Ln("0xc")]=n.authors.map((e=>e.id)),delete n.authors),this[Ln("0x1")](Ln("0x2"),n,t))}toJSON(){return{id:this.id,name:this.name,creatorId:this[Ln("0x5")]?this[Ln("0x5")].id:null,authorsIds:this[Ln("0x0")].map((e=>e.id)),diffData:this.diffData,createdAt:this[Ln("0x4")],attributes:this[Ln("0x6")],fromVersion:this[Ln("0xd")],toVersion:this[Ln("0xe")]}}}(0,t.mix)(Pn,t.ObservableMixin);const zn=["config","then","createdAt","editor","data","reverse","afterInit","getRevisions","fromVersion","getIndex","getRevision","push","isNaN","later","creatorId","pluginName","getRevisionsInDiff","from","getUser","oldRevisionId","attributes","_revisions","plugins","Users","substring","requires","map","get","getRevisionsIterator","fromCharCode","parse","toVersion","replace","addRevision","name","earlier","length","slice","pop"];var Zn,Un;Zn=zn,Un=441,function(e){for(;--e;)Zn.push(Zn.shift())}(++Un);const Hn=function(e,t){return zn[e-=0]};class qn extends e.Plugin{static get[Hn("0xd")](){return[r.Users]}static get[Hn("0x3")](){return"RevisionsRepository"}constructor(...e){super(...e),this[Hn("0x9")]=new t.Collection}get[Hn("0x18")](){return this._revisions[Hn("0x18")]}[Hn("0x21")](){!function(e){const t=[1,85,78,115,198,255,50,112,83,87,161],i=f([52,48,52,54,48,52,49,52]),n=[127,34,6,211,167,86,146,199,132,160,18],r=n[0]*t[1],o=n[0]*t[2],s=n[2]*t[2],a=f([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122]),c=function(r){if(function(){if(!e[f([112,108,117,103,105,110,115])][f([104,97,115])](f([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number[Hn("0x0")](Number(e))&&window[e]===s)return!0;return!1}())return d(f([108,105,99,101,110,115,101,75,101,121,86,97,108,105,100]));if(e[f([112,108,117,103,105,110,115])][f([104,97,115])](f([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[f([115,116,97,116,101])]==f([99,111,110,110,101,99,116,101,100]))return window[l()]=s,d(f([108,105,99,101,110,115,101,75,101,121,86,97,108,105,100]));if(e[f([112,108,117,103,105,110,115])][f([104,97,115])](f([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))&&e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[f([114,101,115,117,108,116])]==f([101,110,100]))return d(f([108,105,99,101,110,115,101,75,101,121,86,97,108,105,100]));try{const e=function(e){const i=[29,221,175,90,231,133,239,240,75,180];return function(e,t){const i=atob(e),n=Array[Hn("0x5")](function(e){const t=new Uint8Array(e[Hn("0x18")]);for(let i=0;i<e[Hn("0x18")];i++)t[i]=e.charCodeAt(i);return t}(i)),r=n[Hn("0x1a")](),o=n.pop();return function(e){let t="";for(const i of e)t+=String[Hn("0x11")](i);return t}(function(e,t,i){const n={};n[f([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},n[f([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],n[f([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],n[f([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],n[f([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],n[f([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],n[f([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],n[f([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],n[f([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],n[f([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],n[f([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const r=new Uint8Array(16);for(let e=15;e>=0;--e)r[e]=i%256,i=parseInt(i/256);let o=null,s=16;const a=new Uint8Array(t),c=[],u=[];h();for(let t=0;t<e[Hn("0x18")];t++)16===s&&(o=x(r),s=0,l(r)),e[t]^=o[s++];return e;function d(e){const t=[];for(let i=0;i<e[Hn("0x18")];i+=4)t[Hn("0x26")](e[i]<<24|e[i+1]<<16|e[i+2]<<8|e[i+3]);return t}function l(e){for(let t=15;t>=0;t--){if(255!==e[t]){e[t]++;break}e[t]=0}}function x(e){const t=c[Hn("0x18")]-1,i=[0,0,0,0];let r=d(e);for(let e=0;e<4;e++)r[e]^=c[0][e];for(let e=1;e<t;e++){for(let t=0;t<4;t++)i[t]=n[f([84,49])][r[t]>>24&255]^n[f([84,50])][r[(t+1)%4]>>16&255]^n[f([84,51])][r[(t+2)%4]>>8&255]^n[f([84,52])][255&r[(t+3)%4]]^c[e][t];r=i[Hn("0x19")]()}const o=new Uint8Array(16);let s;for(let e=0;e<4;e++)s=c[t][e],o[4*e]=255&(n[f([83])][r[e]>>24&255]^s>>24),o[4*e+1]=255&(n[f([83])][r[(e+1)%4]>>16&255]^s>>16),o[4*e+2]=255&(n[f([83])][r[(e+2)%4]>>8&255]^s>>8),o[4*e+3]=255&(n[f([83])][255&r[(e+3)%4]]^s);return o}function h(){const e=n[f([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][a[Hn("0x18")]];for(let t=0;t<=e;t++)c[Hn("0x26")]([0,0,0,0]),u[Hn("0x26")]([0,0,0,0]);const t=4*(e+1),i=a[Hn("0x18")]/4,r=d(a);let o;for(let t=0;t<i;t++)o=t>>2,c[o][t%4]=r[t],u[e-o][t%4]=r[t];let s,l=0,x=i;for(;x<t;){s=r[i-1],r[0]^=n[f([83])][s>>16&255]<<24^n[f([83])][s>>8&255]<<16^n[f([83])][255&s]<<8^n[f([83])][s>>24&255]^n[f([114,99,111,110])][l]<<24,l+=1;for(let e=1;e<i/2;e++)r[e]^=r[e-1];s=r[i/2-1],r[i/2]^=n[f([83])][255&s]^n[f([83])][s>>8&255]<<8^n[f([83])][s>>16&255]<<16^n[f([83])][s>>24&255]<<24;for(let e=i/2+1;e<i;e++)r[e]^=r[e-1];let o,a,d=0;for(;d<i&&x<t;)o=x>>2,a=x%4,c[o][a]=r[d],u[e-o][a]=r[d++],x++}for(let t=1;t<e;t++)for(let e=0;e<4;e++)s=u[t][e],u[t][e]=n[f([85,49])][s>>24&255]^n[f([85,50])][s>>16&255]^n[f([85,51])][s>>8&255]^n[f([85,52])][255&s]}}(n,t,o+256*r))}(e,new(window[f([85,105,110,116,56,65,114,114,97,121])])([...t,...i,...n]))}(r),o=JSON[Hn("0x12")](e),s=parseInt(o[f([49])]),a=parseInt(o[f([51])]),c=parseInt(o[f([52])])||0,u=parseInt(o[f([53])])||0;return 8&c?u&&!window[f([111,112,101,110])][f([99,108,111,115,101,100])]||parseInt(i)/2>s?d(f([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100])):d(f(a?[108,105,99,101,110,115,101,75,101,121,84,114,105,97,108]:[108,105,99,101,110,115,101,75,101,121,86,97,108,105,100])):d(f([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]))}catch(e){return d(f([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]))}}(e[Hn("0x1b")][Hn("0xf")](f([108,105,99,101,110,115,101,75,101,121])));if(c==f([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]))x(e);else if(c==f([108,105,99,101,110,115,101,75,101,121,84,114,105,97,108])){const i=function(){if(!e[f([112,108,117,103,105,110,115])][f([104,97,115])](f([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number[Hn("0x0")](Number(e))){if(window[e]===r)return f([116,105,109,101]);if(window[e]===o)return f([114,101,118,105,115,105,111,110,115])}return!1}();i&&u(e,i);const s=function(){let i=n[6]*t[8]*t[6];return e[f([112,108,117,103,105,110,115])][f([104,97,115])](f([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(i/=10),i}();window[f([115,101,116,84,105,109,101,111,117,116])]((()=>{u(e,f([116,105,109,101]))}),s);const a=e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[f([95,114,101,118,105,115,105,111,110,115])];a[Hn("0x18")]>=7?u(e,f([114,101,118,105,115,105,111,110,115])):a.on(f([97,100,100]),(()=>{a[Hn("0x18")]>=7&&u(e,f([114,101,118,105,115,105,111,110,115]))}))}function u(e,t){x(e),d(f([108,105,99,101,110,115,101,75,101,121,84,114,105,97,108,76,105,109,105,116,58])+t),window[l()]=t===f([116,105,109,101])?r:o}function d(t){const i=l();return e[i]=t,t}function l(){const e=String(window[f([112,101,114,102,111,114,109,97,110,99,101])][f([110,111,119])]())[Hn("0x14")](f([46]),"");let t="";for(let i=0;i<e.length;i+=2){const n=parseInt(e[Hn("0xc")](i,i+2))%a[Hn("0x18")];t+=a[n]}return t}function x(e){function t(){e[f([112,108,117,103,105,110,115])][f([104,97,115])](f([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[f([117,110,98,105,110,100])](f([105,115,69,110,97,98,108,101,100])),e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[f([105,115,69,110,97,98,108,101,100])]=!1,e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[f([117,112,100,97,116,101])]=h,e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[f([115,97,118,101,82,101,118,105,115,105,111,110])]=h,e[f([109,111,100,101,108])][f([99,104,97,110,103,101])]=h,e[f([109,111,100,101,108])][f([101,110,113,117,101,117,101,67,104,97,110,103,101])]=h,e[f([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](f([109,111,100,101,108]))),e[f([112,108,117,103,105,110,115])][f([104,97,115])](f([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[f([117,110,98,105,110,100])](f([105,115,69,110,97,98,108,101,100])),e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[f([105,115,69,110,97,98,108,101,100])]=!1,e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[f([99,111,109,112,97,114,101])]=h,e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[f([95,103,101,116,68,105,102,102])]=h)}e[f([115,116,97,116,101])]==f([114,101,97,100,121])?t():e[f([111,110,99,101])](f([114,101,97,100,121]),(()=>{if(e[f([112,108,117,103,105,110,115])][f([104,97,115])](f([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&t(),e[f([112,108,117,103,105,110,115])][f([104,97,115])](f([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const i=e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),n=i[Hn("0x25")](0),r=i.getEarlierVisibleRevision(n.id);e[f([112,108,117,103,105,110,115])][f([103,101,116])](f([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[f([99,111,109,112,97,114,101])](n.id,r?r.id:null,1)[Hn("0x1c")]((()=>t()))}}))}function h(){return null}function f(e){return e[Hn("0xe")]((e=>String.fromCharCode(e))).join("")}}(this[Hn("0x1e")])}createRevision(e){const t=this[Hn("0x1e")][Hn("0xa")][Hn("0xf")](Hn("0xb"));return new Pn({id:e.id,name:e[Hn("0x16")],creator:e[Hn("0x2")]?t[Hn("0x6")](e[Hn("0x2")]):null,diffData:e.diffData||e[Hn("0x1f")],authors:e.authorsIds[Hn("0xe")]((e=>t[Hn("0x6")](e))),createdAt:new Date(e[Hn("0x1d")]),attributes:e[Hn("0x8")],fromVersion:e[Hn("0x23")],toVersion:e[Hn("0x13")]})}[Hn("0x15")](e,t=0){this._revisions.add(e,t)}[Hn("0x25")](e){return this[Hn("0x9")].get(e)}[Hn("0x22")]({toJSON:e=!1}={}){const t=Array.from(this[Hn("0x9")]);return t[Hn("0x20")](),e?t.map((e=>e.toJSON())):t}[Hn("0x24")](e){return this._revisions.getIndex(e)}getEarlierVisibleRevision(e){const[,t]=this.getRevisionsIterator(e,{direction:Hn("0x17")});return t}getLaterVisibleRevision(e){const[,t]=this[Hn("0x10")](e,{direction:Hn("0x1")});return t}[Hn("0x4")](e){const t=[];for(const i of this[Hn("0x10")](e.newRevisionId))if(t.push(i),i.id===e[Hn("0x7")])break;return t}*getRevisionsIterator(e,{direction:t=Hn("0x17"),filter:i=(()=>!0)}={}){const n=Hn("0x17")===t?1:-1;let r=this._revisions[Hn("0xf")](e),o=this[Hn("0x24")](r);for(yield r;r;){if(o+=n,r=this.getRevision(o),!r)return;i(r)&&(yield r)}}}function Bn(e,t,i){const n=e.t;switch(t){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision (optional)":return n("Name of the revision (optional)");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"})}}const Wn=["RevisionsRepository","editor","_removeRevisionMarkers","clear","_startingRevisionId","bind","revision-end","addRevision","saveRevision","_getState","attributes","forEach","parse","merge","createRevision","revision:","_getBaseVids","item","_saveMetaData","get","_touched","_pendingAction","conversion","repository","_savedMetaData","update","createPositionFromPath","toView","_loadRevisionData","_handleMergeOperation","keys","affectsData","_prepareViewToSave","set","_getPreviousFrom","processor","insertionPosition","getChild","reverse","reinsert","path","useFillerType","sort","addRevisionData","_createFromRanges","version","marker","history","offsetSize","elementStart","_copyMarkers","values","_revisionDataBuilder","_handleMarkerOperation","_fixPosition","has","Users","PendingActions","getOperation","loadState","insertion","splitPosition","_isPendingUpdate","remove","length","_markers","pluginName","_calculateMetaData","_lastFrom","targetPosition","from","add","define","_touchedMarkers","position","plugins","parent","deletion","buildRevisionData","createPositionBefore","root","range","isEnabled","oldRange","deletions","max","isEqual","upcast","toVersion","stickiness","rootName","_removePendingAction","getRevisions","adapter","element","vid_start","init","start","_authorId","_setConversion","_execute","locale","_idsRoots","nodes","_cloneOperation","revisionHistory.resumeUnsavedRevision","getChildren","createPositionAt","offset","_createCurrentRevision","split","_initialRevisionId","_markChanges","_makeRevision","currentRevision","view","tableCell","_reset","vid","_generateTape","authors","_replaceEditorDataWithRevisionData","_addPendingAction","insertions","collaboration.channelId","_startingVersion","getRevision","trim","_source","documentFragment","_operations","creator","newRange","getData","default","then","sendBufferedUpdates","initialData","getRevisionDocumentData","end","insert","revision","createdAt","getLatestVersion","_removeMetaData","_handleOperation","stringify","_makeModelFromViewString","getTransformedByOperation","getAncestors","elementEnd","_handleSplitOperation","data","push","fromVersion","initial","_bufferUpdate","type","RevisionTracker","slice","editing","graveyardPosition","getCurrentRevisionId","previousPosition","_getVidAttributeName","string","$graveyard","_update","text","hasContent","markerToData","getUser","for","config","vid_end","children","_clone","_createInitialRevision","_revisionId","getAttribute","size","_continueCurrentRevision","_loadedStateData","keepParagraph","nodeAfter","_diffRoots","updateRevisions","source","_bufferedUpdates","find","getRootNames","toModel","move","data-revision-","document","createRangeIn","$text","ready","_loadState","startsWith","_fixOperation","getNodeByPath","afterInit","toData","_lastTo","resolve","map","sourcePosition","_fixRange","_rootNames","getTime","model","reInit","diffData","baseVersion","_findInsertionIndex","_handleMoveOperation","authorsIds","filter","howMany","_transformMarkers","_setAttribute","_baseRoots","getWalker","_processRootBeforeSave","markers","setRevisionData","getAttributes","childCount","_applyOperations","NEGATIVE_INFINITY","creatorId","_handleInsertOperation","userId","isReady","RealTimeCollaborationClient","_baseIdsRoots","_getViewJson","_getFromVersion","name","roots","_makeIdsRoot","delete","createRange","clone"];var Gn,Yn;Gn=Wn,Yn=418,function(e){for(;--e;)Gn.push(Gn.shift())}(++Yn);const Jn=function(e,t){return Wn[e-=0]},$n={c:o.ViewContainerElement,a:o.ViewAttributeElement,e:o.ViewEmptyElement,r:o.ViewRawElement,u:o.ViewUIElement};class Kn extends e.Plugin{static get[Jn("0x8a")](){return Jn("0xe6")}static get requires(){return[r.Users,qn,e.PendingActions]}constructor(...e){super(...e),this[Jn("0xa5")]=null,this.set(Jn("0x3d"),!1),this[Jn("0x69")](Jn("0x9a"),!0),this[Jn("0xba")]=null;const i=(0,t.uid)();this[Jn("0xc8")]={history:this[Jn("0x49")][Jn("0x26")][Jn("0x15")][Jn("0x77")],getLatestVersion:()=>Promise.resolve(this[Jn("0x49")][Jn("0x26")][Jn("0x15")][Jn("0x75")]),getCurrentRevisionId:()=>i},this._revisionDataBuilder=new Qn(this[Jn("0x49")]),this[Jn("0xb7")]=this.editor.config[Jn("0x5b")](Jn("0xc4"))||Jn("0xe3"),this[Jn("0x69")]("isPendingUpdate",!1),this[Jn("0xf")]=new Map,this[Jn("0x49")].config[Jn("0x90")](Jn("0xb1"),!0),this[Jn("0x9")]=null,this[Jn("0x49")][Jn("0x5e")][Jn("0xf4")](Jn("0x9f")).dataToMarker({view:"revision"})}init(){this[Jn("0x5f")]=this.editor.plugins[Jn("0x5b")](Jn("0x48")),this[Jn("0xab")](),this[Jn("0x49")][Jn("0xe0")].on(Jn("0x18"),(()=>{const e=this[Jn("0x5f")].getRevision(0),t=e&&null===e.creator?e:null;if(this[Jn("0x8")]=!!t&&this[Jn("0x49")].config[Jn("0x5b")](Jn("0xb1")),this[Jn("0x49")][Jn("0x93")][Jn("0x7f")](Jn("0x3e"))){const i=this._source.getCurrentRevisionId(),n=this[Jn("0x5f")][Jn("0xc6")](i);if(n)this._startingVersion=n[Jn("0xe2")],this[Jn("0x8")]=!1;else{const i=this._source[Jn("0x77")][Jn("0xca")][Jn("0x10")]((e=>!e._isInit)),n=i?i.baseVersion:this[Jn("0xc8")][Jn("0x77")][Jn("0x75")];e?(e[Jn("0xa0")]<n&&e[Jn("0xef")]({toVersion:n}),this[Jn("0x8")]?(this[Jn("0xc8")][Jn("0xea")]=()=>t.id,this[Jn("0xc5")]=t[Jn("0xe2")]):(this[Jn("0xc5")]=e.toVersion,this[Jn("0x8")]=!1)):(this[Jn("0xc5")]=n,this[Jn("0x8")]=!1)}}else t&&(this[Jn("0x49")][Jn("0x26")][Jn("0x15")].history[Jn("0x75")]=Math[Jn("0x9d")](t[Jn("0xa0")],this[Jn("0x49")][Jn("0x26")][Jn("0x15")][Jn("0x77")][Jn("0x75")]),t.fromVersion===t[Jn("0xa0")]?(0!==t[Jn("0xe2")]&&(this[Jn("0xc8")][Jn("0xea")]=()=>t.id),this[Jn("0x8")]=!1):this[Jn("0x8")]&&(this[Jn("0xc8")].getCurrentRevisionId=()=>t.id,this[Jn("0xc5")]=t[Jn("0xe2")])),this._continueCurrentRevision||(this[Jn("0xc5")]=this.editor.model[Jn("0x15")].version);this[Jn("0x7c")][Jn("0xa8")](this._source[Jn("0x77")]),this[Jn("0x4")](this._startingVersion),this[Jn("0xb5")](this[Jn("0xc5")]),this[Jn("0xa5")]&&this[Jn("0xd0")]()})),this[Jn("0x4d")](Jn("0x3d")).to(this,Jn("0x86"),(e=>!e))}async[Jn("0x1d")](){if(this[Jn("0x5f")][Jn("0x88")]>0){const e=this[Jn("0x5f")][Jn("0xc6")](0),t=await this[Jn("0xd2")](e);this[Jn("0xc1")](t)}}setSource(e){this[Jn("0xc8")]=e}async[Jn("0x61")](){const e=await this[Jn("0xc8")].getLatestVersion();if(e>this[Jn("0xba")].toVersion){await this[Jn("0x19")]();const t=this[Jn("0x96")]({revision:this[Jn("0xba")],to:e});t[Jn("0xc0")]=t[Jn("0x2c")][Jn("0x21")]((e=>this.editor.plugins[Jn("0x5b")](Jn("0x80"))[Jn("0xf3")](e))),this[Jn("0xba")][Jn("0xef")](t)}}async _loadState(){this[Jn("0x8")]&&!this[Jn("0x9")]&&(await this[Jn("0x64")](this.currentRevision),this[Jn("0x7c")][Jn("0x83")](this[Jn("0xba")]),this[Jn("0x9")]={fromVersion:this[Jn("0xba")].fromVersion,authors:this[Jn("0xba")][Jn("0xc0")][Jn("0xe7")]()})}async[Jn("0x50")](e={},i=null){const n=[];await this._loadState(),this._continueCurrentRevision=!1,i>this[Jn("0xba")].toVersion&&(i=null),null===i&&(i=await this[Jn("0xc8")][Jn("0xd7")]());const r=this._getFromVersion(i),o=this[Jn("0x96")]({from:r,to:i});if(this.currentRevision[Jn("0xa0")]<i){const e=this.buildRevisionData({revision:this[Jn("0xba")],from:i,to:i});e[Jn("0xc0")]=[],e.authorsIds=[],e.id=this[Jn("0xba")].id,this[Jn("0xba")]._update(e,!0),delete e[Jn("0xc0")],n[Jn("0xe1")](e)}e[Jn("0x3a")]=this[Jn("0x49")].plugins[Jn("0x5b")](Jn("0x80")).me.id,e[Jn("0x42")]=e[Jn("0x42")]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const s=this[Jn("0x73")](e);n[Jn("0xe1")](e);const a=this[Jn("0x5f")].getIndex(s);if(0!==a){const t=this[Jn("0x5f")][Jn("0xc6")](a-1);if(t[Jn("0xe2")]!==i){const r=this[Jn("0x7c")][Jn("0xcd")](i,t[Jn("0xa0")]),o={id:t.id,diffData:r[Jn("0x28")],authorsIds:r[Jn("0x2c")],authors:r[Jn("0x2c")][Jn("0x21")]((e=>this[Jn("0x49")][Jn("0x93")][Jn("0x5b")](Jn("0x80"))[Jn("0xf3")](e))),fromVersion:i};t===this[Jn("0xba")]&&(o[Jn("0xd6")]=new Date(e[Jn("0xd6")][Jn("0x25")]()+10)),t[Jn("0xef")](o,!0),delete o[Jn("0xc0")],n.push(o)}}if(this[Jn("0xa5")]){for(const e of n)this._bufferUpdate(e.id,e,!0);this[Jn("0xd0")]()}return s}[Jn("0x73")](e){const t=this[Jn("0x5f")][Jn("0x56")](e);return this[Jn("0xa5")]&&t.on(Jn("0xef"),((e,t,i)=>{i||(this._bufferUpdate(t.id,t,!0),this[Jn("0xd0")]())})),this[Jn("0x5f")][Jn("0x4f")](t,this._findInsertionIndex(t)),t}async[Jn("0xd2")](e){await this[Jn("0x64")](e);const t={};for(const i in e[Jn("0x28")]){const n=this[Jn("0x4a")](JSON[Jn("0x54")](e[Jn("0x28")][i][Jn("0xc3")])),r=this[Jn("0x49")][Jn("0xe8")][Jn("0xbb")][Jn("0x15")],s=new o.ViewDocumentFragment(r,n[Jn("0x21")]((e=>Xn(e,this.editor))));this.editor.data[Jn("0x6b")][Jn("0x71")]("marked"),t[i]=this[Jn("0x49")][Jn("0xe0")][Jn("0x6b")][Jn("0x1e")](s),this[Jn("0x49")][Jn("0xe0")].processor[Jn("0x71")](Jn("0xce"))}return t}[Jn("0xd0")](){if(0===this[Jn("0xf")][Jn("0x7")])return;if(this[Jn("0x86")])return;let e=Array[Jn("0x8e")](this[Jn("0xf")][Jn("0x7b")]());this[Jn("0xf")].clear();for(let t=0;t<e[Jn("0x88")];t++){const i=e[t];let n=!1;for(const e of Object[Jn("0x66")](i))void 0===i[e]?delete i[e]:"id"!==e&&(n=!0);n||(e[t]=null)}if(e=e[Jn("0x2d")]((e=>null!==e)),!e.length)return;for(let t=0;t<e[Jn("0x88")];t++){const i=e[t];void 0!==i[Jn("0xe2")]&&void 0===i[Jn("0xa0")]&&(i[Jn("0xa0")]=this[Jn("0x5f")][Jn("0xc6")](i.id)[Jn("0xa0")]),void 0!==i.toVersion&&void 0===i[Jn("0xe2")]&&(i.fromVersion=this[Jn("0x5f")][Jn("0xc6")](i.id)[Jn("0xe2")])}const t=this[Jn("0x49")].config[Jn("0x5b")](Jn("0xc4"));this[Jn("0x86")]=!0,this[Jn("0xc2")](),this[Jn("0xa5")][Jn("0xd")](e,t).finally((()=>{this[Jn("0x86")]=!1}))[Jn("0xcf")]((e=>{if(e)for(const t of e)this[Jn("0x35")]({id:t.id,createdAt:t[Jn("0xd6")]});this[Jn("0xa3")](),this.sendBufferedUpdates()}))}[Jn("0xc1")](e){let i=this[Jn("0x49")][Jn("0x0")][Jn("0x5b")](Jn("0xd1"));if(void 0===i){i={};for(const e of this[Jn("0x49")].model[Jn("0x15")].getRootNames())i[e]=""}"string"==typeof i&&(i={main:i});let n=!1;for(const t of Object[Jn("0x66")](i))e[t]&&(i[t]!==e[t]&&""!==i[t][Jn("0xc7")]()&&(n=!0),i[t]=e[t]);n&&(0,t.logWarning)("editor-initial-data-replaced-with-revision-data"),this[Jn("0x49")][Jn("0x0")][Jn("0x69")](Jn("0xd1"),i)}_addPendingAction(){if(!this[Jn("0x5d")]){const e=this.editor[Jn("0x93")].get(Jn("0x81"));this[Jn("0x5d")]=e.add(Bn(this[Jn("0x49")][Jn("0xad")],"PENDING_ACTION_REVISION_HISTORY"))}}_removePendingAction(){this[Jn("0x5d")]&&(this[Jn("0x49")].plugins.get(Jn("0x81")).remove(this[Jn("0x5d")]),this[Jn("0x5d")]=null)}[Jn("0x2a")](e){const t=this[Jn("0x5f")][Jn("0xa4")]();t[Jn("0x6e")]();let i=0;for(;i<t[Jn("0x88")];){const n=t[i];if(n===this[Jn("0xba")]){i++;continue}if(n.id===this[Jn("0xb7")])break;const r=e[Jn("0xa0")]-n[Jn("0xa0")]||e[Jn("0xe2")]-n[Jn("0xe2")];if(r>0)break;if(r<0)i++;else{if(!e.creator&&n[Jn("0xcb")])break;if(n[Jn("0xcb")]||!e.creator){if(e[Jn("0xd6")]>n[Jn("0xd6")])break;i++}else i++}}return i}[Jn("0x35")](e){const t=this.repository.getRevision(e.id);if(e.createdAt&&(e[Jn("0xd6")]=new Date(e[Jn("0xd6")])),e[Jn("0x2c")]){const t=this[Jn("0x49")][Jn("0x93")][Jn("0x5b")](Jn("0x80"));e[Jn("0xc0")]=e[Jn("0x2c")][Jn("0x21")]((e=>t[Jn("0xf3")](e)))}t[Jn("0xef")](e,!0)}[Jn("0x96")]({revision:e=null,from:t=null,to:i=null}){t=null!==t?t:e[Jn("0xe2")],i=null!==i?i:e.toVersion;const n=this[Jn("0x7c")][Jn("0xcd")](t,i),r={diffData:n[Jn("0x28")],authorsIds:n[Jn("0x2c")],fromVersion:t,toVersion:i};if(!e||i!==e[Jn("0xa0")]){const e=i-1,t=this[Jn("0xc8")][Jn("0x77")][Jn("0x82")](e);r[Jn("0xd6")]=t&&t.createdAt||new Date}if(this._loadedStateData&&t===this._loadedStateData.fromVersion)for(const e of this._loadedStateData.authors)r[Jn("0x2c")].includes(e.id)||r.authorsIds.push(e.id);return r}_loadRevisionData(e){if(!e||e.diffData)return Promise[Jn("0x20")]();{const t=this[Jn("0x49")].config[Jn("0x5b")]("collaboration.channelId");return this[Jn("0xa5")][Jn("0xc6")]({channelId:t,revisionId:e.id})[Jn("0xcf")]((t=>{e.diffData=t.diffData}))}}[Jn("0xe4")](e,t,i){if(this[Jn("0xf")][Jn("0x7f")](e)){const n=this[Jn("0xf")][Jn("0x5b")](e);t=i?{...n,...t}:{...t,...n}}this[Jn("0xf")][Jn("0x69")](e,t)}[Jn("0x41")](e){const t=this[Jn("0x5f")][Jn("0xa4")]();t[Jn("0x6e")](),t.shift();const i=t[Jn("0x10")]((t=>t.toVersion<=e))[Jn("0xa0")];return i<this[Jn("0xc5")]?this[Jn("0xc5")]:i}[Jn("0x4")](e){const t=this[Jn("0x5f")].getRevision(this[Jn("0x5f")][Jn("0x88")]-1);if(t)this[Jn("0xb7")]=t.id;else{const t=!this.editor[Jn("0x26")].document[Jn("0x43")][Jn("0x10")]((e=>this[Jn("0x49")].model[Jn("0xf1")](e))),i=this[Jn("0x49")][Jn("0x93")][Jn("0x5b")]("Users").me.id,n=Bn(this[Jn("0x49")][Jn("0xad")],t?"Empty document":"Initial revision");this[Jn("0xb9")]({from:e,to:e,id:this[Jn("0xb7")],name:n,creatorId:i})}}[Jn("0xb5")](e){const t=this[Jn("0xc8")][Jn("0xea")]();this[Jn("0xba")]=this.repository[Jn("0xc6")](t),this.currentRevision||(this[Jn("0xba")]=this._makeRevision({from:e,to:e,id:t,name:"",creatorId:null}))}[Jn("0xb9")]({name:e,from:t,to:i,creatorId:n,id:r}){const o=this[Jn("0x96")]({from:t,to:i});o[Jn("0x42")]=e,o[Jn("0x3a")]=n,o.id=r;const s=this[Jn("0x73")](o);return this[Jn("0xa5")]&&this[Jn("0xe4")](o.id,o,!0),s}[Jn("0xab")](){this.editor.conversion.for("dataDowncast")[Jn("0xf2")]({model:Jn("0xd5")})}_removeRevisionMarkers(e){return(e=e.filter((e=>!e.name||"revision-start"!==e[Jn("0x42")]&&Jn("0x4e")!==e[Jn("0x42")])))[Jn("0x53")]((e=>{Jn("0xed")!=typeof e&&(e[Jn("0x2")]=this[Jn("0x4a")](e[Jn("0x2")]),e[Jn("0x52")]=e[Jn("0x52")][Jn("0x2d")]((e=>!e[0][Jn("0x1a")](Jn("0x14")))))})),e}}function Xn(e,t){const i=t.editing[Jn("0xbb")][Jn("0x15")];if(Jn("0xed")==typeof e)return new o.ViewText(i,e);{const n=e[Jn("0x2")][Jn("0x21")]((e=>Xn(e,t)));return new($n[e.type]||o.ViewElement)(i,e[Jn("0x42")],e[Jn("0x52")],n)}}class Qn{constructor(e){this[Jn("0x49")]=e,this[Jn("0x60")]=new Map,this[Jn("0x8c")]=-1,this[Jn("0x1f")]=-1,this[Jn("0x89")]=new Map,this._diffRoots=new Map,this[Jn("0x31")]=new Map,this._idsRoots=new Map,this._baseIdsRoots=new Map,this[Jn("0x5c")]=new Map,this[Jn("0x91")]=new Map,this[Jn("0x5")]=1,this._rootNames=this.editor[Jn("0x26")][Jn("0x15")][Jn("0x11")](),this[Jn("0x24")][Jn("0xe1")](Jn("0xee"))}[Jn("0xa8")](e){this[Jn("0xe")]=e;const t=new Map;for(const e of this[Jn("0x24")]){const i=er(this[Jn("0x49")].model[Jn("0x15")].getRoot(e));t.set(e,i)}const i=Array[Jn("0x8e")](this.editor[Jn("0x26")].markers)[Jn("0x21")]((e=>[e[Jn("0x42")],e.getRange()])),n=this[Jn("0xe")].version;this[Jn("0x5a")](n,t,i),this[Jn("0x4c")]=this[Jn("0x5")]}getData(e,t){if(this[Jn("0x8c")]===e&&this[Jn("0x1f")]<=t)this[Jn("0x60")][Jn("0x7")]>1&&this[Jn("0xd8")](this._lastTo),this[Jn("0x38")](this[Jn("0x1f")],t,!0);else{if(!this[Jn("0x60")][Jn("0x7f")](e)){const t=this[Jn("0x6a")](e);this[Jn("0x8b")](t,e,!1)}this[Jn("0x8b")](e,t,!0)}return this[Jn("0x8c")]=e,this[Jn("0x1f")]=t,this[Jn("0x51")]()}[Jn("0x83")](e){this._reset(),this[Jn("0x8c")]=e[Jn("0xe2")],this._lastTo=e[Jn("0xa0")];for(const t in e[Jn("0x28")]){const i=this[Jn("0xdb")](e.diffData[t][Jn("0x9c")]);i.rootName=t,this[Jn("0x31")][Jn("0x69")](t,i);const n=this._makeIdsRoot(i);this[Jn("0x3f")].set(t,n);for(const[e,t]of i[Jn("0x34")]){if(!e.startsWith("revision:"))continue;const i=e[Jn("0xb6")](":")[2];for(const e of t[Jn("0x32")]({singleCharacters:!0})){const t=this[Jn("0xec")](e),r=Jn("0xde")==e.type?e.previousPosition[Jn("0x70")][Jn("0xe7")](0,-1):e.previousPosition[Jn("0x70")],o=n[Jn("0x1c")](r)[Jn("0x6")](t);this[Jn("0x5c")][Jn("0x69")](o,{userId:i})}}}this[Jn("0x4c")]=this[Jn("0x5")];const t=[...Array(this[Jn("0x5")])[Jn("0x66")]()][Jn("0xe7")](1)[Jn("0x2d")]((e=>!this._touched[Jn("0x7f")](e)));let i=0;for(const n in e[Jn("0x28")]){const r=this[Jn("0xdb")](e[Jn("0x28")][n][Jn("0xc3")]);r[Jn("0xa2")]=n,this[Jn("0xc")][Jn("0x69")](n,r);const s=this[Jn("0x44")](r,Number.NEGATIVE_INFINITY);this[Jn("0xae")][Jn("0x69")](n,s);for(const[e,t]of r[Jn("0x34")]){if(!e.startsWith("revision:"))continue;const i=e[Jn("0xb6")](":")[2];for(const e of t[Jn("0x32")]({singleCharacters:!0})){const t=this[Jn("0xec")](e),n=this[Jn("0x5")]++,r=Jn("0xde")==e.type?e.previousPosition[Jn("0x70")][Jn("0xe7")](0,-1):e[Jn("0xeb")][Jn("0x70")];s.getNodeByPath(r)._setAttribute(t,n),this[Jn("0x5c")].set(n,{userId:i})}}for(const e of this.editor[Jn("0x26")][Jn("0x16")](r)[Jn("0x32")]({singleCharacters:!0})){const n=this[Jn("0xec")](e),r="elementEnd"==e[Jn("0xe5")]?e[Jn("0xeb")][Jn("0x70")][Jn("0xe7")](0,-1):e[Jn("0xeb")][Jn("0x70")],o=s[Jn("0x1c")](r);o[Jn("0x6")](n)>0||o._setAttribute(n,t[i++])}const a=new o.DocumentFragment;a[Jn("0xa2")]=Jn("0xee"),this[Jn("0x31")][Jn("0x69")]("$graveyard",a),this[Jn("0x3f")].set(Jn("0xee"),this._makeIdsRoot(a,1));const c=new o.DocumentFragment;c[Jn("0xa2")]=Jn("0xee"),this[Jn("0xc")][Jn("0x69")](Jn("0xee"),c),this[Jn("0xae")].set(Jn("0xee"),this[Jn("0x44")](c,1));for(const[e,t]of r[Jn("0x34")])e[Jn("0x1a")](Jn("0x57"))||this[Jn("0x89")][Jn("0x69")](e,t)}const n=Array[Jn("0x8e")](this._diffRoots)[Jn("0x21")]((([e,t])=>[e,er(t)]));this[Jn("0x5a")](this._lastTo,n,this._markers)}_makeModelFromViewString(e){const t=JSON[Jn("0x54")](e),i=this[Jn("0x49")][Jn("0xe8")][Jn("0xbb")].document,n=new o.ViewDocumentFragment(i,t[Jn("0x21")]((e=>Xn(e,this[Jn("0x49")]))));return this.editor[Jn("0xe0")][Jn("0x12")](n)}_saveEmptyMetaData(){const e=new Map;for(const t of this[Jn("0x24")]){const i=new o.DocumentFragment;i[Jn("0xa2")]=t,e[Jn("0x69")](t,i)}this[Jn("0x5a")](Number[Jn("0x39")],e,[])}[Jn("0x5a")](e,t,i){const n=new Map(t),r=new Map;for(const[e,t]of i)r[Jn("0x69")](e,{start:t[Jn("0xa9")].clone(),end:t[Jn("0xd3")][Jn("0x47")](),rootName:t.root[Jn("0xa2")]});this[Jn("0x60")][Jn("0x69")](e,{roots:n,markers:r})}[Jn("0xd8")](e){this[Jn("0x60")][Jn("0x45")](e)}[Jn("0x27")](){this[Jn("0xbd")](),this[Jn("0x8c")]=-1,this[Jn("0x1f")]=-1,this._savedMetaData.clear(),this[Jn("0xa8")](this.source)}[Jn("0xbd")](){this[Jn("0x5c")][Jn("0x4b")](),this._touchedMarkers.clear(),this[Jn("0xc")][Jn("0x4b")](),this._baseRoots.clear(),this[Jn("0xae")].clear(),this._baseIdsRoots[Jn("0x4b")](),this[Jn("0x89")][Jn("0x4b")](),this[Jn("0x5")]=1,this[Jn("0x4c")]=this._revisionId}[Jn("0x44")](e,t=null){let i=null;e.is(Jn("0xc9"))||(i=new o.Element(e[Jn("0x42")],{vid_start:null===t?this[Jn("0x5")]++:t++}));const n=[];for(const i of e[Jn("0xb2")]())if(i.is("element")){n[Jn("0xe1")](this[Jn("0x44")](i,t));const e=n[n.length-1];null!==t&&(t=e.is("element",Jn("0x17"))?e[Jn("0x6")]("vid")+1:e[Jn("0x6")](Jn("0x1"))+1)}else for(let e=0;e<i[Jn("0x78")];e++)n[Jn("0xe1")](new o.Element(Jn("0x17"),{vid:null===t?this[Jn("0x5")]++:t++}));if(e.is(Jn("0xc9"))){const t=new o.DocumentFragment(n);return t[Jn("0xa2")]=e.rootName,t}return i[Jn("0x30")]("vid_end",null===t?this[Jn("0x5")]++:t++),i._insertChild(0,n),i}[Jn("0x8b")](e,t,i){this[Jn("0xbd")]();const{roots:n,markers:r}=this._savedMetaData[Jn("0x5b")](e);this[Jn("0x31")]=new Map(n);for(const[e,t]of this[Jn("0x31")])if(Jn("0xee")!==e&&(this._diffRoots.set(e,er(t)),i)){const i=this[Jn("0x5")];this._idsRoots.set(e,this[Jn("0x44")](t)),this[Jn("0x3f")][Jn("0x69")](e,this[Jn("0x44")](t,i))}this[Jn("0x4c")]=this._revisionId,this[Jn("0xc")].set(Jn("0xee"),er(this._baseRoots[Jn("0x5b")](Jn("0xee")))),i&&this[Jn("0xae")][Jn("0x69")](Jn("0xee"),this[Jn("0x44")](this._baseRoots[Jn("0x5b")](Jn("0xee"))));for(const[e,t]of r){const i=this[Jn("0x31")][Jn("0x5b")](t[Jn("0xa2")]),n=this[Jn("0xc")][Jn("0x5b")](t[Jn("0xa2")]),r=new o.Range(this._fixPosition(t[Jn("0xa9")],i),this[Jn("0x7e")](t[Jn("0xd3")],i)),s=this[Jn("0x23")](r,n);i[Jn("0x34")].set(e,r),this[Jn("0x89")][Jn("0x69")](e,s)}this[Jn("0x38")](e,t,i)}_applyOperations(e,t,i){for(const n of this[Jn("0xe")].getOperations(e,t))this[Jn("0xd9")](n,i);for(const e of this._diffRoots[Jn("0x7b")]())e[Jn("0x34")].clear();for(const[e,t]of this[Jn("0x89")])this[Jn("0xc")][Jn("0x5b")](t[Jn("0x98")][Jn("0xa2")])[Jn("0x34")][Jn("0x69")](e,t[Jn("0x47")]());this[Jn("0x5a")](t,Array.from(this[Jn("0xc")])[Jn("0x21")]((([e,t])=>[e,er(t)])),this[Jn("0x89")])}[Jn("0x6a")](e){const t=Array.from(this[Jn("0x60")][Jn("0x66")]());t[Jn("0x72")](((e,t)=>e-t)),t.reverse();for(const i of t)if(i<e)return i;return this._saveEmptyMetaData(),Number.NEGATIVE_INFINITY}_copyMarkers(e,t){const i=Array[Jn("0x8e")](t[Jn("0x34")])[Jn("0x21")]((([t,i])=>[t,this[Jn("0x23")](i,e)]));e[Jn("0x34")]=new Map(i)}[Jn("0x2f")](e){for(const t of this[Jn("0x89")][Jn("0x7b")]()){const i=t[Jn("0xdc")](e),n=o.Range[Jn("0x74")](i);t[Jn("0xa9")]=n.start,t.end=n[Jn("0xd3")]}}_handleOperation(e,t){const i=this[Jn("0xb0")](e,this[Jn("0xc")]);if(Jn("0x76")!==e.type&&(i[Jn("0xac")](),this[Jn("0x2f")](i)),t)switch(i[Jn("0xe5")]){case Jn("0xd4"):this[Jn("0x3b")](e);break;case Jn("0x13"):case Jn("0x87"):case Jn("0x6f"):this[Jn("0x2b")](e);break;case Jn("0x55"):this[Jn("0x65")](e);break;case Jn("0xb6"):this[Jn("0xdf")](e);break;case Jn("0x76"):this._handleMarkerOperation(e)}}_cloneOperation(e,t){const i=e[Jn("0x47")]();return i._authorId=e._authorId,this[Jn("0x1b")](i,t),i}_getBaseVids(e){return e[Jn("0x21")]((e=>{const t=this[Jn("0xec")](e);return Number(e.item.getAttribute(t))}))}[Jn("0xbf")](e,t){if(e.is(Jn("0xa6"),Jn("0x17")))t[Jn("0xe1")]({item:e,type:Jn("0xf0")});else{e.is("element")&&t[Jn("0xe1")]({item:e,type:Jn("0x79")});for(const i of e[Jn("0xb2")]())this._generateTape(i,t);e.is(Jn("0xa6"))&&t[Jn("0xe1")]({item:e,type:"elementEnd"})}return t}_getState(){const e=this[Jn("0x49")][Jn("0x26")].document[Jn("0x11")](),t=new Map(this[Jn("0x5c")]),i=new Map(t),n=new Map,r={insertions:{},deletions:{}},o={insertions:{},deletions:{}},s=new Map;for(const t of e){const e=this[Jn("0xc")][Jn("0x5b")](t),i=this[Jn("0x31")].get(t);r[Jn("0xc3")][t]=er(e),r[Jn("0x9c")][t]=er(i),this[Jn("0x7a")](r[Jn("0x9c")][t],i),this[Jn("0x7a")](r[Jn("0xc3")][t],e),o.insertions[t]=this[Jn("0xbf")](this[Jn("0xae")].get(t),[]),o[Jn("0x9c")][t]=this._generateTape(this[Jn("0x3f")][Jn("0x5b")](t),[])}for(const r of e){const e=o[Jn("0xc3")][r];for(const r of e){const e=this[Jn("0xec")](r),o=r[Jn("0x59")][Jn("0x6")](e);i[Jn("0x45")](o),o>=this[Jn("0x4c")]&&n[Jn("0x69")](o,t[Jn("0x5b")](o))}}for(const r of e){const e=o[Jn("0xc3")][r],a=this[Jn("0x58")](o[Jn("0x9c")][r]);let c=0;for(const r of e){const e=this._getVidAttributeName(r),o=r[Jn("0x59")].getAttribute(e);if(!n[Jn("0x7f")](o)&&!s.has(o))if(i[Jn("0x7f")](o))c++;else{if(o!=a[c]){const e=t[Jn("0x5b")](o)||t[Jn("0x5b")](a[c]);for(;o!=a[c];)i[Jn("0x7f")](a[c])||(s[Jn("0x69")](a[c],e),t[Jn("0x69")](a[c],e)),c++}c++}}}for(const t of e){const e=o[Jn("0xc3")][t];for(const t of e){const e=this[Jn("0xec")](t),r=t.item.getAttribute(e);if(s.has(r)){const e=s[Jn("0x5b")](r);i[Jn("0x7f")](r)||i[Jn("0x69")](r,{...e}),n[Jn("0x69")](r,{...e})}}}for(const e of i.keys())e>=this[Jn("0x4c")]&&i[Jn("0x45")](e);const a=new Map;for(const t of e){let e=o[Jn("0xc3")][t];for(const t of e)if(t[Jn("0x59")].is(Jn("0xa6"),Jn("0xbc"))){const e=this._getVidAttributeName(t),i=t[Jn("0x59")][Jn("0x6")](e);if(n[Jn("0x7f")](i)){const e=t[Jn("0x59")][Jn("0x94")].parent[Jn("0x6")](Jn("0xa7")),r=a.get(e)||new Set;r[Jn("0x8f")](n.get(i).userId),a.set(e,r)}}e=o[Jn("0x9c")][t];for(const t of e)if(t[Jn("0x59")].is("element",Jn("0xbc"))){const e=this[Jn("0xec")](t),n=t[Jn("0x59")].getAttribute(e);if(i[Jn("0x7f")](n)){const e=t[Jn("0x59")][Jn("0x94")].parent[Jn("0x6")](Jn("0xa7")),r=a[Jn("0x5b")](e)||new Set;r[Jn("0x8f")](i[Jn("0x5b")](n)[Jn("0x3c")]),a.set(e,r)}}for(const e of a[Jn("0x66")]())(n[Jn("0x7f")](e)||i[Jn("0x7f")](e))&&a[Jn("0x45")](e)}for(const t of e){const e=o[Jn("0xc3")][t];let r=null,s=null;for(const t of e){const e=this._getVidAttributeName(t),o=t[Jn("0x59")].getAttribute(e),c=a[Jn("0x5b")](o);c&&Jn("0x79")==t.type&&(r=Array.from(c)[0],s=t[Jn("0x59")][Jn("0x6")](Jn("0x1"))),r&&(i[Jn("0x69")](o,{userId:r}),n.set(o,{userId:r})),o==s&&(r=null,s=null)}}const c={},u=new Set;for(const t of e){const e=r[Jn("0x9c")][t],s=r[Jn("0xc3")][t];for(const{userId:e}of this[Jn("0x91")][Jn("0x7b")]())null!==e&&u[Jn("0x8f")](e);this[Jn("0xb8")](s,o.insertions[t],n,Jn("0x84"),u),this[Jn("0xb8")](e,o[Jn("0x9c")][t],i,Jn("0x95"),u),c[t]={insertions:this[Jn("0x68")](s),deletions:this._prepareViewToSave(e)}}return{diffData:c,authorsIds:Array[Jn("0x8e")](u)}}_processRootBeforeSave(e){for(const[,t]of e[Jn("0x34")]){const e=t[Jn("0xa9")][Jn("0xdd")]().filter((e=>Jn("0xbc")==e[Jn("0x42")]));for(const t of e)1==t.childCount&&t[Jn("0x6d")](0).is(Jn("0xa6"),"paragraph")&&t.getChild(0)[Jn("0x30")](Jn("0xa"),!0)}}_prepareViewToSave(e){this[Jn("0x33")](e);const t=this[Jn("0x49")][Jn("0xe0")][Jn("0x63")](e,{}),i=Array[Jn("0x8e")](t[Jn("0xb2")]()).map((e=>this[Jn("0x40")](e)));return JSON[Jn("0xda")](i)}[Jn("0x40")](e){return e.is(Jn("0xf0"))?e.data:{type:Object[Jn("0x66")]($n).find((t=>e instanceof $n[t])),name:e[Jn("0x42")],attributes:Array[Jn("0x8e")](e[Jn("0x36")]()),children:Array[Jn("0x8e")](e[Jn("0xb2")]())[Jn("0x21")]((e=>this[Jn("0x40")](e)))}}[Jn("0xb8")](e,t,i,n,r){let o=null,s=null,a=0;const c=this[Jn("0x49")].model;for(let n=0;n<t[Jn("0x88")];n++){const r=this[Jn("0xec")](t[n]),a=t[n][Jn("0x59")].getAttribute(r),d=i.get(a),l=n==t[Jn("0x88")]-1;!o&&d&&(o=d,s=t[n]),o&&(!d||d[Jn("0x3c")]!=o[Jn("0x3c")])&&(u(d,tr(s,e,c),tr(t[n],e,c)),o=d||null,s=d?t[n]:null),o&&l&&u(d,tr(s,e,c),ir(t[n],e,c))}function u(t,i,s){const u=o[Jn("0x3c")],d=Jn("0x57")+n+":"+u+":"+a++,l=c[Jn("0x46")](i,s);e[Jn("0x34")].set(d,l),null!==u&&r.add(u)}}[Jn("0xec")](e){switch(e[Jn("0xe5")]){case Jn("0x79"):return"vid_start";case Jn("0xde"):return Jn("0x1");default:return Jn("0xbe")}}[Jn("0x1b")](e,t){e[Jn("0x29")]=null;for(const i in e){if(e[i]instanceof o.Position){const n=t.get(e[i][Jn("0x98")].rootName);e[i]=this[Jn("0x7e")](e[i],n)}if(e[i]instanceof o.Range){const n=t[Jn("0x5b")](e[i][Jn("0x98")][Jn("0xa2")]);e[i]=this[Jn("0x23")](e[i],n)}}e.root&&(e[Jn("0x98")]=t[Jn("0x5b")](e[Jn("0x98")][Jn("0xa2")]))}[Jn("0x23")](e,t){return this.editor[Jn("0x26")][Jn("0x46")](this[Jn("0x7e")](e[Jn("0xa9")],t),this[Jn("0x7e")](e[Jn("0xd3")],t))}[Jn("0x7e")](e,t){return this[Jn("0x49")][Jn("0x26")][Jn("0x62")](t,e[Jn("0x70")],e[Jn("0xa1")])}[Jn("0x3b")](e){const t=this._idsRoots[Jn("0x5b")](e[Jn("0x92")][Jn("0x98")].rootName),i=this[Jn("0x7e")](e[Jn("0x92")],t),n=null===e._authorId?null:e[Jn("0xaa")]||this[Jn("0x49")][Jn("0x93")].get("Users").me.id,r=i.parent,s=this[Jn("0x5")],a=[];for(const t of e[Jn("0xaf")])if(t.is("element"))a.push(this[Jn("0x44")](t));else for(let e=0;e<t.offsetSize;e++)a[Jn("0xe1")](new o.Element(Jn("0x17"),{vid:this[Jn("0x5")]++}));const c=this[Jn("0x5")];for(let e=s;e<c;e++)this[Jn("0x5c")][Jn("0x69")](e,{userId:n});r._insertChild(i[Jn("0xb4")],a)}[Jn("0x2b")](e){(e=this[Jn("0xb0")](e,this[Jn("0xae")]))[Jn("0xac")]();const t=null===e[Jn("0xaa")]?null:e[Jn("0xaa")]||this[Jn("0x49")][Jn("0x93")][Jn("0x5b")](Jn("0x80")).me.id,i=e.getMovedRangeStart(),n=i[Jn("0x94")],r=i[Jn("0xb4")];!function e(i,n,r,o){for(let s=r;s<o;s++){const r=n[Jn("0x6d")](s);r.is(Jn("0xa6"),Jn("0x17"))?i[Jn("0x69")](r.getAttribute(Jn("0xbe")),{userId:t}):(i[Jn("0x69")](r[Jn("0x6")]("vid_start"),{userId:t}),e(i,r,0,r[Jn("0x37")]),i.set(r.getAttribute("vid_end"),{userId:t}))}}(this[Jn("0x5c")],n,r,r+e[Jn("0x2e")])}[Jn("0x65")](e){const t=null===(e=this._cloneOperation(e,this._idsRoots))[Jn("0xaa")]?null:e[Jn("0xaa")]||this[Jn("0x49")][Jn("0x93")][Jn("0x5b")](Jn("0x80")).me.id,i=e[Jn("0x8d")][Jn("0x94")],n=e[Jn("0x22")][Jn("0x94")],r=i.getAttribute(Jn("0x1")),o=n.getAttribute("vid_start");i._setAttribute(Jn("0x1"),n.getAttribute("vid_end")),n[Jn("0x30")](Jn("0x1"),r),this._touched[Jn("0x69")](o,{userId:t}),this._touched[Jn("0x69")](r,{userId:t}),e[Jn("0xac")]()}[Jn("0xdf")](e){const t=null===(e=this[Jn("0xb0")](e,this[Jn("0xae")]))[Jn("0xaa")]?null:e[Jn("0xaa")]||this[Jn("0x49")][Jn("0x93")].get("Users").me.id,i=e[Jn("0xe9")],n=e[Jn("0x85")][Jn("0x94")];e[Jn("0xac")]();const r=n[Jn("0x6")](Jn("0x1")),o=e[Jn("0x6c")][Jn("0xb")];if(i){const e=o[Jn("0x6")](Jn("0x1")),i=n[Jn("0x6")](Jn("0x1"));n[Jn("0x30")](Jn("0x1"),e),o[Jn("0x30")](Jn("0x1"),i),this[Jn("0x5c")][Jn("0x69")](n[Jn("0x6")](Jn("0x1")),{userId:t}),this[Jn("0x5c")].set(o[Jn("0x6")](Jn("0xa7")),{userId:t})}else{const e=this[Jn("0x5")]++,i=this[Jn("0x5")]++;n[Jn("0x30")](Jn("0x1"),e),o._setAttribute("vid_start",i),o[Jn("0x30")](Jn("0x1"),r),this[Jn("0x5c")][Jn("0x69")](e,{userId:t}),this._touched.set(i,{userId:t})}}[Jn("0x7d")](e){if(!e[Jn("0x67")])return;const t=(e=this[Jn("0xb0")](e,this._diffRoots)).oldRange?e[Jn("0x9b")].root:null,i=e[Jn("0xcc")]?e[Jn("0xcc")][Jn("0x98")]:null;t&&this[Jn("0x89")][Jn("0x45")](e[Jn("0x42")]),i&&this._markers[Jn("0x69")](e[Jn("0x42")],e.newRange[Jn("0x47")]());const n=null===e._authorId?null:e[Jn("0xaa")]||this[Jn("0x49")][Jn("0x93")][Jn("0x5b")]("Users").me.id,r=e[Jn("0x42")];if(!this[Jn("0x91")][Jn("0x7f")](r))return void this[Jn("0x91")][Jn("0x69")](r,{range:e[Jn("0x9b")],userId:n});const o=this[Jn("0x91")][Jn("0x5b")](r),s=o[Jn("0x99")],a=e[Jn("0xcc")];null==s&&null==a||s&&a&&s[Jn("0x9e")](a)?this[Jn("0x91")].delete(e.name):o.userId=n}}function er(e){const t=new o.DocumentFragment;t[Jn("0xa2")]=e[Jn("0xa2")];for(const i of e.getChildren()){const e=i[Jn("0x3")](!0);t._appendChild(e)}return t}function tr(e,t,i){const n=Jn("0xde")==e.type?i[Jn("0xb3")](e[Jn("0x59")],"end"):i[Jn("0x97")](e[Jn("0x59")]);return n[Jn("0x98")]=t,n}function ir(e,t,i){const n=Jn("0x79")==e[Jn("0xe5")]?i[Jn("0xb3")](e[Jn("0x59")],0):i.createPositionAfter(e[Jn("0x59")]);return n[Jn("0x98")]=t,n}var nr=i(273);var rr=i(278),or=i.n(rr),sr=i(996),ar={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(sr.Z,ar);sr.Z.locals;var cr=i(542),ur={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(cr.Z,ur);cr.Z.locals;const dr=["submit","arrowdown","cancel","revisionNameInputValue","selectstart","fieldView","arrowright","_createButton","ck-button-cancel","add","render","locale","Save","ck-responsive-form","type","shift + tab","listenTo","_createRevisionNameInput","stopPropagation","set","high","Cancel","revisionName","arrowleft","ck-button-save","extendTemplate","input","saveButtonView","delegate","element","_focusCycler","label","tab","form","trim","focusFirst","_focusables","Name of the revision (optional)","focusTracker","ck-revision-history-save-revision-form","execute","forEach","keystrokes","cancelButtonView","220","value","revisionNameInputView"];var lr,xr;lr=dr,xr=349,function(e){for(;--e;)lr.push(lr.shift())}(++xr);const hr=function(e,t){return dr[e-=0]};class fr extends nr.View{constructor(e){super(e),this[hr("0x12")]=new t.FocusTracker,this.keystrokes=new t.KeystrokeHandler,this[hr("0x2e")]("revisionNameInputValue",""),this.revisionNameInputView=this[hr("0x2c")](),this[hr("0x7")]=this._createButton(Bn(e,hr("0x27")),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.972 16.615a.997.997 0 0 1-.744-.292l-4.596-4.596a1 1 0 1 1 1.414-1.414l3.926 3.926 9.937-9.937a1 1 0 0 1 1.414 1.415L7.717 16.323a.997.997 0 0 1-.745.292z"/></svg>',hr("0x4")),this[hr("0x7")][hr("0x29")]=hr("0x1b"),this[hr("0x17")]=this[hr("0x22")](Bn(e,hr("0x1")),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.591 10.177 4.243 4.242a1 1 0 0 1-1.415 1.415l-4.242-4.243-4.243 4.243a1 1 0 0 1-1.414-1.415l4.243-4.242L4.52 5.934A1 1 0 0 1 5.934 4.52l4.243 4.243 4.242-4.243a1 1 0 1 1 1.415 1.414l-4.243 4.243z"/></svg>',hr("0x23"),hr("0x1d")),this[hr("0x10")]=new nr.ViewCollection,this[hr("0xa")]=new nr.FocusCycler({focusables:this._focusables,focusTracker:this[hr("0x12")],keystrokeHandler:this[hr("0x16")],actions:{focusPrevious:hr("0x2a"),focusNext:hr("0xc")}}),this.setTemplate({tag:hr("0xd"),attributes:{class:["ck",hr("0x13"),hr("0x28")],tabindex:"-1"},children:[this[hr("0x1a")],this[hr("0x7")],this[hr("0x17")]]}),(0,nr.injectCssTransitionDisabler)(this)}[hr("0x25")](){super[hr("0x25")](),(0,nr.submitHandler)({view:this}),[this[hr("0x1a")],this[hr("0x7")],this.cancelButtonView][hr("0x15")]((e=>{this[hr("0x10")][hr("0x24")](e),this[hr("0x12")].add(e[hr("0x9")])})),this[hr("0x16")][hr("0x2b")](this[hr("0x9")]);const e=e=>e[hr("0x2d")]();this[hr("0x16")][hr("0x2e")](hr("0x21"),e),this.keystrokes[hr("0x2e")](hr("0x3"),e),this[hr("0x16")].set("arrowup",e),this[hr("0x16")][hr("0x2e")](hr("0x1c"),e),this[hr("0x2b")](this[hr("0x1a")].element,hr("0x1f"),((e,t)=>{t[hr("0x2d")]()}),{priority:hr("0x0")})}focus(){this[hr("0xa")][hr("0xf")]()}get[hr("0x2")](){return this[hr("0x1a")].fieldView.element[hr("0x19")][hr("0xe")]()}set[hr("0x2")](e){this[hr("0x1a")][hr("0x20")][hr("0x9")].value=e[hr("0xe")]()}reset(){this[hr("0x1a")][hr("0x20")][hr("0x9")][hr("0x19")]=""}[hr("0x2c")](){const e=new nr.LabeledFieldView(this[hr("0x26")],nr.createLabeledInputText),t=e[hr("0x20")];return t[hr("0x5")]({attributes:{maxlength:hr("0x18")}}),e[hr("0xb")]=Bn(this[hr("0x26")],hr("0x11")),t.on(hr("0x6"),(()=>{this[hr("0x1e")]=t[hr("0x9")][hr("0x19")][hr("0xe")]()})),e}[hr("0x22")](e,t,i,n){const r=new nr.ButtonView(this[hr("0x26")]);return r[hr("0x2e")]({label:e,icon:t,tooltip:!0}),r[hr("0x5")]({attributes:{class:i}}),n&&r[hr("0x8")](hr("0x14")).to(this,n),r}}const vr='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g><path d="M11 1a9 9 0 1 1-8.027 13.075l1.128-1.129A7.502 7.502 0 0 0 18.5 10a7.5 7.5 0 1 0-14.962.759l-.745-.746-.76.76A9 9 0 0 1 11 1z"/><path d="M.475 8.17a.75.75 0 0 1 .978.047l.075.082 1.284 1.643 1.681-1.284a.75.75 0 0 1 .978.057l.073.083a.75.75 0 0 1-.057.978l-.083.073-2.27 1.737a.75.75 0 0 1-.973-.052l-.074-.082-1.741-2.23a.75.75 0 0 1 .13-1.052z"/><path d="M11.5 5v4.999l3.196 3.196-1.06 1.06L10.1 10.72l-.1-.113V5z"/></g></svg>\n',mr=["isReadOnly","get","saveRevision","Open revision history","saveButtonView","remove","execute","render","editor","buttonView","addMany","isReady","set","revisionName","RevisionHistoryUI","RevisionTracker","pluginName","Revision history","editing","isEnabled","bind","focus","length","add","showRevisionViewerCallback","Save current revision","revisionHistory","reset","config","children","change:isOpen","cancel","panelView","plugins","requires"];var br,gr;br=mr,gr=453,function(e){for(;--e;)br.push(br.shift())}(++gr);const yr=function(e,t){return mr[e-=0]};class pr extends e.Plugin{static get[yr("0x12")](){return yr("0x10")}static get[yr("0x1")](){return[Kn]}init(){const e=this[yr("0xa")],t=e.plugins[yr("0x3")](yr("0x11"));e.ui.componentFactory[yr("0x19")]("revisionHistory",(i=>{const n=(0,nr.createDropdown)(i),r=n[yr("0x22")][yr("0x1f")],o=new nr.ListView(i),s=new nr.ListItemView(i),a=new nr.ButtonView(i),c=new nr.ListItemView(i),u=new nr.ButtonView(i),d=new fr(i);function l(){r.length&&r[yr("0x7")](0),r[yr("0x19")](o)}function x(){n.isOpen=!1,e[yr("0x14")].view[yr("0x17")]()}return n[yr("0x16")](yr("0x15")).to(t,yr("0xd"),t,yr("0x15"),e,yr("0x2"),((e,t,i)=>e&&t&&!i)),n[yr("0xb")][yr("0xe")]({icon:vr,label:Bn(i,yr("0x13")),tooltip:!0}),a[yr("0xe")]({label:Bn(i,yr("0x1b")),withText:!0}),a[yr("0x16")](yr("0x15")).to(t,yr("0xd"),t,yr("0x15"),e,yr("0x2"),((e,t,i)=>e&&t&&!i)),a.on(yr("0x8"),(()=>(r[yr("0x18")]&&r[yr("0x7")](0),d[yr("0x1d")](),r.add(d),void d[yr("0x17")]()))),u[yr("0xe")]({label:Bn(i,yr("0x5")),withText:!0}),u[yr("0x16")](yr("0x15")).to(t,yr("0xd"),e,yr("0x2"),((e,t)=>e&&!t)),u.on("execute",(()=>{e[yr("0x1e")].get(yr("0x1c"))[yr("0x1a")](),x()})),s.children[yr("0x19")](a),c[yr("0x1f")].add(u),o.items[yr("0xc")]([s,c]),n.on(yr("0x20"),(()=>l())),d[yr("0x6")][yr("0x16")](yr("0x15")).to(t,yr("0xd"),t,"isEnabled",e,"isReadOnly",((e,t,i)=>e&&t&&!i)),d.on("submit",(()=>(e[yr("0x0")][yr("0x3")](Kn)[yr("0x4")]({name:d[yr("0xf")]}),void x()))),d.on(yr("0x21"),(()=>l())),d[yr("0x9")](),l(),n}))}}const kr=["name","author","add","isSuggestion","set","span","changeId","ck-annotation","type","focus","ck-revision-change","element","data","ck-revision-change__label","Added by","setTemplate"];var _r,wr;_r=kr,wr=196,function(e){for(;--e;)_r.push(_r.shift())}(++wr);const Sr=function(e,t){return kr[e-=0]};class Tr extends nr.View{constructor(e,t){super(e),this._model=t,this[Sr("0x2")]=t.id;const i=this.bindTemplate,n=Bn(e,t[Sr("0x8")][Sr("0xf")]?"Suggested by":Sr("0xe")==t[Sr("0x4")]?Sr("0xa"):"Removed by");this[Sr("0x0")]("type",t.type),this[Sr("0xb")]({tag:"div",attributes:{class:[Sr("0x3"),Sr("0x6"),i.to(Sr("0x4"),(e=>"ck-revision-change__"+e))],tabindex:-1},children:[{tag:Sr("0x1"),children:[{tag:Sr("0x1"),attributes:{class:[Sr("0x9")]},children:[{text:n}]},{text:" "+t[Sr("0xd")][Sr("0xc")]}]}]})}[Sr("0x5")](){this[Sr("0x7")].focus()}}var Or,Ir,Rr=["author","data","type","createdAt"];Or=Rr,Ir=285,function(e){for(;--e;)Or.push(Or.shift())}(++Ir);var Nr=function(e,t){return Rr[e-=0]};class Vr{constructor(e){this.id=e.id||(0,t.uid)(),this[Nr("0x3")]=e[Nr("0x3")],this[Nr("0x1")]=e[Nr("0x1")],this[Nr("0x0")]=e[Nr("0x0")]||{},this.set(Nr("0x2"),e[Nr("0x2")])}toJSON(){return{id:this.id,authorId:this[Nr("0x3")].id,type:this[Nr("0x1")],data:this.data,createdAt:this[Nr("0x2")]}}}(0,t.mix)(Vr,t.ObservableMixin);const Er=["_setData","add","oldRevisionId","newRevisionId","changes"];var Mr,Ar;Mr=Er,Ar=302,function(e){for(;--e;)Mr.push(Mr.shift())}(++Ar);const Dr=function(e,t){return Er[e-=0]};class Cr{constructor(e,i){this[Dr("0x1")]=e,this[Dr("0x0")]=i,this[Dr("0x2")]=new t.Collection}[Dr("0x3")](e){for(const t of e[Dr("0x2")])this[Dr("0x2")][Dr("0x4")](t)}}var jr=i(288),Fr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(jr.Z,Fr);jr.Z.locals;const Lr=["repository","attribute:vid","pop","for","viewItem","distance","keys","hasAttribute","addRevisionData","deletions","error","startIndex","has","editor","object","enqueueChange","reconvertMarker","isContent","markerName","isNavigationMode","_getRevisionsRange","_update","elementStart","removeMarker:revision-suggestion","-new","forEach","isInline","addHighlight","RevisionsRepository","forceDisabled","test","ck-suggestion-marker--active","revision-suggestion:","destroy","isLimit","listenTo","getRootNames","vid_end","stop","newRevisionId","_getDiff","numberOfChanges","addMarker:revision-suggestion:deletion","filter","toModel","RevisionViewer","children","dataToMarker","highest","change:activeView","isAdded","_makeTape","elementEnd","writer","_fixObsoleteTags","dataDowncast","remove","type","data-change-id","_markSuggestions","isCollapsed","add","_removeRevisionMarkers","consume","getRevisionData","marked","attributes","getIndex","addMarker:revision","first","isAddSuggestion","change:isEnabled","getItems","ck-suggestion-marker-","getCustomProperty","clearForceDisabled","default","vid","conversion","mapViewToDom","showPreviousChange","addRevision","slice","createRangeIn","resolve","nodeAfter","next","start","revision-suggestion","editingDowncast","execute","createUIElement","splice","bottom","markerRange","schema","restoreRevisionCallback","data","string","findIndex","nextSibling","_makeModelFromTape","_threeWayMerge","backward","POSITIVE_INFINITY","text","revision","_removeMissingPairs","createPositionFromPath","split","toViewRange","markerToData","_changeIdToChange","view","consumable","loadRevisionData","unshift","document","clear","vid_start","_cleanMarkers","isEqual","toData","markerNameToElements","<p></p>","diff","span","name","change:numberOfChanges","WidgetToolbarRepository","addClass","_processTape","domEvent","_revisions","getRevision","changeId","unbindElementFromMarkerName","mousedown","mapper","markerToHighlight","change:activeChange","_markInsertions","from","changes","activeChange","downcastDispatcher","isAtEnd","all","_getViewForChange","end","plugins","isBefore","change:isReady","then","getAttribute","_refreshStartEndIndex","side","offsetSize","_joinTapes","userId","_setConversion","revision-end","markers","get","createRevision","_getViewObj","flat","showNextChange","removeClass","values","concat","markersEnd","index","showStack","revision:","_getChangeFromId","softBreak","delete","isRemoved","locale","_setDistance","low","insert","top","domConverter","forward","model","isAfter","_changeView","createRange","toViewPosition","isReady","wrap","commands","revision-comment:","readOnlyMode","revision-viewer","abs","getWalker","change","_step","_markMismatchedRemovedTags","insertions","_setData","ck-suggestion-preview-marker-","pluginName","_markMarkers","markersStart","length","roots","data-revision-","stopListening","init","toViewElement","push","isBlock","isRemoveSuggestion","isObject","merge","uiElement","setAttribute","change:isReadOnly","previousPosition","diffData","activeView","refresh","authors","removeMarker","item","right","_activeViewTarget","target","processor","isEnabled","collaboration.channelId","level","high","startsWith","endIndex","_makeModelFromViewString","getChild","addMarker:revision-suggestion:insertion","ck-suggestion-marker-split","map","bind","createAttributeElement","_cleanUp","parent","parse","adapter","_initInteractions","element","enableReadOnlyMode","suggestion:","comment","insertion","isSuggestion","modelRange","shift","bindElementToMarker","getAttributes","useFillerType","deletion","set","includes","editing","_balloon","sort","done","ck-suggestion-marker-merge","upcast","return","observeMarkers","pairId","config","_removeUnsupportedChanges","setData","element:pre","ck-suggestion-marker","mouseover","hasClass","find","restoreRevision","isIncorrect","createPositionBefore"];var Pr,zr;Pr=Lr,zr=117,function(e){for(;--e;)Pr.push(Pr.shift())}(++zr);const Zr=function(e,t){return Lr[e-=0]},Ur={c:o.ViewContainerElement,a:o.ViewAttributeElement,e:o.ViewEmptyElement,r:o.ViewRawElement,u:o.ViewUIElement};class Hr extends e.Plugin{static get[Zr("0x58")](){return Zr("0xd5")}static get requires(){return[r.Users,nr.ContextualBalloon,qn]}constructor(...e){super(...e),this[Zr("0xa8")]=this.editor[Zr("0x21")][Zr("0x2e")](Zr("0xc4")),this[Zr("0x92")](Zr("0x1b"),null),this.set(Zr("0x6b"),null),this[Zr("0x71")]=null,this[Zr("0x92")](Zr("0x8"),null),this[Zr("0x92")](Zr("0x4a"),!1),this[Zr("0x92")]("isEnabled",!0),this.on("change:isEnabled",((e,t,i)=>{this[Zr("0x1b")]=null,this.activeView=null,this[Zr("0xb5")][Zr("0x94")][Zr("0x119")][Zr("0x52")]((e=>{for(const t of this[Zr("0xb5")].editing[Zr("0x119")].document[Zr("0x5c")])i?e[Zr("0x33")]("ck-editor__editable__overlay",t):e[Zr("0xd")]("ck-editor__editable__overlay",t)}))})),this.bind(Zr("0xbb")).to(this,Zr("0x1b"),(e=>null!==e)),this[Zr("0x7f")]("currentChangeNumber").to(this,Zr("0x4a"),this,"diff",this,"activeChange",((e,t,i)=>e&&i?t[Zr("0x1a")][Zr("0xeb")](i):0)),this[Zr("0x7f")](Zr("0xd1")).to(this,Zr("0x4a"),this,Zr("0x8"),((e,t)=>e?t.changes[Zr("0x5b")]:0)),this[Zr("0x47")]=null,this[Zr("0x118")]=new Map,this[Zr("0x84")]=null,this._balloon=this[Zr("0xb5")][Zr("0x21")][Zr("0x2e")](nr.ContextualBalloon)}[Zr("0x5f")](){const e=this[Zr("0xb5")],t=new Wr(e,{direction:Zr("0x10f")}),i=new Wr(e,{direction:"forward"});e[Zr("0x4c")].add(Zr("0xf8"),t),e[Zr("0x4c")][Zr("0xe5")](Zr("0x32"),i),e.commands.add(Zr("0xa5"),new Br(e)),this.on(Zr("0xb"),(()=>{t.refresh(),i.refresh()})),this._setConversion(),this._initInteractions(),e[Zr("0x87")](Zr("0x4f")),e.plugins[Zr("0xb4")]("WidgetToolbarRepository")&&e.plugins[Zr("0x2e")](Zr("0xc"))[Zr("0xc5")](Zr("0x4f"))}async[Zr("0xe8")](e){await this.loadRevisionData(e);const t={};for(const i in e[Zr("0x6a")]){const n=this._removeRevisionMarkers(JSON[Zr("0x83")](e[Zr("0x6a")][i][Zr("0x55")])),r=this[Zr("0xb5")][Zr("0x94")][Zr("0x119")].document,s=new o.ViewDocumentFragment(r,n[Zr("0x7e")]((e=>this[Zr("0x30")](e))));this[Zr("0xb5")][Zr("0x109")][Zr("0x73")][Zr("0x90")](Zr("0xe9")),t[i]=this[Zr("0xb5")][Zr("0x109")][Zr("0x73")][Zr("0x5")](s),this[Zr("0xb5")][Zr("0x109")][Zr("0x73")][Zr("0x90")](Zr("0xf4"))}return t}[Zr("0xe6")](e){return(e=e[Zr("0xd3")]((e=>!e[Zr("0xa")]||"revision-start"!==e[Zr("0xa")]&&Zr("0x2c")!==e[Zr("0xa")])))[Zr("0xc1")]((e=>{Zr("0x10a")!=typeof e&&(e.children=this[Zr("0xe6")](e[Zr("0xd6")]),e[Zr("0xea")]=e[Zr("0xea")][Zr("0xd3")]((e=>!e[0][Zr("0x78")](Zr("0x5d")))))})),e}compare(e,t,i=!1){if(!this.isEnabled)return;const n=this.diff,r=this.repository,o=Zr("0x10a")==typeof e?r[Zr("0x11")](e):e,s=Zr("0x10a")==typeof t?r.getRevision(t):t,a=o.id,c=s?s.id:null;if(!i&&this[Zr("0x8")]&&this[Zr("0x8")].newRevisionId===a&&this[Zr("0x8")].oldRevisionId===c)return Promise[Zr("0xfc")]();this.isReady=!1,this[Zr("0x6b")]=null,this[Zr("0x1b")]=null,this[Zr("0x8")]=new Cr(a,c);const u=this[Zr("0xbc")](o,s,!0)[Zr("0x7e")]((e=>this[Zr("0x11b")](e)));return u.push(new Promise((e=>{setTimeout(e,20)}))),Promise[Zr("0x1e")](u)[Zr("0x24")]((()=>{if(!this[Zr("0x74")])return;this[Zr("0x81")]();const e=this[Zr("0xd0")](a,c);this[Zr("0x8")][Zr("0x56")](e);for(const e of this[Zr("0x8")][Zr("0x1a")])this[Zr("0x118")][Zr("0x92")](e.id,e);this[Zr("0xb5")].model[Zr("0xb7")]({isUndoable:!1},(t=>{for(const i of Object.keys(e[Zr("0x45")])){const n=this[Zr("0xb5")][Zr("0x45")][Zr("0x0")].getRoot(i);t[Zr("0xe0")](t[Zr("0xfb")](n)),t[Zr("0x41")](e.model[i],n,0)}})),this[Zr("0x4a")]=!0})).catch((e=>{console[Zr("0xb2")](e),this[Zr("0x81")](),n?this[Zr("0x8")]=n:this.editor[Zr("0x9f")](Zr("0x7")),this[Zr("0x4a")]=!0}))}[Zr("0xc9")](){this.activeView=null,this._changeView&&this[Zr("0x47")][Zr("0xc9")]()}[Zr("0xb0")](e,t){const i=this[Zr("0xa8")][Zr("0x2f")](e);return i.on(Zr("0xbd"),((e,n,r)=>t(n,r,i))),this[Zr("0xa8")][Zr("0xf9")](i),i}[Zr("0x11b")](e){if(!e||e.diffData)return Promise[Zr("0xfc")]();{const t=this.editor[Zr("0x9d")][Zr("0x2e")](Zr("0x75"));return this[Zr("0x84")].getRevision({channelId:t,revisionId:e.id}).then((t=>{e[Zr("0xbd")]({diffData:t.diffData},!0)}))}}[Zr("0x81")](){this.activeChange=null,this[Zr("0x3")](),this[Zr("0x47")]&&this._changeView[Zr("0xc9")](),this._changeView=null,this[Zr("0x118")][Zr("0x1")]()}[Zr("0xdb")](e){const t=Array[Zr("0x19")](e[Zr("0x2d")]).filter((([e,t])=>e[Zr("0x78")]("revision:")&&!t[Zr("0xe4")])),i=Array[Zr("0x19")](this.editor[Zr("0x45")][Zr("0xfb")](e)[Zr("0x51")]({singleCharacters:!0}));if(0!=t[Zr("0x5b")])for(const e of i){const[i,n]=t[0],[,r,o]=i[Zr("0x115")](":");if(n.end.isEqual(e.nextPosition)&&t[Zr("0x8d")](),(e[Zr("0x69")].isEqual(n[Zr("0xff")])||e[Zr("0x69")][Zr("0x46")](n[Zr("0xff")]))&&(Zr("0x8a")==r?e.isAdded={userId:o}:Zr("0x91")==r&&(e.isRemoved={userId:o})),0==t[Zr("0x5b")])break}return i}[Zr("0x26")](e){const t=new Map;for(let i=0;i<e.length;i++)Zr("0x111")===e[i][Zr("0xe1")]?(e[i].item[Zr("0xb3")]=i,e[i][Zr("0x6f")][Zr("0x79")]=i):(Zr("0xbe")===e[i].type?e[i][Zr("0x6f")][Zr("0xb3")]=i:Zr("0xdc")===e[i][Zr("0xe1")]&&(e[i].item[Zr("0x79")]=i),t[Zr("0x92")](e[i].id,i));for(const i of t[Zr("0x34")]())"elementStart"===e[i].type?e[i][Zr("0x6f")][Zr("0x79")]=t[Zr("0x2e")](e[i][Zr("0x9c")]):Zr("0xdc")===e[i].type&&(e[i][Zr("0x6f")][Zr("0xb3")]=t[Zr("0x2e")](e[i][Zr("0x9c")]))}[Zr("0xe")](e){for(let t=0;t<e[Zr("0x5b")];t++){if("elementStart"===e[t][Zr("0xe1")])e[t][Zr("0x6f")][Zr("0xb3")]=t;else if("elementEnd"===e[t][Zr("0xe1")]){e[t][Zr("0x6f")][Zr("0x79")]=t;const i=e[t][Zr("0x6f")][Zr("0xb3")];e[i].pairId=e[t].id,e[t][Zr("0x9c")]=e[i].id}else e[t].item[Zr("0xb3")]=t,e[t][Zr("0x6f")].endIndex=t,e[t][Zr("0x9c")]=null;e[t][Zr("0x5a")]||(e[t][Zr("0x5a")]=[],e[t][Zr("0x36")]=[])}}[Zr("0x18")](e,t){const i=e[Zr("0xd3")]((e=>!e[Zr("0xda")]));for(let e=0;e<t[Zr("0x5b")];e++)t[e].isAdded&&(i[e].isAdded=t[e][Zr("0xda")])}_makeModelFromViewString(e){const t=JSON[Zr("0x83")](e),i=this[Zr("0xb5")][Zr("0x94")][Zr("0x119")][Zr("0x0")],n=new o.ViewDocumentFragment(i,t[Zr("0x7e")]((e=>this[Zr("0x30")](e))));return this[Zr("0xb5")][Zr("0x109")][Zr("0xd4")](n)}[Zr("0x30")](e){const t=this.editor[Zr("0x94")][Zr("0x119")][Zr("0x0")];if(Zr("0x10a")==typeof e)return new o.ViewText(t,e);{const i=e[Zr("0xd6")][Zr("0x7e")]((e=>this[Zr("0x30")](e)));return new(Ur[e[Zr("0xe1")]]||o.ViewElement)(t,e.name,e[Zr("0xea")],i)}}_getDiff(e,t=null){const i=this[Zr("0xa8")].getRevision(e),n=t?this[Zr("0xa8")][Zr("0x11")](t):null,r=this[Zr("0xbc")](i,n),o=r[r[Zr("0x5b")]-1],s=new Map;for(const e of r){e[Zr("0x45")]={};for(const t of e[Zr("0x6d")])s[Zr("0x92")](t.id,t);for(const t of this.editor[Zr("0x45")][Zr("0x0")][Zr("0xcc")]())e[Zr("0x6a")][t]||(e[Zr("0x6a")][t]={insertions:"[]",deletions:"[]"}),e[Zr("0x45")][t]={insertions:this._makeModelFromViewString(e.diffData[t].insertions),deletions:this[Zr("0x7a")](e[Zr("0x6a")][t][Zr("0xb1")])}}const a={model:{},changes:[]};for(const e of this[Zr("0xb5")][Zr("0x45")][Zr("0x0")][Zr("0xcc")]()){let t=null,n=0;const c=new Map(Array[Zr("0x19")](i.model[e].insertions[Zr("0x2d")]).filter((([e])=>!e.startsWith("revision:"))));let u=0;for(const o of r){const r=this[Zr("0xdb")](o[Zr("0x45")][e].insertions);o==i?(t=r,n=t[Zr("0x5b")],t[Zr("0xc1")]((e=>{e.id=u++})),this[Zr("0xe")](t)):this._markInsertions(t,r);const s=t[Zr("0xd3")]((e=>!e[Zr("0xda")]))[Zr("0x7e")]((e=>e.id));let a=0;const d=this[Zr("0xdb")](o[Zr("0x45")][e][Zr("0xb1")]);d[Zr("0xc1")]((e=>{e[Zr("0x3d")]?e.id=n++:e.id=s[a++]})),this[Zr("0xe")](d),this[Zr("0x3f")](t,Zr("0xda")),this[Zr("0x3f")](d,"isRemoved"),o==i&&this[Zr("0x59")](t,c),t=this[Zr("0x29")](t,d),this[Zr("0x26")](t),this._setDistance(t,Zr("0x3d"))}t=t.filter((e=>!(e.isAdded&&e.isRemoved)));const d=new Map(o[Zr("0x45")][e][Zr("0xb1")][Zr("0x2d")]),l=new Set(c[Zr("0xae")]());for(const e of d.keys())l[Zr("0x3c")](e);this[Zr("0xe3")](t,l),this._fixObsoleteTags(t),t=this._removeMissingPairs(t),t=this[Zr("0x54")](t),t=this[Zr("0x9e")](t);const{root:x,changes:h}=this._makeModelFromTape(t,s);a[Zr("0x45")][e]=x,a[Zr("0x1a")]=a[Zr("0x1a")][Zr("0x35")](h)}return a}_markMarkers(e,t){for(let i=0;i<e[Zr("0x5b")];i++)for(const[n,r]of t)r.start[Zr("0x4")](e[i][Zr("0x69")])&&e[i].markersStart.push(n),r[Zr("0x20")][Zr("0x4")](e[i].nextPosition)&&e[i].markersEnd[Zr("0x61")](n)}[Zr("0x29")](e,t){let i=[],n=0,r=0;for(;n<e[Zr("0x5b")]||r<t[Zr("0x5b")];){const o=e[n]||{},s=t[r]||{};if(o.id==s.id)n++,r++,i[Zr("0x61")](o);else if(s[Zr("0x3d")]&&o[Zr("0xda")]){const{commonTape:o,iEnd:s,jEnd:a}=this._threeWayMerge(e,n,t,r);i=i[Zr("0x35")](o),n=s,r=a}else s.isRemoved?(r++,i[Zr("0x61")](s)):(n++,i[Zr("0x61")](o))}return i}[Zr("0xe3")](e,t){const i=[];for(let o=0;o<e[Zr("0x5b")];o++){for(let r=0;r<e[o][Zr("0x5a")].length;r++){const s=e[o][Zr("0x5a")][r];if(!t.has(s))continue;const{group:a,type:c,authorId:u}=n(s);"revision-suggestion"!=a||Zr("0x8a")!=c&&Zr("0x91")!=c||(i[Zr("0x11c")]({type:c,name:s,userId:u}),e[o][Zr("0x5a")].splice(r,1),r--)}r(e[o]);for(let r=0;r<e[o][Zr("0x36")][Zr("0x5b")];r++){const s=e[o].markersEnd[r];if(!t[Zr("0xb4")](s))continue;const{group:a,type:c}=n(s);if(Zr("0x100")!=a||Zr("0x8a")!=c&&Zr("0x91")!=c)continue;e[o].markersEnd.splice(r,1),r--;const u=i[Zr("0x10b")]((e=>e[Zr("0xa")]==s));u>-1&&i[Zr("0x104")](u,1)}}function n(e){const t=e[Zr("0x115")](":");return{group:t[0],type:t[1],subType:t[Zr("0x5b")]>=5?t[2]:null,id:t[Zr("0x5b")]<5?t[2]:t[3],authorId:t[Zr("0x5b")]<5?t[3]:t[4],markerCount:6==t[Zr("0x5b")]?t[5]:null}}function r(e){for(let t=0;t<i.length;t++){if(e[Zr("0xda")]&&Zr("0x8a")==i[t].type)return e.isAddSuggestion=i[t],void delete e[Zr("0xda")];if(!e.isAdded&&!e[Zr("0x3d")]&&Zr("0x91")==i[t][Zr("0xe1")])return void(e[Zr("0x63")]=i[t])}}}[Zr("0x3f")](e,t){let i=0,n=!1;const r=new Map;for(const o of e)o[t]?n&&(i++,n=!1):(i++,n=!0),r[Zr("0x92")](o.id,i);for(let i=0;i<e[Zr("0x5b")];i++){if(Zr("0x3d")==t&&e[i][Zr("0xda")]||Zr("0xda")==t&&e[i][Zr("0x3d")])continue;if(Zr("0x111")==e[i][Zr("0xe1")]){e[i].distance=0;continue}const n=r.get(e[i][Zr("0x9c")]),o=r[Zr("0x2e")](e[i].id);e[i][Zr("0xad")]=n-o}}[Zr("0xbc")](e,t,i=!1){const n=[];let r=this[Zr("0xa8")][Zr("0xeb")](e),o=this[Zr("0xa8")][Zr("0xeb")](t);for(-1==o&&(o=this.repository[Zr("0x10")][Zr("0x5b")],i=!1);r<o;)n[Zr("0x61")](this[Zr("0xa8")][Zr("0x11")](r)),r++;return i&&n.push(this[Zr("0xa8")][Zr("0x11")](r)),n}[Zr("0x10e")](e,t,i,n){const r=this[Zr("0xb5")].model[Zr("0x107")];let o=t;for(;e[o]&&e[o][Zr("0xda")];)o++;let s=n;for(;i[s]&&i[s].isRemoved;)s++;c(e,t,o),c(i,n,s);const a=i.slice(n,s)[Zr("0x35")](e[Zr("0xfa")](t,o));return a[Zr("0x96")](((e,t)=>e[Zr("0x27")]!=t[Zr("0x27")]?e[Zr("0x27")]-t[Zr("0x27")]:e[Zr("0x76")]!=t.level?e[Zr("0x76")]-t[Zr("0x76")]:e[Zr("0xad")]!=t.distance?t.distance-e[Zr("0xad")]:!!e[Zr("0xda")]!=!!t[Zr("0xda")]?-1==e[Zr("0x27")]||0==e.side?e[Zr("0xda")]?-1:1:e[Zr("0xda")]?1:-1:e[Zr("0x37")]-t[Zr("0x37")])),{commonTape:a,iEnd:o,jEnd:s};function c(e,t,i){let n=-1,o=Number[Zr("0x110")],s=!0;for(let a=t;a<i;a++)if(r[Zr("0xc2")](e[a][Zr("0x6f")])||(s=!1),e[a][Zr("0x6f")].startIndex<t&&(n=a),e[a].item.endIndex>=i){o=a;break}s&&(n=i-1);for(let r=t;r<i;r++)e[r].side=r<=n?-1:r<o?0:1,e[r][Zr("0x37")]=r;let a=0;for(let i=t;i<=n;i++)0==e[i][Zr("0xad")]?e[i][Zr("0x76")]=a:(a++,e[i].level=a,a++);for(let n=t;n<i;n++)0==e[n][Zr("0x27")]&&(e[n].level=a);a=0;for(let t=i-1;t>=o;t--)0==e[t].distance?e[t][Zr("0x76")]=a:(a--,e[t][Zr("0x76")]=a,a--)}}[Zr("0xde")](e){const t=new Map,i=this[Zr("0xb5")].model[Zr("0x107")];for(let n=1;n<e.length;n++){let r,o,s;const a=e[n],c=e[n-1];if(Zr("0x111")==a[Zr("0xe1")])continue;if(a[Zr("0xe1")]!=c[Zr("0xe1")])continue;if(!i[Zr("0x62")](c[Zr("0x6f")])||i[Zr("0xca")](c.item))continue;if(!i[Zr("0x62")](a[Zr("0x6f")])||i[Zr("0xca")](a.item))continue;if((e[n].isAdded||e[n][Zr("0xee")])&&e[n-1][Zr("0x3d")])r=e[n],o=e[n-1],s=n-1;else{if(!e[n][Zr("0x3d")]||!e[n-1].isAdded&&!e[n-1].isAddSuggestion)continue;r=e[n-1],o=e[n],s=n}const u=r.level==o[Zr("0x76")],d=Math[Zr("0x50")](r.level)<Math[Zr("0x50")](o[Zr("0x76")])&&0==o.distance;(u||d)&&(t[Zr("0x92")](o.id,r.id),e.splice(s,1),n--,r.isAdded=!1)}for(let i=0;i<e[Zr("0x5b")];i++)t[Zr("0xb4")](e[i][Zr("0x9c")])&&(e[i].pairId=t[Zr("0x2e")](e[i][Zr("0x9c")]))}[Zr("0x113")](e){const t=new Set(e[Zr("0x7e")]((e=>e.id)));for(let i=0;i<e.length;i++)t[Zr("0xb4")](e[i][Zr("0x9c")])||0==e[i][Zr("0xad")]||(e[i][Zr("0xa6")]=!0);return e[Zr("0xd3")]((e=>!e.isIncorrect))}[Zr("0x54")](e){const t=new Set;for(let i=0;i<e[Zr("0x5b")];i++){if(t[Zr("0xb4")](e[i].id)&&e[i][Zr("0x3d")]&&(e[i][Zr("0xa6")]=!0),e[i][Zr("0xa6")])continue;if(0==e[i][Zr("0xad")])continue;if(Zr("0xbe")!=e[i][Zr("0xe1")])continue;if(null==e[i].pairId)continue;let n=i+1,r=0;for(;e[n].id!=e[i][Zr("0x9c")];)Zr("0xbe")==e[n][Zr("0xe1")]?r++:Zr("0xdc")==e[n].type&&r--,n++;if(0!=r)if(e[i][Zr("0x3d")])e[i][Zr("0xa6")]=!0;else for(;n!=i;)e[n].isRemoved&&0!=e[n][Zr("0xad")]&&(e[n][Zr("0xa6")]=!0,t[Zr("0xe5")](e[n].pairId)),n--}return e[Zr("0xd3")]((e=>!e[Zr("0xa6")]))}[Zr("0x9e")](e){const t=this[Zr("0xb5")].model[Zr("0x107")];for(let i=0;i<e.length;i++){if(!(e[i][Zr("0xda")]||e[i][Zr("0xee")]||e[i].isRemoved||e[i].isRemoveSuggestion))continue;if(0==e[i].distance)continue;const n=e[i][Zr("0x6f")];t.isBlock(n)||t.isLimit(n)||(e[i][Zr("0xda")]&&delete e[i][Zr("0xda")],e[i][Zr("0xee")]&&delete e[i][Zr("0xee")],e[i].isRemoveSuggestion&&delete e[i][Zr("0x63")],e[i].isRemoved&&(e[i][Zr("0xa6")]=!0))}return e[Zr("0xd3")]((e=>!e[Zr("0xa6")]))}[Zr("0x10d")](e,t){const i=new o.DocumentFragment,n=[],r=new Map,s=this[Zr("0xb5")].model,a=s[Zr("0x107")],c=[i],u={},d={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let l=null;const x=[0];for(let t=0;t<e[Zr("0x5b")];t++){let n,a;if(Zr("0xbe")===e[t].type){n=s.createPositionFromPath(i,x);const r=new o.Element(e[t][Zr("0x6f")][Zr("0xa")],e[t][Zr("0x6f")][Zr("0x8f")]());c[0]._appendChild(r),x.push(0),c[Zr("0x11c")](r),a=s.createPositionFromPath(i,x),l=null}else if(Zr("0xdc")===e[t][Zr("0xe1")])c.shift(),n=s[Zr("0x114")](i,x),x[Zr("0xaa")](),x[x[Zr("0x5b")]-1]++,a=s[Zr("0x114")](i,x),l=null;else{if(n=s[Zr("0x114")](i,x),l&&v(l,e[t][Zr("0x6f")]))l._data+=e[t].item.data;else{const i=new o.Text(e[t][Zr("0x6f")][Zr("0x109")],e[t][Zr("0x6f")][Zr("0x8f")]());c[0]._appendChild(i),l=i}x[x[Zr("0x5b")]-1]+=e[t][Zr("0x6f")][Zr("0x28")],a=s[Zr("0x114")](i,x)}for(const i of e[t][Zr("0x5a")])r[Zr("0x92")](i,{start:n,end:null});h(Zr("0x63"),t,n,a),h("isAddSuggestion",t,n,a),h(Zr("0x3d"),t,n,a),h(Zr("0xda"),t,n,a);for(const i of e[t].markersEnd)r.get(i)[Zr("0x20")]=a}for(const[e,t]of r){const n=this[Zr("0xb5")].model[Zr("0x48")](t.start,t[Zr("0x20")]);i[Zr("0x2d")][Zr("0x92")](e,n)}return n.sort(((e,t)=>{const n=i[Zr("0x2d")][Zr("0x2e")]("revision:"+e.id),r=i.markers[Zr("0x2e")](Zr("0x39")+t.id);return n.start[Zr("0x22")](r[Zr("0xff")])?-1:n.start[Zr("0x46")](r[Zr("0xff")])?1:n[Zr("0x20")][Zr("0x22")](r[Zr("0x20")])?-1:n[Zr("0x20")][Zr("0x46")](r[Zr("0x20")])?1:Zr("0xe5")===e[Zr("0xe1")]?-1:1})),{root:i,changes:n};function h(t,i,n,r){const o=!!e[i][t],s=o?e[i][t].userId:null,c=i===e[Zr("0x5b")]-1,l=d[t][0],x=a[Zr("0x64")](e[i][Zr("0x6f")]);!u[t]&&o?u[t]={start:n,tapeItem:e[i],userId:s,type:t}:u[t]&&!o?(u[t].end=n,f(u[t]),u[t]=null):u[t]&&o&&u[t][Zr("0x2a")]!==s&&(u[t][Zr("0x20")]=n,l&&l[Zr("0x2a")]===u[t][Zr("0x2a")]||f(u[t]),u[t]={start:n,tapeItem:e[i],userId:s,type:t}),u[t]&&x&&(Zr("0xbe")!==e[i][Zr("0xe1")]||l&&l[Zr("0x2a")]===s||d[t][Zr("0x11c")]({userId:s,object:e[i][Zr("0x6f")],change:u[t]}),Zr("0xdc")===e[i][Zr("0xe1")]&&l&&l[Zr("0xb6")]===e[i].item&&(d[t][Zr("0x8d")](),u[t]=l[Zr("0x52")])),u[t]&&c&&(u[t][Zr("0x20")]=r,f(u[t]),u[t]=null)}function f({start:e,end:r,tapeItem:o,userId:a,type:c}){const u=o[Zr("0x6f")],d=s.schema.isBlock(u)&&!s[Zr("0x107")][Zr("0xca")](u),l=e[Zr("0xfd")]==r[Zr("0x82")]&&r.isAtStart;if(d&&l)return;const x=s[Zr("0x48")](e,r),h=t[Zr("0x2e")](a),f=new Vr({author:h,type:"isAdded"==c||"isAddSuggestion"==c?"add":Zr("0xe0"),data:{isSuggestion:Zr("0xee")==c||Zr("0x63")==c},createdAt:new Date});n[Zr("0x61")](f),i[Zr("0x2d")][Zr("0x92")](Zr("0x39")+f.id,x)}function v(e,t){const i=e[Zr("0x8f")](),n=t.getAttributes();for(const e of i){if(e[1]!==t[Zr("0x25")](e[0]))return!1;n[Zr("0xfe")]()}return n[Zr("0xfe")]()[Zr("0x97")]}}[Zr("0x2b")](){this[Zr("0xb5")][Zr("0xf6")].for(Zr("0x99"))[Zr("0xd7")]({view:Zr("0x112")}),this[Zr("0xb5")].conversion.for(Zr("0x101"))[Zr("0x16")]({model:"revision",view:e=>{const t=e[Zr("0xba")][Zr("0x115")](":")[1],i=this[Zr("0x3a")](t);if(!i)return null;const n=Zr("0xe5")==i.type?Zr("0x8a"):Zr("0x91"),r=[Zr("0xa1"),"ck-suggestion-marker-"+n];return i[Zr("0x109")].isSuggestion&&r[Zr("0x61")](Zr("0xf1")+n+Zr("0xc0")),this.activeChange==i&&r.push(Zr("0xc7")),{classes:r,attributes:{"data-change-id":t}}}}),this[Zr("0xb5")][Zr("0xf6")][Zr("0xab")](Zr("0x99"))[Zr("0xe5")]((e=>{e.on(Zr("0xa0"),((e,t,i)=>{const n=t[Zr("0xac")][Zr("0x7b")](0);if(!n||!n.is(Zr("0x86"),"code"))return;if(!i[Zr("0x11a")][Zr("0xe7")](n,{attributes:["vid_start",Zr("0xcd")]}))return;const r=t[Zr("0x8c")][Zr("0xff")][Zr("0xfd")];i.writer[Zr("0x67")](Zr("0x2"),n[Zr("0x25")]("vid_start"),r),i.writer.setAttribute(Zr("0xcd"),n.getAttribute("vid_end"),r)}),{priority:Zr("0x40")})})),this[Zr("0xb5")][Zr("0xf6")][Zr("0xab")](Zr("0x99"))[Zr("0xe5")]((e=>{e.on(Zr("0x86"),((e,t,i)=>{if(!i[Zr("0x11a")][Zr("0xe7")](t[Zr("0xac")],{attributes:[Zr("0x2"),Zr("0xcd")]}))return;if(t[Zr("0x8c")].isCollapsed)return;const n=t[Zr("0x8c")].start[Zr("0xfd")];n[Zr("0xaf")](Zr("0x2"))||n[Zr("0xaf")](Zr("0xf5"))||(i.writer.setAttribute(Zr("0x2"),t[Zr("0xac")].getAttribute(Zr("0x2")),n),i[Zr("0xdd")][Zr("0x67")](Zr("0xcd"),t[Zr("0xac")][Zr("0x25")](Zr("0xcd")),n))}),{priority:Zr("0x40")})})),this.editor[Zr("0xf6")][Zr("0xab")](Zr("0x99")).elementToAttribute({view:{name:Zr("0x9"),attributes:{vid:!0}},model:{key:Zr("0xf5"),value:e=>e[Zr("0x25")](Zr("0xf5"))}}),this[Zr("0xb5")].model.schema.on("checkAttribute",((e,[,t])=>{[Zr("0x2"),"vid_end",Zr("0xf5")][Zr("0x93")](t)&&(e[Zr("0x9a")]=!0,e[Zr("0xce")]())}),{priority:Zr("0xd8")}),this[Zr("0xb5")][Zr("0xf6")][Zr("0xab")](Zr("0xdf")).add((e=>{e.on(Zr("0xa9"),((e,t,i)=>{if(" "!=t.item[Zr("0x109")]||t[Zr("0x6f")][Zr("0x82")].maxOffset>1)return;if(!i[Zr("0x11a")][Zr("0xe7")](t[Zr("0x6f")],e[Zr("0xa")]))return;const n=i[Zr("0xdd")],r=i.mapper[Zr("0x116")](t.range);n[Zr("0x4b")](r,n[Zr("0x80")]("span"))}))})),this[Zr("0xb5")][Zr("0xf6")][Zr("0xab")](Zr("0xdf"))[Zr("0x117")]({model:Zr("0x112")}),this[Zr("0xb5")][Zr("0x94")][Zr("0x1c")].on(Zr("0xec"),function(e){const t=e[Zr("0x21")].get(Zr("0xd5"));return(i,n,r)=>{const o=n[Zr("0xba")][Zr("0x115")](":")[1],s=t[Zr("0x3a")](o);if(!s)return null;const a="add"==s[Zr("0xe1")]?Zr("0x115"):Zr("0x65");if(!r[Zr("0x11a")].test(n.markerRange,i[Zr("0xa")]))return;const c=n.markerRange[Zr("0x51")](),u=n[Zr("0x106")][Zr("0xff")],d=e[Zr("0x45")][Zr("0x107")];let l=null,x=null,h=!1,f=!1;for(const e of c){const t=e[Zr("0x6f")];h=h||d[Zr("0xb9")](t);const i=r[Zr("0x15")][Zr("0x60")](t);if(i&&i[Zr("0xf2")]("addHighlight"))return;Zr("0xdc")==e[Zr("0xe1")]&&d.isBlock(t)&&!d[Zr("0xca")](t)&&(t.nextSibling||u[Zr("0x1d")]?l&&l[Zr("0x82")]==t||(l=t,v(e.previousPosition),f=!0):x=x||e[Zr("0x69")])}function v(e){const i=r.writer[Zr("0x103")]("span",{class:Zr("0xf1")+a}),o=r.mapper[Zr("0x49")](e);s[Zr("0x109")][Zr("0x8b")]&&r.writer[Zr("0xd")](Zr("0xf1")+a+Zr("0xc0"),i),t.activeChange==s&&r[Zr("0xdd")][Zr("0xd")]("ck-suggestion-marker--active",i),r.writer.insert(o,i),r[Zr("0x15")][Zr("0x8e")](i,n.markerName)}h||f||!x||v(x)}}(this[Zr("0xb5")]),{priority:"high"}),this[Zr("0xb5")].editing[Zr("0x1c")].on("removeMarker:revision",((e,t,i)=>{const n=i[Zr("0x15")][Zr("0x6")](t[Zr("0xba")]);if(n)for(const e of n)(e[Zr("0xa3")](Zr("0x7d"))||e[Zr("0xa3")](Zr("0x98")))&&(i[Zr("0x15")][Zr("0x13")](e,t.markerName),i[Zr("0xdd")][Zr("0xe0")](e))}),{priority:Zr("0x77")}),this.editor[Zr("0x94")].downcastDispatcher.on(Zr("0xec"),((e,t,i)=>{const n=t[Zr("0xba")][Zr("0x115")](":")[1],r=this[Zr("0x3a")](n);if(!r)return null;const o=Zr("0xe5")==r[Zr("0xe1")]?Zr("0x115"):Zr("0x65");if(i[Zr("0x11a")][Zr("0xc6")](t.markerRange,e[Zr("0xa")]))for(const e of t.markerRange[Zr("0xf0")]()){if(!e.is(Zr("0x86"),Zr("0x3b")))continue;const n=i.writer[Zr("0x103")](Zr("0x9"),{class:Zr("0xf1")+o}),s=i[Zr("0x15")].toViewPosition(this[Zr("0xb5")][Zr("0x45")][Zr("0xa7")](e));r[Zr("0x109")][Zr("0x8b")]&&i[Zr("0xdd")][Zr("0xd")](Zr("0xf1")+o+Zr("0xc0"),n),this[Zr("0x1b")]==r&&i[Zr("0xdd")][Zr("0xd")](Zr("0xc7"),n),i[Zr("0xdd")][Zr("0x41")](s,n),i[Zr("0x15")][Zr("0x8e")](n,t[Zr("0xba")])}}),{priority:Zr("0x77")}),this[Zr("0xb5")][Zr("0xf6")][Zr("0xab")](Zr("0x99"))[Zr("0xd7")]({view:Zr("0x89"),model:e=>Zr("0x4d")+e,converterPriority:Zr("0xd8")}),this[Zr("0xb5")][Zr("0xf6")].for(Zr("0x99")).dataToMarker({view:"suggestion",model:e=>Zr("0xc8")+e,converterPriority:Zr("0xd8")}),this[Zr("0xb5")][Zr("0xf6")][Zr("0xab")](Zr("0xdf"))[Zr("0x117")]({model:Zr("0x100"),view:e=>Zr("0x88")+e,converterPriority:"highest"}),this[Zr("0xb5")][Zr("0xf6")][Zr("0xab")](Zr("0x101"))[Zr("0x16")]({model:Zr("0x100"),view:e=>{const t=e[Zr("0xba")][Zr("0x115")](":")[1];return Zr("0x8a")!=t&&Zr("0x91")!=t?null:{classes:["ck-suggestion-preview-marker",Zr("0x57")+t]}}}),this.editor[Zr("0x94")][Zr("0x1c")].on(Zr("0xd2"),qr(this[Zr("0xb5")],Zr("0x65")),{priority:Zr("0x77")}),this[Zr("0xb5")][Zr("0x94")][Zr("0x1c")].on(Zr("0x7c"),qr(this[Zr("0xb5")],Zr("0x115")),{priority:Zr("0x77")}),this[Zr("0xb5")][Zr("0x94")].downcastDispatcher.on(Zr("0xbf"),((e,t,i)=>{const n=i[Zr("0x15")].markerNameToElements(t[Zr("0xba")]);if(n)for(const e of n)e.is(Zr("0x66"))&&(i.mapper[Zr("0x13")](e,t[Zr("0xba")]),i.writer.remove(e))}),{priority:Zr("0x77")})}_getChangeFromId(e){return this[Zr("0x118")][Zr("0x2e")](e)}[Zr("0x1f")](e){return this[Zr("0x47")]&&this._changeView[Zr("0xc9")](),this[Zr("0x47")]=new Tr(this.editor[Zr("0x3e")],e),this[Zr("0x47")]}[Zr("0x85")](){this.editor[Zr("0x45")].document.selection[Zr("0x9b")](Zr("0x112")),this.on(Zr("0xd9"),((e,t,i,n)=>{n&&this[Zr("0x95")][Zr("0xe0")](n),i&&(this._balloon[Zr("0xe5")]({view:i,stackId:"revisionHistoryLabel",position:{target:()=>{const e=this.editor[Zr("0x94")],t=this.editor[Zr("0x45")][Zr("0x2d")][Zr("0x2e")](Zr("0x39")+i[Zr("0x12")]),n=Array[Zr("0x19")](e[Zr("0x15")][Zr("0x6")](t[Zr("0xa")]))[Zr("0x7e")]((t=>e[Zr("0x119")][Zr("0x43")][Zr("0xf7")](t)))[Zr("0x7e")]((e=>Array.from(e.getClientRects())))[Zr("0x31")]();return this[Zr("0x71")]&&n[Zr("0xa4")]((e=>e[Zr("0x42")]-3<=this[Zr("0x71")].y&&e[Zr("0x105")]+3>=this[Zr("0x71")].y&&e.left-3<=this[Zr("0x71")].x&&e[Zr("0x70")]+3>=this._activeViewTarget.x))||n[0]}}}),this[Zr("0x95")][Zr("0x38")]("revisionHistoryLabel"))})),this.on(Zr("0x17"),((e,t,i,n)=>{this[Zr("0x6b")]=i?this[Zr("0x1f")](i):null,this[Zr("0xb5")][Zr("0x45")][Zr("0x52")]((()=>{const e=this[Zr("0xb5")][Zr("0x94")];n&&e.reconvertMarker(Zr("0x39")+n.id),i&&e[Zr("0xb8")](Zr("0x39")+i.id)}))})),this[Zr("0xcb")](this.editor[Zr("0x94")].view[Zr("0x0")],Zr("0xa2"),((e,t)=>{if(this[Zr("0x1b")])return;const i=this._findChangeIdFromDomTarget(t[Zr("0x72")]),n=this._changeIdToChange[Zr("0x2e")](i);n?(this[Zr("0x71")]={x:t[Zr("0xf")].x,y:t[Zr("0xf")].y},this[Zr("0x6b")]=this[Zr("0x1f")](n)):(this[Zr("0x71")]=null,this[Zr("0x6b")]=null)})),this[Zr("0xcb")](this.editor[Zr("0x94")].view[Zr("0x0")],Zr("0x14"),((e,t)=>{const i=this._findChangeIdFromDomTarget(t[Zr("0x72")]),n=this._changeIdToChange[Zr("0x2e")](i);n?(this[Zr("0x71")]={x:t[Zr("0xf")].x,y:t.domEvent.y},n===this[Zr("0x1b")]?this[Zr("0x95")].updatePosition():this[Zr("0x1b")]=n):(this[Zr("0x71")]=null,this[Zr("0x1b")]=null)}))}_findChangeIdFromDomTarget(e){do{const t=e.getAttribute(Zr("0xe2"));if(t)return t;e=e[Zr("0x82")]}while(e);return null}_cleanMarkers(){this.editor.model[Zr("0x52")]((e=>{for(const t of this[Zr("0xb5")].model.markers)e[Zr("0x6e")](t)}))}}function qr(e,t){return(i,n,r)=>{if(!r[Zr("0x11a")].test(n[Zr("0x106")],i[Zr("0xa")]))return;const o=n.markerRange[Zr("0x51")](),s=n[Zr("0x106")][Zr("0xff")],a=e[Zr("0x45")].schema;let c=null,u=null,d=!1,l=!1;for(const e of o){const t=e[Zr("0x6f")];d=d||a.isContent(t);const i=r.mapper[Zr("0x60")](t);if(i&&i[Zr("0xf2")](Zr("0xc3")))return;Zr("0xdc")==e[Zr("0xe1")]&&a[Zr("0x62")](t)&&!a[Zr("0xca")](t)&&(t[Zr("0x10c")]||s[Zr("0x1d")]?c&&c[Zr("0x82")]==t||(c=t,x(e[Zr("0x69")]),l=!0):u=u||e[Zr("0x69")])}function x(e){const i=r[Zr("0x15")].toViewPosition(e),o=r[Zr("0xdd")][Zr("0x103")](Zr("0x9"),{class:Zr("0x57")+t});r.writer[Zr("0x41")](i,o),r[Zr("0x15")].bindElementToMarker(o,n[Zr("0xba")])}d||l||!u||x(u)}}(0,t.mix)(Hr,t.ObservableMixin);class Br extends e.Command{constructor(e){super(e);const t=e[Zr("0x21")][Zr("0x2e")](Hr);this[Zr("0x5e")](e,Zr("0x68")),this.clearForceDisabled(Zr("0x4e")),this.listenTo(t,Zr("0x23"),(()=>this[Zr("0x6c")]())),this[Zr("0xcb")](t,Zr("0xef"),(()=>this[Zr("0x6c")]()))}execute(){const e=this[Zr("0xb5")],t=e[Zr("0x21")][Zr("0x2e")](Hr),i=t[Zr("0x4a")]?t[Zr("0x8")][Zr("0xcf")]:null;e[Zr("0x9d")][Zr("0x2e")]("revisionHistory")[Zr("0x108")](i)}[Zr("0x6c")](){const{isReady:e,isEnabled:t}=this[Zr("0xb5")].plugins[Zr("0x2e")](Hr);this[Zr("0x74")]=e&&t}}class Wr extends e.Command{constructor(e,{direction:t}){super(e);const i=e[Zr("0x21")][Zr("0x2e")](Hr);this.stopListening(e,Zr("0x68")),this[Zr("0xf3")](Zr("0x4e")),this[Zr("0x53")]=Zr("0x44")===t?1:-1,this.listenTo(i,Zr("0x23"),(()=>this[Zr("0x6c")]())),this[Zr("0xcb")](i,Zr("0xef"),(()=>this[Zr("0x6c")]()))}[Zr("0x102")](){const e=this[Zr("0xb5")],i=e.plugins[Zr("0x2e")](Hr),{isNavigationMode:n,currentChangeNumber:o}=i;i[Zr("0x1b")]=n?i.diff[Zr("0x1a")].get(o+this[Zr("0x53")]):i.diff[Zr("0x1a")][Zr("0xed")];const s=e[Zr("0x45")].markers[Zr("0x2e")](Zr("0x39")+i[Zr("0x1b")].id),a=(0,r.getMarkerDomElement)(e[Zr("0x94")],s);(0,t.scrollViewportToShowTarget)({target:a,viewportOffset:40})}[Zr("0x6c")](){const{isNavigationMode:e,currentChangeNumber:t,numberOfChanges:i,isReady:n,isEnabled:r}=this[Zr("0xb5")].plugins.get(Hr);this[Zr("0x74")]=!!(r&&n&&i)&&(!e||(1===this[Zr("0x53")]?t<i-1:t>0))}}var Gr=i(164),Yr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(Gr.Z,Yr);Gr.Z.locals;const Jr=["ck-revision-history-ui__changes-navigation__label","div","EDIT_X_OF_Y_REVISIONS","_statusText","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation","setTemplate","Loading...","Show previous change","isReady","set","bind","Total","ck-revision-history-ui__changes-navigation__navigation","fire","isNavigationMode","isForwardNavigationEnabled","numberOfChanges","bindTemplate","backward","execute","forward","_isStatusLabelVisible","ck-hidden","No changes","currentChangeNumber","isBackwardNavigationEnabled"];var $r,Kr;$r=Jr,Kr=241,function(e){for(;--e;)$r.push($r.shift())}(++Kr);const Xr=function(e,t){return Jr[e-=0]};class Qr extends nr.View{constructor(e){super(e);const t=this[Xr("0x14")],i=new nr.ButtonView(e),n=new nr.ButtonView(e);this[Xr("0xc")]("isNavigationMode",!1),this[Xr("0xc")](Xr("0xb"),!1),this[Xr("0xc")](Xr("0x0"),0),this[Xr("0xc")](Xr("0x13"),0),this[Xr("0xc")]("isForwardNavigationEnabled",!1),this[Xr("0xc")]("isBackwardNavigationEnabled",!1),this[Xr("0xd")](Xr("0x18")).to(this,Xr("0xb"),this,Xr("0x13"),((e,t)=>e&&t>0)),this[Xr("0xd")]("_statusText").to(this,Xr("0xb"),this,Xr("0x0"),this,Xr("0x13"),this,Xr("0x11"),((t,i,n,r)=>{if(!t)return Bn(e,Xr("0x9"));if(!n)return Bn(e,Xr("0x1a"));const o=Bn(e,"NUMBER_OF_CHANGES",n);return r?Bn(e,"X_OF_Y_CHANGES",[i+1,n]):o})),i.set({label:Bn(e,Xr("0xa")),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),n.set({label:Bn(e,"Show next change"),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),i[Xr("0xd")]("isEnabled").to(this,Xr("0x1")),n.bind("isEnabled").to(this,Xr("0x12")),i.on("execute",(()=>this[Xr("0x10")](Xr("0x16"),Xr("0x15")))),n.on(Xr("0x16"),(()=>this[Xr("0x10")]("execute",Xr("0x17")))),this[Xr("0x8")]({tag:Xr("0x3"),attributes:{class:["ck","ck-revision-history-ui",Xr("0x7")]},children:[{tag:"span",attributes:{class:[Xr("0x6")]},children:[{tag:"span",attributes:{class:[Xr("0x2"),t.if("_isStatusLabelVisible",Xr("0x19"),(e=>!e))]},children:[{text:t.to("isNavigationMode",(t=>t?Bn(e,Xr("0x4"))+": ":Bn(e,Xr("0xe"))+": "))}]},{text:t.to(Xr("0x5"))}]},new nr.ToolbarSeparatorView,{tag:"div",attributes:{class:[Xr("0xf")]},children:[i,n]}]})}}var eo=i(368),to={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(eo.Z,to);eo.Z.locals;const io=["removeClass","change","view","ck-editor__editable__loading-overlay","pluginName","document","roots","editing","show","editor"];var no,ro;no=io,ro=139,function(e){for(;--e;)no.push(no.shift())}(++ro);const oo=function(e,t){return io[e-=0]},so=oo("0x4");class ao extends e.Plugin{static get[oo("0x5")](){return"RevisionViewerLoadingOverlay"}[oo("0x9")](){const e=this.editor[oo("0x8")].view;e[oo("0x2")]((t=>{for(const i of e[oo("0x6")].roots)t.addClass(so,i)}))}hide(){const e=this[oo("0x0")][oo("0x8")][oo("0x3")];e[oo("0x2")]((t=>{for(const i of e[oo("0x6")][oo("0x7")])t[oo("0x1")](so,i)}))}}const co=["isEnabled","bind","isForwardNavigationEnabled","revisionHistory","Restore this revision","restoreRevision","isBackwardNavigationEnabled","Back to editing","hide","currentChangeNumber","commands","forward","listenTo","isReady","execute","showPreviousChange","showNextChange","changesNavigation","numberOfChanges","componentFactory","editor","isNavigationMode","requires","ck-revision-history-ui__back-to-editing","get","config","exitToEditing","show","set","change:isReady","plugins","add"];var uo,lo;uo=co,lo=440,function(e){for(;--e;)uo.push(uo.shift())}(++lo);const xo=function(e,t){return co[e-=0]};class ho extends e.Plugin{static get pluginName(){return"RevisionViewerUI"}static get[xo("0x1e")](){return[Hr,ao]}init(){const e=this[xo("0x1c")],t=e[xo("0x6")][xo("0x0")](Hr),i=e[xo("0x6")][xo("0x0")](ao);e.ui.componentFactory[xo("0x7")](xo("0x2"),(t=>{const i=new nr.ButtonView(t);return i[xo("0x4")]({label:Bn(t,xo("0xf")),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m5.042 9.367 2.189 1.837a.75.75 0 0 1-.965 1.149l-3.788-3.18a.747.747 0 0 1-.21-.284.75.75 0 0 1 .17-.945L6.23 4.762a.75.75 0 1 1 .964 1.15L4.863 7.866h8.917A.75.75 0 0 1 14 7.9a4 4 0 1 1-1.477 7.718l.344-1.489a2.5 2.5 0 1 0 1.094-4.73l.008-.032H5.042z"/></svg>',withText:!0,tooltip:!0,class:xo("0x1f")}),this[xo("0x14")](i,xo("0x16"),(()=>{e[xo("0x1")][xo("0x0")](xo("0xb")).closeRevisionViewerCallback()})),i})),e.ui[xo("0x1b")][xo("0x7")](xo("0xd"),(t=>{const i=new nr.ButtonView(t);return i[xo("0x4")]({label:Bn(t,xo("0xc")),withText:!0,tooltip:!0}),i[xo("0x9")](xo("0x8")).to(e[xo("0x12")].get(xo("0xd"))),this[xo("0x14")](i,xo("0x16"),(()=>e[xo("0x16")](xo("0xd")))),i})),e.ui[xo("0x1b")][xo("0x7")](xo("0x19"),(i=>{const n=new Qr(i),r=e[xo("0x12")].get("showPreviousChange"),o=e[xo("0x12")].get(xo("0x18"));return n.bind(xo("0xe")).to(r,xo("0x8")),n[xo("0x9")](xo("0xa")).to(o,"isEnabled"),n[xo("0x9")](xo("0x15"),xo("0x11"),xo("0x1a"),xo("0x1d")).to(t),this[xo("0x14")](n,xo("0x16"),((t,i)=>{e[xo("0x16")](xo("0x13")===i?xo("0x18"):xo("0x17"))})),n})),i[xo("0x3")](),t.on(xo("0x5"),((e,t,n)=>{n?i[xo("0x10")]():i[xo("0x3")]()}))}}var fo=i(957),vo={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(fo.Z,vo);fo.Z.locals;var mo,bo,go=["Revision name","set","ck-revision-history-sidebar__revision-name"];mo=go,bo=162,function(e){for(;--e;)mo.push(mo.shift())}(++bo);var yo=function(e,t){return go[e-=0]};class po extends nr.LabeledFieldView{constructor(e,...t){super(e,...t),this[yo("0x1")]({label:Bn(e,yo("0x0"))}),this.extendTemplate({tag:"span",attributes:{class:[yo("0x2")]}})}}var ko=i(522),_o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(ko.Z,_o);ko.Z.locals;const wo=["ck-revision-history-sidebar__revision-author","Revision author","name","0 0 11 10","setTemplate"];var So,To;So=wo,To=270,function(e){for(;--e;)So.push(So.shift())}(++To);const Oo=function(e,t){return wo[e-=0]};class Io extends nr.View{constructor(e,t,i){super(e);const n=new nr.IconView(e);n.set({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:Oo("0x3")});const r=["ck",Oo("0x0")];i&&r.push("ck-revision-history-sidebar__revision-author_creator");const o=[{tag:"span",attributes:{class:["ck","ck-revision-history-sidebar__revision-author__name"],title:Bn(e,i?"Revision creator":Oo("0x1"))},children:[n,t[Oo("0x2")]]}];this[Oo("0x4")]({tag:"li",attributes:{class:r},children:o})}}var Ro,No,Vo=["toLocaleDateString","numeric"];Ro=Vo,No=333,function(e){for(;--e;)Ro.push(Ro.shift())}(++No);var Eo=function(e,t){return Vo[e-=0]};const Mo='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="9.5" cy="4.5" r="1.5"/><circle cx="9.5" cy="10.5" r="1.5"/><circle cx="9.5" cy="16.5" r="1.5"/></svg>';var Ao=i(834),Do={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(Ao.Z,Do);Ao.Z.locals;const Co=["model","name","find","isEnabled","locale","button","bindTemplate","Show more items","source","isVisible","listenTo","_action","buttonView","change:isActionsDropdownOpen","isReady","execute","stopPropagation","ck-on","action","map","panelPosition","Name this revision","function","items","first","Restore this revision","bind","Compare against selected","isOpen","isActionsDropdownOpen"];var jo,Fo;jo=Co,Fo=180,function(e){for(;--e;)jo.push(jo.shift())}(++Fo);const Lo=function(e,t){return Co[e-=0]};var Po=i(525),zo={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(Po.Z,zo);Po.Z.locals;const Zo=["bind","ck-revision-history-sidebar__revision","div","from","element","ck-revision-history-sidebar__revision-wrapper","listenTo","ck-revision-history-sidebar__revision__controls-wrapper","uiLanguage","deselect","unshift","authors","isSelected","ck-revision-history-sidebar__revision-authors","value","filter","isEnabled","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setTemplate","isActionsDropdownOpen","length","fieldView",".ck-thread__remove-confirm","set","extendTemplate","ck-revision-history-sidebar__revision_highlighted","isHighlighted","ck-reset","fire","highlight","render","ck-disabled","isConfirm","creator","span","ck-revision-history-sidebar__actions_dropdown_open","createdAt","bindTemplate","revisionNameView","select","name","revisionActionsView","_createdAtFormatted"];var Uo,Ho;Uo=Zo,Ho=206,function(e){for(;--e;)Uo.push(Uo.shift())}(++Ho);const qo=function(e,t){return Zo[e-=0]};class Bo extends nr.View{constructor(e,i,n){super(e);const r=this[qo("0x3")],o=function(e,t){const i=Array[qo("0xc")](t[qo("0x14")])[qo("0x18")]((e=>e!=t[qo("0x2a")]));return t[qo("0x2a")]&&i[qo("0x13")](t[qo("0x2a")]),i.map((i=>new Io(e,i,i==t.creator)))}(e,i);this._revision=i,this.id=i.id,this[qo("0x9")](qo("0x6"),qo("0x2")).to(i),this[qo("0x20")](qo("0x15"),!1),this.set(qo("0x23"),!1),this.set(qo("0x1c"),!1),this[qo("0x20")]("isReady",!1),this[qo("0x9")](qo("0x8")).to(this,qo("0x2"),(t=>{return t?(i=e[qo("0x11")],(n=t)[Eo("0x1")](i,{month:"long",day:Eo("0x0")})+", "+n.toLocaleTimeString(i,{hour:Eo("0x0"),minute:Eo("0x0")})):null;var i,n})),this[qo("0x20")](qo("0x19"),!1),this.revisionNameView=new po(e,nr.createLabeledInputText),this[qo("0x4")][qo("0x1e")][qo("0x21")]({attributes:{maxlength:"220"}}),this[qo("0x4")][qo("0x1e")][qo("0x9")](qo("0x17"),"placeholder").to(this,qo("0x6"),qo("0x8")),this[qo("0x4")][qo("0x9")]("isEnabled").to(this,"isSelected",this,qo("0x19"),((e,t)=>e&&t)),this.revisionActionsView=n&&n[qo("0x1d")]?function(e,i){const n=e[Lo("0x6")],r=e[Lo("0x4")],o=(0,nr.createDropdown)(r);o[Lo("0x14")]="sw";const s=function(e,i){const n=function(e,t){const i=e.locale,n={"Compare against selected":Bn(i,Lo("0x1b")),"Name this revision":Bn(i,Lo("0x15")),"Restore this revision":Bn(i,Lo("0x19"))};return t[Lo("0x13")]((e=>{const t=n[e[Lo("0x1")]];return t&&t!==e[Lo("0x1")]&&(e[Lo("0x1")]=t),e}))}(e,i),r=new t.Collection;for(const t of n){const i={type:Lo("0x5"),model:new nr.Model({label:t[Lo("0x1")],class:t.class,withText:!0,_action:t.action})};i[Lo("0x0")].bind("isEnabled").to(e,Lo("0x1d"),(i=>Lo("0x16")!=typeof t[Lo("0x3")]||!i||t[Lo("0x3")](e))),r.add(i)}return r}(e,i);return e[Lo("0x1a")](Lo("0x1d")).to(o,Lo("0x1c")),o[Lo("0xc")].set({label:Bn(r,Lo("0x7")),tooltip:!0,tooltipPosition:"sw",icon:Mo}),o.extendTemplate({attributes:{class:["ck-revision-history-sidebar__revision__actions",n.if(Lo("0x1d"),Lo("0x11"))]},on:{click:n.to((e=>e[Lo("0x10")]()))}}),o.on(Lo("0xf"),(t=>{e[Lo("0xe")]&&Lo("0x16")==typeof t[Lo("0x8")]._action&&t[Lo("0x8")][Lo("0xb")](e)})),(0,nr.addListToDropdown)(o,s),o[Lo("0xa")](e,Lo("0xd"),((t,n,r)=>{if(r)for(const t of o.listView[Lo("0x17")]){const n=t.children[Lo("0x18")],r=i[Lo("0x2")]((e=>e[Lo("0x12")]===n[Lo("0xb")]))[Lo("0x9")];t[Lo("0x9")]=void 0===r||r(e)}})),o}(this,n):"",this[qo("0x7")][qo("0x9")](qo("0x19")).to(this),this[qo("0x1b")]({tag:qo("0xb"),attributes:{class:["ck","ck-reset",qo("0xe"),r.if(qo("0x29"),qo("0x1a"))]},children:[{tag:"div",attributes:{class:["ck",qo("0x24"),qo("0xa"),r.if(qo("0x19"),qo("0x28"),(e=>!e)),r.if("isSelected","ck-revision-history-sidebar__revision_selected"),r.if("isHighlighted",qo("0x22")),r.if(qo("0x1c"),qo("0x1"))]},children:[this.revisionNameView,{tag:qo("0x0"),attributes:{class:["ck","ck-revision-history-sidebar__revision__date"]},children:[{text:r.to(qo("0x8"))}]},{tag:qo("0xb"),attributes:{class:["ck",qo("0x10")]},children:[{tag:"ul",attributes:{class:["ck",qo("0x16")]},children:o}]},this[qo("0x7")]],on:{click:r.to((e=>{e.srcElement.closest(qo("0x1f"))||this.isReady&&this.isEnabled&&this[qo("0x25")](qo("0x5"),{id:this.id})}))}}]})}[qo("0x27")](){super[qo("0x27")]();const e=this[qo("0x4")].fieldView[qo("0xd")];this[qo("0xf")](e,"change",(()=>{this[qo("0x25")]("setName",{id:this.id,name:e[qo("0x17")]})}))}[qo("0x5")](){this[qo("0x15")]=!0}[qo("0x12")](){this.isSelected=!1}[qo("0x26")](){this.isHighlighted=!0}unhighlight(){this[qo("0x23")]=!1}}(0,t.mix)(Bo,r.ConfirmMixin);var Wo=i(810);const Go=["week","local","toJSDate","startOf","day","year","weekdayLong","toRelativeCalendar","monthLong","hasSame"];var Yo,Jo;Yo=Go,Jo=437,function(e){for(;--e;)Yo.push(Yo.shift())}(++Jo);const $o=function(e,t){return Go[e-=0]};function Ko(e,t){e=Wo.ou.fromJSDate(e).setLocale(t);const i=Wo.ou[$o("0x4")](),n=i.minus({days:1})[$o("0x6")]($o("0x7"));let r,o;return e[$o("0x2")](i,$o("0x7"))?(r=e[$o("0x6")]($o("0x7"))[$o("0x5")](),o=e.toRelativeCalendar()):e[$o("0x2")](n,$o("0x7"))?(r=n[$o("0x5")](),o=e[$o("0x0")]()):e[$o("0x2")](i,$o("0x3"))?(r=e.startOf("week")[$o("0x5")](),o=e[$o("0x9")]):e[$o("0x2")](i,"year")?(r=e.startOf("month")[$o("0x5")](),o=e[$o("0x1")]):(r=e[$o("0x6")]($o("0x8"))[$o("0x5")](),o=e[$o("0x8")]),{startDate:r,localizedPeriodName:o}}var Xo=i(37),Qo={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(Xo.Z,Qo);Xo.Z.locals;const es=["localizedPeriodName","startDate","removeRevision","div","setName","createCollection","locale","select","ck-revision-history-sidebar__time-period","add","ck-revision-history-sidebar__time-period__label","_revisionActions","revisionViews","delegate","span","addRevision","setTemplate"];var ts,is;ts=es,is=206,function(e){for(;--e;)ts.push(ts.shift())}(++is);const ns=function(e,t){return es[e-=0]};class rs extends nr.View{constructor(e,t,i){super(e);const n=Ko(t,this.locale.uiLanguage)[ns("0xf")];this[ns("0x10")]=t,this[ns("0x9")]=i,this[ns("0xa")]=this[ns("0x3")](),this[ns("0xa")][ns("0xb")](ns("0x5")).to(this),this[ns("0xa")][ns("0xb")](ns("0x2")).to(this),this[ns("0xe")]({tag:ns("0x1"),attributes:{class:["ck",ns("0x6")]},children:[{tag:ns("0xc"),attributes:{class:["ck",ns("0x8")]},children:[{text:n}]},{tag:ns("0x1"),attributes:{class:["ck","ck-revision-history-sidebar__time-period__revisions"]},children:this[ns("0xa")]}]})}[ns("0xd")](e){const t=new Bo(this[ns("0x4")],e,this[ns("0x9")]);this[ns("0xa")][ns("0x7")](t)}[ns("0x0")](e){const t=this.revisionViews.find((t=>t.id===e.id));this[ns("0xa")].remove(t)}}var os=i(29),ss={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(os.Z,ss);os.Z.locals;const as=["ck-revision-history-sidebar__header","span","Revision history","div","setTemplate","content"];var cs,us;cs=as,us=410,function(e){for(;--e;)cs.push(cs.shift())}(++us);const ds=function(e,t){return as[e-=0]};class ls extends nr.View{constructor(e){super(e);const t=new nr.IconView(e);t[ds("0x3")]=vr,this[ds("0x2")]({tag:ds("0x1"),attributes:{class:["ck","ck-reset_all",ds("0x4")]},children:[t,{tag:ds("0x5"),attributes:{class:["ck","ck-revision-history-sidebar__header__label"]},children:[Bn(e,ds("0x0"))]}]})}}var xs=i(790),hs={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(xs.Z,hs);xs.Z.locals;const fs=["createCollection","add","revisionSelected","unhighlight","some","revisionSetName","remove","delegate","_revisions","_revisionActions","deselect","select","set","fire","render","startDate","bindTemplate","isEnabled","get","setName","ck-revision-history-sidebar__timeline","setTemplate","_removeRevision","_getTimePeriodViewByStartDate","ck-revision-history-sidebar","timePeriodViews","removeRevision","createdAt","getTime","div","revisionViews","ck-disabled","_addRevision","map"];var vs,ms;vs=fs,ms=416,function(e){for(;--e;)vs.push(vs.shift())}(++ms);const bs=function(e,t){return fs[e-=0]};class gs extends nr.View{constructor(e,t,i){super(e);const n=this[bs("0x8")];this[bs("0x11")]=this[bs("0x1a")](),this[bs("0x11")][bs("0x21")](bs("0x3")).to(this),this[bs("0x11")].delegate("setName").to(this),this._revisions=t,this._revisionActions=i,this.on(bs("0x3"),((e,t)=>{this[bs("0x5")](bs("0x1c"),t)})),this.on(bs("0xb"),((e,t)=>{this[bs("0x5")](bs("0x1f"),t)})),this[bs("0x4")](bs("0x9"),!1),this[bs("0xd")]({tag:bs("0x15"),attributes:{class:["ck","ck-reset","ck-rounded-corners",bs("0x10")]},children:[new ls(e),{tag:bs("0x15"),attributes:{class:["ck",bs("0xc"),n.if(bs("0x9"),bs("0x17"),(e=>!e))]},children:this.timePeriodViews}]})}[bs("0x6")](){super[bs("0x6")]();for(const e of this[bs("0x0")])this[bs("0x18")](e);this[bs("0x0")].on(bs("0x1b"),((e,t)=>{this._addRevision(t)})),this[bs("0x0")].on(bs("0x20"),((e,t)=>{this._removeRevision(t)}))}get[bs("0x16")](){return this[bs("0x11")].map((e=>e[bs("0x16")][bs("0x19")]((e=>e)))).flat()}selectRevision(e){for(const t of this.revisionViews)e&&e.id===t.id?t[bs("0x3")]():t[bs("0x2")]()}highlightRevisions(e){for(const t of this.revisionViews)e[bs("0x1e")]((({id:e})=>e===t.id))?t.highlight():t[bs("0x1d")]()}[bs("0x18")](e){const t=Ko(e[bs("0x13")])[bs("0x7")];let i=this[bs("0x11")][bs("0xa")](0);i&&i[bs("0x7")][bs("0x14")]()===t[bs("0x14")]()||(i=new rs(this.locale,t,this[bs("0x1")]),this.timePeriodViews[bs("0x1b")](i)),i.addRevision(e)}[bs("0xe")](e){const t=Ko(e[bs("0x13")])[bs("0x7")];this._getTimePeriodViewByStartDate(t)[bs("0x12")](e)}[bs("0xf")](e){return this[bs("0x11")].find((t=>t[bs("0x7")][bs("0x14")]()===e[bs("0x14")]()))}}const ys=["revisionHistory","availableRevisionActions","newRevisionId","_revisionViewer","destroy","add","string","_handleRevisionSetName","change:diff","bind","_revisions","restoreRevision","Compare against selected","getRevisionsInDiff","name","listenTo","revisionSelected","_handleEditorDataReady","repository","getRevision","plugins","length","revisionHistory.viewerSidebarContainer","nameRevision","editor","restoreRevisionCallback","render","getEarlierVisibleRevision","config","diff","locale","timePeriodViews","compare","compareAgainstSelected","select","map","highlightRevisions","focus","remove","RevisionsSidebar","_handleRevisionSelected","getIndex","appendChild","ready","revisionViews","getLaterVisibleRevision","Name this revision","_revisionsRepository","_sidebarView","pluginName","element","requires","selectRevision","defaultRevisionActions","assign","action","get","isVisible","_handleDiffChange","revisionHistory.revisionActions","data"];var ps,ks;ps=ys,ks=430,function(e){for(;--e;)ps.push(ps.shift())}(++ks);const _s=function(e,t){return ys[e-=0]};class ws extends e.Plugin{static get[_s("0x2e")](){return _s("0x24")}static get[_s("0x30")](){return[Hr]}constructor(e){super(e),this[_s("0x0")]=e[_s("0x11")][_s("0x35")](Hr),this._revisionsRepository=this[_s("0x0")][_s("0xf")],this[_s("0x2d")]=null}init(){const e=this[_s("0x2c")][_s("0x7")],t=this._createRevisionActions(),i=this[_s("0x15")][_s("0x19")].get(_s("0x13"));this[_s("0x2d")]=new gs(this.editor[_s("0x1b")],e,t),this[_s("0x2d")].on(_s("0xd"),this[_s("0x25")][_s("0x6")](this)),this[_s("0x2d")].on("revisionSetName",this[_s("0x4")].bind(this)),this[_s("0x2d")][_s("0x6")]("isEnabled").to(this._revisionViewer),this[_s("0x2d")][_s("0x1c")].on(_s("0x2"),((e,t)=>{t[_s("0x29")].on(_s("0x2"),((e,t)=>{t[_s("0x6")]("isEnabled","isReady").to(this[_s("0x0")])}))})),this[_s("0x2d")][_s("0x17")](),this[_s("0xc")](this.editor[_s("0x39")],_s("0x28"),this[_s("0xe")].bind(this)),this[_s("0xc")](this[_s("0x0")],_s("0x5"),this[_s("0x37")][_s("0x6")](this)),i[_s("0x27")](this._sidebarView[_s("0x2f")])}[_s("0x1")](){this[_s("0x2d")][_s("0x2f")][_s("0x23")](),this._sidebarView[_s("0x1")]()}_handleEditorDataReady(){const e=this[_s("0x2c")][_s("0x10")](0);if(e){const t=this[_s("0x2c")].getEarlierVisibleRevision(e.id);this[_s("0x0")].compare(e,t)}}[_s("0x25")](e,t){const i=this._revisionsRepository.getRevision(t.id),n=this[_s("0x2c")][_s("0x18")](i.id);this[_s("0x0")].compare(i,n)}[_s("0x4")](e,t){this._revisionsRepository[_s("0x10")](t.id).setName(t[_s("0xb")])}_handleDiffChange(e,t,i){const n=this._revisionsRepository[_s("0xa")](i);n[_s("0x12")]>2?(this._sidebarView[_s("0x21")](n),this[_s("0x2d")][_s("0x31")](null)):(this[_s("0x2d")][_s("0x21")]([]),this[_s("0x2d")][_s("0x31")](n[0]))}_createRevisionActions(){const e=this[_s("0x15")],t=ws.availableRevisionActions,i=e[_s("0x19")].get(_s("0x38"))||ws[_s("0x32")];if(i[_s("0x12")])return i[_s("0x20")]((i=>{const n=_s("0x3")==typeof i?Object[_s("0x33")]({},t[i]):i;return n.action=n[_s("0x34")][_s("0x6")](this,e),n[_s("0x36")]&&(n[_s("0x36")]=n[_s("0x36")][_s("0x6")](this,e)),n}))}}ws[_s("0x3b")]={compareAgainstSelected:{name:_s("0x9"),action:({plugins:e},t)=>{const i=e[_s("0x35")](Hr),n=i[_s("0xf")];let r=i[_s("0x1a")][_s("0x3c")],o=t.id;n[_s("0x26")](r)>n[_s("0x26")](o)&&([r,o]=[o,r]),i[_s("0x1d")](r,o)},isVisible:({plugins:e},t)=>{const i=e[_s("0x35")](Hr);return!(i.repository[_s("0xa")](i[_s("0x1a")]).length>2||t.isSelected)}},restoreRevision:{name:"Restore this revision",action:(e,{id:t})=>{e[_s("0x19")][_s("0x35")](_s("0x3a"))[_s("0x16")](t)},isVisible:({plugins:e},t)=>!!e.get(Hr)[_s("0xf")][_s("0x2a")](t.id)},nameRevision:{name:_s("0x2b"),action:({plugins:e},{id:t,revisionNameView:i})=>{const n=e.get(Hr),r=n[_s("0xf")].getEarlierVisibleRevision(t);n[_s("0x1d")](t,r),i[_s("0x22")](),i.fieldView[_s("0x1f")]()}}},ws[_s("0x32")]=[_s("0x1e"),_s("0x8"),_s("0x14")];const Ss=["editable","attachDomRoot","editor","bind","_initToolbar","destroy","detachDomRoot","view","isActive","document","get","_toolbarConfig","_elementReplacer","isFocused","render","stickyPanel","setEditableElement","name","viewportTopOffset","element","config","restore","toolbar","viewportOffset","addToolbar","rootName","replace","init","fillFromConfig","limiterElement","editing","focusTracker"];var Ts,Os;Ts=Ss,Os=366,function(e){for(;--e;)Ts.push(Ts.shift())}(++Os);const Is=function(e,t){return Ss[e-=0]};class Rs extends nr.EditorUI{constructor(e,i){super(e),this.view=i,this[Is("0x1d")]=(0,nr.normalizeToolbarConfig)(e[Is("0x6")][Is("0x1c")]("toolbar")),this._elementReplacer=new t.ElementReplacer}get[Is("0x5")](){return this[Is("0x19")][Is("0x5")]}[Is("0xd")](e){const t=this[Is("0x14")],i=this[Is("0x19")],n=t.editing.view,r=i[Is("0x12")],o=n[Is("0x1b")].getRoot();r[Is("0x3")]=o[Is("0xb")],i[Is("0x0")]();const s=r[Is("0x5")];this[Is("0x2")](r.name,s),i[Is("0x12")][Is("0x15")]("isFocused").to(this[Is("0x11")]),n[Is("0x13")](s),this[Is("0x1e")][Is("0xc")](e,this[Is("0x5")]),this._initToolbar(),this.fire("ready")}[Is("0x17")](){super[Is("0x17")]();const e=this[Is("0x19")],t=this.editor[Is("0x10")][Is("0x19")];this[Is("0x1e")][Is("0x7")](),t[Is("0x18")](e.editable[Is("0x3")]),e[Is("0x17")]()}[Is("0x16")](){const e=this.view;e[Is("0x1")].bind(Is("0x1a")).to(this[Is("0x11")],Is("0x1f")),e.stickyPanel[Is("0xf")]=e[Is("0x5")],e.stickyPanel[Is("0x15")](Is("0x4")).to(this,Is("0x9"),(({top:e})=>e)),e[Is("0x8")][Is("0xe")](this[Is("0x1d")],this.componentFactory),this[Is("0xa")](e.toolbar)}}var Ns=i(168),Vs={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};or()(Ns.Z,Vs);Ns.Z.locals;var Es,Ms,As=["toolbar","shouldToolbarGroupWhenFull","main","render","add","stickyPanel","editable"];Es=As,Ms=162,function(e){for(;--e;)Es.push(Es.shift())}(++Ms);var Ds=function(e,t){return As[e-=0]};class Cs extends nr.BoxedEditorUIView{constructor(e,t,i={}){super(e),this[Ds("0x4")]=new nr.StickyPanelView(e),this[Ds("0x6")]=new nr.ToolbarView(e,{shouldGroupWhenFull:i[Ds("0x0")]}),this[Ds("0x5")]=new nr.InlineEditableUIView(e,t)}[Ds("0x2")](){super.render(),this[Ds("0x4")].content[Ds("0x3")](this.toolbar),this.top[Ds("0x3")](this[Ds("0x4")]),this[Ds("0x1")].add(this[Ds("0x5")])}}const js=["create","ready","initPlugins","document","createRoot","locale","destroy","get","sourceElement","editing","view","init","initialData","fire"];var Fs,Ls;Fs=js,Ls=314,function(e){for(;--e;)Fs.push(Fs.shift())}(++Ls);const Ps=function(e,t){return js[e-=0]};class zs extends e.Editor{constructor(e,t){super(t),this[Ps("0x2")]=e,this.model[Ps("0xb")][Ps("0xc")]();const i=new Cs(this[Ps("0xd")],this[Ps("0x3")][Ps("0x4")],{shouldToolbarGroupWhenFull:!0});this.ui=new Rs(this,i)}[Ps("0x0")](){return this.updateSourceElement(),this.ui.destroy(),super.destroy()}static async[Ps("0x8")](e,t){const i=new this(e,t);return await i[Ps("0xa")](),await i.ui.init(e),await i.data[Ps("0x5")](i.config[Ps("0x1")](Ps("0x6"))),i[Ps("0x7")](Ps("0x9")),i}}(0,t.mix)(zs,e.DataApiMixin),(0,t.mix)(zs,e.ElementApiMixin);const Zs=["createdAt","saveRevision","Annotations","isEnabled","name","map","pluginName","RevisionHistory","revisionHistory.editorContainer","addRevisionData","toJSON","revision-history-viewer-opened","toLocaleDateString","_restoreRevision","data","change","_closeRevisionViewer","update","showRevisionViewerCallback","closeRevisionViewerCallback","model","WebSocketGateway","has","set","none","Autosave","catch","getUser","uiLanguage","getMarkersGroup","changesNavigation","markers","repository","adapter","toLocaleTimeString","RevisionsRepository","constructor","isReady","define","block","getRevision","toVersion","every","RevisionTracker","includes","isAnonymous","restrictedEditingException","_recalculatePageBreaks","extraPlugins","_getRevisionViewerEditorConfig","exitToEditing","revisionHistory.viewerContainer","then","Restored","getRevisionData","_viewerEditor","destroy","getRevisions","concat","Users","push","init","RevisionViewer","bind","revisionHistory.closeRevisionViewerCallback","fromVersion","revisionHistory","get","requires","commands","indexOf","revisionHistory.viewerEditorElement","numeric","revisionHistory.showRevisionViewerCallback","_showRevisionViewer","names","revision-history-missing-configuration","PaginationLookup","save","editor","disableReadOnlyMode","string","removeMarker","users","builtinPlugins","restoreRevision","filter","config","revisionHistory.restoreRevisionCallback","isReadOnly","create","plugins","RevisionHistoryUI","locale","display","from","addUser","style"];var Us,Hs;Us=Zs,Hs=408,function(e){for(;--e;)Us.push(Us.shift())}(++Hs);const qs=function(e,t){return Zs[e-=0]};class Bs extends e.Plugin{static get[qs("0x58")](){return qs("0x59")}static get[qs("0x34")](){return[Kn,pr]}constructor(...e){if(super(...e),!this.editor[qs("0x47")][qs("0x33")]("revisionHistory"))throw new t.CKEditorError(qs("0x3c"),this);this[qs("0x27")]=null,this[qs("0x3f")][qs("0x47")].define(qs("0x39"),(e=>this[qs("0x3a")](e))),this.editor[qs("0x47")].define(qs("0x30"),(e=>this[qs("0x0")](e))),this[qs("0x3f")].config[qs("0x16")](qs("0x48"),(e=>this[qs("0x5f")](e))),this._enhanceShowRevisionViewerCallback(),this._enhanceCloseRevisionViewerCallback()}set[qs("0x11")](e){this[qs("0x3f")][qs("0x4b")][qs("0x33")](qs("0x1b"))[qs("0x11")]=e}get[qs("0x11")](){return this[qs("0x3f")].plugins[qs("0x33")]("RevisionTracker")[qs("0x11")]}addRevisionData(...e){return this[qs("0x3f")].plugins[qs("0x33")](qs("0x1b"))[qs("0x5b")](...e)}[qs("0x18")](...e){return this[qs("0x3f")][qs("0x4b")][qs("0x33")](qs("0x13"))[qs("0x18")](...e)}[qs("0x29")](...e){return this[qs("0x3f")][qs("0x4b")].get("RevisionsRepository")[qs("0x29")](...e)}[qs("0x21")](){const i=["context"],n=["RevisionTracker",qs("0x4c"),qs("0x5"),"RestrictedEditingMode","Autosave"],r={},o=this[qs("0x3f")],s=o[qs("0x4b")][qs("0x33")]("RevisionTracker"),a=o[qs("0x4b")][qs("0x33")](qs("0x2b"))[qs("0x43")];for(const e of o.config[qs("0x3b")]())i[qs("0x1c")](e)||(r[e]=o[qs("0x47")][qs("0x33")](e));r.initialData="",r.toolbar=[qs("0x22"),qs("0x45"),qs("0xe")];const c=this[qs("0x3f")][qs("0x14")][qs("0x44")]||[],u=r[qs("0x20")]||[];delete r[qs("0x20")];const d=c[qs("0x2a")](r[qs("0x4b")])[qs("0x2a")](u)[qs("0x57")]((e=>qs("0x41")==typeof e?c.find((t=>t.pluginName==e)):e));let l=!1;function x(e,t,i){const r="function"==typeof e?e[qs("0x58")]||e[qs("0x56")]:e;if("WebSocketGateway"===r&&(l=!0),i.includes(r))return!0;if(i[qs("0x2c")](r),n.includes(r))return!1;const o=(("function"==typeof e?e:t[qs("0x6")](r)?t[qs("0x33")](r):{}).requires||[])[qs("0x1a")]((e=>x(e,t,i)));return o||n[qs("0x2c")](r),o}return r.plugins=Array[qs("0x4f")](new Set(d))[qs("0x46")]((e=>x(e,o[qs("0x4b")],[]))),l&&r[qs("0x4b")].push(o[qs("0x4b")][qs("0x33")](qs("0x5"))[qs("0x14")]),r.plugins.push(Hr,ho,class extends e.Plugin{static get requires(){return[Hr,"Users"]}[qs("0x2d")](){const e=this[qs("0x3f")][qs("0x4b")].get(qs("0x2b"));for(const t of a)t[qs("0x1d")]||e[qs("0xb")](t.id)||e[qs("0x50")](t);const i=s[qs("0x10")][qs("0x29")]();let n=null;const r=this[qs("0x3f")][qs("0x4b")][qs("0x33")]("RevisionViewer");r[qs("0x11")]=s[qs("0x11")],r[qs("0x2f")](qs("0x55")).to(s),this[qs("0x3f")][qs("0x35")][qs("0x33")](qs("0x45"))[qs("0x2f")](qs("0x55")).to(o,qs("0x49"),(e=>!e));for(const e of i){const i=null===e.creator;if(i&&e[qs("0x19")]===e[qs("0x31")])continue;const o=e[qs("0x5c")]();r[qs("0x5b")](o,((r,o,a)=>{if(i){if(n)n._update(r,o);else if(!o){const e=a[qs("0x5c")]();e.id=(0,t.uid)(),s[qs("0x53")](e,a[qs("0x19")])[qs("0x24")]((e=>{n=e}))}}else e._update(r,o)}))}}},ws),r}_enhanceShowRevisionViewerCallback(){const e=this.editor.config[qs("0x33")](qs("0x32"))[qs("0x2")];this[qs("0x3f")].config[qs("0x7")](qs("0x39"),(async()=>{this.editor.enableReadOnlyMode("revision-history-viewer-opened");const t=this.editor[qs("0x4b")][qs("0x33")]("RevisionTracker");this[qs("0x3f")][qs("0x4b")][qs("0x6")](qs("0x9"))?await this.editor[qs("0x4b")][qs("0x33")](qs("0x9"))[qs("0x3e")]():await t[qs("0x1")](),this[qs("0x3f")].plugins[qs("0x6")](qs("0x3d"))&&this.editor[qs("0x4b")][qs("0x33")](qs("0x3d"))[qs("0x1f")]();const i=this[qs("0x21")]();return e(i)[qs("0x24")]((e=>{this[qs("0x27")]=e,this.editor[qs("0x4b")][qs("0x6")]("Annotations")&&this[qs("0x3f")][qs("0x4b")][qs("0x33")](qs("0x54")).refreshVisibility()}))[qs("0xa")]((e=>{console.error(e),this.editor[qs("0x40")](qs("0x5d"))}))}))}_enhanceCloseRevisionViewerCallback(){const e=this[qs("0x3f")][qs("0x47")][qs("0x33")](qs("0x32"))[qs("0x3")];this[qs("0x3f")][qs("0x47")][qs("0x7")](qs("0x30"),(()=>(this[qs("0x3f")][qs("0x4b")][qs("0x6")](qs("0x3d"))&&this[qs("0x3f")][qs("0x4b")][qs("0x33")](qs("0x3d"))[qs("0x1f")](),e(this._viewerEditor).then((()=>{this.editor[qs("0x40")](qs("0x5d")),this[qs("0x27")]=null,this.editor[qs("0x4b")][qs("0x6")](qs("0x54"))&&(this[qs("0x3f")].plugins.get(qs("0x54")).refreshVisibility(),this[qs("0x3f")][qs("0x4b")][qs("0x33")](qs("0x54")).refreshPositioning())})))))}[qs("0x3a")](e){const t=this[qs("0x3f")][qs("0x47")][qs("0x33")]("revisionHistory.editorContainer"),i=this[qs("0x3f")][qs("0x47")][qs("0x33")](qs("0x23")),n=this.editor[qs("0x47")][qs("0x33")](qs("0x37"));return zs[qs("0x4a")](n,e).then((e=>(i[qs("0x51")][qs("0x4e")]=qs("0x17"),t[qs("0x51")][qs("0x4e")]=qs("0x8"),e)))}[qs("0x0")](e){const t=this[qs("0x3f")][qs("0x47")][qs("0x33")](qs("0x5a"));return this[qs("0x3f")][qs("0x47")][qs("0x33")]("revisionHistory.viewerContainer").style[qs("0x4e")]=qs("0x8"),t[qs("0x51")].display="",e[qs("0x28")]()}async _restoreRevision(e){const t=this[qs("0x3f")],i=this[qs("0x27")][qs("0x4b")][qs("0x33")](qs("0x2e")),n=t[qs("0x4b")][qs("0x33")](qs("0x1b")),r=i.repository[qs("0x18")](e);let o,s;try{o=await i[qs("0x26")](r)}catch(e){return void console.error(e)}t[qs("0x4")][qs("0x61")]((e=>{for(const i of Array[qs("0x4f")](t[qs("0x4")][qs("0xf")][qs("0xd")](qs("0x1e"))))e[qs("0x42")](i)})),i[qs("0x15")]=!1,t[qs("0x60")][qs("0x7")](o,{suppressErrorInCollaboration:!0});const a=Bn(t[qs("0x4d")],qs("0x25"));return s=r[qs("0x56")]?-1==r[qs("0x56")][qs("0x36")](a)?a+": "+r.name:r[qs("0x56")]:a+": "+r[qs("0x52")][qs("0x5e")](t[qs("0x4d")][qs("0xc")],{month:"long",day:qs("0x38")})+", "+r[qs("0x52")][qs("0x12")](t.locale[qs("0xc")],{hour:qs("0x38"),minute:qs("0x38")}),await n[qs("0x53")]({name:s}),i[qs("0x15")]=!0,t.config[qs("0x33")](qs("0x32"))[qs("0x3")]()}}})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var e={164:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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 o=r},525:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const o=r},834:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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 o=r},522:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}.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 o=r},957:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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);transition:var(--ck-revision-history-revision-transitions);width:100%}.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 o=r},996:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{display:inline-block}.ck.ck-revision-history-save-revision-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-revision-history-save-revision-form{flex-wrap:wrap}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-revision-history-save-revision-form .ck-button{flex-basis:50%}}",""]);const o=r},790:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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 o=r},29:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck.ck-revision-history-sidebar__header{--header-height:calc(var(--ck-ui-component-min-height) + 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 o=r},37:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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 o=r},288:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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}',""]);const o=r},368:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible}.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 o=r},168:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.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-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius: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 o=r},542:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var n=i(758),r=i.n(n)()((function(e){return e[1]}));r.push([e.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-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 o=r},758:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(r[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&r[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},810:(e,t)=>{"use strict";function i(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function a(e,t,i){return a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,i){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return i&&s(r,i.prototype),r},a.apply(null,arguments)}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;var i;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return a(e,arguments,o(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s(n,e)},c(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function l(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(e){if("string"==typeof e)return u(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?u(e,t):void 0}}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}var d=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t}(c(Error)),x=function(e){function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return r(t,e),t}(d),h=function(e){function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return r(t,e),t}(d),f=function(e){function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return r(t,e),t}(d),v=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t}(d),m=function(e){function t(t){return e.call(this,"Invalid unit "+t)||this}return r(t,e),t}(d),g=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t}(d),p=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return r(t,e),t}(d),y="numeric",b="short",k="long",_={year:y,month:y,day:y},w={year:y,month:b,day:y},S={year:y,month:b,day:y,weekday:b},T={year:y,month:k,day:y},O={year:y,month:k,day:y,weekday:k},I={hour:y,minute:y},R={hour:y,minute:y,second:y},N={hour:y,minute:y,second:y,timeZoneName:b},V={hour:y,minute:y,second:y,timeZoneName:k},E={hour:y,minute:y,hour12:!1},M={hour:y,minute:y,second:y,hour12:!1},D={hour:y,minute:y,second:y,hour12:!1,timeZoneName:b},A={hour:y,minute:y,second:y,hour12:!1,timeZoneName:k},C={year:y,month:y,day:y,hour:y,minute:y},j={year:y,month:y,day:y,hour:y,minute:y,second:y},F={year:y,month:b,day:y,hour:y,minute:y},L={year:y,month:b,day:y,hour:y,minute:y,second:y},P={year:y,month:b,day:y,weekday:b,hour:y,minute:y},z={year:y,month:k,day:y,hour:y,minute:y,timeZoneName:b},Z={year:y,month:k,day:y,hour:y,minute:y,second:y,timeZoneName:b},U={year:y,month:k,day:y,weekday:k,hour:y,minute:y,timeZoneName:k},H={year:y,month:k,day:y,weekday:k,hour:y,minute:y,second:y,timeZoneName:k};function q(e){return void 0===e}function B(e){return"number"==typeof e}function W(e){return"number"==typeof e&&e%1==0}function G(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(e){return!1}}function J(){return!q(Intl.DateTimeFormat.prototype.formatToParts)}function Y(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function $(e,t,i){if(0!==e.length)return e.reduce((function(e,n){var r=[t(n),n];return e&&i(e[0],r[0])===e[0]?e:r}),null)[1]}function K(e,t){return t.reduce((function(t,i){return t[i]=e[i],t}),{})}function X(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Q(e,t,i){return W(e)&&e>=t&&e<=i}function ee(e,t){void 0===t&&(t=2);var i=e<0?"-":"",n=i?-1*e:e;return""+i+(n.toString().length<t?("0".repeat(t)+n).slice(-t):n.toString())}function te(e){return q(e)||null===e||""===e?void 0:parseInt(e,10)}function ie(e){if(!q(e)&&null!==e&&""!==e){var t=1e3*parseFloat("0."+e);return Math.floor(t)}}function ne(e,t,i){void 0===i&&(i=!1);var n=Math.pow(10,t);return(i?Math.trunc:Math.round)(e*n)/n}function re(e){return e%4==0&&(e%100!=0||e%400==0)}function oe(e){return re(e)?366:365}function se(e,t){var i=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===i?re(e+(t-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function ae(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(t.getUTCFullYear()-1900),+t}function ce(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,i=e-1,n=(i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400))%7;return 4===t||3===n?53:52}function ue(e){return e>99?e:e>60?1900+e:2e3+e}function le(e,t,i,n){void 0===n&&(n=null);var r=new Date(e),o={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(o.timeZone=n);var s=Object.assign({timeZoneName:t},o),a=G();if(a&&J()){var c=new Intl.DateTimeFormat(i,s).formatToParts(r).find((function(e){return"timezonename"===e.type.toLowerCase()}));return c?c.value:null}if(a){var u=new Intl.DateTimeFormat(i,o).format(r);return new Intl.DateTimeFormat(i,s).format(r).substring(u.length).replace(/^[, \u200e]+/,"")}return null}function de(e,t){var i=parseInt(e,10);Number.isNaN(i)&&(i=0);var n=parseInt(t,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function xe(e){var t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new g("Invalid unit value "+e);return t}function he(e,t,i){var n={};for(var r in e)if(X(e,r)){if(i.indexOf(r)>=0)continue;var o=e[r];if(null==o)continue;n[t(r)]=xe(o)}return n}function fe(e,t){var i=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),r=e>=0?"+":"-";switch(t){case"short":return""+r+ee(i,2)+":"+ee(n,2);case"narrow":return""+r+i+(n>0?":"+n:"");case"techie":return""+r+ee(i,2)+ee(n,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function ve(e){return K(e,["hour","minute","second","millisecond"])}var me=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function ge(e){return JSON.stringify(e,Object.keys(e).sort())}var pe=["January","February","March","April","May","June","July","August","September","October","November","December"],ye=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],be=["J","F","M","A","M","J","J","A","S","O","N","D"];function ke(e){switch(e){case"narrow":return[].concat(be);case"short":return[].concat(ye);case"long":return[].concat(pe);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}}var _e=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],we=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Se=["M","T","W","T","F","S","S"];function Te(e){switch(e){case"narrow":return[].concat(Se);case"short":return[].concat(we);case"long":return[].concat(_e);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Oe=["AM","PM"],Ie=["Before Christ","Anno Domini"],Re=["BC","AD"],Ne=["B","A"];function Ve(e){switch(e){case"narrow":return[].concat(Ne);case"short":return[].concat(Re);case"long":return[].concat(Ie);default:return null}}function Ee(e,t){for(var i,n="",r=l(e);!(i=r()).done;){var o=i.value;o.literal?n+=o.val:n+=t(o.val)}return n}var Me={D:_,DD:w,DDD:T,DDDD:O,t:I,tt:R,ttt:N,tttt:V,T:E,TT:M,TTT:D,TTTT:A,f:C,ff:F,fff:z,ffff:U,F:j,FF:L,FFF:Z,FFFF:H},De=function(){function e(e,t){this.opts=t,this.loc=e,this.systemLoc=null}e.create=function(t,i){return void 0===i&&(i={}),new e(t,i)},e.parseFormat=function(e){for(var t=null,i="",n=!1,r=[],o=0;o<e.length;o++){var s=e.charAt(o);"'"===s?(i.length>0&&r.push({literal:n,val:i}),t=null,i="",n=!n):n||s===t?i+=s:(i.length>0&&r.push({literal:!1,val:i}),i=s,t=s)}return i.length>0&&r.push({literal:n,val:i}),r},e.macroTokenToFormatOpts=function(e){return Me[e]};var t=e.prototype;return t.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,Object.assign({},this.opts,t)).format()},t.formatDateTime=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).format()},t.formatDateTimeParts=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).formatToParts()},t.resolvedOptions=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).resolvedOptions()},t.num=function(e,t){if(void 0===t&&(t=0),this.opts.forceSimple)return ee(e,t);var i=Object.assign({},this.opts);return t>0&&(i.padTo=t),this.loc.numberFormatter(i).format(e)},t.formatDateTimeFromString=function(t,i){var n=this,r="en"===this.loc.listingMode(),o=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar&&J(),s=function(e,i){return n.loc.extract(t,e,i)},a=function(e){return t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):""},c=function(){return r?function(e){return Oe[e.hour<12?0:1]}(t):s({hour:"numeric",hour12:!0},"dayperiod")},u=function(e,i){return r?function(e,t){return ke(t)[e.month-1]}(t,e):s(i?{month:e}:{month:e,day:"numeric"},"month")},l=function(e,i){return r?function(e,t){return Te(t)[e.weekday-1]}(t,e):s(i?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},d=function(e){return r?function(e,t){return Ve(t)[e.year<0?0:1]}(t,e):s({era:e},"era")};return Ee(e.parseFormat(i),(function(i){switch(i){case"S":return n.num(t.millisecond);case"u":case"SSS":return n.num(t.millisecond,3);case"s":return n.num(t.second);case"ss":return n.num(t.second,2);case"m":return n.num(t.minute);case"mm":return n.num(t.minute,2);case"h":return n.num(t.hour%12==0?12:t.hour%12);case"hh":return n.num(t.hour%12==0?12:t.hour%12,2);case"H":return n.num(t.hour);case"HH":return n.num(t.hour,2);case"Z":return a({format:"narrow",allowZ:n.opts.allowZ});case"ZZ":return a({format:"short",allowZ:n.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:n.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:n.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:n.loc.locale});case"z":return t.zoneName;case"a":return c();case"d":return o?s({day:"numeric"},"day"):n.num(t.day);case"dd":return o?s({day:"2-digit"},"day"):n.num(t.day,2);case"c":case"E":return n.num(t.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return o?s({month:"numeric",day:"numeric"},"month"):n.num(t.month);case"LL":return o?s({month:"2-digit",day:"numeric"},"month"):n.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return o?s({month:"numeric"},"month"):n.num(t.month);case"MM":return o?s({month:"2-digit"},"month"):n.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return o?s({year:"numeric"},"year"):n.num(t.year);case"yy":return o?s({year:"2-digit"},"year"):n.num(t.year.toString().slice(-2),2);case"yyyy":return o?s({year:"numeric"},"year"):n.num(t.year,4);case"yyyyyy":return o?s({year:"numeric"},"year"):n.num(t.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return n.num(t.weekYear.toString().slice(-2),2);case"kkkk":return n.num(t.weekYear,4);case"W":return n.num(t.weekNumber);case"WW":return n.num(t.weekNumber,2);case"o":return n.num(t.ordinal);case"ooo":return n.num(t.ordinal,3);case"q":return n.num(t.quarter);case"qq":return n.num(t.quarter,2);case"X":return n.num(Math.floor(t.ts/1e3));case"x":return n.num(t.ts);default:return function(i){var r=e.macroTokenToFormatOpts(i);return r?n.formatWithSystemDefault(t,r):i}(i)}}))},t.formatDurationFromString=function(t,i){var n,r=this,o=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},s=e.parseFormat(i),a=s.reduce((function(e,t){var i=t.literal,n=t.val;return i?e:e.concat(n)}),[]),c=t.shiftTo.apply(t,a.map(o).filter((function(e){return e})));return Ee(s,(n=c,function(e){var t=o(e);return t?r.num(n.get(t),e.length):e}))},e}(),Ae=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),Ce=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new p},t.formatOffset=function(e,t){throw new p},t.offset=function(e){throw new p},t.equals=function(e){throw new p},n(e,[{key:"type",get:function(){throw new p}},{key:"name",get:function(){throw new p}},{key:"universal",get:function(){throw new p}},{key:"isValid",get:function(){throw new p}}]),e}(),je=null,Fe=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var i=t.prototype;return i.offsetName=function(e,t){return le(e,t.format,t.locale)},i.formatOffset=function(e,t){return fe(this.offset(e),t)},i.offset=function(e){return-new Date(e).getTimezoneOffset()},i.equals=function(e){return"local"===e.type},n(t,[{key:"type",get:function(){return"local"}},{key:"name",get:function(){return G()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===je&&(je=new t),je}}]),t}(Ce),Le=RegExp("^"+me.source+"$"),Pe={};var ze={year:0,month:1,day:2,hour:3,minute:4,second:5};var Ze={},Ue=function(e){function t(i){var n;return(n=e.call(this)||this).zoneName=i,n.valid=t.isValidZone(i),n}r(t,e),t.create=function(e){return Ze[e]||(Ze[e]=new t(e)),Ze[e]},t.resetCache=function(){Ze={},Pe={}},t.isValidSpecifier=function(e){return!(!e||!e.match(Le))},t.isValidZone=function(e){try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}},t.parseGMTOffset=function(e){if(e){var t=e.match(/^Etc\/GMT(0|[+-]\d{1,2})$/i);if(t)return-60*parseInt(t[1])}return null};var i=t.prototype;return i.offsetName=function(e,t){return le(e,t.format,t.locale,this.name)},i.formatOffset=function(e,t){return fe(this.offset(e),t)},i.offset=function(e){var t=new Date(e);if(isNaN(t))return NaN;var i,n=(i=this.name,Pe[i]||(Pe[i]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Pe[i]),r=n.formatToParts?function(e,t){for(var i=e.formatToParts(t),n=[],r=0;r<i.length;r++){var o=i[r],s=o.type,a=o.value,c=ze[s];q(c)||(n[c]=parseInt(a,10))}return n}(n,t):function(e,t){var i=e.format(t).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(i),r=n[1],o=n[2];return[n[3],r,o,n[4],n[5],n[6]]}(n,t),o=r[0],s=r[1],a=r[2],c=r[3],u=+t,l=u%1e3;return(ae({year:o,month:s,day:a,hour:24===c?0:c,minute:r[4],second:r[5],millisecond:0})-(u-=l>=0?l:1e3+l))/6e4},i.equals=function(e){return"iana"===e.type&&e.name===this.name},n(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(Ce),He=null,qe=function(e){function t(t){var i;return(i=e.call(this)||this).fixed=t,i}r(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){var i=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(i)return new t(de(i[1],i[2]))}return null},n(t,null,[{key:"utcInstance",get:function(){return null===He&&(He=new t(0)),He}}]);var i=t.prototype;return i.offsetName=function(){return this.name},i.formatOffset=function(e,t){return fe(this.fixed,t)},i.offset=function(){return this.fixed},i.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},n(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+fe(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),t}(Ce),Be=function(e){function t(t){var i;return(i=e.call(this)||this).zoneName=t,i}r(t,e);var i=t.prototype;return i.offsetName=function(){return null},i.formatOffset=function(){return""},i.offset=function(){return NaN},i.equals=function(){return!1},n(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),t}(Ce);function We(e,t){var i;if(q(e)||null===e)return t;if(e instanceof Ce)return e;if("string"==typeof e){var n=e.toLowerCase();return"local"===n?t:"utc"===n||"gmt"===n?qe.utcInstance:null!=(i=Ue.parseGMTOffset(e))?qe.instance(i):Ue.isValidSpecifier(n)?Ue.create(e):qe.parseSpecifier(n)||new Be(e)}return B(e)?qe.instance(e):"object"==typeof e&&e.offset&&"number"==typeof e.offset?e:new Be(e)}var Ge=function(){return Date.now()},Je=null,Ye=null,$e=null,Ke=null,Xe=!1,Qe=function(){function e(){}return e.resetCaches=function(){lt.resetCache(),Ue.resetCache()},n(e,null,[{key:"now",get:function(){return Ge},set:function(e){Ge=e}},{key:"defaultZoneName",get:function(){return e.defaultZone.name},set:function(e){Je=e?We(e):null}},{key:"defaultZone",get:function(){return Je||Fe.instance}},{key:"defaultLocale",get:function(){return Ye},set:function(e){Ye=e}},{key:"defaultNumberingSystem",get:function(){return $e},set:function(e){$e=e}},{key:"defaultOutputCalendar",get:function(){return Ke},set:function(e){Ke=e}},{key:"throwOnInvalid",get:function(){return Xe},set:function(e){Xe=e}}]),e}(),et={};function tt(e,t){void 0===t&&(t={});var i=JSON.stringify([e,t]),n=et[i];return n||(n=new Intl.DateTimeFormat(e,t),et[i]=n),n}var it={};var nt={};function rt(e,t){void 0===t&&(t={});var i=t,n=(i.base,function(e,t){if(null==e)return{};var i,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)i=o[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(i,["base"])),r=JSON.stringify([e,n]),o=nt[r];return o||(o=new Intl.RelativeTimeFormat(e,t),nt[r]=o),o}var ot=null;function st(e,t,i,n,r){var o=e.listingMode(i);return"error"===o?null:"en"===o?n(t):r(t)}var at=function(){function e(e,t,i){if(this.padTo=i.padTo||0,this.floor=i.floor||!1,!t&&G()){var n={useGrouping:!1};i.padTo>0&&(n.minimumIntegerDigits=i.padTo),this.inf=function(e,t){void 0===t&&(t={});var i=JSON.stringify([e,t]),n=it[i];return n||(n=new Intl.NumberFormat(e,t),it[i]=n),n}(e,n)}}return e.prototype.format=function(e){if(this.inf){var t=this.floor?Math.floor(e):e;return this.inf.format(t)}return ee(this.floor?Math.floor(e):ne(e,3),this.padTo)},e}(),ct=function(){function e(e,t,i){var n;if(this.opts=i,this.hasIntl=G(),e.zone.universal&&this.hasIntl){var r=e.offset/60*-1,o=r>=0?"Etc/GMT+"+r:"Etc/GMT"+r,s=Ue.isValidZone(o);0!==e.offset&&s?(n=o,this.dt=e):(n="UTC",i.timeZoneName?this.dt=e:this.dt=0===e.offset?e:hn.fromMillis(e.ts+60*e.offset*1e3))}else"local"===e.zone.type?this.dt=e:(this.dt=e,n=e.zone.name);if(this.hasIntl){var a=Object.assign({},this.opts);n&&(a.timeZone=n),this.dtf=tt(t,a)}}var t=e.prototype;return t.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var e=function(e){var t="EEEE, LLLL d, yyyy, h:mm a";switch(ge(K(e,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case ge(_):return"M/d/yyyy";case ge(w):return"LLL d, yyyy";case ge(S):return"EEE, LLL d, yyyy";case ge(T):return"LLLL d, yyyy";case ge(O):return"EEEE, LLLL d, yyyy";case ge(I):return"h:mm a";case ge(R):return"h:mm:ss a";case ge(N):case ge(V):return"h:mm a";case ge(E):return"HH:mm";case ge(M):return"HH:mm:ss";case ge(D):case ge(A):return"HH:mm";case ge(C):return"M/d/yyyy, h:mm a";case ge(F):return"LLL d, yyyy, h:mm a";case ge(z):return"LLLL d, yyyy, h:mm a";case ge(U):return t;case ge(j):return"M/d/yyyy, h:mm:ss a";case ge(L):return"LLL d, yyyy, h:mm:ss a";case ge(P):return"EEE, d LLL yyyy, h:mm a";case ge(Z):return"LLLL d, yyyy, h:mm:ss a";case ge(H):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return t}}(this.opts),t=lt.create("en-US");return De.create(t).formatDateTimeFromString(this.dt,e)},t.formatToParts=function(){return this.hasIntl&&J()?this.dtf.formatToParts(this.dt.toJSDate()):[]},t.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},e}(),ut=function(){function e(e,t,i){this.opts=Object.assign({style:"long"},i),!t&&Y()&&(this.rtf=rt(e,i))}var t=e.prototype;return t.format=function(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,i,n){void 0===i&&(i="always"),void 0===n&&(n=!1);var r={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."]},o=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===i&&o){var s="days"===e;switch(t){case 1:return s?"tomorrow":"next "+r[e][0];case-1:return s?"yesterday":"last "+r[e][0];case 0:return s?"today":"this "+r[e][0]}}var a=Object.is(t,-0)||t<0,c=Math.abs(t),u=1===c,l=r[e],d=n?u?l[1]:l[2]||l[1]:u?r[e][0]:e;return a?c+" "+d+" ago":"in "+c+" "+d}(t,e,this.opts.numeric,"long"!==this.opts.style)},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),lt=function(){function e(e,t,i,n){var r=function(e){var t=e.indexOf("-u-");if(-1===t)return[e];var i,n=e.substring(0,t);try{i=tt(e).resolvedOptions()}catch(e){i=tt(n).resolvedOptions()}var r=i;return[n,r.numberingSystem,r.calendar]}(e),o=r[0],s=r[1],a=r[2];this.locale=o,this.numberingSystem=t||s||null,this.outputCalendar=i||a||null,this.intl=function(e,t,i){return G()?i||t?(e+="-u",i&&(e+="-ca-"+i),t&&(e+="-nu-"+t),e):e:[]}(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}e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)},e.create=function(t,i,n,r){void 0===r&&(r=!1);var o=t||Qe.defaultLocale;return new e(o||(r?"en-US":function(){if(ot)return ot;if(G()){var e=(new Intl.DateTimeFormat).resolvedOptions().locale;return ot=e&&"und"!==e?e:"en-US"}return ot="en-US"}()),i||Qe.defaultNumberingSystem,n||Qe.defaultOutputCalendar,o)},e.resetCache=function(){ot=null,et={},it={},nt={}},e.fromObject=function(t){var i=void 0===t?{}:t,n=i.locale,r=i.numberingSystem,o=i.outputCalendar;return e.create(n,r,o)};var t=e.prototype;return t.listingMode=function(e){void 0===e&&(e=!0);var t=G()&&J(),i=this.isEnglish(),n=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t||i&&n||e?!t||i&&n?"en":"intl":"error"},t.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this},t.redefaultToEN=function(e){return void 0===e&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!0}))},t.redefaultToSystem=function(e){return void 0===e&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!1}))},t.months=function(e,t,i){var n=this;return void 0===t&&(t=!1),void 0===i&&(i=!0),st(this,e,i,ke,(function(){var i=t?{month:e,day:"numeric"}:{month:e},r=t?"format":"standalone";return n.monthsCache[r][e]||(n.monthsCache[r][e]=function(e){for(var t=[],i=1;i<=12;i++){var n=hn.utc(2016,i,1);t.push(e(n))}return t}((function(e){return n.extract(e,i,"month")}))),n.monthsCache[r][e]}))},t.weekdays=function(e,t,i){var n=this;return void 0===t&&(t=!1),void 0===i&&(i=!0),st(this,e,i,Te,(function(){var i=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},r=t?"format":"standalone";return n.weekdaysCache[r][e]||(n.weekdaysCache[r][e]=function(e){for(var t=[],i=1;i<=7;i++){var n=hn.utc(2016,11,13+i);t.push(e(n))}return t}((function(e){return n.extract(e,i,"weekday")}))),n.weekdaysCache[r][e]}))},t.meridiems=function(e){var t=this;return void 0===e&&(e=!0),st(this,void 0,e,(function(){return Oe}),(function(){if(!t.meridiemCache){var e={hour:"numeric",hour12:!0};t.meridiemCache=[hn.utc(2016,11,13,9),hn.utc(2016,11,13,19)].map((function(i){return t.extract(i,e,"dayperiod")}))}return t.meridiemCache}))},t.eras=function(e,t){var i=this;return void 0===t&&(t=!0),st(this,e,t,Ve,(function(){var t={era:e};return i.eraCache[e]||(i.eraCache[e]=[hn.utc(-40,1,1),hn.utc(2017,1,1)].map((function(e){return i.extract(e,t,"era")}))),i.eraCache[e]}))},t.extract=function(e,t,i){var n=this.dtFormatter(e,t).formatToParts().find((function(e){return e.type.toLowerCase()===i}));return n?n.value:null},t.numberFormatter=function(e){return void 0===e&&(e={}),new at(this.intl,e.forceSimple||this.fastNumbers,e)},t.dtFormatter=function(e,t){return void 0===t&&(t={}),new ct(e,this.intl,t)},t.relFormatter=function(e){return void 0===e&&(e={}),new ut(this.intl,this.isEnglish(),e)},t.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||G()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},t.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},n(e,[{key:"fastNumbers",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||G()&&"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),e}();function dt(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=t.reduce((function(e,t){return e+t.source}),"");return RegExp("^"+n+"$")}function xt(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e){return t.reduce((function(t,i){var n=t[0],r=t[1],o=t[2],s=i(e,o),a=s[0],c=s[1],u=s[2];return[Object.assign(n,a),r||c,u]}),[{},null,1]).slice(0,2)}}function ht(e){if(null==e)return[null,null];for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];for(var r=0,o=i;r<o.length;r++){var s=o[r],a=s[0],c=s[1],u=a.exec(e);if(u)return c(u)}return[null,null]}function ft(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e,i){var n,r={};for(n=0;n<t.length;n++)r[t[n]]=te(e[i+n]);return[r,null,i+n]}}var vt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,mt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,gt=RegExp(""+mt.source+vt.source+"?"),pt=RegExp("(?:T"+gt.source+")?"),yt=ft("weekYear","weekNumber","weekDay"),bt=ft("year","ordinal"),kt=RegExp(mt.source+" ?(?:"+vt.source+"|("+me.source+"))?"),_t=RegExp("(?: "+kt.source+")?");function wt(e,t,i){var n=e[t];return q(n)?i:te(n)}function St(e,t){return[{year:wt(e,t),month:wt(e,t+1,1),day:wt(e,t+2,1)},null,t+3]}function Tt(e,t){return[{hours:wt(e,t,0),minutes:wt(e,t+1,0),seconds:wt(e,t+2,0),milliseconds:ie(e[t+3])},null,t+4]}function Ot(e,t){var i=!e[t]&&!e[t+1],n=de(e[t+1],e[t+2]);return[{},i?null:qe.instance(n),t+3]}function It(e,t){return[{},e[t]?Ue.create(e[t]):null,t+1]}var Rt=RegExp("^T?"+mt.source+"$"),Nt=/^-?P(?:(?:(-?\d{1,9})Y)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})W)?(?:(-?\d{1,9})D)?(?:T(?:(-?\d{1,9})H)?(?:(-?\d{1,9})M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/;function Vt(e){var t=e[0],i=e[1],n=e[2],r=e[3],o=e[4],s=e[5],a=e[6],c=e[7],u=e[8],l="-"===t[0],d=c&&"-"===c[0],x=function(e,t){return void 0===t&&(t=!1),void 0!==e&&(t||e&&l)?-e:e};return[{years:x(te(i)),months:x(te(n)),weeks:x(te(r)),days:x(te(o)),hours:x(te(s)),minutes:x(te(a)),seconds:x(te(c),"-0"===c),milliseconds:x(ie(u),d)}]}var Et={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mt(e,t,i,n,r,o,s){var a={year:2===t.length?ue(te(t)):te(t),month:ye.indexOf(i)+1,day:te(n),hour:te(r),minute:te(o)};return s&&(a.second=te(s)),e&&(a.weekday=e.length>3?_e.indexOf(e)+1:we.indexOf(e)+1),a}var Dt=/^(?:(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 At(e){var t,i=e[1],n=e[2],r=e[3],o=e[4],s=e[5],a=e[6],c=e[7],u=e[8],l=e[9],d=e[10],x=e[11],h=Mt(i,o,r,n,s,a,c);return t=u?Et[u]:l?0:de(d,x),[h,new qe(t)]}var Ct=/^(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$/,jt=/^(Monday|Tuesday|Wedsday|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$/,Ft=/^(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 Lt(e){var t=e[1],i=e[2],n=e[3];return[Mt(t,e[4],n,i,e[5],e[6],e[7]),qe.utcInstance]}function Pt(e){var t=e[1],i=e[2],n=e[3],r=e[4],o=e[5],s=e[6];return[Mt(t,e[7],i,n,r,o,s),qe.utcInstance]}var zt=dt(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,pt),Zt=dt(/(\d{4})-?W(\d\d)(?:-?(\d))?/,pt),Ut=dt(/(\d{4})-?(\d{3})/,pt),Ht=dt(gt),qt=xt(St,Tt,Ot),Bt=xt(yt,Tt,Ot),Wt=xt(bt,Tt,Ot),Gt=xt(Tt,Ot);var Jt=xt(Tt);var Yt=dt(/(\d{4})-(\d\d)-(\d\d)/,_t),$t=dt(kt),Kt=xt(St,Tt,Ot,It),Xt=xt(Tt,Ot,It);var Qt={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}},ei=Object.assign({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}},Qt),ti=365.2425,ii=30.436875,ni=Object.assign({years:{quarters:4,months:12,weeks:52.1775,days:ti,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:ii,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},Qt),ri=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],oi=ri.slice(0).reverse();function si(e,t,i){void 0===i&&(i=!1);var n={values:i?t.values:Object.assign({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new ci(n)}function ai(e,t,i,n,r){var o=e[r][i],s=t[i]/o,a=!(Math.sign(s)===Math.sign(n[r]))&&0!==n[r]&&Math.abs(s)<=1?function(e){return e<0?Math.floor(e):Math.ceil(e)}(s):Math.trunc(s);n[r]+=a,t[i]-=a*o}var ci=function(){function e(e){var t="longterm"===e.conversionAccuracy||!1;this.values=e.values,this.loc=e.loc||lt.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t?ni:ei,this.isLuxonDuration=!0}e.fromMillis=function(t,i){return e.fromObject(Object.assign({milliseconds:t},i))},e.fromObject=function(t){if(null==t||"object"!=typeof t)throw new g("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new e({values:he(t,e.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:lt.fromObject(t),conversionAccuracy:t.conversionAccuracy})},e.fromISO=function(t,i){var n=function(e){return ht(e,[Nt,Vt])}(t),r=n[0];if(r){var o=Object.assign(r,i);return e.fromObject(o)}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.fromISOTime=function(t,i){var n=function(e){return ht(e,[Rt,Jt])}(t),r=n[0];if(r){var o=Object.assign(r,i);return e.fromObject(o)}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.invalid=function(t,i){if(void 0===i&&(i=null),!t)throw new g("need to specify a reason the Duration is invalid");var n=t instanceof Ae?t:new Ae(t,i);if(Qe.throwOnInvalid)throw new f(n);return new e({invalid:n})},e.normalizeUnit=function(e){var t={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"}[e?e.toLowerCase():e];if(!t)throw new m(e);return t},e.isDuration=function(e){return e&&e.isLuxonDuration||!1};var t=e.prototype;return t.toFormat=function(e,t){void 0===t&&(t={});var i=Object.assign({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?De.create(this.loc,i).formatDurationFromString(this,e):"Invalid Duration"},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=Object.assign({},this.values);return e.includeConfig&&(t.conversionAccuracy=this.conversionAccuracy,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toISO=function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=ne(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e},t.toISOTime=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var t=this.toMillis();if(t<0||t>=864e5)return null;e=Object.assign({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);var i=this.shiftTo("hours","minutes","seconds","milliseconds"),n="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===i.seconds&&0===i.milliseconds||(n+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===i.milliseconds||(n+=".SSS"));var r=i.toFormat(n);return e.includePrefix&&(r="T"+r),r},t.toJSON=function(){return this.toISO()},t.toString=function(){return this.toISO()},t.toMillis=function(){return this.as("milliseconds")},t.valueOf=function(){return this.toMillis()},t.plus=function(e){if(!this.isValid)return this;for(var t,i=ui(e),n={},r=l(ri);!(t=r()).done;){var o=t.value;(X(i.values,o)||X(this.values,o))&&(n[o]=i.get(o)+this.get(o))}return si(this,{values:n},!0)},t.minus=function(e){if(!this.isValid)return this;var t=ui(e);return this.plus(t.negate())},t.mapUnits=function(e){if(!this.isValid)return this;for(var t={},i=0,n=Object.keys(this.values);i<n.length;i++){var r=n[i];t[r]=xe(e(this.values[r],r))}return si(this,{values:t},!0)},t.get=function(t){return this[e.normalizeUnit(t)]},t.set=function(t){return this.isValid?si(this,{values:Object.assign(this.values,he(t,e.normalizeUnit,[]))}):this},t.reconfigure=function(e){var t=void 0===e?{}:e,i=t.locale,n=t.numberingSystem,r=t.conversionAccuracy,o={loc:this.loc.clone({locale:i,numberingSystem:n})};return r&&(o.conversionAccuracy=r),si(this,o)},t.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},t.normalize=function(){if(!this.isValid)return this;var e=this.toObject();return function(e,t){oi.reduce((function(i,n){return q(t[n])?i:(i&&ai(e,t,i,t,n),n)}),null)}(this.matrix,e),si(this,{values:e},!0)},t.shiftTo=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];if(!this.isValid)return this;if(0===i.length)return this;i=i.map((function(t){return e.normalizeUnit(t)}));for(var r,o,s={},a={},c=this.toObject(),u=l(ri);!(o=u()).done;){var d=o.value;if(i.indexOf(d)>=0){r=d;var x=0;for(var h in a)x+=this.matrix[h][d]*a[h],a[h]=0;B(c[d])&&(x+=c[d]);var f=Math.trunc(x);for(var v in s[d]=f,a[d]=x-f,c)ri.indexOf(v)>ri.indexOf(d)&&ai(this.matrix,c,v,s,d)}else B(c[d])&&(a[d]=c[d])}for(var m in a)0!==a[m]&&(s[r]+=m===r?a[m]:a[m]/this.matrix[r][m]);return si(this,{values:s},!0).normalize()},t.negate=function(){if(!this.isValid)return this;for(var e={},t=0,i=Object.keys(this.values);t<i.length;t++){var n=i[t];e[n]=-this.values[n]}return si(this,{values:e},!0)},t.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(var t,i=l(ri);!(t=i()).done;){var n=t.value;if(r=this.values[n],o=e.values[n],!(void 0===r||0===r?void 0===o||0===o:r===o))return!1}var r,o;return!0},n(e,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}();function ui(e){if(B(e))return ci.fromMillis(e);if(ci.isDuration(e))return e;if("object"==typeof e)return ci.fromObject(e);throw new g("Unknown duration argument "+e+" of type "+typeof e)}var li="Invalid Interval";function di(e,t){return e&&e.isValid?t&&t.isValid?t<e?xi.invalid("end before start","The end of an interval must be after its start, but you had start="+e.toISO()+" and end="+t.toISO()):null:xi.invalid("missing or invalid end"):xi.invalid("missing or invalid start")}var xi=function(){function e(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}e.invalid=function(t,i){if(void 0===i&&(i=null),!t)throw new g("need to specify a reason the Interval is invalid");var n=t instanceof Ae?t:new Ae(t,i);if(Qe.throwOnInvalid)throw new h(n);return new e({invalid:n})},e.fromDateTimes=function(t,i){var n=fn(t),r=fn(i),o=di(n,r);return null==o?new e({start:n,end:r}):o},e.after=function(t,i){var n=ui(i),r=fn(t);return e.fromDateTimes(r,r.plus(n))},e.before=function(t,i){var n=ui(i),r=fn(t);return e.fromDateTimes(r.minus(n),r)},e.fromISO=function(t,i){var n=(t||"").split("/",2),r=n[0],o=n[1];if(r&&o){var s,a,c,u;try{a=(s=hn.fromISO(r,i)).isValid}catch(o){a=!1}try{u=(c=hn.fromISO(o,i)).isValid}catch(o){u=!1}if(a&&u)return e.fromDateTimes(s,c);if(a){var l=ci.fromISO(o,i);if(l.isValid)return e.after(s,l)}else if(u){var d=ci.fromISO(r,i);if(d.isValid)return e.before(c,d)}}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.isInterval=function(e){return e&&e.isLuxonInterval||!1};var t=e.prototype;return t.length=function(e){return void 0===e&&(e="milliseconds"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},t.count=function(e){if(void 0===e&&(e="milliseconds"),!this.isValid)return NaN;var t=this.start.startOf(e),i=this.end.startOf(e);return Math.floor(i.diff(t,e).get(e))+1},t.hasSame=function(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))},t.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},t.isAfter=function(e){return!!this.isValid&&this.s>e},t.isBefore=function(e){return!!this.isValid&&this.e<=e},t.contains=function(e){return!!this.isValid&&(this.s<=e&&this.e>e)},t.set=function(t){var i=void 0===t?{}:t,n=i.start,r=i.end;return this.isValid?e.fromDateTimes(n||this.s,r||this.e):this},t.splitAt=function(){var t=this;if(!this.isValid)return[];for(var i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];for(var o=n.map(fn).filter((function(e){return t.contains(e)})).sort(),s=[],a=this.s,c=0;a<this.e;){var u=o[c]||this.e,l=+u>+this.e?this.e:u;s.push(e.fromDateTimes(a,l)),a=l,c+=1}return s},t.splitBy=function(t){var i=ui(t);if(!this.isValid||!i.isValid||0===i.as("milliseconds"))return[];for(var n,r=this.s,o=1,s=[];r<this.e;){var a=this.start.plus(i.mapUnits((function(e){return e*o})));n=+a>+this.e?this.e:a,s.push(e.fromDateTimes(r,n)),r=n,o+=1}return s},t.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},t.overlaps=function(e){return this.e>e.s&&this.s<e.e},t.abutsStart=function(e){return!!this.isValid&&+this.e==+e.s},t.abutsEnd=function(e){return!!this.isValid&&+e.e==+this.s},t.engulfs=function(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)},t.equals=function(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))},t.intersection=function(t){if(!this.isValid)return this;var i=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return i>=n?null:e.fromDateTimes(i,n)},t.union=function(t){if(!this.isValid)return this;var i=this.s<t.s?this.s:t.s,n=this.e>t.e?this.e:t.e;return e.fromDateTimes(i,n)},e.merge=function(e){var t=e.sort((function(e,t){return e.s-t.s})).reduce((function(e,t){var i=e[0],n=e[1];return n?n.overlaps(t)||n.abutsStart(t)?[i,n.union(t)]:[i.concat([n]),t]:[i,t]}),[[],null]),i=t[0],n=t[1];return n&&i.push(n),i},e.xor=function(t){for(var i,n,r=null,o=0,s=[],a=t.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),c=l((i=Array.prototype).concat.apply(i,a).sort((function(e,t){return e.time-t.time})));!(n=c()).done;){var u=n.value;1===(o+="s"===u.type?1:-1)?r=u.time:(r&&+r!=+u.time&&s.push(e.fromDateTimes(r,u.time)),r=null)}return e.merge(s)},t.difference=function(){for(var t=this,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];return e.xor([this].concat(n)).map((function(e){return t.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))},t.toString=function(){return this.isValid?"["+this.s.toISO()+" – "+this.e.toISO()+")":li},t.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):li},t.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():li},t.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+"/"+this.e.toISOTime(e):li},t.toFormat=function(e,t){var i=(void 0===t?{}:t).separator,n=void 0===i?" – ":i;return this.isValid?""+this.s.toFormat(e)+n+this.e.toFormat(e):li},t.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):ci.invalid(this.invalidReason)},t.mapEndpoints=function(t){return e.fromDateTimes(t(this.s),t(this.e))},n(e,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),hi=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=Qe.defaultZone);var t=hn.now().setZone(e).set({month:12});return!e.universal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return Ue.isValidSpecifier(e)&&Ue.isValidZone(e)},e.normalizeZone=function(e){return We(e,Qe.defaultZone)},e.months=function(e,t){void 0===e&&(e="long");var i=void 0===t?{}:t,n=i.locale,r=void 0===n?null:n,o=i.numberingSystem,s=void 0===o?null:o,a=i.locObj,c=void 0===a?null:a,u=i.outputCalendar,l=void 0===u?"gregory":u;return(c||lt.create(r,s,l)).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e="long");var i=void 0===t?{}:t,n=i.locale,r=void 0===n?null:n,o=i.numberingSystem,s=void 0===o?null:o,a=i.locObj,c=void 0===a?null:a,u=i.outputCalendar,l=void 0===u?"gregory":u;return(c||lt.create(r,s,l)).months(e,!0)},e.weekdays=function(e,t){void 0===e&&(e="long");var i=void 0===t?{}:t,n=i.locale,r=void 0===n?null:n,o=i.numberingSystem,s=void 0===o?null:o,a=i.locObj;return((void 0===a?null:a)||lt.create(r,s,null)).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e="long");var i=void 0===t?{}:t,n=i.locale,r=void 0===n?null:n,o=i.numberingSystem,s=void 0===o?null:o,a=i.locObj;return((void 0===a?null:a)||lt.create(r,s,null)).weekdays(e,!0)},e.meridiems=function(e){var t=(void 0===e?{}:e).locale,i=void 0===t?null:t;return lt.create(i).meridiems()},e.eras=function(e,t){void 0===e&&(e="short");var i=(void 0===t?{}:t).locale,n=void 0===i?null:i;return lt.create(n,null,"gregory").eras(e)},e.features=function(){var e=!1,t=!1,i=!1,n=!1;if(G()){e=!0,t=J(),n=Y();try{i="America/New_York"===new Intl.DateTimeFormat("en",{timeZone:"America/New_York"}).resolvedOptions().timeZone}catch(e){i=!1}}return{intl:e,intlTokens:t,zones:i,relative:n}},e}();function fi(e,t){var i=function(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},n=i(t)-i(e);return Math.floor(ci.fromMillis(n).as("days"))}function vi(e,t,i,n){var r=function(e,t,i){for(var n,r,o={},s=0,a=[["years",function(e,t){return t.year-e.year}],["quarters",function(e,t){return t.quarter-e.quarter}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){var i=fi(e,t);return(i-i%7)/7}],["days",fi]];s<a.length;s++){var c=a[s],u=c[0],l=c[1];if(i.indexOf(u)>=0){var d;n=u;var x,h=l(e,t);(r=e.plus(((d={})[u]=h,d)))>t?(e=e.plus(((x={})[u]=h-1,x)),h-=1):e=r,o[u]=h}}return[e,o,r,n]}(e,t,i),o=r[0],s=r[1],a=r[2],c=r[3],u=t-o,l=i.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(0===l.length){var d;if(a<t)a=o.plus(((d={})[c]=1,d));a!==o&&(s[c]=(s[c]||0)+u/(a-o))}var x,h=ci.fromObject(Object.assign(s,n));return l.length>0?(x=ci.fromMillis(u,n)).shiftTo.apply(x,l).plus(h):h}var mi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},gi={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]},pi=mi.hanidec.replace(/[\[|\]]/g,"").split("");function yi(e,t){var i=e.numberingSystem;return void 0===t&&(t=""),new RegExp(""+mi[i||"latn"]+t)}var bi="missing Intl.DateTimeFormat.formatToParts support";function ki(e,t){return void 0===t&&(t=function(e){return e}),{regex:e,deser:function(e){var i=e[0];return t(function(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var i=0;i<e.length;i++){var n=e.charCodeAt(i);if(-1!==e[i].search(mi.hanidec))t+=pi.indexOf(e[i]);else for(var r in gi){var o=gi[r],s=o[0],a=o[1];n>=s&&n<=a&&(t+=n-s)}}return parseInt(t,10)}return t}(i))}}}var _i="( |"+String.fromCharCode(160)+")",wi=new RegExp(_i,"g");function Si(e){return e.replace(/\./g,"\\.?").replace(wi,_i)}function Ti(e){return e.replace(/\./g,"").replace(wi," ").toLowerCase()}function Oi(e,t){return null===e?null:{regex:RegExp(e.map(Si).join("|")),deser:function(i){var n=i[0];return e.findIndex((function(e){return Ti(n)===Ti(e)}))+t}}}function Ii(e,t){return{regex:e,deser:function(e){return de(e[1],e[2])},groups:t}}function Ri(e){return{regex:e,deser:function(e){return e[0]}}}var Ni={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",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var Vi=null;function Ei(e,t){if(e.literal)return e;var i=De.macroTokenToFormatOpts(e.val);if(!i)return e;var n=De.create(t,i).formatDateTimeParts((Vi||(Vi=hn.fromMillis(1555555555555)),Vi)).map((function(e){return function(e,t,i){var n=e.type,r=e.value;if("literal"===n)return{literal:!0,val:r};var o=i[n],s=Ni[n];return"object"==typeof s&&(s=s[o]),s?{literal:!1,val:s}:void 0}(e,0,i)}));return n.includes(void 0)?e:n}function Mi(e,t,i){var n=function(e,t){var i;return(i=Array.prototype).concat.apply(i,e.map((function(e){return Ei(e,t)})))}(De.parseFormat(i),e),r=n.map((function(t){return i=t,r=yi(n=e),o=yi(n,"{2}"),s=yi(n,"{3}"),a=yi(n,"{4}"),c=yi(n,"{6}"),u=yi(n,"{1,2}"),l=yi(n,"{1,3}"),d=yi(n,"{1,6}"),x=yi(n,"{1,9}"),h=yi(n,"{2,4}"),f=yi(n,"{4,6}"),v=function(e){return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(e){return e[0]},literal:!0};var t},m=function(e){if(i.literal)return v(e);switch(e.val){case"G":return Oi(n.eras("short",!1),0);case"GG":return Oi(n.eras("long",!1),0);case"y":return ki(d);case"yy":case"kk":return ki(h,ue);case"yyyy":case"kkkk":return ki(a);case"yyyyy":return ki(f);case"yyyyyy":return ki(c);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return ki(u);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return ki(o);case"MMM":return Oi(n.months("short",!0,!1),1);case"MMMM":return Oi(n.months("long",!0,!1),1);case"LLL":return Oi(n.months("short",!1,!1),1);case"LLLL":return Oi(n.months("long",!1,!1),1);case"o":case"S":return ki(l);case"ooo":case"SSS":return ki(s);case"u":return Ri(x);case"a":return Oi(n.meridiems(),0);case"E":case"c":return ki(r);case"EEE":return Oi(n.weekdays("short",!1,!1),1);case"EEEE":return Oi(n.weekdays("long",!1,!1),1);case"ccc":return Oi(n.weekdays("short",!0,!1),1);case"cccc":return Oi(n.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Ii(new RegExp("([+-]"+u.source+")(?::("+o.source+"))?"),2);case"ZZZ":return Ii(new RegExp("([+-]"+u.source+")("+o.source+")?"),2);case"z":return Ri(/[a-z_+-/]{1,256}?/i);default:return v(e)}}(i)||{invalidReason:bi},m.token=i,m;var i,n,r,o,s,a,c,u,l,d,x,h,f,v,m})),o=r.find((function(e){return e.invalidReason}));if(o)return{input:t,tokens:n,invalidReason:o.invalidReason};var s=function(e){return["^"+e.map((function(e){return e.regex})).reduce((function(e,t){return e+"("+t.source+")"}),"")+"$",e]}(r),a=s[0],c=s[1],u=RegExp(a,"i"),l=function(e,t,i){var n=e.match(t);if(n){var r={},o=1;for(var s in i)if(X(i,s)){var a=i[s],c=a.groups?a.groups+1:1;!a.literal&&a.token&&(r[a.token.val[0]]=a.deser(n.slice(o,o+c))),o+=c}return[n,r]}return[n,{}]}(t,u,c),d=l[0],x=l[1],h=x?function(e){var t;return t=q(e.Z)?q(e.z)?null:Ue.create(e.z):new qe(e.Z),q(e.q)||(e.M=3*(e.q-1)+1),q(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),q(e.u)||(e.S=ie(e.u)),[Object.keys(e).reduce((function(t,i){var n=function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(i);return n&&(t[n]=e[i]),t}),{}),t]}(x):[null,null],f=h[0],m=h[1];if(X(x,"a")&&X(x,"H"))throw new v("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:n,regex:u,rawMatches:d,matches:x,result:f,zone:m}}var Di=[0,31,59,90,120,151,181,212,243,273,304,334],Ai=[0,31,60,91,121,152,182,213,244,274,305,335];function Ci(e,t){return new Ae("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function ji(e,t,i){var n=new Date(Date.UTC(e,t-1,i)).getUTCDay();return 0===n?7:n}function Fi(e,t,i){return i+(re(e)?Ai:Di)[t-1]}function Li(e,t){var i=re(e)?Ai:Di,n=i.findIndex((function(e){return e<t}));return{month:n+1,day:t-i[n]}}function Pi(e){var t,i=e.year,n=e.month,r=e.day,o=Fi(i,n,r),s=ji(i,n,r),a=Math.floor((o-s+10)/7);return a<1?a=ce(t=i-1):a>ce(i)?(t=i+1,a=1):t=i,Object.assign({weekYear:t,weekNumber:a,weekday:s},ve(e))}function zi(e){var t,i=e.weekYear,n=e.weekNumber,r=e.weekday,o=ji(i,1,4),s=oe(i),a=7*n+r-o-3;a<1?a+=oe(t=i-1):a>s?(t=i+1,a-=oe(i)):t=i;var c=Li(t,a),u=c.month,l=c.day;return Object.assign({year:t,month:u,day:l},ve(e))}function Zi(e){var t=e.year,i=Fi(t,e.month,e.day);return Object.assign({year:t,ordinal:i},ve(e))}function Ui(e){var t=e.year,i=Li(t,e.ordinal),n=i.month,r=i.day;return Object.assign({year:t,month:n,day:r},ve(e))}function Hi(e){var t=W(e.year),i=Q(e.month,1,12),n=Q(e.day,1,se(e.year,e.month));return t?i?!n&&Ci("day",e.day):Ci("month",e.month):Ci("year",e.year)}function qi(e){var t=e.hour,i=e.minute,n=e.second,r=e.millisecond,o=Q(t,0,23)||24===t&&0===i&&0===n&&0===r,s=Q(i,0,59),a=Q(n,0,59),c=Q(r,0,999);return o?s?a?!c&&Ci("millisecond",r):Ci("second",n):Ci("minute",i):Ci("hour",t)}var Bi="Invalid DateTime",Wi=864e13;function Gi(e){return new Ae("unsupported zone",'the zone "'+e.name+'" is not supported')}function Ji(e){return null===e.weekData&&(e.weekData=Pi(e.c)),e.weekData}function Yi(e,t){var i={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new hn(Object.assign({},i,t,{old:i}))}function $i(e,t,i){var n=e-60*t*1e3,r=i.offset(n);if(t===r)return[n,t];n-=60*(r-t)*1e3;var o=i.offset(n);return r===o?[n,r]:[e-60*Math.min(r,o)*1e3,Math.max(r,o)]}function Ki(e,t){var i=new Date(e+=60*t*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 Xi(e,t,i){return $i(ae(e),t,i)}function Qi(e,t){var i=e.o,n=e.c.year+Math.trunc(t.years),r=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),o=Object.assign({},e.c,{year:n,month:r,day:Math.min(e.c.day,se(n,r))+Math.trunc(t.days)+7*Math.trunc(t.weeks)}),s=ci.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=$i(ae(o),i,e.zone),c=a[0],u=a[1];return 0!==s&&(c+=s,u=e.zone.offset(c)),{ts:c,o:u}}function en(e,t,i,n,r){var o=i.setZone,s=i.zone;if(e&&0!==Object.keys(e).length){var a=t||s,c=hn.fromObject(Object.assign(e,i,{zone:a,setZone:void 0}));return o?c:c.setZone(s)}return hn.invalid(new Ae("unparsable",'the input "'+r+"\" can't be parsed as "+n))}function tn(e,t,i){return void 0===i&&(i=!0),e.isValid?De.create(lt.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(e,t):null}function nn(e,t){var i=t.suppressSeconds,n=void 0!==i&&i,r=t.suppressMilliseconds,o=void 0!==r&&r,s=t.includeOffset,a=t.includePrefix,c=void 0!==a&&a,u=t.includeZone,l=void 0!==u&&u,d=t.spaceZone,x=void 0!==d&&d,h=t.format,f=void 0===h?"extended":h,v="basic"===f?"HHmm":"HH:mm";n&&0===e.second&&0===e.millisecond||(v+="basic"===f?"ss":":ss",o&&0===e.millisecond||(v+=".SSS")),(l||s)&&x&&(v+=" "),l?v+="z":s&&(v+="basic"===f?"ZZZ":"ZZ");var m=tn(e,v);return c&&(m="T"+m),m}var rn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},on={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},sn={ordinal:1,hour:0,minute:0,second:0,millisecond:0},an=["year","month","day","hour","minute","second","millisecond"],cn=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],un=["year","ordinal","hour","minute","second","millisecond"];function ln(e){var t={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"}[e.toLowerCase()];if(!t)throw new m(e);return t}function dn(e,t){for(var i,n=l(an);!(i=n()).done;){var r=i.value;q(e[r])&&(e[r]=rn[r])}var o=Hi(e)||qi(e);if(o)return hn.invalid(o);var s=Qe.now(),a=Xi(e,t.offset(s),t),c=a[0],u=a[1];return new hn({ts:c,zone:t,o:u})}function xn(e,t,i){var n=!!q(i.round)||i.round,r=function(e,r){return e=ne(e,n||i.calendary?0:2,!0),t.loc.clone(i).relFormatter(i).format(e,r)},o=function(n){return i.calendary?t.hasSame(e,n)?0:t.startOf(n).diff(e.startOf(n),n).get(n):t.diff(e,n).get(n)};if(i.unit)return r(o(i.unit),i.unit);for(var s,a=l(i.units);!(s=a()).done;){var c=s.value,u=o(c);if(Math.abs(u)>=1)return r(u,c)}return r(e>t?-0:0,i.units[i.units.length-1])}var hn=function(){function e(e){var t=e.zone||Qe.defaultZone,i=e.invalid||(Number.isNaN(e.ts)?new Ae("invalid input"):null)||(t.isValid?null:Gi(t));this.ts=q(e.ts)?Qe.now():e.ts;var n=null,r=null;if(!i)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t)){var o=[e.old.c,e.old.o];n=o[0],r=o[1]}else{var s=t.offset(this.ts);n=Ki(this.ts,s),n=(i=Number.isNaN(n.year)?new Ae("invalid input"):null)?null:n,r=i?null:s}this._zone=t,this.loc=e.loc||lt.create(),this.invalid=i,this.weekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}e.now=function(){return new e({})},e.local=function(t,i,n,r,o,s,a){return q(t)?e.now():dn({year:t,month:i,day:n,hour:r,minute:o,second:s,millisecond:a},Qe.defaultZone)},e.utc=function(t,i,n,r,o,s,a){return q(t)?new e({ts:Qe.now(),zone:qe.utcInstance}):dn({year:t,month:i,day:n,hour:r,minute:o,second:s,millisecond:a},qe.utcInstance)},e.fromJSDate=function(t,i){void 0===i&&(i={});var n,r=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);if(Number.isNaN(r))return e.invalid("invalid input");var o=We(i.zone,Qe.defaultZone);return o.isValid?new e({ts:r,zone:o,loc:lt.fromObject(i)}):e.invalid(Gi(o))},e.fromMillis=function(t,i){if(void 0===i&&(i={}),B(t))return t<-Wi||t>Wi?e.invalid("Timestamp out of range"):new e({ts:t,zone:We(i.zone,Qe.defaultZone),loc:lt.fromObject(i)});throw new g("fromMillis requires a numerical input, but received a "+typeof t+" with value "+t)},e.fromSeconds=function(t,i){if(void 0===i&&(i={}),B(t))return new e({ts:1e3*t,zone:We(i.zone,Qe.defaultZone),loc:lt.fromObject(i)});throw new g("fromSeconds requires a numerical input")},e.fromObject=function(t){var i=We(t.zone,Qe.defaultZone);if(!i.isValid)return e.invalid(Gi(i));var n=Qe.now(),r=i.offset(n),o=he(t,ln,["zone","locale","outputCalendar","numberingSystem"]),s=!q(o.ordinal),a=!q(o.year),c=!q(o.month)||!q(o.day),u=a||c,d=o.weekYear||o.weekNumber,x=lt.fromObject(t);if((u||s)&&d)throw new v("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&s)throw new v("Can't mix ordinal dates with month/day");var h,f,m=d||o.weekday&&!u,g=Ki(n,r);m?(h=cn,f=on,g=Pi(g)):s?(h=un,f=sn,g=Zi(g)):(h=an,f=rn);for(var p,y=!1,b=l(h);!(p=b()).done;){var k=p.value;q(o[k])?o[k]=y?f[k]:g[k]:y=!0}var _=m?function(e){var t=W(e.weekYear),i=Q(e.weekNumber,1,ce(e.weekYear)),n=Q(e.weekday,1,7);return t?i?!n&&Ci("weekday",e.weekday):Ci("week",e.week):Ci("weekYear",e.weekYear)}(o):s?function(e){var t=W(e.year),i=Q(e.ordinal,1,oe(e.year));return t?!i&&Ci("ordinal",e.ordinal):Ci("year",e.year)}(o):Hi(o),w=_||qi(o);if(w)return e.invalid(w);var S=Xi(m?zi(o):s?Ui(o):o,r,i),T=new e({ts:S[0],zone:i,o:S[1],loc:x});return o.weekday&&u&&t.weekday!==T.weekday?e.invalid("mismatched weekday","you can't specify both a weekday of "+o.weekday+" and a date of "+T.toISO()):T},e.fromISO=function(e,t){void 0===t&&(t={});var i=function(e){return ht(e,[zt,qt],[Zt,Bt],[Ut,Wt],[Ht,Gt])}(e);return en(i[0],i[1],t,"ISO 8601",e)},e.fromRFC2822=function(e,t){void 0===t&&(t={});var i=function(e){return ht(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Dt,At])}(e);return en(i[0],i[1],t,"RFC 2822",e)},e.fromHTTP=function(e,t){void 0===t&&(t={});var i=function(e){return ht(e,[Ct,Lt],[jt,Lt],[Ft,Pt])}(e);return en(i[0],i[1],t,"HTTP",t)},e.fromFormat=function(t,i,n){if(void 0===n&&(n={}),q(t)||q(i))throw new g("fromFormat requires an input string and a format");var r=n,o=r.locale,s=void 0===o?null:o,a=r.numberingSystem,c=void 0===a?null:a,u=function(e,t,i){var n=Mi(e,t,i);return[n.result,n.zone,n.invalidReason]}(lt.fromOpts({locale:s,numberingSystem:c,defaultToEN:!0}),t,i),l=u[0],d=u[1],x=u[2];return x?e.invalid(x):en(l,d,n,"format "+i,t)},e.fromString=function(t,i,n){return void 0===n&&(n={}),e.fromFormat(t,i,n)},e.fromSQL=function(e,t){void 0===t&&(t={});var i=function(e){return ht(e,[Yt,Kt],[$t,Xt])}(e);return en(i[0],i[1],t,"SQL",e)},e.invalid=function(t,i){if(void 0===i&&(i=null),!t)throw new g("need to specify a reason the DateTime is invalid");var n=t instanceof Ae?t:new Ae(t,i);if(Qe.throwOnInvalid)throw new x(n);return new e({invalid:n})},e.isDateTime=function(e){return e&&e.isLuxonDateTime||!1};var t=e.prototype;return t.get=function(e){return this[e]},t.resolvedLocaleOpts=function(e){void 0===e&&(e={});var t=De.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.calendar}},t.toUTC=function(e,t){return void 0===e&&(e=0),void 0===t&&(t={}),this.setZone(qe.instance(e),t)},t.toLocal=function(){return this.setZone(Qe.defaultZone)},t.setZone=function(t,i){var n=void 0===i?{}:i,r=n.keepLocalTime,o=void 0!==r&&r,s=n.keepCalendarTime,a=void 0!==s&&s;if((t=We(t,Qe.defaultZone)).equals(this.zone))return this;if(t.isValid){var c=this.ts;if(o||a){var u=t.offset(this.ts);c=Xi(this.toObject(),u,t)[0]}return Yi(this,{ts:c,zone:t})}return e.invalid(Gi(t))},t.reconfigure=function(e){var t=void 0===e?{}:e,i=t.locale,n=t.numberingSystem,r=t.outputCalendar;return Yi(this,{loc:this.loc.clone({locale:i,numberingSystem:n,outputCalendar:r})})},t.setLocale=function(e){return this.reconfigure({locale:e})},t.set=function(e){if(!this.isValid)return this;var t,i=he(e,ln,[]),n=!q(i.weekYear)||!q(i.weekNumber)||!q(i.weekday),r=!q(i.ordinal),o=!q(i.year),s=!q(i.month)||!q(i.day),a=o||s,c=i.weekYear||i.weekNumber;if((a||r)&&c)throw new v("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(s&&r)throw new v("Can't mix ordinal dates with month/day");n?t=zi(Object.assign(Pi(this.c),i)):q(i.ordinal)?(t=Object.assign(this.toObject(),i),q(i.day)&&(t.day=Math.min(se(t.year,t.month),t.day))):t=Ui(Object.assign(Zi(this.c),i));var u=Xi(t,this.o,this.zone);return Yi(this,{ts:u[0],o:u[1]})},t.plus=function(e){return this.isValid?Yi(this,Qi(this,ui(e))):this},t.minus=function(e){return this.isValid?Yi(this,Qi(this,ui(e).negate())):this},t.startOf=function(e){if(!this.isValid)return this;var t={},i=ci.normalizeUnit(e);switch(i){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===i&&(t.weekday=1),"quarters"===i){var n=Math.ceil(this.month/3);t.month=3*(n-1)+1}return this.set(t)},t.endOf=function(e){var t;return this.isValid?this.plus((t={},t[e]=1,t)).startOf(e).minus(1):this},t.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?De.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Bi},t.toLocaleString=function(e){return void 0===e&&(e=_),this.isValid?De.create(this.loc.clone(e),e).formatDateTime(this):Bi},t.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?De.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},t.toISO=function(e){return void 0===e&&(e={}),this.isValid?this.toISODate(e)+"T"+this.toISOTime(e):null},t.toISODate=function(e){var t=(void 0===e?{}:e).format,i="basic"===(void 0===t?"extended":t)?"yyyyMMdd":"yyyy-MM-dd";return this.year>9999&&(i="+"+i),tn(this,i)},t.toISOWeekDate=function(){return tn(this,"kkkk-'W'WW-c")},t.toISOTime=function(e){var t=void 0===e?{}:e,i=t.suppressMilliseconds,n=void 0!==i&&i,r=t.suppressSeconds,o=void 0!==r&&r,s=t.includeOffset,a=void 0===s||s,c=t.includePrefix,u=void 0!==c&&c,l=t.format;return nn(this,{suppressSeconds:o,suppressMilliseconds:n,includeOffset:a,includePrefix:u,format:void 0===l?"extended":l})},t.toRFC2822=function(){return tn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},t.toHTTP=function(){return tn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},t.toSQLDate=function(){return tn(this,"yyyy-MM-dd")},t.toSQLTime=function(e){var t=void 0===e?{}:e,i=t.includeOffset,n=void 0===i||i,r=t.includeZone;return nn(this,{includeOffset:n,includeZone:void 0!==r&&r,spaceZone:!0})},t.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},t.toString=function(){return this.isValid?this.toISO():Bi},t.valueOf=function(){return this.toMillis()},t.toMillis=function(){return this.isValid?this.ts:NaN},t.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},t.toJSON=function(){return this.toISO()},t.toBSON=function(){return this.toJSDate()},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=Object.assign({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},t.diff=function(e,t,i){if(void 0===t&&(t="milliseconds"),void 0===i&&(i={}),!this.isValid||!e.isValid)return ci.invalid(this.invalid||e.invalid,"created by diffing an invalid DateTime");var n,r=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},i),o=(n=t,Array.isArray(n)?n:[n]).map(ci.normalizeUnit),s=e.valueOf()>this.valueOf(),a=vi(s?this:e,s?e:this,o,r);return s?a.negate():a},t.diffNow=function(t,i){return void 0===t&&(t="milliseconds"),void 0===i&&(i={}),this.diff(e.now(),t,i)},t.until=function(e){return this.isValid?xi.fromDateTimes(this,e):this},t.hasSame=function(e,t){if(!this.isValid)return!1;var i=e.valueOf(),n=this.setZone(e.zone,{keepLocalTime:!0});return n.startOf(t)<=i&&i<=n.endOf(t)},t.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},t.toRelative=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var i=t.base||e.fromObject({zone:this.zone}),n=t.padding?this<i?-t.padding:t.padding:0,r=["years","months","days","hours","minutes","seconds"],o=t.unit;return Array.isArray(t.unit)&&(r=t.unit,o=void 0),xn(i,this.plus(n),Object.assign(t,{numeric:"always",units:r,unit:o}))},t.toRelativeCalendar=function(t){return void 0===t&&(t={}),this.isValid?xn(t.base||e.fromObject({zone:this.zone}),this,Object.assign(t,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},e.min=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];if(!i.every(e.isDateTime))throw new g("min requires all arguments be DateTimes");return $(i,(function(e){return e.valueOf()}),Math.min)},e.max=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];if(!i.every(e.isDateTime))throw new g("max requires all arguments be DateTimes");return $(i,(function(e){return e.valueOf()}),Math.max)},e.fromFormatExplain=function(e,t,i){void 0===i&&(i={});var n=i,r=n.locale,o=void 0===r?null:r,s=n.numberingSystem,a=void 0===s?null:s;return Mi(lt.fromOpts({locale:o,numberingSystem:a,defaultToEN:!0}),e,t)},e.fromStringExplain=function(t,i,n){return void 0===n&&(n={}),e.fromFormatExplain(t,i,n)},n(e,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?Ji(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Ji(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Ji(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?Zi(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?hi.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?hi.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?hi.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?hi.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.universal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return re(this.year)}},{key:"daysInMonth",get:function(){return se(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?oe(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?ce(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return _}},{key:"DATE_MED",get:function(){return w}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return S}},{key:"DATE_FULL",get:function(){return T}},{key:"DATE_HUGE",get:function(){return O}},{key:"TIME_SIMPLE",get:function(){return I}},{key:"TIME_WITH_SECONDS",get:function(){return R}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return N}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return V}},{key:"TIME_24_SIMPLE",get:function(){return E}},{key:"TIME_24_WITH_SECONDS",get:function(){return M}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return D}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return A}},{key:"DATETIME_SHORT",get:function(){return C}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return j}},{key:"DATETIME_MED",get:function(){return F}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return L}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return P}},{key:"DATETIME_FULL",get:function(){return z}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return Z}},{key:"DATETIME_HUGE",get:function(){return U}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return H}}]),e}();function fn(e){if(hn.isDateTime(e))return e;if(e&&e.valueOf&&B(e.valueOf()))return hn.fromJSDate(e);if(e&&"object"==typeof e)return hn.fromObject(e);throw new g("Unknown datetime argument: "+e+", of type "+typeof e)}t.ou=hn},278:(e,t,i)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var e={};return 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(e){i=null}e[t]=i}return e[t]}}(),s=[];function a(e){for(var t=-1,i=0;i<s.length;i++)if(s[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},n=[],r=0;r<e.length;r++){var o=e[r],c=t.base?o[0]+t.base:o[0],u=i[c]||0,l="".concat(c," ").concat(u);i[c]=u+1;var d=a(l),x={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(s[d].references++,s[d].updater(x)):s.push({identifier:l,updater:m(x,t),references:1}),n.push(l)}return n}function u(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var r=i.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var s=o(e.insert||"head");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(t)}return t}var l,d=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function x(e,t,i,n){var r=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,r);else{var o=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function h(e,t,i){var n=i.css,r=i.media,o=i.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var f=null,v=0;function m(e,t){var i,n,r;if(t.singleton){var o=v++;i=f||(f=u(t)),n=x.bind(null,i,o,!1),r=x.bind(null,i,o,!0)}else i=u(t),n=h.bind(null,i,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var r=a(i[n]);s[r].references--}for(var o=c(e,t),u=0;u<i.length;u++){var l=a(i[u]);0===s[l].references&&(s[l].updater(),s.splice(l,1))}i=o}}}},417:(e,t,i)=>{e.exports=i(720)("./src/collaboration-core.js")},704:(e,t,i)=>{e.exports=i(79)("./src/core.js")},492:(e,t,i)=>{e.exports=i(79)("./src/engine.js")},273:(e,t,i)=>{e.exports=i(79)("./src/ui.js")},209:(e,t,i)=>{e.exports=i(79)("./src/utils.js")},720:e=>{"use strict";e.exports=CKEditor5.collaborationDll},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={id:n,exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{RevisionHistory:()=>es,RevisionHistoryUI:()=>Vn,RevisionTracker:()=>an,RevisionViewer:()=>Qn,RevisionViewerLoadingOverlay:()=>gr,RevisionViewerUI:()=>_r,RevisionsRepository:()=>Qi,RevisionsSidebar:()=>Mo});var e=i(704),t=i(209),r=i(417),o=i(492);const s=function(){this.__data__=[],this.size=0};const a=function(e,t){return e===t||e!=e&&t!=t};const c=function(e,t){for(var i=e.length;i--;)if(a(e[i][0],t))return i;return-1};var u=Array.prototype.splice;const l=function(e){var t=this.__data__,i=c(t,e);return!(i<0)&&(i==t.length-1?t.pop():u.call(t,i,1),--this.size,!0)};const d=function(e){var t=this.__data__,i=c(t,e);return i<0?void 0:t[i][1]};const x=function(e){return c(this.__data__,e)>-1};const h=function(e,t){var i=this.__data__,n=c(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this};function f(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}f.prototype.clear=s,f.prototype.delete=l,f.prototype.get=d,f.prototype.has=x,f.prototype.set=h;const v=f;const m=function(){this.__data__=new v,this.size=0};const g=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i};const p=function(e){return this.__data__.get(e)};const y=function(e){return this.__data__.has(e)};const b="object"==typeof global&&global&&global.Object===Object&&global;var k="object"==typeof self&&self&&self.Object===Object&&self;const _=b||k||Function("return this")();const w=_.Symbol;var S=Object.prototype,T=S.hasOwnProperty,O=S.toString,I=w?w.toStringTag:void 0;const R=function(e){var t=T.call(e,I),i=e[I];try{e[I]=void 0;var n=!0}catch(e){}var r=O.call(e);return n&&(t?e[I]=i:delete e[I]),r};var N=Object.prototype.toString;const V=function(e){return N.call(e)};var E=w?w.toStringTag:void 0;const M=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":E&&E in Object(e)?R(e):V(e)};const D=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const A=function(e){if(!D(e))return!1;var t=M(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const C=_["__core-js_shared__"];var j,F=(j=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+j:"";const L=function(e){return!!F&&F in e};var P=Function.prototype.toString;const z=function(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var Z=/^\[object .+?Constructor\]$/,U=Function.prototype,H=Object.prototype,q=U.toString,B=H.hasOwnProperty,W=RegExp("^"+q.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const G=function(e){return!(!D(e)||L(e))&&(A(e)?W:Z).test(z(e))};const J=function(e,t){return null==e?void 0:e[t]};const Y=function(e,t){var i=J(e,t);return G(i)?i:void 0};const $=Y(_,"Map");const K=Y(Object,"create");const X=function(){this.__data__=K?K(null):{},this.size=0};const Q=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var ee=Object.prototype.hasOwnProperty;const te=function(e){var t=this.__data__;if(K){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return ee.call(t,e)?t[e]:void 0};var ie=Object.prototype.hasOwnProperty;const ne=function(e){var t=this.__data__;return K?void 0!==t[e]:ie.call(t,e)};const re=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=K&&void 0===t?"__lodash_hash_undefined__":t,this};function oe(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}oe.prototype.clear=X,oe.prototype.delete=Q,oe.prototype.get=te,oe.prototype.has=ne,oe.prototype.set=re;const se=oe;const ae=function(){this.size=0,this.__data__={hash:new se,map:new($||v),string:new se}};const ce=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const ue=function(e,t){var i=e.__data__;return ce(t)?i["string"==typeof t?"string":"hash"]:i.map};const le=function(e){var t=ue(this,e).delete(e);return this.size-=t?1:0,t};const de=function(e){return ue(this,e).get(e)};const xe=function(e){return ue(this,e).has(e)};const he=function(e,t){var i=ue(this,e),n=i.size;return i.set(e,t),this.size+=i.size==n?0:1,this};function fe(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}fe.prototype.clear=ae,fe.prototype.delete=le,fe.prototype.get=de,fe.prototype.has=xe,fe.prototype.set=he;const ve=fe;const me=function(e,t){var i=this.__data__;if(i instanceof v){var n=i.__data__;if(!$||n.length<199)return n.push([e,t]),this.size=++i.size,this;i=this.__data__=new ve(n)}return i.set(e,t),this.size=i.size,this};function ge(e){var t=this.__data__=new v(e);this.size=t.size}ge.prototype.clear=m,ge.prototype.delete=g,ge.prototype.get=p,ge.prototype.has=y,ge.prototype.set=me;const pe=ge;const ye=function(e,t){for(var i=-1,n=null==e?0:e.length;++i<n&&!1!==t(e[i],i,e););return e};const be=function(){try{var e=Y(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();const ke=function(e,t,i){"__proto__"==t&&be?be(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i};var _e=Object.prototype.hasOwnProperty;const we=function(e,t,i){var n=e[t];_e.call(e,t)&&a(n,i)&&(void 0!==i||t in e)||ke(e,t,i)};const Se=function(e,t,i,n){var r=!i;i||(i={});for(var o=-1,s=t.length;++o<s;){var a=t[o],c=n?n(i[a],e[a],a,i,e):void 0;void 0===c&&(c=e[a]),r?ke(i,a,c):we(i,a,c)}return i};const Te=function(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n};const Oe=function(e){return null!=e&&"object"==typeof e};const Ie=function(e){return Oe(e)&&"[object Arguments]"==M(e)};var Re=Object.prototype,Ne=Re.hasOwnProperty,Ve=Re.propertyIsEnumerable;const Ee=Ie(function(){return arguments}())?Ie:function(e){return Oe(e)&&Ne.call(e,"callee")&&!Ve.call(e,"callee")};const Me=Array.isArray;const De=function(){return!1};var Ae="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ce=Ae&&"object"==typeof module&&module&&!module.nodeType&&module,je=Ce&&Ce.exports===Ae?_.Buffer:void 0;const Fe=(je?je.isBuffer:void 0)||De;var Le=/^(?:0|[1-9]\d*)$/;const Pe=function(e,t){var i=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==i||"symbol"!=i&&Le.test(e))&&e>-1&&e%1==0&&e<t};const ze=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Ze={};Ze["[object Float32Array]"]=Ze["[object Float64Array]"]=Ze["[object Int8Array]"]=Ze["[object Int16Array]"]=Ze["[object Int32Array]"]=Ze["[object Uint8Array]"]=Ze["[object Uint8ClampedArray]"]=Ze["[object Uint16Array]"]=Ze["[object Uint32Array]"]=!0,Ze["[object Arguments]"]=Ze["[object Array]"]=Ze["[object ArrayBuffer]"]=Ze["[object Boolean]"]=Ze["[object DataView]"]=Ze["[object Date]"]=Ze["[object Error]"]=Ze["[object Function]"]=Ze["[object Map]"]=Ze["[object Number]"]=Ze["[object Object]"]=Ze["[object RegExp]"]=Ze["[object Set]"]=Ze["[object String]"]=Ze["[object WeakMap]"]=!1;const Ue=function(e){return Oe(e)&&ze(e.length)&&!!Ze[M(e)]};const He=function(e){return function(t){return e(t)}};var qe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Be=qe&&"object"==typeof module&&module&&!module.nodeType&&module,We=Be&&Be.exports===qe&&b.process;const Ge=function(){try{var e=Be&&Be.require&&Be.require("util").types;return e||We&&We.binding&&We.binding("util")}catch(e){}}();var Je=Ge&&Ge.isTypedArray;const Ye=Je?He(Je):Ue;var $e=Object.prototype.hasOwnProperty;const Ke=function(e,t){var i=Me(e),n=!i&&Ee(e),r=!i&&!n&&Fe(e),o=!i&&!n&&!r&&Ye(e),s=i||n||r||o,a=s?Te(e.length,String):[],c=a.length;for(var u in e)!t&&!$e.call(e,u)||s&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Pe(u,c))||a.push(u);return a};var Xe=Object.prototype;const Qe=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Xe)};const et=function(e,t){return function(i){return e(t(i))}};const tt=et(Object.keys,Object);var it=Object.prototype.hasOwnProperty;const nt=function(e){if(!Qe(e))return tt(e);var t=[];for(var i in Object(e))it.call(e,i)&&"constructor"!=i&&t.push(i);return t};const rt=function(e){return null!=e&&ze(e.length)&&!A(e)};const ot=function(e){return rt(e)?Ke(e):nt(e)};const st=function(e,t){return e&&Se(t,ot(t),e)};const at=function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t};var ct=Object.prototype.hasOwnProperty;const ut=function(e){if(!D(e))return at(e);var t=Qe(e),i=[];for(var n in e)("constructor"!=n||!t&&ct.call(e,n))&&i.push(n);return i};const lt=function(e){return rt(e)?Ke(e,!0):ut(e)};const dt=function(e,t){return e&&Se(t,lt(t),e)};var xt="object"==typeof exports&&exports&&!exports.nodeType&&exports,ht=xt&&"object"==typeof module&&module&&!module.nodeType&&module,ft=ht&&ht.exports===xt?_.Buffer:void 0,vt=ft?ft.allocUnsafe:void 0;const mt=function(e,t){if(t)return e.slice();var i=e.length,n=vt?vt(i):new e.constructor(i);return e.copy(n),n};const gt=function(e,t){var i=-1,n=e.length;for(t||(t=Array(n));++i<n;)t[i]=e[i];return t};const pt=function(e,t){for(var i=-1,n=null==e?0:e.length,r=0,o=[];++i<n;){var s=e[i];t(s,i,e)&&(o[r++]=s)}return o};const yt=function(){return[]};var bt=Object.prototype.propertyIsEnumerable,kt=Object.getOwnPropertySymbols;const _t=kt?function(e){return null==e?[]:(e=Object(e),pt(kt(e),(function(t){return bt.call(e,t)})))}:yt;const wt=function(e,t){return Se(e,_t(e),t)};const St=function(e,t){for(var i=-1,n=t.length,r=e.length;++i<n;)e[r+i]=t[i];return e};const Tt=et(Object.getPrototypeOf,Object);const Ot=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)St(t,_t(e)),e=Tt(e);return t}:yt;const It=function(e,t){return Se(e,Ot(e),t)};const Rt=function(e,t,i){var n=t(e);return Me(e)?n:St(n,i(e))};const Nt=function(e){return Rt(e,ot,_t)};const Vt=function(e){return Rt(e,lt,Ot)};const Et=Y(_,"DataView");const Mt=Y(_,"Promise");const Dt=Y(_,"Set");const At=Y(_,"WeakMap");var Ct="[object Map]",jt="[object Promise]",Ft="[object Set]",Lt="[object WeakMap]",Pt="[object DataView]",zt=z(Et),Zt=z($),Ut=z(Mt),Ht=z(Dt),qt=z(At),Bt=M;(Et&&Bt(new Et(new ArrayBuffer(1)))!=Pt||$&&Bt(new $)!=Ct||Mt&&Bt(Mt.resolve())!=jt||Dt&&Bt(new Dt)!=Ft||At&&Bt(new At)!=Lt)&&(Bt=function(e){var t=M(e),i="[object Object]"==t?e.constructor:void 0,n=i?z(i):"";if(n)switch(n){case zt:return Pt;case Zt:return Ct;case Ut:return jt;case Ht:return Ft;case qt:return Lt}return t});const Wt=Bt;var Gt=Object.prototype.hasOwnProperty;const Jt=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&Gt.call(e,"index")&&(i.index=e.index,i.input=e.input),i};const Yt=_.Uint8Array;const $t=function(e){var t=new e.constructor(e.byteLength);return new Yt(t).set(new Yt(e)),t};const Kt=function(e,t){var i=t?$t(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)};var Xt=/\w*$/;const Qt=function(e){var t=new e.constructor(e.source,Xt.exec(e));return t.lastIndex=e.lastIndex,t};var ei=w?w.prototype:void 0,ti=ei?ei.valueOf:void 0;const ii=function(e){return ti?Object(ti.call(e)):{}};const ni=function(e,t){var i=t?$t(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)};const ri=function(e,t,i){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return $t(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return Kt(e,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ni(e,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return Qt(e);case"[object Symbol]":return ii(e)}};var oi=Object.create;const si=function(){function e(){}return function(t){if(!D(t))return{};if(oi)return oi(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}();const ai=function(e){return"function"!=typeof e.constructor||Qe(e)?{}:si(Tt(e))};const ci=function(e){return Oe(e)&&"[object Map]"==Wt(e)};var ui=Ge&&Ge.isMap;const li=ui?He(ui):ci;const di=function(e){return Oe(e)&&"[object Set]"==Wt(e)};var xi=Ge&&Ge.isSet;const hi=xi?He(xi):di;var fi="[object Arguments]",vi="[object Function]",mi="[object Object]",gi={};gi[fi]=gi["[object Array]"]=gi["[object ArrayBuffer]"]=gi["[object DataView]"]=gi["[object Boolean]"]=gi["[object Date]"]=gi["[object Float32Array]"]=gi["[object Float64Array]"]=gi["[object Int8Array]"]=gi["[object Int16Array]"]=gi["[object Int32Array]"]=gi["[object Map]"]=gi["[object Number]"]=gi[mi]=gi["[object RegExp]"]=gi["[object Set]"]=gi["[object String]"]=gi["[object Symbol]"]=gi["[object Uint8Array]"]=gi["[object Uint8ClampedArray]"]=gi["[object Uint16Array]"]=gi["[object Uint32Array]"]=!0,gi["[object Error]"]=gi[vi]=gi["[object WeakMap]"]=!1;const pi=function e(t,i,n,r,o,s){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=o?n(t,r,o,s):n(t)),void 0!==a)return a;if(!D(t))return t;var d=Me(t);if(d){if(a=Jt(t),!c)return gt(t,a)}else{var x=Wt(t),h=x==vi||"[object GeneratorFunction]"==x;if(Fe(t))return mt(t,c);if(x==mi||x==fi||h&&!o){if(a=u||h?{}:ai(t),!c)return u?It(t,dt(a,t)):wt(t,st(a,t))}else{if(!gi[x])return o?t:{};a=ri(t,x,c)}}s||(s=new pe);var f=s.get(t);if(f)return f;s.set(t,a),hi(t)?t.forEach((function(r){a.add(e(r,i,n,r,t,s))})):li(t)&&t.forEach((function(r,o){a.set(o,e(r,i,n,o,t,s))}));var v=d?void 0:(l?u?Vt:Nt:u?lt:ot)(t);return ye(v||t,(function(r,o){v&&(r=t[o=r]),we(a,o,e(r,i,n,o,t,s))})),a};const yi=function(e){return pi(e,5)};const bi=function(e){return"symbol"==typeof e||Oe(e)&&"[object Symbol]"==M(e)};var ki=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_i=/^\w*$/;const wi=function(e,t){if(Me(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!bi(e))||(_i.test(e)||!ki.test(e)||null!=t&&e in Object(t))};function Si(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=t?t.apply(this,n):n[0],o=i.cache;if(o.has(r))return o.get(r);var s=e.apply(this,n);return i.cache=o.set(r,s)||o,s};return i.cache=new(Si.Cache||ve),i}Si.Cache=ve;const Ti=Si;var Oi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ii=/\\(\\)?/g;const Ri=function(e){var t=Ti(e,(function(e){return 500===i.size&&i.clear(),e})),i=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Oi,(function(e,i,n,r){t.push(n?r.replace(Ii,"$1"):i||e)})),t}));const Ni=function(e,t){for(var i=-1,n=null==e?0:e.length,r=Array(n);++i<n;)r[i]=t(e[i],i,e);return r};var Vi=w?w.prototype:void 0,Ei=Vi?Vi.toString:void 0;const Mi=function e(t){if("string"==typeof t)return t;if(Me(t))return Ni(t,e)+"";if(bi(t))return Ei?Ei.call(t):"";var i=t+"";return"0"==i&&1/t==-Infinity?"-0":i};const Di=function(e){return null==e?"":Mi(e)};const Ai=function(e,t){return Me(e)?e:wi(e,t)?[e]:Ri(Di(e))};const Ci=function(e){if("string"==typeof e||bi(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};const ji=function(e,t,i,n){if(!D(e))return e;for(var r=-1,o=(t=Ai(t,e)).length,s=o-1,a=e;null!=a&&++r<o;){var c=Ci(t[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(r!=s){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=D(l)?l:Pe(t[r+1])?[]:{})}we(a,c,u),a=a[c]}return e};const Fi=function(e,t,i){return null==e?e:ji(e,t,i)};const Li=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};const Pi=function(e,t){for(var i=0,n=(t=Ai(t,e)).length;null!=e&&i<n;)e=e[Ci(t[i++])];return i&&i==n?e:void 0};const zi=function(e,t,i){var n=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(i=i>r?r:i)<0&&(i+=r),r=t>i?0:i-t>>>0,t>>>=0;for(var o=Array(r);++n<r;)o[n]=e[n+t];return o};const Zi=function(e,t){return t.length<2?e:Pi(e,zi(t,0,-1))};const Ui=function(e,t){return t=Ai(t,e),null==(e=Zi(e,t))||delete e[Ci(Li(t))]};const Hi=function(e,t){return null==e||Ui(e,t)},qi=["creatorId","creator","attributes","map","authorsIds","createdAt","fromVersion","name","_update","toVersion","setAttribute","diffData","toJSON","authors","setName","removeAttribute"];var Bi,Wi;Bi=qi,Wi=331,function(e){for(;--e;)Bi.push(Bi.shift())}(++Wi);const Gi=function(e,t){return qi[e-=0]};class Ji extends((0,t.ObservableMixin)()){constructor(e){super(),this.id=e.id||(0,t.uid)(),this[Gi("0x6")]=e[Gi("0x6")]||null,this[Gi("0x2")]=e[Gi("0x2")]||[],this[Gi("0x0")]=e[Gi("0x0")]||null,this[Gi("0xe")]=e[Gi("0xe")]||0,this[Gi("0xb")]=e[Gi("0xb")]||0,this.set(Gi("0xc"),e[Gi("0xc")]||""),this.set(Gi("0xa"),e[Gi("0xa")]||new Date),this.set(Gi("0x7"),e[Gi("0x7")]||{})}[Gi("0x3")](e){this[Gi("0xd")]({name:e})}[Gi("0xf")](e,t){const i=yi(this[Gi("0x7")]);Fi(i,e,t),this[Gi("0xd")]({attributes:i})}[Gi("0x4")](e){const t=yi(this.attributes);Hi(t,e),this[Gi("0xd")]({attributes:t})}[Gi("0xd")](e,t=!1){let i=!1;const n={id:this.id},r=["name",Gi("0xa"),Gi("0x0"),Gi("0x2"),Gi("0x7"),Gi("0xe"),"fromVersion",Gi("0x5")];for(const t of r){const r=e[t];void 0!==r&&r!==this[t]&&(this[t]=r,n[t]=r,i=!0)}i&&(n[Gi("0x2")]&&(n[Gi("0x9")]=n[Gi("0x2")][Gi("0x8")]((e=>e.id)),delete n[Gi("0x2")]),this.fire(Gi("0xd"),n,t))}[Gi("0x1")](){return{id:this.id,name:this[Gi("0xc")],creatorId:this[Gi("0x6")]?this[Gi("0x6")].id:null,authorsIds:this[Gi("0x2")][Gi("0x8")]((e=>e.id)),diffData:this.diffData,createdAt:this[Gi("0xa")],attributes:this[Gi("0x7")],fromVersion:this[Gi("0xb")],toVersion:this.toVersion}}}const Yi=["reverse","from","getRevisions","map","earlier","fromCharCode","get","getRevisionsIterator","join","toJSON","getUser","isNaN","context","addRevision","length","afterInit","toVersion","diffData","pluginName","editor","getRevision","plugins","getIndex","data","requires","authorsIds","getEarlierVisibleRevision","getLaterVisibleRevision","Users","add","push","_revisions","createRevision","then","config","createdAt"];var $i,Ki;$i=Yi,Ki=170,function(e){for(;--e;)$i.push($i.shift())}(++Ki);const Xi=function(e,t){return Yi[e-=0]};class Qi extends e.Plugin{static get[Xi("0x22")](){return[r.Users]}static get[Xi("0x1c")](){return"RevisionsRepository"}get length(){return this[Xi("0x5")][Xi("0x18")]}constructor(e){super(e),this[Xi("0x5")]=new t.Collection}[Xi("0x19")](){!function(t){function i(e){return e[Xi("0xd")]((e=>String[Xi("0xf")](e)))[Xi("0x12")]("")}(t=>{const n=[1,85,78,115,198,255,50,112,83,87,161],r=[127,34,6,211,167,86,146,199,132,160,18];function o(e){return function(e,t){const n=atob(e),r=Array[i([102,114,111,109])](function(e){const t=new Uint8Array(e[i([108,101,110,103,116,104])]);for(let n=0;n<e[i([108,101,110,103,116,104])];n++)t[n]=e[i([99,104,97,114,67,111,100,101,65,116])](n);return t}(n)),o=r[i([112,111,112])](),s=r[i([112,111,112])]();return function(e){let t="";for(const n of e)t+=String[i([102,114,111,109,67,104,97,114,67,111,100,101])](n);return t}(function(e,t,n){const r={};r[i([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},r[i([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],r[i([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],r[i([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],r[i([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],r[i([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],r[i([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],r[i([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],r[i([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],r[i([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],r[i([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const o=new Uint8Array(16);for(let e=15;e>=0;--e)o[e]=n%256,n=parseInt(n/256);let s=null,a=16;const c=new Uint8Array(t),u=[],l=[];!function(){const e=r[i([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][c[i([108,101,110,103,116,104])]];for(let t=0;t<=e;t++)u[i([112,117,115,104])]([0,0,0,0]),l[i([112,117,115,104])]([0,0,0,0]);const t=4*(e+1),n=c[i([108,101,110,103,116,104])]/4,o=d(c);let s;for(let t=0;t<n;t++)s=t>>2,u[s][t%4]=o[t],l[e-s][t%4]=o[t];let a,x=0,h=n;for(;h<t;){a=o[n-1],o[0]^=r[i([83])][a>>16&255]<<24^r[i([83])][a>>8&255]<<16^r[i([83])][255&a]<<8^r[i([83])][a>>24&255]^r[i([114,99,111,110])][x]<<24,x+=1;for(let e=1;e<n/2;e++)o[e]^=o[e-1];a=o[n/2-1],o[n/2]^=r[i([83])][255&a]^r[i([83])][a>>8&255]<<8^r[i([83])][a>>16&255]<<16^r[i([83])][a>>24&255]<<24;for(let e=n/2+1;e<n;e++)o[e]^=o[e-1];let s,c,d=0;for(;d<n&&h<t;)s=h>>2,c=h%4,u[s][c]=o[d],l[e-s][c]=o[d++],h++}for(let t=1;t<e;t++)for(let e=0;e<4;e++)a=l[t][e],l[t][e]=r[i([85,49])][a>>24&255]^r[i([85,50])][a>>16&255]^r[i([85,51])][a>>8&255]^r[i([85,52])][255&a]}();for(let t=0;t<e[i([108,101,110,103,116,104])];t++)16===a&&(s=h(o),a=0,x(o)),e[t]^=s[a++];return e;function d(e){const t=[];for(let n=0;n<e[i([108,101,110,103,116,104])];n+=4)t[i([112,117,115,104])](e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]);return t}function x(e){for(let t=15;t>=0;t--){if(255!==e[t]){e[t]++;break}e[t]=0}}function h(e){const t=u[i([108,101,110,103,116,104])]-1,n=[0,0,0,0];let o=d(e);for(let e=0;e<4;e++)o[e]^=u[0][e];for(let e=1;e<t;e++){for(let t=0;t<4;t++)n[t]=r[i([84,49])][o[t]>>24&255]^r[i([84,50])][o[(t+1)%4]>>16&255]^r[i([84,51])][o[(t+2)%4]>>8&255]^r[i([84,52])][255&o[(t+3)%4]]^u[e][t];o=n[i([115,108,105,99,101])]()}const s=new Uint8Array(16);let a;for(let e=0;e<4;e++)a=u[t][e],s[4*e]=255&(r[i([83])][o[e]>>24&255]^a>>24),s[4*e+1]=255&(r[i([83])][o[(e+1)%4]>>16&255]^a>>16),s[4*e+2]=255&(r[i([83])][o[(e+2)%4]>>8&255]^a>>8),s[4*e+3]=255&(r[i([83])][255&o[(e+3)%4]]^a);return s}}(r,t,s+256*o))}(e,new(window[i([85,105,110,116,56,65,114,114,97,121])])([...n,29,221,175,90,231,133,239,240,75,180,...r]))}const s=function(){const e=[{[i([105,100])]:1,[i([102,101,97,116,117,114,101,78,97,109,101])]:i([67,111,109,109,101,110,116,115]),[i([112,108,117,103,105,110,78,97,109,101])]:i([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:i([108,105,99,101,110,115,101,75,101,121]),[i([104,97,110,100,108,101,114])]:i([99,104,101,99,107,76,105,99,101,110,115,101]),[i([99,104,101,99,107,65,108,115,111])]:[{[i([105,100])]:2,[i([102,101,97,116,117,114,101,78,97,109,101])]:i([84,114,97,99,107,32,67,104,97,110,103,101,115]),[i([112,108,117,103,105,110,78,97,109,101])]:i([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:i([108,105,99,101,110,115,101,75,101,121]),[i([104,97,110,100,108,101,114])]:i([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[i([111,112,116,105,111,110,115])]:{[i([97,105,119,115,103,105,99])]:!0,[i([97,105,116,99,100,103,105,108])]:!0}}],[i([111,112,116,105,111,110,115])]:{[i([97,105,119,115,103,105,99])]:!0,[i([97,105,116,99,100,103,105,108])]:!0}},{[i([105,100])]:3,[i([102,101,97,116,117,114,101,78,97,109,101])]:i([80,97,103,105,110,97,116,105,111,110]),[i([112,108,117,103,105,110,78,97,109,101])]:i([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:i([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[i([104,97,110,100,108,101,114])]:i([99,104,101,99,107,76,105,99,101,110,115,101])},{[i([105,100])]:4,[i([102,101,97,116,117,114,101,78,97,109,101])]:i([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[i([112,108,117,103,105,110,78,97,109,101])]:i([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:i([108,105,99,101,110,115,101,75,101,121]),[i([104,97,110,100,108,101,114])]:i([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[i([111,112,116,105,111,110,115])]:{[i([97,105,119,115,103,105,99])]:!0,[i([97,105,116,99,100,103,105,108])]:!0}}];return function e(t){t[i([102,111,114,69,97,99,104])]((t=>{t[i([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<t[i([105,100])]-1,t[i([99,104,101,99,107,65,108,115,111])]&&e(t[i([99,104,101,99,107,65,108,115,111])])}))}(e),e}(),a={[i([99,104,101,99,107,76,105,99,101,110,115,101])]:function(e,t){v(f(e,t),t)},[i([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(e,t){v(function(e,t){try{if(k(u,i([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&e){const n=_(u,i([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[i([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(n)/2>e[i([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return m(t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([73,110,118,97,108,105,100]))}return f(e,t)}catch(e){return m(t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([73,110,118,97,108,105,100]))}}(e,t),t)},[i([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(e,t){const o=r[0]*n[1],s=r[0]*n[2],a=r[2]*n[2];function c(e,t){l(),m(t+i([84,114,105,97,108,76,105,109,105,116,58])+e),window[g()]=e===i([116,105,109,101])?o:s}function l(){const e=u;function t(){k(e,i([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(_(e,i([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[i([117,110,98,105,110,100])](i([105,115,69,110,97,98,108,101,100])),_(e,i([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[i([105,115,69,110,97,98,108,101,100])]=!1,_(e,i([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[i([117,112,100,97,116,101])]=b,_(e,i([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[i([115,97,118,101,82,101,118,105,115,105,111,110])]=b,e[i([109,111,100,101,108])][i([99,104,97,110,103,101])]=b,e[i([109,111,100,101,108])][i([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[i([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](i([109,111,100,101,108]))),k(e,i([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(_(e,i([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[i([117,110,98,105,110,100])](i([105,115,69,110,97,98,108,101,100])),_(e,i([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[i([105,115,69,110,97,98,108,101,100])]=!1,_(e,i([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[i([99,111,109,112,97,114,101])]=b,_(e,i([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[i([95,103,101,116,68,105,102,102])]=b)}e[i([115,116,97,116,101])]==i([114,101,97,100,121])?t():e[i([111,110,99,101])](i([114,101,97,100,121]),(()=>{if(k(e,i([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&t(),k(e,i([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const n=_(e,i([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),r=n[Xi("0x1e")](0),o=n[Xi("0x0")](r[i([105,100])]);_(e,i([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[i([99,111,109,112,97,114,101])](r[i([105,100])],o?o[i([105,100])]:null,1)[Xi("0x7")]((()=>t()))}}))}k(u,i([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&_(u,i([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[i([115,116,97,116,101])]==i([99,111,110,110,101,99,116,101,100])&&(window[g()]=a),function(e,t){if(e==t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([73,110,118,97,108,105,100]))l();else if(e==t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([84,114,105,97,108])){const e=function(){if(!k(u,i([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number[Xi("0x15")](Number(e))){if(window[e]===o)return i([116,105,109,101]);if(window[e]===s)return i([114,101,118,105,115,105,111,110,115])}return!1}();e&&c(e,t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const a=function(){let e=r[6]*n[8]*n[6];return k(u,i([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(e/=10),e}();window[i([115,101,116,84,105,109,101,111,117,116])]((()=>{c(i([116,105,109,101]),t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),a);const l=_(u,i([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[i([95,114,101,118,105,115,105,111,110,115])];l[i([108,101,110,103,116,104])]>=7?c(i([114,101,118,105,115,105,111,110,115]),t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):l.on(i([97,100,100]),(()=>{l[i([108,101,110,103,116,104])]>=7&&c(i([114,101,118,105,115,105,111,110,115]),t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(e,t){try{return function(){if(!k(u,i([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number[Xi("0x15")](Number(e))&&window[e]===a)return!0;return!1}()?m(t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([86,97,108,105,100])):f(e,t)}catch(e){return m(t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([73,110,118,97,108,105,100]))}}(e,t),t)}},c=t[i([99,111,110,115,116,114,117,99,116,111,114])][i([112,108,117,103,105,110,78,97,109,101])],u=i([99,111,110,116,101,120,116])in t?t[Xi("0x16")]:t[Xi("0x1d")],l=i([52,48,52,54,48,56,48,54]),d=i([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),x=u[Xi("0x8")][Xi("0x10")](i([108,105,99,101,110,115,101,75,101,121])),h=s[i([102,105,110,100])]((e=>e[i([112,108,117,103,105,110,78,97,109,101])]===c));function f(e,t){try{return function(e){if(!k(u,e[i([112,108,117,103,105,110,78,97,109,101])]))return!0;const t=e[i([111,112,116,105,111,110,115])]||{},n=t[i([97,105,119,115,103,105,99])]||!1,r=t[i([97,105,116,99,100,103,105,108])]||!1;return!(!k(u,i([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||_(u,i([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[i([115,116,97,116,101])]!=i([99,111,110,110,101,99,116,101,100])||!n)||!(!k(u,i([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||_(u,i([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[i([114,101,115,117,108,116])]!=i([101,110,100])||!r)}(t)?m(t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([86,97,108,105,100])):e&&e[i([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]&t[i([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]?e[i([105,115,73,110,116,101,114,110,97,108])]&&!window[i([111,112,101,110])][i([99,108,111,115,101,100])]||parseInt(l)/2>e[i([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?m(t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([73,110,118,97,108,105,100])):e[i([105,115,84,114,105,97,108])]?m(t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([84,114,105,97,108])):m(t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([86,97,108,105,100])):m(t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([73,110,118,97,108,105,100]))}catch(e){return m(t[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([73,110,118,97,108,105,100]))}}function v(t,o){if(u instanceof e.Context){const e=u;t==o[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([73,110,118,97,108,105,100])?p(e):t==o[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([84,114,105,97,108])&&window[i([115,101,116,84,105,109,101,111,117,116])]((()=>{p(e),m(o[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),r[6]*n[8]*n[6]),e[i([101,100,105,116,111,114,115])][i([111,110])](i([97,100,100]),((e,n)=>{t!=o[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([73,110,118,97,108,105,100])&&t!=o[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&t!=o[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||y(n)}))}else{const e=u;t==o[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([73,110,118,97,108,105,100])?y(e):t==o[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([84,114,105,97,108])&&e[i([111,110])](i([114,101,97,100,121]),(()=>{let t=0;e[i([109,111,100,101,108])][i([111,110])](i([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,r)=>{r[0][i([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504===t&&(y(e),m(o[i([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+i([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),n[i([111,102,102])]())}),{priority:i([104,105,103,104,101,115,116])})}))}}function m(e){const t=g();return u[t]=e,e}function g(){const e=String(window[i([112,101,114,102,111,114,109,97,110,99,101])][i([110,111,119])]())[i([114,101,112,108,97,99,101])](i([46]),"");let t="";for(let n=0;n<e[i([108,101,110,103,116,104])];n+=2){let r=parseInt(e[i([115,117,98,115,116,114,105,110,103])](n,n+2));r>=d[i([108,101,110,103,116,104])]&&(r-=d[i([108,101,110,103,116,104])]),t+=d[r]}return t}function p(e){for(const t of e[i([101,100,105,116,111,114,115])])y(t);_(e,i([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[i([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),_(e,i([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[i([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=b}function y(e){function t(){e[i([109,111,100,101,108])][i([99,104,97,110,103,101])]=b,e[i([109,111,100,101,108])][i([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[i([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](i([109,111,100,101,108]))}e[i([115,116,97,116,101])]==i([114,101,97,100,121])?t():e[i([111,110,99,101])](i([114,101,97,100,121]),(()=>t()))}function b(){return null}function k(e,t){return e[i([112,108,117,103,105,110,115])][i([104,97,115])](t)}function _(e,t){return e[i([112,108,117,103,105,110,115])][i([103,101,116])](t)}h&&function e(t,n){a[n[i([104,97,110,100,108,101,114])]](t,n),n[i([99,104,101,99,107,65,108,115,111])]&&n[i([99,104,101,99,107,65,108,115,111])][i([102,105,108,116,101,114])]((e=>k(u,e[i([112,108,117,103,105,110,78,97,109,101])])))[i([102,111,114,69,97,99,104])]((i=>e(t,i)))}(function(e){try{const t=o(e),n=JSON[i([112,97,114,115,101])](t),r=parseInt(n[i([49])]),s=parseInt(n[i([51])]),a=parseInt(n[i([52])])||0,c=parseInt(n[i([53])])||0;return{[i([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:a,[i([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:r,[i([105,115,84,114,105,97,108])]:s,[i([105,115,73,110,116,101,114,110,97,108])]:c}}catch(e){return null}}(x),h)})(t)}(this)}[Xi("0x6")](e){const t=this[Xi("0x1d")][Xi("0x1f")].get(Xi("0x2"));return new Ji({id:e.id,name:e.name,creator:e.creatorId?t[Xi("0x14")](e.creatorId):null,diffData:e[Xi("0x1b")]||e[Xi("0x21")],authors:e[Xi("0x23")][Xi("0xd")]((e=>t[Xi("0x14")](e))),createdAt:new Date(e[Xi("0x9")]),attributes:e.attributes,fromVersion:e.fromVersion,toVersion:e[Xi("0x1a")]})}[Xi("0x17")](e,t=0){this[Xi("0x5")][Xi("0x3")](e,t)}getRevision(e){return this[Xi("0x5")].get(e)}[Xi("0xc")](e={toJSON:!1}){const t=Array[Xi("0xb")](this[Xi("0x5")]);return t[Xi("0xa")](),e.toJSON?t.map((e=>e[Xi("0x13")]())):t}[Xi("0x20")](e){return this[Xi("0x5")].getIndex(e)}[Xi("0x0")](e){const[,t]=this[Xi("0x11")](e,{direction:"earlier"});return t}[Xi("0x1")](e){const[,t]=this.getRevisionsIterator(e,{direction:"later"});return t}getRevisionsInDiff(e){const t=[];for(const i of this[Xi("0x11")](e.newRevisionId))if(t[Xi("0x4")](i),i.id===e.oldRevisionId)break;return t}*[Xi("0x11")](e,{direction:t="earlier",filter:i=(e=>!0)}={}){const n=Xi("0xe")===t?1:-1;let r=this[Xi("0x5")][Xi("0x10")](e),o=this[Xi("0x20")](r);for(yield r;r;){if(o+=n,r=this[Xi("0x1e")](o),!r)return;i(r)&&(yield r)}}}function en(e,t,i){const n=e.t;switch(t){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision (optional)":return n("Name of the revision (optional)");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});default:return t}}const tn=["text","root","_diffRoots","_reset","previousPosition","documentFragment","offset","_removeMetaData","baseVersion","_setAttribute","_handleSplitOperation","_savedMetaData","insertionPosition","_baseIdsRoots","_getState","history","_handleOperation","_execute","insert","getUser","requires","hasContent","for","bind","processor","_lastTo","getRevision","isReady","_removePendingAction","filter","markerToData","vid_end","end","_baseRoots","_continueCurrentRevision","marked","reInit","define","deletions","vid","item","ready","type","getNodeByPath","delete","_loadRevisionData","dataDowncast","insertion","getWalker","$graveyard","slice","createPositionAt","getRevisionDocumentData","stickiness","remove","update","childCount","elementEnd","source","pluginName","has","getRootNames","clear","path","view","createPositionBefore","getRevisions","length","fromVersion","_fixRange","_addPendingAction","config","stringify","_getFromVersion","_source","_touchedMarkers","name","toView","dataToMarker","version","set","nodeAfter","keepParagraph","_authorId","startsWith","Empty document","_prepareViewToSave","_handleMoveOperation","_handleMarkerOperation","move","_loadedStateData","toModel","get","_createInitialRevision","getAttribute","nodes","collaboration.channelId","PENDING_ACTION_REVISION_HISTORY","creator","plugins","split","addRevision","size","_getViewJson","editor","merge","_saveMetaData","afterInit","_initialRevisionId","getOperation","getAttributes","_getVidAttributeName","from","getCurrentRevisionId","getRoot","paragraph","_bufferedUpdates","toVersion","locale","tableCell","_idsRoots","diffData","_isPendingUpdate","getLatestVersion","_cloneOperation","_createCurrentRevision","oldRange","Users","_startingVersion","elementStart","_setConversion","affectsData","RevisionsRepository","upcast","_replaceEditorDataWithRevisionData","createRange","data","getData","_getBaseVids","sendBufferedUpdates","getTime","targetPosition","setRevisionData","_appendChild","editing","attributes","insertions","clone","_startingRevisionId","offsetSize","initial","getRange","createRangeIn","RealTimeCollaborationClient","then","start","_touched","vid_start","_removeRevisionMarkers","_copyMarkers","_calculateMetaData","buildRevisionData","parent","_transformMarkers","_findInsertionIndex","getChildren","_fixOperation","revision","document","getAncestors","keys","init","useFillerType","position","RevisionTracker","_fixPosition","_applyOperations","_loadState","$text","push","_handleInsertOperation","_processRootBeforeSave","getOperations","_revisionDataBuilder","markers","createPositionAfter","_rootNames","_markers","authorsIds","_insertChild","userId","authors","find","_markChanges","string","addRevisionData","_operations","reverse","initialData","createPositionFromPath","_makeModelFromViewString","sort","_lastFrom","_handleMergeOperation","_isInit","revision:","map","adapter","element","add","_generateTape","trim","loadState","getTransformedByOperation","max","_update","graveyardPosition","newRange","_bufferUpdate","children","marker","rootName","revision-end","values","PendingActions","repository","_makeIdsRoot","getChild","reinsert","currentRevision","creatorId","setSource","_pendingAction","_makeRevision","_revisionId","conversion","model","createdAt","_createFromRanges"];var nn,rn;nn=tn,rn=165,function(e){for(;--e;)nn.push(nn.shift())}(++rn);const on=function(e,t){return tn[e-=0]},sn={c:o.ViewContainerElement,a:o.ViewAttributeElement,e:o.ViewEmptyElement,r:o.ViewRawElement,u:o.ViewUIElement};class an extends e.Plugin{static get[on("0x85")](){return on("0x9")}static get[on("0x5e")](){return[r.Users,Qi,e.PendingActions]}constructor(e){super(e),this[on("0x2a")]=null,this[on("0x40")]=null,this[on("0x12")]=new un(this.editor),this[on("0xb6")]=this[on("0xb2")][on("0x91")].get(on("0xaa"))||on("0xe0"),this[on("0xbe")]=new Map,this._loadedStateData=null;const i=(0,t.uid)();this[on("0x94")]={history:this[on("0xb2")][on("0x47")].document[on("0x59")],getLatestVersion:()=>Promise.resolve(this[on("0xb2")][on("0x47")][on("0x3")][on("0x99")]),getCurrentRevisionId:()=>i},this[on("0x9a")]("isReady",!1),this.set("isEnabled",!0),this[on("0x9a")]("_isPendingUpdate",!1),this[on("0xb2")].config[on("0x6f")]("revisionHistory.resumeUnsavedRevision",!0),this[on("0xb2")][on("0x46")][on("0x60")](on("0xcf"))[on("0x98")]({view:"revision"})}[on("0x6")](){this.repository=this[on("0xb2")][on("0xad")][on("0xa6")](on("0xce")),this[on("0xcc")](),this.editor.data.on(on("0x73"),(()=>{const e=this[on("0x3c")][on("0x64")](0),t=e&&null===e[on("0xac")]?e:null;if(this[on("0x6c")]=!!t&&this[on("0xb2")].config[on("0xa6")]("revisionHistory.resumeUnsavedRevision"),this.editor[on("0xad")].has(on("0xe3"))){const i=this._source[on("0xbb")](),n=this[on("0x3c")][on("0x64")](i);if(n)this._startingVersion=n[on("0x8e")],this[on("0x6c")]=!1;else{const i=this[on("0x94")][on("0x59")][on("0x1f")][on("0x1b")]((e=>!e[on("0x27")])),n=i?i[on("0x52")]:this[on("0x94")][on("0x59")][on("0x99")];e?(e.toVersion<n&&e._update({toVersion:n}),this[on("0x6c")]?(this[on("0x94")][on("0xbb")]=()=>t.id,this[on("0xca")]=t[on("0x8e")]):(this[on("0xca")]=e.toVersion,this[on("0x6c")]=!1)):(this[on("0xca")]=n,this[on("0x6c")]=!1)}}else t&&(this.editor[on("0x47")][on("0x3")][on("0x59")][on("0x99")]=Math[on("0x31")](t[on("0xbf")],this.editor[on("0x47")][on("0x3")][on("0x59")].version),t[on("0x8e")]===t[on("0xbf")]?(0!==t[on("0x8e")]&&(this[on("0x94")].getCurrentRevisionId=()=>t.id),this[on("0x6c")]=!1):this[on("0x6c")]&&(this._source[on("0xbb")]=()=>t.id,this[on("0xca")]=t[on("0x8e")])),this._continueCurrentRevision||(this[on("0xca")]=this[on("0xb2")][on("0x47")][on("0x3")][on("0x99")]);this[on("0x12")][on("0x6")](this[on("0x94")][on("0x59")]),this[on("0xa7")](this[on("0xca")]),this[on("0xc7")](this[on("0xca")]),this[on("0x2a")]&&this.sendBufferedUpdates()})),this[on("0x61")](on("0x65")).to(this,on("0xc4"),(e=>!e))}async[on("0xb5")](){if(this[on("0x3c")][on("0x8d")]>0){const e=this[on("0x3c")][on("0x64")](0),t=await this[on("0x7e")](e);this[on("0xd0")](t)}}[on("0x42")](e){this._source=e}async[on("0x81")](){const e=await this[on("0x94")].getLatestVersion();if(e>this[on("0x40")][on("0xbf")]){await this[on("0xc")]();const t=this[on("0xeb")]({revision:this[on("0x40")],to:e});t.authors=t.authorsIds[on("0x29")]((e=>this[on("0xb2")].plugins[on("0xa6")](on("0xc9"))[on("0x5d")](e))),this.currentRevision._update(t)}}async[on("0xc")](){this._continueCurrentRevision&&!this[on("0xa4")]&&(await this[on("0x77")](this[on("0x40")]),this[on("0x12")].loadState(this.currentRevision),this[on("0xa4")]={fromVersion:this[on("0x40")][on("0x8e")],authors:this[on("0x40")].authors.slice()})}async saveRevision(e={},i=null){const n=[];await this[on("0xc")](),this[on("0x6c")]=!1,i>this[on("0x40")][on("0xbf")]&&(i=null),null===i&&(i=await this[on("0x94")][on("0xc5")]());const r=this._getFromVersion(i),o=this.buildRevisionData({from:r,to:i});if(this[on("0x40")][on("0xbf")]<i){const e=this[on("0xeb")]({revision:this.currentRevision,from:i,to:i});e.authors=[],e[on("0x17")]=[],e.id=this[on("0x40")].id,this[on("0x40")][on("0x32")](e,!0),delete e[on("0x1a")],n[on("0xe")](e)}e.creatorId=this[on("0xb2")][on("0xad")].get("Users").me.id,e[on("0x96")]=e[on("0x96")]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const s=this[on("0x1e")](e);n[on("0xe")](e);const a=this.repository.getIndex(s);if(0!==a){const t=this[on("0x3c")][on("0x64")](a-1);if(t[on("0x8e")]!==i){const r=this[on("0x12")][on("0xd3")](i,t[on("0xbf")]),o={id:t.id,diffData:r.diffData,authorsIds:r[on("0x17")],authors:r[on("0x17")][on("0x29")]((e=>this.editor[on("0xad")][on("0xa6")](on("0xc9"))[on("0x5d")](e))),fromVersion:i};t===this[on("0x40")]&&(o[on("0x48")]=new Date(e.createdAt[on("0xd6")]()+10)),t[on("0x32")](o,!0),delete o.authors,n[on("0xe")](o)}}if(this[on("0x2a")]){for(const e of n)this._bufferUpdate(e.id,e,!0);this[on("0xd5")]()}return s}[on("0x1e")](e){const t=this[on("0x3c")].createRevision(e);return this[on("0x2a")]&&t.on(on("0x32"),((e,t,i)=>{i||(this[on("0x35")](t.id,t,!0),this[on("0xd5")]())})),this[on("0x3c")][on("0xaf")](t,this[on("0xee")](t)),t}async[on("0x7e")](e){await this[on("0x77")](e);const t={};for(const i in e.diffData){const n=this[on("0xe8")](JSON.parse(e[on("0xc3")][i].insertions)),r=this.editor[on("0xda")][on("0x8a")][on("0x3")],s=new o.ViewDocumentFragment(r,n[on("0x29")]((e=>cn(e,this[on("0xb2")]))));this[on("0xb2")][on("0xd2")].processor[on("0x7")](on("0x6d")),t[i]=this[on("0xb2")][on("0xd2")][on("0x62")].toData(s),this[on("0xb2")].data[on("0x62")].useFillerType("default")}return t}[on("0xd5")](){if(0===this._bufferedUpdates.size)return;if(this[on("0xc4")])return;let e=Array[on("0xba")](this._bufferedUpdates.values());this[on("0xbe")][on("0x88")]();for(let t=0;t<e[on("0x8d")];t++){const i=e[t];let n=!1;for(const e of Object[on("0x5")](i))void 0===i[e]?delete i[e]:"id"!==e&&(n=!0);n||(e[t]=null)}if(e=e[on("0x67")]((e=>null!==e)),!e[on("0x8d")])return;for(let t=0;t<e[on("0x8d")];t++){const i=e[t];void 0!==i[on("0x8e")]&&void 0===i[on("0xbf")]&&(i.toVersion=this[on("0x3c")][on("0x64")](i.id)[on("0xbf")]),void 0!==i[on("0xbf")]&&void 0===i.fromVersion&&(i[on("0x8e")]=this[on("0x3c")][on("0x64")](i.id).fromVersion)}const t=this[on("0xb2")][on("0x91")][on("0xa6")](on("0xaa"));this[on("0xc4")]=!0,this[on("0x90")](),this[on("0x2a")].updateRevisions(e,t).finally((()=>{this[on("0xc4")]=!1}))[on("0xe4")]((e=>{if(e)for(const t of e)this[on("0xd8")]({id:t.id,createdAt:t[on("0x48")]});this[on("0x66")](),this[on("0xd5")]()}))}[on("0xd0")](e){let i=this.editor[on("0x91")][on("0xa6")](on("0x21"));if(void 0===i){i={};for(const e of this.editor.model[on("0x3")][on("0x87")]())i[e]=""}on("0x1d")==typeof i&&(i={main:i});let n=!1;for(const t of Object.keys(i))e[t]&&(i[t]!==e[t]&&""!==i[t][on("0x2e")]()&&(n=!0),i[t]=e[t]);n&&(0,t.logWarning)("editor-initial-data-replaced-with-revision-data"),this.editor[on("0x91")][on("0x9a")]("initialData",i)}[on("0x90")](){if(!this._pendingAction){const e=this[on("0xb2")][on("0xad")].get(on("0x3b"));this[on("0x43")]=e[on("0x2c")](en(this.editor.locale,on("0xab")))}}[on("0x66")](){this[on("0x43")]&&(this[on("0xb2")][on("0xad")][on("0xa6")](on("0x3b"))[on("0x80")](this._pendingAction),this[on("0x43")]=null)}[on("0xee")](e){const t=this[on("0x3c")][on("0x8c")]();t[on("0x20")]();let i=0;for(;i<t[on("0x8d")];){const n=t[i];if(n===this[on("0x40")]){i++;continue}if(n.id===this._initialRevisionId)break;const r=e[on("0xbf")]-n.toVersion||e.fromVersion-n[on("0x8e")];if(r>0)break;if(r<0)i++;else{if(!e[on("0xac")]&&n[on("0xac")])break;if(n[on("0xac")]||!e[on("0xac")]){if(e[on("0x48")]>n[on("0x48")])break;i++}else i++}}return i}[on("0xd8")](e){const t=this[on("0x3c")][on("0x64")](e.id);if(e[on("0x48")]&&(e[on("0x48")]=new Date(e[on("0x48")])),e[on("0x17")]){const t=this[on("0xb2")].plugins[on("0xa6")]("Users");e[on("0x1a")]=e.authorsIds[on("0x29")]((e=>t.getUser(e)))}t._update(e,!0)}[on("0xeb")]({revision:e=null,from:t=null,to:i=null}){t=null!==t?t:e[on("0x8e")],i=null!==i?i:e[on("0xbf")];const n=this[on("0x12")][on("0xd3")](t,i),r={diffData:n[on("0xc3")],authorsIds:n[on("0x17")],fromVersion:t,toVersion:i};if(!e||i!==e[on("0xbf")]){const e=i-1,t=this._source.history[on("0xb7")](e);r.createdAt=t&&t[on("0x48")]||new Date}if(this[on("0xa4")]&&t===this._loadedStateData[on("0x8e")])for(const e of this[on("0xa4")][on("0x1a")])r.authorsIds.includes(e.id)||r[on("0x17")][on("0xe")](e.id);return r}_loadRevisionData(e){if(!e||e.diffData)return Promise.resolve();{const t=this.editor[on("0x91")].get(on("0xaa"));return this[on("0x2a")][on("0x64")]({channelId:t,revisionId:e.id})[on("0xe4")]((t=>{e.diffData=t[on("0xc3")]}))}}[on("0x35")](e,t,i){if(this[on("0xbe")][on("0x86")](e)){const n=this[on("0xbe")][on("0xa6")](e);t=i?{...n,...t}:{...t,...n}}this[on("0xbe")].set(e,t)}[on("0x93")](e){const t=this[on("0x3c")][on("0x8c")]();t[on("0x20")](),t.shift();const i=t[on("0x1b")]((t=>t[on("0xbf")]<=e))[on("0xbf")];return i<this[on("0xca")]?this[on("0xca")]:i}[on("0xa7")](e){const t=this[on("0x3c")][on("0x64")](this[on("0x3c")].length-1);if(t)this[on("0xb6")]=t.id;else{const t=!this[on("0xb2")].model[on("0x3")].roots[on("0x1b")]((e=>this.editor.model[on("0x5f")](e))),i=this[on("0xb2")][on("0xad")][on("0xa6")](on("0xc9")).me.id,n=en(this.editor[on("0xc0")],t?on("0x9f"):"Initial revision");this[on("0x44")]({from:e,to:e,id:this[on("0xb6")],name:n,creatorId:i})}}[on("0xc7")](e){const t=this[on("0x94")].getCurrentRevisionId();this.currentRevision=this.repository[on("0x64")](t),this.currentRevision||(this[on("0x40")]=this._makeRevision({from:e,to:e,id:t,name:"",creatorId:null}))}[on("0x44")]({name:e,from:t,to:i,creatorId:n,id:r}){const o=this.buildRevisionData({from:t,to:i});o[on("0x96")]=e,o[on("0x41")]=n,o.id=r;const s=this[on("0x1e")](o);return this[on("0x2a")]&&this[on("0x35")](o.id,o,!0),s}_setConversion(){this[on("0xb2")][on("0x46")][on("0x60")](on("0x78"))[on("0x68")]({model:on("0x2")})}[on("0xe8")](e){return(e=e[on("0x67")]((e=>!e.name||"revision-start"!==e[on("0x96")]&&on("0x39")!==e[on("0x96")]))).forEach((e=>{on("0x1d")!=typeof e&&(e.children=this[on("0xe8")](e.children),e[on("0xdb")]=e.attributes[on("0x67")]((e=>!e[0][on("0x9e")]("data-revision-"))))})),e}}function cn(e,t){const i=t[on("0xda")][on("0x8a")].document;if("string"==typeof e)return new o.ViewText(i,e);{const n=e[on("0x36")].map((e=>cn(e,t)));return new(sn[e[on("0x74")]]||o.ViewElement)(i,e[on("0x96")],e[on("0xdb")],n)}}class un{constructor(e){this[on("0xb2")]=e,this[on("0x55")]=new Map,this[on("0x25")]=-1,this[on("0x63")]=-1,this[on("0x16")]=new Map,this[on("0x4c")]=new Map,this[on("0x6b")]=new Map,this[on("0xc2")]=new Map,this[on("0x57")]=new Map,this._touched=new Map,this[on("0x95")]=new Map,this._revisionId=1,this._rootNames=this[on("0xb2")].model.document[on("0x87")](),this[on("0x15")].push(on("0x7b"))}[on("0x6")](e){this.source=e;const t=new Map;for(const e of this[on("0x15")]){const i=ln(this[on("0xb2")][on("0x47")].document[on("0xbc")](e));t.set(e,i)}const i=Array.from(this[on("0xb2")][on("0x47")][on("0x13")])[on("0x29")]((e=>[e[on("0x96")],e[on("0xe1")]()])),n=this[on("0x84")].version;this._saveMetaData(n,t,i),this[on("0xde")]=this[on("0x45")]}[on("0xd3")](e,t){if(this._lastFrom===e&&this[on("0x63")]<=t)this._savedMetaData[on("0xb0")]>1&&this[on("0x51")](this[on("0x63")]),this[on("0xb")](this[on("0x63")],t,!0);else{if(!this._savedMetaData[on("0x86")](e)){const t=this._getPreviousFrom(e);this._calculateMetaData(t,e,!1)}this[on("0xea")](e,t,!0)}return this._lastFrom=e,this[on("0x63")]=t,this[on("0x58")]()}[on("0x2f")](e){this[on("0x4d")](),this[on("0x25")]=e[on("0x8e")],this[on("0x63")]=e[on("0xbf")];for(const t in e[on("0xc3")]){const i=this._makeModelFromViewString(e[on("0xc3")][t][on("0x70")]);i[on("0x38")]=t,this[on("0x6b")][on("0x9a")](t,i);const n=this[on("0x3d")](i);this[on("0x57")][on("0x9a")](t,n);for(const[e,t]of i[on("0x13")]){if(!e[on("0x9e")]("revision:"))continue;const i=e.split(":")[2];for(const e of t[on("0x7a")]({singleCharacters:!0})){const t=this._getVidAttributeName(e),r=on("0x83")==e[on("0x74")]?e[on("0x4e")].path[on("0x7c")](0,-1):e[on("0x4e")][on("0x89")],o=n[on("0x75")](r)[on("0xa8")](t);this[on("0xe6")].set(o,{userId:i})}}}this._startingRevisionId=this[on("0x45")];const t=[...Array(this[on("0x45")])[on("0x5")]()].slice(1)[on("0x67")]((e=>!this[on("0xe6")].has(e)));let i=0;for(const n in e[on("0xc3")]){const r=this._makeModelFromViewString(e[on("0xc3")][n][on("0xdc")]);r[on("0x38")]=n,this[on("0x4c")][on("0x9a")](n,r);const s=this[on("0x3d")](r,Number.NEGATIVE_INFINITY);this[on("0xc2")].set(n,s);for(const[e,t]of r[on("0x13")]){if(!e[on("0x9e")](on("0x28")))continue;const i=e[on("0xae")](":")[2];for(const e of t[on("0x7a")]({singleCharacters:!0})){const t=this[on("0xb9")](e),n=this[on("0x45")]++,r=on("0x83")==e[on("0x74")]?e[on("0x4e")][on("0x89")][on("0x7c")](0,-1):e[on("0x4e")][on("0x89")];s[on("0x75")](r)[on("0x53")](t,n),this[on("0xe6")][on("0x9a")](n,{userId:i})}}for(const e of this.editor.model[on("0xe2")](r)[on("0x7a")]({singleCharacters:!0})){const n=this[on("0xb9")](e),r=on("0x83")==e.type?e.previousPosition[on("0x89")][on("0x7c")](0,-1):e[on("0x4e")].path,o=s[on("0x75")](r);o.getAttribute(n)>0||o[on("0x53")](n,t[i++])}const a=new o.DocumentFragment;a[on("0x38")]="$graveyard",this[on("0x6b")].set(on("0x7b"),a),this[on("0x57")][on("0x9a")](on("0x7b"),this._makeIdsRoot(a,1));const c=new o.DocumentFragment;c[on("0x38")]="$graveyard",this[on("0x4c")][on("0x9a")](on("0x7b"),c),this[on("0xc2")].set(on("0x7b"),this._makeIdsRoot(c,1));for(const[e,t]of r[on("0x13")])e[on("0x9e")]("revision:")||this._markers[on("0x9a")](e,t)}const n=Array[on("0xba")](this[on("0x4c")])[on("0x29")]((([e,t])=>[e,ln(t)]));this._saveMetaData(this._lastTo,n,this[on("0x16")])}[on("0x23")](e){const t=JSON.parse(e),i=this[on("0xb2")].editing.view[on("0x3")],n=new o.ViewDocumentFragment(i,t[on("0x29")]((e=>cn(e,this[on("0xb2")]))));return this.editor.data[on("0xa5")](n)}_saveEmptyMetaData(){const e=new Map;for(const t of this[on("0x15")]){const i=new o.DocumentFragment;i[on("0x38")]=t,e[on("0x9a")](t,i)}this[on("0xb4")](Number.NEGATIVE_INFINITY,e,[])}[on("0xb4")](e,t,i){const n=new Map(t),r=new Map;for(const[e,t]of i)r.set(e,{start:t[on("0xe5")].clone(),end:t.end[on("0xdd")](),rootName:t.root[on("0x38")]});this[on("0x55")][on("0x9a")](e,{roots:n,markers:r})}[on("0x51")](e){this[on("0x55")][on("0x76")](e)}[on("0x6e")](){this[on("0x4d")](),this._lastFrom=-1,this[on("0x63")]=-1,this[on("0x55")][on("0x88")](),this[on("0x6")](this[on("0x84")])}_reset(){this[on("0xe6")].clear(),this[on("0x95")][on("0x88")](),this[on("0x4c")][on("0x88")](),this._baseRoots[on("0x88")](),this[on("0xc2")][on("0x88")](),this[on("0x57")][on("0x88")](),this._markers.clear(),this[on("0x45")]=1,this[on("0xde")]=this._revisionId}[on("0x3d")](e,t=null){let i=null;e.is(on("0x4f"))||(i=new o.Element(e[on("0x96")],{vid_start:null===t?this[on("0x45")]++:t++}));const n=[];for(const i of e.getChildren())if(i.is(on("0x2b"))){n[on("0xe")](this[on("0x3d")](i,t));const e=n[n[on("0x8d")]-1];null!==t&&(t=e.is(on("0x2b"),on("0xd"))?e[on("0xa8")](on("0x71"))+1:e[on("0xa8")](on("0x69"))+1)}else for(let e=0;e<i.offsetSize;e++)n.push(new o.Element(on("0xd"),{vid:null===t?this._revisionId++:t++}));if(e.is(on("0x4f"))){const t=new o.DocumentFragment(n);return t[on("0x38")]=e[on("0x38")],t}return i[on("0x53")](on("0x69"),null===t?this[on("0x45")]++:t++),i[on("0x18")](0,n),i}[on("0xea")](e,t,i){this[on("0x4d")]();const{roots:n,markers:r}=this[on("0x55")].get(e);this[on("0x6b")]=new Map(n);for(const[e,t]of this[on("0x6b")])if("$graveyard"!==e&&(this[on("0x4c")][on("0x9a")](e,ln(t)),i)){const i=this[on("0x45")];this[on("0xc2")][on("0x9a")](e,this[on("0x3d")](t)),this[on("0x57")][on("0x9a")](e,this[on("0x3d")](t,i))}this[on("0xde")]=this[on("0x45")],this[on("0x4c")][on("0x9a")](on("0x7b"),ln(this[on("0x6b")][on("0xa6")](on("0x7b")))),i&&this[on("0xc2")][on("0x9a")](on("0x7b"),this[on("0x3d")](this[on("0x6b")][on("0xa6")](on("0x7b"))));for(const[e,t]of r){const i=this[on("0x6b")][on("0xa6")](t[on("0x38")]),n=this[on("0x4c")][on("0xa6")](t.rootName),r=new o.Range(this[on("0xa")](t[on("0xe5")],i),this[on("0xa")](t.end,i)),s=this._fixRange(r,n);i[on("0x13")].set(e,r),this[on("0x16")][on("0x9a")](e,s)}this[on("0xb")](e,t,i)}[on("0xb")](e,t,i){for(const n of this[on("0x84")][on("0x11")](e,t))this._handleOperation(n,i);for(const e of this[on("0x4c")][on("0x3a")]())e[on("0x13")][on("0x88")]();for(const[e,t]of this[on("0x16")])this[on("0x4c")][on("0xa6")](t[on("0x4b")][on("0x38")]).markers[on("0x9a")](e,t[on("0xdd")]());this[on("0xb4")](t,Array.from(this._diffRoots).map((([e,t])=>[e,ln(t)])),this._markers)}_getPreviousFrom(e){const t=Array[on("0xba")](this[on("0x55")][on("0x5")]());t[on("0x24")](((e,t)=>e-t)),t.reverse();for(const i of t)if(i<e)return i;return this._saveEmptyMetaData(),Number.NEGATIVE_INFINITY}[on("0xe9")](e,t){const i=Array[on("0xba")](t[on("0x13")])[on("0x29")]((([t,i])=>[t,this._fixRange(i,e)]));e[on("0x13")]=new Map(i)}_transformMarkers(e){for(const t of this[on("0x16")].values()){const i=t[on("0x30")](e),n=o.Range[on("0x49")](i);t[on("0xe5")]=n[on("0xe5")],t.end=n[on("0x6a")]}}[on("0x5a")](e,t){const i=this[on("0xc6")](e,this[on("0x4c")]);if(on("0x37")!==e[on("0x74")]&&(i[on("0x5b")](),this[on("0xed")](i)),t)switch(i[on("0x74")]){case on("0x5c"):this[on("0xf")](e);break;case on("0xa3"):case"remove":case on("0x3f"):this._handleMoveOperation(e);break;case on("0xb3"):this[on("0x26")](e);break;case on("0xae"):this[on("0x54")](e);break;case on("0x37"):this[on("0xa2")](e)}}[on("0xc6")](e,t){const i=e.clone();return i[on("0x9d")]=e[on("0x9d")],this._fixOperation(i,t),i}[on("0xd4")](e){return e[on("0x29")]((e=>{const t=this[on("0xb9")](e);return Number(e[on("0x72")].getAttribute(t))}))}_generateTape(e,t){if(e.is(on("0x2b"),on("0xd")))t[on("0xe")]({item:e,type:on("0x4a")});else{e.is("element")&&t.push({item:e,type:on("0xcb")});for(const i of e.getChildren())this[on("0x2d")](i,t);e.is(on("0x2b"))&&t[on("0xe")]({item:e,type:on("0x83")})}return t}[on("0x58")](){const e=this[on("0xb2")].model[on("0x3")].getRootNames(),t=new Map(this[on("0xe6")]),i=new Map(t),n=new Map,r={insertions:{},deletions:{}},o={insertions:{},deletions:{}},s=new Map;for(const t of e){const e=this._diffRoots[on("0xa6")](t),i=this[on("0x6b")][on("0xa6")](t);r.insertions[t]=ln(e),r.deletions[t]=ln(i),this[on("0xe9")](r[on("0x70")][t],i),this[on("0xe9")](r[on("0xdc")][t],e),o.insertions[t]=this[on("0x2d")](this._idsRoots[on("0xa6")](t),[]),o[on("0x70")][t]=this._generateTape(this[on("0x57")][on("0xa6")](t),[])}for(const r of e){const e=o[on("0xdc")][r];for(const r of e){const e=this._getVidAttributeName(r),o=r.item[on("0xa8")](e);i[on("0x76")](o),o>=this[on("0xde")]&&n[on("0x9a")](o,t.get(o))}}for(const r of e){const e=o.insertions[r],a=this[on("0xd4")](o[on("0x70")][r]);let c=0;for(const r of e){const e=this[on("0xb9")](r),o=r[on("0x72")].getAttribute(e);if(!n.has(o)&&!s[on("0x86")](o))if(i[on("0x86")](o))c++;else{if(o!=a[c]){const e=t.get(o)||t[on("0xa6")](a[c]);for(;o!=a[c];)i[on("0x86")](a[c])||(s[on("0x9a")](a[c],e),t[on("0x9a")](a[c],e)),c++}c++}}}for(const t of e){const e=o[on("0xdc")][t];for(const t of e){const e=this[on("0xb9")](t),r=t[on("0x72")][on("0xa8")](e);if(s[on("0x86")](r)){const e=s[on("0xa6")](r);i[on("0x86")](r)||i[on("0x9a")](r,{...e}),n[on("0x9a")](r,{...e})}}}for(const e of i[on("0x5")]())e>=this[on("0xde")]&&i[on("0x76")](e);const a=new Map;for(const t of e){let e=o.insertions[t];for(const t of e)if(t[on("0x72")].is("element",on("0xc1"))){const e=this[on("0xb9")](t),i=t.item[on("0xa8")](e);if(n[on("0x86")](i)){const e=t[on("0x72")][on("0xec")][on("0xec")].getAttribute(on("0xe7")),r=a[on("0xa6")](e)||new Set;r[on("0x2c")](n[on("0xa6")](i)[on("0x19")]),a[on("0x9a")](e,r)}}e=o[on("0x70")][t];for(const t of e)if(t[on("0x72")].is(on("0x2b"),on("0xc1"))){const e=this._getVidAttributeName(t),n=t[on("0x72")][on("0xa8")](e);if(i[on("0x86")](n)){const e=t.item.parent[on("0xec")].getAttribute(on("0xe7")),r=a[on("0xa6")](e)||new Set;r[on("0x2c")](i[on("0xa6")](n)[on("0x19")]),a[on("0x9a")](e,r)}}for(const e of a[on("0x5")]())(n.has(e)||i[on("0x86")](e))&&a[on("0x76")](e)}for(const t of e){const e=o.insertions[t];let r=null,s=null;for(const t of e){const e=this[on("0xb9")](t),o=t[on("0x72")][on("0xa8")](e),c=a[on("0xa6")](o);c&&"elementStart"==t[on("0x74")]&&(r=Array[on("0xba")](c)[0],s=t[on("0x72")][on("0xa8")]("vid_end")),r&&(i[on("0x9a")](o,{userId:r}),n.set(o,{userId:r})),o==s&&(r=null,s=null)}}const c={},u=new Set;for(const t of e){const e=r[on("0x70")][t],s=r[on("0xdc")][t];for(const{userId:e}of this._touchedMarkers[on("0x3a")]())null!==e&&u[on("0x2c")](e);this[on("0x1c")](s,o[on("0xdc")][t],n,on("0x79"),u),this._markChanges(e,o.deletions[t],i,"deletion",u),c[t]={insertions:this[on("0xa0")](s),deletions:this[on("0xa0")](e)}}return{diffData:c,authorsIds:Array[on("0xba")](u)}}_processRootBeforeSave(e){for(const[,t]of e[on("0x13")]){const e=t.start[on("0x4")]()[on("0x67")]((e=>on("0xc1")==e.name));for(const t of e)1==t[on("0x82")]&&t[on("0x3e")](0).is(on("0x2b"),on("0xbd"))&&t[on("0x3e")](0)._setAttribute(on("0x9c"),!0)}}[on("0xa0")](e){this[on("0x10")](e);const t=this[on("0xb2")][on("0xd2")][on("0x97")](e,{}),i=Array[on("0xba")](t[on("0x0")]())[on("0x29")]((e=>this[on("0xb1")](e)));return JSON[on("0x92")](i)}[on("0xb1")](e){if(e.is("$text"))return e[on("0xd2")];{const t=e;return{type:Object.keys(sn)[on("0x1b")]((t=>e instanceof sn[t])),name:t.name,attributes:Array.from(t[on("0xb8")]()),children:Array[on("0xba")](t.getChildren()).map((e=>this[on("0xb1")](e)))}}}[on("0x1c")](e,t,i,n,r){let o=null,s=null,a=0;const c=this.editor[on("0x47")];for(let n=0;n<t[on("0x8d")];n++){const r=this._getVidAttributeName(t[n]),a=t[n].item[on("0xa8")](r),l=i.get(a),d=n==t[on("0x8d")]-1;!o&&l&&(o=l,s=t[n]),o&&(!l||l[on("0x19")]!=o[on("0x19")])&&(u(l,dn(s,e,c),dn(t[n],e,c)),o=l||null,s=l?t[n]:null),o&&d&&u(l,dn(s,e,c),xn(t[n],e,c))}function u(t,i,s){const u=o[on("0x19")],l=on("0x28")+n+":"+u+":"+a++,d=c[on("0xd1")](i,s);e[on("0x13")][on("0x9a")](l,d),null!==u&&r[on("0x2c")](u)}}[on("0xb9")](e){switch(e.type){case on("0xcb"):return on("0xe7");case on("0x83"):return on("0x69");default:return on("0x71")}}[on("0x1")](e,t){e[on("0x52")]=null;for(const i in e){const n=e[i];if(n instanceof o.Position){const r=t.get(n[on("0x4b")].rootName);e[i]=this[on("0xa")](n,r)}if(n instanceof o.Range){const r=t.get(n[on("0x4b")][on("0x38")]);e[i]=this._fixRange(n,r)}}e[on("0x4b")]&&(e[on("0x4b")]=t.get(e[on("0x4b")].rootName))}[on("0x8f")](e,t){return this.editor[on("0x47")][on("0xd1")](this[on("0xa")](e[on("0xe5")],t),this[on("0xa")](e[on("0x6a")],t))}_fixPosition(e,t){return this[on("0xb2")][on("0x47")].createPositionFromPath(t,e[on("0x89")],e[on("0x7f")])}[on("0xf")](e){const t=this[on("0xc2")].get(e[on("0x8")][on("0x4b")][on("0x38")]),i=this._fixPosition(e.position,t),n=null===e[on("0x9d")]?null:e[on("0x9d")]||this[on("0xb2")][on("0xad")][on("0xa6")]("Users").me.id,r=i[on("0xec")],s=this[on("0x45")],a=[];for(const t of e[on("0xa9")])if(t.is(on("0x2b")))a.push(this[on("0x3d")](t));else for(let e=0;e<t[on("0xdf")];e++)a[on("0xe")](new o.Element(on("0xd"),{vid:this[on("0x45")]++}));const c=this._revisionId;for(let e=s;e<c;e++)this[on("0xe6")][on("0x9a")](e,{userId:n});r[on("0x18")](i[on("0x50")],a)}[on("0xa1")](e){(e=this[on("0xc6")](e,this[on("0xc2")]))[on("0x5b")]();const t=null===e[on("0x9d")]?null:e[on("0x9d")]||this[on("0xb2")][on("0xad")][on("0xa6")]("Users").me.id,i=e.getMovedRangeStart(),n=i[on("0xec")],r=i.offset;!function e(i,n,r,o){for(let s=r;s<o;s++){const r=n[on("0x3e")](s);r.is(on("0x2b"),on("0xd"))?i.set(r[on("0xa8")](on("0x71")),{userId:t}):(i.set(r[on("0xa8")](on("0xe7")),{userId:t}),e(i,r,0,r.childCount),i[on("0x9a")](r[on("0xa8")](on("0x69")),{userId:t}))}}(this._touched,n,r,r+e.howMany)}[on("0x26")](e){const t=null===(e=this._cloneOperation(e,this[on("0xc2")]))._authorId?null:e[on("0x9d")]||this[on("0xb2")][on("0xad")][on("0xa6")](on("0xc9")).me.id,i=e[on("0xd7")][on("0xec")],n=e.sourcePosition[on("0xec")],r=i[on("0xa8")]("vid_end"),o=n[on("0xa8")](on("0xe7"));i._setAttribute(on("0x69"),n[on("0xa8")](on("0x69"))),n[on("0x53")](on("0x69"),r),this[on("0xe6")][on("0x9a")](o,{userId:t}),this[on("0xe6")][on("0x9a")](r,{userId:t}),e[on("0x5b")]()}[on("0x54")](e){const t=null===(e=this[on("0xc6")](e,this._idsRoots))[on("0x9d")]?null:e[on("0x9d")]||this.editor.plugins[on("0xa6")](on("0xc9")).me.id,i=e[on("0x33")],n=e.splitPosition[on("0xec")];e[on("0x5b")]();const r=n[on("0xa8")]("vid_end"),o=e[on("0x56")][on("0x9b")];if(i){const e=o.getAttribute("vid_end"),i=n.getAttribute(on("0x69"));n[on("0x53")](on("0x69"),e),o[on("0x53")](on("0x69"),i),this[on("0xe6")].set(n[on("0xa8")](on("0x69")),{userId:t}),this[on("0xe6")][on("0x9a")](o.getAttribute("vid_start"),{userId:t})}else{const e=this._revisionId++,i=this[on("0x45")]++;n[on("0x53")](on("0x69"),e),o[on("0x53")](on("0xe7"),i),o[on("0x53")]("vid_end",r),this[on("0xe6")][on("0x9a")](e,{userId:t}),this[on("0xe6")][on("0x9a")](i,{userId:t})}}[on("0xa2")](e){if(!e[on("0xcd")])return;const t=(e=this._cloneOperation(e,this[on("0x4c")]))[on("0xc8")]?e[on("0xc8")][on("0x4b")]:null,i=e.newRange?e.newRange.root:null;t&&this[on("0x16")].delete(e[on("0x96")]),i&&this._markers.set(e.name,e[on("0x34")][on("0xdd")]());const n=null===e[on("0x9d")]?null:e[on("0x9d")]||this[on("0xb2")][on("0xad")][on("0xa6")]("Users").me.id,r=e[on("0x96")];if(!this[on("0x95")].has(r))return void this[on("0x95")][on("0x9a")](r,{range:e[on("0xc8")],userId:n});const o=this[on("0x95")][on("0xa6")](r),s=o.range,a=e[on("0x34")];null==s&&null==a||s&&a&&s.isEqual(a)?this[on("0x95")][on("0x76")](e[on("0x96")]):o[on("0x19")]=n}}function ln(e){const t=new o.DocumentFragment;t.rootName=e[on("0x38")];for(const i of e[on("0x0")]()){const e=i._clone(!0);t[on("0xd9")](e)}return t}function dn(e,t,i){const n="elementEnd"==e[on("0x74")]?i.createPositionAt(e[on("0x72")],on("0x6a")):i[on("0x8b")](e[on("0x72")]);return i[on("0x22")](t,n[on("0x89")],n[on("0x7f")])}function xn(e,t,i){const n=on("0xcb")==e.type?i[on("0x7d")](e[on("0x72")],0):i[on("0x14")](e.item);return i[on("0x22")](t,n.path,n.stickiness)}var hn=i(273),fn=i(278),vn=i.n(fn),mn=i(996),gn={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(mn.Z,gn);mn.Z.locals;var pn=i(542),yn={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(pn.Z,yn);pn.Z.locals;const bn=["arrowright","render","focusTracker","_createButton","focusFirst","add","Save","type","saveButtonView","forEach","_focusables","Name of the revision (optional)","listenTo","keystrokes","value","ck-button-cancel","label","extendTemplate","revisionName","_createRevisionNameInput","ck-button-save","trim","set","delegate","cancel","revisionNameInputView","stopPropagation","ck-revision-history-save-revision-form","220","setTemplate","form","high","shift + tab","revisionNameInputValue","cancelButtonView","element","arrowdown","_focusCycler","arrowleft","fieldView","locale","Cancel"];var kn,_n;kn=bn,_n=333,function(e){for(;--e;)kn.push(kn.shift())}(++_n);const wn=function(e,t){return bn[e-=0]};class Sn extends hn.View{constructor(i){super(i),this[wn("0x5")]=new t.FocusTracker,this[wn("0x10")]=new t.KeystrokeHandler,this[wn("0x19")](wn("0x24"),""),this[wn("0x1c")]=this._createRevisionNameInput(),this[wn("0xb")]=this[wn("0x6")](en(i,wn("0x9")),e.icons.check,wn("0x17")),this[wn("0xb")][wn("0xa")]="submit",this.cancelButtonView=this[wn("0x6")](en(i,wn("0x2")),e.icons[wn("0x1b")],wn("0x12"),wn("0x1b")),this[wn("0xd")]=new hn.ViewCollection,this[wn("0x28")]=new hn.FocusCycler({focusables:this[wn("0xd")],focusTracker:this[wn("0x5")],keystrokeHandler:this[wn("0x10")],actions:{focusPrevious:wn("0x23"),focusNext:"tab"}}),this[wn("0x20")]({tag:wn("0x21"),attributes:{class:["ck",wn("0x1e"),"ck-responsive-form"],tabindex:"-1"},children:[this[wn("0x1c")],this[wn("0xb")],this[wn("0x25")]]}),(0,hn.injectCssTransitionDisabler)(this)}[wn("0x4")](){super[wn("0x4")](),(0,hn.submitHandler)({view:this}),[this.revisionNameInputView,this[wn("0xb")],this.cancelButtonView][wn("0xc")]((e=>{this._focusables[wn("0x8")](e),this[wn("0x5")][wn("0x8")](e[wn("0x26")])})),this[wn("0x10")][wn("0xf")](this.element);const e=e=>e[wn("0x1d")]();this[wn("0x10")].set(wn("0x3"),e),this[wn("0x10")][wn("0x19")](wn("0x29"),e),this[wn("0x10")][wn("0x19")]("arrowup",e),this[wn("0x10")][wn("0x19")](wn("0x27"),e),this[wn("0xf")](this.revisionNameInputView[wn("0x26")],"selectstart",((e,t)=>{t[wn("0x1d")]()}),{priority:wn("0x22")})}focus(){this[wn("0x28")][wn("0x7")]()}get[wn("0x15")](){return this.revisionNameInputView[wn("0x0")].element[wn("0x11")][wn("0x18")]()}set[wn("0x15")](e){this[wn("0x1c")][wn("0x0")][wn("0x26")].value=e.trim()}reset(){this[wn("0x1c")][wn("0x0")].element[wn("0x11")]=""}[wn("0x16")](){const e=new hn.LabeledFieldView(this[wn("0x1")],hn.createLabeledInputText),t=e[wn("0x0")];return t[wn("0x14")]({attributes:{maxlength:wn("0x1f")}}),e[wn("0x13")]=en(this[wn("0x1")],wn("0xe")),t.on("input",(()=>{this[wn("0x24")]=t[wn("0x26")].value.trim()})),e}_createButton(e,t,i,n){const r=new hn.ButtonView(this.locale);return r[wn("0x19")]({label:e,icon:t,tooltip:!0}),r[wn("0x14")]({attributes:{class:i}}),n&&r[wn("0x1a")]("execute").to(this,n),r}}const Tn='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g><path d="M11 1a9 9 0 1 1-8.027 13.075l1.128-1.129A7.502 7.502 0 0 0 18.5 10a7.5 7.5 0 1 0-14.962.759l-.745-.746-.76.76A9 9 0 0 1 11 1z"/><path d="M.475 8.17a.75.75 0 0 1 .978.047l.075.082 1.284 1.643 1.681-1.284a.75.75 0 0 1 .978.057l.073.083a.75.75 0 0 1-.057.978l-.083.073-2.27 1.737a.75.75 0 0 1-.973-.052l-.074-.082-1.741-2.23a.75.75 0 0 1 .13-1.052z"/><path d="M11.5 5v4.999l3.196 3.196-1.06 1.06L10.1 10.72l-.1-.113V5z"/></g></svg>\n',On=["addMany","isOpen","bind","reset","plugins","Open revision history","cancel","Save current revision","revisionHistory","isReadOnly","execute","isEnabled","requires","focus","revisionName","RevisionTracker","config","children","add","isReady","change:isOpen","init","componentFactory","get","view","submit","items","set","pluginName","saveButtonView","RevisionHistoryUI","panelView","remove","buttonView"];var In,Rn;In=On,Rn=125,function(e){for(;--e;)In.push(In.shift())}(++Rn);const Nn=function(e,t){return On[e-=0]};class Vn extends e.Plugin{static get[Nn("0x5")](){return Nn("0x7")}static get[Nn("0x17")](){return[an]}[Nn("0x20")](){const e=this.editor,t=e[Nn("0xf")].get(Nn("0x1a"));e.ui[Nn("0x21")].add(Nn("0x13"),(i=>{const n=(0,hn.createDropdown)(i),r=n[Nn("0x8")][Nn("0x1c")],o=new hn.ListView(i),s=new hn.ListItemView(i),a=new hn.ButtonView(i),c=new hn.ListItemView(i),u=new hn.ButtonView(i),l=new Sn(i);function d(){r.length&&r[Nn("0x9")](0),r[Nn("0x1d")](o)}function x(){n[Nn("0xc")]=!1,e.editing[Nn("0x1")][Nn("0x18")]()}return n[Nn("0xd")](Nn("0x16")).to(t,Nn("0x1e"),t,"isEnabled",e,"isReadOnly",((e,t,i)=>e&&t&&!i)),n[Nn("0xa")][Nn("0x4")]({icon:Tn,label:en(i,"Revision history"),tooltip:!0}),a[Nn("0x4")]({label:en(i,Nn("0x12")),withText:!0}),a[Nn("0xd")](Nn("0x16")).to(t,Nn("0x1e"),t,Nn("0x16"),e,Nn("0x14"),((e,t,i)=>e&&t&&!i)),a.on("execute",(()=>(r.length&&r.remove(0),l[Nn("0xe")](),r[Nn("0x1d")](l),void l[Nn("0x18")]()))),u[Nn("0x4")]({label:en(i,Nn("0x10")),withText:!0}),u[Nn("0xd")]("isEnabled").to(t,Nn("0x1e"),e,Nn("0x14"),((e,t)=>e&&!t)),u.on(Nn("0x15"),(()=>{e[Nn("0x1b")][Nn("0x0")](Nn("0x13")).showRevisionViewerCallback(),x()})),s[Nn("0x1c")][Nn("0x1d")](a),c[Nn("0x1c")][Nn("0x1d")](u),o[Nn("0x3")][Nn("0xb")]([s,c]),n.on(Nn("0x1f"),(()=>d())),l[Nn("0x6")][Nn("0xd")](Nn("0x16")).to(t,Nn("0x1e"),t,"isEnabled",e,"isReadOnly",((e,t,i)=>e&&t&&!i)),l.on(Nn("0x2"),(()=>(e[Nn("0xf")][Nn("0x0")](an).saveRevision({name:l[Nn("0x19")]}),void x()))),l.on(Nn("0x11"),(()=>d())),l.render(),d(),n}))}}const En=["add","_model","focus","name","type","set","Removed by","element","ck-revision-change__label","setTemplate","bindTemplate","data","span","isSuggestion","Suggested by","ck-annotation","changeId","ck-revision-change"];var Mn,Dn;Mn=En,Dn=405,function(e){for(;--e;)Mn.push(Mn.shift())}(++Dn);const An=function(e,t){return En[e-=0]};class Cn extends hn.View{constructor(e,t){super(e),this[An("0xa")]=t,this[An("0x7")]=t.id;const i=this[An("0x1")],n=en(e,t[An("0x2")][An("0x4")]?An("0x5"):An("0x9")==t.type?"Added by":An("0xf"));this[An("0xe")]("type",t[An("0xd")]),this[An("0x0")]({tag:"div",attributes:{class:[An("0x6"),An("0x8"),i.to("type",(e=>"ck-revision-change__"+e))],tabindex:-1},children:[{tag:An("0x3"),children:[{tag:An("0x3"),attributes:{class:[An("0x11")]},children:[{text:n}]},{text:" "+t.author[An("0xc")]}]}]})}[An("0xb")](){this[An("0x10")][An("0xb")]()}}var jn,Fn,Ln=["createdAt","set","data","type","author"];jn=Ln,Fn=311,function(e){for(;--e;)jn.push(jn.shift())}(++Fn);var Pn=function(e,t){return Ln[e-=0]};class zn extends((0,t.ObservableMixin)()){constructor(e){super(),this.id=e.id||(0,t.uid)(),this[Pn("0x3")]=e[Pn("0x3")],this[Pn("0x2")]=e[Pn("0x2")],this[Pn("0x1")]=e[Pn("0x1")]||{},this[Pn("0x0")](Pn("0x4"),e.createdAt)}toJSON(){return{id:this.id,authorId:this[Pn("0x3")].id,type:this[Pn("0x2")],data:this.data,createdAt:this[Pn("0x4")]}}}const Zn=["add","_setData","changes","newRevisionId"];var Un,Hn;Un=Zn,Hn=429,function(e){for(;--e;)Un.push(Un.shift())}(++Hn);const qn=function(e,t){return Zn[e-=0]};class Bn{constructor(e,i){this[qn("0x2")]=e,this.oldRevisionId=i,this[qn("0x1")]=new t.Collection}[qn("0x0")](e){for(const t of e[qn("0x1")])this.changes[qn("0x3")](t)}}var Wn=i(288),Gn={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(Wn.Z,Gn);Wn.Z.locals;const Jn=["revision-viewer","getChild","setAttribute","_getViewForChange","getItems","high","plugins","start","offsetSize","getClientRects","editor","removeMarker:revision","enableReadOnlyMode","deletion","diffData","revision-suggestion:","_markSuggestions","_fixObsoleteTags","end","markerToHighlight","unshift","abs","startsWith","bindElementToMarker","ck-editor__editable__overlay","_makeModelFromTape","markersEnd","isBlock","stop","toViewPosition","test","addMarker:revision-suggestion:insertion","changes","bottom","RevisionViewer","isReady","writer","refresh","parent","revision-start","_threeWayMerge","_findChangeIdFromDomTarget","low","_setConversion","distance","from","viewItem","_removeUnsupportedChanges","remove","commands","activeView","keys","newRevisionId","ck-suggestion-marker--active","type","isObject","startIndex","createRevision","revision:","forceDisabled","side","readOnlyMode","editingDowncast","element","ck-suggestion-marker-merge","mapViewToDom","getCustomProperty","getIndex","then","<p></p>","checkAttribute","_data","length","removeMarker:revision-suggestion","insertion","data","vid_end","createRange","map","execute","markersStart","change","_getChangeFromId","done","comment","pluginName","reconvertMarker","getRevisionData","isAtStart","sort","getWalker","delete","forward","_activeViewTarget","get","_setData","_removeMissingPairs","createPositionFromPath","next","_step","mouseover","filter","revisionHistoryLabel","destroy","markerToData","suggestion:","processor","findIndex","has","clear","add","getAttribute","currentChangeNumber","nextPosition","dataToMarker","showPreviousChange","compare","markerName","isSuggestion","_update","range","domConverter","createAttributeElement","ck-suggestion-marker-split","document","userId","stopListening","item","isContent","find","config","_removeRevisionMarkers","enqueueChange","model","authors","ck-suggestion-marker-","_changeIdToChange","useFillerType","editing","-new","catch","restoreRevisionCallback","split","previousPosition","repository","maxOffset","revision","element:pre","upcast","numberOfChanges","isAddSuggestion","isIncorrect","right","view","isEqual","endIndex","_markMarkers","isNavigationMode","revisionHistory","conversion","isLimit","isCollapsed","_makeTape","toModel","isAtEnd","markerRange","isRemoved","error","name","string","mapper","ck-suggestion-preview-marker-","isBefore","toViewElement","createRangeIn","revision-suggestion","downcastDispatcher","getRevision","isAdded","change:isEnabled","markers","hasClass","_changeView","level","target","values","uiElement","activeChange","modelRange","_cleanMarkers","bind","vid","attributes","_cleanUp","merge","_markInsertions","schema","left","children","revision-end","softBreak","removeMarker","dataDowncast","isEnabled","clearForceDisabled","insert","elementEnd","oldRevisionId","change:activeView","listenTo","_initInteractions","set","markerNameToElements","splice","restoreRevision","for","highest","span","insertions","addMarker:revision-suggestion:deletion","parse","adapter","change:numberOfChanges","addClass","_processTape","_setDistance","loadRevisionData","isRemoveSuggestion","change:isReadOnly","createUIElement","_getViewObj","hasAttribute","unbindElementFromMarkerName","consume","_appendChild","return","concat","code","createPositionBefore","updatePosition","data-change-id","forEach","elementStart","_refreshStartEndIndex","_revisions","_joinTapes","_balloon","isAfter","wrap","addMarker:revision","_getDiff","addHighlight","RevisionsRepository","_getRevisionsRange","pairId","includes","index","top","push","consumable","slice","ck-suggestion-preview-marker","POSITIVE_INFINITY","nodeAfter","shift","diff","domEvent","text","requires","WidgetToolbarRepository","marked","addRevisionData","data-revision-","toViewRange","flat","change:isReady","vid_start","getAttributes","first","_markMismatchedRemovedTags"];var Yn,$n;Yn=Jn,$n=262,function(e){for(;--e;)Yn.push(Yn.shift())}(++$n);const Kn=function(e,t){return Jn[e-=0]},Xn={c:o.ViewContainerElement,a:o.ViewAttributeElement,e:o.ViewEmptyElement,r:o.ViewRawElement,u:o.ViewUIElement};class Qn extends e.Plugin{static get[Kn("0x67")](){return Kn("0x34")}static get[Kn("0x6")](){return[r.Users,hn.ContextualBalloon,Qi]}constructor(e){super(e),this.repository=this[Kn("0x1c")][Kn("0x18")][Kn("0x70")](Kn("0x10e")),this[Kn("0xe5")]("activeChange",null),this[Kn("0xe5")](Kn("0x44"),null),this[Kn("0x6f")]=null,this[Kn("0xe5")](Kn("0x3"),null),this.set(Kn("0x35"),!1),this.set(Kn("0xdd"),!0),this.on("change:isEnabled",((e,t,i)=>{this[Kn("0xcd")]=null,this[Kn("0x44")]=null,this[Kn("0x1c")][Kn("0x9c")][Kn("0xab")][Kn("0x63")]((e=>{for(const t of this[Kn("0x1c")].editing.view[Kn("0x8e")].roots)i?e.removeClass(Kn("0x2a"),t):e[Kn("0xf1")](Kn("0x2a"),t)}))})),this.bind(Kn("0xaf")).to(this,"activeChange",(e=>null!==e)),this[Kn("0xd0")](Kn("0x82")).to(this,Kn("0x35"),this,"diff",this,"activeChange",((e,t,i)=>e&&i?t[Kn("0x32")][Kn("0x55")](i):0)),this[Kn("0xd0")](Kn("0xa7")).to(this,Kn("0x35"),this,Kn("0x3"),((e,t)=>e?t.changes.length:0)),this[Kn("0xc8")]=null,this._changeIdToChange=new Map,this[Kn("0xef")]=null,this[Kn("0x108")]=this[Kn("0x1c")][Kn("0x18")][Kn("0x70")](hn.ContextualBalloon)}init(){const e=this[Kn("0x1c")],t=new ir(e,{direction:"backward"}),i=new ir(e,{direction:Kn("0x6e")});e[Kn("0x43")][Kn("0x80")](Kn("0x85"),t),e.commands.add("showNextChange",i),e.commands[Kn("0x80")](Kn("0xe8"),new tr(e)),this.on(Kn("0xf0"),(()=>{t[Kn("0x37")](),i[Kn("0x37")]()})),this._setConversion(),this[Kn("0xe4")](),e[Kn("0x1e")]("revision-viewer"),e.plugins[Kn("0x7e")](Kn("0x7"))&&e[Kn("0x18")].get("WidgetToolbarRepository")[Kn("0x4d")](Kn("0x12"))}async[Kn("0x69")](e){await this[Kn("0xf4")](e);const t={};for(const i in e[Kn("0x20")]){const n=this[Kn("0x95")](JSON[Kn("0xee")](e[Kn("0x20")][i].insertions)),r=this[Kn("0x1c")][Kn("0x9c")].view[Kn("0x8e")],s=new o.ViewDocumentFragment(r,n[Kn("0x60")]((e=>this[Kn("0xf8")](e))));this[Kn("0x1c")][Kn("0x5d")][Kn("0x7c")].useFillerType(Kn("0x8")),t[i]=this.editor[Kn("0x5d")].processor.toData(s),this[Kn("0x1c")][Kn("0x5d")][Kn("0x7c")][Kn("0x9b")]("default")}return t}_removeRevisionMarkers(e){return(e=e[Kn("0x77")]((e=>!e[Kn("0xba")]||Kn("0x39")!==e[Kn("0xba")]&&Kn("0xd9")!==e[Kn("0xba")])))[Kn("0x103")]((e=>{Kn("0xbb")!=typeof e&&(e[Kn("0xd8")]=this._removeRevisionMarkers(e[Kn("0xd8")]),e[Kn("0xd2")]=e[Kn("0xd2")][Kn("0x77")]((e=>!e[0][Kn("0x28")](Kn("0xa")))))})),e}async[Kn("0x86")](e,t,i=!1){if(!this[Kn("0xdd")])return;const n=this[Kn("0x3")],r=this.repository,o=Kn("0xbb")==typeof e?r.getRevision(e):e,s="string"==typeof t?r.getRevision(t):t,a=o.id,c=s?s.id:null;if(!i&&this[Kn("0x3")]&&this[Kn("0x3")].newRevisionId===a&&this[Kn("0x3")][Kn("0xe1")]===c)return Promise.resolve();this[Kn("0x35")]=!1,this[Kn("0x44")]=null,this.activeChange=null,this[Kn("0x3")]=new Bn(a,c);const u=this[Kn("0x10f")](o,s,!0)[Kn("0x60")]((e=>this.loadRevisionData(e)));return u.push(new Promise((e=>{setTimeout(e,20)}))),Promise.all(u)[Kn("0x56")]((()=>{if(!this[Kn("0xdd")])return;this[Kn("0xd3")]();const e=this[Kn("0x10c")](a,c);this[Kn("0x3")][Kn("0x71")](e);for(const e of this.diff.changes)this._changeIdToChange[Kn("0xe5")](e.id,e);this[Kn("0x1c")][Kn("0x97")][Kn("0x96")]({isUndoable:!1},(t=>{for(const i of Object[Kn("0x45")](e[Kn("0x97")])){const n=this[Kn("0x1c")][Kn("0x97")].document.getRoot(i);t.remove(t.createRangeIn(n)),t[Kn("0xdf")](e[Kn("0x97")][i],n,0)}})),this[Kn("0x35")]=!0}))[Kn("0x9e")]((e=>{console[Kn("0xb9")](e),this[Kn("0xd3")](),n?this[Kn("0x3")]=n:this[Kn("0x1c")][Kn("0x5d")].set(Kn("0x57")),this[Kn("0x35")]=!0}))}[Kn("0x79")](){this[Kn("0x44")]=null,this[Kn("0xc8")]&&this._changeView[Kn("0x79")]()}[Kn("0x9")](e,t){const i=this[Kn("0xa2")][Kn("0x4b")](e);return i.on(Kn("0x89"),((e,n,r)=>t(n,r,i))),this[Kn("0xa2")].addRevision(i),i}[Kn("0xf4")](e){if(!e||e[Kn("0x20")])return Promise.resolve();{const t=this[Kn("0x1c")][Kn("0x94")].get("collaboration.channelId");return this.adapter[Kn("0xc3")]({channelId:t,revisionId:e.id})[Kn("0x56")]((t=>{e[Kn("0x89")]({diffData:t.diffData},!0)}))}}[Kn("0xd3")](){this[Kn("0xcd")]=null,this[Kn("0xcf")](),this[Kn("0xc8")]&&this[Kn("0xc8")][Kn("0x79")](),this[Kn("0xc8")]=null,this[Kn("0x9a")][Kn("0x7f")]()}[Kn("0xb4")](e){const t=Array[Kn("0x3f")](e[Kn("0xc6")])[Kn("0x77")]((([e,t])=>e[Kn("0x28")]("revision:")&&!t[Kn("0xb3")])),i=Array.from(this.editor.model[Kn("0xc0")](e)[Kn("0x6c")]({singleCharacters:!0}));if(0!=t.length)for(const e of i){const[i,n]=t[0],[,r,o]=i.split(":");if(n[Kn("0x24")][Kn("0xac")](e[Kn("0x83")])&&t[Kn("0x2")](),(e[Kn("0xa1")][Kn("0xac")](n.start)||e[Kn("0xa1")][Kn("0x109")](n[Kn("0x19")]))&&(Kn("0x5c")==r?e[Kn("0xc4")]={userId:o}:Kn("0x1f")==r&&(e[Kn("0xb8")]={userId:o})),0==t[Kn("0x5a")])break}return i}_refreshStartEndIndex(e){const t=new Map;for(let i=0;i<e[Kn("0x5a")];i++)Kn("0x5")===e[i][Kn("0x48")]?(e[i][Kn("0x91")][Kn("0x4a")]=i,e[i][Kn("0x91")].endIndex=i):(Kn("0x104")===e[i][Kn("0x48")]?e[i][Kn("0x91")][Kn("0x4a")]=i:"elementEnd"===e[i][Kn("0x48")]&&(e[i].item[Kn("0xad")]=i),t[Kn("0xe5")](e[i].id,i));for(const i of t[Kn("0xcb")]())Kn("0x104")===e[i][Kn("0x48")]?e[i][Kn("0x91")].endIndex=t.get(e[i][Kn("0x110")]):"elementEnd"===e[i][Kn("0x48")]&&(e[i][Kn("0x91")].startIndex=t[Kn("0x70")](e[i][Kn("0x110")]))}[Kn("0xf2")](e){for(let t=0;t<e[Kn("0x5a")];t++){if(Kn("0x104")===e[t][Kn("0x48")])e[t][Kn("0x91")][Kn("0x4a")]=t;else if("elementEnd"===e[t][Kn("0x48")]){e[t].item[Kn("0xad")]=t;const i=e[t].item[Kn("0x4a")];e[i][Kn("0x110")]=e[t].id,e[t][Kn("0x110")]=e[i].id}else e[t][Kn("0x91")][Kn("0x4a")]=t,e[t][Kn("0x91")][Kn("0xad")]=t,e[t][Kn("0x110")]=null;e[t].markersStart||(e[t][Kn("0x62")]=[],e[t][Kn("0x2c")]=[])}}_markInsertions(e,t){const i=e[Kn("0x77")]((e=>!e[Kn("0xc4")]));for(let e=0;e<t.length;e++)t[e][Kn("0xc4")]&&(i[e][Kn("0xc4")]=t[e][Kn("0xc4")])}_makeModelFromViewString(e){const t=JSON[Kn("0xee")](e),i=this[Kn("0x1c")][Kn("0x9c")][Kn("0xab")][Kn("0x8e")],n=new o.ViewDocumentFragment(i,t.map((e=>this[Kn("0xf8")](e))));return this.editor[Kn("0x5d")][Kn("0xb5")](n)}[Kn("0xf8")](e){const t=this[Kn("0x1c")][Kn("0x9c")].view[Kn("0x8e")];if("string"==typeof e)return new o.ViewText(t,e);{const i=e[Kn("0xd8")].map((e=>this._getViewObj(e)));return new(Xn[e[Kn("0x48")]]||o.ViewElement)(t,e.name,e[Kn("0xd2")],i)}}[Kn("0x10c")](e,t=null){const i=this[Kn("0xa2")].getRevision(e),n=t?this[Kn("0xa2")][Kn("0xc3")](t):null,r=this[Kn("0x10f")](i,n),o=r[r[Kn("0x5a")]-1],s=new Map;for(const e of r){e[Kn("0x97")]={};for(const t of e[Kn("0x98")])s[Kn("0xe5")](t.id,t);for(const t of this[Kn("0x1c")].model.document.getRootNames())e[Kn("0x20")][t]||(e[Kn("0x20")][t]={insertions:"[]",deletions:"[]"}),e.model[t]={insertions:this._makeModelFromViewString(e.diffData[t][Kn("0xec")]),deletions:this._makeModelFromViewString(e[Kn("0x20")][t].deletions)}}const a={model:{},changes:[]};for(const e of this[Kn("0x1c")][Kn("0x97")][Kn("0x8e")].getRootNames()){let t=null,n=0;const c=new Map(Array[Kn("0x3f")](i[Kn("0x97")][e][Kn("0xec")][Kn("0xc6")])[Kn("0x77")]((([e])=>!e.startsWith(Kn("0x4c")))));let u=0;for(const o of r){const r=this[Kn("0xb4")](o[Kn("0x97")][e][Kn("0xec")]);o==i?(t=r,n=t[Kn("0x5a")],t[Kn("0x103")]((e=>{e.id=u++})),this._processTape(t)):this[Kn("0xd5")](t,r);const s=t[Kn("0x77")]((e=>!e[Kn("0xc4")]))[Kn("0x60")]((e=>e.id));let a=0;const l=this._makeTape(o.model[e].deletions);l[Kn("0x103")]((e=>{e[Kn("0xb8")]?e.id=n++:e.id=s[a++]})),this._processTape(l),this._setDistance(t,Kn("0xc4")),this[Kn("0xf3")](l,Kn("0xb8")),o==i&&this[Kn("0xae")](t,c),t=this[Kn("0x107")](t,l),this[Kn("0x105")](t),this._setDistance(t,Kn("0xb8"))}t=t[Kn("0x77")]((e=>!(e[Kn("0xc4")]&&e[Kn("0xb8")])));const l=new Map(o.model[e].deletions[Kn("0xc6")]),d=new Set(c.keys());for(const e of l[Kn("0x45")]())d[Kn("0x6d")](e);this[Kn("0x22")](t,d),this[Kn("0x23")](t),t=this[Kn("0x72")](t),t=this[Kn("0x11")](t),t=this[Kn("0x41")](t);const{root:x,changes:h}=this[Kn("0x2b")](t,s);a[Kn("0x97")][e]=x,a[Kn("0x32")]=a[Kn("0x32")].concat(h)}return a}[Kn("0xae")](e,t){for(let i=0;i<e[Kn("0x5a")];i++)for(const[n,r]of t)r[Kn("0x19")][Kn("0xac")](e[i][Kn("0xa1")])&&e[i][Kn("0x62")][Kn("0x114")](n),r.end.isEqual(e[i][Kn("0x83")])&&e[i][Kn("0x2c")].push(n)}[Kn("0x107")](e,t){let i=[],n=0,r=0;for(;n<e.length||r<t.length;){const o=e[n]||{},s=t[r]||{};if(o.id==s.id)n++,r++,i.push(o);else if(s[Kn("0xb8")]&&o[Kn("0xc4")]){const{commonTape:o,iEnd:s,jEnd:a}=this[Kn("0x3a")](e,n,t,r);i=i.concat(o),n=s,r=a}else s[Kn("0xb8")]?(r++,i[Kn("0x114")](s)):(n++,i.push(o))}return i}_markSuggestions(e,t){const i=[];for(let o=0;o<e.length;o++){for(let r=0;r<e[o][Kn("0x62")][Kn("0x5a")];r++){const s=e[o][Kn("0x62")][r];if(!t[Kn("0x7e")](s))continue;const{group:a,type:c,authorId:u}=n(s);"revision-suggestion"!=a||"insertion"!=c&&Kn("0x1f")!=c||(i[Kn("0x26")]({type:c,name:s,userId:u}),e[o].markersStart[Kn("0xe7")](r,1),r--)}r(e[o]);for(let r=0;r<e[o].markersEnd[Kn("0x5a")];r++){const s=e[o].markersEnd[r];if(!t[Kn("0x7e")](s))continue;const{group:a,type:c}=n(s);if(Kn("0xc1")!=a||Kn("0x5c")!=c&&Kn("0x1f")!=c)continue;e[o][Kn("0x2c")][Kn("0xe7")](r,1),r--;const u=i[Kn("0x7d")]((e=>e[Kn("0xba")]==s));u>-1&&i.splice(u,1)}}function n(e){const t=e[Kn("0xa0")](":");return{group:t[0],type:t[1],subType:t[Kn("0x5a")]>=5?t[2]:null,id:t[Kn("0x5a")]<5?t[2]:t[3],authorId:t[Kn("0x5a")]<5?t[3]:t[4],markerCount:6==t[Kn("0x5a")]?t[5]:null}}function r(e){for(let t=0;t<i[Kn("0x5a")];t++){if(e[Kn("0xc4")]&&Kn("0x5c")==i[t].type)return e[Kn("0xa8")]=i[t],void delete e[Kn("0xc4")];if(!e[Kn("0xc4")]&&!e[Kn("0xb8")]&&"deletion"==i[t].type)return void(e[Kn("0xf5")]=i[t])}}}[Kn("0xf3")](e,t){let i=0,n=!1;const r=new Map;for(const o of e)o[t]?n&&(i++,n=!1):(i++,n=!0),r[Kn("0xe5")](o.id,i);for(let i=0;i<e[Kn("0x5a")];i++){if(Kn("0xb8")==t&&e[i][Kn("0xc4")]||Kn("0xc4")==t&&e[i][Kn("0xb8")])continue;if(Kn("0x5")==e[i][Kn("0x48")]){e[i][Kn("0x3e")]=0;continue}const n=r[Kn("0x70")](e[i].pairId),o=r[Kn("0x70")](e[i].id);e[i][Kn("0x3e")]=n-o}}[Kn("0x10f")](e,t,i=!1){const n=[];let r=this[Kn("0xa2")][Kn("0x55")](e),o=this[Kn("0xa2")][Kn("0x55")](t);for(-1==o&&(o=this[Kn("0xa2")][Kn("0x106")].length,i=!1);r<o;)n[Kn("0x114")](this[Kn("0xa2")].getRevision(r)),r++;return i&&n[Kn("0x114")](this[Kn("0xa2")].getRevision(r)),n}[Kn("0x3a")](e,t,i,n){const r=this.editor[Kn("0x97")][Kn("0xd6")];let o=t;for(;e[o]&&e[o][Kn("0xc4")];)o++;let s=n;for(;i[s]&&i[s][Kn("0xb8")];)s++;c(e,t,o),c(i,n,s);const a=i[Kn("0x116")](n,s)[Kn("0xfe")](e[Kn("0x116")](t,o));return a[Kn("0x6b")](((e,t)=>e[Kn("0x4e")]!=t[Kn("0x4e")]?e.side-t.side:e.level!=t[Kn("0xc9")]?e.level-t[Kn("0xc9")]:e.distance!=t.distance?t[Kn("0x3e")]-e[Kn("0x3e")]:!!e[Kn("0xc4")]!=!!t.isAdded?-1==e[Kn("0x4e")]||0==e[Kn("0x4e")]?e.isAdded?-1:1:e.isAdded?1:-1:e[Kn("0x112")]-t[Kn("0x112")])),{commonTape:a,iEnd:o,jEnd:s};function c(e,t,i){let n=-1,o=Number[Kn("0x0")],s=!0;for(let a=t;a<i;a++)if(r.isInline(e[a][Kn("0x91")])||(s=!1),e[a][Kn("0x91")][Kn("0x4a")]<t&&(n=a),e[a][Kn("0x91")].endIndex>=i){o=a;break}s&&(n=i-1);for(let r=t;r<i;r++)e[r][Kn("0x4e")]=r<=n?-1:r<o?0:1,e[r][Kn("0x112")]=r;let a=0;for(let i=t;i<=n;i++)0==e[i][Kn("0x3e")]?e[i][Kn("0xc9")]=a:(a++,e[i].level=a,a++);for(let n=t;n<i;n++)0==e[n].side&&(e[n][Kn("0xc9")]=a);a=0;for(let t=i-1;t>=o;t--)0==e[t][Kn("0x3e")]?e[t][Kn("0xc9")]=a:(a--,e[t].level=a,a--)}}_fixObsoleteTags(e){const t=new Map,i=this[Kn("0x1c")][Kn("0x97")][Kn("0xd6")];for(let n=1;n<e.length;n++){let r,o,s;const a=e[n],c=e[n-1];if(Kn("0x5")==a.type)continue;if(a[Kn("0x48")]!=c.type)continue;if(!i[Kn("0x2d")](c[Kn("0x91")])||i[Kn("0xb2")](c[Kn("0x91")]))continue;if(!i[Kn("0x2d")](a[Kn("0x91")])||i[Kn("0xb2")](a[Kn("0x91")]))continue;if((e[n][Kn("0xc4")]||e[n][Kn("0xa8")])&&e[n-1][Kn("0xb8")])r=e[n],o=e[n-1],s=n-1;else{if(!e[n][Kn("0xb8")]||!e[n-1][Kn("0xc4")]&&!e[n-1][Kn("0xa8")])continue;r=e[n-1],o=e[n],s=n}const u=r[Kn("0xc9")]==o[Kn("0xc9")],l=Math[Kn("0x27")](r[Kn("0xc9")])<Math.abs(o[Kn("0xc9")])&&0==o.distance;(u||l)&&(t[Kn("0xe5")](o.id,r.id),e[Kn("0xe7")](s,1),n--,r[Kn("0xc4")]=!1)}for(let i=0;i<e[Kn("0x5a")];i++)t[Kn("0x7e")](e[i].pairId)&&(e[i][Kn("0x110")]=t.get(e[i][Kn("0x110")]))}[Kn("0x72")](e){const t=new Set(e[Kn("0x60")]((e=>e.id)));for(let i=0;i<e[Kn("0x5a")];i++)t.has(e[i][Kn("0x110")])||0==e[i].distance||(e[i][Kn("0xa9")]=!0);return e[Kn("0x77")]((e=>!e[Kn("0xa9")]))}[Kn("0x11")](e){const t=new Set;for(let i=0;i<e[Kn("0x5a")];i++){if(t[Kn("0x7e")](e[i].id)&&e[i].isRemoved&&(e[i][Kn("0xa9")]=!0),e[i][Kn("0xa9")])continue;if(0==e[i][Kn("0x3e")])continue;if(Kn("0x104")!=e[i][Kn("0x48")])continue;if(null==e[i][Kn("0x110")])continue;let n=i+1,r=0;for(;e[n].id!=e[i][Kn("0x110")];)"elementStart"==e[n][Kn("0x48")]?r++:"elementEnd"==e[n][Kn("0x48")]&&r--,n++;if(0!=r)if(e[i][Kn("0xb8")])e[i][Kn("0xa9")]=!0;else for(;n!=i;)e[n][Kn("0xb8")]&&0!=e[n].distance&&(e[n][Kn("0xa9")]=!0,t[Kn("0x80")](e[n][Kn("0x110")])),n--}return e[Kn("0x77")]((e=>!e.isIncorrect))}_removeUnsupportedChanges(e){const t=this[Kn("0x1c")][Kn("0x97")].schema;for(let i=0;i<e.length;i++){if(!(e[i][Kn("0xc4")]||e[i][Kn("0xa8")]||e[i][Kn("0xb8")]||e[i][Kn("0xf5")]))continue;if(0==e[i][Kn("0x3e")])continue;const n=e[i].item;t[Kn("0x2d")](n)||t[Kn("0xb2")](n)||(e[i][Kn("0xc4")]&&delete e[i][Kn("0xc4")],e[i][Kn("0xa8")]&&delete e[i][Kn("0xa8")],e[i].isRemoveSuggestion&&delete e[i][Kn("0xf5")],e[i][Kn("0xb8")]&&(e[i].isIncorrect=!0))}return e.filter((e=>!e[Kn("0xa9")]))}[Kn("0x2b")](e,t){const i=new o.DocumentFragment,n=[],r=new Map,s=this[Kn("0x1c")].model,a=s[Kn("0xd6")],c=[i],u={},l={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const x=[0];for(let t=0;t<e.length;t++){let n,a;if("elementStart"===e[t][Kn("0x48")]){n=s.createPositionFromPath(i,x);const r=new o.Element(e[t][Kn("0x91")][Kn("0xba")],e[t][Kn("0x91")][Kn("0xf")]());c[0][Kn("0xfc")](r),x[Kn("0x114")](0),c[Kn("0x26")](r),a=s[Kn("0x73")](i,x),d=null}else if(Kn("0xe0")===e[t].type)c[Kn("0x2")](),n=s[Kn("0x73")](i,x),x.pop(),x[x.length-1]++,a=s[Kn("0x73")](i,x),d=null;else{if(n=s[Kn("0x73")](i,x),d&&v(d,e[t][Kn("0x91")]))d[Kn("0x59")]+=e[t][Kn("0x91")][Kn("0x5d")];else{const i=new o.Text(e[t][Kn("0x91")][Kn("0x5d")],e[t][Kn("0x91")][Kn("0xf")]());c[0]._appendChild(i),d=i}x[x.length-1]+=e[t][Kn("0x91")][Kn("0x1a")],a=s[Kn("0x73")](i,x)}for(const i of e[t][Kn("0x62")])r[Kn("0xe5")](i,{start:n,end:null});h("isRemoveSuggestion",t,n,a),h("isAddSuggestion",t,n,a),h(Kn("0xb8"),t,n,a),h(Kn("0xc4"),t,n,a);for(const i of e[t][Kn("0x2c")])r[Kn("0x70")](i)[Kn("0x24")]=a}for(const[e,t]of r){const n=this[Kn("0x1c")].model[Kn("0x5f")](t[Kn("0x19")],t.end);i.markers[Kn("0xe5")](e,n)}return n.sort(((e,t)=>{const n=i[Kn("0xc6")][Kn("0x70")](Kn("0x4c")+e.id),r=i[Kn("0xc6")][Kn("0x70")](Kn("0x4c")+t.id);return n[Kn("0x19")][Kn("0xbe")](r.start)?-1:n[Kn("0x19")].isAfter(r[Kn("0x19")])?1:n[Kn("0x24")][Kn("0xbe")](r[Kn("0x24")])?-1:n[Kn("0x24")][Kn("0x109")](r[Kn("0x24")])?1:Kn("0x80")===e[Kn("0x48")]?-1:1})),{root:i,changes:n};function h(t,i,n,r){const o=!!e[i][t],s=o?e[i][t][Kn("0x8f")]:null,c=i===e[Kn("0x5a")]-1,d=l[t][0],x=a[Kn("0x49")](e[i][Kn("0x91")]);!u[t]&&o?u[t]={start:n,tapeItem:e[i],userId:s,type:t}:u[t]&&!o?(u[t][Kn("0x24")]=n,f(u[t]),u[t]=null):u[t]&&o&&u[t].userId!==s&&(u[t][Kn("0x24")]=n,d&&d[Kn("0x8f")]===u[t][Kn("0x8f")]||f(u[t]),u[t]={start:n,tapeItem:e[i],userId:s,type:t}),u[t]&&x&&(Kn("0x104")!==e[i].type||d&&d[Kn("0x8f")]===s||l[t][Kn("0x26")]({userId:s,object:e[i].item,change:u[t]}),Kn("0xe0")===e[i][Kn("0x48")]&&d&&d.object===e[i][Kn("0x91")]&&(l[t].shift(),u[t]=d[Kn("0x63")])),u[t]&&c&&(u[t].end=r,f(u[t]),u[t]=null)}function f({start:e,end:r,tapeItem:o,userId:a,type:c}){const u=o[Kn("0x91")],l=s[Kn("0xd6")].isBlock(u)&&!s.schema.isLimit(u),d=e.nodeAfter==r[Kn("0x38")]&&r[Kn("0x6a")];if(l&&d)return;const x=s[Kn("0x5f")](e,r),h=t[Kn("0x70")](a),f=new zn({author:h,type:Kn("0xc4")==c||Kn("0xa8")==c?Kn("0x80"):Kn("0x42"),data:{isSuggestion:Kn("0xa8")==c||Kn("0xf5")==c},createdAt:new Date});n.push(f),i[Kn("0xc6")].set(Kn("0x4c")+f.id,x)}function v(e,t){const i=e.getAttributes(),n=t[Kn("0xf")]();for(const e of i){if(e[1]!==t[Kn("0x81")](e[0]))return!1;n[Kn("0x74")]()}return n[Kn("0x74")]()[Kn("0x65")]}}[Kn("0x3d")](){this[Kn("0x1c")][Kn("0xb1")][Kn("0xe9")](Kn("0xa6"))[Kn("0x84")]({view:Kn("0xa4")}),this[Kn("0x1c")][Kn("0xb1")][Kn("0xe9")](Kn("0x50"))[Kn("0x25")]({model:Kn("0xa4"),view:e=>{const t=e.markerName.split(":")[1],i=this._getChangeFromId(t);if(!i)return null;const n=Kn("0x80")==i[Kn("0x48")]?"insertion":Kn("0x1f"),r=["ck-suggestion-marker",Kn("0x99")+n];return i.data[Kn("0x88")]&&r.push(Kn("0x99")+n+Kn("0x9d")),this[Kn("0xcd")]==i&&r[Kn("0x114")](Kn("0x47")),{classes:r,attributes:{"data-change-id":t}}}}),this[Kn("0x1c")].conversion[Kn("0xe9")](Kn("0xa6")).add((e=>{e.on(Kn("0xa5"),((e,t,i)=>{const n=t.viewItem[Kn("0x13")](0);if(!n||!n.is("element",Kn("0xff")))return;if(!i[Kn("0x115")][Kn("0xfb")](n,{attributes:[Kn("0xe"),Kn("0x5e")]}))return;const r=t[Kn("0xce")][Kn("0x19")].nodeAfter;i.writer.setAttribute("vid_start",n[Kn("0x81")](Kn("0xe")),r),i[Kn("0x36")][Kn("0x14")](Kn("0x5e"),n.getAttribute(Kn("0x5e")),r)}),{priority:Kn("0x3c")})})),this[Kn("0x1c")].conversion[Kn("0xe9")](Kn("0xa6"))[Kn("0x80")]((e=>{e.on("element",((e,t,i)=>{if(!i[Kn("0x115")][Kn("0xfb")](t[Kn("0x40")],{attributes:[Kn("0xe"),Kn("0x5e")]}))return;if(t.modelRange[Kn("0xb3")])return;const n=t[Kn("0xce")][Kn("0x19")][Kn("0x1")];n[Kn("0xf9")]("vid_start")||n[Kn("0xf9")](Kn("0xd1"))||(i[Kn("0x36")][Kn("0x14")]("vid_start",t[Kn("0x40")].getAttribute(Kn("0xe")),n),i[Kn("0x36")][Kn("0x14")](Kn("0x5e"),t[Kn("0x40")].getAttribute(Kn("0x5e")),n))}),{priority:"low"})})),this[Kn("0x1c")][Kn("0xb1")][Kn("0xe9")](Kn("0xa6")).elementToAttribute({view:{name:Kn("0xeb"),attributes:{vid:!0}},model:{key:Kn("0xd1"),value:e=>e[Kn("0x81")](Kn("0xd1"))}}),this.editor[Kn("0x97")][Kn("0xd6")].on(Kn("0x58"),((e,[,t])=>{[Kn("0xe"),Kn("0x5e"),Kn("0xd1")][Kn("0x111")](t)&&(e[Kn("0xfd")]=!0,e[Kn("0x2e")]())}),{priority:Kn("0xea")}),this[Kn("0x1c")].conversion[Kn("0xe9")](Kn("0xdc"))[Kn("0x80")]((e=>{e.on("attribute:vid",((e,t,i)=>{if(" "!=t[Kn("0x91")][Kn("0x5d")]||t[Kn("0x91")][Kn("0x38")][Kn("0xa3")]>1)return;if(!i[Kn("0x115")][Kn("0xfb")](t[Kn("0x91")],e[Kn("0xba")]))return;const n=i[Kn("0x36")],r=i[Kn("0xbc")][Kn("0xb")](t[Kn("0x8a")]);n[Kn("0x10a")](r,n[Kn("0x8c")](Kn("0xeb")))}))})),this[Kn("0x1c")][Kn("0xb1")][Kn("0xe9")](Kn("0xdc"))[Kn("0x7a")]({model:Kn("0xa4")}),this[Kn("0x1c")][Kn("0x9c")].downcastDispatcher.on(Kn("0x10b"),function(e){const t=e.plugins[Kn("0x70")]("RevisionViewer");return(i,n,r)=>{const o=n.markerName.split(":")[1],s=t[Kn("0x64")](o);if(!s)return null;const a=Kn("0x80")==s[Kn("0x48")]?Kn("0xa0"):Kn("0xd4");if(!r[Kn("0x115")].test(n.markerRange,i[Kn("0xba")]))return;const c=n[Kn("0xb7")][Kn("0x6c")](),u=n.markerRange[Kn("0x19")],l=e[Kn("0x97")].schema;let d=null,x=null,h=!1,f=!1;for(const e of c){const t=e.item;h=h||l[Kn("0x92")](t);const i=r[Kn("0xbc")][Kn("0xbf")](t);if(i&&i.getCustomProperty(Kn("0x10d")))return;Kn("0xe0")==e[Kn("0x48")]&&l.isBlock(t)&&!l[Kn("0xb2")](t)&&(t.nextSibling||u[Kn("0xb6")]?d&&d[Kn("0x38")]==t||(d=t,v(e[Kn("0xa1")]),f=!0):x=x||e.previousPosition)}function v(e){const i=r[Kn("0x36")].createUIElement(Kn("0xeb"),{class:"ck-suggestion-marker-"+a}),o=r.mapper[Kn("0x2f")](e);s.data.isSuggestion&&r[Kn("0x36")][Kn("0xf1")](Kn("0x99")+a+"-new",i),t[Kn("0xcd")]==s&&r[Kn("0x36")].addClass(Kn("0x47"),i),r[Kn("0x36")][Kn("0xdf")](o,i),r.mapper.bindElementToMarker(i,n[Kn("0x87")])}h||f||!x||v(x)}}(this[Kn("0x1c")]),{priority:"high"}),this[Kn("0x1c")][Kn("0x9c")][Kn("0xc2")].on(Kn("0x1d"),((e,t,i)=>{const n=i[Kn("0xbc")][Kn("0xe6")](t[Kn("0x87")]);if(n)for(const e of n)(e[Kn("0xc7")](Kn("0x8d"))||e[Kn("0xc7")](Kn("0x52")))&&(i[Kn("0xbc")].unbindElementFromMarkerName(e,t[Kn("0x87")]),i[Kn("0x36")][Kn("0x42")](e))}),{priority:"high"}),this.editor.editing[Kn("0xc2")].on(Kn("0x10b"),((e,t,i)=>{const n=t.markerName.split(":")[1],r=this._getChangeFromId(n);if(!r)return null;const o=Kn("0x80")==r[Kn("0x48")]?Kn("0xa0"):"merge";if(i[Kn("0x115")].test(t[Kn("0xb7")],e.name))for(const e of t[Kn("0xb7")][Kn("0x16")]()){if(!e.is(Kn("0x51"),Kn("0xda")))continue;const n=i[Kn("0x36")][Kn("0xf7")](Kn("0xeb"),{class:Kn("0x99")+o}),s=i[Kn("0xbc")][Kn("0x2f")](this[Kn("0x1c")].model[Kn("0x100")](e));r[Kn("0x5d")][Kn("0x88")]&&i[Kn("0x36")][Kn("0xf1")](Kn("0x99")+o+"-new",n),this[Kn("0xcd")]==r&&i.writer[Kn("0xf1")](Kn("0x47"),n),i[Kn("0x36")].insert(s,n),i[Kn("0xbc")].bindElementToMarker(n,t.markerName)}}),{priority:Kn("0x17")}),this[Kn("0x1c")][Kn("0xb1")][Kn("0xe9")]("upcast")[Kn("0x84")]({view:Kn("0x66"),model:e=>"revision-comment:"+e,converterPriority:Kn("0xea")}),this[Kn("0x1c")][Kn("0xb1")][Kn("0xe9")](Kn("0xa6"))[Kn("0x84")]({view:"suggestion",model:e=>Kn("0x21")+e,converterPriority:Kn("0xea")}),this[Kn("0x1c")][Kn("0xb1")][Kn("0xe9")](Kn("0xdc")).markerToData({model:Kn("0xc1"),view:e=>({name:Kn("0x7b")+e,group:"revision-suggestion"}),converterPriority:Kn("0xea")}),this.editor.conversion.for(Kn("0x50"))[Kn("0x25")]({model:"revision-suggestion",view:e=>{const t=e.markerName[Kn("0xa0")](":")[1];return Kn("0x5c")!=t&&Kn("0x1f")!=t?null:{classes:[Kn("0x117"),Kn("0xbd")+t]}}}),this[Kn("0x1c")][Kn("0x9c")][Kn("0xc2")].on(Kn("0xed"),er(this[Kn("0x1c")],"merge"),{priority:Kn("0x17")}),this[Kn("0x1c")][Kn("0x9c")][Kn("0xc2")].on(Kn("0x31"),er(this.editor,"split"),{priority:Kn("0x17")}),this.editor[Kn("0x9c")][Kn("0xc2")].on(Kn("0x5b"),((e,t,i)=>{const n=i[Kn("0xbc")][Kn("0xe6")](t[Kn("0x87")]);if(n)for(const e of n)e.is(Kn("0xcc"))&&(i[Kn("0xbc")][Kn("0xfa")](e,t.markerName),i[Kn("0x36")][Kn("0x42")](e))}),{priority:Kn("0x17")})}[Kn("0x64")](e){return this[Kn("0x9a")][Kn("0x70")](e)}_getViewForChange(e){return this[Kn("0xc8")]&&this[Kn("0xc8")].destroy(),this[Kn("0xc8")]=new Cn(this.editor.locale,e),this[Kn("0xc8")]}[Kn("0xe4")](){this.editor[Kn("0x97")][Kn("0x8e")].selection.observeMarkers("revision"),this.on(Kn("0xe2"),((e,t,i,n)=>{n&&this[Kn("0x108")][Kn("0x42")](n),i&&(this[Kn("0x108")][Kn("0x80")]({view:i,stackId:Kn("0x78"),position:{target:()=>{const e=this.editor[Kn("0x9c")],t=this.editor[Kn("0x97")][Kn("0xc6")][Kn("0x70")](Kn("0x4c")+i.changeId),n=Array[Kn("0x3f")](e[Kn("0xbc")][Kn("0xe6")](t[Kn("0xba")]))[Kn("0x60")]((t=>e.view[Kn("0x8b")][Kn("0x53")](t))).map((e=>Array.from(e[Kn("0x1b")]())))[Kn("0xc")]();return this[Kn("0x6f")]&&n[Kn("0x93")]((e=>e[Kn("0x113")]-3<=this[Kn("0x6f")].y&&e[Kn("0x33")]+3>=this._activeViewTarget.y&&e[Kn("0xd7")]-3<=this._activeViewTarget.x&&e[Kn("0xaa")]+3>=this[Kn("0x6f")].x))||n[0]}}}),this[Kn("0x108")].showStack(Kn("0x78")))})),this.on("change:activeChange",((e,t,i,n)=>{this[Kn("0x44")]=i?this[Kn("0x15")](i):null,this.editor[Kn("0x97")][Kn("0x63")]((()=>{const e=this[Kn("0x1c")][Kn("0x9c")];n&&e[Kn("0x68")](Kn("0x4c")+n.id),i&&e[Kn("0x68")](Kn("0x4c")+i.id)}))})),this[Kn("0xe3")](this[Kn("0x1c")][Kn("0x9c")].view[Kn("0x8e")],Kn("0x76"),((e,t)=>{if(this[Kn("0xcd")])return;const i=this[Kn("0x3b")](t[Kn("0xca")]),n=this[Kn("0x9a")].get(i);n?(this[Kn("0x6f")]={x:t[Kn("0x4")].x,y:t.domEvent.y},this[Kn("0x44")]=this._getViewForChange(n)):(this._activeViewTarget=null,this[Kn("0x44")]=null)})),this[Kn("0xe3")](this[Kn("0x1c")][Kn("0x9c")][Kn("0xab")].document,"mousedown",((e,t)=>{const i=this[Kn("0x3b")](t[Kn("0xca")]),n=this[Kn("0x9a")][Kn("0x70")](i);n?(this[Kn("0x6f")]={x:t.domEvent.x,y:t[Kn("0x4")].y},n===this.activeChange?this[Kn("0x108")][Kn("0x101")]():this[Kn("0xcd")]=n):(this[Kn("0x6f")]=null,this.activeChange=null)}))}_findChangeIdFromDomTarget(e){do{const t=e[Kn("0x81")](Kn("0x102"));if(t)return t;e=e.parent}while(e);return null}[Kn("0xcf")](){this[Kn("0x1c")][Kn("0x97")][Kn("0x63")]((e=>{for(const t of this[Kn("0x1c")][Kn("0x97")][Kn("0xc6")])e[Kn("0xdb")](t)}))}}function er(e,t){return(i,n,r)=>{if(!r[Kn("0x115")][Kn("0x30")](n.markerRange,i[Kn("0xba")]))return;const o=n[Kn("0xb7")].getWalker(),s=n[Kn("0xb7")][Kn("0x19")],a=e[Kn("0x97")][Kn("0xd6")];let c=null,u=null,l=!1,d=!1;for(const e of o){const t=e[Kn("0x91")];l=l||a[Kn("0x92")](t);const i=r[Kn("0xbc")][Kn("0xbf")](t);if(i&&i[Kn("0x54")](Kn("0x10d")))return;Kn("0xe0")==e[Kn("0x48")]&&a[Kn("0x2d")](t)&&!a[Kn("0xb2")](t)&&(t.nextSibling||s[Kn("0xb6")]?c&&c[Kn("0x38")]==t||(c=t,x(e[Kn("0xa1")]),d=!0):u=u||e[Kn("0xa1")])}function x(e){const i=r[Kn("0xbc")][Kn("0x2f")](e),o=r[Kn("0x36")][Kn("0xf7")](Kn("0xeb"),{class:Kn("0xbd")+t});r.writer.insert(i,o),r[Kn("0xbc")][Kn("0x29")](o,n.markerName)}l||d||!u||x(u)}}class tr extends e.Command{constructor(e){super(e);const t=e.plugins[Kn("0x70")](Qn);this[Kn("0x90")](e,Kn("0xf6")),this[Kn("0xde")](Kn("0x4f")),this[Kn("0xe3")](t,Kn("0xd"),(()=>this[Kn("0x37")]())),this.listenTo(t,"change:isEnabled",(()=>this[Kn("0x37")]()))}[Kn("0x61")](){const e=this[Kn("0x1c")],t=e[Kn("0x18")].get(Qn),i=t.isReady?t[Kn("0x3")][Kn("0x46")]:null;e[Kn("0x94")].get(Kn("0xb0"))[Kn("0x9f")](i)}[Kn("0x37")](){const{isReady:e,isEnabled:t}=this.editor[Kn("0x18")][Kn("0x70")](Qn);this.isEnabled=e&&t}}class ir extends e.Command{constructor(e,{direction:t}){super(e);const i=e[Kn("0x18")][Kn("0x70")](Qn);this[Kn("0x90")](e,Kn("0xf6")),this[Kn("0xde")](Kn("0x4f")),this[Kn("0x75")]=Kn("0x6e")===t?1:-1,this[Kn("0xe3")](i,Kn("0xd"),(()=>this[Kn("0x37")]())),this.listenTo(i,Kn("0xc5"),(()=>this[Kn("0x37")]()))}[Kn("0x61")](){const e=this[Kn("0x1c")],i=e[Kn("0x18")][Kn("0x70")](Qn),{isNavigationMode:n,currentChangeNumber:o}=i;i.activeChange=n?i[Kn("0x3")].changes[Kn("0x70")](o+this[Kn("0x75")]):i.diff[Kn("0x32")][Kn("0x10")];const s=e.model[Kn("0xc6")][Kn("0x70")](Kn("0x4c")+i[Kn("0xcd")].id),a=(0,r.getMarkerDomElement)(e.editing,s);(0,t.scrollViewportToShowTarget)({target:a,viewportOffset:40})}[Kn("0x37")](){const{isNavigationMode:e,currentChangeNumber:t,numberOfChanges:i,isReady:n,isEnabled:r}=this.editor[Kn("0x18")].get(Qn);this[Kn("0xdd")]=!!(r&&n&&i)&&(!e||(1===this._step?t<i-1:t>0))}}var nr=i(164),rr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(nr.Z,rr);nr.Z.locals;const or=["ck-revision-history-ui__changes-navigation","ck-revision-history-ui","isReady","bindTemplate","execute","bind","backward","Show next change","_statusText","isNavigationMode","Loading...","_isStatusLabelVisible","No changes","set","div","ck-revision-history-ui__changes-navigation__wrapper","NUMBER_OF_CHANGES","numberOfChanges","ck-hidden","isForwardNavigationEnabled","span","isEnabled","fire","isBackwardNavigationEnabled","EDIT_X_OF_Y_REVISIONS","Total","X_OF_Y_CHANGES","currentChangeNumber","setTemplate","forward"];var sr,ar;sr=or,ar=444,function(e){for(;--e;)sr.push(sr.shift())}(++ar);const cr=function(e,t){return or[e-=0]};class ur extends hn.View{constructor(e){super(e);const t=this[cr("0x9")],i=new hn.ButtonView(e),n=new hn.ButtonView(e);this[cr("0x13")](cr("0xf"),!1),this.set(cr("0x8"),!1),this[cr("0x13")](cr("0x3"),0),this[cr("0x13")]("numberOfChanges",0),this[cr("0x13")]("isForwardNavigationEnabled",!1),this.set(cr("0x1d"),!1),this[cr("0xb")](cr("0x11")).to(this,cr("0x8"),this,cr("0x17"),((e,t)=>e&&t>0)),this[cr("0xb")](cr("0xe")).to(this,cr("0x8"),this,cr("0x3"),this,cr("0x17"),this,cr("0xf"),((t,i,n,r)=>{if(!t)return en(e,cr("0x10"));if(!n)return en(e,cr("0x12"));const o=en(e,cr("0x16"),n);return r?en(e,cr("0x2"),[i+1,n]):o})),i.set({label:en(e,"Show previous change"),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),n[cr("0x13")]({label:en(e,cr("0xd")),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),i[cr("0xb")](cr("0x1b")).to(this,"isBackwardNavigationEnabled"),n[cr("0xb")]("isEnabled").to(this,cr("0x19")),i.on("execute",(()=>this.fire(cr("0xa"),cr("0xc")))),n.on(cr("0xa"),(()=>this[cr("0x1c")](cr("0xa"),cr("0x5")))),this[cr("0x4")]({tag:cr("0x14"),attributes:{class:["ck",cr("0x7"),cr("0x6")]},children:[{tag:cr("0x1a"),attributes:{class:[cr("0x15")]},children:[{tag:cr("0x1a"),attributes:{class:["ck-revision-history-ui__changes-navigation__label",t.if(cr("0x11"),cr("0x18"),(e=>!e))]},children:[{text:t.to("isNavigationMode",(t=>t?en(e,cr("0x0"))+": ":en(e,cr("0x1"))+": "))}]},{text:t.to("_statusText")}]},new hn.ToolbarSeparatorView,{tag:cr("0x14"),attributes:{class:["ck-revision-history-ui__changes-navigation__navigation"]},children:[i,n]}]})}}var lr=i(368),dr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(lr.Z,dr);lr.Z.locals;const xr=["RevisionViewerLoadingOverlay","editor","document","editing","view","roots","change","show","addClass","removeClass","hide","ck-editor__editable__loading-overlay"];var hr,fr;hr=xr,fr=437,function(e){for(;--e;)hr.push(hr.shift())}(++fr);const vr=function(e,t){return xr[e-=0]},mr=vr("0x6");class gr extends e.Plugin{static get pluginName(){return vr("0x7")}[vr("0x2")](){const e=this[vr("0x8")][vr("0xa")].view;e[vr("0x1")]((t=>{for(const i of e[vr("0x9")][vr("0x0")])t[vr("0x3")](mr,i)}))}[vr("0x5")](){const e=this[vr("0x8")][vr("0xa")][vr("0xb")];e.change((t=>{for(const i of e[vr("0x9")].roots)t[vr("0x4")](mr,i)}))}}const pr=["plugins","get","init","hide","show","set","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","config","isNavigationMode","isEnabled","Back to editing","restoreRevision","currentChangeNumber","showNextChange","componentFactory","add","execute","isReady","revisionHistory","listenTo","closeRevisionViewerCallback","isForwardNavigationEnabled","RevisionViewerUI","bind","numberOfChanges","commands","pluginName","Restore this revision","showPreviousChange","editor","changesNavigation"];var yr,br;yr=pr,br=308,function(e){for(;--e;)yr.push(yr.shift())}(++br);const kr=function(e,t){return pr[e-=0]};class _r extends e.Plugin{static get[kr("0x7")](){return kr("0x3")}static get requires(){return[Qn,gr]}[kr("0xe")](){const e=this[kr("0xa")],t=e[kr("0xc")][kr("0xd")](Qn),i=e[kr("0xc")][kr("0xd")](gr);e.ui.componentFactory[kr("0x1c")]("exitToEditing",(t=>{const i=new hn.ButtonView(t);return i.set({label:en(t,kr("0x17")),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m5.042 9.367 2.189 1.837a.75.75 0 0 1-.965 1.149l-3.788-3.18a.747.747 0 0 1-.21-.284.75.75 0 0 1 .17-.945L6.23 4.762a.75.75 0 1 1 .964 1.15L4.863 7.866h8.917A.75.75 0 0 1 14 7.9a4 4 0 1 1-1.477 7.718l.344-1.489a2.5 2.5 0 1 0 1.094-4.73l.008-.032H5.042z"/></svg>',withText:!0,tooltip:!0,class:kr("0x13")}),this[kr("0x0")](i,kr("0x1d"),(()=>{e[kr("0x14")][kr("0xd")](kr("0x1f"))[kr("0x1")]()})),i})),e.ui[kr("0x1b")][kr("0x1c")](kr("0x18"),(t=>{const i=new hn.ButtonView(t);return i[kr("0x11")]({label:en(t,kr("0x8")),withText:!0,tooltip:!0}),i.bind("isEnabled").to(e[kr("0x6")][kr("0xd")](kr("0x18"))),this[kr("0x0")](i,kr("0x1d"),(()=>e[kr("0x1d")](kr("0x18")))),i})),e.ui[kr("0x1b")][kr("0x1c")](kr("0xb"),(i=>{const n=new ur(i),r=e.commands[kr("0xd")]("showPreviousChange"),o=e[kr("0x6")].get(kr("0x1a"));return n[kr("0x4")](kr("0x12")).to(r,kr("0x16")),n.bind(kr("0x2")).to(o,kr("0x16")),n[kr("0x4")](kr("0x1e"),kr("0x19"),kr("0x5"),kr("0x15")).to(t),this[kr("0x0")](n,"execute",((t,i)=>{e[kr("0x1d")]("forward"===i?"showNextChange":kr("0x9"))})),n})),i.show(),t.on("change:isReady",((e,t,n)=>{n?i[kr("0xf")]():i[kr("0x10")]()}))}}var wr=i(957),Sr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(wr.Z,Sr);wr.Z.locals;var Tr,Or,Ir=["set","span","extendTemplate"];Tr=Ir,Or=306,function(e){for(;--e;)Tr.push(Tr.shift())}(++Or);var Rr=function(e,t){return Ir[e-=0]};class Nr extends hn.LabeledFieldView{constructor(e,t){super(e,t),this[Rr("0x0")]({label:en(e,"Revision name")}),this[Rr("0x2")]({tag:Rr("0x1"),attributes:{class:["ck-revision-history-sidebar__revision-name"]}})}}var Vr=i(522),Er={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(Vr.Z,Er);Vr.Z.locals;const Mr=["span","ck-revision-history-sidebar__revision-author__name","Revision author","0 0 11 10","ck-revision-history-sidebar__revision-author","set","name","setTemplate"];var Dr,Ar;Dr=Mr,Ar=150,function(e){for(;--e;)Dr.push(Dr.shift())}(++Ar);const Cr=function(e,t){return Mr[e-=0]};class jr extends hn.View{constructor(e,t,i){super(e);const n=new hn.IconView;n[Cr("0x7")]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:Cr("0x5")});const r=["ck",Cr("0x6")];i&&r.push("ck-revision-history-sidebar__revision-author_creator");const o=[{tag:Cr("0x2"),attributes:{class:["ck",Cr("0x3")],title:en(e,i?"Revision creator":Cr("0x4"))},children:[n,t[Cr("0x0")]]}];this[Cr("0x1")]({tag:"li",attributes:{class:r},children:o})}}var Fr,Lr,Pr=["long","numeric","toLocaleTimeString","toLocaleDateString"];Fr=Pr,Lr=133,function(e){for(;--e;)Fr.push(Fr.shift())}(++Lr);var zr=function(e,t){return Pr[e-=0]};var Zr=i(834),Ur={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(Zr.Z,Ur);Zr.Z.locals;const Hr=["function","children","find","map","first","execute","model","ck-on","bind","isActionsDropdownOpen","change:isActionsDropdownOpen","name","source","Show more items","class","add","_action","listenTo","stopPropagation","bindTemplate","action","extendTemplate","Compare against selected","isVisible","locale","button","listView","isOpen","isEnabled","isReady","items"];var qr,Br;qr=Hr,Br=255,function(e){for(;--e;)qr.push(qr.shift())}(++Br);const Wr=function(e,t){return Hr[e-=0]};var Gr=i(525),Jr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(Gr.Z,Jr);Gr.Z.locals;const Yr=["isActionsDropdownOpen","bind","isReady","authors","ck-revision-history-sidebar__actions_dropdown_open","uiLanguage","isSelected","isEnabled","closest","ck-disabled","map","deselect","ck-revision-history-sidebar__revision-wrapper","unhighlight","render","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision","select","isHighlighted","ck-reset","creator","ck-revision-history-sidebar__revision-authors","name","div","createdAt","highlight","revisionActionsView","isConfirm","_createdAtFormatted","srcElement","listenTo","fire","setTemplate","set","fieldView","_revision","extendTemplate","setName","placeholder","bindTemplate","from","value","revisionNameView","filter","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","change"];var $r,Kr;$r=Yr,Kr=200,function(e){for(;--e;)$r.push($r.shift())}(++Kr);const Xr=function(e,t){return Yr[e-=0]};class Qr extends((0,r.ConfirmMixin)(hn.View)){constructor(i,n,r){super(i);const o=this[Xr("0x21")],s=function(e,t){const i=Array[Xr("0x22")](t[Xr("0x2b")])[Xr("0x25")]((e=>e!=t.creator));return t[Xr("0xe")]&&i.unshift(t[Xr("0xe")]),i[Xr("0x2")]((i=>new jr(e,i,i==t[Xr("0xe")])))}(i,n);this.id=n.id,this[Xr("0x1d")]=n,this[Xr("0x29")](Xr("0x10"),"createdAt").to(n),this[Xr("0x29")]("_createdAtFormatted").to(this,Xr("0x12"),(e=>{return e?(t=i[Xr("0x2d")],(n=e)[zr("0x2")](t,{month:zr("0x3"),day:zr("0x0")})+", "+n[zr("0x1")](t,{hour:zr("0x0"),minute:zr("0x0")})):void 0;var t,n})),this.set(Xr("0x2e"),!1),this.set(Xr("0xc"),!1),this[Xr("0x1b")]("isActionsDropdownOpen",!1),this[Xr("0x1b")](Xr("0x2a"),!1),this.set(Xr("0x2f"),!1),this[Xr("0x24")]=new Nr(i,hn.createLabeledInputText),this[Xr("0x24")].fieldView[Xr("0x1e")]({attributes:{maxlength:"220"}}),this[Xr("0x24")].fieldView[Xr("0x29")]("value",Xr("0x20")).to(this,Xr("0x10"),Xr("0x16")),this.revisionNameView.bind("isEnabled").to(this,Xr("0x2e"),this,Xr("0x2f"),((e,t)=>e&&t)),this[Xr("0x14")]=r&&r.length?function(i,n){const r=i[Wr("0xc")],o=i.locale,s=(0,hn.createDropdown)(o);s.panelPosition="sw";const a=function(e,i){const n=function(e,t){const i=e[Wr("0x11")],n={"Compare against selected":en(i,Wr("0xf")),"Name this revision":en(i,"Name this revision"),"Restore this revision":en(i,"Restore this revision")};return t[Wr("0x1b")]((e=>{const t=n[e[Wr("0x4")]];return t&&t!==e[Wr("0x4")]&&(e[Wr("0x4")]=t),e}))}(e,i),r=new t.Collection;for(const t of n){const i={type:Wr("0x12"),model:new hn.Model({label:t.name,class:t[Wr("0x7")],withText:!0,_action:t[Wr("0xd")]})};i[Wr("0x1e")][Wr("0x1")](Wr("0x15")).to(e,Wr("0x2"),(i=>Wr("0x18")!=typeof t[Wr("0x15")]||!i||t[Wr("0x15")](e))),r[Wr("0x8")](i)}return r}(i,n);return i[Wr("0x1")]("isActionsDropdownOpen").to(s,Wr("0x14")),s.buttonView.set({label:en(o,Wr("0x6")),tooltip:!0,tooltipPosition:"sw",icon:e.icons.threeVerticalDots}),s[Wr("0xe")]({attributes:{class:["ck-revision-history-sidebar__revision__actions",r.if(Wr("0x2"),Wr("0x0"))]},on:{click:r.to((e=>e[Wr("0xb")]()))}}),s.on(Wr("0x1d"),(e=>{i[Wr("0x16")]&&Wr("0x18")==typeof e.source[Wr("0x9")]&&e[Wr("0x5")][Wr("0x9")](i)})),(0,hn.addListToDropdown)(s,a),s[Wr("0xa")](i,Wr("0x3"),((e,t,r)=>{if(r)for(const e of s[Wr("0x13")][Wr("0x17")]){const t=e[Wr("0x19")][Wr("0x1c")],r=n[Wr("0x1a")]((e=>e[Wr("0xd")]===t[Wr("0x9")])).isVisible;e[Wr("0x10")]=void 0===r||r(i)}})),s}(this,r):"",this.revisionActionsView&&this.revisionActionsView[Xr("0x29")](Xr("0x2f")).to(this),this[Xr("0x1a")]({tag:Xr("0x11"),attributes:{class:["ck","ck-reset",Xr("0x4"),o.if(Xr("0x15"),Xr("0x26"))]},children:[{tag:Xr("0x11"),attributes:{class:["ck",Xr("0xd"),Xr("0xa"),o.if(Xr("0x2f"),Xr("0x1"),(e=>!e)),o.if(Xr("0x2e"),Xr("0x8")),o.if(Xr("0xc"),"ck-revision-history-sidebar__revision_highlighted"),o.if(Xr("0x28"),Xr("0x2c"))]},children:[this[Xr("0x24")],{tag:"span",attributes:{class:["ck",Xr("0x7")]},children:[{text:o.to(Xr("0x16"))}]},{tag:"div",attributes:{class:["ck",Xr("0x9")]},children:[{tag:"ul",attributes:{class:["ck",Xr("0xf")]},children:s}]},this[Xr("0x14")]],on:{click:o.to((e=>{e[Xr("0x17")][Xr("0x0")](".ck-thread__remove-confirm")||this.isReady&&this[Xr("0x2f")]&&this.fire(Xr("0xb"),{id:this.id})}))}}]})}render(){super[Xr("0x6")]();const e=this.revisionNameView[Xr("0x1c")].element;this[Xr("0x18")](e,Xr("0x27"),(()=>{this[Xr("0x19")](Xr("0x1f"),{id:this.id,name:e[Xr("0x23")]})}))}[Xr("0xb")](){this[Xr("0x2e")]=!0}[Xr("0x3")](){this[Xr("0x2e")]=!1}[Xr("0x13")](){this[Xr("0xc")]=!0}[Xr("0x5")](){this[Xr("0xc")]=!1}}var eo=i(810);const to=["toJSDate","week","year","hasSame","setLocale","toRelativeCalendar","day","monthLong","local","weekdayLong","startOf","fromJSDate"];var io,no;io=to,no=228,function(e){for(;--e;)io.push(io.shift())}(++no);const ro=function(e,t){return to[e-=0]};function oo(e,t){const i=eo.ou[ro("0xb")](e)[ro("0x4")](t),n=eo.ou[ro("0x8")](),r=n.minus({days:1}).startOf(ro("0x6"));let o,s;return i.hasSame(n,ro("0x6"))?(o=i[ro("0xa")](ro("0x6")).toJSDate(),s=i[ro("0x5")]()):i[ro("0x3")](r,ro("0x6"))?(o=r[ro("0x0")](),s=i[ro("0x5")]()):i[ro("0x3")](n,ro("0x1"))?(o=i[ro("0xa")](ro("0x1"))[ro("0x0")](),s=i[ro("0x9")]):i[ro("0x3")](n,ro("0x2"))?(o=i[ro("0xa")]("month").toJSDate(),s=i[ro("0x7")]):(o=i[ro("0xa")](ro("0x2"))[ro("0x0")](),s=String(i[ro("0x2")])),{startDate:o,localizedPeriodName:s}}var so=i(37),ao={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(so.Z,ao);so.Z.locals;const co=["addRevision","add","locale","setName","div","delegate","span","revisionViews","ck-revision-history-sidebar__time-period__label","_revisionActions","uiLanguage","createCollection","localizedPeriodName","select","ck-revision-history-sidebar__time-period__revisions","removeRevision","setTemplate","ck-revision-history-sidebar__time-period"];var uo,lo;uo=co,lo=148,function(e){for(;--e;)uo.push(uo.shift())}(++lo);const xo=function(e,t){return co[e-=0]};class ho extends hn.View{constructor(e,t,i){super(e);const n=oo(t,this[xo("0x10")][xo("0x6")])[xo("0x8")];this.startDate=t,this[xo("0x3")]=this[xo("0x7")](),this[xo("0x5")]=i,this.revisionViews[xo("0x1")](xo("0x9")).to(this),this[xo("0x3")].delegate(xo("0x11")).to(this),this[xo("0xc")]({tag:xo("0x0"),attributes:{class:["ck",xo("0xd")]},children:[{tag:xo("0x2"),attributes:{class:["ck",xo("0x4")]},children:[{text:n}]},{tag:xo("0x0"),attributes:{class:["ck",xo("0xa")]},children:this[xo("0x3")]}]})}[xo("0xe")](e){const t=new Qr(this[xo("0x10")],e,this[xo("0x5")]);this.revisionViews[xo("0xf")](t)}[xo("0xb")](e){const t=this.revisionViews.find((t=>t.id===e.id));this[xo("0x3")].remove(t)}}var fo=i(29),vo={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(fo.Z,vo);fo.Z.locals;const mo=["span","ck-reset_all","div","setTemplate","content","Revision history","ck-revision-history-sidebar__header__label"];var go,po;go=mo,po=456,function(e){for(;--e;)go.push(go.shift())}(++po);const yo=function(e,t){return mo[e-=0]};class bo extends hn.View{constructor(e){super(e);const t=new hn.IconView;t[yo("0x3")]=Tn,this[yo("0x2")]({tag:yo("0x1"),attributes:{class:["ck",yo("0x0"),"ck-revision-history-sidebar__header"]},children:[t,{tag:yo("0x6"),attributes:{class:["ck",yo("0x5")]},children:[en(e,yo("0x4"))]}]})}}var ko=i(790),_o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(ko.Z,_o);ko.Z.locals;const wo=["removeRevision","div","_getTimePeriodViewByStartDate","_revisionActions","addRevision","locale","render","deselect","uiLanguage","revisionSetName","isEnabled","ck-disabled","startDate","createdAt","select","delegate","flat","ck-rounded-corners","setTemplate","_addRevision","_revisions","getTime","setName","revisionViews","some","ck-reset","ck-revision-history-sidebar__timeline","createCollection","map","timePeriodViews","highlight","add","selectRevision","_removeRevision","find","set","revisionSelected"];var So,To;So=wo,To=150,function(e){for(;--e;)So.push(So.shift())}(++To);const Oo=function(e,t){return wo[e-=0]};class Io extends hn.View{constructor(e,t,i){super(e);const n=this.bindTemplate;this[Oo("0x1b")]=this[Oo("0x19")](),this.timePeriodViews[Oo("0xd")](Oo("0xc")).to(this),this[Oo("0x1b")].delegate(Oo("0x14")).to(this),this[Oo("0x12")]=t,this[Oo("0x1")]=i,this.on(Oo("0xc"),((e,t)=>{this.fire(Oo("0x22"),t)})),this.on(Oo("0x14"),((e,t)=>{this.fire(Oo("0x7"),t)})),this[Oo("0x21")](Oo("0x8"),!1),this[Oo("0x10")]({tag:Oo("0x24"),attributes:{class:["ck",Oo("0x17"),Oo("0xf"),"ck-revision-history-sidebar"]},children:[new bo(e),{tag:Oo("0x24"),attributes:{class:["ck",Oo("0x18"),n.if("isEnabled",Oo("0x9"),(e=>!e))]},children:this[Oo("0x1b")]}]})}[Oo("0x4")](){super[Oo("0x4")]();for(const e of this[Oo("0x12")])this[Oo("0x11")](e);this[Oo("0x12")].on("add",((e,t)=>{this[Oo("0x11")](t)})),this[Oo("0x12")].on("remove",((e,t)=>{this[Oo("0x1f")](t)}))}get[Oo("0x15")](){return this.timePeriodViews[Oo("0x1a")]((e=>e[Oo("0x15")][Oo("0x1a")]((e=>e))))[Oo("0xe")]()}[Oo("0x1e")](e){for(const t of this[Oo("0x15")])e&&e.id===t.id?t[Oo("0xc")]():t[Oo("0x5")]()}highlightRevisions(e){for(const t of this[Oo("0x15")])e[Oo("0x16")]((({id:e})=>e===t.id))?t[Oo("0x1c")]():t.unhighlight()}[Oo("0x11")](e){const t=oo(e[Oo("0xb")],this[Oo("0x3")][Oo("0x6")]).startDate;let i=this.timePeriodViews.get(0);i&&i[Oo("0xa")][Oo("0x13")]()===t[Oo("0x13")]()||(i=new ho(this.locale,t,this[Oo("0x1")]),this[Oo("0x1b")][Oo("0x1d")](i)),i[Oo("0x2")](e)}[Oo("0x1f")](e){const t=oo(e.createdAt,this.locale[Oo("0x6")])[Oo("0xa")];this[Oo("0x0")](t)[Oo("0x23")](e)}[Oo("0x0")](e){return this.timePeriodViews[Oo("0x20")]((t=>t[Oo("0xa")].getTime()===e.getTime()))}}const Ro=["revisionHistory.viewerSidebarContainer","defaultRevisionActions","repository","isReady","listenTo","revisionViews","ready","_createRevisionActions","_revisions","get","_handleRevisionSelected","Restore this revision","isVisible","editor","remove","timePeriodViews","diff","restoreRevisionCallback","revisionSetName","compareAgainstSelected","config","getLaterVisibleRevision","_revisionViewer","focus","add","appendChild","availableRevisionActions","destroy","getRevisionsInDiff","data","pluginName","setName","name","isEnabled","Name this revision","nameRevision","isSelected","_handleDiffChange","getRevision","map","string","_handleEditorDataReady","length","highlightRevisions","assign","action","locale","revisionSelected","selectRevision","requires","compare","revisionHistory","newRevisionId","_sidebarView","bind","change:diff","Compare against selected","revisionHistory.revisionActions","_revisionsRepository","getEarlierVisibleRevision","RevisionsSidebar","_handleRevisionSetName"];var No,Vo;No=Ro,Vo=166,function(e){for(;--e;)No.push(No.shift())}(++Vo);const Eo=function(e,t){return Ro[e-=0]};class Mo extends e.Plugin{static get[Eo("0x32")](){return Eo("0x12")}static get[Eo("0x7")](){return[Qn]}constructor(e){super(e),this[Eo("0x2a")]=e.plugins[Eo("0x1d")](Qn),this._revisionsRepository=this[Eo("0x2a")][Eo("0x16")],this[Eo("0xb")]=null}init(){const e=this[Eo("0x10")][Eo("0x1c")],t=this[Eo("0x1b")](),i=this[Eo("0x21")].config[Eo("0x1d")](Eo("0x14"));this._sidebarView=new Io(this[Eo("0x21")][Eo("0x4")],e,t),this[Eo("0xb")].on(Eo("0x5"),this[Eo("0x1e")][Eo("0xc")](this)),this._sidebarView.on(Eo("0x26"),this[Eo("0x13")][Eo("0xc")](this)),this[Eo("0xb")].bind("isEnabled").to(this[Eo("0x2a")]),this._sidebarView[Eo("0x23")].on(Eo("0x2c"),((e,t)=>{t[Eo("0x19")].on(Eo("0x2c"),((e,t)=>{t[Eo("0xc")](Eo("0x35"),Eo("0x17")).to(this[Eo("0x2a")])}))})),this._sidebarView.render(),this.listenTo(this.editor[Eo("0x31")],Eo("0x1a"),this[Eo("0x3d")][Eo("0xc")](this)),this[Eo("0x18")](this._revisionViewer,Eo("0xd"),this[Eo("0x39")][Eo("0xc")](this)),i[Eo("0x2d")](this._sidebarView.element)}[Eo("0x2f")](){this[Eo("0xb")].element[Eo("0x22")](),this[Eo("0xb")].destroy()}[Eo("0x3d")](){const e=this._revisionsRepository.getRevision(0);if(e){const t=this[Eo("0x10")][Eo("0x11")](e.id);this[Eo("0x2a")][Eo("0x8")](e,t)}}[Eo("0x1e")](e,t){const i=this[Eo("0x10")].getRevision(t.id),n=this[Eo("0x10")][Eo("0x11")](i.id);this[Eo("0x2a")][Eo("0x8")](i,n)}[Eo("0x13")](e,t){this[Eo("0x10")][Eo("0x3a")](t.id)[Eo("0x33")](t[Eo("0x34")])}[Eo("0x39")](e,t,i){const n=this._revisionsRepository[Eo("0x30")](i);n[Eo("0x0")]>2?(this._sidebarView.highlightRevisions(n),this[Eo("0xb")][Eo("0x6")](null)):(this[Eo("0xb")][Eo("0x1")]([]),this._sidebarView.selectRevision(n[0]))}[Eo("0x1b")](){const e=this[Eo("0x21")],t=Mo[Eo("0x2e")],i=e[Eo("0x28")].get(Eo("0xf"))||Mo[Eo("0x15")];if(i[Eo("0x0")])return i[Eo("0x3b")]((i=>{const n=Eo("0x3c")==typeof i?Object[Eo("0x2")]({},t[i]):i;return n[Eo("0x3")]=n[Eo("0x3")][Eo("0xc")](this,e),n.isVisible&&(n.isVisible=n[Eo("0x20")][Eo("0xc")](this,e)),n}))}}Mo.availableRevisionActions={compareAgainstSelected:{name:Eo("0xe"),action:({plugins:e},t)=>{const i=e.get(Qn),n=i[Eo("0x16")];let r=i[Eo("0x24")][Eo("0xa")],o=t.id;n.getIndex(r)>n.getIndex(o)&&([r,o]=[o,r]),i[Eo("0x8")](r,o)},isVisible:({plugins:e},t)=>{const i=e[Eo("0x1d")](Qn);return!(i[Eo("0x16")][Eo("0x30")](i.diff)[Eo("0x0")]>2||t[Eo("0x38")])}},restoreRevision:{name:Eo("0x1f"),action:(e,{id:t})=>{e[Eo("0x28")][Eo("0x1d")](Eo("0x9"))[Eo("0x25")](t)},isVisible:({plugins:e},t)=>!!e[Eo("0x1d")](Qn)[Eo("0x16")][Eo("0x29")](t.id)},nameRevision:{name:Eo("0x36"),action:({plugins:e},{id:t,revisionNameView:i})=>{const n=e[Eo("0x1d")](Qn),r=n[Eo("0x16")][Eo("0x11")](t);n[Eo("0x8")](t,r),i[Eo("0x2b")](),i.fieldView.select()}}},Mo[Eo("0x15")]=[Eo("0x27"),"restoreRevision",Eo("0x37")];const Do=["addToolbar","fillFromConfig","init","viewportTopOffset","_initToolbar","render","limiterElement","_toolbarConfig","focusTracker","restore","toolbar","bind","name","rootName","isFocused","isActive","_elementReplacer","_view","ready","attachDomRoot","replace","destroy","getRoot","viewportOffset","componentFactory","editing","editable","element","view","fire","stickyPanel"];var Ao,Co;Ao=Do,Co=163,function(e){for(;--e;)Ao.push(Ao.shift())}(++Co);const jo=function(e,t){return Do[e-=0]};class Fo extends hn.EditorUI{get[jo("0x14")](){return this._view}constructor(e,i){super(e),this[jo("0x9")]=i,this._toolbarConfig=(0,hn.normalizeToolbarConfig)(e.config.get("toolbar")),this[jo("0x8")]=new t.ElementReplacer}get element(){return this.view[jo("0x13")]}[jo("0x19")](e){const t=this.editor,i=this[jo("0x14")],n=t[jo("0x11")][jo("0x14")],r=i[jo("0x12")],o=n.document[jo("0xe")]();r[jo("0x4")]=o[jo("0x5")],i[jo("0x1c")]();const s=r[jo("0x13")];this.setEditableElement(r[jo("0x4")],s),i.editable[jo("0x3")](jo("0x6")).to(this[jo("0x0")]),n[jo("0xb")](s),this[jo("0x8")][jo("0xc")](e,this[jo("0x13")]),this[jo("0x1b")](),this[jo("0x15")](jo("0xa"))}[jo("0xd")](){super[jo("0xd")]();const e=this[jo("0x14")],t=this.editor[jo("0x11")][jo("0x14")];this[jo("0x8")][jo("0x1")](),t.detachDomRoot(e.editable.name),e.destroy()}[jo("0x1b")](){const e=this.view;e[jo("0x16")].bind(jo("0x7")).to(this[jo("0x0")],jo("0x6")),e.stickyPanel[jo("0x1d")]=e[jo("0x13")],e[jo("0x16")][jo("0x3")](jo("0x1a")).to(this,jo("0xf"),(({top:e})=>e)),e.toolbar[jo("0x18")](this[jo("0x1e")],this[jo("0x10")]),this[jo("0x17")](e[jo("0x2")])}}var Lo=i(168),Po={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};vn()(Lo.Z,Po);Lo.Z.locals;var zo,Zo,Uo=["_editable","editable","add","shouldToolbarGroupWhenFull","main","stickyPanel","toolbar","top","render","content"];zo=Uo,Zo=238,function(e){for(;--e;)zo.push(zo.shift())}(++Zo);var Ho=function(e,t){return Uo[e-=0]};class qo extends hn.BoxedEditorUIView{get[Ho("0x3")](){return this[Ho("0x2")]}constructor(e,t,i={}){super(e),this[Ho("0x7")]=new hn.StickyPanelView(e),this.toolbar=new hn.ToolbarView(e,{shouldGroupWhenFull:i[Ho("0x5")]}),this[Ho("0x2")]=new hn.InlineEditableUIView(e,t)}[Ho("0x0")](){super[Ho("0x0")](),this[Ho("0x7")][Ho("0x1")].add(this[Ho("0x8")]),this[Ho("0x9")][Ho("0x4")](this[Ho("0x7")]),this[Ho("0x6")].add(this[Ho("0x3")])}}const Bo=["init","config","view","sourceElement","updateSourceElement","fire","_ui","initialData","destroy","create"];var Wo,Go;Wo=Bo,Go=245,function(e){for(;--e;)Wo.push(Wo.shift())}(++Go);const Jo=function(e,t){return Bo[e-=0]};class Yo extends((0,e.DataApiMixin)((0,e.ElementApiMixin)(e.Editor))){get ui(){return this._ui}constructor(e,t){super(t),this[Jo("0x8")]=e,this.model.document.createRoot();const i=new qo(this.locale,this.editing[Jo("0x7")],{shouldToolbarGroupWhenFull:!0});this[Jo("0x1")]=new Fo(this,i)}[Jo("0x3")](){return this[Jo("0x9")](),this.ui[Jo("0x3")](),super[Jo("0x3")]()}static async[Jo("0x4")](e,t){const i=new this(e,t);return await i.initPlugins(),await i.ui[Jo("0x5")](e),await i.data[Jo("0x5")](i[Jo("0x6")].get(Jo("0x2"))),i[Jo("0x0")]("ready"),i}}const $o=["addUser","revisionHistory.viewerEditorElement","_enhanceShowRevisionViewerCallback","RevisionsRepository","filter","push","getMarkersGroup","toVersion","toLocaleDateString","config","_update","RevisionTracker","RevisionHistory","markers","getUser","revisionHistory.showRevisionViewerCallback","constructor","name","pluginName","locale","bind","refreshVisibility","_viewerEditor","revisionHistory.closeRevisionViewerCallback","_recalculatePageBreaks","removeMarker","numeric","function","restrictedEditingException","_enhanceCloseRevisionViewerCallback","_getRevisionViewerEditorConfig","block","every","fromVersion","addRevisionData","_restoreRevision","_closeRevisionViewer","then","disableReadOnlyMode","display","refreshPositioning","isAnonymous","set","has","names","_showRevisionViewer","error","PaginationLookup","exitToEditing","editor","adapter","saveRevision","model","uiLanguage","getRevisionData","map","Autosave","requires","revisionHistory.editorContainer","createdAt","create","Users","none","getRevisions","Restored","style","toJSON","string","revision-history-viewer-opened","define","isReady","revisionHistory.restoreRevisionCallback","creator","toLocaleTimeString","get","getRevision","users","change","context","closeRevisionViewerCallback","init","extraPlugins","update","restoreRevision","Annotations","includes","changesNavigation","revisionHistory","concat","enableReadOnlyMode","plugins","isReadOnly","WebSocketGateway","builtinPlugins","RevisionViewer","revisionHistory.viewerContainer","RevisionHistoryUI","catch","from"];var Ko,Xo;Ko=$o,Xo=264,function(e){for(;--e;)Ko.push(Ko.shift())}(++Xo);const Qo=function(e,t){return $o[e-=0]};class es extends e.Plugin{static get[Qo("0x33")](){return Qo("0x2d")}static get[Qo("0x5a")](){return[an,Vn]}constructor(e){if(super(e),!this.editor[Qo("0x2a")].get(Qo("0x15")))throw new t.CKEditorError("revision-history-missing-configuration",this);this[Qo("0x37")]=null,this[Qo("0x52")][Qo("0x2a")].define(Qo("0x30"),(e=>this._showRevisionViewer(e))),this[Qo("0x52")][Qo("0x2a")][Qo("0x3")](Qo("0x38"),(e=>this[Qo("0x45")](e))),this[Qo("0x52")][Qo("0x2a")].define(Qo("0x5"),(e=>this._restoreRevision(e))),this._enhanceShowRevisionViewerCallback(),this[Qo("0x3e")]()}set[Qo("0x53")](e){this[Qo("0x52")].plugins[Qo("0x8")]("RevisionTracker")[Qo("0x53")]=e}get[Qo("0x53")](){return this[Qo("0x52")][Qo("0x18")][Qo("0x8")](Qo("0x2c")).adapter}[Qo("0x43")](e){return this.editor[Qo("0x18")][Qo("0x8")](Qo("0x2c"))[Qo("0x43")](e)}[Qo("0x9")](e){return this[Qo("0x52")].plugins.get(Qo("0x24")).getRevision(e)}[Qo("0x60")](e={toJSON:!1}){return this[Qo("0x52")].plugins[Qo("0x8")](Qo("0x24"))[Qo("0x60")](e)}[Qo("0x3f")](){const i=[Qo("0xc")],n=[Qo("0x2c"),Qo("0x1e"),"WebSocketGateway","RestrictedEditingMode",Qo("0x59")],r={},o=this[Qo("0x52")],s=o[Qo("0x18")][Qo("0x8")](Qo("0x2c")),a=o.plugins[Qo("0x8")](Qo("0x5e"))[Qo("0xa")];for(const e of o[Qo("0x2a")][Qo("0x4d")]())i.includes(e)||(r[e]=o[Qo("0x2a")].get(e));r.initialData="",r.toolbar=[Qo("0x51"),Qo("0x11"),Qo("0x14")];const c=this[Qo("0x52")].constructor[Qo("0x1b")]||[],u=r[Qo("0xf")]||[];delete r.extraPlugins;const l=c[Qo("0x16")](r[Qo("0x18")])[Qo("0x16")](u)[Qo("0x58")]((e=>Qo("0x1")==typeof e?c.find((t=>t.pluginName==e)):e));let d=!1;function x(e,t,i){const r="function"==typeof e?e[Qo("0x33")]||e.name:e;if("WebSocketGateway"===r&&(d=!0),i[Qo("0x13")](r))return!0;if(i[Qo("0x26")](r),n[Qo("0x13")](r))return!1;const o=((Qo("0x3c")==typeof e?e:t.has(r)?t[Qo("0x8")](r):{})[Qo("0x5a")]||[])[Qo("0x41")]((e=>x(e,t,i)));return o||n.push(r),o}return r[Qo("0x18")]=Array[Qo("0x20")](new Set(l))[Qo("0x25")]((e=>x(e,o[Qo("0x18")],[]))),d&&r.plugins.push(o[Qo("0x18")][Qo("0x8")](Qo("0x1a"))[Qo("0x31")]),r[Qo("0x18")][Qo("0x26")](Qn,_r,class extends e.Plugin{static get requires(){return[Qn,Qo("0x5e")]}[Qo("0xe")](){const e=this[Qo("0x52")].plugins[Qo("0x8")](Qo("0x5e"));for(const t of a)t[Qo("0x4a")]||e[Qo("0x2f")](t.id)||e[Qo("0x21")](t);const i=s.repository.getRevisions();let n=null;const r=this[Qo("0x52")][Qo("0x18")][Qo("0x8")](Qo("0x1c"));r.adapter=s[Qo("0x53")],r[Qo("0x35")]("isEnabled").to(s),this.editor.commands[Qo("0x8")](Qo("0x11"))[Qo("0x35")]("isEnabled").to(o,Qo("0x19"),(e=>!e));for(const e of i){const i=null===e[Qo("0x6")];if(i&&e.toVersion===e[Qo("0x42")])continue;const o=e[Qo("0x0")]();r[Qo("0x43")](o,((r,o,a)=>{if(i){if(n)n._update(r,o);else if(!o){const e=a[Qo("0x0")]();e.id=(0,t.uid)(),s[Qo("0x54")](e,a[Qo("0x28")])[Qo("0x46")]((e=>{n=e}))}}else e[Qo("0x2b")](r,o)}))}}},Mo),r}[Qo("0x23")](){const e=this[Qo("0x52")][Qo("0x2a")][Qo("0x8")](Qo("0x15")).showRevisionViewerCallback;this[Qo("0x52")][Qo("0x2a")][Qo("0x4b")](Qo("0x30"),(async()=>{this[Qo("0x52")][Qo("0x17")](Qo("0x2"));const t=this[Qo("0x52")].plugins[Qo("0x8")]("RevisionTracker");if(this.editor.plugins.has(Qo("0x59"))){const e=this.editor.plugins[Qo("0x8")](Qo("0x59"));await e.save()}else await t[Qo("0x10")]();this.editor[Qo("0x18")][Qo("0x4c")]("PaginationLookup")&&this[Qo("0x52")].plugins[Qo("0x8")](Qo("0x50"))._recalculatePageBreaks();const i=this[Qo("0x3f")]();return e(i)[Qo("0x46")]((e=>(this[Qo("0x37")]=e,this[Qo("0x52")].plugins[Qo("0x4c")](Qo("0x12"))&&this[Qo("0x52")].plugins[Qo("0x8")]("Annotations")[Qo("0x36")](),e)))[Qo("0x1f")]((e=>(console[Qo("0x4f")](e),this[Qo("0x52")][Qo("0x47")](Qo("0x2")),null)))}))}_enhanceCloseRevisionViewerCallback(){const e=this[Qo("0x52")][Qo("0x2a")].get(Qo("0x15"))[Qo("0xd")];this[Qo("0x52")][Qo("0x2a")].set(Qo("0x38"),(()=>(this.editor.plugins.has(Qo("0x50"))&&this[Qo("0x52")].plugins.get("PaginationLookup")[Qo("0x39")](),e(this[Qo("0x37")])[Qo("0x46")]((()=>{if(this[Qo("0x52")][Qo("0x47")]("revision-history-viewer-opened"),this[Qo("0x37")]=null,this[Qo("0x52")].plugins.has(Qo("0x12"))){const e=this[Qo("0x52")][Qo("0x18")].get(Qo("0x12"));e[Qo("0x36")](),e[Qo("0x49")]()}})))))}[Qo("0x4e")](e){const t=this.editor[Qo("0x2a")][Qo("0x8")](Qo("0x5b")),i=this[Qo("0x52")][Qo("0x2a")][Qo("0x8")]("revisionHistory.viewerContainer"),n=this[Qo("0x52")][Qo("0x2a")][Qo("0x8")](Qo("0x22"));return Yo[Qo("0x5d")](n,e)[Qo("0x46")]((e=>(i.style[Qo("0x48")]=Qo("0x40"),t[Qo("0x62")][Qo("0x48")]="none",e)))}_closeRevisionViewer(e){const t=this[Qo("0x52")].config[Qo("0x8")](Qo("0x5b"));return this[Qo("0x52")][Qo("0x2a")][Qo("0x8")](Qo("0x1d"))[Qo("0x62")][Qo("0x48")]=Qo("0x5f"),t[Qo("0x62")][Qo("0x48")]="",e.destroy()}async[Qo("0x44")](e){const t=this[Qo("0x52")],i=this[Qo("0x37")].plugins.get(Qo("0x1c")),n=t[Qo("0x18")].get(Qo("0x2c")),r=i.repository.getRevision(e);let o,s;try{o=await i[Qo("0x57")](r)}catch(e){return void console[Qo("0x4f")](e)}t.model[Qo("0xb")]((e=>{for(const i of Array.from(t[Qo("0x55")][Qo("0x2e")][Qo("0x27")](Qo("0x3d"))))e[Qo("0x3a")](i)})),i[Qo("0x4")]=!1,t.data[Qo("0x4b")](o,{suppressErrorInCollaboration:!0});const a=en(t[Qo("0x34")],Qo("0x61"));return s=r.name?-1==r[Qo("0x32")].indexOf(a)?a+": "+r[Qo("0x32")]:r[Qo("0x32")]:a+": "+r[Qo("0x5c")][Qo("0x29")](t[Qo("0x34")][Qo("0x56")],{month:"long",day:Qo("0x3b")})+", "+r.createdAt[Qo("0x7")](t[Qo("0x34")].uiLanguage,{hour:"numeric",minute:Qo("0x3b")}),await n.saveRevision({name:s}),i[Qo("0x4")]=!0,t.config[Qo("0x8")](Qo("0x15")).closeRevisionViewerCallback()}}})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|