@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250408.0 → 0.0.0-nightly-20250410.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/be.js +1 -1
- package/dist/translations/be.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/revisionhistoryutils.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:()=>jt,RevisionHistoryUtils:()=>K,RevisionTracker:()=>ot,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Uo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>J,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;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}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 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=z;function P(){const t=["toJSON","map","diffData","set","fire","_update","attributes","name","104kJEXos","790941RpNLZu","setName","8APgEpF","24513ImPhxq","179230tRWeko","removeAttribute","fromVersion","model","setAttribute","92DCsifS","5984352RlFcay","createdAt","authorsIds","6XrLHwm","391447ufdpUU","creatorId","1888515HuPpPc","toVersion","474080QYvgeX","authors","242ttJkQB","creator"];return(P=function(){return t})()}function z(t,e){const i=P();return(z=function(t,e){return i[t-=418]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(629320===-parseInt(e(435))/1*(-parseInt(e(441))/2)+-parseInt(e(432))/3*(-parseInt(e(434))/4)+parseInt(e(436))/5*(parseInt(e(445))/6)+-parseInt(e(446))/7*(parseInt(e(431))/8)+parseInt(e(448))/9+parseInt(e(419))/10*(-parseInt(e(421))/11)+parseInt(e(442))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class W extends((0,t.ObservableMixin)()){id;[L(422)];[L(420)];[L(425)];[L(418)];[L(438)];[L(439)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(422)]=e[i(422)]||null,this[i(420)]=e[i(420)]||[],this[i(425)]=e[i(425)]||null,this[i(418)]=e[i(418)]||0,this[i(438)]=e[i(438)]||0,this[i(426)](i(430),e[i(430)]||""),this[i(426)](i(443),e[i(443)]||new Date),this[i(426)](i(429),e[i(429)]||{})}[L(433)](t){this[L(428)]({name:t})}[L(440)](t,e){const i=L,s=R(this[i(429)]);(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(428)]({attributes:s})}[L(437)](t){const e=L,i=R(this[e(429)]);(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,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(428)]({attributes:i})}[L(428)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(430),i(443),i(425),i(420),i(429),i(418),i(438),i(447)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(420)]&&(n[i(444)]=n[i(420)][i(424)]((t=>t.id)),delete n[i(420)]),this[i(427)](i(428),n,e))}[L(423)](){const t=L;return{id:this.id,name:this[t(430)],creatorId:this[t(422)]?this[t(422)].id:null,authorsIds:this[t(420)][t(424)]((t=>t.id)),diffData:this[t(425)],createdAt:this[t(443)],attributes:this[t(429)],fromVersion:this[t(438)],toVersion:this[t(418)]}}}var Z=i(782),U=i(211),H=i(783);const q=B;function $(){const t=["requires","attributes","createdAt","getRevisionsInDiff","1032519FYFxaP","9NbgjTC","join","isPremiumPlugin","toJSON","7FdzyLt","fromCharCode","push","get","Users","earlier","15905tGqEqj","reverse","later","124GVgcYv","getEarlierVisibleRevision","isNaN","2421618bGsjcj","5488440MMqRdA","isOfficialPlugin","_revisions","12264250uhvBuJ","toVersion","authorsIds","RevisionsRepository","diffData","add","length","map","addRevision","4637721BjSVOz","13283XgOQmo","from","fromVersion","pluginName","getRevision","afterInit","plugins","getRevisionsIterator","getIndex","creatorId","getUser","editor","href","1340MJpYWt","getRevisions","createRevision","getLaterVisibleRevision","oldRevisionId","newRevisionId","name","data"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=497]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(624446===-parseInt(e(530))/1*(-parseInt(e(513))/2)+parseInt(e(499))/3+parseInt(e(543))/4*(-parseInt(e(510))/5)+-parseInt(e(516))/6*(-parseInt(e(504))/7)+-parseInt(e(517))/8+parseInt(e(500))/9*(parseInt(e(520))/10)+-parseInt(e(529))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends Z.Plugin{[q(519)];static get[q(551)](){return[U.Users]}static get[q(533)](){return q(523)}static get[q(518)](){return!0}static get[q(502)](){return!0}get[q(526)](){const t=q;return this[t(519)][t(526)]}constructor(e){const i=q;super(e),this[i(519)]=new t.Collection}[q(535)](){!async function(e){const i=k([113,52,55,75,88,111,99,105,114,77,120,121,89,115,57,100,81,86,78,122,98,69,49,102,112,85,50,48,118,117,76,53,51,72,103,67,66,101,108,90,65,71,97,79,70,106,83,84,74,119,56,82,104,109,68,116,54,107,80,87,110,73]),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(515)](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([113]);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(527)]((t=>String[e(505)](t)))[e(501)]("")}!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:1744070400;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(542)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(545)](t){const e=q,i=this[e(541)][e(536)][e(507)](e(508));return new W({id:t.id,name:t[e(549)],creator:t[e(539)]?i[e(540)](t[e(539)]):null,diffData:t[e(524)]||t[e(550)],authors:t[e(522)][e(527)]((t=>i[e(540)](t))),createdAt:new Date(t[e(497)]),attributes:t[e(552)],fromVersion:t[e(532)],toVersion:t[e(521)]})}[q(528)](t,e=0){const i=q;this[i(519)][i(525)](t,e)}[q(534)](t){const e=q;return this[e(519)][e(507)](t)}[q(544)](t={toJSON:!1}){const e=q,i=Array[e(531)](this[e(519)]);return i[e(511)](),t[e(503)]?i[e(527)]((t=>t[e(503)]())):i}[q(538)](t){const e=q;return this[e(519)][e(538)](t)}[q(514)](t){const e=q,[,i]=this[e(537)](t,{direction:e(509)});return i}[q(546)](t){const e=q,[,i]=this[e(537)](t,{direction:e(512)});return i}[q(498)](t){const e=q,i=[];for(const s of this[e(537)](t[e(548)]))if(i[e(506)](s),s.id===t[e(547)])break;return i}*[q(537)](t,{direction:e=q(509),filter:i=()=>!0}={}){const s=q,n=s(509)===e?1:-1;let r=this[s(519)][s(507)](t),o=this[s(538)](r);for(yield r;r;){if(o+=n,r=this[s(534)](o),!r)return;i(r)&&(yield r)}}}const Y=G;function G(t,e){const i=X();return(G=function(t,e){return i[t-=272]})(t,e)}!function(t){const e=G,i=t();for(;;)try{if(250472===-parseInt(e(344))/1*(parseInt(e(291))/2)+parseInt(e(292))/3+parseInt(e(306))/4*(-parseInt(e(289))/5)+parseInt(e(276))/6*(-parseInt(e(288))/7)+-parseInt(e(294))/8+-parseInt(e(272))/9*(-parseInt(e(300))/10)+parseInt(e(309))/11*(parseInt(e(293))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class K extends Z.Plugin{static get[Y(327)](){return Y(297)}static get[Y(274)](){return!0}static get[Y(340)](){return!0}[Y(341)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[Y(314)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[Y(318)](t,e){const i=Y;if(t[i(282)]||!e)return;const s=this[i(310)][i(317)][i(330)](i(301)),n=await e[i(329)]({channelId:s,revisionId:t.id});t[i(282)]=n[i(282)]}[Y(331)](t){const e=Y,i={};for(const s in t[e(282)]){if(t[e(282)][s][e(321)]&&!t[e(282)][s][e(321)][e(338)])continue;const n=this[e(285)](JSON[e(307)](t[e(282)][s][e(320)])),r=this[e(310)][e(323)][e(302)][e(311)],o=new H.ViewDocumentFragment(r,n[e(298)]((t=>this[e(336)](t,!1))));this[e(310)][e(328)][e(322)][e(284)](e(277)),i[s]=this[e(310)][e(328)][e(322)][e(324)](o),this[e(310)][e(328)][e(322)][e(284)](e(303))}return i}[Y(278)](t){const e=Y,i={};for(const s in t[e(282)])t[e(282)][s][e(321)]&&!t[e(282)][s][e(321)][e(338)]||(i[s]=t[e(282)][s][e(315)]||{});return i}[Y(313)](t){const e=Y;return this[e(341)][e(330)](t[e(283)])}[Y(336)](t,e){const i=Y,s=this[i(310)][i(323)][i(302)][i(311)];if(i(339)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(299)]||"r"==t[i(299)]?[]:t[i(335)][i(298)]((t=>this[i(336)](t,e)));const o=this[i(314)][i(330)](t[i(299)])||H.ViewElement,a=this[i(310)][i(328)][i(333)][i(325)];if(n=new o(s,t[i(296)],t[i(308)],r),"u"==t[i(299)]&&t[i(335)][0]){const r=t[i(335)][0];if(n[i(342)]=function(t){const e=i,s=t[e(334)](e(286));return s[e(332)]=r,s[e(312)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(290)](n);const e=Array[i(280)](a[i(305)](t,{bind:!1})),r=a[i(343)][i(334)](i(286));r[i(275)](...e),n=Array[i(280)](a[i(281)](r))[0]}}else if("r"==t[i(299)]&&t[i(335)][0]){const r=t[i(335)][0];if(n[i(342)]=function(t){t[i(332)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(290)](n);const e=Array[i(280)](a[i(305)](t,{bind:!1})),r=a[i(343)][i(334)](i(286));r[i(275)](...e);const o=Array[i(280)](a[i(281)](r));o[i(295)]>1?n[i(290)](o):n=o[0]}}if(t[i(319)])for(const[e,s]of t[i(319)])n[i(345)](e,s);const c=void 0===t[i(348)]?null:t[i(348)];return null!==c&&(n[i(326)]=()=>c),n}}[Y(279)](t){const e=Y,i=JSON[e(307)](t),s=this[e(310)][e(323)][e(302)][e(311)],n=new H.ViewDocumentFragment(s,i[e(298)]((t=>this[e(336)](t,!0))));return this[e(310)][e(328)][e(287)](n)}[Y(285)](t){const e=Y;return(t=t[e(337)]((t=>!t[e(296)]||e(347)!==t[e(296)]&&e(316)!==t[e(296)])))[e(273)]((t=>{const i=e;i(339)!=typeof t&&(t[i(335)]=this[i(285)](t[i(335)]),t[i(308)]=t[i(308)][i(337)]((t=>!t[0][i(346)](i(304)))))})),t}}function X(){const t=["_viewClassToTypeChar","render","domDocument","131gelaAn","_setCustomProperty","startsWith","revision-start","fillerOffset","9QXqWbq","forEach","isOfficialPlugin","append","114KFBvAJ","marked","getRevisionRootsAttributes","_makeModelFromViewString","from","domChildrenToView","diffData","constructor","useFillerType","_removeRevisionMarkers","div","toModel","28693JiEutj","45950vnyyLR","_appendChild","3816wFLKJO","417741foekdi","660siwauJ","2608496zPQoCW","length","name","RevisionHistoryUtils","map","type","2358210DmzzGq","collaboration.channelId","view","default","data-revision-","viewChildrenToDom","20RABplc","parse","attributes","115049uNAAnq","editor","document","childNodes","_getTypeCharForViewElement","_typeCharToViewClass","attributesAfter","revision-end","config","loadRevisionData","customProperties","insertions","attachChange","processor","editing","toData","domConverter","getFillerOffset","pluginName","data","getRevision","get","getRevisionDocumentData","innerHTML","htmlProcessor","createElement","children","_getViewFromDiffObj","filter","isAttached","string","isPremiumPlugin"];return(X=function(){return t})()}function Q(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 tt(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 et(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 it(t,e,r,o)}return it(t,e,r,o)}function it(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)||!et(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=>et(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(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(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(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ut;!function(t){const e=ut,i=t();for(;;)try{if(185187===-parseInt(e(255))/1+parseInt(e(356))/2*(parseInt(e(466))/3)+parseInt(e(246))/4+parseInt(e(391))/5+parseInt(e(407))/6+parseInt(e(306))/7*(-parseInt(e(452))/8)+parseInt(e(456))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class ot extends Z.Plugin{[rt(371)];[rt(274)];[rt(510)]=null;[rt(288)];[rt(327)]=null;[rt(544)];[rt(333)];[rt(408)];[rt(485)];[rt(369)];[rt(436)];[rt(384)];[rt(265)];[rt(460)];static get[rt(535)](){return rt(240)}static get[rt(428)](){return!0}static get[rt(448)](){return!0}static get[rt(396)](){return[U.Users,J,K,Z.PendingActions]}constructor(e){const i=rt;super(e),this[i(288)]=this[i(341)][i(362)][i(309)](i(261)),this[i(369)]=this[i(341)][i(362)][i(309)](i(342)),this[i(544)]=new at(this[i(341)]),this[i(408)]=this[i(341)][i(394)][i(309)](i(374))||i(439),this[i(485)]=new Map,this[i(460)]=null;const s=(0,t.uid)();this[i(333)]={history:this[i(341)][i(367)][i(451)][i(419)],getLatestVersion:()=>Promise[i(501)](this[i(341)][i(367)][i(451)][i(337)]),getCurrentRevisionId:()=>s},this[i(455)](i(373),!1),this[i(455)](i(472),!0),this[i(455)](i(542),!1),this[i(341)][i(394)][i(347)](i(434),!0),this[i(341)][i(297)][i(395)](i(473))[i(471)]({view:i(415)})}[rt(393)](){const t=rt;this[t(226)](),this[t(341)][t(279)].on(t(294),(()=>{const e=t,i=this[e(288)][e(403)](0),s=i&&null===i[e(413)]?i:null;if(this[e(384)]=!!s&&this[e(341)][e(394)][e(309)](e(434)),this[e(341)][e(362)][e(258)](e(254))){const t=this[e(333)][e(372)](),n=this[e(288)][e(403)](t);if(n)this[e(265)]=n[e(490)],this[e(384)]=!1;else{const t=this[e(333)][e(419)][e(392)][e(331)]((t=>!t[e(305)])),n=t?t[e(324)]:this[e(333)][e(419)][e(337)];i?(i[e(517)]<n&&i[e(539)]({toVersion:n}),this[e(384)]?(this[e(333)][e(372)]=()=>s.id,this[e(265)]=s[e(490)]):(this[e(265)]=i[e(517)],this[e(384)]=!1)):(this[e(265)]=n,this[e(384)]=!1)}}else s&&(this[e(341)][e(367)][e(451)][e(419)][e(337)]=Math[e(442)](s[e(517)],this[e(341)][e(367)][e(451)][e(419)][e(337)]),s[e(490)]===s[e(517)]?(0!==s[e(490)]&&(this[e(333)][e(372)]=()=>s.id),this[e(384)]=!1):this[e(384)]&&(this[e(333)][e(372)]=()=>s.id,this[e(265)]=s[e(490)])),this[e(384)]||(this[e(265)]=this[e(341)][e(367)][e(451)][e(337)]);this[e(544)][e(393)](this[e(333)][e(419)]),this[e(494)](this[e(265)]),this[e(290)](this[e(265)]),this[e(327)]&&this[e(445)]()})),this[t(366)](t(373)).to(this,t(542),(t=>!t)),this[t(371)]=this[t(341)][t(394)][t(309)](t(371));const e=this[t(341)];this[t(274)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(275)==r||i(278)==r||i(295)==r||i(260)==r||i(334)==r||i(330)==r||i(242)==r||i(316)==r){delete e[n],s=r,clearInterval(this[i(274)]),this[i(274)]=void 0;break}}i(278)==s&&e[i(503)](i(262)),i(295)==s&&e[i(503)](i(263)),i(260)==s&&e[i(503)](i(397)),i(334)==s&&e[i(503)](i(328),i(483)),i(330)==s&&e[i(503)](i(521)),i(242)==s&&e[i(503)](i(285)),i(316)==s&&e[i(503)](i(545))}),1e3)}async[rt(536)](){const t=rt;if(this[t(288)][t(537)]>0){const e=this[t(288)][t(403)](0),i=await this[t(370)](e),s=await this[t(464)](e);this[t(429)](i,s)}}[rt(438)](){const t=rt;super[t(438)](),this[t(274)]&&clearInterval(this[t(274)])}[rt(355)](t){this[rt(333)]=t}async[rt(349)](){const t=rt,e=await this[t(333)][t(508)]();if(e>this[t(510)][t(517)]){await this[t(227)]();const i=this[t(348)]({revision:this[t(510)],to:e});i[t(433)]=i[t(478)][t(243)]((e=>this[t(341)][t(362)][t(309)](t(308))[t(318)](e))),this[t(510)][t(539)](i)}}async[rt(323)](e={},i=null){const s=rt,n=[];await this[s(227)](),this[s(384)]=!1,i>this[s(510)][s(517)]&&(i=null),null===i&&(i=await this[s(333)][s(508)]());const r=this[s(398)](i),o=this[s(348)]({from:r,to:i});if(this[s(510)][s(517)]<i){const t=this[s(348)]({revision:this[s(510)],from:i,to:i});t[s(433)]=[],t[s(478)]=[],t.id=this[s(510)].id,this[s(510)][s(539)](t,!0),delete t[s(433)],n[s(390)](t)}e[s(461)]=this[s(341)][s(362)][s(309)](s(308)).me.id,e[s(298)]=e[s(298)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(365)](e);n[s(390)](e);const c=this[s(288)][s(532)](a);if(0!==c){const t=this[s(288)][s(403)](c-1);if(t[s(490)]!==i){const r=this[s(544)][s(425)](i,t[s(517)]),o={id:t.id,diffData:r[s(540)],authorsIds:r[s(478)],authors:r[s(478)][s(243)]((t=>this[s(341)][s(362)][s(309)](s(308))[s(318)](t))),fromVersion:i};t===this[s(510)]&&(o[s(233)]=new Date(e[s(233)][s(519)]()+10)),t[s(539)](o,!0),delete o[s(433)],n[s(390)](o)}}if(this[s(327)]){for(const t of n)this[s(458)](t.id,t,!0);this[s(445)]()}return a}[rt(365)](t){const e=rt,i=this[e(288)][e(325)](t);return this[e(327)]&&i.on(e(539),((t,i,s)=>{const n=e;s||(this[n(458)](i.id,i,!0),this[n(445)]())})),this[e(288)][e(481)](i,this[e(228)](i)),i}async[rt(370)](t){const e=rt;return await this[e(369)][e(256)](t,this[e(327)]),this[e(369)][e(370)](t)}async[rt(464)](t){const e=rt;return await this[e(369)][e(256)](t,this[e(327)]),this[e(369)][e(464)](t)}[rt(445)](){const t=rt;if(0===this[t(485)][t(414)])return;if(this[t(542)])return;let e=Array[t(411)](this[t(485)][t(421)]());this[t(485)][t(399)]();for(let i=0;i<e[t(537)];i++){const s=e[i];let n=!1;for(const e of Object[t(412)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(489)]((t=>null!==t)),!e[t(537)])return;for(let i=0;i<e[t(537)];i++){const s=e[i];void 0!==s[t(490)]&&void 0===s[t(517)]&&(s[t(517)]=this[t(288)][t(403)](s.id)[t(517)]),void 0!==s[t(517)]&&void 0===s[t(490)]&&(s[t(490)]=this[t(288)][t(403)](s.id)[t(490)])}const i=this[t(341)][t(394)][t(309)](t(374));this[t(542)]=!0,this[t(277)](),this[t(327)][t(420)](e,i)[t(476)]((()=>{this[t(542)]=!1}))[t(454)]((e=>{const i=t;if(e)for(const t of e)this[i(280)]({id:t.id,createdAt:t[i(233)]});this[i(488)](),this[i(445)]()}))}[rt(348)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(490)],i=null!==i?i:t[s(517)];const n=this[s(544)][s(425)](e,i),r={diffData:n[s(540)],authorsIds:n[s(478)],fromVersion:e,toVersion:i};if(!t||i!==t[s(517)]){const t=i-1,e=this[s(333)][s(419)][s(377)](t);r[s(233)]=e&&e[s(233)]||new Date}if(this[s(460)]&&e===this[s(460)][s(490)])for(const t of this[s(460)][s(433)])r[s(478)][s(487)](t.id)||r[s(478)][s(390)](t.id);return r}[rt(458)](t,e,i){const s=rt;if(this[s(485)][s(258)](t)){const n=this[s(485)][s(309)](t);e=i?{...n,...e}:{...e,...n}}this[s(485)][s(455)](t,e)}[rt(280)](t){const e=rt,i=this[e(288)][e(403)](t.id);if(t[e(233)]&&(t[e(233)]=new Date(t[e(233)])),t[e(478)]){const i=this[e(341)][e(362)][e(309)](e(308));t[e(433)]=t[e(478)][e(243)]((t=>i[e(318)](t)))}i[e(539)](t,!0)}[rt(494)](t){const e=rt,i=this[e(288)][e(403)](this[e(288)][e(537)]-1);if(i)this[e(408)]=i.id;else{const i=!this[e(341)][e(367)][e(451)][e(312)][e(331)]((t=>this[e(341)][e(367)][e(437)](t))),s=this[e(341)][e(362)][e(309)](e(308)).me.id,n=Q(this[e(341)][e(252)],e(i?401:513));this[e(257)]({from:t,to:t,id:this[e(408)],name:n,creatorId:s})}}[rt(290)](t){const e=rt,i=this[e(333)][e(372)]();this[e(510)]=this[e(288)][e(403)](i),this[e(510)]||(this[e(510)]=this[e(257)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(227)](){const t=rt;this[t(384)]&&!this[t(460)]&&(await this[t(369)][t(256)](this[t(510)],this[t(327)]),this[t(544)][t(300)](this[t(510)]),this[t(460)]={fromVersion:this[t(510)][t(490)],authors:this[t(510)][t(433)][t(459)]()})}[rt(429)](e,i){const s=rt;let n=this[s(341)][s(394)][s(309)](s(230)),r=this[s(341)][s(394)][s(309)](s(336));if(void 0===n){n={};for(const t of this[s(341)][s(367)][s(451)][s(498)]())n[t]=""}if(s(515)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(341)][s(367)][s(451)][s(498)]())r[t]={}}let o=!1;const a=Object[s(412)](n),c=Object[s(412)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(447)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(412)](r[t])[s(537)]>0){o=!0;break}}o||(o=c[s(475)]((t=>!this[s(341)][s(367)][s(451)][s(303)](t)))),o&&(0,t.logWarning)(s(432),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(341)][s(394)][s(455)](s(230),e),this[s(341)][s(394)][s(455)](s(336),i)}[rt(277)](){const t=rt;if(!this[t(436)]){const e=this[t(341)][t(362)][t(309)](t(426));this[t(436)]=e[t(405)](Q(this[t(341)][t(252)],t(289)))}}[rt(488)](){const t=rt;this[t(436)]&&(this[t(341)][t(362)][t(309)](t(426))[t(264)](this[t(436)]),this[t(436)]=null)}[rt(228)](t){const e=rt,i=this[e(288)][e(313)]();i[e(339)]();let s=0;for(;s<i[e(537)];){const n=i[s];if(n===this[e(510)]){s++;continue}if(n.id===this[e(408)])break;const r=t[e(517)]-n[e(517)]||t[e(490)]-n[e(490)];if(r>0)break;if(r<0)s++;else{if(!t[e(413)]&&n[e(413)])break;if(n[e(413)]||!t[e(413)]){if(t[e(233)]>n[e(233)])break;s++}else s++}}return s}[rt(398)](t){const e=rt,i=this[e(288)][e(313)]();i[e(339)](),i[e(266)]();const s=i[e(331)]((i=>i[e(517)]<=t))[e(517)];return s<this[e(265)]?this[e(265)]:s}[rt(257)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(348)]({from:e,to:i});o[r(298)]=t,o[r(461)]=s,o.id=n;const a=this[r(365)](o);return this[r(327)]&&this[r(458)](o.id,o,!0),a}[rt(226)](){const t=rt;this[t(341)][t(297)][t(395)](t(293))[t(402)]({model:t(415)})}}class at{[rt(341)];[rt(329)];[rt(446)];[rt(340)];[rt(248)];[rt(299)];[rt(440)];[rt(533)];[rt(480)];[rt(282)];[rt(273)];[rt(500)];[rt(387)];[rt(383)];[rt(424)];[rt(444)];[rt(469)];constructor(t){const e=rt;this[e(341)]=t,this[e(446)]=new Map,this[e(340)]=-1,this[e(248)]=-1,this[e(299)]=new Map,this[e(440)]=new Map,this[e(533)]=new Map,this[e(480)]=new Map,this[e(282)]=new Map,this[e(273)]=new Map,this[e(500)]=new Map,this[e(387)]=new Map,this[e(383)]=new Map,this[e(424)]=new Map,this[e(444)]=1}[rt(393)](t){const e=rt;this[e(329)]=t;const i=new Map,s=new Map,n=this[e(341)][e(367)][e(451)][e(312)][e(243)]((t=>t[e(363)]));for(const t of n){const n=this[e(341)][e(367)][e(451)][e(303)](t),r=ct(n);i[e(455)](t,r),s[e(455)](t,Object[e(259)](n[e(505)]()))}const r=Array[e(411)](this[e(341)][e(367)][e(296)])[e(243)]((t=>[t[e(298)],t[e(311)]()])),o=this[e(329)][e(337)];this[e(495)](o,i,r,s),this[e(469)]=this[e(444)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(455)](t,i),c[e(455)](t,{})}this[e(495)](Number[e(353)],a,[],c)}[rt(425)](t,e){const i=rt;if(this[i(340)]===t&&this[i(248)]<=e)this[i(446)][i(414)]>1&&this[i(497)](this[i(248)]),this[i(484)](this[i(248)],e,!0);else{if(!this[i(446)][i(258)](t)){const e=this[i(268)](t);this[i(422)](e,t,!1)}this[i(422)](t,e,!0)}return this[i(340)]=t,this[i(248)]=e,this[i(345)]()}[rt(300)](t){const e=rt,i=this[e(341)][e(362)][e(309)](e(342));this[e(479)](),this[e(340)]=t[e(490)],this[e(248)]=t[e(517)];for(const s in t[e(540)]){const n=t[e(540)][s][e(522)],r=R(t[e(540)][s][e(239)])||{},o=i[e(509)](t[e(540)][s][e(427)]);o[e(363)]=s,o[e(357)]=!n||!n[e(368)],o[e(368)]=()=>o[e(357)],this[e(480)][e(455)](s,o),this[e(282)][e(455)](s,r),n&&this[e(424)][e(455)](s,n);const a=this[e(286)](o);this[e(500)][e(455)](s,a);for(const[t,i]of o[e(296)]){if(!t[e(463)](e(247)))continue;const s=t[e(388)](":")[2];for(const t of i[e(409)]({singleCharacters:!0})){const i=this[e(351)](t),n=e(423)==t[e(511)]?t[e(477)][e(272)][e(459)](0,-1):t[e(477)][e(272)],r=a[e(376)](n)[e(291)](i);this[e(387)][e(455)](r,{userId:s})}}}this[e(469)]=this[e(444)];const s=[...Array(this[e(444)])[e(412)]()][e(459)](1)[e(489)]((t=>!this[e(387)][e(258)](t)));let n=0;const r=new Map;for(const o in t[e(540)]){const a=t[e(540)][o][e(522)],c=R(t[e(540)][o][e(474)])||{},u=i[e(509)](t[e(540)][o][e(344)]);u[e(363)]=o,u[e(357)]=!a||a[e(368)],u[e(368)]=()=>u[e(357)],this[e(440)][e(455)](o,u),this[e(533)][e(455)](o,c);const l=this[e(286)](u,Number[e(353)]);this[e(273)][e(455)](o,l),r[e(455)](o,u[e(368)]()?c:{});for(const[t,i]of u[e(296)]){if(!t[e(463)](e(247)))continue;const s=t[e(388)](":")[2];for(const t of i[e(409)]({singleCharacters:!0})){const i=this[e(351)](t),n=this[e(444)]++,r=e(423)==t[e(511)]?t[e(477)][e(272)][e(459)](0,-1):t[e(477)][e(272)];l[e(376)](r)[e(491)](i,n),this[e(387)][e(455)](n,{userId:s})}}for(const t of this[e(341)][e(367)][e(502)](u)[e(409)]({singleCharacters:!0})){const i=this[e(351)](t),r=e(423)==t[e(511)]?t[e(477)][e(272)][e(459)](0,-1):t[e(477)][e(272)],o=l[e(376)](r);o[e(291)](i)>0||o[e(491)](i,s[n++])}for(const[t,i]of u[e(296)])t[e(463)](e(247))||this[e(299)][e(455)](t,i)}const o=lt(e(354));this[e(480)][e(455)](e(354),o),this[e(500)][e(455)](e(354),this[e(286)](o,1));const a=lt(e(354));this[e(440)][e(455)](e(354),a),this[e(273)][e(455)](e(354),this[e(286)](a,1));const c=Array[e(411)](this[e(440)])[e(243)]((([t,e])=>[t,ct(e)]));this[e(495)](this[e(248)],c,this[e(299)],r)}[rt(470)](){const t=rt;this[t(479)](),this[t(340)]=-1,this[t(248)]=-1,this[t(446)][t(399)](),this[t(393)](this[t(329)])}[rt(495)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(455)](t,{start:e[n(512)][n(400)](),end:e[n(343)][n(400)](),rootName:e[n(546)][n(363)]});this[n(446)][n(455)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(497)](t){const e=rt;this[e(446)][e(541)](t)}[rt(479)](){const t=rt;this[t(387)][t(399)](),this[t(383)][t(399)](),this[t(424)][t(399)](),this[t(440)][t(399)](),this[t(533)][t(399)](),this[t(480)][t(399)](),this[t(282)][t(399)](),this[t(273)][t(399)](),this[t(500)][t(399)](),this[t(299)][t(399)](),this[t(444)]=1,this[t(469)]=this[t(444)]}[rt(286)](t,e=null){const i=rt;let s=null;t.is(i(234))||(s=new H.Element(t[i(298)],{vid_start:null===e?this[i(444)]++:e++}));const n=[];for(const s of t[i(514)]())if(s.is(i(453))){n[i(390)](this[i(286)](s,e));const t=n[n[i(537)]-1];null!==e&&(e=t.is(i(453),i(406))?t[i(291)](i(530))+1:t[i(291)](i(276))+1)}else for(let t=0;t<s[i(465)];t++)n[i(390)](new H.Element(i(406),{vid:null===e?this[i(444)]++:e++}));if(t.is(i(234))){const e=lt(t[i(363)]);return e[i(381)](0,n),e}return s[i(491)](i(276),null===e?this[i(444)]++:e++),s[i(381)](0,n),s}[rt(422)](t,e,i){const s=rt;this[s(479)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(446)][s(309)](t);this[s(480)]=new Map(n),this[s(282)]=new Map(R(o));for(const[t,e]of this[s(480)])if(s(354)!==t&&(this[s(440)][s(455)](t,ct(e)),this[s(533)]=new Map(R(o)),i)){const i=this[s(444)];this[s(273)][s(455)](t,this[s(286)](e)),this[s(500)][s(455)](t,this[s(286)](e,i))}this[s(469)]=this[s(444)],this[s(440)][s(455)](s(354),ct(this[s(480)][s(309)](s(354)))),i&&this[s(273)][s(455)](s(354),this[s(286)](this[s(480)][s(309)](s(354))));for(const[t,e]of r){const i=this[s(480)][s(309)](e[s(363)]),n=this[s(440)][s(309)](e[s(363)]),r=new H.Range(this[s(315)](e[s(512)],i),this[s(315)](e[s(343)],i)),o=this[s(301)](r,n);i[s(296)][s(455)](t,r),this[s(299)][s(455)](t,o)}this[s(484)](t,e,i)}[rt(484)](t,e,i){const s=rt;for(const n of this[s(329)][s(244)](t,e))this[s(528)](n,i);for(const t of this[s(440)][s(421)]())t[s(296)][s(399)]();for(const[t,e]of this[s(299)])this[s(440)][s(309)](e[s(546)][s(363)])[s(296)][s(455)](t,e[s(400)]());const n=new Map,r=new Map;for(const[t,e]of this[s(440)])n[s(455)](t,ct(e)),r[s(455)](t,this[s(533)][s(309)](t));this[s(495)](e,n,this[s(299)],r)}[rt(268)](t){const e=rt,i=Array[e(411)](this[e(446)][e(412)]());i[e(386)](((t,e)=>t-e)),i[e(339)]();for(const e of i)if(e<t)return e;return Number[e(353)]}[rt(231)](t,e){const i=rt,s=Array[i(411)](e[i(296)])[i(243)]((([e,s])=>[e,this[i(301)](s,t)]));t[i(296)]=new Map(s)}[rt(468)](t){const e=rt;for(const i of this[e(299)][e(421)]()){const s=i[e(435)](t),n=H.Range[e(253)](s);i[e(512)]=n[e(512)],i[e(343)]=n[e(343)]}}[rt(528)](t,e){const i=rt;if(i(251)!=t[i(511)]&&i(524)!=t[i(511)]){if(i(547)==t[i(511)]){const s=t[i(431)][i(546)][i(363)];this[i(440)][i(258)](s)||(this[i(440)][i(455)](s,lt(s,!0)),this[i(533)][i(455)](s,{}),e&&this[i(273)][i(455)](s,lt(s,!0)))}else{if(i(525)==t[i(511)]||i(538)==t[i(511)]||i(507)==t[i(511)])return void this[i(270)](t);i(249)==t[i(511)]&&this[i(232)](t)}if(i(249)!==t[i(511)]){const e=this[i(281)](t,this[i(440)]);e[i(314)](),this[i(468)](e)}if(e)switch(t[i(511)]){case i(547):this[i(358)](t);break;case i(404):case i(264):case i(379):this[i(237)](t);break;case i(499):this[i(531)](t);break;case i(388):this[i(271)](t)}}else this[i(287)](t,e)}[rt(281)](t,e){const i=rt,s=t[i(400)]();return s[i(359)]=t[i(359)],this[i(326)](s,e),s}[rt(441)](t){const e=rt;return t[e(243)]((t=>{const i=e,s=this[i(351)](t);return Number(t[i(375)][i(291)](s))}))}[rt(292)](t,e){const i=rt;if(t.is(i(453),i(406)))e[i(390)]({item:t,type:i(467)});else{t.is(i(453))&&e[i(390)]({item:t,type:i(527)});for(const s of t[i(514)]())this[i(292)](s,e);t.is(i(453))&&e[i(390)]({item:t,type:i(423)})}return e}[rt(345)](){const t=rt,e=new Map(this[t(387)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(480)][t(412)](),...this[t(440)][t(412)]()]);a[t(541)](t(354));for(const e of a){const i=this[t(440)][t(309)](e)||lt(e,!1),s=this[t(480)][t(309)](e)||lt(e,!1);i[t(368)]()||s[t(368)]()?(n[t(344)][e]=ct(i),n[t(427)][e]=ct(s),this[t(231)](n[t(427)][e],s),this[t(231)](n[t(344)][e],i),r[t(344)][e]=this[t(292)](this[t(273)][t(309)](e),[]),r[t(427)][e]=this[t(292)](this[t(500)][t(309)](e)||lt(e,!1),[])):a[t(541)](e)}for(const n of a){const o=r[t(344)][n];for(const n of o){const r=this[t(351)](n),o=n[t(375)][t(291)](r);i[t(541)](o),o>=this[t(469)]&&s[t(455)](o,e[t(309)](o))}}for(const n of a){const a=r[t(344)][n],c=this[t(441)](r[t(427)][n]);let u=0;for(const n of a){const r=this[t(351)](n),a=n[t(375)][t(291)](r);if(!s[t(258)](a)&&!o[t(258)](a))if(i[t(258)](a))u++;else{if(a!=c[u]){const s=e[t(309)](a)||e[t(309)](c[u]);for(;a!=c[u];)i[t(258)](c[u])||(o[t(455)](c[u],s),e[t(455)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(344)][e];for(const e of n){const n=this[t(351)](e),r=e[t(375)][t(291)](n);if(o[t(258)](r)){const e=o[t(309)](r);i[t(258)](r)||i[t(455)](r,{...e}),s[t(455)](r,{...e})}}}for(const e of i[t(412)]())e>=this[t(469)]&&i[t(541)](e);const c=new Map;for(const e of a){let n=r[t(344)][e];for(const e of n)if(e[t(375)].is(t(453),t(335))){const i=this[t(351)](e),n=e[t(375)][t(291)](i);if(s[t(258)](n)){const i=e[t(375)][t(364)][t(364)][t(291)](t(504)),r=c[t(309)](i)||new Set;r[t(405)](s[t(309)](n)[t(382)]),c[t(455)](i,r)}}n=r[t(427)][e];for(const e of n)if(e[t(375)].is(t(453),t(335))){const s=this[t(351)](e),n=e[t(375)][t(291)](s);if(i[t(258)](n)){const s=e[t(375)][t(364)][t(364)][t(291)](t(504)),r=c[t(309)](s)||new Set;r[t(405)](i[t(309)](n)[t(382)]),c[t(455)](s,r)}}for(const e of c[t(412)]())(s[t(258)](e)||i[t(258)](e))&&c[t(541)](e)}for(const e of a){const n=r[t(344)][e];let o=null,a=null;for(const e of n){const n=this[t(351)](e),r=e[t(375)][t(291)](n),u=c[t(309)](r);u&&t(527)==e[t(511)]&&(o=Array[t(411)](u)[0],a=e[t(375)][t(291)](t(276))),o&&(i[t(455)](r,{userId:o}),s[t(455)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(427)][e],a=n[t(344)][e];for(const{userId:e}of this[t(383)][t(421)]())null!==e&&l[t(405)](e);for(const{userId:e}of this[t(424)][t(421)]())null!==e&&l[t(405)](e);this[t(518)](a,r[t(344)][e],s,t(450),l),this[t(518)](o,r[t(427)][e],i,t(380),l),u[e]={insertions:this[t(529)](a),deletions:this[t(529)](o),attachChange:this[t(424)][t(309)](e)||null,attributesBefore:R(this[t(282)][t(309)](e))||{},attributesAfter:R(this[t(533)][t(309)](e))}}return{diffData:u,authorsIds:Array[t(411)](l)}}[rt(443)](t){const e=rt;for(const[,i]of t[e(296)]){const t=i[e(512)][e(267)]()[e(489)]((t=>e(335)==t[e(298)]));for(const i of t)1==i[e(229)]&&i[e(238)](0).is(e(453),e(332))&&i[e(238)](0)[e(491)](e(416),!0)}}[rt(529)](t){const e=rt;this[e(443)](t);const i=this[e(341)][e(279)][e(310)](t,{}),s=Array[e(411)](i[e(514)]())[e(243)]((t=>this[e(302)](t)));return JSON[e(321)](s)}[rt(302)](t){const e=rt;if(t.is(e(406)))return t[e(279)];{const i=this[e(341)][e(362)][e(309)](e(342)),s=t,n=this[e(341)][e(279)][e(430)][e(236)],r={type:i[e(284)](s),name:s[e(298)],attributes:Array[e(411)](s[e(505)]()),children:Array[e(411)](s[e(514)]())[e(243)]((t=>this[e(302)](t)))};if(t.is(e(526))&&e(346)!=t[e(298)]){const i=t[e(317)](n[e(385)],n);r[e(520)][e(390)](i[e(320)])}else if(t.is(e(462))){const i=n[e(385)][e(350)](s[e(298)]);t[e(317)](i,n),r[e(520)][e(390)](i[e(245)])}const o=Array[e(411)](s[e(449)]());o[e(537)]>0&&(r[e(304)]=o);const a=s[e(389)]();return null!==a&&(r[e(241)]=a),r}}[rt(518)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(341)][r(367)];for(let s=0;s<e[r(537)];s++){const n=this[r(351)](e[s]),c=e[s][r(375)][r(291)](n),h=i[r(309)](c),d=s==e[r(537)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(382)]!=o[r(382)])&&(l(h,ht(a,t,u),ht(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ht(a,t,u),dt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(382)],d=l(247)+s+":"+h+":"+c++,f=u[l(506)](i,a);t[l(296)][l(455)](d,f),null!==h&&n[l(405)](h)}}[rt(351)](t){const e=rt;switch(t[e(511)]){case e(527):return e(504);case e(423):return e(276);default:return e(530)}}[rt(326)](t,e){const i=rt;t[i(324)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(309)](n[i(546)][i(363)]);t[s]=this[i(315)](n,r)}if(n instanceof H.Range){const r=e[i(309)](n[i(546)][i(363)]);t[s]=this[i(301)](n,r)}i(546)===s&&(t[i(546)]=e[i(309)](t[i(546)][i(363)]))}}[rt(301)](t,e){const i=rt;return this[i(341)][i(367)][i(506)](this[i(315)](t[i(512)],e),this[i(315)](t[i(343)],e))}[rt(315)](t,e){const i=rt;return this[i(341)][i(367)][i(482)](e,t[i(272)],t[i(496)])}[rt(358)](t){const e=rt,i=this[e(273)][e(309)](t[e(431)][e(546)][e(363)]),s=this[e(315)](t[e(431)],i),n=null===t[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,r=s[e(364)],o=this[e(444)],a=[];for(const i of t[e(283)])if(i.is(e(453)))a[e(390)](this[e(286)](i));else for(let t=0;t<i[e(465)];t++)a[e(390)](new H.Element(e(406),{vid:this[e(444)]++}));const c=this[e(444)];for(let t=o;t<c;t++)this[e(387)][e(455)](t,{userId:n});r[e(381)](s[e(418)],a)}[rt(237)](t){const e=rt;(t=this[e(281)](t,this[e(273)]))[e(314)]();const i=null===t[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,s=t[e(493)](),n=s[e(364)],r=s[e(418)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(238)](e);r.is(a(453),a(406))?s[a(455)](r[a(291)](a(530)),{userId:i}):(s[a(455)](r[a(291)](a(504)),{userId:i}),t(s,r,0,r[a(229)]),s[a(455)](r[a(291)](a(276)),{userId:i}))}}(this[e(387)],n,r,r+t[e(516)])}[rt(531)](t){const e=rt,i=null===(t=this[e(281)](t,this[e(273)]))[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,s=t[e(361)][e(364)],n=t[e(322)][e(364)],r=s[e(291)](e(276)),o=n[e(291)](e(504));s[e(491)](e(276),n[e(291)](e(276))),n[e(491)](e(276),r),this[e(387)][e(455)](o,{userId:i}),this[e(387)][e(455)](r,{userId:i}),t[e(314)]()}[rt(271)](t){const e=rt,i=null===(t=this[e(281)](t,this[e(273)]))[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,s=t[e(486)],n=t[e(457)][e(364)];t[e(314)]();const r=n[e(291)](e(276)),o=t[e(543)][e(378)];if(s){const t=o[e(291)](e(276)),s=n[e(291)](e(276));n[e(491)](e(276),t),o[e(491)](e(276),s),this[e(387)][e(455)](n[e(291)](e(276)),{userId:i}),this[e(387)][e(455)](o[e(291)](e(504)),{userId:i})}else{const t=this[e(444)]++,s=this[e(444)]++;n[e(491)](e(276),t),o[e(491)](e(504),s),o[e(491)](e(276),r),this[e(387)][e(455)](t,{userId:i}),this[e(387)][e(455)](s,{userId:i})}}[rt(232)](t){const e=rt;if(!t[e(250)])return;const i=(t=this[e(281)](t,this[e(440)]))[e(523)]?t[e(523)][e(546)]:null,s=t[e(492)]?t[e(492)][e(546)]:null;i&&this[e(299)][e(541)](t[e(298)]),s&&this[e(299)][e(455)](t[e(298)],t[e(492)][e(400)]());const n=null===t[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,r=t[e(298)];if(!this[e(383)][e(258)](r))return void this[e(383)][e(455)](r,{range:t[e(523)],userId:n});const o=this[e(383)][e(309)](r),a=o[e(352)],c=t[e(492)];null==a&&null==c||a&&c&&a[e(319)](c)?this[e(383)][e(541)](t[e(298)]):o[e(382)]=n}[rt(287)](t,e){const i=rt;this[i(440)][i(258)](t[i(363)])?this[i(440)][i(309)](t[i(363)])[i(357)]=t[i(235)]:(this[i(440)][i(455)](t[i(363)],lt(t[i(363)],!0)),this[i(533)][i(455)](t[i(363)],{}),e&&this[i(273)][i(455)](t[i(363)],lt(t[i(363)],!0)));const s=null===t[i(359)]?null:t[i(359)]||this[i(341)][i(362)][i(309)](i(308)).me.id,n=this[i(424)][i(309)](t[i(363)]);n&&n[i(382)]===s?this[i(424)][i(541)](t[i(363)]):this[i(424)][i(455)](t[i(363)],{userId:s,isAttached:t[i(235)]})}[rt(270)](t){const e=rt,i=this[e(533)][e(309)](t[e(546)][e(363)]);null===t[e(338)]?delete i[t[e(417)]]:i[t[e(417)]]=t[e(338)]}}function ct(t){const e=rt,i=lt(t[e(363)],t[e(368)]());for(const s of t[e(514)]()){const t=s[e(410)](!0);i[e(534)](t)}return i}function ut(t,e){const i=ft();return(ut=function(t,e){return i[t-=226]})(t,e)}function lt(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(363)]=t,s[i(357)]=e,s[i(368)]=()=>s[i(357)],s}function ht(t,e,i){const s=rt,n=s(423)==t[s(511)]?i[s(307)](t[s(375)],s(343)):i[s(360)](t[s(375)]);return i[s(482)](e,n[s(272)],n[s(496)])}function dt(t,e,i){const s=rt,n=s(527)==t[s(511)]?i[s(307)](t[s(375)],0):i[s(269)](t[s(375)]);return i[s(482)](e,n[s(272)],n[s(496)])}function ft(){const t=["domDocument","sort","_touched","split","getFillerOffset","push","148395buwVhz","_operations","init","config","for","requires","domainLimit","_getFromVersion","clear","clone","Empty document","markerToData","getRevision","move","add","$text","447030DNqwMX","_initialRevisionId","getWalker","_clone","from","keys","creator","size","revision","keepParagraph","key","offset","history","updateRevisions","values","_calculateMetaData","elementEnd","_touchedRoots","getData","PendingActions","deletions","isOfficialPlugin","_replaceEditorDataWithRevisionData","htmlProcessor","position","editor-initial-data-replaced-with-revision-data","authors","revisionHistory.resumeUnsavedRevision","getTransformedByOperation","_pendingAction","hasContent","destroy","initial","_diffRoots","_getBaseVids","max","_processRootBeforeSave","_revisionId","sendBufferedUpdates","_savedMetaData","trim","isPremiumPlugin","getCustomProperties","insertion","document","386432FlIaoK","element","then","set","1621188KjAqVf","splitPosition","_bufferUpdate","slice","_loadedStateData","creatorId","rawElement","startsWith","getRevisionRootsAttributes","offsetSize","87oiFgFE","text","_transformMarkers","_startingRevisionId","reInit","dataToMarker","isEnabled","upcast","attributesAfter","some","finally","previousPosition","authorsIds","_reset","_baseRoots","addRevision","createPositionFromPath","RevisionHistory","_applyOperations","_bufferedUpdates","graveyardPosition","includes","_removePendingAction","filter","fromVersion","_setAttribute","newRange","getMovedRangeStart","_createInitialRevision","_saveMetaData","stickiness","_removeMetaData","getRootNames","merge","_baseIdsRoots","resolve","createRangeIn","_showLicenseError","vid_start","getAttributes","createRange","changeRootAttribute","getLatestVersion","_makeModelFromViewString","currentRevision","type","start","Initial revision","getChildren","string","howMany","toVersion","_markChanges","getTime","children","evaluationLimit","attachChange","oldRange","detachRoot","addRootAttribute","uiElement","elementStart","_handleOperation","_prepareViewToSave","vid","_handleMergeOperation","getIndex","_diffRootsAttributes","_appendChild","pluginName","afterInit","length","removeRootAttribute","_update","diffData","delete","_isPendingUpdate","insertionPosition","_revisionDataBuilder","usageLimit","root","insert","_setConversion","_loadState","_findInsertionIndex","childCount","initialData","_copyMarkers","_handleMarkerOperation","createdAt","documentFragment","isAdd","domConverter","_handleMoveOperation","getChild","attributesBefore","RevisionTracker","fillerOffset","revisionHistoryLicenseKeyTrialLimit","map","getOperations","innerHTML","743856Pvflpb","revision:","_lastTo","marker","affectsData","addRoot","locale","_createFromRanges","RealTimeCollaborationClient","146252cRxfWZ","loadRevisionData","_makeRevision","has","fromEntries","revisionHistoryLicenseKeyDomainLimit","RevisionsRepository","invalid","expired","remove","_startingVersion","shift","getAncestors","_getPreviousFrom","createPositionAfter","_handleRootAttributeOperation","_handleSplitOperation","path","_idsRoots","_licenseKeyCheckInterval","revisionHistoryLicenseKeyValid","vid_end","_addPendingAction","revisionHistoryLicenseKeyInvalid","data","setRevisionData","_cloneOperation","_baseRootsAttributes","nodes","_getTypeCharForViewElement","trialLimit","_makeIdsRoot","_handleRootOperation","repository","PENDING_ACTION_REVISION_HISTORY","_createCurrentRevision","getAttribute","_generateTape","dataDowncast","ready","revisionHistoryLicenseKeyExpired","markers","conversion","name","_markers","loadState","_fixRange","_getViewJson","getRoot","customProperties","_isInit","28KRIusO","createPositionAt","Users","get","toView","getRange","roots","getRevisions","_execute","_fixPosition","revisionHistoryLicenseKeyUsageLimit","render","getUser","isEqual","outerHTML","stringify","sourcePosition","saveRevision","baseVersion","createRevision","_fixOperation","adapter","featureNotAllowed","source","revisionHistoryLicenseKeyEvaluationLimit","find","paragraph","_source","revisionHistoryLicenseKeyNotAllowed","tableCell","rootsAttributes","version","newValue","reverse","_lastFrom","editor","RevisionHistoryUtils","end","insertions","_getState","$comment","define","buildRevisionData","update","createElement","_getVidAttributeName","range","NEGATIVE_INFINITY","$graveyard","setSource","3750CWoJrQ","_isAttached","_handleInsertOperation","_authorId","createPositionBefore","targetPosition","plugins","rootName","parent","addRevisionData","bind","model","isAttached","_utils","getRevisionDocumentData","licenseKey","getCurrentRevisionId","isReady","collaboration.channelId","item","getNodeByPath","getOperation","nodeAfter","reinsert","deletion","_insertChild","userId","_touchedMarkers","_continueCurrentRevision"];return(ft=function(){return t})()}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Ot();gt()(Nt.A,At);Nt.A&&Nt.A.locals&&Nt.A.locals;const Rt=Et;function Vt(){const t=["8fCuQSu","413720sCYAac","revisionName","input","label","extendTemplate","keystrokes","reset","listenTo","form","1758975wlxtGJ","locale","Name of the revision","arrowright","focus","optional","646158yxubOM","161658KOVjff","arrowdown","481005ctEapA","347631qSyTvS","setTemplate","fieldView","stopPropagation","revisionNameInputView","10367208DWJahJ","220","errorText","arrowleft","revisionNameInputValue","set","focusTracker","trim","12KFLxkg","ck-responsive-form","add","_createRevisionNameInput","render","value","element","arrowup","ck-revision-history-save-revision-form"];return(Vt=function(){return t})()}function Et(t,e){const i=Vt();return(Et=function(t,e){return i[t-=482]})(t,e)}!function(t){const e=Et,i=t();for(;;)try{if(190397===-parseInt(e(519))/1+-parseInt(e(518))/2+parseInt(e(522))/3+-parseInt(e(503))/4+-parseInt(e(512))/5+-parseInt(e(493))/6*(parseInt(e(521))/7)+parseInt(e(502))/8*(parseInt(e(485))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Mt extends pt.View{[Rt(491)];[Rt(508)];[Rt(484)];constructor(e,i){const s=Rt;super(e),this[s(491)]=new t.FocusTracker,this[s(508)]=new t.KeystrokeHandler,this[s(490)](s(489),""),this[s(484)]=this[s(496)](i),this[s(523)]({tag:s(511),attributes:{class:["ck",s(501),s(494)],tabindex:"-1"},children:[this[s(484)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(497)](){const t=Rt;super[t(497)](),(0,pt.submitHandler)({view:this}),this[t(491)][t(495)](this[t(484)][t(499)]),this[t(508)][t(510)](this[t(499)]);const e=e=>e[t(483)]();this[t(508)][t(490)](t(515),e),this[t(508)][t(490)](t(488),e),this[t(508)][t(490)](t(500),e),this[t(508)][t(490)](t(520),e)}[Rt(516)](){const t=Rt;this[t(484)][t(516)]()}get[Rt(504)](){const t=Rt;return this[t(484)][t(482)][t(499)][t(498)][t(492)]()}set[Rt(504)](t){const e=Rt;this[e(484)][e(482)][e(499)][e(498)]=t[e(492)]()}[Rt(509)](){const t=Rt;this[t(484)][t(482)][t(499)][t(498)]="",this[t(484)][t(487)]=null}[Rt(496)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(513)],pt.createLabeledInputText),s=i[e(482)];s[e(507)]({attributes:{maxlength:e(486)}});let n=Q(this[e(513)],e(514));return!t&&(n+=" ("+Q(this[e(513)],e(517))+")"),i[e(506)]=n,s.on(e(505),(()=>{const t=e;this[t(489)]=s[t(499)][t(498)][t(492)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=207]})(t,e)}function Ft(){const t=["get","isReady","Open revision history","revisionSave","_saveRevisionFormView","requires","isOpen","children","reset","_registerMenuComponent","Revision history","menuitem","delegate","plugins","view","addMany","focus","Accept","RevisionTracker","isEnabled","Save current revision","revisionHistory","config","bind","171EwefbT","RevisionHistoryUI","submit","saveRevision","buttonView","menu","editor","show","isReadOnly","_createSaveRevisionFormView","1232007WqKvZw","3002226UPQfJu","set","Cancel","menuBar:revisionHistory","1ALdvHI","execute","editing","items","componentFactory","839858MHsJGV","add","177220tDSrNm","errorText","init","revisionName","5zqLBAj","1174680HYWIFj","2433YCByhg","hide","isPremiumPlugin","The revision name cannot be empty.","render","locale","panelView","7316001QTaSNM","Dialog","revisionHistory.requireRevisionName","role","pluginName","976MRvfLY","revisionNameInputView","showRevisionViewerCallback","ck-button-action","_showDialog","isOfficialPlugin"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(272789===-parseInt(e(214))/1*(parseInt(e(219))/2)+parseInt(e(227))/3*(parseInt(e(239))/4)+parseInt(e(225))/5*(parseInt(e(210))/6)+parseInt(e(209))/7+parseInt(e(226))/8+-parseInt(e(269))/9*(-parseInt(e(221))/10)+-parseInt(e(234))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends Z.Plugin{static get[Dt(238)](){return Dt(270)}static get[Dt(244)](){return!0}static get[Dt(229)](){return!0}static get[Dt(250)](){return[ot]}[Dt(249)];[Dt(223)](){const t=Dt,e=this[t(275)],i=e[t(258)][t(245)](t(263));e.ui[t(218)][t(220)](t(266),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(233)][n(252)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(268)](n(264)).to(i,n(246),i,n(264),e,n(207),((t,e,i)=>t&&e&&!i)),r[n(273)][n(211)]({icon:mt.IconHistory,label:Q(s,n(255)),tooltip:!0}),u[n(211)]({label:Q(s,n(265)),withText:!0,role:n(256)}),u[n(268)](n(264)).to(i,n(246),i,n(264),e,n(207),((t,e,i)=>t&&e&&!i)),u.on(n(215),(()=>this[n(243)]())),h[n(211)]({label:Q(s,n(247)),withText:!0,role:n(256)}),h[n(268)](n(264)).to(i,n(246),e,n(207),((t,e)=>t&&!e)),h.on(n(215),(()=>{const t=n;e[t(267)][t(245)](t(266))[t(241)](),r[t(251)]=!1,e[t(216)][t(259)][t(261)]()})),c[n(252)][n(220)](u),l[n(252)][n(220)](h),a[n(237)]=n(274),a[n(217)][n(260)]([c,l]),o[n(220)](a),r})),e.ui[t(218)][t(220)](t(213),(()=>this[t(254)]()))}[Dt(254)](){const t=Dt,e=this[t(275)],i=e[t(232)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(273)][t(211)]({icon:mt.IconHistory,label:Q(i,t(255))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(211)]({label:Q(i,t(265))}),o[t(257)](t(215)).to(s),o.on(t(215),(()=>{this[t(243)]()})),r[t(252)][t(220)](o),n[t(217)][t(220)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(211)]({label:Q(i,t(247))}),c[t(257)](t(215)).to(s),c.on(t(215),(()=>{const i=t;e[i(267)][i(245)](i(266))[i(241)]()})),a[t(252)][t(220)](c),n[t(217)][t(220)](a),s[t(233)][t(252)][t(220)](n),s}[Dt(243)](){const t=Dt,e=this[t(275)],i=e[t(232)],s=e[t(258)][t(245)](t(235)),n=e[t(258)][t(245)](t(263));function r(n){const r=t;e[r(267)][r(245)](r(236))&&""===n[r(224)]?n[r(240)][r(222)]=Q(i,r(230)):(e[r(258)][r(245)](ot)[r(272)]({name:n[r(224)]}),s[r(228)]())}this[t(249)]||(this[t(208)](),this[t(249)].on(t(271),(()=>r(this[t(249)])))),this[t(249)][t(253)](),s[t(276)]({id:t(248),title:Q(i,t(265)),isModal:!0,content:this[t(249)],actionButtons:[{label:Q(e[t(232)],t(212)),withText:!0,onExecute:()=>s[t(228)]()},{label:Q(e[t(232)],t(262)),class:t(242),withText:!0,onCreate(i){const s=t;i[s(268)](s(264)).to(n,s(246),n,s(264),e,s(207),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(249)])}]})}[Dt(208)](){const t=Dt,e=this[t(275)],i=e[t(232)];this[t(249)]=new Mt(i,e[t(267)][t(245)](t(236))),this[t(249)][t(231)]()}}function Lt(){const t=["span","div","_model","Removed by","10jvvRxn","add","Suggested by","author","type","ck-annotation","2223Bsqvzt","focus","data","2261570HcpJmC","7POVaui","22552EiGSoa","name","Added by","changeId","11NEbdPD","element","2HLfRIr","373064FRJGYE","ck-revision-change","4326012TcQnTj","71472CVllYT","65AzsjPO","setTemplate","522465rFukEA","isSuggestion","ck-revision-change__label","set","ck-revision-change__","bindTemplate","606113LmEBNg"];return(Lt=function(){return t})()}const Pt=zt;function zt(t,e){const i=Lt();return(zt=function(t,e){return i[t-=299]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(377481===-parseInt(e(327))/1*(parseInt(e(314))/2)+-parseInt(e(321))/3+-parseInt(e(315))/4*(parseInt(e(332))/5)+-parseInt(e(318))/6*(-parseInt(e(307))/7)+parseInt(e(308))/8*(-parseInt(e(303))/9)+-parseInt(e(306))/10*(-parseInt(e(312))/11)+-parseInt(e(317))/12*(-parseInt(e(319))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Wt extends pt.View{[Pt(311)];[Pt(330)];constructor(t,e){const i=Pt;super(t),this[i(330)]=e,this[i(311)]=e.id;const s=this[i(326)],n=Q(t,e[i(305)][i(322)]?i(299):i(333)==e[i(301)]?i(310):i(331));this[i(324)](i(301),e[i(301)]),this[i(320)]({tag:i(329),attributes:{class:[i(302),i(316),s.to(i(301),(t=>i(325)+t))],tabindex:-1},children:[{tag:i(328),children:[{tag:i(328),attributes:{class:[i(323)]},children:[{text:n}]},{text:" "+e[i(300)][i(309)]}]}]})}[Pt(304)](){const t=Pt;this[t(313)][t(304)]()}}var Zt=Ut;function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=404]})(t,e)}function Ht(){var t=["3828cSSwgc","createdAt","9rYLCIv","1488AoJwHj","1297780KukKkn","8393yXaUcG","set","type","23780UIqWBO","data","rootName","66nkfpYR","6424930NaxmQP","357XGvSfU","author","84588VTXmrM","toJSON","5045dXfKoJ","304296jyblRm"];return(Ht=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(361833===-parseInt(e(421))/1+-parseInt(e(407))/2+parseInt(e(416))/3*(-parseInt(e(411))/4)+parseInt(e(420))/5*(-parseInt(e(414))/6)+parseInt(e(408))/7*(parseInt(e(406))/8)+-parseInt(e(405))/9*(parseInt(e(415))/10)+-parseInt(e(422))/11*(-parseInt(e(418))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Zt(417)];[Zt(410)];[Zt(412)];[Zt(413)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(417)]=e[i(417)],this[i(410)]=e[i(410)],this[i(412)]=e[i(412)]||{},this[i(413)]=e[i(413)],this[i(409)](i(404),e[i(404)])}[Zt(419)](){var t=Zt;return{id:this.id,authorId:this[t(417)].id,type:this[t(410)],data:this[t(412)],createdAt:this[t(404)]}}}const $t=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=376]})(t,e)}function Jt(){const t=["12339008RxRqnl","28386iNrDYZ","152796cgRZgo","newRevisionId","10aZnaed","changes","185NcuoAZ","oldRevisionId","_setChanges","1653988ejkBHN","add","348516jqUIjB","2510FEgcst","1147900hFtuVw","34327QobFzp"];return(Jt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(813066===parseInt(e(379))/1*(-parseInt(e(384))/2)+parseInt(e(376))/3+-parseInt(e(378))/4+-parseInt(e(386))/5*(parseInt(e(382))/6)+-parseInt(e(389))/7+parseInt(e(380))/8+-parseInt(e(381))/9*(-parseInt(e(377))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt{[$t(383)];[$t(387)];[$t(385)];constructor(e,i){const s=$t;this[s(383)]=e,this[s(387)]=i,this[s(385)]=new t.Collection}[$t(388)](t){const e=$t;for(const i of t)this[e(385)][e(390)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=te;function Qt(){const t=["domConverter","mapper","data","isAddSuggestion","has","revision","map","startIndex","attribute:vid","isCollapsed","revision-comment:","getAttribute","observeMarkers","markers","side","test","high","suggestion:","isInline","isNavigationMode","markerToHighlight","isContent","_joinTapes","endIndex","addRoot","destroy","ck-suggestion-preview-marker","_changeIdToChange","revision-suggestion:","error","numberOfChanges","mouseover","isIncorrect","merge","isAdded","_cleanUp","bottom","getWalker","change:isReady","clear","vid","checkAttribute","80oEodID","RevisionsRepository","isRemoveSuggestion","return","suggestion","change:numberOfChanges","24905HtLtSH","isEqual","refresh","next","highest","previousPosition","newRevisionId","_sortAndFilterDiffChanges","-new","startsWith","authors","stop","createPositionBefore","flat","isAttached","comment","_makeModelFromTape","roots","revision:","concat","attachChange","deletions","selection","getLaterVisibleRevision","3350928KBSZJT","domEvent","toViewElement","createPositionFromPath","writer","element:pre","find","push","markerName","changeId","right","addMarker:revision","removeMarker:revision-suggestion","635022yboDIX","vid_end","getRevisionDocumentData","_getDiff","ck-suggestion-marker-split","_removeMissingPairs","dataDowncast","isAfter","parent","activeView","keys","isReady","ck-revision-history-root-add","_makeTape","bindElementToMarker","change:activeView","markersStart","distance","_balloon","pairId","top","isPremiumPlugin","markerToData","634299oFhjme","type","end","enableReadOnlyMode","affectsData","updatePosition","editingDowncast","slice","getCustomProperty","done","addHighlight","createUIElement","change","isSuggestion","addMarker:revision-suggestion:deletion","splice","ck-revision-history-root--active","data-change-id","attributesAfter","activeChange","locale","unbindElementFromMarkerName","_getChangeFromId","findIndex","rootName","isEnabled","indexOf","revisionHistory","loadRevisionData","isAtEnd","nextPosition","1356523GJunSB","_getViewForChange","requires","isObject","_markMarkers","getRevisionRootsAttributes","index","downcastDispatcher","values","level","_removeUnsupportedChanges","_refreshStartEndIndex","maxOffset","_markInsertions","elementEnd","init","vid_start","filter","for","_appendChild","target","_revisions","insertions","set","revision-viewer","offsetSize","_fixObsoleteTags","editor","2004024eghevS","_utils","left","low","all","getRootNames","getRoot","ck-suggestion-marker-merge","consumable","_data","getDomRoot","_activeViewTarget","upcast","delete","showPreviousChange","change:isEnabled","forceDisabled","start","view","markerRange","deletion","add","abs","plugins","removeMarker","forward","ck-editor__editable__overlay","_cleanMarkers","dataToMarker","ck-revision-history-root-remove","6RvzvyZ","schema","getItems","addRevision","_step","isAtStart","wrap","change:activeChange","createRevision","removeAttribute","first","getChild","elementToAttribute","1108xBFmwu","listenTo","pluginName","hasClass","isOnRoot","getIndex","651936RhRlPS","then","diffData","nodeAfter","code","mousedown","restoreRevision","_setChanges","object","viewItem","detachRoot","softBreak","document","RevisionViewer","createAttributeElement","shift","getRevision","commands","sort","catch","createRangeIn","ck-suggestion-marker","includes","attributesBefore","from","range","_markSuggestions","get","name","model","markersEnd","enqueueChange","span","consume","_findChangeIdFromDomTarget","ck-suggestion-marker--active","_setConversion","string","split","isBlock","compare","config","addClass","oldRevisionId","setAttribute","toViewPosition","execute","removeClass","isRemoved","elementStart","addRevisionData","hasAttribute","pop","diff","_initInteractions","userId","markerNameToElements","toViewRange","insertion","element","adapter","ck-revision-history-root-","remove","showNextChange","getAttributes","length","forEach","_getRevisionsRange","ck-suggestion-preview-marker-","reconvertMarker","_processTape","_makeModelFromViewString","revisionHistoryAttachChange","restoreRevisionCallback","mapViewToDom","isOfficialPlugin","_markMismatchedRemovedTags","currentChangeNumber","editing","item","revisionHistoryLabel","addMarker:revision-suggestion:insertion","nextSibling","isLimit","text","unshift","showStack","insert","attributes","repository","changes","bind","uiElement","_update","RevisionHistoryUtils","WidgetToolbarRepository","backward","removeMarker:revision","conversion","_changeView","resolve","revision-suggestion","POSITIVE_INFINITY","_setDistance","_threeWayMerge","getClientRects","isBefore","modelRange","ck-suggestion-marker-","createRange"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=148]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(746521===parseInt(e(453))/1+-parseInt(e(186))/2+-parseInt(e(235))/3+-parseInt(e(229))/4*(-parseInt(e(393))/5)+-parseInt(e(216))/6*(parseInt(e(158))/7)+-parseInt(e(417))/8+-parseInt(e(430))/9*(-parseInt(e(387))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends Z.Plugin{[Xt(324)];[Xt(295)]=null;[Xt(187)];[Xt(197)];[Xt(334)];[Xt(372)];[Xt(448)];static get[Xt(231)](){return Xt(248)}static get[Xt(310)](){return!0}static get[Xt(451)](){return!0}static get[Xt(160)](){return[U.Users,pt.ContextualBalloon,J,K]}constructor(t){const e=Xt;super(t),this[e(324)]=this[e(185)][e(209)][e(262)](e(388)),this[e(187)]=this[e(185)][e(209)][e(262)](e(329)),this[e(181)](e(472),null),this[e(181)](e(439),null),this[e(197)]=null,this[e(181)](e(288),null),this[e(181)](e(441),!1),this[e(181)](e(152),!0),this.on(e(201),((t,i,s)=>{const n=e;this[n(472)]=null,this[n(439)]=null,this[n(185)][n(313)][n(204)][n(465)]((t=>{const e=n;for(const i of this[e(185)][e(313)][e(204)][e(247)][e(410)])s?t[e(282)](e(212),i):t[e(277)](e(212),i)}))})),this[e(326)](e(364)).to(this,e(472),(t=>null!==t)),this[e(326)](e(312)).to(this,e(441),this,e(288),this,e(472),((t,i,s)=>t&&s?i[e(325)][e(234)](s):0)),this[e(326)](e(375)).to(this,e(441),this,e(288),((t,i)=>t?i[e(325)][e(300)]:0)),this[e(334)]=null,this[e(372)]=new Map,this[e(448)]=this[e(185)][e(209)][e(262)](pt.ContextualBalloon)}[Xt(173)](){const t=Xt,e=this[t(185)],i=new ne(e,{direction:t(331)}),s=new ne(e,{direction:t(211)});e[t(252)][t(207)](t(200),i),e[t(252)][t(207)](t(298),s),e[t(252)][t(207)](t(241),new se(e)),this.on(t(392),(()=>{const e=t;i[e(395)](),s[e(395)]()})),this[t(271)](),this[t(289)](),e[t(456)](t(182)),e[t(209)][t(349)](t(330))&&e[t(209)][t(262)](t(330))[t(202)](t(182))}async[Xt(432)](t){const e=Xt;return await this[e(187)][e(155)](t,this[e(295)]),this[e(187)][e(432)](t)}async[Xt(163)](t){const e=Xt;return await this[e(187)][e(155)](t,this[e(295)]),this[e(187)][e(163)](t)}async[Xt(275)](t,e,i=!1){const s=Xt;if(!this[s(152)])return;const n=this[s(288)],r=this[s(324)],o=s(272)==typeof t?r[s(251)](t):t,a=s(272)==typeof e?r[s(251)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(288)]&&this[s(288)][s(399)]===c&&this[s(288)][s(278)]===u)return Promise[s(335)]();this[s(441)]=!1,this[s(439)]=null,this[s(472)]=null,this[s(288)]=new Yt(c,u);const l=this[s(302)](o,a,!0)[s(351)]((t=>this[s(187)][s(155)](t,this[s(295)])));return l[s(424)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(190)](l)[s(236)]((()=>{const t=s;if(!this[t(152)])return;this[t(380)]();const e=this[t(433)](c,u);for(const i of e[t(325)])this[t(372)][t(181)](i.id,i);this[t(185)][t(264)][t(266)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(185)][s(264)][s(247)][s(191)]())i[s(245)](t);for(const t of Object[s(440)](e[s(264)])){const n=i[s(369)](t);for(const r of Object[s(440)](e[s(323)][t]))i[s(279)](r,e[s(323)][t][r],n);i[s(322)](e[s(264)][t],n,0)}})),this[t(288)][t(242)](this[t(400)](e[t(325)])),this[t(441)]=!0}))[s(254)]((t=>{const e=s;console[e(374)](t),this[e(380)](),n&&(this[e(288)]=n),this[e(441)]=!0}))}[Xt(285)](t,e){const i=Xt,s=this[i(324)][i(224)](t);return s.on(i(328),((t,i,n)=>e(i,n,s))),this[i(324)][i(219)](s),s}[Xt(380)](){const t=Xt;this[t(472)]=null,this[t(213)](),this[t(334)]&&this[t(334)][t(370)](),this[t(334)]=null,this[t(372)][t(384)](),this[t(185)][t(264)][t(266)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(185)][i(264)][i(247)][i(191)]())e[i(245)](t)}))}[Xt(400)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(185)][e(264)][e(247)][e(191)]()){const n=this[e(185)][e(313)][e(204)][e(196)](t);if(!n)continue;const r=n[e(340)]()[e(314)](0);r&&(i[e(424)](t),s[e(181)](t,r))}return i[e(253)](((t,i)=>{const n=e,r=s[n(262)](t),o=s[n(262)](i);return r.y-o.y||r.x-o.x})),(t=t[e(175)]((t=>i[e(257)](t[e(151)]))))[e(253)](((t,s)=>i[e(153)](t[e(151)])-i[e(153)](s[e(151)]))),t}[Xt(443)](t){const e=Xt,i=Array[e(259)](t[e(358)])[e(175)]((([t,i])=>t[e(402)](e(411))&&!i[e(354)])),s=Array[e(259)](this[e(185)][e(264)][e(255)](t)[e(382)]({singleCharacters:!0}));if(0!=i[e(300)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(273)](":");if(n[e(455)][e(394)](t[e(157)])&&i[e(250)](),(t[e(398)][e(394)](n[e(203)])||t[e(398)][e(437)](n[e(203)]))&&(e(293)==r?t[e(379)]={userId:o}:e(206)==r&&(t[e(283)]={userId:o})),0==i[e(300)])break}return s}[Xt(169)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(300)];s++)e(319)===t[s][e(454)]?(t[s][e(314)][e(352)]=s,t[s][e(314)][e(368)]=s):(e(284)===t[s][e(454)]?t[s][e(314)][e(352)]=s:e(172)===t[s][e(454)]&&(t[s][e(314)][e(368)]=s),i[e(181)](t[s].id,s));for(const s of i[e(166)]())e(284)===t[s][e(454)]?t[s][e(314)][e(368)]=i[e(262)](t[s][e(449)]):e(172)===t[s][e(454)]&&(t[s][e(314)][e(352)]=i[e(262)](t[s][e(449)]))}[Xt(305)](t){const e=Xt;for(let i=0;i<t[e(300)];i++){if(e(284)===t[i][e(454)])t[i][e(314)][e(352)]=i;else if(e(172)===t[i][e(454)]){t[i][e(314)][e(368)]=i;const s=t[i][e(314)][e(352)];t[s][e(449)]=t[i].id,t[i][e(449)]=t[s].id}else t[i][e(314)][e(352)]=i,t[i][e(314)][e(368)]=i,t[i][e(449)]=null;t[i][e(446)]||(t[i][e(446)]=[],t[i][e(265)]=[])}}[Xt(171)](t,e){const i=Xt,s=t[i(175)]((t=>!t[i(379)]));for(let t=0;t<e[i(300)];t++)e[t][i(379)]&&(s[t][i(379)]=e[t][i(379)])}[Xt(433)](t,e=null){const i=Xt,s=this[i(324)][i(251)](t),n=e?this[i(324)][i(251)](e):null,r=this[i(302)](s,n),o=r[r[i(300)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(300)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(440)](e[i(237)]))if(e[i(237)][t][i(413)]){const s=e[i(237)][t][i(413)];s[i(407)]?(u[i(207)](t),l[i(349)](t)&&l[i(262)](t)[i(290)]==s[i(290)]?l[i(199)](t):l[i(181)](t,s)):l[i(349)](t)?(u[i(199)](t),l[i(199)](t)):(u[i(207)](t),l[i(181)](t,s))}else u[i(207)](t)}for(const t of u){const e=l[i(349)](t)&&!l[i(262)](t)[i(407)];let s=e?r[i(300)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(237)][t]){const s=e?o[i(237)][t][i(258)]:o[i(237)][t][i(471)];c[i(323)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(264)]={};for(const e of t[i(403)])a[i(181)](e.id,e);for(const e of u){const s=t[i(237)][e]?t[i(237)][e][i(180)]:"[]",n=t[i(237)][e]?t[i(237)][e][i(414)]:"[]";t[i(264)][e]={insertions:this[i(187)][i(306)](s),deletions:this[i(187)][i(306)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(259)](s[i(264)][t][i(180)][i(358)])[i(175)]((([t])=>!t[i(402)](i(411)))));let h=0;for(const o of r){const r=this[i(443)](o[i(264)][t][i(180)]);o==s?(e=r,n=e[i(300)],e[i(301)]((t=>{t.id=h++})),this[i(305)](e)):this[i(171)](e,r);const a=e[i(175)]((t=>!t[i(379)]))[i(351)]((t=>t.id));let c=0;const l=this[i(443)](o[i(264)][t][i(414)]);l[i(301)]((t=>{t[i(283)]?t.id=n++:t.id=a[c++]})),this[i(305)](l),this[i(338)](e,i(379)),this[i(338)](l,i(283)),o==s&&this[i(162)](e,u),e=this[i(367)](e,l),this[i(169)](e),this[i(338)](e,i(283))}e=e[i(175)]((t=>!(t[i(379)]&&t[i(283)])));const d=new Map(o[i(264)][t][i(414)][i(358)]),f=new Set(u[i(440)]());for(const t of d[i(440)]())f[i(199)](t);this[i(261)](e,f),this[i(184)](e),e=this[i(435)](e),e=this[i(311)](e),e=this[i(168)](e);const{root:m,changes:p}=this[i(409)](e,a,t);c[i(264)][t]=m;const v=l[i(262)](t);if(v){const e=a[i(262)](v[i(290)]),s=new qt({author:e,type:v[i(407)]?i(207):i(297),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(320)](s),c[i(323)][t][i(307)]=s.id}c[i(325)]=c[i(325)][i(412)](p)}return c}[Xt(162)](t,e){const i=Xt;for(let s=0;s<t[i(300)];s++)for(const[n,r]of e)!r[i(354)]&&r[i(203)][i(394)](t[s][i(398)])&&t[s][i(446)][i(424)](n),r[i(455)][i(394)](t[s][i(157)])&&t[s][i(265)][i(424)](n)}[Xt(367)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(300)]||r<e[i(300)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(424)](o);else if(a[i(283)]&&o[i(379)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(339)](t,n,e,r);s=s[i(412)](o),n=a,r=c}else a[i(283)]?(r++,s[i(424)](a)):(n++,s[i(424)](o))}return s}[Xt(261)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(300)];o++){for(let r=0;r<t[o][i(446)][i(300)];r++){const a=t[o][i(446)][r];if(!e[i(349)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(336)!=c||i(293)!=u&&i(206)!=u||(s[i(320)]({type:u,name:a,userId:l}),t[o][i(446)][i(468)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(265)][i(300)];r++){const a=t[o][i(265)][r];if(!e[i(349)](a))continue;const{group:c,type:u}=n(a);if(i(336)!=c||i(293)!=u&&i(206)!=u)continue;t[o][i(265)][i(468)](r,1),r--;const l=s[i(150)]((t=>t[i(263)]==a));l>-1&&s[i(468)](l,1)}}function n(t){const e=i,s=t[e(273)](":");return{group:s[0],type:s[1],subType:s[e(300)]>=5?s[2]:null,id:s[e(300)]<5?s[2]:s[3],authorId:s[e(300)]<5?s[3]:s[4],markerCount:6==s[e(300)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(300)];i++){if(t[e(379)]&&e(293)==s[i][e(454)])return t[e(348)]=s[i],void delete t[e(379)];if(!t[e(379)]&&!t[e(283)]&&e(206)==s[i][e(454)])return void(t[e(389)]=s[i])}}}[Xt(338)](t,e){const i=Xt;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(181)](o.id,s);for(let s=0;s<t[i(300)];s++){if(i(283)==e&&t[s][i(379)]||i(379)==e&&t[s][i(283)])continue;if(i(319)==t[s][i(454)]){t[s][i(447)]=0;continue}const n=r[i(262)](t[s][i(449)]),o=r[i(262)](t[s].id);t[s][i(447)]=n-o}}[Xt(302)](t,e,i=!1){const s=Xt,n=[];let r=this[s(324)][s(234)](t),o=this[s(324)][s(234)](e);for(-1==o&&(o=this[s(324)][s(179)][s(300)],i=!1);r<o;)n[s(424)](this[s(324)][s(251)](r)),r++;return i&&n[s(424)](this[s(324)][s(251)](r)),n}[Xt(339)](t,e,i,s){const n=Xt,r=this[n(185)][n(264)][n(217)];let o=e;for(;t[o]&&t[o][n(379)];)o++;let a=s;for(;i[a]&&i[a][n(283)];)a++;u(t,e,o),u(i,s,a);const c=i[n(460)](s,a)[n(412)](t[n(460)](e,o));return c[n(253)](((t,e)=>t[n(359)]!=e[n(359)]?t[n(359)]-e[n(359)]:t[n(167)]!=e[n(167)]?t[n(167)]-e[n(167)]:t[n(447)]!=e[n(447)]?e[n(447)]-t[n(447)]:!!t[n(379)]!=!!e[n(379)]?-1==t[n(359)]||0==t[n(359)]?t[n(379)]?-1:1:t[n(379)]?1:-1:t[n(164)]-e[n(164)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(337)],c=!0;for(let n=e;n<i;n++)if(r[s(363)](t[n][s(314)])||(c=!1),t[n][s(314)][s(352)]<e&&(o=n),t[n][s(314)][s(368)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(359)]=n<=o?-1:n<a?0:1,t[n][s(164)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(447)]?t[i][s(167)]=u:(u++,t[i][s(167)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(359)]&&(t[n][s(167)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(447)]?t[e][s(167)]=u:(u--,t[e][s(167)]=u,u--)}}[Xt(184)](t){const e=Xt,i=new Map,s=this[e(185)][e(264)][e(217)];for(let n=1;n<t[e(300)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(319)==c[e(454)])continue;if(c[e(454)]!=u[e(454)])continue;if(!s[e(274)](u[e(314)])||s[e(318)](u[e(314)]))continue;if(!s[e(274)](c[e(314)])||s[e(318)](c[e(314)]))continue;if((t[n][e(379)]||t[n][e(348)])&&t[n-1][e(283)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(283)]||!t[n-1][e(379)]&&!t[n-1][e(348)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(167)]==o[e(167)],h=Math[e(208)](r[e(167)])<Math[e(208)](o[e(167)])&&0==o[e(447)];(l||h)&&(i[e(181)](o.id,r.id),t[e(468)](a,1),n--,r[e(379)]=!1)}for(let s=0;s<t[e(300)];s++)i[e(349)](t[s][e(449)])&&(t[s][e(449)]=i[e(262)](t[s][e(449)]))}[Xt(435)](t){const e=Xt,i=new Set(t[e(351)]((t=>t.id)));for(let s=0;s<t[e(300)];s++)i[e(349)](t[s][e(449)])||0==t[s][e(447)]||(t[s][e(377)]=!0);return t[e(175)]((t=>!t[e(377)]))}[Xt(311)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(300)];s++){if(i[e(349)](t[s].id)&&t[s][e(283)]&&(t[s][e(377)]=!0),t[s][e(377)])continue;if(0==t[s][e(447)])continue;if(e(284)!=t[s][e(454)])continue;if(null==t[s][e(449)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(449)];)e(284)==t[n][e(454)]?r++:e(172)==t[n][e(454)]&&r--,n++;if(0!=r)if(t[s][e(283)])t[s][e(377)]=!0;else for(;n!=s;)t[n][e(283)]&&0!=t[n][e(447)]&&(t[n][e(377)]=!0,i[e(207)](t[n][e(449)])),n--}return t[e(175)]((t=>!t[e(377)]))}[Xt(168)](t){const e=Xt,i=this[e(185)][e(264)][e(217)];for(let s=0;s<t[e(300)];s++){if(!(t[s][e(379)]||t[s][e(348)]||t[s][e(283)]||t[s][e(389)]))continue;if(0==t[s][e(447)])continue;const n=t[s][e(314)];i[e(274)](n)||i[e(318)](n)||(t[s][e(379)]&&delete t[s][e(379)],t[s][e(348)]&&delete t[s][e(348)],t[s][e(389)]&&delete t[s][e(389)],t[s][e(283)]&&(t[s][e(377)]=!0))}return t[e(175)]((t=>!t[e(377)]))}[Xt(409)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(185)][s(264)],c=a[s(217)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(300)];e++)if(s(284)===t[e][s(454)]){t[e][s(398)]=a[s(420)](n,f);const i=new H.Element(t[e][s(314)][s(263)],t[e][s(314)][s(299)]());u[0][s(177)](i),f[s(424)](0),u[s(320)](i),t[e][s(157)]=a[s(420)](n,f)}else s(172)===t[e][s(454)]?(u[s(250)](),t[e][s(398)]=a[s(420)](n,f),f[s(287)](),f[f[s(300)]-1]++,t[e][s(157)]=a[s(420)](n,f)):(t[e][s(398)]=a[s(420)](n,f),d?d[s(195)]+=t[e][s(314)][s(347)]:d=new H.Text(t[e][s(314)][s(347)],t[e][s(314)][s(299)]()),t[e+1]&&s(319)===t[e+1][s(454)]&&v(d,t[e+1][s(314)])||(u[0][s(177)](d),d=null),f[f[s(300)]-1]+=t[e][s(314)][s(183)],t[e][s(157)]=a[s(420)](n,f));for(let e=0;e<t[s(300)];e++){const i=t[e][s(398)],n=t[e][s(157)];for(const n of t[e][s(446)])o[s(181)](n,{start:i,end:null});m(s(389),e,i,n),m(s(348),e,i,n),m(s(283),e,i,n),m(s(379),e,i,n);for(const i of t[e][s(265)]){const t=o[s(262)](i);t?t[s(455)]=n:o[s(181)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(185)][s(264)][s(344)](e[s(203)],e[s(455)]);n[s(358)][s(181)](t,i)}return r[s(253)](((t,e)=>{const i=s,r=n[i(358)][i(262)](i(411)+t.id),o=n[i(358)][i(262)](i(411)+e.id);return r[i(203)][i(341)](o[i(203)])?-1:r[i(203)][i(437)](o[i(203)])?1:r[i(455)][i(341)](o[i(455)])?-1:r[i(455)][i(437)](o[i(455)])?1:i(207)===t[i(454)]?-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(290)]:null,d=i===t[o(300)]-1,f=h[e][0],m=c[o(161)](t[i][o(314)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(455)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(290)]!==u&&(l[e][o(455)]=n,f&&f[o(290)]===l[e][o(290)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(284)!==t[i][o(454)]||f&&f[o(290)]===u||h[e][o(320)]({userId:u,object:t[i][o(314)],change:l[e]}),o(172)===t[i][o(454)]&&f&&f[o(243)]===t[i][o(314)]&&(h[e][o(250)](),l[e]=f[o(465)])),l[e]&&d&&(l[e][o(455)]=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(314)],f=a[h(217)][h(274)](d)&&!a[h(217)][h(318)](d),m=t[h(238)]==o[h(438)]&&o[h(221)];if(f&&m)return;const p=a[h(344)](t,o),v=e[h(262)](u),g=new qt({author:v,type:h(379)==l||h(348)==l?h(207):h(297),data:{isSuggestion:h(348)==l||h(389)==l},createdAt:new Date,rootName:i});r[h(424)](g),n[h(358)][h(181)](h(411)+g.id,p)}function v(t,e){const i=s,n=t[i(299)](),r=e[i(299)]();for(const t of n){if(t[1]!==e[i(356)](t[0]))return!1;r[i(396)]()}return r[i(396)]()[i(462)]}}[Xt(271)](){const t=Xt;this[t(185)][t(333)][t(176)](t(198))[t(214)]({view:t(350)}),this[t(185)][t(333)][t(176)](t(459))[t(365)]({model:t(350),view:e=>{const i=t,s=e[i(425)][i(273)](":")[1],n=this[i(149)](s);if(!n)return null;const r=i(207)==n[i(454)]?i(293):i(206),o=[i(256),i(343)+r];return n[i(347)][i(466)]&&o[i(424)](i(343)+r+i(401)),this[i(472)]==n&&o[i(424)](i(270)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(185)][t(333)][t(176)](t(198))[t(207)]((e=>{const i=t;e.on(i(422),((t,e,s)=>{const n=i,r=e[n(244)][n(227)](0);if(!r||!r.is(n(294),n(239)))return;if(!s[n(194)][n(268)](r,{attributes:[n(174),n(431)]}))return;const o=e[n(342)][n(203)][n(238)];s[n(421)][n(279)](n(174),r[n(356)](n(174)),o),s[n(421)][n(279)](n(431),r[n(356)](n(431)),o)}),{priority:i(189)})})),this[t(185)][t(333)][t(176)](t(198))[t(207)]((e=>{const i=t;e.on(i(294),((t,e,s)=>{const n=i;if(!s[n(194)][n(268)](e[n(244)],{attributes:[n(174),n(431)]}))return;if(e[n(342)][n(354)])return;const r=e[n(342)][n(203)][n(238)];r[n(286)](n(174))||r[n(286)](n(385))||(s[n(421)][n(279)](n(174),e[n(244)][n(356)](n(174)),r),s[n(421)][n(279)](n(431),e[n(244)][n(356)](n(431)),r))}),{priority:i(189)})})),this[t(185)][t(333)][t(176)](t(198))[t(228)]({view:{name:t(267),attributes:{vid:!0}},model:{key:t(385),value:e=>e[t(356)](t(385))}}),this[t(185)][t(264)][t(217)].on(t(386),((e,[,i])=>{const s=t;[s(174),s(431),s(385)][s(257)](i)&&(e[s(390)]=!0,e[s(404)]())}),{priority:t(397)}),this[t(185)][t(333)][t(176)](t(436))[t(207)]((e=>{const i=t;e.on(i(353),((t,e,s)=>{const n=i;if(" "!=e[n(314)][n(347)]||e[n(314)][n(438)][n(170)]>1)return;if(!s[n(194)][n(268)](e[n(314)],t[n(263)]))return;const r=s[n(421)],o=s[n(346)][n(292)](e[n(260)]);r[n(222)](o,r[n(249)](n(267)))}))})),this[t(185)][t(333)][t(176)](t(436))[t(452)]({model:t(350)}),this[t(185)][t(313)][t(165)].on(t(428),function(e){const i=t,s=e[i(209)][i(262)](i(248));return(t,n,r)=>{const o=i,a=n[o(425)][o(273)](":")[1],c=s[o(149)](a);if(!c)return null;const u=o(207)==c[o(454)]?o(273):o(378);if(!r[o(194)][o(360)](n[o(205)],t[o(263)]))return;const l=n[o(205)][o(382)](),h=n[o(205)][o(203)],d=e[o(264)][o(217)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(314)];p=p||d[o(366)](e);const i=r[o(346)][o(419)](e);if(i&&i[o(461)](o(463)))return;o(172)==t[o(454)]&&d[o(274)](e)&&!d[o(318)](e)&&(e[o(317)]||h[o(156)]?f&&f[o(438)]==e||(f=e,g(t[o(398)]),v=!0):m=m||t[o(398)])}function g(t){const e=o,i=r[e(421)][e(464)](e(267),{class:e(343)+u}),a=r[e(346)][e(280)](t);c[e(347)][e(466)]&&r[e(421)][e(277)](e(343)+u+e(401),i),s[e(472)]==c&&r[e(421)][e(277)](e(270),i),r[e(421)][e(322)](a,i),r[e(346)][e(444)](i,n[e(425)])}p||v||!m||g(m)}}(this[t(185)]),{priority:t(361)}),this[t(185)][t(313)][t(165)].on(t(332),((e,i,s)=>{const n=t,r=s[n(346)][n(291)](i[n(425)]);if(r)for(const t of r)(t[n(232)](n(434))||t[n(232)](n(193)))&&(s[n(346)][n(148)](t,i[n(425)]),s[n(421)][n(297)](t))}),{priority:t(361)}),this[t(185)][t(313)][t(165)].on(t(428),((e,i,s)=>{const n=t,r=i[n(425)][n(273)](":")[1],o=this[n(149)](r);if(!o)return null;const a=n(207)==o[n(454)]?n(273):n(378);if(s[n(194)][n(360)](i[n(205)],e[n(263)]))for(const t of i[n(205)][n(218)]()){if(!t.is(n(294),n(246)))continue;const e=s[n(421)][n(464)](n(267),{class:n(343)+a}),r=s[n(346)][n(280)](this[n(185)][n(264)][n(405)](t));o[n(347)][n(466)]&&s[n(421)][n(277)](n(343)+a+n(401),e),this[n(472)]==o&&s[n(421)][n(277)](n(270),e),s[n(421)][n(322)](r,e),s[n(346)][n(444)](e,i[n(425)])}}),{priority:t(361)}),this[t(185)][t(264)][t(247)].on(t(465),(()=>{const e=t;this[e(185)][e(313)][e(204)][e(465)]((t=>{const i=e;for(const e of this[i(185)][i(264)][i(247)][i(191)]()){const s=this[i(185)][i(264)][i(247)][i(192)](e),n=this[i(185)][i(313)][i(204)][i(247)][i(192)](e);if(n){const e=s[i(356)](i(307));if(t[i(225)](i(470),n),t[i(282)](i(442),n),t[i(282)](i(215),n),t[i(282)](i(469),n),e){const s=this[i(149)](e);if(!s)return null;t[i(279)](i(470),e,n),t[i(277)](i(296)+s[i(454)],n),this[i(472)]==s&&t[i(277)](i(469),n)}}}}))})),this[t(185)][t(333)][t(176)](t(198))[t(214)]({view:t(408),model:e=>t(355)+e,converterPriority:t(397)}),this[t(185)][t(333)][t(176)](t(198))[t(214)]({view:t(391),model:e=>t(373)+e,converterPriority:t(397)}),this[t(185)][t(333)][t(176)](t(436))[t(452)]({model:t(336),view:e=>({name:t(362)+e,group:t(336)}),converterPriority:t(397)}),this[t(185)][t(333)][t(176)](t(459))[t(365)]({model:t(336),view:e=>{const i=t,s=e[i(425)][i(273)](":")[1];return i(293)!=s&&i(206)!=s?null:{classes:[i(371),i(303)+s]}}}),this[t(185)][t(313)][t(165)].on(t(467),ie(this[t(185)],t(378)),{priority:t(361)}),this[t(185)][t(313)][t(165)].on(t(316),ie(this[t(185)],t(273)),{priority:t(361)}),this[t(185)][t(313)][t(165)].on(t(429),((e,i,s)=>{const n=t,r=s[n(346)][n(291)](i[n(425)]);if(r)for(const t of r)t.is(n(327))&&(s[n(346)][n(148)](t,i[n(425)]),s[n(421)][n(297)](t))}),{priority:t(361)})}[Xt(149)](t){const e=Xt;return this[e(372)][e(262)](t)}[Xt(159)](t){const e=Xt;return this[e(334)]&&this[e(334)][e(370)](),this[e(334)]=new Wt(this[e(185)][e(473)],t),this[e(334)]}[Xt(289)](){const t=Xt;this[t(185)][t(264)][t(247)][t(415)][t(357)](t(350)),this.on(t(445),((e,i,s,n)=>{const r=t;n&&this[r(448)][r(297)](n),s&&(this[r(448)][r(207)]({view:s,stackId:r(315),position:{target:()=>{const t=r,e=this[t(185)][t(313)],i=this[t(149)](s[t(426)]);let n;if(i[t(347)][t(233)]){const s=e[t(204)][t(196)](i[t(151)]);n=Array[t(259)](s[t(340)]())}else{const i=this[t(185)][t(264)][t(358)][t(262)](t(411)+s[t(426)]);n=Array[t(259)](e[t(346)][t(291)](i[t(263)]))[t(351)]((i=>e[t(204)][t(345)][t(309)](i)))[t(351)]((e=>Array[t(259)](e[t(340)]())))[t(406)]()}return this[t(197)]&&n[t(423)]((e=>e[t(450)]-3<=this[t(197)].y&&e[t(381)]+3>=this[t(197)].y&&e[t(188)]-3<=this[t(197)].x&&e[t(427)]+3>=this[t(197)].x))||n[0]}}}),this[r(448)][r(321)](r(315)))})),this.on(t(223),((e,i,s,n)=>{const r=t;this[r(439)]=s?this[r(159)](s):null,this[r(185)][r(264)][r(465)]((()=>{const t=r,e=this[t(185)][t(313)];n&&(n[t(347)][t(233)]?e[t(204)][t(465)]((i=>{const s=t;i[s(282)](s(469),e[s(204)][s(247)][s(192)](n[s(151)]))})):e[t(304)](t(411)+n.id)),s&&(s[t(347)][t(233)]?e[t(204)][t(465)]((i=>{const n=t;i[n(277)](n(469),e[n(204)][n(247)][n(192)](s[n(151)]))})):e[t(304)](t(411)+s.id))}))})),this[t(230)](this[t(185)][t(313)][t(204)][t(247)],t(376),((e,i)=>{const s=t;if(this[s(472)])return;const n=this[s(269)](i[s(178)]),r=this[s(372)][s(262)](n);r?(this[s(197)]={x:i[s(418)].x,y:i[s(418)].y},this[s(439)]=this[s(159)](r)):(this[s(197)]=null,this[s(439)]=null)})),this[t(230)](this[t(185)][t(313)][t(204)][t(247)],t(240),((e,i)=>{const s=t,n=this[s(269)](i[s(178)]),r=this[s(372)][s(262)](n);r?(this[s(197)]={x:i[s(418)].x,y:i[s(418)].y},r===this[s(472)]?this[s(448)][s(458)]():this[s(472)]=r):(this[s(197)]=null,this[s(472)]=null)}))}[Xt(269)](t){const e=Xt;do{const i=t[e(356)](e(470));if(i)return i;t=t[e(438)]}while(t);return null}[Xt(213)](){const t=Xt;this[t(185)][t(264)][t(465)]((e=>{const i=t;for(const t of this[i(185)][i(264)][i(358)])e[i(210)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(194)][r(360)](s[r(205)],i[r(263)]))return;const o=s[r(205)][r(382)](),a=s[r(205)][r(203)],c=t[r(264)][r(217)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(314)];h=h||c[r(366)](e);const i=n[r(346)][r(419)](e);if(i&&i[r(461)](r(463)))return;r(172)==t[r(454)]&&c[r(274)](e)&&!c[r(318)](e)&&(e[r(317)]||a[r(156)]?u&&u[r(438)]==e||(u=e,f(t[r(398)]),d=!0):l=l||t[r(398)])}function f(t){const i=r,o=n[i(346)][i(280)](t),a=n[i(421)][i(464)](i(267),{class:i(303)+e});n[i(421)][i(322)](o,a),n[i(346)][i(444)](a,s[i(425)])}h||d||!l||f(l)}}class se extends Z.Command{constructor(t){const e=Xt;super(t);const i=t[e(209)][e(262)](ee);this[e(457)]=!1,this[e(230)](i,e(383),(()=>this[e(395)]())),this[e(230)](i,e(201),(()=>this[e(395)]()))}[Xt(281)](){const t=Xt,e=this[t(185)],i=e[t(209)][t(262)](ee),s=i[t(441)]?i[t(288)][t(399)]:null;e[t(276)][t(262)](t(154))[t(308)](s)}[Xt(395)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(185)][t(209)][t(262)](ee),r=n&&s[t(416)](n[t(399)]);this[t(152)]=e&&i&&Boolean(r)}}class ne extends Z.Command{[Xt(220)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(209)][i(262)](ee);this[i(457)]=!1,this[i(220)]=i(211)===e?1:-1,this[i(230)](s,i(383),(()=>this[i(395)]())),this[i(230)](s,i(201),(()=>this[i(395)]())),this[i(230)](s,i(223),(()=>this[i(395)]()))}[Xt(281)](){const e=Xt,i=this[e(185)],s=i[e(209)][e(262)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(472)]=n?s[e(288)][e(325)][e(262)](r+this[e(220)]):s[e(288)][e(325)][e(226)],s[e(472)][e(347)][e(233)])o=i[e(313)][e(204)][e(196)](s[e(472)][e(151)]);else{const t=i[e(264)][e(358)][e(262)](e(411)+s[e(472)].id);o=(0,U.getMarkerDomElement)(i[e(313)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(395)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(185)][t(209)][t(262)](ee);this[t(152)]=!!(r&&n&&s)&&(!e||(1===this[t(220)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=408]})(t,e)}function ce(){const t=["numberOfChanges","EDIT_X_OF_Y_REVISIONS","No changes","1225563asxZQG","ck-revision-history-ui__changes-navigation","X_OF_Y_CHANGES","ck-hidden","div","ck-revision-history-ui__changes-navigation__label","906276aMcSuC","Loading...","NUMBER_OF_CHANGES","bind","isReady","ck-revision-history-ui__changes-navigation__wrapper","Total","406EaaziS","execute","isNavigationMode","_isStatusLabelVisible","Show next change","set","span","isEnabled","forward","20VuKCOM","Show previous change","isForwardNavigationEnabled","bindTemplate","ck-revision-history-ui__changes-navigation__navigation","setTemplate","backward","1258464iBAZFx","1329039PXpUDF","_statusText","currentChangeNumber","1014MVIrnL","200370FxEtNt","40fjALhZ","fire","isBackwardNavigationEnabled","6492bttcBJ","ck-revision-history-ui"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(218602===-parseInt(e(444))/1*(parseInt(e(433))/2)+-parseInt(e(411))/3+parseInt(e(417))/4+parseInt(e(445))/5+parseInt(e(449))/6*(-parseInt(e(424))/7)+-parseInt(e(440))/8+parseInt(e(441))/9*(parseInt(e(446))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(436)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(429)](e(426),!1),this[e(429)](e(421),!1),this[e(429)](e(443),0),this[e(429)](e(408),0),this[e(429)](e(435),!1),this[e(429)](e(448),!1),this[e(420)](e(427)).to(this,e(421),this,e(408),((t,e)=>t&&e>0)),this[e(420)](e(442)).to(this,e(421),this,e(443),this,e(408),this,e(426),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(418));if(!n)return Q(t,o(410));const a=Q(t,o(419),n);return r?Q(t,o(413),[s+1,n]):a})),s[e(429)]({label:Q(t,e(434)),tooltip:!0,icon:mt.IconChevronUp}),n[e(429)]({label:Q(t,e(428)),tooltip:!0,icon:mt.IconChevronDown}),s[e(420)](e(431)).to(this,e(448)),n[e(420)](e(431)).to(this,e(435)),s.on(e(425),(()=>this[e(447)](e(425),e(439)))),n.on(e(425),(()=>this[e(447)](e(425),e(432)))),this[e(438)]({tag:e(415),attributes:{class:["ck",e(450),e(412)]},children:[{tag:e(430),attributes:{class:[e(422)]},children:[{tag:e(430),attributes:{class:[e(416),i.if(e(427),e(414),(t=>!t))]},children:[{text:i.to(e(426),(i=>i?Q(t,e(409))+": ":Q(t,e(423))+": "))}]},{text:i.to(e(442))}]},new pt.ToolbarSeparatorView,{tag:e(415),attributes:{class:[e(437)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;function de(t,e){const i=fe();return(de=function(t,e){return i[t-=202]})(t,e)}function fe(){const t=["isPremiumPlugin","addClass","6512967TcmYTz","871046UfqJtA","40JnGQnf","view","122808oyTTTR","RevisionViewerLoadingOverlay","isOfficialPlugin","show","pluginName","editor","10cZZybV","roots","hide","1568385pKFjWV","1146552BjqGXi","document","editing","561421sJHBsd","866504saajcC","removeClass","ck-editor__editable__loading-overlay","change","8uAccAI"];return(fe=function(){return t})()}const me=de;!function(t){const e=de,i=t();for(;;)try{if(472745===-parseInt(e(216))/1+-parseInt(e(208))/2+parseInt(e(203))/3+parseInt(e(204))/4+-parseInt(e(217))/5*(-parseInt(e(219))/6)+parseInt(e(207))/7*(parseInt(e(212))/8)+parseInt(e(215))/9*(parseInt(e(225))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const pe=me(210);class ve extends Z.Plugin{static get[me(223)](){return me(220)}static get[me(221)](){return!0}static get[me(213)](){return!0}[me(222)](){const t=me,e=this[t(224)][t(206)][t(218)];e[t(211)]((i=>{const s=t;for(const t of e[s(205)][s(226)])i[s(214)](pe,t)}))}[me(202)](){const t=me,e=this[t(224)][t(206)][t(218)];e[t(211)]((i=>{const s=t;for(const t of e[s(205)][s(226)])i[s(209)](pe,t)}))}}const ge=ke;function ye(){const t=["changesNavigation","bind","change:isReady","isNavigationMode","isForwardNavigationEnabled","3tYnIMr","RevisionViewerUI","5123224RjjbHh","showNextChange","set","componentFactory","3042243imnwFS","8824580cdjNnV","isEnabled","restoreRevision","editor","add","Back to editing","get","requires","1016803gEuPDB","4861486XojxBo","closeRevisionViewerCallback","24gAnqGW","isReady","showPreviousChange","2090485LZhbmc","1642382cyrKyp","currentChangeNumber","show","18kBRUXs","init","listenTo","isBackwardNavigationEnabled","numberOfChanges","exitToEditing","commands","forward","isOfficialPlugin","ck-revision-history-ui__back-to-editing","plugins","isPremiumPlugin","Restore this revision","execute","revisionHistory","hide","config","pluginName"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=250]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(785002===parseInt(e(296))/1+-parseInt(e(255))/2+-parseInt(e(281))/3*(-parseInt(e(283))/4)+parseInt(e(254))/5*(-parseInt(e(258))/6)+parseInt(e(297))/7+-parseInt(e(251))/8*(parseInt(e(287))/9)+parseInt(e(288))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends Z.Plugin{static get[ge(275)](){return ge(282)}static get[ge(266)](){return!0}static get[ge(269)](){return!0}static get[ge(295)](){return[ee,ve]}[ge(259)](){const t=ge,e=this[t(291)],i=e[t(268)][t(294)](ee),s=e[t(268)][t(294)](ve);e.ui[t(286)][t(292)](t(263),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(285)]({label:Q(i,s(293)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(267)}),this[s(260)](n,s(271),(()=>{const t=s;e[t(274)][t(294)](t(272))[t(250)]()})),n})),e.ui[t(286)][t(292)](t(290),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(285)]({label:Q(i,s(270)),withText:!0,tooltip:!0}),n[s(277)](s(289)).to(e[s(264)][s(294)](s(290))),this[s(260)](n,s(271),(()=>e[s(271)](s(290)))),n})),e.ui[t(286)][t(292)](t(276),(s=>{const n=t,r=new ue(s),o=e[n(264)][n(294)](n(253)),a=e[n(264)][n(294)](n(284));return r[n(277)](n(261)).to(o,n(289)),r[n(277)](n(280)).to(a,n(289)),r[n(277)](n(252),n(256),n(262),n(279)).to(i),this[n(260)](r,n(271),((t,i)=>{const s=n;e[s(271)](s(265)===i?s(284):s(253))})),r})),s[t(257)](),i.on(t(278),((e,i,n)=>{const r=t;n?s[r(273)]():s[r(257)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Oe;function Se(){const t=["listenTo","500056IFwpfb","111332vLxsAx","72GVkbJL","4041tccGMH","ck-revision-history-sidebar__revision-name","7tddefG","render","_tooltipString","110844HLkhij","bindTemplate","_resizeObserver","Enter the revision name","value","set","393189mHOOaJ","ck-tooltip_multi-line","placeholder","element","fieldView","_updateTooltipText","scrollWidth","span","clientWidth","destroy","input","3746040vwQASp","extendTemplate","Revision name","4524930PSZLwK","16750lFUemL"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=290]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(431982===parseInt(e(290))/1+parseInt(e(315))/2+-parseInt(e(309))/3*(-parseInt(e(308))/4)+-parseInt(e(301))/5+parseInt(e(304))/6+-parseInt(e(312))/7*(-parseInt(e(307))/8)+-parseInt(e(310))/9*(parseInt(e(305))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(317)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(316)];this[i(320)]({label:Q(t,i(303)),_tooltipString:""}),this[i(294)][i(292)]=Q(t,i(318)),this[i(302)]({tag:i(297),attributes:{class:[i(311)],"data-cke-tooltip-text":s.to(i(314)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(291)}})}[Ie(313)](){const e=Ie;super[e(313)](),this[e(317)]=new t.ResizeObserver(this[e(294)][e(293)],(()=>this[e(295)]())),this[e(306)](this[e(294)],e(300),(()=>this[e(295)]()))}[Ie(299)](){const t=Ie;super[t(299)](),this[t(317)]&&this[t(317)][t(299)]()}[Ie(295)](){const t=Ie,e=this[t(294)][t(293)];this[t(314)]=e[t(296)]>e[t(298)]&&e[t(319)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Ae(){const t=["name","2uuNstE","span","Revision author","990ckTipZ","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author__name","1561721WEkyhZ","294558KlWxfS","setTemplate","52810durSKP","491433VBEGOy","6TnypcG","2557136ReiTfd","set","ck-revision-history-sidebar__revision-author","0 0 11 10","Revision creator","576880aOPRrf","push","190285DtRVUc"];return(Ae=function(){return t})()}function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=349]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(248919===parseInt(e(356))/1*(parseInt(e(367))/2)+-parseInt(e(353))/3+-parseInt(e(363))/4+parseInt(e(365))/5+-parseInt(e(357))/6*(-parseInt(e(352))/7)+parseInt(e(358))/8+-parseInt(e(349))/9*(parseInt(e(355))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ve extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(359)]({content:mt.IconUser,viewBox:s(361)});const r=["ck",s(360)];i&&r[s(364)](s(350));const o=[{tag:s(368),attributes:{class:["ck",s(351)],title:Q(t,s(i?362:369))},children:[n,e[s(366)]]}];this[s(354)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Me();return(Ee=function(t,e){return i[t-=489]})(t,e)}function Me(){var t=["11148ZHVEiA","713811bJgRDs","420587MZygqU","3368htKuvc","545XjMdzz","toLocaleDateString","4OenLMU","320Rycdtu","2909620IQQLar","570823OXYHgC","2619030AUadVx","toLocaleTimeString","long","numeric","5157xPQmyh"];return(Me=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(498070===parseInt(e(492))/1*(-parseInt(e(496))/2)+-parseInt(e(491))/3+parseInt(e(490))/4*(-parseInt(e(494))/5)+-parseInt(e(500))/6+parseInt(e(498))/7+-parseInt(e(493))/8*(-parseInt(e(489))/9)+-parseInt(e(497))/10*(-parseInt(e(499))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["535510qYrARw","isEnabled","buttonView","menuitem","372739qycMpr","_action","192752xkABhJ","menu","Show more items","bind","isReady","panelPosition","isActionsDropdownOpen","Name this revision","items","Compare against selected","Restore this revision","bindTemplate","extendTemplate","listenTo","function","locale","add","find","class","change:isActionsDropdownOpen","ck-on","24IXefYe","2088504vkhMwi","button","stopPropagation","isOpen","first","source","model","children","map","listView","3iWEfFC","set","29180zgUhZS","958376jFEoWW","name","isVisible","ck-revision-history-sidebar__revision__actions","action","5631260NedZNc","execute","70fMumFs"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=324]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(204088===-parseInt(e(348))/1+parseInt(e(344))/2+-parseInt(e(333))/3*(parseInt(e(336))/4)+parseInt(e(335))/5*(-parseInt(e(371))/6)+-parseInt(e(343))/7*(-parseInt(e(350))/8)+-parseInt(e(372))/9+parseInt(e(341))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=We;function We(t,e){const i=Ze();return(We=function(t,e){return i[t-=324]})(t,e)}function Ze(){const t=["ck-revision-history-sidebar__actions_dropdown_open","4053891iAiojr","fieldView","_createdAtFormatted","_revision","220","from","11oLZqbw","ck-reset","isEnabled","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","closest","highlight","isConfirm","map","filter","authors","change","element","uiLanguage","name","54566AUDFfg","render","listenTo","5XXxISR","bindTemplate","bind","ck-revision-history-sidebar__revision__controls-wrapper","span","_requireRevisionName","126fyLfHE","extendTemplate","ck-disabled","ck-revision-history-sidebar__revision_highlighted","ck-revision-history-sidebar__revision_selected","isSelected","revisionNameView","unshift","ck-revision-history-sidebar__revision-authors","setName","setTemplate","revisionActionsView","175332FMnQXO","2281707ghbhrD","length",".ck-thread__remove-confirm","value","srcElement","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision","fire","isReady","div","isHighlighted","select","isActionsDropdownOpen","2492820zCfxlU","20OrQiuM","8019232dZSsUm","ck-revision-history-sidebar__revision-wrapper","createdAt","set","5271716EGeeAp","deselect","unhighlight","creator"];return(Ze=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(876593===parseInt(e(371))/1*(-parseInt(e(385))/2)+-parseInt(e(365))/3+parseInt(e(360))/4*(parseInt(e(388))/5)+parseInt(e(340))/6*(-parseInt(e(328))/7)+parseInt(e(356))/8+-parseInt(e(341))/9*(-parseInt(e(355))/10)+parseInt(e(354))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);class Ue extends((0,U.ConfirmMixin)(pt.View)){id;[ze(334)];[ze(339)];[ze(368)];[ze(327)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(389)],a=function(t,e){const i=r,s=Array[i(370)](e[i(380)])[i(379)]((t=>t!=e[i(363)]));return e[i(363)]&&s[i(335)](e[i(363)]),s[i(378)]((s=>new Ve(t,s,s==e[i(363)])))}(e,i);this.id=i.id,this[r(368)]=i,this[r(327)]=n,this[r(324)](r(384),r(358)).to(i),this[r(324)](r(367)).to(this,r(358),(t=>{return i=e[r(383)],(s=t)[(n=Ee)(495)](i,{month:n(502),day:n(503)})+", "+s[n(501)](i,{hour:n(503),minute:n(503)});var i,s,n})),this[r(359)](r(333),!1),this[r(359)](r(351),!1),this[r(359)](r(353),!1),this[r(359)](r(349),!1),this[r(359)](r(373),!1),this[r(334)]=new Te(e,pt.createLabeledInputText),this[r(334)][r(366)][r(329)]({attributes:{maxlength:r(369)}}),this[r(334)][r(366)][r(324)](r(344)).to(this,r(384),(t=>t||this[r(367)])),this[r(334)][r(324)](r(373)).to(this,r(333),this,r(373),((t,e)=>t&&e)),this[r(339)]=s&&s[r(342)]?function(e,i){const s=je,n=e[s(361)],r=e[s(365)],o=(0,pt.createDropdown)(r);o[s(355)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(365)],n={"Compare against selected":Q(s,i(359)),"Name this revision":Q(s,i(357)),"Restore this revision":Q(s,i(360))};return e[i(331)]((t=>{const e=i,s=n[t[e(337)]];return s&&s!==t[e(337)]&&(t[e(337)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(324),model:new pt.ViewModel({label:t[n(337)],class:t[n(368)],withText:!0,role:n(347),_action:t[n(340)]})};i[n(329)][n(353)](n(345)).to(e,n(356),(i=>n(364)!=typeof t[n(345)]||!i||t[n(345)](e))),o[n(366)](i)}return o}(e,i);return e[s(353)](s(356)).to(o,s(326)),o[s(346)][s(334)]({label:Q(r,s(352)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(362)]({attributes:{class:[s(339),n.if(s(356),s(370))]},on:{click:n.to((t=>t[s(325)]()))}}),o.on(s(342),(t=>{const i=s;e[i(354)]&&i(364)==typeof t[i(328)][i(349)]&&t[i(328)][i(349)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(351)}),o[s(363)](e,s(369),((t,n,r)=>{const a=s;if(r)for(const t of o[a(332)][a(358)]){const s=t[a(330)][a(327)],n=i[a(367)]((t=>t[a(340)]===s[a(349)]))[a(338)];t[a(338)]=void 0===n||n(e)}})),o}(this,s):"",this[r(339)]&&this[r(339)][r(324)](r(373)).to(this),this[r(338)]({tag:r(350),attributes:{class:["ck",r(372),r(357),o.if(r(377),r(374))]},children:[{tag:r(350),attributes:{class:["ck",r(372),r(347),o.if(r(373),r(330),(t=>!t)),o.if(r(333),r(332)),o.if(r(351),r(331)),o.if(r(353),r(364))]},children:[this[r(334)],{tag:r(326),attributes:{class:["ck",r(346)]},children:[{text:o.to(r(367))}]},{tag:r(350),attributes:{class:["ck",r(325)]},children:[{tag:"ul",attributes:{class:["ck",r(336)]},children:a}]},this[r(339)]],on:{click:o.to((t=>{const e=r;t[e(345)][e(375)](e(343))||this[e(349)]&&this[e(373)]&&this[e(348)](e(352),{id:this.id})}))}}]})}[ze(386)](){const t=ze;super[t(386)]();const e=this[t(334)][t(366)][t(382)];this[t(387)](e,t(381),(()=>{const i=t;this[i(327)]&&!e[i(344)]||this[i(348)](i(337),{id:this.id,name:e[i(344)]}),e[i(344)]||(e[i(344)]=this[i(384)]?this[i(384)]:this[i(367)])}))}[ze(352)](){this[ze(333)]=!0}[ze(361)](){this[ze(333)]=!1}[ze(376)](){this[ze(351)]=!0}[ze(362)](){this[ze(351)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Je extends He{}class Ye extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ai extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ai(t)),Ni[t]}static resetCache(){Ni={},Ti={}}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=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[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"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ri={};let Vi={};function Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Mi={};let Di={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ai.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 zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Zi{static fromOpts(t){return Zi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Zi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Mi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Zi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Zi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(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 ji(this,t,Xs,(()=>{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=io.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 ji(this,t,sn,(()=>{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=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.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 Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ui=null;class Hi extends Ii{static get utcInstance(){return null===Ui&&(Ui=new Hi(0)),Ui}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{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(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Ji={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Zi.resetCache(),Ai.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(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 ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Js(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Js(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Js(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Js(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Je("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(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 bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Es(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(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?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Zs(t){return t>99?t:t>os.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 qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Js(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"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];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 Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(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 ln[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 Vs(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 nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.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=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(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 dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...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 pn(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 vn(...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 gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Es(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(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]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vn(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(Ds(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Zs(Es(e)):Es(e),month:Gs.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(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 Fn=/^(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$/,jn=/^(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 Pn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Zn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Un=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Jn=mn(Tn,xn,Nn);const Yn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={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}},er={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},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,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:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(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 lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(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),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Zi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.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 lr({values:$s(t,lr.normalizeUnit),loc:Zi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[An,Yn])}(t);return i?lr.fromObject(i,e):lr.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 as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({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?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(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+=Cs(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 io.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?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.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]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(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 ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(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=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)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;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(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 ur(this.matrix,e),ar(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 ar(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 rr)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 hr="Invalid Interval";class dr{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 as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.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:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.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=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.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?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).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(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.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(dr.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:dr.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 dr.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(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[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=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Zi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Zi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Zi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Zi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Zi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Zi.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(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=mr(t,e);return(i-i%7)/7}],["days",mr]],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=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Yi.indexOf(t[i]);else for(const t in Ji){const[i,n]=Ji[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={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 Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Ar(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(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 wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Zs);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\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;_s(t.z)||(i=Ai.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(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),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Je("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 xr(t,i).explainFromTokens(e)}function Ar(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),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=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Vr=864e13;function Er(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(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 jr(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 Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(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=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Zi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Zr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(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},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Jr=["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 Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Zi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Er(e));this.ts=_s(t.ts)?os.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=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Zi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({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 io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Zi.fromObject(e)}):io.invalid(Er(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Zi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Zi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Zi.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Je("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Je("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Jr,v=qr,g=ps(g,r,o)):u?(p=Yr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Ws(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=Rs(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Zn,$n],[Un,Bn],[Hn,Jn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Xn])}(t);return zr(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 as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Zi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Zi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}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?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.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(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.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 Cr(this,{ts:s,zone:t})}return io.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(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,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Je("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Je("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.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?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Zr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Zr(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Zr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.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(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.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||io.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),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Zi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=375]})(t,e)}function ro(){const t=["minus","day","1TwpDgM","10mICpDp","5VlleGu","year","8694603mnXNPB","4438308NaPxFO","setLocale","toJSDate","622530kCaYAU","2397972WGyBDE","monthLong","3724412ClHjKj","14GICysZ","week","weekdayLong","month","startOf","local","hasSame","fromJSDate","toRelativeCalendar","3190720gwQKSC","2726109BJOFQD","77irAAaR"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(399)](t)[i(386)](e),n=io[i(397)](),r=n[i(378)]({days:1})[i(396)](i(379));let o,a;return s[i(398)](n,i(379))?(o=s[i(396)](i(379))[i(387)](),a=s[i(400)]()):s[i(398)](r,i(379))?(o=r[i(387)](),a=s[i(400)]()):s[i(398)](n,i(393))?(o=s[i(396)](i(393))[i(387)](),a=s[i(394)]||""):s[i(398)](n,i(383))?(o=s[i(396)](i(395))[i(387)](),a=s[i(390)]||""):(o=s[i(396)](i(383))[i(387)](),a=String(s[i(383)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(494889===-parseInt(e(380))/1*(-parseInt(e(388))/2)+-parseInt(e(376))/3+parseInt(e(391))/4*(-parseInt(e(382))/5)+parseInt(e(389))/6*(parseInt(e(392))/7)+-parseInt(e(375))/8+parseInt(e(384))/9*(-parseInt(e(381))/10)+-parseInt(e(377))/11*(-parseInt(e(385))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["createCollection","840450osYGpK","1104273dreIVn","2694276hcVfZK","span","find","select","setName","_requireRevisionName","56OxTLRD","add","uiLanguage","setTemplate","locale","addRevision","ck-revision-history-sidebar__time-period__revisions","startDate","localizedPeriodName","436720AWlyHT","501007bEXfEr","revisionViews","delegate","_revisionActions","2181goAXVY","ck-revision-history-sidebar__time-period","1091704wdugHl","div","remove","removeRevision","706TfsJRw","ck-revision-history-sidebar__time-period__label"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=338]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(331663===-parseInt(e(346))/1+parseInt(e(356))/2*(parseInt(e(350))/3)+parseInt(e(352))/4+parseInt(e(359))/5+parseInt(e(361))/6+parseInt(e(367))/7*(-parseInt(e(345))/8)+parseInt(e(360))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(343)];[uo(347)];[uo(349)];[uo(366)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(340)][n(338)])[n(344)];this[n(343)]=e,this[n(347)]=this[n(358)](),this[n(349)]=i,this[n(366)]=s,this[n(347)][n(348)](n(364)).to(this),this[n(347)][n(348)](n(365)).to(this),this[n(339)]({tag:n(353),attributes:{class:["ck",n(351)]},children:[{tag:n(362),attributes:{class:["ck",n(357)]},children:[{text:r}]},{tag:n(353),attributes:{class:["ck",n(342)]},children:this[n(347)]}]})}[uo(341)](t){const e=uo,i=new Ue(this[e(340)],t,this[e(349)],this[e(366)]);this[e(347)][e(368)](i)}[uo(355)](t){const e=uo,i=this[e(347)][e(363)]((e=>e.id===t.id));this[e(347)][e(354)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=470]})(t,e)}function go(){const t=["415lBrgin","content","7866620xNOaZA","div","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","49728alCnIM","980872wJCVCz","2797695RIimgF","2PPWDnB","1523550sVzVnh","Revision history","setTemplate","9ClXgQU","span","ck-reset_all","2591421baVESS","4743192xCjniI"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(553184===-parseInt(e(480))/1+parseInt(e(482))/2*(parseInt(e(481))/3)+-parseInt(e(479))/4*(-parseInt(e(473))/5)+-parseInt(e(483))/6+-parseInt(e(471))/7+-parseInt(e(472))/8+parseInt(e(486))/9*(parseInt(e(475))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(474)]=mt.IconHistory,this[e(485)]({tag:e(476),attributes:{class:["ck",e(470),e(478)]},children:[i,{tag:e(487),attributes:{class:["ck",e(477)]},children:[Q(t,e(484))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=363]})(t,e)}function Io(){const t=["346196wlNMjf","ck-disabled","createdAt","uiLanguage","some","ck-revision-history-sidebar","remove","_revisionActions","locale","map","set","3517644sYYLCv","_revisions","add","startDate","setTemplate","revisionSelected","_removeRevision","ck-reset","5phZqEP","delegate","find","addRevision","fire","selectRevision","_addRevision","ck-rounded-corners","flat","div","getTime","highlight","1742132ZrmXqp","2268628HtOJoG","revisionViews","bindTemplate","get","createCollection","_getTimePeriodViewByStartDate","unhighlight","ck-revision-history-sidebar__timeline","timePeriodViews","revisionSetName","select","highlightRevisions","setName","deselect","_requireRevisionName","23505740ICkhCl","isEnabled","2236266sLiFLw","removeRevision","2146950zRePZi","render","48ttdKsB","18sBBgrJ"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(780347===-parseInt(e(381))/1+-parseInt(e(375))/2+-parseInt(e(392))/3+parseInt(e(413))/4*(parseInt(e(400))/5)+-parseInt(e(377))/6+parseInt(e(412))/7*(-parseInt(e(379))/8)+parseInt(e(380))/9*(parseInt(e(373))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(366)];[wo(393)];[wo(388)];[wo(372)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(415)];this[n(366)]=this[n(417)](),this[n(366)][n(401)](n(368)).to(this),this[n(366)][n(401)](n(370)).to(this),this[n(393)]=e,this[n(388)]=i,this[n(372)]=s,this.on(n(368),((t,e)=>{const i=n;this[i(404)](i(397),e)})),this.on(n(370),((t,e)=>{const i=n;this[i(404)](i(367),e)})),this[n(391)](n(374),!1),this[n(396)]({tag:n(409),attributes:{class:["ck",n(399),n(407),n(386)]},children:[new yo(t),{tag:n(409),attributes:{class:["ck",n(365),r.if(n(374),n(382),(t=>!t))]},children:this[n(366)]}]})}[wo(378)](){const t=wo;super[t(378)]();for(const e of this[t(393)])this[t(406)](e);this[t(393)].on(t(394),((e,i)=>{this[t(406)](i)})),this[t(393)].on(t(387),((e,i)=>{this[t(398)](i)}))}get[wo(414)](){const t=wo;return this[t(366)][t(390)]((e=>e[t(414)][t(390)]((t=>t))))[t(408)]()}[wo(405)](t){const e=wo;for(const i of this[e(414)])t&&t.id===i.id?i[e(368)]():i[e(371)]()}[wo(369)](t){const e=wo;for(const i of this[e(414)])t[e(385)]((({id:t})=>t===i.id))?i[e(411)]():i[e(364)]()}[wo(406)](t){const e=wo,i=oo(t[e(383)],this[e(389)][e(384)])[e(395)];let s=this[e(366)][e(416)](0);s&&s[e(395)][e(410)]()===i[e(410)]()||(s=new fo(this[e(389)],i,this[e(388)],this[e(372)]),this[e(366)][e(394)](s)),s[e(403)](t)}[wo(398)](t){const e=wo,i=oo(t[e(383)],this[e(389)][e(384)])[e(395)];this[e(363)](i)[e(376)](t)}[wo(363)](t){const e=wo;return this[e(366)][e(402)]((i=>i[e(395)][e(410)]()===t[e(410)]()))}}const Oo=To;function To(t,e){const i=Ao();return(To=function(t,e){return i[t-=108]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(963970===-parseInt(e(148))/1*(parseInt(e(111))/2)+-parseInt(e(117))/3+-parseInt(e(125))/4+-parseInt(e(141))/5*(-parseInt(e(126))/6)+parseInt(e(181))/7*(parseInt(e(115))/8)+-parseInt(e(156))/9+parseInt(e(160))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class xo extends Z.Plugin{[Oo(109)];[Oo(140)];[Oo(174)];static[Oo(176)]=[Oo(135),Oo(121),Oo(182)];static[Oo(116)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(168),action:({plugins:e},i)=>{const s=t,n=e[s(147)](ee),r=n[s(184)];let o=n[s(145)][s(159)],a=i.id;r[s(129)](o)>r[s(129)](a)&&([o,a]=[a,o]),n[s(167)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(147)](ee);return!(n[s(184)][s(186)](n[s(145)])[s(122)]>2||i[s(114)])}},restoreRevision:{name:t(143),action:(e,{id:i})=>{const s=t;e[s(137)][s(147)](s(164))[s(190)](i)},isVisible:({plugins:e},i)=>!!e[t(147)](ee)[t(184)][t(151)](i.id)},nameRevision:{name:t(110),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(147)](ee),o=r[n(184)][n(133)](i);r[n(167)](i,o),s[n(172)](),s[n(185)][n(170)]()}}}}();static get[Oo(124)](){return Oo(138)}static get[Oo(157)](){return!0}static get[Oo(169)](){return!0}static get[Oo(163)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(109)]=t[e(178)][e(147)](ee),this[e(140)]=this[e(109)][e(184)],this[e(174)]=null}[Oo(161)](){const t=Oo,e=this[t(140)][t(150)],i=this[t(131)](),s=this[t(173)][t(137)][t(147)](t(183));this[t(174)]=new So(this[t(173)][t(154)],e,i,this[t(173)][t(137)][t(147)](t(108))),this[t(174)].on(t(171),this[t(175)][t(127)](this)),this[t(174)].on(t(179),this[t(155)][t(127)](this)),this[t(174)][t(127)](t(118)).to(this[t(109)]),this[t(174)][t(120)].on(t(177),((e,i)=>{const s=t;i[s(149)].on(s(177),((t,e)=>{const i=s;e[i(127)](i(118),i(139)).to(this[i(109)])}))})),this[t(174)][t(165)](),this[t(132)](this[t(173)][t(113)],t(128),this[t(189)][t(127)](this)),this[t(132)](this[t(109)],t(112),this[t(136)][t(127)](this)),s[t(142)](this[t(174)][t(144)])}[Oo(152)](){const t=Oo;this[t(174)][t(144)][t(146)](),this[t(174)][t(152)]()}[Oo(189)](){const t=Oo,e=this[t(140)][t(153)](0);if(e){const i=this[t(140)][t(133)](e.id);this[t(109)][t(167)](e,i)}}[Oo(175)](t,e){const i=Oo,s=this[i(140)][i(153)](e.id),n=this[i(140)][i(133)](s.id);this[i(109)][i(167)](s,n)}[Oo(155)](t,e){const i=Oo;this[i(140)][i(153)](e.id)[i(130)](e[i(188)])}[Oo(136)](t,e,i){const s=Oo,n=this[s(140)][s(186)](i);n[s(122)]>2?(this[s(174)][s(119)](n),this[s(174)][s(134)](null)):(this[s(174)][s(119)]([]),this[s(174)][s(134)](n[0]))}[Oo(131)](){const t=Oo,e=this[t(173)],i=xo[t(116)],s=e[t(137)][t(147)](t(162))||xo[t(176)];if(s[t(122)])return s[t(123)]((s=>{const n=t,r=n(187)==typeof s?Object[n(166)]({},i[s]):s;return r[n(180)]=r[n(180)][n(127)](this,e),r[n(158)]&&(r[n(158)]=r[n(158)][n(127)](this,e)),r}))}}const No=xo;function Ao(){const t=["change:diff","data","isSelected","15179192VbpCMa","availableRevisionActions","5033739mvPivh","isEnabled","highlightRevisions","timePeriodViews","restoreRevision","length","map","pluginName","1137340RirnZH","4893978qorhkM","bind","ready","getIndex","setName","_createRevisionActions","listenTo","getEarlierVisibleRevision","selectRevision","compareAgainstSelected","_handleDiffChange","config","RevisionsSidebar","isReady","_revisionsRepository","5ZuYroc","appendChild","Restore this revision","element","diff","remove","get","227jiGeXW","revisionViews","_revisions","getLaterVisibleRevision","destroy","getRevision","locale","_handleRevisionSetName","394632GCULaR","isOfficialPlugin","isVisible","newRevisionId","17958370LgfVcn","init","revisionHistory.revisionActions","requires","revisionHistory","render","assign","compare","Compare against selected","isPremiumPlugin","select","revisionSelected","focus","editor","_sidebarView","_handleRevisionSelected","defaultRevisionActions","add","plugins","revisionSetName","action","7ZQBsqh","nameRevision","revisionHistory.viewerSidebarContainer","repository","fieldView","getRevisionsInDiff","string","name","_handleEditorDataReady","restoreRevisionCallback","revisionHistory.requireRevisionName","_revisionViewer","Name this revision","13558yrJIJC"];return(Ao=function(){return t})()}function Ro(){const t=["toolbar","render","3mtTszT","attachDomRoot","init","config","2849816NCErxW","isActive","_elementReplacer","document","fillFromConfig","destroy","editor","get","fire","_view","4941066jYwxqT","7NzpJxq","viewportTopOffset","isFocused","editable","limiterElement","editing","componentFactory","replace","element","viewportOffset","ready","restore","detachDomRoot","1589390UoEHGQ","_initToolbar","bind","addToolbar","setEditableElement","1164147hOjDSb","getRoot","168888nFHzQV","name","2554623uKdZGQ","3085484VqxLLx","focusTracker","_toolbarConfig","view","stickyPanel","rootName"];return(Ro=function(){return t})()}const Vo=Eo;function Eo(t,e){const i=Ro();return(Eo=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(760677===-parseInt(e(299))/1+parseInt(e(301))/2+parseInt(e(266))/3*(parseInt(e(304))/4)+parseInt(e(294))/5+parseInt(e(280))/6*(parseInt(e(281))/7)+-parseInt(e(270))/8+parseInt(e(303))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Mo extends pt.EditorUI{[Vo(279)];[Vo(306)];[Vo(272)];get[Vo(307)](){return this[Vo(279)]}constructor(e,i){const s=Vo;super(e),this[s(279)]=i,this[s(306)]=(0,pt.normalizeToolbarConfig)(e[s(269)][s(277)](s(264))),this[s(272)]=new t.ElementReplacer}get[Vo(289)](){const t=Vo;return this[t(307)][t(289)]}[Vo(268)](t){const e=Vo,i=this[e(276)],s=this[e(307)],n=i[e(286)][e(307)],r=s[e(284)],o=n[e(273)][e(300)]();r[e(302)]=o[e(263)],s[e(265)]();const a=r[e(289)];this[e(298)](r[e(302)],a),s[e(284)][e(296)](e(283)).to(this[e(305)]),n[e(267)](a),this[e(272)][e(288)](t,this[e(289)]),this[e(295)](),this[e(278)](e(291))}[Vo(275)](){const t=Vo;super[t(275)]();const e=this[t(307)],i=this[t(276)][t(286)][t(307)];this[t(272)][t(292)](),i[t(293)](e[t(284)][t(302)]),e[t(275)]()}[Vo(295)](){const t=Vo,e=this[t(307)];e[t(262)][t(296)](t(271)).to(this[t(305)],t(283)),e[t(262)][t(285)]=e[t(289)],e[t(262)][t(296)](t(282)).to(this,t(290),(({top:t})=>t)),e[t(264)][t(274)](this[t(306)],this[t(287)]),this[t(297)](e[t(264)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=Lo;!function(t){for(var e=Lo,i=t();;)try{if(287276===-parseInt(e(384))/1+parseInt(e(382))/2*(-parseInt(e(380))/3)+parseInt(e(391))/4+parseInt(e(392))/5+parseInt(e(383))/6*(parseInt(e(390))/7)+parseInt(e(385))/8+parseInt(e(377))/9*(-parseInt(e(381))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Fo(376)];[Fo(378)];[Fo(388)];get[Fo(386)](){return this[Fo(376)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(378)]=new pt.StickyPanelView(t),this[s(388)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(375)]}),this[s(376)]=new pt.InlineEditableUIView(t,e)}[Fo(387)](){var t=Fo;super[t(387)](),this[t(378)][t(373)][t(379)](this[t(388)]),this[t(389)][t(379)](this[t(378)]),this[t(374)][t(379)](this[t(386)])}}function Lo(t,e){var i=Po();return(Lo=function(t,e){return i[t-=373]})(t,e)}function Po(){var t=["12ZKHFUc","166685aDFzcm","2476656MkGlZM","editable","render","toolbar","top","1236130hDkpmO","1743320JrMXom","1402740lQaGnN","content","main","shouldToolbarGroupWhenFull","_editable","18PdzblX","stickyPanel","add","1374999zkfCgI","2334230ppHESv","2dVteLr"];return(Po=function(){return t})()}const zo=Zo;function Wo(){const t=["105368wsnWqy","initialData","view","607JeHSbM","ready","document","6ZyLQcq","11969350ggAZXp","editing","destroy","405lEcBWp","_ui","get","fire","model","data","createRoot","1201936CeZAGl","init","64638EQdzXr","514fgQoKJ","initPlugins","locale","998980EPBlsT","189792pNOZKL","create","config","updateSourceElement","sourceElement"];return(Wo=function(){return t})()}function Zo(t,e){const i=Wo();return(Zo=function(t,e){return i[t-=380]})(t,e)}!function(t){const e=Zo,i=t();for(;;)try{if(313989===-parseInt(e(384))/1*(-parseInt(e(401))/2)+parseInt(e(405))/3+-parseInt(e(398))/4+parseInt(e(404))/5*(-parseInt(e(387))/6)+-parseInt(e(400))/7+-parseInt(e(381))/8*(parseInt(e(391))/9)+parseInt(e(388))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,Z.ElementApiMixin)(Z.Editor)){[zo(392)];get ui(){return this[zo(392)]}constructor(t,e){const i=zo;super(e),this[i(380)]=t,this[i(395)][i(386)][i(397)]();const s=new jo(this[i(403)],this[i(389)][i(383)],{shouldToolbarGroupWhenFull:!0});this[i(392)]=new Mo(this,s)}[zo(390)](){const t=zo;return this[t(408)](),this.ui[t(390)](),super[t(390)]()}static async[zo(406)](t,e){const i=zo,s=new this(t,e);return await s[i(402)](),await s.ui[i(399)](t),await s[i(396)][i(399)](s[i(407)][i(393)](i(382))||""),s[i(394)](i(385)),s}}const Ho=$o;function qo(){const t=["locale","removeMarker","indexOf","map","RevisionViewerIntegration","enableReadOnlyMode","addUser","restoreRevision","_getRevisionViewerEditorConfig","config","8113UrsSqA","_enhanceShowRevisionViewerCallback","isPremiumPlugin","end","RevisionsRepository","display","save","rootName","error","repository","toLocaleDateString","isReadOnly","set","refreshVisibility","addRoot","markers","translations","element","toolbar","join","getRevisionDocumentData","revisionHistory.requireRevisionName","model","block","commands","_showRevisionViewer","PaginationLookup","removeSelectionAttribute","isReady","getAttributeKeys","setSelection","revisionHistory","saveRevision","getRevision","toJSON","style","$graveyard","refreshPositioning","revisionHistory.viewerEditorElement","282900CbHWSF","RevisionHistory","getRevisionRootsAttributes","isAnonymous","429312XIOpKv","_recalculatePageBreaks","restrictedEditingException","includes","revisionHistory.viewerContainer","168DmJpXq","closeRevisionViewerCallback","view","revisionHistory.showRevisionViewerCallback","16869oItihS","Users","RevisionHistoryUI","init","RevisionViewer","RevisionTracker","_viewerEditor","bind","push","plugins","isEnabled","roots","disableReadOnlyMode","creator","destroy","revisionHistory.editorContainer","toVersion","toLocaleTimeString","keys","createdAt","createRangeIn","10fUUZsh","from","enqueueChange","getRoot","data","result","_update","DocumentOutline","Dialog","selection","loadRevisionData","remove","Restored","_restoreRevision","create","none","_enhanceCloseRevisionViewerCallback","removeAttribute","parse","revisionHistory.restoreRevisionCallback","document","lazyRoots","get","getRevisions","adapter","hide","update","DocumentOutlineUI","insert","define","users","pluginName","286044ceLAHd","addRevisionData","revisionHistory.closeRevisionViewerCallback","detachRoot","1888gsiksj","_cleanUp","revision-history-missing-configuration","requires","long","isRevisionViewerOpen","isOpen","RevisionHistoryUtils","name","numeric","changesNavigation","setAttribute","_closeRevisionViewer","showRevisionViewerCallback","isAttached","fromCharCode","catch","11372150PwhHAg","uiLanguage","change","then","revision-history-viewer-opened","Annotations","exitToEditing","Autosave","2743938samWWe","editor","RestrictedEditingMode","isOfficialPlugin","getMarkersGroup","fromVersion","has","getUser"];return(qo=function(){return t})()}function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=320]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(159051===-parseInt(e(381))/1+parseInt(e(385))/2+-parseInt(e(394))/3*(parseInt(e(390))/4)+-parseInt(e(415))/5*(parseInt(e(447))/6)+-parseInt(e(342))/7*(parseInt(e(451))/8)+-parseInt(e(324))/9+parseInt(e(468))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Ho(396),Ho(326)];class Jo extends Z.Plugin{[Ho(420)];static get[Ho(446)](){return Ho(336)}static get[Ho(327)](){return!0}static get[Ho(344)](){return!0}constructor(t){const e=Ho;function i(t){const e=$o;return t[e(335)]((t=>String[e(466)](t)))[e(361)]("")}super(t),this[e(420)]=e(345),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(400)];static get[Ho(446)](){return Ho(382)}static get[Ho(327)](){return!0}static get[Ho(344)](){return!0}static get[Ho(454)](){return[ot,jt]}constructor(e){const i=Ho;if(super(e),!this[i(325)][i(341)][i(437)](i(373)))throw new t.CKEditorError(i(453),this);this[i(400)]=null,this[i(354)](i(456),!1),this[i(325)][i(341)][i(444)](i(393),(t=>this[i(367)]({...t,translations:this[i(325)][i(332)][i(358)]}))),this[i(325)][i(341)][i(444)](i(449),(t=>this[i(463)](t))),this[i(325)][i(341)][i(444)](i(434),(t=>this[i(428)](t))),this[i(325)][i(341)][i(444)](i(363),!1),this[i(343)](),this[i(431)]()}set[Ho(439)](t){const e=Ho;this[e(325)][e(403)][e(437)](e(399))[e(439)]=t}get[Ho(439)](){const t=Ho;return this[t(325)][t(403)][t(437)](t(399))[t(439)]}[Ho(448)](t){const e=Ho;return this[e(325)][e(403)][e(437)](e(399))[e(448)](t)}[Ho(375)](t){const e=Ho;return this[e(325)][e(403)][e(437)](e(346))[e(375)](t)}[Ho(438)](t){const e=Ho;return this[e(325)][e(403)][e(437)](e(346))[e(438)](t||{toJSON:!1})}[Ho(340)](){const e=Ho,i=this[e(325)],s=(0,U.sanitizeEditorConfig)(i,Bo),n=i[e(403)][e(437)](e(399)),r=i[e(403)][e(437)](e(395))[e(445)];return s[e(360)]=[e(322),e(339),e(461)],delete s[e(436)],s[e(403)][e(402)](Jo,ee,be,class extends Z.Plugin{static get[e(454)](){return[ee,e(395)]}[e(397)](){const s=e,o=this[s(325)][s(403)][s(437)](s(395));for(const t of r)t[s(384)]||o[s(331)](t.id)||o[s(338)](t);const a=n[s(351)][s(438)]();let c=null;const u=this[s(325)][s(403)][s(437)](s(398));u[s(439)]=n[s(439)],u[s(401)](s(404)).to(n),this[s(325)][s(366)][s(437)](s(339))[s(401)](s(404)).to(i,s(353),(t=>!t));for(const e of a){const i=null===e[s(407)];if(i&&e[s(410)]===e[s(329)])continue;const r=e[s(376)]();u[s(448)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(421)](r,o);else if(!o){const e=a[u(376)]();e.id=(0,t.uid)(),n[u(374)](e,a[u(410)])[u(471)]((t=>{c=t}))}}else e[u(421)](r,o)}))}}},No),s}[Ho(343)](){const t=Ho,e=this[t(325)][t(341)][t(437)](t(373))[t(464)];this[t(325)][t(341)][t(354)](t(393),(async()=>{const i=t;this[i(325)][i(337)](i(320));const s=this[i(325)][i(403)][i(437)](i(399));if(this[i(325)][i(403)][i(330)](i(323))){const t=this[i(325)][i(403)][i(437)](i(323));await t[i(348)]()}else await s[i(441)]();if(this[i(325)][i(403)][i(330)](i(368))&&this[i(325)][i(403)][i(437)](i(368))[i(386)](),this[i(325)][i(403)][i(330)](i(423))){const t=this[i(325)][i(403)][i(437)](i(423));t[i(457)]&&t[i(440)]()}const n=this[i(340)]();return e(n)[i(471)]((t=>{const e=i;return this[e(400)]=t,this[e(325)][e(403)][e(330)](e(321))&&this[e(325)][e(403)][e(437)](e(321))[e(355)](),this[e(325)][e(403)][e(330)](e(422))&&(this[e(325)][e(403)][e(437)](e(442))[e(392)][e(359)][e(377)][e(347)]=e(430)),t}))[i(467)]((t=>(console[i(350)](t),this[i(325)][i(406)](i(320)),null)))}))}[Ho(431)](){const t=Ho,e=this[t(325)][t(341)][t(437)](t(373))[t(391)];this[t(325)][t(341)][t(354)](t(449),(()=>(this[t(325)][t(403)][t(330)](t(368))&&this[t(325)][t(403)][t(437)](t(368))[t(386)](),this[t(325)][t(403)][t(330)](t(422))&&(this[t(325)][t(403)][t(437)](t(442))[t(392)][t(359)][t(377)][t(347)]=""),this[t(400)][t(403)][t(437)](t(398))[t(452)](),e(this[t(400)])[t(471)]((()=>{const e=t;if(this[e(325)][e(406)](e(320)),this[e(400)]=null,this[e(325)][e(403)][e(330)](e(321))){const t=this[e(325)][e(403)][e(437)](e(321));t[e(355)](),t[e(379)]()}})))))}[Ho(367)](t){const e=Ho,i=this[e(325)][e(341)][e(437)](e(409)),s=this[e(325)][e(341)][e(437)](e(389)),n=this[e(325)][e(341)][e(437)](e(380));return Uo[e(429)](n,t)[e(471)]((t=>(s[e(377)][e(347)]=e(365),i[e(377)][e(347)]=e(430),this[e(456)]=!0,t)))}[Ho(463)](t){const e=Ho,i=this[e(325)][e(341)][e(437)](e(409));return this[e(325)][e(341)][e(437)](e(389))[e(377)][e(347)]=e(430),i[e(377)][e(347)]="",this[e(456)]=!1,t[e(408)]()}async[Ho(428)](t){const e=Ho,i=this[e(325)],s=this[e(400)][e(403)][e(437)](e(398)),n=i[e(403)][e(437)](e(399)),r=i[e(403)][e(437)](e(458)),o=s[e(351)][e(375)](t);let a,c,u;try{await r[e(425)](o,this[e(439)]),a=r[e(362)](o),c=r[e(383)](o)}catch(t){return void console[e(350)](t)}i[e(364)][e(470)]((t=>{const s=e;for(const e of Array[s(416)](i[s(364)][s(357)][s(328)](s(387))))t[s(333)](e)})),s[e(370)]=!1,i[e(364)][e(417)]((t=>{const s=e;t[s(372)](null),t[s(369)](i[s(364)][s(435)][s(424)][s(371)]());const n=Object[s(412)](a);for(const e of i[s(364)][s(435)][s(405)])s(378)!=e[s(349)]&&e[s(465)]()&&!n[s(388)](e[s(349)])&&t[s(450)](e);for(const e of n){let n=i[s(364)][s(435)][s(418)](e);n&&n[s(465)]()||(n=t[s(356)](e));const r=c[e],o=Object[s(412)](r),u=a[e];for(const e of n[s(371)]())o[s(388)](e)||t[s(432)](e,n);for(const i of o)t[s(462)](i,c[e][i],n);t[s(426)](t[s(414)](n)),t[s(443)](i[s(419)][s(433)](u,n),n,0)}}));const l=Q(i[e(332)],e(427));return u=o[e(459)]?-1==o[e(459)][e(334)](l)?l+": "+o[e(459)]:o[e(459)]:l+": "+o[e(413)][e(352)](i[e(332)][e(469)],{month:e(455),day:e(460)})+", "+o[e(413)][e(411)](i[e(332)][e(469)],{hour:e(460),minute:e(460)}),await n[e(374)]({name:u}),s[e(370)]=!0,i[e(341)][e(437)](e(373))[e(391)]()}}function Go(){var t=["575638gjbSFB","8KBVdHv","373952ifNvBG","181062tkBlXl","3879618VhEWMU","1438740WvhaZP","346230DaNxDB","721503zithxL"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();return(Ko=function(t,e){return i[t-=147]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(399238===parseInt(e(152))/1+-parseInt(e(149))/2+-parseInt(e(151))/3+parseInt(e(154))/4+parseInt(e(150))/5+parseInt(e(148))/6+-parseInt(e(147))/7*(parseInt(e(153))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const M=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function V(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,V(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=255]})(t,e)}function z(){const t=["model","diffData","860120JpAlyK","creator","fire","set","10zlhfrB","_update","1ohWLdU","toVersion","createdAt","setName","creatorId","84IXuCxt","2376114TZVafB","fromVersion","795165INUuSC","removeAttribute","772316LsZFSi","attributes","27320vzyfYP","712827AzpBOk","authors","authorsIds","4383920DjZeDt","setAttribute","name","toJSON","map"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(217003===parseInt(e(266))/1*(parseInt(e(276))/2)+parseInt(e(274))/3+-parseInt(e(260))/4*(parseInt(e(264))/5)+parseInt(e(272))/6+-parseInt(e(271))/7*(parseInt(e(278))/8)+parseInt(e(279))/9+-parseInt(e(282))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[L(261)];[L(280)];[L(259)];[L(267)];[L(273)];[L(258)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(261)]=e[i(261)]||null,this[i(280)]=e[i(280)]||[],this[i(259)]=e[i(259)]||null,this[i(267)]=e[i(267)]||0,this[i(273)]=e[i(273)]||0,this[i(263)](i(255),e[i(255)]||""),this[i(263)](i(268),e[i(268)]||new Date),this[i(263)](i(277),e[i(277)]||{})}[L(269)](t){this[L(265)]({name:t})}[L(283)](t,e){const i=L,s=A(this[i(277)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(265)]({attributes:s})}[L(275)](t){const e=L,i=A(this[e(277)]);(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(265)]({attributes:i})}[L(265)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(255),i(268),i(259),i(280),i(277),i(267),i(273),i(270)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(280)]&&(n[i(281)]=n[i(280)][i(257)]((t=>t.id)),delete n[i(280)]),this[i(262)](i(265),n,e))}[L(256)](){const t=L;return{id:this.id,name:this[t(255)],creatorId:this[t(261)]?this[t(261)].id:null,authorsIds:this[t(280)][t(257)]((t=>t.id)),diffData:this[t(259)],createdAt:this[t(268)],attributes:this[t(277)],fromVersion:this[t(273)],toVersion:this[t(267)]}}}var U=i(782),Z=i(211),H=i(783);const q=B;function $(){const t=["name","15727107tZQlfr","data","getEarlierVisibleRevision","later","map","21432IbufBL","toVersion","pluginName","getLaterVisibleRevision","href","2471rAZUxv","creatorId","Users","RevisionsRepository","push","isOfficialPlugin","toJSON","plugins","_revisions","5969169BNKbQH","attributes","reverse","1133880iixNlf","afterInit","editor","getIndex","2316579efsLKJ","createdAt","requires","diffData","createRevision","122EFffGx","27415isJFVv","add","get","length","oldRevisionId","10OJHfmM","earlier","join","from","472OOsQWw","15422MMmbvG","fromCharCode","addRevision","getRevisions","authorsIds","getRevision","isPremiumPlugin","fromVersion","getRevisionsInDiff","getUser","newRevisionId","isNaN","getRevisionsIterator"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=195]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(713256===-parseInt(e(245))/1*(-parseInt(e(200))/2)+parseInt(e(240))/3+-parseInt(e(199))/4*(parseInt(e(246))/5)+parseInt(e(219))/6*(-parseInt(e(224))/7)+parseInt(e(236))/8+parseInt(e(233))/9*(-parseInt(e(195))/10)+parseInt(e(214))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(232)];static get[q(242)](){return[Z.Users]}static get[q(221)](){return q(227)}static get[q(229)](){return!0}static get[q(206)](){return!0}get[q(249)](){const t=q;return this[t(232)][t(249)]}constructor(e){const i=q;super(e),this[i(232)]=new t.Collection}[q(237)](){!async function(e){const i=k([103,80,115,108,90,99,85,113,97,111,109,76,79,56,114,75,74,101,104,69,71,84,122,112,89,107,68,116,67,57,120,50,117,48,106,86,77,73,102,83,105,82,87,54,98,49,55,53,65,119,88,78,118,81,72,110,70,66,52,121,51,100]),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(211)](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([103]);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(218)]((t=>String[e(201)](t)))[e(197)]("")}!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:1744243200;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(223)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(244)](t){const e=q,i=this[e(238)][e(231)][e(248)](e(226));return new W({id:t.id,name:t[e(213)],creator:t[e(225)]?i[e(209)](t[e(225)]):null,diffData:t[e(243)]||t[e(215)],authors:t[e(204)][e(218)]((t=>i[e(209)](t))),createdAt:new Date(t[e(241)]),attributes:t[e(234)],fromVersion:t[e(207)],toVersion:t[e(220)]})}[q(202)](t,e=0){const i=q;this[i(232)][i(247)](t,e)}[q(205)](t){const e=q;return this[e(232)][e(248)](t)}[q(203)](t={toJSON:!1}){const e=q,i=Array[e(198)](this[e(232)]);return i[e(235)](),t[e(230)]?i[e(218)]((t=>t[e(230)]())):i}[q(239)](t){const e=q;return this[e(232)][e(239)](t)}[q(216)](t){const e=q,[,i]=this[e(212)](t,{direction:e(196)});return i}[q(222)](t){const e=q,[,i]=this[e(212)](t,{direction:e(217)});return i}[q(208)](t){const e=q,i=[];for(const s of this[e(212)](t[e(210)]))if(i[e(228)](s),s.id===t[e(250)])break;return i}*[q(212)](t,{direction:e=q(196),filter:i=()=>!0}={}){const s=q,n=s(196)===e?1:-1;let r=this[s(232)][s(248)](t),o=this[s(239)](r);for(yield r;r;){if(o+=n,r=this[s(205)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=279]})(t,e)}function K(){const t=["useFillerType","toData","69770lvUMMo","customProperties","_getViewFromDiffObj","53395ywtHbH","render","insertions","collaboration.channelId","innerHTML","processor","attributesAfter","RevisionHistoryUtils","_appendChild","toModel","type","_typeCharToViewClass","createElement","_makeModelFromViewString","domChildrenToView","editing","isOfficialPlugin","append","document","2070816vNTliq","revision-end","getRevisionDocumentData","pluginName","_setCustomProperty","857488ZbSHpq","from","div","diffData","340710RBfKcj","htmlProcessor","length","domDocument","get","parse","revision-start","marked","662115XraCoT","children","editor","constructor","_getTypeCharForViewElement","getFillerOffset","998548SynOEV","2cjOnJg","string","forEach","map","27dqLSlh","domConverter","15Xsupap","getRevision","getRevisionRootsAttributes","childNodes","attachChange","_viewClassToTypeChar","isPremiumPlugin","isAttached","attributes","view","startsWith","viewChildrenToDom","fillerOffset","name","data-revision-","default","_removeRevisionMarkers","config","filter","loadRevisionData","14LPpJkB","data"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(135075===-parseInt(e(323))/1+parseInt(e(290))/2*(parseInt(e(283))/3)+-parseInt(e(289))/4+parseInt(e(296))/5*(parseInt(e(351))/6)+-parseInt(e(316))/7*(-parseInt(e(347))/8)+-parseInt(e(294))/9*(-parseInt(e(320))/10)+-parseInt(e(342))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends U.Plugin{static get[J(345)](){return J(330)}static get[J(339)](){return!0}static get[J(302)](){return!0}[J(301)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[J(334)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[J(315)](t,e){const i=J;if(t[i(350)]||!e)return;const s=this[i(285)][i(313)][i(279)](i(326)),n=await e[i(297)]({channelId:s,revisionId:t.id});t[i(350)]=n[i(350)]}[J(344)](t){const e=J,i={};for(const s in t[e(350)]){if(t[e(350)][s][e(300)]&&!t[e(350)][s][e(300)][e(303)])continue;const n=this[e(312)](JSON[e(280)](t[e(350)][s][e(325)])),r=this[e(285)][e(338)][e(305)][e(341)],o=new H.ViewDocumentFragment(r,n[e(293)]((t=>this[e(322)](t,!1))));this[e(285)][e(317)][e(328)][e(318)](e(282)),i[s]=this[e(285)][e(317)][e(328)][e(319)](o),this[e(285)][e(317)][e(328)][e(318)](e(311))}return i}[J(298)](t){const e=J,i={};for(const s in t[e(350)])t[e(350)][s][e(300)]&&!t[e(350)][s][e(300)][e(303)]||(i[s]=t[e(350)][s][e(329)]||{});return i}[J(287)](t){const e=J;return this[e(301)][e(279)](t[e(286)])}[J(322)](t,e){const i=J,s=this[i(285)][i(338)][i(305)][i(341)];if(i(291)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(333)]||"r"==t[i(333)]?[]:t[i(284)][i(293)]((t=>this[i(322)](t,e)));const o=this[i(334)][i(279)](t[i(333)])||H.ViewElement,a=this[i(285)][i(317)][i(352)][i(295)];if(n=new o(s,t[i(309)],t[i(304)],r),"u"==t[i(333)]&&t[i(284)][0]){const r=t[i(284)][0];if(n[i(324)]=function(t){const e=i,s=t[e(335)](e(349));return s[e(327)]=r,s[e(299)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(331)](n);const e=Array[i(348)](a[i(307)](t,{bind:!1})),r=a[i(354)][i(335)](i(349));r[i(340)](...e),n=Array[i(348)](a[i(337)](r))[0]}}else if("r"==t[i(333)]&&t[i(284)][0]){const r=t[i(284)][0];if(n[i(324)]=function(t){t[i(327)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(331)](n);const e=Array[i(348)](a[i(307)](t,{bind:!1})),r=a[i(354)][i(335)](i(349));r[i(340)](...e);const o=Array[i(348)](a[i(337)](r));o[i(353)]>1?n[i(331)](o):n=o[0]}}if(t[i(321)])for(const[e,s]of t[i(321)])n[i(346)](e,s);const c=void 0===t[i(308)]?null:t[i(308)];return null!==c&&(n[i(288)]=()=>c),n}}[J(336)](t){const e=J,i=JSON[e(280)](t),s=this[e(285)][e(338)][e(305)][e(341)],n=new H.ViewDocumentFragment(s,i[e(293)]((t=>this[e(322)](t,!0))));return this[e(285)][e(317)][e(332)](n)}[J(312)](t){const e=J;return(t=t[e(314)]((t=>!t[e(309)]||e(281)!==t[e(309)]&&e(343)!==t[e(309)])))[e(292)]((t=>{const i=e;i(291)!=typeof t&&(t[i(284)]=this[i(312)](t[i(284)]),t[i(304)]=t[i(304)][i(314)]((t=>!t[0][i(306)](i(310)))))})),t}}function Q(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 tt(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 et(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 it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,M;const E=(s=s??new Map).get(t),V=s.get(i);if(null!=E&&null!=V)return E===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,T)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,T)||tt(t)&&tt(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(!et(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ct;function ot(){const t=["loadState","revisionHistory.resumeUnsavedRevision","authors","conversion","_makeIdsRoot","_clone","createElement","revisionHistoryLicenseKeyNotAllowed","initial","_bufferedUpdates","_replaceEditorDataWithRevisionData","insertions","addRootAttribute","move","setRevisionData","_pendingAction","_handleRootAttributeOperation","createPositionAfter","rawElement","repository","innerHTML","dataDowncast","end","_diffRoots","getRoot","newRange","customProperties","then","deletions","parent","getAttribute","_saveMetaData","_handleRootOperation","_markers","isAttached","element","markerToData","max","version","insert","domConverter","afterInit","_transformMarkers","sourcePosition","_savedMetaData","removeRootAttribute","_setAttribute","isEqual","_handleSplitOperation","nodes","vid_end","define","map","length","_reset","getAncestors","userId","documentFragment","from","410SVrING","_revisionDataBuilder","_lastTo","2992473eMzFtK","_showLicenseError","shift","getUser","_getPreviousFrom","keys","_getVidAttributeName","_isAttached","root","getRevision","_loadedStateData","paragraph","includes","revisionHistoryLicenseKeyUsageLimit","uiElement","editor","RevisionTracker","path","_execute","createPositionBefore","_bufferUpdate","toVersion","elementStart","_isPendingUpdate","sendBufferedUpdates","creatorId","insertion","_createFromRanges","source","_authorId","history","vid","updateRevisions","update","offset","slice","markers","collaboration.channelId","reverse","Users","18230ugjupk","_idsRoots","createRangeIn","add","authorsIds","getFillerOffset","revisionHistoryLicenseKeyInvalid","fillerOffset","createPositionFromPath","targetPosition","finally","buildRevisionData","push","_handleInsertOperation","elementEnd","tableCell","trim","creator","position","Initial revision","getRevisionDocumentData","offsetSize","newValue","init","reinsert","saveRevision","NEGATIVE_INFINITY","filter","createRange","values","_baseRoots","_getFromVersion","roots","invalid","vid_start","name","53fhQcMJ","stringify","baseVersion","_touched","trialLimit","for","model","dataToMarker","getWalker","domDocument","getChildren","addRevisionData","_getState","_processRootBeforeSave","revision","locale","_baseIdsRoots","createdAt","_makeRevision","addRevision","item","_getViewJson","_calculateMetaData","_continueCurrentRevision","RevisionHistoryUtils","attributesBefore","getRange","revisionHistoryLicenseKeyEvaluationLimit","getMovedRangeStart","_handleMarkerOperation","loadRevisionData","_fixRange","getIndex","set","changeRootAttribute","_startingRevisionId","destroy","_revisionId","isPremiumPlugin","split","string","_handleMoveOperation","6110181HUolOW","getAttributes","data","_touchedMarkers","isAdd","getCustomProperties","clone","_prepareViewToSave","adapter","_touchedRoots","$graveyard","RealTimeCollaborationClient","_insertChild","_loadState","6723CTwHQb","_generateTape","render","licenseKey","_utils","Empty document","getRevisionRootsAttributes","get","key","_startingVersion","_source","remove","getChild","evaluationLimit","_copyMarkers","_update","has","_diffRootsAttributes","bind","requires","RevisionsRepository","revision:","affectsData","_createCurrentRevision","revisionHistoryLicenseKeyDomainLimit","reInit","PendingActions","_initialRevisionId","isReady","getRevisions","outerHTML","getOperation","attributesAfter","RevisionHistory","getTransformedByOperation","$comment","_createInitialRevision","clear","currentRevision","_appendChild","usageLimit","fromEntries","nodeAfter","diffData","upcast","_licenseKeyCheckInterval","fromVersion","_baseRootsAttributes","revisionHistoryLicenseKeyValid","_setConversion","_removePendingAction","children","pluginName","_handleMergeOperation","PENDING_ACTION_REVISION_HISTORY","range","_makeModelFromViewString","merge","find","_isInit","revisionHistoryLicenseKeyTrialLimit","some","keepParagraph","createPositionAt","getRootNames","document","graveyardPosition","marker","1026033tnuQgW","4373948UGJRXf","15582qokGJE","oldRange","howMany","getData","_removeMetaData","expired","isOfficialPlugin","getNodeByPath","htmlProcessor","editor-initial-data-replaced-with-revision-data","_getTypeCharForViewElement","35538heSjgL","_lastFrom","start","stickiness","sort","_getBaseVids","_cloneOperation","isEnabled","splitPosition","toView","rootName","text","_operations","size","detachRoot","ready","previousPosition","setSource","resolve","addRoot","_addPendingAction","deletion","getTime","getLatestVersion","hasContent","_markChanges","delete","attachChange","8dbuIuk","plugins","_handleOperation","getCurrentRevisionId","childCount","domainLimit","rootsAttributes","insertionPosition","featureNotAllowed","config","_findInsertionIndex","_fixPosition","initialData","revisionHistoryLicenseKeyExpired","_fixOperation","startsWith","getOperations","_applyOperations","$text","createRevision","type"];return(ot=function(){return t})()}!function(t){const e=ct,i=t();for(;;)try{if(747320===parseInt(e(603))/1*(-parseInt(e(405))/2)+parseInt(e(403))/3+parseInt(e(404))/4+-parseInt(e(524))/5*(-parseInt(e(416))/6)+-parseInt(e(321))/7*(-parseInt(e(444))/8)+-parseInt(e(335))/9*(parseInt(e(567))/10)+-parseInt(e(527))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class at extends U.Plugin{[rt(338)];[rt(380)];[rt(373)]=null;[rt(484)];[rt(329)]=null;[rt(525)];[rt(345)];[rt(362)];[rt(474)];[rt(339)];[rt(480)];[rt(302)];[rt(344)];[rt(537)];static get[rt(387)](){return rt(543)}static get[rt(411)](){return!0}static get[rt(317)](){return!0}static get[rt(354)](){return[Z.Users,Y,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(484)]=this[i(542)][i(445)][i(342)](i(355)),this[i(339)]=this[i(542)][i(445)][i(342)](i(303)),this[i(525)]=new ut(this[i(542)]),this[i(362)]=this[i(542)][i(453)][i(342)](i(564))||i(473),this[i(474)]=new Map,this[i(537)]=null;const s=(0,t.uid)();this[i(345)]={history:this[i(542)][i(609)][i(400)][i(557)],getLatestVersion:()=>Promise[i(434)](this[i(542)][i(609)][i(400)][i(503)]),getCurrentRevisionId:()=>s},this[i(312)](i(363),!1),this[i(312)](i(423),!0),this[i(312)](i(550),!1),this[i(542)][i(453)][i(516)](i(466),!0),this[i(542)][i(468)][i(608)](i(379))[i(610)]({view:i(293)})}[rt(590)](){const t=rt;this[t(384)](),this[t(542)][t(323)].on(t(431),(()=>{const e=t,i=this[e(484)][e(536)](0),s=i&&null===i[e(584)]?i:null;if(this[e(302)]=!!s&&this[e(542)][e(453)][e(342)](e(466)),this[e(542)][e(445)][e(351)](e(332))){const t=this[e(345)][e(447)](),n=this[e(484)][e(536)](t);if(n)this[e(344)]=n[e(381)],this[e(302)]=!1;else{const t=this[e(345)][e(557)][e(428)][e(393)]((t=>!t[e(394)])),n=t?t[e(605)]:this[e(345)][e(557)][e(503)];i?(i[e(548)]<n&&i[e(350)]({toVersion:n}),this[e(302)]?(this[e(345)][e(447)]=()=>s.id,this[e(344)]=s[e(381)]):(this[e(344)]=i[e(548)],this[e(302)]=!1)):(this[e(344)]=n,this[e(302)]=!1)}}else s&&(this[e(542)][e(609)][e(400)][e(557)][e(503)]=Math[e(502)](s[e(548)],this[e(542)][e(609)][e(400)][e(557)][e(503)]),s[e(381)]===s[e(548)]?(0!==s[e(381)]&&(this[e(345)][e(447)]=()=>s.id),this[e(302)]=!1):this[e(302)]&&(this[e(345)][e(447)]=()=>s.id,this[e(344)]=s[e(381)])),this[e(302)]||(this[e(344)]=this[e(542)][e(609)][e(400)][e(503)]);this[e(525)][e(590)](this[e(345)][e(557)]),this[e(371)](this[e(344)]),this[e(358)](this[e(344)]),this[e(329)]&&this[e(551)]()})),this[t(353)](t(363)).to(this,t(550),(t=>!t)),this[t(338)]=this[t(542)][t(453)][t(342)](t(338));const e=this[t(542)];this[t(380)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(383)==r||i(573)==r||i(457)==r||i(359)==r||i(472)==r||i(306)==r||i(395)==r||i(540)==r){delete e[n],s=r,clearInterval(this[i(380)]),this[i(380)]=void 0;break}}i(573)==s&&e[i(528)](i(600)),i(457)==s&&e[i(528)](i(410)),i(359)==s&&e[i(528)](i(449)),i(472)==s&&e[i(528)](i(452),i(368)),i(306)==s&&e[i(528)](i(348)),i(395)==s&&e[i(528)](i(607)),i(540)==s&&e[i(528)](i(375))}),1e3)}async[rt(506)](){const t=rt;if(this[t(484)][t(518)]>0){const e=this[t(484)][t(536)](0),i=await this[t(587)](e),s=await this[t(341)](e);this[t(475)](i,s)}}[rt(315)](){const t=rt;super[t(315)](),this[t(380)]&&clearInterval(this[t(380)])}[rt(433)](t){this[rt(345)]=t}async[rt(560)](){const t=rt,e=await this[t(345)][t(439)]();if(e>this[t(373)][t(548)]){await this[t(334)]();const i=this[t(578)]({revision:this[t(373)],to:e});i[t(467)]=i[t(571)][t(517)]((e=>this[t(542)][t(445)][t(342)](t(566))[t(530)](e))),this[t(373)][t(350)](i)}}async[rt(592)](e={},i=null){const s=rt,n=[];await this[s(334)](),this[s(302)]=!1,i>this[s(373)][s(548)]&&(i=null),null===i&&(i=await this[s(345)][s(439)]());const r=this[s(598)](i),o=this[s(578)]({from:r,to:i});if(this[s(373)][s(548)]<i){const t=this[s(578)]({revision:this[s(373)],from:i,to:i});t[s(467)]=[],t[s(571)]=[],t.id=this[s(373)].id,this[s(373)][s(350)](t,!0),delete t[s(467)],n[s(579)](t)}e[s(552)]=this[s(542)][s(445)][s(342)](s(566)).me.id,e[s(602)]=e[s(602)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(290)](e);n[s(579)](e);const c=this[s(484)][s(311)](a);if(0!==c){const t=this[s(484)][s(536)](c-1);if(t[s(381)]!==i){const r=this[s(525)][s(408)](i,t[s(548)]),o={id:t.id,diffData:r[s(378)],authorsIds:r[s(571)],authors:r[s(571)][s(517)]((t=>this[s(542)][s(445)][s(342)](s(566))[s(530)](t))),fromVersion:i};t===this[s(373)]&&(o[s(296)]=new Date(e[s(296)][s(438)]()+10)),t[s(350)](o,!0),delete o[s(467)],n[s(579)](o)}}if(this[s(329)]){for(const t of n)this[s(547)](t.id,t,!0);this[s(551)]()}return a}[rt(290)](t){const e=rt,i=this[e(484)][e(463)](t);return this[e(329)]&&i.on(e(350),((t,i,s)=>{const n=e;s||(this[n(547)](i.id,i,!0),this[n(551)]())})),this[e(484)][e(298)](i,this[e(454)](i)),i}async[rt(587)](t){const e=rt;return await this[e(339)][e(309)](t,this[e(329)]),this[e(339)][e(587)](t)}async[rt(341)](t){const e=rt;return await this[e(339)][e(309)](t,this[e(329)]),this[e(339)][e(341)](t)}[rt(551)](){const t=rt;if(0===this[t(474)][t(429)])return;if(this[t(550)])return;let e=Array[t(523)](this[t(474)][t(596)]());this[t(474)][t(372)]();for(let i=0;i<e[t(518)];i++){const s=e[i];let n=!1;for(const e of Object[t(532)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(594)]((t=>null!==t)),!e[t(518)])return;for(let i=0;i<e[t(518)];i++){const s=e[i];void 0!==s[t(381)]&&void 0===s[t(548)]&&(s[t(548)]=this[t(484)][t(536)](s.id)[t(548)]),void 0!==s[t(548)]&&void 0===s[t(381)]&&(s[t(381)]=this[t(484)][t(536)](s.id)[t(381)])}const i=this[t(542)][t(453)][t(342)](t(564));this[t(550)]=!0,this[t(436)](),this[t(329)][t(559)](e,i)[t(577)]((()=>{this[t(550)]=!1}))[t(492)]((e=>{const i=t;if(e)for(const t of e)this[i(479)]({id:t.id,createdAt:t[i(296)]});this[i(385)](),this[i(551)]()}))}[rt(578)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(381)],i=null!==i?i:t[s(548)];const n=this[s(525)][s(408)](e,i),r={diffData:n[s(378)],authorsIds:n[s(571)],fromVersion:e,toVersion:i};if(!t||i!==t[s(548)]){const t=i-1,e=this[s(345)][s(557)][s(366)](t);r[s(296)]=e&&e[s(296)]||new Date}if(this[s(537)]&&e===this[s(537)][s(381)])for(const t of this[s(537)][s(467)])r[s(571)][s(539)](t.id)||r[s(571)][s(579)](t.id);return r}[rt(547)](t,e,i){const s=rt;if(this[s(474)][s(351)](t)){const n=this[s(474)][s(342)](t);e=i?{...n,...e}:{...e,...n}}this[s(474)][s(312)](t,e)}[rt(479)](t){const e=rt,i=this[e(484)][e(536)](t.id);if(t[e(296)]&&(t[e(296)]=new Date(t[e(296)])),t[e(571)]){const i=this[e(542)][e(445)][e(342)](e(566));t[e(467)]=t[e(571)][e(517)]((t=>i[e(530)](t)))}i[e(350)](t,!0)}[rt(371)](t){const e=rt,i=this[e(484)][e(536)](this[e(484)][e(518)]-1);if(i)this[e(362)]=i.id;else{const i=!this[e(542)][e(609)][e(400)][e(599)][e(393)]((t=>this[e(542)][e(609)][e(440)](t))),s=this[e(542)][e(445)][e(342)](e(566)).me.id,n=Q(this[e(542)][e(294)],e(i?340:586));this[e(297)]({from:t,to:t,id:this[e(362)],name:n,creatorId:s})}}[rt(358)](t){const e=rt,i=this[e(345)][e(447)]();this[e(373)]=this[e(484)][e(536)](i),this[e(373)]||(this[e(373)]=this[e(297)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(334)](){const t=rt;this[t(302)]&&!this[t(537)]&&(await this[t(339)][t(309)](this[t(373)],this[t(329)]),this[t(525)][t(465)](this[t(373)]),this[t(537)]={fromVersion:this[t(373)][t(381)],authors:this[t(373)][t(467)][t(562)]()})}[rt(475)](e,i){const s=rt;let n=this[s(542)][s(453)][s(342)](s(456)),r=this[s(542)][s(453)][s(342)](s(450));if(void 0===n){n={};for(const t of this[s(542)][s(609)][s(400)][s(399)]())n[t]=""}if(s(319)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(542)][s(609)][s(400)][s(399)]())r[t]={}}let o=!1;const a=Object[s(532)](n),c=Object[s(532)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(583)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(532)](r[t])[s(518)]>0){o=!0;break}}o||(o=c[s(396)]((t=>!this[s(542)][s(609)][s(400)][s(489)](t)))),o&&(0,t.logWarning)(s(414),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(542)][s(453)][s(312)](s(456),e),this[s(542)][s(453)][s(312)](s(450),i)}[rt(436)](){const t=rt;if(!this[t(480)]){const e=this[t(542)][t(445)][t(342)](t(361));this[t(480)]=e[t(570)](Q(this[t(542)][t(294)],t(389)))}}[rt(385)](){const t=rt;this[t(480)]&&(this[t(542)][t(445)][t(342)](t(361))[t(346)](this[t(480)]),this[t(480)]=null)}[rt(454)](t){const e=rt,i=this[e(484)][e(364)]();i[e(565)]();let s=0;for(;s<i[e(518)];){const n=i[s];if(n===this[e(373)]){s++;continue}if(n.id===this[e(362)])break;const r=t[e(548)]-n[e(548)]||t[e(381)]-n[e(381)];if(r>0)break;if(r<0)s++;else{if(!t[e(584)]&&n[e(584)])break;if(n[e(584)]||!t[e(584)]){if(t[e(296)]>n[e(296)])break;s++}else s++}}return s}[rt(598)](t){const e=rt,i=this[e(484)][e(364)]();i[e(565)](),i[e(529)]();const s=i[e(393)]((i=>i[e(548)]<=t))[e(548)];return s<this[e(344)]?this[e(344)]:s}[rt(297)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(578)]({from:e,to:i});o[r(602)]=t,o[r(552)]=s,o.id=n;const a=this[r(290)](o);return this[r(329)]&&this[r(547)](o.id,o,!0),a}[rt(384)](){const t=rt;this[t(542)][t(468)][t(608)](t(486))[t(501)]({model:t(293)})}}function ct(t,e){const i=ot();return(ct=function(t,e){return i[t-=289]})(t,e)}class ut{[rt(542)];[rt(555)];[rt(509)];[rt(417)];[rt(526)];[rt(498)];[rt(488)];[rt(352)];[rt(597)];[rt(382)];[rt(568)];[rt(295)];[rt(606)];[rt(324)];[rt(330)];[rt(316)];[rt(314)];constructor(t){const e=rt;this[e(542)]=t,this[e(509)]=new Map,this[e(417)]=-1,this[e(526)]=-1,this[e(498)]=new Map,this[e(488)]=new Map,this[e(352)]=new Map,this[e(597)]=new Map,this[e(382)]=new Map,this[e(568)]=new Map,this[e(295)]=new Map,this[e(606)]=new Map,this[e(324)]=new Map,this[e(330)]=new Map,this[e(316)]=1}[rt(590)](t){const e=rt;this[e(555)]=t;const i=new Map,s=new Map,n=this[e(542)][e(609)][e(400)][e(599)][e(517)]((t=>t[e(426)]));for(const t of n){const n=this[e(542)][e(609)][e(400)][e(489)](t),r=lt(n);i[e(312)](t,r),s[e(312)](t,Object[e(376)](n[e(322)]()))}const r=Array[e(523)](this[e(542)][e(609)][e(563)])[e(517)]((t=>[t[e(602)],t[e(305)]()])),o=this[e(555)][e(503)];this[e(496)](o,i,r,s),this[e(314)]=this[e(316)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(312)](t,i),c[e(312)](t,{})}this[e(496)](Number[e(593)],a,[],c)}[rt(408)](t,e){const i=rt;if(this[i(417)]===t&&this[i(526)]<=e)this[i(509)][i(429)]>1&&this[i(409)](this[i(526)]),this[i(461)](this[i(526)],e,!0);else{if(!this[i(509)][i(351)](t)){const e=this[i(531)](t);this[i(301)](e,t,!1)}this[i(301)](t,e,!0)}return this[i(417)]=t,this[i(526)]=e,this[i(291)]()}[rt(465)](t){const e=rt,i=this[e(542)][e(445)][e(342)](e(303));this[e(519)](),this[e(417)]=t[e(381)],this[e(526)]=t[e(548)];for(const s in t[e(378)]){const n=t[e(378)][s][e(443)],r=A(t[e(378)][s][e(304)])||{},o=i[e(391)](t[e(378)][s][e(493)]);o[e(426)]=s,o[e(534)]=!n||!n[e(499)],o[e(499)]=()=>o[e(534)],this[e(597)][e(312)](s,o),this[e(382)][e(312)](s,r),n&&this[e(330)][e(312)](s,n);const a=this[e(469)](o);this[e(295)][e(312)](s,a);for(const[t,i]of o[e(563)]){if(!t[e(459)](e(356)))continue;const s=t[e(318)](":")[2];for(const t of i[e(611)]({singleCharacters:!0})){const i=this[e(533)](t),n=e(581)==t[e(464)]?t[e(432)][e(544)][e(562)](0,-1):t[e(432)][e(544)],r=a[e(412)](n)[e(495)](i);this[e(606)][e(312)](r,{userId:s})}}}this[e(314)]=this[e(316)];const s=[...Array(this[e(316)])[e(532)]()][e(562)](1)[e(594)]((t=>!this[e(606)][e(351)](t)));let n=0;const r=new Map;for(const o in t[e(378)]){const a=t[e(378)][o][e(443)],c=A(t[e(378)][o][e(367)])||{},u=i[e(391)](t[e(378)][o][e(476)]);u[e(426)]=o,u[e(534)]=!a||a[e(499)],u[e(499)]=()=>u[e(534)],this[e(488)][e(312)](o,u),this[e(352)][e(312)](o,c);const l=this[e(469)](u,Number[e(593)]);this[e(568)][e(312)](o,l),r[e(312)](o,u[e(499)]()?c:{});for(const[t,i]of u[e(563)]){if(!t[e(459)](e(356)))continue;const s=t[e(318)](":")[2];for(const t of i[e(611)]({singleCharacters:!0})){const i=this[e(533)](t),n=this[e(316)]++,r=e(581)==t[e(464)]?t[e(432)][e(544)][e(562)](0,-1):t[e(432)][e(544)];l[e(412)](r)[e(511)](i,n),this[e(606)][e(312)](n,{userId:s})}}for(const t of this[e(542)][e(609)][e(569)](u)[e(611)]({singleCharacters:!0})){const i=this[e(533)](t),r=e(581)==t[e(464)]?t[e(432)][e(544)][e(562)](0,-1):t[e(432)][e(544)],o=l[e(412)](r);o[e(495)](i)>0||o[e(511)](i,s[n++])}for(const[t,i]of u[e(563)])t[e(459)](e(356))||this[e(498)][e(312)](t,i)}const o=ht(e(331));this[e(597)][e(312)](e(331),o),this[e(295)][e(312)](e(331),this[e(469)](o,1));const a=ht(e(331));this[e(488)][e(312)](e(331),a),this[e(568)][e(312)](e(331),this[e(469)](a,1));const c=Array[e(523)](this[e(488)])[e(517)]((([t,e])=>[t,lt(e)]));this[e(496)](this[e(526)],c,this[e(498)],r)}[rt(360)](){const t=rt;this[t(519)](),this[t(417)]=-1,this[t(526)]=-1,this[t(509)][t(372)](),this[t(590)](this[t(555)])}[rt(496)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(312)](t,{start:e[n(418)][n(327)](),end:e[n(487)][n(327)](),rootName:e[n(535)][n(426)]});this[n(509)][n(312)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(409)](t){const e=rt;this[e(509)][e(442)](t)}[rt(519)](){const t=rt;this[t(606)][t(372)](),this[t(324)][t(372)](),this[t(330)][t(372)](),this[t(488)][t(372)](),this[t(352)][t(372)](),this[t(597)][t(372)](),this[t(382)][t(372)](),this[t(568)][t(372)](),this[t(295)][t(372)](),this[t(498)][t(372)](),this[t(316)]=1,this[t(314)]=this[t(316)]}[rt(469)](t,e=null){const i=rt;let s=null;t.is(i(522))||(s=new H.Element(t[i(602)],{vid_start:null===e?this[i(316)]++:e++}));const n=[];for(const s of t[i(289)]())if(s.is(i(500))){n[i(579)](this[i(469)](s,e));const t=n[n[i(518)]-1];null!==e&&(e=t.is(i(500),i(462))?t[i(495)](i(558))+1:t[i(495)](i(515))+1)}else for(let t=0;t<s[i(588)];t++)n[i(579)](new H.Element(i(462),{vid:null===e?this[i(316)]++:e++}));if(t.is(i(522))){const e=ht(t[i(426)]);return e[i(333)](0,n),e}return s[i(511)](i(515),null===e?this[i(316)]++:e++),s[i(333)](0,n),s}[rt(301)](t,e,i){const s=rt;this[s(519)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(509)][s(342)](t);this[s(597)]=new Map(n),this[s(382)]=new Map(A(o));for(const[t,e]of this[s(597)])if(s(331)!==t&&(this[s(488)][s(312)](t,lt(e)),this[s(352)]=new Map(A(o)),i)){const i=this[s(316)];this[s(568)][s(312)](t,this[s(469)](e)),this[s(295)][s(312)](t,this[s(469)](e,i))}this[s(314)]=this[s(316)],this[s(488)][s(312)](s(331),lt(this[s(597)][s(342)](s(331)))),i&&this[s(568)][s(312)](s(331),this[s(469)](this[s(597)][s(342)](s(331))));for(const[t,e]of r){const i=this[s(597)][s(342)](e[s(426)]),n=this[s(488)][s(342)](e[s(426)]),r=new H.Range(this[s(455)](e[s(418)],i),this[s(455)](e[s(487)],i)),o=this[s(310)](r,n);i[s(563)][s(312)](t,r),this[s(498)][s(312)](t,o)}this[s(461)](t,e,i)}[rt(461)](t,e,i){const s=rt;for(const n of this[s(555)][s(460)](t,e))this[s(446)](n,i);for(const t of this[s(488)][s(596)]())t[s(563)][s(372)]();for(const[t,e]of this[s(498)])this[s(488)][s(342)](e[s(535)][s(426)])[s(563)][s(312)](t,e[s(327)]());const n=new Map,r=new Map;for(const[t,e]of this[s(488)])n[s(312)](t,lt(e)),r[s(312)](t,this[s(352)][s(342)](t));this[s(496)](e,n,this[s(498)],r)}[rt(531)](t){const e=rt,i=Array[e(523)](this[e(509)][e(532)]());i[e(420)](((t,e)=>t-e)),i[e(565)]();for(const e of i)if(e<t)return e;return Number[e(593)]}[rt(349)](t,e){const i=rt,s=Array[i(523)](e[i(563)])[i(517)]((([e,s])=>[e,this[i(310)](s,t)]));t[i(563)]=new Map(s)}[rt(507)](t){const e=rt;for(const i of this[e(498)][e(596)]()){const s=i[e(369)](t),n=H.Range[e(554)](s);i[e(418)]=n[e(418)],i[e(487)]=n[e(487)]}}[rt(446)](t,e){const i=rt;if(i(435)!=t[i(464)]&&i(430)!=t[i(464)]){if(i(504)==t[i(464)]){const s=t[i(585)][i(535)][i(426)];this[i(488)][i(351)](s)||(this[i(488)][i(312)](s,ht(s,!0)),this[i(352)][i(312)](s,{}),e&&this[i(568)][i(312)](s,ht(s,!0)))}else{if(i(477)==t[i(464)]||i(510)==t[i(464)]||i(313)==t[i(464)])return void this[i(481)](t);i(402)==t[i(464)]&&this[i(308)](t)}if(i(402)!==t[i(464)]){const e=this[i(422)](t,this[i(488)]);e[i(545)](),this[i(507)](e)}if(e)switch(t[i(464)]){case i(504):this[i(580)](t);break;case i(478):case i(346):case i(591):this[i(320)](t);break;case i(392):this[i(388)](t);break;case i(318):this[i(513)](t)}}else this[i(497)](t,e)}[rt(422)](t,e){const i=rt,s=t[i(327)]();return s[i(556)]=t[i(556)],this[i(458)](s,e),s}[rt(421)](t){const e=rt;return t[e(517)]((t=>{const i=e,s=this[i(533)](t);return Number(t[i(299)][i(495)](s))}))}[rt(336)](t,e){const i=rt;if(t.is(i(500),i(462)))e[i(579)]({item:t,type:i(427)});else{t.is(i(500))&&e[i(579)]({item:t,type:i(549)});for(const s of t[i(289)]())this[i(336)](s,e);t.is(i(500))&&e[i(579)]({item:t,type:i(581)})}return e}[rt(291)](){const t=rt,e=new Map(this[t(606)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(597)][t(532)](),...this[t(488)][t(532)]()]);a[t(442)](t(331));for(const e of a){const i=this[t(488)][t(342)](e)||ht(e,!1),s=this[t(597)][t(342)](e)||ht(e,!1);i[t(499)]()||s[t(499)]()?(n[t(476)][e]=lt(i),n[t(493)][e]=lt(s),this[t(349)](n[t(493)][e],s),this[t(349)](n[t(476)][e],i),r[t(476)][e]=this[t(336)](this[t(568)][t(342)](e),[]),r[t(493)][e]=this[t(336)](this[t(295)][t(342)](e)||ht(e,!1),[])):a[t(442)](e)}for(const n of a){const o=r[t(476)][n];for(const n of o){const r=this[t(533)](n),o=n[t(299)][t(495)](r);i[t(442)](o),o>=this[t(314)]&&s[t(312)](o,e[t(342)](o))}}for(const n of a){const a=r[t(476)][n],c=this[t(421)](r[t(493)][n]);let u=0;for(const n of a){const r=this[t(533)](n),a=n[t(299)][t(495)](r);if(!s[t(351)](a)&&!o[t(351)](a))if(i[t(351)](a))u++;else{if(a!=c[u]){const s=e[t(342)](a)||e[t(342)](c[u]);for(;a!=c[u];)i[t(351)](c[u])||(o[t(312)](c[u],s),e[t(312)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(476)][e];for(const e of n){const n=this[t(533)](e),r=e[t(299)][t(495)](n);if(o[t(351)](r)){const e=o[t(342)](r);i[t(351)](r)||i[t(312)](r,{...e}),s[t(312)](r,{...e})}}}for(const e of i[t(532)]())e>=this[t(314)]&&i[t(442)](e);const c=new Map;for(const e of a){let n=r[t(476)][e];for(const e of n)if(e[t(299)].is(t(500),t(582))){const i=this[t(533)](e),n=e[t(299)][t(495)](i);if(s[t(351)](n)){const i=e[t(299)][t(494)][t(494)][t(495)](t(601)),r=c[t(342)](i)||new Set;r[t(570)](s[t(342)](n)[t(521)]),c[t(312)](i,r)}}n=r[t(493)][e];for(const e of n)if(e[t(299)].is(t(500),t(582))){const s=this[t(533)](e),n=e[t(299)][t(495)](s);if(i[t(351)](n)){const s=e[t(299)][t(494)][t(494)][t(495)](t(601)),r=c[t(342)](s)||new Set;r[t(570)](i[t(342)](n)[t(521)]),c[t(312)](s,r)}}for(const e of c[t(532)]())(s[t(351)](e)||i[t(351)](e))&&c[t(442)](e)}for(const e of a){const n=r[t(476)][e];let o=null,a=null;for(const e of n){const n=this[t(533)](e),r=e[t(299)][t(495)](n),u=c[t(342)](r);u&&t(549)==e[t(464)]&&(o=Array[t(523)](u)[0],a=e[t(299)][t(495)](t(515))),o&&(i[t(312)](r,{userId:o}),s[t(312)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(493)][e],a=n[t(476)][e];for(const{userId:e}of this[t(324)][t(596)]())null!==e&&l[t(570)](e);for(const{userId:e}of this[t(330)][t(596)]())null!==e&&l[t(570)](e);this[t(441)](a,r[t(476)][e],s,t(553),l),this[t(441)](o,r[t(493)][e],i,t(437),l),u[e]={insertions:this[t(328)](a),deletions:this[t(328)](o),attachChange:this[t(330)][t(342)](e)||null,attributesBefore:A(this[t(382)][t(342)](e))||{},attributesAfter:A(this[t(352)][t(342)](e))}}return{diffData:u,authorsIds:Array[t(523)](l)}}[rt(292)](t){const e=rt;for(const[,i]of t[e(563)]){const t=i[e(418)][e(520)]()[e(594)]((t=>e(582)==t[e(602)]));for(const i of t)1==i[e(448)]&&i[e(347)](0).is(e(500),e(538))&&i[e(347)](0)[e(511)](e(397),!0)}}[rt(328)](t){const e=rt;this[e(292)](t);const i=this[e(542)][e(323)][e(425)](t,{}),s=Array[e(523)](i[e(289)]())[e(517)]((t=>this[e(300)](t)));return JSON[e(604)](s)}[rt(300)](t){const e=rt;if(t.is(e(462)))return t[e(323)];{const i=this[e(542)][e(445)][e(342)](e(303)),s=t,n=this[e(542)][e(323)][e(413)][e(505)],r={type:i[e(415)](s),name:s[e(602)],attributes:Array[e(523)](s[e(322)]()),children:Array[e(523)](s[e(289)]())[e(517)]((t=>this[e(300)](t)))};if(t.is(e(541))&&e(370)!=t[e(602)]){const i=t[e(337)](n[e(612)],n);r[e(386)][e(579)](i[e(365)])}else if(t.is(e(483))){const i=n[e(612)][e(471)](s[e(602)]);t[e(337)](i,n),r[e(386)][e(579)](i[e(485)])}const o=Array[e(523)](s[e(326)]());o[e(518)]>0&&(r[e(491)]=o);const a=s[e(572)]();return null!==a&&(r[e(574)]=a),r}}[rt(441)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(542)][r(609)];for(let s=0;s<e[r(518)];s++){const n=this[r(533)](e[s]),c=e[s][r(299)][r(495)](n),h=i[r(342)](c),d=s==e[r(518)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(521)]!=o[r(521)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(521)],d=l(356)+s+":"+h+":"+c++,f=u[l(595)](i,a);t[l(563)][l(312)](d,f),null!==h&&n[l(570)](h)}}[rt(533)](t){const e=rt;switch(t[e(464)]){case e(549):return e(601);case e(581):return e(515);default:return e(558)}}[rt(458)](t,e){const i=rt;t[i(605)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(342)](n[i(535)][i(426)]);t[s]=this[i(455)](n,r)}if(n instanceof H.Range){const r=e[i(342)](n[i(535)][i(426)]);t[s]=this[i(310)](n,r)}i(535)===s&&(t[i(535)]=e[i(342)](t[i(535)][i(426)]))}}[rt(310)](t,e){const i=rt;return this[i(542)][i(609)][i(595)](this[i(455)](t[i(418)],e),this[i(455)](t[i(487)],e))}[rt(455)](t,e){const i=rt;return this[i(542)][i(609)][i(575)](e,t[i(544)],t[i(419)])}[rt(580)](t){const e=rt,i=this[e(568)][e(342)](t[e(585)][e(535)][e(426)]),s=this[e(455)](t[e(585)],i),n=null===t[e(556)]?null:t[e(556)]||this[e(542)][e(445)][e(342)](e(566)).me.id,r=s[e(494)],o=this[e(316)],a=[];for(const i of t[e(514)])if(i.is(e(500)))a[e(579)](this[e(469)](i));else for(let t=0;t<i[e(588)];t++)a[e(579)](new H.Element(e(462),{vid:this[e(316)]++}));const c=this[e(316)];for(let t=o;t<c;t++)this[e(606)][e(312)](t,{userId:n});r[e(333)](s[e(561)],a)}[rt(320)](t){const e=rt;(t=this[e(422)](t,this[e(568)]))[e(545)]();const i=null===t[e(556)]?null:t[e(556)]||this[e(542)][e(445)][e(342)](e(566)).me.id,s=t[e(307)](),n=s[e(494)],r=s[e(561)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(347)](e);r.is(a(500),a(462))?s[a(312)](r[a(495)](a(558)),{userId:i}):(s[a(312)](r[a(495)](a(601)),{userId:i}),t(s,r,0,r[a(448)]),s[a(312)](r[a(495)](a(515)),{userId:i}))}}(this[e(606)],n,r,r+t[e(407)])}[rt(388)](t){const e=rt,i=null===(t=this[e(422)](t,this[e(568)]))[e(556)]?null:t[e(556)]||this[e(542)][e(445)][e(342)](e(566)).me.id,s=t[e(576)][e(494)],n=t[e(508)][e(494)],r=s[e(495)](e(515)),o=n[e(495)](e(601));s[e(511)](e(515),n[e(495)](e(515))),n[e(511)](e(515),r),this[e(606)][e(312)](o,{userId:i}),this[e(606)][e(312)](r,{userId:i}),t[e(545)]()}[rt(513)](t){const e=rt,i=null===(t=this[e(422)](t,this[e(568)]))[e(556)]?null:t[e(556)]||this[e(542)][e(445)][e(342)](e(566)).me.id,s=t[e(401)],n=t[e(424)][e(494)];t[e(545)]();const r=n[e(495)](e(515)),o=t[e(451)][e(377)];if(s){const t=o[e(495)](e(515)),s=n[e(495)](e(515));n[e(511)](e(515),t),o[e(511)](e(515),s),this[e(606)][e(312)](n[e(495)](e(515)),{userId:i}),this[e(606)][e(312)](o[e(495)](e(601)),{userId:i})}else{const t=this[e(316)]++,s=this[e(316)]++;n[e(511)](e(515),t),o[e(511)](e(601),s),o[e(511)](e(515),r),this[e(606)][e(312)](t,{userId:i}),this[e(606)][e(312)](s,{userId:i})}}[rt(308)](t){const e=rt;if(!t[e(357)])return;const i=(t=this[e(422)](t,this[e(488)]))[e(406)]?t[e(406)][e(535)]:null,s=t[e(490)]?t[e(490)][e(535)]:null;i&&this[e(498)][e(442)](t[e(602)]),s&&this[e(498)][e(312)](t[e(602)],t[e(490)][e(327)]());const n=null===t[e(556)]?null:t[e(556)]||this[e(542)][e(445)][e(342)](e(566)).me.id,r=t[e(602)];if(!this[e(324)][e(351)](r))return void this[e(324)][e(312)](r,{range:t[e(406)],userId:n});const o=this[e(324)][e(342)](r),a=o[e(390)],c=t[e(490)];null==a&&null==c||a&&c&&a[e(512)](c)?this[e(324)][e(442)](t[e(602)]):o[e(521)]=n}[rt(497)](t,e){const i=rt;this[i(488)][i(351)](t[i(426)])?this[i(488)][i(342)](t[i(426)])[i(534)]=t[i(325)]:(this[i(488)][i(312)](t[i(426)],ht(t[i(426)],!0)),this[i(352)][i(312)](t[i(426)],{}),e&&this[i(568)][i(312)](t[i(426)],ht(t[i(426)],!0)));const s=null===t[i(556)]?null:t[i(556)]||this[i(542)][i(445)][i(342)](i(566)).me.id,n=this[i(330)][i(342)](t[i(426)]);n&&n[i(521)]===s?this[i(330)][i(442)](t[i(426)]):this[i(330)][i(312)](t[i(426)],{userId:s,isAttached:t[i(325)]})}[rt(481)](t){const e=rt,i=this[e(352)][e(342)](t[e(535)][e(426)]);null===t[e(589)]?delete i[t[e(343)]]:i[t[e(343)]]=t[e(589)]}}function lt(t){const e=rt,i=ht(t[e(426)],t[e(499)]());for(const s of t[e(289)]()){const t=s[e(470)](!0);i[e(374)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(426)]=t,s[i(534)]=e,s[i(499)]=()=>s[i(534)],s}function dt(t,e,i){const s=rt,n=s(581)==t[s(464)]?i[s(398)](t[s(299)],s(487)):i[s(546)](t[s(299)]);return i[s(575)](e,n[s(544)],n[s(419)])}function ft(t,e,i){const s=rt,n=s(549)==t[s(464)]?i[s(398)](t[s(299)],0):i[s(482)](t[s(299)]);return i[s(575)](e,n[s(544)],n[s(419)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),xt=i(426),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=It(),Tt.insert=wt().bind(null,"head"),Tt.domAPI=kt(),Tt.insertStyleElement=Ot();gt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Et;function Mt(){const t=["440gEDTnv","27697510FPYLzx","arrowup","setTemplate","226053EqXZup","locale","element","render","revisionName","revisionNameInputView","99780QCPJAQ","220","form","stopPropagation","arrowright","input","ck-revision-history-save-revision-form","87972mTPWOJ","Name of the revision","11gffMJT","8422680mXjPfZ","optional","focus","add","_createRevisionNameInput","fieldView","errorText","ck-responsive-form","value","6984481sygfFw","listenTo","keystrokes","arrowleft","revisionNameInputValue","70wDCDot","extendTemplate","set","label","reset","arrowdown","105UYMopR","trim","1559403YnqZbJ","focusTracker"];return(Mt=function(){return t})()}function Et(t,e){const i=Mt();return(Et=function(t,e){return i[t-=397]})(t,e)}!function(t){const e=Et,i=t();for(;;)try{if(973101===-parseInt(e(401))/1+-parseInt(e(437))/2*(-parseInt(e(420))/3)+-parseInt(e(413))/4*(-parseInt(e(399))/5)+-parseInt(e(423))/6+parseInt(e(432))/7+parseInt(e(403))/8*(-parseInt(e(407))/9)+-parseInt(e(404))/10*(-parseInt(e(422))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Vt extends pt.View{[At(402)];[At(434)];[At(412)];constructor(e,i){const s=At;super(e),this[s(402)]=new t.FocusTracker,this[s(434)]=new t.KeystrokeHandler,this[s(439)](s(436),""),this[s(412)]=this[s(427)](i),this[s(406)]({tag:s(415),attributes:{class:["ck",s(419),s(430)],tabindex:"-1"},children:[this[s(412)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(410)](){const t=At;super[t(410)](),(0,pt.submitHandler)({view:this}),this[t(402)][t(426)](this[t(412)][t(409)]),this[t(434)][t(433)](this[t(409)]);const e=e=>e[t(416)]();this[t(434)][t(439)](t(417),e),this[t(434)][t(439)](t(435),e),this[t(434)][t(439)](t(405),e),this[t(434)][t(439)](t(398),e)}[At(425)](){const t=At;this[t(412)][t(425)]()}get[At(411)](){const t=At;return this[t(412)][t(428)][t(409)][t(431)][t(400)]()}set[At(411)](t){const e=At;this[e(412)][e(428)][e(409)][e(431)]=t[e(400)]()}[At(397)](){const t=At;this[t(412)][t(428)][t(409)][t(431)]="",this[t(412)][t(429)]=null}[At(427)](t){const e=At,i=new pt.LabeledFieldView(this[e(408)],pt.createLabeledInputText),s=i[e(428)];s[e(438)]({attributes:{maxlength:e(414)}});let n=Q(this[e(408)],e(421));return!t&&(n+=" ("+Q(this[e(408)],e(424))+")"),i[e(440)]=n,s.on(e(418),(()=>{const t=e;this[t(436)]=s[t(409)][t(431)][t(400)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=487]})(t,e)}function Ft(){const t=["1331827wXIpvj","add","revisionHistory.requireRevisionName","items","_showDialog","RevisionHistoryUI","pluginName","children","ck-button-action","menuitem","77379GCUMRB","revisionSave","isPremiumPlugin","render","_createSaveRevisionFormView","Dialog","Revision history","hide","revisionHistory","Cancel","isEnabled","isReadOnly","plugins","set","config","isReady","view","28EUvFtI","802930FyILZk","15479VhhCKQ","get","componentFactory","The revision name cannot be empty.","buttonView","menuBar:revisionHistory","Accept","show","saveRevision","editing","_saveRevisionFormView","role","isOfficialPlugin","RevisionTracker","bind","editor","submit","Save current revision","Open revision history","42mHYoea","errorText","2783034TgVLlf","init","8bcycQG","reset","addMany","isOpen","execute","menu","1825740BGzYCU","delegate","_registerMenuComponent","requires","revisionName","1092150OtbSuk","locale","showRevisionViewerCallback","panelView","focus","revisionNameInputView"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(187446===parseInt(e(520))/1*(-parseInt(e(539))/2)+-parseInt(e(501))/3*(parseInt(e(518))/4)+parseInt(e(519))/5+parseInt(e(549))/6+-parseInt(e(491))/7*(parseInt(e(543))/8)+parseInt(e(541))/9+parseInt(e(554))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends U.Plugin{static get[Dt(497)](){return Dt(496)}static get[Dt(532)](){return!0}static get[Dt(503)](){return!0}static get[Dt(552)](){return[at]}[Dt(530)];[Dt(542)](){const t=Dt,e=this[t(535)],i=e[t(513)][t(521)](t(533));e.ui[t(522)][t(492)](t(509),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(488)][n(498)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(534)](n(511)).to(i,n(516),i,n(511),e,n(512),((t,e,i)=>t&&e&&!i)),r[n(524)][n(514)]({icon:mt.IconHistory,label:Q(s,n(507)),tooltip:!0}),u[n(514)]({label:Q(s,n(537)),withText:!0,role:n(500)}),u[n(534)](n(511)).to(i,n(516),i,n(511),e,n(512),((t,e,i)=>t&&e&&!i)),u.on(n(547),(()=>this[n(495)]())),h[n(514)]({label:Q(s,n(538)),withText:!0,role:n(500)}),h[n(534)](n(511)).to(i,n(516),e,n(512),((t,e)=>t&&!e)),h.on(n(547),(()=>{const t=n;e[t(515)][t(521)](t(509))[t(487)](),r[t(546)]=!1,e[t(529)][t(517)][t(489)]()})),c[n(498)][n(492)](u),l[n(498)][n(492)](h),a[n(531)]=n(548),a[n(494)][n(545)]([c,l]),o[n(492)](a),r})),e.ui[t(522)][t(492)](t(525),(()=>this[t(551)]()))}[Dt(551)](){const t=Dt,e=this[t(535)],i=e[t(555)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(524)][t(514)]({icon:mt.IconHistory,label:Q(i,t(507))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(514)]({label:Q(i,t(537))}),o[t(550)](t(547)).to(s),o.on(t(547),(()=>{this[t(495)]()})),r[t(498)][t(492)](o),n[t(494)][t(492)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(514)]({label:Q(i,t(538))}),c[t(550)](t(547)).to(s),c.on(t(547),(()=>{const i=t;e[i(515)][i(521)](i(509))[i(487)]()})),a[t(498)][t(492)](c),n[t(494)][t(492)](a),s[t(488)][t(498)][t(492)](n),s}[Dt(495)](){const t=Dt,e=this[t(535)],i=e[t(555)],s=e[t(513)][t(521)](t(506)),n=e[t(513)][t(521)](t(533));function r(n){const r=t;e[r(515)][r(521)](r(493))&&""===n[r(553)]?n[r(490)][r(540)]=Q(i,r(523)):(e[r(513)][r(521)](at)[r(528)]({name:n[r(553)]}),s[r(508)]())}this[t(530)]||(this[t(505)](),this[t(530)].on(t(536),(()=>r(this[t(530)])))),this[t(530)][t(544)](),s[t(527)]({id:t(502),title:Q(i,t(537)),isModal:!0,content:this[t(530)],actionButtons:[{label:Q(e[t(555)],t(510)),withText:!0,onExecute:()=>s[t(508)]()},{label:Q(e[t(555)],t(526)),class:t(499),withText:!0,onCreate(i){const s=t;i[s(534)](s(511)).to(n,s(516),n,s(511),e,s(512),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(530)])}]})}[Dt(505)](){const t=Dt,e=this[t(535)],i=e[t(555)];this[t(530)]=new Vt(i,e[t(515)][t(521)](t(493))),this[t(530)][t(504)]()}}const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=129]})(t,e)}function zt(){const t=["ck-revision-change__","6eLEkOf","960882SOVhjo","2518326lCAGgy","2313381DVvqHN","Suggested by","5469VPxUMo","12090520jsyzjO","span","element","46132KeTZaN","type","ck-revision-change__label","_model","author","setTemplate","isSuggestion","add","ck-revision-change","ck-annotation","focus","name","bindTemplate","28577420zeuwnY","2456GVURQF","Removed by","div","changeId","data","30vUUzes","Added by","set"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(821504===-parseInt(e(141))/1*(-parseInt(e(132))/2)+-parseInt(e(137))/3*(-parseInt(e(155))/4)+-parseInt(e(160))/5*(-parseInt(e(133))/6)+-parseInt(e(135))/7+parseInt(e(138))/8+parseInt(e(134))/9+-parseInt(e(154))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[Lt(158)];[Lt(144)];constructor(t,e){const i=Lt;super(t),this[i(144)]=e,this[i(158)]=e.id;const s=this[i(153)],n=Q(t,e[i(159)][i(147)]?i(136):i(148)==e[i(142)]?i(129):i(156));this[i(130)](i(142),e[i(142)]),this[i(146)]({tag:i(157),attributes:{class:[i(150),i(149),s.to(i(142),(t=>i(131)+t))],tabindex:-1},children:[{tag:i(139),children:[{tag:i(139),attributes:{class:[i(143)]},children:[{text:n}]},{text:" "+e[i(145)][i(152)]}]}]})}[Lt(151)](){const t=Lt;this[t(140)][t(151)]()}}var Ut=Zt;function Zt(t,e){var i=qt();return(Zt=function(t,e){return i[t-=314]})(t,e)}!function(t){for(var e=Zt,i=t();;)try{if(115438===-parseInt(e(323))/1+parseInt(e(320))/2*(-parseInt(e(325))/3)+parseInt(e(316))/4+-parseInt(e(317))/5+parseInt(e(315))/6*(parseInt(e(326))/7)+-parseInt(e(319))/8*(parseInt(e(328))/9)+-parseInt(e(324))/10*(-parseInt(e(318))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Ht extends((0,t.ObservableMixin)()){id;[Ut(331)];[Ut(330)];[Ut(329)];[Ut(322)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(331)]=e[i(331)],this[i(330)]=e[i(330)],this[i(329)]=e[i(329)]||{},this[i(322)]=e[i(322)],this[i(321)](i(314),e[i(314)])}[Ut(327)](){var t=Ut;return{id:this.id,authorId:this[t(331)].id,type:this[t(330)],data:this[t(329)],createdAt:this[t(314)]}}}function qt(){var t=["3fhFETu","10136CxMTMI","toJSON","9utSdSt","data","type","author","createdAt","936isBSZZ","84560rOpDta","382320YSfEZR","165xPbQKY","1562488qiMJlR","36706fXIiPf","set","rootName","160227lmMWPq","212510VyhGCU"];return(qt=function(){return t})()}const $t=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=478]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(856736===-parseInt(e(479))/1+parseInt(e(484))/2+parseInt(e(478))/3*(-parseInt(e(481))/4)+-parseInt(e(483))/5+parseInt(e(490))/6+-parseInt(e(489))/7*(-parseInt(e(488))/8)+-parseInt(e(487))/9*(-parseInt(e(491))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt{[$t(492)];[$t(486)];[$t(482)];constructor(e,i){const s=$t;this[s(492)]=e,this[s(486)]=i,this[s(482)]=new t.Collection}[$t(480)](t){const e=$t;for(const i of t)this[e(482)][e(485)](i)}}function Jt(){const t=["add","oldRevisionId","9JwrrKm","179144CBIBmB","14DVvOxg","2810208JxqYsa","27003950tOBCVM","newRevisionId","627927zwPNdM","1173920COsvCD","_setChanges","24Ehyqkk","changes","2084290bxwmUE","979638QqlBFs"];return(Jt=function(){return t})()}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=Qt;function Qt(t,e){const i=te();return(Qt=function(t,e){return i[t-=496]})(t,e)}function te(){const t=["_utils","changeId","createAttributeElement","schema","includes","numberOfChanges","markers","uiElement","refresh","_refreshStartEndIndex","consumable","stop","isAtEnd","model","toViewPosition","28490GZegyL","updatePosition","offsetSize","string","_sortAndFilterDiffChanges","activeView","resolve","top","_balloon","_joinTapes","ck-revision-history-root-add","addRevisionData","endIndex","left","rootName","attribute:vid","markersStart","activeChange","vid","ck-revision-history-root-","conversion","elementToAttribute","removeMarker:revision-suggestion","downcastDispatcher","insertions","isReady","pluginName","8507864QwuwJq","_initInteractions","isOfficialPlugin","hasClass","isPremiumPlugin","values","compare","getAttributes","start","1226790nCHUhZ","createPositionFromPath","keys","markersEnd","150804ssKioz","elementStart","editor","indexOf","bind","addMarker:revision","_makeTape","mapViewToDom","span","comment","createRevision","adapter","removeAttribute","removeClass","ck-suggestion-marker","isLimit","execute","userId","modelRange","editing","revisionHistoryAttachChange","POSITIVE_INFINITY","map","consume","createUIElement","has","_makeModelFromViewString","getRootNames","affectsData","addMarker:revision-suggestion:insertion","enqueueChange","remove","distance","requires","getClientRects","dataToMarker","setAttribute","_markSuggestions","document","plugins","isOnRoot","57qwyLVZ","nodeAfter","getChild","_getRevisionsRange","attributes","unbindElementFromMarkerName","isContent","mapper","dataDowncast","addClass","element:pre","type","_setConversion","authors","upcast","7Jqsqrq","vid_start","RevisionsRepository","deletions","item","ck-editor__editable__overlay","loadRevisionData","backward","isAfter","markerRange","bottom","_getChangeFromId","restoreRevisionCallback","markerNameToElements","ck-revision-history-root-remove","nextSibling","_removeMissingPairs","next","getAttribute","revision-viewer","concat","addHighlight","revisionHistoryLabel","viewItem","change:isEnabled","change:activeChange","isCollapsed","editingDowncast","ck-revision-history-root--active","isRemoveSuggestion","elementEnd","error","index","startsWith","checkAttribute","shift","return","_appendChild","domConverter","locale","isRemoved","enableReadOnlyMode","mousedown","mouseover","writer","vid_end","getCustomProperty","_findChangeIdFromDomTarget","_processTape","element","init","_cleanUp","1152891ownXUC","ck-suggestion-preview-marker-","merge","-new","data","addMarker:revision-suggestion:deletion","_getDiff","done","_changeIdToChange","revisionHistory","_markInsertions","push","isAddSuggestion","revision","view","_revisions","isIncorrect","for","isAttached","test","showNextChange","addRoot","5991870nGsEsA","unshift","detachRoot","isSuggestion","nextPosition","startIndex","side","createPositionBefore","ck-suggestion-marker-","getRevisionRootsAttributes","_activeViewTarget","clear","_setDistance","showPreviousChange","isEnabled","code","isAtStart","getRoot","createRange","94OExdDl","toViewRange","_fixObsoleteTags","pairId","sort","revision-suggestion:","getItems","ck-suggestion-marker-split","commands","deletion","removeMarker:revision","delete","WidgetToolbarRepository","roots","isAdded","maxOffset","removeMarker","set","range","newRevisionId","isObject","text","isInline","end","markerToData","length","slice","_cleanMarkers","add","then","revision-suggestion","getRevision","all","flat","from","get","revision:","isBlock","abs","attachChange","_getViewForChange","level","parent","restoreRevision","oldRevisionId","_makeModelFromTape","_update","toViewElement","changes","catch","_threeWayMerge","showStack","change:isReady","low","ck-suggestion-marker--active","attributesBefore","forEach","828oHqDSl","change","split","ck-suggestion-preview-marker","previousPosition","_markMarkers","diff","markerToHighlight","selection","filter","findIndex","RevisionHistoryUtils","wrap","listenTo","ck-suggestion-marker-merge","markerName","_data","change:numberOfChanges","repository","data-change-id","_step","10022Srwnwk","splice","bindElementToMarker","_setChanges","getDomRoot","getRevisionDocumentData","forceDisabled","change:activeView","forward","_changeView","high","suggestion:","_markMismatchedRemovedTags","pop","attributesAfter","insert","isEqual","find","object","config","name","isNavigationMode","right","_removeUnsupportedChanges","10uBQXDr","highest","RevisionViewer","target","observeMarkers","suggestion","getIndex","isBefore","destroy","getWalker","diffData","revision-comment:","createRangeIn","getLaterVisibleRevision","reconvertMarker","softBreak","addRevision","currentChangeNumber","first","insertion","domEvent","hasAttribute"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(578806===parseInt(e(592))/1*(-parseInt(e(670))/2)+-parseInt(e(812))/3*(parseInt(e(771))/4)+-parseInt(e(767))/5+parseInt(e(573))/6+parseInt(e(499))/7*(parseInt(e(758))/8)+-parseInt(e(551))/9*(-parseInt(e(694))/10)+parseInt(e(731))/11*(-parseInt(e(649))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Xt(667)];[Xt(782)]=null;[Xt(716)];[Xt(583)];[Xt(679)];[Xt(559)];[Xt(739)];static get[Xt(757)](){return Xt(696)}static get[Xt(760)](){return!0}static get[Xt(762)](){return!0}static get[Xt(804)](){return[Z.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(667)]=this[e(773)][e(810)][e(627)](e(501)),this[e(716)]=this[e(773)][e(810)][e(627)](e(660)),this[e(609)](e(748),null),this[e(609)](e(736),null),this[e(583)]=null,this[e(609)](e(655),null),this[e(609)](e(756),!1),this[e(609)](e(587),!0),this.on(e(523),((t,i,s)=>{const n=e;this[n(748)]=null,this[n(736)]=null,this[n(773)][n(790)][n(565)][n(650)]((t=>{const e=n;for(const i of this[e(773)][e(790)][e(565)][e(809)][e(605)])s?t[e(784)](e(504),i):t[e(821)](e(504),i)}))})),this[e(775)](e(691)).to(this,e(748),(t=>null!==t)),this[e(775)](e(711)).to(this,e(756),this,e(655),this,e(748),((t,i,s)=>t&&s?i[e(640)][e(700)](s):0)),this[e(775)](e(721)).to(this,e(756),this,e(655),((t,i)=>t?i[e(640)][e(617)]:0)),this[e(679)]=null,this[e(559)]=new Map,this[e(739)]=this[e(773)][e(810)][e(627)](pt.ContextualBalloon)}[Xt(549)](){const t=Xt,e=this[t(773)],i=new ne(e,{direction:t(506)}),s=new ne(e,{direction:t(678)});e[t(600)][t(620)](t(586),i),e[t(600)][t(620)](t(571),s),e[t(600)][t(620)](t(635),new se(e)),this.on(t(666),(()=>{const e=t;i[e(724)](),s[e(724)]()})),this[t(496)](),this[t(759)](),e[t(540)](t(518)),e[t(810)][t(796)](t(604))&&e[t(810)][t(627)](t(604))[t(676)](t(518))}async[Xt(675)](t){const e=Xt;return await this[e(716)][e(505)](t,this[e(782)]),this[e(716)][e(675)](t)}async[Xt(582)](t){const e=Xt;return await this[e(716)][e(505)](t,this[e(782)]),this[e(716)][e(582)](t)}async[Xt(764)](t,e,i=!1){const s=Xt;if(!this[s(587)])return;const n=this[s(655)],r=this[s(667)],o=s(734)==typeof t?r[s(623)](t):t,a=s(734)==typeof e?r[s(623)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(655)]&&this[s(655)][s(611)]===c&&this[s(655)][s(636)]===u)return Promise[s(737)]();this[s(756)]=!1,this[s(736)]=null,this[s(748)]=null,this[s(655)]=new Yt(c,u);const l=this[s(815)](o,a,!0)[s(793)]((t=>this[s(716)][s(505)](t,this[s(782)])));return l[s(562)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(624)](l)[s(621)]((()=>{const t=s;if(!this[t(587)])return;this[t(550)]();const e=this[t(557)](c,u);for(const i of e[t(640)])this[t(559)][t(609)](i.id,i);this[t(773)][t(729)][t(801)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(773)][s(729)][s(809)][s(798)]())i[s(575)](t);for(const t of Object[s(769)](e[s(729)])){const n=i[s(572)](t);for(const r of Object[s(769)](e[s(816)][t]))i[s(807)](r,e[s(816)][t][r],n);i[s(685)](e[s(729)][t],n,0)}})),this[t(655)][t(673)](this[t(735)](e[t(640)])),this[t(756)]=!0}))[s(641)]((t=>{const e=s;console[e(530)](t),this[e(550)](),n&&(this[e(655)]=n),this[e(756)]=!0}))}[Xt(742)](t,e){const i=Xt,s=this[i(667)][i(781)](t);return s.on(i(638),((t,i,n)=>e(i,n,s))),this[i(667)][i(710)](s),s}[Xt(550)](){const t=Xt;this[t(748)]=null,this[t(619)](),this[t(679)]&&this[t(679)][t(702)](),this[t(679)]=null,this[t(559)][t(584)](),this[t(773)][t(729)][t(801)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(773)][i(729)][i(809)][i(798)]())e[i(575)](t)}))}[Xt(735)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(773)][e(729)][e(809)][e(798)]()){const n=this[e(773)][e(790)][e(565)][e(674)](t);if(!n)continue;const r=n[e(805)]()[e(503)](0);r&&(i[e(562)](t),s[e(609)](t,r))}return i[e(596)](((t,i)=>{const n=e,r=s[n(627)](t),o=s[n(627)](i);return r.y-o.y||r.x-o.x})),(t=t[e(658)]((t=>i[e(720)](t[e(745)]))))[e(596)](((t,s)=>i[e(774)](t[e(745)])-i[e(774)](s[e(745)]))),t}[Xt(777)](t){const e=Xt,i=Array[e(626)](t[e(722)])[e(658)]((([t,i])=>t[e(532)](e(628))&&!i[e(525)])),s=Array[e(626)](this[e(773)][e(729)][e(706)](t)[e(703)]({singleCharacters:!0}));if(0!=i[e(617)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(651)](":");if(n[e(615)][e(686)](t[e(577)])&&i[e(534)](),(t[e(653)][e(686)](n[e(766)])||t[e(653)][e(507)](n[e(766)]))&&(e(713)==r?t[e(606)]={userId:o}:e(601)==r&&(t[e(539)]={userId:o})),0==i[e(617)])break}return s}[Xt(725)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(617)];s++)e(613)===t[s][e(823)]?(t[s][e(503)][e(578)]=s,t[s][e(503)][e(743)]=s):(e(772)===t[s][e(823)]?t[s][e(503)][e(578)]=s:e(529)===t[s][e(823)]&&(t[s][e(503)][e(743)]=s),i[e(609)](t[s].id,s));for(const s of i[e(763)]())e(772)===t[s][e(823)]?t[s][e(503)][e(743)]=i[e(627)](t[s][e(595)]):e(529)===t[s][e(823)]&&(t[s][e(503)][e(578)]=i[e(627)](t[s][e(595)]))}[Xt(547)](t){const e=Xt;for(let i=0;i<t[e(617)];i++){if(e(772)===t[i][e(823)])t[i][e(503)][e(578)]=i;else if(e(529)===t[i][e(823)]){t[i][e(503)][e(743)]=i;const s=t[i][e(503)][e(578)];t[s][e(595)]=t[i].id,t[i][e(595)]=t[s].id}else t[i][e(503)][e(578)]=i,t[i][e(503)][e(743)]=i,t[i][e(595)]=null;t[i][e(747)]||(t[i][e(747)]=[],t[i][e(770)]=[])}}[Xt(561)](t,e){const i=Xt,s=t[i(658)]((t=>!t[i(606)]));for(let t=0;t<e[i(617)];t++)e[t][i(606)]&&(s[t][i(606)]=e[t][i(606)])}[Xt(557)](t,e=null){const i=Xt,s=this[i(667)][i(623)](t),n=e?this[i(667)][i(623)](e):null,r=this[i(815)](s,n),o=r[r[i(617)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(617)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(769)](e[i(704)]))if(e[i(704)][t][i(631)]){const s=e[i(704)][t][i(631)];s[i(569)]?(u[i(620)](t),l[i(796)](t)&&l[i(627)](t)[i(788)]==s[i(788)]?l[i(603)](t):l[i(609)](t,s)):l[i(796)](t)?(u[i(603)](t),l[i(603)](t)):(u[i(620)](t),l[i(609)](t,s))}else u[i(620)](t)}for(const t of u){const e=l[i(796)](t)&&!l[i(627)](t)[i(569)];let s=e?r[i(617)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(704)][t]){const s=e?o[i(704)][t][i(647)]:o[i(704)][t][i(684)];c[i(816)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(729)]={};for(const e of t[i(497)])a[i(609)](e.id,e);for(const e of u){const s=t[i(704)][e]?t[i(704)][e][i(755)]:"[]",n=t[i(704)][e]?t[i(704)][e][i(502)]:"[]";t[i(729)][e]={insertions:this[i(716)][i(797)](s),deletions:this[i(716)][i(797)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(626)](s[i(729)][t][i(755)][i(722)])[i(658)]((([t])=>!t[i(532)](i(628)))));let h=0;for(const o of r){const r=this[i(777)](o[i(729)][t][i(755)]);o==s?(e=r,n=e[i(617)],e[i(648)]((t=>{t.id=h++})),this[i(547)](e)):this[i(561)](e,r);const a=e[i(658)]((t=>!t[i(606)]))[i(793)]((t=>t.id));let c=0;const l=this[i(777)](o[i(729)][t][i(502)]);l[i(648)]((t=>{t[i(539)]?t.id=n++:t.id=a[c++]})),this[i(547)](l),this[i(585)](e,i(606)),this[i(585)](l,i(539)),o==s&&this[i(654)](e,u),e=this[i(740)](e,l),this[i(725)](e),this[i(585)](e,i(539))}e=e[i(658)]((t=>!(t[i(606)]&&t[i(539)])));const d=new Map(o[i(729)][t][i(502)][i(722)]),f=new Set(u[i(769)]());for(const t of d[i(769)]())f[i(603)](t);this[i(808)](e,f),this[i(594)](e),e=this[i(515)](e),e=this[i(682)](e),e=this[i(693)](e);const{root:m,changes:p}=this[i(637)](e,a,t);c[i(729)][t]=m;const v=l[i(627)](t);if(v){const e=a[i(627)](v[i(788)]),s=new Ht({author:e,type:v[i(569)]?i(620):i(802),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(574)](s),c[i(816)][t][i(791)]=s.id}c[i(640)]=c[i(640)][i(519)](p)}return c}[Xt(654)](t,e){const i=Xt;for(let s=0;s<t[i(617)];s++)for(const[n,r]of e)!r[i(525)]&&r[i(766)][i(686)](t[s][i(653)])&&t[s][i(747)][i(562)](n),r[i(615)][i(686)](t[s][i(577)])&&t[s][i(770)][i(562)](n)}[Xt(740)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(617)]||r<e[i(617)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(562)](o);else if(a[i(539)]&&o[i(606)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(642)](t,n,e,r);s=s[i(519)](o),n=a,r=c}else a[i(539)]?(r++,s[i(562)](a)):(n++,s[i(562)](o))}return s}[Xt(808)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(617)];o++){for(let r=0;r<t[o][i(747)][i(617)];r++){const a=t[o][i(747)][r];if(!e[i(796)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(622)!=c||i(713)!=u&&i(601)!=u||(s[i(574)]({type:u,name:a,userId:l}),t[o][i(747)][i(671)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(770)][i(617)];r++){const a=t[o][i(770)][r];if(!e[i(796)](a))continue;const{group:c,type:u}=n(a);if(i(622)!=c||i(713)!=u&&i(601)!=u)continue;t[o][i(770)][i(671)](r,1),r--;const l=s[i(659)]((t=>t[i(690)]==a));l>-1&&s[i(671)](l,1)}}function n(t){const e=i,s=t[e(651)](":");return{group:s[0],type:s[1],subType:s[e(617)]>=5?s[2]:null,id:s[e(617)]<5?s[2]:s[3],authorId:s[e(617)]<5?s[3]:s[4],markerCount:6==s[e(617)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(617)];i++){if(t[e(606)]&&e(713)==s[i][e(823)])return t[e(563)]=s[i],void delete t[e(606)];if(!t[e(606)]&&!t[e(539)]&&e(601)==s[i][e(823)])return void(t[e(528)]=s[i])}}}[Xt(585)](t,e){const i=Xt;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(609)](o.id,s);for(let s=0;s<t[i(617)];s++){if(i(539)==e&&t[s][i(606)]||i(606)==e&&t[s][i(539)])continue;if(i(613)==t[s][i(823)]){t[s][i(803)]=0;continue}const n=r[i(627)](t[s][i(595)]),o=r[i(627)](t[s].id);t[s][i(803)]=n-o}}[Xt(815)](t,e,i=!1){const s=Xt,n=[];let r=this[s(667)][s(700)](t),o=this[s(667)][s(700)](e);for(-1==o&&(o=this[s(667)][s(566)][s(617)],i=!1);r<o;)n[s(562)](this[s(667)][s(623)](r)),r++;return i&&n[s(562)](this[s(667)][s(623)](r)),n}[Xt(642)](t,e,i,s){const n=Xt,r=this[n(773)][n(729)][n(719)];let o=e;for(;t[o]&&t[o][n(606)];)o++;let a=s;for(;i[a]&&i[a][n(539)];)a++;u(t,e,o),u(i,s,a);const c=i[n(618)](s,a)[n(519)](t[n(618)](e,o));return c[n(596)](((t,e)=>t[n(579)]!=e[n(579)]?t[n(579)]-e[n(579)]:t[n(633)]!=e[n(633)]?t[n(633)]-e[n(633)]:t[n(803)]!=e[n(803)]?e[n(803)]-t[n(803)]:!!t[n(606)]!=!!e[n(606)]?-1==t[n(579)]||0==t[n(579)]?t[n(606)]?-1:1:t[n(606)]?1:-1:t[n(531)]-e[n(531)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(792)],c=!0;for(let n=e;n<i;n++)if(r[s(614)](t[n][s(503)])||(c=!1),t[n][s(503)][s(578)]<e&&(o=n),t[n][s(503)][s(743)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(579)]=n<=o?-1:n<a?0:1,t[n][s(531)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(803)]?t[i][s(633)]=u:(u++,t[i][s(633)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(579)]&&(t[n][s(633)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(803)]?t[e][s(633)]=u:(u--,t[e][s(633)]=u,u--)}}[Xt(594)](t){const e=Xt,i=new Map,s=this[e(773)][e(729)][e(719)];for(let n=1;n<t[e(617)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(613)==c[e(823)])continue;if(c[e(823)]!=u[e(823)])continue;if(!s[e(629)](u[e(503)])||s[e(786)](u[e(503)]))continue;if(!s[e(629)](c[e(503)])||s[e(786)](c[e(503)]))continue;if((t[n][e(606)]||t[n][e(563)])&&t[n-1][e(539)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(539)]||!t[n-1][e(606)]&&!t[n-1][e(563)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(633)]==o[e(633)],h=Math[e(630)](r[e(633)])<Math[e(630)](o[e(633)])&&0==o[e(803)];(l||h)&&(i[e(609)](o.id,r.id),t[e(671)](a,1),n--,r[e(606)]=!1)}for(let s=0;s<t[e(617)];s++)i[e(796)](t[s][e(595)])&&(t[s][e(595)]=i[e(627)](t[s][e(595)]))}[Xt(515)](t){const e=Xt,i=new Set(t[e(793)]((t=>t.id)));for(let s=0;s<t[e(617)];s++)i[e(796)](t[s][e(595)])||0==t[s][e(803)]||(t[s][e(567)]=!0);return t[e(658)]((t=>!t[e(567)]))}[Xt(682)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(617)];s++){if(i[e(796)](t[s].id)&&t[s][e(539)]&&(t[s][e(567)]=!0),t[s][e(567)])continue;if(0==t[s][e(803)])continue;if(e(772)!=t[s][e(823)])continue;if(null==t[s][e(595)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(595)];)e(772)==t[n][e(823)]?r++:e(529)==t[n][e(823)]&&r--,n++;if(0!=r)if(t[s][e(539)])t[s][e(567)]=!0;else for(;n!=s;)t[n][e(539)]&&0!=t[n][e(803)]&&(t[n][e(567)]=!0,i[e(620)](t[n][e(595)])),n--}return t[e(658)]((t=>!t[e(567)]))}[Xt(693)](t){const e=Xt,i=this[e(773)][e(729)][e(719)];for(let s=0;s<t[e(617)];s++){if(!(t[s][e(606)]||t[s][e(563)]||t[s][e(539)]||t[s][e(528)]))continue;if(0==t[s][e(803)])continue;const n=t[s][e(503)];i[e(629)](n)||i[e(786)](n)||(t[s][e(606)]&&delete t[s][e(606)],t[s][e(563)]&&delete t[s][e(563)],t[s][e(528)]&&delete t[s][e(528)],t[s][e(539)]&&(t[s][e(567)]=!0))}return t[e(658)]((t=>!t[e(567)]))}[Xt(637)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(773)][s(729)],c=a[s(719)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(617)];e++)if(s(772)===t[e][s(823)]){t[e][s(653)]=a[s(768)](n,f);const i=new H.Element(t[e][s(503)][s(690)],t[e][s(503)][s(765)]());u[0][s(536)](i),f[s(562)](0),u[s(574)](i),t[e][s(577)]=a[s(768)](n,f)}else s(529)===t[e][s(823)]?(u[s(534)](),t[e][s(653)]=a[s(768)](n,f),f[s(683)](),f[f[s(617)]-1]++,t[e][s(577)]=a[s(768)](n,f)):(t[e][s(653)]=a[s(768)](n,f),d?d[s(665)]+=t[e][s(503)][s(555)]:d=new H.Text(t[e][s(503)][s(555)],t[e][s(503)][s(765)]()),t[e+1]&&s(613)===t[e+1][s(823)]&&v(d,t[e+1][s(503)])||(u[0][s(536)](d),d=null),f[f[s(617)]-1]+=t[e][s(503)][s(733)],t[e][s(577)]=a[s(768)](n,f));for(let e=0;e<t[s(617)];e++){const i=t[e][s(653)],n=t[e][s(577)];for(const n of t[e][s(747)])o[s(609)](n,{start:i,end:null});m(s(528),e,i,n),m(s(563),e,i,n),m(s(539),e,i,n),m(s(606),e,i,n);for(const i of t[e][s(770)]){const t=o[s(627)](i);t?t[s(615)]=n:o[s(609)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(773)][s(729)][s(591)](e[s(766)],e[s(615)]);n[s(722)][s(609)](t,i)}return r[s(596)](((t,e)=>{const i=s,r=n[i(722)][i(627)](i(628)+t.id),o=n[i(722)][i(627)](i(628)+e.id);return r[i(766)][i(701)](o[i(766)])?-1:r[i(766)][i(507)](o[i(766)])?1:r[i(615)][i(701)](o[i(615)])?-1:r[i(615)][i(507)](o[i(615)])?1:i(620)===t[i(823)]?-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(788)]:null,d=i===t[o(617)]-1,f=h[e][0],m=c[o(612)](t[i][o(503)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(615)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(788)]!==u&&(l[e][o(615)]=n,f&&f[o(788)]===l[e][o(788)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(772)!==t[i][o(823)]||f&&f[o(788)]===u||h[e][o(574)]({userId:u,object:t[i][o(503)],change:l[e]}),o(529)===t[i][o(823)]&&f&&f[o(688)]===t[i][o(503)]&&(h[e][o(534)](),l[e]=f[o(650)])),l[e]&&d&&(l[e][o(615)]=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(503)],f=a[h(719)][h(629)](d)&&!a[h(719)][h(786)](d),m=t[h(813)]==o[h(634)]&&o[h(589)];if(f&&m)return;const p=a[h(591)](t,o),v=e[h(627)](u),g=new Ht({author:v,type:h(606)==l||h(563)==l?h(620):h(802),data:{isSuggestion:h(563)==l||h(528)==l},createdAt:new Date,rootName:i});r[h(562)](g),n[h(722)][h(609)](h(628)+g.id,p)}function v(t,e){const i=s,n=t[i(765)](),r=e[i(765)]();for(const t of n){if(t[1]!==e[i(517)](t[0]))return!1;r[i(516)]()}return r[i(516)]()[i(558)]}}[Xt(496)](){const t=Xt;this[t(773)][t(751)][t(568)](t(498))[t(806)]({view:t(564)}),this[t(773)][t(751)][t(568)](t(526))[t(656)]({model:t(564),view:e=>{const i=t,s=e[i(664)][i(651)](":")[1],n=this[i(510)](s);if(!n)return null;const r=i(620)==n[i(823)]?i(713):i(601),o=[i(785),i(581)+r];return n[i(555)][i(576)]&&o[i(562)](i(581)+r+i(554)),this[i(748)]==n&&o[i(562)](i(646)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(773)][t(751)][t(568)](t(498))[t(620)]((e=>{const i=t;e.on(i(822),((t,e,s)=>{const n=i,r=e[n(522)][n(814)](0);if(!r||!r.is(n(548),n(588)))return;if(!s[n(726)][n(794)](r,{attributes:[n(500),n(544)]}))return;const o=e[n(789)][n(766)][n(813)];s[n(543)][n(807)](n(500),r[n(517)](n(500)),o),s[n(543)][n(807)](n(544),r[n(517)](n(544)),o)}),{priority:i(645)})})),this[t(773)][t(751)][t(568)](t(498))[t(620)]((e=>{const i=t;e.on(i(548),((t,e,s)=>{const n=i;if(!s[n(726)][n(794)](e[n(522)],{attributes:[n(500),n(544)]}))return;if(e[n(789)][n(525)])return;const r=e[n(789)][n(766)][n(813)];r[n(715)](n(500))||r[n(715)](n(749))||(s[n(543)][n(807)](n(500),e[n(522)][n(517)](n(500)),r),s[n(543)][n(807)](n(544),e[n(522)][n(517)](n(544)),r))}),{priority:i(645)})})),this[t(773)][t(751)][t(568)](t(498))[t(752)]({view:{name:t(779),attributes:{vid:!0}},model:{key:t(749),value:e=>e[t(517)](t(749))}}),this[t(773)][t(729)][t(719)].on(t(533),((e,[,i])=>{const s=t;[s(500),s(544),s(749)][s(720)](i)&&(e[s(535)]=!0,e[s(727)]())}),{priority:t(695)}),this[t(773)][t(751)][t(568)](t(820))[t(620)]((e=>{const i=t;e.on(i(746),((t,e,s)=>{const n=i;if(" "!=e[n(503)][n(555)]||e[n(503)][n(634)][n(607)]>1)return;if(!s[n(726)][n(794)](e[n(503)],t[n(690)]))return;const r=s[n(543)],o=s[n(819)][n(593)](e[n(610)]);r[n(661)](o,r[n(718)](n(779)))}))})),this[t(773)][t(751)][t(568)](t(820))[t(616)]({model:t(564)}),this[t(773)][t(790)][t(754)].on(t(776),function(e){const i=t,s=e[i(810)][i(627)](i(696));return(t,n,r)=>{const o=i,a=n[o(664)][o(651)](":")[1],c=s[o(510)](a);if(!c)return null;const u=o(620)==c[o(823)]?o(651):o(553);if(!r[o(726)][o(570)](n[o(508)],t[o(690)]))return;const l=n[o(508)][o(703)](),h=n[o(508)][o(766)],d=e[o(729)][o(719)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(503)];p=p||d[o(818)](e);const i=r[o(819)][o(639)](e);if(i&&i[o(545)](o(520)))return;o(529)==t[o(823)]&&d[o(629)](e)&&!d[o(786)](e)&&(e[o(514)]||h[o(728)]?f&&f[o(634)]==e||(f=e,g(t[o(653)]),v=!0):m=m||t[o(653)])}function g(t){const e=o,i=r[e(543)][e(795)](e(779),{class:e(581)+u}),a=r[e(819)][e(730)](t);c[e(555)][e(576)]&&r[e(543)][e(821)](e(581)+u+e(554),i),s[e(748)]==c&&r[e(543)][e(821)](e(646),i),r[e(543)][e(685)](a,i),r[e(819)][e(672)](i,n[e(664)])}p||v||!m||g(m)}}(this[t(773)]),{priority:t(680)}),this[t(773)][t(790)][t(754)].on(t(602),((e,i,s)=>{const n=t,r=s[n(819)][n(512)](i[n(664)]);if(r)for(const t of r)(t[n(761)](n(599))||t[n(761)](n(663)))&&(s[n(819)][n(817)](t,i[n(664)]),s[n(543)][n(802)](t))}),{priority:t(680)}),this[t(773)][t(790)][t(754)].on(t(776),((e,i,s)=>{const n=t,r=i[n(664)][n(651)](":")[1],o=this[n(510)](r);if(!o)return null;const a=n(620)==o[n(823)]?n(651):n(553);if(s[n(726)][n(570)](i[n(508)],e[n(690)]))for(const t of i[n(508)][n(598)]()){if(!t.is(n(548),n(709)))continue;const e=s[n(543)][n(795)](n(779),{class:n(581)+a}),r=s[n(819)][n(730)](this[n(773)][n(729)][n(580)](t));o[n(555)][n(576)]&&s[n(543)][n(821)](n(581)+a+n(554),e),this[n(748)]==o&&s[n(543)][n(821)](n(646),e),s[n(543)][n(685)](r,e),s[n(819)][n(672)](e,i[n(664)])}}),{priority:t(680)}),this[t(773)][t(729)][t(809)].on(t(650),(()=>{const e=t;this[e(773)][e(790)][e(565)][e(650)]((t=>{const i=e;for(const e of this[i(773)][i(729)][i(809)][i(798)]()){const s=this[i(773)][i(729)][i(809)][i(590)](e),n=this[i(773)][i(790)][i(565)][i(809)][i(590)](e);if(n){const e=s[i(517)](i(791));if(t[i(783)](i(668),n),t[i(784)](i(741),n),t[i(784)](i(513),n),t[i(784)](i(527),n),e){const s=this[i(510)](e);if(!s)return null;t[i(807)](i(668),e,n),t[i(821)](i(750)+s[i(823)],n),this[i(748)]==s&&t[i(821)](i(527),n)}}}}))})),this[t(773)][t(751)][t(568)](t(498))[t(806)]({view:t(780),model:e=>t(705)+e,converterPriority:t(695)}),this[t(773)][t(751)][t(568)](t(498))[t(806)]({view:t(699),model:e=>t(597)+e,converterPriority:t(695)}),this[t(773)][t(751)][t(568)](t(820))[t(616)]({model:t(622),view:e=>({name:t(681)+e,group:t(622)}),converterPriority:t(695)}),this[t(773)][t(751)][t(568)](t(526))[t(656)]({model:t(622),view:e=>{const i=t,s=e[i(664)][i(651)](":")[1];return i(713)!=s&&i(601)!=s?null:{classes:[i(652),i(552)+s]}}}),this[t(773)][t(790)][t(754)].on(t(556),ie(this[t(773)],t(553)),{priority:t(680)}),this[t(773)][t(790)][t(754)].on(t(800),ie(this[t(773)],t(651)),{priority:t(680)}),this[t(773)][t(790)][t(754)].on(t(753),((e,i,s)=>{const n=t,r=s[n(819)][n(512)](i[n(664)]);if(r)for(const t of r)t.is(n(723))&&(s[n(819)][n(817)](t,i[n(664)]),s[n(543)][n(802)](t))}),{priority:t(680)})}[Xt(510)](t){const e=Xt;return this[e(559)][e(627)](t)}[Xt(632)](t){const e=Xt;return this[e(679)]&&this[e(679)][e(702)](),this[e(679)]=new Wt(this[e(773)][e(538)],t),this[e(679)]}[Xt(759)](){const t=Xt;this[t(773)][t(729)][t(809)][t(657)][t(698)](t(564)),this.on(t(677),((e,i,s,n)=>{const r=t;n&&this[r(739)][r(802)](n),s&&(this[r(739)][r(620)]({view:s,stackId:r(521),position:{target:()=>{const t=r,e=this[t(773)][t(790)],i=this[t(510)](s[t(717)]);let n;if(i[t(555)][t(811)]){const s=e[t(565)][t(674)](i[t(745)]);n=Array[t(626)](s[t(805)]())}else{const i=this[t(773)][t(729)][t(722)][t(627)](t(628)+s[t(717)]);n=Array[t(626)](e[t(819)][t(512)](i[t(690)]))[t(793)]((i=>e[t(565)][t(537)][t(778)](i)))[t(793)]((e=>Array[t(626)](e[t(805)]())))[t(625)]()}return this[t(583)]&&n[t(687)]((e=>e[t(738)]-3<=this[t(583)].y&&e[t(509)]+3>=this[t(583)].y&&e[t(744)]-3<=this[t(583)].x&&e[t(692)]+3>=this[t(583)].x))||n[0]}}}),this[r(739)][r(643)](r(521)))})),this.on(t(524),((e,i,s,n)=>{const r=t;this[r(736)]=s?this[r(632)](s):null,this[r(773)][r(729)][r(650)]((()=>{const t=r,e=this[t(773)][t(790)];n&&(n[t(555)][t(811)]?e[t(565)][t(650)]((i=>{const s=t;i[s(784)](s(527),e[s(565)][s(809)][s(590)](n[s(745)]))})):e[t(708)](t(628)+n.id)),s&&(s[t(555)][t(811)]?e[t(565)][t(650)]((i=>{const n=t;i[n(821)](n(527),e[n(565)][n(809)][n(590)](s[n(745)]))})):e[t(708)](t(628)+s.id))}))})),this[t(662)](this[t(773)][t(790)][t(565)][t(809)],t(542),((e,i)=>{const s=t;if(this[s(748)])return;const n=this[s(546)](i[s(697)]),r=this[s(559)][s(627)](n);r?(this[s(583)]={x:i[s(714)].x,y:i[s(714)].y},this[s(736)]=this[s(632)](r)):(this[s(583)]=null,this[s(736)]=null)})),this[t(662)](this[t(773)][t(790)][t(565)][t(809)],t(541),((e,i)=>{const s=t,n=this[s(546)](i[s(697)]),r=this[s(559)][s(627)](n);r?(this[s(583)]={x:i[s(714)].x,y:i[s(714)].y},r===this[s(748)]?this[s(739)][s(732)]():this[s(748)]=r):(this[s(583)]=null,this[s(748)]=null)}))}[Xt(546)](t){const e=Xt;do{const i=t[e(517)](e(668));if(i)return i;t=t[e(634)]}while(t);return null}[Xt(619)](){const t=Xt;this[t(773)][t(729)][t(650)]((e=>{const i=t;for(const t of this[i(773)][i(729)][i(722)])e[i(608)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(726)][r(570)](s[r(508)],i[r(690)]))return;const o=s[r(508)][r(703)](),a=s[r(508)][r(766)],c=t[r(729)][r(719)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(503)];h=h||c[r(818)](e);const i=n[r(819)][r(639)](e);if(i&&i[r(545)](r(520)))return;r(529)==t[r(823)]&&c[r(629)](e)&&!c[r(786)](e)&&(e[r(514)]||a[r(728)]?u&&u[r(634)]==e||(u=e,f(t[r(653)]),d=!0):l=l||t[r(653)])}function f(t){const i=r,o=n[i(819)][i(730)](t),a=n[i(543)][i(795)](i(779),{class:i(552)+e});n[i(543)][i(685)](o,a),n[i(819)][i(672)](a,s[i(664)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(810)][e(627)](ee);this[e(799)]=!1,this[e(662)](i,e(644),(()=>this[e(724)]())),this[e(662)](i,e(523),(()=>this[e(724)]()))}[Xt(787)](){const t=Xt,e=this[t(773)],i=e[t(810)][t(627)](ee),s=i[t(756)]?i[t(655)][t(611)]:null;e[t(689)][t(627)](t(560))[t(511)](s)}[Xt(724)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(773)][t(810)][t(627)](ee),r=n&&s[t(707)](n[t(611)]);this[t(587)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(669)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(810)][i(627)](ee);this[i(799)]=!1,this[i(669)]=i(678)===e?1:-1,this[i(662)](s,i(644),(()=>this[i(724)]())),this[i(662)](s,i(523),(()=>this[i(724)]())),this[i(662)](s,i(524),(()=>this[i(724)]()))}[Xt(787)](){const e=Xt,i=this[e(773)],s=i[e(810)][e(627)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(748)]=n?s[e(655)][e(640)][e(627)](r+this[e(669)]):s[e(655)][e(640)][e(712)],s[e(748)][e(555)][e(811)])o=i[e(790)][e(565)][e(674)](s[e(748)][e(745)]);else{const t=i[e(729)][e(722)][e(627)](e(628)+s[e(748)].id);o=(0,Z.getMarkerDomElement)(i[e(790)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(724)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(773)][t(810)][t(627)](ee);this[t(587)]=!!(r&&n&&s)&&(!e||(1===this[t(669)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=144]})(t,e)}function ce(){const t=["807846EoMPGj","fire","span","1169238KXJGBw","execute","Loading...","numberOfChanges","ck-hidden","ck-revision-history-ui","No changes","setTemplate","ck-revision-history-ui__changes-navigation__wrapper","forward","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation","19397RsneYN","isNavigationMode","isBackwardNavigationEnabled","1641PWWjQE","_isStatusLabelVisible","bindTemplate","Total","_statusText","EDIT_X_OF_Y_REVISIONS","set","656QeuERY","2524230CuXuWD","963123iTsSdM","23310RlsmIr","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__label","bind","backward","Show previous change","div","currentChangeNumber","Show next change","X_OF_Y_CHANGES","isEnabled","isReady","isForwardNavigationEnabled","44ydbXSC"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(218162===parseInt(e(177))/1+-parseInt(e(159))/2+parseInt(e(144))/3+-parseInt(e(158))/4*(-parseInt(e(145))/5)+parseInt(e(162))/6+parseInt(e(174))/7*(-parseInt(e(184))/8)+parseInt(e(185))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(179)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(183)](e(175),!1),this[e(183)](e(156),!1),this[e(183)](e(152),0),this[e(183)](e(165),0),this[e(183)](e(157),!1),this[e(183)](e(176),!1),this[e(148)](e(178)).to(this,e(156),this,e(165),((t,e)=>t&&e>0)),this[e(148)](e(181)).to(this,e(156),this,e(152),this,e(165),this,e(175),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(164));if(!n)return Q(t,o(168));const a=Q(t,o(146),n);return r?Q(t,o(154),[s+1,n]):a})),s[e(183)]({label:Q(t,e(150)),tooltip:!0,icon:mt.IconChevronUp}),n[e(183)]({label:Q(t,e(153)),tooltip:!0,icon:mt.IconChevronDown}),s[e(148)](e(155)).to(this,e(176)),n[e(148)](e(155)).to(this,e(157)),s.on(e(163),(()=>this[e(160)](e(163),e(149)))),n.on(e(163),(()=>this[e(160)](e(163),e(171)))),this[e(169)]({tag:e(151),attributes:{class:["ck",e(167),e(173)]},children:[{tag:e(161),attributes:{class:[e(170)]},children:[{tag:e(161),attributes:{class:[e(147),i.if(e(178),e(166),(t=>!t))]},children:[{text:i.to(e(175),(i=>i?Q(t,e(182))+": ":Q(t,e(180))+": "))}]},{text:i.to(e(181))}]},new pt.ToolbarSeparatorView,{tag:e(151),attributes:{class:[e(172)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=me();return(fe=function(t,e){return i[t-=246]})(t,e)}function me(){const t=["hide","398618ejYXGN","321208dzJnvd","addClass","editing","view","4921940wgegXs","4221552CsvXFz","roots","90966MINOat","removeClass","2269676tfnPCU","7YzBdJG","2oxhOcs","show","editor","180gqhXwu","isPremiumPlugin","4715892DxnIlc","ck-editor__editable__loading-overlay","isOfficialPlugin","change","pluginName","3bqBiKw","RevisionViewerLoadingOverlay","document"];return(me=function(){return t})()}!function(t){const e=fe,i=t();for(;;)try{if(510320===-parseInt(e(262))/1*(parseInt(e(247))/2)+parseInt(e(257))/3*(-parseInt(e(271))/4)+parseInt(e(266))/5+parseInt(e(269))/6*(parseInt(e(246))/7)+parseInt(e(267))/8+parseInt(e(252))/9+-parseInt(e(250))/10*(parseInt(e(261))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=de(253);class ve extends U.Plugin{static get[de(256)](){return de(258)}static get[de(254)](){return!0}static get[de(251)](){return!0}[de(248)](){const t=de,e=this[t(249)][t(264)][t(265)];e[t(255)]((i=>{const s=t;for(const t of e[s(259)][s(268)])i[s(263)](pe,t)}))}[de(260)](){const t=de,e=this[t(249)][t(264)][t(265)];e[t(255)]((i=>{const s=t;for(const t of e[s(259)][s(268)])i[s(270)](pe,t)}))}}const ge=ke;function ye(){const t=["isNavigationMode","changesNavigation","isEnabled","isOfficialPlugin","ck-revision-history-ui__back-to-editing","311RYEklY","listenTo","isBackwardNavigationEnabled","set","3RGWzkm","980YFydaC","5287356enbDbu","isForwardNavigationEnabled","plugins","hide","bind","10041970UQROxk","restoreRevision","Back to editing","isPremiumPlugin","show","closeRevisionViewerCallback","currentChangeNumber","isReady","2969716zIafGp","execute","requires","componentFactory","forward","init","editor","371175neKuno","showNextChange","19194ILUIHN","6962Nevrhe","Restore this revision","config","get","5277048ovsaaF","change:isReady","showPreviousChange","exitToEditing","revisionHistory","numberOfChanges","RevisionViewerUI","add","commands","pluginName"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=283]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(582785===-parseInt(e(303))/1*(parseInt(e(284))/2)+-parseInt(e(307))/3*(-parseInt(e(322))/4)+parseInt(e(308))/5*(parseInt(e(283))/6)+parseInt(e(329))/7+parseInt(e(288))/8+parseInt(e(309))/9+-parseInt(e(314))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(297)](){return ge(294)}static get[ge(301)](){return!0}static get[ge(317)](){return!0}static get[ge(324)](){return[ee,ve]}[ge(327)](){const t=ge,e=this[t(328)],i=e[t(311)][t(287)](ee),s=e[t(311)][t(287)](ve);e.ui[t(325)][t(295)](t(291),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(306)]({label:Q(i,s(316)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(302)}),this[s(304)](n,s(323),(()=>{const t=s;e[t(286)][t(287)](t(292))[t(319)]()})),n})),e.ui[t(325)][t(295)](t(315),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(306)]({label:Q(i,s(285)),withText:!0,tooltip:!0}),n[s(313)](s(300)).to(e[s(296)][s(287)](s(315))),this[s(304)](n,s(323),(()=>e[s(323)](s(315)))),n})),e.ui[t(325)][t(295)](t(299),(s=>{const n=t,r=new ue(s),o=e[n(296)][n(287)](n(290)),a=e[n(296)][n(287)](n(330));return r[n(313)](n(305)).to(o,n(300)),r[n(313)](n(310)).to(a,n(300)),r[n(313)](n(321),n(320),n(293),n(298)).to(i),this[n(304)](r,n(323),((t,i)=>{const s=n;e[s(323)](s(326)===i?s(330):s(290))})),r})),s[t(318)](),i.on(t(289),((e,i,n)=>{const r=t;n?s[r(312)]():s[r(318)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Oe();return(Se=function(t,e){return i[t-=389]})(t,e)}function Oe(){const t=["element","348KnWpXn","78685ACWRfY","1134076xCOaZH","set","input","20570481ZKAmDb","Revision name","render","destroy","12tvEWVa","clientWidth","extendTemplate","_resizeObserver","bindTemplate","ck-tooltip_multi-line","span","listenTo","4923317XStiDi","scrollWidth","824570GvfzGf","_tooltipString","15128rwTuCf","526684PRcdYv","ck-revision-history-sidebar__revision-name","fieldView","Enter the revision name","_updateTooltipText","placeholder","value"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(612920===-parseInt(e(396))/1+parseInt(e(399))/2*(parseInt(e(416))/3)+-parseInt(e(409))/4+parseInt(e(408))/5*(-parseInt(e(407))/6)+-parseInt(e(394))/7+-parseInt(e(398))/8+parseInt(e(412))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class xe extends pt.LabeledFieldView{[Ie(389)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(390)];this[i(410)]({label:Q(t,i(413)),_tooltipString:""}),this[i(401)][i(404)]=Q(t,i(402)),this[i(418)]({tag:i(392),attributes:{class:[i(400)],"data-cke-tooltip-text":s.to(i(397)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(391)}})}[Ie(414)](){const e=Ie;super[e(414)](),this[e(389)]=new t.ResizeObserver(this[e(401)][e(406)],(()=>this[e(403)]())),this[e(393)](this[e(401)],e(411),(()=>this[e(403)]()))}[Ie(415)](){const t=Ie;super[t(415)](),this[t(389)]&&this[t(389)][t(415)]()}[Ie(403)](){const t=Ie,e=this[t(401)][t(406)];this[t(397)]=e[t(395)]>e[t(417)]&&e[t(405)]||""}}var Te=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(Te.A,Ne);Te.A&&Te.A.locals&&Te.A.locals;function Re(){const t=["4746021jJHxyD","1209470OSifjN","9cEntQV","Revision author","785938ngULbS","span","3927776PYQXlG","push","ck-revision-history-sidebar__revision-author","1173240DrAGgA","set","ck-revision-history-sidebar__revision-author_creator","name","setTemplate","1675758kRFbVx","641934YmhNyW","ck-revision-history-sidebar__revision-author__name","Revision creator","0 0 11 10","16JXUwMk"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=477]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(486592===parseInt(e(485))/1+-parseInt(e(490))/2+-parseInt(e(496))/3+-parseInt(e(480))/4*(-parseInt(e(482))/5)+-parseInt(e(495))/6+-parseInt(e(481))/7+parseInt(e(487))/8*(parseInt(e(483))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Me extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(491)]({content:mt.IconUser,viewBox:s(479)});const r=["ck",s(489)];i&&r[s(488)](s(492));const o=[{tag:s(486),attributes:{class:["ck",s(477)],title:Q(t,s(i?478:484))},children:[n,e[s(493)]]}];this[s(494)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Ve();return(Ee=function(t,e){return i[t-=144]})(t,e)}function Ve(){var t=["14353713EclOsv","toLocaleTimeString","5151804BkHdII","toLocaleDateString","280234CqMMNd","5578090NIYwxM","1610008ndwHQu","3669095mdtTqw","numeric","4cuZLHF","150874VsHcXc","3QHaTUB","long"];return(Ve=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(430560===-parseInt(e(149))/1+parseInt(e(156))/2*(-parseInt(e(150))/3)+-parseInt(e(148))/4*(parseInt(e(146))/5)+parseInt(e(154))/6+-parseInt(e(144))/7+-parseInt(e(145))/8+parseInt(e(152))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=354]})(t,e)}function je(){const t=["bind","isReady","listView","buttonView","set","Show more items","button","329464zZvCxp","listenTo","change:isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions","function","extendTemplate","5497956ugRqSW","name","menu","isActionsDropdownOpen","4076340AtVahQ","action","isEnabled","Restore this revision","first","Name this revision","class","menuitem","locale","bindTemplate","map","132xOEnAd","execute","add","1320213euGNCA","panelPosition","21519MqivNB","find","588260QbpLcD","items","stopPropagation","model","isOpen","Compare against selected","children","ck-on","isVisible","7808ZYPjQk","149863oZSkee","source","_action"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(731946===parseInt(e(398))/1+parseInt(e(374))/2+-parseInt(e(384))/3+-parseInt(e(380))/4+parseInt(e(354))/5+-parseInt(e(395))/6*(parseInt(e(364))/7)+parseInt(e(363))/8*(parseInt(e(400))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=380]})(t,e)}function Ue(){const t=["change","unhighlight","uiLanguage","6PEyNXy","isHighlighted","ck-revision-history-sidebar__revision","listenTo","fire","highlight","ck-disabled","_revision","ck-revision-history-sidebar__revision__controls-wrapper","1312MpoSOW","bind","map","ck-revision-history-sidebar__revision_highlighted","ck-revision-history-sidebar__revision-wrapper","14623tYBekb","isActionsDropdownOpen","5929038oTsqgG","div","isReady","name","isEnabled","27069714OxxsTR","select","authors","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","value","revisionNameView","element","isSelected","extendTemplate","ck-revision-history-sidebar__actions_dropdown_open","_requireRevisionName","fieldView","createdAt","878160enjfIY",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision-authors","filter","revisionActionsView","1383692aCCHec","isConfirm","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision_selected","length","deselect","render","220","setTemplate","from","set","closest","setName","ck-reset","_createdAtFormatted","creator","srcElement","bindTemplate","span","1250270mksKFx","unshift","4712980BnyRIY"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(961623===parseInt(e(423))/1+parseInt(e(399))/2+-parseInt(e(429))/3*(-parseInt(e(404))/4)+parseInt(e(425))/5+parseInt(e(381))/6+-parseInt(e(443))/7*(parseInt(e(438))/8)+-parseInt(e(386))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(391)];[ze(403)];[ze(436)];[ze(396)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(421)],a=function(t,e){const i=r,s=Array[i(413)](e[i(388)])[i(402)]((t=>t!=e[i(419)]));return e[i(419)]&&s[i(424)](e[i(419)]),s[i(440)]((s=>new Me(t,s,s==e[i(419)])))}(e,i);this.id=i.id,this[r(436)]=i,this[r(396)]=n,this[r(439)](r(384),r(398)).to(i),this[r(439)](r(418)).to(this,r(398),(t=>{return i=e[r(428)],(s=t)[(n=Ee)(155)](i,{month:n(151),day:n(147)})+", "+s[n(153)](i,{hour:n(147),minute:n(147)});var i,s,n})),this[r(414)](r(393),!1),this[r(414)](r(430),!1),this[r(414)](r(380),!1),this[r(414)](r(383),!1),this[r(414)](r(385),!1),this[r(391)]=new xe(e,pt.createLabeledInputText),this[r(391)][r(397)][r(394)]({attributes:{maxlength:r(411)}}),this[r(391)][r(397)][r(439)](r(390)).to(this,r(384),(t=>t||this[r(418)])),this[r(391)][r(439)](r(385)).to(this,r(393),this,r(385),((t,e)=>t&&e)),this[r(403)]=s&&s[r(408)]?function(e,i){const s=Fe,n=e[s(393)],r=e[s(392)],o=(0,pt.createDropdown)(r);o[s(399)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(392)],n={"Compare against selected":Q(s,i(359)),"Name this revision":Q(s,i(389)),"Restore this revision":Q(s,i(387))};return e[i(394)]((t=>{const e=i,s=n[t[e(381)]];return s&&s!==t[e(381)]&&(t[e(381)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(373),model:new pt.ViewModel({label:t[n(381)],class:t[n(390)],withText:!0,role:n(391),_action:t[n(385)]})};i[n(357)][n(367)](n(386)).to(e,n(383),(i=>n(378)!=typeof t[n(386)]||!i||t[n(386)](e))),o[n(397)](i)}return o}(e,i);return e[s(367)](s(383)).to(o,s(358)),o[s(370)][s(371)]({label:Q(r,s(372)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(379)]({attributes:{class:[s(377),n.if(s(383),s(361))]},on:{click:n.to((t=>t[s(356)]()))}}),o.on(s(396),(t=>{const i=s;e[i(368)]&&i(378)==typeof t[i(365)][i(366)]&&t[i(365)][i(366)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(382)}),o[s(375)](e,s(376),((t,n,r)=>{const a=s;if(r)for(const t of o[a(369)][a(355)]){const s=t[a(360)][a(388)],n=i[a(401)]((t=>t[a(385)]===s[a(366)]))[a(362)];t[a(362)]=void 0===n||n(e)}})),o}(this,s):"",this[r(403)]&&this[r(403)][r(439)](r(385)).to(this),this[r(412)]({tag:r(382),attributes:{class:["ck",r(417),r(442),o.if(r(405),r(389))]},children:[{tag:r(382),attributes:{class:["ck",r(417),r(431),o.if(r(385),r(435),(t=>!t)),o.if(r(393),r(407)),o.if(r(430),r(441)),o.if(r(380),r(395))]},children:[this[r(391)],{tag:r(422),attributes:{class:["ck",r(406)]},children:[{text:o.to(r(418))}]},{tag:r(382),attributes:{class:["ck",r(437)]},children:[{tag:"ul",attributes:{class:["ck",r(401)]},children:a}]},this[r(403)]],on:{click:o.to((t=>{const e=r;t[e(420)][e(415)](e(400))||this[e(383)]&&this[e(385)]&&this[e(433)](e(387),{id:this.id})}))}}]})}[ze(410)](){const t=ze;super[t(410)]();const e=this[t(391)][t(397)][t(392)];this[t(432)](e,t(426),(()=>{const i=t;this[i(396)]&&!e[i(390)]||this[i(433)](i(416),{id:this.id,name:e[i(390)]}),e[i(390)]||(e[i(390)]=this[i(384)]?this[i(384)]:this[i(418)])}))}[ze(387)](){this[ze(393)]=!0}[ze(409)](){this[ze(393)]=!1}[ze(434)](){this[ze(430)]=!0}[ze(427)](){this[ze(430)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}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 Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let xi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},xi={}}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=Ri.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 Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,xi[s]||(xi[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"})),xi[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:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Mi={};function Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.DateTimeFormat(t,e),Mi[i]=s),s}let Vi={};let Di={};let Ci=null;let Fi={};function ji(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=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ms(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.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 zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Mi={},Vi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.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?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(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 ji(this,t,Xs,(()=>{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=io.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 ji(this,t,sn,(()=>{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=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.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 Pi(t,this.intl,e)}relFormatter(t={}){return new zi(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:xs()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Hi extends Ii{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${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{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(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(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 ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(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 bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(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&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function xs(){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 Rs(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 Ss(t)&&t>=e&&t<=i}function Ms(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Es(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(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?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.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 qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(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 ln[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 Ms(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 nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.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=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(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 dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...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 pn(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 vn(...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 gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Es(s)}function xn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.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 Mn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(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?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Vn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(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$/,jn=/^(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 Pn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),xn,Tn,Nn),$n=mn(wn,xn,Tn,Nn),Bn=mn(_n,xn,Tn,Nn),Yn=mn(xn,Tn,Nn);const Jn=mn(xn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(xn,Tn,Nn);const Qn="Invalid Duration",tr={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}},er={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},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,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:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(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 lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(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),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.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 lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Mn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.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 as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(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+=Cs(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 io.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?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.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]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(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 ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(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=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)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;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(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 ur(this.matrix,e),ar(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 ar(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 rr)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 hr="Invalid Interval";class dr{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 as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.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:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.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=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.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?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).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(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.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(dr.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:dr.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 dr.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(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[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=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:xs()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(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=mr(t,e);return(i-i%7)/7}],["days",mr]],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=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={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 Or=null;function xr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.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=xr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(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 wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\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;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(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),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("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 Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),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=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Mr=864e13;function Er(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(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 jr(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 Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(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=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Ms(t.c.hour);return e?(o+=":",o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ms(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ms(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ms(Math.trunc(-t.o/60)),o+=":",o+=Ms(Math.trunc(-t.o%60))):(o+="+",o+=Ms(Math.trunc(t.o/60)),o+=":",o+=Ms(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},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["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 Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Er(e));this.ts=_s(t.ts)?os.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=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({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 io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Er(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Ui.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,$n],[Zn,Bn],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.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?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Xn])}(t);return zr(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 as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return xr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.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(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.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 Cr(this,{ts:s,zone:t})}return io.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(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,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.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?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.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=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.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(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.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||io.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),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.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(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.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?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=137]})(t,e)}function ro(){const t=["67185EBnSoa","249920hguMZD","80PzWIhc","week","local","month","toRelativeCalendar","setLocale","914893nPSmYV","startOf","monthLong","minus","5330AgkSJg","485xxIIuw","9942uzxiXc","356292wdrvlD","weekdayLong","9lDulWS","hasSame","day","toJSDate","35503hqMQgO","495DTfEsy","year","fromJSDate"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(148)](t)[i(156)](e),n=io[i(153)](),r=n[i(160)]({days:1})[i(158)](i(143));let o,a;return s[i(142)](n,i(143))?(o=s[i(158)](i(143))[i(144)](),a=s[i(155)]()):s[i(142)](r,i(143))?(o=r[i(144)](),a=s[i(155)]()):s[i(142)](n,i(152))?(o=s[i(158)](i(152))[i(144)](),a=s[i(140)]||""):s[i(142)](n,i(147))?(o=s[i(158)](i(154))[i(144)](),a=s[i(159)]||""):(o=s[i(158)](i(147))[i(144)](),a=String(s[i(147)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(134007===parseInt(e(145))/1+parseInt(e(150))/2+parseInt(e(141))/3*(-parseInt(e(139))/4)+parseInt(e(137))/5*(parseInt(e(138))/6)+parseInt(e(157))/7+parseInt(e(151))/8*(-parseInt(e(149))/9)+-parseInt(e(161))/10*(-parseInt(e(146))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["ck-revision-history-sidebar__time-period__revisions","7426771PijPrv","_requireRevisionName","90kaCBDe","5OrkAgh","468762TBwMoo","remove","_revisionActions","9bqwjPk","delegate","span","35435XaFSZI","find","startDate","localizedPeriodName","ck-revision-history-sidebar__time-period__label","setTemplate","292486FvemjM","setName","addRevision","createCollection","24QRVxMK","locale","189108rFfUHr","removeRevision","div","uiLanguage","1174880VEMzRj","add","ck-revision-history-sidebar__time-period","861294hYAium","select","revisionViews"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=219]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(236572===-parseInt(e(250))/1+parseInt(e(223))/2*(-parseInt(e(247))/3)+parseInt(e(233))/4+parseInt(e(243))/5*(-parseInt(e(244))/6)+parseInt(e(236))/7*(-parseInt(e(227))/8)+-parseInt(e(229))/9*(-parseInt(e(242))/10)+parseInt(e(240))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(219)];[uo(238)];[uo(246)];[uo(241)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(228)][n(232)])[n(220)];this[n(219)]=e,this[n(238)]=this[n(226)](),this[n(246)]=i,this[n(241)]=s,this[n(238)][n(248)](n(237)).to(this),this[n(238)][n(248)](n(224)).to(this),this[n(222)]({tag:n(231),attributes:{class:["ck",n(235)]},children:[{tag:n(249),attributes:{class:["ck",n(221)]},children:[{text:r}]},{tag:n(231),attributes:{class:["ck",n(239)]},children:this[n(238)]}]})}[uo(225)](t){const e=uo,i=new Ze(this[e(228)],t,this[e(246)],this[e(241)]);this[e(238)][e(234)](i)}[uo(230)](t){const e=uo,i=this[e(238)][e(251)]((e=>e.id===t.id));this[e(238)][e(245)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["2552556WQKONp","setTemplate","2060681tKNpEV","2876607RTUzNU","3352iMACmj","22353BGPCmO","ck-revision-history-sidebar__header__label","ck-reset_all","8339230Ahdrra","18REtKKk","4295FrnvTP","ck-revision-history-sidebar__header","527376zHdOyn","Revision history","8bKYOij","div","span","content"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=396]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(790954===-parseInt(e(411))/1*(-parseInt(e(397))/2)+-parseInt(e(406))/3+-parseInt(e(410))/4*(-parseInt(e(398))/5)+-parseInt(e(400))/6+-parseInt(e(408))/7*(-parseInt(e(402))/8)+-parseInt(e(409))/9+parseInt(e(396))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(405)]=mt.IconHistory,this[e(407)]({tag:e(403),attributes:{class:["ck",e(413),e(399)]},children:[i,{tag:e(404),attributes:{class:["ck",e(412)]},children:[Q(t,e(401))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=432]})(t,e)}const _o=wo;function Io(){const t=["5100405FHdCgB","flat","_removeRevision","revisionViews","132ClDZAx","getTime","uiLanguage","add","1002148ZRpHKS","_addRevision","remove","fire","_requireRevisionName","ck-rounded-corners","unhighlight","delegate","select","map","highlightRevisions","set","setName","addRevision","6213176qfhLqe","createCollection","259226CRRcyZ","selectRevision","ck-revision-history-sidebar","10tjprrw","render","9yIXARw","get","3263130AnxRQZ","setTemplate","revisionSetName","_revisions","startDate","deselect","ck-disabled","ck-revision-history-sidebar__timeline","ck-reset","_revisionActions","714276eahweW","_getTimePeriodViewByStartDate","timePeriodViews","find","div","bindTemplate","9663913vSoskH","4JKxZvg","highlight","locale","removeRevision","6Jmesub","createdAt","revisionSelected","isEnabled","some"];return(Io=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(882568===parseInt(e(479))/1*(parseInt(e(486))/2)+-parseInt(e(467))/3*(parseInt(e(446))/4)+-parseInt(e(438))/5+parseInt(e(433))/6*(parseInt(e(485))/7)+-parseInt(e(460))/8+parseInt(e(469))/9*(parseInt(e(465))/10)+parseInt(e(462))/11*(parseInt(e(442))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[_o(481)];[_o(472)];[_o(478)];[_o(450)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(484)];this[n(481)]=this[n(461)](),this[n(481)][n(453)](n(454)).to(this),this[n(481)][n(453)](n(458)).to(this),this[n(472)]=e,this[n(478)]=i,this[n(450)]=s,this.on(n(454),((t,e)=>{const i=n;this[i(449)](i(435),e)})),this.on(n(458),((t,e)=>{const i=n;this[i(449)](i(471),e)})),this[n(457)](n(436),!1),this[n(470)]({tag:n(483),attributes:{class:["ck",n(477),n(451),n(464)]},children:[new yo(t),{tag:n(483),attributes:{class:["ck",n(476),r.if(n(436),n(475),(t=>!t))]},children:this[n(481)]}]})}[_o(466)](){const t=_o;super[t(466)]();for(const e of this[t(472)])this[t(447)](e);this[t(472)].on(t(445),((e,i)=>{this[t(447)](i)})),this[t(472)].on(t(448),((e,i)=>{this[t(440)](i)}))}get[_o(441)](){const t=_o;return this[t(481)][t(455)]((e=>e[t(441)][t(455)]((t=>t))))[t(439)]()}[_o(463)](t){const e=_o;for(const i of this[e(441)])t&&t.id===i.id?i[e(454)]():i[e(474)]()}[_o(456)](t){const e=_o;for(const i of this[e(441)])t[e(437)]((({id:t})=>t===i.id))?i[e(487)]():i[e(452)]()}[_o(447)](t){const e=_o,i=oo(t[e(434)],this[e(488)][e(444)])[e(473)];let s=this[e(481)][e(468)](0);s&&s[e(473)][e(443)]()===i[e(443)]()||(s=new fo(this[e(488)],i,this[e(478)],this[e(450)]),this[e(481)][e(445)](s)),s[e(459)](t)}[_o(440)](t){const e=_o,i=oo(t[e(434)],this[e(488)][e(444)])[e(473)];this[e(480)](i)[e(432)](t)}[_o(480)](t){const e=_o;return this[e(481)][e(482)]((i=>i[e(473)][e(443)]()===t[e(443)]()))}}const Oo=No;function xo(){const t=["element","string","editor","init","revisionHistory.revisionActions","fieldView","nameRevision","requires","get","isPremiumPlugin","getLaterVisibleRevision","12492AZgfCS","5171512DnSAxW","destroy","revisionSelected","_sidebarView","appendChild","name","render","config","repository","setName","getEarlierVisibleRevision","revisionHistory","313666GdMBqS","RevisionsSidebar","8YmGLhs","focus","isVisible","revisionSetName","Restore this revision","newRevisionId","6875GvHhrM","timePeriodViews","map","restoreRevisionCallback","selectRevision","_revisionViewer","data","isSelected","_revisionsRepository","getIndex","_handleRevisionSelected","restoreRevision","37790BrLHXY","1220YdvArO","compareAgainstSelected","add","defaultRevisionActions","ready","plugins","revisionHistory.requireRevisionName","getRevisionsInDiff","assign","locale","pluginName","diff","_handleDiffChange","bind","revisionHistory.viewerSidebarContainer","isOfficialPlugin","3693312EcGYcE","5873352uWTbcG","7bllpsL","action","getRevision","change:diff","isReady","Name this revision","availableRevisionActions","select","length","_createRevisionActions","compare","_revisions","Compare against selected","remove","_handleRevisionSetName","highlightRevisions","12530151gsoxQg","revisionViews","_handleEditorDataReady","isEnabled","listenTo"];return(xo=function(){return t})()}!function(t){const e=No,i=t();for(;;)try{if(920349===-parseInt(e(435))/1*(-parseInt(e(433))/2)+parseInt(e(470))/3+-parseInt(e(421))/4+parseInt(e(454))/5*(-parseInt(e(420))/6)+-parseInt(e(472))/7*(parseInt(e(471))/8)+-parseInt(e(404))/9+-parseInt(e(453))/10*(-parseInt(e(441))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class To extends U.Plugin{[Oo(446)];[Oo(449)];[Oo(424)];static[Oo(457)]=[Oo(455),Oo(452),Oo(415)];static[Oo(478)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(484),action:({plugins:e},i)=>{const s=t,n=e[s(417)](ee),r=n[s(429)];let o=n[s(465)][s(440)],a=i.id;r[s(450)](o)>r[s(450)](a)&&([o,a]=[a,o]),n[s(482)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(417)](ee);return!(n[s(429)][s(461)](n[s(465)])[s(480)]>2||i[s(448)])}},restoreRevision:{name:t(439),action:(e,{id:i})=>{const s=t;e[s(428)][s(417)](s(432))[s(444)](i)},isVisible:({plugins:e},i)=>!!e[t(417)](ee)[t(429)][t(419)](i.id)},nameRevision:{name:t(477),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(417)](ee),o=r[n(429)][n(431)](i);r[n(482)](i,o),s[n(436)](),s[n(414)][n(479)]()}}}}();static get[Oo(464)](){return Oo(434)}static get[Oo(469)](){return!0}static get[Oo(418)](){return!0}static get[Oo(416)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(446)]=t[e(459)][e(417)](ee),this[e(449)]=this[e(446)][e(429)],this[e(424)]=null}[Oo(412)](){const t=Oo,e=this[t(449)][t(483)],i=this[t(481)](),s=this[t(411)][t(428)][t(417)](t(468));this[t(424)]=new So(this[t(411)][t(463)],e,i,this[t(411)][t(428)][t(417)](t(460))),this[t(424)].on(t(423),this[t(451)][t(467)](this)),this[t(424)].on(t(438),this[t(486)][t(467)](this)),this[t(424)][t(467)](t(407)).to(this[t(446)]),this[t(424)][t(442)].on(t(456),((e,i)=>{const s=t;i[s(405)].on(s(456),((t,e)=>{const i=s;e[i(467)](i(407),i(476)).to(this[i(446)])}))})),this[t(424)][t(427)](),this[t(408)](this[t(411)][t(447)],t(458),this[t(406)][t(467)](this)),this[t(408)](this[t(446)],t(475),this[t(466)][t(467)](this)),s[t(425)](this[t(424)][t(409)])}[Oo(422)](){const t=Oo;this[t(424)][t(409)][t(485)](),this[t(424)][t(422)]()}[Oo(406)](){const t=Oo,e=this[t(449)][t(474)](0);if(e){const i=this[t(449)][t(431)](e.id);this[t(446)][t(482)](e,i)}}[Oo(451)](t,e){const i=Oo,s=this[i(449)][i(474)](e.id),n=this[i(449)][i(431)](s.id);this[i(446)][i(482)](s,n)}[Oo(486)](t,e){const i=Oo;this[i(449)][i(474)](e.id)[i(430)](e[i(426)])}[Oo(466)](t,e,i){const s=Oo,n=this[s(449)][s(461)](i);n[s(480)]>2?(this[s(424)][s(403)](n),this[s(424)][s(445)](null)):(this[s(424)][s(403)]([]),this[s(424)][s(445)](n[0]))}[Oo(481)](){const t=Oo,e=this[t(411)],i=To[t(478)],s=e[t(428)][t(417)](t(413))||To[t(457)];if(s[t(480)])return s[t(443)]((s=>{const n=t,r=n(410)==typeof s?Object[n(462)]({},i[s]):s;return r[n(473)]=r[n(473)][n(467)](this,e),r[n(437)]&&(r[n(437)]=r[n(437)][n(467)](this,e)),r}))}}function No(t,e){const i=xo();return(No=function(t,e){return i[t-=403]})(t,e)}const Ro=To;function Ao(t,e){const i=Vo();return(Ao=function(t,e){return i[t-=130]})(t,e)}const Mo=Ao;!function(t){const e=Ao,i=t();for(;;)try{if(960873===parseInt(e(149))/1*(-parseInt(e(163))/2)+parseInt(e(145))/3+-parseInt(e(153))/4*(parseInt(e(173))/5)+parseInt(e(169))/6+-parseInt(e(131))/7+-parseInt(e(143))/8+-parseInt(e(140))/9*(-parseInt(e(159))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends pt.EditorUI{[Mo(161)];[Mo(151)];[Mo(170)];get[Mo(164)](){return this[Mo(161)]}constructor(e,i){const s=Mo;super(e),this[s(161)]=i,this[s(151)]=(0,pt.normalizeToolbarConfig)(e[s(134)][s(171)](s(158))),this[s(170)]=new t.ElementReplacer}get[Mo(133)](){const t=Mo;return this[t(164)][t(133)]}[Mo(137)](t){const e=Mo,i=this[e(175)],s=this[e(164)],n=i[e(165)][e(164)],r=s[e(135)],o=n[e(176)][e(141)]();r[e(142)]=o[e(172)],s[e(146)]();const a=r[e(133)];this[e(174)](r[e(142)],a),s[e(135)][e(162)](e(155)).to(this[e(139)]),n[e(138)](a),this[e(170)][e(150)](t,this[e(133)]),this[e(156)](),this[e(136)](e(168))}[Mo(148)](){const t=Mo;super[t(148)]();const e=this[t(164)],i=this[t(175)][t(165)][t(164)];this[t(170)][t(147)](),i[t(132)](e[t(135)][t(142)]),e[t(148)]()}[Mo(156)](){const t=Mo,e=this[t(164)];e[t(152)][t(162)](t(154)).to(this[t(139)],t(155)),e[t(152)][t(130)]=e[t(133)],e[t(152)][t(162)](t(160)).to(this,t(144),(({top:t})=>t)),e[t(158)][t(166)](this[t(151)],this[t(157)]),this[t(167)](e[t(158)])}}function Vo(){const t=["init","attachDomRoot","focusTracker","30501NrDAog","getRoot","name","14288288JSkjJq","viewportOffset","1021701fjjQPF","render","restore","destroy","1158029PXaDSt","replace","_toolbarConfig","stickyPanel","1324pnhoLo","isActive","isFocused","_initToolbar","componentFactory","toolbar","19870IHLbAb","viewportTopOffset","_view","bind","2fVKNpq","view","editing","fillFromConfig","addToolbar","ready","1148904qRiZHJ","_elementReplacer","get","rootName","26735EwMqhy","setEditableElement","editor","document","limiterElement","11138393rACKvL","detachDomRoot","element","config","editable","fire"];return(Vo=function(){return t})()}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=Lo;!function(t){for(var e=Lo,i=t();;)try{if(618280===parseInt(e(257))/1*(parseInt(e(251))/2)+-parseInt(e(253))/3*(-parseInt(e(258))/4)+parseInt(e(245))/5*(-parseInt(e(243))/6)+-parseInt(e(247))/7+-parseInt(e(256))/8+parseInt(e(240))/9*(parseInt(e(239))/10)+-parseInt(e(244))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Fo(242)];[Fo(254)];[Fo(259)];get[Fo(255)](){return this[Fo(242)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(254)]=new pt.StickyPanelView(t),this[s(259)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(252)]}),this[s(242)]=new pt.InlineEditableUIView(t,e)}[Fo(246)](){var t=Fo;super[t(246)](),this[t(254)][t(241)][t(249)](this[t(259)]),this[t(250)][t(249)](this[t(254)]),this[t(248)][t(249)](this[t(255)])}}function Lo(t,e){var i=Po();return(Lo=function(t,e){return i[t-=239]})(t,e)}function Po(){var t=["editable","5935416AcQAik","1xYHlci","5508IZmISD","toolbar","729310UWRTfr","90sIYHka","content","_editable","984gEahWM","3884232sbBlTc","18085wYXrat","render","1994902WKHYet","main","add","top","1813090qDmjfQ","shouldToolbarGroupWhenFull","2082TpVeOJ","stickyPanel"];return(Po=function(){return t})()}function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=403]})(t,e)}const Wo=zo;function Uo(){const t=["554rvRJNo","sourceElement","fire","init","createRoot","create","_ui","get","10PmAVaU","model","428259lhXnTw","10jMxDlx","4316823CdBxZo","data","1683774VzZjfh","editing","1030477aDrUkO","initialData","408419eaJFCC","1568876jhtmdo","document","updateSourceElement","initPlugins","312NiUOee","ready","config","view","8MFsDjy","4737qUkkPd","locale","destroy"];return(Uo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(358107===parseInt(e(419))/1+-parseInt(e(409))/2*(-parseInt(e(406))/3)+parseInt(e(428))/4+parseInt(e(420))/5*(-parseInt(e(423))/6)+-parseInt(e(425))/7*(-parseInt(e(405))/8)+-parseInt(e(421))/9*(-parseInt(e(417))/10)+parseInt(e(427))/11*(-parseInt(e(432))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(415)];get ui(){return this[Wo(415)]}constructor(t,e){const i=Wo;super(e),this[i(410)]=t,this[i(418)][i(429)][i(413)]();const s=new jo(this[i(407)],this[i(424)][i(404)],{shouldToolbarGroupWhenFull:!0});this[i(415)]=new Eo(this,s)}[Wo(408)](){const t=Wo;return this[t(430)](),this.ui[t(408)](),super[t(408)]()}static async[Wo(414)](t,e){const i=Wo,s=new this(t,e);return await s[i(431)](),await s.ui[i(412)](t),await s[i(422)][i(412)](s[i(403)][i(416)](i(426))||""),s[i(411)](i(433)),s}}const Ho=Yo;function qo(){const t=["addRevisionData","4VfPXqZ","1070058oKovIr","RevisionViewerIntegration","toLocaleDateString","1061606Tnmwfl","init","repository","isAnonymous","refreshPositioning","revisionHistory.requireRevisionName","detachRoot","enableReadOnlyMode","toJSON","pluginName","_enhanceCloseRevisionViewerCallback","_viewerEditor","data","document","createRangeIn","revisionHistory.viewerEditorElement","lazyRoots","63kBMcGI","Dialog","addRoot","push","editor","enqueueChange","Annotations","_getRevisionViewerEditorConfig","97rPIjOj","Restored","_enhanceShowRevisionViewerCallback","isEnabled","removeAttribute","isReadOnly","_restoreRevision","createdAt","changesNavigation","exitToEditing","_showRevisionViewer","isRevisionViewerOpen","change","RevisionHistoryUI","keys","long","revisionHistory.showRevisionViewerCallback","locale","restoreRevision","insert","view","Users","config","DocumentOutlineUI","bind","1532970tTpyRt","display","result","revision-history-missing-configuration","disableReadOnlyMode","toLocaleTimeString","showRevisionViewerCallback","block","markers","32210xLwJaH","revision-history-viewer-opened","getAttributeKeys","isReady","update","getRevisions","refreshVisibility","rootName","users","element","has","closeRevisionViewerCallback","5hWfstc","RevisionsRepository","hide","then","PaginationLookup","isPremiumPlugin","error","translations","roots","_cleanUp","71076txinVK","RevisionHistory","numeric","revisionHistory.editorContainer","toolbar","getRevisionRootsAttributes","loadRevisionData","model","none","13FKBobA","_recalculatePageBreaks","8kPBEaR","removeMarker","removeSelectionAttribute","uiLanguage","destroy","commands","setAttribute","style","create","revisionHistory.closeRevisionViewerCallback","indexOf","revisionHistory","Autosave","set","save","RevisionHistoryUtils","fromCharCode","selection","catch","from","RestrictedEditingMode","getMarkersGroup","creator","$graveyard","saveRevision","_update","8594628fmUGXB","adapter","name","remove","5438kGesBK","addUser","end","_closeRevisionViewer","join","isOfficialPlugin","restrictedEditingException","map","getRevisionDocumentData","revisionHistory.viewerContainer","toVersion","plugins","getRoot","revisionHistory.restoreRevisionCallback","isOpen","define","parse","DocumentOutline","RevisionViewer","getRevision","setSelection","includes","isAttached","get","requires","fromVersion","RevisionTracker","getUser"];return(qo=function(){return t})()}!function(t){const e=Yo,i=t();for(;;)try{if(141456===-parseInt(e(301))/1*(parseInt(e(398))/2)+-parseInt(e(357))/3*(parseInt(e(427))/4)+parseInt(e(347))/5*(-parseInt(e(326))/6)+-parseInt(e(431))/7*(parseInt(e(368))/8)+-parseInt(e(293))/9*(-parseInt(e(335))/10)+parseInt(e(428))/11+parseInt(e(394))/12*(parseInt(e(366))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const $o=[Ho(314),Ho(388)];class Bo extends U.Plugin{[Ho(328)];static get[Ho(285)](){return Ho(429)}static get[Ho(403)](){return!0}static get[Ho(352)](){return!0}constructor(t){const e=Ho;function i(t){const e=Yo;return t[e(405)]((t=>String[e(384)](t)))[e(402)]("")}super(t),this[e(328)]=e(400),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])})}}function Yo(t,e){const i=qo();return(Yo=function(t,e){return i[t-=277]})(t,e)}class Jo extends U.Plugin{[Ho(287)];static get[Ho(285)](){return Ho(358)}static get[Ho(403)](){return!0}static get[Ho(352)](){return!0}static get[Ho(422)](){return[at,jt]}constructor(e){const i=Ho;if(super(e),!this[i(297)][i(323)][i(421)](i(379)))throw new t.CKEditorError(i(329),this);this[i(287)]=null,this[i(381)](i(312),!1),this[i(297)][i(323)][i(413)](i(317),(t=>this[i(311)]({...t,translations:this[i(297)][i(318)][i(354)]}))),this[i(297)][i(323)][i(413)](i(377),(t=>this[i(401)](t))),this[i(297)][i(323)][i(413)](i(411),(t=>this[i(307)](t))),this[i(297)][i(323)][i(413)](i(281),!1),this[i(303)](),this[i(286)]()}set[Ho(395)](t){const e=Ho;this[e(297)][e(409)][e(421)](e(424))[e(395)]=t}get[Ho(395)](){const t=Ho;return this[t(297)][t(409)][t(421)](t(424))[t(395)]}[Ho(426)](t){const e=Ho;return this[e(297)][e(409)][e(421)](e(424))[e(426)](t)}[Ho(417)](t){const e=Ho;return this[e(297)][e(409)][e(421)](e(348))[e(417)](t)}[Ho(340)](t){const e=Ho;return this[e(297)][e(409)][e(421)](e(348))[e(340)](t||{toJSON:!1})}[Ho(300)](){const e=Ho,i=this[e(297)],s=(0,Z.sanitizeEditorConfig)(i,$o),n=i[e(409)][e(421)](e(424)),r=i[e(409)][e(421)](e(322))[e(343)];return s[e(361)]=[e(310),e(319),e(309)],delete s[e(292)],s[e(409)][e(296)](Bo,ee,be,class extends U.Plugin{static get[e(422)](){return[ee,e(322)]}[e(277)](){const s=e,o=this[s(297)][s(409)][s(421)](s(322));for(const t of r)t[s(279)]||o[s(425)](t.id)||o[s(399)](t);const a=n[s(278)][s(340)]();let c=null;const u=this[s(297)][s(409)][s(421)](s(416));u[s(395)]=n[s(395)],u[s(325)](s(304)).to(n),this[s(297)][s(373)][s(421)](s(319))[s(325)](s(304)).to(i,s(306),(t=>!t));for(const e of a){const i=null===e[s(390)];if(i&&e[s(408)]===e[s(423)])continue;const r=e[s(284)]();u[s(426)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(393)](r,o);else if(!o){const e=a[u(284)]();e.id=(0,t.uid)(),n[u(392)](e,a[u(408)])[u(350)]((t=>{c=t}))}}else e[u(393)](r,o)}))}}},Ro),s}[Ho(303)](){const t=Ho,e=this[t(297)][t(323)][t(421)](t(379))[t(332)];this[t(297)][t(323)][t(381)](t(317),(async()=>{const i=t;this[i(297)][i(283)](i(336));const s=this[i(297)][i(409)][i(421)](i(424));if(this[i(297)][i(409)][i(345)](i(380))){const t=this[i(297)][i(409)][i(421)](i(380));await t[i(382)]()}else await s[i(339)]();if(this[i(297)][i(409)][i(345)](i(351))&&this[i(297)][i(409)][i(421)](i(351))[i(367)](),this[i(297)][i(409)][i(345)](i(294))){const t=this[i(297)][i(409)][i(421)](i(294));t[i(412)]&&t[i(349)]()}const n=this[i(300)]();return e(n)[i(350)]((t=>{const e=i;return this[e(287)]=t,this[e(297)][e(409)][e(345)](e(299))&&this[e(297)][e(409)][e(421)](e(299))[e(341)](),this[e(297)][e(409)][e(345)](e(415))&&(this[e(297)][e(409)][e(421)](e(324))[e(321)][e(344)][e(375)][e(327)]=e(365)),t}))[i(386)]((t=>(console[i(353)](t),this[i(297)][i(330)](i(336)),null)))}))}[Ho(286)](){const t=Ho,e=this[t(297)][t(323)][t(421)](t(379))[t(346)];this[t(297)][t(323)][t(381)](t(377),(()=>(this[t(297)][t(409)][t(345)](t(351))&&this[t(297)][t(409)][t(421)](t(351))[t(367)](),this[t(297)][t(409)][t(345)](t(415))&&(this[t(297)][t(409)][t(421)](t(324))[t(321)][t(344)][t(375)][t(327)]=""),this[t(287)][t(409)][t(421)](t(416))[t(356)](),e(this[t(287)])[t(350)]((()=>{const e=t;if(this[e(297)][e(330)](e(336)),this[e(287)]=null,this[e(297)][e(409)][e(345)](e(299))){const t=this[e(297)][e(409)][e(421)](e(299));t[e(341)](),t[e(280)]()}})))))}[Ho(311)](t){const e=Ho,i=this[e(297)][e(323)][e(421)](e(360)),s=this[e(297)][e(323)][e(421)](e(407)),n=this[e(297)][e(323)][e(421)](e(291));return Zo[e(376)](n,t)[e(350)]((t=>(s[e(375)][e(327)]=e(333),i[e(375)][e(327)]=e(365),this[e(312)]=!0,t)))}[Ho(401)](t){const e=Ho,i=this[e(297)][e(323)][e(421)](e(360));return this[e(297)][e(323)][e(421)](e(407))[e(375)][e(327)]=e(365),i[e(375)][e(327)]="",this[e(312)]=!1,t[e(372)]()}async[Ho(307)](t){const e=Ho,i=this[e(297)],s=this[e(287)][e(409)][e(421)](e(416)),n=i[e(409)][e(421)](e(424)),r=i[e(409)][e(421)](e(383)),o=s[e(278)][e(417)](t);let a,c,u;try{await r[e(363)](o,this[e(395)]),a=r[e(406)](o),c=r[e(362)](o)}catch(t){return void console[e(353)](t)}i[e(364)][e(313)]((t=>{const s=e;for(const e of Array[s(387)](i[s(364)][s(334)][s(389)](s(404))))t[s(369)](e)})),s[e(338)]=!1,i[e(364)][e(298)]((t=>{const s=e;t[s(418)](null),t[s(370)](i[s(364)][s(289)][s(385)][s(337)]());const n=Object[s(315)](a);for(const e of i[s(364)][s(289)][s(355)])s(391)!=e[s(342)]&&e[s(420)]()&&!n[s(419)](e[s(342)])&&t[s(282)](e);for(const e of n){let n=i[s(364)][s(289)][s(410)](e);n&&n[s(420)]()||(n=t[s(295)](e));const r=c[e],o=Object[s(315)](r),u=a[e];for(const e of n[s(337)]())o[s(419)](e)||t[s(305)](e,n);for(const i of o)t[s(374)](i,c[e][i],n);t[s(397)](t[s(290)](n)),t[s(320)](i[s(288)][s(414)](u,n),n,0)}}));const l=Q(i[e(318)],e(302));return u=o[e(396)]?-1==o[e(396)][e(378)](l)?l+": "+o[e(396)]:o[e(396)]:l+": "+o[e(308)][e(430)](i[e(318)][e(371)],{month:e(316),day:e(359)})+", "+o[e(308)][e(331)](i[e(318)][e(371)],{hour:e(359),minute:e(359)}),await n[e(392)]({name:u}),s[e(338)]=!0,i[e(323)][e(421)](e(379))[e(346)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=370]})(t,e)}function Ko(){var t=["2899864WjFAcx","1617610ERnEcF","570091MnCxio","4gDdzrA","1518987Qckvjh","942910hbSggt","5034906WfoANq","8819272lbfSEu"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(800477===parseInt(e(371))/1+parseInt(e(374))/2+parseInt(e(373))/3*(-parseInt(e(372))/4)+parseInt(e(370))/5+parseInt(e(375))/6+-parseInt(e(376))/7+parseInt(e(377))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|