@ckeditor/ckeditor5-revision-history 0.0.0-nightly-next-20250225.0 → 0.0.0-nightly-next-20250226.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>rt,RevisionViewer:()=>te,RevisionViewerLoadingOverlay:()=>me,RevisionViewerUI:()=>ke,RevisionsRepository:()=>Y,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M,E;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(E=t,ArrayBuffer.isView(E)&&!(E instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const M=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function V(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,V(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=W;function P(){const t=["authorsIds","toVersion","map","setName","283787SksSyN","diffData","authors","createdAt","attributes","model","name","removeAttribute","fromVersion","3061874OPrUsh","set","creatorId","toJSON","573660HjoWrR","3vDDttm","1080JELeoW","45hHYnpq","21516341QWRNyB","3437ZASZWc","setAttribute","fire","1376536mbFTEp","33995sNaVMB","14286ncJBJY","_update","creator"];return(P=function(){return t})()}function W(t,e){const i=P();return(W=function(t,e){return i[t-=438]})(t,e)}!function(t){const e=W,i=t();for(;;)try{if(984249===parseInt(e(466))/1+-parseInt(e(445))/2*(-parseInt(e(450))/3)+-parseInt(e(451))/4*(-parseInt(e(458))/5)+parseInt(e(459))/6*(-parseInt(e(454))/7)+parseInt(e(457))/8+parseInt(e(452))/9*(parseInt(e(449))/10)+-parseInt(e(453))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class z extends((0,t.ObservableMixin)()){id;[L(461)];[L(438)];[L(467)];[L(463)];[L(444)];[L(441)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(461)]=e[i(461)]||null,this[i(438)]=e[i(438)]||[],this[i(467)]=e[i(467)]||null,this[i(463)]=e[i(463)]||0,this[i(444)]=e[i(444)]||0,this[i(446)](i(442),e[i(442)]||""),this[i(446)](i(439),e[i(439)]||new Date),this[i(446)](i(440),e[i(440)]||{})}[L(465)](t){this[L(460)]({name:t})}[L(455)](t,e){const i=L,s=A(this[i(440)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(460)]({attributes:s})}[L(443)](t){const e=L,i=A(this[e(440)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,V(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(460)]({attributes:i})}[L(460)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(442),i(439),i(467),i(438),i(440),i(463),i(444),i(447)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(438)]&&(n[i(462)]=n[i(438)][i(464)]((t=>t.id)),delete n[i(438)]),this[i(456)](i(460),n,e))}[L(448)](){const t=L;return{id:this.id,name:this[t(442)],creatorId:this[t(461)]?this[t(461)].id:null,authorsIds:this[t(438)][t(464)]((t=>t.id)),diffData:this[t(467)],createdAt:this[t(439)],attributes:this[t(440)],fromVersion:this[t(444)],toVersion:this[t(463)]}}}var U=i(782),Z=i(211),H=i(783);function $(t,e){const i=B();return($=function(t,e){return i[t-=111]})(t,e)}const q=$;function B(){const t=["later","799160IUvKns","getUser","get","toJSON","Users","creatorId","isPremiumPlugin","join","1937712WrWiqh","createRevision","afterInit","editor","RevisionsRepository","_revisions","getEarlierVisibleRevision","attributes","createdAt","addRevision","oldRevisionId","4bJOlCg","getRevisionsIterator","data","3849348jrKVyk","getRevision","map","requires","add","72818CmLIpj","earlier","newRevisionId","pluginName","from","name","getLaterVisibleRevision","5GSINej","reverse","getIndex","getRevisionsInDiff","push","4460386llFFqJ","176910osElNM","isNaN","diffData","isOfficialPlugin","href","fromVersion","getRevisions","529240xYFgrt","fromCharCode","747kNOwwe","authorsIds","plugins","length","toVersion"];return(B=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(343086===parseInt(e(125))/1*(-parseInt(e(133))/2)+parseInt(e(114))/3+-parseInt(e(153))/4*(-parseInt(e(140))/5)+parseInt(e(128))/6+parseInt(e(145))/7+-parseInt(e(161))/8+parseInt(e(155))/9*(-parseInt(e(146))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[q(119)];static get[q(131)](){return[Z.Users]}static get[q(136)](){return q(118)}static get[q(149)](){return!0}static get[q(112)](){return!0}get[q(158)](){const t=q;return this[t(119)][t(158)]}constructor(e){const i=q;super(e),this[i(119)]=new t.Collection}[q(116)](){!async function(e){const i=k([77,70,98,67,116,101,108,85,68,113,100,66,72,102,119,104,74,50,117,86,87,79,107,115,53,121,54,90,56,89,83,52,118,88,81,65,106,120,105,111,97,82,75,80,55,114,49,71,73,76,122,84,57,109,78,103,110,51,112,48,69,99]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(147)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([77]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(130)]((t=>String[e(154)](t)))[e(113)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1740441600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(150)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(115)](t){const e=q,i=this[e(117)][e(157)][e(163)](e(165));return new z({id:t.id,name:t[e(138)],creator:t[e(111)]?i[e(162)](t[e(111)]):null,diffData:t[e(148)]||t[e(127)],authors:t[e(156)][e(130)]((t=>i[e(162)](t))),createdAt:new Date(t[e(122)]),attributes:t[e(121)],fromVersion:t[e(151)],toVersion:t[e(159)]})}[q(123)](t,e=0){const i=q;this[i(119)][i(132)](t,e)}[q(129)](t){const e=q;return this[e(119)][e(163)](t)}[q(152)](t={toJSON:!1}){const e=q,i=Array[e(137)](this[e(119)]);return i[e(141)](),t[e(164)]?i[e(130)]((t=>t[e(164)]())):i}[q(142)](t){const e=q;return this[e(119)][e(142)](t)}[q(120)](t){const e=q,[,i]=this[e(126)](t,{direction:e(134)});return i}[q(139)](t){const e=q,[,i]=this[e(126)](t,{direction:e(160)});return i}[q(143)](t){const e=q,i=[];for(const s of this[e(126)](t[e(135)]))if(i[e(144)](s),s.id===t[e(124)])break;return i}*[q(126)](t,{direction:e=q(134),filter:i=()=>!0}={}){const s=q,n=s(134)===e?1:-1;let r=this[s(119)][s(163)](t),o=this[s(142)](r);for(yield r;r;){if(o+=n,r=this[s(129)](o),!r)return;i(r)&&(yield r)}}}function J(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function G(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return Q(t,e,r,o)}return Q(t,e,r,o)}function Q(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,M;const E=(s=s??new Map).get(t),V=s.get(i);if(null!=E&&null!=V)return E===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>K(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&Q(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&Q(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(Q(t.constructor,i.constructor,s,x)||G(t)&&G(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!K(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function X(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,X)}const et=it;function it(t,e){const i=st();return(it=function(t,e){return i[t-=406]})(t,e)}function st(){const t=["getAttribute","fromVersion","getRootNames","_getState","plugins","_handleMoveOperation","_calculateMetaData","_transformMarkers","24vLmQvq","_operations","getChildren","source","length","_touchedRoots","parse","paragraph","item","_handleRootAttributeOperation","has","1519889slvfwu","toView","_makeRevision","sendBufferedUpdates","_idsRoots","_isPendingUpdate","_baseIdsRoots","createPositionAt","_removeRevisionMarkers","version","_createFromRanges","filter","_prepareViewToSave","expired","get","createPositionFromPath","tableCell","hasContent","_setAttribute","RevisionHistory","_getViewJson","_isInit","path","howMany","isEnabled","getData","getTime","revision-end","_applyOperations","markers","attributesAfter","locale","model","isPremiumPlugin","getMovedRangeStart","_handleInsertOperation","PENDING_ACTION_REVISION_HISTORY","vid_end","featureNotAllowed","_source","editor-initial-data-replaced-with-revision-data","baseVersion","requires","_fixOperation","_bufferedUpdates","invalid","stickiness","_setConversion","getRoot","getChild","repository","_touchedMarkers","_lastTo","values","diffData","PendingActions","init","then","map","1787910IwKWPM","authorsIds","elementEnd","getUser","_removePendingAction","delete","editing","remove","some","targetPosition","isAttached","resolve","_createInitialRevision","revisionHistoryLicenseKeyUsageLimit","destroy","_startingRevisionId","_showLicenseError","Initial revision","affectsData","_markChanges","start","_handleMarkerOperation","addRoot","element","marked","history","conversion","isOfficialPlugin","root","deletion","string","isEqual","sourcePosition","getTransformedByOperation","_baseRootsAttributes","_diffRootsAttributes","_generateTape","shift","getRange","for","_savedMetaData","splitPosition","_authorId","revisionHistory.resumeUnsavedRevision","reverse","_getVidAttributeName","_licenseKeyCheckInterval","detachRoot","set","getIndex","upcast","authors","forEach","getRevisionRootsAttributes","_pendingAction","NEGATIVE_INFINITY","insertions","revision","_revisionId","view","_makeModelFromViewString","newValue","setRevisionData","revisionHistoryLicenseKeyEvaluationLimit","getOperations","end","_diffRoots","useFillerType","buildRevisionData","evaluationLimit","graveyardPosition","changeRootAttribute","revisionHistoryLicenseKeyValid","data","editor","revisionHistoryLicenseKeyTrialLimit","updateRevisions","from","_handleSplitOperation","reInit","45395wzqdQY","createPositionAfter","offset","insertion","_startingVersion","markerToData","RevisionTracker","position","currentRevision","_continueCurrentRevision","startsWith","marker","userId","insertionPosition","_saveMetaData","nodes","fromEntries","revisionHistoryLicenseKeyNotAllowed","getRevision","saveRevision","removeRootAttribute","find","define","merge","initialData","toVersion","oldRange","createdAt","insert","getNodeByPath","afterInit","move","processor","clear","stringify","_removeMetaData","getRevisions","childCount","getCurrentRevisionId","_makeIdsRoot","isAdd","deletions","loadState","bind","_copyMarkers","addRevisionData","config","creatorId","_reset","usageLimit","push","_execute","revision:","getLatestVersion","includes","createPositionBefore","children","getAncestors","collaboration.channelId","revisionHistoryLicenseKeyExpired","revisionHistoryLicenseKeyDomainLimit","range","finally","createRange","ready","key","default","_getFromVersion","keepParagraph","attributesBefore","getWalker","name","_getPreviousFrom","elementStart","adapter","split","RevisionsRepository","slice","_markers","_addPendingAction","_createCurrentRevision","toData","852818ttWLsl","initial","_revisionDataBuilder","addRootAttribute","_loadedStateData","pluginName","creator","_bufferUpdate","_findInsertionIndex","toModel","sort","getAttributes","addRevision","revisionHistoryLicenseKeyInvalid","trim","$text","_isAttached","createRevision","_handleOperation","offsetSize","RealTimeCollaborationClient","_processRootBeforeSave","_fixPosition","add","attachChange","_initialRevisionId","rootsAttributes","rootName","_handleRootOperation","_getBaseVids","nodeAfter","update","dataToMarker","revision-start","1362474OZFWSs","_loadState","attributes","clone","setSource","vid","_lastFrom","_fixRange","$graveyard","size","859438kSGHxH","roots","_cloneOperation","_replaceEditorDataWithRevisionData","text","_handleMergeOperation","newRange","_insertChild","_appendChild","dataDowncast","_clone","vid_start","max","9059392MnnSyl","document","parent","domainLimit","_update","getOperation","reinsert","getRevisionDocumentData","isReady","data-revision-","_baseRoots","_touched","Users","licenseKey","documentFragment","trialLimit","type","Empty document","keys","createRangeIn","_loadRevisionData","previousPosition"];return(st=function(){return t})()}!function(t){const e=it,i=t();for(;;)try{if(439377===-parseInt(e(478))/1+-parseInt(e(522))/2+parseInt(e(512))/3+-parseInt(e(565))/4*(-parseInt(e(715))/5)+parseInt(e(635))/6+-parseInt(e(576))/7+parseInt(e(535))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);const nt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class rt extends U.Plugin{[et(548)];[et(681)];[et(470)];[et(723)];[et(626)];[et(480)];[et(615)];[et(503)];[et(620)];[et(689)];[et(724)];[et(719)];[et(482)];static get[et(483)](){return et(721)}static get[et(662)](){return!0}static get[et(609)](){return!0}static get[et(618)](){return[Z.Users,Y,U.PendingActions]}constructor(e){const i=et;super(e),this[i(470)]=null,this[i(723)]=null,this[i(480)]=new at(this[i(709)]),this[i(503)]=this[i(709)][i(442)][i(590)](i(454))||i(479),this[i(620)]=new Map,this[i(482)]=null;const s=(0,t.uid)();this[i(615)]={history:this[i(709)][i(608)][i(536)][i(660)],getLatestVersion:()=>Promise[i(646)](this[i(709)][i(608)][i(536)][i(585)]),getCurrentRevisionId:()=>s},this[i(683)](i(543),!1),this[i(683)](i(600),!0),this[i(683)](i(581),!1),this[i(709)][i(442)][i(418)](i(678),!0),this[i(709)][i(661)][i(674)](i(685))[i(510)]({view:i(692)})}[et(632)](){const t=et;this[t(626)]=this[t(709)][t(561)][t(590)](t(472)),this[t(623)](),this[t(709)][t(708)].on(t(460),(()=>{const e=t,i=this[e(626)][e(414)](0),s=i&&null===i[e(484)]?i:null;if(this[e(724)]=!!s&&this[e(709)][e(442)][e(590)](e(678)),this[e(709)][e(561)][e(575)](e(498))){const t=this[e(615)][e(434)](),n=this[e(626)][e(414)](t);if(n)this[e(719)]=n[e(558)],this[e(724)]=!1;else{const t=this[e(615)][e(660)][e(566)][e(417)]((t=>!t[e(597)])),n=t?t[e(617)]:this[e(615)][e(660)][e(585)];i?(i[e(421)]<n&&i[e(539)]({toVersion:n}),this[e(724)]?(this[e(615)][e(434)]=()=>s.id,this[e(719)]=s[e(558)]):(this[e(719)]=i[e(421)],this[e(724)]=!1)):(this[e(719)]=n,this[e(724)]=!1)}}else s&&(this[e(709)][e(608)][e(536)][e(660)][e(585)]=Math[e(534)](s[e(421)],this[e(709)][e(608)][e(536)][e(660)][e(585)]),s[e(558)]===s[e(421)]?(0!==s[e(558)]&&(this[e(615)][e(434)]=()=>s.id),this[e(724)]=!1):this[e(724)]&&(this[e(615)][e(434)]=()=>s.id,this[e(719)]=s[e(558)])),this[e(724)]||(this[e(719)]=this[e(709)][e(608)][e(536)][e(585)]);this[e(480)][e(632)](this[e(615)][e(660)]),this[e(647)](this[e(719)]),this[e(476)](this[e(719)]),this[e(470)]&&this[e(579)]()})),this[t(439)](t(543)).to(this,t(581),(t=>!t)),this[t(548)]=this[t(709)][t(442)][t(590)](t(548));const e=this[t(709)];this[t(681)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(707)==r||i(491)==r||i(455)==r||i(456)==r||i(413)==r||i(698)==r||i(710)==r||i(648)==r){delete e[n],s=r,clearInterval(this[i(681)]),this[i(681)]=void 0;break}}i(491)==s&&e[i(651)](i(621)),i(455)==s&&e[i(651)](i(589)),i(456)==s&&e[i(651)](i(538)),i(413)==s&&e[i(651)](i(614),i(595)),i(698)==s&&e[i(651)](i(704)),i(710)==s&&e[i(651)](i(550)),i(648)==s&&e[i(651)](i(445))}),1e3)}async[et(426)](){const t=et;if(this[t(626)][t(569)]>0){const e=this[t(626)][t(414)](0),i=await this[t(542)](e),s=await this[t(688)](e);this[t(525)](i,s)}}[et(649)](){const t=et;super[t(649)](),this[t(681)]&&clearInterval(this[t(681)])}[et(516)](t){this[et(615)]=t}async[et(509)](){const t=et,e=await this[t(615)][t(449)]();if(e>this[t(723)][t(421)]){await this[t(513)]();const i=this[t(703)]({revision:this[t(723)],to:e});i[t(686)]=i[t(636)][t(634)]((e=>this[t(709)][t(561)][t(590)](t(547))[t(638)](e))),this[t(723)][t(539)](i)}}async[et(513)](){const t=et;this[t(724)]&&!this[t(482)]&&(await this[t(555)](this[t(723)]),this[t(480)][t(438)](this[t(723)]),this[t(482)]={fromVersion:this[t(723)][t(558)],authors:this[t(723)][t(686)][t(473)]()})}async[et(415)](e={},i=null){const s=et,n=[];await this[s(513)](),this[s(724)]=!1,i>this[s(723)][s(421)]&&(i=null),null===i&&(i=await this[s(615)][s(449)]());const r=this[s(463)](i),o=this[s(703)]({from:r,to:i});if(this[s(723)][s(421)]<i){const t=this[s(703)]({revision:this[s(723)],from:i,to:i});t[s(686)]=[],t[s(636)]=[],t.id=this[s(723)].id,this[s(723)][s(539)](t,!0),delete t[s(686)],n[s(446)](t)}e[s(443)]=this[s(709)][s(561)][s(590)](s(547)).me.id,e[s(467)]=e[s(467)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(441)](e);n[s(446)](e);const c=this[s(626)][s(684)](a);if(0!==c){const t=this[s(626)][s(414)](c-1);if(t[s(558)]!==i){const r=this[s(480)][s(601)](i,t[s(421)]),o={id:t.id,diffData:r[s(630)],authorsIds:r[s(636)],authors:r[s(636)][s(634)]((t=>this[s(709)][s(561)][s(590)](s(547))[s(638)](t))),fromVersion:i};t===this[s(723)]&&(o[s(423)]=new Date(e[s(423)][s(602)]()+10)),t[s(539)](o,!0),delete o[s(686)],n[s(446)](o)}}if(this[s(470)]){for(const t of n)this[s(485)](t.id,t,!0);this[s(579)]()}return a}[et(441)](t){const e=et,i=this[e(626)][e(495)](t);return this[e(470)]&&i.on(e(539),((t,i,s)=>{const n=e;s||(this[n(485)](i.id,i,!0),this[n(579)]())})),this[e(626)][e(490)](i,this[e(486)](i)),i}async[et(542)](t){const e=et;await this[e(555)](t);const i={};for(const s in t[e(630)]){if(t[e(630)][s][e(502)]&&!t[e(630)][s][e(502)][e(645)])continue;const n=this[e(584)](JSON[e(571)](t[e(630)][s][e(691)])),r=this[e(709)][e(641)][e(694)][e(536)],o=new H.ViewDocumentFragment(r,n[e(634)]((t=>ot(t,this[e(709)]))));this[e(709)][e(708)][e(428)][e(702)](e(659)),i[s]=this[e(709)][e(708)][e(428)][e(477)](o),this[e(709)][e(708)][e(428)][e(702)](e(462))}return i}async[et(688)](t){const e=et;await this[e(555)](t);const i={};for(const s in t[e(630)])t[e(630)][s][e(502)]&&!t[e(630)][s][e(502)][e(645)]||(i[s]=t[e(630)][s][e(606)]||{});return i}[et(579)](){const t=et;if(0===this[t(620)][t(521)])return;if(this[t(581)])return;let e=Array[t(712)](this[t(620)][t(629)]());this[t(620)][t(429)]();for(let i=0;i<e[t(569)];i++){const s=e[i];let n=!1;for(const e of Object[t(553)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(587)]((t=>null!==t)),!e[t(569)])return;for(let i=0;i<e[t(569)];i++){const s=e[i];void 0!==s[t(558)]&&void 0===s[t(421)]&&(s[t(421)]=this[t(626)][t(414)](s.id)[t(421)]),void 0!==s[t(421)]&&void 0===s[t(558)]&&(s[t(558)]=this[t(626)][t(414)](s.id)[t(558)])}const i=this[t(709)][t(442)][t(590)](t(454));this[t(581)]=!0,this[t(475)](),this[t(470)][t(711)](e,i)[t(458)]((()=>{this[t(581)]=!1}))[t(633)]((e=>{const i=t;if(e)for(const t of e)this[i(697)]({id:t.id,createdAt:t[i(423)]});this[i(639)](),this[i(579)]()}))}[et(525)](e,i){const s=et;let n=this[s(709)][s(442)][s(590)](s(420)),r=this[s(709)][s(442)][s(590)](s(504));if(void 0===n){n={};for(const t of this[s(709)][s(608)][s(536)][s(559)]())n[t]=""}if(s(665)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(709)][s(608)][s(536)][s(559)]())r[t]={}}let o=!1;const a=Object[s(553)](n),c=Object[s(553)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(492)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(553)](r[t])[s(569)]>0){o=!0;break}}o||(o=c[s(643)]((t=>!this[s(709)][s(608)][s(536)][s(624)](t)))),o&&(0,t.logWarning)(s(616),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(709)][s(442)][s(683)](s(420),e),this[s(709)][s(442)][s(683)](s(504),i)}[et(475)](){const t=et;if(!this[t(689)]){const e=this[t(709)][t(561)][t(590)](t(631));this[t(689)]=e[t(501)](J(this[t(709)][t(607)],t(612)))}}[et(639)](){const t=et;this[t(689)]&&(this[t(709)][t(561)][t(590)](t(631))[t(642)](this[t(689)]),this[t(689)]=null)}[et(486)](t){const e=et,i=this[e(626)][e(432)]();i[e(679)]();let s=0;for(;s<i[e(569)];){const n=i[s];if(n===this[e(723)]){s++;continue}if(n.id===this[e(503)])break;const r=t[e(421)]-n[e(421)]||t[e(558)]-n[e(558)];if(r>0)break;if(r<0)s++;else{if(!t[e(484)]&&n[e(484)])break;if(n[e(484)]||!t[e(484)]){if(t[e(423)]>n[e(423)])break;s++}else s++}}return s}[et(697)](t){const e=et,i=this[e(626)][e(414)](t.id);if(t[e(423)]&&(t[e(423)]=new Date(t[e(423)])),t[e(636)]){const i=this[e(709)][e(561)][e(590)](e(547));t[e(686)]=t[e(636)][e(634)]((t=>i[e(638)](t)))}i[e(539)](t,!0)}[et(703)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(558)],i=null!==i?i:t[s(421)];const n=this[s(480)][s(601)](e,i),r={diffData:n[s(630)],authorsIds:n[s(636)],fromVersion:e,toVersion:i};if(!t||i!==t[s(421)]){const t=i-1,e=this[s(615)][s(660)][s(540)](t);r[s(423)]=e&&e[s(423)]||new Date}if(this[s(482)]&&e===this[s(482)][s(558)])for(const t of this[s(482)][s(686)])r[s(636)][s(450)](t.id)||r[s(636)][s(446)](t.id);return r}[et(555)](t){const e=et;if(!t||t[e(630)])return Promise[e(646)]();{const i=this[e(709)][e(442)][e(590)](e(454));return this[e(470)][e(414)]({channelId:i,revisionId:t.id})[e(633)]((i=>{const s=e;t[s(630)]=i[s(630)]}))}}[et(485)](t,e,i){const s=et;if(this[s(620)][s(575)](t)){const n=this[s(620)][s(590)](t);e=i?{...n,...e}:{...e,...n}}this[s(620)][s(683)](t,e)}[et(463)](t){const e=et,i=this[e(626)][e(432)]();i[e(679)](),i[e(672)]();const s=i[e(417)]((i=>i[e(421)]<=t))[e(421)];return s<this[e(719)]?this[e(719)]:s}[et(647)](t){const e=et,i=this[e(626)][e(414)](this[e(626)][e(569)]-1);if(i)this[e(503)]=i.id;else{const i=!this[e(709)][e(608)][e(536)][e(523)][e(417)]((t=>this[e(709)][e(608)][e(593)](t))),s=this[e(709)][e(561)][e(590)](e(547)).me.id,n=J(this[e(709)][e(607)],e(i?552:652));this[e(578)]({from:t,to:t,id:this[e(503)],name:n,creatorId:s})}}[et(476)](t){const e=et,i=this[e(615)][e(434)]();this[e(723)]=this[e(626)][e(414)](i),this[e(723)]||(this[e(723)]=this[e(578)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(578)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(703)]({from:e,to:i});o[r(467)]=t,o[r(443)]=s,o.id=n;const a=this[r(441)](o);return this[r(470)]&&this[r(485)](o.id,o,!0),a}[et(623)](){const t=et;this[t(709)][t(661)][t(674)](t(531))[t(720)]({model:t(692)})}[et(584)](t){const e=et;return(t=t[e(587)]((t=>!t[e(467)]||e(511)!==t[e(467)]&&e(603)!==t[e(467)])))[e(687)]((t=>{const i=e;i(665)!=typeof t&&(t[i(452)]=this[i(584)](t[i(452)]),t[i(514)]=t[i(514)][i(587)]((t=>!t[0][i(406)](i(544)))))})),t}}function ot(t,e){const i=et,s=e[i(641)][i(694)][i(536)];if(i(665)==typeof t)return new H.ViewText(s,t);{const n=t[i(452)][i(634)]((t=>ot(t,e)));return new(nt[t[i(551)]]||H.ViewElement)(s,t[i(467)],t[i(514)],n)}}class at{[et(709)];[et(568)];[et(675)];[et(518)];[et(628)];[et(474)];[et(701)];[et(670)];[et(545)];[et(669)];[et(580)];[et(582)];[et(546)];[et(627)];[et(570)];[et(693)];[et(650)];constructor(t){const e=et;this[e(709)]=t,this[e(675)]=new Map,this[e(518)]=-1,this[e(628)]=-1,this[e(474)]=new Map,this[e(701)]=new Map,this[e(670)]=new Map,this[e(545)]=new Map,this[e(669)]=new Map,this[e(580)]=new Map,this[e(582)]=new Map,this[e(546)]=new Map,this[e(627)]=new Map,this[e(570)]=new Map,this[e(693)]=1}[et(632)](t){const e=et;this[e(568)]=t;const i=new Map,s=new Map,n=this[e(709)][e(608)][e(536)][e(523)][e(634)]((t=>t[e(505)]));for(const t of n){const n=this[e(709)][e(608)][e(536)][e(624)](t),r=ct(n);i[e(683)](t,r),s[e(683)](t,Object[e(412)](n[e(489)]()))}const r=Array[e(712)](this[e(709)][e(608)][e(605)])[e(634)]((t=>[t[e(467)],t[e(673)]()])),o=this[e(568)][e(585)];this[e(410)](o,i,r,s),this[e(650)]=this[e(693)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(683)](t,i),c[e(683)](t,{})}this[e(410)](Number[e(690)],a,[],c)}[et(601)](t,e){const i=et;if(this[i(518)]===t&&this[i(628)]<=e)this[i(675)][i(521)]>1&&this[i(431)](this[i(628)]),this[i(604)](this[i(628)],e,!0);else{if(!this[i(675)][i(575)](t)){const e=this[i(468)](t);this[i(563)](e,t,!1)}this[i(563)](t,e,!0)}return this[i(518)]=t,this[i(628)]=e,this[i(560)]()}[et(438)](t){const e=et;this[e(444)](),this[e(518)]=t[e(558)],this[e(628)]=t[e(421)];for(const i in t[e(630)]){const s=t[e(630)][i][e(502)],n=A(t[e(630)][i][e(465)])||{},r=this[e(695)](t[e(630)][i][e(437)]);r[e(505)]=i,r[e(494)]=!s||!s[e(645)],r[e(645)]=()=>r[e(494)],this[e(545)][e(683)](i,r),this[e(669)][e(683)](i,n),s&&this[e(570)][e(683)](i,s);const o=this[e(435)](r);this[e(582)][e(683)](i,o);for(const[t,i]of r[e(605)]){if(!t[e(406)](e(448)))continue;const s=t[e(471)](":")[2];for(const t of i[e(466)]({singleCharacters:!0})){const i=this[e(680)](t),n=e(637)==t[e(551)]?t[e(556)][e(598)][e(473)](0,-1):t[e(556)][e(598)],r=o[e(425)](n)[e(557)](i);this[e(546)][e(683)](r,{userId:s})}}}this[e(650)]=this[e(693)];const i=[...Array(this[e(693)])[e(553)]()][e(473)](1)[e(587)]((t=>!this[e(546)][e(575)](t)));let s=0;const n=new Map;for(const r in t[e(630)]){const o=t[e(630)][r][e(502)],a=A(t[e(630)][r][e(606)])||{},c=this[e(695)](t[e(630)][r][e(691)]);c[e(505)]=r,c[e(494)]=!o||o[e(645)],c[e(645)]=()=>c[e(494)],this[e(701)][e(683)](r,c),this[e(670)][e(683)](r,a);const u=this[e(435)](c,Number[e(690)]);this[e(580)][e(683)](r,u),n[e(683)](r,c[e(645)]()?a:{});for(const[t,i]of c[e(605)]){if(!t[e(406)](e(448)))continue;const s=t[e(471)](":")[2];for(const t of i[e(466)]({singleCharacters:!0})){const i=this[e(680)](t),n=this[e(693)]++,r=e(637)==t[e(551)]?t[e(556)][e(598)][e(473)](0,-1):t[e(556)][e(598)];u[e(425)](r)[e(594)](i,n),this[e(546)][e(683)](n,{userId:s})}}for(const t of this[e(709)][e(608)][e(554)](c)[e(466)]({singleCharacters:!0})){const n=this[e(680)](t),r=e(637)==t[e(551)]?t[e(556)][e(598)][e(473)](0,-1):t[e(556)][e(598)],o=u[e(425)](r);o[e(557)](n)>0||o[e(594)](n,i[s++])}for(const[t,i]of c[e(605)])t[e(406)](e(448))||this[e(474)][e(683)](t,i)}const r=ut(e(520));this[e(545)][e(683)](e(520),r),this[e(582)][e(683)](e(520),this[e(435)](r,1));const o=ut(e(520));this[e(701)][e(683)](e(520),o),this[e(580)][e(683)](e(520),this[e(435)](o,1));const a=Array[e(712)](this[e(701)])[e(634)]((([t,e])=>[t,ct(e)]));this[e(410)](this[e(628)],a,this[e(474)],n)}[et(695)](t){const e=et,i=JSON[e(571)](t),s=this[e(709)][e(641)][e(694)][e(536)],n=new H.ViewDocumentFragment(s,i[e(634)]((t=>ot(t,this[e(709)]))));return this[e(709)][e(708)][e(487)](n)}[et(410)](t,e,i,s){const n=et,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(683)](t,{start:e[n(655)][n(515)](),end:e[n(700)][n(515)](),rootName:e[n(663)][n(505)]});this[n(675)][n(683)](t,{roots:r,markers:a,rootsAttributes:o})}[et(431)](t){const e=et;this[e(675)][e(640)](t)}[et(714)](){const t=et;this[t(444)](),this[t(518)]=-1,this[t(628)]=-1,this[t(675)][t(429)](),this[t(632)](this[t(568)])}[et(444)](){const t=et;this[t(546)][t(429)](),this[t(627)][t(429)](),this[t(570)][t(429)](),this[t(701)][t(429)](),this[t(670)][t(429)](),this[t(545)][t(429)](),this[t(669)][t(429)](),this[t(580)][t(429)](),this[t(582)][t(429)](),this[t(474)][t(429)](),this[t(693)]=1,this[t(650)]=this[t(693)]}[et(435)](t,e=null){const i=et;let s=null;t.is(i(549))||(s=new H.Element(t[i(467)],{vid_start:null===e?this[i(693)]++:e++}));const n=[];for(const s of t[i(567)]())if(s.is(i(658))){n[i(446)](this[i(435)](s,e));const t=n[n[i(569)]-1];null!==e&&(e=t.is(i(658),i(493))?t[i(557)](i(517))+1:t[i(557)](i(613))+1)}else for(let t=0;t<s[i(497)];t++)n[i(446)](new H.Element(i(493),{vid:null===e?this[i(693)]++:e++}));if(t.is(i(549))){const e=ut(t[i(505)]);return e[i(529)](0,n),e}return s[i(594)](i(613),null===e?this[i(693)]++:e++),s[i(529)](0,n),s}[et(563)](t,e,i){const s=et;this[s(444)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(675)][s(590)](t);this[s(545)]=new Map(n),this[s(669)]=new Map(A(o));for(const[t,e]of this[s(545)])if(s(520)!==t&&(this[s(701)][s(683)](t,ct(e)),this[s(670)]=new Map(A(o)),i)){const i=this[s(693)];this[s(580)][s(683)](t,this[s(435)](e)),this[s(582)][s(683)](t,this[s(435)](e,i))}this[s(650)]=this[s(693)],this[s(701)][s(683)](s(520),ct(this[s(545)][s(590)](s(520)))),i&&this[s(580)][s(683)](s(520),this[s(435)](this[s(545)][s(590)](s(520))));for(const[t,e]of r){const i=this[s(545)][s(590)](e[s(505)]),n=this[s(701)][s(590)](e[s(505)]),r=new H.Range(this[s(500)](e[s(655)],i),this[s(500)](e[s(700)],i)),o=this[s(519)](r,n);i[s(605)][s(683)](t,r),this[s(474)][s(683)](t,o)}this[s(604)](t,e,i)}[et(604)](t,e,i){const s=et;for(const n of this[s(568)][s(699)](t,e))this[s(496)](n,i);for(const t of this[s(701)][s(629)]())t[s(605)][s(429)]();for(const[t,e]of this[s(474)])this[s(701)][s(590)](e[s(663)][s(505)])[s(605)][s(683)](t,e[s(515)]());const n=new Map,r=new Map;for(const[t,e]of this[s(701)])n[s(683)](t,ct(e)),r[s(683)](t,this[s(670)][s(590)](t));this[s(410)](e,n,this[s(474)],r)}[et(468)](t){const e=et,i=Array[e(712)](this[e(675)][e(553)]());i[e(488)](((t,e)=>t-e)),i[e(679)]();for(const e of i)if(e<t)return e;return Number[e(690)]}[et(440)](t,e){const i=et,s=Array[i(712)](e[i(605)])[i(634)]((([e,s])=>[e,this[i(519)](s,t)]));t[i(605)]=new Map(s)}[et(564)](t){const e=et;for(const i of this[e(474)][e(629)]()){const s=i[e(668)](t),n=H.Range[e(586)](s);i[e(655)]=n[e(655)],i[e(700)]=n[e(700)]}}[et(496)](t,e){const i=et;if(i(657)!=t[i(551)]&&i(682)!=t[i(551)]){if(i(424)==t[i(551)]){const s=t[i(722)][i(663)][i(505)];this[i(701)][i(575)](s)||(this[i(701)][i(683)](s,ut(s,!0)),this[i(670)][i(683)](s,{}),e&&this[i(580)][i(683)](s,ut(s,!0)))}else{if(i(481)==t[i(551)]||i(416)==t[i(551)]||i(706)==t[i(551)])return void this[i(574)](t);i(407)==t[i(551)]&&this[i(656)](t)}if(i(407)!==t[i(551)]){const e=this[i(524)](t,this[i(701)]);e[i(447)](),this[i(564)](e)}if(e)switch(t[i(551)]){case i(424):this[i(611)](t);break;case i(427):case i(642):case i(541):this[i(562)](t);break;case i(419):this[i(527)](t);break;case i(471):this[i(713)](t)}}else this[i(506)](t,e)}[et(524)](t,e){const i=et,s=t[i(515)]();return s[i(677)]=t[i(677)],this[i(619)](s,e),s}[et(507)](t){const e=et;return t[e(634)]((t=>{const i=e,s=this[i(680)](t);return Number(t[i(573)][i(557)](s))}))}[et(671)](t,e){const i=et;if(t.is(i(658),i(493)))e[i(446)]({item:t,type:i(526)});else{t.is(i(658))&&e[i(446)]({item:t,type:i(469)});for(const s of t[i(567)]())this[i(671)](s,e);t.is(i(658))&&e[i(446)]({item:t,type:i(637)})}return e}[et(560)](){const t=et,e=new Map(this[t(546)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(545)][t(553)](),...this[t(701)][t(553)]()]);a[t(640)](t(520));for(const e of a){const i=this[t(701)][t(590)](e)||ut(e,!1),s=this[t(545)][t(590)](e)||ut(e,!1);i[t(645)]()||s[t(645)]()?(n[t(691)][e]=ct(i),n[t(437)][e]=ct(s),this[t(440)](n[t(437)][e],s),this[t(440)](n[t(691)][e],i),r[t(691)][e]=this[t(671)](this[t(580)][t(590)](e),[]),r[t(437)][e]=this[t(671)](this[t(582)][t(590)](e)||ut(e,!1),[])):a[t(640)](e)}for(const n of a){const o=r[t(691)][n];for(const n of o){const r=this[t(680)](n),o=n[t(573)][t(557)](r);i[t(640)](o),o>=this[t(650)]&&s[t(683)](o,e[t(590)](o))}}for(const n of a){const a=r[t(691)][n],c=this[t(507)](r[t(437)][n]);let u=0;for(const n of a){const r=this[t(680)](n),a=n[t(573)][t(557)](r);if(!s[t(575)](a)&&!o[t(575)](a))if(i[t(575)](a))u++;else{if(a!=c[u]){const s=e[t(590)](a)||e[t(590)](c[u]);for(;a!=c[u];)i[t(575)](c[u])||(o[t(683)](c[u],s),e[t(683)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(691)][e];for(const e of n){const n=this[t(680)](e),r=e[t(573)][t(557)](n);if(o[t(575)](r)){const e=o[t(590)](r);i[t(575)](r)||i[t(683)](r,{...e}),s[t(683)](r,{...e})}}}for(const e of i[t(553)]())e>=this[t(650)]&&i[t(640)](e);const c=new Map;for(const e of a){let n=r[t(691)][e];for(const e of n)if(e[t(573)].is(t(658),t(592))){const i=this[t(680)](e),n=e[t(573)][t(557)](i);if(s[t(575)](n)){const i=e[t(573)][t(537)][t(537)][t(557)](t(533)),r=c[t(590)](i)||new Set;r[t(501)](s[t(590)](n)[t(408)]),c[t(683)](i,r)}}n=r[t(437)][e];for(const e of n)if(e[t(573)].is(t(658),t(592))){const s=this[t(680)](e),n=e[t(573)][t(557)](s);if(i[t(575)](n)){const s=e[t(573)][t(537)][t(537)][t(557)](t(533)),r=c[t(590)](s)||new Set;r[t(501)](i[t(590)](n)[t(408)]),c[t(683)](s,r)}}for(const e of c[t(553)]())(s[t(575)](e)||i[t(575)](e))&&c[t(640)](e)}for(const e of a){const n=r[t(691)][e];let o=null,a=null;for(const e of n){const n=this[t(680)](e),r=e[t(573)][t(557)](n),u=c[t(590)](r);u&&t(469)==e[t(551)]&&(o=Array[t(712)](u)[0],a=e[t(573)][t(557)](t(613))),o&&(i[t(683)](r,{userId:o}),s[t(683)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(437)][e],a=n[t(691)][e];for(const{userId:e}of this[t(627)][t(629)]())null!==e&&l[t(501)](e);for(const{userId:e}of this[t(570)][t(629)]())null!==e&&l[t(501)](e);this[t(654)](a,r[t(691)][e],s,t(718),l),this[t(654)](o,r[t(437)][e],i,t(664),l),u[e]={insertions:this[t(588)](a),deletions:this[t(588)](o),attachChange:this[t(570)][t(590)](e)||null,attributesBefore:A(this[t(669)][t(590)](e))||{},attributesAfter:A(this[t(670)][t(590)](e))}}return{diffData:u,authorsIds:Array[t(712)](l)}}[et(499)](t){const e=et;for(const[,i]of t[e(605)]){const t=i[e(655)][e(453)]()[e(587)]((t=>e(592)==t[e(467)]));for(const i of t)1==i[e(433)]&&i[e(625)](0).is(e(658),e(572))&&i[e(625)](0)[e(594)](e(464),!0)}}[et(588)](t){const e=et;this[e(499)](t);const i=this[e(709)][e(708)][e(577)](t,{}),s=Array[e(712)](i[e(567)]())[e(634)]((t=>this[e(596)](t)));return JSON[e(430)](s)}[et(596)](t){const e=et;if(t.is(e(493)))return t[e(708)];{const i=t;return{type:Object[e(553)](nt)[e(417)]((e=>t instanceof nt[e])),name:i[e(467)],attributes:Array[e(712)](i[e(489)]()),children:Array[e(712)](i[e(567)]())[e(634)]((t=>this[e(596)](t)))}}}[et(654)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(709)][r(608)];for(let s=0;s<e[r(569)];s++){const n=this[r(680)](e[s]),c=e[s][r(573)][r(557)](n),h=i[r(590)](c),d=s==e[r(569)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(408)]!=o[r(408)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(408)],d=l(448)+s+":"+h+":"+c++,f=u[l(459)](i,a);t[l(605)][l(683)](d,f),null!==h&&n[l(501)](h)}}[et(680)](t){const e=et;switch(t[e(551)]){case e(469):return e(533);case e(637):return e(613);default:return e(517)}}[et(619)](t,e){const i=et;t[i(617)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(590)](n[i(663)][i(505)]);t[s]=this[i(500)](n,r)}if(n instanceof H.Range){const r=e[i(590)](n[i(663)][i(505)]);t[s]=this[i(519)](n,r)}i(663)===s&&(t[i(663)]=e[i(590)](t[i(663)][i(505)]))}}[et(519)](t,e){const i=et;return this[i(709)][i(608)][i(459)](this[i(500)](t[i(655)],e),this[i(500)](t[i(700)],e))}[et(500)](t,e){const i=et;return this[i(709)][i(608)][i(591)](e,t[i(598)],t[i(622)])}[et(611)](t){const e=et,i=this[e(580)][e(590)](t[e(722)][e(663)][e(505)]),s=this[e(500)](t[e(722)],i),n=null===t[e(677)]?null:t[e(677)]||this[e(709)][e(561)][e(590)](e(547)).me.id,r=s[e(537)],o=this[e(693)],a=[];for(const i of t[e(411)])if(i.is(e(658)))a[e(446)](this[e(435)](i));else for(let t=0;t<i[e(497)];t++)a[e(446)](new H.Element(e(493),{vid:this[e(693)]++}));const c=this[e(693)];for(let t=o;t<c;t++)this[e(546)][e(683)](t,{userId:n});r[e(529)](s[e(717)],a)}[et(562)](t){const e=et;(t=this[e(524)](t,this[e(580)]))[e(447)]();const i=null===t[e(677)]?null:t[e(677)]||this[e(709)][e(561)][e(590)](e(547)).me.id,s=t[e(610)](),n=s[e(537)],r=s[e(717)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(625)](e);r.is(a(658),a(493))?s[a(683)](r[a(557)](a(517)),{userId:i}):(s[a(683)](r[a(557)](a(533)),{userId:i}),t(s,r,0,r[a(433)]),s[a(683)](r[a(557)](a(613)),{userId:i}))}}(this[e(546)],n,r,r+t[e(599)])}[et(527)](t){const e=et,i=null===(t=this[e(524)](t,this[e(580)]))[e(677)]?null:t[e(677)]||this[e(709)][e(561)][e(590)](e(547)).me.id,s=t[e(644)][e(537)],n=t[e(667)][e(537)],r=s[e(557)](e(613)),o=n[e(557)](e(533));s[e(594)](e(613),n[e(557)](e(613))),n[e(594)](e(613),r),this[e(546)][e(683)](o,{userId:i}),this[e(546)][e(683)](r,{userId:i}),t[e(447)]()}[et(713)](t){const e=et,i=null===(t=this[e(524)](t,this[e(580)]))[e(677)]?null:t[e(677)]||this[e(709)][e(561)][e(590)](e(547)).me.id,s=t[e(705)],n=t[e(676)][e(537)];t[e(447)]();const r=n[e(557)](e(613)),o=t[e(409)][e(508)];if(s){const t=o[e(557)](e(613)),s=n[e(557)](e(613));n[e(594)](e(613),t),o[e(594)](e(613),s),this[e(546)][e(683)](n[e(557)](e(613)),{userId:i}),this[e(546)][e(683)](o[e(557)](e(533)),{userId:i})}else{const t=this[e(693)]++,s=this[e(693)]++;n[e(594)](e(613),t),o[e(594)](e(533),s),o[e(594)](e(613),r),this[e(546)][e(683)](t,{userId:i}),this[e(546)][e(683)](s,{userId:i})}}[et(656)](t){const e=et;if(!t[e(653)])return;const i=(t=this[e(524)](t,this[e(701)]))[e(422)]?t[e(422)][e(663)]:null,s=t[e(528)]?t[e(528)][e(663)]:null;i&&this[e(474)][e(640)](t[e(467)]),s&&this[e(474)][e(683)](t[e(467)],t[e(528)][e(515)]());const n=null===t[e(677)]?null:t[e(677)]||this[e(709)][e(561)][e(590)](e(547)).me.id,r=t[e(467)];if(!this[e(627)][e(575)](r))return void this[e(627)][e(683)](r,{range:t[e(422)],userId:n});const o=this[e(627)][e(590)](r),a=o[e(457)],c=t[e(528)];null==a&&null==c||a&&c&&a[e(666)](c)?this[e(627)][e(640)](t[e(467)]):o[e(408)]=n}[et(506)](t,e){const i=et;this[i(701)][i(575)](t[i(505)])?this[i(701)][i(590)](t[i(505)])[i(494)]=t[i(436)]:(this[i(701)][i(683)](t[i(505)],ut(t[i(505)],!0)),this[i(670)][i(683)](t[i(505)],{}),e&&this[i(580)][i(683)](t[i(505)],ut(t[i(505)],!0)));const s=null===t[i(677)]?null:t[i(677)]||this[i(709)][i(561)][i(590)](i(547)).me.id,n=this[i(570)][i(590)](t[i(505)]);n&&n[i(408)]===s?this[i(570)][i(640)](t[i(505)]):this[i(570)][i(683)](t[i(505)],{userId:s,isAttached:t[i(436)]})}[et(574)](t){const e=et,i=this[e(670)][e(590)](t[e(663)][e(505)]);null===t[e(696)]?delete i[t[e(461)]]:i[t[e(461)]]=t[e(696)]}}function ct(t){const e=et,i=ut(t[e(505)],t[e(645)]());for(const s of t[e(567)]()){const t=s[e(532)](!0);i[e(530)](t)}return i}function ut(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(505)]=t,s[i(494)]=e,s[i(645)]=()=>s[i(494)],s}function lt(t,e,i){const s=et,n=s(637)==t[s(551)]?i[s(583)](t[s(573)],s(700)):i[s(451)](t[s(573)]);return i[s(591)](e,n[s(598)],n[s(622)])}function ht(t,e,i){const s=et,n=s(469)==t[s(551)]?i[s(583)](t[s(573)],0):i[s(716)](t[s(573)]);return i[s(591)](e,n[s(598)],n[s(622)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var Tt=i(959),xt={attributes:{"data-cke":!0}};xt.setAttributes=wt(),xt.insert=kt().bind(null,"head"),xt.domAPI=gt(),xt.insertStyleElement=It();pt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;function Nt(){const t=["form","Name of the revision","keystrokes","set","182YcoAdo","setTemplate","element","revisionNameInputValue","input","ck-revision-history-save-revision-form","focusTracker","945510SGEYTL","optional","revisionName","trim","ck-responsive-form","listenTo","20432EReUBY","render","119334PeZQWO","558IRZWlo","arrowleft","2268910akbXCg","2672zoKXxY","extendTemplate","arrowdown","label","focus","58032FAJdiS","_createRevisionNameInput","reset","fieldView","299GFankc","arrowup","14282543klSmuX","add","arrowright","25wCbpOb","revisionNameInputView","220","value","stopPropagation","locale","12IQFzRK","errorText"];return(Nt=function(){return t})()}const Rt=At;function At(t,e){const i=Nt();return(At=function(t,e){return i[t-=418]})(t,e)}!function(t){const e=At,i=t();for(;;)try{if(315062===-parseInt(e(418))/1*(parseInt(e(454))/2)+-parseInt(e(442))/3+-parseInt(e(448))/4*(-parseInt(e(423))/5)+parseInt(e(450))/6*(-parseInt(e(435))/7)+-parseInt(e(459))/8*(-parseInt(e(451))/9)+-parseInt(e(453))/10+-parseInt(e(420))/11*(-parseInt(e(429))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Nt);class Mt extends ft.View{[Rt(441)];[Rt(433)];[Rt(424)];constructor(e,i){const s=Rt;super(e),this[s(441)]=new t.FocusTracker,this[s(433)]=new t.KeystrokeHandler,this[s(434)](s(438),""),this[s(424)]=this[s(460)](i),this[s(436)]({tag:s(431),attributes:{class:["ck",s(440),s(446)],tabindex:"-1"},children:[this[s(424)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Rt(449)](){const t=Rt;super[t(449)](),(0,ft.submitHandler)({view:this}),this[t(441)][t(421)](this[t(424)][t(437)]),this[t(433)][t(447)](this[t(437)]);const e=e=>e[t(427)]();this[t(433)][t(434)](t(422),e),this[t(433)][t(434)](t(452),e),this[t(433)][t(434)](t(419),e),this[t(433)][t(434)](t(456),e)}[Rt(458)](){const t=Rt;this[t(424)][t(458)]()}get[Rt(444)](){const t=Rt;return this[t(424)][t(462)][t(437)][t(426)][t(445)]()}set[Rt(444)](t){const e=Rt;this[e(424)][e(462)][e(437)][e(426)]=t[e(445)]()}[Rt(461)](){const t=Rt;this[t(424)][t(462)][t(437)][t(426)]="",this[t(424)][t(430)]=null}[Rt(460)](t){const e=Rt,i=new ft.LabeledFieldView(this[e(428)],ft.createLabeledInputText),s=i[e(462)];s[e(455)]({attributes:{maxlength:e(425)}});let n=J(this[e(428)],e(432));return!t&&(n+=" ("+J(this[e(428)],e(443))+")"),i[e(457)]=n,s.on(e(439),(()=>{const t=e;this[t(438)]=s[t(437)][t(426)][t(445)]()})),i}}const Et=Dt;function Vt(){const t=["buttonView","panelView","2730366ahnjes","473oQgOAO","Open revision history","addMany","322826UxQrVZ","_showDialog","500844UMEepS","componentFactory","init","RevisionHistoryUI","revisionName","revisionHistory.requireRevisionName","requires","get","21Ouuwem","showRevisionViewerCallback","isOfficialPlugin","revisionHistory","hide","bind","children","1822456xHrLHM","editing","isPremiumPlugin","saveRevision","Revision history","execute","set","add","_createSaveRevisionFormView","pluginName","Cancel","revisionSave","role","5tJVfaz","_registerMenuComponent","config","340053Qbohls","menuBar:revisionHistory","The revision name cannot be empty.","errorText","revisionNameInputView","697184SnwvaI","reset","editor","Dialog","1393956SZpUNT","render","menuitem","locale","items","isOpen","Save current revision","plugins","30MMoVtb","isReady","isEnabled","delegate","RevisionTracker","submit","isReadOnly","Accept","focus","3emTqtZ","ck-button-action","_saveRevisionFormView","view","menu","show"];return(Vt=function(){return t})()}function Dt(t,e){const i=Vt();return(Dt=function(t,e){return i[t-=122]})(t,e)}!function(t){const e=Dt,i=t();for(;;)try{if(425917===-parseInt(e(154))/1+parseInt(e(192))/2*(-parseInt(e(180))/3)+parseInt(e(159))/4*(-parseInt(e(151))/5)+parseInt(e(188))/6+-parseInt(e(131))/7*(parseInt(e(138))/8)+-parseInt(e(163))/9*(parseInt(e(171))/10)+-parseInt(e(189))/11*(-parseInt(e(123))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Ct extends U.Plugin{static get[Et(147)](){return Et(126)}static get[Et(133)](){return!0}static get[Et(140)](){return!0}static get[Et(129)](){return[rt]}[Et(182)];[Et(125)](){const t=Et,e=this[t(161)],i=e[t(170)][t(130)](t(175));e.ui[t(124)][t(145)](t(134),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(187)][n(137)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(136)](n(173)).to(i,n(172),i,n(173),e,n(177),((t,e,i)=>t&&e&&!i)),r[n(186)][n(144)]({icon:dt.IconHistory,label:J(s,n(142)),tooltip:!0}),u[n(144)]({label:J(s,n(169)),withText:!0,role:n(165)}),u[n(136)](n(173)).to(i,n(172),i,n(173),e,n(177),((t,e,i)=>t&&e&&!i)),u.on(n(143),(()=>this[n(122)]())),h[n(144)]({label:J(s,n(190)),withText:!0,role:n(165)}),h[n(136)](n(173)).to(i,n(172),e,n(177),((t,e)=>t&&!e)),h.on(n(143),(()=>{const t=n;e[t(153)][t(130)](t(134))[t(132)](),r[t(168)]=!1,e[t(139)][t(183)][t(179)]()})),c[n(137)][n(145)](u),l[n(137)][n(145)](h),a[n(150)]=n(184),a[n(167)][n(191)]([c,l]),o[n(145)](a),r})),e.ui[t(124)][t(145)](t(155),(()=>this[t(152)]()))}[Et(152)](){const t=Et,e=this[t(161)],i=e[t(166)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(186)][t(144)]({icon:dt.IconHistory,label:J(i,t(142))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(144)]({label:J(i,t(169))}),o[t(174)](t(143)).to(s),o.on(t(143),(()=>{this[t(122)]()})),r[t(137)][t(145)](o),n[t(167)][t(145)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(144)]({label:J(i,t(190))}),c[t(174)](t(143)).to(s),c.on(t(143),(()=>{const i=t;e[i(153)][i(130)](i(134))[i(132)]()})),a[t(137)][t(145)](c),n[t(167)][t(145)](a),s[t(187)][t(137)][t(145)](n),s}[Et(122)](){const t=Et,e=this[t(161)],i=e[t(166)],s=e[t(170)][t(130)](t(162)),n=e[t(170)][t(130)](t(175));function r(n){const r=t;e[r(153)][r(130)](r(128))&&""===n[r(127)]?n[r(158)][r(157)]=J(i,r(156)):(e[r(170)][r(130)](rt)[r(141)]({name:n[r(127)]}),s[r(135)]())}this[t(182)]||(this[t(146)](),this[t(182)].on(t(176),(()=>r(this[t(182)])))),this[t(182)][t(160)](),s[t(185)]({id:t(149),title:J(i,t(169)),isModal:!0,content:this[t(182)],actionButtons:[{label:J(e[t(166)],t(148)),withText:!0,onExecute:()=>s[t(135)]()},{label:J(e[t(166)],t(178)),class:t(181),withText:!0,onCreate(i){const s=t;i[s(136)](s(173)).to(n,s(172),n,s(173),e,s(177),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(182)])}]})}[Et(146)](){const t=Et,e=this[t(161)],i=e[t(166)];this[t(182)]=new Mt(i,e[t(153)][t(130)](t(128))),this[t(182)][t(164)]()}}const Ft=jt;function jt(t,e){const i=Pt();return(jt=function(t,e){return i[t-=112]})(t,e)}!function(t){const e=jt,i=t();for(;;)try{if(414814===-parseInt(e(118))/1+parseInt(e(126))/2+parseInt(e(132))/3*(parseInt(e(125))/4)+parseInt(e(136))/5+-parseInt(e(124))/6*(-parseInt(e(122))/7)+-parseInt(e(113))/8+parseInt(e(119))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Lt extends ft.View{[Ft(114)];[Ft(130)];constructor(t,e){const i=Ft;super(t),this[i(130)]=e,this[i(114)]=e.id;const s=this[i(135)],n=J(t,e[i(128)][i(131)]?i(133):i(121)==e[i(138)]?i(117):i(134));this[i(123)](i(138),e[i(138)]),this[i(115)]({tag:i(112),attributes:{class:[i(137),i(140),s.to(i(138),(t=>i(120)+t))],tabindex:-1},children:[{tag:i(139),children:[{tag:i(139),attributes:{class:[i(142)]},children:[{text:n}]},{text:" "+e[i(127)][i(141)]}]}]})}[Ft(116)](){const t=Ft;this[t(129)][t(116)]()}}function Pt(){const t=["setTemplate","focus","Added by","424416FvWcdU","2949264kclmYA","ck-revision-change__","add","875OXkGwp","set","11358bdWEqr","1076bhaMpt","665192yZYotD","author","data","element","_model","isSuggestion","3450GxPnuU","Suggested by","Removed by","bindTemplate","2141750iukgPh","ck-annotation","type","span","ck-revision-change","name","ck-revision-change__label","div","6363096HhfWBu","changeId"];return(Pt=function(){return t})()}var Wt=Ut;function zt(){var t=["createdAt","toJSON","5hrRUzU","16zKeMsb","4354208VfBtAy","4857516tBdrtN","data","162972kWeXVp","author","14dhwqoD","set","5938092cHmiIs","24824200RgyCjY","485538lLIPCZ","2803484SgmUBJ","type","rootName"];return(zt=function(){return t})()}function Ut(t,e){var i=zt();return(Ut=function(t,e){return i[t-=221]})(t,e)}!function(t){for(var e=Ut,i=t();;)try{if(594145===parseInt(e(229))/1+parseInt(e(236))/2*(-parseInt(e(223))/3)+-parseInt(e(230))/4*(parseInt(e(235))/5)+-parseInt(e(221))/6+parseInt(e(225))/7*(-parseInt(e(237))/8)+parseInt(e(227))/9+parseInt(e(228))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Zt extends((0,t.ObservableMixin)()){id;[Wt(224)];[Wt(231)];[Wt(222)];[Wt(232)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(224)]=e[i(224)],this[i(231)]=e[i(231)],this[i(222)]=e[i(222)]||{},this[i(232)]=e[i(232)],this[i(226)](i(233),e[i(233)])}[Wt(234)](){var t=Wt;return{id:this.id,authorId:this[t(224)].id,type:this[t(231)],data:this[t(222)],createdAt:this[t(233)]}}}function Ht(){const t=["add","9143600XmvHmD","22172WabjDE","changes","1297566beTdfh","1230635tuFUXj","1515zctOPN","newRevisionId","236259iXoyJN","6ofGvYv","_setChanges","1867912oqHUqp","458hyiLKC","oldRevisionId","115SkyTGh"];return(Ht=function(){return t})()}const $t=qt;function qt(t,e){const i=Ht();return(qt=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=qt,i=t();for(;;)try{if(136477===-parseInt(e(465))/1+-parseInt(e(469))/2*(parseInt(e(463))/3)+-parseInt(e(474))/4*(-parseInt(e(471))/5)+-parseInt(e(466))/6*(parseInt(e(462))/7)+-parseInt(e(468))/8+-parseInt(e(461))/9+parseInt(e(473))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Bt{[$t(464)];[$t(470)];[$t(460)];constructor(e,i){const s=$t;this[s(464)]=e,this[s(470)]=i,this[s(460)]=new t.Collection}[$t(467)](t){const e=$t;for(const i of t)this[e(460)][e(472)](i)}}var Yt=i(536),Jt={attributes:{"data-cke":!0}};Jt.setAttributes=wt(),Jt.insert=kt().bind(null,"head"),Jt.domAPI=gt(),Jt.insertStyleElement=It();pt()(Yt.A,Jt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Gt=Kt;function Kt(t,e){const i=Qt();return(Kt=function(t,e){return i[t-=332]})(t,e)}function Qt(){const t=["splice","attributesBefore","mouseover","getRevisionRootsAttributes","_cleanMarkers","viewItem","isAfter","createRange","attributes","newRevisionId","ck-suggestion-preview-marker-","then","unbindElementFromMarkerName","_removeUnsupportedChanges","elementEnd","collaboration.channelId","from","getAttributes","markerName","attributesAfter","parse","removeAttribute","isNavigationMode","find","change","selection","findIndex","_setDistance","markersStart","set","revision","removeMarker:revision","activeView","368094yYhTxd","updatePosition","detachRoot","_markInsertions","affectsData","addMarker:revision-suggestion:deletion","isInline","parent","_changeView","all","repository","schema","return","markers","_markSuggestions","editing","addMarker:revision","uiElement","_initInteractions","isCollapsed","forward","high","diff","startIndex","_fixObsoleteTags","keys","_update","pairId","init","_markMarkers","removeMarker:revision-suggestion","refresh","execute","locale","get","createPositionFromPath","add","data","getItems","isRemoved","11043126CahYNd","forceDisabled","createRangeIn","modelRange","suggestion:","numberOfChanges","side","distance","conversion","addRevisionData","marked","change:activeChange","getAttribute","getRevision","right","markersEnd","change:numberOfChanges","code","ck-suggestion-marker","mapViewToDom","index","elementToAttribute","activeChange","isOfficialPlugin","config","_step","_removeMissingPairs","isContent","nextPosition","top","removeMarker","isLimit","oldRevisionId","indexOf","_cleanUp","addMarker:revision-suggestion:insertion","_joinTapes","string","markerNameToElements","isEnabled","low","vid","softBreak","children","isBefore","ck-revision-history-root-remove","remove","catch","showPreviousChange","document","revision-start","getLaterVisibleRevision","for","commands","default","range","comment","nodeAfter","getWalker","values","11177vJEMpr","_changeIdToChange","useFillerType","33576rvSaDs","editingDowncast","mapper","_removeRevisionMarkers","flat","-new","abs","revision-viewer","data-revision-","deletions","_refreshStartEndIndex","_findChangeIdFromDomTarget","wrap","view","26MEvkld","ck-suggestion-marker-merge","revision-suggestion","addRevision","isAddSuggestion","createPositionBefore","hasClass","26313235VHJAKT","3xMhKTg","deletion","change:activeView","createUIElement","authors","_makeModelFromTape","domEvent","_threeWayMerge","30dxkCrA","getIndex","isAttached","previousPosition","editor","isBlock","left","map","backward","attachChange","push","merge","getClientRects","_processTape","revisionHistory","_revisions","currentChangeNumber","first","2753729vDzRpZ","ck-suggestion-preview-marker","getChild","vid_end","toViewElement","roots","_makeTape","destroy","type","isEqual","145VjTRpQ","mousedown","isIncorrect","restoreRevisionCallback","isObject","_balloon","pop","change:isReady","highest","span","processor","maxOffset","dataToMarker","plugins","done","length","domConverter","_setConversion","RevisionViewer","loadRevisionData","isAdded","end","_setChanges","_getViewObj","toViewRange","showStack","data-change-id","isRemoveSuggestion","error","revisionHistoryAttachChange","suggestion","WidgetToolbarRepository","requires","POSITIVE_INFINITY","RevisionsRepository","ck-suggestion-marker--active","ck-revision-history-root-add","elementStart","dataDowncast","reconvertMarker","isSuggestion","insert","markerToData","addHighlight","isOnRoot","name","revision-end","sort","_getChangeFromId","getRevisionData","36rBvfUc","diffData","includes","offsetSize","userId","target","isPremiumPlugin","createRevision","endIndex","item","pluginName","ck-revision-history-root-","model","enqueueChange","toViewPosition","element:pre","addClass","changes","slice","consume","compare","vid_start","_markMismatchedRemovedTags","has","_getRevisionsRange","_sortAndFilterDiffChanges","removeClass","createAttributeElement","clear","rootName","bind","getCustomProperty","level","change:isEnabled","_getViewForChange","text","checkAttribute","changeId","isAtEnd","getRootNames","getDomRoot","observeMarkers","isAtStart","revision-comment:","downcastDispatcher","markerToHighlight","forEach","ck-editor__editable__overlay","startsWith","revision:","attribute:vid","insertion","concat","insertions","start","stop","1240cdGuIk","restoreRevision","_makeModelFromViewString","consumable","hasAttribute","revisionHistoryLabel","test","toData","upcast","isReady","enableReadOnlyMode","writer","57365fZcpYW","resolve","addRoot","shift","_data","bottom","setAttribute","ck-revision-history-root--active","listenTo","split","delete","revision-suggestion:","markerRange","ck-suggestion-marker-split","_appendChild","toModel","ck-suggestion-marker-","getRoot","unshift","adapter","bindElementToMarker","_getDiff","nextSibling","element","next","object","showNextChange","filter","_activeViewTarget"];return(Qt=function(){return t})()}!function(t){const e=Kt,i=t();for(;;)try{if(908001===-parseInt(e(354))/1*(parseInt(e(371))/2)+-parseInt(e(379))/3*(-parseInt(e(357))/4)+-parseInt(e(415))/5*(parseInt(e(595))/6)+-parseInt(e(533))/7*(parseInt(e(521))/8)+-parseInt(e(635))/9+parseInt(e(387))/10*(-parseInt(e(405))/11)+parseInt(e(465))/12*(parseInt(e(378))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);const Xt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class te extends U.Plugin{[Gt(605)];[Gt(552)];[Gt(561)];[Gt(603)];[Gt(355)];[Gt(420)];static get[Gt(475)](){return Gt(433)}static get[Gt(658)](){return!0}static get[Gt(471)](){return!0}static get[Gt(447)](){return[Z.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Gt;super(t),this[e(605)]=this[e(391)][e(428)][e(629)](e(449)),this[e(591)](e(657),null),this[e(591)](e(594),null),this[e(561)]=null,this[e(591)](e(617),null),this[e(591)](e(530),!1),this[e(591)](e(333),!0),this.on(e(498),((t,i,s)=>{const n=e;this[n(657)]=null,this[n(594)]=null,this[n(391)][n(610)][n(370)][n(586)]((t=>{const e=n;for(const i of this[e(391)][e(610)][e(370)][e(343)][e(410)])s?t[e(491)](e(512),i):t[e(481)](e(512),i)}))})),this[e(495)](e(584)).to(this,e(657),(t=>null!==t)),this[e(495)](e(403)).to(this,e(530),this,e(617),this,e(657),((t,i,s)=>t&&s?i[e(482)][e(388)](s):0)),this[e(495)](e(640)).to(this,e(530),this,e(617),((t,i)=>t?i[e(482)][e(430)]:0)),this[e(603)]=null,this[e(355)]=new Map,this[e(552)]=null,this[e(420)]=this[e(391)][e(428)][e(629)](ft.ContextualBalloon)}[Gt(623)](){const t=Gt,e=this[t(391)],i=new se(e,{direction:t(395)}),s=new se(e,{direction:t(615)});e[t(347)][t(631)](t(342),i),e[t(347)][t(631)](t(559),s),e[t(347)][t(631)](t(522),new ie(e)),this.on(t(651),(()=>{const e=t;i[e(626)](),s[e(626)]()})),this[t(432)](),this[t(613)](),e[t(531)](t(364)),e[t(428)][t(488)](t(446))&&e[t(428)][t(629)](t(446))[t(636)](t(364))}async[Gt(464)](t){const e=Gt;await this[e(434)](t);const i={};for(const s in t[e(466)]){if(t[e(466)][s][e(396)]&&!t[e(466)][s][e(396)][e(389)])continue;const n=this[e(360)](JSON[e(582)](t[e(466)][s][e(518)])),r=this[e(391)][e(610)][e(370)][e(343)],o=new H.ViewDocumentFragment(r,n[e(394)]((t=>this[e(438)](t))));this[e(391)][e(632)][e(425)][e(356)](e(645)),i[s]=this[e(391)][e(632)][e(425)][e(528)](o),this[e(391)][e(632)][e(425)][e(356)](e(348))}return i}async[Gt(565)](t){const e=Gt;await this[e(434)](t);const i={};for(const s in t[e(466)])t[e(466)][s][e(396)]&&!t[e(466)][s][e(396)][e(389)]||(i[s]=t[e(466)][s][e(581)]||{});return i}[Gt(360)](t){const e=Gt;return(t=t[e(560)]((t=>!t[e(460)]||e(344)!==t[e(460)]&&e(461)!==t[e(460)])))[e(511)]((t=>{const i=e;i(672)!=typeof t&&(t[i(337)]=this[i(360)](t[i(337)]),t[i(570)]=t[i(570)][i(560)]((t=>!t[0][i(513)](i(365)))))})),t}async[Gt(485)](t,e,i=!1){const s=Gt;if(!this[s(333)])return;const n=this[s(617)],r=this[s(605)],o=s(672)==typeof t?r[s(648)](t):t,a=s(672)==typeof e?r[s(648)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(617)]&&this[s(617)][s(571)]===c&&this[s(617)][s(667)]===u)return Promise[s(534)]();this[s(530)]=!1,this[s(594)]=null,this[s(657)]=null,this[s(617)]=new Bt(c,u);const l=this[s(489)](o,a,!0)[s(394)]((t=>this[s(434)](t)));return l[s(397)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(604)](l)[s(573)]((()=>{const t=s;if(!this[t(333)])return;this[t(669)]();const e=this[t(554)](c,u);for(const i of e[t(482)])this[t(355)][t(591)](i.id,i);this[t(391)][t(477)][t(478)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(391)][s(477)][s(343)][s(504)]())i[s(597)](t);for(const t of Object[s(620)](e[s(477)])){const n=i[s(535)](t);for(const r of Object[s(620)](e[s(570)][t]))i[s(539)](r,e[s(570)][t][r],n);i[s(456)](e[s(477)][t],n,0)}})),this[t(617)][t(437)](this[t(490)](e[t(482)])),this[t(530)]=!0}))[s(341)]((t=>{const e=s;console[e(443)](t),this[e(669)](),n&&(this[e(617)]=n),this[e(530)]=!0}))}[Gt(644)](t,e){const i=Gt,s=this[i(605)][i(472)](t);return s.on(i(621),((t,i,n)=>e(i,n,s))),this[i(605)][i(374)](s),s}[Gt(434)](t){const e=Gt;if(!t||t[e(466)])return Promise[e(534)]();{const i=this[e(391)][e(659)][e(629)](e(577));return this[e(552)][e(648)]({channelId:i,revisionId:t.id})[e(573)]((i=>{const s=e;t[s(621)]({diffData:i[s(466)]},!0)}))}}[Gt(669)](){const t=Gt;this[t(657)]=null,this[t(566)](),this[t(603)]&&this[t(603)][t(412)](),this[t(603)]=null,this[t(355)][t(493)](),this[t(391)][t(477)][t(478)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(391)][i(477)][i(343)][i(504)]())e[i(597)](t)}))}[Gt(490)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(391)][e(477)][e(343)][e(504)]()){const n=this[e(391)][e(610)][e(370)][e(505)](t);if(!n)continue;const r=n[e(399)]()[e(474)](0);r&&(i[e(397)](t),s[e(591)](t,r))}return i[e(462)](((t,i)=>{const n=e,r=s[n(629)](t),o=s[n(629)](i);return r.y-o.y||r.x-o.x})),(t=t[e(560)]((t=>i[e(467)](t[e(494)]))))[e(462)](((t,s)=>i[e(668)](t[e(494)])-i[e(668)](s[e(494)]))),t}[Gt(411)](t){const e=Gt,i=Array[e(578)](t[e(608)])[e(560)]((([t,i])=>t[e(513)](e(514))&&!i[e(614)])),s=Array[e(578)](this[e(391)][e(477)][e(637)](t)[e(352)]({singleCharacters:!0}));if(0!=i[e(430)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(542)](":");if(n[e(436)][e(414)](t[e(663)])&&i[e(536)](),(t[e(390)][e(414)](n[e(519)])||t[e(390)][e(568)](n[e(519)]))&&(e(516)==r?t[e(435)]={userId:o}:e(380)==r&&(t[e(634)]={userId:o})),0==i[e(430)])break}return s}[Gt(367)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(430)];s++)e(500)===t[s][e(413)]?(t[s][e(474)][e(618)]=s,t[s][e(474)][e(473)]=s):(e(452)===t[s][e(413)]?t[s][e(474)][e(618)]=s:e(576)===t[s][e(413)]&&(t[s][e(474)][e(473)]=s),i[e(591)](t[s].id,s));for(const s of i[e(353)]())e(452)===t[s][e(413)]?t[s][e(474)][e(473)]=i[e(629)](t[s][e(622)]):e(576)===t[s][e(413)]&&(t[s][e(474)][e(618)]=i[e(629)](t[s][e(622)]))}[Gt(400)](t){const e=Gt;for(let i=0;i<t[e(430)];i++){if(e(452)===t[i][e(413)])t[i][e(474)][e(618)]=i;else if(e(576)===t[i][e(413)]){t[i][e(474)][e(473)]=i;const s=t[i][e(474)][e(618)];t[s][e(622)]=t[i].id,t[i][e(622)]=t[s].id}else t[i][e(474)][e(618)]=i,t[i][e(474)][e(473)]=i,t[i][e(622)]=null;t[i][e(590)]||(t[i][e(590)]=[],t[i][e(650)]=[])}}[Gt(598)](t,e){const i=Gt,s=t[i(560)]((t=>!t[i(435)]));for(let t=0;t<e[i(430)];t++)e[t][i(435)]&&(s[t][i(435)]=e[t][i(435)])}[Gt(523)](t){const e=Gt,i=JSON[e(582)](t),s=this[e(391)][e(610)][e(370)][e(343)],n=new H.ViewDocumentFragment(s,i[e(394)]((t=>this[e(438)](t))));return this[e(391)][e(632)][e(548)](n)}[Gt(438)](t){const e=Gt,i=this[e(391)][e(610)][e(370)][e(343)];if(e(672)==typeof t)return new H.ViewText(i,t);{const s=t[e(337)][e(394)]((t=>this[e(438)](t)));return new(Xt[t[e(413)]]||H.ViewElement)(i,t[e(460)],t[e(570)],s)}}[Gt(554)](t,e=null){const i=Gt,s=this[i(605)][i(648)](t),n=e?this[i(605)][i(648)](e):null,r=this[i(489)](s,n),o=r[r[i(430)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(430)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(620)](e[i(466)]))if(e[i(466)][t][i(396)]){const s=e[i(466)][t][i(396)];s[i(389)]?(u[i(631)](t),l[i(488)](t)&&l[i(629)](t)[i(469)]==s[i(469)]?l[i(543)](t):l[i(591)](t,s)):l[i(488)](t)?(u[i(543)](t),l[i(543)](t)):(u[i(631)](t),l[i(591)](t,s))}else u[i(631)](t)}for(const t of u){const e=l[i(488)](t)&&!l[i(629)](t)[i(389)];let s=e?r[i(430)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(466)][t]){const s=e?o[i(466)][t][i(563)]:o[i(466)][t][i(581)];c[i(570)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(477)]={};for(const e of t[i(383)])a[i(591)](e.id,e);for(const e of u){const s=t[i(466)][e]?t[i(466)][e][i(518)]:"[]",n=t[i(466)][e]?t[i(466)][e][i(366)]:"[]";t[i(477)][e]={insertions:this[i(523)](s),deletions:this[i(523)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(578)](s[i(477)][t][i(518)][i(608)])[i(560)]((([t])=>!t[i(513)](i(514)))));let h=0;for(const o of r){const r=this[i(411)](o[i(477)][t][i(518)]);o==s?(e=r,n=e[i(430)],e[i(511)]((t=>{t.id=h++})),this[i(400)](e)):this[i(598)](e,r);const a=e[i(560)]((t=>!t[i(435)]))[i(394)]((t=>t.id));let c=0;const l=this[i(411)](o[i(477)][t][i(366)]);l[i(511)]((t=>{t[i(634)]?t.id=n++:t.id=a[c++]})),this[i(400)](l),this[i(589)](e,i(435)),this[i(589)](l,i(634)),o==s&&this[i(624)](e,u),e=this[i(671)](e,l),this[i(367)](e),this[i(589)](e,i(634))}e=e[i(560)]((t=>!(t[i(435)]&&t[i(634)])));const d=new Map(o[i(477)][t][i(366)][i(608)]),f=new Set(u[i(620)]());for(const t of d[i(620)]())f[i(543)](t);this[i(609)](e,f),this[i(619)](e),e=this[i(661)](e),e=this[i(487)](e),e=this[i(575)](e);const{root:m,changes:p}=this[i(384)](e,a,t);c[i(477)][t]=m;const v=l[i(629)](t);if(v){const e=a[i(629)](v[i(469)]),s=new Zt({author:e,type:v[i(389)]?i(631):i(340),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(551)](s),c[i(570)][t][i(444)]=s.id}c[i(482)]=c[i(482)][i(517)](p)}return c}[Gt(624)](t,e){const i=Gt;for(let s=0;s<t[i(430)];s++)for(const[n,r]of e)r[i(519)][i(414)](t[s][i(390)])&&t[s][i(590)][i(397)](n),r[i(436)][i(414)](t[s][i(663)])&&t[s][i(650)][i(397)](n)}[Gt(671)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(430)]||r<e[i(430)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(397)](o);else if(a[i(634)]&&o[i(435)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(386)](t,n,e,r);s=s[i(517)](o),n=a,r=c}else a[i(634)]?(r++,s[i(397)](a)):(n++,s[i(397)](o))}return s}[Gt(609)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(430)];o++){for(let r=0;r<t[o][i(590)][i(430)];r++){const a=t[o][i(590)][r];if(!e[i(488)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(373)!=c||i(516)!=u&&i(380)!=u||(s[i(551)]({type:u,name:a,userId:l}),t[o][i(590)][i(562)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(650)][i(430)];r++){const a=t[o][i(650)][r];if(!e[i(488)](a))continue;const{group:c,type:u}=n(a);if(i(373)!=c||i(516)!=u&&i(380)!=u)continue;t[o][i(650)][i(562)](r,1),r--;const l=s[i(588)]((t=>t[i(460)]==a));l>-1&&s[i(562)](l,1)}}function n(t){const e=i,s=t[e(542)](":");return{group:s[0],type:s[1],subType:s[e(430)]>=5?s[2]:null,id:s[e(430)]<5?s[2]:s[3],authorId:s[e(430)]<5?s[3]:s[4],markerCount:6==s[e(430)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(430)];i++){if(t[e(435)]&&e(516)==s[i][e(413)])return t[e(375)]=s[i],void delete t[e(435)];if(!t[e(435)]&&!t[e(634)]&&e(380)==s[i][e(413)])return void(t[e(442)]=s[i])}}}[Gt(589)](t,e){const i=Gt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(591)](o.id,s);for(let s=0;s<t[i(430)];s++){if(i(634)==e&&t[s][i(435)]||i(435)==e&&t[s][i(634)])continue;if(i(500)==t[s][i(413)]){t[s][i(642)]=0;continue}const n=r[i(629)](t[s][i(622)]),o=r[i(629)](t[s].id);t[s][i(642)]=n-o}}[Gt(489)](t,e,i=!1){const s=Gt,n=[];let r=this[s(605)][s(388)](t),o=this[s(605)][s(388)](e);for(-1==o&&(o=this[s(605)][s(402)][s(430)],i=!1);r<o;)n[s(397)](this[s(605)][s(648)](r)),r++;return i&&n[s(397)](this[s(605)][s(648)](r)),n}[Gt(386)](t,e,i,s){const n=Gt,r=this[n(391)][n(477)][n(606)];let o=e;for(;t[o]&&t[o][n(435)];)o++;let a=s;for(;i[a]&&i[a][n(634)];)a++;u(t,e,o),u(i,s,a);const c=i[n(483)](s,a)[n(517)](t[n(483)](e,o));return c[n(462)](((t,e)=>t[n(641)]!=e[n(641)]?t[n(641)]-e[n(641)]:t[n(497)]!=e[n(497)]?t[n(497)]-e[n(497)]:t[n(642)]!=e[n(642)]?e[n(642)]-t[n(642)]:!!t[n(435)]!=!!e[n(435)]?-1==t[n(641)]||0==t[n(641)]?t[n(435)]?-1:1:t[n(435)]?1:-1:t[n(655)]-e[n(655)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(448)],c=!0;for(let n=e;n<i;n++)if(r[s(601)](t[n][s(474)])||(c=!1),t[n][s(474)][s(618)]<e&&(o=n),t[n][s(474)][s(473)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(641)]=n<=o?-1:n<a?0:1,t[n][s(655)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(642)]?t[i][s(497)]=u:(u++,t[i][s(497)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(641)]&&(t[n][s(497)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(642)]?t[e][s(497)]=u:(u--,t[e][s(497)]=u,u--)}}[Gt(619)](t){const e=Gt,i=new Map,s=this[e(391)][e(477)][e(606)];for(let n=1;n<t[e(430)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(500)==c[e(413)])continue;if(c[e(413)]!=u[e(413)])continue;if(!s[e(392)](u[e(474)])||s[e(666)](u[e(474)]))continue;if(!s[e(392)](c[e(474)])||s[e(666)](c[e(474)]))continue;if((t[n][e(435)]||t[n][e(375)])&&t[n-1][e(634)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(634)]||!t[n-1][e(435)]&&!t[n-1][e(375)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(497)]==o[e(497)],h=Math[e(363)](r[e(497)])<Math[e(363)](o[e(497)])&&0==o[e(642)];(l||h)&&(i[e(591)](o.id,r.id),t[e(562)](a,1),n--,r[e(435)]=!1)}for(let s=0;s<t[e(430)];s++)i[e(488)](t[s][e(622)])&&(t[s][e(622)]=i[e(629)](t[s][e(622)]))}[Gt(661)](t){const e=Gt,i=new Set(t[e(394)]((t=>t.id)));for(let s=0;s<t[e(430)];s++)i[e(488)](t[s][e(622)])||0==t[s][e(642)]||(t[s][e(417)]=!0);return t[e(560)]((t=>!t[e(417)]))}[Gt(487)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(430)];s++){if(i[e(488)](t[s].id)&&t[s][e(634)]&&(t[s][e(417)]=!0),t[s][e(417)])continue;if(0==t[s][e(642)])continue;if(e(452)!=t[s][e(413)])continue;if(null==t[s][e(622)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(622)];)e(452)==t[n][e(413)]?r++:e(576)==t[n][e(413)]&&r--,n++;if(0!=r)if(t[s][e(634)])t[s][e(417)]=!0;else for(;n!=s;)t[n][e(634)]&&0!=t[n][e(642)]&&(t[n][e(417)]=!0,i[e(631)](t[n][e(622)])),n--}return t[e(560)]((t=>!t[e(417)]))}[Gt(575)](t){const e=Gt,i=this[e(391)][e(477)][e(606)];for(let s=0;s<t[e(430)];s++){if(!(t[s][e(435)]||t[s][e(375)]||t[s][e(634)]||t[s][e(442)]))continue;if(0==t[s][e(642)])continue;const n=t[s][e(474)];i[e(392)](n)||i[e(666)](n)||(t[s][e(435)]&&delete t[s][e(435)],t[s][e(375)]&&delete t[s][e(375)],t[s][e(442)]&&delete t[s][e(442)],t[s][e(634)]&&(t[s][e(417)]=!0))}return t[e(560)]((t=>!t[e(417)]))}[Gt(384)](t,e,i){const s=Gt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(391)][s(477)],c=a[s(606)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(430)];e++)if(s(452)===t[e][s(413)]){t[e][s(390)]=a[s(630)](n,f);const i=new H.Element(t[e][s(474)][s(460)],t[e][s(474)][s(579)]());u[0][s(547)](i),f[s(397)](0),u[s(551)](i),t[e][s(663)]=a[s(630)](n,f)}else s(576)===t[e][s(413)]?(u[s(536)](),t[e][s(390)]=a[s(630)](n,f),f[s(421)](),f[f[s(430)]-1]++,t[e][s(663)]=a[s(630)](n,f)):(t[e][s(390)]=a[s(630)](n,f),d?d[s(537)]+=t[e][s(474)][s(632)]:d=new H.Text(t[e][s(474)][s(632)],t[e][s(474)][s(579)]()),t[e+1]&&s(500)===t[e+1][s(413)]&&v(d,t[e+1][s(474)])||(u[0][s(547)](d),d=null),f[f[s(430)]-1]+=t[e][s(474)][s(468)],t[e][s(663)]=a[s(630)](n,f));for(let e=0;e<t[s(430)];e++){const i=t[e][s(390)],n=t[e][s(663)];for(const n of t[e][s(590)])o[s(591)](n,{start:i,end:null});m(s(442),e,i,n),m(s(375),e,i,n),m(s(634),e,i,n),m(s(435),e,i,n);for(const i of t[e][s(650)])o[s(629)](i)[s(436)]=n}for(const[t,e]of o){const i=this[s(391)][s(477)][s(569)](e[s(519)],e[s(436)]);n[s(608)][s(591)](t,i)}return r[s(462)](((t,e)=>{const i=s,r=n[i(608)][i(629)](i(514)+t.id),o=n[i(608)][i(629)](i(514)+e.id);return r[i(519)][i(338)](o[i(519)])?-1:r[i(519)][i(568)](o[i(519)])?1:r[i(436)][i(338)](o[i(436)])?-1:r[i(436)][i(568)](o[i(436)])?1:i(631)===t[i(413)]?-1:1})),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(469)]:null,d=i===t[o(430)]-1,f=h[e][0],m=c[o(419)](t[i][o(474)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(436)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(469)]!==u&&(l[e][o(436)]=n,f&&f[o(469)]===l[e][o(469)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(452)!==t[i][o(413)]||f&&f[o(469)]===u||h[e][o(551)]({userId:u,object:t[i][o(474)],change:l[e]}),o(576)===t[i][o(413)]&&f&&f[o(558)]===t[i][o(474)]&&(h[e][o(536)](),l[e]=f[o(586)])),l[e]&&d&&(l[e][o(436)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(474)],f=a[h(606)][h(392)](d)&&!a[h(606)][h(666)](d),m=t[h(351)]==o[h(602)]&&o[h(507)];if(f&&m)return;const p=a[h(569)](t,o),v=e[h(629)](u),g=new Zt({author:v,type:h(435)==l||h(375)==l?h(631):h(340),data:{isSuggestion:h(375)==l||h(442)==l},createdAt:new Date,rootName:i});r[h(397)](g),n[h(608)][h(591)](h(514)+g.id,p)}function v(t,e){const i=s,n=t[i(579)](),r=e[i(579)]();for(const t of n){if(t[1]!==e[i(647)](t[0]))return!1;r[i(557)]()}return r[i(557)]()[i(429)]}}[Gt(432)](){const t=Gt;this[t(391)][t(643)][t(346)](t(529))[t(427)]({view:t(592)}),this[t(391)][t(643)][t(346)](t(358))[t(510)]({model:t(592),view:e=>{const i=t,s=e[i(580)][i(542)](":")[1],n=this[i(463)](s);if(!n)return null;const r=i(631)==n[i(413)]?i(516):i(380),o=[i(653),i(549)+r];return n[i(632)][i(455)]&&o[i(397)](i(549)+r+i(362)),this[i(657)]==n&&o[i(397)](i(450)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(391)][t(643)][t(346)](t(529))[t(631)]((e=>{const i=t;e.on(i(480),((t,e,s)=>{const n=i,r=e[n(567)][n(407)](0);if(!r||!r.is(n(556),n(652)))return;if(!s[n(524)][n(484)](r,{attributes:[n(486),n(408)]}))return;const o=e[n(638)][n(519)][n(351)];s[n(532)][n(539)](n(486),r[n(647)](n(486)),o),s[n(532)][n(539)](n(408),r[n(647)](n(408)),o)}),{priority:i(334)})})),this[t(391)][t(643)][t(346)](t(529))[t(631)]((e=>{const i=t;e.on(i(556),((t,e,s)=>{const n=i;if(!s[n(524)][n(484)](e[n(567)],{attributes:[n(486),n(408)]}))return;if(e[n(638)][n(614)])return;const r=e[n(638)][n(519)][n(351)];r[n(525)](n(486))||r[n(525)](n(335))||(s[n(532)][n(539)](n(486),e[n(567)][n(647)](n(486)),r),s[n(532)][n(539)](n(408),e[n(567)][n(647)](n(408)),r))}),{priority:i(334)})})),this[t(391)][t(643)][t(346)](t(529))[t(656)]({view:{name:t(424),attributes:{vid:!0}},model:{key:t(335),value:e=>e[t(647)](t(335))}}),this[t(391)][t(477)][t(606)].on(t(501),((e,[,i])=>{const s=t;[s(486),s(408),s(335)][s(467)](i)&&(e[s(607)]=!0,e[s(520)]())}),{priority:t(423)}),this[t(391)][t(643)][t(346)](t(453))[t(631)]((e=>{const i=t;e.on(i(515),((t,e,s)=>{const n=i;if(" "!=e[n(474)][n(632)]||e[n(474)][n(602)][n(426)]>1)return;if(!s[n(524)][n(484)](e[n(474)],t[n(460)]))return;const r=s[n(532)],o=s[n(359)][n(439)](e[n(349)]);r[n(369)](o,r[n(492)](n(424)))}))})),this[t(391)][t(643)][t(346)](t(453))[t(457)]({model:t(592)}),this[t(391)][t(610)][t(509)].on(t(611),function(e){const i=t,s=e[i(428)][i(629)](i(433));return(t,n,r)=>{const o=i,a=n[o(580)][o(542)](":")[1],c=s[o(463)](a);if(!c)return null;const u=o(631)==c[o(413)]?o(542):o(398);if(!r[o(524)][o(527)](n[o(545)],t[o(460)]))return;const l=n[o(545)][o(352)](),h=n[o(545)][o(519)],d=e[o(477)][o(606)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(474)];p=p||d[o(662)](e);const i=r[o(359)][o(409)](e);if(i&&i[o(496)](o(458)))return;o(576)==t[o(413)]&&d[o(392)](e)&&!d[o(666)](e)&&(e[o(555)]||h[o(503)]?f&&f[o(602)]==e||(f=e,g(t[o(390)]),v=!0):m=m||t[o(390)])}function g(t){const e=o,i=r[e(532)][e(382)](e(424),{class:e(549)+u}),a=r[e(359)][e(479)](t);c[e(632)][e(455)]&&r[e(532)][e(481)](e(549)+u+e(362),i),s[e(657)]==c&&r[e(532)][e(481)](e(450),i),r[e(532)][e(456)](a,i),r[e(359)][e(553)](i,n[e(580)])}p||v||!m||g(m)}}(this[t(391)]),{priority:t(616)}),this[t(391)][t(610)][t(509)].on(t(593),((e,i,s)=>{const n=t,r=s[n(359)][n(332)](i[n(580)]);if(r)for(const t of r)(t[n(377)](n(546))||t[n(377)](n(372)))&&(s[n(359)][n(574)](t,i[n(580)]),s[n(532)][n(340)](t))}),{priority:t(616)}),this[t(391)][t(610)][t(509)].on(t(611),((e,i,s)=>{const n=t,r=i[n(580)][n(542)](":")[1],o=this[n(463)](r);if(!o)return null;const a=n(631)==o[n(413)]?n(542):n(398);if(s[n(524)][n(527)](i[n(545)],e[n(460)]))for(const t of i[n(545)][n(633)]()){if(!t.is(n(556),n(336)))continue;const e=s[n(532)][n(382)](n(424),{class:n(549)+a}),r=s[n(359)][n(479)](this[n(391)][n(477)][n(376)](t));o[n(632)][n(455)]&&s[n(532)][n(481)](n(549)+a+n(362),e),this[n(657)]==o&&s[n(532)][n(481)](n(450),e),s[n(532)][n(456)](r,e),s[n(359)][n(553)](e,i[n(580)])}}),{priority:t(616)}),this[t(391)][t(477)][t(343)].on(t(586),(()=>{const e=t;this[e(391)][e(610)][e(370)][e(586)]((t=>{const i=e;for(const e of this[i(391)][i(477)][i(343)][i(504)]()){const s=this[i(391)][i(477)][i(343)][i(550)](e),n=this[i(391)][i(610)][i(370)][i(343)][i(550)](e);if(n){const e=s[i(647)](i(444));if(t[i(583)](i(441),n),t[i(491)](i(451),n),t[i(491)](i(339),n),t[i(491)](i(540),n),e){const s=this[i(463)](e);if(!s)return null;t[i(539)](i(441),e,n),t[i(481)](i(476)+s[i(413)],n),this[i(657)]==s&&t[i(481)](i(540),n)}}}}))})),this[t(391)][t(643)][t(346)](t(529))[t(427)]({view:t(350),model:e=>t(508)+e,converterPriority:t(423)}),this[t(391)][t(643)][t(346)](t(529))[t(427)]({view:t(445),model:e=>t(544)+e,converterPriority:t(423)}),this[t(391)][t(643)][t(346)](t(453))[t(457)]({model:t(373),view:e=>({name:t(639)+e,group:t(373)}),converterPriority:t(423)}),this[t(391)][t(643)][t(346)](t(358))[t(510)]({model:t(373),view:e=>{const i=t,s=e[i(580)][i(542)](":")[1];return i(516)!=s&&i(380)!=s?null:{classes:[i(406),i(572)+s]}}}),this[t(391)][t(610)][t(509)].on(t(600),ee(this[t(391)],t(398)),{priority:t(616)}),this[t(391)][t(610)][t(509)].on(t(670),ee(this[t(391)],t(542)),{priority:t(616)}),this[t(391)][t(610)][t(509)].on(t(625),((e,i,s)=>{const n=t,r=s[n(359)][n(332)](i[n(580)]);if(r)for(const t of r)t.is(n(612))&&(s[n(359)][n(574)](t,i[n(580)]),s[n(532)][n(340)](t))}),{priority:t(616)})}[Gt(463)](t){const e=Gt;return this[e(355)][e(629)](t)}[Gt(499)](t){const e=Gt;return this[e(603)]&&this[e(603)][e(412)](),this[e(603)]=new Lt(this[e(391)][e(628)],t),this[e(603)]}[Gt(613)](){const t=Gt;this[t(391)][t(477)][t(343)][t(587)][t(506)](t(592)),this.on(t(381),((e,i,s,n)=>{const r=t;n&&this[r(420)][r(340)](n),s&&(this[r(420)][r(631)]({view:s,stackId:r(526),position:{target:()=>{const t=r,e=this[t(391)][t(610)],i=this[t(463)](s[t(502)]);let n;if(i[t(632)][t(459)]){const s=e[t(370)][t(505)](i[t(494)]);n=Array[t(578)](s[t(399)]())}else{const i=this[t(391)][t(477)][t(608)][t(629)](t(514)+s[t(502)]);n=Array[t(578)](e[t(359)][t(332)](i[t(460)]))[t(394)]((i=>e[t(370)][t(431)][t(654)](i)))[t(394)]((e=>Array[t(578)](e[t(399)]())))[t(361)]()}return this[t(561)]&&n[t(585)]((e=>e[t(664)]-3<=this[t(561)].y&&e[t(538)]+3>=this[t(561)].y&&e[t(393)]-3<=this[t(561)].x&&e[t(649)]+3>=this[t(561)].x))||n[0]}}}),this[r(420)][r(440)](r(526)))})),this.on(t(646),((e,i,s,n)=>{const r=t;this[r(594)]=s?this[r(499)](s):null,this[r(391)][r(477)][r(586)]((()=>{const t=r,e=this[t(391)][t(610)];n&&(n[t(632)][t(459)]?e[t(370)][t(586)]((i=>{const s=t;i[s(491)](s(540),e[s(370)][s(343)][s(550)](n[s(494)]))})):e[t(454)](t(514)+n.id)),s&&(s[t(632)][t(459)]?e[t(370)][t(586)]((i=>{const n=t;i[n(481)](n(540),e[n(370)][n(343)][n(550)](s[n(494)]))})):e[t(454)](t(514)+s.id))}))})),this[t(541)](this[t(391)][t(610)][t(370)][t(343)],t(564),((e,i)=>{const s=t;if(this[s(657)])return;const n=this[s(368)](i[s(470)]),r=this[s(355)][s(629)](n);r?(this[s(561)]={x:i[s(385)].x,y:i[s(385)].y},this[s(594)]=this[s(499)](r)):(this[s(561)]=null,this[s(594)]=null)})),this[t(541)](this[t(391)][t(610)][t(370)][t(343)],t(416),((e,i)=>{const s=t,n=this[s(368)](i[s(470)]),r=this[s(355)][s(629)](n);r?(this[s(561)]={x:i[s(385)].x,y:i[s(385)].y},r===this[s(657)]?this[s(420)][s(596)]():this[s(657)]=r):(this[s(561)]=null,this[s(657)]=null)}))}[Gt(368)](t){const e=Gt;do{const i=t[e(647)](e(441));if(i)return i;t=t[e(602)]}while(t);return null}[Gt(566)](){const t=Gt;this[t(391)][t(477)][t(586)]((e=>{const i=t;for(const t of this[i(391)][i(477)][i(608)])e[i(665)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(524)][r(527)](s[r(545)],i[r(460)]))return;const o=s[r(545)][r(352)](),a=s[r(545)][r(519)],c=t[r(477)][r(606)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(474)];h=h||c[r(662)](e);const i=n[r(359)][r(409)](e);if(i&&i[r(496)](r(458)))return;r(576)==t[r(413)]&&c[r(392)](e)&&!c[r(666)](e)&&(e[r(555)]||a[r(503)]?u&&u[r(602)]==e||(u=e,f(t[r(390)]),d=!0):l=l||t[r(390)])}function f(t){const i=r,o=n[i(359)][i(479)](t),a=n[i(532)][i(382)](i(424),{class:i(572)+e});n[i(532)][i(456)](o,a),n[i(359)][i(553)](a,s[i(580)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Gt;super(t);const i=t[e(428)][e(629)](te);this[e(599)]=!1,this[e(541)](i,e(422),(()=>this[e(626)]())),this[e(541)](i,e(498),(()=>this[e(626)]()))}[Gt(627)](){const t=Gt,e=this[t(391)],i=e[t(428)][t(629)](te),s=i[t(530)]?i[t(617)][t(571)]:null;e[t(659)][t(629)](t(401))[t(418)](s)}[Gt(626)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(391)][t(428)][t(629)](te),r=n&&s[t(345)](n[t(571)]);this[t(333)]=e&&i&&Boolean(r)}}class se extends U.Command{[Gt(660)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(428)][i(629)](te);this[i(599)]=!1,this[i(660)]=i(615)===e?1:-1,this[i(541)](s,i(422),(()=>this[i(626)]())),this[i(541)](s,i(498),(()=>this[i(626)]())),this[i(541)](s,i(646),(()=>this[i(626)]()))}[Gt(627)](){const e=Gt,i=this[e(391)],s=i[e(428)][e(629)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(657)]=n?s[e(617)][e(482)][e(629)](r+this[e(660)]):s[e(617)][e(482)][e(404)],s[e(657)][e(632)][e(459)])o=i[e(610)][e(370)][e(505)](s[e(657)][e(494)]);else{const t=i[e(477)][e(608)][e(629)](e(514)+s[e(657)].id);o=(0,Z.getMarkerDomElement)(i[e(610)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(626)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(391)][t(428)][t(629)](te);this[t(333)]=!!(r&&n&&s)&&(!e||(1===this[t(660)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(t,e){const i=ae();return(oe=function(t,e){return i[t-=278]})(t,e)}function ae(){const t=["isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","4284098efIqUZ","Total","Loading...","X_OF_Y_CHANGES","numberOfChanges","13252ssnwUm","execute","134415CCGCMZ","div","843fOcXFh","isNavigationMode","5938490BdxKML","currentChangeNumber","fire","ck-revision-history-ui","setTemplate","forward","1881496kDzzJe","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation","bindTemplate","Show previous change","890210wSJjZs","EDIT_X_OF_Y_REVISIONS","30808242dMzYed","bind","backward","isEnabled","_statusText","6JEzVmv","Show next change","isReady","ck-revision-history-ui__changes-navigation__label","_isStatusLabelVisible","No changes","span","ck-hidden","set","NUMBER_OF_CHANGES"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(767976===-parseInt(e(284))/1+parseInt(e(300))/2+-parseInt(e(286))/3*(parseInt(e(282))/4)+-parseInt(e(288))/5*(parseInt(e(307))/6)+-parseInt(e(319))/7+-parseInt(e(294))/8+parseInt(e(302))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends ft.View{constructor(t){const e=oe;super(t);const i=this[e(298)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(315)](e(287),!1),this[e(315)](e(309),!1),this[e(315)](e(289),0),this[e(315)](e(281),0),this[e(315)](e(317),!1),this[e(315)](e(295),!1),this[e(303)](e(311)).to(this,e(309),this,e(281),((t,e)=>t&&e>0)),this[e(303)](e(306)).to(this,e(309),this,e(289),this,e(281),this,e(287),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(279));if(!n)return J(t,o(312));const a=J(t,o(316),n);return r?J(t,o(280),[s+1,n]):a})),s[e(315)]({label:J(t,e(299)),tooltip:!0,icon:dt.IconChevronUp}),n[e(315)]({label:J(t,e(308)),tooltip:!0,icon:dt.IconChevronDown}),s[e(303)](e(305)).to(this,e(295)),n[e(303)](e(305)).to(this,e(317)),s.on(e(283),(()=>this[e(290)](e(283),e(304)))),n.on(e(283),(()=>this[e(290)](e(283),e(293)))),this[e(292)]({tag:e(285),attributes:{class:["ck",e(291),e(297)]},children:[{tag:e(313),attributes:{class:[e(296)]},children:[{tag:e(313),attributes:{class:[e(310),i.if(e(311),e(314),(t=>!t))]},children:[{text:i.to(e(287),(i=>i?J(t,e(301))+": ":J(t,e(278))+": "))}]},{text:i.to(e(306))}]},new ft.ToolbarSeparatorView,{tag:e(285),attributes:{class:[e(318)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=de;function de(t,e){const i=pe();return(de=function(t,e){return i[t-=199]})(t,e)}!function(t){const e=de,i=t();for(;;)try{if(228464===-parseInt(e(204))/1+parseInt(e(218))/2*(parseInt(e(207))/3)+parseInt(e(213))/4+parseInt(e(219))/5*(-parseInt(e(223))/6)+-parseInt(e(222))/7*(-parseInt(e(203))/8)+-parseInt(e(215))/9+parseInt(e(212))/10*(-parseInt(e(201))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const fe=he(216);class me extends U.Plugin{static get[he(205)](){return he(217)}static get[he(214)](){return!0}static get[he(209)](){return!0}[he(199)](){const t=he,e=this[t(224)][t(202)][t(221)];e[t(206)]((i=>{const s=t;for(const t of e[s(211)][s(220)])i[s(208)](fe,t)}))}[he(210)](){const t=he,e=this[t(224)][t(202)][t(221)];e[t(206)]((i=>{const s=t;for(const t of e[s(211)][s(220)])i[s(200)](fe,t)}))}}function pe(){const t=["change","156939bDqFWm","addClass","isPremiumPlugin","hide","document","133090phmFUC","790096sKcpzu","isOfficialPlugin","2774475sWAtWj","ck-editor__editable__loading-overlay","RevisionViewerLoadingOverlay","14LJYuOG","4665tDJjMy","roots","view","62090cnEdnD","1446xkPyob","editor","show","removeClass","33QEjJXW","editing","256CFTath","46036pLaypd","pluginName"];return(pe=function(){return t})()}const ve=ye;function ge(){const t=["show","restoreRevision","editor","commands","310nlmoQg","closeRevisionViewerCallback","listenTo","config","requires","isOfficialPlugin","4520xyFkTK","exitToEditing","8822814dIqMkG","Restore this revision","numberOfChanges","Back to editing","isPremiumPlugin","16FNlRCN","1428658SKeSQJ","1387548gIIsJo","init","isBackwardNavigationEnabled","459LkxvXO","change:isReady","4QEZjRo","isNavigationMode","add","currentChangeNumber","pluginName","forward","RevisionViewerUI","isReady","hide","get","showPreviousChange","execute","componentFactory","showNextChange","isEnabled","8655uvxpMu","changesNavigation","set","plugins","62167sGAeSL","bind","639895JtdqhN","isForwardNavigationEnabled","revisionHistory","ck-revision-history-ui__back-to-editing"];return(ge=function(){return t})()}function ye(t,e){const i=ge();return(ye=function(t,e){return i[t-=481]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(266833===-parseInt(e(487))/1+-parseInt(e(497))/2*(parseInt(e(483))/3)+parseInt(e(517))/4*(parseInt(e(489))/5)+parseInt(e(512))/6+parseInt(e(511))/7*(-parseInt(e(510))/8)+-parseInt(e(515))/9*(-parseInt(e(503))/10)+parseInt(e(505))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ke extends U.Plugin{static get[ve(521)](){return ve(523)}static get[ve(502)](){return!0}static get[ve(509)](){return!0}static get[ve(501)](){return[te,me]}[ve(513)](){const t=ve,e=this[t(495)],i=e[t(486)][t(526)](te),s=e[t(486)][t(526)](me);e.ui[t(529)][t(519)](t(504),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(485)]({label:J(i,s(508)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(492)}),this[s(499)](n,s(528),(()=>{const t=s;e[t(500)][t(526)](t(491))[t(498)]()})),n})),e.ui[t(529)][t(519)](t(494),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(485)]({label:J(i,s(506)),withText:!0,tooltip:!0}),n[s(488)](s(482)).to(e[s(496)][s(526)](s(494))),this[s(499)](n,s(528),(()=>e[s(528)](s(494)))),n})),e.ui[t(529)][t(519)](t(484),(s=>{const n=t,r=new ce(s),o=e[n(496)][n(526)](n(527)),a=e[n(496)][n(526)](n(481));return r[n(488)](n(514)).to(o,n(482)),r[n(488)](n(490)).to(a,n(482)),r[n(488)](n(524),n(520),n(507),n(518)).to(i),this[n(499)](r,n(528),((t,i)=>{const s=n;e[s(528)](s(522)===i?s(481):s(527))})),r})),s[t(493)](),i.on(t(516),((e,i,n)=>{const r=t;n?s[r(525)]():s[r(493)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;const _e=Se;function Ie(){const t=["4197235LBAsem","placeholder","bindTemplate","18805KQDnRW","Enter the revision name","clientWidth","2566689hCTihp","1330476wQOCjj","48904196gApmmV","14924640MOMEAJ","set","18FaaPoB","Revision name","ck-revision-history-sidebar__revision-name","ck-tooltip_multi-line","_resizeObserver","fieldView","682328gcOIfk","63MkZlLB","_tooltipString","render","span","4RHrEEe","scrollWidth","input","element","_updateTooltipText","value","2tGkAJZ","extendTemplate","listenTo","destroy"];return(Ie=function(){return t})()}function Se(t,e){const i=Ie();return(Se=function(t,e){return i[t-=124]})(t,e)}!function(t){const e=Se,i=t();for(;;)try{if(781184===parseInt(e(146))/1*(-parseInt(e(135))/2)+parseInt(e(145))/3*(-parseInt(e(129))/4)+parseInt(e(142))/5*(parseInt(e(150))/6)+parseInt(e(139))/7+parseInt(e(124))/8*(-parseInt(e(125))/9)+-parseInt(e(148))/10+parseInt(e(147))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Oe extends ft.LabeledFieldView{[_e(154)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(141)];this[i(149)]({label:J(t,i(151)),_tooltipString:""}),this[i(155)][i(140)]=J(t,i(143)),this[i(136)]({tag:i(128),attributes:{class:[i(152)],"data-cke-tooltip-text":s.to(i(126)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(153)}})}[_e(127)](){const e=_e;super[e(127)](),this[e(154)]=new t.ResizeObserver(this[e(155)][e(132)],(()=>this[e(133)]())),this[e(137)](this[e(155)],e(131),(()=>this[e(133)]()))}[_e(138)](){const t=_e;super[t(138)](),this[t(154)]&&this[t(154)][t(138)]()}[_e(133)](){const t=_e,e=this[t(155)][t(132)];this[t(126)]=e[t(130)]>e[t(144)]&&e[t(134)]||""}}var Te=i(249),xe={attributes:{"data-cke":!0}};xe.setAttributes=wt(),xe.insert=kt().bind(null,"head"),xe.domAPI=gt(),xe.insertStyleElement=It();pt()(Te.A,xe);Te.A&&Te.A.locals&&Te.A.locals;function Ne(t,e){const i=Re();return(Ne=function(t,e){return i[t-=447]})(t,e)}function Re(){const t=["840749SMCayA","set","ck-revision-history-sidebar__revision-author_creator","name","42LGThNI","5058048nTrCuB","634656UIVfew","Revision creator","span","11669760sTfHlh","setTemplate","227uYLnqM","4927540ZGWHRV","ck-revision-history-sidebar__revision-author","8390unuZPx","push","Revision author","0 0 11 10","ck-revision-history-sidebar__revision-author__name","432596TKLqWo"];return(Re=function(){return t})()}!function(t){const e=Ne,i=t();for(;;)try{if(512171===parseInt(e(460))/1*(-parseInt(e(463))/2)+-parseInt(e(455))/3+-parseInt(e(448))/4+-parseInt(e(461))/5+parseInt(e(453))/6*(parseInt(e(449))/7)+parseInt(e(454))/8+parseInt(e(458))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ae extends ft.View{constructor(t,e,i){const s=Ne;super(t);const n=new ft.IconView;n[s(450)]({content:dt.IconUser,viewBox:s(466)});const r=["ck",s(462)];i&&r[s(464)](s(451));const o=[{tag:s(457),attributes:{class:["ck",s(447)],title:J(t,s(i?456:465))},children:[n,e[s(452)]]}];this[s(459)]({tag:"li",attributes:{class:r},children:o})}}function Me(){var t=["888RcVXay","1765722YpBVfK","long","toLocaleDateString","12IpdQYp","17937UuwdHz","106141fbNNJD","5PXElwS","214058UvjGTM","toLocaleTimeString","22kFkTJa","110MgwYYL","16FieJsA","582QLwDBL","353517SwnZZw","951396ZFxgEA","numeric"];return(Me=function(){return t})()}function Ee(t,e){var i=Me();return(Ee=function(t,e){return i[t-=456]})(t,e)}!function(t){for(var e=Ee,i=t();;)try{if(222767===parseInt(e(457))/1*(-parseInt(e(470))/2)+-parseInt(e(471))/3*(-parseInt(e(461))/4)+parseInt(e(464))/5*(parseInt(e(458))/6)+-parseInt(e(463))/7*(-parseInt(e(469))/8)+-parseInt(e(462))/9*(parseInt(e(468))/10)+-parseInt(e(467))/11*(parseInt(e(472))/12)+-parseInt(e(465))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var Ve=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ve.A,De);Ve.A&&Ve.A.locals&&Ve.A.locals;function Ce(){const t=["isActionsDropdownOpen","panelPosition","isVisible","listenTo","add","find","button","function","1313070IFuVRV","model","name","1141072HblzbR","bind","children","Compare against selected","228RDihyB","extendTemplate","execute","listView","433905FvGQWb","change:isActionsDropdownOpen","first","action","_action","items","buttonView","Name this revision","class","stopPropagation","2zaEsFQ","menuitem","map","13112BWuUQs","bindTemplate","menu","isReady","source","locale","20264vyEBME","68030XLFNEg","Restore this revision","ck-revision-history-sidebar__revision__actions","isOpen","isEnabled","477QmfMAp","Show more items","set","215zVdmUg","ck-on","7SzSnTP","128245roWREo"];return(Ce=function(){return t})()}function Fe(t,e){const i=Ce();return(Fe=function(t,e){return i[t-=268]})(t,e)}!function(t){const e=Fe,i=t();for(;;)try{if(223176===-parseInt(e(275))/1*(-parseInt(e(305))/2)+-parseInt(e(295))/3+-parseInt(e(314))/4*(-parseInt(e(272))/5)+-parseInt(e(284))/6+parseInt(e(274))/7*(-parseInt(e(287))/8)+parseInt(e(269))/9*(parseInt(e(315))/10)+-parseInt(e(308))/11*(-parseInt(e(291))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ce);var je=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=wt(),Le.insert=kt().bind(null,"head"),Le.domAPI=gt(),Le.insertStyleElement=It();pt()(je.A,Le);je.A&&je.A.locals&&je.A.locals;const Pe=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=275]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(269760===-parseInt(e(280))/1*(-parseInt(e(276))/2)+-parseInt(e(330))/3*(parseInt(e(293))/4)+parseInt(e(312))/5*(-parseInt(e(301))/6)+parseInt(e(309))/7*(-parseInt(e(285))/8)+-parseInt(e(329))/9+-parseInt(e(319))/10+parseInt(e(336))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class ze extends((0,Z.ConfirmMixin)(ft.View)){id;[Pe(303)];[Pe(296)];[Pe(279)];[Pe(295)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(313)],a=function(t,e){const i=r,s=Array[i(304)](e[i(302)])[i(297)]((t=>t!=e[i(294)]));return e[i(294)]&&s[i(338)](e[i(294)]),s[i(300)]((s=>new Ae(t,s,s==e[i(294)])))}(e,i);this.id=i.id,this[r(279)]=i,this[r(295)]=n,this[r(339)](r(332),r(290)).to(i),this[r(339)](r(322)).to(this,r(290),(t=>{return i=e[r(337)],(s=t)[(n=Ee)(460)](i,{month:n(459),day:n(456)})+", "+s[n(466)](i,{hour:n(456),minute:n(456)});var i,s,n})),this[r(331)](r(287),!1),this[r(331)](r(340),!1),this[r(331)](r(324),!1),this[r(331)](r(282),!1),this[r(331)](r(289),!1),this[r(303)]=new Oe(e,ft.createLabeledInputText),this[r(303)][r(323)][r(325)]({attributes:{maxlength:r(315)}}),this[r(303)][r(323)][r(339)](r(317)).to(this,r(332),(t=>t||this[r(322)])),this[r(303)][r(339)](r(289)).to(this,r(287),this,r(289),((t,e)=>t&&e)),this[r(296)]=s&&s[r(327)]?function(e,i){const s=Fe,n=e[s(309)],r=e[s(313)],o=(0,ft.createDropdown)(r);o[s(277)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(313)],n={"Compare against selected":J(s,i(290)),"Name this revision":J(s,i(302)),"Restore this revision":J(s,i(316))};return e[i(307)]((t=>{const e=i,s=n[t[e(286)]];return s&&s!==t[e(286)]&&(t[e(286)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(282),model:new ft.ViewModel({label:t[n(286)],class:t[n(303)],withText:!0,role:n(306),_action:t[n(298)]})};i[n(285)][n(288)](n(268)).to(e,n(276),(i=>n(283)!=typeof t[n(268)]||!i||t[n(268)](e))),o[n(280)](i)}return o}(e,i);return e[s(288)](s(276)).to(o,s(318)),o[s(301)][s(271)]({label:J(r,s(270)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(292)]({attributes:{class:[s(317),n.if(s(276),s(273))]},on:{click:n.to((t=>t[s(304)]()))}}),o.on(s(293),(t=>{const i=s;e[i(311)]&&i(283)==typeof t[i(312)][i(299)]&&t[i(312)][i(299)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(310)}),o[s(279)](e,s(296),((t,n,r)=>{const a=s;if(r)for(const t of o[a(294)][a(300)]){const s=t[a(289)][a(297)],n=i[a(281)]((t=>t[a(298)]===s[a(299)]))[a(278)];t[a(278)]=void 0===n||n(e)}})),o}(this,s):"",this[r(296)]&&this[r(296)][r(339)](r(289)).to(this),this[r(326)]({tag:r(286),attributes:{class:["ck",r(284),r(310),o.if(r(299),r(281))]},children:[{tag:r(286),attributes:{class:["ck",r(284),r(292),o.if(r(289),r(298),(t=>!t)),o.if(r(287),r(277)),o.if(r(340),r(316)),o.if(r(324),r(278))]},children:[this[r(303)],{tag:r(333),attributes:{class:["ck",r(328)]},children:[{text:o.to(r(322))}]},{tag:r(286),attributes:{class:["ck",r(320)]},children:[{tag:"ul",attributes:{class:["ck",r(321)]},children:a}]},this[r(296)]],on:{click:o.to((t=>{const e=r;t[e(335)][e(318)](e(334))||this[e(282)]&&this[e(289)]&&this[e(275)](e(314),{id:this.id})}))}}]})}[Pe(306)](){const t=Pe;super[t(306)]();const e=this[t(303)][t(323)][t(311)];this[t(308)](e,t(291),(()=>{const i=t;this[i(295)]&&!e[i(317)]||this[i(275)](i(307),{id:this.id,name:e[i(317)]}),e[i(317)]||(e[i(317)]=this[i(332)]?this[i(332)]:this[i(322)])}))}[Pe(314)](){this[Pe(287)]=!0}[Pe(288)](){this[Pe(287)]=!1}[Pe(283)](){this[Pe(340)]=!0}[Pe(305)](){this[Pe(340)]=!1}}function Ue(){const t=["authors","revisionNameView","from","unhighlight","render","setName","listenTo","3401461KyYAGh","ck-revision-history-sidebar__revision-wrapper","element","1805360wxUeAE","bindTemplate","select","220","ck-revision-history-sidebar__revision_highlighted","value","closest","3620820kdaDYI","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision-authors","_createdAtFormatted","fieldView","isActionsDropdownOpen","extendTemplate","setTemplate","length","ck-revision-history-sidebar__revision__date","2030400hYfBCt","3fOqaDX","set","name","span",".ck-thread__remove-confirm","srcElement","18723793TRkCxu","uiLanguage","unshift","bind","isHighlighted","fire","199046evZymI","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__actions_dropdown_open","_revision","4maYmQP","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isReady","highlight","ck-reset","8WckPtZ","div","isSelected","deselect","isEnabled","createdAt","change","ck-revision-history-sidebar__revision","1583272siTwax","creator","_requireRevisionName","revisionActionsView","filter","ck-disabled","isConfirm","map","6fPfHpK"];return(Ue=function(){return t})()}class Ze extends Error{}class He extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends Ze{}class Ye extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ze{}class Ge extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",Xe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Qe,day:Ke},ii={year:Ke,month:Qe,day:Ke,weekday:Qe},si={year:Ke,month:Xe,day:Ke},ni={year:Ke,month:Xe,day:Ke,weekday:Xe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},yi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},ki={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},bi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,timeZoneName:Xe},wi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe};class _i{get type(){throw new Ge}get name(){throw new Ge}get ianaName(){return this.name}get isUniversal(){throw new Ge}offsetName(t,e){throw new Ge}formatOffset(t,e){throw new Ge}offset(t){throw new Ge}equals(t){throw new Ge}get isValid(){throw new Ge}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xi={};class Ni extends _i{static create(t){return xi[t]||(xi[t]=new Ni(t)),xi[t]}static resetCache(){xi={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ni.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ti[e];"era"===e?s[r]=n:ws(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ls({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ri={};let Ai={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.DateTimeFormat(t,e),Ai[i]=s),s}let Ei={};let Vi={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return As(this.floor?Math.floor(t):Ds(t,3),this.padTo)}}class Li{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ni.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Vi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Vi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class zi{static fromOpts(t){return zi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Di||(Di=(new Intl.DateTimeFormat).resolvedOptions().locale,Di)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new zi(o,a,c,u,r)}static resetCache(){Di=null,Ai={},Ei={},Vi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return zi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?zi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ns(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Fi(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=eo.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Fi(this,t,en,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Li(t,this.intl,e)}relFormatter(t={}){return new Pi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ui=null;class Zi extends _i{static get utcInstance(){return null===Ui&&(Ui=new Zi(0)),Ui}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${qs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return qs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Hi extends _i{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Hi(t)}const qi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},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]},Yi=qi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${qi[i]}${e}`)),Ji[i][e]}let Ki,Qi=()=>Date.now(),Xi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){Xi=t}static get defaultZone(){return $i(Xi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=Ns(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){zi.resetCache(),Ni.resetCache(),eo.resetCache(),Ji={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Bs(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...Bs(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...Bs(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...Bs(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new Be("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function ks(t){const e=Is(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,js(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ts(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function xs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ns(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Is(t)&&t>=e&&t<=i}function As(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Vs(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ls(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function zs(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Hs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(xs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Hs(n)}return i}function qs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${As(i,2)}:${As(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${As(i,2)}${As(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Gs];case"short":return[...Js];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Xs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Xs];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return As(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Ms(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Vs(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function xn(t,e){return[{},t[e]?Ni.create(t[e]):null,e+1]}const Nn=RegExp(`^T?${gn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function An(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Vs(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?zs(Ms(e)):Ms(e),month:Js.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:Xs.indexOf(t)+1),a}const Vn=/^(?:(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 Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Cn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Fn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ln(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Zi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),zn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Un=dn(/(\d{4})-?(\d{3})/,kn),Zn=dn(yn),Hn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,Tn,xn),$n=fn(bn,On,Tn,xn),qn=fn(wn,On,Tn,xn),Bn=fn(On,Tn,xn);const Yn=fn(On);const Jn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Kn=fn(On,Tn,xn);const Qn="Invalid Duration",Xn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Xn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Xn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||zi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:$s(t,ur.normalizeUnit),loc:zi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[Rn,An])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[Nn,Yn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new ur({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ln.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=nr.map((e=>{const i=this.values[e];return ws(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Ds(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return eo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(xs(e.values,t)||xs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=Hs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...$s(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return or(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new $e(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:hr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return hr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return $i(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||zi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||zi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||zi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||zi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||zi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||zi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||zi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return zi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return zi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=fr(t,e);return(i-i%7)/7}],["days",fr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(qi.hanidec))e+=Yi.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Nr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Tr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Gi(e),s=Gi(e,"{2}"),n=Gi(e,"{3}"),r=Gi(e,"{4}"),o=Gi(e,"{6}"),a=Gi(e,"{1,2}"),c=Gi(e,"{1,3}"),u=Gi(e,"{1,6}"),l=Gi(e,"{1,9}"),h=Gi(e,"{2,4}"),d=Gi(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,zs);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(xs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),ws(t.u)||(t.S=Vs(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(xs(i,"a")&&xs(i,"H"))throw new Be("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function xr(t,e,i){return new Tr(t,i).explainFromTokens(e)}function Nr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Ar=864e13;function Mr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Vr(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Cr(Ls(t),e,i)}function Lr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ls(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?ln.create(zi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function zr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=As(t.c.year,i?6:4),e?(s+="-",s+=As(t.c.month),s+="-",s+=As(t.c.day)):(s+=As(t.c.month),s+=As(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=As(t.c.hour);return e?(o+=":",o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=As(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=As(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=As(Math.trunc(-t.o/60)),o+=":",o+=As(Math.trunc(-t.o%60))):(o+="+",o+=As(Math.trunc(t.o/60)),o+=":",o+=As(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Hr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Gr(t,e){const i=$i(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=zi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of qr)ws(t[e])&&(t[e]=Zr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Xr&&(Xr=rs.now()),to[t]=t.offset(Xr)),to[t]}(i);[n,r]=jr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Ds(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Xr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||zi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return eo.invalid("invalid input");const n=$i(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:zi.fromObject(e)}):eo.invalid(Mr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Ar||t>Ar?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:$i(e.zone,rs.defaultZone),loc:zi.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:$i(e.zone,rs.defaultZone),loc:zi.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=zi.fromObject(e),n=$s(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=Br,v=Hr,g=ms(g,r,o)):u?(p=Yr,v=$r,g=vs(g)):(p=qr,v=Zr);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=Rs(t.weekNumber,1,Ws(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=Rs(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=jr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[Wn,Hn],[zn,$n],[Un,qn],[Zn,Bn])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Vn,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,Ln],[Fn,Ln],[jn,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=xr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Jn,Hn],[Gn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new He(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,zi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),zi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Xr=void 0,to={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Vr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Vr(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ls(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=zr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?zr(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?zr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return ur.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||eo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Je("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return xr(zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=zi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(t,e){const i=no();return(so=function(t,e){return i[t-=322]})(t,e)}function no(){const t=["82arBBJK","240WsKLPT","5pPlnsW","week","setLocale","weekdayLong","minus","local","124528ovJoio","month","day","startOf","2697583WhsDuP","monthLong","hasSame","73810vzjGNC","fromJSDate","363bMUoCA","4656051VluBIK","8tQxFNL","toRelativeCalendar","5508342yfknbL","7358IrEFpa","toJSDate","27vxddui","610636XjDPwR","year"];return(no=function(){return t})()}function ro(t,e){const i=so,s=eo[i(329)](t)[i(344)](e),n=eo[i(347)](),r=n[i(346)]({days:1})[i(324)](i(323));let o,a;return s[i(327)](n,i(323))?(o=s[i(324)](i(323))[i(336)](),a=s[i(333)]()):s[i(327)](r,i(323))?(o=r[i(336)](),a=s[i(333)]()):s[i(327)](n,i(343))?(o=s[i(324)](i(343))[i(336)](),a=s[i(345)]||""):s[i(327)](n,i(339))?(o=s[i(324)](i(322))[i(336)](),a=s[i(326)]||""):(o=s[i(324)](i(339))[i(336)](),a=String(s[i(339)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=so,i=t();for(;;)try{if(714852===-parseInt(e(340))/1*(-parseInt(e(335))/2)+-parseInt(e(337))/3*(-parseInt(e(348))/4)+-parseInt(e(342))/5*(parseInt(e(334))/6)+parseInt(e(325))/7*(parseInt(e(332))/8)+-parseInt(e(331))/9+-parseInt(e(328))/10*(-parseInt(e(330))/11)+parseInt(e(341))/12*(parseInt(e(338))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=lo;function uo(){const t=["2763rvBGTB","56zoUCDK","116LcMcVg","div","_requireRevisionName","11RcXhKv","ck-revision-history-sidebar__time-period__label","revisionViews","addRevision","locale","ck-revision-history-sidebar__time-period__revisions","13710610goRKmV","createCollection","2206315WZqtqG","731904uywSSx","6oiYFTn","setTemplate","13qeuHdx","4908xpKMXv","uiLanguage","delegate","_revisionActions","39437124fwxSPX","find","remove","add","span","ck-revision-history-sidebar__time-period","startDate","7600LFrXef","setName","select","removeRevision","localizedPeriodName","2090344NSBtEw"];return(uo=function(){return t})()}function lo(t,e){const i=uo();return(lo=function(t,e){return i[t-=310]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(828489===-parseInt(e(338))/1*(parseInt(e(322))/2)+parseInt(e(335))/3*(-parseInt(e(319))/4)+-parseInt(e(333))/5+-parseInt(e(334))/6*(-parseInt(e(321))/7)+-parseInt(e(314))/8*(parseInt(e(320))/9)+parseInt(e(331))/10*(-parseInt(e(325))/11)+parseInt(e(342))/12*(parseInt(e(337))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(uo);class ho extends ft.View{[co(313)];[co(327)];[co(341)];[co(324)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(329)][n(339)])[n(318)];this[n(313)]=e,this[n(327)]=this[n(332)](),this[n(341)]=i,this[n(324)]=s,this[n(327)][n(340)](n(316)).to(this),this[n(327)][n(340)](n(315)).to(this),this[n(336)]({tag:n(323),attributes:{class:["ck",n(312)]},children:[{tag:n(311),attributes:{class:["ck",n(326)]},children:[{text:r}]},{tag:n(323),attributes:{class:["ck",n(330)]},children:this[n(327)]}]})}[co(328)](t){const e=co,i=new ze(this[e(329)],t,this[e(341)],this[e(324)]);this[e(327)][e(310)](i)}[co(317)](t){const e=co,i=this[e(327)][e(343)]((e=>e.id===t.id));this[e(327)][e(344)](i)}}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(){const t=["ck-reset_all","2323895ZnDobT","ck-revision-history-sidebar__header","Revision history","2015974salOXo","ck-revision-history-sidebar__header__label","setTemplate","span","3583449NztVXD","3676309oNTsUK","6145002yiRCQG","60hDGcuh","12copCPi","div","content","6134360NHrDCW","231145fjxktz","8eitkXl"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=249]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(996124===parseInt(e(264))/1+-parseInt(e(252))/2+-parseInt(e(256))/3+-parseInt(e(263))/4+-parseInt(e(249))/5*(-parseInt(e(260))/6)+-parseInt(e(257))/7*(parseInt(e(265))/8)+parseInt(e(258))/9*(parseInt(e(259))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);class go extends ft.View{constructor(t){const e=vo;super(t);const i=new ft.IconView;i[e(262)]=dt.IconHistory,this[e(254)]({tag:e(261),attributes:{class:["ck",e(266),e(250)]},children:[i,{tag:e(255),attributes:{class:["ck",e(253)]},children:[J(t,e(251))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["div","getTime","render","find","ck-disabled","ck-revision-history-sidebar__timeline","revisionSelected","1127576DpCKsW","ck-reset","revisionSetName","1272FqmTON","363139bCuFIg","setTemplate","1441866UYBdGS","9yunoWI","highlight","timePeriodViews","add","10010JMTEVc","remove","2245878sCjRqE","addRevision","fire","_removeRevision","_addRevision","highlightRevisions","locale","_requireRevisionName","uiLanguage","deselect","selectRevision","ck-revision-history-sidebar","bindTemplate","unhighlight","delegate","1488924jGypNy","revisionViews","startDate","flat","map","isEnabled","get","select","ck-rounded-corners","removeRevision","_revisionActions","createdAt","_revisions","_getTimePeriodViewByStartDate","set","1716834vvZQuL","createCollection","setName","some"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=394]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(510018===-parseInt(e(418))/1+parseInt(e(420))/2+-parseInt(e(442))/3+-parseInt(e(417))/4*(-parseInt(e(425))/5)+-parseInt(e(427))/6+parseInt(e(403))/7+parseInt(e(414))/8*(parseInt(e(421))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends ft.View{[bo(423)];[bo(400)];[bo(398)];[bo(434)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(439)];this[n(423)]=this[n(404)](),this[n(423)][n(441)](n(395)).to(this),this[n(423)][n(441)](n(405)).to(this),this[n(400)]=e,this[n(398)]=i,this[n(434)]=s,this.on(n(395),((t,e)=>{const i=n;this[i(429)](i(413),e)})),this.on(n(405),((t,e)=>{const i=n;this[i(429)](i(416),e)})),this[n(402)](n(447),!1),this[n(419)]({tag:n(407),attributes:{class:["ck",n(415),n(396),n(438)]},children:[new go(t),{tag:n(407),attributes:{class:["ck",n(412),r.if(n(447),n(411),(t=>!t))]},children:this[n(423)]}]})}[bo(409)](){const t=bo;super[t(409)]();for(const e of this[t(400)])this[t(431)](e);this[t(400)].on(t(424),((e,i)=>{this[t(431)](i)})),this[t(400)].on(t(426),((e,i)=>{this[t(430)](i)}))}get[bo(443)](){const t=bo;return this[t(423)][t(446)]((e=>e[t(443)][t(446)]((t=>t))))[t(445)]()}[bo(437)](t){const e=bo;for(const i of this[e(443)])t&&t.id===i.id?i[e(395)]():i[e(436)]()}[bo(432)](t){const e=bo;for(const i of this[e(443)])t[e(406)]((({id:t})=>t===i.id))?i[e(422)]():i[e(440)]()}[bo(431)](t){const e=bo,i=ro(t[e(399)],this[e(433)][e(435)])[e(444)];let s=this[e(423)][e(394)](0);s&&s[e(444)][e(408)]()===i[e(408)]()||(s=new ho(this[e(433)],i,this[e(398)],this[e(434)]),this[e(423)][e(424)](s)),s[e(428)](t)}[bo(430)](t){const e=bo,i=ro(t[e(399)],this[e(433)][e(435)])[e(444)];this[e(401)](i)[e(397)](t)}[bo(401)](t){const e=bo;return this[e(423)][e(410)]((i=>i[e(444)][e(408)]()===t[e(408)]()))}}const So=To;function Oo(){const t=["isReady","revisionHistory.revisionActions","bind","remove","11NDUiMT","revisionHistory.requireRevisionName","action","requires","destroy","string","isPremiumPlugin","timePeriodViews","revisionViews","getEarlierVisibleRevision","1221456xTmMbH","_revisions","23130020esWZKJ","Compare against selected","pluginName","272444ROImiH","978fLHzIN","revisionHistory","isEnabled","_handleEditorDataReady","_createRevisionActions","name","restoreRevision","1796034KPgWEQ","isSelected","_revisionsRepository","compare","assign","get","init","2351169aymjox","revisionSetName","plugins","change:diff","nameRevision","isVisible","RevisionsSidebar","_handleRevisionSetName","restoreRevisionCallback","11711NVepkX","editor","data","listenTo","fieldView","availableRevisionActions","highlightRevisions","render","newRevisionId","selectRevision","Restore this revision","3191190hBPcld","length","select","map","_revisionViewer","locale","add","focus","config","compareAgainstSelected","revisionHistory.viewerSidebarContainer","diff","getRevision","getIndex","defaultRevisionActions","repository","getLaterVisibleRevision","isOfficialPlugin","_sidebarView","_handleRevisionSelected","Name this revision","element","setName","getRevisionsInDiff","4UJCkje","4SdDsKK","appendChild","revisionSelected","_handleDiffChange","ready"];return(Oo=function(){return t})()}function To(t,e){const i=Oo();return(To=function(t,e){return i[t-=390]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(367058===parseInt(e(446))/1*(-parseInt(e(470))/2)+-parseInt(e(394))/3*(parseInt(e(445))/4)+-parseInt(e(421))/5+-parseInt(e(471))/6*(parseInt(e(410))/7)+-parseInt(e(465))/8+parseInt(e(401))/9+-parseInt(e(467))/10*(-parseInt(e(455))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class xo extends U.Plugin{[So(425)];[So(396)];[So(439)];static[So(435)]=[So(430),So(393),So(405)];static[So(415)]=function(){const t=So;return{compareAgainstSelected:{name:t(468),action:({plugins:e},i)=>{const s=t,n=e[s(399)](te),r=n[s(436)];let o=n[s(432)][s(418)],a=i.id;r[s(434)](o)>r[s(434)](a)&&([o,a]=[a,o]),n[s(397)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(399)](te);return!(n[s(436)][s(444)](n[s(432)])[s(422)]>2||i[s(395)])}},restoreRevision:{name:t(420),action:(e,{id:i})=>{const s=t;e[s(429)][s(399)](s(472))[s(409)](i)},isVisible:({plugins:e},i)=>!!e[t(399)](te)[t(436)][t(437)](i.id)},nameRevision:{name:t(441),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(399)](te),o=r[n(436)][n(464)](i);r[n(397)](i,o),s[n(428)](),s[n(414)][n(423)]()}}}}();static get[So(469)](){return So(407)}static get[So(438)](){return!0}static get[So(461)](){return!0}static get[So(458)](){return[te]}constructor(t){const e=So;super(t),this[e(425)]=t[e(403)][e(399)](te),this[e(396)]=this[e(425)][e(436)],this[e(439)]=null}[So(400)](){const t=So,e=this[t(396)][t(466)],i=this[t(391)](),s=this[t(411)][t(429)][t(399)](t(431));this[t(439)]=new Io(this[t(411)][t(426)],e,i,this[t(411)][t(429)][t(399)](t(456))),this[t(439)].on(t(448),this[t(440)][t(453)](this)),this[t(439)].on(t(402),this[t(408)][t(453)](this)),this[t(439)][t(453)](t(473)).to(this[t(425)]),this[t(439)][t(462)].on(t(427),((e,i)=>{const s=t;i[s(463)].on(s(427),((t,e)=>{const i=s;e[i(453)](i(473),i(451)).to(this[i(425)])}))})),this[t(439)][t(417)](),this[t(413)](this[t(411)][t(412)],t(450),this[t(390)][t(453)](this)),this[t(413)](this[t(425)],t(404),this[t(449)][t(453)](this)),s[t(447)](this[t(439)][t(442)])}[So(459)](){const t=So;this[t(439)][t(442)][t(454)](),this[t(439)][t(459)]()}[So(390)](){const t=So,e=this[t(396)][t(433)](0);if(e){const i=this[t(396)][t(464)](e.id);this[t(425)][t(397)](e,i)}}[So(440)](t,e){const i=So,s=this[i(396)][i(433)](e.id),n=this[i(396)][i(464)](s.id);this[i(425)][i(397)](s,n)}[So(408)](t,e){const i=So;this[i(396)][i(433)](e.id)[i(443)](e[i(392)])}[So(449)](t,e,i){const s=So,n=this[s(396)][s(444)](i);n[s(422)]>2?(this[s(439)][s(416)](n),this[s(439)][s(419)](null)):(this[s(439)][s(416)]([]),this[s(439)][s(419)](n[0]))}[So(391)](){const t=So,e=this[t(411)],i=xo[t(415)],s=e[t(429)][t(399)](t(452))||xo[t(435)];if(s[t(422)])return s[t(424)]((s=>{const n=t,r=n(460)==typeof s?Object[n(398)]({},i[s]):s;return r[n(457)]=r[n(457)][n(453)](this,e),r[n(406)]&&(r[n(406)]=r[n(406)][n(453)](this,e)),r}))}}const No=xo;function Ro(){const t=["attachDomRoot","7325ORZUfx","setEditableElement","focusTracker","_view","isFocused","editing","viewportTopOffset","fillFromConfig","element","stickyPanel","112TQMEBS","bind","render","replace","view","34133430brwpOs","4798062Ulqhzq","4tazMUI","9873369gAIMqn","editable","limiterElement","get","addToolbar","fire","4781652ydieHd","_toolbarConfig","name","restore","_initToolbar","config","componentFactory","6191208hTEeCZ","getRoot","_elementReplacer","toolbar","viewportOffset","isActive","ready","init","detachDomRoot","editor","6772540vshJDW","document","destroy","rootName","7Favjeb"];return(Ro=function(){return t})()}function Ao(t,e){const i=Ro();return(Ao=function(t,e){return i[t-=343]})(t,e)}const Mo=Ao;!function(t){const e=Ao,i=t();for(;;)try{if(913548===parseInt(e(382))/1*(parseInt(e(345))/2)+-parseInt(e(359))/3+-parseInt(e(352))/4*(-parseInt(e(376))/5)+-parseInt(e(351))/6+-parseInt(e(380))/7*(parseInt(e(366))/8)+-parseInt(e(353))/9+parseInt(e(350))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Eo extends ft.EditorUI{[Mo(385)];[Mo(360)];[Mo(368)];get[Mo(349)](){return this[Mo(385)]}constructor(e,i){const s=Mo;super(e),this[s(385)]=i,this[s(360)]=(0,ft.normalizeToolbarConfig)(e[s(364)][s(356)](s(369))),this[s(368)]=new t.ElementReplacer}get[Mo(343)](){const t=Mo;return this[t(349)][t(343)]}[Mo(373)](t){const e=Mo,i=this[e(375)],s=this[e(349)],n=i[e(387)][e(349)],r=s[e(354)],o=n[e(377)][e(367)]();r[e(361)]=o[e(379)],s[e(347)]();const a=r[e(343)];this[e(383)](r[e(361)],a),s[e(354)][e(346)](e(386)).to(this[e(384)]),n[e(381)](a),this[e(368)][e(348)](t,this[e(343)]),this[e(363)](),this[e(358)](e(372))}[Mo(378)](){const t=Mo;super[t(378)]();const e=this[t(349)],i=this[t(375)][t(387)][t(349)];this[t(368)][t(362)](),i[t(374)](e[t(354)][t(361)]),e[t(378)]()}[Mo(363)](){const t=Mo,e=this[t(349)];e[t(344)][t(346)](t(371)).to(this[t(384)],t(386)),e[t(344)][t(355)]=e[t(343)],e[t(344)][t(346)](t(388)).to(this,t(370),(({top:t})=>t)),e[t(369)][t(389)](this[t(360)],this[t(365)]),this[t(357)](e[t(369)])}}var Vo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Vo.A,Do);Vo.A&&Vo.A.locals&&Vo.A.locals;var Co=jo;function Fo(){var t=["134705ThXEdF","shouldToolbarGroupWhenFull","86060Ducuxa","editable","8855580RAATTy","top","content","render","_editable","24EyOobS","6600663EybEao","stickyPanel","1072tsrdui","main","36449WkZCWV","1449488DFRrTI","13786WvMVns","78ujjatl","add","toolbar"];return(Fo=function(){return t})()}function jo(t,e){var i=Fo();return(jo=function(t,e){return i[t-=268]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(383422===-parseInt(e(270))/1+parseInt(e(269))/2+-parseInt(e(283))/3*(-parseInt(e(276))/4)+-parseInt(e(274))/5*(-parseInt(e(271))/6)+-parseInt(e(268))/7*(parseInt(e(286))/8)+parseInt(e(284))/9+-parseInt(e(278))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends ft.BoxedEditorUIView{[Co(282)];[Co(285)];[Co(273)];get[Co(277)](){return this[Co(282)]}constructor(t,e,i={}){var s=Co;super(t),this[s(285)]=new ft.StickyPanelView(t),this[s(273)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(275)]}),this[s(282)]=new ft.InlineEditableUIView(t,e)}[Co(281)](){var t=Co;super[t(281)](),this[t(285)][t(280)][t(272)](this[t(273)]),this[t(279)][t(272)](this[t(285)]),this[t(287)][t(272)](this[t(277)])}}const Po=zo;function Wo(){const t=["604SJtcUB","_ui","locale","init","256aGDsRO","create","386730rSoojP","document","config","1819795RYsbfb","editing","data","918212osVwgs","5594218CNYPFQ","sourceElement","destroy","updateSourceElement","initPlugins","773356boNufl","createRoot","18YbJgOb","initialData","model","40645070KNnLwv","view","6837RjxGEG","get","fire","ready"];return(Wo=function(){return t})()}function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=149]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(747745===-parseInt(e(163))/1+-parseInt(e(169))/2+-parseInt(e(176))/3*(parseInt(e(151))/4)+-parseInt(e(160))/5*(parseInt(e(171))/6)+parseInt(e(164))/7+-parseInt(e(155))/8*(parseInt(e(157))/9)+parseInt(e(174))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,U.ElementApiMixin)(U.Editor)){[Po(152)];get ui(){return this[Po(152)]}constructor(t,e){const i=Po;super(e),this[i(165)]=t,this[i(173)][i(158)][i(170)]();const s=new Lo(this[i(153)],this[i(161)][i(175)],{shouldToolbarGroupWhenFull:!0});this[i(152)]=new Eo(this,s)}[Po(166)](){const t=Po;return this[t(167)](),this.ui[t(166)](),super[t(166)]()}static async[Po(156)](t,e){const i=Po,s=new this(t,e);return await s[i(168)](),await s.ui[i(154)](t),await s[i(162)][i(154)](s[i(159)][i(177)](i(172))||""),s[i(149)](i(150)),s}}const Zo=Ho;function Ho(t,e){const i=$o();return(Ho=function(t,e){return i[t-=223]})(t,e)}function $o(){const t=["has","_enhanceCloseRevisionViewerCallback","2859210NpxbLV","then","revisionHistory.requireRevisionName","exitToEditing","getRoot","14475810ijdAjd","set","isOpen","repository","Restored","update","destroy","join","uiLanguage","_update","style","isEnabled","1180164IbwfGF","enableReadOnlyMode","Users","plugins","toolbar","removeSelectionAttribute","revisionHistory.editorContainer","commands","long","toJSON","revisionHistory","_viewerEditor","8ZJyNzc","addUser","$graveyard","setSelection","hide","isAttached","includes","users","getRevisionData","parse","revisionHistory.viewerContainer","closeRevisionViewerCallback","error","result","toLocaleDateString","editor","remove","2VYCHbv","restrictedEditingException","RestrictedEditingMode","disableReadOnlyMode","2374001QLgAgp","document","Dialog","3286419Mncjlb","saveRevision","revisionHistory.restoreRevisionCallback","getMarkersGroup","RevisionViewer","block","roots","revisionHistory.showRevisionViewerCallback","save","toLocaleTimeString","pluginName","revision-history-missing-configuration","createdAt","createRangeIn","4ybvidI","numeric","requires","name","changesNavigation","insert","getAttributeKeys","RevisionsRepository","PaginationLookup","fromCharCode","refreshVisibility","model","enqueueChange","detachRoot","init","catch","getRevision","isOfficialPlugin","addRoot","5192765UDdzgL","isPremiumPlugin","revisionHistory.closeRevisionViewerCallback","removeMarker","toVersion","getUser","isReady","bind","_getRevisionViewerEditorConfig","refreshPositioning","keys","selection","locale","Autosave","_recalculatePageBreaks","showRevisionViewerCallback","_showRevisionViewer","map","Annotations","RevisionHistoryUI","getRevisions","revisionHistory.viewerEditorElement","create","change","rootName","define","from","creator","translations","push","RevisionTracker","_cleanUp","markers","removeAttribute","_closeRevisionViewer","end","isReadOnly","98094VbIsOo","revision-history-viewer-opened","config","RevisionViewerIntegration","adapter","setAttribute","addRevisionData","get","getRevisionRootsAttributes","data","RevisionHistory","indexOf","_restoreRevision","lazyRoots","none","restoreRevision","display","fromVersion","_enhanceShowRevisionViewerCallback","isAnonymous"];return($o=function(){return t})()}!function(t){const e=Ho,i=t();for(;;)try{if(552880===-parseInt(e(337))/1+-parseInt(e(260))/2*(-parseInt(e(267))/3)+parseInt(e(281))/4*(-parseInt(e(300))/5)+-parseInt(e(231))/6+parseInt(e(264))/7*(-parseInt(e(243))/8)+-parseInt(e(359))/9+parseInt(e(364))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const qo=[Zo(319),Zo(262)];class Bo extends U.Plugin{[Zo(256)];static get[Zo(277)](){return Zo(340)}static get[Zo(298)](){return!0}static get[Zo(301)](){return!0}constructor(t){const e=Zo;function i(t){const e=Ho;return t[e(317)]((t=>String[e(290)](t)))[e(226)]("")}super(t),this[e(256)]=e(335),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends U.Plugin{[Zo(242)];static get[Zo(277)](){return Zo(347)}static get[Zo(298)](){return!0}static get[Zo(301)](){return!0}static get[Zo(283)](){return[rt,Ct]}constructor(e){const i=Zo;if(super(e),!this[i(258)][i(339)][i(344)](i(241)))throw new t.CKEditorError(i(278),this);this[i(242)]=null,this[i(258)][i(339)][i(325)](i(274),(t=>this[i(316)]({...t,translations:this[i(258)][i(312)][i(328)]}))),this[i(258)][i(339)][i(325)](i(302),(t=>this[i(334)](t))),this[i(258)][i(339)][i(325)](i(269),(t=>this[i(349)](t))),this[i(258)][i(339)][i(325)](i(361),!1),this[i(355)](),this[i(358)]()}set[Zo(341)](t){const e=Zo;this[e(258)][e(234)][e(344)](e(330))[e(341)]=t}get[Zo(341)](){const t=Zo;return this[t(258)][t(234)][t(344)](t(330))[t(341)]}[Zo(343)](t){const e=Zo;return this[e(258)][e(234)][e(344)](e(330))[e(343)](t)}[Zo(297)](t){const e=Zo;return this[e(258)][e(234)][e(344)](e(288))[e(297)](t)}[Zo(320)](t){const e=Zo;return this[e(258)][e(234)][e(344)](e(288))[e(320)](t||{toJSON:!1})}[Zo(308)](){const e=Zo,i=this[e(258)],s=(0,Z.sanitizeEditorConfig)(i,qo),n=i[e(234)][e(344)](e(330)),r=i[e(234)][e(344)](e(233))[e(250)];return s[e(235)]=[e(362),e(352),e(285)],delete s[e(350)],s[e(234)][e(329)](Bo,te,ke,class extends U.Plugin{static get[e(283)](){return[te,e(233)]}[e(295)](){const s=e,o=this[s(258)][s(234)][s(344)](s(233));for(const t of r)t[s(356)]||o[s(305)](t.id)||o[s(244)](t);const a=n[s(367)][s(320)]();let c=null;const u=this[s(258)][s(234)][s(344)](s(271));u[s(341)]=n[s(341)],u[s(307)](s(230)).to(n),this[s(258)][s(238)][s(344)](s(352))[s(307)](s(230)).to(i,s(336),(t=>!t));for(const e of a){const i=null===e[s(327)];if(i&&e[s(304)]===e[s(354)])continue;const r=e[s(240)]();u[s(343)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(228)](r,o);else if(!o){const e=a[u(240)]();e.id=(0,t.uid)(),n[u(268)](e,a[u(304)])[u(360)]((t=>{c=t}))}}else e[u(228)](r,o)}))}}},No),s}[Zo(355)](){const t=Zo,e=this[t(258)][t(339)][t(344)](t(241))[t(315)];this[t(258)][t(339)][t(365)](t(274),(async()=>{const i=t;this[i(258)][i(232)](i(338));const s=this[i(258)][i(234)][i(344)](i(330));if(this[i(258)][i(234)][i(357)](i(313))){const t=this[i(258)][i(234)][i(344)](i(313));await t[i(275)]()}else await s[i(224)]();if(this[i(258)][i(234)][i(357)](i(289))&&this[i(258)][i(234)][i(344)](i(289))[i(314)](),this[i(258)][i(234)][i(357)](i(266))){const t=this[i(258)][i(234)][i(344)](i(266));t[i(366)]&&t[i(247)]()}const n=this[i(308)]();return e(n)[i(360)]((t=>{const e=i;return this[e(242)]=t,this[e(258)][e(234)][e(357)](e(318))&&this[e(258)][e(234)][e(344)](e(318))[e(291)](),t}))[i(296)]((t=>(console[i(255)](t),this[i(258)][i(263)](i(338)),null)))}))}[Zo(358)](){const t=Zo,e=this[t(258)][t(339)][t(344)](t(241))[t(254)];this[t(258)][t(339)][t(365)](t(302),(()=>(this[t(258)][t(234)][t(357)](t(289))&&this[t(258)][t(234)][t(344)](t(289))[t(314)](),this[t(242)][t(234)][t(344)](t(271))[t(331)](),e(this[t(242)])[t(360)]((()=>{const e=t;if(this[e(258)][e(263)](e(338)),this[e(242)]=null,this[e(258)][e(234)][e(357)](e(318))){const t=this[e(258)][e(234)][e(344)](e(318));t[e(291)](),t[e(309)]()}})))))}[Zo(316)](t){const e=Zo,i=this[e(258)][e(339)][e(344)](e(237)),s=this[e(258)][e(339)][e(344)](e(253)),n=this[e(258)][e(339)][e(344)](e(321));return Uo[e(322)](n,t)[e(360)]((t=>(s[e(229)][e(353)]=e(272),i[e(229)][e(353)]=e(351),t)))}[Zo(334)](t){const e=Zo,i=this[e(258)][e(339)][e(344)](e(237));return this[e(258)][e(339)][e(344)](e(253))[e(229)][e(353)]=e(351),i[e(229)][e(353)]="",t[e(225)]()}async[Zo(349)](t){const e=Zo,i=this[e(258)],s=this[e(242)][e(234)][e(344)](e(271)),n=i[e(234)][e(344)](e(330)),r=s[e(367)][e(297)](t);let o,a,c;try{o=await s[e(251)](r),a=await s[e(345)](r)}catch(t){return void console[e(255)](t)}i[e(292)][e(323)]((t=>{const s=e;for(const e of Array[s(326)](i[s(292)][s(332)][s(270)](s(261))))t[s(303)](e)})),s[e(306)]=!1,i[e(292)][e(293)]((t=>{const s=e;t[s(246)](null),t[s(236)](i[s(292)][s(265)][s(311)][s(287)]());const n=Object[s(310)](o);for(const e of i[s(292)][s(265)][s(273)])s(245)!=e[s(324)]&&e[s(248)]()&&!n[s(249)](e[s(324)])&&t[s(294)](e);for(const e of n){let n=i[s(292)][s(265)][s(363)](e);n&&n[s(248)]()||(n=t[s(299)](e));const r=a[e],c=Object[s(310)](r),u=o[e];for(const e of n[s(287)]())c[s(249)](e)||t[s(333)](e,n);for(const i of c)t[s(342)](i,a[e][i],n);t[s(259)](t[s(280)](n)),t[s(286)](i[s(346)][s(252)](u,n),n,0)}}));const u=J(i[e(312)],e(223));return c=r[e(284)]?-1==r[e(284)][e(348)](u)?u+": "+r[e(284)]:r[e(284)]:u+": "+r[e(279)][e(257)](i[e(312)][e(227)],{month:e(239),day:e(282)})+", "+r[e(279)][e(276)](i[e(312)][e(227)],{hour:e(282),minute:e(282)}),await n[e(268)]({name:c}),s[e(306)]=!0,i[e(339)][e(344)](e(241))[e(254)]()}}function Jo(){var t=["46PYgvCQ","354800CzGZMj","150KlYcwD","9002XgrJHi","186627IrbczY","1757592xCSmPy","5157119AsuQxB","56plYxNC","38650bpsyso","44228qhrMOA","51cxkZaY"];return(Jo=function(){return t})()}function Go(t,e){var i=Jo();return(Go=function(t,e){return i[t-=143]})(t,e)}!function(t){for(var e=Go,i=t();;)try{if(122739===parseInt(e(145))/1*(-parseInt(e(148))/2)+-parseInt(e(144))/3*(-parseInt(e(143))/4)+-parseInt(e(153))/5*(-parseInt(e(147))/6)+-parseInt(e(149))/7*(-parseInt(e(152))/8)+parseInt(e(150))/9+parseInt(e(146))/10+-parseInt(e(151))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>nt,RevisionViewer:()=>Qt,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>B,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E,M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(M=t,ArrayBuffer.isView(M)&&!(M instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}const E=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}function V(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,V(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=P;function P(t,e){const i=W();return(P=function(t,e){return i[t-=261]})(t,e)}function W(){const t=["2565448SQScKk","1361680cAkrKZ","creator","authors","98148GKiifv","80ClbVXE","setName","removeAttribute","toVersion","map","7227693AWZkUy","15507HqsFKa","name","diffData","_update","authorsIds","256497LOjEWp","toJSON","createdAt","model","setAttribute","creatorId","attributes","fire","fromVersion","406RgDlqp","5681235KSZPwD","set"];return(W=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(590345===-parseInt(e(265))/1+parseInt(e(274))/2*(-parseInt(e(288))/3)+parseInt(e(278))/4+parseInt(e(282))/5*(parseInt(e(281))/6)+parseInt(e(275))/7+-parseInt(e(277))/8+parseInt(e(287))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[j(279)];[j(280)];[j(262)];[j(285)];[j(273)];[j(268)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(279)]=e[i(279)]||null,this[i(280)]=e[i(280)]||[],this[i(262)]=e[i(262)]||null,this[i(285)]=e[i(285)]||0,this[i(273)]=e[i(273)]||0,this[i(276)](i(261),e[i(261)]||""),this[i(276)](i(267),e[i(267)]||new Date),this[i(276)](i(271),e[i(271)]||{})}[j(283)](t){this[j(263)]({name:t})}[j(269)](t,e){const i=j,s=R(this[i(271)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(263)]({attributes:s})}[j(284)](t){const e=j,i=R(this[e(271)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return L(t,V(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(263)]({attributes:i})}[j(263)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(261),i(267),i(262),i(280),i(271),i(285),i(273),i(270)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(280)]&&(n[i(264)]=n[i(280)][i(286)]((t=>t.id)),delete n[i(280)]),this[i(272)](i(263),n,e))}[j(266)](){const t=j;return{id:this.id,name:this[t(261)],creatorId:this[t(279)]?this[t(279)].id:null,authorsIds:this[t(280)][t(286)]((t=>t.id)),diffData:this[t(262)],createdAt:this[t(267)],attributes:this[t(271)],fromVersion:this[t(273)],toVersion:this[t(285)]}}}var U=i(782),Z=i(211),H=i(783);const q=$;function $(t,e){const i=Y();return($=function(t,e){return i[t-=258]})(t,e)}!function(t){const e=$,i=t();for(;;)try{if(425904===-parseInt(e(279))/1*(-parseInt(e(282))/2)+parseInt(e(284))/3+parseInt(e(265))/4*(parseInt(e(268))/5)+parseInt(e(283))/6*(-parseInt(e(313))/7)+parseInt(e(271))/8*(-parseInt(e(306))/9)+parseInt(e(296))/10*(parseInt(e(314))/11)+-parseInt(e(281))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class B extends U.Plugin{[q(295)];static get[q(304)](){return[Z.Users]}static get[q(260)](){return q(259)}static get[q(288)](){return!0}static get[q(311)](){return!0}get[q(276)](){const t=q;return this[t(295)][t(276)]}constructor(e){const i=q;super(e),this[i(295)]=new t.Collection}[q(263)](){!async function(e){const i=k([112,100,109,99,55,118,117,72,120,84,51,108,102,115,69,104,80,97,70,89,65,105,114,83,76,113,56,111,103,53,88,48,82,57,77,98,54,86,119,101,122,121,116,85,73,75,107,71,74,81,106,110,49,67,68,79,66,50,78,87,52,90]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(307)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([112]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(262)]((t=>String[e(266)](t)))[e(312)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1740528e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(272)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(303)](t){const e=q,i=this[e(300)][e(293)][e(286)](e(278));return new z({id:t.id,name:t[e(289)],creator:t[e(270)]?i[e(290)](t[e(270)]):null,diffData:t[e(298)]||t[e(301)],authors:t[e(261)][e(262)]((t=>i[e(290)](t))),createdAt:new Date(t[e(310)]),attributes:t[e(275)],fromVersion:t[e(273)],toVersion:t[e(297)]})}[q(302)](t,e=0){const i=q;this[i(295)][i(269)](t,e)}[q(309)](t){const e=q;return this[e(295)][e(286)](t)}[q(258)](t={toJSON:!1}){const e=q,i=Array[e(267)](this[e(295)]);return i[e(280)](),t[e(285)]?i[e(262)]((t=>t[e(285)]())):i}[q(294)](t){const e=q;return this[e(295)][e(294)](t)}[q(308)](t){const e=q,[,i]=this[e(305)](t,{direction:e(287)});return i}[q(277)](t){const e=q,[,i]=this[e(305)](t,{direction:e(299)});return i}[q(291)](t){const e=q,i=[];for(const s of this[e(305)](t[e(292)]))if(i[e(274)](s),s.id===t[e(264)])break;return i}*[q(305)](t,{direction:e=q(287),filter:i=()=>!0}={}){const s=q,n=s(287)===e?1:-1;let r=this[s(295)][s(286)](t),o=this[s(294)](r);for(yield r;r;){if(o+=n,r=this[s(309)](o),!r)return;i(r)&&(yield r)}}}function Y(){const t=["fromVersion","push","attributes","length","getLaterVisibleRevision","Users","108187KzCIFL","reverse","2640120YmTUGi","10qDlZlF","10962SNhOhp","1214616nxKuYO","toJSON","get","earlier","isOfficialPlugin","name","getUser","getRevisionsInDiff","newRevisionId","plugins","getIndex","_revisions","470PZHxsZ","toVersion","diffData","later","editor","data","addRevision","createRevision","requires","getRevisionsIterator","18ISZEYJ","isNaN","getEarlierVisibleRevision","getRevision","createdAt","isPremiumPlugin","join","1225ZBQDWP","154583HlUuYA","getRevisions","RevisionsRepository","pluginName","authorsIds","map","afterInit","oldRevisionId","86244NEugto","fromCharCode","from","15FjVAqx","add","creatorId","2821368WhIguH","href"];return(Y=function(){return t})()}function G(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function J(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return X(t,e,r,o)}return X(t,e,r,o)}function X(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(E=s)||Number.isNaN(R)&&Number.isNaN(E)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,E;const M=(s=s??new Map).get(t),V=s.get(i);if(null!=M&&null!=V)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(n,i.get(e),e,t,i,s,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>K(o,e,void 0,t,i,s,T)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&X(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&X(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(X(t.constructor,i.constructor,s,T)||J(t)&&J(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!K(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function Q(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,Q)}const et=it;function it(t,e){const i=at();return(it=function(t,e){return i[t-=316]})(t,e)}!function(t){const e=it,i=t();for(;;)try{if(419715===parseInt(e(514))/1+-parseInt(e(327))/2+-parseInt(e(487))/3*(parseInt(e(403))/4)+parseInt(e(412))/5+parseInt(e(505))/6+-parseInt(e(335))/7+parseInt(e(540))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);const st={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class nt extends U.Plugin{[et(525)];[et(330)];[et(320)];[et(515)];[et(494)];[et(588)];[et(382)];[et(556)];[et(612)];[et(360)];[et(354)];[et(630)];[et(364)];static get[et(371)](){return et(521)}static get[et(509)](){return!0}static get[et(552)](){return!0}static get[et(583)](){return[Z.Users,B,U.PendingActions]}constructor(e){const i=et;super(e),this[i(320)]=null,this[i(515)]=null,this[i(588)]=new ot(this[i(377)]),this[i(556)]=this[i(377)][i(617)][i(633)](i(516))||i(528),this[i(612)]=new Map,this[i(364)]=null;const s=(0,t.uid)();this[i(382)]={history:this[i(377)][i(324)][i(511)][i(455)],getLatestVersion:()=>Promise[i(390)](this[i(377)][i(324)][i(511)][i(420)]),getCurrentRevisionId:()=>s},this[i(343)](i(441),!1),this[i(343)](i(619),!0),this[i(343)](i(486),!1),this[i(377)][i(617)][i(411)](i(436),!0),this[i(377)][i(337)][i(350)](i(532))[i(384)]({view:i(634)})}[et(520)](){const t=et;this[t(494)]=this[t(377)][t(435)][t(633)](t(605)),this[t(426)](),this[t(377)][t(398)].on(t(536),(()=>{const e=t,i=this[e(494)][e(599)](0),s=i&&null===i[e(508)]?i:null;if(this[e(354)]=!!s&&this[e(377)][e(617)][e(633)](e(436)),this[e(377)][e(435)][e(338)](e(466))){const t=this[e(382)][e(577)](),n=this[e(494)][e(599)](t);if(n)this[e(630)]=n[e(322)],this[e(354)]=!1;else{const t=this[e(382)][e(455)][e(369)][e(553)]((t=>!t[e(321)])),n=t?t[e(478)]:this[e(382)][e(455)][e(420)];i?(i[e(482)]<n&&i[e(326)]({toVersion:n}),this[e(354)]?(this[e(382)][e(577)]=()=>s.id,this[e(630)]=s[e(322)]):(this[e(630)]=i[e(482)],this[e(354)]=!1)):(this[e(630)]=n,this[e(354)]=!1)}}else s&&(this[e(377)][e(324)][e(511)][e(455)][e(420)]=Math[e(339)](s[e(482)],this[e(377)][e(324)][e(511)][e(455)][e(420)]),s[e(322)]===s[e(482)]?(0!==s[e(322)]&&(this[e(382)][e(577)]=()=>s.id),this[e(354)]=!1):this[e(354)]&&(this[e(382)][e(577)]=()=>s.id,this[e(630)]=s[e(322)])),this[e(354)]||(this[e(630)]=this[e(377)][e(324)][e(511)][e(420)]);this[e(588)][e(520)](this[e(382)][e(455)]),this[e(400)](this[e(630)]),this[e(613)](this[e(630)]),this[e(320)]&&this[e(572)]()})),this[t(456)](t(441)).to(this,t(486),(t=>!t)),this[t(525)]=this[t(377)][t(617)][t(633)](t(525));const e=this[t(377)];this[t(330)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(589)==r||i(334)==r||i(608)==r||i(429)==r||i(353)==r||i(541)==r||i(495)==r||i(542)==r){delete e[n],s=r,clearInterval(this[i(330)]),this[i(330)]=void 0;break}}i(334)==s&&e[i(582)](i(513)),i(608)==s&&e[i(582)](i(397)),i(429)==s&&e[i(582)](i(474)),i(353)==s&&e[i(582)](i(469),i(557)),i(541)==s&&e[i(582)](i(446)),i(495)==s&&e[i(582)](i(517)),i(542)==s&&e[i(582)](i(607))}),1e3)}async[et(408)](){const t=et;if(this[t(494)][t(370)]>0){const e=this[t(494)][t(599)](0),i=await this[t(362)](e),s=await this[t(560)](e);this[t(374)](i,s)}}[et(530)](){const t=et;super[t(530)](),this[t(330)]&&clearInterval(this[t(330)])}[et(433)](t){this[et(382)]=t}async[et(477)](){const t=et,e=await this[t(382)][t(484)]();if(e>this[t(515)][t(482)]){await this[t(519)]();const i=this[t(316)]({revision:this[t(515)],to:e});i[t(391)]=i[t(558)][t(543)]((e=>this[t(377)][t(435)][t(633)](t(524))[t(396)](e))),this[t(515)][t(326)](i)}}async[et(519)](){const t=et;this[t(354)]&&!this[t(364)]&&(await this[t(571)](this[t(515)]),this[t(588)][t(492)](this[t(515)]),this[t(364)]={fromVersion:this[t(515)][t(322)],authors:this[t(515)][t(391)][t(453)]()})}async[et(367)](e={},i=null){const s=et,n=[];await this[s(519)](),this[s(354)]=!1,i>this[s(515)][s(482)]&&(i=null),null===i&&(i=await this[s(382)][s(484)]());const r=this[s(538)](i),o=this[s(316)]({from:r,to:i});if(this[s(515)][s(482)]<i){const t=this[s(316)]({revision:this[s(515)],from:i,to:i});t[s(391)]=[],t[s(558)]=[],t.id=this[s(515)].id,this[s(515)][s(326)](t,!0),delete t[s(391)],n[s(578)](t)}e[s(318)]=this[s(377)][s(435)][s(633)](s(524)).me.id,e[s(537)]=e[s(537)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(518)](e);n[s(578)](e);const c=this[s(494)][s(442)](a);if(0!==c){const t=this[s(494)][s(599)](c-1);if(t[s(322)]!==i){const r=this[s(588)][s(454)](i,t[s(482)]),o={id:t.id,diffData:r[s(561)],authorsIds:r[s(558)],authors:r[s(558)][s(543)]((t=>this[s(377)][s(435)][s(633)](s(524))[s(396)](t))),fromVersion:i};t===this[s(515)]&&(o[s(504)]=new Date(e[s(504)][s(554)]()+10)),t[s(326)](o,!0),delete o[s(391)],n[s(578)](o)}}if(this[s(320)]){for(const t of n)this[s(376)](t.id,t,!0);this[s(572)]()}return a}[et(518)](t){const e=et,i=this[e(494)][e(361)](t);return this[e(320)]&&i.on(e(326),((t,i,s)=>{const n=e;s||(this[n(376)](i.id,i,!0),this[n(572)]())})),this[e(494)][e(422)](i,this[e(611)](i)),i}async[et(362)](t){const e=et;await this[e(571)](t);const i={};for(const s in t[e(561)]){if(t[e(561)][s][e(481)]&&!t[e(561)][s][e(481)][e(527)])continue;const n=this[e(470)](JSON[e(566)](t[e(561)][s][e(587)])),r=this[e(377)][e(479)][e(529)][e(511)],o=new H.ViewDocumentFragment(r,n[e(543)]((t=>rt(t,this[e(377)]))));this[e(377)][e(398)][e(601)][e(620)](e(546)),i[s]=this[e(377)][e(398)][e(601)][e(593)](o),this[e(377)][e(398)][e(601)][e(620)](e(340))}return i}async[et(560)](t){const e=et;await this[e(571)](t);const i={};for(const s in t[e(561)])t[e(561)][s][e(481)]&&!t[e(561)][s][e(481)][e(527)]||(i[s]=t[e(561)][s][e(418)]||{});return i}[et(572)](){const t=et;if(0===this[t(612)][t(402)])return;if(this[t(486)])return;let e=Array[t(467)](this[t(612)][t(574)]());this[t(612)][t(501)]();for(let i=0;i<e[t(370)];i++){const s=e[i];let n=!1;for(const e of Object[t(535)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(497)]((t=>null!==t)),!e[t(370)])return;for(let i=0;i<e[t(370)];i++){const s=e[i];void 0!==s[t(322)]&&void 0===s[t(482)]&&(s[t(482)]=this[t(494)][t(599)](s.id)[t(482)]),void 0!==s[t(482)]&&void 0===s[t(322)]&&(s[t(322)]=this[t(494)][t(599)](s.id)[t(322)])}const i=this[t(377)][t(617)][t(633)](t(516));this[t(486)]=!0,this[t(575)](),this[t(320)][t(597)](e,i)[t(443)]((()=>{this[t(486)]=!1}))[t(579)]((e=>{const i=t;if(e)for(const t of e)this[i(460)]({id:t.id,createdAt:t[i(504)]});this[i(458)](),this[i(572)]()}))}[et(374)](e,i){const s=et;let n=this[s(377)][s(617)][s(633)](s(598)),r=this[s(377)][s(617)][s(633)](s(452));if(void 0===n){n={};for(const t of this[s(377)][s(324)][s(511)][s(395)]())n[t]=""}if(s(438)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(377)][s(324)][s(511)][s(395)]())r[t]={}}let o=!1;const a=Object[s(535)](n),c=Object[s(535)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(423)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(535)](r[t])[s(370)]>0){o=!0;break}}o||(o=c[s(584)]((t=>!this[s(377)][s(324)][s(511)][s(357)](t)))),o&&(0,t.logWarning)(s(461),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(377)][s(617)][s(343)](s(598),e),this[s(377)][s(617)][s(343)](s(452),i)}[et(575)](){const t=et;if(!this[t(360)]){const e=this[t(377)][t(435)][t(633)](t(457));this[t(360)]=e[t(342)](G(this[t(377)][t(352)],t(323)))}}[et(458)](){const t=et;this[t(360)]&&(this[t(377)][t(435)][t(633)](t(457))[t(431)](this[t(360)]),this[t(360)]=null)}[et(611)](t){const e=et,i=this[e(494)][e(355)]();i[e(610)]();let s=0;for(;s<i[e(370)];){const n=i[s];if(n===this[e(515)]){s++;continue}if(n.id===this[e(556)])break;const r=t[e(482)]-n[e(482)]||t[e(322)]-n[e(322)];if(r>0)break;if(r<0)s++;else{if(!t[e(508)]&&n[e(508)])break;if(n[e(508)]||!t[e(508)]){if(t[e(504)]>n[e(504)])break;s++}else s++}}return s}[et(460)](t){const e=et,i=this[e(494)][e(599)](t.id);if(t[e(504)]&&(t[e(504)]=new Date(t[e(504)])),t[e(558)]){const i=this[e(377)][e(435)][e(633)](e(524));t[e(391)]=t[e(558)][e(543)]((t=>i[e(396)](t)))}i[e(326)](t,!0)}[et(316)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(322)],i=null!==i?i:t[s(482)];const n=this[s(588)][s(454)](e,i),r={diffData:n[s(561)],authorsIds:n[s(558)],fromVersion:e,toVersion:i};if(!t||i!==t[s(482)]){const t=i-1,e=this[s(382)][s(455)][s(366)](t);r[s(504)]=e&&e[s(504)]||new Date}if(this[s(364)]&&e===this[s(364)][s(322)])for(const t of this[s(364)][s(391)])r[s(558)][s(383)](t.id)||r[s(558)][s(578)](t.id);return r}[et(571)](t){const e=et;if(!t||t[e(561)])return Promise[e(390)]();{const i=this[e(377)][e(617)][e(633)](e(516));return this[e(320)][e(599)]({channelId:i,revisionId:t.id})[e(579)]((i=>{const s=e;t[s(561)]=i[s(561)]}))}}[et(376)](t,e,i){const s=et;if(this[s(612)][s(338)](t)){const n=this[s(612)][s(633)](t);e=i?{...n,...e}:{...e,...n}}this[s(612)][s(343)](t,e)}[et(538)](t){const e=et,i=this[e(494)][e(355)]();i[e(610)](),i[e(581)]();const s=i[e(553)]((i=>i[e(482)]<=t))[e(482)];return s<this[e(630)]?this[e(630)]:s}[et(400)](t){const e=et,i=this[e(494)][e(599)](this[e(494)][e(370)]-1);if(i)this[e(556)]=i.id;else{const i=!this[e(377)][e(324)][e(511)][e(531)][e(553)]((t=>this[e(377)][e(324)][e(410)](t))),s=this[e(377)][e(435)][e(633)](e(524)).me.id,n=G(this[e(377)][e(352)],e(i?331:569));this[e(319)]({from:t,to:t,id:this[e(556)],name:n,creatorId:s})}}[et(613)](t){const e=et,i=this[e(382)][e(577)]();this[e(515)]=this[e(494)][e(599)](i),this[e(515)]||(this[e(515)]=this[e(319)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(319)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(316)]({from:e,to:i});o[r(537)]=t,o[r(318)]=s,o.id=n;const a=this[r(518)](o);return this[r(320)]&&this[r(376)](o.id,o,!0),a}[et(426)](){const t=et;this[t(377)][t(337)][t(350)](t(491))[t(336)]({model:t(634)})}[et(470)](t){const e=et;return(t=t[e(497)]((t=>!t[e(537)]||e(510)!==t[e(537)]&&e(564)!==t[e(537)])))[e(325)]((t=>{const i=e;i(438)!=typeof t&&(t[i(430)]=this[i(470)](t[i(430)]),t[i(445)]=t[i(445)][i(497)]((t=>!t[0][i(609)](i(533)))))})),t}}function rt(t,e){const i=et,s=e[i(479)][i(529)][i(511)];if(i(438)==typeof t)return new H.ViewText(s,t);{const n=t[i(430)][i(543)]((t=>rt(t,e)));return new(st[t[i(576)]]||H.ViewElement)(s,t[i(537)],t[i(445)],n)}}class ot{[et(377)];[et(421)];[et(526)];[et(568)];[et(399)];[et(580)];[et(480)];[et(332)];[et(389)];[et(471)];[et(415)];[et(424)];[et(586)];[et(522)];[et(592)];[et(565)];[et(447)];constructor(t){const e=et;this[e(377)]=t,this[e(526)]=new Map,this[e(568)]=-1,this[e(399)]=-1,this[e(580)]=new Map,this[e(480)]=new Map,this[e(332)]=new Map,this[e(389)]=new Map,this[e(471)]=new Map,this[e(415)]=new Map,this[e(424)]=new Map,this[e(586)]=new Map,this[e(522)]=new Map,this[e(592)]=new Map,this[e(565)]=1}[et(520)](t){const e=et;this[e(421)]=t;const i=new Map,s=new Map,n=this[e(377)][e(324)][e(511)][e(531)][e(543)]((t=>t[e(404)]));for(const t of n){const n=this[e(377)][e(324)][e(511)][e(357)](t),r=ct(n);i[e(343)](t,r),s[e(343)](t,Object[e(615)](n[e(359)]()))}const r=Array[e(467)](this[e(377)][e(324)][e(627)])[e(543)]((t=>[t[e(537)],t[e(502)]()])),o=this[e(421)][e(420)];this[e(385)](o,i,r,s),this[e(447)]=this[e(565)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(343)](t,i),c[e(343)](t,{})}this[e(385)](Number[e(349)],a,[],c)}[et(454)](t,e){const i=et;if(this[i(568)]===t&&this[i(399)]<=e)this[i(526)][i(402)]>1&&this[i(507)](this[i(399)]),this[i(631)](this[i(399)],e,!0);else{if(!this[i(526)][i(338)](t)){const e=this[i(489)](t);this[i(414)](e,t,!1)}this[i(414)](t,e,!0)}return this[i(568)]=t,this[i(399)]=e,this[i(629)]()}[et(492)](t){const e=et;this[e(439)](),this[e(568)]=t[e(322)],this[e(399)]=t[e(482)];for(const i in t[e(561)]){const s=t[e(561)][i][e(481)],n=R(t[e(561)][i][e(632)])||{},r=this[e(606)](t[e(561)][i][e(428)]);r[e(404)]=i,r[e(614)]=!s||!s[e(527)],r[e(527)]=()=>r[e(614)],this[e(389)][e(343)](i,r),this[e(471)][e(343)](i,n),s&&this[e(592)][e(343)](i,s);const o=this[e(348)](r);this[e(424)][e(343)](i,o);for(const[t,i]of r[e(627)]){if(!t[e(609)](e(623)))continue;const s=t[e(549)](":")[2];for(const t of i[e(417)]({singleCharacters:!0})){const i=this[e(625)](t),n=e(328)==t[e(576)]?t[e(406)][e(449)][e(453)](0,-1):t[e(406)][e(449)],r=o[e(425)](n)[e(622)](i);this[e(586)][e(343)](r,{userId:s})}}}this[e(447)]=this[e(565)];const i=[...Array(this[e(565)])[e(535)]()][e(453)](1)[e(497)]((t=>!this[e(586)][e(338)](t)));let s=0;const n=new Map;for(const r in t[e(561)]){const o=t[e(561)][r][e(481)],a=R(t[e(561)][r][e(418)])||{},c=this[e(606)](t[e(561)][r][e(587)]);c[e(404)]=r,c[e(614)]=!o||o[e(527)],c[e(527)]=()=>c[e(614)],this[e(480)][e(343)](r,c),this[e(332)][e(343)](r,a);const u=this[e(348)](c,Number[e(349)]);this[e(415)][e(343)](r,u),n[e(343)](r,c[e(527)]()?a:{});for(const[t,i]of c[e(627)]){if(!t[e(609)](e(623)))continue;const s=t[e(549)](":")[2];for(const t of i[e(417)]({singleCharacters:!0})){const i=this[e(625)](t),n=this[e(565)]++,r=e(328)==t[e(576)]?t[e(406)][e(449)][e(453)](0,-1):t[e(406)][e(449)];u[e(425)](r)[e(562)](i,n),this[e(586)][e(343)](n,{userId:s})}}for(const t of this[e(377)][e(324)][e(373)](c)[e(417)]({singleCharacters:!0})){const n=this[e(625)](t),r=e(328)==t[e(576)]?t[e(406)][e(449)][e(453)](0,-1):t[e(406)][e(449)],o=u[e(425)](r);o[e(622)](n)>0||o[e(562)](n,i[s++])}for(const[t,i]of c[e(627)])t[e(609)](e(623))||this[e(580)][e(343)](t,i)}const r=ut(e(465));this[e(389)][e(343)](e(465),r),this[e(424)][e(343)](e(465),this[e(348)](r,1));const o=ut(e(465));this[e(480)][e(343)](e(465),o),this[e(415)][e(343)](e(465),this[e(348)](o,1));const a=Array[e(467)](this[e(480)])[e(543)]((([t,e])=>[t,ct(e)]));this[e(385)](this[e(399)],a,this[e(580)],n)}[et(606)](t){const e=et,i=JSON[e(566)](t),s=this[e(377)][e(479)][e(529)][e(511)],n=new H.ViewDocumentFragment(s,i[e(543)]((t=>rt(t,this[e(377)]))));return this[e(377)][e(398)][e(365)](n)}[et(385)](t,e,i,s){const n=et,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(343)](t,{start:e[n(464)][n(498)](),end:e[n(472)][n(498)](),rootName:e[n(503)][n(404)]});this[n(526)][n(343)](t,{roots:r,markers:a,rootsAttributes:o})}[et(507)](t){const e=et;this[e(526)][e(483)](t)}[et(626)](){const t=et;this[t(439)](),this[t(568)]=-1,this[t(399)]=-1,this[t(526)][t(501)](),this[t(520)](this[t(421)])}[et(439)](){const t=et;this[t(586)][t(501)](),this[t(522)][t(501)](),this[t(592)][t(501)](),this[t(480)][t(501)](),this[t(332)][t(501)](),this[t(389)][t(501)](),this[t(471)][t(501)](),this[t(415)][t(501)](),this[t(424)][t(501)](),this[t(580)][t(501)](),this[t(565)]=1,this[t(447)]=this[t(565)]}[et(348)](t,e=null){const i=et;let s=null;t.is(i(624))||(s=new H.Element(t[i(537)],{vid_start:null===e?this[i(565)]++:e++}));const n=[];for(const s of t[i(444)]())if(s.is(i(459))){n[i(578)](this[i(348)](s,e));const t=n[n[i(370)]-1];null!==e&&(e=t.is(i(459),i(488))?t[i(622)](i(563))+1:t[i(622)](i(440))+1)}else for(let t=0;t<s[i(547)];t++)n[i(578)](new H.Element(i(488),{vid:null===e?this[i(565)]++:e++}));if(t.is(i(624))){const e=ut(t[i(404)]);return e[i(602)](0,n),e}return s[i(562)](i(440),null===e?this[i(565)]++:e++),s[i(602)](0,n),s}[et(414)](t,e,i){const s=et;this[s(439)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(526)][s(633)](t);this[s(389)]=new Map(n),this[s(471)]=new Map(R(o));for(const[t,e]of this[s(389)])if(s(465)!==t&&(this[s(480)][s(343)](t,ct(e)),this[s(332)]=new Map(R(o)),i)){const i=this[s(565)];this[s(415)][s(343)](t,this[s(348)](e)),this[s(424)][s(343)](t,this[s(348)](e,i))}this[s(447)]=this[s(565)],this[s(480)][s(343)](s(465),ct(this[s(389)][s(633)](s(465)))),i&&this[s(415)][s(343)](s(465),this[s(348)](this[s(389)][s(633)](s(465))));for(const[t,e]of r){const i=this[s(389)][s(633)](e[s(404)]),n=this[s(480)][s(633)](e[s(404)]),r=new H.Range(this[s(500)](e[s(464)],i),this[s(500)](e[s(472)],i)),o=this[s(401)](r,n);i[s(627)][s(343)](t,r),this[s(580)][s(343)](t,o)}this[s(631)](t,e,i)}[et(631)](t,e,i){const s=et;for(const n of this[s(421)][s(490)](t,e))this[s(493)](n,i);for(const t of this[s(480)][s(574)]())t[s(627)][s(501)]();for(const[t,e]of this[s(580)])this[s(480)][s(633)](e[s(503)][s(404)])[s(627)][s(343)](t,e[s(498)]());const n=new Map,r=new Map;for(const[t,e]of this[s(480)])n[s(343)](t,ct(e)),r[s(343)](t,this[s(332)][s(633)](t));this[s(385)](e,n,this[s(580)],r)}[et(489)](t){const e=et,i=Array[e(467)](this[e(526)][e(535)]());i[e(594)](((t,e)=>t-e)),i[e(610)]();for(const e of i)if(e<t)return e;return Number[e(349)]}[et(512)](t,e){const i=et,s=Array[i(467)](e[i(627)])[i(543)]((([e,s])=>[e,this[i(401)](s,t)]));t[i(627)]=new Map(s)}[et(381)](t){const e=et;for(const i of this[e(580)][e(574)]()){const s=i[e(344)](t),n=H.Range[e(604)](s);i[e(464)]=n[e(464)],i[e(472)]=n[e(472)]}}[et(493)](t,e){const i=et;if(i(559)!=t[i(576)]&&i(475)!=t[i(576)]){if(i(628)==t[i(576)]){const s=t[i(523)][i(503)][i(404)];this[i(480)][i(338)](s)||(this[i(480)][i(343)](s,ut(s,!0)),this[i(332)][i(343)](s,{}),e&&this[i(415)][i(343)](s,ut(s,!0)))}else{if(i(600)==t[i(576)]||i(416)==t[i(576)]||i(548)==t[i(576)])return void this[i(539)](t);i(551)==t[i(576)]&&this[i(394)](t)}if(i(551)!==t[i(576)]){const e=this[i(375)](t,this[i(480)]);e[i(573)](),this[i(381)](e)}if(e)switch(t[i(576)]){case i(628):this[i(585)](t);break;case i(496):case i(431):case i(387):this[i(473)](t);break;case i(618):this[i(427)](t);break;case i(549):this[i(591)](t)}}else this[i(485)](t,e)}[et(375)](t,e){const i=et,s=t[i(498)]();return s[i(409)]=t[i(409)],this[i(434)](s,e),s}[et(341)](t){const e=et;return t[e(543)]((t=>{const i=e,s=this[i(625)](t);return Number(t[i(380)][i(622)](s))}))}[et(432)](t,e){const i=et;if(t.is(i(459),i(488)))e[i(578)]({item:t,type:i(596)});else{t.is(i(459))&&e[i(578)]({item:t,type:i(468)});for(const s of t[i(444)]())this[i(432)](s,e);t.is(i(459))&&e[i(578)]({item:t,type:i(328)})}return e}[et(629)](){const t=et,e=new Map(this[t(586)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(389)][t(535)](),...this[t(480)][t(535)]()]);a[t(483)](t(465));for(const e of a){const i=this[t(480)][t(633)](e)||ut(e,!1),s=this[t(389)][t(633)](e)||ut(e,!1);i[t(527)]()||s[t(527)]()?(n[t(587)][e]=ct(i),n[t(428)][e]=ct(s),this[t(512)](n[t(428)][e],s),this[t(512)](n[t(587)][e],i),r[t(587)][e]=this[t(432)](this[t(415)][t(633)](e),[]),r[t(428)][e]=this[t(432)](this[t(424)][t(633)](e)||ut(e,!1),[])):a[t(483)](e)}for(const n of a){const o=r[t(587)][n];for(const n of o){const r=this[t(625)](n),o=n[t(380)][t(622)](r);i[t(483)](o),o>=this[t(447)]&&s[t(343)](o,e[t(633)](o))}}for(const n of a){const a=r[t(587)][n],c=this[t(341)](r[t(428)][n]);let u=0;for(const n of a){const r=this[t(625)](n),a=n[t(380)][t(622)](r);if(!s[t(338)](a)&&!o[t(338)](a))if(i[t(338)](a))u++;else{if(a!=c[u]){const s=e[t(633)](a)||e[t(633)](c[u]);for(;a!=c[u];)i[t(338)](c[u])||(o[t(343)](c[u],s),e[t(343)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(587)][e];for(const e of n){const n=this[t(625)](e),r=e[t(380)][t(622)](n);if(o[t(338)](r)){const e=o[t(633)](r);i[t(338)](r)||i[t(343)](r,{...e}),s[t(343)](r,{...e})}}}for(const e of i[t(535)]())e>=this[t(447)]&&i[t(483)](e);const c=new Map;for(const e of a){let n=r[t(587)][e];for(const e of n)if(e[t(380)].is(t(459),t(372))){const i=this[t(625)](e),n=e[t(380)][t(622)](i);if(s[t(338)](n)){const i=e[t(380)][t(386)][t(386)][t(622)](t(419)),r=c[t(633)](i)||new Set;r[t(342)](s[t(633)](n)[t(346)]),c[t(343)](i,r)}}n=r[t(428)][e];for(const e of n)if(e[t(380)].is(t(459),t(372))){const s=this[t(625)](e),n=e[t(380)][t(622)](s);if(i[t(338)](n)){const s=e[t(380)][t(386)][t(386)][t(622)](t(419)),r=c[t(633)](s)||new Set;r[t(342)](i[t(633)](n)[t(346)]),c[t(343)](s,r)}}for(const e of c[t(535)]())(s[t(338)](e)||i[t(338)](e))&&c[t(483)](e)}for(const e of a){const n=r[t(587)][e];let o=null,a=null;for(const e of n){const n=this[t(625)](e),r=e[t(380)][t(622)](n),u=c[t(633)](r);u&&t(468)==e[t(576)]&&(o=Array[t(467)](u)[0],a=e[t(380)][t(622)](t(440))),o&&(i[t(343)](r,{userId:o}),s[t(343)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(428)][e],a=n[t(587)][e];for(const{userId:e}of this[t(522)][t(574)]())null!==e&&l[t(342)](e);for(const{userId:e}of this[t(592)][t(574)]())null!==e&&l[t(342)](e);this[t(534)](a,r[t(587)][e],s,t(448),l),this[t(534)](o,r[t(428)][e],i,t(616),l),u[e]={insertions:this[t(476)](a),deletions:this[t(476)](o),attachChange:this[t(592)][t(633)](e)||null,attributesBefore:R(this[t(471)][t(633)](e))||{},attributesAfter:R(this[t(332)][t(633)](e))}}return{diffData:u,authorsIds:Array[t(467)](l)}}[et(590)](t){const e=et;for(const[,i]of t[e(627)]){const t=i[e(464)][e(437)]()[e(497)]((t=>e(372)==t[e(537)]));for(const i of t)1==i[e(570)]&&i[e(378)](0).is(e(459),e(317))&&i[e(378)](0)[e(562)](e(333),!0)}}[et(476)](t){const e=et;this[e(590)](t);const i=this[e(377)][e(398)][e(499)](t,{}),s=Array[e(467)](i[e(444)]())[e(543)]((t=>this[e(550)](t)));return JSON[e(506)](s)}[et(550)](t){const e=et;if(t.is(e(488)))return t[e(398)];{const i=t;return{type:Object[e(535)](st)[e(553)]((e=>t instanceof st[e])),name:i[e(537)],attributes:Array[e(467)](i[e(359)]()),children:Array[e(467)](i[e(444)]())[e(543)]((t=>this[e(550)](t)))}}}[et(534)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(377)][r(324)];for(let s=0;s<e[r(370)];s++){const n=this[r(625)](e[s]),c=e[s][r(380)][r(622)](n),h=i[r(633)](c),d=s==e[r(370)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(346)]!=o[r(346)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(346)],d=l(623)+s+":"+h+":"+c++,f=u[l(347)](i,a);t[l(627)][l(343)](d,f),null!==h&&n[l(342)](h)}}[et(625)](t){const e=et;switch(t[e(576)]){case e(468):return e(419);case e(328):return e(440);default:return e(563)}}[et(434)](t,e){const i=et;t[i(478)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(633)](n[i(503)][i(404)]);t[s]=this[i(500)](n,r)}if(n instanceof H.Range){const r=e[i(633)](n[i(503)][i(404)]);t[s]=this[i(401)](n,r)}i(503)===s&&(t[i(503)]=e[i(633)](t[i(503)][i(404)]))}}[et(401)](t,e){const i=et;return this[i(377)][i(324)][i(347)](this[i(500)](t[i(464)],e),this[i(500)](t[i(472)],e))}[et(500)](t,e){const i=et;return this[i(377)][i(324)][i(368)](e,t[i(449)],t[i(451)])}[et(585)](t){const e=et,i=this[e(415)][e(633)](t[e(523)][e(503)][e(404)]),s=this[e(500)](t[e(523)],i),n=null===t[e(409)]?null:t[e(409)]||this[e(377)][e(435)][e(633)](e(524)).me.id,r=s[e(386)],o=this[e(565)],a=[];for(const i of t[e(405)])if(i.is(e(459)))a[e(578)](this[e(348)](i));else for(let t=0;t<i[e(547)];t++)a[e(578)](new H.Element(e(488),{vid:this[e(565)]++}));const c=this[e(565)];for(let t=o;t<c;t++)this[e(586)][e(343)](t,{userId:n});r[e(602)](s[e(450)],a)}[et(473)](t){const e=et;(t=this[e(375)](t,this[e(415)]))[e(573)]();const i=null===t[e(409)]?null:t[e(409)]||this[e(377)][e(435)][e(633)](e(524)).me.id,s=t[e(463)](),n=s[e(386)],r=s[e(450)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(378)](e);r.is(a(459),a(488))?s[a(343)](r[a(622)](a(563)),{userId:i}):(s[a(343)](r[a(622)](a(419)),{userId:i}),t(s,r,0,r[a(570)]),s[a(343)](r[a(622)](a(440)),{userId:i}))}}(this[e(586)],n,r,r+t[e(413)])}[et(427)](t){const e=et,i=null===(t=this[e(375)](t,this[e(415)]))[e(409)]?null:t[e(409)]||this[e(377)][e(435)][e(633)](e(524)).me.id,s=t[e(358)][e(386)],n=t[e(545)][e(386)],r=s[e(622)](e(440)),o=n[e(622)](e(419));s[e(562)](e(440),n[e(622)](e(440))),n[e(562)](e(440),r),this[e(586)][e(343)](o,{userId:i}),this[e(586)][e(343)](r,{userId:i}),t[e(573)]()}[et(591)](t){const e=et,i=null===(t=this[e(375)](t,this[e(415)]))[e(409)]?null:t[e(409)]||this[e(377)][e(435)][e(633)](e(524)).me.id,s=t[e(351)],n=t[e(345)][e(386)];t[e(573)]();const r=n[e(622)](e(440)),o=t[e(392)][e(393)];if(s){const t=o[e(622)](e(440)),s=n[e(622)](e(440));n[e(562)](e(440),t),o[e(562)](e(440),s),this[e(586)][e(343)](n[e(622)](e(440)),{userId:i}),this[e(586)][e(343)](o[e(622)](e(419)),{userId:i})}else{const t=this[e(565)]++,s=this[e(565)]++;n[e(562)](e(440),t),o[e(562)](e(419),s),o[e(562)](e(440),r),this[e(586)][e(343)](t,{userId:i}),this[e(586)][e(343)](s,{userId:i})}}[et(394)](t){const e=et;if(!t[e(595)])return;const i=(t=this[e(375)](t,this[e(480)]))[e(329)]?t[e(329)][e(503)]:null,s=t[e(462)]?t[e(462)][e(503)]:null;i&&this[e(580)][e(483)](t[e(537)]),s&&this[e(580)][e(343)](t[e(537)],t[e(462)][e(498)]());const n=null===t[e(409)]?null:t[e(409)]||this[e(377)][e(435)][e(633)](e(524)).me.id,r=t[e(537)];if(!this[e(522)][e(338)](r))return void this[e(522)][e(343)](r,{range:t[e(329)],userId:n});const o=this[e(522)][e(633)](r),a=o[e(621)],c=t[e(462)];null==a&&null==c||a&&c&&a[e(544)](c)?this[e(522)][e(483)](t[e(537)]):o[e(346)]=n}[et(485)](t,e){const i=et;this[i(480)][i(338)](t[i(404)])?this[i(480)][i(633)](t[i(404)])[i(614)]=t[i(363)]:(this[i(480)][i(343)](t[i(404)],ut(t[i(404)],!0)),this[i(332)][i(343)](t[i(404)],{}),e&&this[i(415)][i(343)](t[i(404)],ut(t[i(404)],!0)));const s=null===t[i(409)]?null:t[i(409)]||this[i(377)][i(435)][i(633)](i(524)).me.id,n=this[i(592)][i(633)](t[i(404)]);n&&n[i(346)]===s?this[i(592)][i(483)](t[i(404)]):this[i(592)][i(343)](t[i(404)],{userId:s,isAttached:t[i(363)]})}[et(539)](t){const e=et,i=this[e(332)][e(633)](t[e(503)][e(404)]);null===t[e(356)]?delete i[t[e(388)]]:i[t[e(388)]]=t[e(356)]}}function at(){const t=["get","revision","buildRevisionData","paragraph","creatorId","_makeRevision","adapter","_isInit","fromVersion","PENDING_ACTION_REVISION_HISTORY","model","forEach","_update","792434EzThqN","elementEnd","oldRange","_licenseKeyCheckInterval","Empty document","_diffRootsAttributes","keepParagraph","revisionHistoryLicenseKeyInvalid","1419894WbAvbW","markerToData","conversion","has","max","default","_getBaseVids","add","set","getTransformedByOperation","splitPosition","userId","createRange","_makeIdsRoot","NEGATIVE_INFINITY","for","graveyardPosition","locale","revisionHistoryLicenseKeyNotAllowed","_continueCurrentRevision","getRevisions","newValue","getRoot","targetPosition","getAttributes","_pendingAction","createRevision","getRevisionDocumentData","isAdd","_loadedStateData","toModel","getOperation","saveRevision","createPositionFromPath","_operations","length","pluginName","tableCell","createRangeIn","_replaceEditorDataWithRevisionData","_cloneOperation","_bufferUpdate","editor","getChild","_appendChild","item","_transformMarkers","_source","includes","dataToMarker","_saveMetaData","parent","reinsert","key","_baseRoots","resolve","authors","insertionPosition","nodeAfter","_handleMarkerOperation","getRootNames","getUser","expired","data","_lastTo","_createInitialRevision","_fixRange","size","4vyZMWG","rootName","nodes","previousPosition","_clone","afterInit","_authorId","hasContent","define","139370GmTtxV","howMany","_calculateMetaData","_idsRoots","removeRootAttribute","getWalker","attributesAfter","vid_start","version","source","addRevision","trim","_baseIdsRoots","getNodeByPath","_setConversion","_handleMergeOperation","deletions","revisionHistoryLicenseKeyDomainLimit","children","remove","_generateTape","setSource","_fixOperation","plugins","revisionHistory.resumeUnsavedRevision","getAncestors","string","_reset","vid_end","isReady","getIndex","finally","getChildren","attributes","evaluationLimit","_startingRevisionId","insertion","path","offset","stickiness","rootsAttributes","slice","getData","history","bind","PendingActions","_removePendingAction","element","setRevisionData","editor-initial-data-replaced-with-revision-data","newRange","getMovedRangeStart","start","$graveyard","RealTimeCollaborationClient","from","elementStart","featureNotAllowed","_removeRevisionMarkers","_baseRootsAttributes","end","_handleMoveOperation","domainLimit","detachRoot","_prepareViewToSave","update","baseVersion","editing","_diffRoots","attachChange","toVersion","delete","getLatestVersion","_handleRootOperation","_isPendingUpdate","2256465DMbEPM","$text","_getPreviousFrom","getOperations","dataDowncast","loadState","_handleOperation","repository","revisionHistoryLicenseKeyTrialLimit","move","filter","clone","toView","_fixPosition","clear","getRange","root","createdAt","548820EyhGmV","stringify","_removeMetaData","creator","isOfficialPlugin","revision-start","document","_copyMarkers","invalid","711462tuKhlK","currentRevision","collaboration.channelId","trialLimit","addRevisionData","_loadState","init","RevisionTracker","_touchedMarkers","position","Users","licenseKey","_savedMetaData","isAttached","initial","view","destroy","roots","upcast","data-revision-","_markChanges","keys","ready","name","_getFromVersion","_handleRootAttributeOperation","7520984SlkwlF","revisionHistoryLicenseKeyEvaluationLimit","revisionHistoryLicenseKeyUsageLimit","map","isEqual","sourcePosition","marked","offsetSize","changeRootAttribute","split","_getViewJson","marker","isPremiumPlugin","find","getTime","createPositionAfter","_initialRevisionId","RevisionHistory","authorsIds","addRoot","getRevisionRootsAttributes","diffData","_setAttribute","vid","revision-end","_revisionId","parse","createPositionAt","_lastFrom","Initial revision","childCount","_loadRevisionData","sendBufferedUpdates","_execute","values","_addPendingAction","type","getCurrentRevisionId","push","then","_markers","shift","_showLicenseError","requires","some","_handleInsertOperation","_touched","insertions","_revisionDataBuilder","revisionHistoryLicenseKeyValid","_processRootBeforeSave","_handleSplitOperation","_touchedRoots","toData","sort","affectsData","text","updateRevisions","initialData","getRevision","addRootAttribute","processor","_insertChild","createPositionBefore","_createFromRanges","RevisionsRepository","_makeModelFromViewString","usageLimit","revisionHistoryLicenseKeyExpired","startsWith","reverse","_findInsertionIndex","_bufferedUpdates","_createCurrentRevision","_isAttached","fromEntries","deletion","config","merge","isEnabled","useFillerType","range","getAttribute","revision:","documentFragment","_getVidAttributeName","reInit","markers","insert","_getState","_startingVersion","_applyOperations","attributesBefore"];return(at=function(){return t})()}function ct(t){const e=et,i=ut(t[e(404)],t[e(527)]());for(const s of t[e(444)]()){const t=s[e(407)](!0);i[e(379)](t)}return i}function ut(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(404)]=t,s[i(614)]=e,s[i(527)]=()=>s[i(614)],s}function lt(t,e,i){const s=et,n=s(328)==t[s(576)]?i[s(567)](t[s(380)],s(472)):i[s(603)](t[s(380)]);return i[s(368)](e,n[s(449)],n[s(451)])}function ht(t,e,i){const s=et,n=s(468)==t[s(576)]?i[s(567)](t[s(380)],0):i[s(555)](t[s(380)]);return i[s(368)](e,n[s(449)],n[s(451)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var xt=i(959),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=wt(),Tt.insert=kt().bind(null,"head"),Tt.domAPI=gt(),Tt.insertStyleElement=It();pt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;const Nt=Rt;function At(){const t=["focusTracker","4512570MOJCWQ","errorText","_createRevisionNameInput","focus","ck-responsive-form","2719356IaQEji","13133270xIQkzq","arrowup","optional","68uusbqs","11CulOEh","revisionNameInputValue","add","fieldView","arrowleft","trim","ck-revision-history-save-revision-form","revisionNameInputView","arrowright","1393hmCvqR","form","reset","keystrokes","22368KdMSgK","revisionName","131240VwylmK","stopPropagation","set","render","8cgZnGQ","220","listenTo","value","extendTemplate","1297992MyhZiv","element","Name of the revision","setTemplate","4693050BdhRPw","input","locale","label","arrowdown"];return(At=function(){return t})()}function Rt(t,e){const i=At();return(Rt=function(t,e){return i[t-=226]})(t,e)}!function(t){const e=Rt,i=t();for(;;)try{if(757269===parseInt(e(227))/1+parseInt(e(242))/2+-parseInt(e(237))/3+-parseInt(e(246))/4*(parseInt(e(262))/5)+parseInt(e(260))/6*(-parseInt(e(256))/7)+parseInt(e(266))/8*(-parseInt(e(231))/9)+parseInt(e(243))/10*(parseInt(e(247))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(At);class Et extends ft.View{[Nt(236)];[Nt(259)];[Nt(254)];constructor(e,i){const s=Nt;super(e),this[s(236)]=new t.FocusTracker,this[s(259)]=new t.KeystrokeHandler,this[s(264)](s(248),""),this[s(254)]=this[s(239)](i),this[s(230)]({tag:s(257),attributes:{class:["ck",s(253),s(241)],tabindex:"-1"},children:[this[s(254)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(265)](){const t=Nt;super[t(265)](),(0,ft.submitHandler)({view:this}),this[t(236)][t(249)](this[t(254)][t(228)]),this[t(259)][t(268)](this[t(228)]);const e=e=>e[t(263)]();this[t(259)][t(264)](t(255),e),this[t(259)][t(264)](t(251),e),this[t(259)][t(264)](t(244),e),this[t(259)][t(264)](t(235),e)}[Nt(240)](){const t=Nt;this[t(254)][t(240)]()}get[Nt(261)](){const t=Nt;return this[t(254)][t(250)][t(228)][t(269)][t(252)]()}set[Nt(261)](t){const e=Nt;this[e(254)][e(250)][e(228)][e(269)]=t[e(252)]()}[Nt(258)](){const t=Nt;this[t(254)][t(250)][t(228)][t(269)]="",this[t(254)][t(238)]=null}[Nt(239)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(233)],ft.createLabeledInputText),s=i[e(250)];s[e(226)]({attributes:{maxlength:e(267)}});let n=G(this[e(233)],e(229));return!t&&(n+=" ("+G(this[e(233)],e(245))+")"),i[e(234)]=n,s.on(e(232),(()=>{const t=e;this[t(248)]=s[t(228)][t(269)][t(252)]()})),i}}const Mt=Vt;function Vt(t,e){const i=Dt();return(Vt=function(t,e){return i[t-=177]})(t,e)}function Dt(){const t=["add","Save current revision","RevisionHistoryUI","1620872FFgUuS","showRevisionViewerCallback","20iEpqTw","hide","Accept","_saveRevisionFormView","revisionHistory.requireRevisionName","1650174AgEibC","get","panelView","5lLKpiL","ck-button-action","18ObqUIm","isReady","focus","42494DZPxHO","children","_showDialog","isReadOnly","plugins","revisionSave","isEnabled","view","items","init","15570430virmlY","The revision name cannot be empty.","requires","menu","execute","11FyLskN","editing","Revision history","revisionHistory","set","2996718xejGhf","show","RevisionTracker","errorText","config","_createSaveRevisionFormView","role","_registerMenuComponent","editor","revisionName","854365OYLSCd","revisionNameInputView","componentFactory","isOfficialPlugin","Dialog","render","reset","menuitem","isPremiumPlugin","addMany","Cancel","locale","menuBar:revisionHistory","isOpen","submit","saveRevision","delegate","8593284uxvECb","pluginName","Open revision history","buttonView","bind"];return(Dt=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(710396===-parseInt(e(201))/1*(-parseInt(e(206))/2)+parseInt(e(226))/3+-parseInt(e(193))/4*(parseInt(e(236))/5)+-parseInt(e(198))/6+-parseInt(e(183))/7+parseInt(e(191))/8*(parseInt(e(203))/9)+-parseInt(e(216))/10*(-parseInt(e(221))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Ct extends U.Plugin{static get[Mt(184)](){return Mt(190)}static get[Mt(239)](){return!0}static get[Mt(244)](){return!0}static get[Mt(218)](){return[nt]}[Mt(196)];[Mt(215)](){const t=Mt,e=this[t(234)],i=e[t(210)][t(199)](t(228));e.ui[t(238)][t(188)](t(224),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(200)][n(207)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(187)](n(212)).to(i,n(204),i,n(212),e,n(209),((t,e,i)=>t&&e&&!i)),r[n(186)][n(225)]({icon:dt.IconHistory,label:G(s,n(223)),tooltip:!0}),u[n(225)]({label:G(s,n(189)),withText:!0,role:n(243)}),u[n(187)](n(212)).to(i,n(204),i,n(212),e,n(209),((t,e,i)=>t&&e&&!i)),u.on(n(220),(()=>this[n(208)]())),h[n(225)]({label:G(s,n(185)),withText:!0,role:n(243)}),h[n(187)](n(212)).to(i,n(204),e,n(209),((t,e)=>t&&!e)),h.on(n(220),(()=>{const t=n;e[t(230)][t(199)](t(224))[t(192)](),r[t(179)]=!1,e[t(222)][t(213)][t(205)]()})),c[n(207)][n(188)](u),l[n(207)][n(188)](h),a[n(232)]=n(219),a[n(214)][n(245)]([c,l]),o[n(188)](a),r})),e.ui[t(238)][t(188)](t(178),(()=>this[t(233)]()))}[Mt(233)](){const t=Mt,e=this[t(234)],i=e[t(177)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(186)][t(225)]({icon:dt.IconHistory,label:G(i,t(223))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(225)]({label:G(i,t(189))}),o[t(182)](t(220)).to(s),o.on(t(220),(()=>{this[t(208)]()})),r[t(207)][t(188)](o),n[t(214)][t(188)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(225)]({label:G(i,t(185))}),c[t(182)](t(220)).to(s),c.on(t(220),(()=>{const i=t;e[i(230)][i(199)](i(224))[i(192)]()})),a[t(207)][t(188)](c),n[t(214)][t(188)](a),s[t(200)][t(207)][t(188)](n),s}[Mt(208)](){const t=Mt,e=this[t(234)],i=e[t(177)],s=e[t(210)][t(199)](t(240)),n=e[t(210)][t(199)](t(228));function r(n){const r=t;e[r(230)][r(199)](r(197))&&""===n[r(235)]?n[r(237)][r(229)]=G(i,r(217)):(e[r(210)][r(199)](nt)[r(181)]({name:n[r(235)]}),s[r(194)]())}this[t(196)]||(this[t(231)](),this[t(196)].on(t(180),(()=>r(this[t(196)])))),this[t(196)][t(242)](),s[t(227)]({id:t(211),title:G(i,t(189)),isModal:!0,content:this[t(196)],actionButtons:[{label:G(e[t(177)],t(246)),withText:!0,onExecute:()=>s[t(194)]()},{label:G(e[t(177)],t(195)),class:t(202),withText:!0,onCreate(i){const s=t;i[s(187)](s(212)).to(n,s(204),n,s(212),e,s(209),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(196)])}]})}[Mt(231)](){const t=Mt,e=this[t(234)],i=e[t(177)];this[t(196)]=new Et(i,e[t(230)][t(199)](t(197))),this[t(196)][t(241)]()}}function Ft(){const t=["element","ck-revision-change__label","isSuggestion","Suggested by","203FplEmz","span","Removed by","data","ck-revision-change","setTemplate","set","1378458EgJyXH","329155LNlxDZ","ck-annotation","466locADb","author","div","Added by","ck-revision-change__","_model","changeId","focus","68dYcZhv","bindTemplate","type","add","113412SsJNvk","3838614OUzhyK","name","8163099JqyILG","5049928tGOxKu"];return(Ft=function(){return t})()}const Lt=jt;function jt(t,e){const i=Ft();return(jt=function(t,e){return i[t-=138]})(t,e)}!function(t){const e=jt,i=t();for(;;)try{if(820092===parseInt(e(153))/1*(-parseInt(e(163))/2)+parseInt(e(145))/3+parseInt(e(140))/4*(-parseInt(e(161))/5)+parseInt(e(144))/6+parseInt(e(147))/7+-parseInt(e(148))/8+parseInt(e(160))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Pt extends ft.View{[Lt(138)];[Lt(168)];constructor(t,e){const i=Lt;super(t),this[i(168)]=e,this[i(138)]=e.id;const s=this[i(141)],n=G(t,e[i(156)][i(151)]?i(152):i(143)==e[i(142)]?i(166):i(155));this[i(159)](i(142),e[i(142)]),this[i(158)]({tag:i(165),attributes:{class:[i(162),i(157),s.to(i(142),(t=>i(167)+t))],tabindex:-1},children:[{tag:i(154),children:[{tag:i(154),attributes:{class:[i(150)]},children:[{text:n}]},{text:" "+e[i(164)][i(146)]}]}]})}[Lt(139)](){const t=Lt;this[t(149)][t(139)]()}}var Wt=zt;function zt(t,e){var i=Ut();return(zt=function(t,e){return i[t-=273]})(t,e)}function Ut(){var t=["370qfjJjR","author","rootName","toJSON","2362376agBara","99apMowt","4893816HkTZAN","80479XWlTxB","22uljYke","9440mnFoaH","createdAt","3024510mQKGdw","type","360546yISfYw","data","8hfFlme","224397UBWPGD","342glenTd","set"];return(Ut=function(){return t})()}!function(t){for(var e=zt,i=t();;)try{if(569659===-parseInt(e(281))/1*(-parseInt(e(285))/2)+-parseInt(e(289))/3*(-parseInt(e(291))/4)+-parseInt(e(287))/5+-parseInt(e(274))/6*(-parseInt(e(283))/7)+-parseInt(e(280))/8+parseInt(e(273))/9*(parseInt(e(276))/10)+parseInt(e(284))/11*(-parseInt(e(282))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Zt extends((0,t.ObservableMixin)()){id;[Wt(277)];[Wt(288)];[Wt(290)];[Wt(278)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(277)]=e[i(277)],this[i(288)]=e[i(288)],this[i(290)]=e[i(290)]||{},this[i(278)]=e[i(278)],this[i(275)](i(286),e[i(286)])}[Wt(279)](){var t=Wt;return{id:this.id,authorId:this[t(277)].id,type:this[t(288)],data:this[t(290)],createdAt:this[t(286)]}}}const Ht=$t;function qt(){const t=["25804hmQmDY","171126AzHTfd","2127915pCjBUZ","19VfxURg","changes","536285YGfBqu","4440534yXcJQh","1031500BxxuTP","190iyonKK","add","newRevisionId","_setChanges","oldRevisionId","6PCAgfn","8CQqjll","437327SstJSy"];return(qt=function(){return t})()}function $t(t,e){const i=qt();return($t=function(t,e){return i[t-=106]})(t,e)}!function(t){const e=$t,i=t();for(;;)try{if(453584===-parseInt(e(106))/1*(parseInt(e(119))/2)+parseInt(e(121))/3+-parseInt(e(110))/4+parseInt(e(108))/5*(parseInt(e(116))/6)+-parseInt(e(109))/7+parseInt(e(117))/8*(parseInt(e(120))/9)+-parseInt(e(111))/10*(-parseInt(e(118))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Bt{[Ht(113)];[Ht(115)];[Ht(107)];constructor(e,i){const s=Ht;this[s(113)]=e,this[s(115)]=i,this[s(107)]=new t.Collection}[Ht(114)](t){const e=Ht;for(const i of t)this[e(107)][e(112)](i)}}var Yt=i(536),Gt={attributes:{"data-cke":!0}};Gt.setAttributes=wt(),Gt.insert=kt().bind(null,"head"),Gt.domAPI=gt(),Gt.insertStyleElement=It();pt()(Yt.A,Gt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Jt=Kt;function Kt(t,e){const i=ee();return(Kt=function(t,e){return i[t-=346]})(t,e)}!function(t){const e=Kt,i=t();for(;;)try{if(482825===-parseInt(e(578))/1*(-parseInt(e(450))/2)+-parseInt(e(647))/3+parseInt(e(438))/4+parseInt(e(613))/5*(parseInt(e(617))/6)+-parseInt(e(632))/7*(parseInt(e(656))/8)+parseInt(e(501))/9+-parseInt(e(607))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);const Xt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class Qt extends U.Plugin{[Jt(637)];[Jt(393)];[Jt(509)];[Jt(412)];[Jt(514)];[Jt(458)];static get[Jt(491)](){return Jt(357)}static get[Jt(464)](){return!0}static get[Jt(569)](){return!0}static get[Jt(423)](){return[Z.Users,ft.ContextualBalloon,B]}constructor(t){const e=Jt;super(t),this[e(637)]=this[e(594)][e(658)][e(404)](e(605)),this[e(359)](e(622),null),this[e(359)](e(376),null),this[e(509)]=null,this[e(359)](e(673),null),this[e(359)](e(483),!1),this[e(359)](e(653),!0),this.on(e(371),((t,i,s)=>{const n=e;this[n(622)]=null,this[n(376)]=null,this[n(594)][n(604)][n(479)][n(451)]((t=>{const e=n;for(const i of this[e(594)][e(604)][e(479)][e(358)][e(579)])s?t[e(378)](e(377),i):t[e(623)](e(377),i)}))})),this[e(511)](e(644)).to(this,e(622),(t=>null!==t)),this[e(511)](e(562)).to(this,e(483),this,e(673),this,e(622),((t,i,s)=>t&&s?i[e(682)][e(531)](s):0)),this[e(511)](e(347)).to(this,e(483),this,e(673),((t,i)=>t?i[e(682)][e(346)]:0)),this[e(412)]=null,this[e(514)]=new Map,this[e(393)]=null,this[e(458)]=this[e(594)][e(658)][e(404)](ft.ContextualBalloon)}[Jt(610)](){const t=Jt,e=this[t(594)],i=new se(e,{direction:t(614)}),s=new se(e,{direction:t(600)});e[t(655)][t(596)](t(399),i),e[t(655)][t(596)](t(683),s),e[t(655)][t(596)](t(477),new ie(e)),this.on(t(520),(()=>{const e=t;i[e(432)](),s[e(432)]()})),this[t(678)](),this[t(530)](),e[t(452)](t(558)),e[t(658)][t(603)](t(350))&&e[t(658)][t(404)](t(350))[t(546)](t(558))}async[Jt(507)](t){const e=Jt;await this[e(437)](t);const i={};for(const s in t[e(629)]){if(t[e(629)][s][e(567)]&&!t[e(629)][s][e(567)][e(539)])continue;const n=this[e(411)](JSON[e(641)](t[e(629)][s][e(433)])),r=this[e(594)][e(604)][e(479)][e(358)],o=new H.ViewDocumentFragment(r,n[e(508)]((t=>this[e(543)](t))));this[e(594)][e(375)][e(397)][e(384)](e(560)),i[s]=this[e(594)][e(375)][e(397)][e(484)](o),this[e(594)][e(375)][e(397)][e(384)](e(408))}return i}async[Jt(463)](t){const e=Jt;await this[e(437)](t);const i={};for(const s in t[e(629)])t[e(629)][s][e(567)]&&!t[e(629)][s][e(567)][e(539)]||(i[s]=t[e(629)][s][e(424)]||{});return i}[Jt(411)](t){const e=Jt;return(t=t[e(367)]((t=>!t[e(355)]||e(391)!==t[e(355)]&&e(362)!==t[e(355)])))[e(354)]((t=>{const i=e;i(490)!=typeof t&&(t[i(418)]=this[i(411)](t[i(418)]),t[i(650)]=t[i(650)][i(367)]((t=>!t[0][i(383)](i(461)))))})),t}async[Jt(349)](t,e,i=!1){const s=Jt;if(!this[s(653)])return;const n=this[s(673)],r=this[s(637)],o=s(490)==typeof t?r[s(441)](t):t,a=s(490)==typeof e?r[s(441)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(673)]&&this[s(673)][s(448)]===c&&this[s(673)][s(492)]===u)return Promise[s(654)]();this[s(483)]=!1,this[s(376)]=null,this[s(622)]=null,this[s(673)]=new Bt(c,u);const l=this[s(532)](o,a,!0)[s(508)]((t=>this[s(437)](t)));return l[s(636)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(602)](l)[s(611)]((()=>{const t=s;if(!this[t(653)])return;this[t(595)]();const e=this[t(457)](c,u);for(const i of e[t(682)])this[t(514)][t(359)](i.id,i);this[t(594)][t(589)][t(545)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(594)][s(589)][s(358)][s(528)]())i[s(573)](t);for(const t of Object[s(588)](e[s(589)])){const n=i[s(510)](t);for(const r of Object[s(588)](e[s(650)][t]))i[s(563)](r,e[s(650)][t][r],n);i[s(585)](e[s(589)][t],n,0)}})),this[t(673)][t(552)](this[t(679)](e[t(682)])),this[t(483)]=!0}))[s(446)]((t=>{const e=s;console[e(389)](t),this[e(595)](),n&&(this[e(673)]=n),this[e(483)]=!0}))}[Jt(462)](t,e){const i=Jt,s=this[i(637)][i(426)](t);return s.on(i(469),((t,i,n)=>e(i,n,s))),this[i(637)][i(504)](s),s}[Jt(437)](t){const e=Jt;if(!t||t[e(629)])return Promise[e(654)]();{const i=this[e(594)][e(624)][e(404)](e(414));return this[e(393)][e(441)]({channelId:i,revisionId:t.id})[e(611)]((i=>{const s=e;t[s(469)]({diffData:i[s(629)]},!0)}))}}[Jt(595)](){const t=Jt;this[t(622)]=null,this[t(526)](),this[t(412)]&&this[t(412)][t(538)](),this[t(412)]=null,this[t(514)][t(642)](),this[t(594)][t(589)][t(545)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(594)][i(589)][i(358)][i(528)]())e[i(573)](t)}))}[Jt(679)](t){const e=Jt,i=[],s=new Map;for(const t of this[e(594)][e(589)][e(358)][e(528)]()){const n=this[e(594)][e(604)][e(479)][e(583)](t);if(!n)continue;const r=n[e(643)]()[e(351)](0);r&&(i[e(636)](t),s[e(359)](t,r))}return i[e(415)](((t,i)=>{const n=e,r=s[n(404)](t),o=s[n(404)](i);return r.y-o.y||r.x-o.x})),(t=t[e(367)]((t=>i[e(548)](t[e(406)]))))[e(415)](((t,s)=>i[e(470)](t[e(406)])-i[e(470)](s[e(406)]))),t}[Jt(681)](t){const e=Jt,i=Array[e(665)](t[e(366)])[e(367)]((([t,i])=>t[e(383)](e(587))&&!i[e(460)])),s=Array[e(665)](this[e(594)][e(589)][e(506)](t)[e(485)]({singleCharacters:!0}));if(0!=i[e(346)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(662)](":");if(n[e(620)][e(425)](t[e(364)])&&i[e(401)](),(t[e(584)][e(425)](n[e(659)])||t[e(584)][e(487)](n[e(659)]))&&(e(640)==r?t[e(663)]={userId:o}:e(586)==r&&(t[e(630)]={userId:o})),0==i[e(346)])break}return s}[Jt(468)](t){const e=Jt,i=new Map;for(let s=0;s<t[e(346)];s++)e(568)===t[s][e(395)]?(t[s][e(351)][e(570)]=s,t[s][e(351)][e(489)]=s):(e(517)===t[s][e(395)]?t[s][e(351)][e(570)]=s:e(379)===t[s][e(395)]&&(t[s][e(351)][e(489)]=s),i[e(359)](t[s].id,s));for(const s of i[e(590)]())e(517)===t[s][e(395)]?t[s][e(351)][e(489)]=i[e(404)](t[s][e(626)]):e(379)===t[s][e(395)]&&(t[s][e(351)][e(570)]=i[e(404)](t[s][e(626)]))}[Jt(368)](t){const e=Jt;for(let i=0;i<t[e(346)];i++){if(e(517)===t[i][e(395)])t[i][e(351)][e(570)]=i;else if(e(379)===t[i][e(395)]){t[i][e(351)][e(489)]=i;const s=t[i][e(351)][e(570)];t[s][e(626)]=t[i].id,t[i][e(626)]=t[s].id}else t[i][e(351)][e(570)]=i,t[i][e(351)][e(489)]=i,t[i][e(626)]=null;t[i][e(574)]||(t[i][e(574)]=[],t[i][e(627)]=[])}}[Jt(618)](t,e){const i=Jt,s=t[i(367)]((t=>!t[i(663)]));for(let t=0;t<e[i(346)];t++)e[t][i(663)]&&(s[t][i(663)]=e[t][i(663)])}[Jt(516)](t){const e=Jt,i=JSON[e(641)](t),s=this[e(594)][e(604)][e(479)][e(358)],n=new H.ViewDocumentFragment(s,i[e(508)]((t=>this[e(543)](t))));return this[e(594)][e(375)][e(443)](n)}[Jt(543)](t){const e=Jt,i=this[e(594)][e(604)][e(479)][e(358)];if(e(490)==typeof t)return new H.ViewText(i,t);{const s=t[e(418)][e(508)]((t=>this[e(543)](t)));return new(Xt[t[e(395)]]||H.ViewElement)(i,t[e(355)],t[e(650)],s)}}[Jt(457)](t,e=null){const i=Jt,s=this[i(637)][i(441)](t),n=e?this[i(637)][i(441)](e):null,r=this[i(532)](s,n),o=r[r[i(346)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(346)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(588)](e[i(629)]))if(e[i(629)][t][i(567)]){const s=e[i(629)][t][i(567)];s[i(539)]?(u[i(596)](t),l[i(603)](t)&&l[i(404)](t)[i(499)]==s[i(499)]?l[i(421)](t):l[i(359)](t,s)):l[i(603)](t)?(u[i(421)](t),l[i(421)](t)):(u[i(596)](t),l[i(359)](t,s))}else u[i(596)](t)}for(const t of u){const e=l[i(603)](t)&&!l[i(404)](t)[i(539)];let s=e?r[i(346)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(629)][t]){const s=e?o[i(629)][t][i(634)]:o[i(629)][t][i(424)];c[i(650)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(589)]={};for(const e of t[i(420)])a[i(359)](e.id,e);for(const e of u){const s=t[i(629)][e]?t[i(629)][e][i(433)]:"[]",n=t[i(629)][e]?t[i(629)][e][i(392)]:"[]";t[i(589)][e]={insertions:this[i(516)](s),deletions:this[i(516)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(665)](s[i(589)][t][i(433)][i(366)])[i(367)]((([t])=>!t[i(383)](i(587)))));let h=0;for(const o of r){const r=this[i(681)](o[i(589)][t][i(433)]);o==s?(e=r,n=e[i(346)],e[i(354)]((t=>{t.id=h++})),this[i(368)](e)):this[i(618)](e,r);const a=e[i(367)]((t=>!t[i(663)]))[i(508)]((t=>t.id));let c=0;const l=this[i(681)](o[i(589)][t][i(392)]);l[i(354)]((t=>{t[i(630)]?t.id=n++:t.id=a[c++]})),this[i(368)](l),this[i(480)](e,i(663)),this[i(480)](l,i(630)),o==s&&this[i(631)](e,u),e=this[i(527)](e,l),this[i(468)](e),this[i(480)](e,i(630))}e=e[i(367)]((t=>!(t[i(663)]&&t[i(630)])));const d=new Map(o[i(589)][t][i(392)][i(366)]),f=new Set(u[i(588)]());for(const t of d[i(588)]())f[i(421)](t);this[i(478)](e,f),this[i(638)](e),e=this[i(608)](e),e=this[i(419)](e),e=this[i(373)](e);const{root:m,changes:p}=this[i(459)](e,a,t);c[i(589)][t]=m;const v=l[i(404)](t);if(v){const e=a[i(404)](v[i(499)]),s=new Zt({author:e,type:v[i(539)]?i(596):i(554),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(660)](s),c[i(650)][t][i(348)]=s.id}c[i(682)]=c[i(682)][i(621)](p)}return c}[Jt(631)](t,e){const i=Jt;for(let s=0;s<t[i(346)];s++)for(const[n,r]of e)r[i(659)][i(425)](t[s][i(584)])&&t[s][i(574)][i(636)](n),r[i(620)][i(425)](t[s][i(364)])&&t[s][i(627)][i(636)](n)}[Jt(527)](t,e){const i=Jt;let s=[],n=0,r=0;for(;n<t[i(346)]||r<e[i(346)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(636)](o);else if(a[i(630)]&&o[i(663)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(365)](t,n,e,r);s=s[i(621)](o),n=a,r=c}else a[i(630)]?(r++,s[i(636)](a)):(n++,s[i(636)](o))}return s}[Jt(478)](t,e){const i=Jt,s=[];for(let o=0;o<t[i(346)];o++){for(let r=0;r<t[o][i(574)][i(346)];r++){const a=t[o][i(574)][r];if(!e[i(603)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(668)!=c||i(640)!=u&&i(586)!=u||(s[i(660)]({type:u,name:a,userId:l}),t[o][i(574)][i(648)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(627)][i(346)];r++){const a=t[o][i(627)][r];if(!e[i(603)](a))continue;const{group:c,type:u}=n(a);if(i(668)!=c||i(640)!=u&&i(586)!=u)continue;t[o][i(627)][i(648)](r,1),r--;const l=s[i(473)]((t=>t[i(355)]==a));l>-1&&s[i(648)](l,1)}}function n(t){const e=i,s=t[e(662)](":");return{group:s[0],type:s[1],subType:s[e(346)]>=5?s[2]:null,id:s[e(346)]<5?s[2]:s[3],authorId:s[e(346)]<5?s[3]:s[4],markerCount:6==s[e(346)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(346)];i++){if(t[e(663)]&&e(640)==s[i][e(395)])return t[e(625)]=s[i],void delete t[e(663)];if(!t[e(663)]&&!t[e(630)]&&e(586)==s[i][e(395)])return void(t[e(447)]=s[i])}}}[Jt(480)](t,e){const i=Jt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(359)](o.id,s);for(let s=0;s<t[i(346)];s++){if(i(630)==e&&t[s][i(663)]||i(663)==e&&t[s][i(630)])continue;if(i(568)==t[s][i(395)]){t[s][i(396)]=0;continue}const n=r[i(404)](t[s][i(626)]),o=r[i(404)](t[s].id);t[s][i(396)]=n-o}}[Jt(532)](t,e,i=!1){const s=Jt,n=[];let r=this[s(637)][s(531)](t),o=this[s(637)][s(531)](e);for(-1==o&&(o=this[s(637)][s(409)][s(346)],i=!1);r<o;)n[s(636)](this[s(637)][s(441)](r)),r++;return i&&n[s(636)](this[s(637)][s(441)](r)),n}[Jt(365)](t,e,i,s){const n=Jt,r=this[n(594)][n(589)][n(352)];let o=e;for(;t[o]&&t[o][n(663)];)o++;let a=s;for(;i[a]&&i[a][n(630)];)a++;u(t,e,o),u(i,s,a);const c=i[n(555)](s,a)[n(621)](t[n(555)](e,o));return c[n(415)](((t,e)=>t[n(486)]!=e[n(486)]?t[n(486)]-e[n(486)]:t[n(512)]!=e[n(512)]?t[n(512)]-e[n(512)]:t[n(396)]!=e[n(396)]?e[n(396)]-t[n(396)]:!!t[n(663)]!=!!e[n(663)]?-1==t[n(486)]||0==t[n(486)]?t[n(663)]?-1:1:t[n(663)]?1:-1:t[n(495)]-e[n(495)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(649)],c=!0;for(let n=e;n<i;n++)if(r[s(601)](t[n][s(351)])||(c=!1),t[n][s(351)][s(570)]<e&&(o=n),t[n][s(351)][s(489)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(486)]=n<=o?-1:n<a?0:1,t[n][s(495)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(396)]?t[i][s(512)]=u:(u++,t[i][s(512)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(486)]&&(t[n][s(512)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(396)]?t[e][s(512)]=u:(u--,t[e][s(512)]=u,u--)}}[Jt(638)](t){const e=Jt,i=new Map,s=this[e(594)][e(589)][e(352)];for(let n=1;n<t[e(346)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(568)==c[e(395)])continue;if(c[e(395)]!=u[e(395)])continue;if(!s[e(449)](u[e(351)])||s[e(498)](u[e(351)]))continue;if(!s[e(449)](c[e(351)])||s[e(498)](c[e(351)]))continue;if((t[n][e(663)]||t[n][e(625)])&&t[n-1][e(630)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(630)]||!t[n-1][e(663)]&&!t[n-1][e(625)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(512)]==o[e(512)],h=Math[e(593)](r[e(512)])<Math[e(593)](o[e(512)])&&0==o[e(396)];(l||h)&&(i[e(359)](o.id,r.id),t[e(648)](a,1),n--,r[e(663)]=!1)}for(let s=0;s<t[e(346)];s++)i[e(603)](t[s][e(626)])&&(t[s][e(626)]=i[e(404)](t[s][e(626)]))}[Jt(608)](t){const e=Jt,i=new Set(t[e(508)]((t=>t.id)));for(let s=0;s<t[e(346)];s++)i[e(603)](t[s][e(626)])||0==t[s][e(396)]||(t[s][e(616)]=!0);return t[e(367)]((t=>!t[e(616)]))}[Jt(419)](t){const e=Jt,i=new Set;for(let s=0;s<t[e(346)];s++){if(i[e(603)](t[s].id)&&t[s][e(630)]&&(t[s][e(616)]=!0),t[s][e(616)])continue;if(0==t[s][e(396)])continue;if(e(517)!=t[s][e(395)])continue;if(null==t[s][e(626)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(626)];)e(517)==t[n][e(395)]?r++:e(379)==t[n][e(395)]&&r--,n++;if(0!=r)if(t[s][e(630)])t[s][e(616)]=!0;else for(;n!=s;)t[n][e(630)]&&0!=t[n][e(396)]&&(t[n][e(616)]=!0,i[e(596)](t[n][e(626)])),n--}return t[e(367)]((t=>!t[e(616)]))}[Jt(373)](t){const e=Jt,i=this[e(594)][e(589)][e(352)];for(let s=0;s<t[e(346)];s++){if(!(t[s][e(663)]||t[s][e(625)]||t[s][e(630)]||t[s][e(447)]))continue;if(0==t[s][e(396)])continue;const n=t[s][e(351)];i[e(449)](n)||i[e(498)](n)||(t[s][e(663)]&&delete t[s][e(663)],t[s][e(625)]&&delete t[s][e(625)],t[s][e(447)]&&delete t[s][e(447)],t[s][e(630)]&&(t[s][e(616)]=!0))}return t[e(367)]((t=>!t[e(616)]))}[Jt(459)](t,e,i){const s=Jt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(594)][s(589)],c=a[s(352)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(346)];e++)if(s(517)===t[e][s(395)]){t[e][s(584)]=a[s(413)](n,f);const i=new H.Element(t[e][s(351)][s(355)],t[e][s(351)][s(599)]());u[0][s(385)](i),f[s(636)](0),u[s(660)](i),t[e][s(364)]=a[s(413)](n,f)}else s(379)===t[e][s(395)]?(u[s(401)](),t[e][s(584)]=a[s(413)](n,f),f[s(430)](),f[f[s(346)]-1]++,t[e][s(364)]=a[s(413)](n,f)):(t[e][s(584)]=a[s(413)](n,f),d?d[s(592)]+=t[e][s(351)][s(375)]:d=new H.Text(t[e][s(351)][s(375)],t[e][s(351)][s(599)]()),t[e+1]&&s(568)===t[e+1][s(395)]&&v(d,t[e+1][s(351)])||(u[0][s(385)](d),d=null),f[f[s(346)]-1]+=t[e][s(351)][s(488)],t[e][s(364)]=a[s(413)](n,f));for(let e=0;e<t[s(346)];e++){const i=t[e][s(584)],n=t[e][s(364)];for(const n of t[e][s(574)])o[s(359)](n,{start:i,end:null});m(s(447),e,i,n),m(s(625),e,i,n),m(s(630),e,i,n),m(s(663),e,i,n);for(const i of t[e][s(627)])o[s(404)](i)[s(620)]=n}for(const[t,e]of o){const i=this[s(594)][s(589)][s(564)](e[s(659)],e[s(620)]);n[s(366)][s(359)](t,i)}return r[s(415)](((t,e)=>{const i=s,r=n[i(366)][i(404)](i(587)+t.id),o=n[i(366)][i(404)](i(587)+e.id);return r[i(659)][i(541)](o[i(659)])?-1:r[i(659)][i(487)](o[i(659)])?1:r[i(620)][i(541)](o[i(620)])?-1:r[i(620)][i(487)](o[i(620)])?1:i(596)===t[i(395)]?-1:1})),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(499)]:null,d=i===t[o(346)]-1,f=h[e][0],m=c[o(422)](t[i][o(351)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(620)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(499)]!==u&&(l[e][o(620)]=n,f&&f[o(499)]===l[e][o(499)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(517)!==t[i][o(395)]||f&&f[o(499)]===u||h[e][o(660)]({userId:u,object:t[i][o(351)],change:l[e]}),o(379)===t[i][o(395)]&&f&&f[o(591)]===t[i][o(351)]&&(h[e][o(401)](),l[e]=f[o(451)])),l[e]&&d&&(l[e][o(620)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(351)],f=a[h(352)][h(449)](d)&&!a[h(352)][h(498)](d),m=t[h(372)]==o[h(670)]&&o[h(455)];if(f&&m)return;const p=a[h(564)](t,o),v=e[h(404)](u),g=new Zt({author:v,type:h(663)==l||h(625)==l?h(596):h(554),data:{isSuggestion:h(625)==l||h(447)==l},createdAt:new Date,rootName:i});r[h(636)](g),n[h(366)][h(359)](h(587)+g.id,p)}function v(t,e){const i=s,n=t[i(599)](),r=e[i(599)]();for(const t of n){if(t[1]!==e[i(666)](t[0]))return!1;r[i(635)]()}return r[i(635)]()[i(551)]}}[Jt(678)](){const t=Jt;this[t(594)][t(435)][t(542)](t(676))[t(612)]({view:t(549)}),this[t(594)][t(435)][t(542)](t(456))[t(388)]({model:t(549),view:e=>{const i=t,s=e[i(505)][i(662)](":")[1],n=this[i(646)](s);if(!n)return null;const r=i(596)==n[i(395)]?i(640):i(586),o=[i(370),i(442)+r];return n[i(375)][i(444)]&&o[i(636)](i(442)+r+i(566)),this[i(622)]==n&&o[i(636)](i(519)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(594)][t(435)][t(542)](t(676))[t(596)]((e=>{const i=t;e.on(i(353),((t,e,s)=>{const n=i,r=e[n(529)][n(536)](0);if(!r||!r.is(n(557),n(657)))return;if(!s[n(431)][n(628)](r,{attributes:[n(363),n(652)]}))return;const o=e[n(674)][n(659)][n(372)];s[n(386)][n(563)](n(363),r[n(666)](n(363)),o),s[n(386)][n(563)](n(652),r[n(666)](n(652)),o)}),{priority:i(582)})})),this[t(594)][t(435)][t(542)](t(676))[t(596)]((e=>{const i=t;e.on(i(557),((t,e,s)=>{const n=i;if(!s[n(431)][n(628)](e[n(529)],{attributes:[n(363),n(652)]}))return;if(e[n(674)][n(460)])return;const r=e[n(674)][n(659)][n(372)];r[n(672)](n(363))||r[n(672)](n(606))||(s[n(386)][n(563)](n(363),e[n(529)][n(666)](n(363)),r),s[n(386)][n(563)](n(652),e[n(529)][n(666)](n(652)),r))}),{priority:i(582)})})),this[t(594)][t(435)][t(542)](t(676))[t(534)]({view:{name:t(598),attributes:{vid:!0}},model:{key:t(606),value:e=>e[t(666)](t(606))}}),this[t(594)][t(589)][t(352)].on(t(513),((e,[,i])=>{const s=t;[s(363),s(652),s(606)][s(548)](i)&&(e[s(553)]=!0,e[s(675)]())}),{priority:t(410)}),this[t(594)][t(435)][t(542)](t(497))[t(596)]((e=>{const i=t;e.on(i(381),((t,e,s)=>{const n=i;if(" "!=e[n(351)][n(375)]||e[n(351)][n(670)][n(502)]>1)return;if(!s[n(431)][n(628)](e[n(351)],t[n(355)]))return;const r=s[n(386)],o=s[n(407)][n(503)](e[n(369)]);r[n(556)](o,r[n(402)](n(598)))}))})),this[t(594)][t(435)][t(542)](t(497))[t(382)]({model:t(549)}),this[t(594)][t(604)][t(387)].on(t(540),function(e){const i=t,s=e[i(658)][i(404)](i(357));return(t,n,r)=>{const o=i,a=n[o(505)][o(662)](":")[1],c=s[o(646)](a);if(!c)return null;const u=o(596)==c[o(395)]?o(662):o(550);if(!r[o(431)][o(439)](n[o(667)],t[o(355)]))return;const l=n[o(667)][o(485)](),h=n[o(667)][o(659)],d=e[o(589)][o(352)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(351)];p=p||d[o(535)](e);const i=r[o(407)][o(669)](e);if(i&&i[o(471)](o(481)))return;o(379)==t[o(395)]&&d[o(449)](e)&&!d[o(498)](e)&&(e[o(561)]||h[o(522)]?f&&f[o(670)]==e||(f=e,g(t[o(584)]),v=!0):m=m||t[o(584)])}function g(t){const e=o,i=r[e(386)][e(428)](e(598),{class:e(442)+u}),a=r[e(407)][e(565)](t);c[e(375)][e(444)]&&r[e(386)][e(623)](e(442)+u+e(566),i),s[e(622)]==c&&r[e(386)][e(623)](e(519),i),r[e(386)][e(585)](a,i),r[e(407)][e(405)](i,n[e(505)])}p||v||!m||g(m)}}(this[t(594)]),{priority:t(547)}),this[t(594)][t(604)][t(387)].on(t(521),((e,i,s)=>{const n=t,r=s[n(407)][n(580)](i[n(505)]);if(r)for(const t of r)(t[n(474)](n(572))||t[n(474)](n(496)))&&(s[n(407)][n(677)](t,i[n(505)]),s[n(386)][n(554)](t))}),{priority:t(547)}),this[t(594)][t(604)][t(387)].on(t(540),((e,i,s)=>{const n=t,r=i[n(505)][n(662)](":")[1],o=this[n(646)](r);if(!o)return null;const a=n(596)==o[n(395)]?n(662):n(550);if(s[n(431)][n(439)](i[n(667)],e[n(355)]))for(const t of i[n(667)][n(400)]()){if(!t.is(n(557),n(523)))continue;const e=s[n(386)][n(428)](n(598),{class:n(442)+a}),r=s[n(407)][n(565)](this[n(594)][n(589)][n(434)](t));o[n(375)][n(444)]&&s[n(386)][n(623)](n(442)+a+n(566),e),this[n(622)]==o&&s[n(386)][n(623)](n(519),e),s[n(386)][n(585)](r,e),s[n(407)][n(405)](e,i[n(505)])}}),{priority:t(547)}),this[t(594)][t(589)][t(358)].on(t(451),(()=>{const e=t;this[e(594)][e(604)][e(479)][e(451)]((t=>{const i=e;for(const e of this[i(594)][i(589)][i(358)][i(528)]()){const s=this[i(594)][i(589)][i(358)][i(361)](e),n=this[i(594)][i(604)][i(479)][i(358)][i(361)](e);if(n){const e=s[i(666)](i(348));if(t[i(475)](i(429),n),t[i(378)](i(645),n),t[i(378)](i(417),n),t[i(378)](i(494),n),e){const s=this[i(646)](e);if(!s)return null;t[i(563)](i(429),e,n),t[i(623)](i(374)+s[i(395)],n),this[i(622)]==s&&t[i(623)](i(494),n)}}}}))})),this[t(594)][t(435)][t(542)](t(676))[t(612)]({view:t(633),model:e=>t(476)+e,converterPriority:t(410)}),this[t(594)][t(435)][t(542)](t(676))[t(612)]({view:t(619),model:e=>t(403)+e,converterPriority:t(410)}),this[t(594)][t(435)][t(542)](t(497))[t(382)]({model:t(668),view:e=>({name:t(380)+e,group:t(668)}),converterPriority:t(410)}),this[t(594)][t(435)][t(542)](t(456))[t(388)]({model:t(668),view:e=>{const i=t,s=e[i(505)][i(662)](":")[1];return i(640)!=s&&i(586)!=s?null:{classes:[i(472),i(436)+s]}}}),this[t(594)][t(604)][t(387)].on(t(581),te(this[t(594)],t(550)),{priority:t(547)}),this[t(594)][t(604)][t(387)].on(t(515),te(this[t(594)],t(662)),{priority:t(547)}),this[t(594)][t(604)][t(387)].on(t(493),((e,i,s)=>{const n=t,r=s[n(407)][n(580)](i[n(505)]);if(r)for(const t of r)t.is(n(544))&&(s[n(407)][n(677)](t,i[n(505)]),s[n(386)][n(554)](t))}),{priority:t(547)})}[Jt(646)](t){const e=Jt;return this[e(514)][e(404)](t)}[Jt(416)](t){const e=Jt;return this[e(412)]&&this[e(412)][e(538)](),this[e(412)]=new Pt(this[e(594)][e(356)],t),this[e(412)]}[Jt(530)](){const t=Jt;this[t(594)][t(589)][t(358)][t(671)][t(500)](t(549)),this.on(t(518),((e,i,s,n)=>{const r=t;n&&this[r(458)][r(554)](n),s&&(this[r(458)][r(596)]({view:s,stackId:r(465),position:{target:()=>{const t=r,e=this[t(594)][t(604)],i=this[t(646)](s[t(577)]);let n;if(i[t(375)][t(360)]){const s=e[t(479)][t(583)](i[t(406)]);n=Array[t(665)](s[t(643)]())}else{const i=this[t(594)][t(589)][t(366)][t(404)](t(587)+s[t(577)]);n=Array[t(665)](e[t(407)][t(580)](i[t(355)]))[t(508)]((i=>e[t(479)][t(390)][t(609)](i)))[t(508)]((e=>Array[t(665)](e[t(643)]())))[t(571)]()}return this[t(509)]&&n[t(537)]((e=>e[t(427)]-3<=this[t(509)].y&&e[t(445)]+3>=this[t(509)].y&&e[t(482)]-3<=this[t(509)].x&&e[t(639)]+3>=this[t(509)].x))||n[0]}}}),this[r(458)][r(575)](r(465)))})),this.on(t(597),((e,i,s,n)=>{const r=t;this[r(376)]=s?this[r(416)](s):null,this[r(594)][r(589)][r(451)]((()=>{const t=r,e=this[t(594)][t(604)];n&&(n[t(375)][t(360)]?e[t(479)][t(451)]((i=>{const s=t;i[s(378)](s(494),e[s(479)][s(358)][s(361)](n[s(406)]))})):e[t(651)](t(587)+n.id)),s&&(s[t(375)][t(360)]?e[t(479)][t(451)]((i=>{const n=t;i[n(623)](n(494),e[n(479)][n(358)][n(361)](s[n(406)]))})):e[t(651)](t(587)+s.id))}))})),this[t(661)](this[t(594)][t(604)][t(479)][t(358)],t(453),((e,i)=>{const s=t;if(this[s(622)])return;const n=this[s(576)](i[s(664)]),r=this[s(514)][s(404)](n);r?(this[s(509)]={x:i[s(524)].x,y:i[s(524)].y},this[s(376)]=this[s(416)](r)):(this[s(509)]=null,this[s(376)]=null)})),this[t(661)](this[t(594)][t(604)][t(479)][t(358)],t(398),((e,i)=>{const s=t,n=this[s(576)](i[s(664)]),r=this[s(514)][s(404)](n);r?(this[s(509)]={x:i[s(524)].x,y:i[s(524)].y},r===this[s(622)]?this[s(458)][s(394)]():this[s(622)]=r):(this[s(509)]=null,this[s(622)]=null)}))}[Jt(576)](t){const e=Jt;do{const i=t[e(666)](e(429));if(i)return i;t=t[e(670)]}while(t);return null}[Jt(526)](){const t=Jt;this[t(594)][t(589)][t(451)]((e=>{const i=t;for(const t of this[i(594)][i(589)][i(366)])e[i(533)](t)}))}}function te(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(431)][r(439)](s[r(667)],i[r(355)]))return;const o=s[r(667)][r(485)](),a=s[r(667)][r(659)],c=t[r(589)][r(352)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(351)];h=h||c[r(535)](e);const i=n[r(407)][r(669)](e);if(i&&i[r(471)](r(481)))return;r(379)==t[r(395)]&&c[r(449)](e)&&!c[r(498)](e)&&(e[r(561)]||a[r(522)]?u&&u[r(670)]==e||(u=e,f(t[r(584)]),d=!0):l=l||t[r(584)])}function f(t){const i=r,o=n[i(407)][i(565)](t),a=n[i(386)][i(428)](i(598),{class:i(436)+e});n[i(386)][i(585)](o,a),n[i(407)][i(405)](a,s[i(505)])}h||d||!l||f(l)}}function ee(){const t=["conversion","ck-suggestion-preview-marker-","loadRevisionData","2323692NmVEQf","test","revisionHistory","getRevision","ck-suggestion-marker-","toModel","isSuggestion","bottom","catch","isRemoveSuggestion","newRevisionId","isBlock","2nBNIxm","change","enableReadOnlyMode","mouseover","_step","isAtStart","editingDowncast","_getDiff","_balloon","_makeModelFromTape","isCollapsed","data-revision-","addRevisionData","getRevisionRootsAttributes","isOfficialPlugin","revisionHistoryLabel","affectsData","getLaterVisibleRevision","_refreshStartEndIndex","_update","indexOf","getCustomProperty","ck-suggestion-preview-marker","findIndex","hasClass","removeAttribute","revision-comment:","restoreRevision","_markSuggestions","view","_setDistance","addHighlight","left","isReady","toData","getWalker","side","isAfter","offsetSize","endIndex","string","pluginName","oldRevisionId","removeMarker:revision-suggestion","ck-revision-history-root--active","index","ck-suggestion-marker-merge","dataDowncast","isLimit","userId","observeMarkers","8163108zmYhLM","maxOffset","toViewRange","addRevision","markerName","createRangeIn","getRevisionData","map","_activeViewTarget","addRoot","bind","level","checkAttribute","_changeIdToChange","addMarker:revision-suggestion:insertion","_makeModelFromViewString","elementStart","change:activeView","ck-suggestion-marker--active","change:numberOfChanges","removeMarker:revision","isAtEnd","softBreak","domEvent","execute","_cleanMarkers","_joinTapes","getRootNames","viewItem","_initInteractions","getIndex","_getRevisionsRange","removeMarker","elementToAttribute","isContent","getChild","find","destroy","isAttached","addMarker:revision","isBefore","for","_getViewObj","uiElement","enqueueChange","forceDisabled","high","includes","revision","merge","done","_setChanges","return","remove","slice","wrap","element","revision-viewer","restoreRevisionCallback","marked","nextSibling","currentChangeNumber","setAttribute","createRange","toViewPosition","-new","attachChange","text","isPremiumPlugin","startIndex","flat","ck-suggestion-marker-split","detachRoot","markersStart","showStack","_findChangeIdFromDomTarget","changeId","725503UNMQcZ","roots","markerNameToElements","addMarker:revision-suggestion:deletion","low","getDomRoot","previousPosition","insert","deletion","revision:","keys","model","values","object","_data","abs","editor","_cleanUp","add","change:activeChange","span","getAttributes","forward","isInline","all","has","editing","RevisionsRepository","vid","11572460ROimdV","_removeMissingPairs","mapViewToDom","init","then","dataToMarker","195BGEUSg","backward","first","isIncorrect","73578JrMdnX","_markInsertions","suggestion","end","concat","activeChange","addClass","config","isAddSuggestion","pairId","markersEnd","consume","diffData","isRemoved","_markMarkers","7XmYnMr","comment","attributesBefore","next","push","repository","_fixObsoleteTags","right","insertion","parse","clear","getClientRects","isNavigationMode","ck-revision-history-root-add","_getChangeFromId","1541529LTzorw","splice","POSITIVE_INFINITY","attributes","reconvertMarker","vid_end","isEnabled","resolve","commands","4302248aOaXKY","code","plugins","start","unshift","listenTo","split","isAdded","target","from","getAttribute","markerRange","revision-suggestion","toViewElement","parent","selection","hasAttribute","diff","modelRange","stop","upcast","unbindElementFromMarkerName","_setConversion","_sortAndFilterDiffChanges","change:isReady","_makeTape","changes","showNextChange","length","numberOfChanges","revisionHistoryAttachChange","compare","WidgetToolbarRepository","item","schema","element:pre","forEach","name","locale","RevisionViewer","document","set","isOnRoot","getRoot","revision-end","vid_start","nextPosition","_threeWayMerge","markers","filter","_processTape","range","ck-suggestion-marker","change:isEnabled","nodeAfter","_removeUnsupportedChanges","ck-revision-history-root-","data","activeView","ck-editor__editable__overlay","removeClass","elementEnd","suggestion:","attribute:vid","markerToData","startsWith","useFillerType","_appendChild","writer","downcastDispatcher","markerToHighlight","error","domConverter","revision-start","deletions","adapter","updatePosition","type","distance","processor","mousedown","showPreviousChange","getItems","shift","createAttributeElement","revision-suggestion:","get","bindElementToMarker","rootName","mapper","default","_revisions","highest","_removeRevisionMarkers","_changeView","createPositionFromPath","collaboration.channelId","sort","_getViewForChange","ck-revision-history-root-remove","children","_markMismatchedRemovedTags","authors","delete","isObject","requires","attributesAfter","isEqual","createRevision","top","createUIElement","data-change-id","pop","consumable","refresh","insertions","createPositionBefore"];return(ee=function(){return t})()}class ie extends U.Command{constructor(t){const e=Jt;super(t);const i=t[e(658)][e(404)](Qt);this[e(466)]=!1,this[e(661)](i,e(680),(()=>this[e(432)]())),this[e(661)](i,e(371),(()=>this[e(432)]()))}[Jt(525)](){const t=Jt,e=this[t(594)],i=e[t(658)][t(404)](Qt),s=i[t(483)]?i[t(673)][t(448)]:null;e[t(624)][t(404)](t(440))[t(559)](s)}[Jt(432)](){const t=Jt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(594)][t(658)][t(404)](Qt),r=n&&s[t(467)](n[t(448)]);this[t(653)]=e&&i&&Boolean(r)}}class se extends U.Command{[Jt(454)];constructor(t,{direction:e}){const i=Jt;super(t);const s=t[i(658)][i(404)](Qt);this[i(466)]=!1,this[i(454)]=i(600)===e?1:-1,this[i(661)](s,i(680),(()=>this[i(432)]())),this[i(661)](s,i(371),(()=>this[i(432)]())),this[i(661)](s,i(597),(()=>this[i(432)]()))}[Jt(525)](){const e=Jt,i=this[e(594)],s=i[e(658)][e(404)](Qt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(622)]=n?s[e(673)][e(682)][e(404)](r+this[e(454)]):s[e(673)][e(682)][e(615)],s[e(622)][e(375)][e(360)])o=i[e(604)][e(479)][e(583)](s[e(622)][e(406)]);else{const t=i[e(589)][e(366)][e(404)](e(587)+s[e(622)].id);o=(0,Z.getMarkerDomElement)(i[e(604)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Jt(432)](){const t=Jt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(594)][t(658)][t(404)](Qt);this[t(653)]=!!(r&&n&&s)&&(!e||(1===this[t(454)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(t,e){const i=ae();return(oe=function(t,e){return i[t-=114]})(t,e)}function ae(){const t=["ck-revision-history-ui__changes-navigation__navigation","_statusText","forward","bindTemplate","ck-revision-history-ui__changes-navigation__label","238994FhDarC","isNavigationMode","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__wrapper","execute","172395HMOfkn","EDIT_X_OF_Y_REVISIONS","isReady","ck-revision-history-ui","Show next change","698108gihORB","setTemplate","ck-hidden","500901QSOEHB","9ysQiUx","No changes","Show previous change","currentChangeNumber","set","_isStatusLabelVisible","bind","div","1756209JDZpxO","7543056PEyWyF","numberOfChanges","2678088RVeeWT","fire","X_OF_Y_CHANGES","Total","backward","span","44CpfInY","Loading...","ck-revision-history-ui__changes-navigation","isBackwardNavigationEnabled","isForwardNavigationEnabled","isEnabled"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(306853===-parseInt(e(122))/1+parseInt(e(119))/2+-parseInt(e(131))/3+-parseInt(e(140))/4*(parseInt(e(114))/5)+parseInt(e(134))/6+parseInt(e(151))/7+parseInt(e(132))/8*(parseInt(e(123))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends ft.View{constructor(t){const e=oe;super(t);const i=this[e(149)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(127)](e(152),!1),this[e(127)](e(116),!1),this[e(127)](e(126),0),this[e(127)](e(133),0),this[e(127)](e(144),!1),this[e(127)](e(143),!1),this[e(129)](e(128)).to(this,e(116),this,e(133),((t,e)=>t&&e>0)),this[e(129)](e(147)).to(this,e(116),this,e(126),this,e(133),this,e(152),((i,s,n,r)=>{const o=e;if(!i)return G(t,o(141));if(!n)return G(t,o(124));const a=G(t,o(153),n);return r?G(t,o(136),[s+1,n]):a})),s[e(127)]({label:G(t,e(125)),tooltip:!0,icon:dt.IconChevronUp}),n[e(127)]({label:G(t,e(118)),tooltip:!0,icon:dt.IconChevronDown}),s[e(129)](e(145)).to(this,e(143)),n[e(129)](e(145)).to(this,e(144)),s.on(e(155),(()=>this[e(135)](e(155),e(138)))),n.on(e(155),(()=>this[e(135)](e(155),e(148)))),this[e(120)]({tag:e(130),attributes:{class:["ck",e(117),e(142)]},children:[{tag:e(139),attributes:{class:[e(154)]},children:[{tag:e(139),attributes:{class:[e(150),i.if(e(128),e(121),(t=>!t))]},children:[{text:i.to(e(152),(i=>i?G(t,e(115))+": ":G(t,e(137))+": "))}]},{text:i.to(e(147))}]},new ft.ToolbarSeparatorView,{tag:e(130),attributes:{class:[e(146)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=me;function de(){const t=["show","16411263RhuhGW","342668CUGdSj","view","editor","3901005mWmEhL","RevisionViewerLoadingOverlay","251808kkCICf","editing","isPremiumPlugin","removeClass","addClass","isOfficialPlugin","1625046hufalP","15hXmdXn","document","roots","hide","25KgREzm","ck-editor__editable__loading-overlay","pluginName","1544080EQvXPz","21lzYkEm","30dFuYJm","change","8994qfcfXn"];return(de=function(){return t})()}!function(t){const e=me,i=t();for(;;)try{if(659495===-parseInt(e(332))/1*(parseInt(e(313))/2)+-parseInt(e(328))/3*(-parseInt(e(316))/4)+-parseInt(e(335))/5+parseInt(e(327))/6*(parseInt(e(336))/7)+parseInt(e(321))/8+parseInt(e(319))/9*(parseInt(e(337))/10)+-parseInt(e(315))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const fe=he(333);function me(t,e){const i=de();return(me=function(t,e){return i[t-=313]})(t,e)}class pe extends U.Plugin{static get[he(334)](){return he(320)}static get[he(326)](){return!0}static get[he(323)](){return!0}[he(314)](){const t=he,e=this[t(318)][t(322)][t(317)];e[t(338)]((i=>{const s=t;for(const t of e[s(329)][s(330)])i[s(325)](fe,t)}))}[he(331)](){const t=he,e=this[t(318)][t(322)][t(317)];e[t(338)]((i=>{const s=t;for(const t of e[s(329)][s(330)])i[s(324)](fe,t)}))}}function ve(){const t=["forward","6kvldfF","editor","componentFactory","plugins","requires","ck-revision-history-ui__back-to-editing","showPreviousChange","closeRevisionViewerCallback","config","hide","96534QSJoyv","1645746isbdge","pluginName","changesNavigation","isForwardNavigationEnabled","commands","revisionHistory","135aWLgwK","Restore this revision","isReady","get","Back to editing","set","294IYUexD","exitToEditing","RevisionViewerUI","show","bind","3531225LYAgHO","690DCaBeN","listenTo","isPremiumPlugin","add","4mfGSsV","change:isReady","showNextChange","init","isBackwardNavigationEnabled","numberOfChanges","39SesCpo","137966JaYIcU","399600HbIZrG","currentChangeNumber","restoreRevision","134233exKmYB","2559084qCWFUC","isOfficialPlugin","isEnabled","isNavigationMode","execute"];return(ve=function(){return t})()}const ge=ye;function ye(t,e){const i=ve();return(ye=function(t,e){return i[t-=197]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(825689===parseInt(e(228))/1+parseInt(e(239))/2*(-parseInt(e(199))/3)+parseInt(e(221))/4*(parseInt(e(216))/5)+parseInt(e(198))/6*(parseInt(e(211))/7)+-parseInt(e(229))/8*(-parseInt(e(205))/9)+-parseInt(e(217))/10*(-parseInt(e(232))/11)+-parseInt(e(233))/12*(parseInt(e(227))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ke extends U.Plugin{static get[ge(200)](){return ge(213)}static get[ge(234)](){return!0}static get[ge(219)](){return!0}static get[ge(243)](){return[Qt,pe]}[ge(224)](){const t=ge,e=this[t(240)],i=e[t(242)][t(208)](Qt),s=e[t(242)][t(208)](pe);e.ui[t(241)][t(220)](t(212),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(210)]({label:G(i,s(209)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(244)}),this[s(218)](n,s(237),(()=>{const t=s;e[t(247)][t(208)](t(204))[t(246)]()})),n})),e.ui[t(241)][t(220)](t(231),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(210)]({label:G(i,s(206)),withText:!0,tooltip:!0}),n[s(215)](s(235)).to(e[s(203)][s(208)](s(231))),this[s(218)](n,s(237),(()=>e[s(237)](s(231)))),n})),e.ui[t(241)][t(220)](t(201),(s=>{const n=t,r=new ce(s),o=e[n(203)][n(208)](n(245)),a=e[n(203)][n(208)](n(223));return r[n(215)](n(225)).to(o,n(235)),r[n(215)](n(202)).to(a,n(235)),r[n(215)](n(207),n(230),n(226),n(236)).to(i),this[n(218)](r,n(237),((t,i)=>{const s=n;e[s(237)](s(238)===i?s(223):s(245))})),r})),s[t(214)](),i.on(t(222),((e,i,n)=>{const r=t;n?s[r(197)]():s[r(214)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;const _e=Ie;function Ie(t,e){const i=Se();return(Ie=function(t,e){return i[t-=251]})(t,e)}function Se(){const t=["_tooltipString","Revision name","1356012AiUZDV","740RjSOvr","fieldView","9EMutHv","11UKIaMI","span","scrollWidth","destroy","3615HCzfpA","Enter the revision name","listenTo","15IIUTvs","10578320ETwLHe","bindTemplate","clientWidth","render","1384574yGflof","input","_updateTooltipText","value","11089200FAwAfz","set","7fMFgsM","element","ck-tooltip_multi-line","extendTemplate","_resizeObserver","placeholder","25895064OgjSXQ","1374036mlMLGh","ck-revision-history-sidebar__revision-name"];return(Se=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(773891===-parseInt(e(262))/1+parseInt(e(279))/2+parseInt(e(254))/3*(parseInt(e(280))/4)+-parseInt(e(257))/5*(parseInt(e(275))/6)+parseInt(e(268))/7*(-parseInt(e(258))/8)+parseInt(e(282))/9*(parseInt(e(266))/10)+parseInt(e(283))/11*(parseInt(e(274))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends ft.LabeledFieldView{[_e(272)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(259)];this[i(267)]({label:G(t,i(278)),_tooltipString:""}),this[i(281)][i(273)]=G(t,i(255)),this[i(271)]({tag:i(251),attributes:{class:[i(276)],"data-cke-tooltip-text":s.to(i(277)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(270)}})}[_e(261)](){const e=_e;super[e(261)](),this[e(272)]=new t.ResizeObserver(this[e(281)][e(269)],(()=>this[e(264)]())),this[e(256)](this[e(281)],e(263),(()=>this[e(264)]()))}[_e(253)](){const t=_e;super[t(253)](),this[t(272)]&&this[t(272)][t(253)]()}[_e(264)](){const t=_e,e=this[t(281)][t(269)];this[t(277)]=e[t(252)]>e[t(260)]&&e[t(265)]||""}}var xe=i(249),Te={attributes:{"data-cke":!0}};Te.setAttributes=wt(),Te.insert=kt().bind(null,"head"),Te.domAPI=gt(),Te.insertStyleElement=It();pt()(xe.A,Te);xe.A&&xe.A.locals&&xe.A.locals;function Ne(t,e){const i=Ae();return(Ne=function(t,e){return i[t-=162]})(t,e)}function Ae(){const t=["ck-revision-history-sidebar__revision-author_creator","91KEzGzx","Revision author","ck-revision-history-sidebar__revision-author","9427392eZEPhP","278976Winkhi","1878462NPgzRb","9qMQVxa","ck-revision-history-sidebar__revision-author__name","502234ehtKDi","0 0 11 10","99gedMTI","name","setTemplate","344fGToLW","span","push","3606260gIGbBx","11785lCePxf","109696ONjUxQ","set","Revision creator"];return(Ae=function(){return t})()}!function(t){const e=Ne,i=t();for(;;)try{if(990780===parseInt(e(179))/1+-parseInt(e(169))/2*(parseInt(e(167))/3)+parseInt(e(174))/4*(parseInt(e(178))/5)+-parseInt(e(166))/6+-parseInt(e(183))/7*(parseInt(e(165))/8)+-parseInt(e(164))/9+parseInt(e(177))/10*(parseInt(e(171))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Re extends ft.View{constructor(t,e,i){const s=Ne;super(t);const n=new ft.IconView;n[s(180)]({content:dt.IconUser,viewBox:s(170)});const r=["ck",s(163)];i&&r[s(176)](s(182));const o=[{tag:s(175),attributes:{class:["ck",s(168)],title:G(t,s(i?181:162))},children:[n,e[s(172)]]}];this[s(173)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Me();return(Ee=function(t,e){return i[t-=115]})(t,e)}function Me(){var t=["toLocaleDateString","toLocaleTimeString","1509eWnXTt","long","1561rIIBZi","404216qJrCHk","294MHEmXw","645132sYtCpH","4139509DmGmoE","384rJfEEd","28620XgTbcC","numeric","10WzXMfX","143770tWwqud","3876OFinAC"];return(Me=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(124266===-parseInt(e(117))/1*(-parseInt(e(121))/2)+parseInt(e(122))/3+parseInt(e(120))/4+-parseInt(e(128))/5+-parseInt(e(129))/6*(-parseInt(e(119))/7)+-parseInt(e(124))/8*(parseInt(e(125))/9)+-parseInt(e(127))/10*(parseInt(e(123))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var Ve=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ve.A,De);Ve.A&&Ve.A.locals&&Ve.A.locals;function Ce(t,e){const i=Fe();return(Ce=function(t,e){return i[t-=456]})(t,e)}function Fe(){const t=["ck-revision-history-sidebar__revision__actions","128022sjurYb","_action","source","Compare against selected","Restore this revision","locale","map","isActionsDropdownOpen","67822iLVyYD","buttonView","listView","Name this revision","panelPosition","function","first","bind","class","button","isVisible","32RnGLoV","set","find","isEnabled","151185sYMlhR","children","add","extendTemplate","10792uOSbUH","action","change:isActionsDropdownOpen","execute","items","8bYeTfq","ck-on","75317BxbbEx","1073740FjPdbY","model","Show more items","isOpen","isReady","280269UkRDom","menuitem","listenTo","name","1240UajuIQ","stopPropagation","menu","bindTemplate","70EQfWEo"];return(Fe=function(){return t})()}!function(t){const e=Ce,i=t();for(;;)try{if(221048===parseInt(e(484))/1*(parseInt(e(460))/2)+parseInt(e(475))/3*(parseInt(e(471))/4)+parseInt(e(487))/5+-parseInt(e(502))/6*(-parseInt(e(500))/7)+-parseInt(e(479))/8+-parseInt(e(492))/9+parseInt(e(496))/10*(-parseInt(e(486))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=wt(),je.insert=kt().bind(null,"head"),je.domAPI=gt(),je.insertStyleElement=It();pt()(Le.A,je);Le.A&&Le.A.locals&&Le.A.locals;function Pe(){const t=["_requireRevisionName","isReady","_revision","length","3553620TEeqib","220","change","setTemplate","1412748DAtNVR","closest","element","unshift","render","ck-revision-history-sidebar__actions_dropdown_open","_createdAtFormatted","extendTemplate","set","ck-disabled","ck-revision-history-sidebar__revision__controls-wrapper","srcElement","createdAt","unhighlight","ck-revision-history-sidebar__revision-wrapper","isHighlighted","name","highlight","ck-revision-history-sidebar__revision-authors","from","value","div","isConfirm","isEnabled","authors","isActionsDropdownOpen","deselect",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision__date","select","revisionActionsView","ck-reset","14038248CKRTFw","fieldView","fire","15AVcedl","bindTemplate","487044YtuFuO","setName","creator","2163644BFIWsT","168641kPGNXK","isSelected","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","1095634XRMPol","ck-revision-history-sidebar__revision_selected","uiLanguage","revisionNameView","bind","span","map","ck-revision-history-sidebar__revision","listenTo","filter","ck-revision-history-sidebar__revision_highlighted"];return(Pe=function(){return t})()}const We=ze;function ze(t,e){const i=Pe();return(ze=function(t,e){return i[t-=292]})(t,e)}!function(t){const e=ze,i=t();for(;;)try{if(290634===-parseInt(e(297))/1+-parseInt(e(300))/2+-parseInt(e(319))/3+-parseInt(e(296))/4+-parseInt(e(354))/5*(parseInt(e(293))/6)+parseInt(e(315))/7+parseInt(e(351))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class Ue extends((0,Z.ConfirmMixin)(ft.View)){id;[We(303)];[We(349)];[We(313)];[We(311)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(292)],a=function(t,e){const i=r,s=Array[i(338)](e[i(343)])[i(309)]((t=>t!=e[i(295)]));return e[i(295)]&&s[i(322)](e[i(295)]),s[i(306)]((s=>new Re(t,s,s==e[i(295)])))}(e,i);this.id=i.id,this[r(313)]=i,this[r(311)]=n,this[r(304)](r(335),r(331)).to(i),this[r(304)](r(325)).to(this,r(331),(t=>{return i=e[r(302)],(s=t)[(n=Ee)(115)](i,{month:n(118),day:n(126)})+", "+s[n(116)](i,{hour:n(126),minute:n(126)});var i,s,n})),this[r(327)](r(298),!1),this[r(327)](r(334),!1),this[r(327)](r(344),!1),this[r(327)](r(312),!1),this[r(327)](r(342),!1),this[r(303)]=new Oe(e,ft.createLabeledInputText),this[r(303)][r(352)][r(326)]({attributes:{maxlength:r(316)}}),this[r(303)][r(352)][r(304)](r(339)).to(this,r(335),(t=>t||this[r(325)])),this[r(303)][r(304)](r(342)).to(this,r(298),this,r(342),((t,e)=>t&&e)),this[r(349)]=s&&s[r(314)]?function(e,i){const s=Ce,n=e[s(499)],r=e[s(457)],o=(0,ft.createDropdown)(r);o[s(464)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ce,s=t[i(457)],n={"Compare against selected":G(s,i(505)),"Name this revision":G(s,i(463)),"Restore this revision":G(s,i(456))};return e[i(458)]((t=>{const e=i,s=n[t[e(495)]];return s&&s!==t[e(495)]&&(t[e(495)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(469),model:new ft.ViewModel({label:t[n(495)],class:t[n(468)],withText:!0,role:n(493),_action:t[n(480)]})};i[n(488)][n(467)](n(474)).to(e,n(459),(i=>n(465)!=typeof t[n(474)]||!i||t[n(474)](e))),o[n(477)](i)}return o}(e,i);return e[s(467)](s(459)).to(o,s(490)),o[s(461)][s(472)]({label:G(r,s(489)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(478)]({attributes:{class:[s(501),n.if(s(459),s(485))]},on:{click:n.to((t=>t[s(497)]()))}}),o.on(s(482),(t=>{const i=s;e[i(491)]&&i(465)==typeof t[i(504)][i(503)]&&t[i(504)][i(503)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(498)}),o[s(494)](e,s(481),((t,n,r)=>{const a=s;if(r)for(const t of o[a(462)][a(483)]){const s=t[a(476)][a(466)],n=i[a(473)]((t=>t[a(480)]===s[a(503)]))[a(470)];t[a(470)]=void 0===n||n(e)}})),o}(this,s):"",this[r(349)]&&this[r(349)][r(304)](r(342)).to(this),this[r(318)]({tag:r(340),attributes:{class:["ck",r(350),r(333),o.if(r(341),r(299))]},children:[{tag:r(340),attributes:{class:["ck",r(350),r(307),o.if(r(342),r(328),(t=>!t)),o.if(r(298),r(301)),o.if(r(334),r(310)),o.if(r(344),r(324))]},children:[this[r(303)],{tag:r(305),attributes:{class:["ck",r(347)]},children:[{text:o.to(r(325))}]},{tag:r(340),attributes:{class:["ck",r(329)]},children:[{tag:"ul",attributes:{class:["ck",r(337)]},children:a}]},this[r(349)]],on:{click:o.to((t=>{const e=r;t[e(330)][e(320)](e(346))||this[e(312)]&&this[e(342)]&&this[e(353)](e(348),{id:this.id})}))}}]})}[We(323)](){const t=We;super[t(323)]();const e=this[t(303)][t(352)][t(321)];this[t(308)](e,t(317),(()=>{const i=t;this[i(311)]&&!e[i(339)]||this[i(353)](i(294),{id:this.id,name:e[i(339)]}),e[i(339)]||(e[i(339)]=this[i(335)]?this[i(335)]:this[i(325)])}))}[We(348)](){this[We(298)]=!0}[We(345)](){this[We(298)]=!1}[We(336)](){this[We(334)]=!0}[We(332)](){this[We(334)]=!1}}class Ze extends Error{}class He extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends Ze{}class Ye extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Je extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Xe="short",Qe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Xe,day:Ke},ii={year:Ke,month:Xe,day:Ke,weekday:Xe},si={year:Ke,month:Qe,day:Ke},ni={year:Ke,month:Qe,day:Ke,weekday:Qe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke},yi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Xe},ki={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},bi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,timeZoneName:Qe},wi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe};class _i{get type(){throw new Je}get name(){throw new Je}get ianaName(){return this.name}get isUniversal(){throw new Je}offsetName(t,e){throw new Je}formatOffset(t,e){throw new Je}offset(t){throw new Je}equals(t){throw new Je}get isValid(){throw new Je}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ti={};class Ni extends _i{static create(t){return Ti[t]||(Ti[t]=new Ni(t)),Ti[t]}static resetCache(){Ti={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ni.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:ws(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(js({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Ri={};function Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.DateTimeFormat(t,e),Ri[i]=s),s}let Mi={};let Vi={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rs(this.floor?Math.floor(t):Ds(t,3),this.padTo)}}class ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ni.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Ei(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Vi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Vi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class zi{static fromOpts(t){return zi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Di||(Di=(new Intl.DateTimeFormat).resolvedOptions().locale,Di)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new zi(o,a,c,u,r)}static resetCache(){Di=null,Ri={},Mi={},Vi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return zi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?zi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ns(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Fi(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=eo.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Fi(this,t,en,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(t,this.intl,e)}relFormatter(t={}){return new Pi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ui=null;class Zi extends _i{static get utcInstance(){return null===Ui&&(Ui=new Zi(0)),Ui}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Hi extends _i{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function qi(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Hi(t)}const $i={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]},Yi=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ji({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${$i[i]}${e}`)),Gi[i][e]}let Ki,Xi=()=>Date.now(),Qi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){Qi=t}static get defaultZone(){return qi(Qi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=Ns(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){zi.resetCache(),Ni.resetCache(),eo.resetCache(),Gi={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Bs(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...Bs(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...Bs(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...Bs(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new Be("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function ks(t){const e=Is(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ts(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ns(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Is(t)&&t>=e&&t<=i}function Rs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Es(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Vs(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function zs(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Hs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ts(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Hs(n)}return i}function $s(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Rs(i,2)}:${Rs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Rs(i,2)}${Rs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Js=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Js];case"short":return[...Gs];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Qs];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Rs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Es(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Es(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Vs(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Tn(t,e){return[{},t[e]?Ni.create(t[e]):null,e+1]}const Nn=RegExp(`^T?${gn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Rn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Vs(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?zs(Es(e)):Es(e),month:Gs.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:Qs.indexOf(t)+1),a}const Vn=/^(?:(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 Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Cn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Fn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function jn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Zi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),zn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Un=dn(/(\d{4})-?(\d{3})/,kn),Zn=dn(yn),Hn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,xn,Tn),qn=fn(bn,On,xn,Tn),$n=fn(wn,On,xn,Tn),Bn=fn(On,xn,Tn);const Yn=fn(On);const Gn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Jn=dn(_n),Kn=fn(On,xn,Tn);const Xn="Invalid Duration",Qn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Qn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Qn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||zi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:qs(t,ur.normalizeUnit),loc:zi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[An,Rn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[Nn,Yn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new $e(i);return new ur({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ln.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=nr.map((e=>{const i=this.values[e];return ws(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Ds(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return eo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(Ts(e.values,t)||Ts(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=Hs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...qs(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return or(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:hr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return hr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return qi(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||zi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||zi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||zi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||zi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||zi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||zi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||zi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return zi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return zi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=fr(t,e);return(i-i%7)/7}],["days",fr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search($i.hanidec))e+=Yi.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Nr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ji(e),s=Ji(e,"{2}"),n=Ji(e,"{3}"),r=Ji(e,"{4}"),o=Ji(e,"{6}"),a=Ji(e,"{1,2}"),c=Ji(e,"{1,3}"),u=Ji(e,"{1,6}"),l=Ji(e,"{1,9}"),h=Ji(e,"{2,4}"),d=Ji(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,zs);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ts(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),ws(t.u)||(t.S=Vs(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ts(i,"a")&&Ts(i,"H"))throw new Be("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Tr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Nr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Rr=864e13;function Er(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Vr(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Cr(js(t),e,i)}function jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=js(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?ln.create(zi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function zr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Rs(t.c.year,i?6:4),e?(s+="-",s+=Rs(t.c.month),s+="-",s+=Rs(t.c.day)):(s+=Rs(t.c.month),s+=Rs(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=Rs(t.c.hour);return e?(o+=":",o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Rs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Rs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Rs(Math.trunc(-t.o/60)),o+=":",o+=Rs(Math.trunc(-t.o%60))):(o+="+",o+=Rs(Math.trunc(t.o/60)),o+=":",o+=Rs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Hr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Jr(t,e){const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Er(i));const s=zi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of $r)ws(t[e])&&(t[e]=Zr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Qr&&(Qr=rs.now()),to[t]=t.offset(Qr)),to[t]}(i);[n,r]=Lr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Ds(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Qr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Er(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||zi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Jr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Jr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return eo.invalid("invalid input");const n=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:zi.fromObject(e)}):eo.invalid(Er(n))}static fromMillis(t,e={}){if(_s(t))return t<-Rr||t>Rr?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(e.zone,rs.defaultZone),loc:zi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:qi(e.zone,rs.defaultZone),loc:zi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Er(i));const s=zi.fromObject(e),n=qs(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=Br,v=Hr,g=ms(g,r,o)):u?(p=Yr,v=qr,g=vs(g)):(p=$r,v=Zr);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=As(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=Lr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[Wn,Hn],[zn,qn],[Un,$n],[Zn,Bn])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Vn,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,jn],[Fn,jn],[Ln,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Tr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Gn,Hn],[Jn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new He(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,zi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),zi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Qr=void 0,to={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Vr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Vr(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Lr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=qs(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,jr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,jr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=zr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?zr(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?zr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return ur.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||eo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Tr(zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=zi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(t,e){const i=no,s=eo[i(343)](t)[i(346)](e),n=eo[i(358)](),r=n[i(342)]({days:1})[i(350)](i(355));let o,a;return s[i(337)](n,i(355))?(o=s[i(350)](i(355))[i(347)](),a=s[i(349)]()):s[i(337)](r,i(355))?(o=r[i(347)](),a=s[i(349)]()):s[i(337)](n,i(356))?(o=s[i(350)](i(356))[i(347)](),a=s[i(339)]||""):s[i(337)](n,i(354))?(o=s[i(350)](i(344))[i(347)](),a=s[i(345)]||""):(o=s[i(350)](i(354))[i(347)](),a=String(s[i(354)])),{startDate:o,localizedPeriodName:a}}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=337]})(t,e)}function ro(){const t=["setLocale","toJSDate","144iDTlWj","toRelativeCalendar","startOf","3504568LsCqxE","1902ZsFkMG","4448016oIfcmK","year","day","week","31381WbATaI","local","8558615qagZVF","4ZfuNND","hasSame","1481745nbdhLj","weekdayLong","439116DJzmVa","302230ctbZbf","minus","fromJSDate","month","monthLong"];return(ro=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(948527===parseInt(e(340))/1+parseInt(e(351))/2+-parseInt(e(338))/3*(parseInt(e(360))/4)+parseInt(e(359))/5+parseInt(e(352))/6*(-parseInt(e(357))/7)+-parseInt(e(353))/8+-parseInt(e(348))/9*(parseInt(e(341))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=lo;function uo(){const t=["localizedPeriodName","locale","40404qruOwH","addRevision","setTemplate","startDate","uiLanguage","createCollection","ck-revision-history-sidebar__time-period__revisions","select","add","delegate","ck-revision-history-sidebar__time-period","1078wmIrLK","753BBmnBJ","setName","10GXbqcx","span","removeRevision","117496IOONbP","605118IJYAaA","146mBGXyS","7GOsgri","_revisionActions","div","_requireRevisionName","find","ck-revision-history-sidebar__time-period__label","remove","revisionViews","56HiXuzc","3722364JWFUPf","42333lppYYx","2043510ZzGvTG"];return(uo=function(){return t})()}function lo(t,e){const i=uo();return(lo=function(t,e){return i[t-=106]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(298027===-parseInt(e(110))/1*(-parseInt(e(117))/2)+parseInt(e(128))/3*(-parseInt(e(126))/4)+parseInt(e(129))/5+parseInt(e(116))/6*(parseInt(e(118))/7)+parseInt(e(115))/8+parseInt(e(127))/9*(-parseInt(e(112))/10)+-parseInt(e(109))/11*(-parseInt(e(132))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(uo);class ho extends ft.View{[co(135)];[co(125)];[co(119)];[co(121)];constructor(t,e,i,s){const n=co;super(t);const r=so(e,this[n(131)][n(136)])[n(130)];this[n(135)]=e,this[n(125)]=this[n(137)](),this[n(119)]=i,this[n(121)]=s,this[n(125)][n(107)](n(139)).to(this),this[n(125)][n(107)](n(111)).to(this),this[n(134)]({tag:n(120),attributes:{class:["ck",n(108)]},children:[{tag:n(113),attributes:{class:["ck",n(123)]},children:[{text:r}]},{tag:n(120),attributes:{class:["ck",n(138)]},children:this[n(125)]}]})}[co(133)](t){const e=co,i=new Ue(this[e(131)],t,this[e(119)],this[e(121)]);this[e(125)][e(106)](i)}[co(114)](t){const e=co,i=this[e(125)][e(122)]((e=>e.id===t.id));this[e(125)][e(124)](i)}}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(t,e){const i=vo();return(po=function(t,e){return i[t-=411]})(t,e)}function vo(){const t=["2XcYYrK","11624436gKOSnR","setTemplate","ck-revision-history-sidebar__header__label","3429570yhMgId","319847EgVEVm","ck-reset_all","content","32150437qxACZS","10ByVAtl","6oSoidW","3930143pLTJZt","div","1621059Pjvsvp","ck-revision-history-sidebar__header","6607816KKSogx","8JZLJbB","span","Revision history"];return(vo=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(744369===parseInt(e(414))/1*(-parseInt(e(428))/2)+parseInt(e(422))/3+-parseInt(e(425))/4*(parseInt(e(413))/5)+parseInt(e(419))/6*(-parseInt(e(420))/7)+parseInt(e(424))/8+-parseInt(e(429))/9+-parseInt(e(418))/10*(-parseInt(e(417))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class go extends ft.View{constructor(t){const e=po;super(t);const i=new ft.IconView;i[e(416)]=dt.IconHistory,this[e(411)]({tag:e(421),attributes:{class:["ck",e(415),e(423)]},children:[i,{tag:e(426),attributes:{class:["ck",e(412)]},children:[G(t,e(427))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(t,e){const i=_o();return(bo=function(t,e){return i[t-=203]})(t,e)}const wo=bo;function _o(){const t=["264iMGoEa","highlightRevisions","add","some","_getTimePeriodViewByStartDate","338YLTVmS","_revisions","createdAt","_removeRevision","bindTemplate","uiLanguage","unhighlight","4157205DCQMhY","get","div","removeRevision","isEnabled","_addRevision","ck-revision-history-sidebar__timeline","addRevision","2385099gaifLm","locale","2953OcEmnF","109080caLBwA","_requireRevisionName","timePeriodViews","391599XULvpL","flat","highlight","setTemplate","getTime","map","find","ck-disabled","177882pYRprA","5615808zEJYoO","startDate","selectRevision","revisionSelected","setName","revisionSetName","91hDPUCQ","revisionViews","set","createCollection","fire","remove","ck-rounded-corners","ck-revision-history-sidebar","render","ck-reset","_revisionActions","delegate","select","deselect"];return(_o=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(784825===-parseInt(e(244))/1*(parseInt(e(227))/2)+parseInt(e(242))/3+-parseInt(e(257))/4+parseInt(e(234))/5+-parseInt(e(256))/6*(parseInt(e(208))/7)+parseInt(e(222))/8*(parseInt(e(248))/9)+parseInt(e(245))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends ft.View{[wo(247)];[wo(228)];[wo(218)];[wo(246)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(231)];this[n(247)]=this[n(211)](),this[n(247)][n(219)](n(220)).to(this),this[n(247)][n(219)](n(206)).to(this),this[n(228)]=e,this[n(218)]=i,this[n(246)]=s,this.on(n(220),((t,e)=>{const i=n;this[i(212)](i(205),e)})),this.on(n(206),((t,e)=>{const i=n;this[i(212)](i(207),e)})),this[n(210)](n(238),!1),this[n(251)]({tag:n(236),attributes:{class:["ck",n(217),n(214),n(215)]},children:[new go(t),{tag:n(236),attributes:{class:["ck",n(240),r.if(n(238),n(255),(t=>!t))]},children:this[n(247)]}]})}[wo(216)](){const t=wo;super[t(216)]();for(const e of this[t(228)])this[t(239)](e);this[t(228)].on(t(224),((e,i)=>{this[t(239)](i)})),this[t(228)].on(t(213),((e,i)=>{this[t(230)](i)}))}get[wo(209)](){const t=wo;return this[t(247)][t(253)]((e=>e[t(209)][t(253)]((t=>t))))[t(249)]()}[wo(204)](t){const e=wo;for(const i of this[e(209)])t&&t.id===i.id?i[e(220)]():i[e(221)]()}[wo(223)](t){const e=wo;for(const i of this[e(209)])t[e(225)]((({id:t})=>t===i.id))?i[e(250)]():i[e(233)]()}[wo(239)](t){const e=wo,i=so(t[e(229)],this[e(243)][e(232)])[e(203)];let s=this[e(247)][e(235)](0);s&&s[e(203)][e(252)]()===i[e(252)]()||(s=new ho(this[e(243)],i,this[e(218)],this[e(246)]),this[e(247)][e(224)](s)),s[e(241)](t)}[wo(230)](t){const e=wo,i=so(t[e(229)],this[e(243)][e(232)])[e(203)];this[e(226)](i)[e(237)](t)}[wo(226)](t){const e=wo;return this[e(247)][e(254)]((i=>i[e(203)][e(252)]()===t[e(252)]()))}}const So=Oo;function Oo(t,e){const i=xo();return(Oo=function(t,e){return i[t-=433]})(t,e)}function xo(){const t=["selectRevision","revisionHistory.viewerSidebarContainer","getLaterVisibleRevision","diff","change:diff","nameRevision","fieldView","94916CZygGa","destroy","setName","focus","isVisible","string","Name this revision","add","6032907yMntRb","action","remove","data","timePeriodViews","Compare against selected","repository","_handleRevisionSelected","_handleRevisionSetName","1268278qeHkdq","restoreRevisionCallback","_revisionViewer","getEarlierVisibleRevision","getRevision","map","assign","revisionSelected","locale","listenTo","defaultRevisionActions","_handleDiffChange","6qCkxfv","_revisionsRepository","getIndex","Restore this revision","config","init","RevisionsSidebar","_createRevisionActions","highlightRevisions","revisionViews","_handleEditorDataReady","compare","appendChild","availableRevisionActions","revisionHistory.revisionActions","isOfficialPlugin","ready","render","plugins","201cFEPQM","isEnabled","name","restoreRevision","pluginName","bind","get","isPremiumPlugin","_sidebarView","requires","isReady","36rJAopY","editor","11456440uGMewH","10CEsLph","revisionSetName","7454XTOLhO","compareAgainstSelected","revisionHistory.requireRevisionName","isSelected","getRevisionsInDiff","382748MPNEKb","_revisions","select","newRevisionId","element","length","5jVUctP","7796803niLLkB","revisionHistory"];return(xo=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(725715===-parseInt(e(509))/1+-parseInt(e(504))/2*(parseInt(e(488))/3)+parseInt(e(440))/4*(parseInt(e(515))/5)+-parseInt(e(469))/6*(parseInt(e(516))/7)+parseInt(e(501))/8+parseInt(e(448))/9*(parseInt(e(502))/10)+parseInt(e(457))/11*(parseInt(e(499))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class To extends U.Plugin{[So(459)];[So(470)];[So(496)];static[So(467)]=[So(505),So(491),So(438)];static[So(482)]=function(){const t=So;return{compareAgainstSelected:{name:t(453),action:({plugins:e},i)=>{const s=t,n=e[s(494)](Qt),r=n[s(454)];let o=n[s(436)][s(512)],a=i.id;r[s(471)](o)>r[s(471)](a)&&([o,a]=[a,o]),n[s(480)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(494)](Qt);return!(n[s(454)][s(508)](n[s(436)])[s(514)]>2||i[s(507)])}},restoreRevision:{name:t(472),action:(e,{id:i})=>{const s=t;e[s(473)][s(494)](s(517))[s(458)](i)},isVisible:({plugins:e},i)=>!!e[t(494)](Qt)[t(454)][t(435)](i.id)},nameRevision:{name:t(446),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(494)](Qt),o=r[n(454)][n(460)](i);r[n(480)](i,o),s[n(443)](),s[n(439)][n(511)]()}}}}();static get[So(492)](){return So(475)}static get[So(484)](){return!0}static get[So(495)](){return!0}static get[So(497)](){return[Qt]}constructor(t){const e=So;super(t),this[e(459)]=t[e(487)][e(494)](Qt),this[e(470)]=this[e(459)][e(454)],this[e(496)]=null}[So(474)](){const t=So,e=this[t(470)][t(510)],i=this[t(476)](),s=this[t(500)][t(473)][t(494)](t(434));this[t(496)]=new Io(this[t(500)][t(465)],e,i,this[t(500)][t(473)][t(494)](t(506))),this[t(496)].on(t(464),this[t(455)][t(493)](this)),this[t(496)].on(t(503),this[t(456)][t(493)](this)),this[t(496)][t(493)](t(489)).to(this[t(459)]),this[t(496)][t(452)].on(t(447),((e,i)=>{const s=t;i[s(478)].on(s(447),((t,e)=>{const i=s;e[i(493)](i(489),i(498)).to(this[i(459)])}))})),this[t(496)][t(486)](),this[t(466)](this[t(500)][t(451)],t(485),this[t(479)][t(493)](this)),this[t(466)](this[t(459)],t(437),this[t(468)][t(493)](this)),s[t(481)](this[t(496)][t(513)])}[So(441)](){const t=So;this[t(496)][t(513)][t(450)](),this[t(496)][t(441)]()}[So(479)](){const t=So,e=this[t(470)][t(461)](0);if(e){const i=this[t(470)][t(460)](e.id);this[t(459)][t(480)](e,i)}}[So(455)](t,e){const i=So,s=this[i(470)][i(461)](e.id),n=this[i(470)][i(460)](s.id);this[i(459)][i(480)](s,n)}[So(456)](t,e){const i=So;this[i(470)][i(461)](e.id)[i(442)](e[i(490)])}[So(468)](t,e,i){const s=So,n=this[s(470)][s(508)](i);n[s(514)]>2?(this[s(496)][s(477)](n),this[s(496)][s(433)](null)):(this[s(496)][s(477)]([]),this[s(496)][s(433)](n[0]))}[So(476)](){const t=So,e=this[t(500)],i=To[t(482)],s=e[t(473)][t(494)](t(483))||To[t(467)];if(s[t(514)])return s[t(462)]((s=>{const n=t,r=n(445)==typeof s?Object[n(463)]({},i[s]):s;return r[n(449)]=r[n(449)][n(493)](this,e),r[n(444)]&&(r[n(444)]=r[n(444)][n(493)](this,e)),r}))}}const No=To;function Ao(t,e){const i=Eo();return(Ao=function(t,e){return i[t-=389]})(t,e)}const Ro=Ao;function Eo(){const t=["config","addToolbar","3529010cbDIML","172739eTowrC","ready","viewportOffset","248bnbfik","init","_elementReplacer","207141pxmBDB","replace","name","bind","render","editable","view","9JiUVWQ","detachDomRoot","editing","focusTracker","attachDomRoot","destroy","32LDjXld","componentFactory","51995qfSXmb","stickyPanel","_view","isActive","217090jzmDNo","getRoot","isFocused","5EWUgwE","_toolbarConfig","editor","element","limiterElement","444fKXkMf","viewportTopOffset","_initToolbar","fire","toolbar","fillFromConfig","rootName","document","32976312QeVmPR","4045316DKatBg","restore","get","setEditableElement"];return(Eo=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(602245===-parseInt(e(409))/1*(-parseInt(e(406))/2)+parseInt(e(436))/3*(parseInt(e(400))/4)+parseInt(e(402))/5*(parseInt(e(414))/6)+parseInt(e(430))/7*(parseInt(e(433))/8)+parseInt(e(394))/9*(parseInt(e(429))/10)+parseInt(e(423))/11+-parseInt(e(422))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Mo extends ft.EditorUI{[Ro(404)];[Ro(410)];[Ro(435)];get[Ro(393)](){return this[Ro(404)]}constructor(e,i){const s=Ro;super(e),this[s(404)]=i,this[s(410)]=(0,ft.normalizeToolbarConfig)(e[s(427)][s(425)](s(418))),this[s(435)]=new t.ElementReplacer}get[Ro(412)](){const t=Ro;return this[t(393)][t(412)]}[Ro(434)](t){const e=Ro,i=this[e(411)],s=this[e(393)],n=i[e(396)][e(393)],r=s[e(392)],o=n[e(421)][e(407)]();r[e(389)]=o[e(420)],s[e(391)]();const a=r[e(412)];this[e(426)](r[e(389)],a),s[e(392)][e(390)](e(408)).to(this[e(397)]),n[e(398)](a),this[e(435)][e(437)](t,this[e(412)]),this[e(416)](),this[e(417)](e(431))}[Ro(399)](){const t=Ro;super[t(399)]();const e=this[t(393)],i=this[t(411)][t(396)][t(393)];this[t(435)][t(424)](),i[t(395)](e[t(392)][t(389)]),e[t(399)]()}[Ro(416)](){const t=Ro,e=this[t(393)];e[t(403)][t(390)](t(405)).to(this[t(397)],t(408)),e[t(403)][t(413)]=e[t(412)],e[t(403)][t(390)](t(415)).to(this,t(432),(({top:t})=>t)),e[t(418)][t(419)](this[t(410)],this[t(401)]),this[t(428)](e[t(418)])}}var Vo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Vo.A,Do);Vo.A&&Vo.A.locals&&Vo.A.locals;function Co(){var t=["content","31671728gfekhm","6420127amVRoN","3859844BTYvRx","top","editable","add","stickyPanel","1526460ODxWZI","7723368NHPHeS","shouldToolbarGroupWhenFull","main","328FLElSp","toolbar","render","_editable","3432QyRMqB","597448rnJkRU"];return(Co=function(){return t})()}var Fo=Lo;function Lo(t,e){var i=Co();return(Lo=function(t,e){return i[t-=363]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(685076===-parseInt(e(374))/1+parseInt(e(369))/2*(parseInt(e(373))/3)+-parseInt(e(378))/4+parseInt(e(365))/5+-parseInt(e(366))/6+-parseInt(e(377))/7+parseInt(e(376))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Co);class jo extends ft.BoxedEditorUIView{[Fo(372)];[Fo(364)];[Fo(370)];get[Fo(380)](){return this[Fo(372)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(364)]=new ft.StickyPanelView(t),this[s(370)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(367)]}),this[s(372)]=new ft.InlineEditableUIView(t,e)}[Fo(371)](){var t=Fo;super[t(371)](),this[t(364)][t(375)][t(363)](this[t(370)]),this[t(379)][t(363)](this[t(364)]),this[t(368)][t(363)](this[t(380)])}}function Po(){const t=["destroy","document","createRoot","ready","initialData","_ui","fire","18DAUmDn","996281edmFXZ","155oxVxMG","get","162070bWfAcE","12654HBNcPj","10izkThS","70gHwtAq","7897275bRZFvF","locale","12808MoSfGF","initPlugins","updateSourceElement","view","sourceElement","589710aanNwI","create","editing","init","data","model","config","3458616IiuAvZ"];return(Po=function(){return t})()}const Wo=zo;function zo(t,e){const i=Po();return(zo=function(t,e){return i[t-=339]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(535675===parseInt(e(344))/1+-parseInt(e(345))/2*(-parseInt(e(340))/3)+parseInt(e(350))/4*(parseInt(e(342))/5)+-parseInt(e(355))/6*(parseInt(e(347))/7)+parseInt(e(362))/8+parseInt(e(348))/9+parseInt(e(346))/10*(-parseInt(e(341))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Uo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(368)];get ui(){return this[Wo(368)]}constructor(t,e){const i=Wo;super(e),this[i(354)]=t,this[i(360)][i(364)][i(365)]();const s=new jo(this[i(349)],this[i(357)][i(353)],{shouldToolbarGroupWhenFull:!0});this[i(368)]=new Mo(this,s)}[Wo(363)](){const t=Wo;return this[t(352)](),this.ui[t(363)](),super[t(363)]()}static async[Wo(356)](t,e){const i=Wo,s=new this(t,e);return await s[i(351)](),await s.ui[i(358)](t),await s[i(359)][i(358)](s[i(361)][i(343)](i(367))||""),s[i(339)](i(366)),s}}function Zo(t,e){const i=qo();return(Zo=function(t,e){return i[t-=469]})(t,e)}const Ho=Zo;function qo(){const t=["toLocaleDateString","44554mVfPUW","creator","revisionHistory.requireRevisionName","462jZTldf","adapter","isOpen","removeSelectionAttribute","includes","RevisionViewerIntegration","createRangeIn","RevisionViewer","requires","setAttribute","closeRevisionViewerCallback","toolbar","_enhanceCloseRevisionViewerCallback","getRevisionRootsAttributes","RevisionsRepository","catch","disableReadOnlyMode","commands","RevisionHistoryUI","users","_recalculatePageBreaks","block","locale","enqueueChange","revision-history-viewer-opened","long","revisionHistory.viewerEditorElement","bind","fromCharCode","revisionHistory","revisionHistory.restoreRevisionCallback","uiLanguage","_cleanUp","Dialog","repository","RevisionTracker","editor","_update","get","display","showRevisionViewerCallback","revisionHistory.viewerContainer","11vYSpYX","getRevisions","getRevision","toJSON","destroy","isReady","restoreRevision","pluginName","getMarkersGroup","Users","save","revisionHistory.closeRevisionViewerCallback","3909684HbwlnB","update","document","isOfficialPlugin","create","lazyRoots","then","join","createdAt","removeAttribute","hide","changesNavigation","isReadOnly","revisionHistory.showRevisionViewerCallback","addRoot","refreshVisibility","getAttributeKeys","name","refreshPositioning","addRevisionData","push","set","RevisionHistory","123SsrWgv","from","none","translations","isAttached","end","getRevisionData","has","parse","roots","markers","_getRevisionViewerEditorConfig","define","restrictedEditingException","revisionHistory.editorContainer","change","numeric","map","model","fromVersion","rootName","RestrictedEditingMode","error","exitToEditing","Autosave","_viewerEditor","getUser","10umfHxp","config","indexOf","_restoreRevision","_enhanceShowRevisionViewerCallback","addUser","detachRoot","9cLHDTj","style","getRoot","revision-history-missing-configuration","insert","toLocaleTimeString","init","166341fAjbOR","toVersion","keys","enableReadOnlyMode","isEnabled","isAnonymous","2222072Jbkwdq","12315290wrIiHh","$graveyard","Restored","_showRevisionViewer","PaginationLookup","selection","190032lKmQhC","result","remove","_closeRevisionViewer","plugins","49311660cPbztE","setSelection","removeMarker","saveRevision","isPremiumPlugin","data","Annotations"];return(qo=function(){return t})()}!function(t){const e=Zo,i=t();for(;;)try{if(834626===-parseInt(e(597))/1+-parseInt(e(476))/2*(parseInt(e(556))/3)+-parseInt(e(603))/4+-parseInt(e(583))/5*(parseInt(e(533))/6)+-parseInt(e(479))/7*(parseInt(e(610))/8)+-parseInt(e(590))/9*(-parseInt(e(604))/10)+parseInt(e(521))/11*(parseInt(e(615))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const $o=[Ho(497),Ho(577)];class Bo extends U.Plugin{[Ho(611)];static get[Ho(528)](){return Ho(484)}static get[Ho(536)](){return!0}static get[Ho(472)](){return!0}constructor(t){const e=Ho;function i(t){const e=Zo;return t[e(573)]((t=>String[e(507)](t)))[e(540)]("")}super(t),this[e(611)]=e(561),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends U.Plugin{[Ho(581)];static get[Ho(528)](){return Ho(555)}static get[Ho(536)](){return!0}static get[Ho(472)](){return!0}static get[Ho(487)](){return[nt,Ct]}constructor(e){const i=Ho;if(super(e),!this[i(515)][i(584)][i(517)](i(508)))throw new t.CKEditorError(i(593),this);this[i(581)]=null,this[i(515)][i(584)][i(568)](i(546),(t=>this[i(607)]({...t,translations:this[i(515)][i(501)][i(559)]}))),this[i(515)][i(584)][i(568)](i(532),(t=>this[i(613)](t))),this[i(515)][i(584)][i(568)](i(509),(t=>this[i(586)](t))),this[i(515)][i(584)][i(568)](i(478),!1),this[i(587)](),this[i(491)]()}set[Ho(480)](t){const e=Ho;this[e(515)][e(614)][e(517)](e(514))[e(480)]=t}get[Ho(480)](){const t=Ho;return this[t(515)][t(614)][t(517)](t(514))[t(480)]}[Ho(552)](t){const e=Ho;return this[e(515)][e(614)][e(517)](e(514))[e(552)](t)}[Ho(523)](t){const e=Ho;return this[e(515)][e(614)][e(517)](e(493))[e(523)](t)}[Ho(522)](t){const e=Ho;return this[e(515)][e(614)][e(517)](e(493))[e(522)](t||{toJSON:!1})}[Ho(567)](){const e=Ho,i=this[e(515)],s=(0,Z.sanitizeEditorConfig)(i,$o),n=i[e(614)][e(517)](e(514)),r=i[e(614)][e(517)](e(530))[e(498)];return s[e(490)]=[e(579),e(527),e(544)],delete s[e(538)],s[e(614)][e(553)](Bo,Qt,ke,class extends U.Plugin{static get[e(487)](){return[Qt,e(530)]}[e(596)](){const s=e,o=this[s(515)][s(614)][s(517)](s(530));for(const t of r)t[s(602)]||o[s(582)](t.id)||o[s(588)](t);const a=n[s(513)][s(522)]();let c=null;const u=this[s(515)][s(614)][s(517)](s(486));u[s(480)]=n[s(480)],u[s(506)](s(601)).to(n),this[s(515)][s(496)][s(517)](s(527))[s(506)](s(601)).to(i,s(545),(t=>!t));for(const e of a){const i=null===e[s(477)];if(i&&e[s(598)]===e[s(575)])continue;const r=e[s(524)]();u[s(552)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(516)](r,o);else if(!o){const e=a[u(524)]();e.id=(0,t.uid)(),n[u(471)](e,a[u(598)])[u(539)]((t=>{c=t}))}}else e[u(516)](r,o)}))}}},No),s}[Ho(587)](){const t=Ho,e=this[t(515)][t(584)][t(517)](t(508))[t(519)];this[t(515)][t(584)][t(554)](t(546),(async()=>{const i=t;this[i(515)][i(600)](i(503));const s=this[i(515)][i(614)][i(517)](i(514));if(this[i(515)][i(614)][i(563)](i(580))){const t=this[i(515)][i(614)][i(517)](i(580));await t[i(531)]()}else await s[i(534)]();if(this[i(515)][i(614)][i(563)](i(608))&&this[i(515)][i(614)][i(517)](i(608))[i(499)](),this[i(515)][i(614)][i(563)](i(512))){const t=this[i(515)][i(614)][i(517)](i(512));t[i(481)]&&t[i(543)]()}const n=this[i(567)]();return e(n)[i(539)]((t=>{const e=i;return this[e(581)]=t,this[e(515)][e(614)][e(563)](e(474))&&this[e(515)][e(614)][e(517)](e(474))[e(548)](),t}))[i(494)]((t=>(console[i(578)](t),this[i(515)][i(495)](i(503)),null)))}))}[Ho(491)](){const t=Ho,e=this[t(515)][t(584)][t(517)](t(508))[t(489)];this[t(515)][t(584)][t(554)](t(532),(()=>(this[t(515)][t(614)][t(563)](t(608))&&this[t(515)][t(614)][t(517)](t(608))[t(499)](),this[t(581)][t(614)][t(517)](t(486))[t(511)](),e(this[t(581)])[t(539)]((()=>{const e=t;if(this[e(515)][e(495)](e(503)),this[e(581)]=null,this[e(515)][e(614)][e(563)](e(474))){const t=this[e(515)][e(614)][e(517)](e(474));t[e(548)](),t[e(551)]()}})))))}[Ho(607)](t){const e=Ho,i=this[e(515)][e(584)][e(517)](e(570)),s=this[e(515)][e(584)][e(517)](e(520)),n=this[e(515)][e(584)][e(517)](e(505));return Uo[e(537)](n,t)[e(539)]((t=>(s[e(591)][e(518)]=e(500),i[e(591)][e(518)]=e(558),t)))}[Ho(613)](t){const e=Ho,i=this[e(515)][e(584)][e(517)](e(570));return this[e(515)][e(584)][e(517)](e(520))[e(591)][e(518)]=e(558),i[e(591)][e(518)]="",t[e(525)]()}async[Ho(586)](t){const e=Ho,i=this[e(515)],s=this[e(581)][e(614)][e(517)](e(486)),n=i[e(614)][e(517)](e(514)),r=s[e(513)][e(523)](t);let o,a,c;try{o=await s[e(562)](r),a=await s[e(492)](r)}catch(t){return void console[e(578)](t)}i[e(574)][e(571)]((t=>{const s=e;for(const e of Array[s(557)](i[s(574)][s(566)][s(529)](s(569))))t[s(470)](e)})),s[e(526)]=!1,i[e(574)][e(502)]((t=>{const s=e;t[s(469)](null),t[s(482)](i[s(574)][s(535)][s(609)][s(549)]());const n=Object[s(599)](o);for(const e of i[s(574)][s(535)][s(565)])s(605)!=e[s(576)]&&e[s(560)]()&&!n[s(483)](e[s(576)])&&t[s(589)](e);for(const e of n){let n=i[s(574)][s(535)][s(592)](e);n&&n[s(560)]()||(n=t[s(547)](e));const r=a[e],c=Object[s(599)](r),u=o[e];for(const e of n[s(549)]())c[s(483)](e)||t[s(542)](e,n);for(const i of c)t[s(488)](i,a[e][i],n);t[s(612)](t[s(485)](n)),t[s(594)](i[s(473)][s(564)](u,n),n,0)}}));const u=G(i[e(501)],e(606));return c=r[e(550)]?-1==r[e(550)][e(585)](u)?u+": "+r[e(550)]:r[e(550)]:u+": "+r[e(541)][e(475)](i[e(501)][e(510)],{month:e(504),day:e(572)})+", "+r[e(541)][e(595)](i[e(501)][e(510)],{hour:e(572),minute:e(572)}),await n[e(471)]({name:c}),s[e(526)]=!0,i[e(584)][e(517)](e(508))[e(489)]()}}function Go(t,e){var i=Jo();return(Go=function(t,e){return i[t-=261]})(t,e)}function Jo(){var t=["506966jEqrUe","3qscfjO","591997Rpmoao","366576RBEccC","1417956LJXIsv","563224BSpGeo","8881328esOFHj","1096745CewSdb"];return(Jo=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(190945===parseInt(e(267))/1+parseInt(e(264))/2*(parseInt(e(265))/3)+parseInt(e(261))/4+parseInt(e(263))/5+parseInt(e(268))/6+parseInt(e(266))/7+-parseInt(e(262))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|