@ckeditor/ckeditor5-revision-history 0.0.0-nightly-next-20250214.0 → 0.0.0-nightly-next-20250215.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:()=>W,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>rt,RevisionViewer:()=>te,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>Y,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V,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 V=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function M(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,M(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function j(){const t=["1226825WoPPLN","245982FybCvK","setName","model","5920387muGApK","toJSON","name","creatorId","removeAttribute","27QASagJ","fire","createdAt","authors","30PSbFMV","authorsIds","toVersion","40ZIDWPd","2RuLXHm","diffData","map","112GAIZsw","attributes","setAttribute","831336DYceOs","fromVersion","649355Tdamgg","12gOvQiB","creator","set","_update","46569hGEMKh","70157477ZuGgWb"];return(j=function(){return t})()}const P=z;function z(t,e){const i=j();return(z=function(t,e){return i[t-=423]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(896819===-parseInt(e(423))/1*(parseInt(e(440))/2)+-parseInt(e(453))/3+parseInt(e(439))/4*(-parseInt(e(448))/5)+parseInt(e(424))/6*(-parseInt(e(443))/7)+parseInt(e(446))/8*(parseInt(e(432))/9)+-parseInt(e(436))/10*(parseInt(e(427))/11)+-parseInt(e(449))/12*(-parseInt(e(454))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(j);class W extends((0,t.ObservableMixin)()){id;[P(450)];[P(435)];[P(441)];[P(438)];[P(447)];[P(426)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(450)]=e[i(450)]||null,this[i(435)]=e[i(435)]||[],this[i(441)]=e[i(441)]||null,this[i(438)]=e[i(438)]||0,this[i(447)]=e[i(447)]||0,this[i(451)](i(429),e[i(429)]||""),this[i(451)](i(434),e[i(434)]||new Date),this[i(451)](i(444),e[i(444)]||{})}[P(425)](t){this[P(452)]({name:t})}[P(445)](t,e){const i=P,s=R(this[i(444)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(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(452)]({attributes:s})}[P(431)](t){const e=P,i=R(this[e(444)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return L(t,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(452)]({attributes:i})}[P(452)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(429),i(434),i(441),i(435),i(444),i(438),i(447),i(430)];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(435)]&&(n[i(437)]=n[i(435)][i(442)]((t=>t.id)),delete n[i(435)]),this[i(433)](i(452),n,e))}[P(428)](){const t=P;return{id:this.id,name:this[t(429)],creatorId:this[t(450)]?this[t(450)].id:null,authorsIds:this[t(435)][t(442)]((t=>t.id)),diffData:this[t(441)],createdAt:this[t(434)],attributes:this[t(444)],fromVersion:this[t(447)],toVersion:this[t(438)]}}}var U=i(782),H=i(211),Z=i(783);const $=B;function q(){const t=["join","1530438qfEcmi","toVersion","_revisions","getRevision","newRevisionId","diffData","isPremiumPlugin","later","name","length","editor","createRevision","earlier","3527721iMRgWU","getRevisionsInDiff","getEarlierVisibleRevision","10190243kEMHhf","6KyBmFv","pluginName","toJSON","href","plugins","getRevisions","isNaN","getLaterVisibleRevision","16338030JgFhZs","fromCharCode","authorsIds","RevisionsRepository","fromVersion","4zKiueT","addRevision","getRevisionsIterator","get","push","reverse","171onHuWW","351185rSaKwz","getIndex","Users","afterInit","createdAt","map","151272FyKbms","creatorId","add","from","attributes","getUser","requires","data","3025990MWKbiA","oldRevisionId","isOfficialPlugin"];return(q=function(){return t})()}function B(t,e){const i=q();return(B=function(t,e){return i[t-=418]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(803526===-parseInt(e(434))/1+parseInt(e(452))/2+parseInt(e(465))/3+-parseInt(e(427))/4*(parseInt(e(448))/5)+parseInt(e(469))/6*(-parseInt(e(468))/7)+parseInt(e(440))/8*(-parseInt(e(433))/9)+parseInt(e(422))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends U.Plugin{[$(454)];static get[$(446)](){return[H.Users]}static get[$(470)](){return $(425)}static get[$(450)](){return!0}static get[$(458)](){return!0}get[$(461)](){const t=$;return this[t(454)][t(461)]}constructor(e){const i=$;super(e),this[i(454)]=new t.Collection}[$(437)](){!async function(e){const i=k([80,98,65,76,77,104,85,56,111,102,48,101,103,112,74,115,82,122,66,49,84,110,119,106,57,88,52,90,79,72,69,73,107,51,50,86,105,100,70,81,116,97,108,55,118,67,121,78,120,71,109,113,117,114,87,68,83,53,54,89,99,75]),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=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(420)](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([80]);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=B;return t[e(439)]((t=>String[e(423)](t)))[e(451)]("")}!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:1739491200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,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(472)]);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)}[$(463)](t){const e=$,i=this[e(462)][e(418)][e(430)](e(436));return new W({id:t.id,name:t[e(460)],creator:t[e(441)]?i[e(445)](t[e(441)]):null,diffData:t[e(457)]||t[e(447)],authors:t[e(424)][e(439)]((t=>i[e(445)](t))),createdAt:new Date(t[e(438)]),attributes:t[e(444)],fromVersion:t[e(426)],toVersion:t[e(453)]})}[$(428)](t,e=0){const i=$;this[i(454)][i(442)](t,e)}[$(455)](t){const e=$;return this[e(454)][e(430)](t)}[$(419)](t={toJSON:!1}){const e=$,i=Array[e(443)](this[e(454)]);return i[e(432)](),t[e(471)]?i[e(439)]((t=>t[e(471)]())):i}[$(435)](t){const e=$;return this[e(454)][e(435)](t)}[$(467)](t){const e=$,[,i]=this[e(429)](t,{direction:e(464)});return i}[$(421)](t){const e=$,[,i]=this[e(429)](t,{direction:e(459)});return i}[$(466)](t){const e=$,i=[];for(const s of this[e(429)](t[e(456)]))if(i[e(431)](s),s.id===t[e(449)])break;return i}*[$(429)](t,{direction:e=$(464),filter:i=()=>!0}={}){const s=$,n=s(464)===e?1:-1;let r=this[s(454)][s(430)](t),o=this[s(435)](r);for(yield r;r;){if(o+=n,r=this[s(455)](o),!r)return;i(r)&&(yield r)}}}function J(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function G(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return 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)===(V=s)||Number.isNaN(R)&&Number.isNaN(V)}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,V;const E=(s=s??new Map).get(t),M=s.get(i);if(null!=E&&null!=M)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=st;function it(){const t=["_handleMarkerOperation","_lastFrom","slice","_reset","marker","revisionHistoryLicenseKeyUsageLimit","revision-end","_getVidAttributeName","sendBufferedUpdates","attributesAfter","for","marked","_startingVersion","nodeAfter","_calculateMetaData","config","_createFromRanges","init","_source","end","processor","_operations","_isAttached","toVersion","_fixOperation","locale","some","fromVersion","editor-initial-data-replaced-with-revision-data","toModel","authorsIds","564oLXHnx","dataDowncast","forEach","getTime","_baseRoots","tableCell","expired","_savedMetaData","_licenseKeyCheckInterval","afterInit","useFillerType","getAncestors","658792CYzJoh","rootName","addRevision","text","createPositionAfter","document","name","createPositionBefore","_makeIdsRoot","_startingRevisionId","getChild","requires","_addPendingAction","_touchedRoots","filter","history","revisionHistory.resumeUnsavedRevision","680wrxKXV","offset","data-revision-","merge","_handleRootOperation","max","getLatestVersion","remove","collaboration.channelId","featureNotAllowed","revisionHistoryLicenseKeyExpired","_fixRange","_update","dataToMarker","roots","PENDING_ACTION_REVISION_HISTORY","_getBaseVids","domainLimit","_makeModelFromViewString","childCount","stringify","_baseIdsRoots","saveRevision","detachRoot","992424sqywKz","then","isOfficialPlugin","finally","elementStart","_isPendingUpdate","_prepareViewToSave","_setAttribute","startsWith","createRangeIn","3861296qnFvgm","_authorId","getCurrentRevisionId","_handleInsertOperation","buildRevisionData","_handleRootAttributeOperation","move","_findInsertionIndex","markers","fromEntries","element","revision-start","vid_start","_transformMarkers","_generateTape","clear","vid_end","oldRange","version","getUser","getRange","createdAt","affectsData","_loadRevisionData","getRevisionRootsAttributes","baseVersion","revisionHistoryLicenseKeyEvaluationLimit","_markChanges","toData","_diffRoots","previousPosition","insertionPosition","_diffRootsAttributes","elementEnd","_copyMarkers","newRange","pluginName","25AzKQwK","deletion","repository","_getPreviousFrom","userId","creator","newValue","getData","howMany","RealTimeCollaborationClient","key","getRevisionDocumentData","get","$graveyard","_appendChild","getOperation","reInit","reverse","isPremiumPlugin","_cloneOperation","_handleMoveOperation","_insertChild","destroy","_baseRootsAttributes","conversion","currentRevision","_removeRevisionMarkers","insertion","_lastTo","invalid","size","RevisionsRepository","editing","parse","getMovedRangeStart","_handleMergeOperation","position","attributesBefore","_removeMetaData","_revisionId","addRevisionData","getRevisions","1892157jRjJkm","_getFromVersion","createRange","_initialRevisionId","attachChange","from","editor","rootsAttributes","vid","paragraph","keepParagraph","143363PcQAIr","_pendingAction","resolve","source","updateRevisions","2TABiaA","8217vXjtue","define","revision","setSource","Empty document","licenseKey","getOperations","_bufferUpdate","upcast","splitPosition","getIndex","authors","offsetSize","evaluationLimit","isAttached","targetPosition","model","getRevision","_isInit","_loadedStateData","PendingActions","trim","removeRootAttribute","createPositionFromPath","add","_applyOperations","nodes","getChildren","clone","isEnabled","update","graveyardPosition","initialData","sourcePosition","_execute","keys","isEqual","values","creatorId","_showLicenseError","91cUcVoG","ready","string","revisionHistoryLicenseKeyInvalid","root","_processRootBeforeSave","changeRootAttribute","createRevision","RevisionHistory","bind","length","push","_markers","$text","getNodeByPath","map","_replaceEditorDataWithRevisionData","_removePendingAction","_continueCurrentRevision","hasContent","_touchedMarkers","isAdd","_clone","419219ClNzvw","set","_saveMetaData","_touched","adapter","_idsRoots","split","_fixPosition","createPositionAt","attributes","insertions","range","getWalker","addRootAttribute","revisionHistoryLicenseKeyNotAllowed","default","Users","revisionHistoryLicenseKeyDomainLimit","stickiness","includes","trialLimit","deletions","item","getRootNames","diffData","setRevisionData","getRoot","addRoot","view","NEGATIVE_INFINITY","find","_createCurrentRevision","reinsert","_handleOperation","data","_revisionDataBuilder","path","getAttributes","loadState","_makeRevision","_setConversion","has","sort","_loadState","_createInitialRevision","getAttribute","_getViewJson","_handleSplitOperation","insert","revisionHistoryLicenseKeyTrialLimit","toView","getTransformedByOperation","isReady","parent","_bufferedUpdates","delete","children","plugins","documentFragment","shift","RevisionTracker","type","usageLimit","Initial revision","_getState","start","initial","revision:","markerToData","revisionHistoryLicenseKeyValid"];return(it=function(){return t})()}function st(t,e){const i=it();return(st=function(t,e){return i[t-=254]})(t,e)}!function(t){const e=st,i=t();for(;;)try{if(792340===parseInt(e(390))/1+parseInt(e(326))/2*(parseInt(e(310))/3)+parseInt(e(554))/4+-parseInt(e(268))/5*(parseInt(e(544))/6)+parseInt(e(367))/7*(-parseInt(e(503))/8)+-parseInt(e(327))/9*(-parseInt(e(520))/10)+parseInt(e(321))/11*(parseInt(e(491))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);const nt={c:Z.ViewContainerElement,a:Z.ViewAttributeElement,e:Z.ViewEmptyElement,r:Z.ViewRawElement,u:Z.ViewUIElement};class rt extends U.Plugin{[et(332)];[et(499)];[et(394)];[et(293)];[et(270)];[et(425)];[et(478)];[et(313)];[et(444)];[et(322)];[et(385)];[et(472)];[et(346)];static get[et(267)](){return et(450)}static get[et(546)](){return!0}static get[et(286)](){return!0}static get[et(514)](){return[H.Users,Y,U.PendingActions]}constructor(e){const i=et;super(e),this[i(394)]=null,this[i(293)]=null,this[i(425)]=new at(this[i(316)]),this[i(313)]=this[i(316)][i(475)][i(280)](i(528))||i(456),this[i(444)]=new Map,this[i(346)]=null;const s=(0,t.uid)();this[i(478)]={history:this[i(316)][i(343)][i(508)][i(518)],getLatestVersion:()=>Promise[i(323)](this[i(316)][i(343)][i(508)][i(572)]),getCurrentRevisionId:()=>s},this[i(391)](i(442),!1),this[i(391)](i(356),!0),this[i(391)](i(549),!1),this[i(316)][i(475)][i(328)](i(519),!0),this[i(316)][i(292)][i(470)](i(335))[i(533)]({view:i(329)})}[et(477)](){const t=et;this[t(270)]=this[t(316)][t(447)][t(280)](t(299)),this[t(430)](),this[t(316)][t(424)].on(t(368),(()=>{const e=t,i=this[e(270)][e(344)](0),s=i&&null===i[e(273)]?i:null;if(this[e(385)]=!!s&&this[e(316)][e(475)][e(280)](e(519)),this[e(316)][e(447)][e(431)](e(277))){const t=this[e(478)][e(556)](),n=this[e(270)][e(344)](t);if(n)this[e(472)]=n[e(487)],this[e(385)]=!1;else{const t=this[e(478)][e(518)][e(481)][e(420)]((t=>!t[e(345)])),n=t?t[e(256)]:this[e(478)][e(518)][e(572)];i?(i[e(483)]<n&&i[e(532)]({toVersion:n}),this[e(385)]?(this[e(478)][e(556)]=()=>s.id,this[e(472)]=s[e(487)]):(this[e(472)]=i[e(483)],this[e(385)]=!1)):(this[e(472)]=n,this[e(385)]=!1)}}else s&&(this[e(316)][e(343)][e(508)][e(518)][e(572)]=Math[e(525)](s[e(483)],this[e(316)][e(343)][e(508)][e(518)][e(572)]),s[e(487)]===s[e(483)]?(0!==s[e(487)]&&(this[e(478)][e(556)]=()=>s.id),this[e(385)]=!1):this[e(385)]&&(this[e(478)][e(556)]=()=>s.id,this[e(472)]=s[e(487)])),this[e(385)]||(this[e(472)]=this[e(316)][e(343)][e(508)][e(572)]);this[e(425)][e(477)](this[e(478)][e(518)]),this[e(434)](this[e(472)]),this[e(421)](this[e(472)]),this[e(394)]&&this[e(468)]()})),this[t(376)](t(442)).to(this,t(549),(t=>!t)),this[t(332)]=this[t(316)][t(475)][t(280)](t(332));const e=this[t(316)];this[t(499)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(459)==r||i(370)==r||i(530)==r||i(407)==r||i(404)==r||i(257)==r||i(439)==r||i(465)==r){delete e[n],s=r,clearInterval(this[i(499)]),this[i(499)]=void 0;break}}i(370)==s&&e[i(366)](i(297)),i(530)==s&&e[i(366)](i(497)),i(407)==s&&e[i(366)](i(537)),i(404)==s&&e[i(366)](i(529),i(375)),i(257)==s&&e[i(366)](i(340)),i(439)==s&&e[i(366)](i(410)),i(465)==s&&e[i(366)](i(452))}),1e3)}async[et(500)](){const t=et;if(this[t(270)][t(377)]>0){const e=this[t(270)][t(344)](0),i=await this[t(279)](e),s=await this[t(255)](e);this[t(383)](i,s)}}[et(290)](){const t=et;super[t(290)](),this[t(499)]&&clearInterval(this[t(499)])}[et(330)](t){this[et(478)]=t}async[et(357)](){const t=et,e=await this[t(478)][t(526)]();if(e>this[t(293)][t(483)]){await this[t(433)]();const i=this[t(558)]({revision:this[t(293)],to:e});i[t(338)]=i[t(490)][t(382)]((e=>this[t(316)][t(447)][t(280)](t(406))[t(573)](e))),this[t(293)][t(532)](i)}}async[et(433)](){const t=et;this[t(385)]&&!this[t(346)]&&(await this[t(254)](this[t(293)]),this[t(425)][t(428)](this[t(293)]),this[t(346)]={fromVersion:this[t(293)][t(487)],authors:this[t(293)][t(338)][t(462)]()})}async[et(542)](e={},i=null){const s=et,n=[];await this[s(433)](),this[s(385)]=!1,i>this[s(293)][s(483)]&&(i=null),null===i&&(i=await this[s(478)][s(526)]());const r=this[s(311)](i),o=this[s(558)]({from:r,to:i});if(this[s(293)][s(483)]<i){const t=this[s(558)]({revision:this[s(293)],from:i,to:i});t[s(338)]=[],t[s(490)]=[],t.id=this[s(293)].id,this[s(293)][s(532)](t,!0),delete t[s(338)],n[s(378)](t)}e[s(365)]=this[s(316)][s(447)][s(280)](s(406)).me.id,e[s(509)]=e[s(509)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(308)](e);n[s(378)](e);const c=this[s(270)][s(337)](a);if(0!==c){const t=this[s(270)][s(344)](c-1);if(t[s(487)]!==i){const r=this[s(425)][s(275)](i,t[s(483)]),o={id:t.id,diffData:r[s(414)],authorsIds:r[s(490)],authors:r[s(490)][s(382)]((t=>this[s(316)][s(447)][s(280)](s(406))[s(573)](t))),fromVersion:i};t===this[s(293)]&&(o[s(575)]=new Date(e[s(575)][s(494)]()+10)),t[s(532)](o,!0),delete o[s(338)],n[s(378)](o)}}if(this[s(394)]){for(const t of n)this[s(334)](t.id,t,!0);this[s(468)]()}return a}[et(308)](t){const e=et,i=this[e(270)][e(374)](t);return this[e(394)]&&i.on(e(532),((t,i,s)=>{const n=e;s||(this[n(334)](i.id,i,!0),this[n(468)]())})),this[e(270)][e(505)](i,this[e(561)](i)),i}async[et(279)](t){const e=et;await this[e(254)](t);const i={};for(const s in t[e(414)]){if(t[e(414)][s][e(314)]&&!t[e(414)][s][e(314)][e(341)])continue;const n=this[e(294)](JSON[e(301)](t[e(414)][s][e(400)])),r=this[e(316)][e(300)][e(418)][e(508)],o=new Z.ViewDocumentFragment(r,n[e(382)]((t=>ot(t,this[e(316)]))));this[e(316)][e(424)][e(480)][e(501)](e(471)),i[s]=this[e(316)][e(424)][e(480)][e(259)](o),this[e(316)][e(424)][e(480)][e(501)](e(405))}return i}async[et(255)](t){const e=et;await this[e(254)](t);const i={};for(const s in t[e(414)])t[e(414)][s][e(314)]&&!t[e(414)][s][e(314)][e(341)]||(i[s]=t[e(414)][s][e(469)]||{});return i}[et(468)](){const t=et;if(0===this[t(444)][t(298)])return;if(this[t(549)])return;let e=Array[t(315)](this[t(444)][t(364)]());this[t(444)][t(569)]();for(let i=0;i<e[t(377)];i++){const s=e[i];let n=!1;for(const e of Object[t(362)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(517)]((t=>null!==t)),!e[t(377)])return;for(let i=0;i<e[t(377)];i++){const s=e[i];void 0!==s[t(487)]&&void 0===s[t(483)]&&(s[t(483)]=this[t(270)][t(344)](s.id)[t(483)]),void 0!==s[t(483)]&&void 0===s[t(487)]&&(s[t(487)]=this[t(270)][t(344)](s.id)[t(487)])}const i=this[t(316)][t(475)][t(280)](t(528));this[t(549)]=!0,this[t(515)](),this[t(394)][t(325)](e,i)[t(547)]((()=>{this[t(549)]=!1}))[t(545)]((e=>{const i=t;if(e)for(const t of e)this[i(415)]({id:t.id,createdAt:t[i(575)]});this[i(384)](),this[i(468)]()}))}[et(383)](e,i){const s=et;let n=this[s(316)][s(475)][s(280)](s(359)),r=this[s(316)][s(475)][s(280)](s(317));if(void 0===n){n={};for(const t of this[s(316)][s(343)][s(508)][s(413)]())n[t]=""}if(s(369)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(316)][s(343)][s(508)][s(413)]())r[t]={}}let o=!1;const a=Object[s(362)](n),c=Object[s(362)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(348)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(362)](r[t])[s(377)]>0){o=!0;break}}o||(o=c[s(486)]((t=>!this[s(316)][s(343)][s(508)][s(416)](t)))),o&&(0,t.logWarning)(s(488),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(316)][s(475)][s(391)](s(359),e),this[s(316)][s(475)][s(391)](s(317),i)}[et(515)](){const t=et;if(!this[t(322)]){const e=this[t(316)][t(447)][t(280)](t(347));this[t(322)]=e[t(351)](J(this[t(316)][t(485)],t(535)))}}[et(384)](){const t=et;this[t(322)]&&(this[t(316)][t(447)][t(280)](t(347))[t(527)](this[t(322)]),this[t(322)]=null)}[et(561)](t){const e=et,i=this[e(270)][e(309)]();i[e(285)]();let s=0;for(;s<i[e(377)];){const n=i[s];if(n===this[e(293)]){s++;continue}if(n.id===this[e(313)])break;const r=t[e(483)]-n[e(483)]||t[e(487)]-n[e(487)];if(r>0)break;if(r<0)s++;else{if(!t[e(273)]&&n[e(273)])break;if(n[e(273)]||!t[e(273)]){if(t[e(575)]>n[e(575)])break;s++}else s++}}return s}[et(415)](t){const e=et,i=this[e(270)][e(344)](t.id);if(t[e(575)]&&(t[e(575)]=new Date(t[e(575)])),t[e(490)]){const i=this[e(316)][e(447)][e(280)](e(406));t[e(338)]=t[e(490)][e(382)]((t=>i[e(573)](t)))}i[e(532)](t,!0)}[et(558)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(487)],i=null!==i?i:t[s(483)];const n=this[s(425)][s(275)](e,i),r={diffData:n[s(414)],authorsIds:n[s(490)],fromVersion:e,toVersion:i};if(!t||i!==t[s(483)]){const t=i-1,e=this[s(478)][s(518)][s(283)](t);r[s(575)]=e&&e[s(575)]||new Date}if(this[s(346)]&&e===this[s(346)][s(487)])for(const t of this[s(346)][s(338)])r[s(490)][s(409)](t.id)||r[s(490)][s(378)](t.id);return r}[et(254)](t){const e=et;if(!t||t[e(414)])return Promise[e(323)]();{const i=this[e(316)][e(475)][e(280)](e(528));return this[e(394)][e(344)]({channelId:i,revisionId:t.id})[e(545)]((i=>{const s=e;t[s(414)]=i[s(414)]}))}}[et(334)](t,e,i){const s=et;if(this[s(444)][s(431)](t)){const n=this[s(444)][s(280)](t);e=i?{...n,...e}:{...e,...n}}this[s(444)][s(391)](t,e)}[et(311)](t){const e=et,i=this[e(270)][e(309)]();i[e(285)](),i[e(449)]();const s=i[e(420)]((i=>i[e(483)]<=t))[e(483)];return s<this[e(472)]?this[e(472)]:s}[et(434)](t){const e=et,i=this[e(270)][e(344)](this[e(270)][e(377)]-1);if(i)this[e(313)]=i.id;else{const i=!this[e(316)][e(343)][e(508)][e(534)][e(420)]((t=>this[e(316)][e(343)][e(386)](t))),s=this[e(316)][e(447)][e(280)](e(406)).me.id,n=J(this[e(316)][e(485)],e(i?331:453));this[e(429)]({from:t,to:t,id:this[e(313)],name:n,creatorId:s})}}[et(421)](t){const e=et,i=this[e(478)][e(556)]();this[e(293)]=this[e(270)][e(344)](i),this[e(293)]||(this[e(293)]=this[e(429)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(429)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(558)]({from:e,to:i});o[r(509)]=t,o[r(365)]=s,o.id=n;const a=this[r(308)](o);return this[r(394)]&&this[r(334)](o.id,o,!0),a}[et(430)](){const t=et;this[t(316)][t(292)][t(470)](t(492))[t(458)]({model:t(329)})}[et(294)](t){const e=et;return(t=t[e(517)]((t=>!t[e(509)]||e(565)!==t[e(509)]&&e(466)!==t[e(509)])))[e(493)]((t=>{const i=e;i(369)!=typeof t&&(t[i(446)]=this[i(294)](t[i(446)]),t[i(399)]=t[i(399)][i(517)]((t=>!t[0][i(552)](i(522)))))})),t}}function ot(t,e){const i=et,s=e[i(300)][i(418)][i(508)];if(i(369)==typeof t)return new Z.ViewText(s,t);{const n=t[i(446)][i(382)]((t=>ot(t,e)));return new(nt[t[i(451)]]||Z.ViewElement)(s,t[i(509)],t[i(399)],n)}}class at{[et(316)];[et(324)];[et(498)];[et(461)];[et(296)];[et(379)];[et(260)];[et(263)];[et(495)];[et(291)];[et(395)];[et(541)];[et(393)];[et(387)];[et(516)];[et(307)];[et(512)];constructor(t){const e=et;this[e(316)]=t,this[e(498)]=new Map,this[e(461)]=-1,this[e(296)]=-1,this[e(379)]=new Map,this[e(260)]=new Map,this[e(263)]=new Map,this[e(495)]=new Map,this[e(291)]=new Map,this[e(395)]=new Map,this[e(541)]=new Map,this[e(393)]=new Map,this[e(387)]=new Map,this[e(516)]=new Map,this[e(307)]=1}[et(477)](t){const e=et;this[e(324)]=t;const i=new Map,s=new Map,n=this[e(316)][e(343)][e(508)][e(534)][e(382)]((t=>t[e(504)]));for(const t of n){const n=this[e(316)][e(343)][e(508)][e(416)](t),r=ct(n);i[e(391)](t,r),s[e(391)](t,Object[e(563)](n[e(427)]()))}const r=Array[e(315)](this[e(316)][e(343)][e(562)])[e(382)]((t=>[t[e(509)],t[e(574)]()])),o=this[e(324)][e(572)];this[e(392)](o,i,r,s),this[e(512)]=this[e(307)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(391)](t,i),c[e(391)](t,{})}this[e(392)](Number[e(419)],a,[],c)}[et(275)](t,e){const i=et;if(this[i(461)]===t&&this[i(296)]<=e)this[i(498)][i(298)]>1&&this[i(306)](this[i(296)]),this[i(352)](this[i(296)],e,!0);else{if(!this[i(498)][i(431)](t)){const e=this[i(271)](t);this[i(474)](e,t,!1)}this[i(474)](t,e,!0)}return this[i(461)]=t,this[i(296)]=e,this[i(454)]()}[et(428)](t){const e=et;this[e(463)](),this[e(461)]=t[e(487)],this[e(296)]=t[e(483)];for(const i in t[e(414)]){const s=t[e(414)][i][e(314)],n=R(t[e(414)][i][e(305)])||{},r=this[e(538)](t[e(414)][i][e(411)]);r[e(504)]=i,r[e(482)]=!s||!s[e(341)],r[e(341)]=()=>r[e(482)],this[e(495)][e(391)](i,r),this[e(291)][e(391)](i,n),s&&this[e(516)][e(391)](i,s);const o=this[e(511)](r);this[e(541)][e(391)](i,o);for(const[t,i]of r[e(562)]){if(!t[e(552)](e(457)))continue;const s=t[e(396)](":")[2];for(const t of i[e(402)]({singleCharacters:!0})){const i=this[e(467)](t),n=e(264)==t[e(451)]?t[e(261)][e(426)][e(462)](0,-1):t[e(261)][e(426)],r=o[e(381)](n)[e(435)](i);this[e(393)][e(391)](r,{userId:s})}}}this[e(512)]=this[e(307)];const i=[...Array(this[e(307)])[e(362)]()][e(462)](1)[e(517)]((t=>!this[e(393)][e(431)](t)));let s=0;const n=new Map;for(const r in t[e(414)]){const o=t[e(414)][r][e(314)],a=R(t[e(414)][r][e(469)])||{},c=this[e(538)](t[e(414)][r][e(400)]);c[e(504)]=r,c[e(482)]=!o||o[e(341)],c[e(341)]=()=>c[e(482)],this[e(260)][e(391)](r,c),this[e(263)][e(391)](r,a);const u=this[e(511)](c,Number[e(419)]);this[e(395)][e(391)](r,u),n[e(391)](r,c[e(341)]()?a:{});for(const[t,i]of c[e(562)]){if(!t[e(552)](e(457)))continue;const s=t[e(396)](":")[2];for(const t of i[e(402)]({singleCharacters:!0})){const i=this[e(467)](t),n=this[e(307)]++,r=e(264)==t[e(451)]?t[e(261)][e(426)][e(462)](0,-1):t[e(261)][e(426)];u[e(381)](r)[e(551)](i,n),this[e(393)][e(391)](n,{userId:s})}}for(const t of this[e(316)][e(343)][e(553)](c)[e(402)]({singleCharacters:!0})){const n=this[e(467)](t),r=e(264)==t[e(451)]?t[e(261)][e(426)][e(462)](0,-1):t[e(261)][e(426)],o=u[e(381)](r);o[e(435)](n)>0||o[e(551)](n,i[s++])}for(const[t,i]of c[e(562)])t[e(552)](e(457))||this[e(379)][e(391)](t,i)}const r=ut(e(281));this[e(495)][e(391)](e(281),r),this[e(541)][e(391)](e(281),this[e(511)](r,1));const o=ut(e(281));this[e(260)][e(391)](e(281),o),this[e(395)][e(391)](e(281),this[e(511)](o,1));const a=Array[e(315)](this[e(260)])[e(382)]((([t,e])=>[t,ct(e)]));this[e(392)](this[e(296)],a,this[e(379)],n)}[et(538)](t){const e=et,i=JSON[e(301)](t),s=this[e(316)][e(300)][e(418)][e(508)],n=new Z.ViewDocumentFragment(s,i[e(382)]((t=>ot(t,this[e(316)]))));return this[e(316)][e(424)][e(489)](n)}[et(392)](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(391)](t,{start:e[n(455)][n(355)](),end:e[n(479)][n(355)](),rootName:e[n(371)][n(504)]});this[n(498)][n(391)](t,{roots:r,markers:a,rootsAttributes:o})}[et(306)](t){const e=et;this[e(498)][e(445)](t)}[et(284)](){const t=et;this[t(463)](),this[t(461)]=-1,this[t(296)]=-1,this[t(498)][t(569)](),this[t(477)](this[t(324)])}[et(463)](){const t=et;this[t(393)][t(569)](),this[t(387)][t(569)](),this[t(516)][t(569)](),this[t(260)][t(569)](),this[t(263)][t(569)](),this[t(495)][t(569)](),this[t(291)][t(569)](),this[t(395)][t(569)](),this[t(541)][t(569)](),this[t(379)][t(569)](),this[t(307)]=1,this[t(512)]=this[t(307)]}[et(511)](t,e=null){const i=et;let s=null;t.is(i(448))||(s=new Z.Element(t[i(509)],{vid_start:null===e?this[i(307)]++:e++}));const n=[];for(const s of t[i(354)]())if(s.is(i(564))){n[i(378)](this[i(511)](s,e));const t=n[n[i(377)]-1];null!==e&&(e=t.is(i(564),i(380))?t[i(435)](i(318))+1:t[i(435)](i(570))+1)}else for(let t=0;t<s[i(339)];t++)n[i(378)](new Z.Element(i(380),{vid:null===e?this[i(307)]++:e++}));if(t.is(i(448))){const e=ut(t[i(504)]);return e[i(289)](0,n),e}return s[i(551)](i(570),null===e?this[i(307)]++:e++),s[i(289)](0,n),s}[et(474)](t,e,i){const s=et;this[s(463)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(498)][s(280)](t);this[s(495)]=new Map(n),this[s(291)]=new Map(R(o));for(const[t,e]of this[s(495)])if(s(281)!==t&&(this[s(260)][s(391)](t,ct(e)),this[s(263)]=new Map(R(o)),i)){const i=this[s(307)];this[s(395)][s(391)](t,this[s(511)](e)),this[s(541)][s(391)](t,this[s(511)](e,i))}this[s(512)]=this[s(307)],this[s(260)][s(391)](s(281),ct(this[s(495)][s(280)](s(281)))),i&&this[s(395)][s(391)](s(281),this[s(511)](this[s(495)][s(280)](s(281))));for(const[t,e]of r){const i=this[s(495)][s(280)](e[s(504)]),n=this[s(260)][s(280)](e[s(504)]),r=new Z.Range(this[s(397)](e[s(455)],i),this[s(397)](e[s(479)],i)),o=this[s(531)](r,n);i[s(562)][s(391)](t,r),this[s(379)][s(391)](t,o)}this[s(352)](t,e,i)}[et(352)](t,e,i){const s=et;for(const n of this[s(324)][s(333)](t,e))this[s(423)](n,i);for(const t of this[s(260)][s(364)]())t[s(562)][s(569)]();for(const[t,e]of this[s(379)])this[s(260)][s(280)](e[s(371)][s(504)])[s(562)][s(391)](t,e[s(355)]());const n=new Map,r=new Map;for(const[t,e]of this[s(260)])n[s(391)](t,ct(e)),r[s(391)](t,this[s(263)][s(280)](t));this[s(392)](e,n,this[s(379)],r)}[et(271)](t){const e=et,i=Array[e(315)](this[e(498)][e(362)]());i[e(432)](((t,e)=>t-e)),i[e(285)]();for(const e of i)if(e<t)return e;return Number[e(419)]}[et(265)](t,e){const i=et,s=Array[i(315)](e[i(562)])[i(382)]((([e,s])=>[e,this[i(531)](s,t)]));t[i(562)]=new Map(s)}[et(567)](t){const e=et;for(const i of this[e(379)][e(364)]()){const s=i[e(441)](t),n=Z.Range[e(476)](s);i[e(455)]=n[e(455)],i[e(479)]=n[e(479)]}}[et(423)](t,e){const i=et;if(i(417)!=t[i(451)]&&i(543)!=t[i(451)]){if(i(438)==t[i(451)]){const s=t[i(304)][i(371)][i(504)];this[i(260)][i(431)](s)||(this[i(260)][i(391)](s,ut(s,!0)),this[i(263)][i(391)](s,{}),e&&this[i(395)][i(391)](s,ut(s,!0)))}else{if(i(403)==t[i(451)]||i(349)==t[i(451)]||i(373)==t[i(451)])return void this[i(559)](t);i(464)==t[i(451)]&&this[i(460)](t)}if(i(464)!==t[i(451)]){const e=this[i(287)](t,this[i(260)]);e[i(361)](),this[i(567)](e)}if(e)switch(t[i(451)]){case i(438):this[i(557)](t);break;case i(560):case i(527):case i(422):this[i(288)](t);break;case i(523):this[i(303)](t);break;case i(396):this[i(437)](t)}}else this[i(524)](t,e)}[et(287)](t,e){const i=et,s=t[i(355)]();return s[i(555)]=t[i(555)],this[i(484)](s,e),s}[et(536)](t){const e=et;return t[e(382)]((t=>{const i=e,s=this[i(467)](t);return Number(t[i(412)][i(435)](s))}))}[et(568)](t,e){const i=et;if(t.is(i(564),i(380)))e[i(378)]({item:t,type:i(506)});else{t.is(i(564))&&e[i(378)]({item:t,type:i(548)});for(const s of t[i(354)]())this[i(568)](s,e);t.is(i(564))&&e[i(378)]({item:t,type:i(264)})}return e}[et(454)](){const t=et,e=new Map(this[t(393)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(495)][t(362)](),...this[t(260)][t(362)]()]);a[t(445)](t(281));for(const e of a){const i=this[t(260)][t(280)](e)||ut(e,!1),s=this[t(495)][t(280)](e)||ut(e,!1);i[t(341)]()||s[t(341)]()?(n[t(400)][e]=ct(i),n[t(411)][e]=ct(s),this[t(265)](n[t(411)][e],s),this[t(265)](n[t(400)][e],i),r[t(400)][e]=this[t(568)](this[t(395)][t(280)](e),[]),r[t(411)][e]=this[t(568)](this[t(541)][t(280)](e)||ut(e,!1),[])):a[t(445)](e)}for(const n of a){const o=r[t(400)][n];for(const n of o){const r=this[t(467)](n),o=n[t(412)][t(435)](r);i[t(445)](o),o>=this[t(512)]&&s[t(391)](o,e[t(280)](o))}}for(const n of a){const a=r[t(400)][n],c=this[t(536)](r[t(411)][n]);let u=0;for(const n of a){const r=this[t(467)](n),a=n[t(412)][t(435)](r);if(!s[t(431)](a)&&!o[t(431)](a))if(i[t(431)](a))u++;else{if(a!=c[u]){const s=e[t(280)](a)||e[t(280)](c[u]);for(;a!=c[u];)i[t(431)](c[u])||(o[t(391)](c[u],s),e[t(391)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(400)][e];for(const e of n){const n=this[t(467)](e),r=e[t(412)][t(435)](n);if(o[t(431)](r)){const e=o[t(280)](r);i[t(431)](r)||i[t(391)](r,{...e}),s[t(391)](r,{...e})}}}for(const e of i[t(362)]())e>=this[t(512)]&&i[t(445)](e);const c=new Map;for(const e of a){let n=r[t(400)][e];for(const e of n)if(e[t(412)].is(t(564),t(496))){const i=this[t(467)](e),n=e[t(412)][t(435)](i);if(s[t(431)](n)){const i=e[t(412)][t(443)][t(443)][t(435)](t(566)),r=c[t(280)](i)||new Set;r[t(351)](s[t(280)](n)[t(272)]),c[t(391)](i,r)}}n=r[t(411)][e];for(const e of n)if(e[t(412)].is(t(564),t(496))){const s=this[t(467)](e),n=e[t(412)][t(435)](s);if(i[t(431)](n)){const s=e[t(412)][t(443)][t(443)][t(435)](t(566)),r=c[t(280)](s)||new Set;r[t(351)](i[t(280)](n)[t(272)]),c[t(391)](s,r)}}for(const e of c[t(362)]())(s[t(431)](e)||i[t(431)](e))&&c[t(445)](e)}for(const e of a){const n=r[t(400)][e];let o=null,a=null;for(const e of n){const n=this[t(467)](e),r=e[t(412)][t(435)](n),u=c[t(280)](r);u&&t(548)==e[t(451)]&&(o=Array[t(315)](u)[0],a=e[t(412)][t(435)](t(570))),o&&(i[t(391)](r,{userId:o}),s[t(391)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(411)][e],a=n[t(400)][e];for(const{userId:e}of this[t(387)][t(364)]())null!==e&&l[t(351)](e);for(const{userId:e}of this[t(516)][t(364)]())null!==e&&l[t(351)](e);this[t(258)](a,r[t(400)][e],s,t(295),l),this[t(258)](o,r[t(411)][e],i,t(269),l),u[e]={insertions:this[t(550)](a),deletions:this[t(550)](o),attachChange:this[t(516)][t(280)](e)||null,attributesBefore:R(this[t(291)][t(280)](e))||{},attributesAfter:R(this[t(263)][t(280)](e))}}return{diffData:u,authorsIds:Array[t(315)](l)}}[et(372)](t){const e=et;for(const[,i]of t[e(562)]){const t=i[e(455)][e(502)]()[e(517)]((t=>e(496)==t[e(509)]));for(const i of t)1==i[e(539)]&&i[e(513)](0).is(e(564),e(319))&&i[e(513)](0)[e(551)](e(320),!0)}}[et(550)](t){const e=et;this[e(372)](t);const i=this[e(316)][e(424)][e(440)](t,{}),s=Array[e(315)](i[e(354)]())[e(382)]((t=>this[e(436)](t)));return JSON[e(540)](s)}[et(436)](t){const e=et;if(t.is(e(380)))return t[e(424)];{const i=t;return{type:Object[e(362)](nt)[e(420)]((e=>t instanceof nt[e])),name:i[e(509)],attributes:Array[e(315)](i[e(427)]()),children:Array[e(315)](i[e(354)]())[e(382)]((t=>this[e(436)](t)))}}}[et(258)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(316)][r(343)];for(let s=0;s<e[r(377)];s++){const n=this[r(467)](e[s]),c=e[s][r(412)][r(435)](n),h=i[r(280)](c),d=s==e[r(377)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(272)]!=o[r(272)])&&(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(272)],d=l(457)+s+":"+h+":"+c++,f=u[l(312)](i,a);t[l(562)][l(391)](d,f),null!==h&&n[l(351)](h)}}[et(467)](t){const e=et;switch(t[e(451)]){case e(548):return e(566);case e(264):return e(570);default:return e(318)}}[et(484)](t,e){const i=et;t[i(256)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(280)](n[i(371)][i(504)]);t[s]=this[i(397)](n,r)}if(n instanceof Z.Range){const r=e[i(280)](n[i(371)][i(504)]);t[s]=this[i(531)](n,r)}i(371)===s&&(t[i(371)]=e[i(280)](t[i(371)][i(504)]))}}[et(531)](t,e){const i=et;return this[i(316)][i(343)][i(312)](this[i(397)](t[i(455)],e),this[i(397)](t[i(479)],e))}[et(397)](t,e){const i=et;return this[i(316)][i(343)][i(350)](e,t[i(426)],t[i(408)])}[et(557)](t){const e=et,i=this[e(395)][e(280)](t[e(304)][e(371)][e(504)]),s=this[e(397)](t[e(304)],i),n=null===t[e(555)]?null:t[e(555)]||this[e(316)][e(447)][e(280)](e(406)).me.id,r=s[e(443)],o=this[e(307)],a=[];for(const i of t[e(353)])if(i.is(e(564)))a[e(378)](this[e(511)](i));else for(let t=0;t<i[e(339)];t++)a[e(378)](new Z.Element(e(380),{vid:this[e(307)]++}));const c=this[e(307)];for(let t=o;t<c;t++)this[e(393)][e(391)](t,{userId:n});r[e(289)](s[e(521)],a)}[et(288)](t){const e=et;(t=this[e(287)](t,this[e(395)]))[e(361)]();const i=null===t[e(555)]?null:t[e(555)]||this[e(316)][e(447)][e(280)](e(406)).me.id,s=t[e(302)](),n=s[e(443)],r=s[e(521)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(513)](e);r.is(a(564),a(380))?s[a(391)](r[a(435)](a(318)),{userId:i}):(s[a(391)](r[a(435)](a(566)),{userId:i}),t(s,r,0,r[a(539)]),s[a(391)](r[a(435)](a(570)),{userId:i}))}}(this[e(393)],n,r,r+t[e(276)])}[et(303)](t){const e=et,i=null===(t=this[e(287)](t,this[e(395)]))[e(555)]?null:t[e(555)]||this[e(316)][e(447)][e(280)](e(406)).me.id,s=t[e(342)][e(443)],n=t[e(360)][e(443)],r=s[e(435)](e(570)),o=n[e(435)](e(566));s[e(551)](e(570),n[e(435)](e(570))),n[e(551)](e(570),r),this[e(393)][e(391)](o,{userId:i}),this[e(393)][e(391)](r,{userId:i}),t[e(361)]()}[et(437)](t){const e=et,i=null===(t=this[e(287)](t,this[e(395)]))[e(555)]?null:t[e(555)]||this[e(316)][e(447)][e(280)](e(406)).me.id,s=t[e(358)],n=t[e(336)][e(443)];t[e(361)]();const r=n[e(435)](e(570)),o=t[e(262)][e(473)];if(s){const t=o[e(435)](e(570)),s=n[e(435)](e(570));n[e(551)](e(570),t),o[e(551)](e(570),s),this[e(393)][e(391)](n[e(435)](e(570)),{userId:i}),this[e(393)][e(391)](o[e(435)](e(566)),{userId:i})}else{const t=this[e(307)]++,s=this[e(307)]++;n[e(551)](e(570),t),o[e(551)](e(566),s),o[e(551)](e(570),r),this[e(393)][e(391)](t,{userId:i}),this[e(393)][e(391)](s,{userId:i})}}[et(460)](t){const e=et;if(!t[e(576)])return;const i=(t=this[e(287)](t,this[e(260)]))[e(571)]?t[e(571)][e(371)]:null,s=t[e(266)]?t[e(266)][e(371)]:null;i&&this[e(379)][e(445)](t[e(509)]),s&&this[e(379)][e(391)](t[e(509)],t[e(266)][e(355)]());const n=null===t[e(555)]?null:t[e(555)]||this[e(316)][e(447)][e(280)](e(406)).me.id,r=t[e(509)];if(!this[e(387)][e(431)](r))return void this[e(387)][e(391)](r,{range:t[e(571)],userId:n});const o=this[e(387)][e(280)](r),a=o[e(401)],c=t[e(266)];null==a&&null==c||a&&c&&a[e(363)](c)?this[e(387)][e(445)](t[e(509)]):o[e(272)]=n}[et(524)](t,e){const i=et;this[i(260)][i(431)](t[i(504)])?this[i(260)][i(280)](t[i(504)])[i(482)]=t[i(388)]:(this[i(260)][i(391)](t[i(504)],ut(t[i(504)],!0)),this[i(263)][i(391)](t[i(504)],{}),e&&this[i(395)][i(391)](t[i(504)],ut(t[i(504)],!0)));const s=null===t[i(555)]?null:t[i(555)]||this[i(316)][i(447)][i(280)](i(406)).me.id,n=this[i(516)][i(280)](t[i(504)]);n&&n[i(272)]===s?this[i(516)][i(445)](t[i(504)]):this[i(516)][i(391)](t[i(504)],{userId:s,isAttached:t[i(388)]})}[et(559)](t){const e=et,i=this[e(263)][e(280)](t[e(371)][e(504)]);null===t[e(274)]?delete i[t[e(278)]]:i[t[e(278)]]=t[e(274)]}}function ct(t){const e=et,i=ut(t[e(504)],t[e(341)]());for(const s of t[e(354)]()){const t=s[e(389)](!0);i[e(282)](t)}return i}function ut(t,e=!0){const i=et,s=new Z.DocumentFragment;return s[i(504)]=t,s[i(482)]=e,s[i(341)]=()=>s[i(482)],s}function lt(t,e,i){const s=et,n=s(264)==t[s(451)]?i[s(398)](t[s(412)],s(479)):i[s(510)](t[s(412)]);return i[s(350)](e,n[s(426)],n[s(408)])}function ht(t,e,i){const s=et,n=s(548)==t[s(451)]?i[s(398)](t[s(412)],0):i[s(507)](t[s(412)]);return i[s(350)](e,n[s(426)],n[s(408)])}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-=119]})(t,e)}function Rt(){const t=["2740xZfUKn","Name of the revision","_createRevisionNameInput","focusTracker","8sulpUC","trim","revisionNameInputView","extendTemplate","optional","element","2080449mIyCZJ","arrowleft","label","9456buYbdM","ck-responsive-form","1587168jMquyE","fieldView","arrowright","value","164ypCIPr","9233150ciIGuK","revisionName","stopPropagation","1857453xuarVn","reset","set","locale","keystrokes","errorText","revisionNameInputValue","4005470dQzOka","input","220","setTemplate","form","add","3413fHvYjr","arrowup","focus","render","listenTo","ck-revision-history-save-revision-form","arrowdown"];return(Rt=function(){return t})()}!function(t){const e=At,i=t();for(;;)try{if(432771===-parseInt(e(135))/1*(-parseInt(e(161))/2)+parseInt(e(122))/3+parseInt(e(157))/4+parseInt(e(142))/5*(parseInt(e(155))/6)+-parseInt(e(129))/7*(parseInt(e(146))/8)+-parseInt(e(152))/9+-parseInt(e(119))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rt);class Vt extends ft.View{[Nt(145)];[Nt(126)];[Nt(148)];constructor(e,i){const s=Nt;super(e),this[s(145)]=new t.FocusTracker,this[s(126)]=new t.KeystrokeHandler,this[s(124)](s(128),""),this[s(148)]=this[s(144)](i),this[s(132)]({tag:s(133),attributes:{class:["ck",s(140),s(156)],tabindex:"-1"},children:[this[s(148)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(138)](){const t=Nt;super[t(138)](),(0,ft.submitHandler)({view:this}),this[t(145)][t(134)](this[t(148)][t(151)]),this[t(126)][t(139)](this[t(151)]);const e=e=>e[t(121)]();this[t(126)][t(124)](t(159),e),this[t(126)][t(124)](t(153),e),this[t(126)][t(124)](t(136),e),this[t(126)][t(124)](t(141),e)}[Nt(137)](){const t=Nt;this[t(148)][t(137)]()}get[Nt(120)](){const t=Nt;return this[t(148)][t(158)][t(151)][t(160)][t(147)]()}set[Nt(120)](t){const e=Nt;this[e(148)][e(158)][e(151)][e(160)]=t[e(147)]()}[Nt(123)](){const t=Nt;this[t(148)][t(158)][t(151)][t(160)]="",this[t(148)][t(127)]=null}[Nt(144)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(125)],ft.createLabeledInputText),s=i[e(158)];s[e(149)]({attributes:{maxlength:e(131)}});let n=J(this[e(125)],e(143));return!t&&(n+=" ("+J(this[e(125)],e(150))+")"),i[e(154)]=n,s.on(e(130),(()=>{const t=e;this[t(128)]=s[t(151)][t(160)][t(147)]()})),i}}const Et=Dt;function Mt(){const t=["delegate","locale","revisionSave","items","1201670wwkWcO","12FaPZfA","10zCJGPV","requires","isReady","menuBar:revisionHistory","componentFactory","revisionName","_showDialog","editor","isEnabled","view","RevisionHistoryUI","focus","saveRevision","ck-button-action","add","isOfficialPlugin","39733WEDbjG","bind","7328208HbByNN","submit","Save current revision","isReadOnly","590569cMIoNo","44sWIkFN","Cancel","45jvAlZV","buttonView","addMany","panelView","593576igJbdK","show","showRevisionViewerCallback","revisionNameInputView","config","revisionHistory","hide","32514jUmeKV","get","Accept","Open revision history","editing","_registerMenuComponent","isOpen","role","errorText","render","45215CpObDA","RevisionTracker","_createSaveRevisionFormView","_saveRevisionFormView","pluginName","init","isPremiumPlugin","execute","menuitem","11jvNevq","Dialog","plugins","children","reset","Revision history","set","revisionHistory.requireRevisionName","The revision name cannot be empty.","menu"];return(Mt=function(){return t})()}function Dt(t,e){const i=Mt();return(Dt=function(t,e){return i[t-=340]})(t,e)}!function(t){const e=Dt,i=t();for(;;)try{if(196682===-parseInt(e(364))/1+-parseInt(e(348))/2*(parseInt(e(384))/3)+parseInt(e(371))/4*(parseInt(e(394))/5)+parseInt(e(347))/6*(-parseInt(e(370))/7)+parseInt(e(377))/8*(-parseInt(e(373))/9)+parseInt(e(346))/10+parseInt(e(403))/11*(parseInt(e(366))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Ct extends U.Plugin{static get[Et(398)](){return Et(358)}static get[Et(363)](){return!0}static get[Et(400)](){return!0}static get[Et(349)](){return[rt]}[Et(397)];[Et(399)](){const t=Et,e=this[t(355)],i=e[t(405)][t(385)](t(395));e.ui[t(352)][t(362)](t(382),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(376)][n(406)],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(365)](n(356)).to(i,n(350),i,n(356),e,n(369),((t,e,i)=>t&&e&&!i)),r[n(374)][n(409)]({icon:dt.IconHistory,label:J(s,n(408)),tooltip:!0}),u[n(409)]({label:J(s,n(368)),withText:!0,role:n(402)}),u[n(365)](n(356)).to(i,n(350),i,n(356),e,n(369),((t,e,i)=>t&&e&&!i)),u.on(n(401),(()=>this[n(354)]())),h[n(409)]({label:J(s,n(387)),withText:!0,role:n(402)}),h[n(365)](n(356)).to(i,n(350),e,n(369),((t,e)=>t&&!e)),h.on(n(401),(()=>{const t=n;e[t(381)][t(385)](t(382))[t(379)](),r[t(390)]=!1,e[t(388)][t(357)][t(359)]()})),c[n(406)][n(362)](u),l[n(406)][n(362)](h),a[n(391)]=n(341),a[n(345)][n(375)]([c,l]),o[n(362)](a),r})),e.ui[t(352)][t(362)](t(351),(()=>this[t(389)]()))}[Et(389)](){const t=Et,e=this[t(355)],i=e[t(343)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(374)][t(409)]({icon:dt.IconHistory,label:J(i,t(408))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(409)]({label:J(i,t(368))}),o[t(342)](t(401)).to(s),o.on(t(401),(()=>{this[t(354)]()})),r[t(406)][t(362)](o),n[t(345)][t(362)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(409)]({label:J(i,t(387))}),c[t(342)](t(401)).to(s),c.on(t(401),(()=>{const i=t;e[i(381)][i(385)](i(382))[i(379)]()})),a[t(406)][t(362)](c),n[t(345)][t(362)](a),s[t(376)][t(406)][t(362)](n),s}[Et(354)](){const t=Et,e=this[t(355)],i=e[t(343)],s=e[t(405)][t(385)](t(404)),n=e[t(405)][t(385)](t(395));function r(n){const r=t;e[r(381)][r(385)](r(410))&&""===n[r(353)]?n[r(380)][r(392)]=J(i,r(340)):(e[r(405)][r(385)](rt)[r(360)]({name:n[r(353)]}),s[r(383)]())}this[t(397)]||(this[t(396)](),this[t(397)].on(t(367),(()=>r(this[t(397)])))),this[t(397)][t(407)](),s[t(378)]({id:t(344),title:J(i,t(368)),isModal:!0,content:this[t(397)],actionButtons:[{label:J(e[t(343)],t(372)),withText:!0,onExecute:()=>s[t(383)]()},{label:J(e[t(343)],t(386)),class:t(361),withText:!0,onCreate(i){const s=t;i[s(365)](s(356)).to(n,s(350),n,s(356),e,s(369),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(397)])}]})}[Et(396)](){const t=Et,e=this[t(355)],i=e[t(343)];this[t(397)]=new Vt(i,e[t(381)][t(385)](t(410))),this[t(397)][t(393)]()}}const Ft=jt;function Lt(){const t=["element","add","Removed by","set","bindTemplate","Suggested by","name","2249172btVuoT","ck-revision-change__","31216150GrRbtx","ck-revision-change","3140695BRaPQa","1425999narZWR","208782DJIXbg","setTemplate","div","_model","author","span","2656iRfzfK","focus","ck-annotation","4dFpwcc","ck-revision-change__label","Added by","type","changeId","1083841ONiHcP","data","isSuggestion","60mZfuSw","29232zDngIG"];return(Lt=function(){return t})()}function jt(t,e){const i=Lt();return(jt=function(t,e){return i[t-=180]})(t,e)}!function(t){const e=jt,i=t();for(;;)try{if(600802===parseInt(e(180))/1+-parseInt(e(192))/2+-parseInt(e(197))/3*(parseInt(e(207))/4)+-parseInt(e(196))/5+-parseInt(e(183))/6*(parseInt(e(198))/7)+parseInt(e(204))/8*(-parseInt(e(184))/9)+parseInt(e(194))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Pt extends ft.View{[Ft(211)];[Ft(201)];constructor(t,e){const i=Ft;super(t),this[i(201)]=e,this[i(211)]=e.id;const s=this[i(189)],n=J(t,e[i(181)][i(182)]?i(190):i(186)==e[i(210)]?i(209):i(187));this[i(188)](i(210),e[i(210)]),this[i(199)]({tag:i(200),attributes:{class:[i(206),i(195),s.to(i(210),(t=>i(193)+t))],tabindex:-1},children:[{tag:i(203),children:[{tag:i(203),attributes:{class:[i(208)]},children:[{text:n}]},{text:" "+e[i(202)][i(191)]}]}]})}[Ft(205)](){const t=Ft;this[t(185)][t(205)]()}}function zt(){var t=["toJSON","1143970ZknRzh","6454wqiUhi","type","rootName","1zOTPeA","set","author","2340MlZTRq","createdAt","523412Fiumph","414117soxmRd","data","408039kXLvFD","792568zAuTWI","399344mgEuPA"];return(zt=function(){return t})()}var Wt=Ut;function Ut(t,e){var i=zt();return(Ut=function(t,e){return i[t-=215]})(t,e)}!function(t){for(var e=Ut,i=t();;)try{if(199330===-parseInt(e(228))/1*(parseInt(e(217))/2)+parseInt(e(220))/3+parseInt(e(221))/4+-parseInt(e(224))/5+parseInt(e(215))/6*(parseInt(e(225))/7)+-parseInt(e(222))/8+parseInt(e(218))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ht extends((0,t.ObservableMixin)()){id;[Wt(230)];[Wt(226)];[Wt(219)];[Wt(227)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(230)]=e[i(230)],this[i(226)]=e[i(226)],this[i(219)]=e[i(219)]||{},this[i(227)]=e[i(227)],this[i(229)](i(216),e[i(216)])}[Wt(223)](){var t=Wt;return{id:this.id,authorId:this[t(230)].id,type:this[t(226)],data:this[t(219)],createdAt:this[t(216)]}}}const Zt=$t;function $t(t,e){const i=Bt();return($t=function(t,e){return i[t-=498]})(t,e)}!function(t){const e=$t,i=t();for(;;)try{if(245737===parseInt(e(499))/1+-parseInt(e(510))/2*(parseInt(e(507))/3)+-parseInt(e(498))/4*(-parseInt(e(500))/5)+-parseInt(e(509))/6+-parseInt(e(513))/7*(-parseInt(e(508))/8)+parseInt(e(511))/9+parseInt(e(512))/10*(-parseInt(e(502))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class qt{[Zt(505)];[Zt(501)];[Zt(503)];constructor(e,i){const s=Zt;this[s(505)]=e,this[s(501)]=i,this[s(503)]=new t.Collection}[Zt(506)](t){const e=Zt;for(const i of t)this[e(503)][e(504)](i)}}function Bt(){const t=["532063iLnecV","467876LhLMOS","303203HIUsVo","15PBijHG","oldRevisionId","88tIpZFE","changes","add","newRevisionId","_setChanges","252663rymCir","24wuwHGO","1820460EJzPwr","2scnnLX","2113263cTQcMC","604470YVJrUL"];return(Bt=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=Qt;function Kt(){const t=["ck-revision-history-root-","markersEnd","all","end","_removeRevisionMarkers","_update","revision-suggestion:","addRevision","insert","domEvent","695254TbYsSF","init","markerToData","set","mapViewToDom","_joinTapes","revisionHistory","attribute:vid","insertions","modelRange","_makeTape","forEach","updatePosition","revision-end","createPositionFromPath","isBefore","ck-revision-history-root-add","isObject","removeClass","hasClass","vid","isAfter","_setChanges","object","dataToMarker","loadRevisionData","oldRevisionId","startIndex","values","index","pop","previousPosition","toModel","left","removeMarker","getWalker","element:pre","10vTkTgw","side","getRootNames","65VeRVlT","suggestion:","setAttribute","toViewElement","bind","markerNameToElements","showPreviousChange","ck-suggestion-marker","createRevision","getRoot","isRemoved","isIncorrect","mousedown","model","isRemoveSuggestion","comment","has","parent","getDomRoot","_markMismatchedRemovedTags","2140100icZJir","flat","keys","done","find","change:isReady","_makeModelFromViewString","isOnRoot","clear","mouseover","start","isLimit","high","change:activeView","destroy","getLaterVisibleRevision","addRevisionData","_revisions","insertion","pluginName","slice","_markSuggestions","change:numberOfChanges","vid_start","_data","splice","data","indexOf","getCustomProperty","ck-suggestion-preview-marker-","next","revision-start","_markMarkers","sort","_removeMissingPairs","name","text","maxOffset","domConverter","isNavigationMode","map","nextPosition","-new","from","removeAttribute","affectsData","POSITIVE_INFINITY","collaboration.channelId","startsWith","markerName","test","toViewPosition","catch","ck-revision-history-root--active","_getViewForChange","_processTape","_cleanUp","isContent","_removeUnsupportedChanges","data-revision-","RevisionsRepository","conversion","ck-suggestion-marker-merge","downcastDispatcher","refresh","string","revision-viewer","requires","hasAttribute","addRoot","activeChange","nodeAfter","_fixObsoleteTags","length","type","restoreRevision","20ZPaObq","nextSibling","_changeIdToChange","_step","_findChangeIdFromDomTarget","forceDisabled","push","_setConversion","backward","elementEnd","config","bottom","data-change-id","execute","8215757bxjkYe","markersStart","repository","markerRange","highest","split","isReady","authors","7417HzBObc","consume","_changeView","revisionHistoryAttachChange","ck-editor__editable__overlay","for","checkAttribute","filter","writer","currentChangeNumber","isBlock","_initInteractions","view","editor","children","revision-suggestion","parse","get","deletion","attributes","5378760itqnCU","shift","numberOfChanges","ck-suggestion-preview-marker","wrap","_getDiff","plugins","locale","softBreak","toViewRange","111368SxrtzW","target","_activeViewTarget","_getChangeFromId","elementToAttribute","enableReadOnlyMode","default","isAddSuggestion","activeView","revisionHistoryLabel","attributesBefore","item","span","stop","then","change","addMarker:revision-suggestion:insertion","editingDowncast","RevisionViewer","marked","document","getIndex","merge","attachChange","_markInsertions","change:isEnabled","getClientRects","enqueueChange","isAttached","_makeModelFromTape","diffData","_getRevisionsRange","viewItem","1398138LhRmqc","ck-suggestion-marker-split","error","upcast","listenTo","getAttribute","changes","markers","suggestion","bindElementToMarker","observeMarkers","endIndex","revision-comment:","includes","adapter","low","_setDistance","isAtEnd","code","roots","useFillerType","forward","rootName","change:activeChange","userId","_balloon","showNextChange","getChild","getAttributes","isAtStart","reconvertMarker","uiElement","WidgetToolbarRepository","processor","findIndex","addHighlight","createAttributeElement","attributesAfter","return","_appendChild","diff","revision","4utRJCb","createUIElement","element","resolve","isOfficialPlugin","_sortAndFilterDiffChanges","removeMarker:revision-suggestion","right","selection","removeMarker:revision","getRevision","toData","dataDowncast","isPremiumPlugin","mapper","ck-suggestion-marker-","changeId","531SJMzxZ","addMarker:revision","remove","detachRoot","isAdded","first","_refreshStartEndIndex","unshift","consumable","compare","unbindElementFromMarkerName","_threeWayMerge","schema","createPositionBefore","top","distance","commands","getItems","createRangeIn","getRevisionData","elementStart","18MVJGhj","concat","showStack","isSuggestion","pairId","deletions","add","isEqual","getRevisionRootsAttributes","_getViewObj","abs","_cleanMarkers","newRevisionId","isEnabled","addMarker:revision-suggestion:deletion","restoreRevisionCallback","markerToHighlight","createRange","vid_end","offsetSize","isCollapsed","range","delete","editing","ck-revision-history-root-remove","level","isInline","ck-suggestion-marker--active","revision:","addClass"];return(Kt=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(487154===-parseInt(e(493))/1*(-parseInt(e(471))/2)+-parseInt(e(556))/3*(-parseInt(e(598))/4)+-parseInt(e(736))/5+parseInt(e(636))/6*(-parseInt(e(676))/7)+parseInt(e(523))/8*(-parseInt(e(615))/9)+parseInt(e(713))/10*(-parseInt(e(485))/11)+parseInt(e(513))/12*(parseInt(e(716))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);const Xt={c:Z.ViewContainerElement,a:Z.ViewAttributeElement,e:Z.ViewEmptyElement,r:Z.ViewRawElement,u:Z.ViewUIElement};function Qt(t,e){const i=Kt();return(Qt=function(t,e){return i[t-=421]})(t,e)}class te extends U.Plugin{[Gt(487)];[Gt(570)];[Gt(525)];[Gt(495)];[Gt(473)];[Gt(581)];static get[Gt(755)](){return Gt(541)}static get[Gt(602)](){return!0}static get[Gt(611)](){return!0}static get[Gt(462)](){return[H.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Gt;super(t),this[e(487)]=this[e(506)][e(519)][e(510)](e(455)),this[e(679)](e(465),null),this[e(679)](e(531),null),this[e(525)]=null,this[e(679)](e(596),null),this[e(679)](e(491),!1),this[e(679)](e(649),!0),this.on(e(548),((t,i,s)=>{const n=e;this[n(465)]=null,this[n(531)]=null,this[n(506)][n(659)][n(505)][n(538)]((t=>{const e=n;for(const i of this[e(506)][e(659)][e(505)][e(543)][e(575)])s?t[e(694)](e(497),i):t[e(665)](e(497),i)}))})),this[e(720)](e(434)).to(this,e(465),(t=>null!==t)),this[e(720)](e(502)).to(this,e(491),this,e(596),this,e(465),((t,i,s)=>t&&s?i[e(562)][e(544)](s):0)),this[e(720)](e(515)).to(this,e(491),this,e(596),((t,i)=>t?i[e(562)][e(468)]:0)),this[e(495)]=null,this[e(473)]=new Map,this[e(570)]=null,this[e(581)]=this[e(506)][e(519)][e(510)](ft.ContextualBalloon)}[Gt(677)](){const t=Gt,e=this[t(506)],i=new se(e,{direction:t(479)}),s=new se(e,{direction:t(577)});e[t(631)][t(642)](t(722),i),e[t(631)][t(642)](t(582),s),e[t(631)][t(642)](t(470),new ie(e)),this.on(t(758),(()=>{const e=t;i[e(459)](),s[e(459)]()})),this[t(478)](),this[t(504)](),e[t(528)](t(461)),e[t(519)][t(732)](t(588))&&e[t(519)][t(510)](t(588))[t(476)](t(461))}async[Gt(634)](t){const e=Gt;await this[e(701)](t);const i={};for(const s in t[e(553)]){if(t[e(553)][s][e(546)]&&!t[e(553)][s][e(546)][e(551)])continue;const n=this[e(670)](JSON[e(509)](t[e(553)][s][e(684)])),r=this[e(506)][e(659)][e(505)][e(543)],o=new Z.ViewDocumentFragment(r,n[e(435)]((t=>this[e(645)](t))));this[e(506)][e(421)][e(589)][e(576)](e(542)),i[s]=this[e(506)][e(421)][e(589)][e(609)](o),this[e(506)][e(421)][e(589)][e(576)](e(529))}return i}async[Gt(644)](t){const e=Gt;await this[e(701)](t);const i={};for(const s in t[e(553)])t[e(553)][s][e(546)]&&!t[e(553)][s][e(546)][e(551)]||(i[s]=t[e(553)][s][e(593)]||{});return i}[Gt(670)](t){const e=Gt;return(t=t[e(500)]((t=>!t[e(430)]||e(426)!==t[e(430)]&&e(689)!==t[e(430)])))[e(687)]((t=>{const i=e;i(460)!=typeof t&&(t[i(507)]=this[i(670)](t[i(507)]),t[i(512)]=t[i(512)][i(500)]((t=>!t[0][i(443)](i(454)))))})),t}async[Gt(624)](t,e,i=!1){const s=Gt;if(!this[s(649)])return;const n=this[s(596)],r=this[s(487)],o=s(460)==typeof t?r[s(608)](t):t,a=s(460)==typeof e?r[s(608)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(596)]&&this[s(596)][s(648)]===c&&this[s(596)][s(702)]===u)return Promise[s(601)]();this[s(491)]=!1,this[s(531)]=null,this[s(465)]=null,this[s(596)]=new qt(c,u);const l=this[s(554)](o,a,!0)[s(435)]((t=>this[s(701)](t)));return l[s(477)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(668)](l)[s(537)]((()=>{const t=s;if(!this[t(649)])return;this[t(451)]();const e=this[t(518)](c,u);for(const i of e[t(562)])this[t(473)][t(679)](i.id,i);this[t(506)][t(729)][t(550)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(506)][s(729)][s(543)][s(715)]())i[s(618)](t);for(const t of Object[s(738)](e[s(729)])){const n=i[s(464)](t);for(const r of Object[s(738)](e[s(512)][t]))i[s(718)](r,e[s(512)][t][r],n);i[s(674)](e[s(729)][t],n,0)}})),this[t(596)][t(698)](this[t(603)](e[t(562)])),this[t(491)]=!0}))[s(447)]((t=>{const e=s;console[e(558)](t),this[e(451)](),n&&(this[e(596)]=n),this[e(491)]=!0}))}[Gt(752)](t,e){const i=Gt,s=this[i(487)][i(724)](t);return s.on(i(671),((t,i,n)=>e(i,n,s))),this[i(487)][i(673)](s),s}[Gt(701)](t){const e=Gt;if(!t||t[e(553)])return Promise[e(601)]();{const i=this[e(506)][e(481)][e(510)](e(442));return this[e(570)][e(608)]({channelId:i,revisionId:t.id})[e(537)]((i=>{const s=e;t[s(671)]({diffData:i[s(553)]},!0)}))}}[Gt(451)](){const t=Gt;this[t(465)]=null,this[t(647)](),this[t(495)]&&this[t(495)][t(750)](),this[t(495)]=null,this[t(473)][t(744)](),this[t(506)][t(729)][t(550)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(506)][i(729)][i(543)][i(715)]())e[i(618)](t)}))}[Gt(603)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(506)][e(729)][e(543)][e(715)]()){const n=this[e(506)][e(659)][e(505)][e(734)](t);if(!n)continue;const r=n[e(549)]()[e(534)](0);r&&(i[e(477)](t),s[e(679)](t,r))}return i[e(428)](((t,i)=>{const n=e,r=s[n(510)](t),o=s[n(510)](i);return r.y-o.y||r.x-o.x})),(t=t[e(500)]((t=>i[e(569)](t[e(578)]))))[e(428)](((t,s)=>i[e(422)](t[e(578)])-i[e(422)](s[e(578)]))),t}[Gt(686)](t){const e=Gt,i=Array[e(438)](t[e(563)])[e(500)]((([t,i])=>t[e(443)](e(664))&&!i[e(656)])),s=Array[e(438)](this[e(506)][e(729)][e(633)](t)[e(711)]({singleCharacters:!0}));if(0!=i[e(468)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(490)](":");if(n[e(669)][e(643)](t[e(436)])&&i[e(514)](),(t[e(707)][e(643)](n[e(746)])||t[e(707)][e(697)](n[e(746)]))&&(e(754)==r?t[e(619)]={userId:o}:e(511)==r&&(t[e(726)]={userId:o})),0==i[e(468)])break}return s}[Gt(621)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(468)];s++)e(431)===t[s][e(469)]?(t[s][e(534)][e(703)]=s,t[s][e(534)][e(567)]=s):(e(635)===t[s][e(469)]?t[s][e(534)][e(703)]=s:e(480)===t[s][e(469)]&&(t[s][e(534)][e(567)]=s),i[e(679)](t[s].id,s));for(const s of i[e(704)]())e(635)===t[s][e(469)]?t[s][e(534)][e(567)]=i[e(510)](t[s][e(640)]):e(480)===t[s][e(469)]&&(t[s][e(534)][e(703)]=i[e(510)](t[s][e(640)]))}[Gt(450)](t){const e=Gt;for(let i=0;i<t[e(468)];i++){if(e(635)===t[i][e(469)])t[i][e(534)][e(703)]=i;else if(e(480)===t[i][e(469)]){t[i][e(534)][e(567)]=i;const s=t[i][e(534)][e(703)];t[s][e(640)]=t[i].id,t[i][e(640)]=t[s].id}else t[i][e(534)][e(703)]=i,t[i][e(534)][e(567)]=i,t[i][e(640)]=null;t[i][e(486)]||(t[i][e(486)]=[],t[i][e(667)]=[])}}[Gt(547)](t,e){const i=Gt,s=t[i(500)]((t=>!t[i(619)]));for(let t=0;t<e[i(468)];t++)e[t][i(619)]&&(s[t][i(619)]=e[t][i(619)])}[Gt(742)](t){const e=Gt,i=JSON[e(509)](t),s=this[e(506)][e(659)][e(505)][e(543)],n=new Z.ViewDocumentFragment(s,i[e(435)]((t=>this[e(645)](t))));return this[e(506)][e(421)][e(708)](n)}[Gt(645)](t){const e=Gt,i=this[e(506)][e(659)][e(505)][e(543)];if(e(460)==typeof t)return new Z.ViewText(i,t);{const s=t[e(507)][e(435)]((t=>this[e(645)](t)));return new(Xt[t[e(469)]]||Z.ViewElement)(i,t[e(430)],t[e(512)],s)}}[Gt(518)](t,e=null){const i=Gt,s=this[i(487)][i(608)](t),n=e?this[i(487)][i(608)](e):null,r=this[i(554)](s,n),o=r[r[i(468)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(468)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(738)](e[i(553)]))if(e[i(553)][t][i(546)]){const s=e[i(553)][t][i(546)];s[i(551)]?(u[i(642)](t),l[i(732)](t)&&l[i(510)](t)[i(580)]==s[i(580)]?l[i(658)](t):l[i(679)](t,s)):l[i(732)](t)?(u[i(658)](t),l[i(658)](t)):(u[i(642)](t),l[i(679)](t,s))}else u[i(642)](t)}for(const t of u){const e=l[i(732)](t)&&!l[i(510)](t)[i(551)];let s=e?r[i(468)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(553)][t]){const s=e?o[i(553)][t][i(533)]:o[i(553)][t][i(593)];c[i(512)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(729)]={};for(const e of t[i(492)])a[i(679)](e.id,e);for(const e of u){const s=t[i(553)][e]?t[i(553)][e][i(684)]:"[]",n=t[i(553)][e]?t[i(553)][e][i(641)]:"[]";t[i(729)][e]={insertions:this[i(742)](s),deletions:this[i(742)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(438)](s[i(729)][t][i(684)][i(563)])[i(500)]((([t])=>!t[i(443)](i(664)))));let h=0;for(const o of r){const r=this[i(686)](o[i(729)][t][i(684)]);o==s?(e=r,n=e[i(468)],e[i(687)]((t=>{t.id=h++})),this[i(450)](e)):this[i(547)](e,r);const a=e[i(500)]((t=>!t[i(619)]))[i(435)]((t=>t.id));let c=0;const l=this[i(686)](o[i(729)][t][i(641)]);l[i(687)]((t=>{t[i(726)]?t.id=n++:t.id=a[c++]})),this[i(450)](l),this[i(572)](e,i(619)),this[i(572)](l,i(726)),o==s&&this[i(427)](e,u),e=this[i(681)](e,l),this[i(621)](e),this[i(572)](e,i(726))}e=e[i(500)]((t=>!(t[i(619)]&&t[i(726)])));const d=new Map(o[i(729)][t][i(641)][i(563)]),f=new Set(u[i(738)]());for(const t of d[i(738)]())f[i(658)](t);this[i(757)](e,f),this[i(467)](e),e=this[i(429)](e),e=this[i(735)](e),e=this[i(453)](e);const{root:m,changes:p}=this[i(552)](e,a,t);c[i(729)][t]=m;const v=l[i(510)](t);if(v){const e=a[i(510)](v[i(580)]),s=new Ht({author:e,type:v[i(551)]?i(642):i(617),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(622)](s),c[i(512)][t][i(496)]=s.id}c[i(562)]=c[i(562)][i(637)](p)}return c}[Gt(427)](t,e){const i=Gt;for(let s=0;s<t[i(468)];s++)for(const[n,r]of e)r[i(746)][i(643)](t[s][i(707)])&&t[s][i(486)][i(477)](n),r[i(669)][i(643)](t[s][i(436)])&&t[s][i(667)][i(477)](n)}[Gt(681)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(468)]||r<e[i(468)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(477)](o);else if(a[i(726)]&&o[i(619)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(626)](t,n,e,r);s=s[i(637)](o),n=a,r=c}else a[i(726)]?(r++,s[i(477)](a)):(n++,s[i(477)](o))}return s}[Gt(757)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(468)];o++){for(let r=0;r<t[o][i(486)][i(468)];r++){const a=t[o][i(486)][r];if(!e[i(732)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(508)!=c||i(754)!=u&&i(511)!=u||(s[i(622)]({type:u,name:a,userId:l}),t[o][i(486)][i(761)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(667)][i(468)];r++){const a=t[o][i(667)][r];if(!e[i(732)](a))continue;const{group:c,type:u}=n(a);if(i(508)!=c||i(754)!=u&&i(511)!=u)continue;t[o][i(667)][i(761)](r,1),r--;const l=s[i(590)]((t=>t[i(430)]==a));l>-1&&s[i(761)](l,1)}}function n(t){const e=i,s=t[e(490)](":");return{group:s[0],type:s[1],subType:s[e(468)]>=5?s[2]:null,id:s[e(468)]<5?s[2]:s[3],authorId:s[e(468)]<5?s[3]:s[4],markerCount:6==s[e(468)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(468)];i++){if(t[e(619)]&&e(754)==s[i][e(469)])return t[e(530)]=s[i],void delete t[e(619)];if(!t[e(619)]&&!t[e(726)]&&e(511)==s[i][e(469)])return void(t[e(730)]=s[i])}}}[Gt(572)](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(679)](o.id,s);for(let s=0;s<t[i(468)];s++){if(i(726)==e&&t[s][i(619)]||i(619)==e&&t[s][i(726)])continue;if(i(431)==t[s][i(469)]){t[s][i(630)]=0;continue}const n=r[i(510)](t[s][i(640)]),o=r[i(510)](t[s].id);t[s][i(630)]=n-o}}[Gt(554)](t,e,i=!1){const s=Gt,n=[];let r=this[s(487)][s(544)](t),o=this[s(487)][s(544)](e);for(-1==o&&(o=this[s(487)][s(753)][s(468)],i=!1);r<o;)n[s(477)](this[s(487)][s(608)](r)),r++;return i&&n[s(477)](this[s(487)][s(608)](r)),n}[Gt(626)](t,e,i,s){const n=Gt,r=this[n(506)][n(729)][n(627)];let o=e;for(;t[o]&&t[o][n(619)];)o++;let a=s;for(;i[a]&&i[a][n(726)];)a++;u(t,e,o),u(i,s,a);const c=i[n(756)](s,a)[n(637)](t[n(756)](e,o));return c[n(428)](((t,e)=>t[n(714)]!=e[n(714)]?t[n(714)]-e[n(714)]:t[n(661)]!=e[n(661)]?t[n(661)]-e[n(661)]:t[n(630)]!=e[n(630)]?e[n(630)]-t[n(630)]:!!t[n(619)]!=!!e[n(619)]?-1==t[n(714)]||0==t[n(714)]?t[n(619)]?-1:1:t[n(619)]?1:-1:t[n(705)]-e[n(705)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(441)],c=!0;for(let n=e;n<i;n++)if(r[s(662)](t[n][s(534)])||(c=!1),t[n][s(534)][s(703)]<e&&(o=n),t[n][s(534)][s(567)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(714)]=n<=o?-1:n<a?0:1,t[n][s(705)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(630)]?t[i][s(661)]=u:(u++,t[i][s(661)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(714)]&&(t[n][s(661)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(630)]?t[e][s(661)]=u:(u--,t[e][s(661)]=u,u--)}}[Gt(467)](t){const e=Gt,i=new Map,s=this[e(506)][e(729)][e(627)];for(let n=1;n<t[e(468)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(431)==c[e(469)])continue;if(c[e(469)]!=u[e(469)])continue;if(!s[e(503)](u[e(534)])||s[e(747)](u[e(534)]))continue;if(!s[e(503)](c[e(534)])||s[e(747)](c[e(534)]))continue;if((t[n][e(619)]||t[n][e(530)])&&t[n-1][e(726)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(726)]||!t[n-1][e(619)]&&!t[n-1][e(530)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(661)]==o[e(661)],h=Math[e(646)](r[e(661)])<Math[e(646)](o[e(661)])&&0==o[e(630)];(l||h)&&(i[e(679)](o.id,r.id),t[e(761)](a,1),n--,r[e(619)]=!1)}for(let s=0;s<t[e(468)];s++)i[e(732)](t[s][e(640)])&&(t[s][e(640)]=i[e(510)](t[s][e(640)]))}[Gt(429)](t){const e=Gt,i=new Set(t[e(435)]((t=>t.id)));for(let s=0;s<t[e(468)];s++)i[e(732)](t[s][e(640)])||0==t[s][e(630)]||(t[s][e(727)]=!0);return t[e(500)]((t=>!t[e(727)]))}[Gt(735)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(468)];s++){if(i[e(732)](t[s].id)&&t[s][e(726)]&&(t[s][e(727)]=!0),t[s][e(727)])continue;if(0==t[s][e(630)])continue;if(e(635)!=t[s][e(469)])continue;if(null==t[s][e(640)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(640)];)e(635)==t[n][e(469)]?r++:e(480)==t[n][e(469)]&&r--,n++;if(0!=r)if(t[s][e(726)])t[s][e(727)]=!0;else for(;n!=s;)t[n][e(726)]&&0!=t[n][e(630)]&&(t[n][e(727)]=!0,i[e(642)](t[n][e(640)])),n--}return t[e(500)]((t=>!t[e(727)]))}[Gt(453)](t){const e=Gt,i=this[e(506)][e(729)][e(627)];for(let s=0;s<t[e(468)];s++){if(!(t[s][e(619)]||t[s][e(530)]||t[s][e(726)]||t[s][e(730)]))continue;if(0==t[s][e(630)])continue;const n=t[s][e(534)];i[e(503)](n)||i[e(747)](n)||(t[s][e(619)]&&delete t[s][e(619)],t[s][e(530)]&&delete t[s][e(530)],t[s][e(730)]&&delete t[s][e(730)],t[s][e(726)]&&(t[s][e(727)]=!0))}return t[e(500)]((t=>!t[e(727)]))}[Gt(552)](t,e,i){const s=Gt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(506)][s(729)],c=a[s(627)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(468)];e++)if(s(635)===t[e][s(469)]){t[e][s(707)]=a[s(690)](n,f);const i=new Z.Element(t[e][s(534)][s(430)],t[e][s(534)][s(584)]());u[0][s(595)](i),f[s(477)](0),u[s(622)](i),t[e][s(436)]=a[s(690)](n,f)}else s(480)===t[e][s(469)]?(u[s(514)](),t[e][s(707)]=a[s(690)](n,f),f[s(706)](),f[f[s(468)]-1]++,t[e][s(436)]=a[s(690)](n,f)):(t[e][s(707)]=a[s(690)](n,f),d?d[s(760)]+=t[e][s(534)][s(421)]:d=new Z.Text(t[e][s(534)][s(421)],t[e][s(534)][s(584)]()),t[e+1]&&s(431)===t[e+1][s(469)]&&v(d,t[e+1][s(534)])||(u[0][s(595)](d),d=null),f[f[s(468)]-1]+=t[e][s(534)][s(655)],t[e][s(436)]=a[s(690)](n,f));for(let e=0;e<t[s(468)];e++){const i=t[e][s(707)],n=t[e][s(436)];for(const n of t[e][s(486)])o[s(679)](n,{start:i,end:null});m(s(730),e,i,n),m(s(530),e,i,n),m(s(726),e,i,n),m(s(619),e,i,n);for(const i of t[e][s(667)])o[s(510)](i)[s(669)]=n}for(const[t,e]of o){const i=this[s(506)][s(729)][s(653)](e[s(746)],e[s(669)]);n[s(563)][s(679)](t,i)}return r[s(428)](((t,e)=>{const i=s,r=n[i(563)][i(510)](i(664)+t.id),o=n[i(563)][i(510)](i(664)+e.id);return r[i(746)][i(691)](o[i(746)])?-1:r[i(746)][i(697)](o[i(746)])?1:r[i(669)][i(691)](o[i(669)])?-1:r[i(669)][i(697)](o[i(669)])?1:i(642)===t[i(469)]?-1:1})),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(580)]:null,d=i===t[o(468)]-1,f=h[e][0],m=c[o(693)](t[i][o(534)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(669)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(580)]!==u&&(l[e][o(669)]=n,f&&f[o(580)]===l[e][o(580)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(635)!==t[i][o(469)]||f&&f[o(580)]===u||h[e][o(622)]({userId:u,object:t[i][o(534)],change:l[e]}),o(480)===t[i][o(469)]&&f&&f[o(699)]===t[i][o(534)]&&(h[e][o(514)](),l[e]=f[o(538)])),l[e]&&d&&(l[e][o(669)]=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(534)],f=a[h(627)][h(503)](d)&&!a[h(627)][h(747)](d),m=t[h(466)]==o[h(733)]&&o[h(585)];if(f&&m)return;const p=a[h(653)](t,o),v=e[h(510)](u),g=new Ht({author:v,type:h(619)==l||h(530)==l?h(642):h(617),data:{isSuggestion:h(530)==l||h(730)==l},createdAt:new Date,rootName:i});r[h(477)](g),n[h(563)][h(679)](h(664)+g.id,p)}function v(t,e){const i=s,n=t[i(584)](),r=e[i(584)]();for(const t of n){if(t[1]!==e[i(561)](t[0]))return!1;r[i(425)]()}return r[i(425)]()[i(739)]}}[Gt(478)](){const t=Gt;this[t(506)][t(456)][t(498)](t(559))[t(700)]({view:t(597)}),this[t(506)][t(456)][t(498)](t(540))[t(652)]({model:t(597),view:e=>{const i=t,s=e[i(444)][i(490)](":")[1],n=this[i(526)](s);if(!n)return null;const r=i(642)==n[i(469)]?i(754):i(511),o=[i(723),i(613)+r];return n[i(421)][i(639)]&&o[i(477)](i(613)+r+i(437)),this[i(465)]==n&&o[i(477)](i(663)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(506)][t(456)][t(498)](t(559))[t(642)]((e=>{const i=t;e.on(i(712),((t,e,s)=>{const n=i,r=e[n(555)][n(583)](0);if(!r||!r.is(n(600),n(574)))return;if(!s[n(623)][n(494)](r,{attributes:[n(759),n(654)]}))return;const o=e[n(685)][n(746)][n(466)];s[n(501)][n(718)](n(759),r[n(561)](n(759)),o),s[n(501)][n(718)](n(654),r[n(561)](n(654)),o)}),{priority:i(571)})})),this[t(506)][t(456)][t(498)](t(559))[t(642)]((e=>{const i=t;e.on(i(600),((t,e,s)=>{const n=i;if(!s[n(623)][n(494)](e[n(555)],{attributes:[n(759),n(654)]}))return;if(e[n(685)][n(656)])return;const r=e[n(685)][n(746)][n(466)];r[n(463)](n(759))||r[n(463)](n(696))||(s[n(501)][n(718)](n(759),e[n(555)][n(561)](n(759)),r),s[n(501)][n(718)](n(654),e[n(555)][n(561)](n(654)),r))}),{priority:i(571)})})),this[t(506)][t(456)][t(498)](t(559))[t(527)]({view:{name:t(535),attributes:{vid:!0}},model:{key:t(696),value:e=>e[t(561)](t(696))}}),this[t(506)][t(729)][t(627)].on(t(499),((e,[,i])=>{const s=t;[s(759),s(654),s(696)][s(569)](i)&&(e[s(594)]=!0,e[s(536)]())}),{priority:t(489)}),this[t(506)][t(456)][t(498)](t(610))[t(642)]((e=>{const i=t;e.on(i(683),((t,e,s)=>{const n=i;if(" "!=e[n(534)][n(421)]||e[n(534)][n(733)][n(432)]>1)return;if(!s[n(623)][n(494)](e[n(534)],t[n(430)]))return;const r=s[n(501)],o=s[n(612)][n(522)](e[n(657)]);r[n(517)](o,r[n(592)](n(535)))}))})),this[t(506)][t(456)][t(498)](t(610))[t(678)]({model:t(597)}),this[t(506)][t(659)][t(458)].on(t(616),function(e){const i=t,s=e[i(519)][i(510)](i(541));return(t,n,r)=>{const o=i,a=n[o(444)][o(490)](":")[1],c=s[o(526)](a);if(!c)return null;const u=o(642)==c[o(469)]?o(490):o(545);if(!r[o(623)][o(445)](n[o(488)],t[o(430)]))return;const l=n[o(488)][o(711)](),h=n[o(488)][o(746)],d=e[o(729)][o(627)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(534)];p=p||d[o(452)](e);const i=r[o(612)][o(719)](e);if(i&&i[o(423)](o(591)))return;o(480)==t[o(469)]&&d[o(503)](e)&&!d[o(747)](e)&&(e[o(472)]||h[o(573)]?f&&f[o(733)]==e||(f=e,g(t[o(707)]),v=!0):m=m||t[o(707)])}function g(t){const e=o,i=r[e(501)][e(599)](e(535),{class:e(613)+u}),a=r[e(612)][e(446)](t);c[e(421)][e(639)]&&r[e(501)][e(665)](e(613)+u+e(437),i),s[e(465)]==c&&r[e(501)][e(665)](e(663),i),r[e(501)][e(674)](a,i),r[e(612)][e(565)](i,n[e(444)])}p||v||!m||g(m)}}(this[t(506)]),{priority:t(748)}),this[t(506)][t(659)][t(458)].on(t(607),((e,i,s)=>{const n=t,r=s[n(612)][n(721)](i[n(444)]);if(r)for(const t of r)(t[n(695)](n(557))||t[n(695)](n(457)))&&(s[n(612)][n(625)](t,i[n(444)]),s[n(501)][n(617)](t))}),{priority:t(748)}),this[t(506)][t(659)][t(458)].on(t(616),((e,i,s)=>{const n=t,r=i[n(444)][n(490)](":")[1],o=this[n(526)](r);if(!o)return null;const a=n(642)==o[n(469)]?n(490):n(545);if(s[n(623)][n(445)](i[n(488)],e[n(430)]))for(const t of i[n(488)][n(632)]()){if(!t.is(n(600),n(521)))continue;const e=s[n(501)][n(599)](n(535),{class:n(613)+a}),r=s[n(612)][n(446)](this[n(506)][n(729)][n(628)](t));o[n(421)][n(639)]&&s[n(501)][n(665)](n(613)+a+n(437),e),this[n(465)]==o&&s[n(501)][n(665)](n(663),e),s[n(501)][n(674)](r,e),s[n(612)][n(565)](e,i[n(444)])}}),{priority:t(748)}),this[t(506)][t(729)][t(543)].on(t(538),(()=>{const e=t;this[e(506)][e(659)][e(505)][e(538)]((t=>{const i=e;for(const e of this[i(506)][i(729)][i(543)][i(715)]()){const s=this[i(506)][i(729)][i(543)][i(725)](e),n=this[i(506)][i(659)][i(505)][i(543)][i(725)](e);if(n){const e=s[i(561)](i(496));if(t[i(439)](i(483),n),t[i(694)](i(692),n),t[i(694)](i(660),n),t[i(694)](i(448),n),e){const s=this[i(526)](e);if(!s)return null;t[i(718)](i(483),e,n),t[i(665)](i(666)+s[i(469)],n),this[i(465)]==s&&t[i(665)](i(448),n)}}}}))})),this[t(506)][t(456)][t(498)](t(559))[t(700)]({view:t(731),model:e=>t(568)+e,converterPriority:t(489)}),this[t(506)][t(456)][t(498)](t(559))[t(700)]({view:t(564),model:e=>t(672)+e,converterPriority:t(489)}),this[t(506)][t(456)][t(498)](t(610))[t(678)]({model:t(508),view:e=>({name:t(717)+e,group:t(508)}),converterPriority:t(489)}),this[t(506)][t(456)][t(498)](t(540))[t(652)]({model:t(508),view:e=>{const i=t,s=e[i(444)][i(490)](":")[1];return i(754)!=s&&i(511)!=s?null:{classes:[i(516),i(424)+s]}}}),this[t(506)][t(659)][t(458)].on(t(650),ee(this[t(506)],t(545)),{priority:t(748)}),this[t(506)][t(659)][t(458)].on(t(539),ee(this[t(506)],t(490)),{priority:t(748)}),this[t(506)][t(659)][t(458)].on(t(604),((e,i,s)=>{const n=t,r=s[n(612)][n(721)](i[n(444)]);if(r)for(const t of r)t.is(n(587))&&(s[n(612)][n(625)](t,i[n(444)]),s[n(501)][n(617)](t))}),{priority:t(748)})}[Gt(526)](t){const e=Gt;return this[e(473)][e(510)](t)}[Gt(449)](t){const e=Gt;return this[e(495)]&&this[e(495)][e(750)](),this[e(495)]=new Pt(this[e(506)][e(520)],t),this[e(495)]}[Gt(504)](){const t=Gt;this[t(506)][t(729)][t(543)][t(606)][t(566)](t(597)),this.on(t(749),((e,i,s,n)=>{const r=t;n&&this[r(581)][r(617)](n),s&&(this[r(581)][r(642)]({view:s,stackId:r(532),position:{target:()=>{const t=r,e=this[t(506)][t(659)],i=this[t(526)](s[t(614)]);let n;if(i[t(421)][t(743)]){const s=e[t(505)][t(734)](i[t(578)]);n=Array[t(438)](s[t(549)]())}else{const i=this[t(506)][t(729)][t(563)][t(510)](t(664)+s[t(614)]);n=Array[t(438)](e[t(612)][t(721)](i[t(430)]))[t(435)]((i=>e[t(505)][t(433)][t(680)](i)))[t(435)]((e=>Array[t(438)](e[t(549)]())))[t(737)]()}return this[t(525)]&&n[t(740)]((e=>e[t(629)]-3<=this[t(525)].y&&e[t(482)]+3>=this[t(525)].y&&e[t(709)]-3<=this[t(525)].x&&e[t(605)]+3>=this[t(525)].x))||n[0]}}}),this[r(581)][r(638)](r(532)))})),this.on(t(579),((e,i,s,n)=>{const r=t;this[r(531)]=s?this[r(449)](s):null,this[r(506)][r(729)][r(538)]((()=>{const t=r,e=this[t(506)][t(659)];n&&(n[t(421)][t(743)]?e[t(505)][t(538)]((i=>{const s=t;i[s(694)](s(448),e[s(505)][s(543)][s(725)](n[s(578)]))})):e[t(586)](t(664)+n.id)),s&&(s[t(421)][t(743)]?e[t(505)][t(538)]((i=>{const n=t;i[n(665)](n(448),e[n(505)][n(543)][n(725)](s[n(578)]))})):e[t(586)](t(664)+s.id))}))})),this[t(560)](this[t(506)][t(659)][t(505)][t(543)],t(745),((e,i)=>{const s=t;if(this[s(465)])return;const n=this[s(475)](i[s(524)]),r=this[s(473)][s(510)](n);r?(this[s(525)]={x:i[s(675)].x,y:i[s(675)].y},this[s(531)]=this[s(449)](r)):(this[s(525)]=null,this[s(531)]=null)})),this[t(560)](this[t(506)][t(659)][t(505)][t(543)],t(728),((e,i)=>{const s=t,n=this[s(475)](i[s(524)]),r=this[s(473)][s(510)](n);r?(this[s(525)]={x:i[s(675)].x,y:i[s(675)].y},r===this[s(465)]?this[s(581)][s(688)]():this[s(465)]=r):(this[s(525)]=null,this[s(465)]=null)}))}[Gt(475)](t){const e=Gt;do{const i=t[e(561)](e(483));if(i)return i;t=t[e(733)]}while(t);return null}[Gt(647)](){const t=Gt;this[t(506)][t(729)][t(538)]((e=>{const i=t;for(const t of this[i(506)][i(729)][i(563)])e[i(710)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(623)][r(445)](s[r(488)],i[r(430)]))return;const o=s[r(488)][r(711)](),a=s[r(488)][r(746)],c=t[r(729)][r(627)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(534)];h=h||c[r(452)](e);const i=n[r(612)][r(719)](e);if(i&&i[r(423)](r(591)))return;r(480)==t[r(469)]&&c[r(503)](e)&&!c[r(747)](e)&&(e[r(472)]||a[r(573)]?u&&u[r(733)]==e||(u=e,f(t[r(707)]),d=!0):l=l||t[r(707)])}function f(t){const i=r,o=n[i(612)][i(446)](t),a=n[i(501)][i(599)](i(535),{class:i(424)+e});n[i(501)][i(674)](o,a),n[i(612)][i(565)](a,s[i(444)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Gt;super(t);const i=t[e(519)][e(510)](te);this[e(440)]=!1,this[e(560)](i,e(741),(()=>this[e(459)]())),this[e(560)](i,e(548),(()=>this[e(459)]()))}[Gt(484)](){const t=Gt,e=this[t(506)],i=e[t(519)][t(510)](te),s=i[t(491)]?i[t(596)][t(648)]:null;e[t(481)][t(510)](t(682))[t(651)](s)}[Gt(459)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(506)][t(519)][t(510)](te),r=n&&s[t(751)](n[t(648)]);this[t(649)]=e&&i&&Boolean(r)}}class se extends U.Command{[Gt(474)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(519)][i(510)](te);this[i(440)]=!1,this[i(474)]=i(577)===e?1:-1,this[i(560)](s,i(741),(()=>this[i(459)]())),this[i(560)](s,i(548),(()=>this[i(459)]())),this[i(560)](s,i(579),(()=>this[i(459)]()))}[Gt(484)](){const e=Gt,i=this[e(506)],s=i[e(519)][e(510)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(465)]=n?s[e(596)][e(562)][e(510)](r+this[e(474)]):s[e(596)][e(562)][e(620)],s[e(465)][e(421)][e(743)])o=i[e(659)][e(505)][e(734)](s[e(465)][e(578)]);else{const t=i[e(729)][e(563)][e(510)](e(664)+s[e(465)].id);o=(0,H.getMarkerDomElement)(i[e(659)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(459)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(506)][t(519)][t(510)](te);this[t(649)]=!!(r&&n&&s)&&(!e||(1===this[t(474)]?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(){const t=["bindTemplate","execute","4EMhLSj","Show next change","364764JJwYxF","No changes","5OoKKmA","setTemplate","10SGQDGB","1676968eSJbWR","Total","Show previous change","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation","set","ck-revision-history-ui__changes-navigation__wrapper","738hvSpNP","ck-revision-history-ui__changes-navigation__label","EDIT_X_OF_Y_REVISIONS","backward","isNavigationMode","3944743KBcMEH","Loading...","NUMBER_OF_CHANGES","ck-revision-history-ui","isForwardNavigationEnabled","numberOfChanges","currentChangeNumber","_statusText","isEnabled","689751HjhrLK","X_OF_Y_CHANGES","5484396wGSNWV","isBackwardNavigationEnabled","isReady","338paaTib","9CEyaSn","forward","fire","div","1909999sUfAKx","ck-revision-history-ui__changes-navigation__navigation","ck-hidden","bind","span"];return(oe=function(){return t})()}function ae(t,e){const i=oe();return(ae=function(t,e){return i[t-=491]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(206057===-parseInt(e(523))/1*(parseInt(e(504))/2)+parseInt(e(518))/3*(parseInt(e(535))/4)+parseInt(e(494))/5*(-parseInt(e(492))/6)+parseInt(e(528))/7+parseInt(e(497))/8*(-parseInt(e(524))/9)+-parseInt(e(496))/10*(parseInt(e(509))/11)+parseInt(e(520))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce extends ft.View{constructor(t){const e=ae;super(t);const i=this[e(533)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(502)](e(508),!1),this[e(502)](e(522),!1),this[e(502)](e(515),0),this[e(502)](e(514),0),this[e(502)](e(513),!1),this[e(502)](e(521),!1),this[e(531)](e(500)).to(this,e(522),this,e(514),((t,e)=>t&&e>0)),this[e(531)](e(516)).to(this,e(522),this,e(515),this,e(514),this,e(508),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(510));if(!n)return J(t,o(493));const a=J(t,o(511),n);return r?J(t,o(519),[s+1,n]):a})),s[e(502)]({label:J(t,e(499)),tooltip:!0,icon:dt.IconChevronUp}),n[e(502)]({label:J(t,e(491)),tooltip:!0,icon:dt.IconChevronDown}),s[e(531)](e(517)).to(this,e(521)),n[e(531)](e(517)).to(this,e(513)),s.on(e(534),(()=>this[e(526)](e(534),e(507)))),n.on(e(534),(()=>this[e(526)](e(534),e(525)))),this[e(495)]({tag:e(527),attributes:{class:["ck",e(512),e(501)]},children:[{tag:e(532),attributes:{class:[e(503)]},children:[{tag:e(532),attributes:{class:[e(505),i.if(e(500),e(530),(t=>!t))]},children:[{text:i.to(e(508),(i=>i?J(t,e(506))+": ":J(t,e(498))+": "))}]},{text:i.to(e(516))}]},new ft.ToolbarSeparatorView,{tag:e(527),attributes:{class:[e(529)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=me;!function(t){const e=me,i=t();for(;;)try{if(765100===-parseInt(e(436))/1*(parseInt(e(426))/2)+-parseInt(e(446))/3+-parseInt(e(422))/4*(-parseInt(e(438))/5)+-parseInt(e(429))/6*(-parseInt(e(443))/7)+parseInt(e(424))/8+-parseInt(e(440))/9*(-parseInt(e(423))/10)+-parseInt(e(421))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const de=he(428);function fe(){const t=["18aSrXXY","editor","hide","7YLtGSh","editing","roots","1111728AFZgPW","19116944pTlGhF","876vSZdGx","5816190eGWmrA","6276560VxaBDh","document","62476sCNsXm","RevisionViewerLoadingOverlay","ck-editor__editable__loading-overlay","5453754kNQitB","addClass","pluginName","show","view","isPremiumPlugin","change","16GNjDiu","isOfficialPlugin","11795EYZkHj","removeClass"];return(fe=function(){return t})()}function me(t,e){const i=fe();return(me=function(t,e){return i[t-=421]})(t,e)}class pe extends U.Plugin{static get[he(431)](){return he(427)}static get[he(437)](){return!0}static get[he(434)](){return!0}[he(432)](){const t=he,e=this[t(441)][t(444)][t(433)];e[t(435)]((i=>{const s=t;for(const t of e[s(425)][s(445)])i[s(430)](de,t)}))}[he(442)](){const t=he,e=this[t(441)][t(444)][t(433)];e[t(435)]((i=>{const s=t;for(const t of e[s(425)][s(445)])i[s(439)](de,t)}))}}const ve=ye;function ge(){const t=["isOfficialPlugin","currentChangeNumber","config","6zFaDDf","ck-revision-history-ui__back-to-editing","927808LEImOs","201382zLlGLM","Back to editing","isPremiumPlugin","get","editor","Restore this revision","restoreRevision","isNavigationMode","784077bPwYOQ","change:isReady","exitToEditing","show","componentFactory","requires","init","pluginName","821685YIXlml","closeRevisionViewerCallback","listenTo","commands","changesNavigation","isReady","add","RevisionViewerUI","isBackwardNavigationEnabled","numberOfChanges","revisionHistory","3227985sgULTS","showNextChange","set","bind","hide","1159280rzPPhU","showPreviousChange","isEnabled","isForwardNavigationEnabled","execute","12gquncD","40415oHaOEf","forward","plugins"];return(ge=function(){return t})()}function ye(t,e){const i=ge();return(ye=function(t,e){return i[t-=282]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(119479===-parseInt(e(282))/1+parseInt(e(291))/2*(parseInt(e(288))/3)+parseInt(e(290))/4+parseInt(e(307))/5+parseInt(e(328))/6*(-parseInt(e(299))/7)+parseInt(e(323))/8+-parseInt(e(318))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ke extends U.Plugin{static get[ve(306)](){return ve(314)}static get[ve(285)](){return!0}static get[ve(293)](){return!0}static get[ve(304)](){return[te,pe]}[ve(305)](){const t=ve,e=this[t(295)],i=e[t(284)][t(294)](te),s=e[t(284)][t(294)](pe);e.ui[t(303)][t(313)](t(301),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(320)]({label:J(i,s(292)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(289)}),this[s(309)](n,s(327),(()=>{const t=s;e[t(287)][t(294)](t(317))[t(308)]()})),n})),e.ui[t(303)][t(313)](t(297),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(320)]({label:J(i,s(296)),withText:!0,tooltip:!0}),n[s(321)](s(325)).to(e[s(310)][s(294)](s(297))),this[s(309)](n,s(327),(()=>e[s(327)](s(297)))),n})),e.ui[t(303)][t(313)](t(311),(s=>{const n=t,r=new ce(s),o=e[n(310)][n(294)](n(324)),a=e[n(310)][n(294)](n(319));return r[n(321)](n(315)).to(o,n(325)),r[n(321)](n(326)).to(a,n(325)),r[n(321)](n(312),n(286),n(316),n(298)).to(i),this[n(309)](r,n(327),((t,i)=>{const s=n;e[s(327)](s(283)===i?s(319):s(324))})),r})),s[t(302)](),i.on(t(300),((e,i,n)=>{const r=t;n?s[r(322)]():s[r(302)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;const _e=Ie;function Ie(t,e){const i=Se();return(Ie=function(t,e){return i[t-=467]})(t,e)}function Se(){const t=["listenTo","span","set","clientWidth","8umjHzH","24plZKac","ck-revision-history-sidebar__revision-name","ck-tooltip_multi-line","destroy","Revision name","placeholder","234036vGosRn","219370EpdpBJ","64866hdJRHz","10SwGXwm","_updateTooltipText","value","fieldView","781068cCCngu","_tooltipString","2dFcSpk","input","939027qmeZDX","scrollWidth","render","374cHxmAT","element","bindTemplate","16061318nECCHF","553tVbBMg","_resizeObserver","3067767VCaYjL","extendTemplate","Enter the revision name"];return(Se=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(552183===parseInt(e(473))/1*(parseInt(e(471))/2)+parseInt(e(469))/3+parseInt(e(496))/4*(-parseInt(e(499))/5)+parseInt(e(498))/6*(parseInt(e(480))/7)+-parseInt(e(489))/8*(-parseInt(e(482))/9)+parseInt(e(497))/10*(parseInt(e(476))/11)+-parseInt(e(490))/12*(parseInt(e(479))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends ft.LabeledFieldView{[_e(481)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(478)];this[i(487)]({label:J(t,i(494)),_tooltipString:""}),this[i(468)][i(495)]=J(t,i(484)),this[i(483)]({tag:i(486),attributes:{class:[i(491)],"data-cke-tooltip-text":s.to(i(470)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(492)}})}[_e(475)](){const e=_e;super[e(475)](),this[e(481)]=new t.ResizeObserver(this[e(468)][e(477)],(()=>this[e(500)]())),this[e(485)](this[e(468)],e(472),(()=>this[e(500)]()))}[_e(493)](){const t=_e;super[t(493)](),this[t(481)]&&this[t(481)][t(493)]()}[_e(500)](){const t=_e,e=this[t(468)][t(477)];this[t(470)]=e[t(474)]>e[t(488)]&&e[t(467)]||""}}var Te=i(249),xe={attributes:{"data-cke":!0}};xe.setAttributes=wt(),xe.insert=kt().bind(null,"head"),xe.domAPI=gt(),xe.insertStyleElement=It();pt()(Te.A,xe);Te.A&&Te.A.locals&&Te.A.locals;function Ne(t,e){const i=Ae();return(Ne=function(t,e){return i[t-=478]})(t,e)}function Ae(){const t=["name","setTemplate","22zgtiMo","7ayYjER","352708cSAlBf","ck-revision-history-sidebar__revision-author__name","2646963IsNMFC","0 0 11 10","1392252MzouWx","set","3nJXqgN","2308160CwmTKF","span","push","ck-revision-history-sidebar__revision-author_creator","Revision author","183365tofudA","8PAyqcw","55854heuXns","Revision creator","ck-revision-history-sidebar__revision-author","63068essujM"];return(Ae=function(){return t})()}!function(t){const e=Ne,i=t();for(;;)try{if(165047===-parseInt(e(486))/1+parseInt(e(489))/2+-parseInt(e(478))/3*(-parseInt(e(494))/4)+parseInt(e(484))/5+-parseInt(e(498))/6*(-parseInt(e(493))/7)+parseInt(e(485))/8*(parseInt(e(496))/9)+parseInt(e(479))/10*(-parseInt(e(492))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Re extends ft.View{constructor(t,e,i){const s=Ne;super(t);const n=new ft.IconView;n[s(499)]({content:dt.IconUser,viewBox:s(497)});const r=["ck",s(488)];i&&r[s(481)](s(482));const o=[{tag:s(480),attributes:{class:["ck",s(495)],title:J(t,s(i?487:483))},children:[n,e[s(490)]]}];this[s(491)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=Ee();return(Ve=function(t,e){return i[t-=485]})(t,e)}function Ee(){var t=["16YmJefN","7051QUEfiX","186IVqfrn","long","14205wtjtVp","8pClqAd","55489weztLu","3483369aMPIML","numeric","3047inicPD","1158258pJbWhE","toLocaleDateString","2898820CphJbS","toLocaleTimeString","12396CyfDvV","172McLnnE"];return(Ee=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(264270===parseInt(e(498))/1*(-parseInt(e(497))/2)+parseInt(e(491))/3+parseInt(e(496))/4*(-parseInt(e(485))/5)+parseInt(e(499))/6*(parseInt(e(487))/7)+-parseInt(e(486))/8*(-parseInt(e(488))/9)+-parseInt(e(493))/10+-parseInt(e(490))/11*(parseInt(e(495))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Me=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Me.A,De);Me.A&&Me.A.locals&&Me.A.locals;function Ce(t,e){const i=Fe();return(Ce=function(t,e){return i[t-=372]})(t,e)}function Fe(){const t=["344fQaHEz","items","map","isEnabled","button","children","name","Name this revision","ck-on","5196328ioFjjo","menuitem","menu","source","find","locale","set","bind","isVisible","panelPosition","listenTo","4545WANtIP","91plyLWC","isOpen","add","buttonView","function","extendTemplate","class","bindTemplate","_action","isActionsDropdownOpen","921746gUNxSy","action","first","355naNrep","Restore this revision","1911420IFCziK","model","105594hjaPmy","isReady","listView","stopPropagation","execute","9287433YDzDIt","ck-revision-history-sidebar__revision__actions","change:isActionsDropdownOpen","47128iLNecV","Show more items","Compare against selected"];return(Fe=function(){return t})()}!function(t){const e=Ce,i=t();for(;;)try{if(520107===-parseInt(e(384))/1+-parseInt(e(402))/2*(-parseInt(e(373))/3)+parseInt(e(399))/4*(parseInt(e(387))/5)+-parseInt(e(391))/6*(parseInt(e(374))/7)+-parseInt(e(411))/8+parseInt(e(396))/9+parseInt(e(389))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=wt(),je.insert=kt().bind(null,"head"),je.domAPI=gt(),je.insertStyleElement=It();pt()(Le.A,je);Le.A&&Le.A.locals&&Le.A.locals;const Pe=We;function ze(){const t=["1000qJQzEI","ck-revision-history-sidebar__revision__date","revisionActionsView","deselect","11JqQTUe","render","createdAt","ck-revision-history-sidebar__revision_highlighted","isHighlighted","element","length","197890NOWJdD","ck-revision-history-sidebar__revision__controls-wrapper","2961EndNnB","div","ck-revision-history-sidebar__revision-authors","8304UUFzIz","listenTo","highlight","srcElement","40gTPbjq","set","map","_revision","860vgEWxJ",".ck-thread__remove-confirm","change","bindTemplate","fieldView","isSelected","setTemplate","select","220","filter","ck-reset","ck-revision-history-sidebar__revision","from","2952513Ntapco","4783090eZhiJj","revisionNameView","closest","isEnabled","unhighlight","unshift","isConfirm","ck-revision-history-sidebar__revision-wrapper","ck-disabled","348453vtnztg","ck-revision-history-sidebar__revision_selected","isActionsDropdownOpen","_requireRevisionName","authors","ck-revision-history-sidebar__actions_dropdown_open","fire","span","uiLanguage","416962TFjBmu","setName","extendTemplate","creator","value","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isReady","name","_createdAtFormatted","bind"];return(ze=function(){return t})()}function We(t,e){const i=ze();return(We=function(t,e){return i[t-=454]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(243133===parseInt(e(516))/1+parseInt(e(495))/2+-parseInt(e(518))/3*(-parseInt(e(463))/4)+-parseInt(e(505))/5*(parseInt(e(455))/6)+parseInt(e(486))/7*(-parseInt(e(459))/8)+-parseInt(e(476))/9+-parseInt(e(477))/10*(-parseInt(e(509))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class Ue extends((0,H.ConfirmMixin)(ft.View)){id;[Pe(478)];[Pe(507)];[Pe(462)];[Pe(489)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(466)],a=function(t,e){const i=r,s=Array[i(475)](e[i(490)])[i(472)]((t=>t!=e[i(498)]));return e[i(498)]&&s[i(482)](e[i(498)]),s[i(461)]((s=>new Re(t,s,s==e[i(498)])))}(e,i);this.id=i.id,this[r(462)]=i,this[r(489)]=n,this[r(504)](r(502),r(511)).to(i),this[r(504)](r(503)).to(this,r(511),(t=>{return i=e[r(494)],(s=t)[(n=Ve)(492)](i,{month:n(500),day:n(489)})+", "+s[n(494)](i,{hour:n(489),minute:n(489)});var i,s,n})),this[r(460)](r(468),!1),this[r(460)](r(513),!1),this[r(460)](r(488),!1),this[r(460)](r(501),!1),this[r(460)](r(480),!1),this[r(478)]=new Oe(e,ft.createLabeledInputText),this[r(478)][r(467)][r(497)]({attributes:{maxlength:r(471)}}),this[r(478)][r(467)][r(504)](r(499)).to(this,r(502),(t=>t||this[r(503)])),this[r(478)][r(504)](r(480)).to(this,r(468),this,r(480),((t,e)=>t&&e)),this[r(507)]=s&&s[r(515)]?function(e,i){const s=Ce,n=e[s(381)],r=e[s(416)],o=(0,ft.createDropdown)(r);o[s(420)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ce,s=t[i(416)],n={"Compare against selected":J(s,i(401)),"Name this revision":J(s,i(409)),"Restore this revision":J(s,i(388))};return e[i(404)]((t=>{const e=i,s=n[t[e(408)]];return s&&s!==t[e(408)]&&(t[e(408)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(406),model:new ft.ViewModel({label:t[n(408)],class:t[n(380)],withText:!0,role:n(412),_action:t[n(385)]})};i[n(390)][n(418)](n(405)).to(e,n(383),(i=>n(378)!=typeof t[n(405)]||!i||t[n(405)](e))),o[n(376)](i)}return o}(e,i);return e[s(418)](s(383)).to(o,s(375)),o[s(377)][s(417)]({label:J(r,s(400)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(379)]({attributes:{class:[s(397),n.if(s(383),s(410))]},on:{click:n.to((t=>t[s(394)]()))}}),o.on(s(395),(t=>{const i=s;e[i(392)]&&i(378)==typeof t[i(414)][i(382)]&&t[i(414)][i(382)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(413)}),o[s(372)](e,s(398),((t,n,r)=>{const a=s;if(r)for(const t of o[a(393)][a(403)]){const s=t[a(407)][a(386)],n=i[a(415)]((t=>t[a(385)]===s[a(382)]))[a(419)];t[a(419)]=void 0===n||n(e)}})),o}(this,s):"",this[r(507)]&&this[r(507)][r(504)](r(480)).to(this),this[r(469)]({tag:r(519),attributes:{class:["ck",r(473),r(484),o.if(r(483),r(500))]},children:[{tag:r(519),attributes:{class:["ck",r(473),r(474),o.if(r(480),r(485),(t=>!t)),o.if(r(468),r(487)),o.if(r(513),r(512)),o.if(r(488),r(491))]},children:[this[r(478)],{tag:r(493),attributes:{class:["ck",r(506)]},children:[{text:o.to(r(503))}]},{tag:r(519),attributes:{class:["ck",r(517)]},children:[{tag:"ul",attributes:{class:["ck",r(454)]},children:a}]},this[r(507)]],on:{click:o.to((t=>{const e=r;t[e(458)][e(479)](e(464))||this[e(501)]&&this[e(480)]&&this[e(492)](e(470),{id:this.id})}))}}]})}[Pe(510)](){const t=Pe;super[t(510)]();const e=this[t(478)][t(467)][t(514)];this[t(456)](e,t(465),(()=>{const i=t;this[i(489)]&&!e[i(499)]||this[i(492)](i(496),{id:this.id,name:e[i(499)]}),e[i(499)]||(e[i(499)]=this[i(502)]?this[i(502)]:this[i(503)])}))}[Pe(470)](){this[Pe(468)]=!0}[Pe(508)](){this[Pe(468)]=!1}[Pe(457)](){this[Pe(513)]=!0}[Pe(481)](){this[Pe(513)]=!1}}class He extends Error{}class Ze extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be 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 qs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xi={};class Ni extends _i{static create(t){return xi[t]||(xi[t]=new Ni(t)),xi[t]}static resetCache(){xi={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ni.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ti[e];"era"===e?s[r]=n:ws(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(js({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Ri={};function Vi(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 Mi={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=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):Ds(t,3),this.padTo)}}class ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ni.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Vi(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=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[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={},Ei={},Mi={}}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=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(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 Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(t,this.intl,e)}relFormatter(t={}){return new Pi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):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${qs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return qs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class 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 $i(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?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 qi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Bi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=qi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${qi[i]}${e}`)),Ji[i][e]}let Ki,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 $i(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,...Bs(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...Bs(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...Bs(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...Bs(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new Be("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function ks(t){const e=Is(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function 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 Vs(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 Ms(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function 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 $s(t,e){const i={};for(const s in t)if(xs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Zs(n)}return i}function qs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Rs(i,2)}:${Rs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Rs(i,2)}${Rs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],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]]=Vs(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:Vs(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Ms(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(Ms(u),h)}]}const Vn={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(Vs(e)):Vs(e),month:Js.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:Qs.indexOf(t)+1),a}const Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Vn[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$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function jn(t){const[,e,i,s,n,r,o,a]=t;return[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),$n=fn(bn,On,Tn,xn),qn=fn(wn,On,Tn,xn),Bn=fn(On,Tn,xn);const Yn=fn(On);const Jn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Kn=fn(On,Tn,xn);const 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:$s(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 qe(i);return new ur({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ln.create(this.loc,i).formatDurationFromString(this,t):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)(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,...$s(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return or(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new $e(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:hr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return hr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return $i(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||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(qi.hanidec))e+=Yi.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>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=Ms(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(xs(i,"a")&&xs(i,"H"))throw new Be("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function xr(t,e,i){return new Tr(t,i).explainFromTokens(e)}function Nr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Rr=864e13;function Vr(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 Mr(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Cr(js(t),e,i)}function jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=js(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function 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},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Gr(t,e){const i=$i(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Vr(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of qr)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]=Lr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Ds(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Qr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Vr(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=$i(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Vr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Rr||t>Rr?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:$i(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:$i(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Vr(i));const s=Wi.fromObject(e),n=$s(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=Br,v=Zr,g=ms(g,r,o)):u?(p=Yr,v=$r,g=vs(g)):(p=qr,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]=Lr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Zn],[Wn,$n],[Un,qn],[Hn,Bn])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Mn,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,jn],[Fn,jn],[Ln,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new 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?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?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=$i(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Lr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Vr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,jr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,jr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=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-=486]})(t,e)}function no(){const t=["setLocale","532568tJmSoj","9BSPQfv","710730SgHlni","1606935yxKkmE","toJSDate","monthLong","3381035XxBWfx","6FOngcF","3440565vvwscI","week","startOf","minus","674966QXXETJ","month","day","fromJSDate","local","weekdayLong","year","toRelativeCalendar","hasSame","1714220RblumD"];return(no=function(){return t})()}function ro(t,e){const i=so,s=eo[i(500)](t)[i(507)](e),n=eo[i(501)](),r=n[i(496)]({days:1})[i(495)](i(499));let o,a;return s[i(505)](n,i(499))?(o=s[i(495)](i(499))[i(489)](),a=s[i(504)]()):s[i(505)](r,i(499))?(o=r[i(489)](),a=s[i(504)]()):s[i(505)](n,i(494))?(o=s[i(495)](i(494))[i(489)](),a=s[i(502)]||""):s[i(505)](n,i(503))?(o=s[i(495)](i(498))[i(489)](),a=s[i(490)]||""):(o=s[i(495)](i(503))[i(489)](),a=String(s[i(503)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=so,i=t();for(;;)try{if(484190===parseInt(e(497))/1+-parseInt(e(487))/2+-parseInt(e(488))/3+parseInt(e(506))/4+parseInt(e(493))/5+parseInt(e(492))/6*(-parseInt(e(491))/7)+-parseInt(e(508))/8*(-parseInt(e(486))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=lo;function uo(){const t=["4253672DtUSHJ","setTemplate","createCollection","localizedPeriodName","select","3684pipWqQ","_requireRevisionName","span","1eQHAeI","1817374RfWFpD","add","uiLanguage","delegate","822258jLKLks","5439189FOYSFm","startDate","revisionViews","setName","remove","72dOdmjv","267770fBJntI","div","find","addRevision","_revisionActions","removeRevision","ck-revision-history-sidebar__time-period__revisions","locale","2686704YTKTwB","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period","3955LQaEmR"];return(uo=function(){return t})()}function lo(t,e){const i=uo();return(lo=function(t,e){return i[t-=115]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(573485===parseInt(e(141))/1*(parseInt(e(142))/2)+-parseInt(e(129))/3+-parseInt(e(138))/4*(-parseInt(e(132))/5)+-parseInt(e(146))/6+-parseInt(e(115))/7+parseInt(e(133))/8+parseInt(e(120))/9*(parseInt(e(121))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(uo);class ho extends ft.View{[co(116)];[co(117)];[co(125)];[co(139)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(128)][n(144)])[n(136)];this[n(116)]=e,this[n(117)]=this[n(135)](),this[n(125)]=i,this[n(139)]=s,this[n(117)][n(145)](n(137)).to(this),this[n(117)][n(145)](n(118)).to(this),this[n(134)]({tag:n(122),attributes:{class:["ck",n(131)]},children:[{tag:n(140),attributes:{class:["ck",n(130)]},children:[{text:r}]},{tag:n(122),attributes:{class:["ck",n(127)]},children:this[n(117)]}]})}[co(124)](t){const e=co,i=new Ue(this[e(128)],t,this[e(125)],this[e(139)]);this[e(117)][e(143)](i)}[co(126)](t){const e=co,i=this[e(117)][e(123)]((e=>e.id===t.id));this[e(117)][e(119)](i)}}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(){const t=["ck-reset_all","ck-revision-history-sidebar__header","265349agNcHA","11007603KdyPbn","setTemplate","11847012UPuNwg","ck-revision-history-sidebar__header__label","content","Revision history","4oLlXgr","218896wJakuU","span","56303335tGIwsr","div","27jLUQNl","160096VaVxPO","1798735PlcjwU","10NwLIdv","238gYuBJe"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=339]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(991196===-parseInt(e(342))/1+-parseInt(e(350))/2*(parseInt(e(354))/3)+parseInt(e(349))/4*(-parseInt(e(356))/5)+-parseInt(e(345))/6+-parseInt(e(339))/7*(-parseInt(e(355))/8)+parseInt(e(343))/9*(-parseInt(e(357))/10)+parseInt(e(352))/11)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(347)]=dt.IconHistory,this[e(344)]({tag:e(353),attributes:{class:["ck",e(340),e(341)]},children:[i,{tag:e(351),attributes:{class:["ck",e(346)]},children:[J(t,e(348))]}]})}}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-=392]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(671434===parseInt(e(419))/1+-parseInt(e(422))/2+parseInt(e(413))/3+parseInt(e(435))/4+-parseInt(e(420))/5+parseInt(e(415))/6*(parseInt(e(394))/7)+parseInt(e(399))/8*(-parseInt(e(444))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class _o extends ft.View{[bo(434)];[bo(427)];[bo(430)];[bo(417)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(414)];this[n(434)]=this[n(392)](),this[n(434)][n(402)](n(423)).to(this),this[n(434)][n(402)](n(401)).to(this),this[n(427)]=e,this[n(430)]=i,this[n(417)]=s,this.on(n(423),((t,e)=>{const i=n;this[i(406)](i(410),e)})),this.on(n(401),((t,e)=>{const i=n;this[i(406)](i(411),e)})),this[n(443)](n(409),!1),this[n(426)]({tag:n(445),attributes:{class:["ck",n(424),n(428),n(436)]},children:[new go(t),{tag:n(445),attributes:{class:["ck",n(431),r.if(n(409),n(393),(t=>!t))]},children:this[n(434)]}]})}[bo(440)](){const t=bo;super[t(440)]();for(const e of this[t(427)])this[t(432)](e);this[t(427)].on(t(405),((e,i)=>{this[t(432)](i)})),this[t(427)].on(t(397),((e,i)=>{this[t(442)](i)}))}get[bo(438)](){const t=bo;return this[t(434)][t(433)]((e=>e[t(438)][t(433)]((t=>t))))[t(407)]()}[bo(441)](t){const e=bo;for(const i of this[e(438)])t&&t.id===i.id?i[e(423)]():i[e(400)]()}[bo(412)](t){const e=bo;for(const i of this[e(438)])t[e(425)]((({id:t})=>t===i.id))?i[e(395)]():i[e(398)]()}[bo(432)](t){const e=bo,i=ro(t[e(421)],this[e(408)][e(404)])[e(416)];let s=this[e(434)][e(429)](0);s&&s[e(416)][e(403)]()===i[e(403)]()||(s=new ho(this[e(408)],i,this[e(430)],this[e(417)]),this[e(434)][e(405)](s)),s[e(418)](t)}[bo(442)](t){const e=bo,i=ro(t[e(421)],this[e(408)][e(404)])[e(416)];this[e(437)](i)[e(439)](t)}[bo(437)](t){const e=bo;return this[e(434)][e(396)]((i=>i[e(416)][e(403)]()===t[e(403)]()))}}function Io(){const t=["3485562aKRWLX","startDate","_requireRevisionName","addRevision","557535RALiWC","2007060ydoCDJ","createdAt","845982cJHYhi","select","ck-reset","some","setTemplate","_revisions","ck-rounded-corners","get","_revisionActions","ck-revision-history-sidebar__timeline","_addRevision","map","timePeriodViews","3072660XLbYMC","ck-revision-history-sidebar","_getTimePeriodViewByStartDate","revisionViews","removeRevision","render","selectRevision","_removeRevision","set","363159BCaWNh","div","createCollection","ck-disabled","14GVCqMX","highlight","find","remove","unhighlight","320gLMajN","deselect","setName","delegate","getTime","uiLanguage","add","fire","flat","locale","isEnabled","revisionSelected","revisionSetName","highlightRevisions","1866969FBrxSx","bindTemplate"];return(Io=function(){return t})()}function So(t,e){const i=To();return(So=function(t,e){return i[t-=247]})(t,e)}const Oo=So;function To(){const t=["nameRevision","listenTo","revisionSelected","remove","Restore this revision","action","add","860728orLdmp","Name this revision","revisionHistory.revisionActions","isReady","locale","map","_handleDiffChange","diff","revisionHistory","revisionViews","isPremiumPlugin","data","selectRevision","_revisionViewer","_sidebarView","config","5760426ZltgLB","repository","get","appendChild","string","restoreRevisionCallback","revisionHistory.requireRevisionName","assign","element","isOfficialPlugin","_handleEditorDataReady","isEnabled","pluginName","highlightRevisions","plugins","setName","_revisionsRepository","revisionHistory.viewerSidebarContainer","change:diff","getRevision","Compare against selected","focus","availableRevisionActions","restoreRevision","compareAgainstSelected","21327NHrOGT","869740fAULSA","fieldView","getLaterVisibleRevision","length","defaultRevisionActions","_revisions","ready","2602320JYRDNn","1713880kizJiD","RevisionsSidebar","name","render","getIndex","getRevisionsInDiff","isVisible","getEarlierVisibleRevision","editor","select","_handleRevisionSelected","compare","newRevisionId","450048uzEaHC","timePeriodViews","_handleRevisionSetName","revisionSetName","init","isSelected","requires","destroy","_createRevisionActions","bind"];return(To=function(){return t})()}!function(t){const e=So,i=t();for(;;)try{if(237064===-parseInt(e(317))/1+parseInt(e(254))/2+-parseInt(e(295))/3+parseInt(e(296))/4+-parseInt(e(304))/5+-parseInt(e(303))/6+parseInt(e(270))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends U.Plugin{[Oo(267)];[Oo(286)];[Oo(268)];static[Oo(300)]=[Oo(294),Oo(293),Oo(247)];static[Oo(292)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(290),action:({plugins:e},i)=>{const s=t,n=e[s(272)](te),r=n[s(271)];let o=n[s(261)][s(316)],a=i.id;r[s(308)](o)>r[s(308)](a)&&([o,a]=[a,o]),n[s(315)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(272)](te);return!(n[s(271)][s(309)](n[s(261)])[s(299)]>2||i[s(322)])}},restoreRevision:{name:t(251),action:(e,{id:i})=>{const s=t;e[s(269)][s(272)](s(262))[s(275)](i)},isVisible:({plugins:e},i)=>!!e[t(272)](te)[t(271)][t(298)](i.id)},nameRevision:{name:t(255),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(272)](te),o=r[n(271)][n(311)](i);r[n(315)](i,o),s[n(291)](),s[n(297)][n(313)]()}}}}();static get[Oo(282)](){return Oo(305)}static get[Oo(279)](){return!0}static get[Oo(264)](){return!0}static get[Oo(323)](){return[te]}constructor(t){const e=Oo;super(t),this[e(267)]=t[e(284)][e(272)](te),this[e(286)]=this[e(267)][e(271)],this[e(268)]=null}[Oo(321)](){const t=Oo,e=this[t(286)][t(301)],i=this[t(325)](),s=this[t(312)][t(269)][t(272)](t(287));this[t(268)]=new _o(this[t(312)][t(258)],e,i,this[t(312)][t(269)][t(272)](t(276))),this[t(268)].on(t(249),this[t(314)][t(326)](this)),this[t(268)].on(t(320),this[t(319)][t(326)](this)),this[t(268)][t(326)](t(281)).to(this[t(267)]),this[t(268)][t(318)].on(t(253),((e,i)=>{const s=t;i[s(263)].on(s(253),((t,e)=>{const i=s;e[i(326)](i(281),i(257)).to(this[i(267)])}))})),this[t(268)][t(307)](),this[t(248)](this[t(312)][t(265)],t(302),this[t(280)][t(326)](this)),this[t(248)](this[t(267)],t(288),this[t(260)][t(326)](this)),s[t(273)](this[t(268)][t(278)])}[Oo(324)](){const t=Oo;this[t(268)][t(278)][t(250)](),this[t(268)][t(324)]()}[Oo(280)](){const t=Oo,e=this[t(286)][t(289)](0);if(e){const i=this[t(286)][t(311)](e.id);this[t(267)][t(315)](e,i)}}[Oo(314)](t,e){const i=Oo,s=this[i(286)][i(289)](e.id),n=this[i(286)][i(311)](s.id);this[i(267)][i(315)](s,n)}[Oo(319)](t,e){const i=Oo;this[i(286)][i(289)](e.id)[i(285)](e[i(306)])}[Oo(260)](t,e,i){const s=Oo,n=this[s(286)][s(309)](i);n[s(299)]>2?(this[s(268)][s(283)](n),this[s(268)][s(266)](null)):(this[s(268)][s(283)]([]),this[s(268)][s(266)](n[0]))}[Oo(325)](){const t=Oo,e=this[t(312)],i=xo[t(292)],s=e[t(269)][t(272)](t(256))||xo[t(300)];if(s[t(299)])return s[t(259)]((s=>{const n=t,r=n(274)==typeof s?Object[n(277)]({},i[s]):s;return r[n(252)]=r[n(252)][n(326)](this,e),r[n(310)]&&(r[n(310)]=r[n(310)][n(326)](this,e)),r}))}}const No=xo;function Ao(t,e){const i=Vo();return(Ao=function(t,e){return i[t-=151]})(t,e)}const Ro=Ao;function Vo(){const t=["destroy","replace","editor","2sRkQZU","focusTracker","name","editable","getRoot","editing","196027xdpEcT","1017AzVBbk","3377689yVPBuE","645337aPOUlL","_elementReplacer","setEditableElement","8NKIFcL","restore","33880kuwSrp","limiterElement","_toolbarConfig","_view","init","get","528065dhLvwt","stickyPanel","_initToolbar","bind","render","viewportOffset","view","ready","componentFactory","fire","viewportTopOffset","detachDomRoot","20KdsHKS","1563291SnwabA","toolbar","element","rootName","attachDomRoot","document","config","731892zjRhBQ","isActive","isFocused","fillFromConfig","addToolbar"];return(Vo=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(283961===parseInt(e(185))/1*(parseInt(e(179))/2)+-parseInt(e(164))/3+-parseInt(e(163))/4*(-parseInt(e(151))/5)+parseInt(e(171))/6+parseInt(e(187))/7*(-parseInt(e(191))/8)+-parseInt(e(186))/9*(-parseInt(e(193))/10)+parseInt(e(188))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends ft.EditorUI{[Ro(196)];[Ro(195)];[Ro(189)];get[Ro(157)](){return this[Ro(196)]}constructor(e,i){const s=Ro;super(e),this[s(196)]=i,this[s(195)]=(0,ft.normalizeToolbarConfig)(e[s(170)][s(198)](s(165))),this[s(189)]=new t.ElementReplacer}get[Ro(166)](){const t=Ro;return this[t(157)][t(166)]}[Ro(197)](t){const e=Ro,i=this[e(178)],s=this[e(157)],n=i[e(184)][e(157)],r=s[e(182)],o=n[e(169)][e(183)]();r[e(181)]=o[e(167)],s[e(155)]();const a=r[e(166)];this[e(190)](r[e(181)],a),s[e(182)][e(154)](e(173)).to(this[e(180)]),n[e(168)](a),this[e(189)][e(177)](t,this[e(166)]),this[e(153)](),this[e(160)](e(158))}[Ro(176)](){const t=Ro;super[t(176)]();const e=this[t(157)],i=this[t(178)][t(184)][t(157)];this[t(189)][t(192)](),i[t(162)](e[t(182)][t(181)]),e[t(176)]()}[Ro(153)](){const t=Ro,e=this[t(157)];e[t(152)][t(154)](t(172)).to(this[t(180)],t(173)),e[t(152)][t(194)]=e[t(166)],e[t(152)][t(154)](t(161)).to(this,t(156),(({top:t})=>t)),e[t(165)][t(174)](this[t(195)],this[t(159)]),this[t(175)](e[t(165)])}}var Mo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Mo.A,Do);Mo.A&&Mo.A.locals&&Mo.A.locals;var Co=Lo;function Fo(){var t=["36014JTxkmq","main","492QWRLjl","render","8oLfhyB","234mpFXeH","stickyPanel","shouldToolbarGroupWhenFull","45703ldhLiG","103640QZNzLs","add","editable","toolbar","top","169518ysyrZU","3yjEaUq","26006PlmVfT","_editable","3260672ImfvjC","282YkSLRz","content","67245aCiErk"];return(Fo=function(){return t})()}function Lo(t,e){var i=Fo();return(Lo=function(t,e){return i[t-=312]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(215525===-parseInt(e(322))/1*(-parseInt(e(323))/2)+parseInt(e(321))/3*(-parseInt(e(333))/4)+-parseInt(e(328))/5+parseInt(e(326))/6*(parseInt(e(315))/7)+-parseInt(e(325))/8+parseInt(e(312))/9*(parseInt(e(316))/10)+-parseInt(e(329))/11*(-parseInt(e(331))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class jo extends ft.BoxedEditorUIView{[Co(324)];[Co(313)];[Co(319)];get[Co(318)](){return this[Co(324)]}constructor(t,e,i={}){var s=Co;super(t),this[s(313)]=new ft.StickyPanelView(t),this[s(319)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(314)]}),this[s(324)]=new ft.InlineEditableUIView(t,e)}[Co(332)](){var t=Co;super[t(332)](),this[t(313)][t(327)][t(317)](this[t(319)]),this[t(320)][t(317)](this[t(313)]),this[t(330)][t(317)](this[t(318)])}}const Po=Wo;function zo(){const t=["create","562bkyfLp","7379680ilUMru","config","1795335qQcAbn","view","1912QDzxIP","fire","init","2699242jqHYyJ","_ui","63776WnEPRR","destroy","6490jyKXZp","initialData","473661nijxCn","model","editing","39776hNDFhH","2160lcBgsp","initPlugins","document","18SfYhNV","updateSourceElement","ready","data","get","locale","createRoot","sourceElement"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=148]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(993050===parseInt(e(166))/1*(parseInt(e(171))/2)+-parseInt(e(150))/3+parseInt(e(167))/4+parseInt(e(169))/5+parseInt(e(157))/6*(-parseInt(e(174))/7)+-parseInt(e(176))/8*(-parseInt(e(154))/9)+-parseInt(e(148))/10*(parseInt(e(153))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends((0,U.ElementApiMixin)(U.Editor)){[Po(175)];get ui(){return this[Po(175)]}constructor(t,e){const i=Po;super(e),this[i(164)]=t,this[i(151)][i(156)][i(163)]();const s=new jo(this[i(162)],this[i(152)][i(170)],{shouldToolbarGroupWhenFull:!0});this[i(175)]=new Eo(this,s)}[Po(177)](){const t=Po;return this[t(158)](),this.ui[t(177)](),super[t(177)]()}static async[Po(165)](t,e){const i=Po,s=new this(t,e);return await s[i(155)](),await s.ui[i(173)](t),await s[i(160)][i(173)](s[i(168)][i(161)](i(149))||""),s[i(172)](i(159)),s}}const Ho=Zo;function Zo(t,e){const i=$o();return(Zo=function(t,e){return i[t-=327]})(t,e)}function $o(){const t=["isEnabled","7334985jpWqHv","error","getRevisions","keys","pluginName","revisionHistory.closeRevisionViewerCallback","removeSelectionAttribute","revisionHistory.viewerContainer","RevisionHistoryUI","_update","update","enableReadOnlyMode","creator","toVersion","RevisionViewerIntegration","parse","513801FmGlpt","isReadOnly","revisionHistory.requireRevisionName","fromVersion","has","detachRoot","users","map","roots","_closeRevisionViewer","_enhanceCloseRevisionViewerCallback","changesNavigation","createRangeIn","insert","$graveyard","Users","Annotations","25188AumgEt","PaginationLookup","RevisionTracker","repository","save","plugins","none","isOfficialPlugin","refreshPositioning","isOpen","init","revisionHistory.restoreRevisionCallback","commands","_recalculatePageBreaks","getMarkersGroup","join","6zvDSaE","revision-history-missing-configuration","catch","change","then","_getRevisionViewerEditorConfig","addRevisionData","editor","requires","setSelection","8IuWtGp","isReady","Autosave","revisionHistory","toJSON","disableReadOnlyMode","getRevisionData","adapter","createdAt","Dialog","RevisionsRepository","create","lazyRoots","revisionHistory.viewerEditorElement","refreshVisibility","showRevisionViewerCallback","style","setAttribute","3444HUtaat","remove","isAnonymous","rootName","_showRevisionViewer","699YjCgoL","11868285hzobxl","77hcbyYm","get","define","addUser","indexOf","_viewerEditor","config","closeRevisionViewerCallback","translations","getRevision","_cleanUp","includes","block","removeAttribute","RevisionViewer","Restored","bind","name","getRevisionRootsAttributes","revisionHistory.editorContainer","result","set","numeric","getUser","restoreRevision","hide","from","getAttributeKeys","isPremiumPlugin","11754420lTYmkC","toLocaleTimeString","addRoot","enqueueChange","revisionHistory.showRevisionViewerCallback","markers","_restoreRevision","selection","RevisionHistory","isAttached","model","getRoot","saveRevision","toLocaleDateString","RestrictedEditingMode","fromCharCode","push","document","restrictedEditingException","display","long","revision-history-viewer-opened","uiLanguage","4522203VwCGVR","toolbar","_enhanceShowRevisionViewerCallback","removeMarker","destroy","data","exitToEditing","locale","end"];return($o=function(){return t})()}!function(t){const e=Zo,i=t();for(;;)try{if(739409===parseInt(e(376))/1*(parseInt(e(369))/2)+-parseInt(e(374))/3*(-parseInt(e(471))/4)+-parseInt(e(438))/5*(parseInt(e(341))/6)+parseInt(e(428))/7+-parseInt(e(351))/8*(-parseInt(e(454))/9)+-parseInt(e(405))/10+parseInt(e(375))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const qo=[Ho(446),Ho(419)];class Bo extends U.Plugin{[Ho(396)];static get[Ho(442)](){return Ho(452)}static get[Ho(332)](){return!0}static get[Ho(404)](){return!0}constructor(t){const e=Ho;function i(t){const e=Zo;return t[e(461)]((t=>String[e(420)](t)))[e(340)]("")}super(t),this[e(396)]=e(436),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(381)];static get[Ho(442)](){return Ho(413)}static get[Ho(332)](){return!0}static get[Ho(404)](){return!0}static get[Ho(349)](){return[rt,Ct]}constructor(e){const i=Ho;if(super(e),!this[i(348)][i(382)][i(377)](i(354)))throw new t.CKEditorError(i(342),this);this[i(381)]=null,this[i(348)][i(382)][i(378)](i(409),(t=>this[i(373)]({...t,translations:this[i(348)][i(435)][i(384)]}))),this[i(348)][i(382)][i(378)](i(443),(t=>this[i(463)](t))),this[i(348)][i(382)][i(378)](i(336),(t=>this[i(411)](t))),this[i(348)][i(382)][i(378)](i(456),!1),this[i(430)](),this[i(464)]()}set[Ho(358)](t){const e=Ho;this[e(348)][e(330)][e(377)](e(327))[e(358)]=t}get[Ho(358)](){const t=Ho;return this[t(348)][t(330)][t(377)](t(327))[t(358)]}[Ho(347)](t){const e=Ho;return this[e(348)][e(330)][e(377)](e(327))[e(347)](t)}[Ho(385)](t){const e=Ho;return this[e(348)][e(330)][e(377)](e(361))[e(385)](t)}[Ho(440)](t){const e=Ho;return this[e(348)][e(330)][e(377)](e(361))[e(440)](t||{toJSON:!1})}[Ho(346)](){const e=Ho,i=this[e(348)],s=(0,H.sanitizeEditorConfig)(i,qo),n=i[e(330)][e(377)](e(327)),r=i[e(330)][e(377)](e(469))[e(460)];return s[e(429)]=[e(434),e(400),e(465)],delete s[e(363)],s[e(330)][e(421)](Bo,te,ke,class extends U.Plugin{static get[e(349)](){return[te,e(469)]}[e(335)](){const s=e,o=this[s(348)][s(330)][s(377)](s(469));for(const t of r)t[s(371)]||o[s(399)](t.id)||o[s(379)](t);const a=n[s(328)][s(440)]();let c=null;const u=this[s(348)][s(330)][s(377)](s(390));u[s(358)]=n[s(358)],u[s(392)](s(437)).to(n),this[s(348)][s(337)][s(377)](s(400))[s(392)](s(437)).to(i,s(455),(t=>!t));for(const e of a){const i=null===e[s(450)];if(i&&e[s(451)]===e[s(457)])continue;const r=e[s(355)]();u[s(347)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(447)](r,o);else if(!o){const e=a[u(355)]();e.id=(0,t.uid)(),n[u(417)](e,a[u(451)])[u(345)]((t=>{c=t}))}}else e[u(447)](r,o)}))}}},No),s}[Ho(430)](){const t=Ho,e=this[t(348)][t(382)][t(377)](t(354))[t(366)];this[t(348)][t(382)][t(397)](t(409),(async()=>{const i=t;this[i(348)][i(449)](i(426));const s=this[i(348)][i(330)][i(377)](i(327));if(this[i(348)][i(330)][i(458)](i(353))){const t=this[i(348)][i(330)][i(377)](i(353));await t[i(329)]()}else await s[i(448)]();if(this[i(348)][i(330)][i(458)](i(472))&&this[i(348)][i(330)][i(377)](i(472))[i(338)](),this[i(348)][i(330)][i(458)](i(360))){const t=this[i(348)][i(330)][i(377)](i(360));t[i(334)]&&t[i(401)]()}const n=this[i(346)]();return e(n)[i(345)]((t=>{const e=i;return this[e(381)]=t,this[e(348)][e(330)][e(458)](e(470))&&this[e(348)][e(330)][e(377)](e(470))[e(365)](),t}))[i(343)]((t=>(console[i(439)](t),this[i(348)][i(356)](i(426)),null)))}))}[Ho(464)](){const t=Ho,e=this[t(348)][t(382)][t(377)](t(354))[t(383)];this[t(348)][t(382)][t(397)](t(443),(()=>(this[t(348)][t(330)][t(458)](t(472))&&this[t(348)][t(330)][t(377)](t(472))[t(338)](),this[t(381)][t(330)][t(377)](t(390))[t(386)](),e(this[t(381)])[t(345)]((()=>{const e=t;if(this[e(348)][e(356)](e(426)),this[e(381)]=null,this[e(348)][e(330)][e(458)](e(470))){const t=this[e(348)][e(330)][e(377)](e(470));t[e(365)](),t[e(333)]()}})))))}[Ho(373)](t){const e=Ho,i=this[e(348)][e(382)][e(377)](e(395)),s=this[e(348)][e(382)][e(377)](e(445)),n=this[e(348)][e(382)][e(377)](e(364));return Uo[e(362)](n,t)[e(345)]((t=>(s[e(367)][e(424)]=e(388),i[e(367)][e(424)]=e(331),t)))}[Ho(463)](t){const e=Ho,i=this[e(348)][e(382)][e(377)](e(395));return this[e(348)][e(382)][e(377)](e(445))[e(367)][e(424)]=e(331),i[e(367)][e(424)]="",t[e(432)]()}async[Ho(411)](t){const e=Ho,i=this[e(348)],s=this[e(381)][e(330)][e(377)](e(390)),n=i[e(330)][e(377)](e(327)),r=s[e(328)][e(385)](t);let o,a,c;try{o=await s[e(357)](r),a=await s[e(394)](r)}catch(t){return void console[e(439)](t)}i[e(415)][e(344)]((t=>{const s=e;for(const e of Array[s(402)](i[s(415)][s(410)][s(339)](s(423))))t[s(431)](e)})),s[e(352)]=!1,i[e(415)][e(408)]((t=>{const s=e;t[s(350)](null),t[s(444)](i[s(415)][s(422)][s(412)][s(403)]());const n=Object[s(441)](o);for(const e of i[s(415)][s(422)][s(462)])s(468)!=e[s(372)]&&e[s(414)]()&&!n[s(387)](e[s(372)])&&t[s(459)](e);for(const e of n){let n=i[s(415)][s(422)][s(416)](e);n&&n[s(414)]()||(n=t[s(407)](e));const r=a[e],c=Object[s(441)](r),u=o[e];for(const e of n[s(403)]())c[s(387)](e)||t[s(389)](e,n);for(const i of c)t[s(368)](i,a[e][i],n);t[s(370)](t[s(466)](n)),t[s(467)](i[s(433)][s(453)](u,n),n,0)}}));const u=J(i[e(435)],e(391));return c=r[e(393)]?-1==r[e(393)][e(380)](u)?u+": "+r[e(393)]:r[e(393)]:u+": "+r[e(359)][e(418)](i[e(435)][e(427)],{month:e(425),day:e(398)})+", "+r[e(359)][e(406)](i[e(435)][e(427)],{hour:e(398),minute:e(398)}),await n[e(417)]({name:c}),s[e(352)]=!0,i[e(382)][e(377)](e(354))[e(383)]()}}function Jo(t,e){var i=Go();return(Jo=function(t,e){return i[t-=213]})(t,e)}function Go(){var t=["54652HEylXc","109786ABnzeV","5773696KQEoiq","235WnLRlZ","7551607JBYIAY","88240yteAyM","3lnBRyW","4917498jrVxMD","8143818AMwsUv","468hMQtTa"];return(Go=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(861104===parseInt(e(219))/1*(-parseInt(e(214))/2)+parseInt(e(220))/3+parseInt(e(213))/4*(parseInt(e(216))/5)+-parseInt(e(221))/6+-parseInt(e(217))/7+parseInt(e(215))/8+-parseInt(e(222))/9*(-parseInt(e(218))/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:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>rt,RevisionViewer:()=>te,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>Y,RevisionsSidebar:()=>xo});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 N(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E,M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=N(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,N(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(N(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(M=t,ArrayBuffer.isView(M)&&!(M instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=N(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),x(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),x(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),x(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,x(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),x(e,t,i,s,A),e}return t}function x(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]=N(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return N(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 x(e,t),e}case u:{const e={};return x(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}const E=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}function V(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,V(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function 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=z();return(P=function(t,e){return i[t-=385]})(t,e)}function z(){const t=["creator","map","fromVersion","set","489148wMvLYB","diffData","fire","1483431VmvUHM","authors","createdAt","setName","creatorId","1077680nAXdor","name","removeAttribute","toJSON","2846484ALGprF","_update","293211GimmcT","model","2260979jYgDLY","attributes","32PAhsiA","setAttribute","toVersion","377945XsgmoJ","authorsIds"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(275344===parseInt(e(410))/1+-parseInt(e(404))/2+-parseInt(e(399))/3+parseInt(e(396))/4+parseInt(e(390))/5+-parseInt(e(408))/6+-parseInt(e(385))/7*(-parseInt(e(387))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[L(392)];[L(400)];[L(397)];[L(389)];[L(394)];[L(411)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(392)]=e[i(392)]||null,this[i(400)]=e[i(400)]||[],this[i(397)]=e[i(397)]||null,this[i(389)]=e[i(389)]||0,this[i(394)]=e[i(394)]||0,this[i(395)](i(405),e[i(405)]||""),this[i(395)](i(401),e[i(401)]||new Date),this[i(395)](i(386),e[i(386)]||{})}[L(402)](t){this[L(409)]({name:t})}[L(388)](t,e){const i=L,s=R(this[i(386)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(409)]({attributes:s})}[L(406)](t){const e=L,i=R(this[e(386)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,V(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(409)]({attributes:i})}[L(409)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(405),i(401),i(397),i(400),i(386),i(389),i(394),i(403)];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(400)]&&(n[i(391)]=n[i(400)][i(393)]((t=>t.id)),delete n[i(400)]),this[i(398)](i(409),n,e))}[L(407)](){const t=L;return{id:this.id,name:this[t(405)],creatorId:this[t(392)]?this[t(392)].id:null,authorsIds:this[t(400)][t(393)]((t=>t.id)),diffData:this[t(397)],createdAt:this[t(401)],attributes:this[t(386)],fromVersion:this[t(394)],toVersion:this[t(389)]}}}var Z=i(782),H=i(211),U=i(783);function q(t,e){const i=$();return(q=function(t,e){return i[t-=467]})(t,e)}function $(){const t=["getUser","creatorId","getEarlierVisibleRevision","297452qqMENN","attributes","afterInit","createRevision","authorsIds","Users","fromVersion","newRevisionId","name","132153mdvfSH","data","6nDBhzI","_revisions","length","createdAt","add","join","6290746erVdkK","oldRevisionId","getIndex","map","editor","isNaN","54elDgrn","3GUZrDZ","218918nuFjZL","from","addRevision","pluginName","getRevisions","href","push","diffData","plugins","reverse","requires","513672jqCoYQ","get","isPremiumPlugin","isOfficialPlugin","2816WYXgii","getRevisionsIterator","toJSON","earlier","RevisionsRepository","toVersion","getLaterVisibleRevision","1402650cKZnBW","later","getRevisionsInDiff","getRevision","1440TRWSKb","fromCharCode"];return($=function(){return t})()}const B=q;!function(t){const e=q,i=t();for(;;)try{if(204232===-parseInt(e(489))/1+parseInt(e(480))/2*(parseInt(e(504))/3)+parseInt(e(520))/4*(parseInt(e(475))/5)+-parseInt(e(491))/6*(-parseInt(e(505))/7)+parseInt(e(516))/8*(parseInt(e(503))/9)+parseInt(e(471))/10+-parseInt(e(497))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends Z.Plugin{[B(492)];static get[B(515)](){return[H.Users]}static get[B(508)](){return B(468)}static get[B(519)](){return!0}static get[B(518)](){return!0}get[B(493)](){const t=B;return this[t(492)][t(493)]}constructor(e){const i=B;super(e),this[i(492)]=new t.Collection}[B(482)](){!async function(e){const i=k([52,65,69,116,114,55,81,117,71,106,108,56,53,73,48,121,49,84,112,115,90,119,51,80,89,110,100,98,88,50,85,107,67,86,82,79,109,120,57,118,103,101,77,99,66,122,87,68,83,54,70,105,74,76,72,113,102,111,97,104,75,78]),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=q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(502)](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([65]);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=q;return t[e(500)]((t=>String[e(476)](t)))[e(496)]("")}!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:1739577600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=q,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(510)]);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)}[B(483)](t){const e=B,i=this[e(501)][e(513)][e(517)](e(485));return new W({id:t.id,name:t[e(488)],creator:t[e(478)]?i[e(477)](t[e(478)]):null,diffData:t[e(512)]||t[e(490)],authors:t[e(484)][e(500)]((t=>i[e(477)](t))),createdAt:new Date(t[e(494)]),attributes:t[e(481)],fromVersion:t[e(486)],toVersion:t[e(469)]})}[B(507)](t,e=0){const i=B;this[i(492)][i(495)](t,e)}[B(474)](t){const e=B;return this[e(492)][e(517)](t)}[B(509)](t={toJSON:!1}){const e=B,i=Array[e(506)](this[e(492)]);return i[e(514)](),t[e(522)]?i[e(500)]((t=>t[e(522)]())):i}[B(499)](t){const e=B;return this[e(492)][e(499)](t)}[B(479)](t){const e=B,[,i]=this[e(521)](t,{direction:e(467)});return i}[B(470)](t){const e=B,[,i]=this[e(521)](t,{direction:e(472)});return i}[B(473)](t){const e=B,i=[];for(const s of this[e(521)](t[e(487)]))if(i[e(511)](s),s.id===t[e(498)])break;return i}*[B(521)](t,{direction:e=B(467),filter:i=()=>!0}={}){const s=B,n=s(467)===e?1:-1;let r=this[s(492)][s(517)](t),o=this[s(499)](r);for(yield r;r;){if(o+=n,r=this[s(474)](o),!r)return;i(r)&&(yield r)}}}function G(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function J(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return X(t,e,r,o)}return X(t,e,r,o)}function X(t,i,s,N){if(Object.is(t,i))return!0;let x=n(t),A=n(i);if(x===u&&(x=v),A===u&&(A=v),x!==A)return!1;switch(x){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(E=s)||Number.isNaN(R)&&Number.isNaN(E)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,E;const M=(s=s??new Map).get(t),V=s.get(i);if(null!=M&&null!=V)return M===i;s.set(t,i),s.set(i,t);try{switch(x){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,N))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,N)));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,N))return!1;return!0;case p:return t.byteLength===i.byteLength&&X(new Uint8Array(t),new Uint8Array(i),s,N);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&X(new Uint8Array(t),new Uint8Array(i),s,N);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(X(t.constructor,i.constructor,s,N)||J(t)&&J(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!K(o,i[r],r,t,i,s,N))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=nt();return(it=function(t,e){return i[t-=393]})(t,e)}!function(t){const e=it,i=t();for(;;)try{if(966613===-parseInt(e(609))/1+-parseInt(e(670))/2*(parseInt(e(555))/3)+parseInt(e(626))/4+-parseInt(e(702))/5+parseInt(e(667))/6*(-parseInt(e(616))/7)+parseInt(e(558))/8+parseInt(e(514))/9*(parseInt(e(608))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);const st={c:U.ViewContainerElement,a:U.ViewAttributeElement,e:U.ViewEmptyElement,r:U.ViewRawElement,u:U.ViewUIElement};function nt(){const t=["_markChanges","expired","_initialRevisionId","_revisionDataBuilder","_transformMarkers","$graveyard","hasContent","getRevisionRootsAttributes","find","setRevisionData","diffData","getRange","revisionHistoryLicenseKeyInvalid","969xLArgG","attributesAfter","$text","78736kmrecm","getTime","_authorId","vid","_loadedStateData","parent","size","PendingActions","split","loadState","getData","collaboration.channelId","_startingRevisionId","_startingVersion","finally","attachChange","_lastTo","_diffRootsAttributes","getLatestVersion","insertion","element","_setConversion","from","_createFromRanges","root","_copyMarkers","plugins","sourcePosition","revision:","graveyardPosition","offset","getRevisionDocumentData","_saveMetaData","_getVidAttributeName","revisionHistoryLicenseKeyEvaluationLimit","_showLicenseError","afterInit","_idsRoots","_removeRevisionMarkers","_source","_createInitialRevision","_handleOperation","shift","oldRange","createRangeIn","_appendChild","_removeMetaData","some","_loadState","_makeRevision","24259780aShoEN","1366699KXxJmy","changeRootAttribute","sort","userId","addRevisionData","revision-end","getWalker","42378nDzLBH","key","_isPendingUpdate","_baseIdsRoots","nodeAfter","_getPreviousFrom","_update","createPositionAt","revisionHistoryLicenseKeyDomainLimit","Initial revision","7058560MqvjSN","_licenseKeyCheckInterval","deletion","insert","data-revision-","_applyOperations","keys","targetPosition","locale","documentFragment","reinsert","createRevision","then","range","getAncestors","RevisionHistory","creator","_markers","isEnabled","requires","_operations","upcast","attributes","text","useFillerType","_getFromVersion","RevisionsRepository","newRange","history","rootName","revisionHistoryLicenseKeyNotAllowed","authorsIds","markerToData","keepParagraph","sendBufferedUpdates","_insertChild","detachRoot","isOfficialPlugin","_diffRoots","setSource","_isAttached","1242EOnHop","update","elementEnd","958TvlYyc","children","invalid","toData","model","revisionHistory.resumeUnsavedRevision","isReady","toModel","_prepareViewToSave","stringify","_fixRange","editor","_handleSplitOperation","getMovedRangeStart","_touchedRoots","initialData","getChild","PENDING_ACTION_REVISION_HISTORY","featureNotAllowed","delete","has","getCurrentRevisionId","RealTimeCollaborationClient","deletions","_handleRootAttributeOperation","getRootNames","_fixOperation","domainLimit","_handleInsertOperation","trim","isAttached","define","2296265RljDZr","getAttribute","RevisionTracker","_touchedMarkers","rootsAttributes","buildRevisionData","dataDowncast","_baseRootsAttributes","_setAttribute","revisionHistoryLicenseKeyTrialLimit","_baseRoots","reInit","_findInsertionIndex","document","getIndex","editing","bind","_touched","_reset","startsWith","baseVersion","resolve","_replaceEditorDataWithRevisionData","addRoot","forEach","_makeIdsRoot","includes","initial","default","set","repository","_removePendingAction","_bufferedUpdates","fromVersion","childCount","markers","length","string","saveRevision","createRange","dataToMarker","createPositionAfter","pluginName","version","currentRevision","NEGATIVE_INFINITY","_execute","map","_processRootBeforeSave","slice","revisionHistoryLicenseKeyValid","revisionHistoryLicenseKeyUsageLimit","marker","addRevision","_getState","for","source","path","insertions","_handleRootOperation","toVersion","createPositionBefore","clear","init","parse","creatorId","editor-initial-data-replaced-with-revision-data","isEqual","getChildren","clone","newValue","_handleMergeOperation","splitPosition","destroy","view","position","getRoot","fromEntries","type","_isInit","_loadRevisionData","getAttributes","toView","howMany","vid_end","getRevisions","_fixPosition","insertionPosition","_getBaseVids","licenseKey","usageLimit","offsetSize","ready","getUser","marked","updateRevisions","elementStart","values","getOperations","vid_start","_handleMoveOperation","trialLimit","isPremiumPlugin","move","_addPendingAction","evaluationLimit","_getViewJson","_calculateMetaData","createdAt","filter","attributesBefore","isAdd","_createCurrentRevision","data","roots","name","reverse","removeRootAttribute","push","authors","conversion","revision","_pendingAction","item","Users","merge","adapter","_cloneOperation","Empty document","_generateTape","_handleMarkerOperation","_bufferUpdate","_continueCurrentRevision","9VZDkYz","affectsData","config","_savedMetaData","start","_makeModelFromViewString","nodes","tableCell","paragraph","revisionHistoryLicenseKeyExpired","get","getTransformedByOperation","_clone","previousPosition","max","_revisionId","remove","getNodeByPath","end","addRootAttribute","getOperation","_lastFrom","add","revision-start","processor","getRevision","stickiness","createPositionFromPath"];return(nt=function(){return t})()}class rt extends Z.Plugin{[et(470)];[et(627)];[et(507)];[et(425)];[et(411)];[et(545)];[et(597)];[et(544)];[et(413)];[et(503)];[et(513)];[et(571)];[et(562)];static get[et(423)](){return et(704)}static get[et(663)](){return!0}static get[et(483)](){return!0}static get[et(645)](){return[H.Users,Y,Z.PendingActions]}constructor(e){const i=et;super(e),this[i(507)]=null,this[i(425)]=null,this[i(545)]=new at(this[i(681)]),this[i(544)]=this[i(681)][i(516)][i(524)](i(569))||i(408),this[i(413)]=new Map,this[i(562)]=null;const s=(0,t.uid)();this[i(597)]={history:this[i(681)][i(674)][i(394)][i(654)],getLatestVersion:()=>Promise[i(402)](this[i(681)][i(674)][i(394)][i(424)]),getCurrentRevisionId:()=>s},this[i(410)](i(676),!1),this[i(410)](i(644),!0),this[i(410)](i(618),!1),this[i(681)][i(516)][i(701)](i(675),!0),this[i(681)][i(501)][i(436)](i(647))[i(421)]({view:i(502)})}[et(444)](){const t=et;this[t(411)]=this[t(681)][t(584)][t(524)](t(652)),this[t(579)](),this[t(681)][t(494)].on(t(473),(()=>{const e=t,i=this[e(411)][e(539)](0),s=i&&null===i[e(642)]?i:null;if(this[e(513)]=!!s&&this[e(681)][e(516)][e(524)](e(675)),this[e(681)][e(584)][e(690)](e(692))){const t=this[e(597)][e(691)](),n=this[e(411)][e(539)](t);if(n)this[e(571)]=n[e(414)],this[e(513)]=!1;else{const t=this[e(597)][e(654)][e(646)][e(550)]((t=>!t[e(460)])),n=t?t[e(401)]:this[e(597)][e(654)][e(424)];i?(i[e(441)]<n&&i[e(622)]({toVersion:n}),this[e(513)]?(this[e(597)][e(691)]=()=>s.id,this[e(571)]=s[e(414)]):(this[e(571)]=i[e(441)],this[e(513)]=!1)):(this[e(571)]=n,this[e(513)]=!1)}}else s&&(this[e(681)][e(674)][e(394)][e(654)][e(424)]=Math[e(528)](s[e(441)],this[e(681)][e(674)][e(394)][e(654)][e(424)]),s[e(414)]===s[e(441)]?(0!==s[e(414)]&&(this[e(597)][e(691)]=()=>s.id),this[e(513)]=!1):this[e(513)]&&(this[e(597)][e(691)]=()=>s.id,this[e(571)]=s[e(414)])),this[e(513)]||(this[e(571)]=this[e(681)][e(674)][e(394)][e(424)]);this[e(545)][e(444)](this[e(597)][e(654)]),this[e(598)](this[e(571)]),this[e(493)](this[e(571)]),this[e(507)]&&this[e(660)]()})),this[t(397)](t(676)).to(this,t(618),(t=>!t)),this[t(470)]=this[t(681)][t(516)][t(524)](t(470));const e=this[t(681)];this[t(627)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(431)==r||i(554)==r||i(523)==r||i(624)==r||i(656)==r||i(592)==r||i(711)==r||i(432)==r){delete e[n],s=r,clearInterval(this[i(627)]),this[i(627)]=void 0;break}}i(554)==s&&e[i(593)](i(672)),i(523)==s&&e[i(593)](i(543)),i(624)==s&&e[i(593)](i(697)),i(656)==s&&e[i(593)](i(688),i(641)),i(592)==s&&e[i(593)](i(486)),i(711)==s&&e[i(593)](i(482)),i(432)==s&&e[i(593)](i(471))}),1e3)}async[et(594)](){const t=et;if(this[t(411)][t(417)]>0){const e=this[t(411)][t(539)](0),i=await this[t(589)](e),s=await this[t(549)](e);this[t(403)](i,s)}}[et(454)](){const t=et;super[t(454)](),this[t(627)]&&clearInterval(this[t(627)])}[et(665)](t){this[et(597)]=t}async[et(668)](){const t=et,e=await this[t(597)][t(576)]();if(e>this[t(425)][t(441)]){await this[t(606)]();const i=this[t(707)]({revision:this[t(425)],to:e});i[t(500)]=i[t(657)][t(428)]((e=>this[t(681)][t(584)][t(524)](t(505))[t(474)](e))),this[t(425)][t(622)](i)}}async[et(606)](){const t=et;this[t(513)]&&!this[t(562)]&&(await this[t(461)](this[t(425)]),this[t(545)][t(567)](this[t(425)]),this[t(562)]={fromVersion:this[t(425)][t(414)],authors:this[t(425)][t(500)][t(430)]()})}async[et(419)](e={},i=null){const s=et,n=[];await this[s(606)](),this[s(513)]=!1,i>this[s(425)][s(441)]&&(i=null),null===i&&(i=await this[s(597)][s(576)]());const r=this[s(651)](i),o=this[s(707)]({from:r,to:i});if(this[s(425)][s(441)]<i){const t=this[s(707)]({revision:this[s(425)],from:i,to:i});t[s(500)]=[],t[s(657)]=[],t.id=this[s(425)].id,this[s(425)][s(622)](t,!0),delete t[s(500)],n[s(499)](t)}e[s(446)]=this[s(681)][s(584)][s(524)](s(505)).me.id,e[s(496)]=e[s(496)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(613)](e);n[s(499)](e);const c=this[s(411)][s(395)](a);if(0!==c){const t=this[s(411)][s(539)](c-1);if(t[s(414)]!==i){const r=this[s(545)][s(568)](i,t[s(441)]),o={id:t.id,diffData:r[s(552)],authorsIds:r[s(657)],authors:r[s(657)][s(428)]((t=>this[s(681)][s(584)][s(524)](s(505))[s(474)](t))),fromVersion:i};t===this[s(425)]&&(o[s(489)]=new Date(e[s(489)][s(559)]()+10)),t[s(622)](o,!0),delete o[s(500)],n[s(499)](o)}}if(this[s(507)]){for(const t of n)this[s(512)](t.id,t,!0);this[s(660)]()}return a}[et(613)](t){const e=et,i=this[e(411)][e(637)](t);return this[e(507)]&&i.on(e(622),((t,i,s)=>{const n=e;s||(this[n(512)](i.id,i,!0),this[n(660)]())})),this[e(411)][e(434)](i,this[e(393)](i)),i}async[et(589)](t){const e=et;await this[e(461)](t);const i={};for(const s in t[e(552)]){if(t[e(552)][s][e(573)]&&!t[e(552)][s][e(573)][e(700)])continue;const n=this[e(596)](JSON[e(445)](t[e(552)][s][e(439)])),r=this[e(681)][e(396)][e(455)][e(394)],o=new U.ViewDocumentFragment(r,n[e(428)]((t=>ot(t,this[e(681)]))));this[e(681)][e(494)][e(538)][e(650)](e(475)),i[s]=this[e(681)][e(494)][e(538)][e(673)](o),this[e(681)][e(494)][e(538)][e(650)](e(409))}return i}async[et(549)](t){const e=et;await this[e(461)](t);const i={};for(const s in t[e(552)])t[e(552)][s][e(573)]&&!t[e(552)][s][e(573)][e(700)]||(i[s]=t[e(552)][s][e(556)]||{});return i}[et(660)](){const t=et;if(0===this[t(413)][t(564)])return;if(this[t(618)])return;let e=Array[t(580)](this[t(413)][t(478)]());this[t(413)][t(443)]();for(let i=0;i<e[t(417)];i++){const s=e[i];let n=!1;for(const e of Object[t(632)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(490)]((t=>null!==t)),!e[t(417)])return;for(let i=0;i<e[t(417)];i++){const s=e[i];void 0!==s[t(414)]&&void 0===s[t(441)]&&(s[t(441)]=this[t(411)][t(539)](s.id)[t(441)]),void 0!==s[t(441)]&&void 0===s[t(414)]&&(s[t(414)]=this[t(411)][t(539)](s.id)[t(414)])}const i=this[t(681)][t(516)][t(524)](t(569));this[t(618)]=!0,this[t(485)](),this[t(507)][t(476)](e,i)[t(572)]((()=>{this[t(618)]=!1}))[t(638)]((e=>{const i=t;if(e)for(const t of e)this[i(551)]({id:t.id,createdAt:t[i(489)]});this[i(412)](),this[i(660)]()}))}[et(403)](e,i){const s=et;let n=this[s(681)][s(516)][s(524)](s(685)),r=this[s(681)][s(516)][s(524)](s(706));if(void 0===n){n={};for(const t of this[s(681)][s(674)][s(394)][s(695)]())n[t]=""}if(s(418)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(681)][s(674)][s(394)][s(695)]())r[t]={}}let o=!1;const a=Object[s(632)](n),c=Object[s(632)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(699)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(632)](r[t])[s(417)]>0){o=!0;break}}o||(o=c[s(605)]((t=>!this[s(681)][s(674)][s(394)][s(457)](t)))),o&&(0,t.logWarning)(s(447),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(681)][s(516)][s(410)](s(685),e),this[s(681)][s(516)][s(410)](s(706),i)}[et(485)](){const t=et;if(!this[t(503)]){const e=this[t(681)][t(584)][t(524)](t(565));this[t(503)]=e[t(536)](G(this[t(681)][t(634)],t(687)))}}[et(412)](){const t=et;this[t(503)]&&(this[t(681)][t(584)][t(524)](t(565))[t(530)](this[t(503)]),this[t(503)]=null)}[et(393)](t){const e=et,i=this[e(411)][e(466)]();i[e(497)]();let s=0;for(;s<i[e(417)];){const n=i[s];if(n===this[e(425)]){s++;continue}if(n.id===this[e(544)])break;const r=t[e(441)]-n[e(441)]||t[e(414)]-n[e(414)];if(r>0)break;if(r<0)s++;else{if(!t[e(642)]&&n[e(642)])break;if(n[e(642)]||!t[e(642)]){if(t[e(489)]>n[e(489)])break;s++}else s++}}return s}[et(551)](t){const e=et,i=this[e(411)][e(539)](t.id);if(t[e(489)]&&(t[e(489)]=new Date(t[e(489)])),t[e(657)]){const i=this[e(681)][e(584)][e(524)](e(505));t[e(500)]=t[e(657)][e(428)]((t=>i[e(474)](t)))}i[e(622)](t,!0)}[et(707)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(414)],i=null!==i?i:t[s(441)];const n=this[s(545)][s(568)](e,i),r={diffData:n[s(552)],authorsIds:n[s(657)],fromVersion:e,toVersion:i};if(!t||i!==t[s(441)]){const t=i-1,e=this[s(597)][s(654)][s(534)](t);r[s(489)]=e&&e[s(489)]||new Date}if(this[s(562)]&&e===this[s(562)][s(414)])for(const t of this[s(562)][s(500)])r[s(657)][s(407)](t.id)||r[s(657)][s(499)](t.id);return r}[et(461)](t){const e=et;if(!t||t[e(552)])return Promise[e(402)]();{const i=this[e(681)][e(516)][e(524)](e(569));return this[e(507)][e(539)]({channelId:i,revisionId:t.id})[e(638)]((i=>{const s=e;t[s(552)]=i[s(552)]}))}}[et(512)](t,e,i){const s=et;if(this[s(413)][s(690)](t)){const n=this[s(413)][s(524)](t);e=i?{...n,...e}:{...e,...n}}this[s(413)][s(410)](t,e)}[et(651)](t){const e=et,i=this[e(411)][e(466)]();i[e(497)](),i[e(600)]();const s=i[e(550)]((i=>i[e(441)]<=t))[e(441)];return s<this[e(571)]?this[e(571)]:s}[et(598)](t){const e=et,i=this[e(411)][e(539)](this[e(411)][e(417)]-1);if(i)this[e(544)]=i.id;else{const i=!this[e(681)][e(674)][e(394)][e(495)][e(550)]((t=>this[e(681)][e(674)][e(548)](t))),s=this[e(681)][e(584)][e(524)](e(505)).me.id,n=G(this[e(681)][e(634)],e(i?509:625));this[e(607)]({from:t,to:t,id:this[e(544)],name:n,creatorId:s})}}[et(493)](t){const e=et,i=this[e(597)][e(691)]();this[e(425)]=this[e(411)][e(539)](i),this[e(425)]||(this[e(425)]=this[e(607)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(607)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(707)]({from:e,to:i});o[r(496)]=t,o[r(446)]=s,o.id=n;const a=this[r(613)](o);return this[r(507)]&&this[r(512)](o.id,o,!0),a}[et(579)](){const t=et;this[t(681)][t(501)][t(436)](t(708))[t(658)]({model:t(502)})}[et(596)](t){const e=et;return(t=t[e(490)]((t=>!t[e(496)]||e(537)!==t[e(496)]&&e(614)!==t[e(496)])))[e(405)]((t=>{const i=e;i(418)!=typeof t&&(t[i(671)]=this[i(596)](t[i(671)]),t[i(648)]=t[i(648)][i(490)]((t=>!t[0][i(400)](i(630)))))})),t}}function ot(t,e){const i=et,s=e[i(396)][i(455)][i(394)];if(i(418)==typeof t)return new U.ViewText(s,t);{const n=t[i(671)][i(428)]((t=>ot(t,e)));return new(st[t[i(459)]]||U.ViewElement)(s,t[i(496)],t[i(648)],n)}}class at{[et(681)];[et(437)];[et(517)];[et(535)];[et(574)];[et(643)];[et(664)];[et(575)];[et(712)];[et(709)];[et(595)];[et(619)];[et(398)];[et(705)];[et(684)];[et(529)];[et(570)];constructor(t){const e=et;this[e(681)]=t,this[e(517)]=new Map,this[e(535)]=-1,this[e(574)]=-1,this[e(643)]=new Map,this[e(664)]=new Map,this[e(575)]=new Map,this[e(712)]=new Map,this[e(709)]=new Map,this[e(595)]=new Map,this[e(619)]=new Map,this[e(398)]=new Map,this[e(705)]=new Map,this[e(684)]=new Map,this[e(529)]=1}[et(444)](t){const e=et;this[e(437)]=t;const i=new Map,s=new Map,n=this[e(681)][e(674)][e(394)][e(495)][e(428)]((t=>t[e(655)]));for(const t of n){const n=this[e(681)][e(674)][e(394)][e(457)](t),r=ct(n);i[e(410)](t,r),s[e(410)](t,Object[e(458)](n[e(462)]()))}const r=Array[e(580)](this[e(681)][e(674)][e(416)])[e(428)]((t=>[t[e(496)],t[e(553)]()])),o=this[e(437)][e(424)];this[e(590)](o,i,r,s),this[e(570)]=this[e(529)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(410)](t,i),c[e(410)](t,{})}this[e(590)](Number[e(426)],a,[],c)}[et(568)](t,e){const i=et;if(this[i(535)]===t&&this[i(574)]<=e)this[i(517)][i(564)]>1&&this[i(604)](this[i(574)]),this[i(631)](this[i(574)],e,!0);else{if(!this[i(517)][i(690)](t)){const e=this[i(621)](t);this[i(488)](e,t,!1)}this[i(488)](t,e,!0)}return this[i(535)]=t,this[i(574)]=e,this[i(435)]()}[et(567)](t){const e=et;this[e(399)](),this[e(535)]=t[e(414)],this[e(574)]=t[e(441)];for(const i in t[e(552)]){const s=t[e(552)][i][e(573)],n=R(t[e(552)][i][e(491)])||{},r=this[e(519)](t[e(552)][i][e(693)]);r[e(655)]=i,r[e(666)]=!s||!s[e(700)],r[e(700)]=()=>r[e(666)],this[e(712)][e(410)](i,r),this[e(709)][e(410)](i,n),s&&this[e(684)][e(410)](i,s);const o=this[e(406)](r);this[e(619)][e(410)](i,o);for(const[t,i]of r[e(416)]){if(!t[e(400)](e(586)))continue;const s=t[e(566)](":")[2];for(const t of i[e(615)]({singleCharacters:!0})){const i=this[e(591)](t),n=e(669)==t[e(459)]?t[e(527)][e(438)][e(430)](0,-1):t[e(527)][e(438)],r=o[e(531)](n)[e(703)](i);this[e(398)][e(410)](r,{userId:s})}}}this[e(570)]=this[e(529)];const i=[...Array(this[e(529)])[e(632)]()][e(430)](1)[e(490)]((t=>!this[e(398)][e(690)](t)));let s=0;const n=new Map;for(const r in t[e(552)]){const o=t[e(552)][r][e(573)],a=R(t[e(552)][r][e(556)])||{},c=this[e(519)](t[e(552)][r][e(439)]);c[e(655)]=r,c[e(666)]=!o||o[e(700)],c[e(700)]=()=>c[e(666)],this[e(664)][e(410)](r,c),this[e(575)][e(410)](r,a);const u=this[e(406)](c,Number[e(426)]);this[e(595)][e(410)](r,u),n[e(410)](r,c[e(700)]()?a:{});for(const[t,i]of c[e(416)]){if(!t[e(400)](e(586)))continue;const s=t[e(566)](":")[2];for(const t of i[e(615)]({singleCharacters:!0})){const i=this[e(591)](t),n=this[e(529)]++,r=e(669)==t[e(459)]?t[e(527)][e(438)][e(430)](0,-1):t[e(527)][e(438)];u[e(531)](r)[e(710)](i,n),this[e(398)][e(410)](n,{userId:s})}}for(const t of this[e(681)][e(674)][e(602)](c)[e(615)]({singleCharacters:!0})){const n=this[e(591)](t),r=e(669)==t[e(459)]?t[e(527)][e(438)][e(430)](0,-1):t[e(527)][e(438)],o=u[e(531)](r);o[e(703)](n)>0||o[e(710)](n,i[s++])}for(const[t,i]of c[e(416)])t[e(400)](e(586))||this[e(643)][e(410)](t,i)}const r=ut(e(547));this[e(712)][e(410)](e(547),r),this[e(619)][e(410)](e(547),this[e(406)](r,1));const o=ut(e(547));this[e(664)][e(410)](e(547),o),this[e(595)][e(410)](e(547),this[e(406)](o,1));const a=Array[e(580)](this[e(664)])[e(428)]((([t,e])=>[t,ct(e)]));this[e(590)](this[e(574)],a,this[e(643)],n)}[et(519)](t){const e=et,i=JSON[e(445)](t),s=this[e(681)][e(396)][e(455)][e(394)],n=new U.ViewDocumentFragment(s,i[e(428)]((t=>ot(t,this[e(681)]))));return this[e(681)][e(494)][e(677)](n)}[et(590)](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(410)](t,{start:e[n(518)][n(450)](),end:e[n(532)][n(450)](),rootName:e[n(582)][n(655)]});this[n(517)][n(410)](t,{roots:r,markers:a,rootsAttributes:o})}[et(604)](t){const e=et;this[e(517)][e(689)](t)}[et(713)](){const t=et;this[t(399)](),this[t(535)]=-1,this[t(574)]=-1,this[t(517)][t(443)](),this[t(444)](this[t(437)])}[et(399)](){const t=et;this[t(398)][t(443)](),this[t(705)][t(443)](),this[t(684)][t(443)](),this[t(664)][t(443)](),this[t(575)][t(443)](),this[t(712)][t(443)](),this[t(709)][t(443)](),this[t(595)][t(443)](),this[t(619)][t(443)](),this[t(643)][t(443)](),this[t(529)]=1,this[t(570)]=this[t(529)]}[et(406)](t,e=null){const i=et;let s=null;t.is(i(635))||(s=new U.Element(t[i(496)],{vid_start:null===e?this[i(529)]++:e++}));const n=[];for(const s of t[i(449)]())if(s.is(i(578))){n[i(499)](this[i(406)](s,e));const t=n[n[i(417)]-1];null!==e&&(e=t.is(i(578),i(557))?t[i(703)](i(561))+1:t[i(703)](i(465))+1)}else for(let t=0;t<s[i(472)];t++)n[i(499)](new U.Element(i(557),{vid:null===e?this[i(529)]++:e++}));if(t.is(i(635))){const e=ut(t[i(655)]);return e[i(661)](0,n),e}return s[i(710)](i(465),null===e?this[i(529)]++:e++),s[i(661)](0,n),s}[et(488)](t,e,i){const s=et;this[s(399)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(517)][s(524)](t);this[s(712)]=new Map(n),this[s(709)]=new Map(R(o));for(const[t,e]of this[s(712)])if(s(547)!==t&&(this[s(664)][s(410)](t,ct(e)),this[s(575)]=new Map(R(o)),i)){const i=this[s(529)];this[s(595)][s(410)](t,this[s(406)](e)),this[s(619)][s(410)](t,this[s(406)](e,i))}this[s(570)]=this[s(529)],this[s(664)][s(410)](s(547),ct(this[s(712)][s(524)](s(547)))),i&&this[s(595)][s(410)](s(547),this[s(406)](this[s(712)][s(524)](s(547))));for(const[t,e]of r){const i=this[s(712)][s(524)](e[s(655)]),n=this[s(664)][s(524)](e[s(655)]),r=new U.Range(this[s(467)](e[s(518)],i),this[s(467)](e[s(532)],i)),o=this[s(680)](r,n);i[s(416)][s(410)](t,r),this[s(643)][s(410)](t,o)}this[s(631)](t,e,i)}[et(631)](t,e,i){const s=et;for(const n of this[s(437)][s(479)](t,e))this[s(599)](n,i);for(const t of this[s(664)][s(478)]())t[s(416)][s(443)]();for(const[t,e]of this[s(643)])this[s(664)][s(524)](e[s(582)][s(655)])[s(416)][s(410)](t,e[s(450)]());const n=new Map,r=new Map;for(const[t,e]of this[s(664)])n[s(410)](t,ct(e)),r[s(410)](t,this[s(575)][s(524)](t));this[s(590)](e,n,this[s(643)],r)}[et(621)](t){const e=et,i=Array[e(580)](this[e(517)][e(632)]());i[e(611)](((t,e)=>t-e)),i[e(497)]();for(const e of i)if(e<t)return e;return Number[e(426)]}[et(583)](t,e){const i=et,s=Array[i(580)](e[i(416)])[i(428)]((([e,s])=>[e,this[i(680)](s,t)]));t[i(416)]=new Map(s)}[et(546)](t){const e=et;for(const i of this[e(643)][e(478)]()){const s=i[e(525)](t),n=U.Range[e(581)](s);i[e(518)]=n[e(518)],i[e(532)]=n[e(532)]}}[et(599)](t,e){const i=et;if(i(404)!=t[i(459)]&&i(662)!=t[i(459)]){if(i(629)==t[i(459)]){const s=t[i(456)][i(582)][i(655)];this[i(664)][i(690)](s)||(this[i(664)][i(410)](s,ut(s,!0)),this[i(575)][i(410)](s,{}),e&&this[i(595)][i(410)](s,ut(s,!0)))}else{if(i(533)==t[i(459)]||i(498)==t[i(459)]||i(610)==t[i(459)])return void this[i(694)](t);i(433)==t[i(459)]&&this[i(511)](t)}if(i(433)!==t[i(459)]){const e=this[i(508)](t,this[i(664)]);e[i(427)](),this[i(546)](e)}if(e)switch(t[i(459)]){case i(629):this[i(698)](t);break;case i(484):case i(530):case i(636):this[i(481)](t);break;case i(506):this[i(452)](t);break;case i(566):this[i(682)](t)}}else this[i(440)](t,e)}[et(508)](t,e){const i=et,s=t[i(450)]();return s[i(560)]=t[i(560)],this[i(696)](s,e),s}[et(469)](t){const e=et;return t[e(428)]((t=>{const i=e,s=this[i(591)](t);return Number(t[i(504)][i(703)](s))}))}[et(510)](t,e){const i=et;if(t.is(i(578),i(557)))e[i(499)]({item:t,type:i(649)});else{t.is(i(578))&&e[i(499)]({item:t,type:i(477)});for(const s of t[i(449)]())this[i(510)](s,e);t.is(i(578))&&e[i(499)]({item:t,type:i(669)})}return e}[et(435)](){const t=et,e=new Map(this[t(398)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(712)][t(632)](),...this[t(664)][t(632)]()]);a[t(689)](t(547));for(const e of a){const i=this[t(664)][t(524)](e)||ut(e,!1),s=this[t(712)][t(524)](e)||ut(e,!1);i[t(700)]()||s[t(700)]()?(n[t(439)][e]=ct(i),n[t(693)][e]=ct(s),this[t(583)](n[t(693)][e],s),this[t(583)](n[t(439)][e],i),r[t(439)][e]=this[t(510)](this[t(595)][t(524)](e),[]),r[t(693)][e]=this[t(510)](this[t(619)][t(524)](e)||ut(e,!1),[])):a[t(689)](e)}for(const n of a){const o=r[t(439)][n];for(const n of o){const r=this[t(591)](n),o=n[t(504)][t(703)](r);i[t(689)](o),o>=this[t(570)]&&s[t(410)](o,e[t(524)](o))}}for(const n of a){const a=r[t(439)][n],c=this[t(469)](r[t(693)][n]);let u=0;for(const n of a){const r=this[t(591)](n),a=n[t(504)][t(703)](r);if(!s[t(690)](a)&&!o[t(690)](a))if(i[t(690)](a))u++;else{if(a!=c[u]){const s=e[t(524)](a)||e[t(524)](c[u]);for(;a!=c[u];)i[t(690)](c[u])||(o[t(410)](c[u],s),e[t(410)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(439)][e];for(const e of n){const n=this[t(591)](e),r=e[t(504)][t(703)](n);if(o[t(690)](r)){const e=o[t(524)](r);i[t(690)](r)||i[t(410)](r,{...e}),s[t(410)](r,{...e})}}}for(const e of i[t(632)]())e>=this[t(570)]&&i[t(689)](e);const c=new Map;for(const e of a){let n=r[t(439)][e];for(const e of n)if(e[t(504)].is(t(578),t(521))){const i=this[t(591)](e),n=e[t(504)][t(703)](i);if(s[t(690)](n)){const i=e[t(504)][t(563)][t(563)][t(703)](t(480)),r=c[t(524)](i)||new Set;r[t(536)](s[t(524)](n)[t(612)]),c[t(410)](i,r)}}n=r[t(693)][e];for(const e of n)if(e[t(504)].is(t(578),t(521))){const s=this[t(591)](e),n=e[t(504)][t(703)](s);if(i[t(690)](n)){const s=e[t(504)][t(563)][t(563)][t(703)](t(480)),r=c[t(524)](s)||new Set;r[t(536)](i[t(524)](n)[t(612)]),c[t(410)](s,r)}}for(const e of c[t(632)]())(s[t(690)](e)||i[t(690)](e))&&c[t(689)](e)}for(const e of a){const n=r[t(439)][e];let o=null,a=null;for(const e of n){const n=this[t(591)](e),r=e[t(504)][t(703)](n),u=c[t(524)](r);u&&t(477)==e[t(459)]&&(o=Array[t(580)](u)[0],a=e[t(504)][t(703)](t(465))),o&&(i[t(410)](r,{userId:o}),s[t(410)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(693)][e],a=n[t(439)][e];for(const{userId:e}of this[t(705)][t(478)]())null!==e&&l[t(536)](e);for(const{userId:e}of this[t(684)][t(478)]())null!==e&&l[t(536)](e);this[t(542)](a,r[t(439)][e],s,t(577),l),this[t(542)](o,r[t(693)][e],i,t(628),l),u[e]={insertions:this[t(678)](a),deletions:this[t(678)](o),attachChange:this[t(684)][t(524)](e)||null,attributesBefore:R(this[t(709)][t(524)](e))||{},attributesAfter:R(this[t(575)][t(524)](e))}}return{diffData:u,authorsIds:Array[t(580)](l)}}[et(429)](t){const e=et;for(const[,i]of t[e(416)]){const t=i[e(518)][e(640)]()[e(490)]((t=>e(521)==t[e(496)]));for(const i of t)1==i[e(415)]&&i[e(686)](0).is(e(578),e(522))&&i[e(686)](0)[e(710)](e(659),!0)}}[et(678)](t){const e=et;this[e(429)](t);const i=this[e(681)][e(494)][e(463)](t,{}),s=Array[e(580)](i[e(449)]())[e(428)]((t=>this[e(487)](t)));return JSON[e(679)](s)}[et(487)](t){const e=et;if(t.is(e(557)))return t[e(494)];{const i=t;return{type:Object[e(632)](st)[e(550)]((e=>t instanceof st[e])),name:i[e(496)],attributes:Array[e(580)](i[e(462)]()),children:Array[e(580)](i[e(449)]())[e(428)]((t=>this[e(487)](t)))}}}[et(542)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(681)][r(674)];for(let s=0;s<e[r(417)];s++){const n=this[r(591)](e[s]),c=e[s][r(504)][r(703)](n),h=i[r(524)](c),d=s==e[r(417)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(612)]!=o[r(612)])&&(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(612)],d=l(586)+s+":"+h+":"+c++,f=u[l(420)](i,a);t[l(416)][l(410)](d,f),null!==h&&n[l(536)](h)}}[et(591)](t){const e=et;switch(t[e(459)]){case e(477):return e(480);case e(669):return e(465);default:return e(561)}}[et(696)](t,e){const i=et;t[i(401)]=null;for(const s in t){const n=t[s];if(n instanceof U.Position){const r=e[i(524)](n[i(582)][i(655)]);t[s]=this[i(467)](n,r)}if(n instanceof U.Range){const r=e[i(524)](n[i(582)][i(655)]);t[s]=this[i(680)](n,r)}i(582)===s&&(t[i(582)]=e[i(524)](t[i(582)][i(655)]))}}[et(680)](t,e){const i=et;return this[i(681)][i(674)][i(420)](this[i(467)](t[i(518)],e),this[i(467)](t[i(532)],e))}[et(467)](t,e){const i=et;return this[i(681)][i(674)][i(541)](e,t[i(438)],t[i(540)])}[et(698)](t){const e=et,i=this[e(595)][e(524)](t[e(456)][e(582)][e(655)]),s=this[e(467)](t[e(456)],i),n=null===t[e(560)]?null:t[e(560)]||this[e(681)][e(584)][e(524)](e(505)).me.id,r=s[e(563)],o=this[e(529)],a=[];for(const i of t[e(520)])if(i.is(e(578)))a[e(499)](this[e(406)](i));else for(let t=0;t<i[e(472)];t++)a[e(499)](new U.Element(e(557),{vid:this[e(529)]++}));const c=this[e(529)];for(let t=o;t<c;t++)this[e(398)][e(410)](t,{userId:n});r[e(661)](s[e(588)],a)}[et(481)](t){const e=et;(t=this[e(508)](t,this[e(595)]))[e(427)]();const i=null===t[e(560)]?null:t[e(560)]||this[e(681)][e(584)][e(524)](e(505)).me.id,s=t[e(683)](),n=s[e(563)],r=s[e(588)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(686)](e);r.is(a(578),a(557))?s[a(410)](r[a(703)](a(561)),{userId:i}):(s[a(410)](r[a(703)](a(480)),{userId:i}),t(s,r,0,r[a(415)]),s[a(410)](r[a(703)](a(465)),{userId:i}))}}(this[e(398)],n,r,r+t[e(464)])}[et(452)](t){const e=et,i=null===(t=this[e(508)](t,this[e(595)]))[e(560)]?null:t[e(560)]||this[e(681)][e(584)][e(524)](e(505)).me.id,s=t[e(633)][e(563)],n=t[e(585)][e(563)],r=s[e(703)](e(465)),o=n[e(703)](e(480));s[e(710)](e(465),n[e(703)](e(465))),n[e(710)](e(465),r),this[e(398)][e(410)](o,{userId:i}),this[e(398)][e(410)](r,{userId:i}),t[e(427)]()}[et(682)](t){const e=et,i=null===(t=this[e(508)](t,this[e(595)]))[e(560)]?null:t[e(560)]||this[e(681)][e(584)][e(524)](e(505)).me.id,s=t[e(587)],n=t[e(453)][e(563)];t[e(427)]();const r=n[e(703)](e(465)),o=t[e(468)][e(620)];if(s){const t=o[e(703)](e(465)),s=n[e(703)](e(465));n[e(710)](e(465),t),o[e(710)](e(465),s),this[e(398)][e(410)](n[e(703)](e(465)),{userId:i}),this[e(398)][e(410)](o[e(703)](e(480)),{userId:i})}else{const t=this[e(529)]++,s=this[e(529)]++;n[e(710)](e(465),t),o[e(710)](e(480),s),o[e(710)](e(465),r),this[e(398)][e(410)](t,{userId:i}),this[e(398)][e(410)](s,{userId:i})}}[et(511)](t){const e=et;if(!t[e(515)])return;const i=(t=this[e(508)](t,this[e(664)]))[e(601)]?t[e(601)][e(582)]:null,s=t[e(653)]?t[e(653)][e(582)]:null;i&&this[e(643)][e(689)](t[e(496)]),s&&this[e(643)][e(410)](t[e(496)],t[e(653)][e(450)]());const n=null===t[e(560)]?null:t[e(560)]||this[e(681)][e(584)][e(524)](e(505)).me.id,r=t[e(496)];if(!this[e(705)][e(690)](r))return void this[e(705)][e(410)](r,{range:t[e(601)],userId:n});const o=this[e(705)][e(524)](r),a=o[e(639)],c=t[e(653)];null==a&&null==c||a&&c&&a[e(448)](c)?this[e(705)][e(689)](t[e(496)]):o[e(612)]=n}[et(440)](t,e){const i=et;this[i(664)][i(690)](t[i(655)])?this[i(664)][i(524)](t[i(655)])[i(666)]=t[i(492)]:(this[i(664)][i(410)](t[i(655)],ut(t[i(655)],!0)),this[i(575)][i(410)](t[i(655)],{}),e&&this[i(595)][i(410)](t[i(655)],ut(t[i(655)],!0)));const s=null===t[i(560)]?null:t[i(560)]||this[i(681)][i(584)][i(524)](i(505)).me.id,n=this[i(684)][i(524)](t[i(655)]);n&&n[i(612)]===s?this[i(684)][i(689)](t[i(655)]):this[i(684)][i(410)](t[i(655)],{userId:s,isAttached:t[i(492)]})}[et(694)](t){const e=et,i=this[e(575)][e(524)](t[e(582)][e(655)]);null===t[e(451)]?delete i[t[e(617)]]:i[t[e(617)]]=t[e(451)]}}function ct(t){const e=et,i=ut(t[e(655)],t[e(700)]());for(const s of t[e(449)]()){const t=s[e(526)](!0);i[e(603)](t)}return i}function ut(t,e=!0){const i=et,s=new U.DocumentFragment;return s[i(655)]=t,s[i(666)]=e,s[i(700)]=()=>s[i(666)],s}function lt(t,e,i){const s=et,n=s(669)==t[s(459)]?i[s(623)](t[s(504)],s(532)):i[s(442)](t[s(504)]);return i[s(541)](e,n[s(438)],n[s(540)])}function ht(t,e,i){const s=et,n=s(477)==t[s(459)]?i[s(623)](t[s(504)],0):i[s(422)](t[s(504)]);return i[s(541)](e,n[s(438)],n[s(540)])}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),Nt={attributes:{"data-cke":!0}};Nt.setAttributes=wt(),Nt.insert=kt().bind(null,"head"),Nt.domAPI=gt(),Nt.insertStyleElement=It();pt()(Tt.A,Nt);Tt.A&&Tt.A.locals&&Tt.A.locals;const xt=At;function At(t,e){const i=Rt();return(At=function(t,e){return i[t-=179]})(t,e)}function Rt(){const t=["fieldView","1881nBUvWI","render","Name of the revision","arrowright","ck-responsive-form","optional","element","3650752KBLHAO","input","revisionNameInputValue","form","value","7305405toAeff","revisionNameInputView","2949654KuHfWj","listenTo","60656uZgxzh","setTemplate","focusTracker","locale","revisionName","220","add","set","reset","arrowup","ck-revision-history-save-revision-form","errorText","4vZCIth","arrowleft","836PVBUJx","1242492qdokAF","_createRevisionNameInput","286020LwhhtA","245899VmMCJa","focus","extendTemplate","stopPropagation","arrowdown","label","trim","keystrokes","4PlrfFu"];return(Rt=function(){return t})()}!function(t){const e=At,i=t();for(;;)try{if(889633===parseInt(e(191))/1*(-parseInt(e(199))/2)+-parseInt(e(215))/3*(parseInt(e(185))/4)+parseInt(e(213))/5+-parseInt(e(188))/6+parseInt(e(208))/7+parseInt(e(217))/8*(-parseInt(e(201))/9)+-parseInt(e(190))/10*(-parseInt(e(187))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rt);class Et extends ft.View{[xt(219)];[xt(198)];[xt(214)];constructor(e,i){const s=xt;super(e),this[s(219)]=new t.FocusTracker,this[s(198)]=new t.KeystrokeHandler,this[s(180)](s(210),""),this[s(214)]=this[s(189)](i),this[s(218)]({tag:s(211),attributes:{class:["ck",s(183),s(205)],tabindex:"-1"},children:[this[s(214)]]}),(0,ft.injectCssTransitionDisabler)(this)}[xt(202)](){const t=xt;super[t(202)](),(0,ft.submitHandler)({view:this}),this[t(219)][t(179)](this[t(214)][t(207)]),this[t(198)][t(216)](this[t(207)]);const e=e=>e[t(194)]();this[t(198)][t(180)](t(204),e),this[t(198)][t(180)](t(186),e),this[t(198)][t(180)](t(182),e),this[t(198)][t(180)](t(195),e)}[xt(192)](){const t=xt;this[t(214)][t(192)]()}get[xt(221)](){const t=xt;return this[t(214)][t(200)][t(207)][t(212)][t(197)]()}set[xt(221)](t){const e=xt;this[e(214)][e(200)][e(207)][e(212)]=t[e(197)]()}[xt(181)](){const t=xt;this[t(214)][t(200)][t(207)][t(212)]="",this[t(214)][t(184)]=null}[xt(189)](t){const e=xt,i=new ft.LabeledFieldView(this[e(220)],ft.createLabeledInputText),s=i[e(200)];s[e(193)]({attributes:{maxlength:e(222)}});let n=G(this[e(220)],e(203));return!t&&(n+=" ("+G(this[e(220)],e(206))+")"),i[e(196)]=n,s.on(e(209),(()=>{const t=e;this[t(210)]=s[t(207)][t(212)][t(197)]()})),i}}const Mt=Vt;function Vt(t,e){const i=Dt();return(Vt=function(t,e){return i[t-=221]})(t,e)}function Dt(){const t=["isReadOnly","revisionNameInputView","render","set","pluginName","editor","6bEOmBD","children","Dialog","focus","ck-button-action","delegate","isReady","The revision name cannot be empty.","editing","show","isEnabled","addMany","saveRevision","693036zeiYpf","execute","submit","639441MFTHtr","showRevisionViewerCallback","plugins","935616gwKPET","revisionHistory.requireRevisionName","49273HLjsbZ","config","2kqVEuY","Accept","errorText","panelView","buttonView","_registerMenuComponent","2230HwUcHl","bind","_saveRevisionFormView","menu","reset","componentFactory","locale","isOfficialPlugin","76121ZphEBY","_createSaveRevisionFormView","items","revisionName","Open revision history","view","menuBar:revisionHistory","menuitem","16641TxUqfj","get","_showDialog","isOpen","Save current revision","hide","Revision history","RevisionTracker","requires","init","1295735QFCdvb","RevisionHistoryUI","isPremiumPlugin","add","revisionSave","role","revisionHistory","560pzpPep","Cancel"];return(Dt=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(290727===parseInt(e(249))/1*(parseInt(e(235))/2)+-parseInt(e(228))/3+parseInt(e(225))/4+parseInt(e(267))/5*(parseInt(e(282))/6)+parseInt(e(233))/7*(parseInt(e(274))/8)+parseInt(e(257))/9*(-parseInt(e(241))/10)+-parseInt(e(231))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Ct extends Z.Plugin{static get[Mt(280)](){return Mt(268)}static get[Mt(248)](){return!0}static get[Mt(269)](){return!0}static get[Mt(265)](){return[rt]}[Mt(243)];[Mt(266)](){const t=Mt,e=this[t(281)],i=e[t(230)][t(258)](t(264));e.ui[t(246)][t(270)](t(273),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(238)][n(283)],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(242)](n(222)).to(i,n(288),i,n(222),e,n(276),((t,e,i)=>t&&e&&!i)),r[n(239)][n(279)]({icon:dt.IconHistory,label:G(s,n(263)),tooltip:!0}),u[n(279)]({label:G(s,n(261)),withText:!0,role:n(256)}),u[n(242)](n(222)).to(i,n(288),i,n(222),e,n(276),((t,e,i)=>t&&e&&!i)),u.on(n(226),(()=>this[n(259)]())),h[n(279)]({label:G(s,n(253)),withText:!0,role:n(256)}),h[n(242)](n(222)).to(i,n(288),e,n(276),((t,e)=>t&&!e)),h.on(n(226),(()=>{const t=n;e[t(234)][t(258)](t(273))[t(229)](),r[t(260)]=!1,e[t(290)][t(254)][t(285)]()})),c[n(283)][n(270)](u),l[n(283)][n(270)](h),a[n(272)]=n(244),a[n(251)][n(223)]([c,l]),o[n(270)](a),r})),e.ui[t(246)][t(270)](t(255),(()=>this[t(240)]()))}[Mt(240)](){const t=Mt,e=this[t(281)],i=e[t(247)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(239)][t(279)]({icon:dt.IconHistory,label:G(i,t(263))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(279)]({label:G(i,t(261))}),o[t(287)](t(226)).to(s),o.on(t(226),(()=>{this[t(259)]()})),r[t(283)][t(270)](o),n[t(251)][t(270)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(279)]({label:G(i,t(253))}),c[t(287)](t(226)).to(s),c.on(t(226),(()=>{const i=t;e[i(234)][i(258)](i(273))[i(229)]()})),a[t(283)][t(270)](c),n[t(251)][t(270)](a),s[t(238)][t(283)][t(270)](n),s}[Mt(259)](){const t=Mt,e=this[t(281)],i=e[t(247)],s=e[t(230)][t(258)](t(284)),n=e[t(230)][t(258)](t(264));function r(n){const r=t;e[r(234)][r(258)](r(232))&&""===n[r(252)]?n[r(277)][r(237)]=G(i,r(289)):(e[r(230)][r(258)](rt)[r(224)]({name:n[r(252)]}),s[r(262)]())}this[t(243)]||(this[t(250)](),this[t(243)].on(t(227),(()=>r(this[t(243)])))),this[t(243)][t(245)](),s[t(221)]({id:t(271),title:G(i,t(261)),isModal:!0,content:this[t(243)],actionButtons:[{label:G(e[t(247)],t(275)),withText:!0,onExecute:()=>s[t(262)]()},{label:G(e[t(247)],t(236)),class:t(286),withText:!0,onCreate(i){const s=t;i[s(242)](s(222)).to(n,s(288),n,s(222),e,s(276),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(243)])}]})}[Mt(250)](){const t=Mt,e=this[t(281)],i=e[t(247)];this[t(243)]=new Et(i,e[t(234)][t(258)](t(232))),this[t(243)][t(278)]()}}const Ft=jt;function jt(t,e){const i=Lt();return(jt=function(t,e){return i[t-=387]})(t,e)}function Lt(){const t=["2520584NzBxbs","isSuggestion","set","span","setTemplate","data","ck-revision-change","80RKUrjk","_model","1464594kEWFft","author","add","ck-revision-change__","Removed by","5094KLSZbI","54279gXESQJ","Suggested by","focus","ck-annotation","ck-revision-change__label","Added by","60YSjUsJ","10QwnXtn","2359130WXwtJo","div","bindTemplate","changeId","56mAhbZe","164373anlLXn","element","7KYwIoB","577216LuboNB","type","name"];return(Lt=function(){return t})()}!function(t){const e=jt,i=t();for(;;)try{if(185914===-parseInt(e(391))/1*(parseInt(e(418))/2)+parseInt(e(405))/3+parseInt(e(408))/4*(-parseInt(e(399))/5)+-parseInt(e(420))/6*(parseInt(e(407))/7)+-parseInt(e(404))/8*(parseInt(e(392))/9)+-parseInt(e(400))/10+-parseInt(e(411))/11*(-parseInt(e(398))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Pt extends ft.View{[Ft(403)];[Ft(419)];constructor(t,e){const i=Ft;super(t),this[i(419)]=e,this[i(403)]=e.id;const s=this[i(402)],n=G(t,e[i(416)][i(412)]?i(393):i(388)==e[i(409)]?i(397):i(390));this[i(413)](i(409),e[i(409)]),this[i(415)]({tag:i(401),attributes:{class:[i(395),i(417),s.to(i(409),(t=>i(389)+t))],tabindex:-1},children:[{tag:i(414),children:[{tag:i(414),attributes:{class:[i(396)]},children:[{text:n}]},{text:" "+e[i(387)][i(410)]}]}]})}[Ft(394)](){const t=Ft;this[t(406)][t(394)]()}}var zt=Wt;function Wt(t,e){var i=Zt();return(Wt=function(t,e){return i[t-=238]})(t,e)}function Zt(){var t=["type","21740QciNeV","2058170sXFSnT","14TWGuQN","1573019YcTviO","3298776AKwvKA","50006oFEsui","createdAt","rootName","set","author","9489016pEhrRK","5357276JlOvDu","toJSON","30lDsrxh","data","801rADeND"];return(Zt=function(){return t})()}!function(t){for(var e=Wt,i=t();;)try{if(777977===parseInt(e(253))/1*(parseInt(e(250))/2)+parseInt(e(252))/3+-parseInt(e(242))/4+parseInt(e(249))/5+parseInt(e(244))/6*(-parseInt(e(251))/7)+parseInt(e(241))/8+-parseInt(e(246))/9*(-parseInt(e(248))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class Ht extends((0,t.ObservableMixin)()){id;[zt(240)];[zt(247)];[zt(245)];[zt(238)];constructor(e){var i=zt;super(),this.id=e.id||(0,t.uid)(),this[i(240)]=e[i(240)],this[i(247)]=e[i(247)],this[i(245)]=e[i(245)]||{},this[i(238)]=e[i(238)],this[i(239)](i(254),e[i(254)])}[zt(243)](){var t=zt;return{id:this.id,authorId:this[t(240)].id,type:this[t(247)],data:this[t(245)],createdAt:this[t(254)]}}}const Ut=$t;function qt(){const t=["add","_setChanges","2064ktYfDK","3365ACmQVt","69792QrFakC","12WvDOtD","7930329TfhpNW","changes","343973HSInhj","128gGKpsk","5911752ehXrDT","333513TXehhJ","newRevisionId","oldRevisionId","10bUjKJb","2999122hJcgWN"];return(qt=function(){return t})()}function $t(t,e){const i=qt();return($t=function(t,e){return i[t-=153]})(t,e)}!function(t){const e=$t,i=t();for(;;)try{if(734054===-parseInt(e(159))/1+-parseInt(e(155))/2*(-parseInt(e(156))/3)+parseInt(e(153))/4*(-parseInt(e(154))/5)+parseInt(e(161))/6+parseInt(e(166))/7+-parseInt(e(160))/8*(-parseInt(e(162))/9)+-parseInt(e(165))/10*(parseInt(e(157))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Bt{[Ut(163)];[Ut(164)];[Ut(158)];constructor(e,i){const s=Ut;this[s(163)]=e,this[s(164)]=i,this[s(158)]=new t.Collection}[Ut(168)](t){const e=Ut;for(const i of t)this[e(158)][e(167)](i)}}var Yt=i(536),Gt={attributes:{"data-cke":!0}};Gt.setAttributes=wt(),Gt.insert=kt().bind(null,"head"),Gt.domAPI=gt(),Gt.insertStyleElement=It();pt()(Yt.A,Gt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Jt=Qt;function Kt(){const t=["showNextChange","_removeRevisionMarkers","_setChanges","nodeAfter","model","showPreviousChange","isPremiumPlugin","side","isLimit","highest","mapViewToDom","removeMarker:revision-suggestion","getWalker","range","_findChangeIdFromDomTarget","remove","revisionHistoryAttachChange","markerNameToElements","detachRoot","commands","schema","locale","createRangeIn","oldRevisionId","activeView","createRange","revisionHistory","-new","wrap","catch","_appendChild","nextPosition","isContent","change:isReady","getIndex","getRevisionData","_getViewObj","indexOf","test","createPositionBefore","_revisions","object","startIndex","vid","ck-revision-history-root--active","checkAttribute","name","return","_removeMissingPairs","domConverter","8120502Fqbaid","selection","attribute:vid","_getViewForChange","change","init","currentChangeNumber","userId","_makeModelFromTape","_makeTape","ck-suggestion-marker","isOfficialPlugin","mousedown","isRemoveSuggestion","consumable","editingDowncast","addMarker:revision-suggestion:insertion","low","toModel","_markInsertions","attributes","findIndex","nextSibling","markerName","revision","getRevision","revision:","then","flat","data-change-id","default","data-revision-","_step","writer","createUIElement","_getChangeFromId","parent","comment","getItems","addMarker:revision","isIncorrect","toViewRange","useFillerType","reconvertMarker","isAttached","unshift","toData","3539268rNkfyk","startsWith","diff","isReady","has","addRevision","ck-revision-history-root-remove","1410944nsxKPF","createPositionFromPath","getClientRects","getDomRoot","code","end","getAttributes","_setDistance","createRevision","_makeModelFromViewString","restoreRevisionCallback","for","affectsData","getRootNames","parse","set","numberOfChanges","WidgetToolbarRepository","enableReadOnlyMode","_removeUnsupportedChanges","pairId","isInline","dataDowncast","1587425NfLdWs","values","next","target","isEqual","forceDisabled","find","roots","ck-revision-history-root-add","attributesBefore","config","data","3409092TKuajX","getRevisionRootsAttributes","POSITIVE_INFINITY","sort","_sortAndFilterDiffChanges","error","conversion","_update","resolve","addHighlight","attachChange","isAdded","requires","toViewElement","revision-suggestion","ck-suggestion-marker-merge","addMarker:revision-suggestion:deletion","markers","keys","mapper","compare","length","start","2352432cGqNJg","observeMarkers","markerRange","_getRevisionsRange","updatePosition","mouseover","changeId","modelRange","concat","addRevisionData","RevisionViewer","level","splice","refresh","_joinTapes","listenTo","map","filter","diffData","_refreshStartEndIndex","markerToData","editor","1000904wlfrUN","span","markerToHighlight","isNavigationMode","isOnRoot","children","authors","isBefore","vid_end","_changeIdToChange","push","revision-comment:","unbindElementFromMarkerName","toViewPosition","ck-suggestion-preview-marker-","collaboration.channelId","distance","endIndex","left","upcast","first","editing","activeChange","removeMarker","softBreak","isCollapsed","element","isSuggestion","string","right","hasAttribute","element:pre","isEnabled","backward","isAddSuggestion","markersStart","repository","_getDiff","ck-suggestion-preview-marker","stop","addClass","removeMarker:revision","_markMarkers","isAtEnd","change:activeChange","forEach","includes","isRemoved","pluginName","change:numberOfChanges","top","revision-start","markersEnd","_fixObsoleteTags","getChild","bind","elementEnd","merge","clear","change:isEnabled","suggestion","high","attributesAfter","bindElementToMarker","processor","change:activeView","marked","uiElement","elementToAttribute","consume","add","ck-revision-history-root-","all","dataToMarker","removeClass","isAtStart","revisionHistoryLabel","getRoot","maxOffset","_activeViewTarget","rootName","restoreRevision","text","insert","isBlock","changes","ck-suggestion-marker--active","_cleanUp","abs","isAfter","getLaterVisibleRevision","document","21EYTebq","_data","destroy","from","ck-suggestion-marker-split","domEvent","_threeWayMerge","_setConversion","insertion","elementStart","createAttributeElement","forward","_processTape","insertions","revision-end","offsetSize","revision-suggestion:","enqueueChange","hasClass","_markSuggestions","type","RevisionsRepository","_initInteractions","previousPosition","viewItem","adapter","suggestion:","_markMismatchedRemovedTags","ck-suggestion-marker-","revision-viewer","getCustomProperty","view","downcastDispatcher","removeAttribute","deletions","vid_start","get","pop","_changeView","split","index","shift","delete","plugins","_balloon","showStack","getAttribute","_cleanMarkers","setAttribute","newRevisionId","done","isObject","deletion","slice","loadRevisionData","bottom","execute","ck-editor__editable__overlay","item","addRoot"];return(Kt=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(700749===parseInt(e(403))/1+-parseInt(e(323))/2+parseInt(e(358))/3+-parseInt(e(316))/4+-parseInt(e(346))/5+parseInt(e(269))/6+parseInt(e(159))/7*(-parseInt(e(381))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);const Xt={c:U.ViewContainerElement,a:U.ViewAttributeElement,e:U.ViewEmptyElement,r:U.ViewRawElement,u:U.ViewUIElement};function Qt(t,e){const i=Kt();return(Qt=function(t,e){return i[t-=135]})(t,e)}class te extends Z.Plugin{[Jt(439)];[Jt(184)];[Jt(146)];[Jt(197)];[Jt(412)];[Jt(203)];static get[Jt(451)](){return Jt(391)}static get[Jt(280)](){return!0}static get[Jt(225)](){return!0}static get[Jt(370)](){return[H.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Jt;super(t),this[e(439)]=this[e(402)][e(202)][e(195)](e(180)),this[e(338)](e(425),null),this[e(338)](e(243),null),this[e(146)]=null,this[e(338)](e(318),null),this[e(338)](e(319),!1),this[e(338)](e(435),!0),this.on(e(462),((t,i,s)=>{const n=e;this[n(425)]=null,this[n(243)]=null,this[n(402)][n(424)][n(190)][n(273)]((t=>{const e=n;for(const i of this[e(402)][e(424)][e(190)][e(158)][e(353)])s?t[e(141)](e(216),i):t[e(443)](e(216),i)}))})),this[e(458)](e(406)).to(this,e(425),(t=>null!==t)),this[e(458)](e(275)).to(this,e(319),this,e(318),this,e(425),((t,i,s)=>t&&s?i[e(152)][e(253)](s):0)),this[e(458)](e(339)).to(this,e(319),this,e(318),((t,i)=>t?i[e(152)][e(379)]:0)),this[e(197)]=null,this[e(412)]=new Map,this[e(184)]=null,this[e(203)]=this[e(402)][e(202)][e(195)](ft.ContextualBalloon)}[Jt(274)](){const t=Jt,e=this[t(402)],i=new se(e,{direction:t(436)}),s=new se(e,{direction:t(170)});e[t(238)][t(137)](t(224),i),e[t(238)][t(137)](t(219),s),e[t(238)][t(137)](t(148),new ie(e)),this.on(t(452),(()=>{const e=t;i[e(394)](),s[e(394)]()})),this[t(166)](),this[t(181)](),e[t(341)](t(188)),e[t(202)][t(320)](t(340))&&e[t(202)][t(195)](t(340))[t(351)](t(188))}async[Jt(254)](t){const e=Jt;await this[e(213)](t);const i={};for(const s in t[e(399)]){if(t[e(399)][s][e(368)]&&!t[e(399)][s][e(368)][e(313)])continue;const n=this[e(220)](JSON[e(337)](t[e(399)][s][e(172)])),r=this[e(402)][e(424)][e(190)][e(158)],o=new U.ViewDocumentFragment(r,n[e(397)]((t=>this[e(255)](t))));this[e(402)][e(357)][e(467)][e(311)](e(469)),i[s]=this[e(402)][e(357)][e(467)][e(315)](o),this[e(402)][e(357)][e(467)][e(311)](e(299))}return i}async[Jt(359)](t){const e=Jt;await this[e(213)](t);const i={};for(const s in t[e(399)])t[e(399)][s][e(368)]&&!t[e(399)][s][e(368)][e(313)]||(i[s]=t[e(399)][s][e(465)]||{});return i}[Jt(220)](t){const e=Jt;return(t=t[e(398)]((t=>!t[e(265)]||e(454)!==t[e(265)]&&e(173)!==t[e(265)])))[e(448)]((t=>{const i=e;i(431)!=typeof t&&(t[i(408)]=this[i(220)](t[i(408)]),t[i(289)]=t[i(289)][i(398)]((t=>!t[0][i(317)](i(300)))))})),t}async[Jt(378)](t,e,i=!1){const s=Jt;if(!this[s(435)])return;const n=this[s(318)],r=this[s(439)],o=s(431)==typeof t?r[s(294)](t):t,a=s(431)==typeof e?r[s(294)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(318)]&&this[s(318)][s(208)]===c&&this[s(318)][s(242)]===u)return Promise[s(366)]();this[s(319)]=!1,this[s(243)]=null,this[s(425)]=null,this[s(318)]=new Bt(c,u);const l=this[s(384)](o,a,!0)[s(397)]((t=>this[s(213)](t)));return l[s(413)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(139)](l)[s(296)]((()=>{const t=s;if(!this[t(435)])return;this[t(154)]();const e=this[t(440)](c,u);for(const i of e[t(152)])this[t(412)][t(338)](i.id,i);this[t(402)][t(223)][t(176)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(402)][s(223)][s(158)][s(336)]())i[s(237)](t);for(const t of Object[s(376)](e[s(223)])){const n=i[s(218)](t);for(const r of Object[s(376)](e[s(289)][t]))i[s(207)](r,e[s(289)][t][r],n);i[s(150)](e[s(223)][t],n,0)}})),this[t(318)][t(221)](this[t(362)](e[t(152)])),this[t(319)]=!0}))[s(248)]((t=>{const e=s;console[e(363)](t),this[e(154)](),n&&(this[e(318)]=n),this[e(319)]=!0}))}[Jt(390)](t,e){const i=Jt,s=this[i(439)][i(331)](t);return s.on(i(365),((t,i,n)=>e(i,n,s))),this[i(439)][i(321)](s),s}[Jt(213)](t){const e=Jt;if(!t||t[e(399)])return Promise[e(366)]();{const i=this[e(402)][e(356)][e(195)](e(418));return this[e(184)][e(294)]({channelId:i,revisionId:t.id})[e(296)]((i=>{const s=e;t[s(365)]({diffData:i[s(399)]},!0)}))}}[Jt(154)](){const t=Jt;this[t(425)]=null,this[t(206)](),this[t(197)]&&this[t(197)][t(161)](),this[t(197)]=null,this[t(412)][t(461)](),this[t(402)][t(223)][t(176)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(402)][i(223)][i(158)][i(336)]())e[i(237)](t)}))}[Jt(362)](t){const e=Jt,i=[],s=new Map;for(const t of this[e(402)][e(223)][e(158)][e(336)]()){const n=this[e(402)][e(424)][e(190)][e(326)](t);if(!n)continue;const r=n[e(325)]()[e(217)](0);r&&(i[e(413)](t),s[e(338)](t,r))}return i[e(361)](((t,i)=>{const n=e,r=s[n(195)](t),o=s[n(195)](i);return r.y-o.y||r.x-o.x})),(t=t[e(398)]((t=>i[e(449)](t[e(147)]))))[e(361)](((t,s)=>i[e(256)](t[e(147)])-i[e(256)](s[e(147)]))),t}[Jt(278)](t){const e=Jt,i=Array[e(162)](t[e(375)])[e(398)]((([t,i])=>t[e(317)](e(295))&&!i[e(428)])),s=Array[e(162)](this[e(402)][e(223)][e(241)](t)[e(231)]({singleCharacters:!0}));if(0!=i[e(379)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(198)](":");if(n[e(328)][e(350)](t[e(250)])&&i[e(200)](),(t[e(182)][e(350)](n[e(380)])||t[e(182)][e(156)](n[e(380)]))&&(e(167)==r?t[e(369)]={userId:o}:e(211)==r&&(t[e(450)]={userId:o})),0==i[e(379)])break}return s}[Jt(400)](t){const e=Jt,i=new Map;for(let s=0;s<t[e(379)];s++)e(149)===t[s][e(179)]?(t[s][e(217)][e(261)]=s,t[s][e(217)][e(420)]=s):(e(168)===t[s][e(179)]?t[s][e(217)][e(261)]=s:e(459)===t[s][e(179)]&&(t[s][e(217)][e(420)]=s),i[e(338)](t[s].id,s));for(const s of i[e(347)]())e(168)===t[s][e(179)]?t[s][e(217)][e(420)]=i[e(195)](t[s][e(343)]):e(459)===t[s][e(179)]&&(t[s][e(217)][e(261)]=i[e(195)](t[s][e(343)]))}[Jt(171)](t){const e=Jt;for(let i=0;i<t[e(379)];i++){if(e(168)===t[i][e(179)])t[i][e(217)][e(261)]=i;else if(e(459)===t[i][e(179)]){t[i][e(217)][e(420)]=i;const s=t[i][e(217)][e(261)];t[s][e(343)]=t[i].id,t[i][e(343)]=t[s].id}else t[i][e(217)][e(261)]=i,t[i][e(217)][e(420)]=i,t[i][e(343)]=null;t[i][e(438)]||(t[i][e(438)]=[],t[i][e(455)]=[])}}[Jt(288)](t,e){const i=Jt,s=t[i(398)]((t=>!t[i(369)]));for(let t=0;t<e[i(379)];t++)e[t][i(369)]&&(s[t][i(369)]=e[t][i(369)])}[Jt(332)](t){const e=Jt,i=JSON[e(337)](t),s=this[e(402)][e(424)][e(190)][e(158)],n=new U.ViewDocumentFragment(s,i[e(397)]((t=>this[e(255)](t))));return this[e(402)][e(357)][e(287)](n)}[Jt(255)](t){const e=Jt,i=this[e(402)][e(424)][e(190)][e(158)];if(e(431)==typeof t)return new U.ViewText(i,t);{const s=t[e(408)][e(397)]((t=>this[e(255)](t)));return new(Xt[t[e(179)]]||U.ViewElement)(i,t[e(265)],t[e(289)],s)}}[Jt(440)](t,e=null){const i=Jt,s=this[i(439)][i(294)](t),n=e?this[i(439)][i(294)](e):null,r=this[i(384)](s,n),o=r[r[i(379)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(379)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(376)](e[i(399)]))if(e[i(399)][t][i(368)]){const s=e[i(399)][t][i(368)];s[i(313)]?(u[i(137)](t),l[i(320)](t)&&l[i(195)](t)[i(276)]==s[i(276)]?l[i(201)](t):l[i(338)](t,s)):l[i(320)](t)?(u[i(201)](t),l[i(201)](t)):(u[i(137)](t),l[i(338)](t,s))}else u[i(137)](t)}for(const t of u){const e=l[i(320)](t)&&!l[i(195)](t)[i(313)];let s=e?r[i(379)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(399)][t]){const s=e?o[i(399)][t][i(355)]:o[i(399)][t][i(465)];c[i(289)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(223)]={};for(const e of t[i(409)])a[i(338)](e.id,e);for(const e of u){const s=t[i(399)][e]?t[i(399)][e][i(172)]:"[]",n=t[i(399)][e]?t[i(399)][e][i(193)]:"[]";t[i(223)][e]={insertions:this[i(332)](s),deletions:this[i(332)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(162)](s[i(223)][t][i(172)][i(375)])[i(398)]((([t])=>!t[i(317)](i(295)))));let h=0;for(const o of r){const r=this[i(278)](o[i(223)][t][i(172)]);o==s?(e=r,n=e[i(379)],e[i(448)]((t=>{t.id=h++})),this[i(171)](e)):this[i(288)](e,r);const a=e[i(398)]((t=>!t[i(369)]))[i(397)]((t=>t.id));let c=0;const l=this[i(278)](o[i(223)][t][i(193)]);l[i(448)]((t=>{t[i(450)]?t.id=n++:t.id=a[c++]})),this[i(171)](l),this[i(330)](e,i(369)),this[i(330)](l,i(450)),o==s&&this[i(445)](e,u),e=this[i(395)](e,l),this[i(400)](e),this[i(330)](e,i(450))}e=e[i(398)]((t=>!(t[i(369)]&&t[i(450)])));const d=new Map(o[i(223)][t][i(193)][i(375)]),f=new Set(u[i(376)]());for(const t of d[i(376)]())f[i(201)](t);this[i(178)](e,f),this[i(456)](e),e=this[i(267)](e),e=this[i(186)](e),e=this[i(342)](e);const{root:m,changes:p}=this[i(277)](e,a,t);c[i(223)][t]=m;const v=l[i(195)](t);if(v){const e=a[i(195)](v[i(276)]),s=new Ht({author:e,type:v[i(313)]?i(137):i(234),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(314)](s),c[i(289)][t][i(235)]=s.id}c[i(152)]=c[i(152)][i(389)](p)}return c}[Jt(445)](t,e){const i=Jt;for(let s=0;s<t[i(379)];s++)for(const[n,r]of e)r[i(380)][i(350)](t[s][i(182)])&&t[s][i(438)][i(413)](n),r[i(328)][i(350)](t[s][i(250)])&&t[s][i(455)][i(413)](n)}[Jt(395)](t,e){const i=Jt;let s=[],n=0,r=0;for(;n<t[i(379)]||r<e[i(379)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(413)](o);else if(a[i(450)]&&o[i(369)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(165)](t,n,e,r);s=s[i(389)](o),n=a,r=c}else a[i(450)]?(r++,s[i(413)](a)):(n++,s[i(413)](o))}return s}[Jt(178)](t,e){const i=Jt,s=[];for(let o=0;o<t[i(379)];o++){for(let r=0;r<t[o][i(438)][i(379)];r++){const a=t[o][i(438)][r];if(!e[i(320)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(372)!=c||i(167)!=u&&i(211)!=u||(s[i(314)]({type:u,name:a,userId:l}),t[o][i(438)][i(393)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(455)][i(379)];r++){const a=t[o][i(455)][r];if(!e[i(320)](a))continue;const{group:c,type:u}=n(a);if(i(372)!=c||i(167)!=u&&i(211)!=u)continue;t[o][i(455)][i(393)](r,1),r--;const l=s[i(290)]((t=>t[i(265)]==a));l>-1&&s[i(393)](l,1)}}function n(t){const e=i,s=t[e(198)](":");return{group:s[0],type:s[1],subType:s[e(379)]>=5?s[2]:null,id:s[e(379)]<5?s[2]:s[3],authorId:s[e(379)]<5?s[3]:s[4],markerCount:6==s[e(379)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(379)];i++){if(t[e(369)]&&e(167)==s[i][e(179)])return t[e(437)]=s[i],void delete t[e(369)];if(!t[e(369)]&&!t[e(450)]&&e(211)==s[i][e(179)])return void(t[e(282)]=s[i])}}}[Jt(330)](t,e){const i=Jt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(338)](o.id,s);for(let s=0;s<t[i(379)];s++){if(i(450)==e&&t[s][i(369)]||i(369)==e&&t[s][i(450)])continue;if(i(149)==t[s][i(179)]){t[s][i(419)]=0;continue}const n=r[i(195)](t[s][i(343)]),o=r[i(195)](t[s].id);t[s][i(419)]=n-o}}[Jt(384)](t,e,i=!1){const s=Jt,n=[];let r=this[s(439)][s(253)](t),o=this[s(439)][s(253)](e);for(-1==o&&(o=this[s(439)][s(259)][s(379)],i=!1);r<o;)n[s(413)](this[s(439)][s(294)](r)),r++;return i&&n[s(413)](this[s(439)][s(294)](r)),n}[Jt(165)](t,e,i,s){const n=Jt,r=this[n(402)][n(223)][n(239)];let o=e;for(;t[o]&&t[o][n(369)];)o++;let a=s;for(;i[a]&&i[a][n(450)];)a++;u(t,e,o),u(i,s,a);const c=i[n(212)](s,a)[n(389)](t[n(212)](e,o));return c[n(361)](((t,e)=>t[n(226)]!=e[n(226)]?t[n(226)]-e[n(226)]:t[n(392)]!=e[n(392)]?t[n(392)]-e[n(392)]:t[n(419)]!=e[n(419)]?e[n(419)]-t[n(419)]:!!t[n(369)]!=!!e[n(369)]?-1==t[n(226)]||0==t[n(226)]?t[n(369)]?-1:1:t[n(369)]?1:-1:t[n(199)]-e[n(199)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(360)],c=!0;for(let n=e;n<i;n++)if(r[s(344)](t[n][s(217)])||(c=!1),t[n][s(217)][s(261)]<e&&(o=n),t[n][s(217)][s(420)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(226)]=n<=o?-1:n<a?0:1,t[n][s(199)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(419)]?t[i][s(392)]=u:(u++,t[i][s(392)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(226)]&&(t[n][s(392)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(419)]?t[e][s(392)]=u:(u--,t[e][s(392)]=u,u--)}}[Jt(456)](t){const e=Jt,i=new Map,s=this[e(402)][e(223)][e(239)];for(let n=1;n<t[e(379)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(149)==c[e(179)])continue;if(c[e(179)]!=u[e(179)])continue;if(!s[e(151)](u[e(217)])||s[e(227)](u[e(217)]))continue;if(!s[e(151)](c[e(217)])||s[e(227)](c[e(217)]))continue;if((t[n][e(369)]||t[n][e(437)])&&t[n-1][e(450)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(450)]||!t[n-1][e(369)]&&!t[n-1][e(437)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(392)]==o[e(392)],h=Math[e(155)](r[e(392)])<Math[e(155)](o[e(392)])&&0==o[e(419)];(l||h)&&(i[e(338)](o.id,r.id),t[e(393)](a,1),n--,r[e(369)]=!1)}for(let s=0;s<t[e(379)];s++)i[e(320)](t[s][e(343)])&&(t[s][e(343)]=i[e(195)](t[s][e(343)]))}[Jt(267)](t){const e=Jt,i=new Set(t[e(397)]((t=>t.id)));for(let s=0;s<t[e(379)];s++)i[e(320)](t[s][e(343)])||0==t[s][e(419)]||(t[s][e(309)]=!0);return t[e(398)]((t=>!t[e(309)]))}[Jt(186)](t){const e=Jt,i=new Set;for(let s=0;s<t[e(379)];s++){if(i[e(320)](t[s].id)&&t[s][e(450)]&&(t[s][e(309)]=!0),t[s][e(309)])continue;if(0==t[s][e(419)])continue;if(e(168)!=t[s][e(179)])continue;if(null==t[s][e(343)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(343)];)e(168)==t[n][e(179)]?r++:e(459)==t[n][e(179)]&&r--,n++;if(0!=r)if(t[s][e(450)])t[s][e(309)]=!0;else for(;n!=s;)t[n][e(450)]&&0!=t[n][e(419)]&&(t[n][e(309)]=!0,i[e(137)](t[n][e(343)])),n--}return t[e(398)]((t=>!t[e(309)]))}[Jt(342)](t){const e=Jt,i=this[e(402)][e(223)][e(239)];for(let s=0;s<t[e(379)];s++){if(!(t[s][e(369)]||t[s][e(437)]||t[s][e(450)]||t[s][e(282)]))continue;if(0==t[s][e(419)])continue;const n=t[s][e(217)];i[e(151)](n)||i[e(227)](n)||(t[s][e(369)]&&delete t[s][e(369)],t[s][e(437)]&&delete t[s][e(437)],t[s][e(282)]&&delete t[s][e(282)],t[s][e(450)]&&(t[s][e(309)]=!0))}return t[e(398)]((t=>!t[e(309)]))}[Jt(277)](t,e,i){const s=Jt,n=new U.DocumentFragment,r=[],o=new Map,a=this[s(402)][s(223)],c=a[s(239)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(379)];e++)if(s(168)===t[e][s(179)]){t[e][s(182)]=a[s(324)](n,f);const i=new U.Element(t[e][s(217)][s(265)],t[e][s(217)][s(329)]());u[0][s(249)](i),f[s(413)](0),u[s(314)](i),t[e][s(250)]=a[s(324)](n,f)}else s(459)===t[e][s(179)]?(u[s(200)](),t[e][s(182)]=a[s(324)](n,f),f[s(196)](),f[f[s(379)]-1]++,t[e][s(250)]=a[s(324)](n,f)):(t[e][s(182)]=a[s(324)](n,f),d?d[s(160)]+=t[e][s(217)][s(357)]:d=new U.Text(t[e][s(217)][s(357)],t[e][s(217)][s(329)]()),t[e+1]&&s(149)===t[e+1][s(179)]&&v(d,t[e+1][s(217)])||(u[0][s(249)](d),d=null),f[f[s(379)]-1]+=t[e][s(217)][s(174)],t[e][s(250)]=a[s(324)](n,f));for(let e=0;e<t[s(379)];e++){const i=t[e][s(182)],n=t[e][s(250)];for(const n of t[e][s(438)])o[s(338)](n,{start:i,end:null});m(s(282),e,i,n),m(s(437),e,i,n),m(s(450),e,i,n),m(s(369),e,i,n);for(const i of t[e][s(455)])o[s(195)](i)[s(328)]=n}for(const[t,e]of o){const i=this[s(402)][s(223)][s(244)](e[s(380)],e[s(328)]);n[s(375)][s(338)](t,i)}return r[s(361)](((t,e)=>{const i=s,r=n[i(375)][i(195)](i(295)+t.id),o=n[i(375)][i(195)](i(295)+e.id);return r[i(380)][i(410)](o[i(380)])?-1:r[i(380)][i(156)](o[i(380)])?1:r[i(328)][i(410)](o[i(328)])?-1:r[i(328)][i(156)](o[i(328)])?1:i(137)===t[i(179)]?-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(276)]:null,d=i===t[o(379)]-1,f=h[e][0],m=c[o(210)](t[i][o(217)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(328)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(276)]!==u&&(l[e][o(328)]=n,f&&f[o(276)]===l[e][o(276)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(168)!==t[i][o(179)]||f&&f[o(276)]===u||h[e][o(314)]({userId:u,object:t[i][o(217)],change:l[e]}),o(459)===t[i][o(179)]&&f&&f[o(260)]===t[i][o(217)]&&(h[e][o(200)](),l[e]=f[o(273)])),l[e]&&d&&(l[e][o(328)]=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(217)],f=a[h(239)][h(151)](d)&&!a[h(239)][h(227)](d),m=t[h(222)]==o[h(305)]&&o[h(142)];if(f&&m)return;const p=a[h(244)](t,o),v=e[h(195)](u),g=new Ht({author:v,type:h(369)==l||h(437)==l?h(137):h(234),data:{isSuggestion:h(437)==l||h(282)==l},createdAt:new Date,rootName:i});r[h(413)](g),n[h(375)][h(338)](h(295)+g.id,p)}function v(t,e){const i=s,n=t[i(329)](),r=e[i(329)]();for(const t of n){if(t[1]!==e[i(205)](t[0]))return!1;r[i(348)]()}return r[i(348)]()[i(209)]}}[Jt(166)](){const t=Jt;this[t(402)][t(364)][t(334)](t(422))[t(140)]({view:t(293)}),this[t(402)][t(364)][t(334)](t(284))[t(405)]({model:t(293),view:e=>{const i=t,s=e[i(292)][i(198)](":")[1],n=this[i(304)](s);if(!n)return null;const r=i(137)==n[i(179)]?i(167):i(211),o=[i(279),i(187)+r];return n[i(357)][i(430)]&&o[i(413)](i(187)+r+i(246)),this[i(425)]==n&&o[i(413)](i(153)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(402)][t(364)][t(334)](t(422))[t(137)]((e=>{const i=t;e.on(i(434),((t,e,s)=>{const n=i,r=e[n(183)][n(457)](0);if(!r||!r.is(n(429),n(327)))return;if(!s[n(283)][n(136)](r,{attributes:[n(194),n(411)]}))return;const o=e[n(388)][n(380)][n(222)];s[n(302)][n(207)](n(194),r[n(205)](n(194)),o),s[n(302)][n(207)](n(411),r[n(205)](n(411)),o)}),{priority:i(286)})})),this[t(402)][t(364)][t(334)](t(422))[t(137)]((e=>{const i=t;e.on(i(429),((t,e,s)=>{const n=i;if(!s[n(283)][n(136)](e[n(183)],{attributes:[n(194),n(411)]}))return;if(e[n(388)][n(428)])return;const r=e[n(388)][n(380)][n(222)];r[n(433)](n(194))||r[n(433)](n(262))||(s[n(302)][n(207)](n(194),e[n(183)][n(205)](n(194)),r),s[n(302)][n(207)](n(411),e[n(183)][n(205)](n(411)),r))}),{priority:i(286)})})),this[t(402)][t(364)][t(334)](t(422))[t(135)]({view:{name:t(404),attributes:{vid:!0}},model:{key:t(262),value:e=>e[t(205)](t(262))}}),this[t(402)][t(223)][t(239)].on(t(264),((e,[,i])=>{const s=t;[s(194),s(411),s(262)][s(449)](i)&&(e[s(266)]=!0,e[s(442)]())}),{priority:t(228)}),this[t(402)][t(364)][t(334)](t(345))[t(137)]((e=>{const i=t;e.on(i(271),((t,e,s)=>{const n=i;if(" "!=e[n(217)][n(357)]||e[n(217)][n(305)][n(145)]>1)return;if(!s[n(283)][n(136)](e[n(217)],t[n(265)]))return;const r=s[n(302)],o=s[n(377)][n(310)](e[n(232)]);r[n(247)](o,r[n(169)](n(404)))}))})),this[t(402)][t(364)][t(334)](t(345))[t(401)]({model:t(293)}),this[t(402)][t(424)][t(191)].on(t(308),function(e){const i=t,s=e[i(202)][i(195)](i(391));return(t,n,r)=>{const o=i,a=n[o(292)][o(198)](":")[1],c=s[o(304)](a);if(!c)return null;const u=o(137)==c[o(179)]?o(198):o(460);if(!r[o(283)][o(257)](n[o(383)],t[o(265)]))return;const l=n[o(383)][o(231)](),h=n[o(383)][o(380)],d=e[o(223)][o(239)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(217)];p=p||d[o(251)](e);const i=r[o(377)][o(371)](e);if(i&&i[o(189)](o(367)))return;o(459)==t[o(179)]&&d[o(151)](e)&&!d[o(227)](e)&&(e[o(291)]||h[o(446)]?f&&f[o(305)]==e||(f=e,g(t[o(182)]),v=!0):m=m||t[o(182)])}function g(t){const e=o,i=r[e(302)][e(303)](e(404),{class:e(187)+u}),a=r[e(377)][e(416)](t);c[e(357)][e(430)]&&r[e(302)][e(443)](e(187)+u+e(246),i),s[e(425)]==c&&r[e(302)][e(443)](e(153),i),r[e(302)][e(150)](a,i),r[e(377)][e(466)](i,n[e(292)])}p||v||!m||g(m)}}(this[t(402)]),{priority:t(464)}),this[t(402)][t(424)][t(191)].on(t(444),((e,i,s)=>{const n=t,r=s[n(377)][n(236)](i[n(292)]);if(r)for(const t of r)(t[n(177)](n(163))||t[n(177)](n(373)))&&(s[n(377)][n(415)](t,i[n(292)]),s[n(302)][n(234)](t))}),{priority:t(464)}),this[t(402)][t(424)][t(191)].on(t(308),((e,i,s)=>{const n=t,r=i[n(292)][n(198)](":")[1],o=this[n(304)](r);if(!o)return null;const a=n(137)==o[n(179)]?n(198):n(460);if(s[n(283)][n(257)](i[n(383)],e[n(265)]))for(const t of i[n(383)][n(307)]()){if(!t.is(n(429),n(427)))continue;const e=s[n(302)][n(303)](n(404),{class:n(187)+a}),r=s[n(377)][n(416)](this[n(402)][n(223)][n(258)](t));o[n(357)][n(430)]&&s[n(302)][n(443)](n(187)+a+n(246),e),this[n(425)]==o&&s[n(302)][n(443)](n(153),e),s[n(302)][n(150)](r,e),s[n(377)][n(466)](e,i[n(292)])}}),{priority:t(464)}),this[t(402)][t(223)][t(158)].on(t(273),(()=>{const e=t;this[e(402)][e(424)][e(190)][e(273)]((t=>{const i=e;for(const e of this[i(402)][i(223)][i(158)][i(336)]()){const s=this[i(402)][i(223)][i(158)][i(144)](e),n=this[i(402)][i(424)][i(190)][i(158)][i(144)](e);if(n){const e=s[i(205)](i(235));if(t[i(192)](i(298),n),t[i(141)](i(354),n),t[i(141)](i(322),n),t[i(141)](i(263),n),e){const s=this[i(304)](e);if(!s)return null;t[i(207)](i(298),e,n),t[i(443)](i(138)+s[i(179)],n),this[i(425)]==s&&t[i(443)](i(263),n)}}}}))})),this[t(402)][t(364)][t(334)](t(422))[t(140)]({view:t(306),model:e=>t(414)+e,converterPriority:t(228)}),this[t(402)][t(364)][t(334)](t(422))[t(140)]({view:t(463),model:e=>t(175)+e,converterPriority:t(228)}),this[t(402)][t(364)][t(334)](t(345))[t(401)]({model:t(372),view:e=>({name:t(185)+e,group:t(372)}),converterPriority:t(228)}),this[t(402)][t(364)][t(334)](t(284))[t(405)]({model:t(372),view:e=>{const i=t,s=e[i(292)][i(198)](":")[1];return i(167)!=s&&i(211)!=s?null:{classes:[i(441),i(417)+s]}}}),this[t(402)][t(424)][t(191)].on(t(374),ee(this[t(402)],t(460)),{priority:t(464)}),this[t(402)][t(424)][t(191)].on(t(285),ee(this[t(402)],t(198)),{priority:t(464)}),this[t(402)][t(424)][t(191)].on(t(230),((e,i,s)=>{const n=t,r=s[n(377)][n(236)](i[n(292)]);if(r)for(const t of r)t.is(n(470))&&(s[n(377)][n(415)](t,i[n(292)]),s[n(302)][n(234)](t))}),{priority:t(464)})}[Jt(304)](t){const e=Jt;return this[e(412)][e(195)](t)}[Jt(272)](t){const e=Jt;return this[e(197)]&&this[e(197)][e(161)](),this[e(197)]=new Pt(this[e(402)][e(240)],t),this[e(197)]}[Jt(181)](){const t=Jt;this[t(402)][t(223)][t(158)][t(270)][t(382)](t(293)),this.on(t(468),((e,i,s,n)=>{const r=t;n&&this[r(203)][r(234)](n),s&&(this[r(203)][r(137)]({view:s,stackId:r(143),position:{target:()=>{const t=r,e=this[t(402)][t(424)],i=this[t(304)](s[t(387)]);let n;if(i[t(357)][t(407)]){const s=e[t(190)][t(326)](i[t(147)]);n=Array[t(162)](s[t(325)]())}else{const i=this[t(402)][t(223)][t(375)][t(195)](t(295)+s[t(387)]);n=Array[t(162)](e[t(377)][t(236)](i[t(265)]))[t(397)]((i=>e[t(190)][t(268)][t(229)](i)))[t(397)]((e=>Array[t(162)](e[t(325)]())))[t(297)]()}return this[t(146)]&&n[t(352)]((e=>e[t(453)]-3<=this[t(146)].y&&e[t(214)]+3>=this[t(146)].y&&e[t(421)]-3<=this[t(146)].x&&e[t(432)]+3>=this[t(146)].x))||n[0]}}}),this[r(203)][r(204)](r(143)))})),this.on(t(447),((e,i,s,n)=>{const r=t;this[r(243)]=s?this[r(272)](s):null,this[r(402)][r(223)][r(273)]((()=>{const t=r,e=this[t(402)][t(424)];n&&(n[t(357)][t(407)]?e[t(190)][t(273)]((i=>{const s=t;i[s(141)](s(263),e[s(190)][s(158)][s(144)](n[s(147)]))})):e[t(312)](t(295)+n.id)),s&&(s[t(357)][t(407)]?e[t(190)][t(273)]((i=>{const n=t;i[n(443)](n(263),e[n(190)][n(158)][n(144)](s[n(147)]))})):e[t(312)](t(295)+s.id))}))})),this[t(396)](this[t(402)][t(424)][t(190)][t(158)],t(386),((e,i)=>{const s=t;if(this[s(425)])return;const n=this[s(233)](i[s(349)]),r=this[s(412)][s(195)](n);r?(this[s(146)]={x:i[s(164)].x,y:i[s(164)].y},this[s(243)]=this[s(272)](r)):(this[s(146)]=null,this[s(243)]=null)})),this[t(396)](this[t(402)][t(424)][t(190)][t(158)],t(281),((e,i)=>{const s=t,n=this[s(233)](i[s(349)]),r=this[s(412)][s(195)](n);r?(this[s(146)]={x:i[s(164)].x,y:i[s(164)].y},r===this[s(425)]?this[s(203)][s(385)]():this[s(425)]=r):(this[s(146)]=null,this[s(425)]=null)}))}[Jt(233)](t){const e=Jt;do{const i=t[e(205)](e(298));if(i)return i;t=t[e(305)]}while(t);return null}[Jt(206)](){const t=Jt;this[t(402)][t(223)][t(273)]((e=>{const i=t;for(const t of this[i(402)][i(223)][i(375)])e[i(426)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(283)][r(257)](s[r(383)],i[r(265)]))return;const o=s[r(383)][r(231)](),a=s[r(383)][r(380)],c=t[r(223)][r(239)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(217)];h=h||c[r(251)](e);const i=n[r(377)][r(371)](e);if(i&&i[r(189)](r(367)))return;r(459)==t[r(179)]&&c[r(151)](e)&&!c[r(227)](e)&&(e[r(291)]||a[r(446)]?u&&u[r(305)]==e||(u=e,f(t[r(182)]),d=!0):l=l||t[r(182)])}function f(t){const i=r,o=n[i(377)][i(416)](t),a=n[i(302)][i(303)](i(404),{class:i(417)+e});n[i(302)][i(150)](o,a),n[i(377)][i(466)](a,s[i(292)])}h||d||!l||f(l)}}class ie extends Z.Command{constructor(t){const e=Jt;super(t);const i=t[e(202)][e(195)](te);this[e(335)]=!1,this[e(396)](i,e(252),(()=>this[e(394)]())),this[e(396)](i,e(462),(()=>this[e(394)]()))}[Jt(215)](){const t=Jt,e=this[t(402)],i=e[t(202)][t(195)](te),s=i[t(319)]?i[t(318)][t(208)]:null;e[t(356)][t(195)](t(245))[t(333)](s)}[Jt(394)](){const t=Jt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(402)][t(202)][t(195)](te),r=n&&s[t(157)](n[t(208)]);this[t(435)]=e&&i&&Boolean(r)}}class se extends Z.Command{[Jt(301)];constructor(t,{direction:e}){const i=Jt;super(t);const s=t[i(202)][i(195)](te);this[i(335)]=!1,this[i(301)]=i(170)===e?1:-1,this[i(396)](s,i(252),(()=>this[i(394)]())),this[i(396)](s,i(462),(()=>this[i(394)]())),this[i(396)](s,i(447),(()=>this[i(394)]()))}[Jt(215)](){const e=Jt,i=this[e(402)],s=i[e(202)][e(195)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(425)]=n?s[e(318)][e(152)][e(195)](r+this[e(301)]):s[e(318)][e(152)][e(423)],s[e(425)][e(357)][e(407)])o=i[e(424)][e(190)][e(326)](s[e(425)][e(147)]);else{const t=i[e(223)][e(375)][e(195)](e(295)+s[e(425)].id);o=(0,H.getMarkerDomElement)(i[e(424)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Jt(394)](){const t=Jt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(402)][t(202)][t(195)](te);this[t(435)]=!!(r&&n&&s)&&(!e||(1===this[t(301)]?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-=300]})(t,e)}function ae(){const t=["Loading...","495MHcPjG","5571JZHOBD","NUMBER_OF_CHANGES","currentChangeNumber","_statusText","12rEmDLo","isEnabled","273477ncQPSm","bindTemplate","25grANGQ","Total","82872gZcWtf","ck-revision-history-ui","EDIT_X_OF_Y_REVISIONS","914yaHuXC","execute","setTemplate","Show previous change","881489GMuESA","ck-revision-history-ui__changes-navigation","No changes","isBackwardNavigationEnabled","bind","div","numberOfChanges","isNavigationMode","backward","ck-revision-history-ui__changes-navigation__wrapper","isReady","X_OF_Y_CHANGES","isForwardNavigationEnabled","forward","ck-hidden","88Rteqtv","span","set","ck-revision-history-ui__changes-navigation__navigation","9608iCEIbC","fire","ck-revision-history-ui__changes-navigation__label","514yBjpgN","Show next change","_isStatusLabelVisible","175690OgXmnP"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(237817===parseInt(e(327))/1*(-parseInt(e(301))/2)+-parseInt(e(339))/3+-parseInt(e(324))/4*(-parseInt(e(341))/5)+-parseInt(e(337))/6*(-parseInt(e(305))/7)+-parseInt(e(320))/8*(-parseInt(e(333))/9)+-parseInt(e(330))/10+-parseInt(e(332))/11*(-parseInt(e(343))/12))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(340)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(322)](e(312),!1),this[e(322)](e(315),!1),this[e(322)](e(335),0),this[e(322)](e(311),0),this[e(322)](e(317),!1),this[e(322)](e(308),!1),this[e(309)](e(329)).to(this,e(315),this,e(311),((t,e)=>t&&e>0)),this[e(309)](e(336)).to(this,e(315),this,e(335),this,e(311),this,e(312),((i,s,n,r)=>{const o=e;if(!i)return G(t,o(331));if(!n)return G(t,o(307));const a=G(t,o(334),n);return r?G(t,o(316),[s+1,n]):a})),s[e(322)]({label:G(t,e(304)),tooltip:!0,icon:dt.IconChevronUp}),n[e(322)]({label:G(t,e(328)),tooltip:!0,icon:dt.IconChevronDown}),s[e(309)](e(338)).to(this,e(308)),n[e(309)](e(338)).to(this,e(317)),s.on(e(302),(()=>this[e(325)](e(302),e(313)))),n.on(e(302),(()=>this[e(325)](e(302),e(318)))),this[e(303)]({tag:e(310),attributes:{class:["ck",e(344),e(306)]},children:[{tag:e(321),attributes:{class:[e(314)]},children:[{tag:e(321),attributes:{class:[e(326),i.if(e(329),e(319),(t=>!t))]},children:[{text:i.to(e(312),(i=>i?G(t,e(300))+": ":G(t,e(342))+": "))}]},{text:i.to(e(336))}]},new ft.ToolbarSeparatorView,{tag:e(310),attributes:{class:[e(323)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=de;function de(t,e){const i=fe();return(de=function(t,e){return i[t-=490]})(t,e)}function fe(){const t=["change","ck-editor__editable__loading-overlay","10436YNIxnR","45396lqhnsd","68334CrwqJa","17262542jfWHOh","RevisionViewerLoadingOverlay","show","editor","36dinulP","roots","addClass","isOfficialPlugin","135buvrcs","109ACeXou","editing","view","removeClass","hide","pluginName","document","isPremiumPlugin","46295vXhqDd","18AGEltc","1502200lzkFiS","150616mivdaT"];return(fe=function(){return t})()}!function(t){const e=de,i=t();for(;;)try{if(376398===parseInt(e(500))/1*(-parseInt(e(514))/2)+parseInt(e(499))/3*(-parseInt(e(515))/4)+-parseInt(e(508))/5+-parseInt(e(509))/6*(parseInt(e(490))/7)+parseInt(e(511))/8*(parseInt(e(495))/9)+-parseInt(e(510))/10+parseInt(e(491))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=he(513);class pe extends Z.Plugin{static get[he(505)](){return he(492)}static get[he(498)](){return!0}static get[he(507)](){return!0}[he(493)](){const t=he,e=this[t(494)][t(501)][t(502)];e[t(512)]((i=>{const s=t;for(const t of e[s(506)][s(496)])i[s(497)](me,t)}))}[he(504)](){const t=he,e=this[t(494)][t(501)][t(502)];e[t(512)]((i=>{const s=t;for(const t of e[s(506)][s(496)])i[s(503)](me,t)}))}}const ve=ge;function ge(t,e){const i=ye();return(ge=function(t,e){return i[t-=393]})(t,e)}function ye(){const t=["isForwardNavigationEnabled","forward","exitToEditing","isOfficialPlugin","restoreRevision","numberOfChanges","show","2669358MObuCV","2443456EzVvqd","1105150BnlWvL","isReady","config","commands","change:isReady","revisionHistory","isPremiumPlugin","showPreviousChange","closeRevisionViewerCallback","isEnabled","isNavigationMode","Back to editing","pluginName","2100295sdtDZs","listenTo","changesNavigation","2127771Cmgqkt","currentChangeNumber","add","hide","componentFactory","init","Restore this revision","RevisionViewerUI","editor","isBackwardNavigationEnabled","7nloIUL","get","ck-revision-history-ui__back-to-editing","15581240UvJZiz","execute","requires","showNextChange","bind","set","plugins","410364KEoqCJ"];return(ye=function(){return t})()}!function(t){const e=ge,i=t();for(;;)try{if(379629===-parseInt(e(420))/1+parseInt(e(430))/2+parseInt(e(400))/3+parseInt(e(429))/4+parseInt(e(397))/5+-parseInt(e(428))/6*(-parseInt(e(410))/7)+-parseInt(e(413))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class ke extends Z.Plugin{static get[ve(396)](){return ve(407)}static get[ve(424)](){return!0}static get[ve(436)](){return!0}static get[ve(415)](){return[te,pe]}[ve(405)](){const t=ve,e=this[t(408)],i=e[t(419)][t(411)](te),s=e[t(419)][t(411)](pe);e.ui[t(404)][t(402)](t(423),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(418)]({label:G(i,s(395)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(412)}),this[s(398)](n,s(414),(()=>{const t=s;e[t(432)][t(411)](t(435))[t(438)]()})),n})),e.ui[t(404)][t(402)](t(425),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(418)]({label:G(i,s(406)),withText:!0,tooltip:!0}),n[s(417)](s(393)).to(e[s(433)][s(411)](s(425))),this[s(398)](n,s(414),(()=>e[s(414)](s(425)))),n})),e.ui[t(404)][t(402)](t(399),(s=>{const n=t,r=new ce(s),o=e[n(433)][n(411)](n(437)),a=e[n(433)][n(411)](n(416));return r[n(417)](n(409)).to(o,n(393)),r[n(417)](n(421)).to(a,n(393)),r[n(417)](n(431),n(401),n(426),n(394)).to(i),this[n(398)](r,n(414),((t,i)=>{const s=n;e[s(414)](s(422)===i?s(416):s(437))})),r})),s[t(427)](),i.on(t(434),((e,i,n)=>{const r=t;n?s[r(403)]():s[r(427)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;const _e=Ie;function Ie(t,e){const i=Oe();return(Ie=function(t,e){return i[t-=309]})(t,e)}!function(t){const e=Ie,i=t();for(;;)try{if(477241===parseInt(e(321))/1+-parseInt(e(326))/2+-parseInt(e(331))/3+parseInt(e(330))/4+-parseInt(e(324))/5*(-parseInt(e(312))/6)+-parseInt(e(315))/7*(-parseInt(e(316))/8)+-parseInt(e(335))/9*(parseInt(e(320))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Se extends ft.LabeledFieldView{[_e(313)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(323)];this[i(314)]({label:G(t,i(332)),_tooltipString:""}),this[i(337)][i(322)]=G(t,i(325)),this[i(334)]({tag:i(317),attributes:{class:[i(333)],"data-cke-tooltip-text":s.to(i(327)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(318)}})}[_e(309)](){const e=_e;super[e(309)](),this[e(313)]=new t.ResizeObserver(this[e(337)][e(328)],(()=>this[e(310)]())),this[e(336)](this[e(337)],e(339),(()=>this[e(310)]()))}[_e(329)](){const t=_e;super[t(329)](),this[t(313)]&&this[t(313)][t(329)]()}[_e(310)](){const t=_e,e=this[t(337)][t(328)];this[t(327)]=e[t(311)]>e[t(319)]&&e[t(338)]||""}}function Oe(){const t=["90380GtxCNc","Enter the revision name","1327412TATlYF","_tooltipString","element","destroy","1450176MlnoyX","1023999RsZPRN","Revision name","ck-revision-history-sidebar__revision-name","extendTemplate","1584gvADxz","listenTo","fieldView","value","input","render","_updateTooltipText","scrollWidth","174MnSXWk","_resizeObserver","set","3521sOHIjz","12048MWuNsn","span","ck-tooltip_multi-line","clientWidth","51380OPYRFa","742302DoAbGq","placeholder","bindTemplate"];return(Oe=function(){return t})()}var Te=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=wt(),Ne.insert=kt().bind(null,"head"),Ne.domAPI=gt(),Ne.insertStyleElement=It();pt()(Te.A,Ne);Te.A&&Te.A.locals&&Te.A.locals;function xe(){const t=["8758116scoFTE","push","ck-revision-history-sidebar__revision-author_creator","56248hvjbhF","name","ck-revision-history-sidebar__revision-author","2842091xFIzsd","setTemplate","44211266zborDm","5peUpyr","ck-revision-history-sidebar__revision-author__name","Revision author","6129900tlnCdg","span","Revision creator","0 0 11 10","1655236YUOvUo","8828480YyWOwa","81qZCfbi","10XwLMcG","2DMykfL","set"];return(xe=function(){return t})()}function Ae(t,e){const i=xe();return(Ae=function(t,e){return i[t-=118]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(854037===parseInt(e(138))/1*(parseInt(e(120))/2)+-parseInt(e(118))/3*(-parseInt(e(125))/4)+parseInt(e(131))/5*(parseInt(e(122))/6)+-parseInt(e(128))/7+parseInt(e(139))/8+parseInt(e(134))/9+-parseInt(e(119))/10*(parseInt(e(130))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Re extends ft.View{constructor(t,e,i){const s=Ae;super(t);const n=new ft.IconView;n[s(121)]({content:dt.IconUser,viewBox:s(137)});const r=["ck",s(127)];i&&r[s(123)](s(124));const o=[{tag:s(135),attributes:{class:["ck",s(132)],title:G(t,s(i?136:133))},children:[n,e[s(126)]]}];this[s(129)]({tag:"li",attributes:{class:r},children:o})}}function Ee(){var t=["toLocaleDateString","184WFqRjQ","161424kAhcHB","608822AiQjLY","2610594fEkREb","3wogAiY","numeric","9432vcXfpm","toLocaleTimeString","long","1998426wlUfjP","1218840vVKQPZ","1676105ZRowWU"];return(Ee=function(){return t})()}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=264]})(t,e)}!function(t){for(var e=Me,i=t();;)try{if(187931===parseInt(e(274))/1+-parseInt(e(270))/2*(parseInt(e(272))/3)+-parseInt(e(265))/4+parseInt(e(266))/5+-parseInt(e(264))/6+parseInt(e(271))/7+-parseInt(e(268))/8*(-parseInt(e(269))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Ve=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ve.A,De);Ve.A&&Ve.A.locals&&Ve.A.locals;function Ce(t,e){const i=Fe();return(Ce=function(t,e){return i[t-=295]})(t,e)}function Fe(){const t=["listenTo","Show more items","menuitem","isVisible","ck-on","menu","Compare against selected","isActionsDropdownOpen","extendTemplate","6kuiJpM","source","find","model","map","button","stopPropagation","bind","Name this revision","12666kRThnX","first","11404080mavnxZ","603044Uosjxn","class","execute","isReady","isEnabled","locale","isOpen","buttonView","154340cVGQxM","Restore this revision","children","1078HGsIkc","18pHGAOE","3431480bGCvpi","_action","ck-revision-history-sidebar__revision__actions","set","name","listView","items","panelPosition","add","11935294urHKqD","bindTemplate","change:isActionsDropdownOpen","action","200150JbiSAQ","750KUGizo","function"];return(Fe=function(){return t})()}!function(t){const e=Ce,i=t();for(;;)try{if(882779===parseInt(e(342))/1*(parseInt(e(304))/2)+parseInt(e(328))/3*(-parseInt(e(316))/4)+parseInt(e(343))/5*(-parseInt(e(313))/6)+-parseInt(e(338))/7+parseInt(e(329))/8+parseInt(e(315))/9+parseInt(e(324))/10*(parseInt(e(327))/11))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=We;function ze(){const t=["deselect","bindTemplate","isSelected","_requireRevisionName","from","render","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","7432ohlabG","createdAt","ck-disabled","isEnabled","471276vMTRYC","ck-revision-history-sidebar__actions_dropdown_open","8981QRIRRD","2234090OyLZOj","_revision","listenTo","set","ck-reset","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision-wrapper","value","select","revisionActionsView","closest","length","map","srcElement","unhighlight","isActionsDropdownOpen","highlight","creator","1310034QvNtRx","extendTemplate","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision-authors","setTemplate","unshift","isHighlighted","element","3223350PzzPaI","setName","ck-revision-history-sidebar__revision__controls-wrapper","name","220","fire","122472GGebHv","uiLanguage","ck-revision-history-sidebar__revision__date","span","authors","isReady","filter","div","bind","_createdAtFormatted",".ck-thread__remove-confirm","isConfirm","103906QpwKkg","fieldView","ck-revision-history-sidebar__revision_highlighted","change","revisionNameView"];return(ze=function(){return t})()}function We(t,e){const i=ze();return(We=function(t,e){return i[t-=471]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(276117===-parseInt(e(533))/1+parseInt(e(517))/2+-parseInt(e(491))/3+parseInt(e(505))/4+parseInt(e(473))/5+-parseInt(e(499))/6+parseInt(e(472))/7*(parseInt(e(529))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class Ze extends((0,H.ConfirmMixin)(ft.View)){id;[Pe(521)];[Pe(482)];[Pe(474)];[Pe(525)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(523)],a=function(t,e){const i=r,s=Array[i(526)](e[i(509)])[i(511)]((t=>t!=e[i(490)]));return e[i(490)]&&s[i(496)](e[i(490)]),s[i(485)]((s=>new Re(t,s,s==e[i(490)])))}(e,i);this.id=i.id,this[r(474)]=i,this[r(525)]=n,this[r(513)](r(502),r(530)).to(i),this[r(513)](r(514)).to(this,r(530),(t=>{return i=e[r(506)],(s=t)[(n=Me)(267)](i,{month:n(276),day:n(273)})+", "+s[n(275)](i,{hour:n(273),minute:n(273)});var i,s,n})),this[r(476)](r(524),!1),this[r(476)](r(497),!1),this[r(476)](r(488),!1),this[r(476)](r(510),!1),this[r(476)](r(532),!1),this[r(521)]=new Se(e,ft.createLabeledInputText),this[r(521)][r(518)][r(492)]({attributes:{maxlength:r(503)}}),this[r(521)][r(518)][r(513)](r(480)).to(this,r(502),(t=>t||this[r(514)])),this[r(521)][r(513)](r(532)).to(this,r(524),this,r(532),((t,e)=>t&&e)),this[r(482)]=s&&s[r(484)]?function(e,i){const s=Ce,n=e[s(339)],r=e[s(321)],o=(0,ft.createDropdown)(r);o[s(336)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ce,s=t[i(321)],n={"Compare against selected":G(s,i(301)),"Name this revision":G(s,i(312)),"Restore this revision":G(s,i(325))};return e[i(308)]((t=>{const e=i,s=n[t[e(333)]];return s&&s!==t[e(333)]&&(t[e(333)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(309),model:new ft.ViewModel({label:t[n(333)],class:t[n(317)],withText:!0,role:n(297),_action:t[n(341)]})};i[n(307)][n(311)](n(320)).to(e,n(302),(i=>n(344)!=typeof t[n(320)]||!i||t[n(320)](e))),o[n(337)](i)}return o}(e,i);return e[s(311)](s(302)).to(o,s(322)),o[s(323)][s(332)]({label:G(r,s(296)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(303)]({attributes:{class:[s(331),n.if(s(302),s(299))]},on:{click:n.to((t=>t[s(310)]()))}}),o.on(s(318),(t=>{const i=s;e[i(319)]&&i(344)==typeof t[i(305)][i(330)]&&t[i(305)][i(330)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(300)}),o[s(295)](e,s(340),((t,n,r)=>{const a=s;if(r)for(const t of o[a(334)][a(335)]){const s=t[a(326)][a(314)],n=i[a(306)]((t=>t[a(341)]===s[a(330)]))[a(298)];t[a(298)]=void 0===n||n(e)}})),o}(this,s):"",this[r(482)]&&this[r(482)][r(513)](r(532)).to(this),this[r(495)]({tag:r(512),attributes:{class:["ck",r(477),r(479),o.if(r(516),r(528))]},children:[{tag:r(512),attributes:{class:["ck",r(477),r(478),o.if(r(532),r(531),(t=>!t)),o.if(r(524),r(493)),o.if(r(497),r(519)),o.if(r(488),r(471))]},children:[this[r(521)],{tag:r(508),attributes:{class:["ck",r(507)]},children:[{text:o.to(r(514))}]},{tag:r(512),attributes:{class:["ck",r(501)]},children:[{tag:"ul",attributes:{class:["ck",r(494)]},children:a}]},this[r(482)]],on:{click:o.to((t=>{const e=r;t[e(486)][e(483)](e(515))||this[e(510)]&&this[e(532)]&&this[e(504)](e(481),{id:this.id})}))}}]})}[Pe(527)](){const t=Pe;super[t(527)]();const e=this[t(521)][t(518)][t(498)];this[t(475)](e,t(520),(()=>{const i=t;this[i(525)]&&!e[i(480)]||this[i(504)](i(500),{id:this.id,name:e[i(480)]}),e[i(480)]||(e[i(480)]=this[i(502)]?this[i(502)]:this[i(514)])}))}[Pe(481)](){this[Pe(524)]=!0}[Pe(522)](){this[Pe(524)]=!1}[Pe(489)](){this[Pe(497)]=!0}[Pe(487)](){this[Pe(497)]=!1}}class He extends Error{}class Ue extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends He{}class Ye extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Je 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 Je}get name(){throw new Je}get ianaName(){return this.name}get isUniversal(){throw new Je}offsetName(t,e){throw new Je}formatOffset(t,e){throw new Je}offset(t){throw new Je}equals(t){throw new Je}get isValid(){throw new Je}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(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 Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class xi extends _i{static create(t){return Ni[t]||(Ni[t]=new xi(t)),Ni[t]}static resetCache(){Ni={},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=xi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(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=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 Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.DateTimeFormat(t,e),Ri[i]=s),s}let Mi={};let Vi={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class 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=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rs(this.floor?Math.floor(t):Ds(t,3),this.padTo)}}class 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&&xi.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Ei(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Vi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Vi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const 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=xs(s)||rs.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Di=null,Ri={},Mi={},Vi={}}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=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,xs(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 Zi=null;class Hi extends _i{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}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${$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 Ui 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)||xi.create(t)}return _s(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Ui(t)}const $i={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Bi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ji({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${$i[i]}${e}`)),Gi[i][e]}let Ki,Xi=()=>Date.now(),Qi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){Qi=t}static get defaultZone(){return qi(Qi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=xs(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(),xi.resetCache(),eo.resetCache(),Gi={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=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 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 Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function xs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Is(t)&&t>=e&&t<=i}function Rs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Es(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Vs(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function 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 Zs(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 Us(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Us(n)}return i}function $s(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Rs(i,2)}:${Rs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Rs(i,2)}${Rs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Js=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Js];case"short":return[...Gs];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Qs];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Rs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Es(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Es(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Vs(t[e+3])},null,e+4]}function 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 Nn(t,e){return[{},t[e]?xi.create(t[e]):null,e+1]}const xn=RegExp(`^T?${gn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Rn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Vs(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Es(e)):Es(e),month:Gs.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:Qs.indexOf(t)+1),a}const Vn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0: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[Mn(e,n,s,i,r,o,a),Hi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(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),Zn=dn(/(\d{4})-?(\d{3})/,kn),Hn=dn(yn),Un=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,Nn),qn=fn(bn,On,Tn,Nn),$n=fn(wn,On,Tn,Nn),Bn=fn(On,Tn,Nn);const Yn=fn(On);const Gn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Jn=dn(_n),Kn=fn(On,Tn,Nn);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 Ge("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 Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[An,Rn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[xn,Yn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new $e(i);return new ur({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ln.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=nr.map((e=>{const i=this.values[e];return ws(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Ds(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return eo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(Ns(e.values,t)||Ns(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]=Us(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...qs(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return or(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:hr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return hr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return xi.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+=Yi.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>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=xr(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=Ji(e),s=Ji(e,"{2}"),n=Ji(e,"{3}"),r=Ji(e,"{4}"),o=Ji(e,"{6}"),a=Ji(e,"{1,2}"),c=Ji(e,"{1,3}"),u=Ji(e,"{1,6}"),l=Ji(e,"{1,9}"),h=Ji(e,"{2,4}"),d=Ji(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,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(Ns(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=xi.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=Vs(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(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 Nr(t,e,i){return new Tr(t,i).explainFromTokens(e)}function xr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Rr=864e13;function Er(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Vr(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function 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 Zr(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},Ur={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Jr(t,e){const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Er(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of $r)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=Ds(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Qr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Er(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||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 Jr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Jr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return eo.invalid("invalid input");const n=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Er(n))}static fromMillis(t,e={}){if(_s(t))return t<-Rr||t>Rr?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Er(i));const s=Wi.fromObject(e),n=qs(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=Br,v=Ur,g=ms(g,r,o)):u?(p=Yr,v=qr,g=vs(g)):(p=$r,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,Un],[Wn,qn],[Zn,$n],[Hn,Bn])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Vn,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,Ln],[Fn,Ln],[jn,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Ge("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}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Gn,Un],[Jn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new Ue(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=xr(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?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Vr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Vr(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ls(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?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 Dr(this,{ts:s,zone:t})}return eo.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=qs(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):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+=Zr(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":"")+Zr(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 Ge("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Ge("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 Nr(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 Ge("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 Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(t,e){const i=no();return(so=function(t,e){return i[t-=105]})(t,e)}function no(){const t=["1294424qMqUNt","908053mSqSEm","7JkTQNT","startOf","87160zJkKRr","month","140975ixNjEZ","local","year","setLocale","toRelativeCalendar","1553949QlHGdb","3058YLXjxS","fromJSDate","minus","30596OrHIab","monthLong","week","hasSame","12jWKeRw","2612900hcGAEh","toJSDate","weekdayLong","282JreKSs","day"];return(no=function(){return t})()}function ro(t,e){const i=so,s=eo[i(111)](t)[i(107)](e),n=eo[i(105)](),r=n[i(112)]({days:1})[i(126)](i(122));let o,a;return s[i(116)](n,i(122))?(o=s[i(126)](i(122))[i(119)](),a=s[i(108)]()):s[i(116)](r,i(122))?(o=r[i(119)](),a=s[i(108)]()):s[i(116)](n,i(115))?(o=s[i(126)](i(115))[i(119)](),a=s[i(120)]||""):s[i(116)](n,i(106))?(o=s[i(126)](i(128))[i(119)](),a=s[i(114)]||""):(o=s[i(126)](i(106))[i(119)](),a=String(s[i(106)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=so,i=t();for(;;)try{if(751560===parseInt(e(124))/1+parseInt(e(118))/2+-parseInt(e(117))/3*(parseInt(e(113))/4)+-parseInt(e(129))/5*(-parseInt(e(121))/6)+-parseInt(e(125))/7*(parseInt(e(123))/8)+-parseInt(e(109))/9+-parseInt(e(127))/10*(parseInt(e(110))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=lo;function uo(){const t=["1219929fOsngw","ck-revision-history-sidebar__time-period__revisions","addRevision","249902BcpJrq","_requireRevisionName","551502yLJjlO","remove","revisionViews","_revisionActions","1565250dRfkOT","removeRevision","find","916264pZxANq","uiLanguage","6631672MMrqGD","setTemplate","add","ck-revision-history-sidebar__time-period","locale","ck-revision-history-sidebar__time-period__label","188027plpMDy","select","localizedPeriodName","span","6ntSlmb","startDate","createCollection","setName","div","delegate"];return(uo=function(){return t})()}function lo(t,e){const i=uo();return(lo=function(t,e){return i[t-=439]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(465640===-parseInt(e(465))/1+-parseInt(e(467))/2+-parseInt(e(462))/3+parseInt(e(444))/4+parseInt(e(441))/5+-parseInt(e(456))/6*(-parseInt(e(452))/7)+parseInt(e(446))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(uo);class ho extends ft.View{[co(457)];[co(439)];[co(440)];[co(466)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(450)][n(445)])[n(454)];this[n(457)]=e,this[n(439)]=this[n(458)](),this[n(440)]=i,this[n(466)]=s,this[n(439)][n(461)](n(453)).to(this),this[n(439)][n(461)](n(459)).to(this),this[n(447)]({tag:n(460),attributes:{class:["ck",n(449)]},children:[{tag:n(455),attributes:{class:["ck",n(451)]},children:[{text:r}]},{tag:n(460),attributes:{class:["ck",n(463)]},children:this[n(439)]}]})}[co(464)](t){const e=co,i=new Ze(this[e(450)],t,this[e(440)],this[e(466)]);this[e(439)][e(448)](i)}[co(442)](t){const e=co,i=this[e(439)][e(443)]((e=>e.id===t.id));this[e(439)][e(468)](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-=447]})(t,e)}function vo(){const t=["div","ck-revision-history-sidebar__header","86193ErkRIS","setTemplate","ck-revision-history-sidebar__header__label","4121754cWXpXN","8760825qYkoFK","4XpRcmO","content","6KqdqsX","span","2015664UVGCsy","Revision history","1446298WrpfjG","ck-reset_all","209669dauVxb","48zxhYsB","390bCEraf","4244988QGApsf"];return(vo=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(885211===parseInt(e(449))/1*(-parseInt(e(462))/2)+parseInt(e(458))/3*(parseInt(e(460))/4)+-parseInt(e(459))/5+parseInt(e(450))/6*(parseInt(e(447))/7)+parseInt(e(464))/8+-parseInt(e(455))/9*(-parseInt(e(451))/10)+-parseInt(e(452))/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(461)]=dt.IconHistory,this[e(456)]({tag:e(453),attributes:{class:["ck",e(448),e(454)]},children:[i,{tag:e(463),attributes:{class:["ck",e(457)]},children:[G(t,e(465))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["_addRevision","ck-rounded-corners","_getTimePeriodViewByStartDate","4189080QkMEEV","192505KnJahB","1581815CgHQPm","map","flat","delegate","_revisions","removeRevision","createCollection","_removeRevision","remove","highlightRevisions","render","addRevision","4ngoZTu","_revisionActions","bindTemplate","isEnabled","ck-reset","highlight","uiLanguage","set","selectRevision","locale","timePeriodViews","createdAt","3262300iMhURk","startDate","revisionViews","revisionSelected","find","ck-disabled","get","revisionSetName","fire","some","ck-revision-history-sidebar","2493sEsksR","deselect","16984jcZTbE","div","add","setTemplate","unhighlight","2615487NTAfli","5118426eHHnVB","ck-revision-history-sidebar__timeline","_requireRevisionName","setName","select","getTime"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=439]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(458341===parseInt(e(473))/1*(parseInt(e(486))/2)+parseInt(e(462))/3+-parseInt(e(444))/4+-parseInt(e(474))/5+-parseInt(e(463))/6+parseInt(e(472))/7+parseInt(e(457))/8*(parseInt(e(455))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends ft.View{[bo(442)];[bo(478)];[bo(487)];[bo(465)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(488)];this[n(442)]=this[n(480)](),this[n(442)][n(477)](n(467)).to(this),this[n(442)][n(477)](n(466)).to(this),this[n(478)]=e,this[n(487)]=i,this[n(465)]=s,this.on(n(467),((t,e)=>{const i=n;this[i(452)](i(447),e)})),this.on(n(466),((t,e)=>{const i=n;this[i(452)](i(451),e)})),this[n(439)](n(489),!1),this[n(460)]({tag:n(458),attributes:{class:["ck",n(490),n(470),n(454)]},children:[new go(t),{tag:n(458),attributes:{class:["ck",n(464),r.if(n(489),n(449),(t=>!t))]},children:this[n(442)]}]})}[bo(484)](){const t=bo;super[t(484)]();for(const e of this[t(478)])this[t(469)](e);this[t(478)].on(t(459),((e,i)=>{this[t(469)](i)})),this[t(478)].on(t(482),((e,i)=>{this[t(481)](i)}))}get[bo(446)](){const t=bo;return this[t(442)][t(475)]((e=>e[t(446)][t(475)]((t=>t))))[t(476)]()}[bo(440)](t){const e=bo;for(const i of this[e(446)])t&&t.id===i.id?i[e(467)]():i[e(456)]()}[bo(483)](t){const e=bo;for(const i of this[e(446)])t[e(453)]((({id:t})=>t===i.id))?i[e(491)]():i[e(461)]()}[bo(469)](t){const e=bo,i=ro(t[e(443)],this[e(441)][e(492)])[e(445)];let s=this[e(442)][e(450)](0);s&&s[e(445)][e(468)]()===i[e(468)]()||(s=new ho(this[e(441)],i,this[e(487)],this[e(465)]),this[e(442)][e(459)](s)),s[e(485)](t)}[bo(481)](t){const e=bo,i=ro(t[e(443)],this[e(441)][e(492)])[e(445)];this[e(471)](i)[e(479)](t)}[bo(471)](t){const e=bo;return this[e(442)][e(448)]((i=>i[e(445)][e(468)]()===t[e(468)]()))}}function So(t,e){const i=To();return(So=function(t,e){return i[t-=152]})(t,e)}const Oo=So;function To(){const t=["33sqXSed","isReady","getIndex","newRevisionId","plugins","destroy","map","revisionHistory.revisionActions","restoreRevision","_handleEditorDataReady","focus","add","26326HwClZi","repository","timePeriodViews","change:diff","config","461994xTRpqf","pluginName","isPremiumPlugin","_handleRevisionSetName","editor","element","revisionSelected","remove","isEnabled","_handleDiffChange","_revisionsRepository","data","revisionHistory.requireRevisionName","render","compareAgainstSelected","_revisionViewer","isVisible","highlightRevisions","440QXIuNV","getRevisionsInDiff","Restore this revision","diff","string","revisionHistory","10tcRdDG","availableRevisionActions","RevisionsSidebar","60dwzkyl","_revisions","_createRevisionActions","isOfficialPlugin","3409572ARSLAN","assign","16JKROIz","363oWkZRS","listenTo","requires","_handleRevisionSelected","1324015ViOTdX","fieldView","revisionHistory.viewerSidebarContainer","defaultRevisionActions","Name this revision","locale","get","11367SNftTP","action","nameRevision","getLaterVisibleRevision","1194690EVgwaY","ready","Compare against selected","getEarlierVisibleRevision","revisionViews","length","selectRevision","name","init","appendChild","restoreRevisionCallback","_sidebarView","select","getRevision","setName","isSelected","bind","compare","revisionSetName"];return(To=function(){return t})()}!function(t){const e=So,i=t();for(;;)try{if(107893===parseInt(e(172))/1*(-parseInt(e(210))/2)+-parseInt(e(211))/3*(parseInt(e(204))/4)+-parseInt(e(201))/5*(parseInt(e(177))/6)+-parseInt(e(215))/7+parseInt(e(195))/8*(-parseInt(e(222))/9)+-parseInt(e(226))/10+-parseInt(e(160))/11*(-parseInt(e(208))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends Z.Plugin{[Oo(192)];[Oo(187)];[Oo(152)];static[Oo(218)]=[Oo(191),Oo(168),Oo(224)];static[Oo(202)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(228),action:({plugins:e},i)=>{const s=t,n=e[s(221)](te),r=n[s(173)];let o=n[s(198)][s(163)],a=i.id;r[s(162)](o)>r[s(162)](a)&&([o,a]=[a,o]),n[s(158)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(221)](te);return!(n[s(173)][s(196)](n[s(198)])[s(231)]>2||i[s(156)])}},restoreRevision:{name:t(197),action:(e,{id:i})=>{const s=t;e[s(176)][s(221)](s(200))[s(236)](i)},isVisible:({plugins:e},i)=>!!e[t(221)](te)[t(173)][t(225)](i.id)},nameRevision:{name:t(219),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(221)](te),o=r[n(173)][n(229)](i);r[n(158)](i,o),s[n(170)](),s[n(216)][n(153)]()}}}}();static get[Oo(178)](){return Oo(203)}static get[Oo(207)](){return!0}static get[Oo(179)](){return!0}static get[Oo(213)](){return[te]}constructor(t){const e=Oo;super(t),this[e(192)]=t[e(164)][e(221)](te),this[e(187)]=this[e(192)][e(173)],this[e(152)]=null}[Oo(234)](){const t=Oo,e=this[t(187)][t(205)],i=this[t(206)](),s=this[t(181)][t(176)][t(221)](t(217));this[t(152)]=new Io(this[t(181)][t(220)],e,i,this[t(181)][t(176)][t(221)](t(189))),this[t(152)].on(t(183),this[t(214)][t(157)](this)),this[t(152)].on(t(159),this[t(180)][t(157)](this)),this[t(152)][t(157)](t(185)).to(this[t(192)]),this[t(152)][t(174)].on(t(171),((e,i)=>{const s=t;i[s(230)].on(s(171),((t,e)=>{const i=s;e[i(157)](i(185),i(161)).to(this[i(192)])}))})),this[t(152)][t(190)](),this[t(212)](this[t(181)][t(188)],t(227),this[t(169)][t(157)](this)),this[t(212)](this[t(192)],t(175),this[t(186)][t(157)](this)),s[t(235)](this[t(152)][t(182)])}[Oo(165)](){const t=Oo;this[t(152)][t(182)][t(184)](),this[t(152)][t(165)]()}[Oo(169)](){const t=Oo,e=this[t(187)][t(154)](0);if(e){const i=this[t(187)][t(229)](e.id);this[t(192)][t(158)](e,i)}}[Oo(214)](t,e){const i=Oo,s=this[i(187)][i(154)](e.id),n=this[i(187)][i(229)](s.id);this[i(192)][i(158)](s,n)}[Oo(180)](t,e){const i=Oo;this[i(187)][i(154)](e.id)[i(155)](e[i(233)])}[Oo(186)](t,e,i){const s=Oo,n=this[s(187)][s(196)](i);n[s(231)]>2?(this[s(152)][s(194)](n),this[s(152)][s(232)](null)):(this[s(152)][s(194)]([]),this[s(152)][s(232)](n[0]))}[Oo(206)](){const t=Oo,e=this[t(181)],i=No[t(202)],s=e[t(176)][t(221)](t(167))||No[t(218)];if(s[t(231)])return s[t(166)]((s=>{const n=t,r=n(199)==typeof s?Object[n(209)]({},i[s]):s;return r[n(223)]=r[n(223)][n(157)](this,e),r[n(193)]&&(r[n(193)]=r[n(193)][n(157)](this,e)),r}))}}const xo=No,Ao=Eo;function Ro(){const t=["replace","936MeIvmz","config","_view","_initToolbar","28GRIRCf","ready","5751186WzmWRe","render","stickyPanel","attachDomRoot","element","_elementReplacer","439345Adpfzw","detachDomRoot","editable","focusTracker","componentFactory","bind","300101bzsZmj","fire","fillFromConfig","1400THZRfc","42iXfTNm","972tQSglR","757360oaKAFB","5014089QuUTqg","name","viewportTopOffset","addToolbar","setEditableElement","viewportOffset","113773wIJMvg","isFocused","isActive","view","document","toolbar","editor","get","restore","limiterElement","rootName","editing","_toolbarConfig","destroy","getRoot","init"];return(Ro=function(){return t})()}function Eo(t,e){const i=Ro();return(Eo=function(t,e){return i[t-=289]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(641940===-parseInt(e(322))/1+parseInt(e(327))/2*(-parseInt(e(304))/3)+parseInt(e(308))/4*(parseInt(e(316))/5)+-parseInt(e(310))/6+parseInt(e(326))/7*(-parseInt(e(328))/8)+parseInt(e(329))/9+parseInt(e(325))/10*(parseInt(e(335))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Mo extends ft.EditorUI{[Ao(306)];[Ao(299)];[Ao(315)];get[Ao(290)](){return this[Ao(306)]}constructor(e,i){const s=Ao;super(e),this[s(306)]=i,this[s(299)]=(0,ft.normalizeToolbarConfig)(e[s(305)][s(294)](s(292))),this[s(315)]=new t.ElementReplacer}get[Ao(314)](){const t=Ao;return this[t(290)][t(314)]}[Ao(302)](t){const e=Ao,i=this[e(293)],s=this[e(290)],n=i[e(298)][e(290)],r=s[e(318)],o=n[e(291)][e(301)]();r[e(330)]=o[e(297)],s[e(311)]();const a=r[e(314)];this[e(333)](r[e(330)],a),s[e(318)][e(321)](e(336)).to(this[e(319)]),n[e(313)](a),this[e(315)][e(303)](t,this[e(314)]),this[e(307)](),this[e(323)](e(309))}[Ao(300)](){const t=Ao;super[t(300)]();const e=this[t(290)],i=this[t(293)][t(298)][t(290)];this[t(315)][t(295)](),i[t(317)](e[t(318)][t(330)]),e[t(300)]()}[Ao(307)](){const t=Ao,e=this[t(290)];e[t(312)][t(321)](t(289)).to(this[t(319)],t(336)),e[t(312)][t(296)]=e[t(314)],e[t(312)][t(321)](t(331)).to(this,t(334),(({top:t})=>t)),e[t(292)][t(324)](this[t(299)],this[t(320)]),this[t(332)](e[t(292)])}}var Vo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Vo.A,Do);Vo.A&&Vo.A.locals&&Vo.A.locals;function Co(t,e){var i=jo();return(Co=function(t,e){return i[t-=379]})(t,e)}var Fo=Co;function jo(){var t=["editable","44ZSYuvz","content","2304WHSNRa","render","stickyPanel","47wGZfwN","3820tyHgZC","add","44430lNjlyO","4720PKAyrz","top","3gRDhYd","main","98vySpsw","_editable","1433864ajiYgZ","908SiKcNh","toolbar","591420sWbLDc","shouldToolbarGroupWhenFull","509120PWizoC"];return(jo=function(){return t})()}!function(t){for(var e=Co,i=t();;)try{if(112313===-parseInt(e(400))/1*(-parseInt(e(389))/2)+parseInt(e(384))/3*(parseInt(e(382))/4)+parseInt(e(393))/5+parseInt(e(381))/6*(parseInt(e(386))/7)+parseInt(e(388))/8+-parseInt(e(397))/9*(parseInt(e(379))/10)+parseInt(e(395))/11*(-parseInt(e(391))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends ft.BoxedEditorUIView{[Fo(387)];[Fo(399)];[Fo(390)];get[Fo(394)](){return this[Fo(387)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(399)]=new ft.StickyPanelView(t),this[s(390)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(392)]}),this[s(387)]=new ft.InlineEditableUIView(t,e)}[Fo(398)](){var t=Fo;super[t(398)](),this[t(399)][t(396)][t(380)](this[t(390)]),this[t(383)][t(380)](this[t(399)]),this[t(385)][t(380)](this[t(394)])}}const Po=zo;function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=289]})(t,e)}function Wo(){const t=["16idbGql","14144210ukAdbV","locale","sourceElement","config","1960160vdbFbX","view","updateSourceElement","create","destroy","1185LAssGx","createRoot","initPlugins","16584xgbMQM","178994GROqEc","_ui","data","model","95153lIWtuc","908607edoCVL","init","document","initialData","2035098mGvQOM","ready","editing","9YGfvuX","fire","get"];return(Wo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(503427===-parseInt(e(301))/1+-parseInt(e(297))/2+parseInt(e(306))/3+-parseInt(e(317))/4+parseInt(e(293))/5*(-parseInt(e(296))/6)+-parseInt(e(302))/7*(parseInt(e(312))/8)+-parseInt(e(309))/9*(-parseInt(e(313))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Zo extends((0,Z.ElementApiMixin)(Z.Editor)){[Po(298)];get ui(){return this[Po(298)]}constructor(t,e){const i=Po;super(e),this[i(315)]=t,this[i(300)][i(304)][i(294)]();const s=new Lo(this[i(314)],this[i(308)][i(289)],{shouldToolbarGroupWhenFull:!0});this[i(298)]=new Mo(this,s)}[Po(292)](){const t=Po;return this[t(290)](),this.ui[t(292)](),super[t(292)]()}static async[Po(291)](t,e){const i=Po,s=new this(t,e);return await s[i(295)](),await s.ui[i(303)](t),await s[i(299)][i(303)](s[i(316)][i(311)](i(305))||""),s[i(310)](i(307)),s}}const Ho=qo;function Uo(){const t=["from","1058616hbFwcE","long","restoreRevision","RevisionHistory","_closeRevisionViewer","data","display","6741800OJwzvi","repository","markers","getAttributeKeys","uiLanguage","create","isOpen","786110izBrTY","toVersion","PaginationLookup","fromCharCode","editor","join","3665UGlkcg","toLocaleTimeString","rootName","name","block","change","commands","catch","translations","getUser","get","then","revisionHistory.restoreRevisionCallback","indexOf","revisionHistory.viewerContainer","end","isReady","keys","getRevisions","RevisionTracker","selection","style","bind","_showRevisionViewer","1BEcKhW","_recalculatePageBreaks","$graveyard","toolbar","Restored","pluginName","document","revisionHistory.closeRevisionViewerCallback","none","revisionHistory.showRevisionViewerCallback","refreshPositioning","addRoot","isOfficialPlugin","includes","numeric","locale","lazyRoots","Users","result","has","insert","_restoreRevision","revision-history-viewer-opened","remove","showRevisionViewerCallback","parse","isAnonymous","changesNavigation","hide","603272MBpWON","update","_viewerEditor","refreshVisibility","toLocaleDateString","getRevision","disableReadOnlyMode","toJSON","setAttribute","config","push","plugins","users","removeMarker","Autosave","define","RevisionViewer","createdAt","RevisionHistoryUI","isReadOnly","adapter","_update","addRevisionData","329049fvKoXA","Dialog","RestrictedEditingMode","creator","1074obtCfH","detachRoot","save","fromVersion","set","restrictedEditingException","973852inWQzX","35JXJcqK","setSelection","getMarkersGroup","revisionHistory.requireRevisionName","getRevisionRootsAttributes","revision-history-missing-configuration","destroy","getRevisionData","_enhanceCloseRevisionViewerCallback","Annotations","requires","isEnabled","_getRevisionViewerEditorConfig","init","removeAttribute","error","createRangeIn","_cleanUp","closeRevisionViewerCallback","getRoot","isPremiumPlugin","isAttached","enqueueChange","model","revisionHistory","enableReadOnlyMode","removeSelectionAttribute","exitToEditing","_enhanceShowRevisionViewerCallback","revisionHistory.editorContainer","map","saveRevision","RevisionViewerIntegration","RevisionsRepository","roots","addUser","revisionHistory.viewerEditorElement"];return(Uo=function(){return t})()}function qo(t,e){const i=Uo();return(qo=function(t,e){return i[t-=498]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(200235===-parseInt(e(590))/1*(-parseInt(e(560))/2)+parseInt(e(642))/3+parseInt(e(507))/4+parseInt(e(566))/5*(-parseInt(e(501))/6)+parseInt(e(508))/7*(parseInt(e(619))/8)+-parseInt(e(546))/9+-parseInt(e(553))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);const $o=[Ho(637),Ho(499)];class Bo extends Z.Plugin{[Ho(608)];static get[Ho(595)](){return Ho(540)}static get[Ho(602)](){return!0}static get[Ho(528)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(538)]((t=>String[e(563)](t)))[e(565)]("")}super(t),this[e(608)]=e(581),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 Z.Plugin{[Ho(621)];static get[Ho(595)](){return Ho(549)}static get[Ho(602)](){return!0}static get[Ho(528)](){return!0}static get[Ho(518)](){return[rt,Ct]}constructor(e){const i=Ho;if(super(e),!this[i(564)][i(628)][i(576)](i(532)))throw new t.CKEditorError(i(513),this);this[i(621)]=null,this[i(564)][i(628)][i(634)](i(599),(t=>this[i(589)]({...t,translations:this[i(564)][i(605)][i(574)]}))),this[i(564)][i(628)][i(634)](i(597),(t=>this[i(550)](t))),this[i(564)][i(628)][i(634)](i(578),(t=>this[i(611)](t))),this[i(564)][i(628)][i(634)](i(511),!1),this[i(536)](),this[i(516)]()}set[Ho(639)](t){const e=Ho;this[e(564)][e(630)][e(576)](e(585))[e(639)]=t}get[Ho(639)](){const t=Ho;return this[t(564)][t(630)][t(576)](t(585))[t(639)]}[Ho(641)](t){const e=Ho;return this[e(564)][e(630)][e(576)](e(585))[e(641)](t)}[Ho(624)](t){const e=Ho;return this[e(564)][e(630)][e(576)](e(541))[e(624)](t)}[Ho(584)](t){const e=Ho;return this[e(564)][e(630)][e(576)](e(541))[e(584)](t||{toJSON:!1})}[Ho(520)](){const e=Ho,i=this[e(564)],s=(0,H.sanitizeEditorConfig)(i,$o),n=i[e(630)][e(576)](e(585)),r=i[e(630)][e(576)](e(607))[e(631)];return s[e(593)]=[e(535),e(548),e(617)],delete s[e(606)],s[e(630)][e(629)](Bo,te,ke,class extends Z.Plugin{static get[e(518)](){return[te,e(607)]}[e(521)](){const s=e,o=this[s(564)][s(630)][s(576)](s(607));for(const t of r)t[s(616)]||o[s(575)](t.id)||o[s(543)](t);const a=n[s(554)][s(584)]();let c=null;const u=this[s(564)][s(630)][s(576)](s(635));u[s(639)]=n[s(639)],u[s(588)](s(519)).to(n),this[s(564)][s(572)][s(576)](s(548))[s(588)](s(519)).to(i,s(638),(t=>!t));for(const e of a){const i=null===e[s(500)];if(i&&e[s(561)]===e[s(504)])continue;const r=e[s(626)]();u[s(641)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(640)](r,o);else if(!o){const e=a[u(626)]();e.id=(0,t.uid)(),n[u(539)](e,a[u(561)])[u(577)]((t=>{c=t}))}}else e[u(640)](r,o)}))}}},xo),s}[Ho(536)](){const t=Ho,e=this[t(564)][t(628)][t(576)](t(532))[t(614)];this[t(564)][t(628)][t(505)](t(599),(async()=>{const i=t;this[i(564)][i(533)](i(612));const s=this[i(564)][i(630)][i(576)](i(585));if(this[i(564)][i(630)][i(609)](i(633))){const t=this[i(564)][i(630)][i(576)](i(633));await t[i(503)]()}else await s[i(620)]();if(this[i(564)][i(630)][i(609)](i(562))&&this[i(564)][i(630)][i(576)](i(562))[i(591)](),this[i(564)][i(630)][i(609)](i(498))){const t=this[i(564)][i(630)][i(576)](i(498));t[i(559)]&&t[i(618)]()}const n=this[i(520)]();return e(n)[i(577)]((t=>{const e=i;return this[e(621)]=t,this[e(564)][e(630)][e(609)](e(517))&&this[e(564)][e(630)][e(576)](e(517))[e(622)](),t}))[i(573)]((t=>(console[i(523)](t),this[i(564)][i(625)](i(612)),null)))}))}[Ho(516)](){const t=Ho,e=this[t(564)][t(628)][t(576)](t(532))[t(526)];this[t(564)][t(628)][t(505)](t(597),(()=>(this[t(564)][t(630)][t(609)](t(562))&&this[t(564)][t(630)][t(576)](t(562))[t(591)](),this[t(621)][t(630)][t(576)](t(635))[t(525)](),e(this[t(621)])[t(577)]((()=>{const e=t;if(this[e(564)][e(625)](e(612)),this[e(621)]=null,this[e(564)][e(630)][e(609)](e(517))){const t=this[e(564)][e(630)][e(576)](e(517));t[e(622)](),t[e(600)]()}})))))}[Ho(589)](t){const e=Ho,i=this[e(564)][e(628)][e(576)](e(537)),s=this[e(564)][e(628)][e(576)](e(580)),n=this[e(564)][e(628)][e(576)](e(544));return Zo[e(558)](n,t)[e(577)]((t=>(s[e(587)][e(552)]=e(570),i[e(587)][e(552)]=e(598),t)))}[Ho(550)](t){const e=Ho,i=this[e(564)][e(628)][e(576)](e(537));return this[e(564)][e(628)][e(576)](e(580))[e(587)][e(552)]=e(598),i[e(587)][e(552)]="",t[e(514)]()}async[Ho(611)](t){const e=Ho,i=this[e(564)],s=this[e(621)][e(630)][e(576)](e(635)),n=i[e(630)][e(576)](e(585)),r=s[e(554)][e(624)](t);let o,a,c;try{o=await s[e(515)](r),a=await s[e(512)](r)}catch(t){return void console[e(523)](t)}i[e(531)][e(571)]((t=>{const s=e;for(const e of Array[s(545)](i[s(531)][s(555)][s(510)](s(506))))t[s(632)](e)})),s[e(582)]=!1,i[e(531)][e(530)]((t=>{const s=e;t[s(509)](null),t[s(534)](i[s(531)][s(596)][s(586)][s(556)]());const n=Object[s(583)](o);for(const e of i[s(531)][s(596)][s(542)])s(592)!=e[s(568)]&&e[s(529)]()&&!n[s(603)](e[s(568)])&&t[s(502)](e);for(const e of n){let n=i[s(531)][s(596)][s(527)](e);n&&n[s(529)]()||(n=t[s(601)](e));const r=a[e],c=Object[s(583)](r),u=o[e];for(const e of n[s(556)]())c[s(603)](e)||t[s(522)](e,n);for(const i of c)t[s(627)](i,a[e][i],n);t[s(613)](t[s(524)](n)),t[s(610)](i[s(551)][s(615)](u,n),n,0)}}));const u=G(i[e(605)],e(594));return c=r[e(569)]?-1==r[e(569)][e(579)](u)?u+": "+r[e(569)]:r[e(569)]:u+": "+r[e(636)][e(623)](i[e(605)][e(557)],{month:e(547),day:e(604)})+", "+r[e(636)][e(567)](i[e(605)][e(557)],{hour:e(604),minute:e(604)}),await n[e(539)]({name:c}),s[e(582)]=!0,i[e(628)][e(576)](e(532))[e(526)]()}}function Go(){var t=["3220FzoLyP","820420JXiFOH","205636yzuDYj","2dLEcFi","3920qVlGXN","1245384CZjNrB","721860FOEwbK","21342NVDcXH","69411kOiPVH"];return(Go=function(){return t})()}function Jo(t,e){var i=Go();return(Jo=function(t,e){return i[t-=130]})(t,e)}!function(t){for(var e=Jo,i=t();;)try{if(198169===parseInt(e(137))/1+-parseInt(e(138))/2*(parseInt(e(134))/3)+-parseInt(e(132))/4+-parseInt(e(136))/5+-parseInt(e(133))/6+-parseInt(e(135))/7*(-parseInt(e(130))/8)+parseInt(e(131))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|