@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250317.0 → 0.0.0-nightly-20250318.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:()=>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]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M,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,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(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,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}const M=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function D(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function V(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?V(e)?F(t,D(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=W();return(P=function(t,e){return i[t-=289]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(846342===parseInt(e(294))/1+parseInt(e(300))/2*(-parseInt(e(315))/3)+parseInt(e(316))/4+parseInt(e(312))/5+-parseInt(e(317))/6*(parseInt(e(306))/7)+parseInt(e(295))/8+parseInt(e(311))/9*(-parseInt(e(289))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[L(298)];[L(291)];[L(296)];[L(292)];[L(305)];[L(293)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(298)]=e[i(298)]||null,this[i(291)]=e[i(291)]||[],this[i(296)]=e[i(296)]||null,this[i(292)]=e[i(292)]||0,this[i(305)]=e[i(305)]||0,this[i(313)](i(314),e[i(314)]||""),this[i(313)](i(307),e[i(307)]||new Date),this[i(313)](i(304),e[i(304)]||{})}[L(301)](t){this[L(309)]({name:t})}[L(308)](t,e){const i=L,s=R(this[i(304)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(309)]({attributes:s})}[L(303)](t){const e=L,i=R(this[e(304)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&V(e))return j(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(309)]({attributes:i})}[L(309)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(314),i(307),i(296),i(291),i(304),i(292),i(305),i(310)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(291)]&&(n[i(297)]=n[i(291)][i(299)]((t=>t.id)),delete n[i(291)]),this[i(302)](i(309),n,e))}[L(290)](){const t=L;return{id:this.id,name:this[t(314)],creatorId:this[t(298)]?this[t(298)].id:null,authorsIds:this[t(291)][t(299)]((t=>t.id)),diffData:this[t(296)],createdAt:this[t(307)],attributes:this[t(304)],fromVersion:this[t(305)],toVersion:this[t(292)]}}}function W(){const t=["6astTUQ","30BiptrB","toJSON","authors","toVersion","model","1639765fTZfWK","9101040AFeVBv","diffData","authorsIds","creator","map","1790958PHEymi","setName","fire","removeAttribute","attributes","fromVersion","2326100pNlMef","createdAt","setAttribute","_update","creatorId","8730963bFqFQP","5030250lMoHMj","set","name","3UyRFBu","4803988JtMNWp"];return(W=function(){return t})()}var U=i(782),H=i(211),Z=i(783);const q=$;!function(t){const e=$,i=t();for(;;)try{if(259036===parseInt(e(221))/1+-parseInt(e(248))/2*(parseInt(e(218))/3)+parseInt(e(255))/4+parseInt(e(269))/5*(-parseInt(e(230))/6)+-parseInt(e(246))/7*(parseInt(e(226))/8)+-parseInt(e(225))/9*(parseInt(e(266))/10)+parseInt(e(219))/11*(parseInt(e(228))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class B extends U.Plugin{[q(262)];static get[q(239)](){return[H.Users]}static get[q(260)](){return q(237)}static get[q(267)](){return!0}static get[q(242)](){return!0}get[q(251)](){const t=q;return this[t(262)][t(251)]}constructor(e){const i=q;super(e),this[i(262)]=new t.Collection}[q(256)](){!async function(e){const i=k([51,70,116,55,81,69,52,68,79,109,71,88,122,73,118,89,121,53,72,106,74,75,100,111,67,98,117,56,113,107,97,90,83,120,108,104,101,99,77,119,78,84,57,66,85,102,112,65,82,50,114,103,86,48,76,105,110,49,87,115,80,54]),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(217)](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([70]);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(265)]((t=>String[e(263)](t)))[e(272)]("")}!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:1742169600;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(257)]);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(259)](t){const e=q,i=this[e(250)][e(254)][e(258)](e(238));return new z({id:t.id,name:t[e(245)],creator:t[e(235)]?i[e(227)](t[e(235)]):null,diffData:t[e(232)]||t[e(253)],authors:t[e(249)][e(265)]((t=>i[e(227)](t))),createdAt:new Date(t[e(222)]),attributes:t[e(268)],fromVersion:t[e(216)],toVersion:t[e(247)]})}[q(223)](t,e=0){const i=q;this[i(262)][i(229)](t,e)}[q(224)](t){const e=q;return this[e(262)][e(258)](t)}[q(234)](t={toJSON:!1}){const e=q,i=Array[e(241)](this[e(262)]);return i[e(244)](),t[e(252)]?i[e(265)]((t=>t[e(252)]())):i}[q(270)](t){const e=q;return this[e(262)][e(270)](t)}[q(231)](t){const e=q,[,i]=this[e(240)](t,{direction:e(236)});return i}[q(261)](t){const e=q,[,i]=this[e(240)](t,{direction:e(243)});return i}[q(220)](t){const e=q,i=[];for(const s of this[e(240)](t[e(271)]))if(i[e(264)](s),s.id===t[e(233)])break;return i}*[q(240)](t,{direction:e=q(236),filter:i=()=>!0}={}){const s=q,n=s(236)===e?1:-1;let r=this[s(262)][s(258)](t),o=this[s(270)](r);for(yield r;r;){if(o+=n,r=this[s(224)](o),!r)return;i(r)&&(yield r)}}}function $(t,e){const i=Y();return($=function(t,e){return i[t-=216]})(t,e)}function Y(){const t=["createdAt","addRevision","getRevision","9Wpekdn","838976lpIQvK","getUser","12XPIJIU","add","426YUgGEs","getEarlierVisibleRevision","diffData","oldRevisionId","getRevisions","creatorId","earlier","RevisionsRepository","Users","requires","getRevisionsIterator","from","isPremiumPlugin","later","reverse","name","7jxnPpM","toVersion","124990AzuZuM","authorsIds","editor","length","toJSON","data","plugins","1515156WyWcPN","afterInit","href","get","createRevision","pluginName","getLaterVisibleRevision","_revisions","fromCharCode","push","map","60970EosYTx","isOfficialPlugin","attributes","35870EflZXu","getIndex","newRevisionId","join","fromVersion","isNaN","3WvKtoX","1730949OJgMnw","getRevisionsInDiff","405706YsYxro"];return(Y=function(){return t})()}function J(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function G(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return X(t,e,r,o)}return X(t,e,r,o)}function X(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(M=s)||Number.isNaN(R)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,M;const E=(s=s??new Map).get(t),D=s.get(i);if(null!=E&&null!=D)return E===i;s.set(t,i),s.set(i,t);try{switch(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&&X(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&X(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(X(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 Q(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,Q)}const et=it;function it(t,e){const i=st();return(it=function(t,e){return i[t-=364]})(t,e)}function st(){const t=["revisionHistoryLicenseKeyNotAllowed","_licenseKeyCheckInterval","revisionHistoryLicenseKeyExpired","useFillerType","_continueCurrentRevision","1370EUuLUE","toModel","data-revision-","finally","attachChange","stickiness","repository","createPositionFromPath","version","1086560zviNKH","removeRootAttribute","_getViewJson","_handleOperation","_addPendingAction","evaluationLimit","nodes","_diffRootsAttributes","type","insertion","getData","140400EAcude","delete","_handleRootOperation","attributesAfter","_initialRevisionId","getAttributes","dataDowncast","afterInit","getTime","1724679GlAfxV","range","_isPendingUpdate","_isInit","_loadRevisionData","getUser","_handleMarkerOperation","_transformMarkers","dataToMarker","remove","forEach","model","item","reverse","$graveyard","conversion","_processRootBeforeSave","targetPosition","_update","5ejCoNn","diffData","buildRevisionData","$text","string","reinsert","trim","parse","_prepareViewToSave","_removeRevisionMarkers","affectsData","_setConversion","get","reInit","Empty document","stringify","attributes","vid","revision-end","merge","childCount","getAncestors","data","oldRange","getTransformedByOperation","initial","_createInitialRevision","authorsIds","offset","from","changeRootAttribute","getRevisionRootsAttributes","marked","revisionHistoryLicenseKeyInvalid","PENDING_ACTION_REVISION_HISTORY","Initial revision","upcast","position","_markChanges","sourcePosition","userId","sort","_clone","_setAttribute","vid_start","getRevisionDocumentData","setRevisionData","_applyOperations","_createCurrentRevision","toVersion","addRootAttribute","element","fromEntries","getChildren","_showLicenseError","revisionHistoryLicenseKeyUsageLimit","attributesBefore","createRangeIn","_getFromVersion","_handleRootAttributeOperation","_baseRootsAttributes","elementEnd","config","add","_handleMoveOperation","1096444rzfsFW","destroy","getRevision","createPositionAfter","default","revisionHistoryLicenseKeyDomainLimit","insertionPosition","values","_savedMetaData","resolve","createRange","getRevisions","children","offsetSize","end","_diffRoots","Users","getRoot","_lastFrom","markers","featureNotAllowed","fromVersion","history","requires","rootsAttributes","getRootNames","push","revision","shift","nodeAfter","bind","rootName","addRevisionData","elementStart","set","text","path","currentRevision","domainLimit","vid_end","_generateTape","isEqual","addRevision","_loadedStateData","_replaceEditorDataWithRevisionData","PendingActions","revisionHistory.resumeUnsavedRevision","_handleMergeOperation","marker","init","_startingRevisionId","toData","markerToData","deletion","toView","setSource","hasContent","isEnabled","_calculateMetaData","_baseRoots","initialData","revisionHistoryLicenseKeyValid","_removeMetaData","getLatestVersion","_operations","view","isPremiumPlugin","length","_revisionDataBuilder","previousPosition","insert","splitPosition","plugins","RealTimeCollaborationClient","_handleInsertOperation","_loadState","key","define","creatorId","keys","filter","_revisionId","editing","_removePendingAction","getWalker","ready","keepParagraph","includes","authors","_bufferUpdate","_findInsertionIndex","getAttribute","addRoot","getIndex","expired","revision-start","updateRevisions","move","_touched","createdAt","invalid","_baseIdsRoots","max","paragraph","NEGATIVE_INFINITY","loadState","start","adapter","update","root","createRevision","_touchedRoots","name","getOperation","slice","getNodeByPath","documentFragment","source","_startingVersion","_cloneOperation","roots","_bufferedUpdates","clone","usageLimit","_insertChild","3JhsRBD","then","_saveMetaData","_makeIdsRoot","has","revision:","RevisionsRepository","RevisionHistory","_getState","for","createPositionAt","_markers","getMovedRangeStart","8503owjccR","newValue","_pendingAction","_fixRange","processor","tableCell","clear","licenseKey","createPositionBefore","_idsRoots","insertions","creator","split","document","editor","_execute","baseVersion","pluginName","sendBufferedUpdates","_getPreviousFrom","_fixOperation","615918XRMJey","some","getChild","_createFromRanges","map","newRange","_touchedMarkers","getRange","revisionHistoryLicenseKeyEvaluationLimit","_isAttached","editor-initial-data-replaced-with-revision-data","graveyardPosition","RevisionTracker","deletions","collaboration.channelId","locale","_source","saveRevision","_fixPosition","getCurrentRevisionId","getOperations","isOfficialPlugin","_getVidAttributeName","howMany","_handleSplitOperation","revisionHistoryLicenseKeyTrialLimit","_reset","startsWith","isReady","_lastTo","403150BelTwq","_makeRevision","_appendChild","detachRoot","_getBaseVids","parent","_copyMarkers","_authorId","_makeModelFromViewString","21zTbypJ","isAdd","size","isAttached","trialLimit","find"];return(st=function(){return t})()}!function(t){const e=it,i=t();for(;;)try{if(190005===-parseInt(e(505))/1+-parseInt(e(465))/2*(parseInt(e(401))/3)+parseInt(e(598))/4*(parseInt(e(533))/5)+parseInt(e(435))/6*(parseInt(e(474))/7)+-parseInt(e(494))/8+parseInt(e(514))/9+parseInt(e(485))/10*(-parseInt(e(414))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);const nt={c:Z.ViewContainerElement,a:Z.ViewAttributeElement,e:Z.ViewEmptyElement,r:Z.ViewRawElement,u:Z.ViewUIElement};class rt extends U.Plugin{[et(421)];[et(481)];[et(383)];[et(635)];[et(491)];[et(666)];[et(451)];[et(509)];[et(397)];[et(416)];[et(484)];[et(394)];[et(641)];static get[et(431)](){return et(447)}static get[et(456)](){return!0}static get[et(664)](){return!0}static get[et(621)](){return[H.Users,B,U.PendingActions]}constructor(e){const i=et;super(e),this[i(383)]=null,this[i(635)]=null,this[i(666)]=new at(this[i(428)]),this[i(509)]=this[i(428)][i(595)][i(545)](i(449))||i(558),this[i(397)]=new Map,this[i(641)]=null;const s=(0,t.uid)();this[i(451)]={history:this[i(428)][i(525)][i(427)][i(620)],getLatestVersion:()=>Promise[i(607)](this[i(428)][i(525)][i(427)][i(493)]),getCurrentRevisionId:()=>s},this[i(632)](i(463),!1),this[i(632)](i(655),!0),this[i(632)](i(516),!1),this[i(428)][i(595)][i(675)](i(644),!0),this[i(428)][i(529)][i(410)](i(569))[i(522)]({view:i(625)})}[et(647)](){const t=et;this[t(491)]=this[t(428)][t(670)][t(545)](t(407)),this[t(544)](),this[t(428)][t(555)].on(t(683),(()=>{const e=t,i=this[e(491)][e(600)](0),s=i&&null===i[e(425)]?i:null;if(this[e(484)]=!!s&&this[e(428)][e(595)][e(545)](e(644)),this[e(428)][e(670)][e(405)](e(671))){const t=this[e(451)][e(454)](),n=this[e(491)][e(600)](t);if(n)this[e(394)]=n[e(619)],this[e(484)]=!1;else{const t=this[e(451)][e(620)][e(662)][e(479)]((t=>!t[e(517)])),n=t?t[e(430)]:this[e(451)][e(620)][e(493)];i?(i[e(582)]<n&&i[e(532)]({toVersion:n}),this[e(484)]?(this[e(451)][e(454)]=()=>s.id,this[e(394)]=s[e(619)]):(this[e(394)]=i[e(582)],this[e(484)]=!1)):(this[e(394)]=n,this[e(484)]=!1)}}else s&&(this[e(428)][e(525)][e(427)][e(620)][e(493)]=Math[e(378)](s[e(582)],this[e(428)][e(525)][e(427)][e(620)][e(493)]),s[e(619)]===s[e(582)]?(0!==s[e(619)]&&(this[e(451)][e(454)]=()=>s.id),this[e(484)]=!1):this[e(484)]&&(this[e(451)][e(454)]=()=>s.id,this[e(394)]=s[e(619)])),this[e(484)]||(this[e(394)]=this[e(428)][e(525)][e(427)][e(493)]);this[e(666)][e(647)](this[e(451)][e(620)]),this[e(559)](this[e(394)]),this[e(581)](this[e(394)]),this[e(383)]&&this[e(432)]()})),this[t(628)](t(463)).to(this,t(516),(t=>!t)),this[t(421)]=this[t(428)][t(595)][t(545)](t(421));const e=this[t(428)];this[t(481)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(659)==r||i(566)==r||i(482)==r||i(603)==r||i(480)==r||i(443)==r||i(460)==r||i(588)==r){delete e[n],s=r,clearInterval(this[i(481)]),this[i(481)]=void 0;break}}i(566)==s&&e[i(587)](i(376)),i(482)==s&&e[i(587)](i(370)),i(603)==s&&e[i(587)](i(636)),i(480)==s&&e[i(587)](i(618),i(408)),i(443)==s&&e[i(587)](i(499)),i(460)==s&&e[i(587)](i(478)),i(588)==s&&e[i(587)](i(399))}),1e3)}async[et(512)](){const t=et;if(this[t(491)][t(665)]>0){const e=this[t(491)][t(600)](0),i=await this[t(578)](e),s=await this[t(564)](e);this[t(642)](i,s)}}[et(599)](){const t=et;super[t(599)](),this[t(481)]&&clearInterval(this[t(481)])}[et(653)](t){this[et(451)]=t}async[et(384)](){const t=et,e=await this[t(451)][t(661)]();if(e>this[t(635)][t(582)]){await this[t(673)]();const i=this[t(535)]({revision:this[t(635)],to:e});i[t(364)]=i[t(560)][t(439)]((e=>this[t(428)][t(670)][t(545)](t(614))[t(519)](e))),this[t(635)][t(532)](i)}}async[et(673)](){const t=et;this[t(484)]&&!this[t(641)]&&(await this[t(518)](this[t(635)]),this[t(666)][t(381)](this[t(635)]),this[t(641)]={fromVersion:this[t(635)][t(619)],authors:this[t(635)][t(364)][t(390)]()})}async[et(452)](e={},i=null){const s=et,n=[];await this[s(673)](),this[s(484)]=!1,i>this[s(635)][s(582)]&&(i=null),null===i&&(i=await this[s(451)][s(661)]());const r=this[s(591)](i),o=this[s(535)]({from:r,to:i});if(this[s(635)][s(582)]<i){const t=this[s(535)]({revision:this[s(635)],from:i,to:i});t[s(364)]=[],t[s(560)]=[],t.id=this[s(635)].id,this[s(635)][s(532)](t,!0),delete t[s(364)],n[s(624)](t)}e[s(676)]=this[s(428)][s(670)][s(545)](s(614)).me.id,e[s(388)]=e[s(388)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(630)](e);n[s(624)](e);const c=this[s(491)][s(369)](a);if(0!==c){const t=this[s(491)][s(600)](c-1);if(t[s(619)]!==i){const r=this[s(666)][s(504)](i,t[s(582)]),o={id:t.id,diffData:r[s(534)],authorsIds:r[s(560)],authors:r[s(560)][s(439)]((t=>this[s(428)][s(670)][s(545)](s(614))[s(519)](t))),fromVersion:i};t===this[s(635)]&&(o[s(375)]=new Date(e[s(375)][s(513)]()+10)),t[s(532)](o,!0),delete o[s(364)],n[s(624)](o)}}if(this[s(383)]){for(const t of n)this[s(365)](t.id,t,!0);this[s(432)]()}return a}[et(630)](t){const e=et,i=this[e(491)][e(386)](t);return this[e(383)]&&i.on(e(532),((t,i,s)=>{const n=e;s||(this[n(365)](i.id,i,!0),this[n(432)]())})),this[e(491)][e(640)](i,this[e(366)](i)),i}async[et(578)](t){const e=et;await this[e(518)](t);const i={};for(const s in t[e(534)]){if(t[e(534)][s][e(489)]&&!t[e(534)][s][e(489)][e(477)])continue;const n=this[e(542)](JSON[e(540)](t[e(534)][s][e(424)])),r=this[e(428)][e(680)][e(663)][e(427)],o=new Z.ViewDocumentFragment(r,n[e(439)]((t=>ot(t,this[e(428)]))));this[e(428)][e(555)][e(418)][e(483)](e(565)),i[s]=this[e(428)][e(555)][e(418)][e(649)](o),this[e(428)][e(555)][e(418)][e(483)](e(602))}return i}async[et(564)](t){const e=et;await this[e(518)](t);const i={};for(const s in t[e(534)])t[e(534)][s][e(489)]&&!t[e(534)][s][e(489)][e(477)]||(i[s]=t[e(534)][s][e(508)]||{});return i}[et(432)](){const t=et;if(0===this[t(397)][t(476)])return;if(this[t(516)])return;let e=Array[t(562)](this[t(397)][t(605)]());this[t(397)][t(420)]();for(let i=0;i<e[t(665)];i++){const s=e[i];let n=!1;for(const e of Object[t(677)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(678)]((t=>null!==t)),!e[t(665)])return;for(let i=0;i<e[t(665)];i++){const s=e[i];void 0!==s[t(619)]&&void 0===s[t(582)]&&(s[t(582)]=this[t(491)][t(600)](s.id)[t(582)]),void 0!==s[t(582)]&&void 0===s[t(619)]&&(s[t(619)]=this[t(491)][t(600)](s.id)[t(619)])}const i=this[t(428)][t(595)][t(545)](t(449));this[t(516)]=!0,this[t(498)](),this[t(383)][t(372)](e,i)[t(488)]((()=>{this[t(516)]=!1}))[t(402)]((e=>{const i=t;if(e)for(const t of e)this[i(579)]({id:t.id,createdAt:t[i(375)]});this[i(681)](),this[i(432)]()}))}[et(642)](e,i){const s=et;let n=this[s(428)][s(595)][s(545)](s(658)),r=this[s(428)][s(595)][s(545)](s(622));if(void 0===n){n={};for(const t of this[s(428)][s(525)][s(427)][s(623)]())n[t]=""}if(s(537)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(428)][s(525)][s(427)][s(623)]())r[t]={}}let o=!1;const a=Object[s(677)](n),c=Object[s(677)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(539)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(677)](r[t])[s(665)]>0){o=!0;break}}o||(o=c[s(436)]((t=>!this[s(428)][s(525)][s(427)][s(615)](t)))),o&&(0,t.logWarning)(s(445),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(428)][s(595)][s(632)](s(658),e),this[s(428)][s(595)][s(632)](s(622),i)}[et(498)](){const t=et;if(!this[t(416)]){const e=this[t(428)][t(670)][t(545)](t(643));this[t(416)]=e[t(596)](J(this[t(428)][t(450)],t(567)))}}[et(681)](){const t=et;this[t(416)]&&(this[t(428)][t(670)][t(545)](t(643))[t(523)](this[t(416)]),this[t(416)]=null)}[et(366)](t){const e=et,i=this[e(491)][e(609)]();i[e(527)]();let s=0;for(;s<i[e(665)];){const n=i[s];if(n===this[e(635)]){s++;continue}if(n.id===this[e(509)])break;const r=t[e(582)]-n[e(582)]||t[e(619)]-n[e(619)];if(r>0)break;if(r<0)s++;else{if(!t[e(425)]&&n[e(425)])break;if(n[e(425)]||!t[e(425)]){if(t[e(375)]>n[e(375)])break;s++}else s++}}return s}[et(579)](t){const e=et,i=this[e(491)][e(600)](t.id);if(t[e(375)]&&(t[e(375)]=new Date(t[e(375)])),t[e(560)]){const i=this[e(428)][e(670)][e(545)](e(614));t[e(364)]=t[e(560)][e(439)]((t=>i[e(519)](t)))}i[e(532)](t,!0)}[et(535)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(619)],i=null!==i?i:t[s(582)];const n=this[s(666)][s(504)](e,i),r={diffData:n[s(534)],authorsIds:n[s(560)],fromVersion:e,toVersion:i};if(!t||i!==t[s(582)]){const t=i-1,e=this[s(451)][s(620)][s(389)](t);r[s(375)]=e&&e[s(375)]||new Date}if(this[s(641)]&&e===this[s(641)][s(619)])for(const t of this[s(641)][s(364)])r[s(560)][s(685)](t.id)||r[s(560)][s(624)](t.id);return r}[et(518)](t){const e=et;if(!t||t[e(534)])return Promise[e(607)]();{const i=this[e(428)][e(595)][e(545)](e(449));return this[e(383)][e(600)]({channelId:i,revisionId:t.id})[e(402)]((i=>{const s=e;t[s(534)]=i[s(534)]}))}}[et(365)](t,e,i){const s=et;if(this[s(397)][s(405)](t)){const n=this[s(397)][s(545)](t);e=i?{...n,...e}:{...e,...n}}this[s(397)][s(632)](t,e)}[et(591)](t){const e=et,i=this[e(491)][e(609)]();i[e(527)](),i[e(626)]();const s=i[e(479)]((i=>i[e(582)]<=t))[e(582)];return s<this[e(394)]?this[e(394)]:s}[et(559)](t){const e=et,i=this[e(491)][e(600)](this[e(491)][e(665)]-1);if(i)this[e(509)]=i.id;else{const i=!this[e(428)][e(525)][e(427)][e(396)][e(479)]((t=>this[e(428)][e(525)][e(654)](t))),s=this[e(428)][e(670)][e(545)](e(614)).me.id,n=J(this[e(428)][e(450)],e(i?547:568));this[e(466)]({from:t,to:t,id:this[e(509)],name:n,creatorId:s})}}[et(581)](t){const e=et,i=this[e(451)][e(454)]();this[e(635)]=this[e(491)][e(600)](i),this[e(635)]||(this[e(635)]=this[e(466)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(466)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(535)]({from:e,to:i});o[r(388)]=t,o[r(676)]=s,o.id=n;const a=this[r(630)](o);return this[r(383)]&&this[r(365)](o.id,o,!0),a}[et(544)](){const t=et;this[t(428)][t(529)][t(410)](t(511))[t(650)]({model:t(625)})}[et(542)](t){const e=et;return(t=t[e(678)]((t=>!t[e(388)]||e(371)!==t[e(388)]&&e(551)!==t[e(388)])))[e(524)]((t=>{const i=e;i(537)!=typeof t&&(t[i(610)]=this[i(542)](t[i(610)]),t[i(549)]=t[i(549)][i(678)]((t=>!t[0][i(462)](i(487)))))})),t}}function ot(t,e){const i=et,s=e[i(680)][i(663)][i(427)];if(i(537)==typeof t)return new Z.ViewText(s,t);{const n=t[i(610)][i(439)]((t=>ot(t,e)));return new(nt[t[i(502)]]||Z.ViewElement)(s,t[i(388)],t[i(549)],n)}}class at{[et(428)];[et(393)];[et(606)];[et(616)];[et(464)];[et(412)];[et(613)];[et(501)];[et(657)];[et(593)];[et(423)];[et(377)];[et(374)];[et(441)];[et(387)];[et(679)];[et(648)];constructor(t){const e=et;this[e(428)]=t,this[e(606)]=new Map,this[e(616)]=-1,this[e(464)]=-1,this[e(412)]=new Map,this[e(613)]=new Map,this[e(501)]=new Map,this[e(657)]=new Map,this[e(593)]=new Map,this[e(423)]=new Map,this[e(377)]=new Map,this[e(374)]=new Map,this[e(441)]=new Map,this[e(387)]=new Map,this[e(679)]=1}[et(647)](t){const e=et;this[e(393)]=t;const i=new Map,s=new Map,n=this[e(428)][e(525)][e(427)][e(396)][e(439)]((t=>t[e(629)]));for(const t of n){const n=this[e(428)][e(525)][e(427)][e(615)](t),r=ct(n);i[e(632)](t,r),s[e(632)](t,Object[e(585)](n[e(510)]()))}const r=Array[e(562)](this[e(428)][e(525)][e(617)])[e(439)]((t=>[t[e(388)],t[e(442)]()])),o=this[e(393)][e(493)];this[e(403)](o,i,r,s),this[e(648)]=this[e(679)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(632)](t,i),c[e(632)](t,{})}this[e(403)](Number[e(380)],a,[],c)}[et(504)](t,e){const i=et;if(this[i(616)]===t&&this[i(464)]<=e)this[i(606)][i(476)]>1&&this[i(660)](this[i(464)]),this[i(580)](this[i(464)],e,!0);else{if(!this[i(606)][i(405)](t)){const e=this[i(433)](t);this[i(656)](e,t,!1)}this[i(656)](t,e,!0)}return this[i(616)]=t,this[i(464)]=e,this[i(409)]()}[et(381)](t){const e=et;this[e(461)](),this[e(616)]=t[e(619)],this[e(464)]=t[e(582)];for(const i in t[e(534)]){const s=t[e(534)][i][e(489)],n=R(t[e(534)][i][e(589)])||{},r=this[e(473)](t[e(534)][i][e(448)]);r[e(629)]=i,r[e(444)]=!s||!s[e(477)],r[e(477)]=()=>r[e(444)],this[e(657)][e(632)](i,r),this[e(593)][e(632)](i,n),s&&this[e(387)][e(632)](i,s);const o=this[e(404)](r);this[e(377)][e(632)](i,o);for(const[t,i]of r[e(617)]){if(!t[e(462)](e(406)))continue;const s=t[e(426)](":")[2];for(const t of i[e(682)]({singleCharacters:!0})){const i=this[e(457)](t),n=e(594)==t[e(502)]?t[e(667)][e(634)][e(390)](0,-1):t[e(667)][e(634)],r=o[e(391)](n)[e(367)](i);this[e(374)][e(632)](r,{userId:s})}}}this[e(648)]=this[e(679)];const i=[...Array(this[e(679)])[e(677)]()][e(390)](1)[e(678)]((t=>!this[e(374)][e(405)](t)));let s=0;const n=new Map;for(const r in t[e(534)]){const o=t[e(534)][r][e(489)],a=R(t[e(534)][r][e(508)])||{},c=this[e(473)](t[e(534)][r][e(424)]);c[e(629)]=r,c[e(444)]=!o||o[e(477)],c[e(477)]=()=>c[e(444)],this[e(613)][e(632)](r,c),this[e(501)][e(632)](r,a);const u=this[e(404)](c,Number[e(380)]);this[e(423)][e(632)](r,u),n[e(632)](r,c[e(477)]()?a:{});for(const[t,i]of c[e(617)]){if(!t[e(462)](e(406)))continue;const s=t[e(426)](":")[2];for(const t of i[e(682)]({singleCharacters:!0})){const i=this[e(457)](t),n=this[e(679)]++,r=e(594)==t[e(502)]?t[e(667)][e(634)][e(390)](0,-1):t[e(667)][e(634)];u[e(391)](r)[e(576)](i,n),this[e(374)][e(632)](n,{userId:s})}}for(const t of this[e(428)][e(525)][e(590)](c)[e(682)]({singleCharacters:!0})){const n=this[e(457)](t),r=e(594)==t[e(502)]?t[e(667)][e(634)][e(390)](0,-1):t[e(667)][e(634)],o=u[e(391)](r);o[e(367)](n)>0||o[e(576)](n,i[s++])}for(const[t,i]of c[e(617)])t[e(462)](e(406))||this[e(412)][e(632)](t,i)}const r=ut(e(528));this[e(657)][e(632)](e(528),r),this[e(377)][e(632)](e(528),this[e(404)](r,1));const o=ut(e(528));this[e(613)][e(632)](e(528),o),this[e(423)][e(632)](e(528),this[e(404)](o,1));const a=Array[e(562)](this[e(613)])[e(439)]((([t,e])=>[t,ct(e)]));this[e(403)](this[e(464)],a,this[e(412)],n)}[et(473)](t){const e=et,i=JSON[e(540)](t),s=this[e(428)][e(680)][e(663)][e(427)],n=new Z.ViewDocumentFragment(s,i[e(439)]((t=>ot(t,this[e(428)]))));return this[e(428)][e(555)][e(486)](n)}[et(403)](t,e,i,s){const n=et,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(632)](t,{start:e[n(382)][n(398)](),end:e[n(612)][n(398)](),rootName:e[n(385)][n(629)]});this[n(606)][n(632)](t,{roots:r,markers:a,rootsAttributes:o})}[et(660)](t){const e=et;this[e(606)][e(506)](t)}[et(546)](){const t=et;this[t(461)](),this[t(616)]=-1,this[t(464)]=-1,this[t(606)][t(420)](),this[t(647)](this[t(393)])}[et(461)](){const t=et;this[t(374)][t(420)](),this[t(441)][t(420)](),this[t(387)][t(420)](),this[t(613)][t(420)](),this[t(501)][t(420)](),this[t(657)][t(420)](),this[t(593)][t(420)](),this[t(423)][t(420)](),this[t(377)][t(420)](),this[t(412)][t(420)](),this[t(679)]=1,this[t(648)]=this[t(679)]}[et(404)](t,e=null){const i=et;let s=null;t.is(i(392))||(s=new Z.Element(t[i(388)],{vid_start:null===e?this[i(679)]++:e++}));const n=[];for(const s of t[i(586)]())if(s.is(i(584))){n[i(624)](this[i(404)](s,e));const t=n[n[i(665)]-1];null!==e&&(e=t.is(i(584),i(536))?t[i(367)](i(550))+1:t[i(367)](i(637))+1)}else for(let t=0;t<s[i(611)];t++)n[i(624)](new Z.Element(i(536),{vid:null===e?this[i(679)]++:e++}));if(t.is(i(392))){const e=ut(t[i(629)]);return e[i(400)](0,n),e}return s[i(576)](i(637),null===e?this[i(679)]++:e++),s[i(400)](0,n),s}[et(656)](t,e,i){const s=et;this[s(461)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(606)][s(545)](t);this[s(657)]=new Map(n),this[s(593)]=new Map(R(o));for(const[t,e]of this[s(657)])if(s(528)!==t&&(this[s(613)][s(632)](t,ct(e)),this[s(501)]=new Map(R(o)),i)){const i=this[s(679)];this[s(423)][s(632)](t,this[s(404)](e)),this[s(377)][s(632)](t,this[s(404)](e,i))}this[s(648)]=this[s(679)],this[s(613)][s(632)](s(528),ct(this[s(657)][s(545)](s(528)))),i&&this[s(423)][s(632)](s(528),this[s(404)](this[s(657)][s(545)](s(528))));for(const[t,e]of r){const i=this[s(657)][s(545)](e[s(629)]),n=this[s(613)][s(545)](e[s(629)]),r=new Z.Range(this[s(453)](e[s(382)],i),this[s(453)](e[s(612)],i)),o=this[s(417)](r,n);i[s(617)][s(632)](t,r),this[s(412)][s(632)](t,o)}this[s(580)](t,e,i)}[et(580)](t,e,i){const s=et;for(const n of this[s(393)][s(455)](t,e))this[s(497)](n,i);for(const t of this[s(613)][s(605)]())t[s(617)][s(420)]();for(const[t,e]of this[s(412)])this[s(613)][s(545)](e[s(385)][s(629)])[s(617)][s(632)](t,e[s(398)]());const n=new Map,r=new Map;for(const[t,e]of this[s(613)])n[s(632)](t,ct(e)),r[s(632)](t,this[s(501)][s(545)](t));this[s(403)](e,n,this[s(412)],r)}[et(433)](t){const e=et,i=Array[e(562)](this[e(606)][e(677)]());i[e(574)](((t,e)=>t-e)),i[e(527)]();for(const e of i)if(e<t)return e;return Number[e(380)]}[et(471)](t,e){const i=et,s=Array[i(562)](e[i(617)])[i(439)]((([e,s])=>[e,this[i(417)](s,t)]));t[i(617)]=new Map(s)}[et(521)](t){const e=et;for(const i of this[e(412)][e(605)]()){const s=i[e(557)](t),n=Z.Range[e(438)](s);i[e(382)]=n[e(382)],i[e(612)]=n[e(612)]}}[et(497)](t,e){const i=et;if(i(368)!=t[i(502)]&&i(468)!=t[i(502)]){if(i(668)==t[i(502)]){const s=t[i(570)][i(385)][i(629)];this[i(613)][i(405)](s)||(this[i(613)][i(632)](s,ut(s,!0)),this[i(501)][i(632)](s,{}),e&&this[i(423)][i(632)](s,ut(s,!0)))}else{if(i(583)==t[i(502)]||i(495)==t[i(502)]||i(563)==t[i(502)])return void this[i(592)](t);i(646)==t[i(502)]&&this[i(520)](t)}if(i(646)!==t[i(502)]){const e=this[i(395)](t,this[i(613)]);e[i(429)](),this[i(521)](e)}if(e)switch(t[i(502)]){case i(668):this[i(672)](t);break;case i(373):case i(523):case i(538):this[i(597)](t);break;case i(552):this[i(645)](t);break;case i(426):this[i(459)](t)}}else this[i(507)](t,e)}[et(395)](t,e){const i=et,s=t[i(398)]();return s[i(472)]=t[i(472)],this[i(434)](s,e),s}[et(469)](t){const e=et;return t[e(439)]((t=>{const i=e,s=this[i(457)](t);return Number(t[i(526)][i(367)](s))}))}[et(638)](t,e){const i=et;if(t.is(i(584),i(536)))e[i(624)]({item:t,type:i(633)});else{t.is(i(584))&&e[i(624)]({item:t,type:i(631)});for(const s of t[i(586)]())this[i(638)](s,e);t.is(i(584))&&e[i(624)]({item:t,type:i(594)})}return e}[et(409)](){const t=et,e=new Map(this[t(374)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(657)][t(677)](),...this[t(613)][t(677)]()]);a[t(506)](t(528));for(const e of a){const i=this[t(613)][t(545)](e)||ut(e,!1),s=this[t(657)][t(545)](e)||ut(e,!1);i[t(477)]()||s[t(477)]()?(n[t(424)][e]=ct(i),n[t(448)][e]=ct(s),this[t(471)](n[t(448)][e],s),this[t(471)](n[t(424)][e],i),r[t(424)][e]=this[t(638)](this[t(423)][t(545)](e),[]),r[t(448)][e]=this[t(638)](this[t(377)][t(545)](e)||ut(e,!1),[])):a[t(506)](e)}for(const n of a){const o=r[t(424)][n];for(const n of o){const r=this[t(457)](n),o=n[t(526)][t(367)](r);i[t(506)](o),o>=this[t(648)]&&s[t(632)](o,e[t(545)](o))}}for(const n of a){const a=r[t(424)][n],c=this[t(469)](r[t(448)][n]);let u=0;for(const n of a){const r=this[t(457)](n),a=n[t(526)][t(367)](r);if(!s[t(405)](a)&&!o[t(405)](a))if(i[t(405)](a))u++;else{if(a!=c[u]){const s=e[t(545)](a)||e[t(545)](c[u]);for(;a!=c[u];)i[t(405)](c[u])||(o[t(632)](c[u],s),e[t(632)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(424)][e];for(const e of n){const n=this[t(457)](e),r=e[t(526)][t(367)](n);if(o[t(405)](r)){const e=o[t(545)](r);i[t(405)](r)||i[t(632)](r,{...e}),s[t(632)](r,{...e})}}}for(const e of i[t(677)]())e>=this[t(648)]&&i[t(506)](e);const c=new Map;for(const e of a){let n=r[t(424)][e];for(const e of n)if(e[t(526)].is(t(584),t(419))){const i=this[t(457)](e),n=e[t(526)][t(367)](i);if(s[t(405)](n)){const i=e[t(526)][t(470)][t(470)][t(367)](t(577)),r=c[t(545)](i)||new Set;r[t(596)](s[t(545)](n)[t(573)]),c[t(632)](i,r)}}n=r[t(448)][e];for(const e of n)if(e[t(526)].is(t(584),t(419))){const s=this[t(457)](e),n=e[t(526)][t(367)](s);if(i[t(405)](n)){const s=e[t(526)][t(470)][t(470)][t(367)](t(577)),r=c[t(545)](s)||new Set;r[t(596)](i[t(545)](n)[t(573)]),c[t(632)](s,r)}}for(const e of c[t(677)]())(s[t(405)](e)||i[t(405)](e))&&c[t(506)](e)}for(const e of a){const n=r[t(424)][e];let o=null,a=null;for(const e of n){const n=this[t(457)](e),r=e[t(526)][t(367)](n),u=c[t(545)](r);u&&t(631)==e[t(502)]&&(o=Array[t(562)](u)[0],a=e[t(526)][t(367)](t(637))),o&&(i[t(632)](r,{userId:o}),s[t(632)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(448)][e],a=n[t(424)][e];for(const{userId:e}of this[t(441)][t(605)]())null!==e&&l[t(596)](e);for(const{userId:e}of this[t(387)][t(605)]())null!==e&&l[t(596)](e);this[t(571)](a,r[t(424)][e],s,t(503),l),this[t(571)](o,r[t(448)][e],i,t(651),l),u[e]={insertions:this[t(541)](a),deletions:this[t(541)](o),attachChange:this[t(387)][t(545)](e)||null,attributesBefore:R(this[t(593)][t(545)](e))||{},attributesAfter:R(this[t(501)][t(545)](e))}}return{diffData:u,authorsIds:Array[t(562)](l)}}[et(530)](t){const e=et;for(const[,i]of t[e(617)]){const t=i[e(382)][e(554)]()[e(678)]((t=>e(419)==t[e(388)]));for(const i of t)1==i[e(553)]&&i[e(437)](0).is(e(584),e(379))&&i[e(437)](0)[e(576)](e(684),!0)}}[et(541)](t){const e=et;this[e(530)](t);const i=this[e(428)][e(555)][e(652)](t,{}),s=Array[e(562)](i[e(586)]())[e(439)]((t=>this[e(496)](t)));return JSON[e(548)](s)}[et(496)](t){const e=et;if(t.is(e(536)))return t[e(555)];{const i=t;return{type:Object[e(677)](nt)[e(479)]((e=>t instanceof nt[e])),name:i[e(388)],attributes:Array[e(562)](i[e(510)]()),children:Array[e(562)](i[e(586)]())[e(439)]((t=>this[e(496)](t)))}}}[et(571)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(428)][r(525)];for(let s=0;s<e[r(665)];s++){const n=this[r(457)](e[s]),c=e[s][r(526)][r(367)](n),h=i[r(545)](c),d=s==e[r(665)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(573)]!=o[r(573)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(573)],d=l(406)+s+":"+h+":"+c++,f=u[l(608)](i,a);t[l(617)][l(632)](d,f),null!==h&&n[l(596)](h)}}[et(457)](t){const e=et;switch(t[e(502)]){case e(631):return e(577);case e(594):return e(637);default:return e(550)}}[et(434)](t,e){const i=et;t[i(430)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(545)](n[i(385)][i(629)]);t[s]=this[i(453)](n,r)}if(n instanceof Z.Range){const r=e[i(545)](n[i(385)][i(629)]);t[s]=this[i(417)](n,r)}i(385)===s&&(t[i(385)]=e[i(545)](t[i(385)][i(629)]))}}[et(417)](t,e){const i=et;return this[i(428)][i(525)][i(608)](this[i(453)](t[i(382)],e),this[i(453)](t[i(612)],e))}[et(453)](t,e){const i=et;return this[i(428)][i(525)][i(492)](e,t[i(634)],t[i(490)])}[et(672)](t){const e=et,i=this[e(423)][e(545)](t[e(570)][e(385)][e(629)]),s=this[e(453)](t[e(570)],i),n=null===t[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,r=s[e(470)],o=this[e(679)],a=[];for(const i of t[e(500)])if(i.is(e(584)))a[e(624)](this[e(404)](i));else for(let t=0;t<i[e(611)];t++)a[e(624)](new Z.Element(e(536),{vid:this[e(679)]++}));const c=this[e(679)];for(let t=o;t<c;t++)this[e(374)][e(632)](t,{userId:n});r[e(400)](s[e(561)],a)}[et(597)](t){const e=et;(t=this[e(395)](t,this[e(423)]))[e(429)]();const i=null===t[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,s=t[e(413)](),n=s[e(470)],r=s[e(561)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(437)](e);r.is(a(584),a(536))?s[a(632)](r[a(367)](a(550)),{userId:i}):(s[a(632)](r[a(367)](a(577)),{userId:i}),t(s,r,0,r[a(553)]),s[a(632)](r[a(367)](a(637)),{userId:i}))}}(this[e(374)],n,r,r+t[e(458)])}[et(645)](t){const e=et,i=null===(t=this[e(395)](t,this[e(423)]))[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,s=t[e(531)][e(470)],n=t[e(572)][e(470)],r=s[e(367)](e(637)),o=n[e(367)](e(577));s[e(576)](e(637),n[e(367)](e(637))),n[e(576)](e(637),r),this[e(374)][e(632)](o,{userId:i}),this[e(374)][e(632)](r,{userId:i}),t[e(429)]()}[et(459)](t){const e=et,i=null===(t=this[e(395)](t,this[e(423)]))[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,s=t[e(446)],n=t[e(669)][e(470)];t[e(429)]();const r=n[e(367)](e(637)),o=t[e(604)][e(627)];if(s){const t=o[e(367)](e(637)),s=n[e(367)](e(637));n[e(576)](e(637),t),o[e(576)](e(637),s),this[e(374)][e(632)](n[e(367)](e(637)),{userId:i}),this[e(374)][e(632)](o[e(367)](e(577)),{userId:i})}else{const t=this[e(679)]++,s=this[e(679)]++;n[e(576)](e(637),t),o[e(576)](e(577),s),o[e(576)](e(637),r),this[e(374)][e(632)](t,{userId:i}),this[e(374)][e(632)](s,{userId:i})}}[et(520)](t){const e=et;if(!t[e(543)])return;const i=(t=this[e(395)](t,this[e(613)]))[e(556)]?t[e(556)][e(385)]:null,s=t[e(440)]?t[e(440)][e(385)]:null;i&&this[e(412)][e(506)](t[e(388)]),s&&this[e(412)][e(632)](t[e(388)],t[e(440)][e(398)]());const n=null===t[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,r=t[e(388)];if(!this[e(441)][e(405)](r))return void this[e(441)][e(632)](r,{range:t[e(556)],userId:n});const o=this[e(441)][e(545)](r),a=o[e(515)],c=t[e(440)];null==a&&null==c||a&&c&&a[e(639)](c)?this[e(441)][e(506)](t[e(388)]):o[e(573)]=n}[et(507)](t,e){const i=et;this[i(613)][i(405)](t[i(629)])?this[i(613)][i(545)](t[i(629)])[i(444)]=t[i(475)]:(this[i(613)][i(632)](t[i(629)],ut(t[i(629)],!0)),this[i(501)][i(632)](t[i(629)],{}),e&&this[i(423)][i(632)](t[i(629)],ut(t[i(629)],!0)));const s=null===t[i(472)]?null:t[i(472)]||this[i(428)][i(670)][i(545)](i(614)).me.id,n=this[i(387)][i(545)](t[i(629)]);n&&n[i(573)]===s?this[i(387)][i(506)](t[i(629)]):this[i(387)][i(632)](t[i(629)],{userId:s,isAttached:t[i(475)]})}[et(592)](t){const e=et,i=this[e(501)][e(545)](t[e(385)][e(629)]);null===t[e(415)]?delete i[t[e(674)]]:i[t[e(674)]]=t[e(415)]}}function ct(t){const e=et,i=ut(t[e(629)],t[e(477)]());for(const s of t[e(586)]()){const t=s[e(575)](!0);i[e(467)](t)}return i}function ut(t,e=!0){const i=et,s=new Z.DocumentFragment;return s[i(629)]=t,s[i(444)]=e,s[i(477)]=()=>s[i(444)],s}function lt(t,e,i){const s=et,n=s(594)==t[s(502)]?i[s(411)](t[s(526)],s(612)):i[s(422)](t[s(526)]);return i[s(492)](e,n[s(634)],n[s(490)])}function ht(t,e,i){const s=et,n=s(631)==t[s(502)]?i[s(411)](t[s(526)],0):i[s(601)](t[s(526)]);return i[s(492)](e,n[s(634)],n[s(490)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var Tt=i(959),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;const Nt=At;function At(t,e){const i=Rt();return(At=function(t,e){return i[t-=314]})(t,e)}function Rt(){const t=["render","set","313602dZPrrS","locale","value","revisionNameInputValue","arrowup","Name of the revision","setTemplate","ck-revision-history-save-revision-form","ck-responsive-form","arrowdown","389976oSWjXO","_createRevisionNameInput","input","extendTemplate","listenTo","stopPropagation","revisionNameInputView","arrowright","focus","reset","add","label","focusTracker","form","trim","1331694xOoMdS","optional","fieldView","element","45DbUhkx","arrowleft","397816xjdvOQ","keystrokes","74994HqcMIG","8146989NeMoCI","revisionName","231iKbWja","183256brHsNX","220","errorText"];return(Rt=function(){return t})()}!function(t){const e=At,i=t();for(;;)try{if(395243===-parseInt(e(323))/1+parseInt(e(342))/2+-parseInt(e(315))/3+parseInt(e(321))/4+parseInt(e(319))/5*(parseInt(e(332))/6)+parseInt(e(326))/7*(-parseInt(e(327))/8)+parseInt(e(324))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rt);class Mt extends ft.View{[Nt(354)];[Nt(322)];[Nt(348)];constructor(e,i){const s=Nt;super(e),this[s(354)]=new t.FocusTracker,this[s(322)]=new t.KeystrokeHandler,this[s(331)](s(335),""),this[s(348)]=this[s(343)](i),this[s(338)]({tag:s(355),attributes:{class:["ck",s(339),s(340)],tabindex:"-1"},children:[this[s(348)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(330)](){const t=Nt;super[t(330)](),(0,ft.submitHandler)({view:this}),this[t(354)][t(352)](this[t(348)][t(318)]),this[t(322)][t(346)](this[t(318)]);const e=e=>e[t(347)]();this[t(322)][t(331)](t(349),e),this[t(322)][t(331)](t(320),e),this[t(322)][t(331)](t(336),e),this[t(322)][t(331)](t(341),e)}[Nt(350)](){const t=Nt;this[t(348)][t(350)]()}get[Nt(325)](){const t=Nt;return this[t(348)][t(317)][t(318)][t(334)][t(314)]()}set[Nt(325)](t){const e=Nt;this[e(348)][e(317)][e(318)][e(334)]=t[e(314)]()}[Nt(351)](){const t=Nt;this[t(348)][t(317)][t(318)][t(334)]="",this[t(348)][t(329)]=null}[Nt(343)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(333)],ft.createLabeledInputText),s=i[e(317)];s[e(345)]({attributes:{maxlength:e(328)}});let n=J(this[e(333)],e(337));return!t&&(n+=" ("+J(this[e(333)],e(316))+")"),i[e(353)]=n,s.on(e(344),(()=>{const t=e;this[t(335)]=s[t(318)][t(334)][t(314)]()})),i}}const Et=Vt;function Dt(){const t=["errorText","isReady","menuitem","submit","5634MTegmb","pluginName","get","Cancel","view","componentFactory","351JBiHtH","320232gtjsNS","render","_registerMenuComponent","Accept","children","locale","1898965xioiOL","isOfficialPlugin","revisionSave","isEnabled","120104nXqfyL","hide","isOpen","_showDialog","saveRevision","role","set","plugins","showRevisionViewerCallback","RevisionTracker","init","73832oMRUJr","Dialog","reset","Revision history","show","revisionHistory.requireRevisionName","config","panelView","menu","Open revision history","176769PRoaJq","add","revisionNameInputView","editor","revisionName","revisionHistory","bind","ck-button-action","menuBar:revisionHistory","focus","RevisionHistoryUI","_createSaveRevisionFormView","The revision name cannot be empty.","isPremiumPlugin","Save current revision","addMany","isReadOnly","buttonView","editing","items","11174260AltTAt","9093AuRdrR","20naOodn","execute","_saveRevisionFormView","delegate","requires"];return(Dt=function(){return t})()}function Vt(t,e){const i=Dt();return(Vt=function(t,e){return i[t-=330]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(632295===parseInt(e(381))/1+parseInt(e(344))/2*(-parseInt(e(391))/3)+parseInt(e(360))/4+parseInt(e(366))/5+parseInt(e(353))/6*(parseInt(e(343))/7)+-parseInt(e(370))/8*(-parseInt(e(359))/9)+-parseInt(e(342))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Ct extends U.Plugin{static get[Et(354)](){return Et(332)}static get[Et(367)](){return!0}static get[Et(335)](){return!0}static get[Et(348)](){return[rt]}[Et(346)];[Et(380)](){const t=Et,e=this[t(394)],i=e[t(377)][t(355)](t(379));e.ui[t(358)][t(392)](t(396),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(388)][n(364)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(397)](n(369)).to(i,n(350),i,n(369),e,n(338),((t,e,i)=>t&&e&&!i)),r[n(339)][n(376)]({icon:dt.IconHistory,label:J(s,n(384)),tooltip:!0}),u[n(376)]({label:J(s,n(336)),withText:!0,role:n(351)}),u[n(397)](n(369)).to(i,n(350),i,n(369),e,n(338),((t,e,i)=>t&&e&&!i)),u.on(n(345),(()=>this[n(373)]())),h[n(376)]({label:J(s,n(390)),withText:!0,role:n(351)}),h[n(397)](n(369)).to(i,n(350),e,n(338),((t,e)=>t&&!e)),h.on(n(345),(()=>{const t=n;e[t(387)][t(355)](t(396))[t(378)](),r[t(372)]=!1,e[t(340)][t(357)][t(331)]()})),c[n(364)][n(392)](u),l[n(364)][n(392)](h),a[n(375)]=n(389),a[n(341)][n(337)]([c,l]),o[n(392)](a),r})),e.ui[t(358)][t(392)](t(330),(()=>this[t(362)]()))}[Et(362)](){const t=Et,e=this[t(394)],i=e[t(365)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(339)][t(376)]({icon:dt.IconHistory,label:J(i,t(384))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(376)]({label:J(i,t(336))}),o[t(347)](t(345)).to(s),o.on(t(345),(()=>{this[t(373)]()})),r[t(364)][t(392)](o),n[t(341)][t(392)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(376)]({label:J(i,t(390))}),c[t(347)](t(345)).to(s),c.on(t(345),(()=>{const i=t;e[i(387)][i(355)](i(396))[i(378)]()})),a[t(364)][t(392)](c),n[t(341)][t(392)](a),s[t(388)][t(364)][t(392)](n),s}[Et(373)](){const t=Et,e=this[t(394)],i=e[t(365)],s=e[t(377)][t(355)](t(382)),n=e[t(377)][t(355)](t(379));function r(n){const r=t;e[r(387)][r(355)](r(386))&&""===n[r(395)]?n[r(393)][r(349)]=J(i,r(334)):(e[r(377)][r(355)](rt)[r(374)]({name:n[r(395)]}),s[r(371)]())}this[t(346)]||(this[t(333)](),this[t(346)].on(t(352),(()=>r(this[t(346)])))),this[t(346)][t(383)](),s[t(385)]({id:t(368),title:J(i,t(336)),isModal:!0,content:this[t(346)],actionButtons:[{label:J(e[t(365)],t(356)),withText:!0,onExecute:()=>s[t(371)]()},{label:J(e[t(365)],t(363)),class:t(398),withText:!0,onCreate(i){const s=t;i[s(397)](s(369)).to(n,s(350),n,s(369),e,s(338),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(346)])}]})}[Et(333)](){const t=Et,e=this[t(394)],i=e[t(365)];this[t(346)]=new Mt(i,e[t(387)][t(355)](t(386))),this[t(346)][t(361)]()}}function Ft(){const t=["add","ck-revision-change__","ck-revision-change","267380uPNXcw","606795TkWolh","Added by","Suggested by","45897mRGvuX","152jYdcRz","type","isSuggestion","5346363MMTfaH","set","_model","element","18dTNfYP","4lTWJNc","72yTHLdy","div","ck-annotation","changeId","data","setTemplate","bindTemplate","name","span","Removed by","author","ck-revision-change__label","559624XyOaoe","1242675ySmwhQ","5785ArIJFs","focus"];return(Ft=function(){return t})()}const jt=Lt;function Lt(t,e){const i=Ft();return(Lt=function(t,e){return i[t-=344]})(t,e)}!function(t){const e=Lt,i=t();for(;;)try{if(294879===-parseInt(e(368))/1*(parseInt(e(344))/2)+-parseInt(e(365))/3+parseInt(e(369))/4*(-parseInt(e(359))/5)+-parseInt(e(376))/6*(-parseInt(e(358))/7)+parseInt(e(357))/8*(parseInt(e(345))/9)+parseInt(e(364))/10+-parseInt(e(372))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Pt extends ft.View{[jt(348)];[jt(374)];constructor(t,e){const i=jt;super(t),this[i(374)]=e,this[i(348)]=e.id;const s=this[i(351)],n=J(t,e[i(349)][i(371)]?i(367):i(361)==e[i(370)]?i(366):i(354));this[i(373)](i(370),e[i(370)]),this[i(350)]({tag:i(346),attributes:{class:[i(347),i(363),s.to(i(370),(t=>i(362)+t))],tabindex:-1},children:[{tag:i(353),children:[{tag:i(353),attributes:{class:[i(356)]},children:[{text:n}]},{text:" "+e[i(355)][i(352)]}]}]})}[jt(360)](){const t=jt;this[t(375)][t(360)]()}}function zt(){var t=["set","10GciWft","toJSON","2620338UkJKBx","1044772qCfksL","2ULrPwK","136908yUHPXq","createdAt","4098367ICPEsF","3088184kosTGX","12dtlfmf","author","rootName","type","data","951695mfCrow","6416154GyCwzE"];return(zt=function(){return t})()}var Wt=Ut;function Ut(t,e){var i=zt();return(Ut=function(t,e){return i[t-=257]})(t,e)}!function(t){for(var e=Ut,i=t();;)try{if(697516===-parseInt(e(262))/1*(-parseInt(e(263))/2)+parseInt(e(264))/3+-parseInt(e(268))/4*(parseInt(e(273))/5)+parseInt(e(261))/6+-parseInt(e(266))/7+-parseInt(e(267))/8+parseInt(e(257))/9*(parseInt(e(259))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ht extends((0,t.ObservableMixin)()){id;[Wt(269)];[Wt(271)];[Wt(272)];[Wt(270)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(269)]=e[i(269)],this[i(271)]=e[i(271)],this[i(272)]=e[i(272)]||{},this[i(270)]=e[i(270)],this[i(258)](i(265),e[i(265)])}[Wt(260)](){var t=Wt;return{id:this.id,authorId:this[t(269)].id,type:this[t(271)],data:this[t(272)],createdAt:this[t(265)]}}}function Zt(t,e){const i=$t();return(Zt=function(t,e){return i[t-=432]})(t,e)}const qt=Zt;!function(t){const e=Zt,i=t();for(;;)try{if(358775===parseInt(e(443))/1+-parseInt(e(441))/2*(parseInt(e(440))/3)+-parseInt(e(436))/4+-parseInt(e(438))/5*(-parseInt(e(442))/6)+parseInt(e(444))/7*(-parseInt(e(434))/8)+-parseInt(e(445))/9*(-parseInt(e(448))/10)+-parseInt(e(437))/11*(-parseInt(e(433))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Bt{[qt(432)];[qt(447)];[qt(435)];constructor(e,i){const s=qt;this[s(432)]=e,this[s(447)]=i,this[s(435)]=new t.Collection}[qt(446)](t){const e=qt;for(const i of t)this[e(435)][e(439)](i)}}function $t(){const t=["_setChanges","oldRevisionId","140AMimWG","newRevisionId","740604OULtBU","796856RXlFCp","changes","2018768ByalrD","77YbaIoj","84445IChBtB","add","75sFDQrE","53740EKNcJF","186FLaopP","220015hRzqNT","14vIqVqy","359253HTmQcu"];return($t=function(){return t})()}var Yt=i(536),Jt={attributes:{"data-cke":!0}};Jt.setAttributes=wt(),Jt.insert=kt().bind(null,"head"),Jt.domAPI=gt(),Jt.insertStyleElement=It();pt()(Yt.A,Jt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Gt=Kt;function Kt(t,e){const i=Xt();return(Kt=function(t,e){return i[t-=215]})(t,e)}function Xt(){const t=["marked","commands","setAttribute","ck-revision-history-root-","numberOfChanges","editor","getChild","consume","bind","comment","_removeUnsupportedChanges","revisionHistoryAttachChange","dataToMarker","delete","ck-revision-history-root--active","isObject","flat","isAtEnd","174TFqrLk","hasClass","isInline","high","_markMismatchedRemovedTags","stop","_setConversion","deletion","diffData","isRemoved","string","ck-suggestion-marker-split","distance","test","suggestion","createRange","_step","addRevisionData","revisionHistoryLabel","createUIElement","conversion","isLimit","_sortAndFilterDiffChanges","addMarker:revision-suggestion:insertion","plugins","ck-suggestion-preview-marker-","insertion","data-revision-","data-change-id","elementEnd","getIndex","isAddSuggestion","elementStart","low","change:isReady","rootName","editing","changes","4772UtirjD","nodeAfter","getDomRoot","range","toViewPosition","ck-suggestion-marker-merge","showNextChange","showPreviousChange","downcastDispatcher","modelRange","toData","toViewElement","observeMarkers","isNavigationMode","WidgetToolbarRepository","5MbBNYt","forEach","has","parse","vid_start","clear","startIndex","vid_end","view","_setChanges","revision-start","ck-revision-history-root-add","left","change:activeChange","RevisionViewer","_getDiff","isCollapsed","removeAttribute","schema","domEvent","removeClass","return","ck-suggestion-marker--active","includes","createPositionFromPath","currentChangeNumber","indexOf","isOfficialPlugin","object","ck-revision-history-root-remove","from","getRootNames","forceDisabled","vid","10QbeOgM","markersEnd","right","911682hffpPB","_changeIdToChange","userId","diff","markerToData","removeMarker:revision","loadRevisionData","highest","suggestion:","mouseover","affectsData","revision:","RevisionsRepository","split","then","POSITIVE_INFINITY","item","bindElementToMarker","addRevision","top","error","resolve","getAttribute","forward","getRoot","requires","addClass","ck-suggestion-preview-marker","ck-suggestion-marker-","revision-suggestion:","get","start","element:pre","name","concat","mapViewToDom","backward","push","_initInteractions","type","locale","attributes","createAttributeElement","_makeModelFromViewString","7640435VIczyF","deletions","addMarker:revision","unshift","collaboration.channelId","changeId","enqueueChange","change","_markMarkers","pop","getClientRects","isIncorrect","_activeViewTarget","parent","981954CdytQX","compare","isPremiumPlugin","detachRoot","revision-comment:","next","viewItem","model","destroy","pluginName","markerNameToElements","showStack","default","_makeModelFromTape","wrap","change:activeView","_setDistance","nextPosition","side","isOnRoot","ck-suggestion-marker","values","isAfter","element","editingDowncast","processor","text","offsetSize","_fixObsoleteTags","attributesAfter","_cleanUp","authors","mapper","unbindElementFromMarkerName","isEqual","data","attribute:vid","_markSuggestions","getRevisionRootsAttributes","isEnabled","length","_threeWayMerge","nextSibling","markerName","change:numberOfChanges","isSuggestion","previousPosition","_joinTapes","revision-end","_appendChild","find","abs","_cleanMarkers","restoreRevisionCallback","keys","_processTape","revision","_removeRevisionMarkers","removeMarker","endIndex","domConverter","target","sort","refresh","toViewRange","init","map","revisionHistory","maxOffset","_refreshStartEndIndex","uiElement","isBlock","code","isRemoveSuggestion","activeChange","config","findIndex","isContent","all","reconvertMarker","_update","getItems","mousedown","_balloon","revision-suggestion","filter","isAdded","_getChangeFromId","isAttached","_findChangeIdFromDomTarget","_removeMissingPairs","slice","hasAttribute","splice","attachChange","done","addMarker:revision-suggestion:deletion","markersStart","-new","getLaterVisibleRevision","first","isAtStart","span","shift","end","add","set","execute","writer","_markInsertions","startsWith","2214993nTnkcp","upcast","152754auBlYF","elementToAttribute","attributesBefore","pairId","ck-editor__editable__overlay","updatePosition","getWalker","_getViewObj","isReady","checkAttribute","merge","change:isEnabled","insertions","remove","945488hFfllw","document","activeView","revision-viewer","enableReadOnlyMode","_getRevisionsRange","_changeView","addRoot","softBreak","_data","oldRevisionId","selection","index","_getViewForChange","repository","dataDowncast","toModel","for","createRangeIn","children","addHighlight","getRevision","catch","_makeTape","getCustomProperty","insert","restoreRevision","getAttributes","newRevisionId","removeMarker:revision-suggestion","adapter","16axmZsB","consumable","markerToHighlight","_revisions","useFillerType","markerRange","listenTo","isBefore","createPositionBefore","roots","getRevisionData","markers","level","createRevision","bottom"];return(Xt=function(){return t})()}!function(t){const e=Kt,i=t();for(;;)try{if(393303===parseInt(e(447))/1*(-parseInt(e(409))/2)+parseInt(e(329))/3+parseInt(e(345))/4*(-parseInt(e(462))/5)+-parseInt(e(218))/6+-parseInt(e(331))/7+parseInt(e(376))/8*(-parseInt(e(499))/9)+-parseInt(e(496))/10*(-parseInt(e(543))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);const Qt={c:Z.ViewContainerElement,a:Z.ViewAttributeElement,e:Z.ViewEmptyElement,r:Z.ViewRawElement,u:Z.ViewUIElement};class te extends U.Plugin{[Gt(359)];[Gt(375)];[Gt(216)];[Gt(351)];[Gt(500)];[Gt(301)];static get[Gt(227)](){return Gt(476)}static get[Gt(489)](){return!0}static get[Gt(220)](){return!0}static get[Gt(524)](){return[H.Users,ft.ContextualBalloon,B]}constructor(t){const e=Gt;super(t),this[e(359)]=this[e(396)][e(433)][e(529)](e(511)),this[e(324)](e(292),null),this[e(324)](e(347),null),this[e(216)]=null,this[e(324)](e(502),null),this[e(324)](e(339),!1),this[e(324)](e(257),!0),this.on(e(342),((t,i,s)=>{const n=e;this[n(292)]=null,this[n(347)]=null,this[n(396)][n(445)][n(470)][n(550)]((t=>{const e=n;for(const i of this[e(396)][e(445)][e(470)][e(346)][e(385)])s?t[e(482)](e(335),i):t[e(525)](e(335),i)}))})),this[e(399)](e(460)).to(this,e(292),(t=>null!==t)),this[e(399)](e(487)).to(this,e(339),this,e(502),this,e(292),((t,i,s)=>t&&s?i[e(446)][e(439)](s):0)),this[e(399)](e(395)).to(this,e(339),this,e(502),((t,i)=>t?i[e(446)][e(258)]:0)),this[e(351)]=null,this[e(500)]=new Map,this[e(375)]=null,this[e(301)]=this[e(396)][e(433)][e(529)](ft.ContextualBalloon)}[Gt(283)](){const t=Gt,e=this[t(396)],i=new se(e,{direction:t(535)}),s=new se(e,{direction:t(522)});e[t(392)][t(323)](t(454),i),e[t(392)][t(323)](t(453),s),e[t(392)][t(323)](t(371),new ie(e)),this.on(t(262),(()=>{const e=t;i[e(281)](),s[e(281)]()})),this[t(415)](),this[t(537)](),e[t(349)](t(348)),e[t(433)][t(464)](t(461))&&e[t(433)][t(529)](t(461))[t(494)](t(348))}async[Gt(386)](t){const e=Gt;await this[e(505)](t);const i={};for(const s in t[e(417)]){if(t[e(417)][s][e(312)]&&!t[e(417)][s][e(312)][e(306)])continue;const n=this[e(275)](JSON[e(465)](t[e(417)][s][e(343)])),r=this[e(396)][e(445)][e(470)][e(346)],o=new Z.ViewDocumentFragment(r,n[e(284)]((t=>this[e(338)](t))));this[e(396)][e(253)][e(243)][e(380)](e(391)),i[s]=this[e(396)][e(253)][e(243)][e(457)](o),this[e(396)][e(253)][e(243)][e(380)](e(230))}return i}async[Gt(256)](t){const e=Gt;await this[e(505)](t);const i={};for(const s in t[e(417)])t[e(417)][s][e(312)]&&!t[e(417)][s][e(312)][e(306)]||(i[s]=t[e(417)][s][e(247)]||{});return i}[Gt(275)](t){const e=Gt;return(t=t[e(303)]((t=>!t[e(532)]||e(472)!==t[e(532)]&&e(266)!==t[e(532)])))[e(463)]((t=>{const i=e;i(419)!=typeof t&&(t[i(364)]=this[i(275)](t[i(364)]),t[i(540)]=t[i(540)][i(303)]((t=>!t[0][i(328)](i(436)))))})),t}async[Gt(219)](t,e,i=!1){const s=Gt;if(!this[s(257)])return;const n=this[s(502)],r=this[s(359)],o=s(419)==typeof t?r[s(366)](t):t,a=s(419)==typeof e?r[s(366)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(502)]&&this[s(502)][s(373)]===c&&this[s(502)][s(355)]===u)return Promise[s(520)]();this[s(339)]=!1,this[s(347)]=null,this[s(292)]=null,this[s(502)]=new Bt(c,u);const l=this[s(350)](o,a,!0)[s(284)]((t=>this[s(505)](t)));return l[s(536)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(296)](l)[s(513)]((()=>{const t=s;if(!this[t(257)])return;this[t(248)]();const e=this[t(477)](c,u);for(const i of e[t(446)])this[t(500)][t(324)](i.id,i);this[t(396)][t(225)][t(549)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(396)][s(225)][s(346)][s(493)]())i[s(221)](t);for(const t of Object[s(272)](e[s(225)])){const n=i[s(352)](t);for(const r of Object[s(272)](e[s(540)][t]))i[s(393)](r,e[s(540)][t][r],n);i[s(370)](e[s(225)][t],n,0)}})),this[t(502)][t(471)](this[t(431)](e[t(446)])),this[t(339)]=!0}))[s(367)]((t=>{const e=s;console[e(519)](t),this[e(248)](),n&&(this[e(502)]=n),this[e(339)]=!0}))}[Gt(426)](t,e){const i=Gt,s=this[i(359)][i(389)](t);return s.on(i(298),((t,i,n)=>e(i,n,s))),this[i(359)][i(517)](s),s}[Gt(505)](t){const e=Gt;if(!t||t[e(417)])return Promise[e(520)]();{const i=this[e(396)][e(293)][e(529)](e(547));return this[e(375)][e(366)]({channelId:i,revisionId:t.id})[e(513)]((i=>{const s=e;t[s(298)]({diffData:i[s(417)]},!0)}))}}[Gt(248)](){const t=Gt;this[t(292)]=null,this[t(270)](),this[t(351)]&&this[t(351)][t(226)](),this[t(351)]=null,this[t(500)][t(467)](),this[t(396)][t(225)][t(549)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(396)][i(225)][i(346)][i(493)]())e[i(221)](t)}))}[Gt(431)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(396)][e(225)][e(346)][e(493)]()){const n=this[e(396)][e(445)][e(470)][e(449)](t);if(!n)continue;const r=n[e(553)]()[e(515)](0);r&&(i[e(536)](t),s[e(324)](t,r))}return i[e(280)](((t,i)=>{const n=e,r=s[n(529)](t),o=s[n(529)](i);return r.y-o.y||r.x-o.x})),(t=t[e(303)]((t=>i[e(485)](t[e(444)]))))[e(280)](((t,s)=>i[e(488)](t[e(444)])-i[e(488)](s[e(444)]))),t}[Gt(368)](t){const e=Gt,i=Array[e(492)](t[e(387)])[e(303)]((([t,i])=>t[e(328)](e(510))&&!i[e(478)])),s=Array[e(492)](this[e(396)][e(225)][e(363)](t)[e(337)]({singleCharacters:!0}));if(0!=i[e(258)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(512)](":");if(n[e(322)][e(252)](t[e(235)])&&i[e(321)](),(t[e(264)][e(252)](n[e(530)])||t[e(264)][e(240)](n[e(530)]))&&(e(435)==r?t[e(304)]={userId:o}:e(416)==r&&(t[e(418)]={userId:o})),0==i[e(258)])break}return s}[Gt(287)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(258)];s++)e(244)===t[s][e(538)]?(t[s][e(515)][e(468)]=s,t[s][e(515)][e(277)]=s):(e(441)===t[s][e(538)]?t[s][e(515)][e(468)]=s:e(438)===t[s][e(538)]&&(t[s][e(515)][e(277)]=s),i[e(324)](t[s].id,s));for(const s of i[e(239)]())e(441)===t[s][e(538)]?t[s][e(515)][e(277)]=i[e(529)](t[s][e(334)]):e(438)===t[s][e(538)]&&(t[s][e(515)][e(468)]=i[e(529)](t[s][e(334)]))}[Gt(273)](t){const e=Gt;for(let i=0;i<t[e(258)];i++){if(e(441)===t[i][e(538)])t[i][e(515)][e(468)]=i;else if(e(438)===t[i][e(538)]){t[i][e(515)][e(277)]=i;const s=t[i][e(515)][e(468)];t[s][e(334)]=t[i].id,t[i][e(334)]=t[s].id}else t[i][e(515)][e(468)]=i,t[i][e(515)][e(277)]=i,t[i][e(334)]=null;t[i][e(315)]||(t[i][e(315)]=[],t[i][e(497)]=[])}}[Gt(327)](t,e){const i=Gt,s=t[i(303)]((t=>!t[i(304)]));for(let t=0;t<e[i(258)];t++)e[t][i(304)]&&(s[t][i(304)]=e[t][i(304)])}[Gt(542)](t){const e=Gt,i=JSON[e(465)](t),s=this[e(396)][e(445)][e(470)][e(346)],n=new Z.ViewDocumentFragment(s,i[e(284)]((t=>this[e(338)](t))));return this[e(396)][e(253)][e(361)](n)}[Gt(338)](t){const e=Gt,i=this[e(396)][e(445)][e(470)][e(346)];if(e(419)==typeof t)return new Z.ViewText(i,t);{const s=t[e(364)][e(284)]((t=>this[e(338)](t)));return new(Qt[t[e(538)]]||Z.ViewElement)(i,t[e(532)],t[e(540)],s)}}[Gt(477)](t,e=null){const i=Gt,s=this[i(359)][i(366)](t),n=e?this[i(359)][i(366)](e):null,r=this[i(350)](s,n),o=r[r[i(258)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(258)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(272)](e[i(417)]))if(e[i(417)][t][i(312)]){const s=e[i(417)][t][i(312)];s[i(306)]?(u[i(323)](t),l[i(464)](t)&&l[i(529)](t)[i(501)]==s[i(501)]?l[i(404)](t):l[i(324)](t,s)):l[i(464)](t)?(u[i(404)](t),l[i(404)](t)):(u[i(323)](t),l[i(324)](t,s))}else u[i(323)](t)}for(const t of u){const e=l[i(464)](t)&&!l[i(529)](t)[i(306)];let s=e?r[i(258)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(417)][t]){const s=e?o[i(417)][t][i(333)]:o[i(417)][t][i(247)];c[i(540)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(225)]={};for(const e of t[i(249)])a[i(324)](e.id,e);for(const e of u){const s=t[i(417)][e]?t[i(417)][e][i(343)]:"[]",n=t[i(417)][e]?t[i(417)][e][i(544)]:"[]";t[i(225)][e]={insertions:this[i(542)](s),deletions:this[i(542)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(492)](s[i(225)][t][i(343)][i(387)])[i(303)]((([t])=>!t[i(328)](i(510)))));let h=0;for(const o of r){const r=this[i(368)](o[i(225)][t][i(343)]);o==s?(e=r,n=e[i(258)],e[i(463)]((t=>{t.id=h++})),this[i(273)](e)):this[i(327)](e,r);const a=e[i(303)]((t=>!t[i(304)]))[i(284)]((t=>t.id));let c=0;const l=this[i(368)](o[i(225)][t][i(544)]);l[i(463)]((t=>{t[i(418)]?t.id=n++:t.id=a[c++]})),this[i(273)](l),this[i(234)](e,i(304)),this[i(234)](l,i(418)),o==s&&this[i(551)](e,u),e=this[i(265)](e,l),this[i(287)](e),this[i(234)](e,i(418))}e=e[i(303)]((t=>!(t[i(304)]&&t[i(418)])));const d=new Map(o[i(225)][t][i(544)][i(387)]),f=new Set(u[i(272)]());for(const t of d[i(272)]())f[i(404)](t);this[i(255)](e,f),this[i(246)](e),e=this[i(308)](e),e=this[i(413)](e),e=this[i(401)](e);const{root:m,changes:p}=this[i(231)](e,a,t);c[i(225)][t]=m;const v=l[i(529)](t);if(v){const e=a[i(529)](v[i(501)]),s=new Ht({author:e,type:v[i(306)]?i(323):i(344),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(546)](s),c[i(540)][t][i(402)]=s.id}c[i(446)]=c[i(446)][i(533)](p)}return c}[Gt(551)](t,e){const i=Gt;for(let s=0;s<t[i(258)];s++)for(const[n,r]of e)r[i(530)][i(252)](t[s][i(264)])&&t[s][i(315)][i(536)](n),r[i(322)][i(252)](t[s][i(235)])&&t[s][i(497)][i(536)](n)}[Gt(265)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(258)]||r<e[i(258)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(536)](o);else if(a[i(418)]&&o[i(304)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(259)](t,n,e,r);s=s[i(533)](o),n=a,r=c}else a[i(418)]?(r++,s[i(536)](a)):(n++,s[i(536)](o))}return s}[Gt(255)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(258)];o++){for(let r=0;r<t[o][i(315)][i(258)];r++){const a=t[o][i(315)][r];if(!e[i(464)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(302)!=c||i(435)!=u&&i(416)!=u||(s[i(546)]({type:u,name:a,userId:l}),t[o][i(315)][i(311)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(497)][i(258)];r++){const a=t[o][i(497)][r];if(!e[i(464)](a))continue;const{group:c,type:u}=n(a);if(i(302)!=c||i(435)!=u&&i(416)!=u)continue;t[o][i(497)][i(311)](r,1),r--;const l=s[i(294)]((t=>t[i(532)]==a));l>-1&&s[i(311)](l,1)}}function n(t){const e=i,s=t[e(512)](":");return{group:s[0],type:s[1],subType:s[e(258)]>=5?s[2]:null,id:s[e(258)]<5?s[2]:s[3],authorId:s[e(258)]<5?s[3]:s[4],markerCount:6==s[e(258)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(258)];i++){if(t[e(304)]&&e(435)==s[i][e(538)])return t[e(440)]=s[i],void delete t[e(304)];if(!t[e(304)]&&!t[e(418)]&&e(416)==s[i][e(538)])return void(t[e(291)]=s[i])}}}[Gt(234)](t,e){const i=Gt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(324)](o.id,s);for(let s=0;s<t[i(258)];s++){if(i(418)==e&&t[s][i(304)]||i(304)==e&&t[s][i(418)])continue;if(i(244)==t[s][i(538)]){t[s][i(421)]=0;continue}const n=r[i(529)](t[s][i(334)]),o=r[i(529)](t[s].id);t[s][i(421)]=n-o}}[Gt(350)](t,e,i=!1){const s=Gt,n=[];let r=this[s(359)][s(439)](t),o=this[s(359)][s(439)](e);for(-1==o&&(o=this[s(359)][s(379)][s(258)],i=!1);r<o;)n[s(536)](this[s(359)][s(366)](r)),r++;return i&&n[s(536)](this[s(359)][s(366)](r)),n}[Gt(259)](t,e,i,s){const n=Gt,r=this[n(396)][n(225)][n(480)];let o=e;for(;t[o]&&t[o][n(304)];)o++;let a=s;for(;i[a]&&i[a][n(418)];)a++;u(t,e,o),u(i,s,a);const c=i[n(309)](s,a)[n(533)](t[n(309)](e,o));return c[n(280)](((t,e)=>t[n(236)]!=e[n(236)]?t[n(236)]-e[n(236)]:t[n(388)]!=e[n(388)]?t[n(388)]-e[n(388)]:t[n(421)]!=e[n(421)]?e[n(421)]-t[n(421)]:!!t[n(304)]!=!!e[n(304)]?-1==t[n(236)]||0==t[n(236)]?t[n(304)]?-1:1:t[n(304)]?1:-1:t[n(357)]-e[n(357)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(514)],c=!0;for(let n=e;n<i;n++)if(r[s(411)](t[n][s(515)])||(c=!1),t[n][s(515)][s(468)]<e&&(o=n),t[n][s(515)][s(277)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(236)]=n<=o?-1:n<a?0:1,t[n][s(357)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(421)]?t[i][s(388)]=u:(u++,t[i][s(388)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(236)]&&(t[n][s(388)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(421)]?t[e][s(388)]=u:(u--,t[e][s(388)]=u,u--)}}[Gt(246)](t){const e=Gt,i=new Map,s=this[e(396)][e(225)][e(480)];for(let n=1;n<t[e(258)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(244)==c[e(538)])continue;if(c[e(538)]!=u[e(538)])continue;if(!s[e(289)](u[e(515)])||s[e(430)](u[e(515)]))continue;if(!s[e(289)](c[e(515)])||s[e(430)](c[e(515)]))continue;if((t[n][e(304)]||t[n][e(440)])&&t[n-1][e(418)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(418)]||!t[n-1][e(304)]&&!t[n-1][e(440)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(388)]==o[e(388)],h=Math[e(269)](r[e(388)])<Math[e(269)](o[e(388)])&&0==o[e(421)];(l||h)&&(i[e(324)](o.id,r.id),t[e(311)](a,1),n--,r[e(304)]=!1)}for(let s=0;s<t[e(258)];s++)i[e(464)](t[s][e(334)])&&(t[s][e(334)]=i[e(529)](t[s][e(334)]))}[Gt(308)](t){const e=Gt,i=new Set(t[e(284)]((t=>t.id)));for(let s=0;s<t[e(258)];s++)i[e(464)](t[s][e(334)])||0==t[s][e(421)]||(t[s][e(215)]=!0);return t[e(303)]((t=>!t[e(215)]))}[Gt(413)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(258)];s++){if(i[e(464)](t[s].id)&&t[s][e(418)]&&(t[s][e(215)]=!0),t[s][e(215)])continue;if(0==t[s][e(421)])continue;if(e(441)!=t[s][e(538)])continue;if(null==t[s][e(334)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(334)];)e(441)==t[n][e(538)]?r++:e(438)==t[n][e(538)]&&r--,n++;if(0!=r)if(t[s][e(418)])t[s][e(215)]=!0;else for(;n!=s;)t[n][e(418)]&&0!=t[n][e(421)]&&(t[n][e(215)]=!0,i[e(323)](t[n][e(334)])),n--}return t[e(303)]((t=>!t[e(215)]))}[Gt(401)](t){const e=Gt,i=this[e(396)][e(225)][e(480)];for(let s=0;s<t[e(258)];s++){if(!(t[s][e(304)]||t[s][e(440)]||t[s][e(418)]||t[s][e(291)]))continue;if(0==t[s][e(421)])continue;const n=t[s][e(515)];i[e(289)](n)||i[e(430)](n)||(t[s][e(304)]&&delete t[s][e(304)],t[s][e(440)]&&delete t[s][e(440)],t[s][e(291)]&&delete t[s][e(291)],t[s][e(418)]&&(t[s][e(215)]=!0))}return t[e(303)]((t=>!t[e(215)]))}[Gt(231)](t,e,i){const s=Gt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(396)][s(225)],c=a[s(480)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(258)];e++)if(s(441)===t[e][s(538)]){t[e][s(264)]=a[s(486)](n,f);const i=new Z.Element(t[e][s(515)][s(532)],t[e][s(515)][s(372)]());u[0][s(267)](i),f[s(536)](0),u[s(546)](i),t[e][s(235)]=a[s(486)](n,f)}else s(438)===t[e][s(538)]?(u[s(321)](),t[e][s(264)]=a[s(486)](n,f),f[s(552)](),f[f[s(258)]-1]++,t[e][s(235)]=a[s(486)](n,f)):(t[e][s(264)]=a[s(486)](n,f),d?d[s(354)]+=t[e][s(515)][s(253)]:d=new Z.Text(t[e][s(515)][s(253)],t[e][s(515)][s(372)]()),t[e+1]&&s(244)===t[e+1][s(538)]&&v(d,t[e+1][s(515)])||(u[0][s(267)](d),d=null),f[f[s(258)]-1]+=t[e][s(515)][s(245)],t[e][s(235)]=a[s(486)](n,f));for(let e=0;e<t[s(258)];e++){const i=t[e][s(264)],n=t[e][s(235)];for(const n of t[e][s(315)])o[s(324)](n,{start:i,end:null});m(s(291),e,i,n),m(s(440),e,i,n),m(s(418),e,i,n),m(s(304),e,i,n);for(const i of t[e][s(497)])o[s(529)](i)[s(322)]=n}for(const[t,e]of o){const i=this[s(396)][s(225)][s(424)](e[s(530)],e[s(322)]);n[s(387)][s(324)](t,i)}return r[s(280)](((t,e)=>{const i=s,r=n[i(387)][i(529)](i(510)+t.id),o=n[i(387)][i(529)](i(510)+e.id);return r[i(530)][i(383)](o[i(530)])?-1:r[i(530)][i(240)](o[i(530)])?1:r[i(322)][i(383)](o[i(322)])?-1:r[i(322)][i(240)](o[i(322)])?1:i(323)===t[i(538)]?-1:1})),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(501)]:null,d=i===t[o(258)]-1,f=h[e][0],m=c[o(406)](t[i][o(515)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(322)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(501)]!==u&&(l[e][o(322)]=n,f&&f[o(501)]===l[e][o(501)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(441)!==t[i][o(538)]||f&&f[o(501)]===u||h[e][o(546)]({userId:u,object:t[i][o(515)],change:l[e]}),o(438)===t[i][o(538)]&&f&&f[o(490)]===t[i][o(515)]&&(h[e][o(321)](),l[e]=f[o(550)])),l[e]&&d&&(l[e][o(322)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(515)],f=a[h(480)][h(289)](d)&&!a[h(480)][h(430)](d),m=t[h(448)]==o[h(217)]&&o[h(319)];if(f&&m)return;const p=a[h(424)](t,o),v=e[h(529)](u),g=new Ht({author:v,type:h(304)==l||h(440)==l?h(323):h(344),data:{isSuggestion:h(440)==l||h(291)==l},createdAt:new Date,rootName:i});r[h(536)](g),n[h(387)][h(324)](h(510)+g.id,p)}function v(t,e){const i=s,n=t[i(372)](),r=e[i(372)]();for(const t of n){if(t[1]!==e[i(521)](t[0]))return!1;r[i(223)]()}return r[i(223)]()[i(313)]}}[Gt(415)](){const t=Gt;this[t(396)][t(429)][t(362)](t(330))[t(403)]({view:t(274)}),this[t(396)][t(429)][t(362)](t(242))[t(378)]({model:t(274),view:e=>{const i=t,s=e[i(261)][i(512)](":")[1],n=this[i(305)](s);if(!n)return null;const r=i(323)==n[i(538)]?i(435):i(416),o=[i(238),i(527)+r];return n[i(253)][i(263)]&&o[i(536)](i(527)+r+i(316)),this[i(292)]==n&&o[i(536)](i(484)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(396)][t(429)][t(362)](t(330))[t(323)]((e=>{const i=t;e.on(i(531),((t,e,s)=>{const n=i,r=e[n(224)][n(397)](0);if(!r||!r.is(n(241),n(290)))return;if(!s[n(377)][n(398)](r,{attributes:[n(466),n(469)]}))return;const o=e[n(456)][n(530)][n(448)];s[n(326)][n(393)](n(466),r[n(521)](n(466)),o),s[n(326)][n(393)](n(469),r[n(521)](n(469)),o)}),{priority:i(442)})})),this[t(396)][t(429)][t(362)](t(330))[t(323)]((e=>{const i=t;e.on(i(241),((t,e,s)=>{const n=i;if(!s[n(377)][n(398)](e[n(224)],{attributes:[n(466),n(469)]}))return;if(e[n(456)][n(478)])return;const r=e[n(456)][n(530)][n(448)];r[n(310)](n(466))||r[n(310)](n(495))||(s[n(326)][n(393)](n(466),e[n(224)][n(521)](n(466)),r),s[n(326)][n(393)](n(469),e[n(224)][n(521)](n(469)),r))}),{priority:i(442)})})),this[t(396)][t(429)][t(362)](t(330))[t(332)]({view:{name:t(320),attributes:{vid:!0}},model:{key:t(495),value:e=>e[t(521)](t(495))}}),this[t(396)][t(225)][t(480)].on(t(340),((e,[,i])=>{const s=t;[s(466),s(469),s(495)][s(485)](i)&&(e[s(483)]=!0,e[s(414)]())}),{priority:t(506)}),this[t(396)][t(429)][t(362)](t(360))[t(323)]((e=>{const i=t;e.on(i(254),((t,e,s)=>{const n=i;if(" "!=e[n(515)][n(253)]||e[n(515)][n(217)][n(286)]>1)return;if(!s[n(377)][n(398)](e[n(515)],t[n(532)]))return;const r=s[n(326)],o=s[n(250)][n(282)](e[n(450)]);r[n(232)](o,r[n(541)](n(320)))}))})),this[t(396)][t(429)][t(362)](t(360))[t(503)]({model:t(274)}),this[t(396)][t(445)][t(455)].on(t(545),function(e){const i=t,s=e[i(433)][i(529)](i(476));return(t,n,r)=>{const o=i,a=n[o(261)][o(512)](":")[1],c=s[o(305)](a);if(!c)return null;const u=o(323)==c[o(538)]?o(512):o(341);if(!r[o(377)][o(422)](n[o(381)],t[o(532)]))return;const l=n[o(381)][o(337)](),h=n[o(381)][o(530)],d=e[o(225)][o(480)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(515)];p=p||d[o(295)](e);const i=r[o(250)][o(458)](e);if(i&&i[o(369)](o(365)))return;o(438)==t[o(538)]&&d[o(289)](e)&&!d[o(430)](e)&&(e[o(260)]||h[o(408)]?f&&f[o(217)]==e||(f=e,g(t[o(264)]),v=!0):m=m||t[o(264)])}function g(t){const e=o,i=r[e(326)][e(428)](e(320),{class:e(527)+u}),a=r[e(250)][e(451)](t);c[e(253)][e(263)]&&r[e(326)][e(525)](e(527)+u+e(316),i),s[e(292)]==c&&r[e(326)][e(525)](e(484),i),r[e(326)][e(370)](a,i),r[e(250)][e(516)](i,n[e(261)])}p||v||!m||g(m)}}(this[t(396)]),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(504),((e,i,s)=>{const n=t,r=s[n(250)][n(228)](i[n(261)]);if(r)for(const t of r)(t[n(410)](n(420))||t[n(410)](n(452)))&&(s[n(250)][n(251)](t,i[n(261)]),s[n(326)][n(344)](t))}),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(545),((e,i,s)=>{const n=t,r=i[n(261)][n(512)](":")[1],o=this[n(305)](r);if(!o)return null;const a=n(323)==o[n(538)]?n(512):n(341);if(s[n(377)][n(422)](i[n(381)],e[n(532)]))for(const t of i[n(381)][n(299)]()){if(!t.is(n(241),n(353)))continue;const e=s[n(326)][n(428)](n(320),{class:n(527)+a}),r=s[n(250)][n(451)](this[n(396)][n(225)][n(384)](t));o[n(253)][n(263)]&&s[n(326)][n(525)](n(527)+a+n(316),e),this[n(292)]==o&&s[n(326)][n(525)](n(484),e),s[n(326)][n(370)](r,e),s[n(250)][n(516)](e,i[n(261)])}}),{priority:t(412)}),this[t(396)][t(225)][t(346)].on(t(550),(()=>{const e=t;this[e(396)][e(445)][e(470)][e(550)]((t=>{const i=e;for(const e of this[i(396)][i(225)][i(346)][i(493)]()){const s=this[i(396)][i(225)][i(346)][i(523)](e),n=this[i(396)][i(445)][i(470)][i(346)][i(523)](e);if(n){const e=s[i(521)](i(402));if(t[i(479)](i(437),n),t[i(482)](i(473),n),t[i(482)](i(491),n),t[i(482)](i(405),n),e){const s=this[i(305)](e);if(!s)return null;t[i(393)](i(437),e,n),t[i(525)](i(394)+s[i(538)],n),this[i(292)]==s&&t[i(525)](i(405),n)}}}}))})),this[t(396)][t(429)][t(362)](t(330))[t(403)]({view:t(400),model:e=>t(222)+e,converterPriority:t(506)}),this[t(396)][t(429)][t(362)](t(330))[t(403)]({view:t(423),model:e=>t(528)+e,converterPriority:t(506)}),this[t(396)][t(429)][t(362)](t(360))[t(503)]({model:t(302),view:e=>({name:t(507)+e,group:t(302)}),converterPriority:t(506)}),this[t(396)][t(429)][t(362)](t(242))[t(378)]({model:t(302),view:e=>{const i=t,s=e[i(261)][i(512)](":")[1];return i(435)!=s&&i(416)!=s?null:{classes:[i(526),i(434)+s]}}}),this[t(396)][t(445)][t(455)].on(t(314),ee(this[t(396)],t(341)),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(432),ee(this[t(396)],t(512)),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(374),((e,i,s)=>{const n=t,r=s[n(250)][n(228)](i[n(261)]);if(r)for(const t of r)t.is(n(288))&&(s[n(250)][n(251)](t,i[n(261)]),s[n(326)][n(344)](t))}),{priority:t(412)})}[Gt(305)](t){const e=Gt;return this[e(500)][e(529)](t)}[Gt(358)](t){const e=Gt;return this[e(351)]&&this[e(351)][e(226)](),this[e(351)]=new Pt(this[e(396)][e(539)],t),this[e(351)]}[Gt(537)](){const t=Gt;this[t(396)][t(225)][t(346)][t(356)][t(459)](t(274)),this.on(t(233),((e,i,s,n)=>{const r=t;n&&this[r(301)][r(344)](n),s&&(this[r(301)][r(323)]({view:s,stackId:r(427),position:{target:()=>{const t=r,e=this[t(396)][t(445)],i=this[t(305)](s[t(548)]);let n;if(i[t(253)][t(237)]){const s=e[t(470)][t(449)](i[t(444)]);n=Array[t(492)](s[t(553)]())}else{const i=this[t(396)][t(225)][t(387)][t(529)](t(510)+s[t(548)]);n=Array[t(492)](e[t(250)][t(228)](i[t(532)]))[t(284)]((i=>e[t(470)][t(278)][t(534)](i)))[t(284)]((e=>Array[t(492)](e[t(553)]())))[t(407)]()}return this[t(216)]&&n[t(268)]((e=>e[t(518)]-3<=this[t(216)].y&&e[t(390)]+3>=this[t(216)].y&&e[t(474)]-3<=this[t(216)].x&&e[t(498)]+3>=this[t(216)].x))||n[0]}}}),this[r(301)][r(229)](r(427)))})),this.on(t(475),((e,i,s,n)=>{const r=t;this[r(347)]=s?this[r(358)](s):null,this[r(396)][r(225)][r(550)]((()=>{const t=r,e=this[t(396)][t(445)];n&&(n[t(253)][t(237)]?e[t(470)][t(550)]((i=>{const s=t;i[s(482)](s(405),e[s(470)][s(346)][s(523)](n[s(444)]))})):e[t(297)](t(510)+n.id)),s&&(s[t(253)][t(237)]?e[t(470)][t(550)]((i=>{const n=t;i[n(525)](n(405),e[n(470)][n(346)][n(523)](s[n(444)]))})):e[t(297)](t(510)+s.id))}))})),this[t(382)](this[t(396)][t(445)][t(470)][t(346)],t(508),((e,i)=>{const s=t;if(this[s(292)])return;const n=this[s(307)](i[s(279)]),r=this[s(500)][s(529)](n);r?(this[s(216)]={x:i[s(481)].x,y:i[s(481)].y},this[s(347)]=this[s(358)](r)):(this[s(216)]=null,this[s(347)]=null)})),this[t(382)](this[t(396)][t(445)][t(470)][t(346)],t(300),((e,i)=>{const s=t,n=this[s(307)](i[s(279)]),r=this[s(500)][s(529)](n);r?(this[s(216)]={x:i[s(481)].x,y:i[s(481)].y},r===this[s(292)]?this[s(301)][s(336)]():this[s(292)]=r):(this[s(216)]=null,this[s(292)]=null)}))}[Gt(307)](t){const e=Gt;do{const i=t[e(521)](e(437));if(i)return i;t=t[e(217)]}while(t);return null}[Gt(270)](){const t=Gt;this[t(396)][t(225)][t(550)]((e=>{const i=t;for(const t of this[i(396)][i(225)][i(387)])e[i(276)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(377)][r(422)](s[r(381)],i[r(532)]))return;const o=s[r(381)][r(337)](),a=s[r(381)][r(530)],c=t[r(225)][r(480)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(515)];h=h||c[r(295)](e);const i=n[r(250)][r(458)](e);if(i&&i[r(369)](r(365)))return;r(438)==t[r(538)]&&c[r(289)](e)&&!c[r(430)](e)&&(e[r(260)]||a[r(408)]?u&&u[r(217)]==e||(u=e,f(t[r(264)]),d=!0):l=l||t[r(264)])}function f(t){const i=r,o=n[i(250)][i(451)](t),a=n[i(326)][i(428)](i(320),{class:i(434)+e});n[i(326)][i(370)](o,a),n[i(250)][i(516)](a,s[i(261)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Gt;super(t);const i=t[e(433)][e(529)](te);this[e(509)]=!1,this[e(382)](i,e(443),(()=>this[e(281)]())),this[e(382)](i,e(342),(()=>this[e(281)]()))}[Gt(325)](){const t=Gt,e=this[t(396)],i=e[t(433)][t(529)](te),s=i[t(339)]?i[t(502)][t(373)]:null;e[t(293)][t(529)](t(285))[t(271)](s)}[Gt(281)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(396)][t(433)][t(529)](te),r=n&&s[t(317)](n[t(373)]);this[t(257)]=e&&i&&Boolean(r)}}class se extends U.Command{[Gt(425)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(433)][i(529)](te);this[i(509)]=!1,this[i(425)]=i(522)===e?1:-1,this[i(382)](s,i(443),(()=>this[i(281)]())),this[i(382)](s,i(342),(()=>this[i(281)]())),this[i(382)](s,i(475),(()=>this[i(281)]()))}[Gt(325)](){const e=Gt,i=this[e(396)],s=i[e(433)][e(529)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(292)]=n?s[e(502)][e(446)][e(529)](r+this[e(425)]):s[e(502)][e(446)][e(318)],s[e(292)][e(253)][e(237)])o=i[e(445)][e(470)][e(449)](s[e(292)][e(444)]);else{const t=i[e(225)][e(387)][e(529)](e(510)+s[e(292)].id);o=(0,H.getMarkerDomElement)(i[e(445)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(281)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(396)][t(433)][t(529)](te);this[t(257)]=!!(r&&n&&s)&&(!e||(1===this[t(425)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;!function(t){const e=ae,i=t();for(;;)try{if(563649===parseInt(e(161))/1*(parseInt(e(176))/2)+-parseInt(e(163))/3+parseInt(e(138))/4*(parseInt(e(172))/5)+parseInt(e(145))/6*(-parseInt(e(159))/7)+parseInt(e(162))/8+parseInt(e(144))/9*(-parseInt(e(170))/10)+parseInt(e(149))/11*(parseInt(e(148))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class oe extends ft.View{constructor(t){const e=ae;super(t);const i=this[e(143)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(150)](e(137),!1),this[e(150)](e(177),!1),this[e(150)](e(160),0),this[e(150)](e(169),0),this[e(150)](e(153),!1),this[e(150)](e(166),!1),this[e(158)](e(180)).to(this,e(177),this,e(169),((t,e)=>t&&e>0)),this[e(158)](e(178)).to(this,e(177),this,e(160),this,e(169),this,e(137),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(165));if(!n)return J(t,o(147));const a=J(t,o(146),n);return r?J(t,o(155),[s+1,n]):a})),s[e(150)]({label:J(t,e(181)),tooltip:!0,icon:dt.IconChevronUp}),n[e(150)]({label:J(t,e(152)),tooltip:!0,icon:dt.IconChevronDown}),s[e(158)](e(140)).to(this,e(166)),n[e(158)](e(140)).to(this,e(153)),s.on(e(141),(()=>this[e(175)](e(141),e(171)))),n.on(e(141),(()=>this[e(175)](e(141),e(179)))),this[e(151)]({tag:e(139),attributes:{class:["ck",e(142),e(154)]},children:[{tag:e(157),attributes:{class:[e(156)]},children:[{tag:e(157),attributes:{class:[e(167),i.if(e(180),e(174),(t=>!t))]},children:[{text:i.to(e(137),(i=>i?J(t,e(168))+": ":J(t,e(173))+": "))}]},{text:i.to(e(178))}]},new ft.ToolbarSeparatorView,{tag:e(139),attributes:{class:[e(164)]},children:[s,n]}]})}}function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=137]})(t,e)}function ce(){const t=["_isStatusLabelVisible","Show previous change","isNavigationMode","12EMzrjh","div","isEnabled","execute","ck-revision-history-ui","bindTemplate","4509LgpMQQ","2038020exPUJa","NUMBER_OF_CHANGES","No changes","24GSihZW","70345FCnsAh","set","setTemplate","Show next change","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__wrapper","span","bind","7HwUVjO","currentChangeNumber","2567sjMNiD","2916280Xuwdkk","868575hSoAMd","ck-revision-history-ui__changes-navigation__navigation","Loading...","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__label","EDIT_X_OF_Y_REVISIONS","numberOfChanges","10020kKqOXW","backward","1729530AkcbFy","Total","ck-hidden","fire","218wjYUmq","isReady","_statusText","forward"];return(ce=function(){return t})()}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=de;function de(t,e){const i=me();return(de=function(t,e){return i[t-=231]})(t,e)}!function(t){const e=de,i=t();for(;;)try{if(493519===-parseInt(e(245))/1+parseInt(e(253))/2+-parseInt(e(236))/3+parseInt(e(241))/4+-parseInt(e(238))/5+parseInt(e(247))/6*(parseInt(e(232))/7)+-parseInt(e(250))/8*(-parseInt(e(243))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const fe=he(242);function me(){const t=["view","2497422dqoRHG","editing","4466885GQDqoB","pluginName","document","909408XsfIZb","ck-editor__editable__loading-overlay","9DQSdGh","show","63823DbpCpP","hide","648FnqvBn","isPremiumPlugin","addClass","13924888ILCpZw","isOfficialPlugin","editor","443188AOLMgQ","roots","RevisionViewerLoadingOverlay","6069NBYBEV","change","removeClass"];return(me=function(){return t})()}class pe extends U.Plugin{static get[he(239)](){return he(231)}static get[he(251)](){return!0}static get[he(248)](){return!0}[he(244)](){const t=he,e=this[t(252)][t(237)][t(235)];e[t(233)]((i=>{const s=t;for(const t of e[s(240)][s(254)])i[s(249)](fe,t)}))}[he(246)](){const t=he,e=this[t(252)][t(237)][t(235)];e[t(233)]((i=>{const s=t;for(const t of e[s(240)][s(254)])i[s(234)](fe,t)}))}}const ve=ye;function ge(){const t=["currentChangeNumber","componentFactory","revisionHistory","168937uDRyRl","requires","editor","isReady","show","closeRevisionViewerCallback","changesNavigation","269946BYQsGo","2040516wfNFVq","isForwardNavigationEnabled","45840NsJbNw","get","11271168aLpAyf","restoreRevision","368nGXlof","numberOfChanges","init","forward","44504RrNMDc","set","12btgRFf","Restore this revision","isOfficialPlugin","861JWmPXO","change:isReady","listenTo","RevisionViewerUI","commands","bind","execute","showPreviousChange","isNavigationMode","exitToEditing","isBackwardNavigationEnabled","170GtRtbc","config","ck-revision-history-ui__back-to-editing","Back to editing","isPremiumPlugin","add","showNextChange","hide","plugins","438317Dyzaqh","pluginName","isEnabled"];return(ge=function(){return t})()}function ye(t,e){const i=ge();return(ye=function(t,e){return i[t-=126]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(914643===parseInt(e(131))/1*(parseInt(e(151))/2)+parseInt(e(139))/3+parseInt(e(145))/4*(-parseInt(e(141))/5)+-parseInt(e(138))/6+parseInt(e(154))/7*(parseInt(e(149))/8)+-parseInt(e(143))/9+parseInt(e(165))/10*(parseInt(e(174))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ke extends U.Plugin{static get[ve(126)](){return ve(157)}static get[ve(153)](){return!0}static get[ve(169)](){return!0}static get[ve(132)](){return[te,pe]}[ve(147)](){const t=ve,e=this[t(133)],i=e[t(173)][t(142)](te),s=e[t(173)][t(142)](pe);e.ui[t(129)][t(170)](t(163),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(150)]({label:J(i,s(168)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(167)}),this[s(156)](n,s(160),(()=>{const t=s;e[t(166)][t(142)](t(130))[t(136)]()})),n})),e.ui[t(129)][t(170)](t(144),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(150)]({label:J(i,s(152)),withText:!0,tooltip:!0}),n[s(159)](s(127)).to(e[s(158)][s(142)](s(144))),this[s(156)](n,s(160),(()=>e[s(160)](s(144)))),n})),e.ui[t(129)][t(170)](t(137),(s=>{const n=t,r=new oe(s),o=e[n(158)][n(142)](n(161)),a=e[n(158)][n(142)](n(171));return r[n(159)](n(164)).to(o,n(127)),r[n(159)](n(140)).to(a,n(127)),r[n(159)](n(134),n(128),n(146),n(162)).to(i),this[n(156)](r,n(160),((t,i)=>{const s=n;e[s(160)](s(148)===i?s(171):s(161))})),r})),s[t(135)](),i.on(t(155),((e,i,n)=>{const r=t;n?s[r(172)]():s[r(135)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;function _e(t,e){const i=Se();return(_e=function(t,e){return i[t-=119]})(t,e)}const Ie=_e;function Se(){const t=["listenTo","761008kNoSYD","12GRedFc","placeholder","input","4FfFIww","_resizeObserver","value","scrollWidth","Revision name","element","clientWidth","1400380OTeyMO","_tooltipString","110klNQOA","3192785GtHeQA","_updateTooltipText","23653QHSmDE","Enter the revision name","ck-revision-history-sidebar__revision-name","render","destroy","ck-tooltip_multi-line","set","extendTemplate","2150139DxjFJu","3128178hPIzIh","2345040LIkdij","span","bindTemplate","fieldView","42WSnQYB"];return(Se=function(){return t})()}!function(t){const e=_e,i=t();for(;;)try{if(398195===-parseInt(e(140))/1*(-parseInt(e(125))/2)+parseInt(e(148))/3*(-parseInt(e(128))/4)+-parseInt(e(138))/5+parseInt(e(149))/6+-parseInt(e(122))/7*(parseInt(e(124))/8)+parseInt(e(150))/9+-parseInt(e(135))/10*(-parseInt(e(137))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends ft.LabeledFieldView{[Ie(129)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(120)];this[i(146)]({label:J(t,i(132)),_tooltipString:""}),this[i(121)][i(126)]=J(t,i(141)),this[i(147)]({tag:i(119),attributes:{class:[i(142)],"data-cke-tooltip-text":s.to(i(136)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(145)}})}[Ie(143)](){const e=Ie;super[e(143)](),this[e(129)]=new t.ResizeObserver(this[e(121)][e(133)],(()=>this[e(139)]())),this[e(123)](this[e(121)],e(127),(()=>this[e(139)]()))}[Ie(144)](){const t=Ie;super[t(144)](),this[t(129)]&&this[t(129)][t(144)]()}[Ie(139)](){const t=Ie,e=this[t(121)][t(133)];this[t(136)]=e[t(131)]>e[t(134)]&&e[t(130)]||""}}var Te=i(249),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(){const t=["set","135637ERlUts","3480QmrBTF","6177620uUGXSD","ck-revision-history-sidebar__revision-author_creator","1113005xmrnRL","Revision creator","ck-revision-history-sidebar__revision-author__name","push","setTemplate","4557REvzvb","span","name","1365549uUActh","0 0 11 10","Revision author","12330NQIexh","ck-revision-history-sidebar__revision-author","858420DEknoY","2XwNjKY","1338SeIXaw"];return(Ne=function(){return t})()}function Ae(t,e){const i=Ne();return(Ae=function(t,e){return i[t-=258]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(330859===parseInt(e(276))/1*(-parseInt(e(273))/2)+-parseInt(e(267))/3+-parseInt(e(272))/4+-parseInt(e(259))/5+-parseInt(e(274))/6*(-parseInt(e(264))/7)+parseInt(e(277))/8*(parseInt(e(270))/9)+parseInt(e(278))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ne);class Re extends ft.View{constructor(t,e,i){const s=Ae;super(t);const n=new ft.IconView;n[s(275)]({content:dt.IconUser,viewBox:s(268)});const r=["ck",s(271)];i&&r[s(262)](s(258));const o=[{tag:s(265),attributes:{class:["ck",s(261)],title:J(t,s(i?260:269))},children:[n,e[s(266)]]}];this[s(263)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=354]})(t,e)}function Ee(){var t=["60fJPTsk","690444CibKPG","1wJKLKZ","2009307TIsxag","4ZwHmcl","543946jqsapf","5857488FMtHDk","toLocaleDateString","numeric","long","13534128iRYFcx","2380128dWAEQx","toLocaleTimeString","4245845mhAziZ"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(999537===parseInt(e(363))/1*(parseInt(e(366))/2)+parseInt(e(364))/3*(parseInt(e(365))/4)+parseInt(e(360))/5+-parseInt(e(358))/6+parseInt(e(367))/7+-parseInt(e(357))/8+parseInt(e(362))/9*(parseInt(e(361))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ve={attributes:{"data-cke":!0}};Ve.setAttributes=wt(),Ve.insert=kt().bind(null,"head"),Ve.domAPI=gt(),Ve.insertStyleElement=It();pt()(De.A,Ve);De.A&&De.A.locals&&De.A.locals;function Ce(t,e){const i=Fe();return(Ce=function(t,e){return i[t-=370]})(t,e)}function Fe(){const t=["stopPropagation","187oNZmZF","isVisible","first","action","source","map","extendTemplate","isActionsDropdownOpen","listenTo","bindTemplate","1308PJNMyz","name","21QDFFrd","766458QGQigT","add","function","children","menuitem","7013124ZjjKVX","ck-revision-history-sidebar__revision__actions","24385tLToDA","panelPosition","72UvkpEM","114850IyIntE","items","button","locale","class","buttonView","ck-on","bind","459410YpUMbw","Show more items","isEnabled","Restore this revision","change:isActionsDropdownOpen","model","find","17163024nORrKN","menu","execute","_action","set","Compare against selected","8CrOWKW","isReady","listView","isOpen","69028fxMGiQ","Name this revision"];return(Fe=function(){return t})()}!function(t){const e=Ce,i=t();for(;;)try{if(593773===-parseInt(e(401))/1*(parseInt(e(386))/2)+parseInt(e(402))/3*(parseInt(e(382))/4)+parseInt(e(409))/5*(parseInt(e(399))/6)+-parseInt(e(420))/7*(-parseInt(e(411))/8)+parseInt(e(407))/9+-parseInt(e(412))/10*(parseInt(e(389))/11)+-parseInt(e(376))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var je=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=wt(),Le.insert=kt().bind(null,"head"),Le.domAPI=gt(),Le.insertStyleElement=It();pt()(je.A,Le);je.A&&je.A.locals&&je.A.locals;const Pe=ze;function ze(t,e){const i=Ue();return(ze=function(t,e){return i[t-=443]})(t,e)}!function(t){const e=ze,i=t();for(;;)try{if(528598===parseInt(e(446))/1+-parseInt(e(467))/2+parseInt(e(489))/3+-parseInt(e(462))/4+parseInt(e(499))/5*(-parseInt(e(480))/6)+-parseInt(e(465))/7+parseInt(e(498))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class We extends((0,H.ConfirmMixin)(ft.View)){id;[Pe(496)];[Pe(493)];[Pe(477)];[Pe(468)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(485)],a=function(t,e){const i=r,s=Array[i(486)](e[i(451)])[i(463)]((t=>t!=e[i(460)]));return e[i(460)]&&s[i(458)](e[i(460)]),s[i(449)]((s=>new Re(t,s,s==e[i(460)])))}(e,i);this.id=i.id,this[r(477)]=i,this[r(468)]=n,this[r(453)](r(472),r(482)).to(i),this[r(453)](r(459)).to(this,r(482),(t=>{return i=e[r(450)],(s=t)[(n=Me)(354)](i,{month:n(356),day:n(355)})+", "+s[n(359)](i,{hour:n(355),minute:n(355)});var i,s,n})),this[r(455)](r(443),!1),this[r(455)](r(478),!1),this[r(455)](r(445),!1),this[r(455)](r(444),!1),this[r(455)](r(500),!1),this[r(496)]=new Oe(e,ft.createLabeledInputText),this[r(496)][r(488)][r(503)]({attributes:{maxlength:r(490)}}),this[r(496)][r(488)][r(453)](r(491)).to(this,r(472),(t=>t||this[r(459)])),this[r(496)][r(453)](r(500)).to(this,r(443),this,r(500),((t,e)=>t&&e)),this[r(493)]=s&&s[r(447)]?function(e,i){const s=Ce,n=e[s(398)],r=e[s(415)],o=(0,ft.createDropdown)(r);o[s(410)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ce,s=t[i(415)],n={"Compare against selected":J(s,i(381)),"Name this revision":J(s,i(387)),"Restore this revision":J(s,i(372))};return e[i(394)]((t=>{const e=i,s=n[t[e(400)]];return s&&s!==t[e(400)]&&(t[e(400)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(414),model:new ft.ViewModel({label:t[n(400)],class:t[n(416)],withText:!0,role:n(406),_action:t[n(392)]})};i[n(374)][n(419)](n(371)).to(e,n(396),(i=>n(404)!=typeof t[n(371)]||!i||t[n(371)](e))),o[n(403)](i)}return o}(e,i);return e[s(419)](s(396)).to(o,s(385)),o[s(417)][s(380)]({label:J(r,s(370)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(395)]({attributes:{class:[s(408),n.if(s(396),s(418))]},on:{click:n.to((t=>t[s(388)]()))}}),o.on(s(378),(t=>{const i=s;e[i(383)]&&i(404)==typeof t[i(393)][i(379)]&&t[i(393)][i(379)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(377)}),o[s(397)](e,s(373),((t,n,r)=>{const a=s;if(r)for(const t of o[a(384)][a(413)]){const s=t[a(405)][a(391)],n=i[a(375)]((t=>t[a(392)]===s[a(379)]))[a(390)];t[a(390)]=void 0===n||n(e)}})),o}(this,s):"",this[r(493)]&&this[r(493)][r(453)](r(500)).to(this),this[r(484)]({tag:r(494),attributes:{class:["ck",r(454),r(483),o.if(r(501),r(495))]},children:[{tag:r(494),attributes:{class:["ck",r(454),r(502),o.if(r(500),r(470),(t=>!t)),o.if(r(443),r(476)),o.if(r(478),r(461)),o.if(r(445),r(475))]},children:[this[r(496)],{tag:r(452),attributes:{class:["ck",r(457)]},children:[{text:o.to(r(459))}]},{tag:r(494),attributes:{class:["ck",r(456)]},children:[{tag:"ul",attributes:{class:["ck",r(479)]},children:a}]},this[r(493)]],on:{click:o.to((t=>{const e=r;t[e(469)][e(474)](e(487))||this[e(444)]&&this[e(500)]&&this[e(492)](e(448),{id:this.id})}))}}]})}[Pe(504)](){const t=Pe;super[t(504)]();const e=this[t(496)][t(488)][t(505)];this[t(497)](e,t(464),(()=>{const i=t;this[i(468)]&&!e[i(491)]||this[i(492)](i(471),{id:this.id,name:e[i(491)]}),e[i(491)]||(e[i(491)]=this[i(472)]?this[i(472)]:this[i(459)])}))}[Pe(448)](){this[Pe(443)]=!0}[Pe(473)](){this[Pe(443)]=!1}[Pe(466)](){this[Pe(478)]=!0}[Pe(481)](){this[Pe(478)]=!1}}function Ue(){const t=["3033306YJHmpW","unhighlight","createdAt","ck-revision-history-sidebar__revision-wrapper","setTemplate","bindTemplate","from",".ck-thread__remove-confirm","fieldView","1757424fddAGh","220","value","fire","revisionActionsView","div","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","revisionNameView","listenTo","22001576SQEXop","10GQjIyn","isEnabled","isConfirm","ck-revision-history-sidebar__revision","extendTemplate","render","element","isSelected","isReady","isActionsDropdownOpen","240438rEdXwP","length","select","map","uiLanguage","authors","span","bind","ck-reset","set","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision__date","unshift","_createdAtFormatted","creator","ck-revision-history-sidebar__revision_highlighted","3172632MbFkFD","filter","change","4179028hbVkEr","highlight","1293162caQBBm","_requireRevisionName","srcElement","ck-disabled","setName","name","deselect","closest","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision_selected","_revision","isHighlighted","ck-revision-history-sidebar__revision-authors"];return(Ue=function(){return t})()}class He extends Error{}class Ze extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class $e extends He{}class Ye extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ge extends He{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Xe="short",Qe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Xe,day:Ke},ii={year:Ke,month:Xe,day:Ke,weekday:Xe},si={year:Ke,month:Qe,day:Ke},ni={year:Ke,month:Qe,day:Ke,weekday:Qe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke},yi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Xe},ki={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},bi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,timeZoneName:Qe},wi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe};class _i{get type(){throw new Ge}get name(){throw new Ge}get ianaName(){return this.name}get isUniversal(){throw new Ge}offsetName(t,e){throw new Ge}formatOffset(t,e){throw new Ge}offset(t){throw new Ge}equals(t){throw new Ge}get isValid(){throw new Ge}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let 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 Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ti[e];"era"===e?s[r]=n:ws(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ls({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Ri={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.DateTimeFormat(t,e),Ri[i]=s),s}let Ei={};let Di={};let Vi=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rs(this.floor?Math.floor(t):Vs(t,3),this.padTo)}}class Li{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&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=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Vi||(Vi=(new Intl.DateTimeFormat).resolvedOptions().locale,Vi)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Vi=null,Ri={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,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=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ui=null;class Hi extends _i{static get utcInstance(){return null===Ui&&(Ui=new Hi(0)),Ui}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Zi extends _i{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function qi(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Zi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},$i={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let Ki,Xi=()=>Date.now(),Qi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){Qi=t}static get defaultZone(){return qi(Qi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=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(){Wi.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=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...$s(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...$s(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...$s(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...$s(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new $e("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function ks(t){const e=Is(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ts(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function 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(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Is(t)&&t>=e&&t<=i}function Rs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Vs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ls(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function Ws(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Zs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(xs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Zs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Rs(i,2)}:${Rs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Rs(i,2)}${Rs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function $s(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Gs];case"short":return[...Js];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Qs];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Rs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Ms(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function xn(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(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Ms(e)):Ms(e),month:Js.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:Qs.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Vn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Cn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Fn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ln(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Hi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Hi.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Wn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Un=dn(/(\d{4})-?(\d{3})/,kn),Hn=dn(yn),Zn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,Tn,xn),qn=fn(bn,On,Tn,xn),Bn=fn(wn,On,Tn,xn),$n=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 Xn="Invalid Duration",Qn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Qn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Qn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:qs(t,ur.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[An,Rn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[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 Be(i);return new ur({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ln.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=nr.map((e=>{const i=this.values[e];return ws(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Vs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return eo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(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]=Zs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...qs(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return or(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:hr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return hr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return qi(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=fr(t,e);return(i-i%7)/7}],["days",fr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Yi.indexOf(t[i]);else for(const t in $i){const[i,n]=$i[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=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,Ws);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(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 Hi(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),ws(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(xs(i,"a")&&xs(i,"H"))throw new $e("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function 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 Ar="Invalid DateTime",Rr=864e13;function Mr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Vr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Cr(Ls(t),e,i)}function Lr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ls(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?ln.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Rs(t.c.year,i?6:4),e?(s+="-",s+=Rs(t.c.month),s+="-",s+=Rs(t.c.day)):(s+=Rs(t.c.month),s+=Rs(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=Rs(t.c.hour);return e?(o+=":",o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Rs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Rs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Rs(Math.trunc(-t.o/60)),o+=":",o+=Rs(Math.trunc(-t.o%60))):(o+="+",o+=Rs(Math.trunc(t.o/60)),o+=":",o+=Rs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Zr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],$r=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Gr(t,e){const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of Br)ws(t[e])&&(t[e]=Hr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Qr&&(Qr=rs.now()),to[t]=t.offset(Qr)),to[t]}(i);[n,r]=jr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Vs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Qr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return eo.invalid("invalid input");const n=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Mr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Rr||t>Rr?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e),n=qs(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new $e("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new $e("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=$r,v=Zr,g=ms(g,r,o)):u?(p=Yr,v=qr,g=vs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=As(t.weekNumber,1,zs(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=As(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=jr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Zn],[Wn,qn],[Un,Bn],[Hn,$n])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Vn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,Ln],[Fn,Ln],[jn,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=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,Zn],[Gn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new Ze(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Qr=void 0,to={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ls(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Vr(this,{ts:a}),Vr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Vr(this,{ts:s,zone:t})}return eo.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Vr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=qs(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new $e("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new $e("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Vr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Vr(this,Lr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Vr(this,Lr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return ur.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||eo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Je("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return xr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(t,e){const i=no();return(so=function(t,e){return i[t-=406]})(t,e)}function no(){const t=["week","monthLong","2673579dyUntD","11618278xwQfkF","toRelativeCalendar","year","minus","local","day","159980HGFofA","45203184PWpeLk","startOf","toJSDate","weekdayLong","hasSame","fromJSDate","75fkLxay","10555128ZQkOAL","month","745692WclmKf","3540300swIZfN","setLocale"];return(no=function(){return t})()}function ro(t,e){const i=so,s=eo[i(407)](t)[i(413)](e),n=eo[i(421)](),r=n[i(420)]({days:1})[i(425)](i(422));let o,a;return s[i(406)](n,i(422))?(o=s[i(425)](i(422))[i(426)](),a=s[i(418)]()):s[i(406)](r,i(422))?(o=r[i(426)](),a=s[i(418)]()):s[i(406)](n,i(414))?(o=s[i(425)](i(414))[i(426)](),a=s[i(427)]||""):s[i(406)](n,i(419))?(o=s[i(425)](i(410))[i(426)](),a=s[i(415)]||""):(o=s[i(425)](i(419))[i(426)](),a=String(s[i(419)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=so,i=t();for(;;)try{if(915730===parseInt(e(411))/1+-parseInt(e(412))/2+-parseInt(e(416))/3+parseInt(e(423))/4*(parseInt(e(408))/5)+-parseInt(e(409))/6+-parseInt(e(417))/7+parseInt(e(424))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=uo;function uo(t,e){const i=ho();return(uo=function(t,e){return i[t-=214]})(t,e)}!function(t){const e=uo,i=t();for(;;)try{if(801236===-parseInt(e(240))/1*(-parseInt(e(223))/2)+parseInt(e(242))/3+parseInt(e(241))/4*(parseInt(e(246))/5)+parseInt(e(233))/6*(parseInt(e(220))/7)+-parseInt(e(222))/8+-parseInt(e(221))/9*(-parseInt(e(245))/10)+-parseInt(e(235))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class lo extends ft.View{[co(229)];[co(227)];[co(225)];[co(228)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(237)][n(234)])[n(218)];this[n(229)]=e,this[n(227)]=this[n(230)](),this[n(225)]=i,this[n(228)]=s,this[n(227)][n(217)](n(219)).to(this),this[n(227)][n(217)](n(231)).to(this),this[n(226)]({tag:n(236),attributes:{class:["ck",n(216)]},children:[{tag:n(215),attributes:{class:["ck",n(243)]},children:[{text:r}]},{tag:n(236),attributes:{class:["ck",n(238)]},children:this[n(227)]}]})}[co(239)](t){const e=co,i=new We(this[e(237)],t,this[e(225)],this[e(228)]);this[e(227)][e(232)](i)}[co(244)](t){const e=co,i=this[e(227)][e(224)]((e=>e.id===t.id));this[e(227)][e(214)](i)}}function ho(){const t=["ck-revision-history-sidebar__time-period","delegate","localizedPeriodName","select","882PTnmYi","13753251wDVgwu","5660048xEiKOx","58YyhxhO","find","_revisionActions","setTemplate","revisionViews","_requireRevisionName","startDate","createCollection","setName","add","48876yfJfyC","uiLanguage","46800369yLzuNR","div","locale","ck-revision-history-sidebar__time-period__revisions","addRevision","9049reKdNL","4QkzhKd","4509369SsueIb","ck-revision-history-sidebar__time-period__label","removeRevision","10sHGtae","7216210qnMbWe","remove","span"];return(ho=function(){return t})()}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(){const t=["setTemplate","19527RJhKVw","36kiWNuc","content","div","ck-revision-history-sidebar__header","2joceYh","3900gXaKng","7358384gGJjMn","111472DBMHqe","1251130LuUXVz","160836eoHqkc","span","12LUDrIh","2528210XOQkPA","ck-revision-history-sidebar__header__label","Revision history","412DMzoLV","350KFeLJm","ck-reset_all","1103667DnrOHB"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=468]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(707314===-parseInt(e(479))/1*(parseInt(e(486))/2)+-parseInt(e(481))/3*(parseInt(e(476))/4)+parseInt(e(473))/5*(-parseInt(e(472))/6)+parseInt(e(477))/7*(-parseInt(e(468))/8)+-parseInt(e(482))/9*(parseInt(e(469))/10)+parseInt(e(488))/11+parseInt(e(470))/12*(parseInt(e(487))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);class go extends ft.View{constructor(t){const e=vo;super(t);const i=new ft.IconView;i[e(483)]=dt.IconHistory,this[e(480)]({tag:e(484),attributes:{class:["ck",e(478),e(485)]},children:[i,{tag:e(471),attributes:{class:["ck",e(474)]},children:[J(t,e(475))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=121]})(t,e)}function _o(){const t=["setName","isEnabled","startDate","_removeRevision","9010770jwfJiI","ck-rounded-corners","_revisions","_addRevision","revisionSetName","deselect","11ZePCGm","1634636oAXIrH","delegate","revisionViews","103694cksMOt","3kXZtGx","find","flat","1047222hxgnoz","set","ck-disabled","5knBMMy","select","createdAt","div","fire","highlightRevisions","_revisionActions","remove","removeRevision","_requireRevisionName","bindTemplate","add","locale","setTemplate","261AhHGfo","2231159bQKEMC","unhighlight","revisionSelected","highlight","map","_getTimePeriodViewByStartDate","get","ck-reset","16648dPCwUJ","addRevision","getTime","ck-revision-history-sidebar__timeline","timePeriodViews","some","selectRevision","render","ck-revision-history-sidebar","createCollection","uiLanguage","762826bxHvqy"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(216514===-parseInt(e(151))/1+-parseInt(e(136))/2*(-parseInt(e(152))/3)+parseInt(e(148))/4*(-parseInt(e(158))/5)+-parseInt(e(155))/6+-parseInt(e(173))/7+parseInt(e(125))/8*(-parseInt(e(172))/9)+-parseInt(e(141))/10*(-parseInt(e(147))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends ft.View{[bo(129)];[bo(143)];[bo(164)];[bo(167)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(168)];this[n(129)]=this[n(134)](),this[n(129)][n(149)](n(159)).to(this),this[n(129)][n(149)](n(137)).to(this),this[n(143)]=e,this[n(164)]=i,this[n(167)]=s,this.on(n(159),((t,e)=>{const i=n;this[i(162)](i(175),e)})),this.on(n(137),((t,e)=>{const i=n;this[i(162)](i(145),e)})),this[n(156)](n(138),!1),this[n(171)]({tag:n(161),attributes:{class:["ck",n(124),n(142),n(133)]},children:[new go(t),{tag:n(161),attributes:{class:["ck",n(128),r.if(n(138),n(157),(t=>!t))]},children:this[n(129)]}]})}[bo(132)](){const t=bo;super[t(132)]();for(const e of this[t(143)])this[t(144)](e);this[t(143)].on(t(169),((e,i)=>{this[t(144)](i)})),this[t(143)].on(t(165),((e,i)=>{this[t(140)](i)}))}get[bo(150)](){const t=bo;return this[t(129)][t(121)]((e=>e[t(150)][t(121)]((t=>t))))[t(154)]()}[bo(131)](t){const e=bo;for(const i of this[e(150)])t&&t.id===i.id?i[e(159)]():i[e(146)]()}[bo(163)](t){const e=bo;for(const i of this[e(150)])t[e(130)]((({id:t})=>t===i.id))?i[e(176)]():i[e(174)]()}[bo(144)](t){const e=bo,i=ro(t[e(160)],this[e(170)][e(135)])[e(139)];let s=this[e(129)][e(123)](0);s&&s[e(139)][e(127)]()===i[e(127)]()||(s=new lo(this[e(170)],i,this[e(164)],this[e(167)]),this[e(129)][e(169)](s)),s[e(126)](t)}[bo(140)](t){const e=bo,i=ro(t[e(160)],this[e(170)][e(135)])[e(139)];this[e(122)](i)[e(166)](t)}[bo(122)](t){const e=bo;return this[e(129)][e(153)]((i=>i[e(139)][e(127)]()===t[e(127)]()))}}const So=Oo;function Oo(t,e){const i=To();return(Oo=function(t,e){return i[t-=248]})(t,e)}function To(){const t=["editor","revisionViews","highlightRevisions","data","9QoqqOy","isPremiumPlugin","pluginName","length","_handleEditorDataReady","selectRevision","Restore this revision","_revisions","revisionHistory","newRevisionId","revisionHistory.requireRevisionName","isReady","_sidebarView","string","revisionSetName","2xUXqqC","config","293816odYmaY","plugins","_revisionViewer","366247HJdXAA","restoreRevisionCallback","bind","appendChild","ready","remove","compareAgainstSelected","render","2109770SqYAPH","setName","map","Name this revision","element","getLaterVisibleRevision","add","374036ZmSWcY","destroy","listenTo","get","getIndex","410499tGBdjP","change:diff","_handleDiffChange","RevisionsSidebar","fieldView","_revisionsRepository","repository","revisionHistory.viewerSidebarContainer","availableRevisionActions","_handleRevisionSelected","focus","15BiPJcD","compare","timePeriodViews","action","defaultRevisionActions","revisionHistory.revisionActions","init","revisionSelected","getRevisionsInDiff","Compare against selected","nameRevision","isEnabled","name","isSelected","assign","_createRevisionActions","isVisible","locale","requires","1501758nElUWO","select","isOfficialPlugin","restoreRevision","getEarlierVisibleRevision","diff","24OHdKox","3436015qHonMT","getRevision","_handleRevisionSetName"];return(To=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(182324===parseInt(e(274))/1+-parseInt(e(272))/2*(parseInt(e(297))/3)+-parseInt(e(292))/4*(parseInt(e(308))/5)+parseInt(e(327))/6+-parseInt(e(277))/7*(-parseInt(e(249))/8)+parseInt(e(257))/9*(parseInt(e(285))/10)+-parseInt(e(250))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends U.Plugin{[So(276)];[So(302)];[So(269)];static[So(312)]=[So(283),So(330),So(318)];static[So(305)]=function(){const t=So;return{compareAgainstSelected:{name:t(317),action:({plugins:e},i)=>{const s=t,n=e[s(295)](te),r=n[s(303)];let o=n[s(248)][s(266)],a=i.id;r[s(296)](o)>r[s(296)](a)&&([o,a]=[a,o]),n[s(309)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(295)](te);return!(n[s(303)][s(316)](n[s(248)])[s(260)]>2||i[s(321)])}},restoreRevision:{name:t(263),action:(e,{id:i})=>{const s=t;e[s(273)][s(295)](s(265))[s(278)](i)},isVisible:({plugins:e},i)=>!!e[t(295)](te)[t(303)][t(290)](i.id)},nameRevision:{name:t(288),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(295)](te),o=r[n(303)][n(331)](i);r[n(309)](i,o),s[n(307)](),s[n(301)][n(328)]()}}}}();static get[So(259)](){return So(300)}static get[So(329)](){return!0}static get[So(258)](){return!0}static get[So(326)](){return[te]}constructor(t){const e=So;super(t),this[e(276)]=t[e(275)][e(295)](te),this[e(302)]=this[e(276)][e(303)],this[e(269)]=null}[So(314)](){const t=So,e=this[t(302)][t(264)],i=this[t(323)](),s=this[t(253)][t(273)][t(295)](t(304));this[t(269)]=new Io(this[t(253)][t(325)],e,i,this[t(253)][t(273)][t(295)](t(267))),this[t(269)].on(t(315),this[t(306)][t(279)](this)),this[t(269)].on(t(271),this[t(252)][t(279)](this)),this[t(269)][t(279)](t(319)).to(this[t(276)]),this[t(269)][t(310)].on(t(291),((e,i)=>{const s=t;i[s(254)].on(s(291),((t,e)=>{const i=s;e[i(279)](i(319),i(268)).to(this[i(276)])}))})),this[t(269)][t(284)](),this[t(294)](this[t(253)][t(256)],t(281),this[t(261)][t(279)](this)),this[t(294)](this[t(276)],t(298),this[t(299)][t(279)](this)),s[t(280)](this[t(269)][t(289)])}[So(293)](){const t=So;this[t(269)][t(289)][t(282)](),this[t(269)][t(293)]()}[So(261)](){const t=So,e=this[t(302)][t(251)](0);if(e){const i=this[t(302)][t(331)](e.id);this[t(276)][t(309)](e,i)}}[So(306)](t,e){const i=So,s=this[i(302)][i(251)](e.id),n=this[i(302)][i(331)](s.id);this[i(276)][i(309)](s,n)}[So(252)](t,e){const i=So;this[i(302)][i(251)](e.id)[i(286)](e[i(320)])}[So(299)](t,e,i){const s=So,n=this[s(302)][s(316)](i);n[s(260)]>2?(this[s(269)][s(255)](n),this[s(269)][s(262)](null)):(this[s(269)][s(255)]([]),this[s(269)][s(262)](n[0]))}[So(323)](){const t=So,e=this[t(253)],i=xo[t(305)],s=e[t(273)][t(295)](t(313))||xo[t(312)];if(s[t(260)])return s[t(287)]((s=>{const n=t,r=n(270)==typeof s?Object[n(322)]({},i[s]):s;return r[n(311)]=r[n(311)][n(279)](this,e),r[n(324)]&&(r[n(324)]=r[n(324)][n(279)](this,e)),r}))}}const No=xo,Ao=Ro;function Ro(t,e){const i=Mo();return(Ro=function(t,e){return i[t-=174]})(t,e)}function Mo(){const t=["limiterElement","viewportOffset","7202766vuyHOf","834659MOTUzT","rootName","5LXpgaP","attachDomRoot","toolbar","9064165FNdkBl","3232cNbXEB","isFocused","focusTracker","36wsxjCI","view","detachDomRoot","186778vIYdek","destroy","bind","name","_toolbarConfig","1137590whrXNb","restore","get","fillFromConfig","replace","render","editing","stickyPanel","editor","componentFactory","_view","_elementReplacer","16VmjcaZ","3176692SYllYp","init","fire","viewportTopOffset","element","isActive","addToolbar","getRoot","setEditableElement","ready","document","editable","config","_initToolbar","1788WMBaiV"];return(Mo=function(){return t})()}!function(t){const e=Ro,i=t();for(;;)try{if(670507===parseInt(e(194))/1+-parseInt(e(188))/2*(parseInt(e(178))/3)+-parseInt(e(212))/4+-parseInt(e(184))/5*(-parseInt(e(181))/6)+-parseInt(e(182))/7*(parseInt(e(211))/8)+-parseInt(e(191))/9*(-parseInt(e(199))/10)+parseInt(e(187))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends ft.EditorUI{[Ao(209)];[Ao(198)];[Ao(210)];get[Ao(192)](){return this[Ao(209)]}constructor(e,i){const s=Ao;super(e),this[s(209)]=i,this[s(198)]=(0,ft.normalizeToolbarConfig)(e[s(176)][s(201)](s(186))),this[s(210)]=new t.ElementReplacer}get[Ao(216)](){const t=Ao;return this[t(192)][t(216)]}[Ao(213)](t){const e=Ao,i=this[e(207)],s=this[e(192)],n=i[e(205)][e(192)],r=s[e(175)],o=n[e(174)][e(219)]();r[e(197)]=o[e(183)],s[e(204)]();const a=r[e(216)];this[e(220)](r[e(197)],a),s[e(175)][e(196)](e(189)).to(this[e(190)]),n[e(185)](a),this[e(210)][e(203)](t,this[e(216)]),this[e(177)](),this[e(214)](e(221))}[Ao(195)](){const t=Ao;super[t(195)]();const e=this[t(192)],i=this[t(207)][t(205)][t(192)];this[t(210)][t(200)](),i[t(193)](e[t(175)][t(197)]),e[t(195)]()}[Ao(177)](){const t=Ao,e=this[t(192)];e[t(206)][t(196)](t(217)).to(this[t(190)],t(189)),e[t(206)][t(179)]=e[t(216)],e[t(206)][t(196)](t(215)).to(this,t(180),(({top:t})=>t)),e[t(186)][t(202)](this[t(198)],this[t(208)]),this[t(218)](e[t(186)])}}var Do=i(161),Vo={attributes:{"data-cke":!0}};Vo.setAttributes=wt(),Vo.insert=kt().bind(null,"head"),Vo.domAPI=gt(),Vo.insertStyleElement=It();pt()(Do.A,Vo);Do.A&&Do.A.locals&&Do.A.locals;var Co=Fo;function Fo(t,e){var i=jo();return(Fo=function(t,e){return i[t-=423]})(t,e)}function jo(){var t=["top","6166480NnVPdC","editable","16dtJIJw","10pYDSmE","shouldToolbarGroupWhenFull","18YlMZBE","2370683rcPtzN","stickyPanel","toolbar","add","368814rekSVH","104072CgDJlv","main","577960LfcYHT","content","60678dpTBLA","6015690TIouBG","_editable","render"];return(jo=function(){return t})()}!function(t){for(var e=Fo,i=t();;)try{if(360750===-parseInt(e(424))/1+-parseInt(e(426))/2*(-parseInt(e(436))/3)+parseInt(e(442))/4+parseInt(e(434))/5*(parseInt(e(441))/6)+-parseInt(e(437))/7*(parseInt(e(433))/8)+parseInt(e(427))/9+parseInt(e(431))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends ft.BoxedEditorUIView{[Co(428)];[Co(438)];[Co(439)];get[Co(432)](){return this[Co(428)]}constructor(t,e,i={}){var s=Co;super(t),this[s(438)]=new ft.StickyPanelView(t),this[s(439)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(435)]}),this[s(428)]=new ft.InlineEditableUIView(t,e)}[Co(429)](){var t=Co;super[t(429)](),this[t(438)][t(425)][t(440)](this[t(439)]),this[t(430)][t(440)](this[t(438)]),this[t(423)][t(440)](this[t(432)])}}function Po(t,e){const i=Wo();return(Po=function(t,e){return i[t-=143]})(t,e)}const zo=Po;function Wo(){const t=["2685gkaSPR","locale","2692930XkRuZx","initialData","_ui","11946040eayKGu","createRoot","init","destroy","updateSourceElement","get","2490789qzDgYe","model","4lVbHBR","view","9kCbyWv","1446qeBARE","1486248gNaNkS","443392eauMUo","5160323vnheAc","config","document","fire","data","initPlugins","sourceElement","ready","editing","create"];return(Wo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(954053===-parseInt(e(153))/1+-parseInt(e(154))/2+-parseInt(e(147))/3*(-parseInt(e(149))/4)+-parseInt(e(165))/5*(parseInt(e(152))/6)+parseInt(e(155))/7+parseInt(e(170))/8+-parseInt(e(151))/9*(parseInt(e(167))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,U.ElementApiMixin)(U.Editor)){[zo(169)];get ui(){return this[zo(169)]}constructor(t,e){const i=zo;super(e),this[i(161)]=t,this[i(148)][i(157)][i(171)]();const s=new Lo(this[i(166)],this[i(163)][i(150)],{shouldToolbarGroupWhenFull:!0});this[i(169)]=new Eo(this,s)}[zo(144)](){const t=zo;return this[t(145)](),this.ui[t(144)](),super[t(144)]()}static async[zo(164)](t,e){const i=zo,s=new this(t,e);return await s[i(160)](),await s.ui[i(143)](t),await s[i(159)][i(143)](s[i(156)][i(146)](i(168))||""),s[i(158)](i(162)),s}}const Ho=qo;function Zo(){const t=["revisionHistory.viewerContainer","none","revisionHistory.editorContainer","model","join","revisionHistory.restoreRevisionCallback","data","getRoot","catch","RevisionViewerIntegration","Restored","18CSaBSD","end","revisionHistory.showRevisionViewerCallback","isAttached","756852aJGMwo","161361vUmHec","pluginName","getMarkersGroup","users","long","removeSelectionAttribute","revision-history-missing-configuration","_cleanUp","RevisionsRepository","then","getRevisionRootsAttributes","insert","rootName","selection","RevisionTracker","bind","remove","revision-history-viewer-opened","addRoot","Dialog","revisionHistory.viewerEditorElement","isReady","destroy","set","showRevisionViewerCallback","Annotations","_enhanceShowRevisionViewerCallback","includes","refreshVisibility","init","from","_restoreRevision","RevisionViewer","indexOf","error","fromCharCode","revisionHistory.closeRevisionViewerCallback","keys","get","locale","commands","restrictedEditingException","document","uiLanguage","numeric","creator","revisionHistory.requireRevisionName","getRevisionData","1040217KGkiAU","translations","markers","390cmxCzm","createRangeIn","create","refreshPositioning","PaginationLookup","enableReadOnlyMode","addRevisionData","getRevision","2775296zhCVqW","5538550uhfcib","RevisionHistory","has","restoreRevision","update","toJSON","lazyRoots","roots","createdAt","hide","fromVersion","exitToEditing","editor","define","getAttributeKeys","_update","plugins","Autosave","isOpen","addUser","_showRevisionViewer","repository","block","_viewerEditor","2NBWJOh","isAnonymous","$graveyard","toLocaleDateString","RestrictedEditingMode","revisionHistory","save","_recalculatePageBreaks","closeRevisionViewerCallback","config","adapter","parse","toolbar","requires","_enhanceCloseRevisionViewerCallback","changesNavigation","name","_getRevisionViewerEditorConfig","detachRoot","change","RevisionHistoryUI","toVersion","removeMarker","setAttribute","isReadOnly","setSelection","style","getUser","display","result","isOfficialPlugin","isEnabled","_closeRevisionViewer","Users","map","2208983QGfezN","6849096DBUvrn","push","disableReadOnlyMode","enqueueChange","removeAttribute","getRevisions","saveRevision","isPremiumPlugin","toLocaleTimeString"];return(Zo=function(){return t})()}function qo(t,e){const i=Zo();return(qo=function(t,e){return i[t-=368]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(593158===parseInt(e(449))/1*(parseInt(e(485))/2)+-parseInt(e(400))/3+-parseInt(e(460))/4+parseInt(e(461))/5+parseInt(e(396))/6*(parseInt(e(375))/7)+-parseInt(e(376))/8+-parseInt(e(401))/9*(parseInt(e(452))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zo);const Bo=[Ho(505),Ho(489)];class $o extends U.Plugin{[Ho(369)];static get[Ho(402)](){return Ho(394)}static get[Ho(370)](){return!0}static get[Ho(383)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(374)]((t=>String[e(436)](t)))[e(389)]("")}super(t),this[e(369)]=e(397),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends U.Plugin{[Ho(484)];static get[Ho(402)](){return Ho(462)}static get[Ho(370)](){return!0}static get[Ho(383)](){return!0}static get[Ho(498)](){return[rt,Ct]}constructor(e){const i=Ho;if(super(e),!this[i(473)][i(494)][i(439)](i(490)))throw new t.CKEditorError(i(407),this);this[i(484)]=null,this[i(473)][i(494)][i(474)](i(398),(t=>this[i(481)]({...t,translations:this[i(473)][i(440)][i(450)]}))),this[i(473)][i(494)][i(474)](i(437),(t=>this[i(372)](t))),this[i(473)][i(494)][i(474)](i(390),(t=>this[i(432)](t))),this[i(473)][i(494)][i(474)](i(447),!1),this[i(427)](),this[i(499)]()}set[Ho(495)](t){const e=Ho;this[e(473)][e(477)][e(439)](e(415))[e(495)]=t}get[Ho(495)](){const t=Ho;return this[t(473)][t(477)][t(439)](t(415))[t(495)]}[Ho(458)](t){const e=Ho;return this[e(473)][e(477)][e(439)](e(415))[e(458)](t)}[Ho(459)](t){const e=Ho;return this[e(473)][e(477)][e(439)](e(409))[e(459)](t)}[Ho(381)](t){const e=Ho;return this[e(473)][e(477)][e(439)](e(409))[e(381)](t||{toJSON:!1})}[Ho(502)](){const e=Ho,i=this[e(473)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(477)][e(439)](e(415)),r=i[e(477)][e(439)](e(373))[e(404)];return s[e(497)]=[e(472),e(464),e(500)],delete s[e(467)],s[e(477)][e(377)]($o,te,ke,class extends U.Plugin{static get[e(498)](){return[te,e(373)]}[e(430)](){const s=e,o=this[s(473)][s(477)][s(439)](s(373));for(const t of r)t[s(486)]||o[s(512)](t.id)||o[s(480)](t);const a=n[s(482)][s(381)]();let c=null;const u=this[s(473)][s(477)][s(439)](s(433));u[s(495)]=n[s(495)],u[s(416)](s(371)).to(n),this[s(473)][s(441)][s(439)](s(464))[s(416)](s(371)).to(i,s(509),(t=>!t));for(const e of a){const i=null===e[s(446)];if(i&&e[s(506)]===e[s(471)])continue;const r=e[s(466)]();u[s(458)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(476)](r,o);else if(!o){const e=a[u(466)]();e.id=(0,t.uid)(),n[u(382)](e,a[u(506)])[u(410)]((t=>{c=t}))}}else e[u(476)](r,o)}))}}},No),s}[Ho(427)](){const t=Ho,e=this[t(473)][t(494)][t(439)](t(490))[t(425)];this[t(473)][t(494)][t(424)](t(398),(async()=>{const i=t;this[i(473)][i(457)](i(418));const s=this[i(473)][i(477)][i(439)](i(415));if(this[i(473)][i(477)][i(463)](i(478))){const t=this[i(473)][i(477)][i(439)](i(478));await t[i(491)]()}else await s[i(465)]();if(this[i(473)][i(477)][i(463)](i(456))&&this[i(473)][i(477)][i(439)](i(456))[i(492)](),this[i(473)][i(477)][i(463)](i(420))){const t=this[i(473)][i(477)][i(439)](i(420));t[i(479)]&&t[i(470)]()}const n=this[i(502)]();return e(n)[i(410)]((t=>{const e=i;return this[e(484)]=t,this[e(473)][e(477)][e(463)](e(426))&&this[e(473)][e(477)][e(439)](e(426))[e(429)](),t}))[i(393)]((t=>(console[i(435)](t),this[i(473)][i(378)](i(418)),null)))}))}[Ho(499)](){const t=Ho,e=this[t(473)][t(494)][t(439)](t(490))[t(493)];this[t(473)][t(494)][t(424)](t(437),(()=>(this[t(473)][t(477)][t(463)](t(456))&&this[t(473)][t(477)][t(439)](t(456))[t(492)](),this[t(484)][t(477)][t(439)](t(433))[t(408)](),e(this[t(484)])[t(410)]((()=>{const e=t;if(this[e(473)][e(378)](e(418)),this[e(484)]=null,this[e(473)][e(477)][e(463)](e(426))){const t=this[e(473)][e(477)][e(439)](e(426));t[e(429)](),t[e(455)]()}})))))}[Ho(481)](t){const e=Ho,i=this[e(473)][e(494)][e(439)](e(387)),s=this[e(473)][e(494)][e(439)](e(385)),n=this[e(473)][e(494)][e(439)](e(421));return Uo[e(454)](n,t)[e(410)]((t=>(s[e(511)][e(368)]=e(483),i[e(511)][e(368)]=e(386),t)))}[Ho(372)](t){const e=Ho,i=this[e(473)][e(494)][e(439)](e(387));return this[e(473)][e(494)][e(439)](e(385))[e(511)][e(368)]=e(386),i[e(511)][e(368)]="",t[e(423)]()}async[Ho(432)](t){const e=Ho,i=this[e(473)],s=this[e(484)][e(477)][e(439)](e(433)),n=i[e(477)][e(439)](e(415)),r=s[e(482)][e(459)](t);let o,a,c;try{o=await s[e(448)](r),a=await s[e(411)](r)}catch(t){return void console[e(435)](t)}i[e(388)][e(504)]((t=>{const s=e;for(const e of Array[s(431)](i[s(388)][s(451)][s(403)](s(442))))t[s(507)](e)})),s[e(422)]=!1,i[e(388)][e(379)]((t=>{const s=e;t[s(510)](null),t[s(406)](i[s(388)][s(443)][s(414)][s(475)]());const n=Object[s(438)](o);for(const e of i[s(388)][s(443)][s(468)])s(487)!=e[s(413)]&&e[s(399)]()&&!n[s(428)](e[s(413)])&&t[s(503)](e);for(const e of n){let n=i[s(388)][s(443)][s(392)](e);n&&n[s(399)]()||(n=t[s(419)](e));const r=a[e],c=Object[s(438)](r),u=o[e];for(const e of n[s(475)]())c[s(428)](e)||t[s(380)](e,n);for(const i of c)t[s(508)](i,a[e][i],n);t[s(417)](t[s(453)](n)),t[s(412)](i[s(391)][s(496)](u,n),n,0)}}));const u=J(i[e(440)],e(395));return c=r[e(501)]?-1==r[e(501)][e(434)](u)?u+": "+r[e(501)]:r[e(501)]:u+": "+r[e(469)][e(488)](i[e(440)][e(444)],{month:e(405),day:e(445)})+", "+r[e(469)][e(384)](i[e(440)][e(444)],{hour:e(445),minute:e(445)}),await n[e(382)]({name:c}),s[e(422)]=!0,i[e(494)][e(439)](e(490))[e(493)]()}}function Jo(t,e){var i=Go();return(Jo=function(t,e){return i[t-=329]})(t,e)}function Go(){var t=["5177390DblPWL","579539cNlFTE","2878425kceEhN","1183835ocywgr","27NZAGWh","4910700ecdrBd","20BiiPMD","2547828IzSCgw","1165927RtpKFm","16XHECCU"];return(Go=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(691502===-parseInt(e(333))/1+-parseInt(e(329))/2+parseInt(e(334))/3+parseInt(e(338))/4*(parseInt(e(335))/5)+-parseInt(e(337))/6+parseInt(e(330))/7*(-parseInt(e(331))/8)+parseInt(e(336))/9*(parseInt(e(332))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
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:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>nt,RevisionViewer:()=>Qt,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>J,RevisionsSidebar:()=>To});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==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M,V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=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(V=t,ArrayBuffer.isView(V)&&!(V instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=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 M=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function E(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,E(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}}function P(){const t=["40925529aUVrvK","218535VvAlRQ","attributes","authorsIds","setAttribute","6NcmpUt","diffData","createdAt","fromVersion","model","creator","3039387jOcabL","name","setName","toVersion","set","authors","_update","530754WMgkEw","creatorId","11594128fDNWKF","934396RqIccU","toJSON","2618452OxfCmr","removeAttribute","map","fire","1PtPQPg"];return(P=function(){return t})()}const L=z;function z(t,e){const i=P();return(z=function(t,e){return i[t-=425]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(843546===-parseInt(e(431))/1*(parseInt(e(425))/2)+-parseInt(e(443))/3+-parseInt(e(427))/4+parseInt(e(433))/5*(-parseInt(e(437))/6)+-parseInt(e(450))/7+-parseInt(e(452))/8+parseInt(e(432))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class W extends((0,t.ObservableMixin)()){id;[L(442)];[L(448)];[L(438)];[L(446)];[L(440)];[L(441)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(442)]=e[i(442)]||null,this[i(448)]=e[i(448)]||[],this[i(438)]=e[i(438)]||null,this[i(446)]=e[i(446)]||0,this[i(440)]=e[i(440)]||0,this[i(447)](i(444),e[i(444)]||""),this[i(447)](i(439),e[i(439)]||new Date),this[i(447)](i(434),e[i(434)]||{})}[L(445)](t){this[L(449)]({name:t})}[L(436)](t,e){const i=L,s=R(this[i(434)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(449)]({attributes:s})}[L(428)](t){const e=L,i=R(this[e(434)]);(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,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(449)]({attributes:i})}[L(449)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(444),i(439),i(438),i(448),i(434),i(446),i(440),i(451)];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(448)]&&(n[i(435)]=n[i(448)][i(429)]((t=>t.id)),delete n[i(448)]),this[i(430)](i(449),n,e))}[L(426)](){const t=L;return{id:this.id,name:this[t(444)],creatorId:this[t(442)]?this[t(442)].id:null,authorsIds:this[t(448)][t(429)]((t=>t.id)),diffData:this[t(438)],createdAt:this[t(439)],attributes:this[t(434)],fromVersion:this[t(440)],toVersion:this[t(446)]}}}var U=i(782),Z=i(211),H=i(783);const q=$;function $(t,e){const i=B();return($=function(t,e){return i[t-=265]})(t,e)}function B(){const t=["addRevision","getLaterVisibleRevision","5287944BRxPaI","8WpwNBT","pluginName","editor","fromVersion","push","5290565wZiWyv","authorsIds","requires","getRevisionsInDiff","209268TawSgh","isNaN","_revisions","from","attributes","map","getUser","get","oldRevisionId","215767XBsgJt","Users","getIndex","isOfficialPlugin","href","reverse","getRevisions","creatorId","1470665ZAsrhh","isPremiumPlugin","earlier","name","join","length","7976745ZomMEr","3wZULNp","createRevision","fromCharCode","getRevision","toVersion","plugins","newRevisionId","1486456FUgjyM","afterInit","data","getRevisionsIterator","RevisionsRepository","later","add","toJSON","createdAt","getEarlierVisibleRevision","diffData"];return(B=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(559304===-parseInt(e(309))/1*(parseInt(e(291))/2)+-parseInt(e(270))/3*(-parseInt(e(277))/4)+parseInt(e(317))/5+-parseInt(e(300))/6+-parseInt(e(296))/7+parseInt(e(290))/8+parseInt(e(269))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class J extends U.Plugin{[q(302)];static get[q(298)](){return[Z.Users]}static get[q(292)](){return q(281)}static get[q(312)](){return!0}static get[q(318)](){return!0}get[q(268)](){const t=q;return this[t(302)][t(268)]}constructor(e){const i=q;super(e),this[i(302)]=new t.Collection}[q(278)](){!async function(e){const i=k([111,57,102,80,86,103,49,87,98,116,66,84,107,106,119,109,55,81,74,52,56,67,110,113,118,79,54,97,69,104,90,114,78,108,73,115,100,51,89,105,68,75,88,50,85,70,120,77,83,65,101,82,48,53,72,76,122,71,112,121,99,117]),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(301)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([111]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(305)]((t=>String[e(272)](t)))[e(267)]("")}!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:1742256e3;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(313)]);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(271)](t){const e=q,i=this[e(293)][e(275)][e(307)](e(310));return new W({id:t.id,name:t[e(266)],creator:t[e(316)]?i[e(306)](t[e(316)]):null,diffData:t[e(287)]||t[e(279)],authors:t[e(297)][e(305)]((t=>i[e(306)](t))),createdAt:new Date(t[e(285)]),attributes:t[e(304)],fromVersion:t[e(294)],toVersion:t[e(274)]})}[q(288)](t,e=0){const i=q;this[i(302)][i(283)](t,e)}[q(273)](t){const e=q;return this[e(302)][e(307)](t)}[q(315)](t={toJSON:!1}){const e=q,i=Array[e(303)](this[e(302)]);return i[e(314)](),t[e(284)]?i[e(305)]((t=>t[e(284)]())):i}[q(311)](t){const e=q;return this[e(302)][e(311)](t)}[q(286)](t){const e=q,[,i]=this[e(280)](t,{direction:e(265)});return i}[q(289)](t){const e=q,[,i]=this[e(280)](t,{direction:e(282)});return i}[q(299)](t){const e=q,i=[];for(const s of this[e(280)](t[e(276)]))if(i[e(295)](s),s.id===t[e(308)])break;return i}*[q(280)](t,{direction:e=q(265),filter:i=()=>!0}={}){const s=q,n=s(265)===e?1:-1;let r=this[s(302)][s(307)](t),o=this[s(311)](r);for(yield r;r;){if(o+=n,r=this[s(273)](o),!r)return;i(r)&&(yield r)}}}function Y(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function G(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return X(t,e,r,o)}return X(t,e,r,o)}function X(t,i,s,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)===(M=s)||Number.isNaN(R)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,M;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)return V===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)||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,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=ut();return(it=function(t,e){return i[t-=165]})(t,e)}!function(t){const e=it,i=t();for(;;)try{if(413196===-parseInt(e(214))/1*(parseInt(e(351))/2)+parseInt(e(433))/3+-parseInt(e(293))/4*(parseInt(e(228))/5)+-parseInt(e(296))/6*(parseInt(e(477))/7)+-parseInt(e(185))/8*(-parseInt(e(372))/9)+parseInt(e(235))/10*(parseInt(e(447))/11)+parseInt(e(252))/12*(parseInt(e(388))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ut);const st={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class nt extends U.Plugin{[et(219)];[et(366)];[et(274)];[et(455)];[et(340)];[et(377)];[et(311)];[et(231)];[et(436)];[et(249)];[et(462)];[et(275)];[et(246)];static get[et(269)](){return et(290)}static get[et(347)](){return!0}static get[et(236)](){return!0}static get[et(397)](){return[Z.Users,J,U.PendingActions]}constructor(e){const i=et;super(e),this[i(274)]=null,this[i(455)]=null,this[i(377)]=new ot(this[i(338)]),this[i(231)]=this[i(338)][i(339)][i(405)](i(205))||i(257),this[i(436)]=new Map,this[i(246)]=null;const s=(0,t.uid)();this[i(311)]={history:this[i(338)][i(376)][i(291)][i(302)],getLatestVersion:()=>Promise[i(213)](this[i(338)][i(376)][i(291)][i(453)]),getCurrentRevisionId:()=>s},this[i(408)](i(220),!1),this[i(408)](i(223),!0),this[i(408)](i(398),!1),this[i(338)][i(339)][i(335)](i(336),!0),this[i(338)][i(313)][i(426)](i(197))[i(225)]({view:i(292)})}[et(344)](){const t=et;this[t(340)]=this[t(338)][t(255)][t(405)](t(287)),this[t(309)](),this[t(338)][t(414)].on(t(166),(()=>{const e=t,i=this[e(340)][e(411)](0),s=i&&null===i[e(483)]?i:null;if(this[e(462)]=!!s&&this[e(338)][e(339)][e(405)](e(336)),this[e(338)][e(255)][e(244)](e(216))){const t=this[e(311)][e(285)](),n=this[e(340)][e(411)](t);if(n)this[e(275)]=n[e(469)],this[e(462)]=!1;else{const t=this[e(311)][e(302)][e(380)][e(329)]((t=>!t[e(448)])),n=t?t[e(443)]:this[e(311)][e(302)][e(453)];i?(i[e(271)]<n&&i[e(270)]({toVersion:n}),this[e(462)]?(this[e(311)][e(285)]=()=>s.id,this[e(275)]=s[e(469)]):(this[e(275)]=i[e(271)],this[e(462)]=!1)):(this[e(275)]=n,this[e(462)]=!1)}}else s&&(this[e(338)][e(376)][e(291)][e(302)][e(453)]=Math[e(349)](s[e(271)],this[e(338)][e(376)][e(291)][e(302)][e(453)]),s[e(469)]===s[e(271)]?(0!==s[e(469)]&&(this[e(311)][e(285)]=()=>s.id),this[e(462)]=!1):this[e(462)]&&(this[e(311)][e(285)]=()=>s.id,this[e(275)]=s[e(469)])),this[e(462)]||(this[e(275)]=this[e(338)][e(376)][e(291)][e(453)]);this[e(377)][e(344)](this[e(311)][e(302)]),this[e(464)](this[e(275)]),this[e(320)](this[e(275)]),this[e(274)]&&this[e(179)]()})),this[t(348)](t(220)).to(this,t(398),(t=>!t)),this[t(219)]=this[t(338)][t(339)][t(405)](t(219));const e=this[t(338)];this[t(366)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(401)==r||i(191)==r||i(404)==r||i(215)==r||i(439)==r||i(470)==r||i(238)==r||i(480)==r){delete e[n],s=r,clearInterval(this[i(366)]),this[i(366)]=void 0;break}}i(191)==s&&e[i(357)](i(396)),i(404)==s&&e[i(357)](i(371)),i(215)==s&&e[i(357)](i(240)),i(439)==s&&e[i(357)](i(440),i(486)),i(470)==s&&e[i(357)](i(381)),i(238)==s&&e[i(357)](i(308)),i(480)==s&&e[i(357)](i(170))}),1e3)}async[et(463)](){const t=et;if(this[t(340)][t(283)]>0){const e=this[t(340)][t(411)](0),i=await this[t(286)](e),s=await this[t(369)](e);this[t(226)](i,s)}}[et(359)](){const t=et;super[t(359)](),this[t(366)]&&clearInterval(this[t(366)])}[et(407)](t){this[et(311)]=t}async[et(389)](){const t=et,e=await this[t(311)][t(403)]();if(e>this[t(455)][t(271)]){await this[t(327)]();const i=this[t(200)]({revision:this[t(455)],to:e});i[t(272)]=i[t(310)][t(355)]((e=>this[t(338)][t(255)][t(405)](t(227))[t(180)](e))),this[t(455)][t(270)](i)}}async[et(327)](){const t=et;this[t(462)]&&!this[t(246)]&&(await this[t(390)](this[t(455)]),this[t(377)][t(379)](this[t(455)]),this[t(246)]={fromVersion:this[t(455)][t(469)],authors:this[t(455)][t(272)][t(346)]()})}async[et(321)](e={},i=null){const s=et,n=[];await this[s(327)](),this[s(462)]=!1,i>this[s(455)][s(271)]&&(i=null),null===i&&(i=await this[s(311)][s(403)]());const r=this[s(267)](i),o=this[s(200)]({from:r,to:i});if(this[s(455)][s(271)]<i){const t=this[s(200)]({revision:this[s(455)],from:i,to:i});t[s(272)]=[],t[s(310)]=[],t.id=this[s(455)].id,this[s(455)][s(270)](t,!0),delete t[s(272)],n[s(258)](t)}e[s(435)]=this[s(338)][s(255)][s(405)](s(227)).me.id,e[s(473)]=e[s(473)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(393)](e);n[s(258)](e);const c=this[s(340)][s(374)](a);if(0!==c){const t=this[s(340)][s(411)](c-1);if(t[s(469)]!==i){const r=this[s(377)][s(218)](i,t[s(271)]),o={id:t.id,diffData:r[s(406)],authorsIds:r[s(310)],authors:r[s(310)][s(355)]((t=>this[s(338)][s(255)][s(405)](s(227))[s(180)](t))),fromVersion:i};t===this[s(455)]&&(o[s(428)]=new Date(e[s(428)][s(458)]()+10)),t[s(270)](o,!0),delete o[s(272)],n[s(258)](o)}}if(this[s(274)]){for(const t of n)this[s(303)](t.id,t,!0);this[s(179)]()}return a}[et(393)](t){const e=et,i=this[e(340)][e(289)](t);return this[e(274)]&&i.on(e(270),((t,i,s)=>{const n=e;s||(this[n(303)](i.id,i,!0),this[n(179)]())})),this[e(340)][e(356)](i,this[e(423)](i)),i}async[et(286)](t){const e=et;await this[e(390)](t);const i={};for(const s in t[e(406)]){if(t[e(406)][s][e(221)]&&!t[e(406)][s][e(221)][e(266)])continue;const n=this[e(172)](JSON[e(256)](t[e(406)][s][e(273)])),r=this[e(338)][e(332)][e(360)][e(291)],o=new H.ViewDocumentFragment(r,n[e(355)]((t=>rt(t,this[e(338)]))));this[e(338)][e(414)][e(279)][e(400)](e(415)),i[s]=this[e(338)][e(414)][e(279)][e(387)](o),this[e(338)][e(414)][e(279)][e(400)](e(391))}return i}async[et(369)](t){const e=et;await this[e(390)](t);const i={};for(const s in t[e(406)])t[e(406)][s][e(221)]&&!t[e(406)][s][e(221)][e(266)]||(i[s]=t[e(406)][s][e(412)]||{});return i}[et(179)](){const t=et;if(0===this[t(436)][t(298)])return;if(this[t(398)])return;let e=Array[t(182)](this[t(436)][t(484)]());this[t(436)][t(422)]();for(let i=0;i<e[t(283)];i++){const s=e[i];let n=!1;for(const e of Object[t(234)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(243)]((t=>null!==t)),!e[t(283)])return;for(let i=0;i<e[t(283)];i++){const s=e[i];void 0!==s[t(469)]&&void 0===s[t(271)]&&(s[t(271)]=this[t(340)][t(411)](s.id)[t(271)]),void 0!==s[t(271)]&&void 0===s[t(469)]&&(s[t(469)]=this[t(340)][t(411)](s.id)[t(469)])}const i=this[t(338)][t(339)][t(405)](t(205));this[t(398)]=!0,this[t(479)](),this[t(274)][t(254)](e,i)[t(253)]((()=>{this[t(398)]=!1}))[t(305)]((e=>{const i=t;if(e)for(const t of e)this[i(181)]({id:t.id,createdAt:t[i(428)]});this[i(242)](),this[i(179)]()}))}[et(226)](e,i){const s=et;let n=this[s(338)][s(339)][s(405)](s(277)),r=this[s(338)][s(339)][s(405)](s(312));if(void 0===n){n={};for(const t of this[s(338)][s(376)][s(291)][s(451)]())n[t]=""}if(s(199)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(338)][s(376)][s(291)][s(451)]())r[t]={}}let o=!1;const a=Object[s(234)](n),c=Object[s(234)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(487)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(234)](r[t])[s(283)]>0){o=!0;break}}o||(o=c[s(364)]((t=>!this[s(338)][s(376)][s(291)][s(178)](t)))),o&&(0,t.logWarning)(s(284),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(338)][s(339)][s(408)](s(277),e),this[s(338)][s(339)][s(408)](s(312),i)}[et(479)](){const t=et;if(!this[t(249)]){const e=this[t(338)][t(255)][t(405)](t(476));this[t(249)]=e[t(295)](Y(this[t(338)][t(198)],t(472)))}}[et(242)](){const t=et;this[t(249)]&&(this[t(338)][t(255)][t(405)](t(476))[t(229)](this[t(249)]),this[t(249)]=null)}[et(423)](t){const e=et,i=this[e(340)][e(324)]();i[e(409)]();let s=0;for(;s<i[e(283)];){const n=i[s];if(n===this[e(455)]){s++;continue}if(n.id===this[e(231)])break;const r=t[e(271)]-n[e(271)]||t[e(469)]-n[e(469)];if(r>0)break;if(r<0)s++;else{if(!t[e(483)]&&n[e(483)])break;if(n[e(483)]||!t[e(483)]){if(t[e(428)]>n[e(428)])break;s++}else s++}}return s}[et(181)](t){const e=et,i=this[e(340)][e(411)](t.id);if(t[e(428)]&&(t[e(428)]=new Date(t[e(428)])),t[e(310)]){const i=this[e(338)][e(255)][e(405)](e(227));t[e(272)]=t[e(310)][e(355)]((t=>i[e(180)](t)))}i[e(270)](t,!0)}[et(200)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(469)],i=null!==i?i:t[s(271)];const n=this[s(377)][s(218)](e,i),r={diffData:n[s(406)],authorsIds:n[s(310)],fromVersion:e,toVersion:i};if(!t||i!==t[s(271)]){const t=i-1,e=this[s(311)][s(302)][s(363)](t);r[s(428)]=e&&e[s(428)]||new Date}if(this[s(246)]&&e===this[s(246)][s(469)])for(const t of this[s(246)][s(272)])r[s(310)][s(488)](t.id)||r[s(310)][s(258)](t.id);return r}[et(390)](t){const e=et;if(!t||t[e(406)])return Promise[e(213)]();{const i=this[e(338)][e(339)][e(405)](e(205));return this[e(274)][e(411)]({channelId:i,revisionId:t.id})[e(305)]((i=>{const s=e;t[s(406)]=i[s(406)]}))}}[et(303)](t,e,i){const s=et;if(this[s(436)][s(244)](t)){const n=this[s(436)][s(405)](t);e=i?{...n,...e}:{...e,...n}}this[s(436)][s(408)](t,e)}[et(267)](t){const e=et,i=this[e(340)][e(324)]();i[e(409)](),i[e(378)]();const s=i[e(329)]((i=>i[e(271)]<=t))[e(271)];return s<this[e(275)]?this[e(275)]:s}[et(464)](t){const e=et,i=this[e(340)][e(411)](this[e(340)][e(283)]-1);if(i)this[e(231)]=i.id;else{const i=!this[e(338)][e(376)][e(291)][e(460)][e(329)]((t=>this[e(338)][e(376)][e(343)](t))),s=this[e(338)][e(255)][e(405)](e(227)).me.id,n=Y(this[e(338)][e(198)],e(i?350:262));this[e(193)]({from:t,to:t,id:this[e(231)],name:n,creatorId:s})}}[et(320)](t){const e=et,i=this[e(311)][e(285)]();this[e(455)]=this[e(340)][e(411)](i),this[e(455)]||(this[e(455)]=this[e(193)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(193)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(200)]({from:e,to:i});o[r(473)]=t,o[r(435)]=s,o.id=n;const a=this[r(393)](o);return this[r(274)]&&this[r(303)](o.id,o,!0),a}[et(309)](){const t=et;this[t(338)][t(313)][t(426)](t(465))[t(399)]({model:t(292)})}[et(172)](t){const e=et;return(t=t[e(243)]((t=>!t[e(473)]||e(457)!==t[e(473)]&&e(260)!==t[e(473)])))[e(241)]((t=>{const i=e;i(199)!=typeof t&&(t[i(233)]=this[i(172)](t[i(233)]),t[i(365)]=t[i(365)][i(243)]((t=>!t[0][i(217)](i(280)))))})),t}}function rt(t,e){const i=et,s=e[i(332)][i(360)][i(291)];if(i(199)==typeof t)return new H.ViewText(s,t);{const n=t[i(233)][i(355)]((t=>rt(t,e)));return new(st[t[i(323)]]||H.ViewElement)(s,t[i(473)],t[i(365)],n)}}class ot{[et(338)];[et(239)];[et(384)];[et(268)];[et(174)];[et(317)];[et(427)];[et(475)];[et(429)];[et(482)];[et(201)];[et(326)];[et(419)];[et(307)];[et(449)];[et(466)];[et(352)];constructor(t){const e=et;this[e(338)]=t,this[e(384)]=new Map,this[e(268)]=-1,this[e(174)]=-1,this[e(317)]=new Map,this[e(427)]=new Map,this[e(475)]=new Map,this[e(429)]=new Map,this[e(482)]=new Map,this[e(201)]=new Map,this[e(326)]=new Map,this[e(419)]=new Map,this[e(307)]=new Map,this[e(449)]=new Map,this[e(466)]=1}[et(344)](t){const e=et;this[e(239)]=t;const i=new Map,s=new Map,n=this[e(338)][e(376)][e(291)][e(460)][e(355)]((t=>t[e(299)]));for(const t of n){const n=this[e(338)][e(376)][e(291)][e(178)](t),r=at(n);i[e(408)](t,r),s[e(408)](t,Object[e(173)](n[e(206)]()))}const r=Array[e(182)](this[e(338)][e(376)][e(358)])[e(355)]((t=>[t[e(473)],t[e(437)]()])),o=this[e(239)][e(453)];this[e(304)](o,i,r,s),this[e(352)]=this[e(466)];const a=new Map,c=new Map;for(const t of n){const i=ct(t);a[e(408)](t,i),c[e(408)](t,{})}this[e(304)](Number[e(450)],a,[],c)}[et(218)](t,e){const i=et;if(this[i(268)]===t&&this[i(174)]<=e)this[i(384)][i(298)]>1&&this[i(208)](this[i(174)]),this[i(438)](this[i(174)],e,!0);else{if(!this[i(384)][i(244)](t)){const e=this[i(247)](t);this[i(319)](e,t,!1)}this[i(319)](t,e,!0)}return this[i(268)]=t,this[i(174)]=e,this[i(196)]()}[et(379)](t){const e=et;this[e(452)](),this[e(268)]=t[e(469)],this[e(174)]=t[e(271)];for(const i in t[e(406)]){const s=t[e(406)][i][e(221)],n=R(t[e(406)][i][e(315)])||{},r=this[e(261)](t[e(406)][i][e(417)]);r[e(299)]=i,r[e(184)]=!s||!s[e(266)],r[e(266)]=()=>r[e(184)],this[e(429)][e(408)](i,r),this[e(482)][e(408)](i,n),s&&this[e(449)][e(408)](i,s);const o=this[e(188)](r);this[e(326)][e(408)](i,o);for(const[t,i]of r[e(358)]){if(!t[e(217)](e(301)))continue;const s=t[e(288)](":")[2];for(const t of i[e(248)]({singleCharacters:!0})){const i=this[e(425)](t),n=e(373)==t[e(323)]?t[e(334)][e(276)][e(346)](0,-1):t[e(334)][e(276)],r=o[e(232)](n)[e(328)](i);this[e(419)][e(408)](r,{userId:s})}}}this[e(352)]=this[e(466)];const i=[...Array(this[e(466)])[e(234)]()][e(346)](1)[e(243)]((t=>!this[e(419)][e(244)](t)));let s=0;const n=new Map;for(const r in t[e(406)]){const o=t[e(406)][r][e(221)],a=R(t[e(406)][r][e(412)])||{},c=this[e(261)](t[e(406)][r][e(273)]);c[e(299)]=r,c[e(184)]=!o||o[e(266)],c[e(266)]=()=>c[e(184)],this[e(427)][e(408)](r,c),this[e(475)][e(408)](r,a);const u=this[e(188)](c,Number[e(450)]);this[e(201)][e(408)](r,u),n[e(408)](r,c[e(266)]()?a:{});for(const[t,i]of c[e(358)]){if(!t[e(217)](e(301)))continue;const s=t[e(288)](":")[2];for(const t of i[e(248)]({singleCharacters:!0})){const i=this[e(425)](t),n=this[e(466)]++,r=e(373)==t[e(323)]?t[e(334)][e(276)][e(346)](0,-1):t[e(334)][e(276)];u[e(232)](r)[e(362)](i,n),this[e(419)][e(408)](n,{userId:s})}}for(const t of this[e(338)][e(376)][e(192)](c)[e(248)]({singleCharacters:!0})){const n=this[e(425)](t),r=e(373)==t[e(323)]?t[e(334)][e(276)][e(346)](0,-1):t[e(334)][e(276)],o=u[e(232)](r);o[e(328)](n)>0||o[e(362)](n,i[s++])}for(const[t,i]of c[e(358)])t[e(217)](e(301))||this[e(317)][e(408)](t,i)}const r=ct(e(481));this[e(429)][e(408)](e(481),r),this[e(326)][e(408)](e(481),this[e(188)](r,1));const o=ct(e(481));this[e(427)][e(408)](e(481),o),this[e(201)][e(408)](e(481),this[e(188)](o,1));const a=Array[e(182)](this[e(427)])[e(355)]((([t,e])=>[t,at(e)]));this[e(304)](this[e(174)],a,this[e(317)],n)}[et(261)](t){const e=et,i=JSON[e(256)](t),s=this[e(338)][e(332)][e(360)][e(291)],n=new H.ViewDocumentFragment(s,i[e(355)]((t=>rt(t,this[e(338)]))));return this[e(338)][e(414)][e(337)](n)}[et(304)](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(408)](t,{start:e[n(250)][n(402)](),end:e[n(424)][n(402)](),rootName:e[n(333)][n(299)]});this[n(384)][n(408)](t,{roots:r,markers:a,rootsAttributes:o})}[et(208)](t){const e=et;this[e(384)][e(392)](t)}[et(471)](){const t=et;this[t(452)](),this[t(268)]=-1,this[t(174)]=-1,this[t(384)][t(422)](),this[t(344)](this[t(239)])}[et(452)](){const t=et;this[t(419)][t(422)](),this[t(307)][t(422)](),this[t(449)][t(422)](),this[t(427)][t(422)](),this[t(475)][t(422)](),this[t(429)][t(422)](),this[t(482)][t(422)](),this[t(201)][t(422)](),this[t(326)][t(422)](),this[t(317)][t(422)](),this[t(466)]=1,this[t(352)]=this[t(466)]}[et(188)](t,e=null){const i=et;let s=null;t.is(i(168))||(s=new H.Element(t[i(473)],{vid_start:null===e?this[i(466)]++:e++}));const n=[];for(const s of t[i(294)]())if(s.is(i(316))){n[i(258)](this[i(188)](s,e));const t=n[n[i(283)]-1];null!==e&&(e=t.is(i(316),i(370))?t[i(328)](i(430))+1:t[i(328)](i(421))+1)}else for(let t=0;t<s[i(459)];t++)n[i(258)](new H.Element(i(370),{vid:null===e?this[i(466)]++:e++}));if(t.is(i(168))){const e=ct(t[i(299)]);return e[i(186)](0,n),e}return s[i(362)](i(421),null===e?this[i(466)]++:e++),s[i(186)](0,n),s}[et(319)](t,e,i){const s=et;this[s(452)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(384)][s(405)](t);this[s(429)]=new Map(n),this[s(482)]=new Map(R(o));for(const[t,e]of this[s(429)])if(s(481)!==t&&(this[s(427)][s(408)](t,at(e)),this[s(475)]=new Map(R(o)),i)){const i=this[s(466)];this[s(201)][s(408)](t,this[s(188)](e)),this[s(326)][s(408)](t,this[s(188)](e,i))}this[s(352)]=this[s(466)],this[s(427)][s(408)](s(481),at(this[s(429)][s(405)](s(481)))),i&&this[s(201)][s(408)](s(481),this[s(188)](this[s(429)][s(405)](s(481))));for(const[t,e]of r){const i=this[s(429)][s(405)](e[s(299)]),n=this[s(427)][s(405)](e[s(299)]),r=new H.Range(this[s(467)](e[s(250)],i),this[s(467)](e[s(424)],i)),o=this[s(207)](r,n);i[s(358)][s(408)](t,r),this[s(317)][s(408)](t,o)}this[s(438)](t,e,i)}[et(438)](t,e,i){const s=et;for(const n of this[s(239)][s(420)](t,e))this[s(325)](n,i);for(const t of this[s(427)][s(484)]())t[s(358)][s(422)]();for(const[t,e]of this[s(317)])this[s(427)][s(405)](e[s(333)][s(299)])[s(358)][s(408)](t,e[s(402)]());const n=new Map,r=new Map;for(const[t,e]of this[s(427)])n[s(408)](t,at(e)),r[s(408)](t,this[s(475)][s(405)](t));this[s(304)](e,n,this[s(317)],r)}[et(247)](t){const e=et,i=Array[e(182)](this[e(384)][e(234)]());i[e(297)](((t,e)=>t-e)),i[e(409)]();for(const e of i)if(e<t)return e;return Number[e(450)]}[et(330)](t,e){const i=et,s=Array[i(182)](e[i(358)])[i(355)]((([e,s])=>[e,this[i(207)](s,t)]));t[i(358)]=new Map(s)}[et(169)](t){const e=et;for(const i of this[e(317)][e(484)]()){const s=i[e(211)](t),n=H.Range[e(341)](s);i[e(250)]=n[e(250)],i[e(424)]=n[e(424)]}}[et(325)](t,e){const i=et;if(i(454)!=t[i(323)]&&i(468)!=t[i(323)]){if(i(368)==t[i(323)]){const s=t[i(171)][i(333)][i(299)];this[i(427)][i(244)](s)||(this[i(427)][i(408)](s,ct(s,!0)),this[i(475)][i(408)](s,{}),e&&this[i(201)][i(408)](s,ct(s,!0)))}else{if(i(282)==t[i(323)]||i(183)==t[i(323)]||i(474)==t[i(323)])return void this[i(345)](t);i(237)==t[i(323)]&&this[i(318)](t)}if(i(237)!==t[i(323)]){const e=this[i(461)](t,this[i(427)]);e[i(176)](),this[i(169)](e)}if(e)switch(t[i(323)]){case i(368):this[i(278)](t);break;case i(431):case i(229):case i(263):this[i(331)](t);break;case i(354):this[i(418)](t);break;case i(288):this[i(442)](t)}}else this[i(224)](t,e)}[et(461)](t,e){const i=et,s=t[i(402)]();return s[i(195)]=t[i(195)],this[i(375)](s,e),s}[et(281)](t){const e=et;return t[e(355)]((t=>{const i=e,s=this[i(425)](t);return Number(t[i(456)][i(328)](s))}))}[et(187)](t,e){const i=et;if(t.is(i(316),i(370)))e[i(258)]({item:t,type:i(441)});else{t.is(i(316))&&e[i(258)]({item:t,type:i(306)});for(const s of t[i(294)]())this[i(187)](s,e);t.is(i(316))&&e[i(258)]({item:t,type:i(373)})}return e}[et(196)](){const t=et,e=new Map(this[t(419)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(429)][t(234)](),...this[t(427)][t(234)]()]);a[t(392)](t(481));for(const e of a){const i=this[t(427)][t(405)](e)||ct(e,!1),s=this[t(429)][t(405)](e)||ct(e,!1);i[t(266)]()||s[t(266)]()?(n[t(273)][e]=at(i),n[t(417)][e]=at(s),this[t(330)](n[t(417)][e],s),this[t(330)](n[t(273)][e],i),r[t(273)][e]=this[t(187)](this[t(201)][t(405)](e),[]),r[t(417)][e]=this[t(187)](this[t(326)][t(405)](e)||ct(e,!1),[])):a[t(392)](e)}for(const n of a){const o=r[t(273)][n];for(const n of o){const r=this[t(425)](n),o=n[t(456)][t(328)](r);i[t(392)](o),o>=this[t(352)]&&s[t(408)](o,e[t(405)](o))}}for(const n of a){const a=r[t(273)][n],c=this[t(281)](r[t(417)][n]);let u=0;for(const n of a){const r=this[t(425)](n),a=n[t(456)][t(328)](r);if(!s[t(244)](a)&&!o[t(244)](a))if(i[t(244)](a))u++;else{if(a!=c[u]){const s=e[t(405)](a)||e[t(405)](c[u]);for(;a!=c[u];)i[t(244)](c[u])||(o[t(408)](c[u],s),e[t(408)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(273)][e];for(const e of n){const n=this[t(425)](e),r=e[t(456)][t(328)](n);if(o[t(244)](r)){const e=o[t(405)](r);i[t(244)](r)||i[t(408)](r,{...e}),s[t(408)](r,{...e})}}}for(const e of i[t(234)]())e>=this[t(352)]&&i[t(392)](e);const c=new Map;for(const e of a){let n=r[t(273)][e];for(const e of n)if(e[t(456)].is(t(316),t(209))){const i=this[t(425)](e),n=e[t(456)][t(328)](i);if(s[t(244)](n)){const i=e[t(456)][t(444)][t(444)][t(328)](t(353)),r=c[t(405)](i)||new Set;r[t(295)](s[t(405)](n)[t(264)]),c[t(408)](i,r)}}n=r[t(417)][e];for(const e of n)if(e[t(456)].is(t(316),t(209))){const s=this[t(425)](e),n=e[t(456)][t(328)](s);if(i[t(244)](n)){const s=e[t(456)][t(444)][t(444)][t(328)](t(353)),r=c[t(405)](s)||new Set;r[t(295)](i[t(405)](n)[t(264)]),c[t(408)](s,r)}}for(const e of c[t(234)]())(s[t(244)](e)||i[t(244)](e))&&c[t(392)](e)}for(const e of a){const n=r[t(273)][e];let o=null,a=null;for(const e of n){const n=this[t(425)](e),r=e[t(456)][t(328)](n),u=c[t(405)](r);u&&t(306)==e[t(323)]&&(o=Array[t(182)](u)[0],a=e[t(456)][t(328)](t(421))),o&&(i[t(408)](r,{userId:o}),s[t(408)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(417)][e],a=n[t(273)][e];for(const{userId:e}of this[t(307)][t(484)]())null!==e&&l[t(295)](e);for(const{userId:e}of this[t(449)][t(484)]())null!==e&&l[t(295)](e);this[t(190)](a,r[t(273)][e],s,t(203),l),this[t(190)](o,r[t(417)][e],i,t(194),l),u[e]={insertions:this[t(395)](a),deletions:this[t(395)](o),attachChange:this[t(449)][t(405)](e)||null,attributesBefore:R(this[t(482)][t(405)](e))||{},attributesAfter:R(this[t(475)][t(405)](e))}}return{diffData:u,authorsIds:Array[t(182)](l)}}[et(189)](t){const e=et;for(const[,i]of t[e(358)]){const t=i[e(250)][e(314)]()[e(243)]((t=>e(209)==t[e(473)]));for(const i of t)1==i[e(385)]&&i[e(204)](0).is(e(316),e(300))&&i[e(204)](0)[e(362)](e(230),!0)}}[et(395)](t){const e=et;this[e(189)](t);const i=this[e(338)][e(414)][e(210)](t,{}),s=Array[e(182)](i[e(294)]())[e(355)]((t=>this[e(478)](t)));return JSON[e(165)](s)}[et(478)](t){const e=et;if(t.is(e(370)))return t[e(414)];{const i=t;return{type:Object[e(234)](st)[e(329)]((e=>t instanceof st[e])),name:i[e(473)],attributes:Array[e(182)](i[e(206)]()),children:Array[e(182)](i[e(294)]())[e(355)]((t=>this[e(478)](t)))}}}[et(190)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(338)][r(376)];for(let s=0;s<e[r(283)];s++){const n=this[r(425)](e[s]),c=e[s][r(456)][r(328)](n),h=i[r(405)](c),d=s==e[r(283)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(264)]!=o[r(264)])&&(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(264)],d=l(301)+s+":"+h+":"+c++,f=u[l(175)](i,a);t[l(358)][l(408)](d,f),null!==h&&n[l(295)](h)}}[et(425)](t){const e=et;switch(t[e(323)]){case e(306):return e(353);case e(373):return e(421);default:return e(430)}}[et(375)](t,e){const i=et;t[i(443)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(405)](n[i(333)][i(299)]);t[s]=this[i(467)](n,r)}if(n instanceof H.Range){const r=e[i(405)](n[i(333)][i(299)]);t[s]=this[i(207)](n,r)}i(333)===s&&(t[i(333)]=e[i(405)](t[i(333)][i(299)]))}}[et(207)](t,e){const i=et;return this[i(338)][i(376)][i(175)](this[i(467)](t[i(250)],e),this[i(467)](t[i(424)],e))}[et(467)](t,e){const i=et;return this[i(338)][i(376)][i(222)](e,t[i(276)],t[i(251)])}[et(278)](t){const e=et,i=this[e(201)][e(405)](t[e(171)][e(333)][e(299)]),s=this[e(467)](t[e(171)],i),n=null===t[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,r=s[e(444)],o=this[e(466)],a=[];for(const i of t[e(432)])if(i.is(e(316)))a[e(258)](this[e(188)](i));else for(let t=0;t<i[e(459)];t++)a[e(258)](new H.Element(e(370),{vid:this[e(466)]++}));const c=this[e(466)];for(let t=o;t<c;t++)this[e(419)][e(408)](t,{userId:n});r[e(186)](s[e(367)],a)}[et(331)](t){const e=et;(t=this[e(461)](t,this[e(201)]))[e(176)]();const i=null===t[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,s=t[e(177)](),n=s[e(444)],r=s[e(367)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(204)](e);r.is(a(316),a(370))?s[a(408)](r[a(328)](a(430)),{userId:i}):(s[a(408)](r[a(328)](a(353)),{userId:i}),t(s,r,0,r[a(385)]),s[a(408)](r[a(328)](a(421)),{userId:i}))}}(this[e(419)],n,r,r+t[e(410)])}[et(418)](t){const e=et,i=null===(t=this[e(461)](t,this[e(201)]))[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,s=t[e(167)][e(444)],n=t[e(322)][e(444)],r=s[e(328)](e(421)),o=n[e(328)](e(353));s[e(362)](e(421),n[e(328)](e(421))),n[e(362)](e(421),r),this[e(419)][e(408)](o,{userId:i}),this[e(419)][e(408)](r,{userId:i}),t[e(176)]()}[et(442)](t){const e=et,i=null===(t=this[e(461)](t,this[e(201)]))[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,s=t[e(386)],n=t[e(259)][e(444)];t[e(176)]();const r=n[e(328)](e(421)),o=t[e(212)][e(446)];if(s){const t=o[e(328)](e(421)),s=n[e(328)](e(421));n[e(362)](e(421),t),o[e(362)](e(421),s),this[e(419)][e(408)](n[e(328)](e(421)),{userId:i}),this[e(419)][e(408)](o[e(328)](e(353)),{userId:i})}else{const t=this[e(466)]++,s=this[e(466)]++;n[e(362)](e(421),t),o[e(362)](e(353),s),o[e(362)](e(421),r),this[e(419)][e(408)](t,{userId:i}),this[e(419)][e(408)](s,{userId:i})}}[et(318)](t){const e=et;if(!t[e(361)])return;const i=(t=this[e(461)](t,this[e(427)]))[e(245)]?t[e(245)][e(333)]:null,s=t[e(265)]?t[e(265)][e(333)]:null;i&&this[e(317)][e(392)](t[e(473)]),s&&this[e(317)][e(408)](t[e(473)],t[e(265)][e(402)]());const n=null===t[e(195)]?null:t[e(195)]||this[e(338)][e(255)][e(405)](e(227)).me.id,r=t[e(473)];if(!this[e(307)][e(244)](r))return void this[e(307)][e(408)](r,{range:t[e(245)],userId:n});const o=this[e(307)][e(405)](r),a=o[e(383)],c=t[e(265)];null==a&&null==c||a&&c&&a[e(485)](c)?this[e(307)][e(392)](t[e(473)]):o[e(264)]=n}[et(224)](t,e){const i=et;this[i(427)][i(244)](t[i(299)])?this[i(427)][i(405)](t[i(299)])[i(184)]=t[i(416)]:(this[i(427)][i(408)](t[i(299)],ct(t[i(299)],!0)),this[i(475)][i(408)](t[i(299)],{}),e&&this[i(201)][i(408)](t[i(299)],ct(t[i(299)],!0)));const s=null===t[i(195)]?null:t[i(195)]||this[i(338)][i(255)][i(405)](i(227)).me.id,n=this[i(449)][i(405)](t[i(299)]);n&&n[i(264)]===s?this[i(449)][i(392)](t[i(299)]):this[i(449)][i(408)](t[i(299)],{userId:s,isAttached:t[i(416)]})}[et(345)](t){const e=et,i=this[e(475)][e(405)](t[e(333)][e(299)]);null===t[e(434)]?delete i[t[e(342)]]:i[t[e(342)]]=t[e(434)]}}function at(t){const e=et,i=ct(t[e(299)],t[e(266)]());for(const s of t[e(294)]()){const t=s[e(413)](!0);i[e(382)](t)}return i}function ct(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(299)]=t,s[i(184)]=e,s[i(266)]=()=>s[i(184)],s}function ut(){const t=["42783bjYAHr","update","_loadRevisionData","default","delete","addRevisionData","createPositionAfter","_prepareViewToSave","invalid","requires","_isPendingUpdate","markerToData","useFillerType","revisionHistoryLicenseKeyValid","clone","getLatestVersion","revisionHistoryLicenseKeyExpired","get","diffData","setSource","set","reverse","howMany","getRevision","attributesAfter","_clone","data","marked","isAdd","deletions","_handleMergeOperation","_touched","getOperations","vid_end","clear","_findInsertionIndex","end","_getVidAttributeName","for","_diffRoots","createdAt","_baseRoots","vid","move","nodes","428181liqlDr","newValue","creatorId","_bufferedUpdates","getRange","_applyOperations","revisionHistoryLicenseKeyNotAllowed","featureNotAllowed","text","_handleSplitOperation","baseVersion","parent","createPositionBefore","nodeAfter","1276Fmbmkt","_isInit","_touchedRoots","NEGATIVE_INFINITY","getRootNames","_reset","version","addRoot","currentRevision","item","revision-start","getTime","offsetSize","roots","_cloneOperation","_continueCurrentRevision","afterInit","_createInitialRevision","dataDowncast","_revisionId","_fixPosition","detachRoot","fromVersion","revisionHistoryLicenseKeyEvaluationLimit","reInit","PENDING_ACTION_REVISION_HISTORY","name","changeRootAttribute","_diffRootsAttributes","PendingActions","770945cVwHhu","_getViewJson","_addPendingAction","revisionHistoryLicenseKeyUsageLimit","$graveyard","_baseRootsAttributes","creator","values","isEqual","RevisionHistory","trim","includes","stringify","ready","targetPosition","documentFragment","_transformMarkers","usageLimit","position","_removeRevisionMarkers","fromEntries","_lastTo","createRange","_execute","getMovedRangeStart","getRoot","sendBufferedUpdates","getUser","setRevisionData","from","removeRootAttribute","_isAttached","264bXOUMa","_insertChild","_generateTape","_makeIdsRoot","_processRootBeforeSave","_markChanges","revisionHistoryLicenseKeyInvalid","createRangeIn","_makeRevision","deletion","_authorId","_getState","upcast","locale","string","buildRevisionData","_idsRoots","createPositionAt","insertion","getChild","collaboration.channelId","getAttributes","_fixRange","_removeMetaData","tableCell","toView","getTransformedByOperation","insertionPosition","resolve","879nMBHhN","revisionHistoryLicenseKeyDomainLimit","RealTimeCollaborationClient","startsWith","getData","licenseKey","isReady","attachChange","createPositionFromPath","isEnabled","_handleRootOperation","dataToMarker","_replaceEditorDataWithRevisionData","Users","10OuIhKc","remove","keepParagraph","_initialRevisionId","getNodeByPath","children","keys","9770bIByby","isPremiumPlugin","marker","revisionHistoryLicenseKeyTrialLimit","source","domainLimit","forEach","_removePendingAction","filter","has","oldRange","_loadedStateData","_getPreviousFrom","getWalker","_pendingAction","start","stickiness","2172mjFyYo","finally","updateRevisions","plugins","parse","initial","push","splitPosition","revision-end","_makeModelFromViewString","Initial revision","reinsert","userId","newRange","isAttached","_getFromVersion","_lastFrom","pluginName","_update","toVersion","authors","insertions","adapter","_startingVersion","path","initialData","_handleInsertOperation","processor","data-revision-","_getBaseVids","addRootAttribute","length","editor-initial-data-replaced-with-revision-data","getCurrentRevisionId","getRevisionDocumentData","RevisionsRepository","split","createRevision","RevisionTracker","document","revision","842108cjsOaG","getChildren","add","6dubSlv","sort","size","rootName","paragraph","revision:","history","_bufferUpdate","_saveMetaData","then","elementStart","_touchedMarkers","trialLimit","_setConversion","authorsIds","_source","rootsAttributes","conversion","getAncestors","attributesBefore","element","_markers","_handleMarkerOperation","_calculateMetaData","_createCurrentRevision","saveRevision","sourcePosition","type","getRevisions","_handleOperation","_baseIdsRoots","_loadState","getAttribute","find","_copyMarkers","_handleMoveOperation","editing","root","previousPosition","define","revisionHistory.resumeUnsavedRevision","toModel","editor","config","repository","_createFromRanges","key","hasContent","init","_handleRootAttributeOperation","slice","isOfficialPlugin","bind","max","Empty document","268NpEfbz","_startingRevisionId","vid_start","merge","map","addRevision","_showLicenseError","markers","destroy","view","affectsData","_setAttribute","getOperation","some","attributes","_licenseKeyCheckInterval","offset","insert","getRevisionRootsAttributes","$text","expired","57393dwJlvu","elementEnd","getIndex","_fixOperation","model","_revisionDataBuilder","shift","loadState","_operations","evaluationLimit","_appendChild","range","_savedMetaData","childCount","graveyardPosition","toData"];return(ut=function(){return t})()}function lt(t,e,i){const s=et,n=s(373)==t[s(323)]?i[s(202)](t[s(456)],s(424)):i[s(445)](t[s(456)]);return i[s(222)](e,n[s(276)],n[s(251)])}function ht(t,e,i){const s=et,n=s(306)==t[s(323)]?i[s(202)](t[s(456)],0):i[s(394)](t[s(456)]);return i[s(222)](e,n[s(276)],n[s(251)])}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=At;function At(t,e){const i=Rt();return(At=function(t,e){return i[t-=320]})(t,e)}function Rt(){const t=["render","revisionNameInputValue","ck-revision-history-save-revision-form","ck-responsive-form","element","focusTracker","220","value","focus","input","fieldView","revisionNameInputView","2425000IOXuSh","3140kyroXV","form","Name of the revision","_createRevisionNameInput","arrowup","reset","revisionName","arrowleft","3195459DceOYh","588gfAAPx","label","2616JRijje","trim","errorText","2067974ZjQpwB","arrowdown","set","arrowright","10957338McemAG","19194RDFlpz","optional","setTemplate","listenTo","1Bwjqsv","keystrokes","locale","stopPropagation","extendTemplate","add","5551732lWChKn"];return(Rt=function(){return t})()}!function(t){const e=At,i=t();for(;;)try{if(694403===parseInt(e(347))/1*(parseInt(e(338))/2)+parseInt(e(332))/3+-parseInt(e(353))/4+-parseInt(e(324))/5*(-parseInt(e(333))/6)+parseInt(e(343))/7*(parseInt(e(335))/8)+-parseInt(e(342))/9+parseInt(e(323))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rt);class Mt extends ft.View{[Nt(359)];[Nt(348)];[Nt(322)];constructor(e,i){const s=Nt;super(e),this[s(359)]=new t.FocusTracker,this[s(348)]=new t.KeystrokeHandler,this[s(340)](s(355),""),this[s(322)]=this[s(327)](i),this[s(345)]({tag:s(325),attributes:{class:["ck",s(356),s(357)],tabindex:"-1"},children:[this[s(322)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(354)](){const t=Nt;super[t(354)](),(0,ft.submitHandler)({view:this}),this[t(359)][t(352)](this[t(322)][t(358)]),this[t(348)][t(346)](this[t(358)]);const e=e=>e[t(350)]();this[t(348)][t(340)](t(341),e),this[t(348)][t(340)](t(331),e),this[t(348)][t(340)](t(328),e),this[t(348)][t(340)](t(339),e)}[Nt(362)](){const t=Nt;this[t(322)][t(362)]()}get[Nt(330)](){const t=Nt;return this[t(322)][t(321)][t(358)][t(361)][t(336)]()}set[Nt(330)](t){const e=Nt;this[e(322)][e(321)][e(358)][e(361)]=t[e(336)]()}[Nt(329)](){const t=Nt;this[t(322)][t(321)][t(358)][t(361)]="",this[t(322)][t(337)]=null}[Nt(327)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(349)],ft.createLabeledInputText),s=i[e(321)];s[e(351)]({attributes:{maxlength:e(360)}});let n=Y(this[e(349)],e(326));return!t&&(n+=" ("+Y(this[e(349)],e(344))+")"),i[e(334)]=n,s.on(e(320),(()=>{const t=e;this[t(355)]=s[t(358)][t(361)][t(336)]()})),i}}const Vt=Dt;function Et(){const t=["focus","revisionHistory.requireRevisionName","delegate","RevisionHistoryUI","pluginName","plugins","12952FkSNdx","execute","_registerMenuComponent","requires","3218006bcKqWx","menuitem","locale","submit","revisionHistory","view","revisionNameInputView","saveRevision","Open revision history","Accept","Save current revision","componentFactory","2137898Zwamow","isEnabled","_showDialog","60VyajcP","bind","9421FQzZKJ","render","2296092wIkvXp","isOpen","2001790tDtjiw","revisionSave","revisionName","Cancel","items","isReady","5lGlWJe","isOfficialPlugin","_createSaveRevisionFormView","get","The revision name cannot be empty.","194gAgxwU","editing","buttonView","role","addMany","isReadOnly","config","panelView","children","menuBar:revisionHistory","add","menu","Revision history","show","hide","isPremiumPlugin","ck-button-action","1581ATNplM","81kadeML","errorText","set","Dialog","_saveRevisionFormView","init","reset","showRevisionViewerCallback","RevisionTracker","editor","6979136dtQrit"];return(Et=function(){return t})()}function Dt(t,e){const i=Et();return(Dt=function(t,e){return i[t-=361]})(t,e)}!function(t){const e=Dt,i=t();for(;;)try{if(911264===parseInt(e(382))/1*(parseInt(e(397))/2)+-parseInt(e(414))/3*(parseInt(e(361))/4)+parseInt(e(392))/5*(-parseInt(e(384))/6)+-parseInt(e(377))/7+-parseInt(e(425))/8+-parseInt(e(415))/9*(-parseInt(e(386))/10)+parseInt(e(365))/11*(parseInt(e(380))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Et);class Ct extends U.Plugin{static get[Vt(430)](){return Vt(429)}static get[Vt(393)](){return!0}static get[Vt(412)](){return!0}static get[Vt(364)](){return[nt]}[Vt(419)];[Vt(420)](){const t=Vt,e=this[t(424)],i=e[t(431)][t(395)](t(423));e.ui[t(376)][t(407)](t(369),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(404)][n(405)],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(381)](n(378)).to(i,n(391),i,n(378),e,n(402),((t,e,i)=>t&&e&&!i)),r[n(399)][n(417)]({icon:dt.IconHistory,label:Y(s,n(409)),tooltip:!0}),u[n(417)]({label:Y(s,n(375)),withText:!0,role:n(366)}),u[n(381)](n(378)).to(i,n(391),i,n(378),e,n(402),((t,e,i)=>t&&e&&!i)),u.on(n(362),(()=>this[n(379)]())),h[n(417)]({label:Y(s,n(373)),withText:!0,role:n(366)}),h[n(381)](n(378)).to(i,n(391),e,n(402),((t,e)=>t&&!e)),h.on(n(362),(()=>{const t=n;e[t(403)][t(395)](t(369))[t(422)](),r[t(385)]=!1,e[t(398)][t(370)][t(426)]()})),c[n(405)][n(407)](u),l[n(405)][n(407)](h),a[n(400)]=n(408),a[n(390)][n(401)]([c,l]),o[n(407)](a),r})),e.ui[t(376)][t(407)](t(406),(()=>this[t(363)]()))}[Vt(363)](){const t=Vt,e=this[t(424)],i=e[t(367)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(399)][t(417)]({icon:dt.IconHistory,label:Y(i,t(409))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(417)]({label:Y(i,t(375))}),o[t(428)](t(362)).to(s),o.on(t(362),(()=>{this[t(379)]()})),r[t(405)][t(407)](o),n[t(390)][t(407)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(417)]({label:Y(i,t(373))}),c[t(428)](t(362)).to(s),c.on(t(362),(()=>{const i=t;e[i(403)][i(395)](i(369))[i(422)]()})),a[t(405)][t(407)](c),n[t(390)][t(407)](a),s[t(404)][t(405)][t(407)](n),s}[Vt(379)](){const t=Vt,e=this[t(424)],i=e[t(367)],s=e[t(431)][t(395)](t(418)),n=e[t(431)][t(395)](t(423));function r(n){const r=t;e[r(403)][r(395)](r(427))&&""===n[r(388)]?n[r(371)][r(416)]=Y(i,r(396)):(e[r(431)][r(395)](nt)[r(372)]({name:n[r(388)]}),s[r(411)]())}this[t(419)]||(this[t(394)](),this[t(419)].on(t(368),(()=>r(this[t(419)])))),this[t(419)][t(421)](),s[t(410)]({id:t(387),title:Y(i,t(375)),isModal:!0,content:this[t(419)],actionButtons:[{label:Y(e[t(367)],t(389)),withText:!0,onExecute:()=>s[t(411)]()},{label:Y(e[t(367)],t(374)),class:t(413),withText:!0,onCreate(i){const s=t;i[s(381)](s(378)).to(n,s(391),n,s(378),e,s(402),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(419)])}]})}[Vt(394)](){const t=Vt,e=this[t(424)],i=e[t(367)];this[t(419)]=new Mt(i,e[t(403)][t(395)](t(427))),this[t(419)][t(383)]()}}function Ft(t,e){const i=Pt();return(Ft=function(t,e){return i[t-=101]})(t,e)}const jt=Ft;function Pt(){const t=["bindTemplate","data","_model","type","ck-annotation","setTemplate","name","90mFTfml","span","isSuggestion","add","ck-revision-change__label","ck-revision-change","7MapKCC","Suggested by","15AKDEYV","div","ck-revision-change__","set","Removed by","Added by","author","element","64440wqIoFG","11577467jOjmQv","1886212JNqSST","2021478FDdtuc","803909sgMaEy","focus","changeId","463200aoPtay","189TqTytS","9159816tqchMM"];return(Pt=function(){return t})()}!function(t){const e=Ft,i=t();for(;;)try{if(774202===-parseInt(e(119))/1+parseInt(e(117))/2+parseInt(e(123))/3*(-parseInt(e(115))/4)+parseInt(e(107))/5*(-parseInt(e(118))/6)+-parseInt(e(105))/7*(-parseInt(e(124))/8)+-parseInt(e(132))/9*(-parseInt(e(122))/10)+parseInt(e(116))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Lt extends ft.View{[jt(121)];[jt(127)];constructor(t,e){const i=jt;super(t),this[i(127)]=e,this[i(121)]=e.id;const s=this[i(125)],n=Y(t,e[i(126)][i(101)]?i(106):i(102)==e[i(128)]?i(112):i(111));this[i(110)](i(128),e[i(128)]),this[i(130)]({tag:i(108),attributes:{class:[i(129),i(104),s.to(i(128),(t=>i(109)+t))],tabindex:-1},children:[{tag:i(133),children:[{tag:i(133),attributes:{class:[i(103)]},children:[{text:n}]},{text:" "+e[i(113)][i(131)]}]}]})}[jt(120)](){const t=jt;this[t(114)][t(120)]()}}var zt=Wt;function Wt(t,e){var i=Ut();return(Wt=function(t,e){return i[t-=181]})(t,e)}function Ut(){var t=["1373050SMTGTQ","toJSON","set","8DUoRZn","1259705OkVQYP","1xPOmaA","data","564cEQdLS","rootName","2268IaSJjr","4881JZyZiL","359361HfRwJR","6kLUWMx","710072MdQNPe","12880417naPSHC","createdAt","type","author"];return(Ut=function(){return t})()}!function(t){for(var e=Wt,i=t();;)try{if(236863===-parseInt(e(185))/1*(parseInt(e(193))/2)+-parseInt(e(190))/3*(parseInt(e(187))/4)+-parseInt(e(184))/5*(parseInt(e(192))/6)+parseInt(e(189))/7*(-parseInt(e(183))/8)+parseInt(e(191))/9+-parseInt(e(198))/10+parseInt(e(194))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Zt extends((0,t.ObservableMixin)()){id;[zt(197)];[zt(196)];[zt(186)];[zt(188)];constructor(e){var i=zt;super(),this.id=e.id||(0,t.uid)(),this[i(197)]=e[i(197)],this[i(196)]=e[i(196)],this[i(186)]=e[i(186)]||{},this[i(188)]=e[i(188)],this[i(182)](i(195),e[i(195)])}[zt(181)](){var t=zt;return{id:this.id,authorId:this[t(197)].id,type:this[t(196)],data:this[t(186)],createdAt:this[t(195)]}}}const Ht=qt;function qt(t,e){const i=$t();return(qt=function(t,e){return i[t-=237]})(t,e)}function $t(){const t=["add","oldRevisionId","449047DpBsAA","1244424vyybOe","18UMMdhn","newRevisionId","711208GlyAUf","2731281ReKcfM","14690490odmZTo","810204nWqRTe","_setChanges","220450orGpEJ","4AoTBEL","changes","10fkBEYv"];return($t=function(){return t})()}!function(t){const e=qt,i=t();for(;;)try{if(232970===-parseInt(e(241))/1+parseInt(e(250))/2+-parseInt(e(248))/3*(parseInt(e(251))/4)+parseInt(e(238))/5*(-parseInt(e(242))/6)+-parseInt(e(246))/7+parseInt(e(245))/8*(parseInt(e(243))/9)+parseInt(e(247))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Bt{[Ht(244)];[Ht(240)];[Ht(237)];constructor(e,i){const s=Ht;this[s(244)]=e,this[s(240)]=i,this[s(237)]=new t.Collection}[Ht(249)](t){const e=Ht;for(const i of t)this[e(237)][e(239)](i)}}var Jt=i(536),Yt={attributes:{"data-cke":!0}};Yt.setAttributes=wt(),Yt.insert=kt().bind(null,"head"),Yt.domAPI=gt(),Yt.insertStyleElement=It();pt()(Jt.A,Yt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Gt=Kt;function Kt(t,e){const i=ee();return(Kt=function(t,e){return i[t-=431]})(t,e)}!function(t){const e=Kt,i=t();for(;;)try{if(343524===parseInt(e(628))/1+parseInt(e(762))/2+parseInt(e(699))/3*(-parseInt(e(599))/4)+-parseInt(e(624))/5+parseInt(e(626))/6+-parseInt(e(689))/7*(parseInt(e(437))/8)+-parseInt(e(486))/9*(-parseInt(e(768))/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{[Gt(676)];[Gt(715)];[Gt(541)];[Gt(728)];[Gt(675)];[Gt(472)];static get[Gt(536)](){return Gt(491)}static get[Gt(462)](){return!0}static get[Gt(554)](){return!0}static get[Gt(449)](){return[Z.Users,ft.ContextualBalloon,J]}constructor(t){const e=Gt;super(t),this[e(676)]=this[e(463)][e(544)][e(704)](e(561)),this[e(684)](e(495),null),this[e(684)](e(616),null),this[e(541)]=null,this[e(684)](e(668),null),this[e(684)](e(757),!1),this[e(684)](e(574),!0),this.on(e(516),((t,i,s)=>{const n=e;this[n(495)]=null,this[n(616)]=null,this[n(463)][n(645)][n(597)][n(567)]((t=>{const e=n;for(const i of this[e(463)][e(645)][e(597)][e(598)][e(507)])s?t[e(604)](e(468),i):t[e(737)](e(468),i)}))})),this[e(654)](e(526)).to(this,e(495),(t=>null!==t)),this[e(654)](e(697)).to(this,e(757),this,e(668),this,e(495),((t,i,s)=>t&&s?i[e(593)][e(591)](s):0)),this[e(654)](e(503)).to(this,e(757),this,e(668),((t,i)=>t?i[e(593)][e(473)]:0)),this[e(728)]=null,this[e(675)]=new Map,this[e(715)]=null,this[e(472)]=this[e(463)][e(544)][e(704)](ft.ContextualBalloon)}[Gt(589)](){const t=Gt,e=this[t(463)],i=new se(e,{direction:t(752)}),s=new se(e,{direction:t(725)});e[t(445)][t(448)](t(703),i),e[t(445)][t(448)](t(727),s),e[t(445)][t(448)](t(537),new ie(e)),this.on(t(552),(()=>{const e=t;i[e(563)](),s[e(563)]()})),this[t(644)](),this[t(730)](),e[t(492)](t(481)),e[t(544)][t(741)](t(572))&&e[t(544)][t(704)](t(572))[t(464)](t(481))}async[Gt(656)](t){const e=Gt;await this[e(518)](t);const i={};for(const s in t[e(682)]){if(t[e(682)][s][e(611)]&&!t[e(682)][s][e(611)][e(568)])continue;const n=this[e(639)](JSON[e(488)](t[e(682)][s][e(505)])),r=this[e(463)][e(645)][e(597)][e(598)],o=new H.ViewDocumentFragment(r,n[e(672)]((t=>this[e(467)](t))));this[e(463)][e(655)][e(479)][e(615)](e(489)),i[s]=this[e(463)][e(655)][e(479)][e(710)](o),this[e(463)][e(655)][e(479)][e(615)](e(605))}return i}async[Gt(700)](t){const e=Gt;await this[e(518)](t);const i={};for(const s in t[e(682)])t[e(682)][s][e(611)]&&!t[e(682)][s][e(611)][e(568)]||(i[s]=t[e(682)][s][e(673)]||{});return i}[Gt(639)](t){const e=Gt;return(t=t[e(693)]((t=>!t[e(713)]||e(576)!==t[e(713)]&&e(443)!==t[e(713)])))[e(711)]((t=>{const i=e;i(553)!=typeof t&&(t[i(671)]=this[i(639)](t[i(671)]),t[i(736)]=t[i(736)][i(693)]((t=>!t[0][i(686)](i(458)))))})),t}async[Gt(744)](t,e,i=!1){const s=Gt;if(!this[s(574)])return;const n=this[s(668)],r=this[s(676)],o=s(553)==typeof t?r[s(665)](t):t,a=s(553)==typeof e?r[s(665)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(668)]&&this[s(668)][s(714)]===c&&this[s(668)][s(642)]===u)return Promise[s(763)]();this[s(757)]=!1,this[s(616)]=null,this[s(495)]=null,this[s(668)]=new Bt(c,u);const l=this[s(531)](o,a,!0)[s(672)]((t=>this[s(518)](t)));return l[s(451)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(721)](l)[s(474)]((()=>{const t=s;if(!this[t(574)])return;this[t(669)]();const e=this[t(687)](c,u);for(const i of e[t(593)])this[t(675)][t(684)](i.id,i);this[t(463)][t(622)][t(701)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(463)][s(622)][s(598)][s(564)]())i[s(755)](t);for(const t of Object[s(581)](e[s(622)])){const n=i[s(496)](t);for(const r of Object[s(581)](e[s(736)][t]))i[s(614)](r,e[s(736)][t][r],n);i[s(556)](e[s(622)][t],n,0)}})),this[t(668)][t(444)](this[t(538)](e[t(593)])),this[t(757)]=!0}))[s(749)]((t=>{const e=s;console[e(702)](t),this[e(669)](),n&&(this[e(668)]=n),this[e(757)]=!0}))}[Gt(663)](t,e){const i=Gt,s=this[i(676)][i(619)](t);return s.on(i(681),((t,i,n)=>e(i,n,s))),this[i(676)][i(482)](s),s}[Gt(518)](t){const e=Gt;if(!t||t[e(682)])return Promise[e(763)]();{const i=this[e(463)][e(723)][e(704)](e(657));return this[e(715)][e(665)]({channelId:i,revisionId:t.id})[e(474)]((i=>{const s=e;t[s(681)]({diffData:i[s(682)]},!0)}))}}[Gt(669)](){const t=Gt;this[t(495)]=null,this[t(579)](),this[t(728)]&&this[t(728)][t(691)](),this[t(728)]=null,this[t(675)][t(587)](),this[t(463)][t(622)][t(701)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(463)][i(622)][i(598)][i(564)]())e[i(755)](t)}))}[Gt(538)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(463)][e(622)][e(598)][e(564)]()){const n=this[e(463)][e(645)][e(597)][e(465)](t);if(!n)continue;const r=n[e(742)]()[e(634)](0);r&&(i[e(451)](t),s[e(684)](t,r))}return i[e(580)](((t,i)=>{const n=e,r=s[n(704)](t),o=s[n(704)](i);return r.y-o.y||r.x-o.x})),(t=t[e(693)]((t=>i[e(680)](t[e(543)]))))[e(580)](((t,s)=>i[e(557)](t[e(543)])-i[e(557)](s[e(543)]))),t}[Gt(586)](t){const e=Gt,i=Array[e(718)](t[e(708)])[e(693)]((([t,i])=>t[e(686)](e(460))&&!i[e(549)])),s=Array[e(718)](this[e(463)][e(622)][e(595)](t)[e(528)]({singleCharacters:!0}));if(0!=i[e(473)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(733)](":");if(n[e(677)][e(612)](t[e(584)])&&i[e(754)](),(t[e(738)][e(612)](n[e(560)])||t[e(738)][e(692)](n[e(560)]))&&(e(499)==r?t[e(455)]={userId:o}:e(707)==r&&(t[e(436)]={userId:o})),0==i[e(473)])break}return s}[Gt(478)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(473)];s++)e(603)===t[s][e(511)]?(t[s][e(634)][e(662)]=s,t[s][e(634)][e(747)]=s):(e(487)===t[s][e(511)]?t[s][e(634)][e(662)]=s:e(607)===t[s][e(511)]&&(t[s][e(634)][e(747)]=s),i[e(684)](t[s].id,s));for(const s of i[e(524)]())e(487)===t[s][e(511)]?t[s][e(634)][e(747)]=i[e(704)](t[s][e(739)]):e(607)===t[s][e(511)]&&(t[s][e(634)][e(662)]=i[e(704)](t[s][e(739)]))}[Gt(534)](t){const e=Gt;for(let i=0;i<t[e(473)];i++){if(e(487)===t[i][e(511)])t[i][e(634)][e(662)]=i;else if(e(607)===t[i][e(511)]){t[i][e(634)][e(747)]=i;const s=t[i][e(634)][e(662)];t[s][e(739)]=t[i].id,t[i][e(739)]=t[s].id}else t[i][e(634)][e(662)]=i,t[i][e(634)][e(747)]=i,t[i][e(739)]=null;t[i][e(570)]||(t[i][e(570)]=[],t[i][e(748)]=[])}}[Gt(658)](t,e){const i=Gt,s=t[i(693)]((t=>!t[i(455)]));for(let t=0;t<e[i(473)];t++)e[t][i(455)]&&(s[t][i(455)]=e[t][i(455)])}[Gt(520)](t){const e=Gt,i=JSON[e(488)](t),s=this[e(463)][e(645)][e(597)][e(598)],n=new H.ViewDocumentFragment(s,i[e(672)]((t=>this[e(467)](t))));return this[e(463)][e(655)][e(726)](n)}[Gt(467)](t){const e=Gt,i=this[e(463)][e(645)][e(597)][e(598)];if(e(553)==typeof t)return new H.ViewText(i,t);{const s=t[e(671)][e(672)]((t=>this[e(467)](t)));return new(Xt[t[e(511)]]||H.ViewElement)(i,t[e(713)],t[e(736)],s)}}[Gt(687)](t,e=null){const i=Gt,s=this[i(676)][i(665)](t),n=e?this[i(676)][i(665)](e):null,r=this[i(531)](s,n),o=r[r[i(473)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(473)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(581)](e[i(682)]))if(e[i(682)][t][i(611)]){const s=e[i(682)][t][i(611)];s[i(568)]?(u[i(448)](t),l[i(741)](t)&&l[i(704)](t)[i(643)]==s[i(643)]?l[i(566)](t):l[i(684)](t,s)):l[i(741)](t)?(u[i(566)](t),l[i(566)](t)):(u[i(448)](t),l[i(684)](t,s))}else u[i(448)](t)}for(const t of u){const e=l[i(741)](t)&&!l[i(704)](t)[i(568)];let s=e?r[i(473)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(682)][t]){const s=e?o[i(682)][t][i(494)]:o[i(682)][t][i(673)];c[i(736)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(622)]={};for(const e of t[i(588)])a[i(684)](e.id,e);for(const e of u){const s=t[i(682)][e]?t[i(682)][e][i(505)]:"[]",n=t[i(682)][e]?t[i(682)][e][i(722)]:"[]";t[i(622)][e]={insertions:this[i(520)](s),deletions:this[i(520)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(718)](s[i(622)][t][i(505)][i(708)])[i(693)]((([t])=>!t[i(686)](i(460)))));let h=0;for(const o of r){const r=this[i(586)](o[i(622)][t][i(505)]);o==s?(e=r,n=e[i(473)],e[i(711)]((t=>{t.id=h++})),this[i(534)](e)):this[i(658)](e,r);const a=e[i(693)]((t=>!t[i(455)]))[i(672)]((t=>t.id));let c=0;const l=this[i(586)](o[i(622)][t][i(722)]);l[i(711)]((t=>{t[i(436)]?t.id=n++:t.id=a[c++]})),this[i(534)](l),this[i(500)](e,i(455)),this[i(500)](l,i(436)),o==s&&this[i(694)](e,u),e=this[i(513)](e,l),this[i(478)](e),this[i(500)](e,i(436))}e=e[i(693)]((t=>!(t[i(455)]&&t[i(436)])));const d=new Map(o[i(622)][t][i(722)][i(708)]),f=new Set(u[i(581)]());for(const t of d[i(581)]())f[i(566)](t);this[i(542)](e,f),this[i(621)](e),e=this[i(705)](e),e=this[i(575)](e),e=this[i(461)](e);const{root:m,changes:p}=this[i(641)](e,a,t);c[i(622)][t]=m;const v=l[i(704)](t);if(v){const e=a[i(704)](v[i(643)]),s=new Zt({author:e,type:v[i(568)]?i(448):i(706),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(613)](s),c[i(736)][t][i(683)]=s.id}c[i(593)]=c[i(593)][i(454)](p)}return c}[Gt(694)](t,e){const i=Gt;for(let s=0;s<t[i(473)];s++)for(const[n,r]of e)r[i(560)][i(612)](t[s][i(738)])&&t[s][i(570)][i(451)](n),r[i(677)][i(612)](t[s][i(584)])&&t[s][i(748)][i(451)](n)}[Gt(513)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(473)]||r<e[i(473)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(451)](o);else if(a[i(436)]&&o[i(455)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(670)](t,n,e,r);s=s[i(454)](o),n=a,r=c}else a[i(436)]?(r++,s[i(451)](a)):(n++,s[i(451)](o))}return s}[Gt(542)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(473)];o++){for(let r=0;r<t[o][i(570)][i(473)];r++){const a=t[o][i(570)][r];if(!e[i(741)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(515)!=c||i(499)!=u&&i(707)!=u||(s[i(613)]({type:u,name:a,userId:l}),t[o][i(570)][i(760)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(748)][i(473)];r++){const a=t[o][i(748)][r];if(!e[i(741)](a))continue;const{group:c,type:u}=n(a);if(i(515)!=c||i(499)!=u&&i(707)!=u)continue;t[o][i(748)][i(760)](r,1),r--;const l=s[i(731)]((t=>t[i(713)]==a));l>-1&&s[i(760)](l,1)}}function n(t){const e=i,s=t[e(733)](":");return{group:s[0],type:s[1],subType:s[e(473)]>=5?s[2]:null,id:s[e(473)]<5?s[2]:s[3],authorId:s[e(473)]<5?s[3]:s[4],markerCount:6==s[e(473)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(473)];i++){if(t[e(455)]&&e(499)==s[i][e(511)])return t[e(646)]=s[i],void delete t[e(455)];if(!t[e(455)]&&!t[e(436)]&&e(707)==s[i][e(511)])return void(t[e(438)]=s[i])}}}[Gt(500)](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(684)](o.id,s);for(let s=0;s<t[i(473)];s++){if(i(436)==e&&t[s][i(455)]||i(455)==e&&t[s][i(436)])continue;if(i(603)==t[s][i(511)]){t[s][i(633)]=0;continue}const n=r[i(704)](t[s][i(739)]),o=r[i(704)](t[s].id);t[s][i(633)]=n-o}}[Gt(531)](t,e,i=!1){const s=Gt,n=[];let r=this[s(676)][s(591)](t),o=this[s(676)][s(591)](e);for(-1==o&&(o=this[s(676)][s(504)][s(473)],i=!1);r<o;)n[s(451)](this[s(676)][s(665)](r)),r++;return i&&n[s(451)](this[s(676)][s(665)](r)),n}[Gt(670)](t,e,i,s){const n=Gt,r=this[n(463)][n(622)][n(483)];let o=e;for(;t[o]&&t[o][n(455)];)o++;let a=s;for(;i[a]&&i[a][n(436)];)a++;u(t,e,o),u(i,s,a);const c=i[n(573)](s,a)[n(454)](t[n(573)](e,o));return c[n(580)](((t,e)=>t[n(767)]!=e[n(767)]?t[n(767)]-e[n(767)]:t[n(498)]!=e[n(498)]?t[n(498)]-e[n(498)]:t[n(633)]!=e[n(633)]?e[n(633)]-t[n(633)]:!!t[n(455)]!=!!e[n(455)]?-1==t[n(767)]||0==t[n(767)]?t[n(455)]?-1:1:t[n(455)]?1:-1:t[n(688)]-e[n(688)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(592)],c=!0;for(let n=e;n<i;n++)if(r[s(618)](t[n][s(634)])||(c=!1),t[n][s(634)][s(662)]<e&&(o=n),t[n][s(634)][s(747)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(767)]=n<=o?-1:n<a?0:1,t[n][s(688)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(633)]?t[i][s(498)]=u:(u++,t[i][s(498)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(767)]&&(t[n][s(498)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(633)]?t[e][s(498)]=u:(u--,t[e][s(498)]=u,u--)}}[Gt(621)](t){const e=Gt,i=new Map,s=this[e(463)][e(622)][e(483)];for(let n=1;n<t[e(473)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(603)==c[e(511)])continue;if(c[e(511)]!=u[e(511)])continue;if(!s[e(577)](u[e(634)])||s[e(594)](u[e(634)]))continue;if(!s[e(577)](c[e(634)])||s[e(594)](c[e(634)]))continue;if((t[n][e(455)]||t[n][e(646)])&&t[n-1][e(436)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(436)]||!t[n-1][e(455)]&&!t[n-1][e(646)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(498)]==o[e(498)],h=Math[e(627)](r[e(498)])<Math[e(627)](o[e(498)])&&0==o[e(633)];(l||h)&&(i[e(684)](o.id,r.id),t[e(760)](a,1),n--,r[e(455)]=!1)}for(let s=0;s<t[e(473)];s++)i[e(741)](t[s][e(739)])&&(t[s][e(739)]=i[e(704)](t[s][e(739)]))}[Gt(705)](t){const e=Gt,i=new Set(t[e(672)]((t=>t.id)));for(let s=0;s<t[e(473)];s++)i[e(741)](t[s][e(739)])||0==t[s][e(633)]||(t[s][e(679)]=!0);return t[e(693)]((t=>!t[e(679)]))}[Gt(575)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(473)];s++){if(i[e(741)](t[s].id)&&t[s][e(436)]&&(t[s][e(679)]=!0),t[s][e(679)])continue;if(0==t[s][e(633)])continue;if(e(487)!=t[s][e(511)])continue;if(null==t[s][e(739)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(739)];)e(487)==t[n][e(511)]?r++:e(607)==t[n][e(511)]&&r--,n++;if(0!=r)if(t[s][e(436)])t[s][e(679)]=!0;else for(;n!=s;)t[n][e(436)]&&0!=t[n][e(633)]&&(t[n][e(679)]=!0,i[e(448)](t[n][e(739)])),n--}return t[e(693)]((t=>!t[e(679)]))}[Gt(461)](t){const e=Gt,i=this[e(463)][e(622)][e(483)];for(let s=0;s<t[e(473)];s++){if(!(t[s][e(455)]||t[s][e(646)]||t[s][e(436)]||t[s][e(438)]))continue;if(0==t[s][e(633)])continue;const n=t[s][e(634)];i[e(577)](n)||i[e(594)](n)||(t[s][e(455)]&&delete t[s][e(455)],t[s][e(646)]&&delete t[s][e(646)],t[s][e(438)]&&delete t[s][e(438)],t[s][e(436)]&&(t[s][e(679)]=!0))}return t[e(693)]((t=>!t[e(679)]))}[Gt(641)](t,e,i){const s=Gt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(463)][s(622)],c=a[s(483)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(473)];e++)if(s(487)===t[e][s(511)]){t[e][s(738)]=a[s(709)](n,f);const i=new H.Element(t[e][s(634)][s(713)],t[e][s(634)][s(753)]());u[0][s(765)](i),f[s(451)](0),u[s(613)](i),t[e][s(584)]=a[s(709)](n,f)}else s(607)===t[e][s(511)]?(u[s(754)](),t[e][s(738)]=a[s(709)](n,f),f[s(517)](),f[f[s(473)]-1]++,t[e][s(584)]=a[s(709)](n,f)):(t[e][s(738)]=a[s(709)](n,f),d?d[s(550)]+=t[e][s(634)][s(655)]:d=new H.Text(t[e][s(634)][s(655)],t[e][s(634)][s(753)]()),t[e+1]&&s(603)===t[e+1][s(511)]&&v(d,t[e+1][s(634)])||(u[0][s(765)](d),d=null),f[f[s(473)]-1]+=t[e][s(634)][s(522)],t[e][s(584)]=a[s(709)](n,f));for(let e=0;e<t[s(473)];e++){const i=t[e][s(738)],n=t[e][s(584)];for(const n of t[e][s(570)])o[s(684)](n,{start:i,end:null});m(s(438),e,i,n),m(s(646),e,i,n),m(s(436),e,i,n),m(s(455),e,i,n);for(const i of t[e][s(748)])o[s(704)](i)[s(677)]=n}for(const[t,e]of o){const i=this[s(463)][s(622)][s(759)](e[s(560)],e[s(677)]);n[s(708)][s(684)](t,i)}return r[s(580)](((t,e)=>{const i=s,r=n[i(708)][i(704)](i(460)+t.id),o=n[i(708)][i(704)](i(460)+e.id);return r[i(560)][i(529)](o[i(560)])?-1:r[i(560)][i(692)](o[i(560)])?1:r[i(677)][i(529)](o[i(677)])?-1:r[i(677)][i(692)](o[i(677)])?1:i(448)===t[i(511)]?-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(643)]:null,d=i===t[o(473)]-1,f=h[e][0],m=c[o(745)](t[i][o(634)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(677)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(643)]!==u&&(l[e][o(677)]=n,f&&f[o(643)]===l[e][o(643)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(487)!==t[i][o(511)]||f&&f[o(643)]===u||h[e][o(613)]({userId:u,object:t[i][o(634)],change:l[e]}),o(607)===t[i][o(511)]&&f&&f[o(555)]===t[i][o(634)]&&(h[e][o(754)](),l[e]=f[o(567)])),l[e]&&d&&(l[e][o(677)]=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(634)],f=a[h(483)][h(577)](d)&&!a[h(483)][h(594)](d),m=t[h(433)]==o[h(735)]&&o[h(434)];if(f&&m)return;const p=a[h(759)](t,o),v=e[h(704)](u),g=new Zt({author:v,type:h(455)==l||h(646)==l?h(448):h(706),data:{isSuggestion:h(646)==l||h(438)==l},createdAt:new Date,rootName:i});r[h(451)](g),n[h(708)][h(684)](h(460)+g.id,p)}function v(t,e){const i=s,n=t[i(753)](),r=e[i(753)]();for(const t of n){if(t[1]!==e[i(695)](t[0]))return!1;r[i(632)]()}return r[i(632)]()[i(447)]}}[Gt(644)](){const t=Gt;this[t(463)][t(452)][t(432)](t(766))[t(650)]({view:t(756)}),this[t(463)][t(452)][t(432)](t(477))[t(484)]({model:t(756),view:e=>{const i=t,s=e[i(431)][i(733)](":")[1],n=this[i(559)](s);if(!n)return null;const r=i(448)==n[i(511)]?i(499):i(707),o=[i(629),i(510)+r];return n[i(655)][i(651)]&&o[i(451)](i(510)+r+i(509)),this[i(495)]==n&&o[i(451)](i(743)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(463)][t(452)][t(432)](t(766))[t(448)]((e=>{const i=t;e.on(i(469),((t,e,s)=>{const n=i,r=e[n(480)][n(602)](0);if(!r||!r.is(n(442),n(502)))return;if(!s[n(758)][n(696)](r,{attributes:[n(716),n(690)]}))return;const o=e[n(583)][n(560)][n(433)];s[n(649)][n(614)](n(716),r[n(695)](n(716)),o),s[n(649)][n(614)](n(690),r[n(695)](n(690)),o)}),{priority:i(456)})})),this[t(463)][t(452)][t(432)](t(766))[t(448)]((e=>{const i=t;e.on(i(442),((t,e,s)=>{const n=i;if(!s[n(758)][n(696)](e[n(480)],{attributes:[n(716),n(690)]}))return;if(e[n(583)][n(549)])return;const r=e[n(583)][n(560)][n(433)];r[n(546)](n(716))||r[n(546)](n(441))||(s[n(649)][n(614)](n(716),e[n(480)][n(695)](n(716)),r),s[n(649)][n(614)](n(690),e[n(480)][n(695)](n(690)),r))}),{priority:i(456)})})),this[t(463)][t(452)][t(432)](t(766))[t(578)]({view:{name:t(617),attributes:{vid:!0}},model:{key:t(441),value:e=>e[t(695)](t(441))}}),this[t(463)][t(622)][t(483)].on(t(729),((e,[,i])=>{const s=t;[s(716),s(690),s(441)][s(680)](i)&&(e[s(636)]=!0,e[s(630)]())}),{priority:t(746)}),this[t(463)][t(452)][t(432)](t(674))[t(448)]((e=>{const i=t;e.on(i(664),((t,e,s)=>{const n=i;if(" "!=e[n(634)][n(655)]||e[n(634)][n(735)][n(501)]>1)return;if(!s[n(758)][n(696)](e[n(634)],t[n(713)]))return;const r=s[n(649)],o=s[n(601)][n(485)](e[n(608)]);r[n(508)](o,r[n(740)](n(617)))}))})),this[t(463)][t(452)][t(432)](t(674))[t(525)]({model:t(756)}),this[t(463)][t(645)][t(548)].on(t(659),function(e){const i=t,s=e[i(544)][i(704)](i(491));return(t,n,r)=>{const o=i,a=n[o(431)][o(733)](":")[1],c=s[o(559)](a);if(!c)return null;const u=o(448)==c[o(511)]?o(733):o(551);if(!r[o(758)][o(547)](n[o(562)],t[o(713)]))return;const l=n[o(562)][o(528)](),h=n[o(562)][o(560)],d=e[o(622)][o(483)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(634)];p=p||d[o(558)](e);const i=r[o(601)][o(600)](e);if(i&&i[o(446)](o(660)))return;o(607)==t[o(511)]&&d[o(577)](e)&&!d[o(594)](e)&&(e[o(514)]||h[o(532)]?f&&f[o(735)]==e||(f=e,g(t[o(738)]),v=!0):m=m||t[o(738)])}function g(t){const e=o,i=r[e(649)][e(527)](e(617),{class:e(510)+u}),a=r[e(601)][e(750)](t);c[e(655)][e(651)]&&r[e(649)][e(737)](e(510)+u+e(509),i),s[e(495)]==c&&r[e(649)][e(737)](e(743),i),r[e(649)][e(556)](a,i),r[e(601)][e(625)](i,n[e(431)])}p||v||!m||g(m)}}(this[t(463)]),{priority:t(497)}),this[t(463)][t(645)][t(548)].on(t(540),((e,i,s)=>{const n=t,r=s[n(601)][n(493)](i[n(431)]);if(r)for(const t of r)(t[n(585)](n(720))||t[n(585)](n(453)))&&(s[n(601)][n(647)](t,i[n(431)]),s[n(649)][n(706)](t))}),{priority:t(497)}),this[t(463)][t(645)][t(548)].on(t(659),((e,i,s)=>{const n=t,r=i[n(431)][n(733)](":")[1],o=this[n(559)](r);if(!o)return null;const a=n(448)==o[n(511)]?n(733):n(551);if(s[n(758)][n(547)](i[n(562)],e[n(713)]))for(const t of i[n(562)][n(539)]()){if(!t.is(n(442),n(661)))continue;const e=s[n(649)][n(527)](n(617),{class:n(510)+a}),r=s[n(601)][n(750)](this[n(463)][n(622)][n(590)](t));o[n(655)][n(651)]&&s[n(649)][n(737)](n(510)+a+n(509),e),this[n(495)]==o&&s[n(649)][n(737)](n(743),e),s[n(649)][n(556)](r,e),s[n(601)][n(625)](e,i[n(431)])}}),{priority:t(497)}),this[t(463)][t(622)][t(598)].on(t(567),(()=>{const e=t;this[e(463)][e(645)][e(597)][e(567)]((t=>{const i=e;for(const e of this[i(463)][i(622)][i(598)][i(564)]()){const s=this[i(463)][i(622)][i(598)][i(459)](e),n=this[i(463)][i(645)][i(597)][i(598)][i(459)](e);if(n){const e=s[i(695)](i(683));if(t[i(623)](i(533),n),t[i(604)](i(678),n),t[i(604)](i(466),n),t[i(604)](i(519),n),e){const s=this[i(559)](e);if(!s)return null;t[i(614)](i(533),e,n),t[i(737)](i(475)+s[i(511)],n),this[i(495)]==s&&t[i(737)](i(519),n)}}}}))})),this[t(463)][t(452)][t(432)](t(766))[t(650)]({view:t(648),model:e=>t(470)+e,converterPriority:t(746)}),this[t(463)][t(452)][t(432)](t(766))[t(650)]({view:t(717),model:e=>t(685)+e,converterPriority:t(746)}),this[t(463)][t(452)][t(432)](t(674))[t(525)]({model:t(515),view:e=>({name:t(545)+e,group:t(515)}),converterPriority:t(746)}),this[t(463)][t(452)][t(432)](t(477))[t(484)]({model:t(515),view:e=>{const i=t,s=e[i(431)][i(733)](":")[1];return i(499)!=s&&i(707)!=s?null:{classes:[i(631),i(732)+s]}}}),this[t(463)][t(645)][t(548)].on(t(653),te(this[t(463)],t(551)),{priority:t(497)}),this[t(463)][t(645)][t(548)].on(t(652),te(this[t(463)],t(733)),{priority:t(497)}),this[t(463)][t(645)][t(548)].on(t(712),((e,i,s)=>{const n=t,r=s[n(601)][n(493)](i[n(431)]);if(r)for(const t of r)t.is(n(530))&&(s[n(601)][n(647)](t,i[n(431)]),s[n(649)][n(706)](t))}),{priority:t(497)})}[Gt(559)](t){const e=Gt;return this[e(675)][e(704)](t)}[Gt(761)](t){const e=Gt;return this[e(728)]&&this[e(728)][e(691)](),this[e(728)]=new Lt(this[e(463)][e(523)],t),this[e(728)]}[Gt(730)](){const t=Gt;this[t(463)][t(622)][t(598)][t(457)][t(582)](t(756)),this.on(t(506),((e,i,s,n)=>{const r=t;n&&this[r(472)][r(706)](n),s&&(this[r(472)][r(448)]({view:s,stackId:r(450),position:{target:()=>{const t=r,e=this[t(463)][t(645)],i=this[t(559)](s[t(667)]);let n;if(i[t(655)][t(734)]){const s=e[t(597)][t(465)](i[t(543)]);n=Array[t(718)](s[t(742)]())}else{const i=this[t(463)][t(622)][t(708)][t(704)](t(460)+s[t(667)]);n=Array[t(718)](e[t(601)][t(493)](i[t(713)]))[t(672)]((i=>e[t(597)][t(666)][t(535)](i)))[t(672)]((e=>Array[t(718)](e[t(742)]())))[t(435)]()}return this[t(541)]&&n[t(751)]((e=>e[t(719)]-3<=this[t(541)].y&&e[t(609)]+3>=this[t(541)].y&&e[t(571)]-3<=this[t(541)].x&&e[t(724)]+3>=this[t(541)].x))||n[0]}}}),this[r(472)][r(476)](r(450)))})),this.on(t(698),((e,i,s,n)=>{const r=t;this[r(616)]=s?this[r(761)](s):null,this[r(463)][r(622)][r(567)]((()=>{const t=r,e=this[t(463)][t(645)];n&&(n[t(655)][t(734)]?e[t(597)][t(567)]((i=>{const s=t;i[s(604)](s(519),e[s(597)][s(598)][s(459)](n[s(543)]))})):e[t(637)](t(460)+n.id)),s&&(s[t(655)][t(734)]?e[t(597)][t(567)]((i=>{const n=t;i[n(737)](n(519),e[n(597)][n(598)][n(459)](s[n(543)]))})):e[t(637)](t(460)+s.id))}))})),this[t(640)](this[t(463)][t(645)][t(597)][t(598)],t(606),((e,i)=>{const s=t;if(this[s(495)])return;const n=this[s(565)](i[s(764)]),r=this[s(675)][s(704)](n);r?(this[s(541)]={x:i[s(471)].x,y:i[s(471)].y},this[s(616)]=this[s(761)](r)):(this[s(541)]=null,this[s(616)]=null)})),this[t(640)](this[t(463)][t(645)][t(597)][t(598)],t(638),((e,i)=>{const s=t,n=this[s(565)](i[s(764)]),r=this[s(675)][s(704)](n);r?(this[s(541)]={x:i[s(471)].x,y:i[s(471)].y},r===this[s(495)]?this[s(472)][s(490)]():this[s(495)]=r):(this[s(541)]=null,this[s(495)]=null)}))}[Gt(565)](t){const e=Gt;do{const i=t[e(695)](e(533));if(i)return i;t=t[e(735)]}while(t);return null}[Gt(579)](){const t=Gt;this[t(463)][t(622)][t(567)]((e=>{const i=t;for(const t of this[i(463)][i(622)][i(708)])e[i(610)](t)}))}}function te(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(758)][r(547)](s[r(562)],i[r(713)]))return;const o=s[r(562)][r(528)](),a=s[r(562)][r(560)],c=t[r(622)][r(483)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(634)];h=h||c[r(558)](e);const i=n[r(601)][r(600)](e);if(i&&i[r(446)](r(660)))return;r(607)==t[r(511)]&&c[r(577)](e)&&!c[r(594)](e)&&(e[r(514)]||a[r(532)]?u&&u[r(735)]==e||(u=e,f(t[r(738)]),d=!0):l=l||t[r(738)])}function f(t){const i=r,o=n[i(601)][i(750)](t),a=n[i(649)][i(527)](i(617),{class:i(732)+e});n[i(649)][i(556)](o,a),n[i(601)][i(625)](a,s[i(431)])}h||d||!l||f(l)}}function ee(){const t=["pairId","createAttributeElement","has","getClientRects","ck-suggestion-marker--active","compare","isObject","highest","endIndex","markersEnd","catch","toViewPosition","find","backward","getAttributes","shift","detachRoot","revision","isReady","consumable","createRange","splice","_getViewForChange","718576DjkBnz","resolve","target","_appendChild","upcast","side","10iwJogx","markerName","for","nodeAfter","isAtStart","flat","isRemoved","23192mytXQG","isRemoveSuggestion","_step","restoreRevisionCallback","vid","element","revision-end","_setChanges","commands","getCustomProperty","done","add","requires","revisionHistoryLabel","push","conversion","ck-suggestion-marker-merge","concat","isAdded","low","selection","data-revision-","getRoot","revision:","_removeUnsupportedChanges","isOfficialPlugin","editor","forceDisabled","getDomRoot","ck-revision-history-root-remove","_getViewObj","ck-editor__editable__overlay","element:pre","revision-comment:","domEvent","_balloon","length","then","ck-revision-history-root-","showStack","editingDowncast","_refreshStartEndIndex","processor","viewItem","revision-viewer","addRevision","schema","markerToHighlight","toViewRange","2612943ZVrSvt","elementStart","parse","marked","updatePosition","RevisionViewer","enableReadOnlyMode","markerNameToElements","attributesBefore","activeChange","addRoot","high","level","insertion","_setDistance","maxOffset","code","numberOfChanges","_revisions","insertions","change:activeView","roots","wrap","-new","ck-suggestion-marker-","type","change:isReady","_joinTapes","nextSibling","revision-suggestion","change:isEnabled","pop","loadRevisionData","ck-revision-history-root--active","_makeModelFromViewString","first","offsetSize","locale","values","markerToData","isNavigationMode","createUIElement","getWalker","isBefore","uiElement","_getRevisionsRange","isAtEnd","data-change-id","_processTape","mapViewToDom","pluginName","restoreRevision","_sortAndFilterDiffChanges","getItems","removeMarker:revision","_activeViewTarget","_markSuggestions","rootName","plugins","suggestion:","hasAttribute","test","downcastDispatcher","isCollapsed","_data","merge","change:numberOfChanges","string","isPremiumPlugin","object","insert","indexOf","isContent","_getChangeFromId","start","RevisionsRepository","markerRange","refresh","getRootNames","_findChangeIdFromDomTarget","delete","change","isAttached","revisionHistory","markersStart","left","WidgetToolbarRepository","slice","isEnabled","_markMismatchedRemovedTags","revision-start","isBlock","elementToAttribute","_cleanMarkers","sort","keys","observeMarkers","modelRange","nextPosition","hasClass","_makeTape","clear","authors","init","createPositionBefore","getIndex","POSITIVE_INFINITY","changes","isLimit","createRangeIn","execute","view","document","4FQabVa","toViewElement","mapper","getChild","text","removeClass","default","mouseover","elementEnd","range","bottom","removeMarker","attachChange","isEqual","unshift","setAttribute","useFillerType","activeView","span","isInline","createRevision","getLaterVisibleRevision","_fixObsoleteTags","model","removeAttribute","1746765nxiQvD","bindElementToMarker","3081762SILPfe","abs","624101uveeHP","ck-suggestion-marker","stop","ck-suggestion-preview-marker","next","distance","item","affectsData","return","reconvertMarker","mousedown","_removeRevisionMarkers","listenTo","_makeModelFromTape","oldRevisionId","userId","_setConversion","editing","isAddSuggestion","unbindElementFromMarkerName","comment","writer","dataToMarker","isSuggestion","addMarker:revision-suggestion:insertion","addMarker:revision-suggestion:deletion","bind","data","getRevisionData","collaboration.channelId","_markInsertions","addMarker:revision","addHighlight","softBreak","startIndex","addRevisionData","attribute:vid","getRevision","domConverter","changeId","diff","_cleanUp","_threeWayMerge","children","map","attributesAfter","dataDowncast","_changeIdToChange","repository","end","ck-revision-history-root-add","isIncorrect","includes","_update","diffData","revisionHistoryAttachChange","set","revision-suggestion:","startsWith","_getDiff","index","1379hbwmGn","vid_end","destroy","isAfter","filter","_markMarkers","getAttribute","consume","currentChangeNumber","change:activeChange","1570089ctqzhe","getRevisionRootsAttributes","enqueueChange","error","showPreviousChange","get","_removeMissingPairs","remove","deletion","markers","createPositionFromPath","toData","forEach","removeMarker:revision-suggestion","name","newRevisionId","adapter","vid_start","suggestion","from","top","ck-suggestion-marker-split","all","deletions","config","right","forward","toModel","showNextChange","_changeView","checkAttribute","_initInteractions","findIndex","ck-suggestion-preview-marker-","split","isOnRoot","parent","attributes","addClass","previousPosition"];return(ee=function(){return t})()}class ie extends U.Command{constructor(t){const e=Gt;super(t);const i=t[e(544)][e(704)](Qt);this[e(635)]=!1,this[e(640)](i,e(512),(()=>this[e(563)]())),this[e(640)](i,e(516),(()=>this[e(563)]()))}[Gt(596)](){const t=Gt,e=this[t(463)],i=e[t(544)][t(704)](Qt),s=i[t(757)]?i[t(668)][t(714)]:null;e[t(723)][t(704)](t(569))[t(440)](s)}[Gt(563)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(463)][t(544)][t(704)](Qt),r=n&&s[t(620)](n[t(714)]);this[t(574)]=e&&i&&Boolean(r)}}class se extends U.Command{[Gt(439)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(544)][i(704)](Qt);this[i(635)]=!1,this[i(439)]=i(725)===e?1:-1,this[i(640)](s,i(512),(()=>this[i(563)]())),this[i(640)](s,i(516),(()=>this[i(563)]())),this[i(640)](s,i(698),(()=>this[i(563)]()))}[Gt(596)](){const e=Gt,i=this[e(463)],s=i[e(544)][e(704)](Qt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(495)]=n?s[e(668)][e(593)][e(704)](r+this[e(439)]):s[e(668)][e(593)][e(521)],s[e(495)][e(655)][e(734)])o=i[e(645)][e(597)][e(465)](s[e(495)][e(543)]);else{const t=i[e(622)][e(708)][e(704)](e(460)+s[e(495)].id);o=(0,Z.getMarkerDomElement)(i[e(645)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(563)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(463)][t(544)][t(704)](Qt);this[t(574)]=!!(r&&n&&s)&&(!e||(1===this[t(439)]?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-=431]})(t,e)}function ae(){const t=["_statusText","isNavigationMode","div","2187759PWJMac","ck-revision-history-ui__changes-navigation","set","isReady","255230rJSIsr","ck-revision-history-ui__changes-navigation__navigation","825FGcEjx","1647410xWAMmX","currentChangeNumber","bind","2428602qBrquo","19BZlLuG","fire","bindTemplate","EDIT_X_OF_Y_REVISIONS","Total","50578DHfkHj","forward","5901238YUrOwa","ck-revision-history-ui__changes-navigation__wrapper","No changes","isForwardNavigationEnabled","numberOfChanges","X_OF_Y_CHANGES","Show next change","ck-revision-history-ui__changes-navigation__label","125656MwfkWb","isEnabled","isBackwardNavigationEnabled","ck-revision-history-ui","207MAIJTx","NUMBER_OF_CHANGES","setTemplate","4uCMklo","_isStatusLabelVisible","Show previous change","execute","span","ck-hidden","backward","Loading..."];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(452005===-parseInt(e(469))/1*(parseInt(e(474))/2)+-parseInt(e(458))/3+-parseInt(e(447))/4*(parseInt(e(465))/5)+-parseInt(e(468))/6+parseInt(e(432))/7+parseInt(e(440))/8*(-parseInt(e(444))/9)+parseInt(e(462))/10*(parseInt(e(464))/11))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(471)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(460)](e(456),!1),this[e(460)](e(461),!1),this[e(460)](e(466),0),this[e(460)](e(436),0),this[e(460)](e(435),!1),this[e(460)](e(442),!1),this[e(467)](e(448)).to(this,e(461),this,e(436),((t,e)=>t&&e>0)),this[e(467)](e(455)).to(this,e(461),this,e(466),this,e(436),this,e(456),((i,s,n,r)=>{const o=e;if(!i)return Y(t,o(454));if(!n)return Y(t,o(434));const a=Y(t,o(445),n);return r?Y(t,o(437),[s+1,n]):a})),s[e(460)]({label:Y(t,e(449)),tooltip:!0,icon:dt.IconChevronUp}),n[e(460)]({label:Y(t,e(438)),tooltip:!0,icon:dt.IconChevronDown}),s[e(467)](e(441)).to(this,e(442)),n[e(467)](e(441)).to(this,e(435)),s.on(e(450),(()=>this[e(470)](e(450),e(453)))),n.on(e(450),(()=>this[e(470)](e(450),e(431)))),this[e(446)]({tag:e(457),attributes:{class:["ck",e(443),e(459)]},children:[{tag:e(451),attributes:{class:[e(433)]},children:[{tag:e(451),attributes:{class:[e(439),i.if(e(448),e(452),(t=>!t))]},children:[{text:i.to(e(456),(i=>i?Y(t,e(472))+": ":Y(t,e(473))+": "))}]},{text:i.to(e(455))}]},new ft.ToolbarSeparatorView,{tag:e(457),attributes:{class:[e(463)]},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;function he(t,e){const i=fe();return(he=function(t,e){return i[t-=466]})(t,e)}const de=he;function fe(){const t=["isOfficialPlugin","roots","3486LFctHX","2570Bizyfb","document","hide","ck-editor__editable__loading-overlay","pluginName","1437942WZdFmq","editor","removeClass","RevisionViewerLoadingOverlay","2601405YneFaI","111CigHhP","103763ADUvnB","change","452rqlxzE","view","addClass","editing","6510QkkBwl","8GTYNyt","show","3036213mkEiZk","783128Kdxlky","isPremiumPlugin"];return(fe=function(){return t})()}!function(t){const e=he,i=t();for(;;)try{if(471605===parseInt(e(481))/1+parseInt(e(491))/2+-parseInt(e(470))/3*(parseInt(e(473))/4)+parseInt(e(469))/5+-parseInt(e(477))/6*(-parseInt(e(485))/7)+-parseInt(e(478))/8*(-parseInt(e(480))/9)+parseInt(e(486))/10*(-parseInt(e(471))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=de(489);class pe extends U.Plugin{static get[de(490)](){return de(468)}static get[de(483)](){return!0}static get[de(482)](){return!0}[de(479)](){const t=de,e=this[t(466)][t(476)][t(474)];e[t(472)]((i=>{const s=t;for(const t of e[s(487)][s(484)])i[s(475)](me,t)}))}[de(488)](){const t=de,e=this[t(466)][t(476)][t(474)];e[t(472)]((i=>{const s=t;for(const t of e[s(487)][s(484)])i[s(467)](me,t)}))}}const ve=ye;function ge(){const t=["isBackwardNavigationEnabled","showPreviousChange","numberOfChanges","showNextChange","isEnabled","1787660tothdX","restoreRevision","bind","revisionHistory","listenTo","Restore this revision","37815525bjMJeN","execute","editor","hide","pluginName","165245jKFgcb","isNavigationMode","componentFactory","add","21HbVrKF","RevisionViewerUI","requires","279824tauvlh","set","show","forward","isOfficialPlugin","currentChangeNumber","changesNavigation","8486562nJVrxm","1158952WTNddq","exitToEditing","isReady","656XlzrFL","change:isReady","ck-revision-history-ui__back-to-editing","closeRevisionViewerCallback","config","get","init","45311FeVbwN","commands","Back to editing","isPremiumPlugin","isForwardNavigationEnabled","plugins"];return(ge=function(){return t})()}function ye(t,e){const i=ge();return(ye=function(t,e){return i[t-=369]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(726471===-parseInt(e(407))/1+-parseInt(e(381))/2+-parseInt(e(396))/3*(-parseInt(e(399))/4)+parseInt(e(392))/5+-parseInt(e(406))/6+-parseInt(e(370))/7*(parseInt(e(410))/8)+parseInt(e(387))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ke extends U.Plugin{static get[ve(391)](){return ve(397)}static get[ve(403)](){return!0}static get[ve(373)](){return!0}static get[ve(398)](){return[Qt,pe]}[ve(369)](){const t=ve,e=this[t(389)],i=e[t(375)][t(415)](Qt),s=e[t(375)][t(415)](pe);e.ui[t(394)][t(395)](t(408),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(400)]({label:Y(i,s(372)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(412)}),this[s(385)](n,s(388),(()=>{const t=s;e[t(414)][t(415)](t(384))[t(413)]()})),n})),e.ui[t(394)][t(395)](t(382),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(400)]({label:Y(i,s(386)),withText:!0,tooltip:!0}),n[s(383)](s(380)).to(e[s(371)][s(415)](s(382))),this[s(385)](n,s(388),(()=>e[s(388)](s(382)))),n})),e.ui[t(394)][t(395)](t(405),(s=>{const n=t,r=new ce(s),o=e[n(371)][n(415)](n(377)),a=e[n(371)][n(415)](n(379));return r[n(383)](n(376)).to(o,n(380)),r[n(383)](n(374)).to(a,n(380)),r[n(383)](n(409),n(404),n(378),n(393)).to(i),this[n(385)](r,n(388),((t,i)=>{const s=n;e[s(388)](s(402)===i?s(379):s(377))})),r})),s[t(401)](),i.on(t(411),((e,i,n)=>{const r=t;n?s[r(390)]():s[r(401)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;function _e(t,e){const i=Ie();return(_e=function(t,e){return i[t-=467]})(t,e)}function Ie(){const t=["bindTemplate","set","1681953hlzRMP","_tooltipString","236kvRwbK","309972kXOUCe","368336SdAiSQ","fieldView","390600xvdEsv","render","1KhdxlY","clientWidth","element","destroy","listenTo","ck-tooltip_multi-line","placeholder","Enter the revision name","_updateTooltipText","span","_resizeObserver","ck-revision-history-sidebar__revision-name","6253722JVJwtG","input","Revision name","value","extendTemplate","scrollWidth","610022ypjUIX","10TIYvfw","34525wTNdyd"];return(Ie=function(){return t})()}const Se=_e;!function(t){const e=_e,i=t();for(;;)try{if(225331===parseInt(e(488))/1*(parseInt(e(475))/2)+-parseInt(e(486))/3+parseInt(e(482))/4*(parseInt(e(477))/5)+parseInt(e(483))/6+parseInt(e(480))/7+parseInt(e(484))/8+-parseInt(e(469))/9*(parseInt(e(476))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Oe extends ft.LabeledFieldView{[Se(467)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(478)];this[i(479)]({label:Y(t,i(471)),_tooltipString:""}),this[i(485)][i(494)]=Y(t,i(495)),this[i(473)]({tag:i(497),attributes:{class:[i(468)],"data-cke-tooltip-text":s.to(i(481)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(493)}})}[Se(487)](){const e=Se;super[e(487)](),this[e(467)]=new t.ResizeObserver(this[e(485)][e(490)],(()=>this[e(496)]())),this[e(492)](this[e(485)],e(470),(()=>this[e(496)]()))}[Se(491)](){const t=Se;super[t(491)](),this[t(467)]&&this[t(467)][t(491)]()}[Se(496)](){const t=Se,e=this[t(485)][t(490)];this[t(481)]=e[t(474)]>e[t(489)]&&e[t(472)]||""}}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=Re();return(Ne=function(t,e){return i[t-=287]})(t,e)}!function(t){const e=Ne,i=t();for(;;)try{if(894356===-parseInt(e(296))/1+parseInt(e(288))/2+-parseInt(e(303))/3*(parseInt(e(290))/4)+parseInt(e(305))/5*(-parseInt(e(301))/6)+-parseInt(e(304))/7+parseInt(e(292))/8+parseInt(e(300))/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(298)]({content:dt.IconUser,viewBox:s(289)});const r=["ck",s(297)];i&&r[s(294)](s(295));const o=[{tag:s(291),attributes:{class:["ck",s(299)],title:Y(t,s(i?306:293))},children:[n,e[s(302)]]}];this[s(287)]({tag:"li",attributes:{class:r},children:o})}}function Re(){const t=["Revision creator","setTemplate","485142GfrkwN","0 0 11 10","1755112UPspUO","span","13573856mzbiUB","Revision author","push","ck-revision-history-sidebar__revision-author_creator","117580nPBppz","ck-revision-history-sidebar__revision-author","set","ck-revision-history-sidebar__revision-author__name","4767966EQQyvx","4398jFbHIr","name","6VTtbyr","1440285gbFgVd","2550gSOTlm"];return(Re=function(){return t})()}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=126]})(t,e)}function Ve(){var t=["9230039EjFkkW","381416gPFbXJ","numeric","1112148FkifVE","5626250UBsOWw","long","45929AOPMFo","984222yDzOsD","1079451GebPGe","toLocaleDateString","toLocaleTimeString"];return(Ve=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(811923===-parseInt(e(129))/1+parseInt(e(135))/2+parseInt(e(131))/3+parseInt(e(126))/4+-parseInt(e(127))/5+-parseInt(e(130))/6+parseInt(e(134))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var Ee=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ee.A,De);Ee.A&&Ee.A.locals&&Ee.A.locals;function Ce(t,e){const i=Fe();return(Ce=function(t,e){return i[t-=482]})(t,e)}function Fe(){const t=["290287ixLiUw","isVisible","source","first","_action","change:isActionsDropdownOpen","Show more items","stopPropagation","bind","set","Name this revision","buttonView","2757150WKXcCp","add","isOpen","isEnabled","model","1727280hnSsbR","execute","panelPosition","8uNDnAA","button","listenTo","ck-on","name","map","locale","1264410gBuQoc","2rBJaxL","145928gDstfy","extendTemplate","menuitem","listView","Compare against selected","function","items","menu","8322SVHKhX","class","find","isReady","5586950nGPrtW","isActionsDropdownOpen","action","Restore this revision","2471ovvBMD","ck-revision-history-sidebar__revision__actions","bindTemplate","children"];return(Fe=function(){return t})()}!function(t){const e=Ce,i=t();for(;;)try{if(351739===parseInt(e(492))/1*(parseInt(e(520))/2)+parseInt(e(519))/3+parseInt(e(521))/4+parseInt(e(509))/5+parseInt(e(529))/6*(-parseInt(e(488))/7)+parseInt(e(512))/8*(parseInt(e(504))/9)+-parseInt(e(484))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=wt(),Pe.insert=kt().bind(null,"head"),Pe.domAPI=gt(),Pe.insertStyleElement=It();pt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const Le=We;function ze(){const t=["setName","uiLanguage","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__actions_dropdown_open","isConfirm","16466220GJUoIJ","ck-revision-history-sidebar__revision_selected","deselect","ck-revision-history-sidebar__revision-authors","srcElement","fieldView","isSelected","361901gTIokX","length","createdAt","2ZMjOQq","ck-revision-history-sidebar__revision","isEnabled","_createdAtFormatted","bind","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","945860obInZt","listenTo","revisionActionsView","extendTemplate","isHighlighted","set","highlight","setTemplate","ck-revision-history-sidebar__revision_highlighted","unhighlight","ck-disabled","isActionsDropdownOpen","select","990125qtwAQN","filter","value","bindTemplate","ck-revision-history-sidebar__revision__date","220","map","closest","revisionNameView","from","16sDrrNI","fire","ck-revision-history-sidebar__revision-wrapper",".ck-thread__remove-confirm","div","authors","2304528SyXJCO","element","1260741xMRakF","ck-reset","change","unshift","_revision","name","creator","render","1354241vTCEMd","span","isReady","_requireRevisionName"];return(ze=function(){return t})()}function We(t,e){const i=ze();return(We=function(t,e){return i[t-=348]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(237978===-parseInt(e(374))/1*(parseInt(e(377))/2)+-parseInt(e(350))/3+-parseInt(e(383))/4+parseInt(e(396))/5+-parseInt(e(348))/6+parseInt(e(358))/7*(-parseInt(e(406))/8)+parseInt(e(367))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class Ue extends((0,Z.ConfirmMixin)(ft.View)){id;[Le(404)];[Le(385)];[Le(354)];[Le(361)];constructor(e,i,s,n){const r=Le;super(e);const o=this[r(399)],a=function(t,e){const i=r,s=Array[i(405)](e[i(411)])[i(397)]((t=>t!=e[i(356)]));return e[i(356)]&&s[i(353)](e[i(356)]),s[i(402)]((s=>new Ae(t,s,s==e[i(356)])))}(e,i);this.id=i.id,this[r(354)]=i,this[r(361)]=n,this[r(381)](r(355),r(376)).to(i),this[r(381)](r(380)).to(this,r(376),(t=>{return i=e[r(363)],(s=t)[(n=Me)(132)](i,{month:n(128),day:n(136)})+", "+s[n(133)](i,{hour:n(136),minute:n(136)});var i,s,n})),this[r(388)](r(373),!1),this[r(388)](r(387),!1),this[r(388)](r(394),!1),this[r(388)](r(360),!1),this[r(388)](r(379),!1),this[r(404)]=new Oe(e,ft.createLabeledInputText),this[r(404)][r(372)][r(386)]({attributes:{maxlength:r(401)}}),this[r(404)][r(372)][r(381)](r(398)).to(this,r(355),(t=>t||this[r(380)])),this[r(404)][r(381)](r(379)).to(this,r(373),this,r(379),((t,e)=>t&&e)),this[r(385)]=s&&s[r(375)]?function(e,i){const s=Ce,n=e[s(490)],r=e[s(518)],o=(0,ft.createDropdown)(r);o[s(511)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ce,s=t[i(518)],n={"Compare against selected":Y(s,i(525)),"Name this revision":Y(s,i(502)),"Restore this revision":Y(s,i(487))};return e[i(517)]((t=>{const e=i,s=n[t[e(516)]];return s&&s!==t[e(516)]&&(t[e(516)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(513),model:new ft.ViewModel({label:t[n(516)],class:t[n(530)],withText:!0,role:n(523),_action:t[n(486)]})};i[n(508)][n(500)](n(507)).to(e,n(485),(i=>n(526)!=typeof t[n(507)]||!i||t[n(507)](e))),o[n(505)](i)}return o}(e,i);return e[s(500)](s(485)).to(o,s(506)),o[s(503)][s(501)]({label:Y(r,s(498)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(522)]({attributes:{class:[s(489),n.if(s(485),s(515))]},on:{click:n.to((t=>t[s(499)]()))}}),o.on(s(510),(t=>{const i=s;e[i(483)]&&i(526)==typeof t[i(494)][i(496)]&&t[i(494)][i(496)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(528)}),o[s(514)](e,s(497),((t,n,r)=>{const a=s;if(r)for(const t of o[a(524)][a(527)]){const s=t[a(491)][a(495)],n=i[a(482)]((t=>t[a(486)]===s[a(496)]))[a(493)];t[a(493)]=void 0===n||n(e)}})),o}(this,s):"",this[r(385)]&&this[r(385)][r(381)](r(379)).to(this),this[r(390)]({tag:r(410),attributes:{class:["ck",r(351),r(408),o.if(r(366),r(382))]},children:[{tag:r(410),attributes:{class:["ck",r(351),r(378),o.if(r(379),r(393),(t=>!t)),o.if(r(373),r(368)),o.if(r(387),r(391)),o.if(r(394),r(365))]},children:[this[r(404)],{tag:r(359),attributes:{class:["ck",r(400)]},children:[{text:o.to(r(380))}]},{tag:r(410),attributes:{class:["ck",r(364)]},children:[{tag:"ul",attributes:{class:["ck",r(370)]},children:a}]},this[r(385)]],on:{click:o.to((t=>{const e=r;t[e(371)][e(403)](e(409))||this[e(360)]&&this[e(379)]&&this[e(407)](e(395),{id:this.id})}))}}]})}[Le(357)](){const t=Le;super[t(357)]();const e=this[t(404)][t(372)][t(349)];this[t(384)](e,t(352),(()=>{const i=t;this[i(361)]&&!e[i(398)]||this[i(407)](i(362),{id:this.id,name:e[i(398)]}),e[i(398)]||(e[i(398)]=this[i(355)]?this[i(355)]:this[i(380)])}))}[Le(395)](){this[Le(373)]=!0}[Le(369)](){this[Le(373)]=!1}[Le(389)](){this[Le(387)]=!0}[Le(392)](){this[Le(387)]=!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 Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ye extends Ze{}class Ge 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 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 $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,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Ri={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.DateTimeFormat(t,e),Ri[i]=s),s}let Vi={};let Ei={};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=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rs(this.floor?Math.floor(t):Ds(t,3),this.padTo)}}class Pi{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 Li{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=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Di||(Di=(new Intl.DateTimeFormat).resolvedOptions().locale,Di)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Di=null,Ri={},Vi={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,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 Pi(t,this.intl,e)}relFormatter(t={}){return new Li(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ui=null;class 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]},Ji=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Yi={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Yi[i]||(Yi[i]={}),Yi[i][e]||(Yi[i][e]=new RegExp(`${$i[i]}${e}`)),Yi[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(){Wi.resetCache(),Ni.resetCache(),eo.resetCache(),Yi={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...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,js(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function 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 Ye("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 Ye("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Is(t)&&t>=e&&t<=i}function Rs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Es(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 Ps(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 Ls(t,e,i){return-fs(ls(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ls(t,e,i),n=Ls(t+1,e,i);return(Fs(t)-s+n)/7}function Ws(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Hs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ye(`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 Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Ys=["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[...Ys];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Qs];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Rs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Ms(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Es(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(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Ms(e)):Ms(e),month:Ys.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:Qs.indexOf(t)+1),a}const En=/^(?:(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=Vn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Cn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Fn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,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 Pn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,n,s,i,r,o,a),Zi.utcInstance]}function Ln(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Wn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Un=dn(/(\d{4})-?(\d{3})/,kn),Zn=dn(yn),Hn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,xn,Tn),qn=fn(bn,On,xn,Tn),$n=fn(wn,On,xn,Tn),Bn=fn(On,xn,Tn);const Jn=fn(On);const Yn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=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||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ye("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:qs(t,ur.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Ye(`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,Jn])}(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 Ye("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 Je(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 Ye("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||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=fr(t,e);return(i-i%7)/7}],["days",fr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search($i.hanidec))e+=Ji.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=Gi(e),s=Gi(e,"{2}"),n=Gi(e,"{3}"),r=Gi(e,"{4}"),o=Gi(e,"{6}"),a=Gi(e,"{1,2}"),c=Gi(e,"{1,3}"),u=Gi(e,"{1,6}"),l=Gi(e,"{1,9}"),h=Gi(e,"{2,4}"),d=Gi(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,Ws);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(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=Es(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 Mr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Er(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(Ps(t),e,i)}function Pr(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=Ps(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Lr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?ln.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Rs(t.c.year,i?6:4),e?(s+="-",s+=Rs(t.c.month),s+="-",s+=Rs(t.c.day)):(s+=Rs(t.c.month),s+=Rs(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=Rs(t.c.hour);return e?(o+=":",o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Rs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Rs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Rs(Math.trunc(-t.o/60)),o+=":",o+=Rs(Math.trunc(-t.o%60))):(o+="+",o+=Rs(Math.trunc(t.o/60)),o+=":",o+=Rs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const 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"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Yr(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 Je(t);return e}(t)}}function Gr(t,e){const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of $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]=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 Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Qr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=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=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Mr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Rr||t>Rr?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Ye(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Ye("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e),n=qs(t,Yr),{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=Jr,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,zs(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=As(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=jr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Hn],[Wn,qn],[Un,$n],[Zn,Bn])}(t);return Lr(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),[En,Dn])}(t);return Lr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,Pn],[Fn,Pn],[jn,Ln])}(t);return Lr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Ye("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Tr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Lr(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,[Yn,Hn],[Gn,Kn])}(t);return Lr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ye("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,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Qr=void 0,to={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(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=Ps(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?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return 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=qs(t,Yr),{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,Pr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,Pr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return ur.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||eo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Ye("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Ye("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(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Ye("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ye(`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):Lr(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 Ye(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(){const t=["month","weekdayLong","13337080Vzveii","3581136NmAVhQ","setLocale","monthLong","toJSDate","fromJSDate","year","72GMazPv","toRelativeCalendar","hasSame","day","minus","54741ZAJVOn","3tsidZr","441040aFcOiZ","local","612655QkobzV","28664OppetZ","week","18Pablms","1936718FxfJGU","startOf"];return(so=function(){return t})()}function no(t,e){const i=so();return(no=function(t,e){return i[t-=294]})(t,e)}function ro(t,e){const i=no,s=eo[i(298)](t)[i(295)](e),n=eo[i(308)](),r=n[i(304)]({days:1})[i(314)](i(303));let o,a;return s[i(302)](n,i(303))?(o=s[i(314)](i(303))[i(297)](),a=s[i(301)]()):s[i(302)](r,i(303))?(o=r[i(297)](),a=s[i(301)]()):s[i(302)](n,i(311))?(o=s[i(314)](i(311))[i(297)](),a=s[i(316)]||""):s[i(302)](n,i(299))?(o=s[i(314)](i(315))[i(297)](),a=s[i(296)]||""):(o=s[i(314)](i(299))[i(297)](),a=String(s[i(299)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(913887===-parseInt(e(305))/1+parseInt(e(307))/2*(parseInt(e(306))/3)+-parseInt(e(310))/4+-parseInt(e(309))/5*(-parseInt(e(300))/6)+-parseInt(e(313))/7+parseInt(e(294))/8*(parseInt(e(312))/9)+-parseInt(e(317))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(so);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=uo;function uo(t,e){const i=lo();return(uo=function(t,e){return i[t-=460]})(t,e)}function lo(){const t=["startDate","setName","localizedPeriodName","createCollection","50888673XyJpWE","uiLanguage","8coFDUG","ck-revision-history-sidebar__time-period","6519668FFMvIo","131540QneLqW","locale","1473IxTFAb","remove","_revisionActions","add","delegate","addRevision","setTemplate","12lfFKSx","removeRevision","2782pnSvFs","9gRyarP","ck-revision-history-sidebar__time-period__label","select","1153329cGnjWg","4294970uHTfNw","span","ck-revision-history-sidebar__time-period__revisions","4759300SPhfJy","_requireRevisionName","find","revisionViews","div"];return(lo=function(){return t})()}!function(t){const e=uo,i=t();for(;;)try{if(856997===-parseInt(e(473))/1+-parseInt(e(469))/2*(parseInt(e(460))/3)+-parseInt(e(490))/4+-parseInt(e(491))/5*(parseInt(e(467))/6)+parseInt(e(477))/7*(-parseInt(e(488))/8)+-parseInt(e(470))/9*(-parseInt(e(474))/10)+parseInt(e(486))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class ho extends ft.View{[co(482)];[co(480)];[co(462)];[co(478)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(492)][n(487)])[n(484)];this[n(482)]=e,this[n(480)]=this[n(485)](),this[n(462)]=i,this[n(478)]=s,this[n(480)][n(464)](n(472)).to(this),this[n(480)][n(464)](n(483)).to(this),this[n(466)]({tag:n(481),attributes:{class:["ck",n(489)]},children:[{tag:n(475),attributes:{class:["ck",n(471)]},children:[{text:r}]},{tag:n(481),attributes:{class:["ck",n(476)]},children:this[n(480)]}]})}[co(465)](t){const e=co,i=new Ue(this[e(492)],t,this[e(462)],this[e(478)]);this[e(480)][e(463)](i)}[co(468)](t){const e=co,i=this[e(480)][e(479)]((e=>e.id===t.id));this[e(480)][e(461)](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-=148]})(t,e)}function vo(){const t=["940961WROFOc","ck-revision-history-sidebar__header__label","4036504InWFNv","setTemplate","3097500YXYspU","span","136zBNuGg","1737956PBqcql","204450TBSqvG","ck-revision-history-sidebar__header","ck-reset_all","9FrcuCb","161275aPKkSk","143imSTAP","Revision history","content","231dOWreB","div","488760ARInGY"];return(vo=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(857497===-parseInt(e(148))/1+parseInt(e(155))/2+parseInt(e(152))/3+-parseInt(e(154))/4*(parseInt(e(160))/5)+-parseInt(e(156))/6*(-parseInt(e(164))/7)+-parseInt(e(150))/8*(-parseInt(e(159))/9)+parseInt(e(166))/10*(-parseInt(e(161))/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(163)]=dt.IconHistory,this[e(151)]({tag:e(165),attributes:{class:["ck",e(158),e(157)]},children:[i,{tag:e(153),attributes:{class:["ck",e(149)]},children:[Y(t,e(162))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=345]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(292454===parseInt(e(388))/1+parseInt(e(379))/2+-parseInt(e(384))/3*(-parseInt(e(345))/4)+parseInt(e(396))/5*(-parseInt(e(391))/6)+-parseInt(e(401))/7*(parseInt(e(397))/8)+parseInt(e(370))/9*(-parseInt(e(377))/10)+parseInt(e(386))/11*(-parseInt(e(356))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class _o extends ft.View{[bo(351)];[bo(392)];[bo(355)];[bo(372)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(363)];this[n(351)]=this[n(390)](),this[n(351)][n(368)](n(357)).to(this),this[n(351)][n(368)](n(373)).to(this),this[n(392)]=e,this[n(355)]=i,this[n(372)]=s,this.on(n(357),((t,e)=>{const i=n;this[i(378)](i(360),e)})),this.on(n(373),((t,e)=>{const i=n;this[i(378)](i(364),e)})),this[n(400)](n(376),!1),this[n(381)]({tag:n(365),attributes:{class:["ck",n(369),n(353),n(385)]},children:[new go(t),{tag:n(365),attributes:{class:["ck",n(359),r.if(n(376),n(399),(t=>!t))]},children:this[n(351)]}]})}[bo(347)](){const t=bo;super[t(347)]();for(const e of this[t(392)])this[t(387)](e);this[t(392)].on(t(358),((e,i)=>{this[t(387)](i)})),this[t(392)].on(t(380),((e,i)=>{this[t(375)](i)}))}get[bo(374)](){const t=bo;return this[t(351)][t(383)]((e=>e[t(374)][t(383)]((t=>t))))[t(346)]()}[bo(352)](t){const e=bo;for(const i of this[e(374)])t&&t.id===i.id?i[e(357)]():i[e(361)]()}[bo(394)](t){const e=bo;for(const i of this[e(374)])t[e(349)]((({id:t})=>t===i.id))?i[e(354)]():i[e(398)]()}[bo(387)](t){const e=bo,i=ro(t[e(382)],this[e(393)][e(366)])[e(371)];let s=this[e(351)][e(350)](0);s&&s[e(371)][e(389)]()===i[e(389)]()||(s=new ho(this[e(393)],i,this[e(355)],this[e(372)]),this[e(351)][e(358)](s)),s[e(395)](t)}[bo(375)](t){const e=bo,i=ro(t[e(382)],this[e(393)][e(366)])[e(371)];this[e(367)](i)[e(362)](t)}[bo(367)](t){const e=bo;return this[e(351)][e(348)]((i=>i[e(371)][e(389)]()===t[e(389)]()))}}function Io(){const t=["revisionSetName","div","uiLanguage","_getTimePeriodViewByStartDate","delegate","ck-reset","1476wapaFE","startDate","_requireRevisionName","setName","revisionViews","_removeRevision","isEnabled","1090KOrRvz","fire","863856zhDFvI","remove","setTemplate","createdAt","map","477tADyzN","ck-revision-history-sidebar","1333321KjpeBJ","_addRevision","447516vtNENL","getTime","createCollection","25518ExprpF","_revisions","locale","highlightRevisions","addRevision","215AHSBWz","8hyAPpp","unhighlight","ck-disabled","set","2133418UsXSpW","1000zDKIkx","flat","render","find","some","get","timePeriodViews","selectRevision","ck-rounded-corners","highlight","_revisionActions","12yfGfwB","select","add","ck-revision-history-sidebar__timeline","revisionSelected","deselect","removeRevision","bindTemplate"];return(Io=function(){return t})()}function So(t,e){const i=No();return(So=function(t,e){return i[t-=349]})(t,e)}const Oo=So;!function(t){const e=So,i=t();for(;;)try{if(277132===parseInt(e(429))/1*(-parseInt(e(354))/2)+parseInt(e(358))/3*(-parseInt(e(426))/4)+-parseInt(e(408))/5+-parseInt(e(381))/6*(-parseInt(e(384))/7)+parseInt(e(371))/8+parseInt(e(353))/9*(-parseInt(e(402))/10)+parseInt(e(385))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends U.Plugin{[Oo(366)];[Oo(359)];[Oo(431)];static[Oo(367)]=[Oo(420),Oo(404),Oo(390)];static[Oo(409)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(387),action:({plugins:e},i)=>{const s=t,n=e[s(365)](Qt),r=n[s(363)];let o=n[s(382)][s(396)],a=i.id;r[s(361)](o)>r[s(361)](a)&&([o,a]=[a,o]),n[s(362)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(365)](Qt);return!(n[s(363)][s(370)](n[s(382)])[s(374)]>2||i[s(407)])}},restoreRevision:{name:t(399),action:(e,{id:i})=>{const s=t;e[s(349)][s(365)](s(413))[s(376)](i)},isVisible:({plugins:e},i)=>!!e[t(365)](Qt)[t(363)][t(372)](i.id)},nameRevision:{name:t(392),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(365)](Qt),o=r[n(363)][n(394)](i);r[n(362)](i,o),s[n(428)](),s[n(351)][n(389)]()}}}}();static get[Oo(405)](){return Oo(417)}static get[Oo(403)](){return!0}static get[Oo(368)](){return!0}static get[Oo(397)](){return[Qt]}constructor(t){const e=Oo;super(t),this[e(366)]=t[e(386)][e(365)](Qt),this[e(359)]=this[e(366)][e(363)],this[e(431)]=null}[Oo(424)](){const t=Oo,e=this[t(359)][t(410)],i=this[t(364)](),s=this[t(379)][t(349)][t(365)](t(377));this[t(431)]=new _o(this[t(379)][t(418)],e,i,this[t(379)][t(349)][t(365)](t(356))),this[t(431)].on(t(411),this[t(415)][t(430)](this)),this[t(431)].on(t(380),this[t(373)][t(430)](this)),this[t(431)][t(430)](t(378)).to(this[t(366)]),this[t(431)][t(398)].on(t(357),((e,i)=>{const s=t;i[s(352)].on(s(357),((t,e)=>{const i=s;e[i(430)](i(378),i(393)).to(this[i(366)])}))})),this[t(431)][t(427)](),this[t(406)](this[t(379)][t(419)],t(414),this[t(388)][t(430)](this)),this[t(406)](this[t(366)],t(350),this[t(355)][t(430)](this)),s[t(422)](this[t(431)][t(391)])}[Oo(425)](){const t=Oo;this[t(431)][t(391)][t(432)](),this[t(431)][t(425)]()}[Oo(388)](){const t=Oo,e=this[t(359)][t(395)](0);if(e){const i=this[t(359)][t(394)](e.id);this[t(366)][t(362)](e,i)}}[Oo(415)](t,e){const i=Oo,s=this[i(359)][i(395)](e.id),n=this[i(359)][i(394)](s.id);this[i(366)][i(362)](s,n)}[Oo(373)](t,e){const i=Oo;this[i(359)][i(395)](e.id)[i(416)](e[i(383)])}[Oo(355)](t,e,i){const s=Oo,n=this[s(359)][s(370)](i);n[s(374)]>2?(this[s(431)][s(400)](n),this[s(431)][s(360)](null)):(this[s(431)][s(400)]([]),this[s(431)][s(360)](n[0]))}[Oo(364)](){const t=Oo,e=this[t(379)],i=xo[t(409)],s=e[t(349)][t(365)](t(401))||xo[t(367)];if(s[t(374)])return s[t(421)]((s=>{const n=t,r=n(412)==typeof s?Object[n(369)]({},i[s]):s;return r[n(375)]=r[n(375)][n(430)](this,e),r[n(423)]&&(r[n(423)]=r[n(423)][n(430)](this,e)),r}))}}const To=xo;function No(){const t=["getEarlierVisibleRevision","getRevision","newRevisionId","requires","timePeriodViews","Restore this revision","highlightRevisions","revisionHistory.revisionActions","70sqMVKN","isOfficialPlugin","restoreRevision","pluginName","listenTo","isSelected","489860aHaNIz","availableRevisionActions","_revisions","revisionSelected","string","revisionHistory","ready","_handleRevisionSelected","setName","RevisionsSidebar","locale","data","compareAgainstSelected","map","appendChild","isVisible","init","destroy","4pCJqNx","render","focus","217363EBzGTK","bind","_sidebarView","remove","config","change:diff","fieldView","revisionViews","120825mTAiEs","2FVCmPn","_handleDiffChange","revisionHistory.requireRevisionName","add","232224GrJSYF","_revisionsRepository","selectRevision","getIndex","compare","repository","_createRevisionActions","get","_revisionViewer","defaultRevisionActions","isPremiumPlugin","assign","getRevisionsInDiff","458872JNnhsc","getLaterVisibleRevision","_handleRevisionSetName","length","action","restoreRevisionCallback","revisionHistory.viewerSidebarContainer","isEnabled","editor","revisionSetName","54DeovuG","diff","name","312613LAtHLR","3350160toTIEm","plugins","Compare against selected","_handleEditorDataReady","select","nameRevision","element","Name this revision","isReady"];return(No=function(){return t})()}const Ao=Mo;function Ro(){const t=["_elementReplacer","656560HUogma","destroy","viewportOffset","bind","name","replace","ready","config","element","193527AknLfX","fillFromConfig","21zMJtJN","document","170474wZwirr","render","editable","_view","editing","getRoot","addToolbar","attachDomRoot","1347606IfjodS","1749495dbplwm","_initToolbar","componentFactory","view","isFocused","fire","stickyPanel","limiterElement","setEditableElement","rootName","detachDomRoot","restore","584196RalsmK","_toolbarConfig","editor","focusTracker","init","50riJfRv","2OpqLEm","viewportTopOffset","isActive","get","toolbar","576956zRdAFa"];return(Ro=function(){return t})()}function Mo(t,e){const i=Ro();return(Mo=function(t,e){return i[t-=154]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(211653===-parseInt(e(182))/1*(-parseInt(e(155))/2)+-parseInt(e(198))/3+-parseInt(e(187))/4+-parseInt(e(164))/5+parseInt(e(176))/6+parseInt(e(200))/7*(-parseInt(e(189))/8)+parseInt(e(163))/9*(parseInt(e(181))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Vo extends ft.EditorUI{[Ao(158)];[Ao(177)];[Ao(188)];get[Ao(167)](){return this[Ao(158)]}constructor(e,i){const s=Ao;super(e),this[s(158)]=i,this[s(177)]=(0,ft.normalizeToolbarConfig)(e[s(196)][s(185)](s(186))),this[s(188)]=new t.ElementReplacer}get[Ao(197)](){const t=Ao;return this[t(167)][t(197)]}[Ao(180)](t){const e=Ao,i=this[e(178)],s=this[e(167)],n=i[e(159)][e(167)],r=s[e(157)],o=n[e(154)][e(160)]();r[e(193)]=o[e(173)],s[e(156)]();const a=r[e(197)];this[e(172)](r[e(193)],a),s[e(157)][e(192)](e(168)).to(this[e(179)]),n[e(162)](a),this[e(188)][e(194)](t,this[e(197)]),this[e(165)](),this[e(169)](e(195))}[Ao(190)](){const t=Ao;super[t(190)]();const e=this[t(167)],i=this[t(178)][t(159)][t(167)];this[t(188)][t(175)](),i[t(174)](e[t(157)][t(193)]),e[t(190)]()}[Ao(165)](){const t=Ao,e=this[t(167)];e[t(170)][t(192)](t(184)).to(this[t(179)],t(168)),e[t(170)][t(171)]=e[t(197)],e[t(170)][t(192)](t(183)).to(this,t(191),(({top:t})=>t)),e[t(186)][t(199)](this[t(177)],this[t(166)]),this[t(161)](e[t(186)])}}var Eo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Eo.A,Do);Eo.A&&Eo.A.locals&&Eo.A.locals;var Co=jo;function Fo(){var t=["top","2692415BgKwrV","81094BWvuYH","render","151068RApDBq","main","stickyPanel","shouldToolbarGroupWhenFull","5434044XyPJfE","editable","6611862IPrAxX","32NusJJN","5465808McnglX","_editable","content","toolbar","add","11108OieTXe","786UsamfR"];return(Fo=function(){return t})()}function jo(t,e){var i=Fo();return(jo=function(t,e){return i[t-=318]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(604557===-parseInt(e(318))/1+parseInt(e(335))/2+-parseInt(e(332))/3*(-parseInt(e(331))/4)+parseInt(e(334))/5+parseInt(e(324))/6+parseInt(e(322))/7+-parseInt(e(325))/8*(parseInt(e(326))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends ft.BoxedEditorUIView{[Co(327)];[Co(320)];[Co(329)];get[Co(323)](){return this[Co(327)]}constructor(t,e,i={}){var s=Co;super(t),this[s(320)]=new ft.StickyPanelView(t),this[s(329)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(321)]}),this[s(327)]=new ft.InlineEditableUIView(t,e)}[Co(336)](){var t=Co;super[t(336)](),this[t(320)][t(328)][t(330)](this[t(329)]),this[t(333)][t(330)](this[t(320)]),this[t(319)][t(330)](this[t(323)])}}const Lo=Wo;function zo(){const t=["342759yKOBlI","document","348koLKhU","init","21610HzYFEj","5276131Zjfrxw","model","fire","_ui","locale","106360uaYJoq","updateSourceElement","destroy","view","editing","30843362xygUXU","create","initPlugins","sourceElement","ready","243eqDxqq","8SqImAd","initialData","data","get","40642IhCHNN","createRoot","config","1871252EdwHxj","129yvxmIY"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=204]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(694855===parseInt(e(213))/1+-parseInt(e(208))/2*(parseInt(e(212))/3)+parseInt(e(211))/4+parseInt(e(223))/5*(-parseInt(e(215))/6)+parseInt(e(218))/7*(-parseInt(e(204))/8)+-parseInt(e(233))/9*(parseInt(e(217))/10)+parseInt(e(228))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends((0,U.ElementApiMixin)(U.Editor)){[Lo(221)];get ui(){return this[Lo(221)]}constructor(t,e){const i=Lo;super(e),this[i(231)]=t,this[i(219)][i(214)][i(209)]();const s=new Po(this[i(222)],this[i(227)][i(226)],{shouldToolbarGroupWhenFull:!0});this[i(221)]=new Vo(this,s)}[Lo(225)](){const t=Lo;return this[t(224)](),this.ui[t(225)](),super[t(225)]()}static async[Lo(229)](t,e){const i=Lo,s=new this(t,e);return await s[i(230)](),await s.ui[i(216)](t),await s[i(206)][i(216)](s[i(210)][i(207)](i(205))||""),s[i(220)](i(232)),s}}const Zo=Ho;function Ho(t,e){const i=qo();return(Ho=function(t,e){return i[t-=370]})(t,e)}function qo(){const t=["users","Users","plugins","block","Dialog","setSelection","_viewerEditor","29552tlEvYw","6596838mnHfNd","set","roots","keys","catch","style","refreshVisibility","_update","repository","error","3107382BDVLgN","document","revisionHistory.showRevisionViewerCallback","refreshPositioning","isReady","revision-history-missing-configuration","translations","requires","destroy","enableReadOnlyMode","addRoot","none","fromVersion","has","getMarkersGroup","numeric","_closeRevisionViewer","update","selection","addUser","change","revisionHistory.requireRevisionName","exitToEditing","isOpen","markers","getRevisionRootsAttributes","commands","RevisionViewer","createdAt","restoreRevision","from","isAnonymous","isOfficialPlugin","revision-history-viewer-opened","Restored","bind","uiLanguage","PaginationLookup","toJSON","581XYPuBS","getRoot","createRangeIn","rootName","changesNavigation","_cleanUp","setAttribute","1208455UwyYda","insert","RestrictedEditingMode","removeAttribute","then","isEnabled","getAttributeKeys","revisionHistory.editorContainer","disableReadOnlyMode","isPremiumPlugin","saveRevision","4czazSX","RevisionHistory","end","_enhanceShowRevisionViewerCallback","56160UDuUpv","addRevisionData","revisionHistory.restoreRevisionCallback","revisionHistory","isReadOnly","_enhanceCloseRevisionViewerCallback","toVersion","getRevisions","init","toLocaleTimeString","lazyRoots","22FlQGZC","Autosave","revisionHistory.closeRevisionViewerCallback","data","long","78TmuKBM","_showRevisionViewer","save","_getRevisionViewerEditorConfig","includes","RevisionTracker","removeSelectionAttribute","result","get","model","push","isAttached","getUser","display","indexOf","revisionHistory.viewerContainer","restrictedEditingException","map","removeMarker","RevisionViewerIntegration","create","editor","closeRevisionViewerCallback","Annotations","detachRoot","creator","name","showRevisionViewerCallback","parse","toolbar","RevisionsRepository","enqueueChange","remove","_recalculatePageBreaks","$graveyard","toLocaleDateString","getRevisionData","pluginName","_restoreRevision","getRevision","revisionHistory.viewerEditorElement","hide","adapter","RevisionHistoryUI","3608950vNjhwV","locale","define","5818512DjEhlh","config","fromCharCode","join"];return(qo=function(){return t})()}!function(t){const e=Ho,i=t();for(;;)try{if(588149===-parseInt(e(385))/1*(-parseInt(e(473))/2)+parseInt(e(396))/3+parseInt(e(453))/4*(parseInt(e(442))/5)+-parseInt(e(374))/6+-parseInt(e(435))/7*(-parseInt(e(457))/8)+-parseInt(e(386))/9+parseInt(e(371))/10*(-parseInt(e(468))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const $o=[Zo(370),Zo(444)];class Bo extends U.Plugin{[Zo(480)];static get[Zo(510)](){return Zo(492)}static get[Zo(428)](){return!0}static get[Zo(451)](){return!0}constructor(t){const e=Zo;function i(t){const e=Ho;return t[e(490)]((t=>String[e(376)](t)))[e(377)]("")}super(t),this[e(480)]=e(455),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 Jo extends U.Plugin{[Zo(384)];static get[Zo(510)](){return Zo(454)}static get[Zo(428)](){return!0}static get[Zo(451)](){return!0}static get[Zo(403)](){return[nt,Ct]}constructor(e){const i=Zo;if(super(e),!this[i(494)][i(375)][i(481)](i(460)))throw new t.CKEditorError(i(401),this);this[i(384)]=null,this[i(494)][i(375)][i(373)](i(398),(t=>this[i(474)]({...t,translations:this[i(494)][i(372)][i(402)]}))),this[i(494)][i(375)][i(373)](i(470),(t=>this[i(412)](t))),this[i(494)][i(375)][i(373)](i(459),(t=>this[i(511)](t))),this[i(494)][i(375)][i(373)](i(417),!1),this[i(456)](),this[i(462)]()}set[Zo(515)](t){const e=Zo;this[e(494)][e(380)][e(481)](e(478))[e(515)]=t}get[Zo(515)](){const t=Zo;return this[t(494)][t(380)][t(481)](t(478))[t(515)]}[Zo(458)](t){const e=Zo;return this[e(494)][e(380)][e(481)](e(478))[e(458)](t)}[Zo(512)](t){const e=Zo;return this[e(494)][e(380)][e(481)](e(503))[e(512)](t)}[Zo(464)](t){const e=Zo;return this[e(494)][e(380)][e(481)](e(503))[e(464)](t||{toJSON:!1})}[Zo(476)](){const e=Zo,i=this[e(494)],s=(0,Z.sanitizeEditorConfig)(i,$o),n=i[e(380)][e(481)](e(478)),r=i[e(380)][e(481)](e(379))[e(378)];return s[e(502)]=[e(418),e(425),e(439)],delete s[e(467)],s[e(380)][e(483)](Bo,Qt,ke,class extends U.Plugin{static get[e(403)](){return[Qt,e(379)]}[e(465)](){const s=e,o=this[s(494)][s(380)][s(481)](s(379));for(const t of r)t[s(427)]||o[s(485)](t.id)||o[s(415)](t);const a=n[s(394)][s(464)]();let c=null;const u=this[s(494)][s(380)][s(481)](s(423));u[s(515)]=n[s(515)],u[s(431)](s(447)).to(n),this[s(494)][s(422)][s(481)](s(425))[s(431)](s(447)).to(i,s(461),(t=>!t));for(const e of a){const i=null===e[s(498)];if(i&&e[s(463)]===e[s(408)])continue;const r=e[s(434)]();u[s(458)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(393)](r,o);else if(!o){const e=a[u(434)]();e.id=(0,t.uid)(),n[u(452)](e,a[u(463)])[u(446)]((t=>{c=t}))}}else e[u(393)](r,o)}))}}},To),s}[Zo(456)](){const t=Zo,e=this[t(494)][t(375)][t(481)](t(460))[t(500)];this[t(494)][t(375)][t(387)](t(398),(async()=>{const i=t;this[i(494)][i(405)](i(429));const s=this[i(494)][i(380)][i(481)](i(478));if(this[i(494)][i(380)][i(409)](i(469))){const t=this[i(494)][i(380)][i(481)](i(469));await t[i(475)]()}else await s[i(413)]();if(this[i(494)][i(380)][i(409)](i(433))&&this[i(494)][i(380)][i(481)](i(433))[i(506)](),this[i(494)][i(380)][i(409)](i(382))){const t=this[i(494)][i(380)][i(481)](i(382));t[i(419)]&&t[i(514)]()}const n=this[i(476)]();return e(n)[i(446)]((t=>{const e=i;return this[e(384)]=t,this[e(494)][e(380)][e(409)](e(496))&&this[e(494)][e(380)][e(481)](e(496))[e(392)](),t}))[i(390)]((t=>(console[i(395)](t),this[i(494)][i(450)](i(429)),null)))}))}[Zo(462)](){const t=Zo,e=this[t(494)][t(375)][t(481)](t(460))[t(495)];this[t(494)][t(375)][t(387)](t(470),(()=>(this[t(494)][t(380)][t(409)](t(433))&&this[t(494)][t(380)][t(481)](t(433))[t(506)](),this[t(384)][t(380)][t(481)](t(423))[t(440)](),e(this[t(384)])[t(446)]((()=>{const e=t;if(this[e(494)][e(450)](e(429)),this[e(384)]=null,this[e(494)][e(380)][e(409)](e(496))){const t=this[e(494)][e(380)][e(481)](e(496));t[e(392)](),t[e(399)]()}})))))}[Zo(474)](t){const e=Zo,i=this[e(494)][e(375)][e(481)](e(449)),s=this[e(494)][e(375)][e(481)](e(488)),n=this[e(494)][e(375)][e(481)](e(513));return Uo[e(493)](n,t)[e(446)]((t=>(s[e(391)][e(486)]=e(381),i[e(391)][e(486)]=e(407),t)))}[Zo(412)](t){const e=Zo,i=this[e(494)][e(375)][e(481)](e(449));return this[e(494)][e(375)][e(481)](e(488))[e(391)][e(486)]=e(407),i[e(391)][e(486)]="",t[e(404)]()}async[Zo(511)](t){const e=Zo,i=this[e(494)],s=this[e(384)][e(380)][e(481)](e(423)),n=i[e(380)][e(481)](e(478)),r=s[e(394)][e(512)](t);let o,a,c;try{o=await s[e(509)](r),a=await s[e(421)](r)}catch(t){return void console[e(395)](t)}i[e(482)][e(416)]((t=>{const s=e;for(const e of Array[s(426)](i[s(482)][s(420)][s(410)](s(489))))t[s(491)](e)})),s[e(400)]=!1,i[e(482)][e(504)]((t=>{const s=e;t[s(383)](null),t[s(479)](i[s(482)][s(397)][s(414)][s(448)]());const n=Object[s(389)](o);for(const e of i[s(482)][s(397)][s(388)])s(507)!=e[s(438)]&&e[s(484)]()&&!n[s(477)](e[s(438)])&&t[s(497)](e);for(const e of n){let n=i[s(482)][s(397)][s(436)](e);n&&n[s(484)]()||(n=t[s(406)](e));const r=a[e],c=Object[s(389)](r),u=o[e];for(const e of n[s(448)]())c[s(477)](e)||t[s(445)](e,n);for(const i of c)t[s(441)](i,a[e][i],n);t[s(505)](t[s(437)](n)),t[s(443)](i[s(471)][s(501)](u,n),n,0)}}));const u=Y(i[e(372)],e(430));return c=r[e(499)]?-1==r[e(499)][e(487)](u)?u+": "+r[e(499)]:r[e(499)]:u+": "+r[e(424)][e(508)](i[e(372)][e(432)],{month:e(472),day:e(411)})+", "+r[e(424)][e(466)](i[e(372)][e(432)],{hour:e(411),minute:e(411)}),await n[e(452)]({name:c}),s[e(400)]=!0,i[e(375)][e(481)](e(460))[e(495)]()}}function Yo(){var t=["410EOsgIK","661787mxWBiX","8760184ClyRGz","10646830lwJzxH","86318zPANwf","9RdrbGH","49384vrSlKX","6129673Zzmatr","2637885KOxARf","23KLXtOH","24OQbIib"];return(Yo=function(){return t})()}function Go(t,e){var i=Yo();return(Go=function(t,e){return i[t-=301]})(t,e)}!function(t){for(var e=Go,i=t();;)try{if(710841===parseInt(e(303))/1*(parseInt(e(309))/2)+parseInt(e(302))/3+-parseInt(e(311))/4*(parseInt(e(305))/5)+-parseInt(e(304))/6*(-parseInt(e(306))/7)+-parseInt(e(307))/8*(-parseInt(e(310))/9)+-parseInt(e(308))/10+-parseInt(e(301))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|