@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250409.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:()=>U,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>te,RevisionViewerEditor:()=>Wo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ao});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 M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=z;function P(){const t=["createdAt","408JorUrm","setName","map","5STFAtJ","208iglUBo","23025PABOoW","2052hISkzL","creator","10WOLzdg","fire","creatorId","model","set","removeAttribute","3130061cgBRgR","authorsIds","fromVersion","25312epLlcW","299zItTvI","authors","1635528ZGRqsR","1848884HtdIEm","name","attributes","toJSON","diffData","setAttribute","toVersion","710532BcvczV","_update","2814MsgEjU"];return(P=function(){return t})()}function z(t,e){const i=P();return(z=function(t,e){return i[t-=109]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(699632===-parseInt(e(112))/1+parseInt(e(120))/2*(-parseInt(e(121))/3)+parseInt(e(137))/4*(-parseInt(e(119))/5)+-parseInt(e(116))/6*(parseInt(e(114))/7)+parseInt(e(133))/8*(-parseInt(e(122))/9)+parseInt(e(124))/10*(parseInt(e(130))/11)+-parseInt(e(136))/12*(-parseInt(e(134))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class U extends((0,t.ObservableMixin)()){id;[j(123)];[j(135)];[j(109)];[j(111)];[j(132)];[j(127)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(123)]=e[i(123)]||null,this[i(135)]=e[i(135)]||[],this[i(109)]=e[i(109)]||null,this[i(111)]=e[i(111)]||0,this[i(132)]=e[i(132)]||0,this[i(128)](i(138),e[i(138)]||""),this[i(128)](i(115),e[i(115)]||new Date),this[i(128)](i(139),e[i(139)]||{})}[j(117)](t){this[j(113)]({name:t})}[j(110)](t,e){const i=j,s=R(this[i(139)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(113)]({attributes:s})}[j(129)](t){const e=j,i=R(this[e(139)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(113)]({attributes:i})}[j(113)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(138),i(115),i(109),i(135),i(139),i(111),i(132),i(126)];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(135)]&&(n[i(131)]=n[i(135)][i(118)]((t=>t.id)),delete n[i(135)]),this[i(125)](i(113),n,e))}[j(140)](){const t=j;return{id:this.id,name:this[t(138)],creatorId:this[t(123)]?this[t(123)].id:null,authorsIds:this[t(135)][t(118)]((t=>t.id)),diffData:this[t(109)],createdAt:this[t(115)],attributes:this[t(139)],fromVersion:this[t(132)],toVersion:this[t(111)]}}}var W=i(782),H=i(211),Z=i(783);const B=$;function $(t,e){const i=q();return($=function(t,e){return i[t-=439]})(t,e)}function q(){const t=["addRevision","authorsIds","from","getRevisions","fromVersion","plugins","earlier","getRevisionsIterator","4378860KIWHzE","981674mfaWWd","join","attributes","map","15877062GNmTAC","_revisions","toJSON","14TLtsYq","creatorId","requires","newRevisionId","getLaterVisibleRevision","getRevision","later","afterInit","getIndex","1234845IiUddd","getEarlierVisibleRevision","pluginName","getUser","612361eCqwwB","add","reverse","editor","name","href","createRevision","RevisionsRepository","get","isNaN","Users","isPremiumPlugin","fromCharCode","3150416aLlxyR","diffData","16swKdOT","length","oldRevisionId","createdAt","push","isOfficialPlugin","toVersion","getRevisionsInDiff","2582517XJfCLz","data"];return(q=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(498813===-parseInt(e(451))/1+-parseInt(e(485))/2+parseInt(e(474))/3+parseInt(e(466))/4*(parseInt(e(447))/5)+parseInt(e(484))/6+-parseInt(e(492))/7*(-parseInt(e(464))/8)+-parseInt(e(489))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends W.Plugin{[B(490)];static get[B(440)](){return[H.Users]}static get[B(449)](){return B(458)}static get[B(471)](){return!0}static get[B(462)](){return!0}get[B(467)](){const t=B;return this[t(490)][t(467)]}constructor(e){const i=B;super(e),this[i(490)]=new t.Collection}[B(445)](){!async function(e){const i=k([112,115,88,71,55,107,77,82,121,78,118,83,81,53,85,100,116,80,52,74,73,50,87,72,65,110,90,57,67,68,104,109,89,48,120,101,103,117,69,49,75,105,70,113,79,84,51,99,114,97,102,86,76,54,111,122,108,98,106,56,119,66]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(460)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([112]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(488)]((t=>String[e(463)](t)))[e(486)]("")}!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:1744156800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(456)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[B(457)](t){const e=B,i=this[e(454)][e(481)][e(459)](e(461));return new U({id:t.id,name:t[e(455)],creator:t[e(439)]?i[e(450)](t[e(439)]):null,diffData:t[e(465)]||t[e(475)],authors:t[e(477)][e(488)]((t=>i[e(450)](t))),createdAt:new Date(t[e(469)]),attributes:t[e(487)],fromVersion:t[e(480)],toVersion:t[e(472)]})}[B(476)](t,e=0){const i=B;this[i(490)][i(452)](t,e)}[B(443)](t){const e=B;return this[e(490)][e(459)](t)}[B(479)](t={toJSON:!1}){const e=B,i=Array[e(478)](this[e(490)]);return i[e(453)](),t[e(491)]?i[e(488)]((t=>t[e(491)]())):i}[B(446)](t){const e=B;return this[e(490)][e(446)](t)}[B(448)](t){const e=B,[,i]=this[e(483)](t,{direction:e(482)});return i}[B(442)](t){const e=B,[,i]=this[e(483)](t,{direction:e(444)});return i}[B(473)](t){const e=B,i=[];for(const s of this[e(483)](t[e(441)]))if(i[e(470)](s),s.id===t[e(468)])break;return i}*[B(483)](t,{direction:e=B(482),filter:i=()=>!0}={}){const s=B,n=s(482)===e?1:-1;let r=this[s(490)][s(459)](t),o=this[s(446)](r);for(yield r;r;){if(o+=n,r=this[s(443)](o),!r)return;i(r)&&(yield r)}}}const J=K;function G(){const t=["insertions","pluginName","isOfficialPlugin","domChildrenToView","getRevisionRootsAttributes","revision-start","document","collaboration.channelId","_viewClassToTypeChar","RevisionHistoryUtils","isPremiumPlugin","name","2336095PjKOcq","fillerOffset","data-revision-","toData","config","domDocument","get","370488aJGkhd","parse","append","_getViewFromDiffObj","childNodes","data","536632VHIHKG","startsWith","revision-end","children","getRevisionDocumentData","211321KmAMdm","getRevision","htmlProcessor","innerHTML","_makeModelFromViewString","viewChildrenToDom","map","forEach","loadRevisionData","attachChange","_getTypeCharForViewElement","_typeCharToViewClass","_removeRevisionMarkers","type","length","marked","editing","customProperties","useFillerType","toModel","_setCustomProperty","1103114JzQvRy","isAttached","_appendChild","default","7SmSAlg","attributes","636474wnlTHv","processor","filter","getFillerOffset","render","from","attributesAfter","937482vJFqrp","div","editor","createElement","constructor","domConverter","diffData","view","string"];return(G=function(){return t})()}function K(t,e){const i=G();return(K=function(t,e){return i[t-=140]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(307855===parseInt(e(162))/1+-parseInt(e(183))/2+parseInt(e(196))/3+-parseInt(e(151))/4+parseInt(e(144))/5+-parseInt(e(189))/6+parseInt(e(187))/7*(parseInt(e(157))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class Q extends W.Plugin{static get[J(206)](){return J(141)}static get[J(207)](){return!0}static get[J(142)](){return!0}[J(140)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(173)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(170)](t,e){const i=J;if(t[i(202)]||!e)return;const s=this[i(198)][i(148)][i(150)](i(212)),n=await e[i(163)]({channelId:s,revisionId:t.id});t[i(202)]=n[i(202)]}[J(161)](t){const e=J,i={};for(const s in t[e(202)]){if(t[e(202)][s][e(171)]&&!t[e(202)][s][e(171)][e(184)])continue;const n=this[e(174)](JSON[e(152)](t[e(202)][s][e(205)])),r=this[e(198)][e(178)][e(203)][e(211)],o=new Z.ViewDocumentFragment(r,n[e(168)]((t=>this[e(154)](t,!1))));this[e(198)][e(156)][e(190)][e(180)](e(177)),i[s]=this[e(198)][e(156)][e(190)][e(147)](o),this[e(198)][e(156)][e(190)][e(180)](e(186))}return i}[J(209)](t){const e=J,i={};for(const s in t[e(202)])t[e(202)][s][e(171)]&&!t[e(202)][s][e(171)][e(184)]||(i[s]=t[e(202)][s][e(195)]||{});return i}[J(172)](t){const e=J;return this[e(140)][e(150)](t[e(200)])}[J(154)](t,e){const i=J,s=this[i(198)][i(178)][i(203)][i(211)];if(i(204)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(175)]||"r"==t[i(175)]?[]:t[i(160)][i(168)]((t=>this[i(154)](t,e)));const o=this[i(173)][i(150)](t[i(175)])||Z.ViewElement,a=this[i(198)][i(156)][i(164)][i(201)];if(n=new o(s,t[i(143)],t[i(188)],r),"u"==t[i(175)]&&t[i(160)][0]){const r=t[i(160)][0];if(n[i(193)]=function(t){const e=i,s=t[e(199)](e(197));return s[e(165)]=r,s[e(155)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(185)](n);const e=Array[i(194)](a[i(167)](t,{bind:!1})),r=a[i(149)][i(199)](i(197));r[i(153)](...e),n=Array[i(194)](a[i(208)](r))[0]}}else if("r"==t[i(175)]&&t[i(160)][0]){const r=t[i(160)][0];if(n[i(193)]=function(t){t[i(165)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(185)](n);const e=Array[i(194)](a[i(167)](t,{bind:!1})),r=a[i(149)][i(199)](i(197));r[i(153)](...e);const o=Array[i(194)](a[i(208)](r));o[i(176)]>1?n[i(185)](o):n=o[0]}}if(t[i(179)])for(const[e,s]of t[i(179)])n[i(182)](e,s);const c=void 0===t[i(145)]?null:t[i(145)];return null!==c&&(n[i(192)]=()=>c),n}}[J(166)](t){const e=J,i=JSON[e(152)](t),s=this[e(198)][e(178)][e(203)][e(211)],n=new Z.ViewDocumentFragment(s,i[e(168)]((t=>this[e(154)](t,!0))));return this[e(198)][e(156)][e(181)](n)}[J(174)](t){const e=J;return(t=t[e(191)]((t=>!t[e(143)]||e(210)!==t[e(143)]&&e(159)!==t[e(143)])))[e(169)]((t=>{const i=e;i(204)!=typeof t&&(t[i(160)]=this[i(174)](t[i(160)]),t[i(188)]=t[i(188)][i(191)]((t=>!t[0][i(158)](i(146)))))})),t}}function X(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 M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!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=lt;function ot(){const t=["RealTimeCollaborationClient","createPositionBefore","_replaceEditorDataWithRevisionData","_generateTape","_handleMergeOperation","vid_start","_isPendingUpdate","dataDowncast","collaboration.channelId","editor","42224vhCosV","editor-initial-data-replaced-with-revision-data","getIndex","max","type","_handleRootAttributeOperation","getMovedRangeStart","creator","attachChange","getCurrentRevisionId","createElement","getData","insertion","_isInit","stringify","_setConversion","deletions","model","getRevisionRootsAttributes","_loadState","locale","revisionHistoryLicenseKeyInvalid","get","_setAttribute","newRange","toView","resolve","includes","isOfficialPlugin","getRange","childCount","destroy","range","start","_fixPosition","Initial revision","_licenseKeyCheckInterval","merge","update","_processRootBeforeSave","outerHTML","elementStart","updateRevisions","getUser","featureNotAllowed","innerHTML","rootName","attributesAfter","isAdd","source","1113620HyMdjl","reinsert","_lastFrom","getOperations","_reset","parent","vid_end","6212352dyIyFb","move","_getBaseVids","item","getTime","_getTypeCharForViewElement","push","createRevision","PENDING_ACTION_REVISION_HISTORY","targetPosition","requires","clear","RevisionHistory","roots","_handleInsertOperation","render","PendingActions","baseVersion","userId","usageLimit","insertionPosition","has","offset","invalid","for","_removePendingAction","_revisionId","_markers","_touched","revisionHistoryLicenseKeyEvaluationLimit","$graveyard","currentRevision","setRevisionData","RevisionHistoryUtils","4094748IWraAD","_lastTo","initialData","_createInitialRevision","dataToMarker","startsWith","nodes","_insertChild","nodeAfter","set","getRevision","addRootAttribute","sendBufferedUpdates","_loadedStateData","markers","sourcePosition","createRangeIn","marker","addRevisionData","conversion","some","_findInsertionIndex","authorsIds","remove","_idsRoots","vid","_bufferedUpdates","_getFromVersion","_createCurrentRevision","deletion","graveyardPosition","history","_makeRevision","data","text","_saveMetaData","_handleMarkerOperation","insert","reInit","tableCell","_handleRootOperation","getRootNames","trialLimit","_touchedRoots","expired","licenseKey","getOperation","hasContent","RevisionsRepository","createPositionAt","_handleOperation","revisionHistoryLicenseKeyTrialLimit","revisionHistoryLicenseKeyNotAllowed","changeRootAttribute","diffData","key","clone","authors","delete","getCustomProperties","_authorId","_getPreviousFrom","getRevisions","customProperties","_calculateMetaData","revisionHistoryLicenseKeyUsageLimit","revisionHistoryLicenseKeyDomainLimit","fromEntries","keys","revision:","_pendingAction","splitPosition","revisionHistoryLicenseKeyValid","_handleMoveOperation","end","markerToData","string","_utils","children","_startingRevisionId","_getViewJson","path","plugins","name","evaluationLimit","_clone","trim","_removeMetaData","ready","16gOMItF","repository","insertions","_makeModelFromViewString","$comment","revisionHistory.resumeUnsavedRevision","_getVidAttributeName","reverse","isPremiumPlugin","_getState","loadState","map","initial","_baseRoots","getWalker","NEGATIVE_INFINITY","domConverter","_startingVersion","revision","buildRevisionData","offsetSize","init","_isAttached","finally","createPositionFromPath","getChild","createPositionAfter","toVersion","getLatestVersion","detachRoot","createRange","_touchedMarkers","_bufferUpdate","_applyOperations","getAttributes","_markChanges","_fixRange","isEnabled","_showLicenseError","RevisionTracker","_cloneOperation","isAttached","uiElement","domainLimit","_continueCurrentRevision","Users","bind","define","previousPosition","_initialRevisionId","upcast","saveRevision","document","_update","getChildren","_createFromRanges","_source","getFillerOffset","_copyMarkers","creatorId","element","269118TtnvPI","htmlProcessor","filter","_prepareViewToSave","isReady","newValue","getAttribute","rootsAttributes","rawElement","_handleSplitOperation","find","_execute","getRevisionDocumentData","split","_makeIdsRoot","documentFragment","paragraph","attributesBefore","3XXMeRB","elementEnd","getAncestors","shift","isEqual","_diffRoots","_addPendingAction","domDocument","_fixOperation","_appendChild","root","version","afterInit","getTransformedByOperation","add","274631YNuyHr","adapter","keepParagraph","$text","position","loadRevisionData","fromVersion","sort","_savedMetaData","addRevision","fillerOffset","getRoot","Empty document","_baseRootsAttributes","_baseIdsRoots","revisionHistoryLicenseKeyExpired","getNodeByPath","howMany","length","_diffRootsAttributes","_transformMarkers","addRoot","values","then","_operations","affectsData","setSource","removeRootAttribute","oldRange","createdAt","config","slice","pluginName","from","2121474Jcvydi","size","_revisionDataBuilder","stickiness"];return(ot=function(){return t})()}!function(t){const e=lt,i=t();for(;;)try{if(543931===parseInt(e(422))/1+parseInt(e(167))/2*(-parseInt(e(440))/3)+-parseInt(e(181))/4+-parseInt(e(231))/5+parseInt(e(238))/6+-parseInt(e(133))/7*(-parseInt(e(361))/8)+parseInt(e(272))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class at extends W.Plugin{[rt(317)];[rt(217)];[rt(269)]=null;[rt(362)];[rt(134)]=null;[rt(169)];[rt(417)];[rt(410)];[rt(298)];[rt(349)];[rt(342)];[rt(405)];[rt(378)];[rt(285)];static get[rt(165)](){return rt(400)}static get[rt(209)](){return!0}static get[rt(369)](){return!0}static get[rt(248)](){return[H.Users,Y,Q,W.PendingActions]}constructor(e){const i=rt;super(e),this[i(362)]=this[i(180)][i(354)][i(203)](i(320)),this[i(349)]=this[i(180)][i(354)][i(203)](i(271)),this[i(169)]=new ct(this[i(180)]),this[i(410)]=this[i(180)][i(163)][i(203)](i(179))||i(373),this[i(298)]=new Map,this[i(285)]=null;const s=(0,t.uid)();this[i(417)]={history:this[i(180)][i(198)][i(413)][i(303)],getLatestVersion:()=>Promise[i(207)](this[i(180)][i(198)][i(413)][i(451)]),getCurrentRevisionId:()=>s},this[i(281)](i(426),!1),this[i(281)](i(398),!0),this[i(281)](i(177),!1),this[i(180)][i(163)][i(408)](i(366),!0),this[i(180)][i(291)][i(262)](i(411))[i(276)]({view:i(379)})}[rt(382)](){const t=rt;this[t(196)](),this[t(180)][t(305)].on(t(360),(()=>{const e=t,i=this[e(362)][e(282)](0),s=i&&null===i[e(188)]?i:null;if(this[e(405)]=!!s&&this[e(180)][e(163)][e(203)](e(366)),this[e(180)][e(354)][e(259)](e(171))){const t=this[e(417)][e(190)](),n=this[e(362)][e(282)](t);if(n)this[e(378)]=n[e(139)],this[e(405)]=!1;else{const t=this[e(417)][e(303)][e(157)][e(432)]((t=>!t[e(194)])),n=t?t[e(255)]:this[e(417)][e(303)][e(451)];i?(i[e(388)]<n&&i[e(414)]({toVersion:n}),this[e(405)]?(this[e(417)][e(190)]=()=>s.id,this[e(378)]=s[e(139)]):(this[e(378)]=i[e(388)],this[e(405)]=!1)):(this[e(378)]=n,this[e(405)]=!1)}}else s&&(this[e(180)][e(198)][e(413)][e(303)][e(451)]=Math[e(184)](s[e(388)],this[e(180)][e(198)][e(413)][e(303)][e(451)]),s[e(139)]===s[e(388)]?(0!==s[e(139)]&&(this[e(417)][e(190)]=()=>s.id),this[e(405)]=!1):this[e(405)]&&(this[e(417)][e(190)]=()=>s.id,this[e(378)]=s[e(139)])),this[e(405)]||(this[e(378)]=this[e(180)][e(198)][e(413)][e(451)]);this[e(169)][e(382)](this[e(417)][e(303)]),this[e(275)](this[e(378)]),this[e(300)](this[e(378)]),this[e(134)]&&this[e(284)]()})),this[t(407)](t(426)).to(this,t(177),(t=>!t)),this[t(317)]=this[t(180)][t(163)][t(203)](t(317));const e=this[t(180)];this[t(217)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(344)==r||i(202)==r||i(148)==r||i(338)==r||i(324)==r||i(267)==r||i(323)==r||i(337)==r){delete e[n],s=r,clearInterval(this[i(217)]),this[i(217)]=void 0;break}}i(202)==s&&e[i(399)](i(261)),i(148)==s&&e[i(399)](i(316)),i(338)==s&&e[i(399)](i(404)),i(324)==s&&e[i(399)](i(225),i(250)),i(267)==s&&e[i(399)](i(356)),i(323)==s&&e[i(399)](i(314)),i(337)==s&&e[i(399)](i(257))}),1e3)}async[rt(452)](){const t=rt;if(this[t(362)][t(151)]>0){const e=this[t(362)][t(282)](0),i=await this[t(434)](e),s=await this[t(199)](e);this[t(173)](i,s)}}[rt(212)](){const t=rt;super[t(212)](),this[t(217)]&&clearInterval(this[t(217)])}[rt(159)](t){this[rt(417)]=t}async[rt(219)](){const t=rt,e=await this[t(417)][t(389)]();if(e>this[t(269)][t(388)]){await this[t(200)]();const i=this[t(380)]({revision:this[t(269)],to:e});i[t(329)]=i[t(294)][t(372)]((e=>this[t(180)][t(354)][t(203)](t(406))[t(224)](e))),this[t(269)][t(414)](i)}}async[rt(412)](e={},i=null){const s=rt,n=[];await this[s(200)](),this[s(405)]=!1,i>this[s(269)][s(388)]&&(i=null),null===i&&(i=await this[s(417)][s(389)]());const r=this[s(299)](i),o=this[s(380)]({from:r,to:i});if(this[s(269)][s(388)]<i){const t=this[s(380)]({revision:this[s(269)],from:i,to:i});t[s(329)]=[],t[s(294)]=[],t.id=this[s(269)].id,this[s(269)][s(414)](t,!0),delete t[s(329)],n[s(244)](t)}e[s(420)]=this[s(180)][s(354)][s(203)](s(406)).me.id,e[s(355)]=e[s(355)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(290)](e);n[s(244)](e);const c=this[s(362)][s(183)](a);if(0!==c){const t=this[s(362)][s(282)](c-1);if(t[s(139)]!==i){const r=this[s(169)][s(192)](i,t[s(388)]),o={id:t.id,diffData:r[s(326)],authorsIds:r[s(294)],authors:r[s(294)][s(372)]((t=>this[s(180)][s(354)][s(203)](s(406))[s(224)](t))),fromVersion:i};t===this[s(269)]&&(o[s(162)]=new Date(e[s(162)][s(242)]()+10)),t[s(414)](o,!0),delete o[s(329)],n[s(244)](o)}}if(this[s(134)]){for(const t of n)this[s(393)](t.id,t,!0);this[s(284)]()}return a}[rt(290)](t){const e=rt,i=this[e(362)][e(245)](t);return this[e(134)]&&i.on(e(414),((t,i,s)=>{const n=e;s||(this[n(393)](i.id,i,!0),this[n(284)]())})),this[e(362)][e(142)](i,this[e(293)](i)),i}async[rt(434)](t){const e=rt;return await this[e(349)][e(138)](t,this[e(134)]),this[e(349)][e(434)](t)}async[rt(199)](t){const e=rt;return await this[e(349)][e(138)](t,this[e(134)]),this[e(349)][e(199)](t)}[rt(284)](){const t=rt;if(0===this[t(298)][t(168)])return;if(this[t(177)])return;let e=Array[t(166)](this[t(298)][t(155)]());this[t(298)][t(249)]();for(let i=0;i<e[t(151)];i++){const s=e[i];let n=!1;for(const e of Object[t(340)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(424)]((t=>null!==t)),!e[t(151)])return;for(let i=0;i<e[t(151)];i++){const s=e[i];void 0!==s[t(139)]&&void 0===s[t(388)]&&(s[t(388)]=this[t(362)][t(282)](s.id)[t(388)]),void 0!==s[t(388)]&&void 0===s[t(139)]&&(s[t(139)]=this[t(362)][t(282)](s.id)[t(139)])}const i=this[t(180)][t(163)][t(203)](t(179));this[t(177)]=!0,this[t(446)](),this[t(134)][t(223)](e,i)[t(384)]((()=>{this[t(177)]=!1}))[t(156)]((e=>{const i=t;if(e)for(const t of e)this[i(270)]({id:t.id,createdAt:t[i(162)]});this[i(263)](),this[i(284)]()}))}[rt(380)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(139)],i=null!==i?i:t[s(388)];const n=this[s(169)][s(192)](e,i),r={diffData:n[s(326)],authorsIds:n[s(294)],fromVersion:e,toVersion:i};if(!t||i!==t[s(388)]){const t=i-1,e=this[s(417)][s(303)][s(318)](t);r[s(162)]=e&&e[s(162)]||new Date}if(this[s(285)]&&e===this[s(285)][s(139)])for(const t of this[s(285)][s(329)])r[s(294)][s(208)](t.id)||r[s(294)][s(244)](t.id);return r}[rt(393)](t,e,i){const s=rt;if(this[s(298)][s(259)](t)){const n=this[s(298)][s(203)](t);e=i?{...n,...e}:{...e,...n}}this[s(298)][s(281)](t,e)}[rt(270)](t){const e=rt,i=this[e(362)][e(282)](t.id);if(t[e(162)]&&(t[e(162)]=new Date(t[e(162)])),t[e(294)]){const i=this[e(180)][e(354)][e(203)](e(406));t[e(329)]=t[e(294)][e(372)]((t=>i[e(224)](t)))}i[e(414)](t,!0)}[rt(275)](t){const e=rt,i=this[e(362)][e(282)](this[e(362)][e(151)]-1);if(i)this[e(410)]=i.id;else{const i=!this[e(180)][e(198)][e(413)][e(251)][e(432)]((t=>this[e(180)][e(198)][e(319)](t))),s=this[e(180)][e(354)][e(203)](e(406)).me.id,n=X(this[e(180)][e(201)],e(i?145:216));this[e(304)]({from:t,to:t,id:this[e(410)],name:n,creatorId:s})}}[rt(300)](t){const e=rt,i=this[e(417)][e(190)]();this[e(269)]=this[e(362)][e(282)](i),this[e(269)]||(this[e(269)]=this[e(304)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(200)](){const t=rt;this[t(405)]&&!this[t(285)]&&(await this[t(349)][t(138)](this[t(269)],this[t(134)]),this[t(169)][t(371)](this[t(269)]),this[t(285)]={fromVersion:this[t(269)][t(139)],authors:this[t(269)][t(329)][t(164)]()})}[rt(173)](e,i){const s=rt;let n=this[s(180)][s(163)][s(203)](s(274)),r=this[s(180)][s(163)][s(203)](s(429));if(void 0===n){n={};for(const t of this[s(180)][s(198)][s(413)][s(313)]())n[t]=""}if(s(348)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(180)][s(198)][s(413)][s(313)]())r[t]={}}let o=!1;const a=Object[s(340)](n),c=Object[s(340)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(358)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(340)](r[t])[s(151)]>0){o=!0;break}}o||(o=c[s(292)]((t=>!this[s(180)][s(198)][s(413)][s(144)](t)))),o&&(0,t.logWarning)(s(182),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(180)][s(163)][s(281)](s(274),e),this[s(180)][s(163)][s(281)](s(429),i)}[rt(446)](){const t=rt;if(!this[t(342)]){const e=this[t(180)][t(354)][t(203)](t(254));this[t(342)]=e[t(132)](X(this[t(180)][t(201)],t(246)))}}[rt(263)](){const t=rt;this[t(342)]&&(this[t(180)][t(354)][t(203)](t(254))[t(295)](this[t(342)]),this[t(342)]=null)}[rt(293)](t){const e=rt,i=this[e(362)][e(334)]();i[e(368)]();let s=0;for(;s<i[e(151)];){const n=i[s];if(n===this[e(269)]){s++;continue}if(n.id===this[e(410)])break;const r=t[e(388)]-n[e(388)]||t[e(139)]-n[e(139)];if(r>0)break;if(r<0)s++;else{if(!t[e(188)]&&n[e(188)])break;if(n[e(188)]||!t[e(188)]){if(t[e(162)]>n[e(162)])break;s++}else s++}}return s}[rt(299)](t){const e=rt,i=this[e(362)][e(334)]();i[e(368)](),i[e(443)]();const s=i[e(432)]((i=>i[e(388)]<=t))[e(388)];return s<this[e(378)]?this[e(378)]:s}[rt(304)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(380)]({from:e,to:i});o[r(355)]=t,o[r(420)]=s,o.id=n;const a=this[r(290)](o);return this[r(134)]&&this[r(393)](o.id,o,!0),a}[rt(196)](){const t=rt;this[t(180)][t(291)][t(262)](t(178))[t(347)]({model:t(379)})}}class ct{[rt(180)];[rt(230)];[rt(141)];[rt(233)];[rt(273)];[rt(265)];[rt(445)];[rt(152)];[rt(374)];[rt(146)];[rt(296)];[rt(147)];[rt(266)];[rt(392)];[rt(315)];[rt(264)];[rt(351)];constructor(t){const e=rt;this[e(180)]=t,this[e(141)]=new Map,this[e(233)]=-1,this[e(273)]=-1,this[e(265)]=new Map,this[e(445)]=new Map,this[e(152)]=new Map,this[e(374)]=new Map,this[e(146)]=new Map,this[e(296)]=new Map,this[e(147)]=new Map,this[e(266)]=new Map,this[e(392)]=new Map,this[e(315)]=new Map,this[e(264)]=1}[rt(382)](t){const e=rt;this[e(230)]=t;const i=new Map,s=new Map,n=this[e(180)][e(198)][e(413)][e(251)][e(372)]((t=>t[e(227)]));for(const t of n){const n=this[e(180)][e(198)][e(413)][e(144)](t),r=ut(n);i[e(281)](t,r),s[e(281)](t,Object[e(339)](n[e(395)]()))}const r=Array[e(166)](this[e(180)][e(198)][e(286)])[e(372)]((t=>[t[e(355)],t[e(210)]()])),o=this[e(230)][e(451)];this[e(307)](o,i,r,s),this[e(351)]=this[e(264)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(281)](t,i),c[e(281)](t,{})}this[e(307)](Number[e(376)],a,[],c)}[rt(192)](t,e){const i=rt;if(this[i(233)]===t&&this[i(273)]<=e)this[i(141)][i(168)]>1&&this[i(359)](this[i(273)]),this[i(394)](this[i(273)],e,!0);else{if(!this[i(141)][i(259)](t)){const e=this[i(333)](t);this[i(336)](e,t,!1)}this[i(336)](t,e,!0)}return this[i(233)]=t,this[i(273)]=e,this[i(370)]()}[rt(371)](t){const e=rt,i=this[e(180)][e(354)][e(203)](e(271));this[e(235)](),this[e(233)]=t[e(139)],this[e(273)]=t[e(388)];for(const s in t[e(326)]){const n=t[e(326)][s][e(189)],r=R(t[e(326)][s][e(439)])||{},o=i[e(364)](t[e(326)][s][e(197)]);o[e(227)]=s,o[e(383)]=!n||!n[e(402)],o[e(402)]=()=>o[e(383)],this[e(374)][e(281)](s,o),this[e(146)][e(281)](s,r),n&&this[e(315)][e(281)](s,n);const a=this[e(436)](o);this[e(147)][e(281)](s,a);for(const[t,i]of o[e(286)]){if(!t[e(277)](e(341)))continue;const s=t[e(435)](":")[2];for(const t of i[e(375)]({singleCharacters:!0})){const i=this[e(367)](t),n=e(441)==t[e(185)]?t[e(409)][e(353)][e(164)](0,-1):t[e(409)][e(353)],r=a[e(149)](n)[e(428)](i);this[e(266)][e(281)](r,{userId:s})}}}this[e(351)]=this[e(264)];const s=[...Array(this[e(264)])[e(340)]()][e(164)](1)[e(424)]((t=>!this[e(266)][e(259)](t)));let n=0;const r=new Map;for(const o in t[e(326)]){const a=t[e(326)][o][e(189)],c=R(t[e(326)][o][e(228)])||{},u=i[e(364)](t[e(326)][o][e(363)]);u[e(227)]=o,u[e(383)]=!a||a[e(402)],u[e(402)]=()=>u[e(383)],this[e(445)][e(281)](o,u),this[e(152)][e(281)](o,c);const l=this[e(436)](u,Number[e(376)]);this[e(296)][e(281)](o,l),r[e(281)](o,u[e(402)]()?c:{});for(const[t,i]of u[e(286)]){if(!t[e(277)](e(341)))continue;const s=t[e(435)](":")[2];for(const t of i[e(375)]({singleCharacters:!0})){const i=this[e(367)](t),n=this[e(264)]++,r=e(441)==t[e(185)]?t[e(409)][e(353)][e(164)](0,-1):t[e(409)][e(353)];l[e(149)](r)[e(204)](i,n),this[e(266)][e(281)](n,{userId:s})}}for(const t of this[e(180)][e(198)][e(288)](u)[e(375)]({singleCharacters:!0})){const i=this[e(367)](t),r=e(441)==t[e(185)]?t[e(409)][e(353)][e(164)](0,-1):t[e(409)][e(353)],o=l[e(149)](r);o[e(428)](i)>0||o[e(204)](i,s[n++])}for(const[t,i]of u[e(286)])t[e(277)](e(341))||this[e(265)][e(281)](t,i)}const o=ht(e(268));this[e(374)][e(281)](e(268),o),this[e(147)][e(281)](e(268),this[e(436)](o,1));const a=ht(e(268));this[e(445)][e(281)](e(268),a),this[e(296)][e(281)](e(268),this[e(436)](a,1));const c=Array[e(166)](this[e(445)])[e(372)]((([t,e])=>[t,ut(e)]));this[e(307)](this[e(273)],c,this[e(265)],r)}[rt(310)](){const t=rt;this[t(235)](),this[t(233)]=-1,this[t(273)]=-1,this[t(141)][t(249)](),this[t(382)](this[t(230)])}[rt(307)](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(281)](t,{start:e[n(214)][n(328)](),end:e[n(346)][n(328)](),rootName:e[n(450)][n(227)]});this[n(141)][n(281)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(359)](t){const e=rt;this[e(141)][e(330)](t)}[rt(235)](){const t=rt;this[t(266)][t(249)](),this[t(392)][t(249)](),this[t(315)][t(249)](),this[t(445)][t(249)](),this[t(152)][t(249)](),this[t(374)][t(249)](),this[t(146)][t(249)](),this[t(296)][t(249)](),this[t(147)][t(249)](),this[t(265)][t(249)](),this[t(264)]=1,this[t(351)]=this[t(264)]}[rt(436)](t,e=null){const i=rt;let s=null;t.is(i(437))||(s=new Z.Element(t[i(355)],{vid_start:null===e?this[i(264)]++:e++}));const n=[];for(const s of t[i(415)]())if(s.is(i(421))){n[i(244)](this[i(436)](s,e));const t=n[n[i(151)]-1];null!==e&&(e=t.is(i(421),i(136))?t[i(428)](i(297))+1:t[i(428)](i(237))+1)}else for(let t=0;t<s[i(381)];t++)n[i(244)](new Z.Element(i(136),{vid:null===e?this[i(264)]++:e++}));if(t.is(i(437))){const e=ht(t[i(227)]);return e[i(279)](0,n),e}return s[i(204)](i(237),null===e?this[i(264)]++:e++),s[i(279)](0,n),s}[rt(336)](t,e,i){const s=rt;this[s(235)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(141)][s(203)](t);this[s(374)]=new Map(n),this[s(146)]=new Map(R(o));for(const[t,e]of this[s(374)])if(s(268)!==t&&(this[s(445)][s(281)](t,ut(e)),this[s(152)]=new Map(R(o)),i)){const i=this[s(264)];this[s(296)][s(281)](t,this[s(436)](e)),this[s(147)][s(281)](t,this[s(436)](e,i))}this[s(351)]=this[s(264)],this[s(445)][s(281)](s(268),ut(this[s(374)][s(203)](s(268)))),i&&this[s(296)][s(281)](s(268),this[s(436)](this[s(374)][s(203)](s(268))));for(const[t,e]of r){const i=this[s(374)][s(203)](e[s(227)]),n=this[s(445)][s(203)](e[s(227)]),r=new Z.Range(this[s(215)](e[s(214)],i),this[s(215)](e[s(346)],i)),o=this[s(397)](r,n);i[s(286)][s(281)](t,r),this[s(265)][s(281)](t,o)}this[s(394)](t,e,i)}[rt(394)](t,e,i){const s=rt;for(const n of this[s(230)][s(234)](t,e))this[s(322)](n,i);for(const t of this[s(445)][s(155)]())t[s(286)][s(249)]();for(const[t,e]of this[s(265)])this[s(445)][s(203)](e[s(450)][s(227)])[s(286)][s(281)](t,e[s(328)]());const n=new Map,r=new Map;for(const[t,e]of this[s(445)])n[s(281)](t,ut(e)),r[s(281)](t,this[s(152)][s(203)](t));this[s(307)](e,n,this[s(265)],r)}[rt(333)](t){const e=rt,i=Array[e(166)](this[e(141)][e(340)]());i[e(140)](((t,e)=>t-e)),i[e(368)]();for(const e of i)if(e<t)return e;return Number[e(376)]}[rt(419)](t,e){const i=rt,s=Array[i(166)](e[i(286)])[i(372)]((([e,s])=>[e,this[i(397)](s,t)]));t[i(286)]=new Map(s)}[rt(153)](t){const e=rt;for(const i of this[e(265)][e(155)]()){const s=i[e(453)](t),n=Z.Range[e(416)](s);i[e(214)]=n[e(214)],i[e(346)]=n[e(346)]}}[rt(322)](t,e){const i=rt;if(i(154)!=t[i(185)]&&i(390)!=t[i(185)]){if(i(309)==t[i(185)]){const s=t[i(137)][i(450)][i(227)];this[i(445)][i(259)](s)||(this[i(445)][i(281)](s,ht(s,!0)),this[i(152)][i(281)](s,{}),e&&this[i(296)][i(281)](s,ht(s,!0)))}else{if(i(283)==t[i(185)]||i(160)==t[i(185)]||i(325)==t[i(185)])return void this[i(186)](t);i(289)==t[i(185)]&&this[i(308)](t)}if(i(289)!==t[i(185)]){const e=this[i(401)](t,this[i(445)]);e[i(433)](),this[i(153)](e)}if(e)switch(t[i(185)]){case i(309):this[i(252)](t);break;case i(239):case i(295):case i(232):this[i(345)](t);break;case i(218):this[i(175)](t);break;case i(435):this[i(431)](t)}}else this[i(312)](t,e)}[rt(401)](t,e){const i=rt,s=t[i(328)]();return s[i(332)]=t[i(332)],this[i(448)](s,e),s}[rt(240)](t){const e=rt;return t[e(372)]((t=>{const i=e,s=this[i(367)](t);return Number(t[i(241)][i(428)](s))}))}[rt(174)](t,e){const i=rt;if(t.is(i(421),i(136)))e[i(244)]({item:t,type:i(306)});else{t.is(i(421))&&e[i(244)]({item:t,type:i(222)});for(const s of t[i(415)]())this[i(174)](s,e);t.is(i(421))&&e[i(244)]({item:t,type:i(441)})}return e}[rt(370)](){const t=rt,e=new Map(this[t(266)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(374)][t(340)](),...this[t(445)][t(340)]()]);a[t(330)](t(268));for(const e of a){const i=this[t(445)][t(203)](e)||ht(e,!1),s=this[t(374)][t(203)](e)||ht(e,!1);i[t(402)]()||s[t(402)]()?(n[t(363)][e]=ut(i),n[t(197)][e]=ut(s),this[t(419)](n[t(197)][e],s),this[t(419)](n[t(363)][e],i),r[t(363)][e]=this[t(174)](this[t(296)][t(203)](e),[]),r[t(197)][e]=this[t(174)](this[t(147)][t(203)](e)||ht(e,!1),[])):a[t(330)](e)}for(const n of a){const o=r[t(363)][n];for(const n of o){const r=this[t(367)](n),o=n[t(241)][t(428)](r);i[t(330)](o),o>=this[t(351)]&&s[t(281)](o,e[t(203)](o))}}for(const n of a){const a=r[t(363)][n],c=this[t(240)](r[t(197)][n]);let u=0;for(const n of a){const r=this[t(367)](n),a=n[t(241)][t(428)](r);if(!s[t(259)](a)&&!o[t(259)](a))if(i[t(259)](a))u++;else{if(a!=c[u]){const s=e[t(203)](a)||e[t(203)](c[u]);for(;a!=c[u];)i[t(259)](c[u])||(o[t(281)](c[u],s),e[t(281)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(363)][e];for(const e of n){const n=this[t(367)](e),r=e[t(241)][t(428)](n);if(o[t(259)](r)){const e=o[t(203)](r);i[t(259)](r)||i[t(281)](r,{...e}),s[t(281)](r,{...e})}}}for(const e of i[t(340)]())e>=this[t(351)]&&i[t(330)](e);const c=new Map;for(const e of a){let n=r[t(363)][e];for(const e of n)if(e[t(241)].is(t(421),t(311))){const i=this[t(367)](e),n=e[t(241)][t(428)](i);if(s[t(259)](n)){const i=e[t(241)][t(236)][t(236)][t(428)](t(176)),r=c[t(203)](i)||new Set;r[t(132)](s[t(203)](n)[t(256)]),c[t(281)](i,r)}}n=r[t(197)][e];for(const e of n)if(e[t(241)].is(t(421),t(311))){const s=this[t(367)](e),n=e[t(241)][t(428)](s);if(i[t(259)](n)){const s=e[t(241)][t(236)][t(236)][t(428)](t(176)),r=c[t(203)](s)||new Set;r[t(132)](i[t(203)](n)[t(256)]),c[t(281)](s,r)}}for(const e of c[t(340)]())(s[t(259)](e)||i[t(259)](e))&&c[t(330)](e)}for(const e of a){const n=r[t(363)][e];let o=null,a=null;for(const e of n){const n=this[t(367)](e),r=e[t(241)][t(428)](n),u=c[t(203)](r);u&&t(222)==e[t(185)]&&(o=Array[t(166)](u)[0],a=e[t(241)][t(428)](t(237))),o&&(i[t(281)](r,{userId:o}),s[t(281)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(197)][e],a=n[t(363)][e];for(const{userId:e}of this[t(392)][t(155)]())null!==e&&l[t(132)](e);for(const{userId:e}of this[t(315)][t(155)]())null!==e&&l[t(132)](e);this[t(396)](a,r[t(363)][e],s,t(193),l),this[t(396)](o,r[t(197)][e],i,t(301),l),u[e]={insertions:this[t(425)](a),deletions:this[t(425)](o),attachChange:this[t(315)][t(203)](e)||null,attributesBefore:R(this[t(146)][t(203)](e))||{},attributesAfter:R(this[t(152)][t(203)](e))}}return{diffData:u,authorsIds:Array[t(166)](l)}}[rt(220)](t){const e=rt;for(const[,i]of t[e(286)]){const t=i[e(214)][e(442)]()[e(424)]((t=>e(311)==t[e(355)]));for(const i of t)1==i[e(211)]&&i[e(386)](0).is(e(421),e(438))&&i[e(386)](0)[e(204)](e(135),!0)}}[rt(425)](t){const e=rt;this[e(220)](t);const i=this[e(180)][e(305)][e(206)](t,{}),s=Array[e(166)](i[e(415)]())[e(372)]((t=>this[e(352)](t)));return JSON[e(195)](s)}[rt(352)](t){const e=rt;if(t.is(e(136)))return t[e(305)];{const i=this[e(180)][e(354)][e(203)](e(271)),s=t,n=this[e(180)][e(305)][e(423)][e(377)],r={type:i[e(243)](s),name:s[e(355)],attributes:Array[e(166)](s[e(395)]()),children:Array[e(166)](s[e(415)]())[e(372)]((t=>this[e(352)](t)))};if(t.is(e(403))&&e(365)!=t[e(355)]){const i=t[e(253)](n[e(447)],n);r[e(350)][e(244)](i[e(221)])}else if(t.is(e(430))){const i=n[e(447)][e(191)](s[e(355)]);t[e(253)](i,n),r[e(350)][e(244)](i[e(226)])}const o=Array[e(166)](s[e(331)]());o[e(151)]>0&&(r[e(335)]=o);const a=s[e(418)]();return null!==a&&(r[e(143)]=a),r}}[rt(396)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(180)][r(198)];for(let s=0;s<e[r(151)];s++){const n=this[r(367)](e[s]),c=e[s][r(241)][r(428)](n),h=i[r(203)](c),d=s==e[r(151)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(256)]!=o[r(256)])&&(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(256)],d=l(341)+s+":"+h+":"+c++,f=u[l(391)](i,a);t[l(286)][l(281)](d,f),null!==h&&n[l(132)](h)}}[rt(367)](t){const e=rt;switch(t[e(185)]){case e(222):return e(176);case e(441):return e(237);default:return e(297)}}[rt(448)](t,e){const i=rt;t[i(255)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(203)](n[i(450)][i(227)]);t[s]=this[i(215)](n,r)}if(n instanceof Z.Range){const r=e[i(203)](n[i(450)][i(227)]);t[s]=this[i(397)](n,r)}i(450)===s&&(t[i(450)]=e[i(203)](t[i(450)][i(227)]))}}[rt(397)](t,e){const i=rt;return this[i(180)][i(198)][i(391)](this[i(215)](t[i(214)],e),this[i(215)](t[i(346)],e))}[rt(215)](t,e){const i=rt;return this[i(180)][i(198)][i(385)](e,t[i(353)],t[i(170)])}[rt(252)](t){const e=rt,i=this[e(296)][e(203)](t[e(137)][e(450)][e(227)]),s=this[e(215)](t[e(137)],i),n=null===t[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,r=s[e(236)],o=this[e(264)],a=[];for(const i of t[e(278)])if(i.is(e(421)))a[e(244)](this[e(436)](i));else for(let t=0;t<i[e(381)];t++)a[e(244)](new Z.Element(e(136),{vid:this[e(264)]++}));const c=this[e(264)];for(let t=o;t<c;t++)this[e(266)][e(281)](t,{userId:n});r[e(279)](s[e(260)],a)}[rt(345)](t){const e=rt;(t=this[e(401)](t,this[e(296)]))[e(433)]();const i=null===t[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,s=t[e(187)](),n=s[e(236)],r=s[e(260)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(386)](e);r.is(a(421),a(136))?s[a(281)](r[a(428)](a(297)),{userId:i}):(s[a(281)](r[a(428)](a(176)),{userId:i}),t(s,r,0,r[a(211)]),s[a(281)](r[a(428)](a(237)),{userId:i}))}}(this[e(266)],n,r,r+t[e(150)])}[rt(175)](t){const e=rt,i=null===(t=this[e(401)](t,this[e(296)]))[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,s=t[e(247)][e(236)],n=t[e(287)][e(236)],r=s[e(428)](e(237)),o=n[e(428)](e(176));s[e(204)](e(237),n[e(428)](e(237))),n[e(204)](e(237),r),this[e(266)][e(281)](o,{userId:i}),this[e(266)][e(281)](r,{userId:i}),t[e(433)]()}[rt(431)](t){const e=rt,i=null===(t=this[e(401)](t,this[e(296)]))[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,s=t[e(302)],n=t[e(343)][e(236)];t[e(433)]();const r=n[e(428)](e(237)),o=t[e(258)][e(280)];if(s){const t=o[e(428)](e(237)),s=n[e(428)](e(237));n[e(204)](e(237),t),o[e(204)](e(237),s),this[e(266)][e(281)](n[e(428)](e(237)),{userId:i}),this[e(266)][e(281)](o[e(428)](e(176)),{userId:i})}else{const t=this[e(264)]++,s=this[e(264)]++;n[e(204)](e(237),t),o[e(204)](e(176),s),o[e(204)](e(237),r),this[e(266)][e(281)](t,{userId:i}),this[e(266)][e(281)](s,{userId:i})}}[rt(308)](t){const e=rt;if(!t[e(158)])return;const i=(t=this[e(401)](t,this[e(445)]))[e(161)]?t[e(161)][e(450)]:null,s=t[e(205)]?t[e(205)][e(450)]:null;i&&this[e(265)][e(330)](t[e(355)]),s&&this[e(265)][e(281)](t[e(355)],t[e(205)][e(328)]());const n=null===t[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,r=t[e(355)];if(!this[e(392)][e(259)](r))return void this[e(392)][e(281)](r,{range:t[e(161)],userId:n});const o=this[e(392)][e(203)](r),a=o[e(213)],c=t[e(205)];null==a&&null==c||a&&c&&a[e(444)](c)?this[e(392)][e(330)](t[e(355)]):o[e(256)]=n}[rt(312)](t,e){const i=rt;this[i(445)][i(259)](t[i(227)])?this[i(445)][i(203)](t[i(227)])[i(383)]=t[i(229)]:(this[i(445)][i(281)](t[i(227)],ht(t[i(227)],!0)),this[i(152)][i(281)](t[i(227)],{}),e&&this[i(296)][i(281)](t[i(227)],ht(t[i(227)],!0)));const s=null===t[i(332)]?null:t[i(332)]||this[i(180)][i(354)][i(203)](i(406)).me.id,n=this[i(315)][i(203)](t[i(227)]);n&&n[i(256)]===s?this[i(315)][i(330)](t[i(227)]):this[i(315)][i(281)](t[i(227)],{userId:s,isAttached:t[i(229)]})}[rt(186)](t){const e=rt,i=this[e(152)][e(203)](t[e(450)][e(227)]);null===t[e(427)]?delete i[t[e(327)]]:i[t[e(327)]]=t[e(427)]}}function ut(t){const e=rt,i=ht(t[e(227)],t[e(402)]());for(const s of t[e(415)]()){const t=s[e(357)](!0);i[e(449)](t)}return i}function lt(t,e){const i=ot();return(lt=function(t,e){return i[t-=132]})(t,e)}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(227)]=t,s[i(383)]=e,s[i(402)]=()=>s[i(383)],s}function dt(t,e,i){const s=rt,n=s(441)==t[s(185)]?i[s(321)](t[s(241)],s(346)):i[s(172)](t[s(241)]);return i[s(385)](e,n[s(353)],n[s(170)])}function ft(t,e,i){const s=rt,n=s(222)==t[s(185)]?i[s(321)](t[s(241)],0):i[s(387)](t[s(241)]);return i[s(385)](e,n[s(353)],n[s(170)])}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=Vt;function Vt(t,e){const i=Mt();return(Vt=function(t,e){return i[t-=155]})(t,e)}function Mt(){const t=["form","keystrokes","errorText","revisionNameInputView","set","arrowleft","96tBtgbP","1006250wJEUAG","25510199MHRihp","reset","revisionNameInputValue","optional","1517211nfWdHr","focusTracker","40BsLKOQ","ck-revision-history-save-revision-form","29470wuZvpK","1377796HIpIPz","_createRevisionNameInput","28TKmqkD","focus","add","fieldView","value","arrowright","input","ck-responsive-form","element","21219xIkTVz","arrowup","stopPropagation","revisionName","53fbIGMN","trim","16295unmQAG","label","render","extendTemplate","220","arrowdown","locale","Name of the revision","setTemplate","listenTo"];return(Mt=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(601689===-parseInt(e(187))/1*(parseInt(e(171))/2)+-parseInt(e(183))/3*(parseInt(e(174))/4)+-parseInt(e(189))/5*(-parseInt(e(161))/6)+-parseInt(e(172))/7+-parseInt(e(169))/8*(parseInt(e(167))/9)+parseInt(e(162))/10+parseInt(e(163))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Et extends pt.View{[Rt(168)];[Rt(156)];[Rt(158)];constructor(e,i){const s=Rt;super(e),this[s(168)]=new t.FocusTracker,this[s(156)]=new t.KeystrokeHandler,this[s(159)](s(165),""),this[s(158)]=this[s(173)](i),this[s(197)]({tag:s(155),attributes:{class:["ck",s(170),s(181)],tabindex:"-1"},children:[this[s(158)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(191)](){const t=Rt;super[t(191)](),(0,pt.submitHandler)({view:this}),this[t(168)][t(176)](this[t(158)][t(182)]),this[t(156)][t(198)](this[t(182)]);const e=e=>e[t(185)]();this[t(156)][t(159)](t(179),e),this[t(156)][t(159)](t(160),e),this[t(156)][t(159)](t(184),e),this[t(156)][t(159)](t(194),e)}[Rt(175)](){const t=Rt;this[t(158)][t(175)]()}get[Rt(186)](){const t=Rt;return this[t(158)][t(177)][t(182)][t(178)][t(188)]()}set[Rt(186)](t){const e=Rt;this[e(158)][e(177)][e(182)][e(178)]=t[e(188)]()}[Rt(164)](){const t=Rt;this[t(158)][t(177)][t(182)][t(178)]="",this[t(158)][t(157)]=null}[Rt(173)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(195)],pt.createLabeledInputText),s=i[e(177)];s[e(192)]({attributes:{maxlength:e(193)}});let n=X(this[e(195)],e(196));return!t&&(n+=" ("+X(this[e(195)],e(166))+")"),i[e(190)]=n,s.on(e(180),(()=>{const t=e;this[t(165)]=s[t(182)][t(178)][t(188)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=402]})(t,e)}function Ft(){const t=["hide","The revision name cannot be empty.","isReadOnly","children","Save current revision","_registerMenuComponent","1014666ovlAcx","view","focus","submit","_saveRevisionFormView","2jbiPsI","editing","items","menuitem","172827rkkrJR","reset","revisionHistory.requireRevisionName","buttonView","7585438eKBSMs","99iaAzrS","execute","Cancel","editor","config","show","35xhpYPL","revisionSave","Dialog","isOfficialPlugin","showRevisionViewerCallback","Accept","isEnabled","_createSaveRevisionFormView","menu","init","locale","menuBar:revisionHistory","ck-button-action","errorText","revisionName","136DvybFY","_showDialog","saveRevision","isReady","revisionNameInputView","bind","isOpen","panelView","isPremiumPlugin","1681272esyXER","693078XLfCEN","add","Open revision history","render","get","RevisionHistoryUI","revisionHistory","2763780iEBZKR","componentFactory","addMany","plugins","117708cVqYxP","pluginName","delegate","RevisionTracker","Revision history","role","requires","set"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(552592===parseInt(e(461))/1+parseInt(e(466))/2*(parseInt(e(447))/3)+parseInt(e(435))/4+parseInt(e(411))/5*(parseInt(e(436))/6)+parseInt(e(404))/7+parseInt(e(426))/8*(-parseInt(e(470))/9)+-parseInt(e(443))/10*(parseInt(e(405))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends W.Plugin{static get[Dt(448)](){return Dt(441)}static get[Dt(414)](){return!0}static get[Dt(434)](){return!0}static get[Dt(453)](){return[at]}[Dt(465)];[Dt(420)](){const t=Dt,e=this[t(408)],i=e[t(446)][t(440)](t(450));e.ui[t(444)][t(437)](t(442),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(433)][n(458)],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(431)](n(417)).to(i,n(429),i,n(417),e,n(457),((t,e,i)=>t&&e&&!i)),r[n(403)][n(454)]({icon:mt.IconHistory,label:X(s,n(451)),tooltip:!0}),u[n(454)]({label:X(s,n(459)),withText:!0,role:n(469)}),u[n(431)](n(417)).to(i,n(429),i,n(417),e,n(457),((t,e,i)=>t&&e&&!i)),u.on(n(406),(()=>this[n(427)]())),h[n(454)]({label:X(s,n(438)),withText:!0,role:n(469)}),h[n(431)](n(417)).to(i,n(429),e,n(457),((t,e)=>t&&!e)),h.on(n(406),(()=>{const t=n;e[t(409)][t(440)](t(442))[t(415)](),r[t(432)]=!1,e[t(467)][t(462)][t(463)]()})),c[n(458)][n(437)](u),l[n(458)][n(437)](h),a[n(452)]=n(419),a[n(468)][n(445)]([c,l]),o[n(437)](a),r})),e.ui[t(444)][t(437)](t(422),(()=>this[t(460)]()))}[Dt(460)](){const t=Dt,e=this[t(408)],i=e[t(421)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(403)][t(454)]({icon:mt.IconHistory,label:X(i,t(451))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(454)]({label:X(i,t(459))}),o[t(449)](t(406)).to(s),o.on(t(406),(()=>{this[t(427)]()})),r[t(458)][t(437)](o),n[t(468)][t(437)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(454)]({label:X(i,t(438))}),c[t(449)](t(406)).to(s),c.on(t(406),(()=>{const i=t;e[i(409)][i(440)](i(442))[i(415)]()})),a[t(458)][t(437)](c),n[t(468)][t(437)](a),s[t(433)][t(458)][t(437)](n),s}[Dt(427)](){const t=Dt,e=this[t(408)],i=e[t(421)],s=e[t(446)][t(440)](t(413)),n=e[t(446)][t(440)](t(450));function r(n){const r=t;e[r(409)][r(440)](r(402))&&""===n[r(425)]?n[r(430)][r(424)]=X(i,r(456)):(e[r(446)][r(440)](at)[r(428)]({name:n[r(425)]}),s[r(455)]())}this[t(465)]||(this[t(418)](),this[t(465)].on(t(464),(()=>r(this[t(465)])))),this[t(465)][t(471)](),s[t(410)]({id:t(412),title:X(i,t(459)),isModal:!0,content:this[t(465)],actionButtons:[{label:X(e[t(421)],t(407)),withText:!0,onExecute:()=>s[t(455)]()},{label:X(e[t(421)],t(416)),class:t(423),withText:!0,onCreate(i){const s=t;i[s(431)](s(417)).to(n,s(429),n,s(417),e,s(457),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(465)])}]})}[Dt(418)](){const t=Dt,e=this[t(408)],i=e[t(421)];this[t(465)]=new Et(i,e[t(409)][t(440)](t(402))),this[t(465)][t(439)]()}}const jt=zt;!function(t){const e=zt,i=t();for(;;)try{if(664263===parseInt(e(302))/1+parseInt(e(310))/2+-parseInt(e(316))/3+parseInt(e(296))/4*(-parseInt(e(306))/5)+-parseInt(e(299))/6*(-parseInt(e(305))/7)+-parseInt(e(311))/8+parseInt(e(323))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Pt extends pt.View{[jt(313)];[jt(298)];constructor(t,e){const i=jt;super(t),this[i(298)]=e,this[i(313)]=e.id;const s=this[i(322)],n=X(t,e[i(297)][i(303)]?i(308):i(315)==e[i(319)]?i(324):i(307));this[i(300)](i(319),e[i(319)]),this[i(301)]({tag:i(304),attributes:{class:[i(318),i(317),s.to(i(319),(t=>i(320)+t))],tabindex:-1},children:[{tag:i(312),children:[{tag:i(312),attributes:{class:[i(321)]},children:[{text:n}]},{text:" "+e[i(314)][i(294)]}]}]})}[jt(309)](){const t=jt;this[t(295)][t(309)]()}}function zt(t,e){const i=Ut();return(zt=function(t,e){return i[t-=294]})(t,e)}function Ut(){const t=["50pkVbSx","Removed by","Suggested by","focus","687332bQBDrS","6706696OlSzbz","span","changeId","author","add","3189498nmDLnN","ck-revision-change","ck-annotation","type","ck-revision-change__","ck-revision-change__label","bindTemplate","14349987GneuUX","Added by","name","element","433084sYAaff","data","_model","3438eyftpp","set","setTemplate","1046833mdIJpV","isSuggestion","div","8106ShzPgY"];return(Ut=function(){return t})()}var Wt=Zt;function Ht(){var t=["createdAt","926520ghPjpU","author","988631nbfVNB","rootName","set","1717986ednXVL","68148BNtPcp","type","184VzxIhB","1968105fQTCnp","1449684bHHFhE","toJSON","6rmfBGJ","3062736cyxZgy","data"];return(Ht=function(){return t})()}function Zt(t,e){var i=Ht();return(Zt=function(t,e){return i[t-=372]})(t,e)}!function(t){for(var e=Zt,i=t();;)try{if(551396===parseInt(e(373))/1+parseInt(e(376))/2+-parseInt(e(384))/3+-parseInt(e(381))/4+parseInt(e(380))/5*(parseInt(e(383))/6)+-parseInt(e(387))/7+parseInt(e(379))/8*(-parseInt(e(377))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Bt extends((0,t.ObservableMixin)()){id;[Wt(372)];[Wt(378)];[Wt(385)];[Wt(374)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(372)]=e[i(372)],this[i(378)]=e[i(378)],this[i(385)]=e[i(385)]||{},this[i(374)]=e[i(374)],this[i(375)](i(386),e[i(386)])}[Wt(382)](){var t=Wt;return{id:this.id,authorId:this[t(372)].id,type:this[t(378)],data:this[t(385)],createdAt:this[t(386)]}}}const $t=Yt;function qt(){const t=["2202842sCouxT","2403441knPNlS","762nXucnh","_setChanges","changes","oldRevisionId","32KyBnhW","add","33JdkQbj","3xgkJUk","2068927mbXAFL","3913540evHJhj","36185CImWza","655496PGzGnG","278520EQDZwx","newRevisionId"];return(qt=function(){return t})()}function Yt(t,e){const i=qt();return(Yt=function(t,e){return i[t-=265]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(656389===parseInt(e(279))/1+parseInt(e(266))/2+-parseInt(e(275))/3*(-parseInt(e(280))/4)+-parseInt(e(278))/5*(-parseInt(e(268))/6)+parseInt(e(276))/7*(-parseInt(e(272))/8)+parseInt(e(267))/9+parseInt(e(277))/10*(-parseInt(e(274))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Jt{[$t(265)];[$t(271)];[$t(270)];constructor(e,i){const s=$t;this[s(265)]=e,this[s(271)]=i,this[s(270)]=new t.Collection}[$t(269)](t){const e=$t;for(const i of t)this[e(270)][e(273)](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 Qt=Xt;function Xt(t,e){const i=se();return(Xt=function(t,e){return i[t-=271]})(t,e)}!function(t){const e=Xt,i=t();for(;;)try{if(752378===parseInt(e(560))/1+-parseInt(e(334))/2*(parseInt(e(280))/3)+parseInt(e(414))/4*(parseInt(e(469))/5)+parseInt(e(405))/6+-parseInt(e(300))/7*(-parseInt(e(423))/8)+-parseInt(e(319))/9*(parseInt(e(311))/10)+parseInt(e(475))/11*(-parseInt(e(557))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(se);class te extends W.Plugin{[Qt(486)];[Qt(331)]=null;[Qt(528)];[Qt(578)];[Qt(292)];[Qt(465)];[Qt(452)];static get[Qt(575)](){return Qt(492)}static get[Qt(402)](){return!0}static get[Qt(597)](){return!0}static get[Qt(550)](){return[H.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(486)]=this[e(424)][e(349)][e(558)](e(562)),this[e(528)]=this[e(424)][e(349)][e(558)](e(428)),this[e(427)](e(297),null),this[e(427)](e(598),null),this[e(578)]=null,this[e(427)](e(542),null),this[e(427)](e(312),!1),this[e(427)](e(459),!0),this.on(e(529),((t,i,s)=>{const n=e;this[n(297)]=null,this[n(598)]=null,this[n(424)][n(274)][n(476)][n(330)]((t=>{const e=n;for(const i of this[e(424)][e(274)][e(476)][e(336)][e(437)])s?t[e(572)](e(466),i):t[e(586)](e(466),i)}))})),this[e(376)](e(420)).to(this,e(297),(t=>null!==t)),this[e(376)](e(522)).to(this,e(312),this,e(542),this,e(297),((t,i,s)=>t&&s?i[e(445)][e(422)](s):0)),this[e(376)](e(364)).to(this,e(312),this,e(542),((t,i)=>t?i[e(445)][e(415)]:0)),this[e(292)]=null,this[e(465)]=new Map,this[e(452)]=this[e(424)][e(349)][e(558)](pt.ContextualBalloon)}[Qt(449)](){const t=Qt,e=this[t(424)],i=new ne(e,{direction:t(584)}),s=new ne(e,{direction:t(539)});e[t(338)][t(434)](t(567),i),e[t(338)][t(434)](t(521),s),e[t(338)][t(434)](t(387),new ie(e)),this.on(t(351),(()=>{const e=t;i[e(276)](),s[e(276)]()})),this[t(531)](),this[t(527)](),e[t(442)](t(277)),e[t(349)][t(352)](t(375))&&e[t(349)][t(558)](t(375))[t(472)](t(277))}async[Qt(324)](t){const e=Qt;return await this[e(528)][e(361)](t,this[e(331)]),this[e(528)][e(324)](t)}async[Qt(340)](t){const e=Qt;return await this[e(528)][e(361)](t,this[e(331)]),this[e(528)][e(340)](t)}async[Qt(520)](t,e,i=!1){const s=Qt;if(!this[s(459)])return;const n=this[s(542)],r=this[s(486)],o=s(487)==typeof t?r[s(335)](t):t,a=s(487)==typeof e?r[s(335)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(542)]&&this[s(542)][s(329)]===c&&this[s(542)][s(358)]===u)return Promise[s(456)]();this[s(312)]=!1,this[s(598)]=null,this[s(297)]=null,this[s(542)]=new Jt(c,u);const l=this[s(393)](o,a,!0)[s(448)]((t=>this[s(528)][s(361)](t,this[s(331)])));return l[s(295)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(299)](l)[s(504)]((()=>{const t=s;if(!this[t(459)])return;this[t(417)]();const e=this[t(511)](c,u);for(const i of e[t(445)])this[t(465)][t(427)](i.id,i);this[t(424)][t(491)][t(540)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(424)][s(491)][s(336)][s(501)]())i[s(541)](t);for(const t of Object[s(342)](e[s(491)])){const n=i[s(323)](t);for(const r of Object[s(342)](e[s(433)][t]))i[s(547)](r,e[s(433)][t][r],n);i[s(301)](e[s(491)][t],n,0)}})),this[t(542)][t(439)](this[t(272)](e[t(445)])),this[t(312)]=!0}))[s(505)]((t=>{const e=s;console[e(435)](t),this[e(417)](),n&&(this[e(542)]=n),this[e(312)]=!0}))}[Qt(537)](t,e){const i=Qt,s=this[i(486)][i(279)](t);return s.on(i(582),((t,i,n)=>e(i,n,s))),this[i(486)][i(559)](s),s}[Qt(417)](){const t=Qt;this[t(297)]=null,this[t(370)](),this[t(292)]&&this[t(292)][t(495)](),this[t(292)]=null,this[t(465)][t(555)](),this[t(424)][t(491)][t(540)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(424)][i(491)][i(336)][i(501)]())e[i(541)](t)}))}[Qt(272)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(424)][e(491)][e(336)][e(501)]()){const n=this[e(424)][e(274)][e(476)][e(321)](t);if(!n)continue;const r=n[e(524)]()[e(543)](0);r&&(i[e(295)](t),s[e(427)](t,r))}return i[e(477)](((t,i)=>{const n=e,r=s[n(558)](t),o=s[n(558)](i);return r.y-o.y||r.x-o.x})),(t=t[e(288)]((t=>i[e(447)](t[e(302)]))))[e(477)](((t,s)=>i[e(515)](t[e(302)])-i[e(515)](s[e(302)]))),t}[Qt(585)](t){const e=Qt,i=Array[e(278)](t[e(359)])[e(288)]((([t,i])=>t[e(483)](e(275))&&!i[e(369)])),s=Array[e(278)](this[e(424)][e(491)][e(468)](t)[e(546)]({singleCharacters:!0}));if(0!=i[e(415)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(512)](":");if(n[e(377)][e(533)](t[e(526)])&&i[e(565)](),(t[e(309)][e(533)](n[e(430)])||t[e(309)][e(283)](n[e(430)]))&&(e(416)==r?t[e(366)]={userId:o}:e(293)==r&&(t[e(410)]={userId:o})),0==i[e(415)])break}return s}[Qt(401)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(415)];s++)e(509)===t[s][e(411)]?(t[s][e(543)][e(592)]=s,t[s][e(543)][e(568)]=s):(e(378)===t[s][e(411)]?t[s][e(543)][e(592)]=s:e(583)===t[s][e(411)]&&(t[s][e(543)][e(568)]=s),i[e(427)](t[s].id,s));for(const s of i[e(564)]())e(378)===t[s][e(411)]?t[s][e(543)][e(568)]=i[e(558)](t[s][e(389)]):e(583)===t[s][e(411)]&&(t[s][e(543)][e(592)]=i[e(558)](t[s][e(389)]))}[Qt(341)](t){const e=Qt;for(let i=0;i<t[e(415)];i++){if(e(378)===t[i][e(411)])t[i][e(543)][e(592)]=i;else if(e(583)===t[i][e(411)]){t[i][e(543)][e(568)]=i;const s=t[i][e(543)][e(592)];t[s][e(389)]=t[i].id,t[i][e(389)]=t[s].id}else t[i][e(543)][e(592)]=i,t[i][e(543)][e(568)]=i,t[i][e(389)]=null;t[i][e(350)]||(t[i][e(350)]=[],t[i][e(451)]=[])}}[Qt(493)](t,e){const i=Qt,s=t[i(288)]((t=>!t[i(366)]));for(let t=0;t<e[i(415)];t++)e[t][i(366)]&&(s[t][i(366)]=e[t][i(366)])}[Qt(511)](t,e=null){const i=Qt,s=this[i(486)][i(335)](t),n=e?this[i(486)][i(335)](e):null,r=this[i(393)](s,n),o=r[r[i(415)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(415)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(342)](e[i(307)]))if(e[i(307)][t][i(580)]){const s=e[i(307)][t][i(580)];s[i(553)]?(u[i(434)](t),l[i(352)](t)&&l[i(558)](t)[i(431)]==s[i(431)]?l[i(517)](t):l[i(427)](t,s)):l[i(352)](t)?(u[i(517)](t),l[i(517)](t)):(u[i(434)](t),l[i(427)](t,s))}else u[i(434)](t)}for(const t of u){const e=l[i(352)](t)&&!l[i(558)](t)[i(553)];let s=e?r[i(415)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(307)][t]){const s=e?o[i(307)][t][i(365)]:o[i(307)][t][i(525)];c[i(433)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(491)]={};for(const e of t[i(314)])a[i(427)](e.id,e);for(const e of u){const s=t[i(307)][e]?t[i(307)][e][i(346)]:"[]",n=t[i(307)][e]?t[i(307)][e][i(325)]:"[]";t[i(491)][e]={insertions:this[i(528)][i(355)](s),deletions:this[i(528)][i(355)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(278)](s[i(491)][t][i(346)][i(359)])[i(288)]((([t])=>!t[i(483)](i(275)))));let h=0;for(const o of r){const r=this[i(585)](o[i(491)][t][i(346)]);o==s?(e=r,n=e[i(415)],e[i(347)]((t=>{t.id=h++})),this[i(341)](e)):this[i(493)](e,r);const a=e[i(288)]((t=>!t[i(366)]))[i(448)]((t=>t.id));let c=0;const l=this[i(585)](o[i(491)][t][i(325)]);l[i(347)]((t=>{t[i(410)]?t.id=n++:t.id=a[c++]})),this[i(341)](l),this[i(548)](e,i(366)),this[i(548)](l,i(410)),o==s&&this[i(471)](e,u),e=this[i(332)](e,l),this[i(401)](e),this[i(548)](e,i(410))}e=e[i(288)]((t=>!(t[i(366)]&&t[i(410)])));const d=new Map(o[i(491)][t][i(325)][i(359)]),f=new Set(u[i(342)]());for(const t of d[i(342)]())f[i(517)](t);this[i(440)](e,f),this[i(593)](e),e=this[i(556)](e),e=this[i(374)](e),e=this[i(577)](e);const{root:m,changes:p}=this[i(353)](e,a,t);c[i(491)][t]=m;const v=l[i(558)](t);if(v){const e=a[i(558)](v[i(431)]),s=new Bt({author:e,type:v[i(553)]?i(434):i(403),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(320)](s),c[i(433)][t][i(581)]=s.id}c[i(445)]=c[i(445)][i(499)](p)}return c}[Qt(471)](t,e){const i=Qt;for(let s=0;s<t[i(415)];s++)for(const[n,r]of e)!r[i(369)]&&r[i(430)][i(533)](t[s][i(309)])&&t[s][i(350)][i(295)](n),r[i(377)][i(533)](t[s][i(526)])&&t[s][i(451)][i(295)](n)}[Qt(332)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(415)]||r<e[i(415)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(295)](o);else if(a[i(410)]&&o[i(366)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(594)](t,n,e,r);s=s[i(499)](o),n=a,r=c}else a[i(410)]?(r++,s[i(295)](a)):(n++,s[i(295)](o))}return s}[Qt(440)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(415)];o++){for(let r=0;r<t[o][i(350)][i(415)];r++){const a=t[o][i(350)][r];if(!e[i(352)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(429)!=c||i(416)!=u&&i(293)!=u||(s[i(320)]({type:u,name:a,userId:l}),t[o][i(350)][i(380)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(451)][i(415)];r++){const a=t[o][i(451)][r];if(!e[i(352)](a))continue;const{group:c,type:u}=n(a);if(i(429)!=c||i(416)!=u&&i(293)!=u)continue;t[o][i(451)][i(380)](r,1),r--;const l=s[i(333)]((t=>t[i(344)]==a));l>-1&&s[i(380)](l,1)}}function n(t){const e=i,s=t[e(512)](":");return{group:s[0],type:s[1],subType:s[e(415)]>=5?s[2]:null,id:s[e(415)]<5?s[2]:s[3],authorId:s[e(415)]<5?s[3]:s[4],markerCount:6==s[e(415)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(415)];i++){if(t[e(366)]&&e(416)==s[i][e(411)])return t[e(464)]=s[i],void delete t[e(366)];if(!t[e(366)]&&!t[e(410)]&&e(293)==s[i][e(411)])return void(t[e(388)]=s[i])}}}[Qt(548)](t,e){const i=Qt;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(427)](o.id,s);for(let s=0;s<t[i(415)];s++){if(i(410)==e&&t[s][i(366)]||i(366)==e&&t[s][i(410)])continue;if(i(509)==t[s][i(411)]){t[s][i(426)]=0;continue}const n=r[i(558)](t[s][i(389)]),o=r[i(558)](t[s].id);t[s][i(426)]=n-o}}[Qt(393)](t,e,i=!1){const s=Qt,n=[];let r=this[s(486)][s(422)](t),o=this[s(486)][s(422)](e);for(-1==o&&(o=this[s(486)][s(514)][s(415)],i=!1);r<o;)n[s(295)](this[s(486)][s(335)](r)),r++;return i&&n[s(295)](this[s(486)][s(335)](r)),n}[Qt(594)](t,e,i,s){const n=Qt,r=this[n(424)][n(491)][n(536)];let o=e;for(;t[o]&&t[o][n(366)];)o++;let a=s;for(;i[a]&&i[a][n(410)];)a++;u(t,e,o),u(i,s,a);const c=i[n(318)](s,a)[n(499)](t[n(318)](e,o));return c[n(477)](((t,e)=>t[n(461)]!=e[n(461)]?t[n(461)]-e[n(461)]:t[n(513)]!=e[n(513)]?t[n(513)]-e[n(513)]:t[n(426)]!=e[n(426)]?e[n(426)]-t[n(426)]:!!t[n(366)]!=!!e[n(366)]?-1==t[n(461)]||0==t[n(461)]?t[n(366)]?-1:1:t[n(366)]?1:-1:t[n(473)]-e[n(473)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(453)],c=!0;for(let n=e;n<i;n++)if(r[s(406)](t[n][s(543)])||(c=!1),t[n][s(543)][s(592)]<e&&(o=n),t[n][s(543)][s(568)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(461)]=n<=o?-1:n<a?0:1,t[n][s(473)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(426)]?t[i][s(513)]=u:(u++,t[i][s(513)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(461)]&&(t[n][s(513)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(426)]?t[e][s(513)]=u:(u--,t[e][s(513)]=u,u--)}}[Qt(593)](t){const e=Qt,i=new Map,s=this[e(424)][e(491)][e(536)];for(let n=1;n<t[e(415)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(509)==c[e(411)])continue;if(c[e(411)]!=u[e(411)])continue;if(!s[e(357)](u[e(543)])||s[e(596)](u[e(543)]))continue;if(!s[e(357)](c[e(543)])||s[e(596)](c[e(543)]))continue;if((t[n][e(366)]||t[n][e(464)])&&t[n-1][e(410)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(410)]||!t[n-1][e(366)]&&!t[n-1][e(464)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(513)]==o[e(513)],h=Math[e(454)](r[e(513)])<Math[e(454)](o[e(513)])&&0==o[e(426)];(l||h)&&(i[e(427)](o.id,r.id),t[e(380)](a,1),n--,r[e(366)]=!1)}for(let s=0;s<t[e(415)];s++)i[e(352)](t[s][e(389)])&&(t[s][e(389)]=i[e(558)](t[s][e(389)]))}[Qt(556)](t){const e=Qt,i=new Set(t[e(448)]((t=>t.id)));for(let s=0;s<t[e(415)];s++)i[e(352)](t[s][e(389)])||0==t[s][e(426)]||(t[s][e(282)]=!0);return t[e(288)]((t=>!t[e(282)]))}[Qt(374)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(415)];s++){if(i[e(352)](t[s].id)&&t[s][e(410)]&&(t[s][e(282)]=!0),t[s][e(282)])continue;if(0==t[s][e(426)])continue;if(e(378)!=t[s][e(411)])continue;if(null==t[s][e(389)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(389)];)e(378)==t[n][e(411)]?r++:e(583)==t[n][e(411)]&&r--,n++;if(0!=r)if(t[s][e(410)])t[s][e(282)]=!0;else for(;n!=s;)t[n][e(410)]&&0!=t[n][e(426)]&&(t[n][e(282)]=!0,i[e(434)](t[n][e(389)])),n--}return t[e(288)]((t=>!t[e(282)]))}[Qt(577)](t){const e=Qt,i=this[e(424)][e(491)][e(536)];for(let s=0;s<t[e(415)];s++){if(!(t[s][e(366)]||t[s][e(464)]||t[s][e(410)]||t[s][e(388)]))continue;if(0==t[s][e(426)])continue;const n=t[s][e(543)];i[e(357)](n)||i[e(596)](n)||(t[s][e(366)]&&delete t[s][e(366)],t[s][e(464)]&&delete t[s][e(464)],t[s][e(388)]&&delete t[s][e(388)],t[s][e(410)]&&(t[s][e(282)]=!0))}return t[e(288)]((t=>!t[e(282)]))}[Qt(353)](t,e,i){const s=Qt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(424)][s(491)],c=a[s(536)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(415)];e++)if(s(378)===t[e][s(411)]){t[e][s(309)]=a[s(343)](n,f);const i=new Z.Element(t[e][s(543)][s(344)],t[e][s(543)][s(591)]());u[0][s(409)](i),f[s(295)](0),u[s(320)](i),t[e][s(526)]=a[s(343)](n,f)}else s(583)===t[e][s(411)]?(u[s(565)](),t[e][s(309)]=a[s(343)](n,f),f[s(534)](),f[f[s(415)]-1]++,t[e][s(526)]=a[s(343)](n,f)):(t[e][s(309)]=a[s(343)](n,f),d?d[s(356)]+=t[e][s(543)][s(482)]:d=new Z.Text(t[e][s(543)][s(482)],t[e][s(543)][s(591)]()),t[e+1]&&s(509)===t[e+1][s(411)]&&v(d,t[e+1][s(543)])||(u[0][s(409)](d),d=null),f[f[s(415)]-1]+=t[e][s(543)][s(326)],t[e][s(526)]=a[s(343)](n,f));for(let e=0;e<t[s(415)];e++){const i=t[e][s(309)],n=t[e][s(526)];for(const n of t[e][s(350)])o[s(427)](n,{start:i,end:null});m(s(388),e,i,n),m(s(464),e,i,n),m(s(410),e,i,n),m(s(366),e,i,n);for(const i of t[e][s(451)]){const t=o[s(558)](i);t?t[s(377)]=n:o[s(427)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(424)][s(491)][s(532)](e[s(430)],e[s(377)]);n[s(359)][s(427)](t,i)}return r[s(477)](((t,e)=>{const i=s,r=n[i(359)][i(558)](i(275)+t.id),o=n[i(359)][i(558)](i(275)+e.id);return r[i(430)][i(392)](o[i(430)])?-1:r[i(430)][i(283)](o[i(430)])?1:r[i(377)][i(392)](o[i(377)])?-1:r[i(377)][i(283)](o[i(377)])?1:i(434)===t[i(411)]?-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(431)]:null,d=i===t[o(415)]-1,f=h[e][0],m=c[o(354)](t[i][o(543)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(377)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(431)]!==u&&(l[e][o(377)]=n,f&&f[o(431)]===l[e][o(431)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(378)!==t[i][o(411)]||f&&f[o(431)]===u||h[e][o(320)]({userId:u,object:t[i][o(543)],change:l[e]}),o(583)===t[i][o(411)]&&f&&f[o(372)]===t[i][o(543)]&&(h[e][o(565)](),l[e]=f[o(330)])),l[e]&&d&&(l[e][o(377)]=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(543)],f=a[h(536)][h(357)](d)&&!a[h(536)][h(596)](d),m=t[h(494)]==o[h(298)]&&o[h(588)];if(f&&m)return;const p=a[h(532)](t,o),v=e[h(558)](u),g=new Bt({author:v,type:h(366)==l||h(464)==l?h(434):h(403),data:{isSuggestion:h(464)==l||h(388)==l},createdAt:new Date,rootName:i});r[h(295)](g),n[h(359)][h(427)](h(275)+g.id,p)}function v(t,e){const i=s,n=t[i(591)](),r=e[i(591)]();for(const t of n){if(t[1]!==e[i(438)](t[0]))return!1;r[i(404)]()}return r[i(404)]()[i(317)]}}[Qt(531)](){const t=Qt;this[t(424)][t(371)][t(408)](t(291))[t(488)]({view:t(563)}),this[t(424)][t(371)][t(408)](t(367))[t(308)]({model:t(563),view:e=>{const i=t,s=e[i(502)][i(512)](":")[1],n=this[i(385)](s);if(!n)return null;const r=i(434)==n[i(411)]?i(416):i(293),o=[i(467),i(400)+r];return n[i(482)][i(561)]&&o[i(295)](i(400)+r+i(391)),this[i(297)]==n&&o[i(295)](i(570)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(424)][t(371)][t(408)](t(291))[t(434)]((e=>{const i=t;e.on(i(506),((t,e,s)=>{const n=i,r=e[n(386)][n(413)](0);if(!r||!r.is(n(519),n(363)))return;if(!s[n(485)][n(287)](r,{attributes:[n(345),n(306)]}))return;const o=e[n(551)][n(430)][n(494)];s[n(284)][n(547)](n(345),r[n(438)](n(345)),o),s[n(284)][n(547)](n(306),r[n(438)](n(306)),o)}),{priority:i(289)})})),this[t(424)][t(371)][t(408)](t(291))[t(434)]((e=>{const i=t;e.on(i(519),((t,e,s)=>{const n=i;if(!s[n(485)][n(287)](e[n(386)],{attributes:[n(345),n(306)]}))return;if(e[n(551)][n(369)])return;const r=e[n(551)][n(430)][n(494)];r[n(381)](n(345))||r[n(381)](n(590))||(s[n(284)][n(547)](n(345),e[n(386)][n(438)](n(345)),r),s[n(284)][n(547)](n(306),e[n(386)][n(438)](n(306)),r))}),{priority:i(289)})})),this[t(424)][t(371)][t(408)](t(291))[t(271)]({view:{name:t(446),attributes:{vid:!0}},model:{key:t(590),value:e=>e[t(438)](t(590))}}),this[t(424)][t(491)][t(536)].on(t(462),((e,[,i])=>{const s=t;[s(345),s(306),s(590)][s(447)](i)&&(e[s(457)]=!0,e[s(348)]())}),{priority:t(510)}),this[t(424)][t(371)][t(408)](t(530))[t(434)]((e=>{const i=t;e.on(i(305),((t,e,s)=>{const n=i;if(" "!=e[n(543)][n(482)]||e[n(543)][n(298)][n(479)]>1)return;if(!s[n(485)][n(287)](e[n(543)],t[n(344)]))return;const r=s[n(284)],o=s[n(569)][n(516)](e[n(398)]);r[n(444)](o,r[n(396)](n(446)))}))})),this[t(424)][t(371)][t(408)](t(530))[t(394)]({model:t(563)}),this[t(424)][t(274)][t(458)].on(t(399),function(e){const i=t,s=e[i(349)][i(558)](i(492));return(t,n,r)=>{const o=i,a=n[o(502)][o(512)](":")[1],c=s[o(385)](a);if(!c)return null;const u=o(434)==c[o(411)]?o(512):o(327);if(!r[o(485)][o(538)](n[o(544)],t[o(344)]))return;const l=n[o(544)][o(546)](),h=n[o(544)][o(430)],d=e[o(491)][o(536)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(543)];p=p||d[o(296)](e);const i=r[o(569)][o(450)](e);if(i&&i[o(573)](o(407)))return;o(583)==t[o(411)]&&d[o(357)](e)&&!d[o(596)](e)&&(e[o(421)]||h[o(304)]?f&&f[o(298)]==e||(f=e,g(t[o(309)]),v=!0):m=m||t[o(309)])}function g(t){const e=o,i=r[e(284)][e(496)](e(446),{class:e(400)+u}),a=r[e(569)][e(432)](t);c[e(482)][e(561)]&&r[e(284)][e(586)](e(400)+u+e(391),i),s[e(297)]==c&&r[e(284)][e(586)](e(570),i),r[e(284)][e(301)](a,i),r[e(569)][e(313)](i,n[e(502)])}p||v||!m||g(m)}}(this[t(424)]),{priority:t(576)}),this[t(424)][t(274)][t(458)].on(t(500),((e,i,s)=>{const n=t,r=s[n(569)][n(480)](i[n(502)]);if(r)for(const t of r)(t[n(463)](n(489))||t[n(463)](n(397)))&&(s[n(569)][n(436)](t,i[n(502)]),s[n(284)][n(403)](t))}),{priority:t(576)}),this[t(424)][t(274)][t(458)].on(t(399),((e,i,s)=>{const n=t,r=i[n(502)][n(512)](":")[1],o=this[n(385)](r);if(!o)return null;const a=n(434)==o[n(411)]?n(512):n(327);if(s[n(485)][n(538)](i[n(544)],e[n(344)]))for(const t of i[n(544)][n(587)]()){if(!t.is(n(519),n(395)))continue;const e=s[n(284)][n(496)](n(446),{class:n(400)+a}),r=s[n(569)][n(432)](this[n(424)][n(491)][n(443)](t));o[n(482)][n(561)]&&s[n(284)][n(586)](n(400)+a+n(391),e),this[n(297)]==o&&s[n(284)][n(586)](n(570),e),s[n(284)][n(301)](r,e),s[n(569)][n(313)](e,i[n(502)])}}),{priority:t(576)}),this[t(424)][t(491)][t(336)].on(t(330),(()=>{const e=t;this[e(424)][e(274)][e(476)][e(330)]((t=>{const i=e;for(const e of this[i(424)][i(491)][i(336)][i(501)]()){const s=this[i(424)][i(491)][i(336)][i(441)](e),n=this[i(424)][i(274)][i(476)][i(336)][i(441)](e);if(n){const e=s[i(438)](i(581));if(t[i(497)](i(535),n),t[i(572)](i(368),n),t[i(572)](i(566),n),t[i(572)](i(373),n),e){const s=this[i(385)](e);if(!s)return null;t[i(547)](i(535),e,n),t[i(586)](i(484)+s[i(411)],n),this[i(297)]==s&&t[i(586)](i(373),n)}}}}))})),this[t(424)][t(371)][t(408)](t(291))[t(488)]({view:t(554),model:e=>t(362)+e,converterPriority:t(510)}),this[t(424)][t(371)][t(408)](t(291))[t(488)]({view:t(419),model:e=>t(290)+e,converterPriority:t(510)}),this[t(424)][t(371)][t(408)](t(530))[t(394)]({model:t(429),view:e=>({name:t(383)+e,group:t(429)}),converterPriority:t(510)}),this[t(424)][t(371)][t(408)](t(367))[t(308)]({model:t(429),view:e=>{const i=t,s=e[i(502)][i(512)](":")[1];return i(416)!=s&&i(293)!=s?null:{classes:[i(412),i(508)+s]}}}),this[t(424)][t(274)][t(458)].on(t(281),ee(this[t(424)],t(327)),{priority:t(576)}),this[t(424)][t(274)][t(458)].on(t(523),ee(this[t(424)],t(512)),{priority:t(576)}),this[t(424)][t(274)][t(458)].on(t(310),((e,i,s)=>{const n=t,r=s[n(569)][n(480)](i[n(502)]);if(r)for(const t of r)t.is(n(571))&&(s[n(569)][n(436)](t,i[n(502)]),s[n(284)][n(403)](t))}),{priority:t(576)})}[Qt(385)](t){const e=Qt;return this[e(465)][e(558)](t)}[Qt(574)](t){const e=Qt;return this[e(292)]&&this[e(292)][e(495)](),this[e(292)]=new Pt(this[e(424)][e(339)],t),this[e(292)]}[Qt(527)](){const t=Qt;this[t(424)][t(491)][t(336)][t(460)][t(478)](t(563)),this.on(t(294),((e,i,s,n)=>{const r=t;n&&this[r(452)][r(403)](n),s&&(this[r(452)][r(434)]({view:s,stackId:r(481),position:{target:()=>{const t=r,e=this[t(424)][t(274)],i=this[t(385)](s[t(507)]);let n;if(i[t(482)][t(337)]){const s=e[t(476)][t(321)](i[t(302)]);n=Array[t(278)](s[t(524)]())}else{const i=this[t(424)][t(491)][t(359)][t(558)](t(275)+s[t(507)]);n=Array[t(278)](e[t(569)][t(480)](i[t(344)]))[t(448)]((i=>e[t(476)][t(322)][t(474)](i)))[t(448)]((e=>Array[t(278)](e[t(524)]())))[t(518)]()}return this[t(578)]&&n[t(552)]((e=>e[t(384)]-3<=this[t(578)].y&&e[t(316)]+3>=this[t(578)].y&&e[t(589)]-3<=this[t(578)].x&&e[t(328)]+3>=this[t(578)].x))||n[0]}}}),this[r(452)][r(360)](r(481)))})),this.on(t(379),((e,i,s,n)=>{const r=t;this[r(598)]=s?this[r(574)](s):null,this[r(424)][r(491)][r(330)]((()=>{const t=r,e=this[t(424)][t(274)];n&&(n[t(482)][t(337)]?e[t(476)][t(330)]((i=>{const s=t;i[s(572)](s(373),e[s(476)][s(336)][s(441)](n[s(302)]))})):e[t(285)](t(275)+n.id)),s&&(s[t(482)][t(337)]?e[t(476)][t(330)]((i=>{const n=t;i[n(586)](n(373),e[n(476)][n(336)][n(441)](s[n(302)]))})):e[t(285)](t(275)+s.id))}))})),this[t(503)](this[t(424)][t(274)][t(476)][t(336)],t(425),((e,i)=>{const s=t;if(this[s(297)])return;const n=this[s(470)](i[s(286)]),r=this[s(465)][s(558)](n);r?(this[s(578)]={x:i[s(418)].x,y:i[s(418)].y},this[s(598)]=this[s(574)](r)):(this[s(578)]=null,this[s(598)]=null)})),this[t(503)](this[t(424)][t(274)][t(476)][t(336)],t(579),((e,i)=>{const s=t,n=this[s(470)](i[s(286)]),r=this[s(465)][s(558)](n);r?(this[s(578)]={x:i[s(418)].x,y:i[s(418)].y},r===this[s(297)]?this[s(452)][s(545)]():this[s(297)]=r):(this[s(578)]=null,this[s(297)]=null)}))}[Qt(470)](t){const e=Qt;do{const i=t[e(438)](e(535));if(i)return i;t=t[e(298)]}while(t);return null}[Qt(370)](){const t=Qt;this[t(424)][t(491)][t(330)]((e=>{const i=t;for(const t of this[i(424)][i(491)][i(359)])e[i(303)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(485)][r(538)](s[r(544)],i[r(344)]))return;const o=s[r(544)][r(546)](),a=s[r(544)][r(430)],c=t[r(491)][r(536)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(543)];h=h||c[r(296)](e);const i=n[r(569)][r(450)](e);if(i&&i[r(573)](r(407)))return;r(583)==t[r(411)]&&c[r(357)](e)&&!c[r(596)](e)&&(e[r(421)]||a[r(304)]?u&&u[r(298)]==e||(u=e,f(t[r(309)]),d=!0):l=l||t[r(309)])}function f(t){const i=r,o=n[i(569)][i(432)](t),a=n[i(284)][i(496)](i(446),{class:i(508)+e});n[i(284)][i(301)](o,a),n[i(569)][i(313)](a,s[i(502)])}h||d||!l||f(l)}}class ie extends W.Command{constructor(t){const e=Qt;super(t);const i=t[e(349)][e(558)](te);this[e(498)]=!1,this[e(503)](i,e(315),(()=>this[e(276)]())),this[e(503)](i,e(529),(()=>this[e(276)]()))}[Qt(390)](){const t=Qt,e=this[t(424)],i=e[t(349)][t(558)](te),s=i[t(312)]?i[t(542)][t(329)]:null;e[t(595)][t(558)](t(490))[t(273)](s)}[Qt(276)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(424)][t(349)][t(558)](te),r=n&&s[t(549)](n[t(329)]);this[t(459)]=e&&i&&Boolean(r)}}function se(){const t=["_update","elementEnd","backward","_makeTape","addClass","getItems","isAtStart","left","vid","getAttributes","startIndex","_fixObsoleteTags","_threeWayMerge","config","isLimit","isPremiumPlugin","activeView","elementToAttribute","_sortAndFilterDiffChanges","restoreRevisionCallback","editing","revision:","refresh","revision-viewer","from","createRevision","6369aWbrje","addMarker:revision-suggestion:deletion","isIncorrect","isAfter","writer","reconvertMarker","target","consume","filter","low","revision-suggestion:","upcast","_changeView","deletion","change:activeView","push","isContent","activeChange","parent","all","1297919ToEivv","insert","rootName","removeMarker","isAtEnd","attribute:vid","vid_end","diffData","markerToHighlight","previousPosition","removeMarker:revision-suggestion","50fMihAj","isReady","bindElementToMarker","authors","change:isReady","bottom","done","slice","2253924vlSEJw","unshift","getDomRoot","domConverter","addRoot","getRevisionDocumentData","deletions","offsetSize","merge","right","newRevisionId","change","adapter","_joinTapes","findIndex","86nVwKmx","getRevision","document","isOnRoot","commands","locale","getRevisionRootsAttributes","_processTape","keys","createPositionFromPath","name","vid_start","insertions","forEach","stop","plugins","markersStart","change:numberOfChanges","has","_makeModelFromTape","isObject","_makeModelFromViewString","_data","isBlock","oldRevisionId","markers","showStack","loadRevisionData","revision-comment:","code","numberOfChanges","attributesBefore","isAdded","editingDowncast","ck-revision-history-root-add","isCollapsed","_cleanMarkers","conversion","object","ck-revision-history-root--active","_markMismatchedRemovedTags","WidgetToolbarRepository","bind","end","elementStart","change:activeChange","splice","hasAttribute","first","suggestion:","top","_getChangeFromId","viewItem","restoreRevision","isRemoveSuggestion","pairId","execute","-new","isBefore","_getRevisionsRange","markerToData","softBreak","createAttributeElement","ck-suggestion-marker-merge","range","addMarker:revision","ck-suggestion-marker-","_refreshStartEndIndex","isOfficialPlugin","remove","next","965760ZrIVZY","isInline","addHighlight","for","_appendChild","isRemoved","type","ck-suggestion-preview-marker","getChild","29948BJBexH","length","insertion","_cleanUp","domEvent","suggestion","isNavigationMode","nextSibling","getIndex","48XMAQhg","editor","mouseover","distance","set","RevisionHistoryUtils","revision-suggestion","start","userId","toViewPosition","attributes","add","error","unbindElementFromMarkerName","roots","getAttribute","_setChanges","_markSuggestions","getRoot","enableReadOnlyMode","createPositionBefore","wrap","changes","span","includes","map","init","toViewElement","markersEnd","_balloon","POSITIVE_INFINITY","abs","_step","resolve","return","downcastDispatcher","isEnabled","selection","side","checkAttribute","hasClass","isAddSuggestion","_changeIdToChange","ck-editor__editable__overlay","ck-suggestion-marker","createRangeIn","815ekODoK","_findChangeIdFromDomTarget","_markMarkers","forceDisabled","index","mapViewToDom","592867kdHDPG","view","sort","observeMarkers","maxOffset","markerNameToElements","revisionHistoryLabel","data","startsWith","ck-revision-history-root-","consumable","repository","string","dataToMarker","ck-suggestion-marker-split","revisionHistory","model","RevisionViewer","_markInsertions","nodeAfter","destroy","createUIElement","removeAttribute","affectsData","concat","removeMarker:revision","getRootNames","markerName","listenTo","then","catch","element:pre","changeId","ck-suggestion-preview-marker-","text","highest","_getDiff","split","level","_revisions","indexOf","toViewRange","delete","flat","element","compare","showNextChange","currentChangeNumber","addMarker:revision-suggestion:insertion","getClientRects","attributesAfter","nextPosition","_initInteractions","_utils","change:isEnabled","dataDowncast","_setConversion","createRange","isEqual","pop","data-change-id","schema","addRevisionData","test","forward","enqueueChange","detachRoot","diff","item","markerRange","updatePosition","getWalker","setAttribute","_setDistance","getLaterVisibleRevision","requires","modelRange","find","isAttached","comment","clear","_removeMissingPairs","276RLbbgJ","get","addRevision","841635Uzakvr","isSuggestion","RevisionsRepository","revision","values","shift","ck-revision-history-root-remove","showPreviousChange","endIndex","mapper","ck-suggestion-marker--active","uiElement","removeClass","getCustomProperty","_getViewForChange","pluginName","high","_removeUnsupportedChanges","_activeViewTarget","mousedown","attachChange","revisionHistoryAttachChange"];return(se=function(){return t})()}class ne extends W.Command{[Qt(455)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(349)][i(558)](te);this[i(498)]=!1,this[i(455)]=i(539)===e?1:-1,this[i(503)](s,i(315),(()=>this[i(276)]())),this[i(503)](s,i(529),(()=>this[i(276)]())),this[i(503)](s,i(379),(()=>this[i(276)]()))}[Qt(390)](){const e=Qt,i=this[e(424)],s=i[e(349)][e(558)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(297)]=n?s[e(542)][e(445)][e(558)](r+this[e(455)]):s[e(542)][e(445)][e(382)],s[e(297)][e(482)][e(337)])o=i[e(274)][e(476)][e(321)](s[e(297)][e(302)]);else{const t=i[e(491)][e(359)][e(558)](e(275)+s[e(297)].id);o=(0,H.getMarkerDomElement)(i[e(274)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(276)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(424)][t(349)][t(558)](te);this[t(459)]=!!(r&&n&&s)&&(!e||(1===this[t(455)]?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=ue();return(ae=function(t,e){return i[t-=185]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(652100===-parseInt(e(198))/1+parseInt(e(208))/2*(-parseInt(e(188))/3)+-parseInt(e(185))/4*(parseInt(e(191))/5)+parseInt(e(227))/6*(parseInt(e(203))/7)+parseInt(e(200))/8*(parseInt(e(217))/9)+parseInt(e(214))/10+-parseInt(e(216))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ce extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(202)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(199)](e(225),!1),this[e(199)](e(210),!1),this[e(199)](e(204),0),this[e(199)](e(209),0),this[e(199)](e(192),!1),this[e(199)](e(186),!1),this[e(197)](e(215)).to(this,e(210),this,e(209),((t,e)=>t&&e>0)),this[e(197)](e(223)).to(this,e(210),this,e(204),this,e(209),this,e(225),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(211));if(!n)return X(t,o(190));const a=X(t,o(193),n);return r?X(t,o(226),[s+1,n]):a})),s[e(199)]({label:X(t,e(220)),tooltip:!0,icon:mt.IconChevronUp}),n[e(199)]({label:X(t,e(224)),tooltip:!0,icon:mt.IconChevronDown}),s[e(197)](e(206)).to(this,e(186)),n[e(197)](e(206)).to(this,e(192)),s.on(e(187),(()=>this[e(207)](e(187),e(228)))),n.on(e(187),(()=>this[e(207)](e(187),e(201)))),this[e(213)]({tag:e(221),attributes:{class:["ck",e(195),e(189)]},children:[{tag:e(219),attributes:{class:[e(196)]},children:[{tag:e(219),attributes:{class:[e(194),i.if(e(215),e(218),(t=>!t))]},children:[{text:i.to(e(225),(i=>i?X(t,e(222))+": ":X(t,e(205))+": "))}]},{text:i.to(e(223))}]},new pt.ToolbarSeparatorView,{tag:e(221),attributes:{class:[e(212)]},children:[s,n]}]})}}function ue(){const t=["_isStatusLabelVisible","1091915pmvJah","10951092GsmgAl","ck-hidden","span","Show previous change","div","EDIT_X_OF_Y_REVISIONS","_statusText","Show next change","isNavigationMode","X_OF_Y_CHANGES","5180430byFEjq","backward","1293316SHrkvw","isBackwardNavigationEnabled","execute","180333yaTute","ck-revision-history-ui__changes-navigation","No changes","10oeZfOZ","isForwardNavigationEnabled","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__wrapper","bind","797104xjEJnp","set","8bMoCQl","forward","bindTemplate","7uYYZGO","currentChangeNumber","Total","isEnabled","fire","26UmNbxb","numberOfChanges","isReady","Loading...","ck-revision-history-ui__changes-navigation__navigation","setTemplate","8963770soBXau"];return(ue=function(){return t})()}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=pe;function fe(){const t=["413484JmjyTc","show","1570wJuUiE","ck-editor__editable__loading-overlay","roots","RevisionViewerLoadingOverlay","246EKLwDT","40HXaPVO","editor","395896BIporx","8soePsm","document","removeClass","addClass","13030furcMs","20559165DXyePM","60057xjSwze","isPremiumPlugin","view","pluginName","editing","hide","isOfficialPlugin","1491826JOoWlj","change","2777452jORPWJ"];return(fe=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(527757===-parseInt(e(463))/1+-parseInt(e(468))/2*(parseInt(e(460))/3)+-parseInt(e(453))/4+-parseInt(e(461))/5*(parseInt(e(454))/6)+parseInt(e(451))/7*(-parseInt(e(464))/8)+parseInt(e(444))/9*(parseInt(e(456))/10)+parseInt(e(443))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=de(457);function pe(t,e){const i=fe();return(pe=function(t,e){return i[t-=443]})(t,e)}class ve extends W.Plugin{static get[de(447)](){return de(459)}static get[de(450)](){return!0}static get[de(445)](){return!0}[de(455)](){const t=de,e=this[t(462)][t(448)][t(446)];e[t(452)]((i=>{const s=t;for(const t of e[s(465)][s(458)])i[s(467)](me,t)}))}[de(449)](){const t=de,e=this[t(462)][t(448)][t(446)];e[t(452)]((i=>{const s=t;for(const t of e[s(465)][s(458)])i[s(466)](me,t)}))}}function ge(){const t=["pluginName","restoreRevision","isEnabled","numberOfChanges","isPremiumPlugin","editor","closeRevisionViewerCallback","get","set","18046OJgxSx","4RgOMhq","listenTo","revisionHistory","1566978ZeHRbM","Restore this revision","hide","280TGsAfo","add","bind","isNavigationMode","exitToEditing","commands","showPreviousChange","execute","requires","forward","63phGTcm","changesNavigation","plugins","currentChangeNumber","isBackwardNavigationEnabled","1656844ZmSlyb","451456KVMVQC","componentFactory","5676363IpBYMd","RevisionViewerUI","show","2855390njRVBO","25800VlYMSA","config","ck-revision-history-ui__back-to-editing","isOfficialPlugin","isForwardNavigationEnabled","Back to editing","isReady","change:isReady","showNextChange","init"];return(ge=function(){return t})()}const ye=ke;function ke(t,e){const i=ge();return(ke=function(t,e){return i[t-=155]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(359395===parseInt(e(184))/1*(-parseInt(e(167))/2)+parseInt(e(171))/3*(-parseInt(e(168))/4)+parseInt(e(174))/5*(parseInt(e(196))/6)+parseInt(e(189))/7+parseInt(e(190))/8+parseInt(e(192))/9+parseInt(e(195))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class be extends W.Plugin{static get[ye(158)](){return ye(193)}static get[ye(199)](){return!0}static get[ye(162)](){return!0}static get[ye(182)](){return[te,ve]}[ye(157)](){const t=ye,e=this[t(163)],i=e[t(186)][t(165)](te),s=e[t(186)][t(165)](ve);e.ui[t(191)][t(175)](t(178),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(166)]({label:X(i,s(201)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(198)}),this[s(169)](n,s(181),(()=>{const t=s;e[t(197)][t(165)](t(170))[t(164)]()})),n})),e.ui[t(191)][t(175)](t(159),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(166)]({label:X(i,s(172)),withText:!0,tooltip:!0}),n[s(176)](s(160)).to(e[s(179)][s(165)](s(159))),this[s(169)](n,s(181),(()=>e[s(181)](s(159)))),n})),e.ui[t(191)][t(175)](t(185),(s=>{const n=t,r=new ce(s),o=e[n(179)][n(165)](n(180)),a=e[n(179)][n(165)](n(156));return r[n(176)](n(188)).to(o,n(160)),r[n(176)](n(200)).to(a,n(160)),r[n(176)](n(202),n(187),n(161),n(177)).to(i),this[n(169)](r,n(181),((t,i)=>{const s=n;e[s(181)](s(183)===i?s(156):s(180))})),r})),s[t(194)](),i.on(t(155),((e,i,n)=>{const r=t;n?s[r(173)]():s[r(194)]()}))}}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=["placeholder","input","1811560UDRogS","element","_tooltipString","ck-tooltip_multi-line","_updateTooltipText","Enter the revision name","clientWidth","fieldView","205439QnSdcq","scrollWidth","440eiOJPY","listenTo","ck-revision-history-sidebar__revision-name","span","render","37590WZmOYB","destroy","2281020pvKZur","value","bindTemplate","Revision name","extendTemplate","3144415hGPTQz","set","1014686gDHUmj","_resizeObserver","1004658xqXscz"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=141]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(375977===-parseInt(e(159))/1+parseInt(e(146))/2+parseInt(e(148))/3+parseInt(e(151))/4+-parseInt(e(144))/5+-parseInt(e(168))/6+-parseInt(e(166))/7*(-parseInt(e(161))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(147)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(141)];this[i(145)]({label:X(t,i(142)),_tooltipString:""}),this[i(158)][i(149)]=X(t,i(156)),this[i(143)]({tag:i(164),attributes:{class:[i(163)],"data-cke-tooltip-text":s.to(i(153)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(154)}})}[Ie(165)](){const e=Ie;super[e(165)](),this[e(147)]=new t.ResizeObserver(this[e(158)][e(152)],(()=>this[e(155)]())),this[e(162)](this[e(158)],e(150),(()=>this[e(155)]()))}[Ie(167)](){const t=Ie;super[t(167)](),this[t(147)]&&this[t(147)][t(167)]()}[Ie(155)](){const t=Ie,e=this[t(158)][t(152)];this[t(153)]=e[t(160)]>e[t(157)]&&e[t(169)]||""}}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(t,e){const i=Re();return(Ae=function(t,e){return i[t-=108]})(t,e)}function Re(){const t=["141389vzUNGK","ck-revision-history-sidebar__revision-author__name","1761060ERLYRf","1777089USGLVz","set","Revision author","span","2256kjNfDR","ck-revision-history-sidebar__revision-author_creator","push","3300588gJFGJJ","ck-revision-history-sidebar__revision-author","971540QZhVlo","setTemplate","23072gAGRsJ","Revision creator","1876460onvkKu","name","0 0 11 10"];return(Re=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(453315===-parseInt(e(114))/1+-parseInt(e(126))/2+-parseInt(e(117))/3+parseInt(e(124))/4+-parseInt(e(111))/5+parseInt(e(116))/6+-parseInt(e(109))/7*(-parseInt(e(121))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ve extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(118)]({content:mt.IconUser,viewBox:s(113)});const r=["ck",s(125)];i&&r[s(123)](s(122));const o=[{tag:s(120),attributes:{class:["ck",s(115)],title:X(t,s(i?110:119))},children:[n,e[s(112)]]}];this[s(108)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=303]})(t,e)}function Ee(){var t=["1073048wmGiCy","numeric","680802bOcCPj","438055GEQMtq","toLocaleTimeString","long","toLocaleDateString","121095bmzEcO","2125265AspHLE","14hvXAPa","286426MHwtfa","450RNyMQP","108728WuDyJv"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(325808===parseInt(e(309))/1+parseInt(e(303))/2+parseInt(e(313))/3+-parseInt(e(306))/4+parseInt(e(314))/5+-parseInt(e(308))/6*(-parseInt(e(315))/7)+-parseInt(e(305))/8*(parseInt(e(304))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);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=Le();return(Fe=function(t,e){return i[t-=122]})(t,e)}function Le(){const t=["set","menuitem","22lAVLZe","add","extendTemplate","Restore this revision","isEnabled","42pkIulO","buttonView","10ZAxkhB","ck-on","map","listenTo","62598oYGjwF","15TpdQdR","1896432SpFQeg","116804NsbXvV","action","stopPropagation","isReady","menu","class","first","find","Show more items","13280QyPrrL","6buDWQF","1316097UqYNHm","isVisible","source","Compare against selected","change:isActionsDropdownOpen","2278080nNbfwS","items","execute","name","_action","button","225177MtLsvM","listView","bind","model","Name this revision","isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions","isOpen","bindTemplate","children","panelPosition","function","locale"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(294777===-parseInt(e(142))/1+-parseInt(e(155))/2*(-parseInt(e(167))/3)+-parseInt(e(145))/4*(parseInt(e(143))/5)+parseInt(e(161))/6+-parseInt(e(136))/7*(-parseInt(e(154))/8)+parseInt(e(156))/9*(parseInt(e(138))/10)+parseInt(e(131))/11*(-parseInt(e(144))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const ze=Ue;function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=167]})(t,e)}function We(){const t=["setTemplate","_requireRevisionName","srcElement","value","isActionsDropdownOpen","createdAt","ck-revision-history-sidebar__revision_highlighted","closest","621309YYZPJm","revisionActionsView","bindTemplate","52420QtrGFE","length","element","span","unhighlight","ck-revision-history-sidebar__revision-wrapper","isConfirm","ck-revision-history-sidebar__revision-authors","220","from","render","isReady","ck-disabled","426334oVxBZZ","ck-revision-history-sidebar__revision__controls-wrapper","unshift","333656NlCcBs","fieldView","isHighlighted",".ck-thread__remove-confirm","fire","ck-revision-history-sidebar__revision__date","29057LzUvxh","18LUfiah","name","3QyAOEh","bind","uiLanguage","_revision","ck-reset","listenTo","select","192830JrdlLA","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setName","deselect","authors","261BXGgLx","creator","revisionNameView","ck-revision-history-sidebar__revision_selected","filter","isSelected","ck-revision-history-sidebar__revision","map","680AzgfdY","div","extendTemplate","highlight","_createdAtFormatted","change","ck-revision-history-sidebar__actions_dropdown_open","isEnabled","set","4253315IqlOgp"];return(We=function(){return t})()}!function(t){const e=Ue,i=t();for(;;)try{if(412269===-parseInt(e(176))/1+-parseInt(e(192))/2+-parseInt(e(204))/3*(parseInt(e(195))/4)+-parseInt(e(179))/5*(-parseInt(e(202))/6)+parseInt(e(201))/7*(parseInt(e(224))/8)+-parseInt(e(216))/9*(-parseInt(e(211))/10)+parseInt(e(167))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(218)];[ze(177)];[ze(207)];[ze(169)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(178)],a=function(t,e){const i=r,s=Array[i(188)](e[i(215)])[i(220)]((t=>t!=e[i(217)]));return e[i(217)]&&s[i(194)](e[i(217)]),s[i(223)]((s=>new Ve(t,s,s==e[i(217)])))}(e,i);this.id=i.id,this[r(207)]=i,this[r(169)]=n,this[r(205)](r(203),r(173)).to(i),this[r(205)](r(228)).to(this,r(173),(t=>{return i=e[r(206)],(s=t)[(n=Me)(312)](i,{month:n(311),day:n(307)})+", "+s[n(310)](i,{hour:n(307),minute:n(307)});var i,s,n})),this[r(232)](r(221),!1),this[r(232)](r(197),!1),this[r(232)](r(172),!1),this[r(232)](r(190),!1),this[r(232)](r(231),!1),this[r(218)]=new Te(e,pt.createLabeledInputText),this[r(218)][r(196)][r(226)]({attributes:{maxlength:r(187)}}),this[r(218)][r(196)][r(205)](r(171)).to(this,r(203),(t=>t||this[r(228)])),this[r(218)][r(205)](r(231)).to(this,r(221),this,r(231),((t,e)=>t&&e)),this[r(177)]=s&&s[r(180)]?function(e,i){const s=Fe,n=e[s(124)],r=e[s(128)],o=(0,pt.createDropdown)(r);o[s(126)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(128)],n={"Compare against selected":X(s,i(159)),"Name this revision":X(s,i(171)),"Restore this revision":X(s,i(134))};return e[i(140)]((t=>{const e=i,s=n[t[e(164)]];return s&&s!==t[e(164)]&&(t[e(164)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(166),model:new pt.ViewModel({label:t[n(164)],class:t[n(150)],withText:!0,role:n(130),_action:t[n(146)]})};i[n(170)][n(169)](n(135)).to(e,n(172),(i=>n(127)!=typeof t[n(135)]||!i||t[n(135)](e))),o[n(132)](i)}return o}(e,i);return e[s(169)](s(172)).to(o,s(123)),o[s(137)][s(129)]({label:X(r,s(153)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(133)]({attributes:{class:[s(122),n.if(s(172),s(139))]},on:{click:n.to((t=>t[s(147)]()))}}),o.on(s(163),(t=>{const i=s;e[i(148)]&&i(127)==typeof t[i(158)][i(165)]&&t[i(158)][i(165)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(149)}),o[s(141)](e,s(160),((t,n,r)=>{const a=s;if(r)for(const t of o[a(168)][a(162)]){const s=t[a(125)][a(151)],n=i[a(152)]((t=>t[a(146)]===s[a(165)]))[a(157)];t[a(157)]=void 0===n||n(e)}})),o}(this,s):"",this[r(177)]&&this[r(177)][r(205)](r(231)).to(this),this[r(168)]({tag:r(225),attributes:{class:["ck",r(208),r(184),o.if(r(185),r(212))]},children:[{tag:r(225),attributes:{class:["ck",r(208),r(222),o.if(r(231),r(191),(t=>!t)),o.if(r(221),r(219)),o.if(r(197),r(174)),o.if(r(172),r(230))]},children:[this[r(218)],{tag:r(182),attributes:{class:["ck",r(200)]},children:[{text:o.to(r(228))}]},{tag:r(225),attributes:{class:["ck",r(193)]},children:[{tag:"ul",attributes:{class:["ck",r(186)]},children:a}]},this[r(177)]],on:{click:o.to((t=>{const e=r;t[e(170)][e(175)](e(198))||this[e(190)]&&this[e(231)]&&this[e(199)](e(210),{id:this.id})}))}}]})}[ze(189)](){const t=ze;super[t(189)]();const e=this[t(218)][t(196)][t(181)];this[t(209)](e,t(229),(()=>{const i=t;this[i(169)]&&!e[i(171)]||this[i(199)](i(213),{id:this.id,name:e[i(171)]}),e[i(171)]||(e[i(171)]=this[i(203)]?this[i(203)]:this[i(228)])}))}[ze(210)](){this[ze(221)]=!0}[ze(214)](){this[ze(221)]=!1}[ze(227)](){this[ze(197)]=!0}[ze(183)](){this[ze(197)]=!1}}class Ze extends Error{}class Be extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,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 Hs(t,e,i)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let 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 Hs(t,e,i,this.name)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,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 Mi(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 Ei={};let Di={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return 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=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class 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 Ui={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||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 Wi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,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 Li(this,t,Qs,(()=>{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 Li(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 Li(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 Li(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 ji(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):Ui}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 Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${qs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return qs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Bi 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?Zi.utcInstance:Zi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Bi(t)}const qi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},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=qi.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(`${qi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=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 Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Wi.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=Us(c,e,i)):u>Us(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=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(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=Rs(t.month,1,12),s=Rs(t.day,1,js(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 Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(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 Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?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 Us(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Ws(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Bs(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)]=Bs(n)}return i}function qs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${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 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 Qs(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 Xs=["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[...Xs];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 Qs(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]]=Ms(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:Ms(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=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.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(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Ms(e)):Ms(e),month:Gs.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1: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=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const 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$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const Un=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Wn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),Bn=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),qn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(Tn,xn,Nn);const Xn="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||Wi.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:Wi.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,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 qe(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):Xn}toHuman(t={}){if(!this.isValid)return Xn;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]=Bs(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||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative: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(qi.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])=>Zs(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,Ws);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 Zi(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 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 Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(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 Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return 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,js(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 Ur(t,e,i=!0){return t.isValid?hn.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=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 Hr(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 Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Br={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["year","month","day","hour","minute","second","millisecond"],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(Mr(i));const s=Wi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of qr)_s(t[e])&&(t[e]=Zr[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]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(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 Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let 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:Mr(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=Lr(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||Wi.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]=Xr(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]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.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:Wi.fromObject(e)}):io.invalid(Mr(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:Wi.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:Wi.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(Mr(i));const s=Wi.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=Lr(a,c);m?(p=Yr,v=Br,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=qr,v=Zr);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,Us(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,Ls(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]=jr(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,[Un,Bn],[Wn,$n],[Hn,qn],[Zn,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],[Ln,Pn],[jn,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=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?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,Bn],[Kn,Qn])}(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 Be(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Wi.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?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?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=Lr(a,r),l=Lr(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 js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Us(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Us(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(Zi.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]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Mr(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(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(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=Wr(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return Ur(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":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Ur(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ur(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Ur(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),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(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(Wi.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=Wi.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=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?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(){const t=["hasSame","monthLong","local","1989375nQgKvn","week","45vDIRdq","month","weekdayLong","startOf","7925706ZFSMcj","setLocale","5710250cJXHyj","day","419083cPoNSk","minus","toRelativeCalendar","fromJSDate","82959WkuzpD","year","toJSDate","2123512iFFTSC","544144bJgvzU","22Hcioba"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=403]})(t,e)}function oo(t,e){const i=ro,s=io[i(412)](t)[i(406)](e),n=io[i(421)](),r=n[i(410)]({days:1})[i(404)](i(408));let o,a;return s[i(419)](n,i(408))?(o=s[i(404)](i(408))[i(415)](),a=s[i(411)]()):s[i(419)](r,i(408))?(o=r[i(415)](),a=s[i(411)]()):s[i(419)](n,i(423))?(o=s[i(404)](i(423))[i(415)](),a=s[i(403)]||""):s[i(419)](n,i(414))?(o=s[i(404)](i(425))[i(415)](),a=s[i(420)]||""):(o=s[i(404)](i(414))[i(415)](),a=String(s[i(414)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(662567===parseInt(e(409))/1+-parseInt(e(418))/2*(parseInt(e(413))/3)+parseInt(e(417))/4+-parseInt(e(422))/5+parseInt(e(405))/6+parseInt(e(407))/7+-parseInt(e(416))/8*(parseInt(e(424))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);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(t){const e=ho,i=t();for(;;)try{if(512733===parseInt(e(293))/1*(parseInt(e(294))/2)+-parseInt(e(275))/3+-parseInt(e(291))/4+parseInt(e(263))/5+parseInt(e(285))/6*(parseInt(e(277))/7)+-parseInt(e(274))/8*(-parseInt(e(279))/9)+-parseInt(e(290))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class lo extends pt.View{[uo(287)];[uo(265)];[uo(283)];[uo(273)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(292)][n(278)])[n(266)];this[n(287)]=e,this[n(265)]=this[n(269)](),this[n(283)]=i,this[n(273)]=s,this[n(265)][n(288)](n(284)).to(this),this[n(265)][n(288)](n(272)).to(this),this[n(264)]({tag:n(289),attributes:{class:["ck",n(281)]},children:[{tag:n(276),attributes:{class:["ck",n(280)]},children:[{text:r}]},{tag:n(289),attributes:{class:["ck",n(267)]},children:this[n(265)]}]})}[uo(282)](t){const e=uo,i=new He(this[e(292)],t,this[e(283)],this[e(273)]);this[e(265)][e(270)](i)}[uo(271)](t){const e=uo,i=this[e(265)][e(268)]((e=>e.id===t.id));this[e(265)][e(286)](i)}}function ho(t,e){const i=fo();return(ho=function(t,e){return i[t-=263]})(t,e)}function fo(){const t=["removeRevision","setName","_requireRevisionName","101224dpEXcz","309387CsIsDg","span","7KrapUQ","uiLanguage","252sCrmzu","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period","addRevision","_revisionActions","select","2080374QXbrBg","remove","startDate","delegate","div","15786150ldtOSq","581000vroVzk","locale","262503tUTBmt","6wZCGzU","4256025gGPhmu","setTemplate","revisionViews","localizedPeriodName","ck-revision-history-sidebar__time-period__revisions","find","createCollection","add"];return(fo=function(){return t})()}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-=366]})(t,e)}function go(){const t=["content","3424848nYdLjG","setTemplate","span","2302407ZhSbLJ","1367649RMpgdi","div","1sCcMho","ck-revision-history-sidebar__header__label","3295vXWNtP","ck-reset_all","3728UwsrIT","Revision history","589426HBRXfy","ck-revision-history-sidebar__header","4261887uxHpmq","2051344LMrkEu"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(327106===-parseInt(e(367))/1*(parseInt(e(373))/2)+-parseInt(e(382))/3+-parseInt(e(371))/4*(parseInt(e(369))/5)+parseInt(e(378))/6+parseInt(e(375))/7+parseInt(e(376))/8+parseInt(e(381))/9)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(377)]=mt.IconHistory,this[e(379)]({tag:e(366),attributes:{class:["ck",e(370),e(374)]},children:[i,{tag:e(380),attributes:{class:["ck",e(368)]},children:[X(t,e(372))]}]})}}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-=224]})(t,e)}const _o=wo;function Io(){const t=["_requireRevisionName","uiLanguage","_getTimePeriodViewByStartDate","startDate","99DFhfaF","revisionSelected","unhighlight","ck-revision-history-sidebar","flat","remove","get","locale","createCollection","setTemplate","revisionViews","2528778tCVVxV","128830EtWrLP","div","setName","14716jKOdQI","createdAt","some","65986NhcyCL","deselect","add","find","22WcFWWY","8704224WSXZVu","highlight","delegate","ck-rounded-corners","1038890xRzViW","bindTemplate","isEnabled","_revisionActions","timePeriodViews","removeRevision","render","getTime","highlightRevisions","map","365193gXsjXS","ck-revision-history-sidebar__timeline","selectRevision","select","ck-reset","_removeRevision","set","_addRevision","6UmVTjX","addRevision","18rsPzIX","revisionSetName","ck-disabled","fire","_revisions","8JJUOft"];return(Io=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(197644===parseInt(e(268))/1*(-parseInt(e(241))/2)+-parseInt(e(280))/3*(-parseInt(e(238))/4)+parseInt(e(235))/5*(parseInt(e(270))/6)+parseInt(e(234))/7*(-parseInt(e(275))/8)+parseInt(e(260))/9+-parseInt(e(250))/10*(parseInt(e(245))/11)+parseInt(e(246))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[_o(254)];[_o(274)];[_o(253)];[_o(276)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(251)];this[n(254)]=this[n(231)](),this[n(254)][n(248)](n(263)).to(this),this[n(254)][n(248)](n(237)).to(this),this[n(274)]=e,this[n(253)]=i,this[n(276)]=s,this.on(n(263),((t,e)=>{const i=n;this[i(273)](i(224),e)})),this.on(n(237),((t,e)=>{const i=n;this[i(273)](i(271),e)})),this[n(266)](n(252),!1),this[n(232)]({tag:n(236),attributes:{class:["ck",n(264),n(249),n(226)]},children:[new yo(t),{tag:n(236),attributes:{class:["ck",n(261),r.if(n(252),n(272),(t=>!t))]},children:this[n(254)]}]})}[_o(256)](){const t=_o;super[t(256)]();for(const e of this[t(274)])this[t(267)](e);this[t(274)].on(t(243),((e,i)=>{this[t(267)](i)})),this[t(274)].on(t(228),((e,i)=>{this[t(265)](i)}))}get[_o(233)](){const t=_o;return this[t(254)][t(259)]((e=>e[t(233)][t(259)]((t=>t))))[t(227)]()}[_o(262)](t){const e=_o;for(const i of this[e(233)])t&&t.id===i.id?i[e(263)]():i[e(242)]()}[_o(258)](t){const e=_o;for(const i of this[e(233)])t[e(240)]((({id:t})=>t===i.id))?i[e(247)]():i[e(225)]()}[_o(267)](t){const e=_o,i=oo(t[e(239)],this[e(230)][e(277)])[e(279)];let s=this[e(254)][e(229)](0);s&&s[e(279)][e(257)]()===i[e(257)]()||(s=new lo(this[e(230)],i,this[e(253)],this[e(276)]),this[e(254)][e(243)](s)),s[e(269)](t)}[_o(265)](t){const e=_o,i=oo(t[e(239)],this[e(230)][e(277)])[e(279)];this[e(278)](i)[e(255)](t)}[_o(278)](t){const e=_o;return this[e(254)][e(244)]((i=>i[e(279)][e(257)]()===t[e(257)]()))}}const Oo=xo;function To(){const t=["733075rlQHhe","revisionHistory.viewerSidebarContainer","bind","_handleDiffChange","getRevisionsInDiff","revisionViews","isSelected","get","revisionHistory.requireRevisionName","revisionHistory","getIndex","appendChild","getEarlierVisibleRevision","getLaterVisibleRevision","1849329LBoxuV","10581kBBTdM","getRevision","_handleRevisionSetName","selectRevision","data","_revisionsRepository","setName","map","isEnabled","listenTo","isReady","availableRevisionActions","remove","_revisions","nameRevision","plugins","compare","2399235egDjfG","10jAlKvx","length","requires","timePeriodViews","select","8GbjFdm","focus","name","1811OfItBf","983538AhAEuP","config","element","action","add","compareAgainstSelected","_createRevisionActions","change:diff","572HPYRtd","revisionSetName","_revisionViewer","diff","isPremiumPlugin","_handleEditorDataReady","ready","Restore this revision","RevisionsSidebar","isVisible","editor","locale","isOfficialPlugin","highlightRevisions","destroy","1059993NvUFFr","restoreRevision","_handleRevisionSelected","pluginName","string","revisionSelected","fieldView","_sidebarView","init","newRevisionId","repository","restoreRevisionCallback","180aNhkdP","revisionHistory.revisionActions","defaultRevisionActions","assign","Compare against selected","render","Name this revision"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=481]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(285252===parseInt(e(560))/1*(parseInt(e(552))/2)+-parseInt(e(534))/3*(parseInt(e(485))/4)+-parseInt(e(551))/5+-parseInt(e(561))/6+-parseInt(e(519))/7+parseInt(e(557))/8*(-parseInt(e(533))/9)+parseInt(e(512))/10*(parseInt(e(500))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends W.Plugin{[Oo(487)];[Oo(539)];[Oo(507)];static[Oo(514)]=[Oo(482),Oo(501),Oo(548)];static[Oo(545)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(516),action:({plugins:e},i)=>{const s=t,n=e[s(526)](te),r=n[s(510)];let o=n[s(488)][s(509)],a=i.id;r[s(529)](o)>r[s(529)](a)&&([o,a]=[a,o]),n[s(550)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(526)](te);return!(n[s(510)][s(523)](n[s(488)])[s(553)]>2||i[s(525)])}},restoreRevision:{name:t(492),action:(e,{id:i})=>{const s=t;e[s(562)][s(526)](s(528))[s(511)](i)},isVisible:({plugins:e},i)=>!!e[t(526)](te)[t(510)][t(532)](i.id)},nameRevision:{name:t(518),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(526)](te),o=r[n(510)][n(531)](i);r[n(550)](i,o),s[n(558)](),s[n(506)][n(556)]()}}}}();static get[Oo(503)](){return Oo(493)}static get[Oo(497)](){return!0}static get[Oo(489)](){return!0}static get[Oo(554)](){return[te]}constructor(t){const e=Oo;super(t),this[e(487)]=t[e(549)][e(526)](te),this[e(539)]=this[e(487)][e(510)],this[e(507)]=null}[Oo(508)](){const t=Oo,e=this[t(539)][t(547)],i=this[t(483)](),s=this[t(495)][t(562)][t(526)](t(520));this[t(507)]=new So(this[t(495)][t(496)],e,i,this[t(495)][t(562)][t(526)](t(527))),this[t(507)].on(t(505),this[t(502)][t(521)](this)),this[t(507)].on(t(486),this[t(536)][t(521)](this)),this[t(507)][t(521)](t(542)).to(this[t(487)]),this[t(507)][t(555)].on(t(481),((e,i)=>{const s=t;i[s(524)].on(s(481),((t,e)=>{const i=s;e[i(521)](i(542),i(544)).to(this[i(487)])}))})),this[t(507)][t(517)](),this[t(543)](this[t(495)][t(538)],t(491),this[t(490)][t(521)](this)),this[t(543)](this[t(487)],t(484),this[t(522)][t(521)](this)),s[t(530)](this[t(507)][t(563)])}[Oo(499)](){const t=Oo;this[t(507)][t(563)][t(546)](),this[t(507)][t(499)]()}[Oo(490)](){const t=Oo,e=this[t(539)][t(535)](0);if(e){const i=this[t(539)][t(531)](e.id);this[t(487)][t(550)](e,i)}}[Oo(502)](t,e){const i=Oo,s=this[i(539)][i(535)](e.id),n=this[i(539)][i(531)](s.id);this[i(487)][i(550)](s,n)}[Oo(536)](t,e){const i=Oo;this[i(539)][i(535)](e.id)[i(540)](e[i(559)])}[Oo(522)](t,e,i){const s=Oo,n=this[s(539)][s(523)](i);n[s(553)]>2?(this[s(507)][s(498)](n),this[s(507)][s(537)](null)):(this[s(507)][s(498)]([]),this[s(507)][s(537)](n[0]))}[Oo(483)](){const t=Oo,e=this[t(495)],i=No[t(545)],s=e[t(562)][t(526)](t(513))||No[t(514)];if(s[t(553)])return s[t(541)]((s=>{const n=t,r=n(504)==typeof s?Object[n(515)]({},i[s]):s;return r[n(564)]=r[n(564)][n(521)](this,e),r[n(494)]&&(r[n(494)]=r[n(494)][n(521)](this,e)),r}))}}const Ao=No;function Ro(){const t=["render","_toolbarConfig","componentFactory","toolbar","focusTracker","destroy","525728rnhhXq","replace","_view","190hxLwYy","170830YgZbXr","2845480TTyRDE","27EBTutf","get","document","setEditableElement","view","ready","isActive","attachDomRoot","_elementReplacer","572924jwYFTi","init","element","bind","_initToolbar","getRoot","name","restore","viewportOffset","12OkkUsb","fillFromConfig","fire","isFocused","detachDomRoot","viewportTopOffset","editing","504415ZLhafZ","5389454frPfJs","addToolbar","editor","config","22TlaZJk","237345ojMtqN","limiterElement","stickyPanel","editable","rootName"];return(Ro=function(){return t})()}const Vo=Mo;function Mo(t,e){const i=Ro();return(Mo=function(t,e){return i[t-=256]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(591743===-parseInt(e(302))/1+-parseInt(e(290))/2*(-parseInt(e(291))/3)+-parseInt(e(269))/4+-parseInt(e(285))/5*(parseInt(e(278))/6)+-parseInt(e(286))/7+parseInt(e(259))/8*(parseInt(e(260))/9)+-parseInt(e(257))/10*(-parseInt(e(258))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Eo extends pt.EditorUI{[Vo(256)];[Vo(297)];[Vo(268)];get[Vo(264)](){return this[Vo(256)]}constructor(e,i){const s=Vo;super(e),this[s(256)]=i,this[s(297)]=(0,pt.normalizeToolbarConfig)(e[s(289)][s(261)](s(299))),this[s(268)]=new t.ElementReplacer}get[Vo(271)](){const t=Vo;return this[t(264)][t(271)]}[Vo(270)](t){const e=Vo,i=this[e(288)],s=this[e(264)],n=i[e(284)][e(264)],r=s[e(294)],o=n[e(262)][e(274)]();r[e(275)]=o[e(295)],s[e(296)]();const a=r[e(271)];this[e(263)](r[e(275)],a),s[e(294)][e(272)](e(281)).to(this[e(300)]),n[e(267)](a),this[e(268)][e(303)](t,this[e(271)]),this[e(273)](),this[e(280)](e(265))}[Vo(301)](){const t=Vo;super[t(301)]();const e=this[t(264)],i=this[t(288)][t(284)][t(264)];this[t(268)][t(276)](),i[t(282)](e[t(294)][t(275)]),e[t(301)]()}[Vo(273)](){const t=Vo,e=this[t(264)];e[t(293)][t(272)](t(266)).to(this[t(300)],t(281)),e[t(293)][t(292)]=e[t(271)],e[t(293)][t(272)](t(283)).to(this,t(277),(({top:t})=>t)),e[t(299)][t(279)](this[t(297)],this[t(298)]),this[t(287)](e[t(299)])}}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 Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=234]})(t,e)}function jo(){var t=["11zHAjxZ","18150850FgxdVD","add","shouldToolbarGroupWhenFull","editable","_editable","2xtHQNH","677937QVAJZA","70YpBWvP","349184BSetSe","toolbar","top","stickyPanel","19320QpqfZp","144bogspe","4774392orlTIT","render","content","main","618395VKIojB","2830974BoHAlx"];return(jo=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(361964===parseInt(e(236))/1+-parseInt(e(244))/2*(parseInt(e(245))/3)+parseInt(e(251))/4*(-parseInt(e(246))/5)+parseInt(e(237))/6+parseInt(e(253))/7+-parseInt(e(247))/8*(-parseInt(e(252))/9)+-parseInt(e(239))/10*(parseInt(e(238))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(243)];[Fo(250)];[Fo(248)];get[Fo(242)](){return this[Fo(243)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(250)]=new pt.StickyPanelView(t),this[s(248)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(241)]}),this[s(243)]=new pt.InlineEditableUIView(t,e)}[Fo(254)](){var t=Fo;super[t(254)](),this[t(250)][t(234)][t(240)](this[t(248)]),this[t(249)][t(240)](this[t(250)]),this[t(235)][t(240)](this[t(242)])}}function zo(t,e){const i=Ho();return(zo=function(t,e){return i[t-=324]})(t,e)}const Uo=zo;!function(t){const e=zo,i=t();for(;;)try{if(878061===parseInt(e(342))/1+parseInt(e(345))/2*(-parseInt(e(332))/3)+parseInt(e(339))/4*(parseInt(e(346))/5)+parseInt(e(324))/6*(-parseInt(e(340))/7)+-parseInt(e(329))/8*(-parseInt(e(328))/9)+-parseInt(e(333))/10+-parseInt(e(335))/11*(-parseInt(e(330))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);class Wo extends((0,W.ElementApiMixin)(W.Editor)){[Uo(352)];get ui(){return this[Uo(352)]}constructor(t,e){const i=Uo;super(e),this[i(350)]=t,this[i(341)][i(344)][i(347)]();const s=new Po(this[i(334)],this[i(343)][i(337)],{shouldToolbarGroupWhenFull:!0});this[i(352)]=new Eo(this,s)}[Uo(349)](){const t=Uo;return this[t(325)](),this.ui[t(349)](),super[t(349)]()}static async[Uo(348)](t,e){const i=Uo,s=new this(t,e);return await s[i(351)](),await s.ui[i(331)](t),await s[i(354)][i(331)](s[i(353)][i(326)](i(336))||""),s[i(338)](i(327)),s}}function Ho(){const t=["4084930rRDAzm","locale","11cQbMYG","initialData","view","fire","4YmSkDl","1787093BKLCBF","model","217836xdYLdI","editing","document","200510hDcKue","2184265AsFVEH","createRoot","create","destroy","sourceElement","initPlugins","_ui","config","data","12bvMwCb","updateSourceElement","get","ready","9kgdBlx","2029232sbkJZQ","31117728ypOCPI","init","51zvgwbP"];return(Ho=function(){return t})()}const Zo=$o;function Bo(){const t=["revisionHistory","removeMarker","11589WYVbsY","_getRevisionViewerEditorConfig","RevisionHistory","_viewerEditor","style","insert","2025471kQtWbx","_restoreRevision","toLocaleTimeString","then","toLocaleDateString","_enhanceCloseRevisionViewerCallback","2375148FRwZHs","refreshPositioning","markers","saveRevision","showRevisionViewerCallback","PaginationLookup","getMarkersGroup","exitToEditing","10243107QbPNyZ","revisionHistory.viewerEditorElement","editor","getRoot","18DhecLp","refreshVisibility","includes","restrictedEditingException","RevisionHistoryUtils","has","removeSelectionAttribute","map","view","translations","createRangeIn","isPremiumPlugin","keys","hide","revision-history-viewer-opened","push","Users","RevisionViewerIntegration","addUser","revision-history-missing-configuration","document","revisionHistory.closeRevisionViewerCallback","RevisionViewer","numeric","detachRoot","toolbar","$graveyard","block","adapter","fromCharCode","9xOGAhg","1294265CNLUqz","enableReadOnlyMode","update","Dialog","data","Annotations","none","closeRevisionViewerCallback","getRevisionRootsAttributes","revisionHistory.viewerContainer","_cleanUp","_enhanceShowRevisionViewerCallback","removeAttribute","indexOf","lazyRoots","getAttributeKeys","save","revisionHistory.editorContainer","users","RevisionHistoryUI","end","display","_update","RestrictedEditingMode","join","setSelection","addRoot","isOpen","pluginName","catch","createdAt","getUser","_closeRevisionViewer","getRevisions","config","loadRevisionData","result","isRevisionViewerOpen","disableReadOnlyMode","repository","_showRevisionViewer","parse","_recalculatePageBreaks","isEnabled","RevisionTracker","long","changesNavigation","rootName","init","toVersion","bind","plugins","Restored","name","isReady","from","addRevisionData","commands","define","isOfficialPlugin","model","setAttribute","212sYjEli","locale","getRevision","isAnonymous","requires","Autosave","isAttached","revisionHistory.requireRevisionName","remove","toJSON","element","revisionHistory.restoreRevisionCallback","destroy","roots","35909490ZlQwCA","selection","revisionHistory.showRevisionViewerCallback","DocumentOutline","DocumentOutlineUI","restoreRevision","creator","create","uiLanguage","RevisionsRepository","fromVersion","1724536ItalnT","change","enqueueChange","set","error","isReadOnly","get","getRevisionDocumentData"];return(Bo=function(){return t})()}function $o(t,e){const i=Bo();return($o=function(t,e){return i[t-=288]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(930722===-parseInt(e(289))/1*(-parseInt(e(406))/2)+parseInt(e(295))/3+parseInt(e(301))/4+-parseInt(e(344))/5*(-parseInt(e(313))/6)+parseInt(e(309))/7+-parseInt(e(431))/8*(parseInt(e(343))/9)+-parseInt(e(420))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);const qo=[Zo(363),Zo(367)];class Yo extends W.Plugin{[Zo(380)];static get[Zo(372)](){return Zo(330)}static get[Zo(403)](){return!0}static get[Zo(324)](){return!0}constructor(t){const e=Zo;function i(t){const e=$o;return t[e(320)]((t=>String[e(342)](t)))[e(368)]("")}super(t),this[e(380)]=e(364),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends W.Plugin{[Zo(292)];static get[Zo(372)](){return Zo(291)}static get[Zo(403)](){return!0}static get[Zo(324)](){return!0}static get[Zo(410)](){return[at,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(311)][i(378)][i(437)](i(439)))throw new t.CKEditorError(i(332),this);this[i(292)]=null,this[i(434)](i(381),!1),this[i(311)][i(378)][i(402)](i(422),(t=>this[i(384)]({...t,translations:this[i(311)][i(407)][i(322)]}))),this[i(311)][i(378)][i(402)](i(334),(t=>this[i(376)](t))),this[i(311)][i(378)][i(402)](i(417),(t=>this[i(296)](t))),this[i(311)][i(378)][i(402)](i(413),!1),this[i(355)](),this[i(300)]()}set[Zo(341)](t){const e=Zo;this[e(311)][e(395)][e(437)](e(388))[e(341)]=t}get[Zo(341)](){const t=Zo;return this[t(311)][t(395)][t(437)](t(388))[t(341)]}[Zo(400)](t){const e=Zo;return this[e(311)][e(395)][e(437)](e(388))[e(400)](t)}[Zo(408)](t){const e=Zo;return this[e(311)][e(395)][e(437)](e(429))[e(408)](t)}[Zo(377)](t){const e=Zo;return this[e(311)][e(395)][e(437)](e(429))[e(377)](t||{toJSON:!1})}[Zo(290)](){const e=Zo,i=this[e(311)],s=(0,H.sanitizeEditorConfig)(i,qo),n=i[e(395)][e(437)](e(388)),r=i[e(395)][e(437)](e(329))[e(362)];return s[e(338)]=[e(308),e(425),e(390)],delete s[e(358)],s[e(395)][e(328)](Yo,te,be,class extends W.Plugin{static get[e(410)](){return[te,e(329)]}[e(392)](){const s=e,o=this[s(311)][s(395)][s(437)](s(329));for(const t of r)t[s(409)]||o[s(375)](t.id)||o[s(331)](t);const a=n[s(383)][s(377)]();let c=null;const u=this[s(311)][s(395)][s(437)](s(335));u[s(341)]=n[s(341)],u[s(394)](s(387)).to(n),this[s(311)][s(401)][s(437)](s(425))[s(394)](s(387)).to(i,s(436),(t=>!t));for(const e of a){const i=null===e[s(426)];if(i&&e[s(393)]===e[s(430)])continue;const r=e[s(415)]();u[s(400)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(366)](r,o);else if(!o){const e=a[u(415)]();e.id=(0,t.uid)(),n[u(304)](e,a[u(393)])[u(298)]((t=>{c=t}))}}else e[u(366)](r,o)}))}}},Ao),s}[Zo(355)](){const t=Zo,e=this[t(311)][t(378)][t(437)](t(439))[t(305)];this[t(311)][t(378)][t(434)](t(422),(async()=>{const i=t;this[i(311)][i(345)](i(327));const s=this[i(311)][i(395)][i(437)](i(388));if(this[i(311)][i(395)][i(318)](i(411))){const t=this[i(311)][i(395)][i(437)](i(411));await t[i(360)]()}else await s[i(346)]();if(this[i(311)][i(395)][i(318)](i(306))&&this[i(311)][i(395)][i(437)](i(306))[i(386)](),this[i(311)][i(395)][i(318)](i(347))){const t=this[i(311)][i(395)][i(437)](i(347));t[i(371)]&&t[i(326)]()}const n=this[i(290)]();return e(n)[i(298)]((t=>{const e=i;return this[e(292)]=t,this[e(311)][e(395)][e(318)](e(349))&&this[e(311)][e(395)][e(437)](e(349))[e(314)](),this[e(311)][e(395)][e(318)](e(423))&&(this[e(311)][e(395)][e(437)](e(424))[e(321)][e(416)][e(293)][e(365)]=e(350)),t}))[i(373)]((t=>(console[i(435)](t),this[i(311)][i(382)](i(327)),null)))}))}[Zo(300)](){const t=Zo,e=this[t(311)][t(378)][t(437)](t(439))[t(351)];this[t(311)][t(378)][t(434)](t(334),(()=>(this[t(311)][t(395)][t(318)](t(306))&&this[t(311)][t(395)][t(437)](t(306))[t(386)](),this[t(311)][t(395)][t(318)](t(423))&&(this[t(311)][t(395)][t(437)](t(424))[t(321)][t(416)][t(293)][t(365)]=""),this[t(292)][t(395)][t(437)](t(335))[t(354)](),e(this[t(292)])[t(298)]((()=>{const e=t;if(this[e(311)][e(382)](e(327)),this[e(292)]=null,this[e(311)][e(395)][e(318)](e(349))){const t=this[e(311)][e(395)][e(437)](e(349));t[e(314)](),t[e(302)]()}})))))}[Zo(384)](t){const e=Zo,i=this[e(311)][e(378)][e(437)](e(361)),s=this[e(311)][e(378)][e(437)](e(353)),n=this[e(311)][e(378)][e(437)](e(310));return Wo[e(427)](n,t)[e(298)]((t=>(s[e(293)][e(365)]=e(340),i[e(293)][e(365)]=e(350),this[e(381)]=!0,t)))}[Zo(376)](t){const e=Zo,i=this[e(311)][e(378)][e(437)](e(361));return this[e(311)][e(378)][e(437)](e(353))[e(293)][e(365)]=e(350),i[e(293)][e(365)]="",this[e(381)]=!1,t[e(418)]()}async[Zo(296)](t){const e=Zo,i=this[e(311)],s=this[e(292)][e(395)][e(437)](e(335)),n=i[e(395)][e(437)](e(388)),r=i[e(395)][e(437)](e(317)),o=s[e(383)][e(408)](t);let a,c,u;try{await r[e(379)](o,this[e(341)]),a=r[e(438)](o),c=r[e(352)](o)}catch(t){return void console[e(435)](t)}i[e(404)][e(432)]((t=>{const s=e;for(const e of Array[s(399)](i[s(404)][s(303)][s(307)](s(316))))t[s(288)](e)})),s[e(398)]=!1,i[e(404)][e(433)]((t=>{const s=e;t[s(369)](null),t[s(319)](i[s(404)][s(333)][s(421)][s(359)]());const n=Object[s(325)](a);for(const e of i[s(404)][s(333)][s(419)])s(339)!=e[s(391)]&&e[s(412)]()&&!n[s(315)](e[s(391)])&&t[s(337)](e);for(const e of n){let n=i[s(404)][s(333)][s(312)](e);n&&n[s(412)]()||(n=t[s(370)](e));const r=c[e],o=Object[s(325)](r),u=a[e];for(const e of n[s(359)]())o[s(315)](e)||t[s(356)](e,n);for(const i of o)t[s(405)](i,c[e][i],n);t[s(414)](t[s(323)](n)),t[s(294)](i[s(348)][s(385)](u,n),n,0)}}));const l=X(i[e(407)],e(396));return u=o[e(397)]?-1==o[e(397)][e(357)](l)?l+": "+o[e(397)]:o[e(397)]:l+": "+o[e(374)][e(299)](i[e(407)][e(428)],{month:e(389),day:e(336)})+", "+o[e(374)][e(297)](i[e(407)][e(428)],{hour:e(336),minute:e(336)}),await n[e(304)]({name:u}),s[e(398)]=!0,i[e(378)][e(437)](e(439))[e(351)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=152]})(t,e)}function Ko(){var t=["522HQAdbo","7018795gayNrO","12ygChec","32450940icaEMv","2049020UVdxxF","111128NSSUTV","69682UUnDeU","2635740NJZivR","65133YnlhIq","80qBOJVt"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(659282===-parseInt(e(156))/1+-parseInt(e(159))/2*(parseInt(e(158))/3)+-parseInt(e(157))/4+-parseInt(e(154))/5*(-parseInt(e(152))/6)+-parseInt(e(161))/7+-parseInt(e(155))/8*(parseInt(e(160))/9)+parseInt(e(153))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(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})();
|