@ckeditor/ckeditor5-revision-history 45.1.0-alpha.1 → 45.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>ct,RevisionViewer:()=>te,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>J,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==(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]=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 V=/^(?:0|[1-9]\d*)$/;function D(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function M(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function E(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?E(e)?F(t,M(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=289]})(t,e)}function z(){const t=["map","2213080lwEseA","9mxjJxh","diffData","toVersion","_update","name","10895WuZEOh","attributes","authors","20jlpzZB","toJSON","fire","createdAt","removeAttribute","15052796RBTYLF","12ulMSqO","1016BLlWRT","authorsIds","setName","creator","creatorId","setAttribute","set","226286UsNHIv","116076ooFjPh","fromVersion","model","71742Sivixk","3553960AGVLzN","203BNKJuJ"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(296390===-parseInt(e(309))/1+-parseInt(e(295))/2*(parseInt(e(310))/3)+-parseInt(e(302))/4*(-parseInt(e(292))/5)+parseInt(e(313))/6*(-parseInt(e(315))/7)+-parseInt(e(314))/8+parseInt(e(318))/9*(-parseInt(e(317))/10)+parseInt(e(300))/11*(parseInt(e(301))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[j(305)];[j(294)];[j(319)];[j(289)];[j(311)];[j(312)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(305)]=e[i(305)]||null,this[i(294)]=e[i(294)]||[],this[i(319)]=e[i(319)]||null,this[i(289)]=e[i(289)]||0,this[i(311)]=e[i(311)]||0,this[i(308)](i(291),e[i(291)]||""),this[i(308)](i(298),e[i(298)]||new Date),this[i(308)](i(293),e[i(293)]||{})}[j(304)](t){this[j(290)]({name:t})}[j(307)](t,e){const i=j,s=A(this[i(293)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=D(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(290)]({attributes:s})}[j(299)](t){const e=j,i=A(this[e(293)]);(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]&&E(e))return L(t,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(290)]({attributes:i})}[j(290)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(291),i(298),i(319),i(294),i(293),i(289),i(311),i(306)];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(294)]&&(n[i(303)]=n[i(294)][i(316)]((t=>t.id)),delete n[i(294)]),this[i(297)](i(290),n,e))}[j(296)](){const t=j;return{id:this.id,name:this[t(291)],creatorId:this[t(305)]?this[t(305)].id:null,authorsIds:this[t(294)][t(316)]((t=>t.id)),diffData:this[t(319)],createdAt:this[t(298)],attributes:this[t(293)],fromVersion:this[t(311)],toVersion:this[t(289)]}}}var U=i(782),Z=i(211),H=i(783);const q=B;function $(){const t=["getRevision","authorsIds","2886790RJOXWL","add","later","toVersion","RevisionsRepository","getLaterVisibleRevision","isPremiumPlugin","from","2008464vbxsZo","pluginName","fromCharCode","fromVersion","398510AAYfxw","name","href","push","map","18OuOLpv","getRevisions","toJSON","join","34728hRZtwS","20wlgMTz","createdAt","4729688PHxLUr","92477KURxrZ","getEarlierVisibleRevision","isNaN","106FWeuuX","oldRevisionId","getIndex","getRevisionsIterator","getRevisionsInDiff","editor","33SfpAkH","getUser","plugins","attributes","reverse","get","data","diffData","length","earlier","newRevisionId","creatorId","18PvcRJP","_revisions","isOfficialPlugin","Users","requires","addRevision","createRevision","afterInit","267101VVSOnY"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=256]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(351913===-parseInt(e(286))/1+-parseInt(e(260))/2*(parseInt(e(310))/3)+parseInt(e(311))/4*(-parseInt(e(301))/5)+parseInt(e(278))/6*(-parseInt(e(257))/7)+parseInt(e(256))/8+parseInt(e(306))/9*(parseInt(e(289))/10)+-parseInt(e(266))/11*(-parseInt(e(297))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends U.Plugin{[q(279)];static get[q(282)](){return[Z.Users]}static get[q(298)](){return q(293)}static get[q(280)](){return!0}static get[q(295)](){return!0}get[q(274)](){const t=q;return this[t(279)][t(274)]}constructor(e){const i=q;super(e),this[i(279)]=new t.Collection}[q(285)](){!async function(e){const i=k([78,71,49,65,108,109,90,104,48,107,50,84,110,119,105,112,101,98,85,68,113,100,88,114,67,99,70,120,66,74,77,75,102,121,52,80,76,57,118,55,103,51,89,86,69,117,53,81,83,122,72,79,111,97,106,87,82,73,115,116,56,54]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(259)](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([78]);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(305)]((t=>String[e(299)](t)))[e(309)]("")}!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:1746662400;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(303)]);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(284)](t){const e=q,i=this[e(265)][e(268)][e(271)](e(281));return new W({id:t.id,name:t[e(302)],creator:t[e(277)]?i[e(267)](t[e(277)]):null,diffData:t[e(273)]||t[e(272)],authors:t[e(288)][e(305)]((t=>i[e(267)](t))),createdAt:new Date(t[e(312)]),attributes:t[e(269)],fromVersion:t[e(300)],toVersion:t[e(292)]})}[q(283)](t,e=0){const i=q;this[i(279)][i(290)](t,e)}[q(287)](t){const e=q;return this[e(279)][e(271)](t)}[q(307)](t={toJSON:!1}){const e=q,i=Array[e(296)](this[e(279)]);return i[e(270)](),t[e(308)]?i[e(305)]((t=>t[e(308)]())):i}[q(262)](t){const e=q;return this[e(279)][e(262)](t)}[q(258)](t){const e=q,[,i]=this[e(263)](t,{direction:e(275)});return i}[q(294)](t){const e=q,[,i]=this[e(263)](t,{direction:e(291)});return i}[q(264)](t){const e=q,i=[];for(const s of this[e(263)](t[e(276)]))if(i[e(304)](s),s.id===t[e(261)])break;return i}*[q(263)](t,{direction:e=q(275),filter:i=()=>!0}={}){const s=q,n=s(275)===e?1:-1;let r=this[s(279)][s(271)](t),o=this[s(262)](r);for(yield r;r;){if(o+=n,r=this[s(287)](o),!r)return;i(r)&&(yield r)}}}const Y=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=227]})(t,e)}function K(){const t=["config","useFillerType","loadRevisionData","domChildrenToView","marked","getRevision","_removeRevisionMarkers","591390xLtGDG","forEach","2866608UmUwMF","append","data","pluginName","document","editor","getRevisionDocumentData","222FDckVz","isPremiumPlugin","innerHTML","domDocument","data-revision-","_typeCharToViewClass","2830fptxZD","from","diffData","get","viewChildrenToDom","fillerOffset","name","649294smlnUW","type","customProperties","toModel","attributes","getFillerOffset","attachChange","string","_getTypeCharForViewElement","3269925WcDedZ","collaboration.channelId","attributesAfter","_appendChild","map","insertions","processor","parse","children","32xJckjd","getRevisionRootsAttributes","editing","view","startsWith","_getViewFromDiffObj","filter","111937hAGMdF","3QRgeyp","htmlProcessor","914670YqZePl","_setCustomProperty","constructor","toData","isOfficialPlugin","default","12749JBLcVG","revision-start","render","div","_makeModelFromViewString","_viewClassToTypeChar","length","domConverter","revision-end","childNodes","RevisionHistoryUtils","createElement","isAttached"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(433704===-parseInt(e(270))/1+parseInt(e(292))/2*(parseInt(e(242))/3)+parseInt(e(272))/4+parseInt(e(301))/5+parseInt(e(279))/6*(-parseInt(e(241))/7)+parseInt(e(234))/8*(-parseInt(e(244))/9)+-parseInt(e(285))/10*(-parseInt(e(250))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class Q extends U.Plugin{static get[Y(275)](){return Y(260)}static get[Y(248)](){return!0}static get[Y(280)](){return!0}[Y(255)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[Y(284)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[Y(265)](t,e){const i=Y;if(t[i(287)]||!e)return;const s=this[i(277)][i(263)][i(288)](i(302)),n=await e[i(268)]({channelId:s,revisionId:t.id});t[i(287)]=n[i(287)]}[Y(278)](t){const e=Y,i={};for(const s in t[e(287)]){if(t[e(287)][s][e(298)]&&!t[e(287)][s][e(298)][e(262)])continue;const n=this[e(269)](JSON[e(232)](t[e(287)][s][e(230)])),r=this[e(277)][e(236)][e(237)][e(276)],o=new H.ViewDocumentFragment(r,n[e(229)]((t=>this[e(239)](t,!1))));this[e(277)][e(274)][e(231)][e(264)](e(267)),i[s]=this[e(277)][e(274)][e(231)][e(247)](o),this[e(277)][e(274)][e(231)][e(264)](e(249))}return i}[Y(235)](t){const e=Y,i={};for(const s in t[e(287)])t[e(287)][s][e(298)]&&!t[e(287)][s][e(298)][e(262)]||(i[s]=t[e(287)][s][e(227)]||{});return i}[Y(300)](t){const e=Y;return this[e(255)][e(288)](t[e(246)])}[Y(239)](t,e){const i=Y,s=this[i(277)][i(236)][i(237)][i(276)];if(i(299)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(293)]||"r"==t[i(293)]?[]:t[i(233)][i(229)]((t=>this[i(239)](t,e)));const o=this[i(284)][i(288)](t[i(293)])||H.ViewElement,a=this[i(277)][i(274)][i(243)][i(257)];if(n=new o(s,t[i(291)],t[i(296)],r),"u"==t[i(293)]&&t[i(233)][0]){const r=t[i(233)][0];if(n[i(252)]=function(t){const e=i,s=t[e(261)](e(253));return s[e(281)]=r,s[e(259)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(228)](n);const e=Array[i(286)](a[i(289)](t,{bind:!1})),r=a[i(282)][i(261)](i(253));r[i(273)](...e),n=Array[i(286)](a[i(266)](r))[0]}}else if("r"==t[i(293)]&&t[i(233)][0]){const r=t[i(233)][0];if(n[i(252)]=function(t){t[i(281)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(228)](n);const e=Array[i(286)](a[i(289)](t,{bind:!1})),r=a[i(282)][i(261)](i(253));r[i(273)](...e);const o=Array[i(286)](a[i(266)](r));o[i(256)]>1?n[i(228)](o):n=o[0]}}if(t[i(294)])for(const[e,s]of t[i(294)])n[i(245)](e,s);const c=void 0===t[i(290)]?null:t[i(290)];return null!==c&&(n[i(297)]=()=>c),n}}[Y(254)](t){const e=Y,i=JSON[e(232)](t),s=this[e(277)][e(236)][e(237)][e(276)],n=new H.ViewDocumentFragment(s,i[e(229)]((t=>this[e(239)](t,!0))));return this[e(277)][e(274)][e(295)](n)}[Y(269)](t){const e=Y;return(t=t[e(240)]((t=>!t[e(291)]||e(251)!==t[e(291)]&&e(258)!==t[e(291)])))[e(271)]((t=>{const i=e;i(299)!=typeof t&&(t[i(233)]=this[i(269)](t[i(233)]),t[i(296)]=t[i(296)][i(240)]((t=>!t[0][i(238)](i(283)))))})),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,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)===(V=s)||Number.isNaN(A)&&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 A,V;const D=(s=s??new Map).get(t),M=s.get(i);if(null!=D&&null!=M)return D===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=ot;function ot(t,e){const i=at();return(ot=function(t,e){return i[t-=186]})(t,e)}function at(){const t=["addRevision","resolve","stickiness","getCustomProperties","revisionHistoryLicenseKeyNotAllowed","786158IGeGJt","getRevision","nodeAfter","howMany","fromEntries","loadState","_touched","isEqual","Initial revision","adapter","add","documentFragment","nodes","diffData","_handleInsertOperation","12uVbmqs","delete","_startingRevisionId","RevisionHistory","ready","_makeRevision","parent","trialLimit","fromVersion","_fixOperation","_reset","values","getRevisionRootsAttributes","_clone","toView","_update","fillerOffset","getNodeByPath","filter","createdAt","changeRootAttribute","locale","2127118gkZuQj","getChild","split","revisionHistoryLicenseKeyEvaluationLimit","_handleMarkerOperation","range","_startingVersion","tableCell","_bufferedUpdates","_pendingAction","_applyOperations","item","_saveMetaData","setRevisionData","attachChange","newValue","userId","_setAttribute","3204iyFkNq","vid_start","getMovedRangeStart","graveyardPosition","outerHTML","move","_createFromRanges","revisionHistory.resumeUnsavedRevision","startsWith","_revisionDataBuilder","_replaceEditorDataWithRevisionData","loadRevisionData","_operations","creatorId","_isPendingUpdate","_handleRootAttributeOperation","_getVidAttributeName","destroy","isReady","expired","offset","clear","domDocument","type","offsetSize","roots","start","config","_isInit","update","stringify","_processRootBeforeSave","_removePendingAction","getAttributes","has","$text","_transformMarkers","version","_diffRootsAttributes","shift","createPositionFromPath","_loadedStateData","isPremiumPlugin","buildRevisionData","set","hasContent","revisionHistoryLicenseKeyTrialLimit","insertions","for","createRange","_loadState","RevisionTracker","_lastTo","merge","_getBaseVids","getAncestors","deletions","_generateTape","initial","_insertChild","vid","name","isOfficialPlugin","_setConversion","children","dataToMarker","marker","_createCurrentRevision","getData","_fixPosition","getFillerOffset","_handleRootOperation","_handleMergeOperation","createPositionAt","splitPosition","htmlProcessor","licenseKey","RevisionsRepository","find","94069OdtEKz","createPositionAfter","_findInsertionIndex","targetPosition","clone","plugins","customProperties","_removeMetaData","map","invalid","_makeModelFromViewString","RevisionHistoryUtils","authors","11608cVPVIV","getRevisionDocumentData","vid_end","domainLimit","_copyMarkers","_savedMetaData","655vQUZeP","end","source","removeRootAttribute","rawElement","createRevision","PendingActions","max","position","_prepareViewToSave","insertion","attributesAfter","_continueCurrentRevision","_showLicenseError","data","editor","revisionHistoryLicenseKeyDomainLimit","reverse","_utils","render","_handleMoveOperation","createRangeIn","attributesBefore","_authorId","_makeIdsRoot","get","creator","keepParagraph","getRange","string","document","deletion","bind","revision:","_appendChild","PENDING_ACTION_REVISION_HISTORY","_lastFrom","sendBufferedUpdates","RealTimeCollaborationClient","_initialRevisionId","pluginName","keys","revision","text","15146714KOzOsX","getRevisions","repository","revisionHistoryLicenseKeyInvalid","slice","createElement","key","define","_touchedMarkers","reinsert","currentRevision","_bufferUpdate","authorsIds","_addPendingAction","rootName","editor-initial-data-replaced-with-revision-data","usageLimit","elementStart","affectsData","dataDowncast","domConverter","_handleOperation","getUser","getRootNames","markerToData","model","trim","_createInitialRevision","childCount","some","insertionPosition","getOperation","_revisionId","revisionHistoryLicenseKeyUsageLimit","_handleSplitOperation","collaboration.channelId","getCurrentRevisionId","from","oldRange","path","newRange","isEnabled","_calculateMetaData","_markers","Empty document","length","rootsAttributes","_fixRange","baseVersion","getWalker","revisionHistoryLicenseKeyExpired","3FURaGT","_cloneOperation","getLatestVersion","upcast","evaluationLimit","detachRoot","addRoot","_baseIdsRoots","setSource","afterInit","saveRevision","push","getRoot","updateRevisions","_getFromVersion","addRevisionData","_getViewJson","_baseRootsAttributes","sourcePosition","markers","root","paragraph","_getPreviousFrom","size","elementEnd","includes","$graveyard","_idsRoots","_source","initialData","getIndex","_getState","_getTypeCharForViewElement","isAttached","_touchedRoots","getChildren","addRootAttribute","init","innerHTML","requires","featureNotAllowed","previousPosition","$comment","reInit","_execute","createPositionBefore","_licenseKeyCheckInterval","_isAttached","element","1970070mmQrsa","conversion","NEGATIVE_INFINITY","getTransformedByOperation","sort","toVersion","1684XOaOJU","getTime","isAdd","_baseRoots","revisionHistoryLicenseKeyValid","finally","then","history","_markChanges","remove","getAttribute","getOperations","uiElement","_diffRoots","insert","Users"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(546476===-parseInt(e(289))/1+parseInt(e(479))/2*(-parseInt(e(403))/3)+parseInt(e(458))/4*(-parseInt(e(308))/5)+parseInt(e(494))/6*(-parseInt(e(192))/7)+parseInt(e(302))/8*(parseInt(e(210))/9)+-parseInt(e(452))/10+parseInt(e(352))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends U.Plugin{[rt(286)];[rt(449)];[rt(362)]=null;[rt(354)];[rt(488)]=null;[rt(219)];[rt(431)];[rt(347)];[rt(200)];[rt(326)];[rt(201)];[rt(320)];[rt(198)];[rt(251)];static get[rt(348)](){return rt(261)}static get[rt(272)](){return!0}static get[rt(252)](){return!0}static get[rt(442)](){return[Z.Users,J,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(354)]=this[i(323)][i(294)][i(333)](i(287)),this[i(326)]=this[i(323)][i(294)][i(333)](i(300)),this[i(219)]=new ut(this[i(323)]),this[i(347)]=this[i(323)][i(237)][i(333)](i(387))||i(268),this[i(200)]=new Map,this[i(251)]=null;const s=(0,t.uid)();this[i(431)]={history:this[i(323)][i(377)][i(338)][i(465)],getLatestVersion:()=>Promise[i(475)](this[i(323)][i(377)][i(338)][i(247)]),getCurrentRevisionId:()=>s},this[i(254)](i(228),!1),this[i(254)](i(393),!0),this[i(254)](i(224),!1),this[i(323)][i(237)][i(359)](i(217),!0),this[i(323)][i(453)][i(258)](i(406))[i(275)]({view:i(350)})}[rt(440)](){const t=rt;this[t(273)](),this[t(323)][t(322)].on(t(498),(()=>{const e=t,i=this[e(354)][e(480)](0),s=i&&null===i[e(334)]?i:null;if(this[e(320)]=!!s&&this[e(323)][e(237)][e(333)](e(217)),this[e(323)][e(294)][e(244)](e(346))){const t=this[e(431)][e(388)](),n=this[e(354)][e(480)](t);if(n)this[e(198)]=n[e(502)],this[e(320)]=!1;else{const t=this[e(431)][e(465)][e(222)][e(288)]((t=>!t[e(238)])),n=t?t[e(400)]:this[e(431)][e(465)][e(247)];i?(i[e(457)]<n&&i[e(509)]({toVersion:n}),this[e(320)]?(this[e(431)][e(388)]=()=>s.id,this[e(198)]=s[e(502)]):(this[e(198)]=i[e(457)],this[e(320)]=!1)):(this[e(198)]=n,this[e(320)]=!1)}}else s&&(this[e(323)][e(377)][e(338)][e(465)][e(247)]=Math[e(315)](s[e(457)],this[e(323)][e(377)][e(338)][e(465)][e(247)]),s[e(502)]===s[e(457)]?(0!==s[e(502)]&&(this[e(431)][e(388)]=()=>s.id),this[e(320)]=!1):this[e(320)]&&(this[e(431)][e(388)]=()=>s.id,this[e(198)]=s[e(502)])),this[e(320)]||(this[e(198)]=this[e(323)][e(377)][e(338)][e(247)]);this[e(219)][e(440)](this[e(431)][e(465)]),this[e(379)](this[e(198)]),this[e(277)](this[e(198)]),this[e(488)]&&this[e(345)]()})),this[t(340)](t(228)).to(this,t(224),(t=>!t)),this[t(286)]=this[t(323)][t(237)][t(333)](t(286));const e=this[t(323)];this[t(449)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(462)==r||i(355)==r||i(402)==r||i(324)==r||i(478)==r||i(195)==r||i(256)==r||i(385)==r){delete e[n],s=r,clearInterval(this[i(449)]),this[i(449)]=void 0;break}}i(355)==s&&e[i(321)](i(298)),i(402)==s&&e[i(321)](i(229)),i(324)==s&&e[i(321)](i(305)),i(478)==s&&e[i(321)](i(443),i(497)),i(195)==s&&e[i(321)](i(407)),i(256)==s&&e[i(321)](i(501)),i(385)==s&&e[i(321)](i(368))}),1e3)}async[rt(412)](){const t=rt;if(this[t(354)][t(397)]>0){const e=this[t(354)][t(480)](0),i=await this[t(303)](e),s=await this[t(506)](e);this[t(220)](i,s)}}[rt(227)](){const t=rt;super[t(227)](),this[t(449)]&&clearInterval(this[t(449)])}[rt(411)](t){this[rt(431)]=t}async[rt(239)](){const t=rt,e=await this[t(431)][t(405)]();if(e>this[t(362)][t(457)]){await this[t(260)]();const i=this[t(253)]({revision:this[t(362)],to:e});i[t(301)]=i[t(364)][t(297)]((e=>this[t(323)][t(294)][t(333)](t(473))[t(374)](e))),this[t(362)][t(509)](i)}}async[rt(413)](e={},i=null){const s=rt,n=[];await this[s(260)](),this[s(320)]=!1,i>this[s(362)][s(457)]&&(i=null),null===i&&(i=await this[s(431)][s(405)]());const r=this[s(417)](i),o=this[s(253)]({from:r,to:i});if(this[s(362)][s(457)]<i){const t=this[s(253)]({revision:this[s(362)],from:i,to:i});t[s(301)]=[],t[s(364)]=[],t.id=this[s(362)].id,this[s(362)][s(509)](t,!0),delete t[s(301)],n[s(414)](t)}e[s(223)]=this[s(323)][s(294)][s(333)](s(473)).me.id,e[s(271)]=e[s(271)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(418)](e);n[s(414)](e);const c=this[s(354)][s(433)](a);if(0!==c){const t=this[s(354)][s(480)](c-1);if(t[s(502)]!==i){const r=this[s(219)][s(278)](i,t[s(457)]),o={id:t.id,diffData:r[s(492)],authorsIds:r[s(364)],authors:r[s(364)][s(297)]((t=>this[s(323)][s(294)][s(333)](s(473))[s(374)](t))),fromVersion:i};t===this[s(362)]&&(o[s(189)]=new Date(e[s(189)][s(459)]()+10)),t[s(509)](o,!0),delete o[s(301)],n[s(414)](o)}}if(this[s(488)]){for(const t of n)this[s(363)](t.id,t,!0);this[s(345)]()}return a}[rt(418)](t){const e=rt,i=this[e(354)][e(313)](t);return this[e(488)]&&i.on(e(509),((t,i,s)=>{const n=e;s||(this[n(363)](i.id,i,!0),this[n(345)]())})),this[e(354)][e(474)](i,this[e(291)](i)),i}async[rt(303)](t){const e=rt;return await this[e(326)][e(221)](t,this[e(488)]),this[e(326)][e(303)](t)}async[rt(506)](t){const e=rt;return await this[e(326)][e(221)](t,this[e(488)]),this[e(326)][e(506)](t)}[rt(345)](){const t=rt;if(0===this[t(200)][t(426)])return;if(this[t(224)])return;let e=Array[t(389)](this[t(200)][t(505)]());this[t(200)][t(231)]();for(let i=0;i<e[t(397)];i++){const s=e[i];let n=!1;for(const e of Object[t(349)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(188)]((t=>null!==t)),!e[t(397)])return;for(let i=0;i<e[t(397)];i++){const s=e[i];void 0!==s[t(502)]&&void 0===s[t(457)]&&(s[t(457)]=this[t(354)][t(480)](s.id)[t(457)]),void 0!==s[t(457)]&&void 0===s[t(502)]&&(s[t(502)]=this[t(354)][t(480)](s.id)[t(502)])}const i=this[t(323)][t(237)][t(333)](t(387));this[t(224)]=!0,this[t(365)](),this[t(488)][t(416)](e,i)[t(463)]((()=>{this[t(224)]=!1}))[t(464)]((e=>{const i=t;if(e)for(const t of e)this[i(205)]({id:t.id,createdAt:t[i(189)]});this[i(242)](),this[i(345)]()}))}[rt(253)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(502)],i=null!==i?i:t[s(457)];const n=this[s(219)][s(278)](e,i),r={diffData:n[s(492)],authorsIds:n[s(364)],fromVersion:e,toVersion:i};if(!t||i!==t[s(457)]){const t=i-1,e=this[s(431)][s(465)][s(383)](t);r[s(189)]=e&&e[s(189)]||new Date}if(this[s(251)]&&e===this[s(251)][s(502)])for(const t of this[s(251)][s(301)])r[s(364)][s(428)](t.id)||r[s(364)][s(414)](t.id);return r}[rt(363)](t,e,i){const s=rt;if(this[s(200)][s(244)](t)){const n=this[s(200)][s(333)](t);e=i?{...n,...e}:{...e,...n}}this[s(200)][s(254)](t,e)}[rt(205)](t){const e=rt,i=this[e(354)][e(480)](t.id);if(t[e(189)]&&(t[e(189)]=new Date(t[e(189)])),t[e(364)]){const i=this[e(323)][e(294)][e(333)](e(473));t[e(301)]=t[e(364)][e(297)]((t=>i[e(374)](t)))}i[e(509)](t,!0)}[rt(379)](t){const e=rt,i=this[e(354)][e(480)](this[e(354)][e(397)]-1);if(i)this[e(347)]=i.id;else{const i=!this[e(323)][e(377)][e(338)][e(235)][e(288)]((t=>this[e(323)][e(377)][e(255)](t))),s=this[e(323)][e(294)][e(333)](e(473)).me.id,n=X(this[e(323)][e(191)],e(i?396:487));this[e(499)]({from:t,to:t,id:this[e(347)],name:n,creatorId:s})}}[rt(277)](t){const e=rt,i=this[e(431)][e(388)]();this[e(362)]=this[e(354)][e(480)](i),this[e(362)]||(this[e(362)]=this[e(499)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(260)](){const t=rt;this[t(320)]&&!this[t(251)]&&(await this[t(326)][t(221)](this[t(362)],this[t(488)]),this[t(219)][t(484)](this[t(362)]),this[t(251)]={fromVersion:this[t(362)][t(502)],authors:this[t(362)][t(301)][t(356)]()})}[rt(220)](e,i){const s=rt;let n=this[s(323)][s(237)][s(333)](s(432)),r=this[s(323)][s(237)][s(333)](s(398));if(void 0===n){n={};for(const t of this[s(323)][s(377)][s(338)][s(375)]())n[t]=""}if(s(337)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(323)][s(377)][s(338)][s(375)]())r[t]={}}let o=!1;const a=Object[s(349)](n),c=Object[s(349)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(378)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(349)](r[t])[s(397)]>0){o=!0;break}}o||(o=c[s(381)]((t=>!this[s(323)][s(377)][s(338)][s(415)](t)))),o&&(0,t.logWarning)(s(367),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(323)][s(237)][s(254)](s(432),e),this[s(323)][s(237)][s(254)](s(398),i)}[rt(365)](){const t=rt;if(!this[t(201)]){const e=this[t(323)][t(294)][t(333)](t(314));this[t(201)]=e[t(489)](X(this[t(323)][t(191)],t(343)))}}[rt(242)](){const t=rt;this[t(201)]&&(this[t(323)][t(294)][t(333)](t(314))[t(467)](this[t(201)]),this[t(201)]=null)}[rt(291)](t){const e=rt,i=this[e(354)][e(353)]();i[e(325)]();let s=0;for(;s<i[e(397)];){const n=i[s];if(n===this[e(362)]){s++;continue}if(n.id===this[e(347)])break;const r=t[e(457)]-n[e(457)]||t[e(502)]-n[e(502)];if(r>0)break;if(r<0)s++;else{if(!t[e(334)]&&n[e(334)])break;if(n[e(334)]||!t[e(334)]){if(t[e(189)]>n[e(189)])break;s++}else s++}}return s}[rt(417)](t){const e=rt,i=this[e(354)][e(353)]();i[e(325)](),i[e(249)]();const s=i[e(288)]((i=>i[e(457)]<=t))[e(457)];return s<this[e(198)]?this[e(198)]:s}[rt(499)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(253)]({from:e,to:i});o[r(271)]=t,o[r(223)]=s,o.id=n;const a=this[r(418)](o);return this[r(488)]&&this[r(363)](o.id,o,!0),a}[rt(273)](){const t=rt;this[t(323)][t(453)][t(258)](t(371))[t(376)]({model:t(350)})}}class ut{[rt(323)];[rt(310)];[rt(307)];[rt(344)];[rt(262)];[rt(395)];[rt(471)];[rt(248)];[rt(461)];[rt(420)];[rt(430)];[rt(410)];[rt(485)];[rt(360)];[rt(437)];[rt(384)];[rt(496)];constructor(t){const e=rt;this[e(323)]=t,this[e(307)]=new Map,this[e(344)]=-1,this[e(262)]=-1,this[e(395)]=new Map,this[e(471)]=new Map,this[e(248)]=new Map,this[e(461)]=new Map,this[e(420)]=new Map,this[e(430)]=new Map,this[e(410)]=new Map,this[e(485)]=new Map,this[e(360)]=new Map,this[e(437)]=new Map,this[e(384)]=1}[rt(440)](t){const e=rt;this[e(310)]=t;const i=new Map,s=new Map,n=this[e(323)][e(377)][e(338)][e(235)][e(297)]((t=>t[e(366)]));for(const t of n){const n=this[e(323)][e(377)][e(338)][e(415)](t),r=lt(n);i[e(254)](t,r),s[e(254)](t,Object[e(483)](n[e(243)]()))}const r=Array[e(389)](this[e(323)][e(377)][e(422)])[e(297)]((t=>[t[e(271)],t[e(336)]()])),o=this[e(310)][e(247)];this[e(204)](o,i,r,s),this[e(496)]=this[e(384)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(254)](t,i),c[e(254)](t,{})}this[e(204)](Number[e(454)],a,[],c)}[rt(278)](t,e){const i=rt;if(this[i(344)]===t&&this[i(262)]<=e)this[i(307)][i(426)]>1&&this[i(296)](this[i(262)]),this[i(202)](this[i(262)],e,!0);else{if(!this[i(307)][i(244)](t)){const e=this[i(425)](t);this[i(394)](e,t,!1)}this[i(394)](t,e,!0)}return this[i(344)]=t,this[i(262)]=e,this[i(434)]()}[rt(484)](t){const e=rt,i=this[e(323)][e(294)][e(333)](e(300));this[e(504)](),this[e(344)]=t[e(502)],this[e(262)]=t[e(457)];for(const s in t[e(492)]){const n=t[e(492)][s][e(206)],r=A(t[e(492)][s][e(330)])||{},o=i[e(299)](t[e(492)][s][e(266)]);o[e(366)]=s,o[e(450)]=!n||!n[e(436)],o[e(436)]=()=>o[e(450)],this[e(461)][e(254)](s,o),this[e(420)][e(254)](s,r),n&&this[e(437)][e(254)](s,n);const a=this[e(332)](o);this[e(410)][e(254)](s,a);for(const[t,i]of o[e(422)]){if(!t[e(218)](e(341)))continue;const s=t[e(194)](":")[2];for(const t of i[e(401)]({singleCharacters:!0})){const i=this[e(226)](t),n=e(427)==t[e(233)]?t[e(444)][e(391)][e(356)](0,-1):t[e(444)][e(391)],r=a[e(187)](n)[e(468)](i);this[e(485)][e(254)](r,{userId:s})}}}this[e(496)]=this[e(384)];const s=[...Array(this[e(384)])[e(349)]()][e(356)](1)[e(188)]((t=>!this[e(485)][e(244)](t)));let n=0;const r=new Map;for(const o in t[e(492)]){const a=t[e(492)][o][e(206)],c=A(t[e(492)][o][e(319)])||{},u=i[e(299)](t[e(492)][o][e(257)]);u[e(366)]=o,u[e(450)]=!a||a[e(436)],u[e(436)]=()=>u[e(450)],this[e(471)][e(254)](o,u),this[e(248)][e(254)](o,c);const l=this[e(332)](u,Number[e(454)]);this[e(430)][e(254)](o,l),r[e(254)](o,u[e(436)]()?c:{});for(const[t,i]of u[e(422)]){if(!t[e(218)](e(341)))continue;const s=t[e(194)](":")[2];for(const t of i[e(401)]({singleCharacters:!0})){const i=this[e(226)](t),n=this[e(384)]++,r=e(427)==t[e(233)]?t[e(444)][e(391)][e(356)](0,-1):t[e(444)][e(391)];l[e(187)](r)[e(209)](i,n),this[e(485)][e(254)](n,{userId:s})}}for(const t of this[e(323)][e(377)][e(329)](u)[e(401)]({singleCharacters:!0})){const i=this[e(226)](t),r=e(427)==t[e(233)]?t[e(444)][e(391)][e(356)](0,-1):t[e(444)][e(391)],o=l[e(187)](r);o[e(468)](i)>0||o[e(209)](i,s[n++])}for(const[t,i]of u[e(422)])t[e(218)](e(341))||this[e(395)][e(254)](t,i)}const o=ht(e(429));this[e(461)][e(254)](e(429),o),this[e(410)][e(254)](e(429),this[e(332)](o,1));const a=ht(e(429));this[e(471)][e(254)](e(429),a),this[e(430)][e(254)](e(429),this[e(332)](a,1));const c=Array[e(389)](this[e(471)])[e(297)]((([t,e])=>[t,lt(e)]));this[e(204)](this[e(262)],c,this[e(395)],r)}[rt(446)](){const t=rt;this[t(504)](),this[t(344)]=-1,this[t(262)]=-1,this[t(307)][t(231)](),this[t(440)](this[t(310)])}[rt(204)](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(254)](t,{start:e[n(236)][n(293)](),end:e[n(309)][n(293)](),rootName:e[n(423)][n(366)]});this[n(307)][n(254)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(296)](t){const e=rt;this[e(307)][e(495)](t)}[rt(504)](){const t=rt;this[t(485)][t(231)](),this[t(360)][t(231)](),this[t(437)][t(231)](),this[t(471)][t(231)](),this[t(248)][t(231)](),this[t(461)][t(231)](),this[t(420)][t(231)](),this[t(430)][t(231)](),this[t(410)][t(231)](),this[t(395)][t(231)](),this[t(384)]=1,this[t(496)]=this[t(384)]}[rt(332)](t,e=null){const i=rt;let s=null;t.is(i(490))||(s=new H.Element(t[i(271)],{vid_start:null===e?this[i(384)]++:e++}));const n=[];for(const s of t[i(438)]())if(s.is(i(451))){n[i(414)](this[i(332)](s,e));const t=n[n[i(397)]-1];null!==e&&(e=t.is(i(451),i(245))?t[i(468)](i(270))+1:t[i(468)](i(304))+1)}else for(let t=0;t<s[i(234)];t++)n[i(414)](new H.Element(i(245),{vid:null===e?this[i(384)]++:e++}));if(t.is(i(490))){const e=ht(t[i(366)]);return e[i(269)](0,n),e}return s[i(209)](i(304),null===e?this[i(384)]++:e++),s[i(269)](0,n),s}[rt(394)](t,e,i){const s=rt;this[s(504)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(307)][s(333)](t);this[s(461)]=new Map(n),this[s(420)]=new Map(A(o));for(const[t,e]of this[s(461)])if(s(429)!==t&&(this[s(471)][s(254)](t,lt(e)),this[s(248)]=new Map(A(o)),i)){const i=this[s(384)];this[s(430)][s(254)](t,this[s(332)](e)),this[s(410)][s(254)](t,this[s(332)](e,i))}this[s(496)]=this[s(384)],this[s(471)][s(254)](s(429),lt(this[s(461)][s(333)](s(429)))),i&&this[s(430)][s(254)](s(429),this[s(332)](this[s(461)][s(333)](s(429))));for(const[t,e]of r){const i=this[s(461)][s(333)](e[s(366)]),n=this[s(471)][s(333)](e[s(366)]),r=new H.Range(this[s(279)](e[s(236)],i),this[s(279)](e[s(309)],i)),o=this[s(399)](r,n);i[s(422)][s(254)](t,r),this[s(395)][s(254)](t,o)}this[s(202)](t,e,i)}[rt(202)](t,e,i){const s=rt;for(const n of this[s(310)][s(469)](t,e))this[s(373)](n,i);for(const t of this[s(471)][s(505)]())t[s(422)][s(231)]();for(const[t,e]of this[s(395)])this[s(471)][s(333)](e[s(423)][s(366)])[s(422)][s(254)](t,e[s(293)]());const n=new Map,r=new Map;for(const[t,e]of this[s(471)])n[s(254)](t,lt(e)),r[s(254)](t,this[s(248)][s(333)](t));this[s(204)](e,n,this[s(395)],r)}[rt(425)](t){const e=rt,i=Array[e(389)](this[e(307)][e(349)]());i[e(456)](((t,e)=>t-e)),i[e(325)]();for(const e of i)if(e<t)return e;return Number[e(454)]}[rt(306)](t,e){const i=rt,s=Array[i(389)](e[i(422)])[i(297)]((([e,s])=>[e,this[i(399)](s,t)]));t[i(422)]=new Map(s)}[rt(246)](t){const e=rt;for(const i of this[e(395)][e(505)]()){const s=i[e(455)](t),n=H.Range[e(216)](s);i[e(236)]=n[e(236)],i[e(309)]=n[e(309)]}}[rt(373)](t,e){const i=rt;if(i(409)!=t[i(233)]&&i(408)!=t[i(233)]){if(i(472)==t[i(233)]){const s=t[i(316)][i(423)][i(366)];this[i(471)][i(244)](s)||(this[i(471)][i(254)](s,ht(s,!0)),this[i(248)][i(254)](s,{}),e&&this[i(430)][i(254)](s,ht(s,!0)))}else{if(i(439)==t[i(233)]||i(311)==t[i(233)]||i(190)==t[i(233)])return void this[i(225)](t);i(276)==t[i(233)]&&this[i(196)](t)}if(i(276)!==t[i(233)]){const e=this[i(404)](t,this[i(471)]);e[i(447)](),this[i(246)](e)}if(e)switch(t[i(233)]){case i(472):this[i(493)](t);break;case i(215):case i(467):case i(361):this[i(328)](t);break;case i(263):this[i(282)](t);break;case i(194):this[i(386)](t)}}else this[i(281)](t,e)}[rt(404)](t,e){const i=rt,s=t[i(293)]();return s[i(331)]=t[i(331)],this[i(503)](s,e),s}[rt(264)](t){const e=rt;return t[e(297)]((t=>{const i=e,s=this[i(226)](t);return Number(t[i(203)][i(468)](s))}))}[rt(267)](t,e){const i=rt;if(t.is(i(451),i(245)))e[i(414)]({item:t,type:i(351)});else{t.is(i(451))&&e[i(414)]({item:t,type:i(369)});for(const s of t[i(438)]())this[i(267)](s,e);t.is(i(451))&&e[i(414)]({item:t,type:i(427)})}return e}[rt(434)](){const t=rt,e=new Map(this[t(485)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(461)][t(349)](),...this[t(471)][t(349)]()]);a[t(495)](t(429));for(const e of a){const i=this[t(471)][t(333)](e)||ht(e,!1),s=this[t(461)][t(333)](e)||ht(e,!1);i[t(436)]()||s[t(436)]()?(n[t(257)][e]=lt(i),n[t(266)][e]=lt(s),this[t(306)](n[t(266)][e],s),this[t(306)](n[t(257)][e],i),r[t(257)][e]=this[t(267)](this[t(430)][t(333)](e),[]),r[t(266)][e]=this[t(267)](this[t(410)][t(333)](e)||ht(e,!1),[])):a[t(495)](e)}for(const n of a){const o=r[t(257)][n];for(const n of o){const r=this[t(226)](n),o=n[t(203)][t(468)](r);i[t(495)](o),o>=this[t(496)]&&s[t(254)](o,e[t(333)](o))}}for(const n of a){const a=r[t(257)][n],c=this[t(264)](r[t(266)][n]);let u=0;for(const n of a){const r=this[t(226)](n),a=n[t(203)][t(468)](r);if(!s[t(244)](a)&&!o[t(244)](a))if(i[t(244)](a))u++;else{if(a!=c[u]){const s=e[t(333)](a)||e[t(333)](c[u]);for(;a!=c[u];)i[t(244)](c[u])||(o[t(254)](c[u],s),e[t(254)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(257)][e];for(const e of n){const n=this[t(226)](e),r=e[t(203)][t(468)](n);if(o[t(244)](r)){const e=o[t(333)](r);i[t(244)](r)||i[t(254)](r,{...e}),s[t(254)](r,{...e})}}}for(const e of i[t(349)]())e>=this[t(496)]&&i[t(495)](e);const c=new Map;for(const e of a){let n=r[t(257)][e];for(const e of n)if(e[t(203)].is(t(451),t(199))){const i=this[t(226)](e),n=e[t(203)][t(468)](i);if(s[t(244)](n)){const i=e[t(203)][t(500)][t(500)][t(468)](t(211)),r=c[t(333)](i)||new Set;r[t(489)](s[t(333)](n)[t(208)]),c[t(254)](i,r)}}n=r[t(266)][e];for(const e of n)if(e[t(203)].is(t(451),t(199))){const s=this[t(226)](e),n=e[t(203)][t(468)](s);if(i[t(244)](n)){const s=e[t(203)][t(500)][t(500)][t(468)](t(211)),r=c[t(333)](s)||new Set;r[t(489)](i[t(333)](n)[t(208)]),c[t(254)](s,r)}}for(const e of c[t(349)]())(s[t(244)](e)||i[t(244)](e))&&c[t(495)](e)}for(const e of a){const n=r[t(257)][e];let o=null,a=null;for(const e of n){const n=this[t(226)](e),r=e[t(203)][t(468)](n),u=c[t(333)](r);u&&t(369)==e[t(233)]&&(o=Array[t(389)](u)[0],a=e[t(203)][t(468)](t(304))),o&&(i[t(254)](r,{userId:o}),s[t(254)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(266)][e],a=n[t(257)][e];for(const{userId:e}of this[t(360)][t(505)]())null!==e&&l[t(489)](e);for(const{userId:e}of this[t(437)][t(505)]())null!==e&&l[t(489)](e);this[t(466)](a,r[t(257)][e],s,t(318),l),this[t(466)](o,r[t(266)][e],i,t(339),l),u[e]={insertions:this[t(317)](a),deletions:this[t(317)](o),attachChange:this[t(437)][t(333)](e)||null,attributesBefore:A(this[t(420)][t(333)](e))||{},attributesAfter:A(this[t(248)][t(333)](e))}}return{diffData:u,authorsIds:Array[t(389)](l)}}[rt(241)](t){const e=rt;for(const[,i]of t[e(422)]){const t=i[e(236)][e(265)]()[e(188)]((t=>e(199)==t[e(271)]));for(const i of t)1==i[e(380)]&&i[e(193)](0).is(e(451),e(424))&&i[e(193)](0)[e(209)](e(335),!0)}}[rt(317)](t){const e=rt;this[e(241)](t);const i=this[e(323)][e(322)][e(508)](t,{}),s=Array[e(389)](i[e(438)]())[e(297)]((t=>this[e(419)](t)));return JSON[e(240)](s)}[rt(419)](t){const e=rt;if(t.is(e(245)))return t[e(322)];{const i=this[e(323)][e(294)][e(333)](e(300)),s=t,n=this[e(323)][e(322)][e(285)][e(372)],r={type:i[e(435)](s),name:s[e(271)],attributes:Array[e(389)](s[e(243)]()),children:Array[e(389)](s[e(438)]())[e(297)]((t=>this[e(419)](t)))};if(t.is(e(470))&&e(445)!=t[e(271)]){const i=t[e(327)](n[e(232)],n);r[e(274)][e(414)](i[e(214)])}else if(t.is(e(312))){const i=n[e(232)][e(357)](s[e(271)]);t[e(327)](i,n),r[e(274)][e(414)](i[e(441)])}const o=Array[e(389)](s[e(477)]());o[e(397)]>0&&(r[e(295)]=o);const a=s[e(280)]();return null!==a&&(r[e(186)]=a),r}}[rt(466)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(323)][r(377)];for(let s=0;s<e[r(397)];s++){const n=this[r(226)](e[s]),c=e[s][r(203)][r(468)](n),h=i[r(333)](c),d=s==e[r(397)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(208)]!=o[r(208)])&&(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(208)],d=l(341)+s+":"+h+":"+c++,f=u[l(259)](i,a);t[l(422)][l(254)](d,f),null!==h&&n[l(489)](h)}}[rt(226)](t){const e=rt;switch(t[e(233)]){case e(369):return e(211);case e(427):return e(304);default:return e(270)}}[rt(503)](t,e){const i=rt;t[i(400)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(333)](n[i(423)][i(366)]);t[s]=this[i(279)](n,r)}if(n instanceof H.Range){const r=e[i(333)](n[i(423)][i(366)]);t[s]=this[i(399)](n,r)}i(423)===s&&(t[i(423)]=e[i(333)](t[i(423)][i(366)]))}}[rt(399)](t,e){const i=rt;return this[i(323)][i(377)][i(259)](this[i(279)](t[i(236)],e),this[i(279)](t[i(309)],e))}[rt(279)](t,e){const i=rt;return this[i(323)][i(377)][i(250)](e,t[i(391)],t[i(476)])}[rt(493)](t){const e=rt,i=this[e(430)][e(333)](t[e(316)][e(423)][e(366)]),s=this[e(279)](t[e(316)],i),n=null===t[e(331)]?null:t[e(331)]||this[e(323)][e(294)][e(333)](e(473)).me.id,r=s[e(500)],o=this[e(384)],a=[];for(const i of t[e(491)])if(i.is(e(451)))a[e(414)](this[e(332)](i));else for(let t=0;t<i[e(234)];t++)a[e(414)](new H.Element(e(245),{vid:this[e(384)]++}));const c=this[e(384)];for(let t=o;t<c;t++)this[e(485)][e(254)](t,{userId:n});r[e(269)](s[e(230)],a)}[rt(328)](t){const e=rt;(t=this[e(404)](t,this[e(430)]))[e(447)]();const i=null===t[e(331)]?null:t[e(331)]||this[e(323)][e(294)][e(333)](e(473)).me.id,s=t[e(212)](),n=s[e(500)],r=s[e(230)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(193)](e);r.is(a(451),a(245))?s[a(254)](r[a(468)](a(270)),{userId:i}):(s[a(254)](r[a(468)](a(211)),{userId:i}),t(s,r,0,r[a(380)]),s[a(254)](r[a(468)](a(304)),{userId:i}))}}(this[e(485)],n,r,r+t[e(482)])}[rt(282)](t){const e=rt,i=null===(t=this[e(404)](t,this[e(430)]))[e(331)]?null:t[e(331)]||this[e(323)][e(294)][e(333)](e(473)).me.id,s=t[e(292)][e(500)],n=t[e(421)][e(500)],r=s[e(468)](e(304)),o=n[e(468)](e(211));s[e(209)](e(304),n[e(468)](e(304))),n[e(209)](e(304),r),this[e(485)][e(254)](o,{userId:i}),this[e(485)][e(254)](r,{userId:i}),t[e(447)]()}[rt(386)](t){const e=rt,i=null===(t=this[e(404)](t,this[e(430)]))[e(331)]?null:t[e(331)]||this[e(323)][e(294)][e(333)](e(473)).me.id,s=t[e(213)],n=t[e(284)][e(500)];t[e(447)]();const r=n[e(468)](e(304)),o=t[e(382)][e(481)];if(s){const t=o[e(468)](e(304)),s=n[e(468)](e(304));n[e(209)](e(304),t),o[e(209)](e(304),s),this[e(485)][e(254)](n[e(468)](e(304)),{userId:i}),this[e(485)][e(254)](o[e(468)](e(211)),{userId:i})}else{const t=this[e(384)]++,s=this[e(384)]++;n[e(209)](e(304),t),o[e(209)](e(211),s),o[e(209)](e(304),r),this[e(485)][e(254)](t,{userId:i}),this[e(485)][e(254)](s,{userId:i})}}[rt(196)](t){const e=rt;if(!t[e(370)])return;const i=(t=this[e(404)](t,this[e(471)]))[e(390)]?t[e(390)][e(423)]:null,s=t[e(392)]?t[e(392)][e(423)]:null;i&&this[e(395)][e(495)](t[e(271)]),s&&this[e(395)][e(254)](t[e(271)],t[e(392)][e(293)]());const n=null===t[e(331)]?null:t[e(331)]||this[e(323)][e(294)][e(333)](e(473)).me.id,r=t[e(271)];if(!this[e(360)][e(244)](r))return void this[e(360)][e(254)](r,{range:t[e(390)],userId:n});const o=this[e(360)][e(333)](r),a=o[e(197)],c=t[e(392)];null==a&&null==c||a&&c&&a[e(486)](c)?this[e(360)][e(495)](t[e(271)]):o[e(208)]=n}[rt(281)](t,e){const i=rt;this[i(471)][i(244)](t[i(366)])?this[i(471)][i(333)](t[i(366)])[i(450)]=t[i(460)]:(this[i(471)][i(254)](t[i(366)],ht(t[i(366)],!0)),this[i(248)][i(254)](t[i(366)],{}),e&&this[i(430)][i(254)](t[i(366)],ht(t[i(366)],!0)));const s=null===t[i(331)]?null:t[i(331)]||this[i(323)][i(294)][i(333)](i(473)).me.id,n=this[i(437)][i(333)](t[i(366)]);n&&n[i(208)]===s?this[i(437)][i(495)](t[i(366)]):this[i(437)][i(254)](t[i(366)],{userId:s,isAttached:t[i(460)]})}[rt(225)](t){const e=rt,i=this[e(248)][e(333)](t[e(423)][e(366)]);null===t[e(207)]?delete i[t[e(358)]]:i[t[e(358)]]=t[e(207)]}}function lt(t){const e=rt,i=ht(t[e(366)],t[e(436)]());for(const s of t[e(438)]()){const t=s[e(507)](!0);i[e(342)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(366)]=t,s[i(450)]=e,s[i(436)]=()=>s[i(450)],s}function dt(t,e,i){const s=rt,n=s(427)==t[s(233)]?i[s(283)](t[s(203)],s(309)):i[s(448)](t[s(203)]);return i[s(250)](e,n[s(391)],n[s(476)])}function ft(t,e,i){const s=rt,n=s(369)==t[s(233)]?i[s(283)](t[s(203)],0):i[s(290)](t[s(203)]);return i[s(250)](e,n[s(391)],n[s(476)])}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=Dt;function Vt(){const t=["setTemplate","input","reset","keystrokes","arrowright","3ZaCWeI","arrowdown","_createRevisionNameInput","ck-responsive-form","listenTo","196080iqATOg","focusTracker","render","element","220","1860880wghTsU","293524yMxFsB","trim","extendTemplate","revisionNameInputValue","2742516wFabVJ","arrowleft","focus","errorText","form","55DLqvVC","arrowup","ck-revision-history-save-revision-form","label","8tfuGhi","add","fieldView","revisionNameInputView","optional","135724tIbOJq","652680BlaMAu","locale","set","18MnYmNI","stopPropagation","revisionName","51315wVaOMN","Name of the revision","value"];return(Vt=function(){return t})()}function Dt(t,e){const i=Vt();return(Dt=function(t,e){return i[t-=149]})(t,e)}!function(t){const e=Dt,i=t();for(;;)try{if(187461===-parseInt(e(180))/1+-parseInt(e(160))/2*(parseInt(e(175))/3)+-parseInt(e(161))/4+parseInt(e(167))/5*(parseInt(e(164))/6)+-parseInt(e(186))/7*(parseInt(e(155))/8)+-parseInt(e(190))/9+parseInt(e(185))/10*(parseInt(e(151))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Mt extends pt.View{[At(181)];[At(173)];[At(158)];constructor(e,i){const s=At;super(e),this[s(181)]=new t.FocusTracker,this[s(173)]=new t.KeystrokeHandler,this[s(163)](s(189),""),this[s(158)]=this[s(177)](i),this[s(170)]({tag:s(150),attributes:{class:["ck",s(153),s(178)],tabindex:"-1"},children:[this[s(158)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(182)](){const t=At;super[t(182)](),(0,pt.submitHandler)({view:this}),this[t(181)][t(156)](this[t(158)][t(183)]),this[t(173)][t(179)](this[t(183)]);const e=e=>e[t(165)]();this[t(173)][t(163)](t(174),e),this[t(173)][t(163)](t(191),e),this[t(173)][t(163)](t(152),e),this[t(173)][t(163)](t(176),e)}[At(192)](){const t=At;this[t(158)][t(192)]()}get[At(166)](){const t=At;return this[t(158)][t(157)][t(183)][t(169)][t(187)]()}set[At(166)](t){const e=At;this[e(158)][e(157)][e(183)][e(169)]=t[e(187)]()}[At(172)](){const t=At;this[t(158)][t(157)][t(183)][t(169)]="",this[t(158)][t(149)]=null}[At(177)](t){const e=At,i=new pt.LabeledFieldView(this[e(162)],pt.createLabeledInputText),s=i[e(157)];s[e(188)]({attributes:{maxlength:e(184)}});let n=X(this[e(162)],e(168));return!t&&(n+=" ("+X(this[e(162)],e(159))+")"),i[e(154)]=n,s.on(e(171),(()=>{const t=e;this[t(189)]=s[t(183)][t(169)][t(187)]()})),i}}const Et=Ft;function Ct(){const t=["_showDialog","RevisionHistoryUI","addMany","6413304ZLqnZw","revisionNameInputView","revisionHistory.requireRevisionName","RevisionTracker","add","requires","isOfficialPlugin","menu","_createSaveRevisionFormView","revisionName","hide","show","isReadOnly","10399743eWYKkd","39pkhHxm","items","panelView","isPremiumPlugin","componentFactory","focus","get","role","Revision history","isReady","config","93892vEOaVW","bind","saveRevision","submit","Save current revision","The revision name cannot be empty.","reset","2830LCzoeJ","343csJFSS","showRevisionViewerCallback","revisionSave","plugins","editing","Open revision history","isOpen","editor","menuBar:revisionHistory","view","Dialog","6296375RLrVFd","locale","errorText","menuitem","_registerMenuComponent","isEnabled","Accept","122782VMzFaQ","8cDmwYE","children","buttonView","delegate","_saveRevisionFormView","ck-button-action","set","init","Cancel","pluginName","render","execute","4846ouJuBg","revisionHistory","6938211wXsxVQ"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=290]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(676597===parseInt(e(318))/1*(-parseInt(e(349))/2)+-parseInt(e(299))/3*(-parseInt(e(310))/4)+parseInt(e(329))/5+-parseInt(e(355))/6+-parseInt(e(351))/7+parseInt(e(337))/8*(-parseInt(e(298))/9)+parseInt(e(317))/10*(parseInt(e(336))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Lt extends U.Plugin{static get[Et(346)](){return Et(353)}static get[Et(291)](){return!0}static get[Et(302)](){return!0}static get[Et(290)](){return[ct]}[Et(341)];[Et(344)](){const t=Et,e=this[t(325)],i=e[t(321)][t(305)](t(358));e.ui[t(303)][t(359)](t(350),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(301)][n(338)],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(311)](n(334)).to(i,n(308),i,n(334),e,n(297),((t,e,i)=>t&&e&&!i)),r[n(339)][n(343)]({icon:mt.IconHistory,label:X(s,n(307)),tooltip:!0}),u[n(343)]({label:X(s,n(314)),withText:!0,role:n(332)}),u[n(311)](n(334)).to(i,n(308),i,n(334),e,n(297),((t,e,i)=>t&&e&&!i)),u.on(n(348),(()=>this[n(352)]())),h[n(343)]({label:X(s,n(323)),withText:!0,role:n(332)}),h[n(311)](n(334)).to(i,n(308),e,n(297),((t,e)=>t&&!e)),h.on(n(348),(()=>{const t=n;e[t(309)][t(305)](t(350))[t(319)](),r[t(324)]=!1,e[t(322)][t(327)][t(304)]()})),c[n(338)][n(359)](u),l[n(338)][n(359)](h),a[n(306)]=n(292),a[n(300)][n(354)]([c,l]),o[n(359)](a),r})),e.ui[t(303)][t(359)](t(326),(()=>this[t(333)]()))}[Et(333)](){const t=Et,e=this[t(325)],i=e[t(330)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(339)][t(343)]({icon:mt.IconHistory,label:X(i,t(307))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(343)]({label:X(i,t(314))}),o[t(340)](t(348)).to(s),o.on(t(348),(()=>{this[t(352)]()})),r[t(338)][t(359)](o),n[t(300)][t(359)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(343)]({label:X(i,t(323))}),c[t(340)](t(348)).to(s),c.on(t(348),(()=>{const i=t;e[i(309)][i(305)](i(350))[i(319)]()})),a[t(338)][t(359)](c),n[t(300)][t(359)](a),s[t(301)][t(338)][t(359)](n),s}[Et(352)](){const t=Et,e=this[t(325)],i=e[t(330)],s=e[t(321)][t(305)](t(328)),n=e[t(321)][t(305)](t(358));function r(n){const r=t;e[r(309)][r(305)](r(357))&&""===n[r(294)]?n[r(356)][r(331)]=X(i,r(315)):(e[r(321)][r(305)](ct)[r(312)]({name:n[r(294)]}),s[r(295)]())}this[t(341)]||(this[t(293)](),this[t(341)].on(t(313),(()=>r(this[t(341)])))),this[t(341)][t(316)](),s[t(296)]({id:t(320),title:X(i,t(314)),isModal:!0,content:this[t(341)],actionButtons:[{label:X(e[t(330)],t(345)),withText:!0,onExecute:()=>s[t(295)]()},{label:X(e[t(330)],t(335)),class:t(342),withText:!0,onCreate(i){const s=t;i[s(311)](s(334)).to(n,s(308),n,s(334),e,s(297),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(341)])}]})}[Et(293)](){const t=Et,e=this[t(325)],i=e[t(330)];this[t(341)]=new Mt(i,e[t(309)][t(305)](t(357))),this[t(341)][t(347)]()}}function jt(t,e){const i=zt();return(jt=function(t,e){return i[t-=498]})(t,e)}const Pt=jt;function zt(){const t=["ck-annotation","name","34Axlsku","Removed by","6CphNjX","author","changeId","data","ck-revision-change__label","6536817dMVatR","Added by","Suggested by","4501270tKJZID","bindTemplate","focus","ck-revision-change","5254548QPUTfG","29322loJISR","add","type","span","831220fVeCJm","div","setTemplate","6993GnaJFO","7272GIXJNp","isSuggestion","187wWVPDn","element","35286vctznE","ck-revision-change__","set","_model"];return(zt=function(){return t})()}!function(t){const e=jt,i=t();for(;;)try{if(708435===parseInt(e(507))/1+parseInt(e(513))/2*(-parseInt(e(528))/3)+-parseInt(e(527))/4+-parseInt(e(523))/5*(parseInt(e(515))/6)+parseInt(e(520))/7+parseInt(e(503))/8*(parseInt(e(502))/9)+parseInt(e(499))/10*(parseInt(e(505))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[Pt(517)];[Pt(510)];constructor(t,e){const i=Pt;super(t),this[i(510)]=e,this[i(517)]=e.id;const s=this[i(524)],n=X(t,e[i(518)][i(504)]?i(522):i(529)==e[i(530)]?i(521):i(514));this[i(509)](i(530),e[i(530)]),this[i(501)]({tag:i(500),attributes:{class:[i(511),i(526),s.to(i(530),(t=>i(508)+t))],tabindex:-1},children:[{tag:i(498),children:[{tag:i(498),attributes:{class:[i(519)]},children:[{text:n}]},{text:" "+e[i(516)][i(512)]}]}]})}[Pt(525)](){const t=Pt;this[t(506)][t(525)]()}}function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=363]})(t,e)}var Zt=Ut;function Ht(){var t=["4003960ElFZcT","3472980NTGFnm","author","4llHxdm","2753954hDefAJ","21753243RtTRIx","rootName","8gvnMcf","set","toJSON","1010017wDdnWz","1293710aVNvhA","42267UoxqeP","createdAt","data","type"];return(Ht=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(574606===-parseInt(e(377))/1+-parseInt(e(378))/2+-parseInt(e(363))/3+-parseInt(e(370))/4*(-parseInt(e(367))/5)+-parseInt(e(368))/6+-parseInt(e(371))/7*(parseInt(e(374))/8)+parseInt(e(372))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Zt(369)];[Zt(366)];[Zt(365)];[Zt(373)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(369)]=e[i(369)],this[i(366)]=e[i(366)],this[i(365)]=e[i(365)]||{},this[i(373)]=e[i(373)],this[i(375)](i(364),e[i(364)])}[Zt(376)](){var t=Zt;return{id:this.id,authorId:this[t(369)].id,type:this[t(366)],data:this[t(365)],createdAt:this[t(364)]}}}function $t(t,e){const i=Bt();return($t=function(t,e){return i[t-=383]})(t,e)}function Bt(){const t=["1048422txzIEi","3126403YGWnoH","oldRevisionId","_setChanges","42245EcMlmd","476704jSctHx","newRevisionId","422049nQRNNa","461907KpGmYT","260992ZeIwqF","40ZMhoAw","4xTmzHc","changes","8IQVktA","add"];return(Bt=function(){return t})()}const Jt=$t;!function(t){const e=$t,i=t();for(;;)try{if(244302===-parseInt(e(396))/1+parseInt(e(392))/2+-parseInt(e(394))/3*(parseInt(e(383))/4)+-parseInt(e(391))/5+parseInt(e(387))/6+-parseInt(e(388))/7*(-parseInt(e(385))/8)+parseInt(e(395))/9*(-parseInt(e(397))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Yt{[Jt(393)];[Jt(389)];[Jt(384)];constructor(e,i){const s=Jt;this[s(393)]=e,this[s(389)]=i,this[s(384)]=new t.Collection}[Jt(390)](t){const e=Jt;for(const i of t)this[e(384)][e(386)](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=ee;function Xt(){const t=["showNextChange","ck-revision-history-root-add","_cleanUp","revision:","split","bottom","_makeTape","_data","changeId","isBlock","_setChanges","elementToAttribute","_fixObsoleteTags","highest","index","suggestion:","getAttributes","ck-revision-history-root--active","type","_threeWayMerge","createPositionFromPath","modelRange","isEnabled","parent","authors","markers","wrap","2606429tZJIAy","_refreshStartEndIndex","getDomRoot","init","isCollapsed","_setConversion","isLimit","repository","isAfter","markersEnd","sort","downcastDispatcher","_findChangeIdFromDomTarget","dataDowncast","_appendChild","right","deletions","consumable","toViewPosition","set","ck-editor__editable__overlay","low","bind","isRemoveSuggestion","newRevisionId","domEvent","isRemoved","addRevisionData","_sortAndFilterDiffChanges","execute","shift","_changeView","target","revision-viewer","removeMarker","isAtEnd","detachRoot","isAddSuggestion","attributesAfter","values","isNavigationMode","removeMarker:revision-suggestion","mouseover","markersStart","vid_end","enableReadOnlyMode","element:pre","_getChangeFromId","config","getItems","isIncorrect","revisionHistoryAttachChange","_setDistance","refresh","add","isContent","span","attachChange","getRevision","checkAttribute","1837317feqMwE","revision","keys","enqueueChange","uiElement","getChild","mousedown","revision-suggestion","startIndex","unshift","markerNameToElements","_markInsertions","createAttributeElement","stop","42181gFkPCD","delete","getCustomProperty","isEqual","isAdded","range","affectsData","left","document","ck-suggestion-marker--active","nextSibling","observeMarkers","ck-revision-history-root-remove","-new","distance","commands","revision-suggestion:","top","_markMismatchedRemovedTags","level","editor","mapper","revisionHistoryLabel","currentChangeNumber","change:activeChange","filter","upcast","24aAWxkQ","isOnRoot","code","clear","adapter","_makeModelFromViewString","userId","change:activeView","name","includes","next","toViewElement","ck-suggestion-marker-split","_step","forEach","resolve","elementStart","revision-comment:","restoreRevision","showStack","addRoot","offsetSize","flat","get","toViewRange","showPreviousChange","removeMarker:revision","_removeMissingPairs","data-change-id","getClientRects","element","isSuggestion","editing","_getRevisionsRange","model","loadRevisionData","getRevisionRootsAttributes","isObject","push","_changeIdToChange","comment","ck-suggestion-preview-marker","createPositionBefore","editingDowncast","mapViewToDom","view","findIndex","consume","nextPosition","markerToHighlight","isBefore","data","ck-revision-history-root-","length","ck-suggestion-marker","listenTo","_initInteractions","getRoot","attribute:vid","slice","text","_removeUnsupportedChanges","abs","from","insert","forward","setAttribute","isReady","suggestion","pluginName","first","WidgetToolbarRepository","diff","bindElementToMarker","done","revisionHistory","start","requires","forceDisabled","splice","indexOf","unbindElementFromMarkerName","addMarker:revision-suggestion:deletion","all","restoreRevisionCallback","attributesBefore","isOfficialPlugin","removeAttribute","332416EVvspz","softBreak","_activeViewTarget","vid_start","viewItem","has","1046028JFWwRb","getLaterVisibleRevision","change:isEnabled","insertion","_markSuggestions","oldRevisionId","previousPosition","3430085nYUAXC","activeChange","end","change:isReady","markerToData","for","domConverter","1507162pIgZXG","createRevision","error","vid","_getDiff","elementEnd","getRevisionDocumentData","ck-suggestion-marker-","string","remove","plugins","updatePosition","schema","hasAttribute","_processTape","addMarker:revision-suggestion:insertion","return","high","item","object","createRangeIn","insertions","markerRange","getWalker","changes","_joinTapes","find","selection","writer","startsWith","_markMarkers","endIndex","markerName","rootName","createUIElement","addClass","diffData","getAttribute","concat","_getViewForChange","POSITIVE_INFINITY","addRevision","removeClass","RevisionsRepository","dataToMarker","isAttached","nodeAfter","addHighlight","roots","change:numberOfChanges","isInline","isPremiumPlugin","catch","backward","isAtStart","createRange","pop","reconvertMarker","change","maxOffset","ck-suggestion-marker-merge","hasClass","_update","locale","then","attributes","RevisionHistoryUtils","destroy","merge","RevisionViewer","_balloon","compare","test","side","map","deletion","_utils","conversion","_makeModelFromTape","ck-suggestion-preview-marker-","numberOfChanges","activeView","getRootNames","_revisions","getIndex","addMarker:revision","_cleanMarkers","pairId"];return(Xt=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(387985===parseInt(e(492))/1+-parseInt(e(627))/2+-parseInt(e(478))/3+parseInt(e(607))/4+parseInt(e(620))/5+-parseInt(e(613))/6+-parseInt(e(742))/7*(-parseInt(e(519))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class te extends U.Plugin{[Qt(749)];[Qt(523)]=null;[Qt(703)];[Qt(609)];[Qt(773)];[Qt(558)];[Qt(697)];static get[Qt(588)](){return Qt(696)}static get[Qt(605)](){return!0}static get[Qt(678)](){return!0}static get[Qt(596)](){return[Z.Users,pt.ContextualBalloon,J,Q]}constructor(t){const e=Qt;super(t),this[e(749)]=this[e(512)][e(637)][e(542)](e(670)),this[e(703)]=this[e(512)][e(637)][e(542)](e(693)),this[e(761)](e(621),null),this[e(761)](e(708),null),this[e(609)]=null,this[e(761)](e(591),null),this[e(761)](e(586),!1),this[e(761)](e(737),!0),this.on(e(615),((t,i,s)=>{const n=e;this[n(621)]=null,this[n(708)]=null,this[n(512)][n(551)][n(564)][n(685)]((t=>{const e=n;for(const i of this[e(512)][e(551)][e(564)][e(500)][e(675)])s?t[e(669)](e(762),i):t[e(662)](e(762),i)}))})),this[e(764)](e(458)).to(this,e(621),(t=>null!==t)),this[e(764)](e(515)).to(this,e(586),this,e(591),this,e(621),((t,i,s)=>t&&s?i[e(651)][e(711)](s):0)),this[e(764)](e(707)).to(this,e(586),this,e(591),((t,i)=>t?i[e(651)][e(572)]:0)),this[e(773)]=null,this[e(558)]=new Map,this[e(697)]=this[e(512)][e(637)][e(542)](pt.ContextualBalloon)}[Qt(745)](){const t=Qt,e=this[t(512)],i=new ne(e,{direction:t(680)}),s=new ne(e,{direction:t(584)});e[t(507)][t(472)](t(544),i),e[t(507)][t(472)](t(715),s),e[t(507)][t(472)](t(537),new se(e)),this.on(t(676),(()=>{const e=t;i[e(471)](),s[e(471)]()})),this[t(747)](),this[t(575)](),e[t(463)](t(775)),e[t(637)][t(612)](t(590))&&e[t(637)][t(542)](t(590))[t(597)](t(775))}async[Qt(633)](t){const e=Qt;return await this[e(703)][e(554)](t,this[e(523)]),this[e(703)][e(633)](t)}async[Qt(555)](t){const e=Qt;return await this[e(703)][e(554)](t,this[e(523)]),this[e(703)][e(555)](t)}async[Qt(698)](t,e,i=!1){const s=Qt;if(!this[s(737)])return;const n=this[s(591)],r=this[s(749)],o=s(635)==typeof t?r[s(476)](t):t,a=s(635)==typeof e?r[s(476)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(591)]&&this[s(591)][s(766)]===c&&this[s(591)][s(618)]===u)return Promise[s(534)]();this[s(586)]=!1,this[s(708)]=null,this[s(621)]=null,this[s(591)]=new Yt(c,u);const l=this[s(552)](o,a,!0)[s(701)]((t=>this[s(703)][s(554)](t,this[s(523)])));return l[s(557)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(602)](l)[s(691)]((()=>{const t=s;if(!this[t(737)])return;this[t(717)]();const e=this[t(631)](c,u);for(const i of e[t(651)])this[t(558)][t(761)](i.id,i);this[t(512)][t(553)][t(481)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(512)][s(553)][s(500)][s(709)]())i[s(778)](t);for(const t of Object[s(480)](e[s(553)])){const n=i[s(539)](t);for(const r of Object[s(480)](e[s(692)][t]))i[s(585)](r,e[s(692)][t][r],n);i[s(583)](e[s(553)][t],n,0)}})),this[t(591)][t(725)](this[t(770)](e[t(651)])),this[t(586)]=!0}))[s(679)]((t=>{const e=s;console[e(629)](t),this[e(717)](),n&&(this[e(591)]=n),this[e(586)]=!0}))}[Qt(769)](t,e){const i=Qt,s=this[i(749)][i(628)](t);return s.on(i(689),((t,i,n)=>e(i,n,s))),this[i(749)][i(668)](s),s}[Qt(717)](){const t=Qt;this[t(621)]=null,this[t(713)](),this[t(773)]&&this[t(773)][t(694)](),this[t(773)]=null,this[t(558)][t(522)](),this[t(512)][t(553)][t(481)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(512)][i(553)][i(500)][i(709)]())e[i(778)](t)}))}[Qt(770)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(512)][e(553)][e(500)][e(709)]()){const n=this[e(512)][e(551)][e(564)][e(744)](t);if(!n)continue;const r=n[e(548)]()[e(645)](0);r&&(i[e(557)](t),s[e(761)](t,r))}return i[e(752)](((t,i)=>{const n=e,r=s[n(542)](t),o=s[n(542)](i);return r.y-o.y||r.x-o.x})),(t=t[e(517)]((t=>i[e(528)](t[e(660)]))))[e(752)](((t,s)=>i[e(599)](t[e(660)])-i[e(599)](s[e(660)]))),t}[Qt(721)](t){const e=Qt,i=Array[e(582)](t[e(740)])[e(517)]((([t,i])=>t[e(656)](e(718))&&!i[e(746)])),s=Array[e(582)](this[e(512)][e(553)][e(647)](t)[e(650)]({singleCharacters:!0}));if(0!=i[e(572)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(719)](":");if(n[e(622)][e(495)](t[e(567)])&&i[e(772)](),(t[e(619)][e(495)](n[e(595)])||t[e(619)][e(750)](n[e(595)]))&&(e(616)==r?t[e(496)]={userId:o}:e(702)==r&&(t[e(768)]={userId:o})),0==i[e(572)])break}return s}[Qt(743)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(572)];s++)e(579)===t[s][e(733)]?(t[s][e(645)][e(486)]=s,t[s][e(645)][e(658)]=s):(e(535)===t[s][e(733)]?t[s][e(645)][e(486)]=s:e(632)===t[s][e(733)]&&(t[s][e(645)][e(658)]=s),i[e(761)](t[s].id,s));for(const s of i[e(457)]())e(535)===t[s][e(733)]?t[s][e(645)][e(658)]=i[e(542)](t[s][e(714)]):e(632)===t[s][e(733)]&&(t[s][e(645)][e(486)]=i[e(542)](t[s][e(714)]))}[Qt(641)](t){const e=Qt;for(let i=0;i<t[e(572)];i++){if(e(535)===t[i][e(733)])t[i][e(645)][e(486)]=i;else if(e(632)===t[i][e(733)]){t[i][e(645)][e(658)]=i;const s=t[i][e(645)][e(486)];t[s][e(714)]=t[i].id,t[i][e(714)]=t[s].id}else t[i][e(645)][e(486)]=i,t[i][e(645)][e(658)]=i,t[i][e(714)]=null;t[i][e(461)]||(t[i][e(461)]=[],t[i][e(751)]=[])}}[Qt(489)](t,e){const i=Qt,s=t[i(517)]((t=>!t[i(496)]));for(let t=0;t<e[i(572)];t++)e[t][i(496)]&&(s[t][i(496)]=e[t][i(496)])}[Qt(631)](t,e=null){const i=Qt,s=this[i(749)][i(476)](t),n=e?this[i(749)][i(476)](e):null,r=this[i(552)](s,n),o=r[r[i(572)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(572)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(480)](e[i(663)]))if(e[i(663)][t][i(475)]){const s=e[i(663)][t][i(475)];s[i(672)]?(u[i(472)](t),l[i(612)](t)&&l[i(542)](t)[i(525)]==s[i(525)]?l[i(493)](t):l[i(761)](t,s)):l[i(612)](t)?(u[i(493)](t),l[i(493)](t)):(u[i(472)](t),l[i(761)](t,s))}else u[i(472)](t)}for(const t of u){const e=l[i(612)](t)&&!l[i(542)](t)[i(672)];let s=e?r[i(572)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(663)][t]){const s=e?o[i(663)][t][i(604)]:o[i(663)][t][i(780)];c[i(692)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(553)]={};for(const e of t[i(739)])a[i(761)](e.id,e);for(const e of u){const s=t[i(663)][e]?t[i(663)][e][i(648)]:"[]",n=t[i(663)][e]?t[i(663)][e][i(758)]:"[]";t[i(553)][e]={insertions:this[i(703)][i(524)](s),deletions:this[i(703)][i(524)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(582)](s[i(553)][t][i(648)][i(740)])[i(517)]((([t])=>!t[i(656)](i(718)))));let h=0;for(const o of r){const r=this[i(721)](o[i(553)][t][i(648)]);o==s?(e=r,n=e[i(572)],e[i(533)]((t=>{t.id=h++})),this[i(641)](e)):this[i(489)](e,r);const a=e[i(517)]((t=>!t[i(496)]))[i(701)]((t=>t.id));let c=0;const l=this[i(721)](o[i(553)][t][i(758)]);l[i(533)]((t=>{t[i(768)]?t.id=n++:t.id=a[c++]})),this[i(641)](l),this[i(470)](e,i(496)),this[i(470)](l,i(768)),o==s&&this[i(657)](e,u),e=this[i(652)](e,l),this[i(743)](e),this[i(470)](e,i(768))}e=e[i(517)]((t=>!(t[i(496)]&&t[i(768)])));const d=new Map(o[i(553)][t][i(758)][i(740)]),f=new Set(u[i(480)]());for(const t of d[i(480)]())f[i(493)](t);this[i(617)](e,f),this[i(727)](e),e=this[i(546)](e),e=this[i(510)](e),e=this[i(580)](e);const{root:m,changes:p}=this[i(705)](e,a,t);c[i(553)][t]=m;const v=l[i(542)](t);if(v){const e=a[i(542)](v[i(525)]),s=new qt({author:e,type:v[i(672)]?i(472):i(636),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(487)](s),c[i(692)][t][i(469)]=s.id}c[i(651)]=c[i(651)][i(665)](p)}return c}[Qt(657)](t,e){const i=Qt;for(let s=0;s<t[i(572)];s++)for(const[n,r]of e)!r[i(746)]&&r[i(595)][i(495)](t[s][i(619)])&&t[s][i(461)][i(557)](n),r[i(622)][i(495)](t[s][i(567)])&&t[s][i(751)][i(557)](n)}[Qt(652)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(572)]||r<e[i(572)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(557)](o);else if(a[i(768)]&&o[i(496)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(734)](t,n,e,r);s=s[i(665)](o),n=a,r=c}else a[i(768)]?(r++,s[i(557)](a)):(n++,s[i(557)](o))}return s}[Qt(617)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(572)];o++){for(let r=0;r<t[o][i(461)][i(572)];r++){const a=t[o][i(461)][r];if(!e[i(612)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(485)!=c||i(616)!=u&&i(702)!=u||(s[i(487)]({type:u,name:a,userId:l}),t[o][i(461)][i(598)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(751)][i(572)];r++){const a=t[o][i(751)][r];if(!e[i(612)](a))continue;const{group:c,type:u}=n(a);if(i(485)!=c||i(616)!=u&&i(702)!=u)continue;t[o][i(751)][i(598)](r,1),r--;const l=s[i(565)]((t=>t[i(527)]==a));l>-1&&s[i(598)](l,1)}}function n(t){const e=i,s=t[e(719)](":");return{group:s[0],type:s[1],subType:s[e(572)]>=5?s[2]:null,id:s[e(572)]<5?s[2]:s[3],authorId:s[e(572)]<5?s[3]:s[4],markerCount:6==s[e(572)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(572)];i++){if(t[e(496)]&&e(616)==s[i][e(733)])return t[e(779)]=s[i],void delete t[e(496)];if(!t[e(496)]&&!t[e(768)]&&e(702)==s[i][e(733)])return void(t[e(765)]=s[i])}}}[Qt(470)](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(761)](o.id,s);for(let s=0;s<t[i(572)];s++){if(i(768)==e&&t[s][i(496)]||i(496)==e&&t[s][i(768)])continue;if(i(579)==t[s][i(733)]){t[s][i(506)]=0;continue}const n=r[i(542)](t[s][i(714)]),o=r[i(542)](t[s].id);t[s][i(506)]=n-o}}[Qt(552)](t,e,i=!1){const s=Qt,n=[];let r=this[s(749)][s(711)](t),o=this[s(749)][s(711)](e);for(-1==o&&(o=this[s(749)][s(710)][s(572)],i=!1);r<o;)n[s(557)](this[s(749)][s(476)](r)),r++;return i&&n[s(557)](this[s(749)][s(476)](r)),n}[Qt(734)](t,e,i,s){const n=Qt,r=this[n(512)][n(553)][n(639)];let o=e;for(;t[o]&&t[o][n(496)];)o++;let a=s;for(;i[a]&&i[a][n(768)];)a++;u(t,e,o),u(i,s,a);const c=i[n(578)](s,a)[n(665)](t[n(578)](e,o));return c[n(752)](((t,e)=>t[n(700)]!=e[n(700)]?t[n(700)]-e[n(700)]:t[n(511)]!=e[n(511)]?t[n(511)]-e[n(511)]:t[n(506)]!=e[n(506)]?e[n(506)]-t[n(506)]:!!t[n(496)]!=!!e[n(496)]?-1==t[n(700)]||0==t[n(700)]?t[n(496)]?-1:1:t[n(496)]?1:-1:t[n(729)]-e[n(729)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(667)],c=!0;for(let n=e;n<i;n++)if(r[s(677)](t[n][s(645)])||(c=!1),t[n][s(645)][s(486)]<e&&(o=n),t[n][s(645)][s(658)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(700)]=n<=o?-1:n<a?0:1,t[n][s(729)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(506)]?t[i][s(511)]=u:(u++,t[i][s(511)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(700)]&&(t[n][s(511)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(506)]?t[e][s(511)]=u:(u--,t[e][s(511)]=u,u--)}}[Qt(727)](t){const e=Qt,i=new Map,s=this[e(512)][e(553)][e(639)];for(let n=1;n<t[e(572)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(579)==c[e(733)])continue;if(c[e(733)]!=u[e(733)])continue;if(!s[e(724)](u[e(645)])||s[e(748)](u[e(645)]))continue;if(!s[e(724)](c[e(645)])||s[e(748)](c[e(645)]))continue;if((t[n][e(496)]||t[n][e(779)])&&t[n-1][e(768)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(768)]||!t[n-1][e(496)]&&!t[n-1][e(779)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(511)]==o[e(511)],h=Math[e(581)](r[e(511)])<Math[e(581)](o[e(511)])&&0==o[e(506)];(l||h)&&(i[e(761)](o.id,r.id),t[e(598)](a,1),n--,r[e(496)]=!1)}for(let s=0;s<t[e(572)];s++)i[e(612)](t[s][e(714)])&&(t[s][e(714)]=i[e(542)](t[s][e(714)]))}[Qt(546)](t){const e=Qt,i=new Set(t[e(701)]((t=>t.id)));for(let s=0;s<t[e(572)];s++)i[e(612)](t[s][e(714)])||0==t[s][e(506)]||(t[s][e(468)]=!0);return t[e(517)]((t=>!t[e(468)]))}[Qt(510)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(572)];s++){if(i[e(612)](t[s].id)&&t[s][e(768)]&&(t[s][e(468)]=!0),t[s][e(468)])continue;if(0==t[s][e(506)])continue;if(e(535)!=t[s][e(733)])continue;if(null==t[s][e(714)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(714)];)e(535)==t[n][e(733)]?r++:e(632)==t[n][e(733)]&&r--,n++;if(0!=r)if(t[s][e(768)])t[s][e(468)]=!0;else for(;n!=s;)t[n][e(768)]&&0!=t[n][e(506)]&&(t[n][e(468)]=!0,i[e(472)](t[n][e(714)])),n--}return t[e(517)]((t=>!t[e(468)]))}[Qt(580)](t){const e=Qt,i=this[e(512)][e(553)][e(639)];for(let s=0;s<t[e(572)];s++){if(!(t[s][e(496)]||t[s][e(779)]||t[s][e(768)]||t[s][e(765)]))continue;if(0==t[s][e(506)])continue;const n=t[s][e(645)];i[e(724)](n)||i[e(748)](n)||(t[s][e(496)]&&delete t[s][e(496)],t[s][e(779)]&&delete t[s][e(779)],t[s][e(765)]&&delete t[s][e(765)],t[s][e(768)]&&(t[s][e(468)]=!0))}return t[e(517)]((t=>!t[e(468)]))}[Qt(705)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(512)][s(553)],c=a[s(639)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(572)];e++)if(s(535)===t[e][s(733)]){t[e][s(619)]=a[s(735)](n,f);const i=new H.Element(t[e][s(645)][s(527)],t[e][s(645)][s(731)]());u[0][s(756)](i),f[s(557)](0),u[s(487)](i),t[e][s(567)]=a[s(735)](n,f)}else s(632)===t[e][s(733)]?(u[s(772)](),t[e][s(619)]=a[s(735)](n,f),f[s(683)](),f[f[s(572)]-1]++,t[e][s(567)]=a[s(735)](n,f)):(t[e][s(619)]=a[s(735)](n,f),d?d[s(722)]+=t[e][s(645)][s(570)]:d=new H.Text(t[e][s(645)][s(570)],t[e][s(645)][s(731)]()),t[e+1]&&s(579)===t[e+1][s(733)]&&v(d,t[e+1][s(645)])||(u[0][s(756)](d),d=null),f[f[s(572)]-1]+=t[e][s(645)][s(540)],t[e][s(567)]=a[s(735)](n,f));for(let e=0;e<t[s(572)];e++){const i=t[e][s(619)],n=t[e][s(567)];for(const n of t[e][s(461)])o[s(761)](n,{start:i,end:null});m(s(765),e,i,n),m(s(779),e,i,n),m(s(768),e,i,n),m(s(496),e,i,n);for(const i of t[e][s(751)]){const t=o[s(542)](i);t?t[s(622)]=n:o[s(761)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(512)][s(553)][s(682)](e[s(595)],e[s(622)]);n[s(740)][s(761)](t,i)}return r[s(752)](((t,e)=>{const i=s,r=n[i(740)][i(542)](i(718)+t.id),o=n[i(740)][i(542)](i(718)+e.id);return r[i(595)][i(569)](o[i(595)])?-1:r[i(595)][i(750)](o[i(595)])?1:r[i(622)][i(569)](o[i(622)])?-1:r[i(622)][i(750)](o[i(622)])?1:i(472)===t[i(733)]?-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(525)]:null,d=i===t[o(572)]-1,f=h[e][0],m=c[o(556)](t[i][o(645)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(622)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(525)]!==u&&(l[e][o(622)]=n,f&&f[o(525)]===l[e][o(525)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(535)!==t[i][o(733)]||f&&f[o(525)]===u||h[e][o(487)]({userId:u,object:t[i][o(645)],change:l[e]}),o(632)===t[i][o(733)]&&f&&f[o(646)]===t[i][o(645)]&&(h[e][o(772)](),l[e]=f[o(685)])),l[e]&&d&&(l[e][o(622)]=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(645)],f=a[h(639)][h(724)](d)&&!a[h(639)][h(748)](d),m=t[h(673)]==o[h(738)]&&o[h(681)];if(f&&m)return;const p=a[h(682)](t,o),v=e[h(542)](u),g=new qt({author:v,type:h(496)==l||h(779)==l?h(472):h(636),data:{isSuggestion:h(779)==l||h(765)==l},createdAt:new Date,rootName:i});r[h(557)](g),n[h(740)][h(761)](h(718)+g.id,p)}function v(t,e){const i=s,n=t[i(731)](),r=e[i(731)]();for(const t of n){if(t[1]!==e[i(664)](t[0]))return!1;r[i(529)]()}return r[i(529)]()[i(593)]}}[Qt(747)](){const t=Qt;this[t(512)][t(704)][t(625)](t(518))[t(671)]({view:t(479)}),this[t(512)][t(704)][t(625)](t(562))[t(568)]({model:t(479),view:e=>{const i=t,s=e[i(659)][i(719)](":")[1],n=this[i(465)](s);if(!n)return null;const r=i(472)==n[i(733)]?i(616):i(702),o=[i(573),i(634)+r];return n[i(570)][i(550)]&&o[i(557)](i(634)+r+i(505)),this[i(621)]==n&&o[i(557)](i(501)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(512)][t(704)][t(625)](t(518))[t(472)]((e=>{const i=t;e.on(i(464),((t,e,s)=>{const n=i,r=e[n(611)][n(483)](0);if(!r||!r.is(n(549),n(521)))return;if(!s[n(759)][n(566)](r,{attributes:[n(610),n(462)]}))return;const o=e[n(736)][n(595)][n(673)];s[n(655)][n(585)](n(610),r[n(664)](n(610)),o),s[n(655)][n(585)](n(462),r[n(664)](n(462)),o)}),{priority:i(763)})})),this[t(512)][t(704)][t(625)](t(518))[t(472)]((e=>{const i=t;e.on(i(549),((t,e,s)=>{const n=i;if(!s[n(759)][n(566)](e[n(611)],{attributes:[n(610),n(462)]}))return;if(e[n(736)][n(746)])return;const r=e[n(736)][n(595)][n(673)];r[n(640)](n(610))||r[n(640)](n(630))||(s[n(655)][n(585)](n(610),e[n(611)][n(664)](n(610)),r),s[n(655)][n(585)](n(462),e[n(611)][n(664)](n(462)),r))}),{priority:i(763)})})),this[t(512)][t(704)][t(625)](t(518))[t(726)]({view:{name:t(474),attributes:{vid:!0}},model:{key:t(630),value:e=>e[t(664)](t(630))}}),this[t(512)][t(553)][t(639)].on(t(477),((e,[,i])=>{const s=t;[s(610),s(462),s(630)][s(528)](i)&&(e[s(643)]=!0,e[s(491)]())}),{priority:t(728)}),this[t(512)][t(704)][t(625)](t(755))[t(472)]((e=>{const i=t;e.on(i(577),((t,e,s)=>{const n=i;if(" "!=e[n(645)][n(570)]||e[n(645)][n(738)][n(686)]>1)return;if(!s[n(759)][n(566)](e[n(645)],t[n(527)]))return;const r=s[n(655)],o=s[n(513)][n(543)](e[n(497)]);r[n(741)](o,r[n(490)](n(474)))}))})),this[t(512)][t(704)][t(625)](t(755))[t(624)]({model:t(479)}),this[t(512)][t(551)][t(753)].on(t(712),function(e){const i=t,s=e[i(637)][i(542)](i(696));return(t,n,r)=>{const o=i,a=n[o(659)][o(719)](":")[1],c=s[o(465)](a);if(!c)return null;const u=o(472)==c[o(733)]?o(719):o(695);if(!r[o(759)][o(699)](n[o(649)],t[o(527)]))return;const l=n[o(649)][o(650)](),h=n[o(649)][o(595)],d=e[o(553)][o(639)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(645)];p=p||d[o(473)](e);const i=r[o(513)][o(530)](e);if(i&&i[o(494)](o(674)))return;o(632)==t[o(733)]&&d[o(724)](e)&&!d[o(748)](e)&&(e[o(502)]||h[o(777)]?f&&f[o(738)]==e||(f=e,g(t[o(619)]),v=!0):m=m||t[o(619)])}function g(t){const e=o,i=r[e(655)][e(661)](e(474),{class:e(634)+u}),a=r[e(513)][e(760)](t);c[e(570)][e(550)]&&r[e(655)][e(662)](e(634)+u+e(505),i),s[e(621)]==c&&r[e(655)][e(662)](e(501),i),r[e(655)][e(583)](a,i),r[e(513)][e(592)](i,n[e(659)])}p||v||!m||g(m)}}(this[t(512)]),{priority:t(644)}),this[t(512)][t(551)][t(753)].on(t(545),((e,i,s)=>{const n=t,r=s[n(513)][n(488)](i[n(659)]);if(r)for(const t of r)(t[n(688)](n(531))||t[n(688)](n(687)))&&(s[n(513)][n(600)](t,i[n(659)]),s[n(655)][n(636)](t))}),{priority:t(644)}),this[t(512)][t(551)][t(753)].on(t(712),((e,i,s)=>{const n=t,r=i[n(659)][n(719)](":")[1],o=this[n(465)](r);if(!o)return null;const a=n(472)==o[n(733)]?n(719):n(695);if(s[n(759)][n(699)](i[n(649)],e[n(527)]))for(const t of i[n(649)][n(467)]()){if(!t.is(n(549),n(608)))continue;const e=s[n(655)][n(661)](n(474),{class:n(634)+a}),r=s[n(513)][n(760)](this[n(512)][n(553)][n(561)](t));o[n(570)][n(550)]&&s[n(655)][n(662)](n(634)+a+n(505),e),this[n(621)]==o&&s[n(655)][n(662)](n(501),e),s[n(655)][n(583)](r,e),s[n(513)][n(592)](e,i[n(659)])}}),{priority:t(644)}),this[t(512)][t(553)][t(500)].on(t(685),(()=>{const e=t;this[e(512)][e(551)][e(564)][e(685)]((t=>{const i=e;for(const e of this[i(512)][i(553)][i(500)][i(709)]()){const s=this[i(512)][i(553)][i(500)][i(576)](e),n=this[i(512)][i(551)][i(564)][i(500)][i(576)](e);if(n){const e=s[i(664)](i(469));if(t[i(606)](i(547),n),t[i(669)](i(716),n),t[i(669)](i(504),n),t[i(669)](i(732),n),e){const s=this[i(465)](e);if(!s)return null;t[i(585)](i(547),e,n),t[i(662)](i(571)+s[i(733)],n),this[i(621)]==s&&t[i(662)](i(732),n)}}}}))})),this[t(512)][t(704)][t(625)](t(518))[t(671)]({view:t(559),model:e=>t(536)+e,converterPriority:t(728)}),this[t(512)][t(704)][t(625)](t(518))[t(671)]({view:t(587),model:e=>t(508)+e,converterPriority:t(728)}),this[t(512)][t(704)][t(625)](t(755))[t(624)]({model:t(485),view:e=>({name:t(730)+e,group:t(485)}),converterPriority:t(728)}),this[t(512)][t(704)][t(625)](t(562))[t(568)]({model:t(485),view:e=>{const i=t,s=e[i(659)][i(719)](":")[1];return i(616)!=s&&i(702)!=s?null:{classes:[i(560),i(706)+s]}}}),this[t(512)][t(551)][t(753)].on(t(601),ie(this[t(512)],t(695)),{priority:t(644)}),this[t(512)][t(551)][t(753)].on(t(642),ie(this[t(512)],t(719)),{priority:t(644)}),this[t(512)][t(551)][t(753)].on(t(459),((e,i,s)=>{const n=t,r=s[n(513)][n(488)](i[n(659)]);if(r)for(const t of r)t.is(n(482))&&(s[n(513)][n(600)](t,i[n(659)]),s[n(655)][n(636)](t))}),{priority:t(644)})}[Qt(465)](t){const e=Qt;return this[e(558)][e(542)](t)}[Qt(666)](t){const e=Qt;return this[e(773)]&&this[e(773)][e(694)](),this[e(773)]=new Wt(this[e(512)][e(690)],t),this[e(773)]}[Qt(575)](){const t=Qt;this[t(512)][t(553)][t(500)][t(654)][t(503)](t(479)),this.on(t(526),((e,i,s,n)=>{const r=t;n&&this[r(697)][r(636)](n),s&&(this[r(697)][r(472)]({view:s,stackId:r(514),position:{target:()=>{const t=r,e=this[t(512)][t(551)],i=this[t(465)](s[t(723)]);let n;if(i[t(570)][t(520)]){const s=e[t(564)][t(744)](i[t(660)]);n=Array[t(582)](s[t(548)]())}else{const i=this[t(512)][t(553)][t(740)][t(542)](t(718)+s[t(723)]);n=Array[t(582)](e[t(513)][t(488)](i[t(527)]))[t(701)]((i=>e[t(564)][t(626)][t(563)](i)))[t(701)]((e=>Array[t(582)](e[t(548)]())))[t(541)]()}return this[t(609)]&&n[t(653)]((e=>e[t(509)]-3<=this[t(609)].y&&e[t(720)]+3>=this[t(609)].y&&e[t(499)]-3<=this[t(609)].x&&e[t(757)]+3>=this[t(609)].x))||n[0]}}}),this[r(697)][r(538)](r(514)))})),this.on(t(516),((e,i,s,n)=>{const r=t;this[r(708)]=s?this[r(666)](s):null,this[r(512)][r(553)][r(685)]((()=>{const t=r,e=this[t(512)][t(551)];n&&(n[t(570)][t(520)]?e[t(564)][t(685)]((i=>{const s=t;i[s(669)](s(732),e[s(564)][s(500)][s(576)](n[s(660)]))})):e[t(684)](t(718)+n.id)),s&&(s[t(570)][t(520)]?e[t(564)][t(685)]((i=>{const n=t;i[n(662)](n(732),e[n(564)][n(500)][n(576)](s[n(660)]))})):e[t(684)](t(718)+s.id))}))})),this[t(574)](this[t(512)][t(551)][t(564)][t(500)],t(460),((e,i)=>{const s=t;if(this[s(621)])return;const n=this[s(754)](i[s(774)]),r=this[s(558)][s(542)](n);r?(this[s(609)]={x:i[s(767)].x,y:i[s(767)].y},this[s(708)]=this[s(666)](r)):(this[s(609)]=null,this[s(708)]=null)})),this[t(574)](this[t(512)][t(551)][t(564)][t(500)],t(484),((e,i)=>{const s=t,n=this[s(754)](i[s(774)]),r=this[s(558)][s(542)](n);r?(this[s(609)]={x:i[s(767)].x,y:i[s(767)].y},r===this[s(621)]?this[s(697)][s(638)]():this[s(621)]=r):(this[s(609)]=null,this[s(621)]=null)}))}[Qt(754)](t){const e=Qt;do{const i=t[e(664)](e(547));if(i)return i;t=t[e(738)]}while(t);return null}[Qt(713)](){const t=Qt;this[t(512)][t(553)][t(685)]((e=>{const i=t;for(const t of this[i(512)][i(553)][i(740)])e[i(776)](t)}))}}function ee(t,e){const i=Xt();return(ee=function(t,e){return i[t-=457]})(t,e)}function ie(t,e){return(i,s,n)=>{const r=ee;if(!n[r(759)][r(699)](s[r(649)],i[r(527)]))return;const o=s[r(649)][r(650)](),a=s[r(649)][r(595)],c=t[r(553)][r(639)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(645)];h=h||c[r(473)](e);const i=n[r(513)][r(530)](e);if(i&&i[r(494)](r(674)))return;r(632)==t[r(733)]&&c[r(724)](e)&&!c[r(748)](e)&&(e[r(502)]||a[r(777)]?u&&u[r(738)]==e||(u=e,f(t[r(619)]),d=!0):l=l||t[r(619)])}function f(t){const i=r,o=n[i(513)][i(760)](t),a=n[i(655)][i(661)](i(474),{class:i(706)+e});n[i(655)][i(583)](o,a),n[i(513)][i(592)](a,s[i(659)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(637)][e(542)](te);this[e(498)]=!1,this[e(574)](i,e(623),(()=>this[e(471)]())),this[e(574)](i,e(615),(()=>this[e(471)]()))}[Qt(771)](){const t=Qt,e=this[t(512)],i=e[t(637)][t(542)](te),s=i[t(586)]?i[t(591)][t(766)]:null;e[t(466)][t(542)](t(594))[t(603)](s)}[Qt(471)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(512)][t(637)][t(542)](te),r=n&&s[t(614)](n[t(766)]);this[t(737)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(532)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(637)][i(542)](te);this[i(498)]=!1,this[i(532)]=i(584)===e?1:-1,this[i(574)](s,i(623),(()=>this[i(471)]())),this[i(574)](s,i(615),(()=>this[i(471)]())),this[i(574)](s,i(516),(()=>this[i(471)]()))}[Qt(771)](){const e=Qt,i=this[e(512)],s=i[e(637)][e(542)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(621)]=n?s[e(591)][e(651)][e(542)](r+this[e(532)]):s[e(591)][e(651)][e(589)],s[e(621)][e(570)][e(520)])o=i[e(551)][e(564)][e(744)](s[e(621)][e(660)]);else{const t=i[e(553)][e(740)][e(542)](e(718)+s[e(621)].id);o=(0,Z.getMarkerDomElement)(i[e(551)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(471)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(512)][t(637)][t(542)](te);this[t(737)]=!!(r&&n&&s)&&(!e||(1===this[t(532)]?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(){const t=["X_OF_Y_CHANGES","17249mFZHjt","isNavigationMode","3137400LPvdpK","ck-revision-history-ui__changes-navigation__navigation","div","bind","8118YkapAq","4ObiCGo","610WoYzSZ","ck-hidden","ck-revision-history-ui","368jEcmBa","isBackwardNavigationEnabled","forward","_statusText","span","backward","EDIT_X_OF_Y_REVISIONS","No changes","fire","bindTemplate","ck-revision-history-ui__changes-navigation__label","isForwardNavigationEnabled","1314BGaxwd","128rhoTNC","isEnabled","numberOfChanges","1440666mVgXKD","set","ck-revision-history-ui__changes-navigation__wrapper","NUMBER_OF_CHANGES","Show previous change","Show next change","Total","Loading...","10479pwxflr","currentChangeNumber","_isStatusLabelVisible","141977nDYWZJ","isReady","execute","506005XVaOGQ","ck-revision-history-ui__changes-navigation","setTemplate"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=436]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(587745===parseInt(e(454))/1*(parseInt(e(478))/2)+parseInt(e(436))/3+-parseInt(e(461))/4*(parseInt(e(450))/5)+parseInt(e(477))/6*(-parseInt(e(444))/7)+-parseInt(e(465))/8*(parseInt(e(460))/9)+parseInt(e(462))/10*(-parseInt(e(447))/11)+parseInt(e(456))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(474)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(437)](e(455),!1),this[e(437)](e(448),!1),this[e(437)](e(445),0),this[e(437)](e(480),0),this[e(437)](e(476),!1),this[e(437)](e(466),!1),this[e(459)](e(446)).to(this,e(448),this,e(480),((t,e)=>t&&e>0)),this[e(459)](e(468)).to(this,e(448),this,e(445),this,e(480),this,e(455),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(443));if(!n)return X(t,o(472));const a=X(t,o(439),n);return r?X(t,o(453),[s+1,n]):a})),s[e(437)]({label:X(t,e(440)),tooltip:!0,icon:mt.IconChevronUp}),n[e(437)]({label:X(t,e(441)),tooltip:!0,icon:mt.IconChevronDown}),s[e(459)](e(479)).to(this,e(466)),n[e(459)](e(479)).to(this,e(476)),s.on(e(449),(()=>this[e(473)](e(449),e(470)))),n.on(e(449),(()=>this[e(473)](e(449),e(467)))),this[e(452)]({tag:e(458),attributes:{class:["ck",e(464),e(451)]},children:[{tag:e(469),attributes:{class:[e(438)]},children:[{tag:e(469),attributes:{class:[e(475),i.if(e(446),e(463),(t=>!t))]},children:[{text:i.to(e(455),(i=>i?X(t,e(471))+": ":X(t,e(442))+": "))}]},{text:i.to(e(468))}]},new pt.ToolbarSeparatorView,{tag:e(458),attributes:{class:[e(457)]},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=pe;!function(t){const e=pe,i=t();for(;;)try{if(519776===-parseInt(e(490))/1*(-parseInt(e(495))/2)+parseInt(e(498))/3*(-parseInt(e(481))/4)+-parseInt(e(494))/5+parseInt(e(478))/6*(parseInt(e(496))/7)+-parseInt(e(480))/8+-parseInt(e(497))/9+-parseInt(e(485))/10*(-parseInt(e(499))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const fe=de(492);function me(){const t=["7539984DueaYv","4RXDeYw","change","show","editing","190aYowBG","view","document","removeClass","isOfficialPlugin","1JaJaMR","hide","ck-editor__editable__loading-overlay","RevisionViewerLoadingOverlay","3967630rQyxpQ","1223006uTdBpQ","3123673pzDhhE","4715658bOqcLW","487257kgQKsW","1090991kPpRCC","isPremiumPlugin","editor","addClass","roots","6gLsGzl","pluginName"];return(me=function(){return t})()}function pe(t,e){const i=me();return(pe=function(t,e){return i[t-=478]})(t,e)}class ve extends U.Plugin{static get[de(479)](){return de(493)}static get[de(489)](){return!0}static get[de(500)](){return!0}[de(483)](){const t=de,e=this[t(501)][t(484)][t(486)];e[t(482)]((i=>{const s=t;for(const t of e[s(487)][s(503)])i[s(502)](fe,t)}))}[de(491)](){const t=de,e=this[t(501)][t(484)][t(486)];e[t(482)]((i=>{const s=t;for(const t of e[s(487)][s(503)])i[s(488)](fe,t)}))}}const ge=ke;function ye(){const t=["3290GDETVt","1188654dnUgju","forward","exitToEditing","plugins","pluginName","bind","config","isNavigationMode","isOfficialPlugin","8QNKXFZ","hide","execute","ck-revision-history-ui__back-to-editing","get","changesNavigation","isBackwardNavigationEnabled","isPremiumPlugin","Restore this revision","init","change:isReady","editor","isReady","isForwardNavigationEnabled","commands","revisionHistory","add","258cnjjgT","1992125OdAIsz","465413FhemvB","597146kxLsbB","showPreviousChange","currentChangeNumber","4558374DBAHvP","show","set","numberOfChanges","restoreRevision","listenTo","requires","Back to editing","componentFactory","RevisionViewerUI","closeRevisionViewerCallback","showNextChange","isEnabled","1657568khUKuc"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=494]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(236517===parseInt(e(510))/1+-parseInt(e(511))/2+parseInt(e(529))/3+-parseInt(e(527))/4+-parseInt(e(509))/5+-parseInt(e(508))/6*(parseInt(e(528))/7)+-parseInt(e(538))/8*(-parseInt(e(514))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(533)](){return ge(523)}static get[ge(537)](){return!0}static get[ge(498)](){return!0}static get[ge(520)](){return[te,ve]}[ge(500)](){const t=ge,e=this[t(502)],i=e[t(532)][t(495)](te),s=e[t(532)][t(495)](ve);e.ui[t(522)][t(507)](t(531),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(516)]({label:X(i,s(521)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(494)}),this[s(519)](n,s(540),(()=>{const t=s;e[t(535)][t(495)](t(506))[t(524)]()})),n})),e.ui[t(522)][t(507)](t(518),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(516)]({label:X(i,s(499)),withText:!0,tooltip:!0}),n[s(534)](s(526)).to(e[s(505)][s(495)](s(518))),this[s(519)](n,s(540),(()=>e[s(540)](s(518)))),n})),e.ui[t(522)][t(507)](t(496),(s=>{const n=t,r=new ue(s),o=e[n(505)][n(495)](n(512)),a=e[n(505)][n(495)](n(525));return r[n(534)](n(497)).to(o,n(526)),r[n(534)](n(504)).to(a,n(526)),r[n(534)](n(503),n(513),n(517),n(536)).to(i),this[n(519)](r,n(540),((t,i)=>{const s=n;e[s(540)](s(530)===i?s(525):s(512))})),r})),s[t(515)](),i.on(t(501),((e,i,n)=>{const r=t;n?s[r(539)]():s[r(515)]()}))}}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-=295]})(t,e)}function Oe(){const t=["ck-revision-history-sidebar__revision-name","Revision name","ck-tooltip_multi-line","placeholder","1wBFqRx","destroy","1172425FeKsco","value","2416572OsiGaQ","scrollWidth","368036YTiYCp","clientWidth","listenTo","render","_resizeObserver","109466IqttBm","Enter the revision name","168SBQchn","976508SVIUZJ","bindTemplate","fieldView","_updateTooltipText","span","27AXlECw","1060510ErgFnz","_tooltipString","1113MnOKAg","set","element","input","extendTemplate"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(219718===parseInt(e(324))/1*(-parseInt(e(299))/2)+parseInt(e(315))/3+-parseInt(e(307))/4+parseInt(e(295))/5+parseInt(e(297))/6+-parseInt(e(304))/7*(-parseInt(e(306))/8)+parseInt(e(312))/9*(-parseInt(e(313))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class xe extends pt.LabeledFieldView{[Ie(303)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(308)];this[i(316)]({label:X(t,i(321)),_tooltipString:""}),this[i(309)][i(323)]=X(t,i(305)),this[i(319)]({tag:i(311),attributes:{class:[i(320)],"data-cke-tooltip-text":s.to(i(314)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(322)}})}[Ie(302)](){const e=Ie;super[e(302)](),this[e(303)]=new t.ResizeObserver(this[e(309)][e(317)],(()=>this[e(310)]())),this[e(301)](this[e(309)],e(318),(()=>this[e(310)]()))}[Ie(325)](){const t=Ie;super[t(325)](),this[t(303)]&&this[t(303)][t(325)]()}[Ie(310)](){const t=Ie,e=this[t(309)][t(317)];this[t(314)]=e[t(298)]>e[t(300)]&&e[t(296)]||""}}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(t,e){const i=Ae();return(Re=function(t,e){return i[t-=194]})(t,e)}function Ae(){const t=["220nQNXvr","2CndUeF","name","28225mwLJgv","Revision creator","736287eMVRAA","span","4371731lHPJGq","set","Revision author","ck-revision-history-sidebar__revision-author_creator","72MctOMU","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author__name","8PlJMJh","3247211wbirzQ","setTemplate","push","0 0 11 10","355832pDtIyR","4975338aMezkc","2025sfGJFi","25470nFPlho"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(572563===-parseInt(e(204))/1+-parseInt(e(209))/2*(-parseInt(e(213))/3)+-parseInt(e(208))/4*(parseInt(e(211))/5)+-parseInt(e(205))/6+parseInt(e(215))/7*(parseInt(e(199))/8)+-parseInt(e(206))/9*(parseInt(e(207))/10)+parseInt(e(200))/11*(parseInt(e(196))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ve extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(216)]({content:mt.IconUser,viewBox:s(203)});const r=["ck",s(197)];i&&r[s(202)](s(195));const o=[{tag:s(214),attributes:{class:["ck",s(198)],title:X(t,s(i?212:194))},children:[n,e[s(210)]]}];this[s(201)]({tag:"li",attributes:{class:r},children:o})}}function De(){var t=["10HQRGyd","numeric","447156jgGIGQ","1538207upifqK","toLocaleDateString","172340ZBcprm","693338gyBvuh","351375uaceVi","long","2140266GczVBa","3qdyEHM","88NHFnSR","toLocaleTimeString","80cFIpQP","488061baqxrv"];return(De=function(){return t})()}function Me(t,e){var i=De();return(Me=function(t,e){return i[t-=388]})(t,e)}!function(t){for(var e=Me,i=t();;)try{if(412262===-parseInt(e(392))/1+-parseInt(e(391))/2*(parseInt(e(395))/3)+-parseInt(e(402))/4*(parseInt(e(400))/5)+-parseInt(e(394))/6+-parseInt(e(390))/7+parseInt(e(396))/8*(parseInt(e(399))/9)+parseInt(e(398))/10*(parseInt(e(388))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=390]})(t,e)}function Le(){const t=["menuitem","source","1043ZhmPwh","stopPropagation","isEnabled","items","listView","bind","children","Restore this revision","function","add","listenTo","ck-on","find","isOpen","3000TevKwH","414515IYUeBd","panelPosition","execute","_action","map","27444RFykDD","change:isActionsDropdownOpen","14257610cIglim","class","Name this revision","124DGakMb","action","set","extendTemplate","isVisible","1437748kBBAxR","isReady","menu","1489304uGXmZG","Show more items","locale","72jaZYYc","model","60kKNjTg","Compare against selected","button","first","ck-revision-history-sidebar__revision__actions","buttonView","bindTemplate","28786021EOpHpb","isActionsDropdownOpen","name"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(747451===parseInt(e(407))/1+parseInt(e(402))/2*(-parseInt(e(391))/3)+-parseInt(e(415))/4*(-parseInt(e(392))/5)+-parseInt(e(397))/6*(-parseInt(e(427))/7)+parseInt(e(410))/8*(parseInt(e(413))/9)+-parseInt(e(399))/10+-parseInt(e(422))/11)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 We(){const t=["1036674eYppmT","420216wOaVwb","uiLanguage","filter","_createdAtFormatted","_revision","creator","length","983LPaxEq","64995QNRmzR","5votQvF","ck-revision-history-sidebar__revision-wrapper","ck-disabled","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setName","fieldView","setTemplate","isConfirm","ck-revision-history-sidebar__actions_dropdown_open","bindTemplate","render","62140VwjHME","ck-revision-history-sidebar__revision-authors","span","765kDkXYQ","unhighlight","element","set","createdAt","closest","414pUyeLu","fire","2890724NTLwNl","isHighlighted","220","from","value","isSelected","select","isReady","div","authors","isActionsDropdownOpen","unshift","highlight","srcElement","ck-revision-history-sidebar__revision_highlighted","change","map","ck-revision-history-sidebar__revision__controls-wrapper","_requireRevisionName",".ck-thread__remove-confirm","bind","deselect","extendTemplate","ck-revision-history-sidebar__revision_selected","8065541IPJLOy","revisionActionsView","ck-revision-history-sidebar__revision","listenTo","isEnabled","2042mXzhTO","ck-revision-history-sidebar__revision__date","name","revisionNameView","ck-reset"];return(We=function(){return t})()}function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=114]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(833637===-parseInt(e(138))/1*(-parseInt(e(125))/2)+-parseInt(e(130))/3+-parseInt(e(162))/4*(parseInt(e(140))/5)+-parseInt(e(160))/6*(-parseInt(e(139))/7)+parseInt(e(131))/8+parseInt(e(154))/9*(-parseInt(e(151))/10)+parseInt(e(120))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(128)];[ze(121)];[ze(135)];[ze(114)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(149)],a=function(t,e){const i=r,s=Array[i(165)](e[i(171)])[i(133)]((t=>t!=e[i(136)]));return e[i(136)]&&s[i(173)](e[i(136)]),s[i(178)]((s=>new Ve(t,s,s==e[i(136)])))}(e,i);this.id=i.id,this[r(135)]=i,this[r(114)]=n,this[r(116)](r(127),r(158)).to(i),this[r(116)](r(134)).to(this,r(158),(t=>{return i=e[r(132)],(s=t)[(n=Me)(389)](i,{month:n(393),day:n(401)})+", "+s[n(397)](i,{hour:n(401),minute:n(401)});var i,s,n})),this[r(157)](r(167),!1),this[r(157)](r(163),!1),this[r(157)](r(172),!1),this[r(157)](r(169),!1),this[r(157)](r(124),!1),this[r(128)]=new xe(e,pt.createLabeledInputText),this[r(128)][r(145)][r(118)]({attributes:{maxlength:r(164)}}),this[r(128)][r(145)][r(116)](r(166)).to(this,r(127),(t=>t||this[r(134)])),this[r(128)][r(116)](r(124)).to(this,r(167),this,r(124),((t,e)=>t&&e)),this[r(121)]=s&&s[r(137)]?function(e,i){const s=Fe,n=e[s(421)],r=e[s(412)],o=(0,pt.createDropdown)(r);o[s(393)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(412)],n={"Compare against selected":X(s,i(416)),"Name this revision":X(s,i(401)),"Restore this revision":X(s,i(434))};return e[i(396)]((t=>{const e=i,s=n[t[e(424)]];return s&&s!==t[e(424)]&&(t[e(424)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(417),model:new pt.ViewModel({label:t[n(424)],class:t[n(400)],withText:!0,role:n(425),_action:t[n(403)]})};i[n(414)][n(432)](n(429)).to(e,n(423),(i=>n(435)!=typeof t[n(429)]||!i||t[n(429)](e))),o[n(436)](i)}return o}(e,i);return e[s(432)](s(423)).to(o,s(390)),o[s(420)][s(404)]({label:X(r,s(411)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(405)]({attributes:{class:[s(419),n.if(s(423),s(438))]},on:{click:n.to((t=>t[s(428)]()))}}),o.on(s(394),(t=>{const i=s;e[i(408)]&&i(435)==typeof t[i(426)][i(395)]&&t[i(426)][i(395)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(409)}),o[s(437)](e,s(398),((t,n,r)=>{const a=s;if(r)for(const t of o[a(431)][a(430)]){const s=t[a(433)][a(418)],n=i[a(439)]((t=>t[a(403)]===s[a(395)]))[a(406)];t[a(406)]=void 0===n||n(e)}})),o}(this,s):"",this[r(121)]&&this[r(121)][r(116)](r(124)).to(this),this[r(146)]({tag:r(170),attributes:{class:["ck",r(129),r(141),o.if(r(147),r(143))]},children:[{tag:r(170),attributes:{class:["ck",r(129),r(122),o.if(r(124),r(142),(t=>!t)),o.if(r(167),r(119)),o.if(r(163),r(176)),o.if(r(172),r(148))]},children:[this[r(128)],{tag:r(153),attributes:{class:["ck",r(126)]},children:[{text:o.to(r(134))}]},{tag:r(170),attributes:{class:["ck",r(179)]},children:[{tag:"ul",attributes:{class:["ck",r(152)]},children:a}]},this[r(121)]],on:{click:o.to((t=>{const e=r;t[e(175)][e(159)](e(115))||this[e(169)]&&this[e(124)]&&this[e(161)](e(168),{id:this.id})}))}}]})}[ze(150)](){const t=ze;super[t(150)]();const e=this[t(128)][t(145)][t(156)];this[t(123)](e,t(177),(()=>{const i=t;this[i(114)]&&!e[i(166)]||this[i(161)](i(144),{id:this.id,name:e[i(166)]}),e[i(166)]||(e[i(166)]=this[i(127)]?this[i(127)]:this[i(134)])}))}[ze(168)](){this[ze(167)]=!0}[ze(117)](){this[ze(167)]=!1}[ze(174)](){this[ze(163)]=!0}[ze(155)](){this[ze(163)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Je extends He{}class Ye extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const 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 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 Vi={};function Di(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Mi={};let Ei={};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=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&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=Di(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=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const 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,Vi={},Mi={},Ei={}}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=Di(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Di(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 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=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"},Ji={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let 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=Rs(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(){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,...Js(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=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,...Js(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Js(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Js(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Je("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(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=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 Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ds(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Es(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 Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(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}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Js(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const 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]]=Ds(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:Ds(s)}function xn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Es(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 Vn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Dn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ds(e)):Ds(e),month:Gs.indexOf(i)+1,day:Ds(s),hour:Ds(n),minute:Ds(r)};return o&&(a.second=Ds(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?Dn[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$/,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[Mn(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),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),Jn=mn(xn,Tn,Nn);const Yn=mn(xn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(xn,Tn,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||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,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,[Rn,Yn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):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]=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+=Yi.indexOf(t[i]);else for(const t in Ji){const[i,n]=Ji[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function 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=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Je("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new 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",Vr=864e13;function Dr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Er(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 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+=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 Zr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Jr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(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]=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:Dr(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||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]=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=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(Dr(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: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(Dr(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 Je("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Je("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Jr,v=qr,g=ps(g,r,o)):u?(p=Yr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=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,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,[Wn,qn],[Un,$n],[Zn,Bn],[Hn,Jn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,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=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,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 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?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?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?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]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Dr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Je("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Je("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(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):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),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 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-=327]})(t,e)}function ro(){const t=["month","minus","hasSame","monthLong","toJSDate","705355aYWPzx","6575198RZfGya","day","806050pXszLU","fromJSDate","weekdayLong","789738Pzlwuk","local","6TfRScv","week","4002872sSptPF","startOf","setLocale","21572664cvqaAD","year","2484588vINtrF","toRelativeCalendar"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(337)](t)[i(345)](e),n=io[i(340)](),r=n[i(329)]({days:1})[i(344)](i(335));let o,a;return s[i(330)](n,i(335))?(o=s[i(344)](i(335))[i(332)](),a=s[i(327)]()):s[i(330)](r,i(335))?(o=r[i(332)](),a=s[i(327)]()):s[i(330)](n,i(342))?(o=s[i(344)](i(342))[i(332)](),a=s[i(338)]||""):s[i(330)](n,i(347))?(o=s[i(344)](i(328))[i(332)](),a=s[i(331)]||""):(o=s[i(344)](i(347))[i(332)](),a=String(s[i(347)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(524899===-parseInt(e(336))/1+-parseInt(e(339))/2+parseInt(e(348))/3+-parseInt(e(343))/4+parseInt(e(333))/5+parseInt(e(341))/6*(-parseInt(e(334))/7)+parseInt(e(346))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["createCollection","8pdcsgJ","567230GsyuaV","10009895pzJesQ","151775DDXLCw","find","localizedPeriodName","ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__revisions","div","setName","242PopslH","setTemplate","_revisionActions","remove","delegate","locale","60lwxPPa","removeRevision","_requireRevisionName","90TOJQlP","145516VVdyII","5285982HdufvH","137392dAALWM","revisionViews","uiLanguage","select","add","span","startDate","3518370XExkQW","ck-revision-history-sidebar__time-period__label","addRevision"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=350]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(772351===-parseInt(e(373))/1*(-parseInt(e(360))/2)+parseInt(e(369))/3+parseInt(e(356))/4*(-parseInt(e(376))/5)+-parseInt(e(361))/6+parseInt(e(375))/7+-parseInt(e(362))/8*(-parseInt(e(359))/9)+parseInt(e(374))/10*(-parseInt(e(350))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(368)];[uo(363)];[uo(352)];[uo(358)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(355)][n(364)])[n(378)];this[n(368)]=e,this[n(363)]=this[n(372)](),this[n(352)]=i,this[n(358)]=s,this[n(363)][n(354)](n(365)).to(this),this[n(363)][n(354)](n(382)).to(this),this[n(351)]({tag:n(381),attributes:{class:["ck",n(379)]},children:[{tag:n(367),attributes:{class:["ck",n(370)]},children:[{text:r}]},{tag:n(381),attributes:{class:["ck",n(380)]},children:this[n(363)]}]})}[uo(371)](t){const e=uo,i=new Ze(this[e(355)],t,this[e(352)],this[e(358)]);this[e(363)][e(366)](i)}[uo(357)](t){const e=uo,i=this[e(363)][e(377)]((e=>e.id===t.id));this[e(363)][e(353)](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=["div","420825yVuPEX","content","span","270935GlRPgp","388NDgSWF","6KUbqaz","110oFdnsT","ck-revision-history-sidebar__header","4XYzgdz","41079dAVePc","setTemplate","ck-reset_all","1164955gxjTCU","8yxbcVG","7454616DZdhVT","8618409boiUjd","5176493MUWLsd","Revision history","ck-revision-history-sidebar__header__label"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=391]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(781443===-parseInt(e(394))/1*(parseInt(e(399))/2)+parseInt(e(400))/3*(parseInt(e(395))/4)+parseInt(e(391))/5+-parseInt(e(396))/6*(-parseInt(e(407))/7)+parseInt(e(404))/8*(parseInt(e(406))/9)+-parseInt(e(397))/10*(parseInt(e(403))/11)+-parseInt(e(405))/12)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(392)]=mt.IconHistory,this[e(401)]({tag:e(410),attributes:{class:["ck",e(402),e(398)]},children:[i,{tag:e(393),attributes:{class:["ck",e(409)]},children:[X(t,e(408))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["setName","revisionViews","uiLanguage","select","removeRevision","ck-reset","19334BUfAuh","revisionSetName","_revisionActions","locale","_getTimePeriodViewByStartDate","1488wwIIED","div","_addRevision","createdAt","remove","ck-rounded-corners","2012748jywZJZ","set","_requireRevisionName","_revisions","createCollection","some","highlight","_removeRevision","timePeriodViews","map","unhighlight","highlightRevisions","get","selectRevision","11898DhlHEv","9210726JqwFDQ","startDate","407230IbWbOK","add","flat","6552272nBYZki","519IfcnuR","ck-revision-history-sidebar__timeline","ck-revision-history-sidebar","bindTemplate","827817SiAfkI","find","deselect","getTime","isEnabled","addRevision","delegate","setTemplate","render","fire","revisionSelected","ck-disabled"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=140]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(545897===parseInt(e(189))/1+-parseInt(e(178))/2*(-parseInt(e(185))/3)+-parseInt(e(164))/4+parseInt(e(181))/5+-parseInt(e(158))/6*(parseInt(e(153))/7)+parseInt(e(184))/8+-parseInt(e(179))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(172)];[wo(167)];[wo(155)];[wo(166)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(188)];this[n(172)]=this[n(168)](),this[n(172)][n(141)](n(150)).to(this),this[n(172)][n(141)](n(147)).to(this),this[n(167)]=e,this[n(155)]=i,this[n(166)]=s,this.on(n(150),((t,e)=>{const i=n;this[i(144)](i(145),e)})),this.on(n(147),((t,e)=>{const i=n;this[i(144)](i(154),e)})),this[n(165)](n(193),!1),this[n(142)]({tag:n(159),attributes:{class:["ck",n(152),n(163),n(187)]},children:[new yo(t),{tag:n(159),attributes:{class:["ck",n(186),r.if(n(193),n(146),(t=>!t))]},children:this[n(172)]}]})}[wo(143)](){const t=wo;super[t(143)]();for(const e of this[t(167)])this[t(160)](e);this[t(167)].on(t(182),((e,i)=>{this[t(160)](i)})),this[t(167)].on(t(162),((e,i)=>{this[t(171)](i)}))}get[wo(148)](){const t=wo;return this[t(172)][t(173)]((e=>e[t(148)][t(173)]((t=>t))))[t(183)]()}[wo(177)](t){const e=wo;for(const i of this[e(148)])t&&t.id===i.id?i[e(150)]():i[e(191)]()}[wo(175)](t){const e=wo;for(const i of this[e(148)])t[e(169)]((({id:t})=>t===i.id))?i[e(170)]():i[e(174)]()}[wo(160)](t){const e=wo,i=oo(t[e(161)],this[e(156)][e(149)])[e(180)];let s=this[e(172)][e(176)](0);s&&s[e(180)][e(192)]()===i[e(192)]()||(s=new fo(this[e(156)],i,this[e(155)],this[e(166)]),this[e(172)][e(182)](s)),s[e(140)](t)}[wo(171)](t){const e=wo,i=oo(t[e(161)],this[e(156)][e(149)])[e(180)];this[e(157)](i)[e(151)](t)}[wo(157)](t){const e=wo;return this[e(172)][e(190)]((i=>i[e(180)][e(192)]()===t[e(192)]()))}}const Oo=xo;function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=102]})(t,e)}function To(){const t=["7111050FyDIYT","remove","newRevisionId","listenTo","_handleRevisionSetName","config","98638tUxpFE","isOfficialPlugin","isEnabled","RevisionsSidebar","6GpulzL","getIndex","5195065RdCtcn","Name this revision","map","appendChild","restoreRevision","getLaterVisibleRevision","length","change:diff","isReady","7733504uGbDjy","destroy","111eKxcjK","repository","focus","revisionHistory.viewerSidebarContainer","nameRevision","_revisionsRepository","_handleEditorDataReady","Compare against selected","Restore this revision","isPremiumPlugin","fieldView","select","plugins","highlightRevisions","ready","getRevision","data","getEarlierVisibleRevision","pluginName","restoreRevisionCallback","element","revisionHistory.revisionActions","_createRevisionActions","render","866943isgXcz","add","availableRevisionActions","9585674RkrZjH","locale","revisionHistory","_revisions","isSelected","bind","revisionHistory.requireRevisionName","60972LQovWi","assign","revisionSetName","compareAgainstSelected","getRevisionsInDiff","_sidebarView","selectRevision","action","setName","diff","isVisible","editor","compare","get","defaultRevisionActions","_handleRevisionSelected","revisionViews","_revisionViewer","string","_handleDiffChange","220wpBWnH","init","timePeriodViews","revisionSelected","name","requires"];return(To=function(){return t})()}!function(t){const e=xo,i=t();for(;;)try{if(775765===-parseInt(e(111))/1*(parseInt(e(107))/2)+-parseInt(e(124))/3*(-parseInt(e(158))/4)+parseInt(e(113))/5+parseInt(e(184))/6+parseInt(e(151))/7+-parseInt(e(122))/8+-parseInt(e(148))/9*(parseInt(e(178))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends U.Plugin{[Oo(175)];[Oo(129)];[Oo(163)];static[Oo(172)]=[Oo(161),Oo(117),Oo(128)];static[Oo(150)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(131),action:({plugins:e},i)=>{const s=t,n=e[s(171)](te),r=n[s(125)];let o=n[s(167)][s(103)],a=i.id;r[s(112)](o)>r[s(112)](a)&&([o,a]=[a,o]),n[s(170)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(171)](te);return!(n[s(125)][s(162)](n[s(167)])[s(119)]>2||i[s(155)])}},restoreRevision:{name:t(132),action:(e,{id:i})=>{const s=t;e[s(106)][s(171)](s(153))[s(143)](i)},isVisible:({plugins:e},i)=>!!e[t(171)](te)[t(125)][t(118)](i.id)},nameRevision:{name:t(114),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(171)](te),o=r[n(125)][n(141)](i);r[n(170)](i,o),s[n(126)](),s[n(134)][n(135)]()}}}}();static get[Oo(142)](){return Oo(110)}static get[Oo(108)](){return!0}static get[Oo(133)](){return!0}static get[Oo(183)](){return[te]}constructor(t){const e=Oo;super(t),this[e(175)]=t[e(136)][e(171)](te),this[e(129)]=this[e(175)][e(125)],this[e(163)]=null}[Oo(179)](){const t=Oo,e=this[t(129)][t(154)],i=this[t(146)](),s=this[t(169)][t(106)][t(171)](t(127));this[t(163)]=new So(this[t(169)][t(152)],e,i,this[t(169)][t(106)][t(171)](t(157))),this[t(163)].on(t(181),this[t(173)][t(156)](this)),this[t(163)].on(t(160),this[t(105)][t(156)](this)),this[t(163)][t(156)](t(109)).to(this[t(175)]),this[t(163)][t(180)].on(t(149),((e,i)=>{const s=t;i[s(174)].on(s(149),((t,e)=>{const i=s;e[i(156)](i(109),i(121)).to(this[i(175)])}))})),this[t(163)][t(147)](),this[t(104)](this[t(169)][t(140)],t(138),this[t(130)][t(156)](this)),this[t(104)](this[t(175)],t(120),this[t(177)][t(156)](this)),s[t(116)](this[t(163)][t(144)])}[Oo(123)](){const t=Oo;this[t(163)][t(144)][t(102)](),this[t(163)][t(123)]()}[Oo(130)](){const t=Oo,e=this[t(129)][t(139)](0);if(e){const i=this[t(129)][t(141)](e.id);this[t(175)][t(170)](e,i)}}[Oo(173)](t,e){const i=Oo,s=this[i(129)][i(139)](e.id),n=this[i(129)][i(141)](s.id);this[i(175)][i(170)](s,n)}[Oo(105)](t,e){const i=Oo;this[i(129)][i(139)](e.id)[i(166)](e[i(182)])}[Oo(177)](t,e,i){const s=Oo,n=this[s(129)][s(162)](i);n[s(119)]>2?(this[s(163)][s(137)](n),this[s(163)][s(164)](null)):(this[s(163)][s(137)]([]),this[s(163)][s(164)](n[0]))}[Oo(146)](){const t=Oo,e=this[t(169)],i=No[t(150)],s=e[t(106)][t(171)](t(145))||No[t(172)];if(s[t(119)])return s[t(115)]((s=>{const n=t,r=n(176)==typeof s?Object[n(159)]({},i[s]):s;return r[n(165)]=r[n(165)][n(156)](this,e),r[n(168)]&&(r[n(168)]=r[n(168)][n(156)](this,e)),r}))}}const Ro=No,Ao=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=162]})(t,e)}function Do(){const t=["setEditableElement","focusTracker","isActive","_elementReplacer","_toolbarConfig","4277020xTJoAR","213768cOKhld","name","stickyPanel","init","config","922282FifBAq","restore","limiterElement","destroy","fire","element","_initToolbar","ready","bind","5178176wTMHVR","viewportTopOffset","rootName","get","addToolbar","editable","view","5192832sxJIhl","6419457GcookJ","componentFactory","getRoot","2teMhMj","editor","viewportOffset","render","490ykzKWq","fillFromConfig","attachDomRoot","_view","document","replace","18UdbQJU","detachDomRoot","toolbar","2454214FnhNSI","3hZjltA","editing","isFocused"];return(Do=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(660701===parseInt(e(205))/1*(parseInt(e(177))/2)+-parseInt(e(191))/3*(parseInt(e(166))/4)+parseInt(e(199))/5+parseInt(e(187))/6*(-parseInt(e(190))/7)+parseInt(e(173))/8+-parseInt(e(200))/9*(-parseInt(e(181))/10)+-parseInt(e(174))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Mo extends pt.EditorUI{[Ao(184)];[Ao(198)];[Ao(197)];get[Ao(172)](){return this[Ao(184)]}constructor(e,i){const s=Ao;super(e),this[s(184)]=i,this[s(198)]=(0,pt.normalizeToolbarConfig)(e[s(204)][s(169)](s(189))),this[s(197)]=new t.ElementReplacer}get[Ao(162)](){const t=Ao;return this[t(172)][t(162)]}[Ao(203)](t){const e=Ao,i=this[e(178)],s=this[e(172)],n=i[e(192)][e(172)],r=s[e(171)],o=n[e(185)][e(176)]();r[e(201)]=o[e(168)],s[e(180)]();const a=r[e(162)];this[e(194)](r[e(201)],a),s[e(171)][e(165)](e(193)).to(this[e(195)]),n[e(183)](a),this[e(197)][e(186)](t,this[e(162)]),this[e(163)](),this[e(209)](e(164))}[Ao(208)](){const t=Ao;super[t(208)]();const e=this[t(172)],i=this[t(178)][t(192)][t(172)];this[t(197)][t(206)](),i[t(188)](e[t(171)][t(201)]),e[t(208)]()}[Ao(163)](){const t=Ao,e=this[t(172)];e[t(202)][t(165)](t(196)).to(this[t(195)],t(193)),e[t(202)][t(207)]=e[t(162)],e[t(202)][t(165)](t(167)).to(this,t(179),(({top:t})=>t)),e[t(189)][t(182)](this[t(198)],this[t(175)]),this[t(170)](e[t(189)])}}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;function Fo(t,e){var i=Po();return(Fo=function(t,e){return i[t-=230]})(t,e)}var Lo=Fo;!function(t){for(var e=Fo,i=t();;)try{if(775198===-parseInt(e(239))/1+-parseInt(e(236))/2+parseInt(e(242))/3*(-parseInt(e(232))/4)+parseInt(e(243))/5+parseInt(e(244))/6+parseInt(e(230))/7+-parseInt(e(245))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Lo(233)];[Lo(235)];[Lo(238)];get[Lo(246)](){return this[Lo(233)]}constructor(t,e,i={}){var s=Lo;super(t),this[s(235)]=new pt.StickyPanelView(t),this[s(238)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(231)]}),this[s(233)]=new pt.InlineEditableUIView(t,e)}[Lo(241)](){var t=Lo;super[t(241)](),this[t(235)][t(237)][t(234)](this[t(238)]),this[t(240)][t(234)](this[t(235)]),this[t(247)][t(234)](this[t(246)])}}function Po(){var t=["render","216QEfGRL","1294670hDhBIk","5877354stefxU","929336LEYXok","editable","main","9881368RCqffh","shouldToolbarGroupWhenFull","52088IioIlo","_editable","add","stickyPanel","1516304idbxKD","content","toolbar","63016HQUtoN","top"];return(Po=function(){return t})()}function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=270]})(t,e)}const Wo=zo;function Uo(){const t=["destroy","model","9920349KyEALA","2395190uDqmln","create","editing","1253918ccUgjD","init","get","5kRjGDF","view","initialData","config","data","sourceElement","8opHvMY","70228shHoBd","242572hKyQBZ","fire","ready","updateSourceElement","159ehZDqA","2559516cCNtaH","createRoot","_ui","2120290rMyEoD","2eZaGzv","initPlugins","document","locale"];return(Uo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(629199===parseInt(e(292))/1*(-parseInt(e(282))/2)+parseInt(e(277))/3*(parseInt(e(272))/4)+-parseInt(e(295))/5*(-parseInt(e(278))/6)+-parseInt(e(289))/7+parseInt(e(271))/8*(parseInt(e(288))/9)+-parseInt(e(281))/10+-parseInt(e(273))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(280)];get ui(){return this[Wo(280)]}constructor(t,e){const i=Wo;super(e),this[i(270)]=t,this[i(287)][i(284)][i(279)]();const s=new jo(this[i(285)],this[i(291)][i(296)],{shouldToolbarGroupWhenFull:!0});this[i(280)]=new Mo(this,s)}[Wo(286)](){const t=Wo;return this[t(276)](),this.ui[t(286)](),super[t(286)]()}static async[Wo(290)](t,e){const i=Wo,s=new this(t,e);return await s[i(283)](),await s.ui[i(293)](t),await s[i(299)][i(293)](s[i(298)][i(294)](i(297))||""),s[i(274)](i(275)),s}}function Ho(t,e){const i=$o();return(Ho=function(t,e){return i[t-=421]})(t,e)}const qo=Ho;function $o(){const t=["view","revisionHistory.requireRevisionName","RevisionHistoryUI","removeAttribute","_restoreRevision","toJSON","insert","addUser","config","RestrictedEditingMode","fromVersion","getRevisionDocumentData","isPremiumPlugin","getAttributeKeys","bind","lazyRoots","pluginName","keys","translations","block","revisionHistory.viewerEditorElement","Autosave","_showRevisionViewer","revisionHistory.editorContainer","RevisionsRepository","closeRevisionViewerCallback","addRoot","fromCharCode","_cleanUp","requires","110csAPED","12840vXFyCX","setSelection","remove","refreshVisibility","saveRevision","RevisionHistory","repository","91075nagFHh","removeMarker","setAttribute","revision-history-viewer-opened","commands","set","data","get","_recalculatePageBreaks","RevisionHistoryUtils","Dialog","_enhanceCloseRevisionViewerCallback","getRevision","destroy","revisionHistory.closeRevisionViewerCallback","init","changesNavigation","toolbar","_closeRevisionViewer","_update","end","define","numeric","push","_getRevisionViewerEditorConfig","save","getMarkersGroup","143697DzdAUM","create","isOpen","24888ubPqBq","revisionHistory.viewerContainer","createdAt","parse","revisionHistory.restoreRevisionCallback","long","adapter","name","isReadOnly","toLocaleTimeString","element","change","RevisionTracker","DocumentOutline","isEnabled","isOfficialPlugin","map","join","error","from","$graveyard","rootName","disableReadOnlyMode","removeSelectionAttribute","Annotations","addRevisionData","creator","display","restrictedEditingException","Users","getRevisions","RevisionViewerIntegration","revisionHistory.showRevisionViewerCallback","toVersion","isRevisionViewerOpen","uiLanguage","PaginationLookup","update","style","1147284OsCnzc","Restored","enqueueChange","getUser","users","restoreRevision","9351hlPcnw","17140iLaJHL","createRangeIn","locale","model","has","revisionHistory","detachRoot","_viewerEditor","markers","selection","isAttached","revision-history-missing-configuration","refreshPositioning","document","isReady","32kKLwQq","RevisionViewer","2177BFWqcR","DocumentOutlineUI","then","roots","getRoot","includes","1590666CxHcky","indexOf","loadRevisionData","editor","_enhanceShowRevisionViewerCallback","260KchoTl","hide","showRevisionViewerCallback","plugins","catch","result","getRevisionRootsAttributes","isAnonymous","enableReadOnlyMode","exitToEditing","none","toLocaleDateString"];return($o=function(){return t})()}!function(t){const e=Ho,i=t();for(;;)try{if(850007===parseInt(e(542))/1+-parseInt(e(557))/2*(-parseInt(e(493))/3)+parseInt(e(570))/4*(parseInt(e(466))/5)+-parseInt(e(496))/6*(parseInt(e(559))/7)+parseInt(e(459))/8*(parseInt(e(541))/9)+-parseInt(e(458))/10*(parseInt(e(565))/11)+parseInt(e(535))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[qo(430),qo(437)];class Jo extends U.Plugin{[qo(421)];static get[qo(444)](){return qo(527)}static get[qo(511)](){return!0}static get[qo(440)](){return!0}constructor(t){const e=qo;function i(t){const e=Ho;return t[e(512)]((t=>String[e(455)](t)))[e(513)]("")}super(t),this[e(421)]=e(486),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends U.Plugin{[qo(549)];static get[qo(444)](){return qo(464)}static get[qo(511)](){return!0}static get[qo(440)](){return!0}static get[qo(457)](){return[ct,Lt]}constructor(e){const i=qo;if(super(e),!this[i(568)][i(436)][i(473)](i(547)))throw new t.CKEditorError(i(553),this);this[i(549)]=null,this[i(471)](i(530),!1),this[i(568)][i(436)][i(487)](i(528),(t=>this[i(450)]({...t,translations:this[i(568)][i(544)][i(446)]}))),this[i(568)][i(436)][i(487)](i(480),(t=>this[i(484)](t))),this[i(568)][i(436)][i(487)](i(500),(t=>this[i(432)](t))),this[i(568)][i(436)][i(487)](i(429),!1),this[i(569)](),this[i(477)]()}set[qo(502)](t){const e=qo;this[e(568)][e(573)][e(473)](e(508))[e(502)]=t}get[qo(502)](){const t=qo;return this[t(568)][t(573)][t(473)](t(508))[t(502)]}[qo(521)](t){const e=qo;return this[e(568)][e(573)][e(473)](e(508))[e(521)](t)}[qo(478)](t){const e=qo;return this[e(568)][e(573)][e(473)](e(452))[e(478)](t)}[qo(526)](t){const e=qo;return this[e(568)][e(573)][e(473)](e(452))[e(526)](t||{toJSON:!1})}[qo(490)](){const e=qo,i=this[e(568)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(573)][e(473)](e(508)),r=i[e(573)][e(473)](e(525))[e(539)];return s[e(483)]=[e(425),e(540),e(482)],delete s[e(443)],s[e(573)][e(489)](Jo,te,be,class extends U.Plugin{static get[e(457)](){return[te,e(525)]}[e(481)](){const s=e,o=this[s(568)][s(573)][s(473)](s(525));for(const t of r)t[s(423)]||o[s(538)](t.id)||o[s(435)](t);const a=n[s(465)][s(526)]();let c=null;const u=this[s(568)][s(573)][s(473)](s(558));u[s(502)]=n[s(502)],u[s(442)](s(510)).to(n),this[s(568)][s(470)][s(473)](s(540))[s(442)](s(510)).to(i,s(504),(t=>!t));for(const e of a){const i=null===e[s(522)];if(i&&e[s(529)]===e[s(438)])continue;const r=e[s(433)]();u[s(521)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(485)](r,o);else if(!o){const e=a[u(433)]();e.id=(0,t.uid)(),n[u(463)](e,a[u(529)])[u(561)]((t=>{c=t}))}}else e[u(485)](r,o)}))}}},Ro),s}[qo(569)](){const t=qo,e=this[t(568)][t(436)][t(473)](t(547))[t(572)];this[t(568)][t(436)][t(471)](t(528),(async()=>{const i=t;this[i(568)][i(424)](i(469));const s=this[i(568)][i(573)][i(473)](i(508));if(this[i(568)][i(573)][i(546)](i(449))){const t=this[i(568)][i(573)][i(473)](i(449));await t[i(491)]()}else await s[i(533)]();if(this[i(568)][i(573)][i(546)](i(532))&&this[i(568)][i(573)][i(473)](i(532))[i(474)](),this[i(568)][i(573)][i(546)](i(476))){const t=this[i(568)][i(573)][i(473)](i(476));t[i(495)]&&t[i(571)]()}const n=this[i(490)]();return e(n)[i(561)]((t=>{const e=i;return this[e(549)]=t,this[e(568)][e(573)][e(546)](e(520))&&this[e(568)][e(573)][e(473)](e(520))[e(462)](),this[e(568)][e(573)][e(546)](e(509))&&(this[e(568)][e(573)][e(473)](e(560))[e(428)][e(506)][e(534)][e(523)]=e(426)),t}))[i(574)]((t=>(console[i(514)](t),this[i(568)][i(518)](i(469)),null)))}))}[qo(477)](){const t=qo,e=this[t(568)][t(436)][t(473)](t(547))[t(453)];this[t(568)][t(436)][t(471)](t(480),(()=>(this[t(568)][t(573)][t(546)](t(532))&&this[t(568)][t(573)][t(473)](t(532))[t(474)](),this[t(568)][t(573)][t(546)](t(509))&&(this[t(568)][t(573)][t(473)](t(560))[t(428)][t(506)][t(534)][t(523)]=""),this[t(549)][t(573)][t(473)](t(558))[t(456)](),e(this[t(549)])[t(561)]((()=>{const e=t;if(this[e(568)][e(518)](e(469)),this[e(549)]=null,this[e(568)][e(573)][e(546)](e(520))){const t=this[e(568)][e(573)][e(473)](e(520));t[e(462)](),t[e(554)]()}})))))}[qo(450)](t){const e=qo,i=this[e(568)][e(436)][e(473)](e(451)),s=this[e(568)][e(436)][e(473)](e(497)),n=this[e(568)][e(436)][e(473)](e(448));return Zo[e(494)](n,t)[e(561)]((t=>(s[e(534)][e(523)]=e(447),i[e(534)][e(523)]=e(426),this[e(530)]=!0,t)))}[qo(484)](t){const e=qo,i=this[e(568)][e(436)][e(473)](e(451));return this[e(568)][e(436)][e(473)](e(497))[e(534)][e(523)]=e(426),i[e(534)][e(523)]="",this[e(530)]=!1,t[e(479)]()}async[qo(432)](t){const e=qo,i=this[e(568)],s=this[e(549)][e(573)][e(473)](e(558)),n=i[e(573)][e(473)](e(508)),r=i[e(573)][e(473)](e(475)),o=s[e(465)][e(478)](t);let a,c,u;try{await r[e(567)](o,this[e(502)]),a=r[e(439)](o),c=r[e(422)](o)}catch(t){return void console[e(514)](t)}i[e(545)][e(507)]((t=>{const s=e;for(const e of Array[s(515)](i[s(545)][s(550)][s(492)](s(524))))t[s(467)](e)})),s[e(556)]=!1,i[e(545)][e(537)]((t=>{const s=e;t[s(460)](null),t[s(519)](i[s(545)][s(555)][s(551)][s(441)]());const n=Object[s(445)](a);for(const e of i[s(545)][s(555)][s(562)])s(516)!=e[s(517)]&&e[s(552)]()&&!n[s(564)](e[s(517)])&&t[s(548)](e);for(const e of n){let n=i[s(545)][s(555)][s(563)](e);n&&n[s(552)]()||(n=t[s(454)](e));const r=c[e],o=Object[s(445)](r),u=a[e];for(const e of n[s(441)]())o[s(564)](e)||t[s(431)](e,n);for(const i of o)t[s(468)](i,c[e][i],n);t[s(461)](t[s(543)](n)),t[s(434)](i[s(472)][s(499)](u,n),n,0)}}));const l=X(i[e(544)],e(536));return u=o[e(503)]?-1==o[e(503)][e(566)](l)?l+": "+o[e(503)]:o[e(503)]:l+": "+o[e(498)][e(427)](i[e(544)][e(531)],{month:e(501),day:e(488)})+", "+o[e(498)][e(505)](i[e(544)][e(531)],{hour:e(488),minute:e(488)}),await n[e(463)]({name:u}),s[e(556)]=!0,i[e(436)][e(473)](e(547))[e(453)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=462]})(t,e)}function Ko(){var t=["28070iRVgpa","1716jokpBs","10664QWrozx","5963538qAEIgI","5126664Grgsae","8786136omGLjq","292CtIvIc","9mnwWDk","2633013JVZzMi","2785520ghCWSw","6ulModl"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(787404===-parseInt(e(464))/1*(-parseInt(e(471))/2)+parseInt(e(466))/3+-parseInt(e(462))/4+-parseInt(e(467))/5*(parseInt(e(468))/6)+parseInt(e(472))/7+-parseInt(e(463))/8*(parseInt(e(465))/9)+-parseInt(e(469))/10*(-parseInt(e(470))/11))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:()=>Ft,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>be,RevisionsRepository:()=>B,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]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(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,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(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,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const 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 D(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function E(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?E(e)?F(t,D(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=308]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(559991===parseInt(e(312))/1+-parseInt(e(330))/2+-parseInt(e(314))/3+-parseInt(e(334))/4*(-parseInt(e(324))/5)+parseInt(e(310))/6*(-parseInt(e(321))/7)+parseInt(e(328))/8+parseInt(e(325))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[j(317)];[j(322)];[j(320)];[j(319)];[j(316)];[j(309)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(317)]=e[i(317)]||null,this[i(322)]=e[i(322)]||[],this[i(320)]=e[i(320)]||null,this[i(319)]=e[i(319)]||0,this[i(316)]=e[i(316)]||0,this[i(327)](i(332),e[i(332)]||""),this[i(327)](i(313),e[i(313)]||new Date),this[i(327)](i(331),e[i(331)]||{})}[j(308)](t){this[j(318)]({name:t})}[j(335)](t,e){const i=j,s=A(this[i(331)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(318)]({attributes:s})}[j(326)](t){const e=j,i=A(this[e(331)]);(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]&&E(e))return L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(318)]({attributes:i})}[j(318)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(332),i(313),i(320),i(322),i(331),i(319),i(316),i(311)];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(322)]&&(n[i(333)]=n[i(322)][i(315)]((t=>t.id)),delete n[i(322)]),this[i(323)](i(318),n,e))}[j(329)](){const t=j;return{id:this.id,name:this[t(332)],creatorId:this[t(317)]?this[t(317)].id:null,authorsIds:this[t(322)][t(315)]((t=>t.id)),diffData:this[t(320)],createdAt:this[t(313)],attributes:this[t(331)],fromVersion:this[t(316)],toVersion:this[t(319)]}}}function z(){const t=["_update","toVersion","diffData","315fFXmxW","authors","fire","70IxBgUp","15137784AhqNfm","removeAttribute","set","754688bnQIvw","toJSON","2208256XMXLGM","attributes","name","authorsIds","276924tpDQeP","setAttribute","setName","model","22758SVDTwV","creatorId","153247JuTWSJ","createdAt","3191967oQsqkl","map","fromVersion","creator"];return(z=function(){return t})()}var U=i(782),Z=i(211),H=i(783);function $(t,e){const i=Y();return($=function(t,e){return i[t-=495]})(t,e)}const q=$;!function(t){const e=$,i=t();for(;;)try{if(515843===-parseInt(e(506))/1*(-parseInt(e(526))/2)+parseInt(e(537))/3+-parseInt(e(523))/4*(parseInt(e(510))/5)+parseInt(e(514))/6*(-parseInt(e(525))/7)+parseInt(e(499))/8*(parseInt(e(534))/9)+parseInt(e(545))/10*(-parseInt(e(535))/11)+-parseInt(e(519))/12*(-parseInt(e(527))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class B extends U.Plugin{[q(516)];static get[q(522)](){return[Z.Users]}static get[q(524)](){return q(512)}static get[q(536)](){return!0}static get[q(540)](){return!0}get[q(529)](){const t=q;return this[t(516)][t(529)]}constructor(e){const i=q;super(e),this[i(516)]=new t.Collection}[q(547)](){!async function(e){const i=k([120,90,101,55,108,121,53,68,109,79,110,52,51,73,103,119,69,98,85,112,71,104,83,115,89,57,106,72,116,113,80,97,48,99,67,76,78,105,87,81,88,70,111,107,65,102,77,118,49,114,56,75,50,82,66,74,100,122,54,86,117,84]),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(511)](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([120]);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(532)]((t=>String[e(542)](t)))[e(504)]("")}!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:1746748800;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(496)]);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(544)](t){const e=q,i=this[e(543)][e(507)][e(528)](e(500));return new W({id:t.id,name:t[e(533)],creator:t[e(497)]?i[e(539)](t[e(497)]):null,diffData:t[e(520)]||t[e(552)],authors:t[e(517)][e(532)]((t=>i[e(539)](t))),createdAt:new Date(t[e(521)]),attributes:t[e(509)],fromVersion:t[e(515)],toVersion:t[e(513)]})}[q(549)](t,e=0){const i=q;this[i(516)][i(502)](t,e)}[q(546)](t){const e=q;return this[e(516)][e(528)](t)}[q(501)](t={toJSON:!1}){const e=q,i=Array[e(503)](this[e(516)]);return i[e(498)](),t[e(508)]?i[e(532)]((t=>t[e(508)]())):i}[q(531)](t){const e=q;return this[e(516)][e(531)](t)}[q(550)](t){const e=q,[,i]=this[e(530)](t,{direction:e(505)});return i}[q(541)](t){const e=q,[,i]=this[e(530)](t,{direction:e(495)});return i}[q(548)](t){const e=q,i=[];for(const s of this[e(530)](t[e(518)]))if(i[e(551)](s),s.id===t[e(538)])break;return i}*[q(530)](t,{direction:e=q(505),filter:i=()=>!0}={}){const s=q,n=s(505)===e?1:-1;let r=this[s(516)][s(528)](t),o=this[s(531)](r);for(yield r;r;){if(o+=n,r=this[s(546)](o),!r)return;i(r)&&(yield r)}}}function Y(){const t=["get","length","getRevisionsIterator","getIndex","map","name","18TmJwGc","4279HPciuk","isOfficialPlugin","2379237SaVLft","oldRevisionId","getUser","isPremiumPlugin","getLaterVisibleRevision","fromCharCode","editor","createRevision","22410qbAhWI","getRevision","afterInit","getRevisionsInDiff","addRevision","getEarlierVisibleRevision","push","data","later","href","creatorId","reverse","1261432aaJJVH","Users","getRevisions","add","from","join","earlier","2447mpqhPg","plugins","toJSON","attributes","390qhhItt","isNaN","RevisionsRepository","toVersion","156ONIxDA","fromVersion","_revisions","authorsIds","newRevisionId","12CsLAEr","diffData","createdAt","requires","40300UTewhR","pluginName","67018mtjUgw","250QjPxoH","13104702eNwIGX"];return(Y=function(){return t})()}const J=G;function G(t,e){const i=X();return(G=function(t,e){return i[t-=110]})(t,e)}!function(t){const e=G,i=t();for(;;)try{if(652246===-parseInt(e(131))/1+parseInt(e(137))/2+-parseInt(e(185))/3*(-parseInt(e(163))/4)+parseInt(e(113))/5*(parseInt(e(134))/6)+-parseInt(e(147))/7+-parseInt(e(158))/8*(-parseInt(e(132))/9)+-parseInt(e(178))/10*(parseInt(e(110))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class Q extends U.Plugin{static get[J(128)](){return J(149)}static get[J(161)](){return!0}static get[J(153)](){return!0}[J(174)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[J(123)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[J(157)](t,e){const i=J;if(t[i(116)]||!e)return;const s=this[i(176)][i(119)][i(121)](i(156)),n=await e[i(122)]({channelId:s,revisionId:t.id});t[i(116)]=n[i(116)]}[J(159)](t){const e=J,i={};for(const s in t[e(116)]){if(t[e(116)][s][e(115)]&&!t[e(116)][s][e(115)][e(182)])continue;const n=this[e(111)](JSON[e(181)](t[e(116)][s][e(114)])),r=this[e(176)][e(135)][e(171)][e(145)],o=new H.ViewDocumentFragment(r,n[e(180)]((t=>this[e(151)](t,!1))));this[e(176)][e(138)][e(124)][e(172)](e(144)),i[s]=this[e(176)][e(138)][e(124)][e(169)](o),this[e(176)][e(138)][e(124)][e(172)](e(164))}return i}[J(152)](t){const e=J,i={};for(const s in t[e(116)])t[e(116)][s][e(115)]&&!t[e(116)][s][e(115)][e(182)]||(i[s]=t[e(116)][s][e(126)]||{});return i}[J(166)](t){const e=J;return this[e(174)][e(121)](t[e(160)])}[J(151)](t,e){const i=J,s=this[i(176)][i(135)][i(171)][i(145)];if(i(143)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(155)]||"r"==t[i(155)]?[]:t[i(179)][i(180)]((t=>this[i(151)](t,e)));const o=this[i(123)][i(121)](t[i(155)])||H.ViewElement,a=this[i(176)][i(138)][i(154)][i(142)];if(n=new o(s,t[i(129)],t[i(150)],r),"u"==t[i(155)]&&t[i(179)][0]){const r=t[i(179)][0];if(n[i(146)]=function(t){const e=i,s=t[e(117)](e(130));return s[e(139)]=r,s[e(148)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(120)](n);const e=Array[i(167)](a[i(140)](t,{bind:!1})),r=a[i(118)][i(117)](i(130));r[i(125)](...e),n=Array[i(167)](a[i(112)](r))[0]}}else if("r"==t[i(155)]&&t[i(179)][0]){const r=t[i(179)][0];if(n[i(146)]=function(t){t[i(139)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(120)](n);const e=Array[i(167)](a[i(140)](t,{bind:!1})),r=a[i(118)][i(117)](i(130));r[i(125)](...e);const o=Array[i(167)](a[i(112)](r));o[i(168)]>1?n[i(120)](o):n=o[0]}}if(t[i(165)])for(const[e,s]of t[i(165)])n[i(175)](e,s);const c=void 0===t[i(183)]?null:t[i(183)];return null!==c&&(n[i(173)]=()=>c),n}}[J(136)](t){const e=J,i=JSON[e(181)](t),s=this[e(176)][e(135)][e(171)][e(145)],n=new H.ViewDocumentFragment(s,i[e(180)]((t=>this[e(151)](t,!0))));return this[e(176)][e(138)][e(141)](n)}[J(111)](t){const e=J;return(t=t[e(184)]((t=>!t[e(129)]||e(133)!==t[e(129)]&&e(162)!==t[e(129)])))[e(170)]((t=>{const i=e;i(143)!=typeof t&&(t[i(179)]=this[i(111)](t[i(179)]),t[i(150)]=t[i(150)][i(184)]((t=>!t[0][i(177)](i(127)))))})),t}}function X(){const t=["_viewClassToTypeChar","_setCustomProperty","editor","startsWith","5770pHfnye","children","map","parse","isAttached","fillerOffset","filter","645PWSmQv","27049uIORMb","_removeRevisionMarkers","domChildrenToView","1765nbmbwF","insertions","attachChange","diffData","createElement","domDocument","config","_appendChild","get","getRevision","_typeCharToViewClass","processor","append","attributesAfter","data-revision-","pluginName","name","div","984396VaeijQ","329265WJKsBC","revision-start","6810imXCiG","editing","_makeModelFromViewString","2360114biMIqG","data","innerHTML","viewChildrenToDom","toModel","domConverter","string","marked","document","render","158494zNfSRe","childNodes","RevisionHistoryUtils","attributes","_getViewFromDiffObj","getRevisionRootsAttributes","isPremiumPlugin","htmlProcessor","type","collaboration.channelId","loadRevisionData","232YrnHzS","getRevisionDocumentData","constructor","isOfficialPlugin","revision-end","8120DOyQjD","default","customProperties","_getTypeCharForViewElement","from","length","toData","forEach","view","useFillerType","getFillerOffset"];return(X=function(){return t})()}function K(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),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)===(V=s)||Number.isNaN(A)&&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 A,V;const M=(s=s??new Map).get(t),D=s.get(i);if(null!=M&&null!=D)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)}function rt(t,e){const i=lt();return(rt=function(t,e){return i[t-=407]})(t,e)}const ot=rt;!function(t){const e=rt,i=t();for(;;)try{if(825601===-parseInt(e(644))/1+parseInt(e(680))/2*(-parseInt(e(583))/3)+parseInt(e(440))/4*(parseInt(e(654))/5)+parseInt(e(691))/6+-parseInt(e(529))/7*(parseInt(e(547))/8)+-parseInt(e(714))/9+parseInt(e(509))/10*(parseInt(e(414))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lt);class at extends U.Plugin{[ot(502)];[ot(684)];[ot(582)]=null;[ot(475)];[ot(426)]=null;[ot(690)];[ot(474)];[ot(685)];[ot(656)];[ot(407)];[ot(556)];[ot(633)];[ot(425)];[ot(501)];static get[ot(422)](){return ot(575)}static get[ot(419)](){return!0}static get[ot(594)](){return!0}static get[ot(471)](){return[Z.Users,B,Q,U.PendingActions]}constructor(e){const i=ot;super(e),this[i(475)]=this[i(581)][i(472)][i(510)](i(627)),this[i(407)]=this[i(581)][i(472)][i(510)](i(614)),this[i(690)]=new ct(this[i(581)]),this[i(685)]=this[i(581)][i(411)][i(510)](i(628))||i(473),this[i(656)]=new Map,this[i(501)]=null;const s=(0,t.uid)();this[i(474)]={history:this[i(581)][i(630)][i(455)][i(408)],getLatestVersion:()=>Promise[i(660)](this[i(581)][i(630)][i(455)][i(494)]),getCurrentRevisionId:()=>s},this[i(608)](i(432),!1),this[i(608)](i(636),!0),this[i(608)](i(624),!1),this[i(581)][i(411)][i(648)](i(479),!0),this[i(581)][i(467)][i(711)](i(613))[i(605)]({view:i(481)})}[ot(709)](){const t=ot;this[t(439)](),this[t(581)][t(544)].on(t(641),(()=>{const e=t,i=this[e(475)][e(525)](0),s=i&&null===i[e(445)]?i:null;if(this[e(633)]=!!s&&this[e(581)][e(411)][e(510)](e(479)),this[e(581)][e(472)][e(719)](e(441))){const t=this[e(474)][e(599)](),n=this[e(475)][e(525)](t);if(n)this[e(425)]=n[e(698)],this[e(633)]=!1;else{const t=this[e(474)][e(408)][e(659)][e(669)]((t=>!t[e(500)])),n=t?t[e(631)]:this[e(474)][e(408)][e(494)];i?(i[e(504)]<n&&i[e(521)]({toVersion:n}),this[e(633)]?(this[e(474)][e(599)]=()=>s.id,this[e(425)]=s[e(698)]):(this[e(425)]=i[e(504)],this[e(633)]=!1)):(this[e(425)]=n,this[e(633)]=!1)}}else s&&(this[e(581)][e(630)][e(455)][e(408)][e(494)]=Math[e(647)](s[e(504)],this[e(581)][e(630)][e(455)][e(408)][e(494)]),s[e(698)]===s[e(504)]?(0!==s[e(698)]&&(this[e(474)][e(599)]=()=>s.id),this[e(633)]=!1):this[e(633)]&&(this[e(474)][e(599)]=()=>s.id,this[e(425)]=s[e(698)])),this[e(633)]||(this[e(425)]=this[e(581)][e(630)][e(455)][e(494)]);this[e(690)][e(709)](this[e(474)][e(408)]),this[e(574)](this[e(425)]),this[e(598)](this[e(425)]),this[e(426)]&&this[e(619)]()})),this[t(729)](t(432)).to(this,t(624),(t=>!t)),this[t(502)]=this[t(581)][t(411)][t(510)](t(502));const e=this[t(581)];this[t(684)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(638)==r||i(611)==r||i(430)==r||i(520)==r||i(721)==r||i(730)==r||i(651)==r||i(516)==r){delete e[n],s=r,clearInterval(this[i(684)]),this[i(684)]=void 0;break}}i(611)==s&&e[i(592)](i(488)),i(430)==s&&e[i(592)](i(708)),i(520)==s&&e[i(592)](i(442)),i(721)==s&&e[i(592)](i(637),i(524)),i(730)==s&&e[i(592)](i(535)),i(651)==s&&e[i(592)](i(446)),i(516)==s&&e[i(592)](i(416))}),1e3)}async[ot(702)](){const t=ot;if(this[t(475)][t(675)]>0){const e=this[t(475)][t(525)](0),i=await this[t(519)](e),s=await this[t(649)](e);this[t(457)](i,s)}}[ot(452)](){const t=ot;super[t(452)](),this[t(684)]&&clearInterval(this[t(684)])}[ot(603)](t){this[ot(474)]=t}async[ot(642)](){const t=ot,e=await this[t(474)][t(458)]();if(e>this[t(582)][t(504)]){await this[t(668)]();const i=this[t(421)]({revision:this[t(582)],to:e});i[t(674)]=i[t(410)][t(609)]((e=>this[t(581)][t(472)][t(510)](t(559))[t(427)](e))),this[t(582)][t(521)](i)}}async[ot(530)](e={},i=null){const s=ot,n=[];await this[s(668)](),this[s(633)]=!1,i>this[s(582)][s(504)]&&(i=null),null===i&&(i=await this[s(474)][s(458)]());const r=this[s(515)](i),o=this[s(421)]({from:r,to:i});if(this[s(582)][s(504)]<i){const t=this[s(421)]({revision:this[s(582)],from:i,to:i});t[s(674)]=[],t[s(410)]=[],t.id=this[s(582)].id,this[s(582)][s(521)](t,!0),delete t[s(674)],n[s(466)](t)}e[s(586)]=this[s(581)][s(472)][s(510)](s(559)).me.id,e[s(424)]=e[s(424)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(561)](e);n[s(466)](e);const c=this[s(475)][s(629)](a);if(0!==c){const t=this[s(475)][s(525)](c-1);if(t[s(698)]!==i){const r=this[s(690)][s(560)](i,t[s(504)]),o={id:t.id,diffData:r[s(661)],authorsIds:r[s(410)],authors:r[s(410)][s(609)]((t=>this[s(581)][s(472)][s(510)](s(559))[s(427)](t))),fromVersion:i};t===this[s(582)]&&(o[s(527)]=new Date(e[s(527)][s(676)]()+10)),t[s(521)](o,!0),delete o[s(674)],n[s(466)](o)}}if(this[s(426)]){for(const t of n)this[s(493)](t.id,t,!0);this[s(619)]()}return a}[ot(561)](t){const e=ot,i=this[e(475)][e(577)](t);return this[e(426)]&&i.on(e(521),((t,i,s)=>{const n=e;s||(this[n(493)](i.id,i,!0),this[n(619)]())})),this[e(475)][e(461)](i,this[e(478)](i)),i}async[ot(519)](t){const e=ot;return await this[e(407)][e(578)](t,this[e(426)]),this[e(407)][e(519)](t)}async[ot(649)](t){const e=ot;return await this[e(407)][e(578)](t,this[e(426)]),this[e(407)][e(649)](t)}[ot(619)](){const t=ot;if(0===this[t(656)][t(671)])return;if(this[t(624)])return;let e=Array[t(434)](this[t(656)][t(665)]());this[t(656)][t(546)]();for(let i=0;i<e[t(675)];i++){const s=e[i];let n=!1;for(const e of Object[t(682)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(490)]((t=>null!==t)),!e[t(675)])return;for(let i=0;i<e[t(675)];i++){const s=e[i];void 0!==s[t(698)]&&void 0===s[t(504)]&&(s[t(504)]=this[t(475)][t(525)](s.id)[t(504)]),void 0!==s[t(504)]&&void 0===s[t(698)]&&(s[t(698)]=this[t(475)][t(525)](s.id)[t(698)])}const i=this[t(581)][t(411)][t(510)](t(628));this[t(624)]=!0,this[t(526)](),this[t(426)][t(663)](e,i)[t(487)]((()=>{this[t(624)]=!1}))[t(621)]((e=>{const i=t;if(e)for(const t of e)this[i(657)]({id:t.id,createdAt:t[i(527)]});this[i(503)](),this[i(619)]()}))}[ot(421)]({revision:t=null,from:e=null,to:i=null}){const s=ot;e=null!==e?e:t[s(698)],i=null!==i?i:t[s(504)];const n=this[s(690)][s(560)](e,i),r={diffData:n[s(661)],authorsIds:n[s(410)],fromVersion:e,toVersion:i};if(!t||i!==t[s(504)]){const t=i-1,e=this[s(474)][s(408)][s(728)](t);r[s(527)]=e&&e[s(527)]||new Date}if(this[s(501)]&&e===this[s(501)][s(698)])for(const t of this[s(501)][s(674)])r[s(410)][s(591)](t.id)||r[s(410)][s(466)](t.id);return r}[ot(493)](t,e,i){const s=ot;if(this[s(656)][s(719)](t)){const n=this[s(656)][s(510)](t);e=i?{...n,...e}:{...e,...n}}this[s(656)][s(608)](t,e)}[ot(657)](t){const e=ot,i=this[e(475)][e(525)](t.id);if(t[e(527)]&&(t[e(527)]=new Date(t[e(527)])),t[e(410)]){const i=this[e(581)][e(472)][e(510)](e(559));t[e(674)]=t[e(410)][e(609)]((t=>i[e(427)](t)))}i[e(521)](t,!0)}[ot(574)](t){const e=ot,i=this[e(475)][e(525)](this[e(475)][e(675)]-1);if(i)this[e(685)]=i.id;else{const i=!this[e(581)][e(630)][e(455)][e(683)][e(669)]((t=>this[e(581)][e(630)][e(572)](t))),s=this[e(581)][e(472)][e(510)](e(559)).me.id,n=K(this[e(581)][e(465)],e(i?550:552));this[e(705)]({from:t,to:t,id:this[e(685)],name:n,creatorId:s})}}[ot(598)](t){const e=ot,i=this[e(474)][e(599)]();this[e(582)]=this[e(475)][e(525)](i),this[e(582)]||(this[e(582)]=this[e(705)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ot(668)](){const t=ot;this[t(633)]&&!this[t(501)]&&(await this[t(407)][t(578)](this[t(582)],this[t(426)]),this[t(690)][t(468)](this[t(582)]),this[t(501)]={fromVersion:this[t(582)][t(698)],authors:this[t(582)][t(674)][t(722)]()})}[ot(457)](e,i){const s=ot;let n=this[s(581)][s(411)][s(510)](s(610)),r=this[s(581)][s(411)][s(510)](s(415));if(void 0===n){n={};for(const t of this[s(581)][s(630)][s(455)][s(480)]())n[t]=""}if(s(459)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(581)][s(630)][s(455)][s(480)]())r[t]={}}let o=!1;const a=Object[s(682)](n),c=Object[s(682)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(607)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(682)](r[t])[s(675)]>0){o=!0;break}}o||(o=c[s(664)]((t=>!this[s(581)][s(630)][s(455)][s(601)](t)))),o&&(0,t.logWarning)(s(666),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(581)][s(411)][s(608)](s(610),e),this[s(581)][s(411)][s(608)](s(415),i)}[ot(526)](){const t=ot;if(!this[t(556)]){const e=this[t(581)][t(472)][t(510)](t(716));this[t(556)]=e[t(555)](K(this[t(581)][t(465)],t(725)))}}[ot(503)](){const t=ot;this[t(556)]&&(this[t(581)][t(472)][t(510)](t(716))[t(499)](this[t(556)]),this[t(556)]=null)}[ot(478)](t){const e=ot,i=this[e(475)][e(428)]();i[e(573)]();let s=0;for(;s<i[e(675)];){const n=i[s];if(n===this[e(582)]){s++;continue}if(n.id===this[e(685)])break;const r=t[e(504)]-n[e(504)]||t[e(698)]-n[e(698)];if(r>0)break;if(r<0)s++;else{if(!t[e(445)]&&n[e(445)])break;if(n[e(445)]||!t[e(445)]){if(t[e(527)]>n[e(527)])break;s++}else s++}}return s}[ot(515)](t){const e=ot,i=this[e(475)][e(428)]();i[e(573)](),i[e(643)]();const s=i[e(669)]((i=>i[e(504)]<=t))[e(504)];return s<this[e(425)]?this[e(425)]:s}[ot(705)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ot,o=this[r(421)]({from:e,to:i});o[r(424)]=t,o[r(586)]=s,o.id=n;const a=this[r(561)](o);return this[r(426)]&&this[r(493)](o.id,o,!0),a}[ot(439)](){const t=ot;this[t(581)][t(467)][t(711)](t(615))[t(491)]({model:t(481)})}}class ct{[ot(581)];[ot(517)];[ot(463)];[ot(462)];[ot(449)];[ot(514)];[ot(634)];[ot(703)];[ot(448)];[ot(723)];[ot(492)];[ot(497)];[ot(557)];[ot(620)];[ot(567)];[ot(420)];[ot(511)];constructor(t){const e=ot;this[e(581)]=t,this[e(463)]=new Map,this[e(462)]=-1,this[e(449)]=-1,this[e(514)]=new Map,this[e(634)]=new Map,this[e(703)]=new Map,this[e(448)]=new Map,this[e(723)]=new Map,this[e(492)]=new Map,this[e(497)]=new Map,this[e(557)]=new Map,this[e(620)]=new Map,this[e(567)]=new Map,this[e(420)]=1}[ot(709)](t){const e=ot;this[e(517)]=t;const i=new Map,s=new Map,n=this[e(581)][e(630)][e(455)][e(683)][e(609)]((t=>t[e(662)]));for(const t of n){const n=this[e(581)][e(630)][e(455)][e(601)](t),r=ut(n);i[e(608)](t,r),s[e(608)](t,Object[e(470)](n[e(626)]()))}const r=Array[e(434)](this[e(581)][e(630)][e(655)])[e(609)]((t=>[t[e(424)],t[e(476)]()])),o=this[e(517)][e(494)];this[e(536)](o,i,r,s),this[e(511)]=this[e(420)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(608)](t,i),c[e(608)](t,{})}this[e(536)](Number[e(717)],a,[],c)}[ot(560)](t,e){const i=ot;if(this[i(462)]===t&&this[i(449)]<=e)this[i(463)][i(671)]>1&&this[i(695)](this[i(449)]),this[i(653)](this[i(449)],e,!0);else{if(!this[i(463)][i(719)](t)){const e=this[i(563)](t);this[i(689)](e,t,!1)}this[i(689)](t,e,!0)}return this[i(462)]=t,this[i(449)]=e,this[i(541)]()}[ot(468)](t){const e=ot,i=this[e(581)][e(472)][e(510)](e(614));this[e(632)](),this[e(462)]=t[e(698)],this[e(449)]=t[e(504)];for(const s in t[e(661)]){const n=t[e(661)][s][e(693)],r=A(t[e(661)][s][e(587)])||{},o=i[e(507)](t[e(661)][s][e(495)]);o[e(662)]=s,o[e(443)]=!n||!n[e(704)],o[e(704)]=()=>o[e(443)],this[e(448)][e(608)](s,o),this[e(723)][e(608)](s,r),n&&this[e(567)][e(608)](s,n);const a=this[e(618)](o);this[e(497)][e(608)](s,a);for(const[t,i]of o[e(655)]){if(!t[e(681)](e(706)))continue;const s=t[e(542)](":")[2];for(const t of i[e(437)]({singleCharacters:!0})){const i=this[e(447)](t),n=e(549)==t[e(533)]?t[e(720)][e(672)][e(722)](0,-1):t[e(720)][e(672)],r=a[e(539)](n)[e(600)](i);this[e(557)][e(608)](r,{userId:s})}}}this[e(511)]=this[e(420)];const s=[...Array(this[e(420)])[e(682)]()][e(722)](1)[e(490)]((t=>!this[e(557)][e(719)](t)));let n=0;const r=new Map;for(const o in t[e(661)]){const a=t[e(661)][o][e(693)],c=A(t[e(661)][o][e(483)])||{},u=i[e(507)](t[e(661)][o][e(640)]);u[e(662)]=o,u[e(443)]=!a||a[e(704)],u[e(704)]=()=>u[e(443)],this[e(634)][e(608)](o,u),this[e(703)][e(608)](o,c);const l=this[e(618)](u,Number[e(717)]);this[e(492)][e(608)](o,l),r[e(608)](o,u[e(704)]()?c:{});for(const[t,i]of u[e(655)]){if(!t[e(681)](e(706)))continue;const s=t[e(542)](":")[2];for(const t of i[e(437)]({singleCharacters:!0})){const i=this[e(447)](t),n=this[e(420)]++,r=e(549)==t[e(533)]?t[e(720)][e(672)][e(722)](0,-1):t[e(720)][e(672)];l[e(539)](r)[e(576)](i,n),this[e(557)][e(608)](n,{userId:s})}}for(const t of this[e(581)][e(630)][e(543)](u)[e(437)]({singleCharacters:!0})){const i=this[e(447)](t),r=e(549)==t[e(533)]?t[e(720)][e(672)][e(722)](0,-1):t[e(720)][e(672)],o=l[e(539)](r);o[e(600)](i)>0||o[e(576)](i,s[n++])}for(const[t,i]of u[e(655)])t[e(681)](e(706))||this[e(514)][e(608)](t,i)}const o=ht(e(692));this[e(448)][e(608)](e(692),o),this[e(497)][e(608)](e(692),this[e(618)](o,1));const a=ht(e(692));this[e(634)][e(608)](e(692),a),this[e(492)][e(608)](e(692),this[e(618)](a,1));const c=Array[e(434)](this[e(634)])[e(609)]((([t,e])=>[t,ut(e)]));this[e(536)](this[e(449)],c,this[e(514)],r)}[ot(679)](){const t=ot;this[t(632)](),this[t(462)]=-1,this[t(449)]=-1,this[t(463)][t(546)](),this[t(709)](this[t(517)])}[ot(536)](t,e,i,s){const n=ot,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(608)](t,{start:e[n(593)][n(652)](),end:e[n(518)][n(652)](),rootName:e[n(522)][n(662)]});this[n(463)][n(608)](t,{roots:r,markers:a,rootsAttributes:o})}[ot(695)](t){const e=ot;this[e(463)][e(677)](t)}[ot(632)](){const t=ot;this[t(557)][t(546)](),this[t(620)][t(546)](),this[t(567)][t(546)](),this[t(634)][t(546)](),this[t(703)][t(546)](),this[t(448)][t(546)](),this[t(723)][t(546)](),this[t(492)][t(546)](),this[t(497)][t(546)](),this[t(514)][t(546)](),this[t(420)]=1,this[t(511)]=this[t(420)]}[ot(618)](t,e=null){const i=ot;let s=null;t.is(i(528))||(s=new H.Element(t[i(424)],{vid_start:null===e?this[i(420)]++:e++}));const n=[];for(const s of t[i(570)]())if(s.is(i(699))){n[i(466)](this[i(618)](s,e));const t=n[n[i(675)]-1];null!==e&&(e=t.is(i(699),i(616))?t[i(600)](i(645))+1:t[i(600)](i(548))+1)}else for(let t=0;t<s[i(444)];t++)n[i(466)](new H.Element(i(616),{vid:null===e?this[i(420)]++:e++}));if(t.is(i(528))){const e=ht(t[i(662)]);return e[i(715)](0,n),e}return s[i(576)](i(548),null===e?this[i(420)]++:e++),s[i(715)](0,n),s}[ot(689)](t,e,i){const s=ot;this[s(632)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(463)][s(510)](t);this[s(448)]=new Map(n),this[s(723)]=new Map(A(o));for(const[t,e]of this[s(448)])if(s(692)!==t&&(this[s(634)][s(608)](t,ut(e)),this[s(703)]=new Map(A(o)),i)){const i=this[s(420)];this[s(492)][s(608)](t,this[s(618)](e)),this[s(497)][s(608)](t,this[s(618)](e,i))}this[s(511)]=this[s(420)],this[s(634)][s(608)](s(692),ut(this[s(448)][s(510)](s(692)))),i&&this[s(492)][s(608)](s(692),this[s(618)](this[s(448)][s(510)](s(692))));for(const[t,e]of r){const i=this[s(448)][s(510)](e[s(662)]),n=this[s(634)][s(510)](e[s(662)]),r=new H.Range(this[s(697)](e[s(593)],i),this[s(697)](e[s(518)],i)),o=this[s(564)](r,n);i[s(655)][s(608)](t,r),this[s(514)][s(608)](t,o)}this[s(653)](t,e,i)}[ot(653)](t,e,i){const s=ot;for(const n of this[s(517)][s(694)](t,e))this[s(569)](n,i);for(const t of this[s(634)][s(665)]())t[s(655)][s(546)]();for(const[t,e]of this[s(514)])this[s(634)][s(510)](e[s(522)][s(662)])[s(655)][s(608)](t,e[s(652)]());const n=new Map,r=new Map;for(const[t,e]of this[s(634)])n[s(608)](t,ut(e)),r[s(608)](t,this[s(703)][s(510)](t));this[s(536)](e,n,this[s(514)],r)}[ot(563)](t){const e=ot,i=Array[e(434)](this[e(463)][e(682)]());i[e(456)](((t,e)=>t-e)),i[e(573)]();for(const e of i)if(e<t)return e;return Number[e(717)]}[ot(464)](t,e){const i=ot,s=Array[i(434)](e[i(655)])[i(609)]((([e,s])=>[e,this[i(564)](s,t)]));t[i(655)]=new Map(s)}[ot(482)](t){const e=ot;for(const i of this[e(514)][e(665)]()){const s=i[e(540)](t),n=H.Range[e(635)](s);i[e(593)]=n[e(593)],i[e(518)]=n[e(518)]}}[ot(569)](t,e){const i=ot;if(i(523)!=t[i(533)]&&i(409)!=t[i(533)]){if(i(646)==t[i(533)]){const s=t[i(451)][i(522)][i(662)];this[i(634)][i(719)](s)||(this[i(634)][i(608)](s,ht(s,!0)),this[i(703)][i(608)](s,{}),e&&this[i(492)][i(608)](s,ht(s,!0)))}else{if(i(590)==t[i(533)]||i(436)==t[i(533)]||i(512)==t[i(533)])return void this[i(696)](t);i(710)==t[i(533)]&&this[i(485)](t)}if(i(710)!==t[i(533)]){const e=this[i(435)](t,this[i(634)]);e[i(623)](),this[i(482)](e)}if(e)switch(t[i(533)]){case i(646):this[i(639)](t);break;case i(506):case i(499):case i(417):this[i(423)](t);break;case i(612):this[i(450)](t);break;case i(542):this[i(606)](t)}}else this[i(429)](t,e)}[ot(435)](t,e){const i=ot,s=t[i(652)]();return s[i(670)]=t[i(670)],this[i(686)](s,e),s}[ot(538)](t){const e=ot;return t[e(609)]((t=>{const i=e,s=this[i(447)](t);return Number(t[i(584)][i(600)](s))}))}[ot(554)](t,e){const i=ot;if(t.is(i(699),i(616)))e[i(466)]({item:t,type:i(496)});else{t.is(i(699))&&e[i(466)]({item:t,type:i(625)});for(const s of t[i(570)]())this[i(554)](s,e);t.is(i(699))&&e[i(466)]({item:t,type:i(549)})}return e}[ot(541)](){const t=ot,e=new Map(this[t(557)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(448)][t(682)](),...this[t(634)][t(682)]()]);a[t(677)](t(692));for(const e of a){const i=this[t(634)][t(510)](e)||ht(e,!1),s=this[t(448)][t(510)](e)||ht(e,!1);i[t(704)]()||s[t(704)]()?(n[t(640)][e]=ut(i),n[t(495)][e]=ut(s),this[t(464)](n[t(495)][e],s),this[t(464)](n[t(640)][e],i),r[t(640)][e]=this[t(554)](this[t(492)][t(510)](e),[]),r[t(495)][e]=this[t(554)](this[t(497)][t(510)](e)||ht(e,!1),[])):a[t(677)](e)}for(const n of a){const o=r[t(640)][n];for(const n of o){const r=this[t(447)](n),o=n[t(584)][t(600)](r);i[t(677)](o),o>=this[t(511)]&&s[t(608)](o,e[t(510)](o))}}for(const n of a){const a=r[t(640)][n],c=this[t(538)](r[t(495)][n]);let u=0;for(const n of a){const r=this[t(447)](n),a=n[t(584)][t(600)](r);if(!s[t(719)](a)&&!o[t(719)](a))if(i[t(719)](a))u++;else{if(a!=c[u]){const s=e[t(510)](a)||e[t(510)](c[u]);for(;a!=c[u];)i[t(719)](c[u])||(o[t(608)](c[u],s),e[t(608)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(640)][e];for(const e of n){const n=this[t(447)](e),r=e[t(584)][t(600)](n);if(o[t(719)](r)){const e=o[t(510)](r);i[t(719)](r)||i[t(608)](r,{...e}),s[t(608)](r,{...e})}}}for(const e of i[t(682)]())e>=this[t(511)]&&i[t(677)](e);const c=new Map;for(const e of a){let n=r[t(640)][e];for(const e of n)if(e[t(584)].is(t(699),t(498))){const i=this[t(447)](e),n=e[t(584)][t(600)](i);if(s[t(719)](n)){const i=e[t(584)][t(534)][t(534)][t(600)](t(537)),r=c[t(510)](i)||new Set;r[t(555)](s[t(510)](n)[t(589)]),c[t(608)](i,r)}}n=r[t(495)][e];for(const e of n)if(e[t(584)].is(t(699),t(498))){const s=this[t(447)](e),n=e[t(584)][t(600)](s);if(i[t(719)](n)){const s=e[t(584)][t(534)][t(534)][t(600)](t(537)),r=c[t(510)](s)||new Set;r[t(555)](i[t(510)](n)[t(589)]),c[t(608)](s,r)}}for(const e of c[t(682)]())(s[t(719)](e)||i[t(719)](e))&&c[t(677)](e)}for(const e of a){const n=r[t(640)][e];let o=null,a=null;for(const e of n){const n=this[t(447)](e),r=e[t(584)][t(600)](n),u=c[t(510)](r);u&&t(625)==e[t(533)]&&(o=Array[t(434)](u)[0],a=e[t(584)][t(600)](t(548))),o&&(i[t(608)](r,{userId:o}),s[t(608)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(495)][e],a=n[t(640)][e];for(const{userId:e}of this[t(620)][t(665)]())null!==e&&l[t(555)](e);for(const{userId:e}of this[t(567)][t(665)]())null!==e&&l[t(555)](e);this[t(596)](a,r[t(640)][e],s,t(551),l),this[t(596)](o,r[t(495)][e],i,t(412),l),u[e]={insertions:this[t(433)](a),deletions:this[t(433)](o),attachChange:this[t(567)][t(510)](e)||null,attributesBefore:A(this[t(723)][t(510)](e))||{},attributesAfter:A(this[t(703)][t(510)](e))}}return{diffData:u,authorsIds:Array[t(434)](l)}}[ot(565)](t){const e=ot;for(const[,i]of t[e(655)]){const t=i[e(593)][e(650)]()[e(490)]((t=>e(498)==t[e(424)]));for(const i of t)1==i[e(477)]&&i[e(726)](0).is(e(699),e(604))&&i[e(726)](0)[e(576)](e(484),!0)}}[ot(433)](t){const e=ot;this[e(565)](t);const i=this[e(581)][e(544)][e(673)](t,{}),s=Array[e(434)](i[e(570)]())[e(609)]((t=>this[e(701)](t)));return JSON[e(438)](s)}[ot(701)](t){const e=ot;if(t.is(e(616)))return t[e(544)];{const i=this[e(581)][e(472)][e(510)](e(614)),s=t,n=this[e(581)][e(544)][e(688)][e(712)],r={type:i[e(597)](s),name:s[e(424)],attributes:Array[e(434)](s[e(626)]()),children:Array[e(434)](s[e(570)]())[e(609)]((t=>this[e(701)](t)))};if(t.is(e(568))&&e(571)!=t[e(424)]){const i=t[e(453)](n[e(595)],n);r[e(707)][e(466)](i[e(667)])}else if(t.is(e(431))){const i=n[e(595)][e(602)](s[e(424)]);t[e(453)](i,n),r[e(707)][e(466)](i[e(566)])}const o=Array[e(434)](s[e(588)]());o[e(675)]>0&&(r[e(532)]=o);const a=s[e(713)]();return null!==a&&(r[e(489)]=a),r}}[ot(596)](t,e,i,s,n){const r=ot;let o=null,a=null,c=0;const u=this[r(581)][r(630)];for(let s=0;s<e[r(675)];s++){const n=this[r(447)](e[s]),c=e[s][r(584)][r(600)](n),h=i[r(510)](c),d=s==e[r(675)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(589)]!=o[r(589)])&&(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(589)],d=l(706)+s+":"+h+":"+c++,f=u[l(545)](i,a);t[l(655)][l(608)](d,f),null!==h&&n[l(555)](h)}}[ot(447)](t){const e=ot;switch(t[e(533)]){case e(625):return e(537);case e(549):return e(548);default:return e(645)}}[ot(686)](t,e){const i=ot;t[i(631)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(510)](n[i(522)][i(662)]);t[s]=this[i(697)](n,r)}if(n instanceof H.Range){const r=e[i(510)](n[i(522)][i(662)]);t[s]=this[i(564)](n,r)}i(522)===s&&(t[i(522)]=e[i(510)](t[i(522)][i(662)]))}}[ot(564)](t,e){const i=ot;return this[i(581)][i(630)][i(545)](this[i(697)](t[i(593)],e),this[i(697)](t[i(518)],e))}[ot(697)](t,e){const i=ot;return this[i(581)][i(630)][i(505)](e,t[i(672)],t[i(553)])}[ot(639)](t){const e=ot,i=this[e(492)][e(510)](t[e(451)][e(522)][e(662)]),s=this[e(697)](t[e(451)],i),n=null===t[e(670)]?null:t[e(670)]||this[e(581)][e(472)][e(510)](e(559)).me.id,r=s[e(534)],o=this[e(420)],a=[];for(const i of t[e(678)])if(i.is(e(699)))a[e(466)](this[e(618)](i));else for(let t=0;t<i[e(444)];t++)a[e(466)](new H.Element(e(616),{vid:this[e(420)]++}));const c=this[e(420)];for(let t=o;t<c;t++)this[e(557)][e(608)](t,{userId:n});r[e(715)](s[e(418)],a)}[ot(423)](t){const e=ot;(t=this[e(435)](t,this[e(492)]))[e(623)]();const i=null===t[e(670)]?null:t[e(670)]||this[e(581)][e(472)][e(510)](e(559)).me.id,s=t[e(469)](),n=s[e(534)],r=s[e(418)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(726)](e);r.is(a(699),a(616))?s[a(608)](r[a(600)](a(645)),{userId:i}):(s[a(608)](r[a(600)](a(537)),{userId:i}),t(s,r,0,r[a(477)]),s[a(608)](r[a(600)](a(548)),{userId:i}))}}(this[e(557)],n,r,r+t[e(718)])}[ot(450)](t){const e=ot,i=null===(t=this[e(435)](t,this[e(492)]))[e(670)]?null:t[e(670)]||this[e(581)][e(472)][e(510)](e(559)).me.id,s=t[e(513)][e(534)],n=t[e(585)][e(534)],r=s[e(600)](e(548)),o=n[e(600)](e(537));s[e(576)](e(548),n[e(600)](e(548))),n[e(576)](e(548),r),this[e(557)][e(608)](o,{userId:i}),this[e(557)][e(608)](r,{userId:i}),t[e(623)]()}[ot(606)](t){const e=ot,i=null===(t=this[e(435)](t,this[e(492)]))[e(670)]?null:t[e(670)]||this[e(581)][e(472)][e(510)](e(559)).me.id,s=t[e(724)],n=t[e(508)][e(534)];t[e(623)]();const r=n[e(600)](e(548)),o=t[e(579)][e(531)];if(s){const t=o[e(600)](e(548)),s=n[e(600)](e(548));n[e(576)](e(548),t),o[e(576)](e(548),s),this[e(557)][e(608)](n[e(600)](e(548)),{userId:i}),this[e(557)][e(608)](o[e(600)](e(537)),{userId:i})}else{const t=this[e(420)]++,s=this[e(420)]++;n[e(576)](e(548),t),o[e(576)](e(537),s),o[e(576)](e(548),r),this[e(557)][e(608)](t,{userId:i}),this[e(557)][e(608)](s,{userId:i})}}[ot(485)](t){const e=ot;if(!t[e(727)])return;const i=(t=this[e(435)](t,this[e(634)]))[e(460)]?t[e(460)][e(522)]:null,s=t[e(617)]?t[e(617)][e(522)]:null;i&&this[e(514)][e(677)](t[e(424)]),s&&this[e(514)][e(608)](t[e(424)],t[e(617)][e(652)]());const n=null===t[e(670)]?null:t[e(670)]||this[e(581)][e(472)][e(510)](e(559)).me.id,r=t[e(424)];if(!this[e(620)][e(719)](r))return void this[e(620)][e(608)](r,{range:t[e(460)],userId:n});const o=this[e(620)][e(510)](r),a=o[e(454)],c=t[e(617)];null==a&&null==c||a&&c&&a[e(486)](c)?this[e(620)][e(677)](t[e(424)]):o[e(589)]=n}[ot(429)](t,e){const i=ot;this[i(634)][i(719)](t[i(662)])?this[i(634)][i(510)](t[i(662)])[i(443)]=t[i(413)]:(this[i(634)][i(608)](t[i(662)],ht(t[i(662)],!0)),this[i(703)][i(608)](t[i(662)],{}),e&&this[i(492)][i(608)](t[i(662)],ht(t[i(662)],!0)));const s=null===t[i(670)]?null:t[i(670)]||this[i(581)][i(472)][i(510)](i(559)).me.id,n=this[i(567)][i(510)](t[i(662)]);n&&n[i(589)]===s?this[i(567)][i(677)](t[i(662)]):this[i(567)][i(608)](t[i(662)],{userId:s,isAttached:t[i(413)]})}[ot(696)](t){const e=ot,i=this[e(703)][e(510)](t[e(522)][e(662)]);null===t[e(700)]?delete i[t[e(687)]]:i[t[e(687)]]=t[e(700)]}}function ut(t){const e=ot,i=ht(t[e(662)],t[e(704)]());for(const s of t[e(570)]()){const t=s[e(580)](!0);i[e(562)](t)}return i}function lt(){const t=["fromVersion","element","newValue","_getViewJson","afterInit","_diffRootsAttributes","isAttached","_makeRevision","revision:","children","expired","init","marker","for","domConverter","getFillerOffset","11150766mBGtvl","_insertChild","PendingActions","NEGATIVE_INFINITY","howMany","has","previousPosition","revisionHistoryLicenseKeyNotAllowed","slice","_baseRootsAttributes","graveyardPosition","PENDING_ACTION_REVISION_HISTORY","getChild","affectsData","getOperation","bind","revisionHistoryLicenseKeyEvaluationLimit","_utils","history","detachRoot","authorsIds","config","deletion","isAdd","66LtramN","rootsAttributes","usageLimit","reinsert","offset","isOfficialPlugin","_revisionId","buildRevisionData","pluginName","_handleMoveOperation","name","_startingVersion","adapter","getUser","getRevisions","_handleRootOperation","revisionHistoryLicenseKeyExpired","rawElement","isReady","_prepareViewToSave","from","_cloneOperation","removeRootAttribute","getWalker","stringify","_setConversion","4FSQeca","RealTimeCollaborationClient","domainLimit","_isAttached","offsetSize","creator","trialLimit","_getVidAttributeName","_baseRoots","_lastTo","_handleMergeOperation","position","destroy","render","range","document","sort","_replaceEditorDataWithRevisionData","getLatestVersion","string","oldRange","addRevision","_lastFrom","_savedMetaData","_copyMarkers","locale","push","conversion","loadState","getMovedRangeStart","fromEntries","requires","plugins","initial","_source","repository","getRange","childCount","_findInsertionIndex","revisionHistory.resumeUnsavedRevision","getRootNames","revision","_transformMarkers","attributesAfter","keepParagraph","_handleMarkerOperation","isEqual","finally","invalid","fillerOffset","filter","markerToData","_idsRoots","_bufferUpdate","version","deletions","text","_baseIdsRoots","tableCell","remove","_isInit","_loadedStateData","licenseKey","_removePendingAction","toVersion","createPositionFromPath","move","_makeModelFromViewString","splitPosition","4589770oYYeaP","get","_startingRevisionId","changeRootAttribute","targetPosition","_markers","_getFromVersion","revisionHistoryLicenseKeyUsageLimit","source","end","getRevisionDocumentData","revisionHistoryLicenseKeyDomainLimit","_update","root","addRoot","RevisionHistory","getRevision","_addPendingAction","createdAt","documentFragment","11104765OVSSad","saveRevision","nodeAfter","customProperties","type","parent","evaluationLimit","_saveMetaData","vid_start","_getBaseVids","getNodeByPath","getTransformedByOperation","_getState","split","createRangeIn","data","createRange","clear","8OOROqH","vid_end","elementEnd","Empty document","insertion","Initial revision","stickiness","_generateTape","add","_pendingAction","_touched","createPositionAfter","Users","getData","addRevisionData","_appendChild","_getPreviousFrom","_fixRange","_processRootBeforeSave","innerHTML","_touchedRoots","uiElement","_handleOperation","getChildren","$comment","hasContent","reverse","_createInitialRevision","RevisionTracker","_setAttribute","createRevision","loadRevisionData","insertionPosition","_clone","editor","currentRevision","15XHEYns","item","sourcePosition","creatorId","attributesBefore","getCustomProperties","userId","addRootAttribute","includes","_showLicenseError","start","isPremiumPlugin","domDocument","_markChanges","_getTypeCharForViewElement","_createCurrentRevision","getCurrentRevisionId","getAttribute","getRoot","createElement","setSource","paragraph","dataToMarker","_handleSplitOperation","trim","set","map","initialData","revisionHistoryLicenseKeyInvalid","merge","upcast","RevisionHistoryUtils","dataDowncast","$text","newRange","_makeIdsRoot","sendBufferedUpdates","_touchedMarkers","then","createPositionBefore","_execute","_isPendingUpdate","elementStart","getAttributes","RevisionsRepository","collaboration.channelId","getIndex","model","baseVersion","_reset","_continueCurrentRevision","_diffRoots","_createFromRanges","isEnabled","featureNotAllowed","revisionHistoryLicenseKeyValid","_handleInsertOperation","insertions","ready","update","shift","394246IPzJfz","vid","insert","max","define","getRevisionRootsAttributes","getAncestors","revisionHistoryLicenseKeyTrialLimit","clone","_applyOperations","7668730dgbXMw","markers","_bufferedUpdates","setRevisionData","createPositionAt","_operations","resolve","diffData","rootName","updateRevisions","some","values","editor-initial-data-replaced-with-revision-data","outerHTML","_loadState","find","_authorId","size","path","toView","authors","length","getTime","delete","nodes","reInit","608438IlZnpg","startsWith","keys","roots","_licenseKeyCheckInterval","_initialRevisionId","_fixOperation","key","htmlProcessor","_calculateMetaData","_revisionDataBuilder","7672218YJWbzF","$graveyard","attachChange","getOperations","_removeMetaData","_handleRootAttributeOperation","_fixPosition"];return(lt=function(){return t})()}function ht(t,e=!0){const i=ot,s=new H.DocumentFragment;return s[i(662)]=t,s[i(443)]=e,s[i(704)]=()=>s[i(443)],s}function dt(t,e,i){const s=ot,n=s(549)==t[s(533)]?i[s(658)](t[s(584)],s(518)):i[s(622)](t[s(584)]);return i[s(505)](e,n[s(672)],n[s(553)])}function ft(t,e,i){const s=ot,n=s(625)==t[s(533)]?i[s(658)](t[s(584)],0):i[s(558)](t[s(584)]);return i[s(505)](e,n[s(672)],n[s(553)])}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),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=Vt;function Vt(t,e){const i=Mt();return(Vt=function(t,e){return i[t-=477]})(t,e)}function Mt(){const t=["5tIouRe","revisionNameInputValue","revisionName","extendTemplate","revisionNameInputView","optional","arrowdown","keystrokes","220","6416400cPnkCy","arrowleft","focus","ck-responsive-form","347502jPPMYT","locale","130236uMqHml","input","8742906NkhhMu","focusTracker","fieldView","stopPropagation","ck-revision-history-save-revision-form","Name of the revision","render","element","errorText","add","listenTo","setTemplate","5602734rWGudu","arrowright","trim","_createRevisionNameInput","form","reset","7nznmWx","value","911427ooPBiu","1419856ngWlOT","label","arrowup","set"];return(Mt=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(868832===-parseInt(e(493))/1*(-parseInt(e(506))/2)+parseInt(e(488))/3+-parseInt(e(508))/4+-parseInt(e(502))/5+parseInt(e(510))/6+-parseInt(e(486))/7*(-parseInt(e(489))/8)+-parseInt(e(480))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Dt extends pt.View{[At(511)];[At(500)];[At(497)];constructor(e,i){const s=At;super(e),this[s(511)]=new t.FocusTracker,this[s(500)]=new t.KeystrokeHandler,this[s(492)](s(494),""),this[s(497)]=this[s(483)](i),this[s(479)]({tag:s(484),attributes:{class:["ck",s(514),s(505)],tabindex:"-1"},children:[this[s(497)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(516)](){const t=At;super[t(516)](),(0,pt.submitHandler)({view:this}),this[t(511)][t(477)](this[t(497)][t(517)]),this[t(500)][t(478)](this[t(517)]);const e=e=>e[t(513)]();this[t(500)][t(492)](t(481),e),this[t(500)][t(492)](t(503),e),this[t(500)][t(492)](t(491),e),this[t(500)][t(492)](t(499),e)}[At(504)](){const t=At;this[t(497)][t(504)]()}get[At(495)](){const t=At;return this[t(497)][t(512)][t(517)][t(487)][t(482)]()}set[At(495)](t){const e=At;this[e(497)][e(512)][e(517)][e(487)]=t[e(482)]()}[At(485)](){const t=At;this[t(497)][t(512)][t(517)][t(487)]="",this[t(497)][t(518)]=null}[At(483)](t){const e=At,i=new pt.LabeledFieldView(this[e(507)],pt.createLabeledInputText),s=i[e(512)];s[e(496)]({attributes:{maxlength:e(501)}});let n=K(this[e(507)],e(515));return!t&&(n+=" ("+K(this[e(507)],e(498))+")"),i[e(490)]=n,s.on(e(509),(()=>{const t=e;this[t(494)]=s[t(517)][t(487)][t(482)]()})),i}}const Et=Ct;function Ct(t,e){const i=Lt();return(Ct=function(t,e){return i[t-=433]})(t,e)}!function(t){const e=Ct,i=t();for(;;)try{if(894900===-parseInt(e(434))/1*(-parseInt(e(475))/2)+parseInt(e(458))/3+-parseInt(e(447))/4*(parseInt(e(500))/5)+-parseInt(e(490))/6*(parseInt(e(459))/7)+-parseInt(e(450))/8+parseInt(e(467))/9*(parseInt(e(439))/10)+parseInt(e(449))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Ft extends U.Plugin{static get[Et(453)](){return Et(474)}static get[Et(456)](){return!0}static get[Et(455)](){return!0}static get[Et(476)](){return[at]}[Et(479)];[Et(482)](){const t=Et,e=this[t(497)],i=e[t(470)][t(436)](t(464));e.ui[t(478)][t(452)](t(477),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(496)][n(489)],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(481)](n(461)).to(i,n(438),i,n(461),e,n(442),((t,e,i)=>t&&e&&!i)),r[n(492)][n(487)]({icon:mt.IconHistory,label:K(s,n(463)),tooltip:!0}),u[n(487)]({label:K(s,n(451)),withText:!0,role:n(462)}),u[n(481)](n(461)).to(i,n(438),i,n(461),e,n(442),((t,e,i)=>t&&e&&!i)),u.on(n(448),(()=>this[n(446)]())),h[n(487)]({label:K(s,n(443)),withText:!0,role:n(462)}),h[n(481)](n(461)).to(i,n(438),e,n(442),((t,e)=>t&&!e)),h.on(n(448),(()=>{const t=n;e[t(486)][t(436)](t(477))[t(437)](),r[t(495)]=!1,e[t(502)][t(433)][t(457)]()})),c[n(489)][n(452)](u),l[n(489)][n(452)](h),a[n(473)]=n(493),a[n(480)][n(488)]([c,l]),o[n(452)](a),r})),e.ui[t(478)][t(452)](t(472),(()=>this[t(435)]()))}[Et(435)](){const t=Et,e=this[t(497)],i=e[t(441)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(492)][t(487)]({icon:mt.IconHistory,label:K(i,t(463))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(487)]({label:K(i,t(451))}),o[t(468)](t(448)).to(s),o.on(t(448),(()=>{this[t(446)]()})),r[t(489)][t(452)](o),n[t(480)][t(452)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(487)]({label:K(i,t(443))}),c[t(468)](t(448)).to(s),c.on(t(448),(()=>{const i=t;e[i(486)][i(436)](i(477))[i(437)]()})),a[t(489)][t(452)](c),n[t(480)][t(452)](a),s[t(496)][t(489)][t(452)](n),s}[Et(446)](){const t=Et,e=this[t(497)],i=e[t(441)],s=e[t(470)][t(436)](t(483)),n=e[t(470)][t(436)](t(464));function r(n){const r=t;e[r(486)][r(436)](r(460))&&""===n[r(444)]?n[r(501)][r(440)]=K(i,r(445)):(e[r(470)][r(436)](at)[r(494)]({name:n[r(444)]}),s[r(454)]())}this[t(479)]||(this[t(484)](),this[t(479)].on(t(485),(()=>r(this[t(479)])))),this[t(479)][t(465)](),s[t(469)]({id:t(498),title:K(i,t(451)),isModal:!0,content:this[t(479)],actionButtons:[{label:K(e[t(441)],t(499)),withText:!0,onExecute:()=>s[t(454)]()},{label:K(e[t(441)],t(491)),class:t(471),withText:!0,onCreate(i){const s=t;i[s(481)](s(461)).to(n,s(438),n,s(461),e,s(442),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(479)])}]})}[Et(484)](){const t=Et,e=this[t(497)],i=e[t(441)];this[t(479)]=new Dt(i,e[t(486)][t(436)](t(460))),this[t(479)][t(466)]()}}function Lt(){const t=["12365wKEUfA","revisionNameInputView","editing","view","1DOEUEm","_registerMenuComponent","get","showRevisionViewerCallback","isReady","30wqonZL","errorText","locale","isReadOnly","Open revision history","revisionName","The revision name cannot be empty.","_showDialog","2804OMLUyK","execute","9630599TDqJDa","12306200AFvsll","Save current revision","add","pluginName","hide","isPremiumPlugin","isOfficialPlugin","focus","3524682MZJLmm","717206uFrziY","revisionHistory.requireRevisionName","isEnabled","menuitem","Revision history","RevisionTracker","reset","render","5084631DVGdBR","delegate","show","plugins","ck-button-action","menuBar:revisionHistory","role","RevisionHistoryUI","2687180JBwOmR","requires","revisionHistory","componentFactory","_saveRevisionFormView","items","bind","init","Dialog","_createSaveRevisionFormView","submit","config","set","addMany","children","54VRvDDz","Accept","buttonView","menu","saveRevision","isOpen","panelView","editor","revisionSave","Cancel"];return(Lt=function(){return t})()}function jt(){const t=["bindTemplate","Removed by","name","ck-revision-change__","1829429tSkNTV","383176RVeqNc","310IHpUQV","36vItZkn","Suggested by","_model","setTemplate","isSuggestion","126880uwfHqn","ck-revision-change__label","1290BPfboF","data","div","author","span","ck-annotation","add","6xwtnJz","set","element","type","Added by","changeId","932912nHUfih","focus","988990IGkJJd","ck-revision-change","1372525hlaLtf"];return(jt=function(){return t})()}const Pt=Wt;function Wt(t,e){const i=jt();return(Wt=function(t,e){return i[t-=183]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(227851===-parseInt(e(184))/1+-parseInt(e(210))/2*(parseInt(e(186))/3)+parseInt(e(199))/4+parseInt(e(203))/5+-parseInt(e(193))/6*(-parseInt(e(208))/7)+parseInt(e(209))/8+parseInt(e(211))/9*(-parseInt(e(201))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class zt extends pt.View{[Pt(198)];[Pt(213)];constructor(t,e){const i=Pt;super(t),this[i(213)]=e,this[i(198)]=e.id;const s=this[i(204)],n=K(t,e[i(187)][i(183)]?i(212):i(192)==e[i(196)]?i(197):i(205));this[i(194)](i(196),e[i(196)]),this[i(214)]({tag:i(188),attributes:{class:[i(191),i(202),s.to(i(196),(t=>i(207)+t))],tabindex:-1},children:[{tag:i(190),children:[{tag:i(190),attributes:{class:[i(185)]},children:[{text:n}]},{text:" "+e[i(189)][i(206)]}]}]})}[Pt(200)](){const t=Pt;this[t(195)][t(200)]()}}function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=141]})(t,e)}var Zt=Ut;function Ht(){var t=["type","2197972nnlibv","10NNgMLr","set","8ldwjZy","createdAt","9LQppdE","20YWgdxU","5200769DdJINY","1115364VcUFwA","8464962VUnAtd","author","data","908951HGVnWj","367317WrnYxC","toJSON","rootName","963684eDLOjc"];return(Ht=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(937309===-parseInt(e(152))/1+-parseInt(e(148))/2*(-parseInt(e(145))/3)+parseInt(e(158))/4+parseInt(e(141))/5*(-parseInt(e(156))/6)+-parseInt(e(147))/7*(parseInt(e(143))/8)+-parseInt(e(153))/9*(parseInt(e(146))/10)+parseInt(e(149))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class $t extends((0,t.ObservableMixin)()){id;[Zt(150)];[Zt(157)];[Zt(151)];[Zt(155)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(150)]=e[i(150)],this[i(157)]=e[i(157)],this[i(151)]=e[i(151)]||{},this[i(155)]=e[i(155)],this[i(142)](i(144),e[i(144)])}[Zt(154)](){var t=Zt;return{id:this.id,authorId:this[t(150)].id,type:this[t(157)],data:this[t(151)],createdAt:this[t(144)]}}}function qt(){const t=["303109TDWlMt","newRevisionId","14PYWyiQ","996017ZIpFXj","oldRevisionId","705618lGgyxQ","288QbLJqs","297XsmlEx","changes","63416ALbddL","2tXkmmz","1013970fqhvfn","add","39MWeTiG","5965YKWSkh","337296SYGUJk","30KKGZmL","_setChanges"];return(qt=function(){return t})()}const Bt=Yt;function Yt(t,e){const i=qt();return(Yt=function(t,e){return i[t-=252]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(172853===parseInt(e(260))/1*(parseInt(e(252))/2)+parseInt(e(253))/3+-parseInt(e(266))/4*(parseInt(e(256))/5)+parseInt(e(265))/6*(parseInt(e(262))/7)+parseInt(e(269))/8*(-parseInt(e(267))/9)+-parseInt(e(258))/10*(parseInt(e(263))/11)+-parseInt(e(257))/12*(parseInt(e(255))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Jt{[Bt(261)];[Bt(264)];[Bt(268)];constructor(e,i){const s=Bt;this[s(261)]=e,this[s(264)]=i,this[s(268)]=new t.Collection}[Bt(259)](t){const e=Bt;for(const i of t)this[e(268)][e(254)](i)}}var Gt=i(536),Qt={attributes:{"data-cke":!0}};Qt.setAttributes=It(),Qt.insert=wt().bind(null,"head"),Qt.domAPI=kt(),Qt.insertStyleElement=Ot();gt()(Gt.A,Qt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=te;function Kt(){const t=["dataDowncast","isIncorrect","modelRange","config","getRoot","_markMarkers","ck-revision-history-root-remove","error","_getViewForChange","getAttributes","ck-suggestion-marker-split","item","destroy","addHighlight","element","find","getClientRects","addRevisionData","map","hasAttribute","change:activeView","findIndex","mousedown","forceDisabled","span","ck-suggestion-preview-marker-","isAtEnd","_data","bindElementToMarker","document","clear","pluginName","has","then","concat","revisionHistoryLabel","mapViewToDom","suggestion","loadRevisionData","resolve","softBreak","showPreviousChange","mouseover","_removeMissingPairs","_initInteractions","data","elementEnd","observeMarkers","left","_fixObsoleteTags","_step","abs","getRevisionDocumentData","addRoot","downcastDispatcher","_changeView","change:activeChange","diffData","revisionHistoryAttachChange","top","sort","RevisionViewer","showStack","_refreshStartEndIndex","for","setAttribute","isSuggestion","start","isAddSuggestion","4653bTiNdu","splice","oldRevisionId","view","change","consumable","suggestion:","done","revision-suggestion","newRevisionId","createPositionFromPath","166LLzNQN","isNavigationMode","createRevision","_getChangeFromId","revision:","isEqual","indexOf","_setConversion","_makeModelFromTape","isObject","change:numberOfChanges","markerRange","231atVexx","markerName","revision-comment:","attribute:vid","isPremiumPlugin","code","_cleanUp","ck-suggestion-preview-marker","getRootNames","test","set","revisionHistory","enqueueChange","POSITIVE_INFINITY","checkAttribute","elementToAttribute","removeMarker:revision-suggestion","compare","_cleanMarkers","uiElement","markerToHighlight","insertions","RevisionHistoryUtils","domConverter","slice","text","_utils","editor","forward","9448kJFSSC","first","push","removeMarker","filter","_removeUnsupportedChanges","2039596MnNeWD","reconvertMarker","bottom","getLaterVisibleRevision","_markMismatchedRemovedTags","_setDistance","addMarker:revision-suggestion:deletion","toViewElement","level","nextPosition","_update","523270cuenrU","listenTo","nextSibling","markersStart","currentChangeNumber","pairId","createRange","delete","-new","isRemoveSuggestion","flat","_getRevisionsRange","_revisions","817584XMgxJO","roots","keys","unshift","stop","removeAttribute","upcast","activeChange","hasClass","string","low","getRevisionRootsAttributes","consume","markersEnd","name","addClass","changeId","isOfficialPlugin","index","execute","remove","high","startIndex","bind","35AObmnL","ck-revision-history-root-","_changeIdToChange","parent","requires","markerToData","data-change-id","forEach","pop","_markInsertions","offsetSize","ck-editor__editable__overlay","6586NfbPIP","refresh","addRevision","revision","detachRoot","vid","range","isContent","_getDiff","toViewRange","isAtStart","updatePosition","rootName","_findChangeIdFromDomTarget","activeView","_makeTape","createUIElement","diff","_setChanges","shift","all","removeClass","side","isRemoved","unbindElementFromMarkerName","length","getRevision","WidgetToolbarRepository","elementStart","isEnabled","restoreRevisionCallback","change:isEnabled","showNextChange","insert","viewItem","attributesAfter","commands","createAttributeElement","catch","getWalker","authors","getChild","_appendChild","model","getItems","writer","revision-viewer","editing","type","isReady","element:pre","markers","vid_start","next","createPositionBefore","split","plugins","distance","568890TDGEud","getDomRoot","highest","getAttribute","userId","schema","isBefore","mapper","ck-revision-history-root-add","getIndex","removeMarker:revision","object","isOnRoot","from","deletions","nodeAfter","insertion","right","dataToMarker","addMarker:revision","attachChange","revision-suggestion:","get","changes","editingDowncast","conversion","isAdded","locale","add","endIndex","_markSuggestions","createRangeIn","ck-revision-history-root--active","return","isAttached","toViewPosition","maxOffset","_threeWayMerge","addMarker:revision-suggestion:insertion","isAfter","backward","target","init","ck-suggestion-marker-merge","_balloon","isInline","getCustomProperty","vid_end","_activeViewTarget","attributes","comment","attributesBefore","domEvent","restoreRevision","enableReadOnlyMode","ck-suggestion-marker","values","affectsData","ck-suggestion-marker-","_processTape","markerNameToElements","RevisionsRepository","previousPosition","includes","merge","wrap","_sortAndFilterDiffChanges","5952555eCuVrn","repository","_makeModelFromViewString","_joinTapes","startsWith","adapter","numberOfChanges","deletion","end","isCollapsed","selection","isBlock","change:isReady","ck-suggestion-marker--active","isLimit"];return(Kt=function(){return t})()}function te(t,e){const i=Kt();return(te=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(482100===parseInt(e(331))/1*(parseInt(e(551))/2)+-parseInt(e(389))/3+parseInt(e(271))/4+parseInt(e(319))/5*(parseInt(e(295))/6)+-parseInt(e(456))/7+parseInt(e(265))/8*(parseInt(e(540))/9)+-parseInt(e(282))/10*(parseInt(e(563))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class ee extends U.Plugin{[Xt(457)];[Xt(461)]=null;[Xt(262)];[Xt(437)];[Xt(526)];[Xt(321)];[Xt(433)];static get[Xt(502)](){return Xt(532)}static get[Xt(312)](){return!0}static get[Xt(567)](){return!0}static get[Xt(323)](){return[Z.Users,pt.ContextualBalloon,B,Q]}constructor(t){const e=Xt;super(t),this[e(457)]=this[e(263)][e(387)][e(411)](e(450)),this[e(262)]=this[e(263)][e(387)][e(411)](e(585)),this[e(573)](e(302),null),this[e(573)](e(345),null),this[e(437)]=null,this[e(573)](e(348),null),this[e(573)](e(380),!1),this[e(573)](e(360),!0),this.on(e(362),((t,i,s)=>{const n=e;this[n(302)]=null,this[n(345)]=null,this[n(263)][n(378)][n(543)][n(544)]((t=>{const e=n;for(const i of this[e(263)][e(378)][e(543)][e(500)][e(296)])s?t[e(352)](e(330),i):t[e(310)](e(330),i)}))})),this[e(318)](e(552)).to(this,e(302),(t=>null!==t)),this[e(318)](e(286)).to(this,e(380),this,e(348),this,e(302),((t,i,s)=>t&&s?i[e(412)][e(398)](s):0)),this[e(318)](e(462)).to(this,e(380),this,e(348),((t,i)=>t?i[e(412)][e(356)]:0)),this[e(526)]=null,this[e(321)]=new Map,this[e(433)]=this[e(263)][e(387)][e(411)](pt.ContextualBalloon)}[Xt(431)](){const t=Xt,e=this[t(263)],i=new ne(e,{direction:t(429)}),s=new ne(e,{direction:t(264)});e[t(367)][t(417)](t(512),i),e[t(367)][t(417)](t(363),s),e[t(367)][t(417)](t(442),new se(e)),this.on(t(561),(()=>{const e=t;i[e(332)](),s[e(332)]()})),this[t(558)](),this[t(515)](),e[t(443)](t(377)),e[t(387)][t(503)](t(358))&&e[t(387)][t(411)](t(358))[t(494)](t(377))}async[Xt(523)](t){const e=Xt;return await this[e(262)][e(509)](t,this[e(461)]),this[e(262)][e(523)](t)}async[Xt(306)](t){const e=Xt;return await this[e(262)][e(509)](t,this[e(461)]),this[e(262)][e(306)](t)}async[Xt(580)](t,e,i=!1){const s=Xt;if(!this[s(360)])return;const n=this[s(348)],r=this[s(457)],o=s(304)==typeof t?r[s(357)](t):t,a=s(304)==typeof e?r[s(357)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(348)]&&this[s(348)][s(549)]===c&&this[s(348)][s(542)]===u)return Promise[s(510)]();this[s(380)]=!1,this[s(345)]=null,this[s(302)]=null,this[s(348)]=new Jt(c,u);const l=this[s(293)](o,a,!0)[s(489)]((t=>this[s(262)][s(509)](t,this[s(461)])));return l[s(267)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(351)](l)[s(504)]((()=>{const t=s;if(!this[t(360)])return;this[t(569)]();const e=this[t(339)](c,u);for(const i of e[t(412)])this[t(321)][t(573)](i.id,i);this[t(263)][t(374)][t(575)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(263)][s(374)][s(500)][s(571)]())i[s(335)](t);for(const t of Object[s(297)](e[s(374)])){const n=i[s(524)](t);for(const r of Object[s(297)](e[s(438)][t]))i[s(536)](r,e[s(438)][t][r],n);i[s(364)](e[s(374)][t],n,0)}})),this[t(348)][t(349)](this[t(455)](e[t(412)])),this[t(380)]=!0}))[s(369)]((t=>{const e=s;console[e(478)](t),this[e(569)](),n&&(this[e(348)]=n),this[e(380)]=!0}))}[Xt(488)](t,e){const i=Xt,s=this[i(457)][i(553)](t);return s.on(i(281),((t,i,n)=>e(i,n,s))),this[i(457)][i(333)](s),s}[Xt(569)](){const t=Xt;this[t(302)]=null,this[t(581)](),this[t(526)]&&this[t(526)][t(483)](),this[t(526)]=null,this[t(321)][t(501)](),this[t(263)][t(374)][t(575)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(263)][i(374)][i(500)][i(571)]())e[i(335)](t)}))}[Xt(455)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(263)][e(374)][e(500)][e(571)]()){const n=this[e(263)][e(378)][e(543)][e(390)](t);if(!n)continue;const r=n[e(487)]()[e(482)](0);r&&(i[e(267)](t),s[e(573)](t,r))}return i[e(531)](((t,i)=>{const n=e,r=s[n(411)](t),o=s[n(411)](i);return r.y-o.y||r.x-o.x})),(t=t[e(269)]((t=>i[e(452)](t[e(343)]))))[e(531)](((t,s)=>i[e(557)](t[e(343)])-i[e(557)](s[e(343)]))),t}[Xt(346)](t){const e=Xt,i=Array[e(402)](t[e(382)])[e(269)]((([t,i])=>t[e(460)](e(555))&&!i[e(465)])),s=Array[e(402)](this[e(263)][e(374)][e(420)](t)[e(370)]({singleCharacters:!0}));if(0!=i[e(356)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(386)](":");if(n[e(464)][e(556)](t[e(280)])&&i[e(350)](),(t[e(451)][e(556)](n[e(538)])||t[e(451)][e(428)](n[e(538)]))&&(e(405)==r?t[e(415)]={userId:o}:e(463)==r&&(t[e(354)]={userId:o})),0==i[e(356)])break}return s}[Xt(534)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(356)];s++)e(588)===t[s][e(379)]?(t[s][e(482)][e(317)]=s,t[s][e(482)][e(418)]=s):(e(359)===t[s][e(379)]?t[s][e(482)][e(317)]=s:e(517)===t[s][e(379)]&&(t[s][e(482)][e(418)]=s),i[e(573)](t[s].id,s));for(const s of i[e(445)]())e(359)===t[s][e(379)]?t[s][e(482)][e(418)]=i[e(411)](t[s][e(287)]):e(517)===t[s][e(379)]&&(t[s][e(482)][e(317)]=i[e(411)](t[s][e(287)]))}[Xt(448)](t){const e=Xt;for(let i=0;i<t[e(356)];i++){if(e(359)===t[i][e(379)])t[i][e(482)][e(317)]=i;else if(e(517)===t[i][e(379)]){t[i][e(482)][e(418)]=i;const s=t[i][e(482)][e(317)];t[s][e(287)]=t[i].id,t[i][e(287)]=t[s].id}else t[i][e(482)][e(317)]=i,t[i][e(482)][e(418)]=i,t[i][e(287)]=null;t[i][e(285)]||(t[i][e(285)]=[],t[i][e(308)]=[])}}[Xt(328)](t,e){const i=Xt,s=t[i(269)]((t=>!t[i(415)]));for(let t=0;t<e[i(356)];t++)e[t][i(415)]&&(s[t][i(415)]=e[t][i(415)])}[Xt(339)](t,e=null){const i=Xt,s=this[i(457)][i(357)](t),n=e?this[i(457)][i(357)](e):null,r=this[i(293)](s,n),o=r[r[i(356)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(356)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(297)](e[i(528)]))if(e[i(528)][t][i(409)]){const s=e[i(528)][t][i(409)];s[i(423)]?(u[i(417)](t),l[i(503)](t)&&l[i(411)](t)[i(393)]==s[i(393)]?l[i(289)](t):l[i(573)](t,s)):l[i(503)](t)?(u[i(289)](t),l[i(289)](t)):(u[i(417)](t),l[i(573)](t,s))}else u[i(417)](t)}for(const t of u){const e=l[i(503)](t)&&!l[i(411)](t)[i(423)];let s=e?r[i(356)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(528)][t]){const s=e?o[i(528)][t][i(440)]:o[i(528)][t][i(366)];c[i(438)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(374)]={};for(const e of t[i(371)])a[i(573)](e.id,e);for(const e of u){const s=t[i(528)][e]?t[i(528)][e][i(584)]:"[]",n=t[i(528)][e]?t[i(528)][e][i(403)]:"[]";t[i(374)][e]={insertions:this[i(262)][i(458)](s),deletions:this[i(262)][i(458)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(402)](s[i(374)][t][i(584)][i(382)])[i(269)]((([t])=>!t[i(460)](i(555)))));let h=0;for(const o of r){const r=this[i(346)](o[i(374)][t][i(584)]);o==s?(e=r,n=e[i(356)],e[i(326)]((t=>{t.id=h++})),this[i(448)](e)):this[i(328)](e,r);const a=e[i(269)]((t=>!t[i(415)]))[i(489)]((t=>t.id));let c=0;const l=this[i(346)](o[i(374)][t][i(403)]);l[i(326)]((t=>{t[i(354)]?t.id=n++:t.id=a[c++]})),this[i(448)](l),this[i(276)](e,i(415)),this[i(276)](l,i(354)),o==s&&this[i(476)](e,u),e=this[i(459)](e,l),this[i(534)](e),this[i(276)](e,i(354))}e=e[i(269)]((t=>!(t[i(415)]&&t[i(354)])));const d=new Map(o[i(374)][t][i(403)][i(382)]),f=new Set(u[i(297)]());for(const t of d[i(297)]())f[i(289)](t);this[i(419)](e,f),this[i(520)](e),e=this[i(514)](e),e=this[i(275)](e),e=this[i(270)](e);const{root:m,changes:p}=this[i(559)](e,a,t);c[i(374)][t]=m;const v=l[i(411)](t);if(v){const e=a[i(411)](v[i(393)]),s=new $t({author:e,type:v[i(423)]?i(417):i(315),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(298)](s),c[i(438)][t][i(529)]=s.id}c[i(412)]=c[i(412)][i(505)](p)}return c}[Xt(476)](t,e){const i=Xt;for(let s=0;s<t[i(356)];s++)for(const[n,r]of e)!r[i(465)]&&r[i(538)][i(556)](t[s][i(451)])&&t[s][i(285)][i(267)](n),r[i(464)][i(556)](t[s][i(280)])&&t[s][i(308)][i(267)](n)}[Xt(459)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(356)]||r<e[i(356)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(267)](o);else if(a[i(354)]&&o[i(415)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(426)](t,n,e,r);s=s[i(505)](o),n=a,r=c}else a[i(354)]?(r++,s[i(267)](a)):(n++,s[i(267)](o))}return s}[Xt(419)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(356)];o++){for(let r=0;r<t[o][i(285)][i(356)];r++){const a=t[o][i(285)][r];if(!e[i(503)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(548)!=c||i(405)!=u&&i(463)!=u||(s[i(298)]({type:u,name:a,userId:l}),t[o][i(285)][i(541)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(308)][i(356)];r++){const a=t[o][i(308)][r];if(!e[i(503)](a))continue;const{group:c,type:u}=n(a);if(i(548)!=c||i(405)!=u&&i(463)!=u)continue;t[o][i(308)][i(541)](r,1),r--;const l=s[i(492)]((t=>t[i(309)]==a));l>-1&&s[i(541)](l,1)}}function n(t){const e=i,s=t[e(386)](":");return{group:s[0],type:s[1],subType:s[e(356)]>=5?s[2]:null,id:s[e(356)]<5?s[2]:s[3],authorId:s[e(356)]<5?s[3]:s[4],markerCount:6==s[e(356)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(356)];i++){if(t[e(415)]&&e(405)==s[i][e(379)])return t[e(539)]=s[i],void delete t[e(415)];if(!t[e(415)]&&!t[e(354)]&&e(463)==s[i][e(379)])return void(t[e(291)]=s[i])}}}[Xt(276)](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(573)](o.id,s);for(let s=0;s<t[i(356)];s++){if(i(354)==e&&t[s][i(415)]||i(415)==e&&t[s][i(354)])continue;if(i(588)==t[s][i(379)]){t[s][i(388)]=0;continue}const n=r[i(411)](t[s][i(287)]),o=r[i(411)](t[s].id);t[s][i(388)]=n-o}}[Xt(293)](t,e,i=!1){const s=Xt,n=[];let r=this[s(457)][s(398)](t),o=this[s(457)][s(398)](e);for(-1==o&&(o=this[s(457)][s(294)][s(356)],i=!1);r<o;)n[s(267)](this[s(457)][s(357)](r)),r++;return i&&n[s(267)](this[s(457)][s(357)](r)),n}[Xt(426)](t,e,i,s){const n=Xt,r=this[n(263)][n(374)][n(394)];let o=e;for(;t[o]&&t[o][n(415)];)o++;let a=s;for(;i[a]&&i[a][n(354)];)a++;u(t,e,o),u(i,s,a);const c=i[n(587)](s,a)[n(505)](t[n(587)](e,o));return c[n(531)](((t,e)=>t[n(353)]!=e[n(353)]?t[n(353)]-e[n(353)]:t[n(279)]!=e[n(279)]?t[n(279)]-e[n(279)]:t[n(388)]!=e[n(388)]?e[n(388)]-t[n(388)]:!!t[n(415)]!=!!e[n(415)]?-1==t[n(353)]||0==t[n(353)]?t[n(415)]?-1:1:t[n(415)]?1:-1:t[n(313)]-e[n(313)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(576)],c=!0;for(let n=e;n<i;n++)if(r[s(434)](t[n][s(482)])||(c=!1),t[n][s(482)][s(317)]<e&&(o=n),t[n][s(482)][s(418)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(353)]=n<=o?-1:n<a?0:1,t[n][s(313)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(388)]?t[i][s(279)]=u:(u++,t[i][s(279)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(353)]&&(t[n][s(279)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(388)]?t[e][s(279)]=u:(u--,t[e][s(279)]=u,u--)}}[Xt(520)](t){const e=Xt,i=new Map,s=this[e(263)][e(374)][e(394)];for(let n=1;n<t[e(356)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(588)==c[e(379)])continue;if(c[e(379)]!=u[e(379)])continue;if(!s[e(467)](u[e(482)])||s[e(470)](u[e(482)]))continue;if(!s[e(467)](c[e(482)])||s[e(470)](c[e(482)]))continue;if((t[n][e(415)]||t[n][e(539)])&&t[n-1][e(354)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(354)]||!t[n-1][e(415)]&&!t[n-1][e(539)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(279)]==o[e(279)],h=Math[e(522)](r[e(279)])<Math[e(522)](o[e(279)])&&0==o[e(388)];(l||h)&&(i[e(573)](o.id,r.id),t[e(541)](a,1),n--,r[e(415)]=!1)}for(let s=0;s<t[e(356)];s++)i[e(503)](t[s][e(287)])&&(t[s][e(287)]=i[e(411)](t[s][e(287)]))}[Xt(514)](t){const e=Xt,i=new Set(t[e(489)]((t=>t.id)));for(let s=0;s<t[e(356)];s++)i[e(503)](t[s][e(287)])||0==t[s][e(388)]||(t[s][e(472)]=!0);return t[e(269)]((t=>!t[e(472)]))}[Xt(275)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(356)];s++){if(i[e(503)](t[s].id)&&t[s][e(354)]&&(t[s][e(472)]=!0),t[s][e(472)])continue;if(0==t[s][e(388)])continue;if(e(359)!=t[s][e(379)])continue;if(null==t[s][e(287)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(287)];)e(359)==t[n][e(379)]?r++:e(517)==t[n][e(379)]&&r--,n++;if(0!=r)if(t[s][e(354)])t[s][e(472)]=!0;else for(;n!=s;)t[n][e(354)]&&0!=t[n][e(388)]&&(t[n][e(472)]=!0,i[e(417)](t[n][e(287)])),n--}return t[e(269)]((t=>!t[e(472)]))}[Xt(270)](t){const e=Xt,i=this[e(263)][e(374)][e(394)];for(let s=0;s<t[e(356)];s++){if(!(t[s][e(415)]||t[s][e(539)]||t[s][e(354)]||t[s][e(291)]))continue;if(0==t[s][e(388)])continue;const n=t[s][e(482)];i[e(467)](n)||i[e(470)](n)||(t[s][e(415)]&&delete t[s][e(415)],t[s][e(539)]&&delete t[s][e(539)],t[s][e(291)]&&delete t[s][e(291)],t[s][e(354)]&&(t[s][e(472)]=!0))}return t[e(269)]((t=>!t[e(472)]))}[Xt(559)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(263)][s(374)],c=a[s(394)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(356)];e++)if(s(359)===t[e][s(379)]){t[e][s(451)]=a[s(550)](n,f);const i=new H.Element(t[e][s(482)][s(309)],t[e][s(482)][s(480)]());u[0][s(373)](i),f[s(267)](0),u[s(298)](i),t[e][s(280)]=a[s(550)](n,f)}else s(517)===t[e][s(379)]?(u[s(350)](),t[e][s(451)]=a[s(550)](n,f),f[s(327)](),f[f[s(356)]-1]++,t[e][s(280)]=a[s(550)](n,f)):(t[e][s(451)]=a[s(550)](n,f),d?d[s(498)]+=t[e][s(482)][s(516)]:d=new H.Text(t[e][s(482)][s(516)],t[e][s(482)][s(480)]()),t[e+1]&&s(588)===t[e+1][s(379)]&&v(d,t[e+1][s(482)])||(u[0][s(373)](d),d=null),f[f[s(356)]-1]+=t[e][s(482)][s(329)],t[e][s(280)]=a[s(550)](n,f));for(let e=0;e<t[s(356)];e++){const i=t[e][s(451)],n=t[e][s(280)];for(const n of t[e][s(285)])o[s(573)](n,{start:i,end:null});m(s(291),e,i,n),m(s(539),e,i,n),m(s(354),e,i,n),m(s(415),e,i,n);for(const i of t[e][s(308)]){const t=o[s(411)](i);t?t[s(464)]=n:o[s(573)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(263)][s(374)][s(288)](e[s(538)],e[s(464)]);n[s(382)][s(573)](t,i)}return r[s(531)](((t,e)=>{const i=s,r=n[i(382)][i(411)](i(555)+t.id),o=n[i(382)][i(411)](i(555)+e.id);return r[i(538)][i(395)](o[i(538)])?-1:r[i(538)][i(428)](o[i(538)])?1:r[i(464)][i(395)](o[i(464)])?-1:r[i(464)][i(428)](o[i(464)])?1:i(417)===t[i(379)]?-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(393)]:null,d=i===t[o(356)]-1,f=h[e][0],m=c[o(560)](t[i][o(482)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(464)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(393)]!==u&&(l[e][o(464)]=n,f&&f[o(393)]===l[e][o(393)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(359)!==t[i][o(379)]||f&&f[o(393)]===u||h[e][o(298)]({userId:u,object:t[i][o(482)],change:l[e]}),o(517)===t[i][o(379)]&&f&&f[o(400)]===t[i][o(482)]&&(h[e][o(350)](),l[e]=f[o(544)])),l[e]&&d&&(l[e][o(464)]=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(482)],f=a[h(394)][h(467)](d)&&!a[h(394)][h(470)](d),m=t[h(404)]==o[h(322)]&&o[h(341)];if(f&&m)return;const p=a[h(288)](t,o),v=e[h(411)](u),g=new $t({author:v,type:h(415)==l||h(539)==l?h(417):h(315),data:{isSuggestion:h(539)==l||h(291)==l},createdAt:new Date,rootName:i});r[h(267)](g),n[h(382)][h(573)](h(555)+g.id,p)}function v(t,e){const i=s,n=t[i(480)](),r=e[i(480)]();for(const t of n){if(t[1]!==e[i(392)](t[0]))return!1;r[i(384)]()}return r[i(384)]()[i(547)]}}[Xt(558)](){const t=Xt;this[t(263)][t(414)][t(535)](t(301))[t(407)]({view:t(334)}),this[t(263)][t(414)][t(535)](t(413))[t(583)]({model:t(334),view:e=>{const i=t,s=e[i(564)][i(386)](":")[1],n=this[i(554)](s);if(!n)return null;const r=i(417)==n[i(379)]?i(405):i(463),o=[i(444),i(447)+r];return n[i(516)][i(537)]&&o[i(267)](i(447)+r+i(290)),this[i(302)]==n&&o[i(267)](i(469)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(263)][t(414)][t(535)](t(301))[t(417)]((e=>{const i=t;e.on(i(381),((t,e,s)=>{const n=i,r=e[n(365)][n(372)](0);if(!r||!r.is(n(485),n(568)))return;if(!s[n(545)][n(307)](r,{attributes:[n(383),n(436)]}))return;const o=e[n(473)][n(538)][n(404)];s[n(376)][n(536)](n(383),r[n(392)](n(383)),o),s[n(376)][n(536)](n(436),r[n(392)](n(436)),o)}),{priority:i(305)})})),this[t(263)][t(414)][t(535)](t(301))[t(417)]((e=>{const i=t;e.on(i(485),((t,e,s)=>{const n=i;if(!s[n(545)][n(307)](e[n(365)],{attributes:[n(383),n(436)]}))return;if(e[n(473)][n(465)])return;const r=e[n(473)][n(538)][n(404)];r[n(490)](n(383))||r[n(490)](n(336))||(s[n(376)][n(536)](n(383),e[n(365)][n(392)](n(383)),r),s[n(376)][n(536)](n(436),e[n(365)][n(392)](n(436)),r))}),{priority:i(305)})})),this[t(263)][t(414)][t(535)](t(301))[t(578)]({view:{name:t(495),attributes:{vid:!0}},model:{key:t(336),value:e=>e[t(392)](t(336))}}),this[t(263)][t(374)][t(394)].on(t(577),((e,[,i])=>{const s=t;[s(383),s(436),s(336)][s(452)](i)&&(e[s(422)]=!0,e[s(299)]())}),{priority:t(391)}),this[t(263)][t(414)][t(535)](t(471))[t(417)]((e=>{const i=t;e.on(i(566),((t,e,s)=>{const n=i;if(" "!=e[n(482)][n(516)]||e[n(482)][n(322)][n(425)]>1)return;if(!s[n(545)][n(307)](e[n(482)],t[n(309)]))return;const r=s[n(376)],o=s[n(396)][n(340)](e[n(337)]);r[n(454)](o,r[n(368)](n(495)))}))})),this[t(263)][t(414)][t(535)](t(471))[t(324)]({model:t(334)}),this[t(263)][t(378)][t(525)].on(t(408),function(e){const i=t,s=e[i(387)][i(411)](i(532));return(t,n,r)=>{const o=i,a=n[o(564)][o(386)](":")[1],c=s[o(554)](a);if(!c)return null;const u=o(417)==c[o(379)]?o(386):o(453);if(!r[o(545)][o(572)](n[o(562)],t[o(309)]))return;const l=n[o(562)][o(370)](),h=n[o(562)][o(538)],d=e[o(374)][o(394)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(482)];p=p||d[o(338)](e);const i=r[o(396)][o(278)](e);if(i&&i[o(435)](o(484)))return;o(517)==t[o(379)]&&d[o(467)](e)&&!d[o(470)](e)&&(e[o(284)]||h[o(497)]?f&&f[o(322)]==e||(f=e,g(t[o(451)]),v=!0):m=m||t[o(451)])}function g(t){const e=o,i=r[e(376)][e(347)](e(495),{class:e(447)+u}),a=r[e(396)][e(424)](t);c[e(516)][e(537)]&&r[e(376)][e(310)](e(447)+u+e(290),i),s[e(302)]==c&&r[e(376)][e(310)](e(469),i),r[e(376)][e(364)](a,i),r[e(396)][e(499)](i,n[e(564)])}p||v||!m||g(m)}}(this[t(263)]),{priority:t(316)}),this[t(263)][t(378)][t(525)].on(t(399),((e,i,s)=>{const n=t,r=s[n(396)][n(449)](i[n(564)]);if(r)for(const t of r)(t[n(303)](n(481))||t[n(303)](n(432)))&&(s[n(396)][n(355)](t,i[n(564)]),s[n(376)][n(315)](t))}),{priority:t(316)}),this[t(263)][t(378)][t(525)].on(t(408),((e,i,s)=>{const n=t,r=i[n(564)][n(386)](":")[1],o=this[n(554)](r);if(!o)return null;const a=n(417)==o[n(379)]?n(386):n(453);if(s[n(545)][n(572)](i[n(562)],e[n(309)]))for(const t of i[n(562)][n(375)]()){if(!t.is(n(485),n(511)))continue;const e=s[n(376)][n(347)](n(495),{class:n(447)+a}),r=s[n(396)][n(424)](this[n(263)][n(374)][n(385)](t));o[n(516)][n(537)]&&s[n(376)][n(310)](n(447)+a+n(290),e),this[n(302)]==o&&s[n(376)][n(310)](n(469),e),s[n(376)][n(364)](r,e),s[n(396)][n(499)](e,i[n(564)])}}),{priority:t(316)}),this[t(263)][t(374)][t(500)].on(t(544),(()=>{const e=t;this[e(263)][e(378)][e(543)][e(544)]((t=>{const i=e;for(const e of this[i(263)][i(374)][i(500)][i(571)]()){const s=this[i(263)][i(374)][i(500)][i(475)](e),n=this[i(263)][i(378)][i(543)][i(500)][i(475)](e);if(n){const e=s[i(392)](i(529));if(t[i(300)](i(325),n),t[i(352)](i(397),n),t[i(352)](i(477),n),t[i(352)](i(421),n),e){const s=this[i(554)](e);if(!s)return null;t[i(536)](i(325),e,n),t[i(310)](i(320)+s[i(379)],n),this[i(302)]==s&&t[i(310)](i(421),n)}}}}))})),this[t(263)][t(414)][t(535)](t(301))[t(407)]({view:t(439),model:e=>t(565)+e,converterPriority:t(391)}),this[t(263)][t(414)][t(535)](t(301))[t(407)]({view:t(508),model:e=>t(410)+e,converterPriority:t(391)}),this[t(263)][t(414)][t(535)](t(471))[t(324)]({model:t(548),view:e=>({name:t(546)+e,group:t(548)}),converterPriority:t(391)}),this[t(263)][t(414)][t(535)](t(413))[t(583)]({model:t(548),view:e=>{const i=t,s=e[i(564)][i(386)](":")[1];return i(405)!=s&&i(463)!=s?null:{classes:[i(570),i(496)+s]}}}),this[t(263)][t(378)][t(525)].on(t(277),ie(this[t(263)],t(453)),{priority:t(316)}),this[t(263)][t(378)][t(525)].on(t(427),ie(this[t(263)],t(386)),{priority:t(316)}),this[t(263)][t(378)][t(525)].on(t(579),((e,i,s)=>{const n=t,r=s[n(396)][n(449)](i[n(564)]);if(r)for(const t of r)t.is(n(582))&&(s[n(396)][n(355)](t,i[n(564)]),s[n(376)][n(315)](t))}),{priority:t(316)})}[Xt(554)](t){const e=Xt;return this[e(321)][e(411)](t)}[Xt(479)](t){const e=Xt;return this[e(526)]&&this[e(526)][e(483)](),this[e(526)]=new zt(this[e(263)][e(416)],t),this[e(526)]}[Xt(515)](){const t=Xt;this[t(263)][t(374)][t(500)][t(466)][t(518)](t(334)),this.on(t(491),((e,i,s,n)=>{const r=t;n&&this[r(433)][r(315)](n),s&&(this[r(433)][r(417)]({view:s,stackId:r(506),position:{target:()=>{const t=r,e=this[t(263)][t(378)],i=this[t(554)](s[t(311)]);let n;if(i[t(516)][t(401)]){const s=e[t(543)][t(390)](i[t(343)]);n=Array[t(402)](s[t(487)]())}else{const i=this[t(263)][t(374)][t(382)][t(411)](t(555)+s[t(311)]);n=Array[t(402)](e[t(396)][t(449)](i[t(309)]))[t(489)]((i=>e[t(543)][t(586)][t(507)](i)))[t(489)]((e=>Array[t(402)](e[t(487)]())))[t(292)]()}return this[t(437)]&&n[t(486)]((e=>e[t(530)]-3<=this[t(437)].y&&e[t(273)]+3>=this[t(437)].y&&e[t(519)]-3<=this[t(437)].x&&e[t(406)]+3>=this[t(437)].x))||n[0]}}}),this[r(433)][r(533)](r(506)))})),this.on(t(527),((e,i,s,n)=>{const r=t;this[r(345)]=s?this[r(479)](s):null,this[r(263)][r(374)][r(544)]((()=>{const t=r,e=this[t(263)][t(378)];n&&(n[t(516)][t(401)]?e[t(543)][t(544)]((i=>{const s=t;i[s(352)](s(421),e[s(543)][s(500)][s(475)](n[s(343)]))})):e[t(272)](t(555)+n.id)),s&&(s[t(516)][t(401)]?e[t(543)][t(544)]((i=>{const n=t;i[n(310)](n(421),e[n(543)][n(500)][n(475)](s[n(343)]))})):e[t(272)](t(555)+s.id))}))})),this[t(283)](this[t(263)][t(378)][t(543)][t(500)],t(513),((e,i)=>{const s=t;if(this[s(302)])return;const n=this[s(344)](i[s(430)]),r=this[s(321)][s(411)](n);r?(this[s(437)]={x:i[s(441)].x,y:i[s(441)].y},this[s(345)]=this[s(479)](r)):(this[s(437)]=null,this[s(345)]=null)})),this[t(283)](this[t(263)][t(378)][t(543)][t(500)],t(493),((e,i)=>{const s=t,n=this[s(344)](i[s(430)]),r=this[s(321)][s(411)](n);r?(this[s(437)]={x:i[s(441)].x,y:i[s(441)].y},r===this[s(302)]?this[s(433)][s(342)]():this[s(302)]=r):(this[s(437)]=null,this[s(302)]=null)}))}[Xt(344)](t){const e=Xt;do{const i=t[e(392)](e(325));if(i)return i;t=t[e(322)]}while(t);return null}[Xt(581)](){const t=Xt;this[t(263)][t(374)][t(544)]((e=>{const i=t;for(const t of this[i(263)][i(374)][i(382)])e[i(268)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(545)][r(572)](s[r(562)],i[r(309)]))return;const o=s[r(562)][r(370)](),a=s[r(562)][r(538)],c=t[r(374)][r(394)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(482)];h=h||c[r(338)](e);const i=n[r(396)][r(278)](e);if(i&&i[r(435)](r(484)))return;r(517)==t[r(379)]&&c[r(467)](e)&&!c[r(470)](e)&&(e[r(284)]||a[r(497)]?u&&u[r(322)]==e||(u=e,f(t[r(451)]),d=!0):l=l||t[r(451)])}function f(t){const i=r,o=n[i(396)][i(424)](t),a=n[i(376)][i(347)](i(495),{class:i(496)+e});n[i(376)][i(364)](o,a),n[i(396)][i(499)](a,s[i(564)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(387)][e(411)](ee);this[e(446)]=!1,this[e(283)](i,e(468),(()=>this[e(332)]())),this[e(283)](i,e(362),(()=>this[e(332)]()))}[Xt(314)](){const t=Xt,e=this[t(263)],i=e[t(387)][t(411)](ee),s=i[t(380)]?i[t(348)][t(549)]:null;e[t(474)][t(411)](t(574))[t(361)](s)}[Xt(332)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(263)][t(387)][t(411)](ee),r=n&&s[t(274)](n[t(549)]);this[t(360)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(521)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(387)][i(411)](ee);this[i(446)]=!1,this[i(521)]=i(264)===e?1:-1,this[i(283)](s,i(468),(()=>this[i(332)]())),this[i(283)](s,i(362),(()=>this[i(332)]())),this[i(283)](s,i(527),(()=>this[i(332)]()))}[Xt(314)](){const e=Xt,i=this[e(263)],s=i[e(387)][e(411)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(302)]=n?s[e(348)][e(412)][e(411)](r+this[e(521)]):s[e(348)][e(412)][e(266)],s[e(302)][e(516)][e(401)])o=i[e(378)][e(543)][e(390)](s[e(302)][e(343)]);else{const t=i[e(374)][e(382)][e(411)](e(555)+s[e(302)].id);o=(0,Z.getMarkerDomElement)(i[e(378)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(332)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(263)][t(387)][t(411)](ee);this[t(360)]=!!(r&&n&&s)&&(!e||(1===this[t(521)]?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-=207]})(t,e)}function ce(){const t=["808542VzNwWD","X_OF_Y_CHANGES","isBackwardNavigationEnabled","forward","Loading...","bind","isNavigationMode","ck-revision-history-ui__changes-navigation__navigation","5700leVYRe","ck-revision-history-ui","fire","ck-hidden","Show next change","numberOfChanges","backward","isEnabled","currentChangeNumber","div","24210aSaDMG","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation__wrapper","Total","EDIT_X_OF_Y_REVISIONS","251FWPwrR","bindTemplate","1060660GfiEVv","NUMBER_OF_CHANGES","No changes","Show previous change","execute","3325864OFoqAo","set","ck-revision-history-ui__changes-navigation","912699IYpETz","2710OBekzl","setTemplate","span","isReady","2787702KwvIxa","isForwardNavigationEnabled","15WgEvjK","_statusText"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(537543===parseInt(e(219))/1*(-parseInt(e(230))/2)+parseInt(e(229))/3+-parseInt(e(221))/4*(parseInt(e(236))/5)+-parseInt(e(234))/6+-parseInt(e(238))/7+parseInt(e(226))/8+-parseInt(e(213))/9*(-parseInt(e(246))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(220)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(227)](e(244),!1),this[e(227)](e(233),!1),this[e(227)](e(211),0),this[e(227)](e(208),0),this[e(227)](e(235),!1),this[e(227)](e(240),!1),this[e(243)](e(214)).to(this,e(233),this,e(208),((t,e)=>t&&e>0)),this[e(243)](e(237)).to(this,e(233),this,e(211),this,e(208),this,e(244),((i,s,n,r)=>{const o=e;if(!i)return K(t,o(242));if(!n)return K(t,o(223));const a=K(t,o(222),n);return r?K(t,o(239),[s+1,n]):a})),s[e(227)]({label:K(t,e(224)),tooltip:!0,icon:mt.IconChevronUp}),n[e(227)]({label:K(t,e(207)),tooltip:!0,icon:mt.IconChevronDown}),s[e(243)](e(210)).to(this,e(240)),n[e(243)](e(210)).to(this,e(235)),s.on(e(225),(()=>this[e(248)](e(225),e(209)))),n.on(e(225),(()=>this[e(248)](e(225),e(241)))),this[e(231)]({tag:e(212),attributes:{class:["ck",e(247),e(228)]},children:[{tag:e(232),attributes:{class:[e(216)]},children:[{tag:e(232),attributes:{class:[e(215),i.if(e(214),e(249),(t=>!t))]},children:[{text:i.to(e(244),(i=>i?K(t,e(218))+": ":K(t,e(217))+": "))}]},{text:i.to(e(237))}]},new pt.ToolbarSeparatorView,{tag:e(212),attributes:{class:[e(245)]},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=me;!function(t){const e=me,i=t();for(;;)try{if(913040===-parseInt(e(329))/1*(parseInt(e(324))/2)+parseInt(e(331))/3+parseInt(e(332))/4+parseInt(e(326))/5+parseInt(e(343))/6+-parseInt(e(335))/7*(parseInt(e(327))/8)+-parseInt(e(347))/9*(-parseInt(e(348))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);const fe=de(344);function me(t,e){const i=ve();return(me=function(t,e){return i[t-=324]})(t,e)}class pe extends U.Plugin{static get[de(334)](){return de(341)}static get[de(338)](){return!0}static get[de(336)](){return!0}[de(340)](){const t=de,e=this[t(339)][t(333)][t(328)];e[t(345)]((i=>{const s=t;for(const t of e[s(346)][s(337)])i[s(325)](fe,t)}))}[de(342)](){const t=de,e=this[t(339)][t(333)][t(328)];e[t(345)]((i=>{const s=t;for(const t of e[s(346)][s(337)])i[s(330)](fe,t)}))}}function ve(){const t=["roots","isOfficialPlugin","editor","show","RevisionViewerLoadingOverlay","hide","3906510iTpYmp","ck-editor__editable__loading-overlay","change","document","36HLLcSq","2094130fwnIgc","19262VOaQYv","addClass","225135blbiJg","152AsHXKp","view","86XiJOyd","removeClass","1585011TKMULD","1615384vpWshD","editing","pluginName","266973azuGVy","isPremiumPlugin"];return(ve=function(){return t})()}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=121]})(t,e)}function ke(){const t=["add","changesNavigation","init","requires","config","8531649nLNLuO","isForwardNavigationEnabled","hide","7nZIEZW","forward","plugins","change:isReady","12720OBEyyf","set","execute","15077CYwYmu","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","1887096WZOVTT","isReady","isOfficialPlugin","listenTo","96568wYJGAD","componentFactory","bind","isNavigationMode","closeRevisionViewerCallback","isEnabled","numberOfChanges","Back to editing","isPremiumPlugin","showPreviousChange","exitToEditing","editor","1285632LJGFJu","showNextChange","1346745XErgFQ","Restore this revision","revisionHistory","2jsvuKx","get","commands","show","RevisionViewerUI","restoreRevision","pluginName","currentChangeNumber"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(198567===-parseInt(e(131))/1*(-parseInt(e(155))/2)+parseInt(e(128))/3+-parseInt(e(138))/4+-parseInt(e(152))/5+-parseInt(e(134))/6*(parseInt(e(124))/7)+-parseInt(e(150))/8+parseInt(e(121))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(161)](){return ge(159)}static get[ge(136)](){return!0}static get[ge(146)](){return!0}static get[ge(166)](){return[ee,pe]}[ge(165)](){const t=ge,e=this[t(149)],i=e[t(126)][t(156)](ee),s=e[t(126)][t(156)](pe);e.ui[t(139)][t(163)](t(148),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(129)]({label:K(i,s(145)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(133)}),this[s(137)](n,s(130),(()=>{const t=s;e[t(167)][t(156)](t(154))[t(142)]()})),n})),e.ui[t(139)][t(163)](t(160),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(129)]({label:K(i,s(153)),withText:!0,tooltip:!0}),n[s(140)](s(143)).to(e[s(157)][s(156)](s(160))),this[s(137)](n,s(130),(()=>e[s(130)](s(160)))),n})),e.ui[t(139)][t(163)](t(164),(s=>{const n=t,r=new ue(s),o=e[n(157)][n(156)](n(147)),a=e[n(157)][n(156)](n(151));return r[n(140)](n(132)).to(o,n(143)),r[n(140)](n(122)).to(a,n(143)),r[n(140)](n(135),n(162),n(144),n(141)).to(i),this[n(137)](r,n(130),((t,i)=>{const s=n;e[s(130)](s(125)===i?s(151):s(147))})),r})),s[t(158)](),i.on(t(127),((e,i,n)=>{const r=t;n?s[r(123)]():s[r(158)]()}))}}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-=441]})(t,e)}function Oe(){const t=["Enter the revision name","extendTemplate","150Pxdxuj","40ucFOCi","placeholder","164832jAZeMu","_tooltipString","36558UnPbCp","ck-tooltip_multi-line","56271omKxro","889opweaE","element","1661796eFvSuL","Revision name","input","span","22126QfgnPB","176TTqYLY","fieldView","100MAAtbZ","value","set","bindTemplate","listenTo","scrollWidth","render","destroy","clientWidth","532900tZpEEf","40688ywrUtb","ck-revision-history-sidebar__revision-name","_updateTooltipText","_resizeObserver"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(375843===-parseInt(e(461))/1*(-parseInt(e(448))/2)+-parseInt(e(454))/3*(-parseInt(e(464))/4)+parseInt(e(473))/5+-parseInt(e(457))/6+-parseInt(e(455))/7*(parseInt(e(441))/8)+parseInt(e(452))/9*(parseInt(e(447))/10)+parseInt(e(462))/11*(parseInt(e(450))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Ie(444)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(467)];this[i(466)]({label:K(t,i(458)),_tooltipString:""}),this[i(463)][i(449)]=K(t,i(445)),this[i(446)]({tag:i(460),attributes:{class:[i(442)],"data-cke-tooltip-text":s.to(i(451)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(453)}})}[Ie(470)](){const e=Ie;super[e(470)](),this[e(444)]=new t.ResizeObserver(this[e(463)][e(456)],(()=>this[e(443)]())),this[e(468)](this[e(463)],e(459),(()=>this[e(443)]()))}[Ie(471)](){const t=Ie;super[t(471)](),this[t(444)]&&this[t(444)][t(471)]()}[Ie(443)](){const t=Ie,e=this[t(463)][t(456)];this[t(451)]=e[t(469)]>e[t(472)]&&e[t(465)]||""}}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 Re(){const t=["113390wElFbc","name","342ilUmzn","239284VUvoQd","setTemplate","ck-revision-history-sidebar__revision-author","set","33416yrQCvn","Revision author","Revision creator","0 0 11 10","ck-revision-history-sidebar__revision-author_creator","887505Yqgsii","2044945zsVzhZ","333276eEQNgO","8elCXRp","push","span","6pUuzXI","ck-revision-history-sidebar__revision-author__name","713024YBpcUy"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=144]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(235193===parseInt(e(164))/1+parseInt(e(155))/2*(-parseInt(e(154))/3)+parseInt(e(160))/4+-parseInt(e(152))/5*(parseInt(e(158))/6)+parseInt(e(153))/7+parseInt(e(147))/8*(parseInt(e(163))/9)+-parseInt(e(161))/10)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(146)]({content:mt.IconUser,viewBox:s(150)});const r=["ck",s(145)];i&&r[s(156)](s(151));const o=[{tag:s(157),attributes:{class:["ck",s(159)],title:K(t,s(i?149:148))},children:[n,e[s(162)]]}];this[s(144)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=De();return(Me=function(t,e){return i[t-=236]})(t,e)}function De(){var t=["5960298dWrRJN","toLocaleDateString","74101PWlspE","602eSImMe","42376RRMedW","674110RuqDQk","2384010Jfyopm","710736nIkUDI","numeric","long","toLocaleTimeString","5063700ozilUc","27ItZDnw","4QqeocJ"];return(De=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(923351===parseInt(e(246))/1*(-parseInt(e(243))/2)+-parseInt(e(237))/3+parseInt(e(241))/4+-parseInt(e(249))/5+-parseInt(e(244))/6+parseInt(e(247))/7*(parseInt(e(248))/8)+parseInt(e(242))/9*(parseInt(e(236))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=445]})(t,e)}function Le(){const t=["bind","isReady","buttonView","button","panelPosition","14962NZTQXB","isOpen","locale","add","190845xfVkgr","model","Compare against selected","first","menu","isEnabled","_action","Restore this revision","set","items","1448286pMuDnj","13673lhQeWn","isActionsDropdownOpen","listenTo","execute","bindTemplate","Name this revision","listView","5jXLYqL","action","map","stopPropagation","ck-on","7ylinSJ","menuitem","791952OiXQQp","change:isActionsDropdownOpen","children","extendTemplate","name","1857070MHMjVY","isVisible","2376YWXWHe","Show more items","find","574OupwDD","class","ck-revision-history-sidebar__revision__actions","function","source","9cfjTjK","6960Mwlbko"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(163892===parseInt(e(469))/1*(parseInt(e(493))/2)+-parseInt(e(446))/3+-parseInt(e(471))/4+-parseInt(e(464))/5*(-parseInt(e(456))/6)+-parseInt(e(481))/7*(-parseInt(e(487))/8)+-parseInt(e(486))/9*(parseInt(e(476))/10)+-parseInt(e(457))/11*(-parseInt(e(478))/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 We=ze;function ze(t,e){const i=Ze();return(ze=function(t,e){return i[t-=280]})(t,e)}!function(t){const e=ze,i=t();for(;;)try{if(539452===parseInt(e(314))/1*(parseInt(e(303))/2)+-parseInt(e(329))/3+-parseInt(e(316))/4+-parseInt(e(315))/5*(parseInt(e(281))/6)+-parseInt(e(282))/7*(parseInt(e(321))/8)+-parseInt(e(293))/9*(parseInt(e(310))/10)+parseInt(e(286))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);class Ue extends((0,Z.ConfirmMixin)(pt.View)){id;[We(307)];[We(343)];[We(304)];[We(309)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(295)],a=function(t,e){const i=r,s=Array[i(290)](e[i(306)])[i(298)]((t=>t!=e[i(344)]));return e[i(344)]&&s[i(283)](e[i(344)]),s[i(289)]((s=>new Ve(t,s,s==e[i(344)])))}(e,i);this.id=i.id,this[r(304)]=i,this[r(309)]=n,this[r(320)](r(299),r(338)).to(i),this[r(320)](r(335)).to(this,r(338),(t=>{return i=e[r(284)],(s=t)[(n=Me)(245)](i,{month:n(239),day:n(238)})+", "+s[n(240)](i,{hour:n(238),minute:n(238)});var i,s,n})),this[r(296)](r(334),!1),this[r(296)](r(288),!1),this[r(296)](r(339),!1),this[r(296)](r(313),!1),this[r(296)](r(280),!1),this[r(307)]=new Te(e,pt.createLabeledInputText),this[r(307)][r(336)][r(328)]({attributes:{maxlength:r(326)}}),this[r(307)][r(336)][r(320)](r(302)).to(this,r(299),(t=>t||this[r(335)])),this[r(307)][r(320)](r(280)).to(this,r(334),this,r(280),((t,e)=>t&&e)),this[r(343)]=s&&s[r(337)]?function(e,i){const s=Fe,n=e[s(461)],r=e[s(495)],o=(0,pt.createDropdown)(r);o[s(492)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(495)],n={"Compare against selected":K(s,i(448)),"Name this revision":K(s,i(462)),"Restore this revision":K(s,i(453))};return e[i(466)]((t=>{const e=i,s=n[t[e(475)]];return s&&s!==t[e(475)]&&(t[e(475)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(491),model:new pt.ViewModel({label:t[n(475)],class:t[n(482)],withText:!0,role:n(470),_action:t[n(465)]})};i[n(447)][n(488)](n(451)).to(e,n(458),(i=>n(484)!=typeof t[n(451)]||!i||t[n(451)](e))),o[n(445)](i)}return o}(e,i);return e[s(488)](s(458)).to(o,s(494)),o[s(490)][s(454)]({label:K(r,s(479)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(474)]({attributes:{class:[s(483),n.if(s(458),s(468))]},on:{click:n.to((t=>t[s(467)]()))}}),o.on(s(460),(t=>{const i=s;e[i(489)]&&i(484)==typeof t[i(485)][i(452)]&&t[i(485)][i(452)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(450)}),o[s(459)](e,s(472),((t,n,r)=>{const a=s;if(r)for(const t of o[a(463)][a(455)]){const s=t[a(473)][a(449)],n=i[a(480)]((t=>t[a(465)]===s[a(452)]))[a(477)];t[a(477)]=void 0===n||n(e)}})),o}(this,s):"",this[r(343)]&&this[r(343)][r(320)](r(280)).to(this),this[r(294)]({tag:r(305),attributes:{class:["ck",r(325),r(301),o.if(r(317),r(330))]},children:[{tag:r(305),attributes:{class:["ck",r(325),r(333),o.if(r(280),r(322),(t=>!t)),o.if(r(334),r(319)),o.if(r(288),r(291)),o.if(r(339),r(285))]},children:[this[r(307)],{tag:r(342),attributes:{class:["ck",r(340)]},children:[{text:o.to(r(335))}]},{tag:r(305),attributes:{class:["ck",r(332)]},children:[{tag:"ul",attributes:{class:["ck",r(345)]},children:a}]},this[r(343)]],on:{click:o.to((t=>{const e=r;t[e(331)][e(292)](e(324))||this[e(313)]&&this[e(280)]&&this[e(308)](e(341),{id:this.id})}))}}]})}[We(327)](){const t=We;super[t(327)]();const e=this[t(307)][t(336)][t(287)];this[t(318)](e,t(312),(()=>{const i=t;this[i(309)]&&!e[i(302)]||this[i(308)](i(297),{id:this.id,name:e[i(302)]}),e[i(302)]||(e[i(302)]=this[i(299)]?this[i(299)]:this[i(335)])}))}[We(341)](){this[We(334)]=!0}[We(300)](){this[We(334)]=!1}[We(311)](){this[We(288)]=!0}[We(323)](){this[We(288)]=!1}}function Ze(){const t=["1688016SojpTs","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","srcElement","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision","isSelected","_createdAtFormatted","fieldView","length","createdAt","isActionsDropdownOpen","ck-revision-history-sidebar__revision__date","select","span","revisionActionsView","creator","ck-revision-history-sidebar__revision-authors","isEnabled","51636GNykQu","434TpPFXp","unshift","uiLanguage","ck-revision-history-sidebar__actions_dropdown_open","37668565JpCDWi","element","isHighlighted","map","from","ck-revision-history-sidebar__revision_highlighted","closest","645579jRBCwC","setTemplate","bindTemplate","set","setName","filter","name","deselect","ck-revision-history-sidebar__revision-wrapper","value","1482274lHwvae","_revision","div","authors","revisionNameView","fire","_requireRevisionName","120rfoQUR","highlight","change","isReady","1OcIiab","600BnURtx","1752600EphxPA","isConfirm","listenTo","ck-revision-history-sidebar__revision_selected","bind","94424fqULsV","ck-disabled","unhighlight",".ck-thread__remove-confirm","ck-reset","220","render","extendTemplate"];return(Ze=function(){return t})()}class He extends Error{}class $e extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Qe extends He{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Ke="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Ke,day:Xe},si={year:Xe,month:Ke,day:Xe,weekday:Ke},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:Ke},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:Ke},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:Ke,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Ke,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Ke,day:Xe,weekday:Ke,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Ke},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Ke},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 Qe}get name(){throw new Qe}get ianaName(){return this.name}get isUniversal(){throw new Qe}offsetName(t,e){throw new Qe}formatOffset(t,e){throw new Qe}offset(t){throw new Qe}equals(t){throw new Qe}get isValid(){throw new Qe}}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 Ti={};const xi={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={},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=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,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 Ai={};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 Di={};let Ei={};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=Di[i];return s||(s=new Intl.NumberFormat(t,e),Di[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&&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=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 Wi{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=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class 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,Vi={},Di={},Ei={}}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=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?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 Li(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 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 Wi(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: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):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Hi extends 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 $i 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 qi(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 $i(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 Qi({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,Ki=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Ki}static set now(t){Ki=t}static set defaultZone(t){ts=t}static get defaultZone(){return qi(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=zs(c,e,i)):u>zs(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=As(t.month,1,12),s=As(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=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 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 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 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 Ds(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Es(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 Ws(t,e,i){return-ms(hs(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ws(t,e,i),n=Ws(t+1,e,i);return(Ls(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 $s(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=$s(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function 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"],Qs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Qs];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 Ks=["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[...Ks];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Vs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=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:Es(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?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 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(Ds(i)),months:d(Ds(s)),weeks:d(Ds(n)),days:d(Ds(r)),hours:d(Ds(o)),minutes:d(Ds(a)),seconds:d(Ds(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(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?Ks.indexOf(t)+1:tn.indexOf(t)+1),a}const En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Dn(e,n,s,i,r,o,a);let f;return f=c?Mn[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$/,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[Dn(e,n,s,i,r,o,a),Hi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Hi.utcInstance]}const zn=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),$n=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),qn=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Qn=fn(In),Xn=mn(Tn,xn,Nn);const Kn="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:qs(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,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,[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):Kn}toHuman(t={}){if(!this.isValid)return Kn;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]=$s(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,...qs(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 qe(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 qi(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:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=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 Tr(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 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=Qi(e),s=Qi(e,"{2}"),n=Qi(e,"{3}"),r=Qi(e,"{4}"),o=Qi(e,"{6}"),a=Qi(e,"{1,2}"),c=Qi(e,"{1,3}"),u=Qi(e,"{1,6}"),l=Qi(e,"{1,9}"),h=Qi(e,"{2,4}"),d=Qi(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=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(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 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",Vr=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Dr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Er(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 Wr(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 zr(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+=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 Zr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},$r={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],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 Qr(t,e){const i=qi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(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]=jr(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 Kr(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||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]=Kr(arguments),[i,s,n,r,o,a,c]=e;return Qr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Kr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Qr({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=qi(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.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:qi(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:qi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e),n=qs(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=$r,g=ps(g,r,o)):u?(p=Jr,v=qr,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,zs(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,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,[zn,$n],[Un,qn],[Zn,Bn],[Hn,Yn])}(t);return Wr(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),[En,Cn])}(t);return Wr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,Wn])}(t);return Wr(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):Wr(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,$n],[Qn,Xn])}(t);return Wr(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 $e(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 Tr(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?Dr(this).weekYear:NaN}get weekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get weekday(){return this.isValid?Dr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?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?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=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=qi(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=qs(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):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 zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?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")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(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 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=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):Wr(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-=382]})(t,e)}function ro(){const t=["weekdayLong","5705883LFSbie","138660uBlJLf","monthLong","408237EIFIix","44ZzxbKs","toRelativeCalendar","local","week","year","day","fromJSDate","toJSDate","minus","342020ZYGVxQ","8cumYut","900179gUkVDm","startOf","setLocale","2293794rCFUTu","hasSame","157045pNezas","month"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(395)](t)[i(402)](e),n=io[i(391)](),r=n[i(397)]({days:1})[i(401)](i(394));let o,a;return s[i(404)](n,i(394))?(o=s[i(401)](i(394))[i(396)](),a=s[i(390)]()):s[i(404)](r,i(394))?(o=r[i(396)](),a=s[i(390)]()):s[i(404)](n,i(392))?(o=s[i(401)](i(392))[i(396)](),a=s[i(384)]||""):s[i(404)](n,i(393))?(o=s[i(401)](i(383))[i(396)](),a=s[i(387)]||""):(o=s[i(401)](i(393))[i(396)](),a=String(s[i(393)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(332005===-parseInt(e(382))/1+parseInt(e(398))/2+parseInt(e(388))/3+parseInt(e(389))/4*(parseInt(e(386))/5)+parseInt(e(403))/6+-parseInt(e(400))/7*(-parseInt(e(399))/8)+-parseInt(e(385))/9)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=lo;function lo(t,e){const i=ho();return(lo=function(t,e){return i[t-=308]})(t,e)}function ho(){const t=["ck-revision-history-sidebar__time-period__revisions","4VdXOec","select","5216015hQrTMT","12dkLZww","9vJcwjl","div","_revisionActions","span","setName","find","36ovvHuR","213973gBIXzK","removeRevision","_requireRevisionName","createCollection","delegate","4040600DunQWw","setTemplate","364401QnCMnb","add","28512396JkZzVP","ck-revision-history-sidebar__time-period__label","remove","3080752hNAyXO","4305175NGrIlP","revisionViews","uiLanguage","ck-revision-history-sidebar__time-period","localizedPeriodName","startDate","locale","addRevision"];return(ho=function(){return t})()}!function(t){const e=lo,i=t();for(;;)try{if(883116===parseInt(e(316))/1*(-parseInt(e(338))/2)+-parseInt(e(323))/3*(parseInt(e(315))/4)+parseInt(e(329))/5*(-parseInt(e(308))/6)+parseInt(e(340))/7+parseInt(e(328))/8*(parseInt(e(309))/9)+parseInt(e(321))/10+parseInt(e(325))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[uo(334)];[uo(330)];[uo(311)];[uo(318)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(335)][n(331)])[n(333)];this[n(334)]=e,this[n(330)]=this[n(319)](),this[n(311)]=i,this[n(318)]=s,this[n(330)][n(320)](n(339)).to(this),this[n(330)][n(320)](n(313)).to(this),this[n(322)]({tag:n(310),attributes:{class:["ck",n(332)]},children:[{tag:n(312),attributes:{class:["ck",n(326)]},children:[{text:r}]},{tag:n(310),attributes:{class:["ck",n(337)]},children:this[n(330)]}]})}[uo(336)](t){const e=uo,i=new Ue(this[e(335)],t,this[e(311)],this[e(318)]);this[e(330)][e(324)](i)}[uo(317)](t){const e=uo,i=this[e(330)][e(314)]((e=>e.id===t.id));this[e(330)][e(327)](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=["922220FHMzDl","18lYDtID","192061dgvUZH","content","ck-reset_all","span","2jtvCnC","4UzOGbV","11jCjQXG","44505SOQQod","1737390DwKIZM","24sSLvlZ","setTemplate","ck-revision-history-sidebar__header","152DOFngW","491795XdpBRw","div","228159LzfrsO","Revision history","347067GADkXF","ck-revision-history-sidebar__header__label"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=497]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(104296===parseInt(e(517))/1+parseInt(e(500))/2*(-parseInt(e(511))/3)+-parseInt(e(501))/4*(parseInt(e(509))/5)+parseInt(e(516))/6*(parseInt(e(513))/7)+parseInt(e(508))/8*(-parseInt(e(503))/9)+-parseInt(e(504))/10*(-parseInt(e(502))/11)+parseInt(e(505))/12*(-parseInt(e(515))/13))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(497)]=mt.IconHistory,this[e(506)]({tag:e(510),attributes:{class:["ck",e(498),e(507)]},children:[i,{tag:e(499),attributes:{class:["ck",e(514)]},children:[K(t,e(512))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=So();return(_o=function(t,e){return i[t-=350]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(603873===parseInt(e(375))/1*(-parseInt(e(371))/2)+parseInt(e(391))/3*(-parseInt(e(377))/4)+-parseInt(e(390))/5*(parseInt(e(382))/6)+parseInt(e(395))/7*(-parseInt(e(386))/8)+parseInt(e(393))/9+parseInt(e(357))/10+parseInt(e(378))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(So);class Io extends pt.View{[wo(367)];[wo(360)];[wo(396)];[wo(383)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(403)];this[n(367)]=this[n(361)](),this[n(367)][n(366)](n(398)).to(this),this[n(367)][n(366)](n(368)).to(this),this[n(360)]=e,this[n(396)]=i,this[n(383)]=s,this.on(n(398),((t,e)=>{const i=n;this[i(369)](i(397),e)})),this.on(n(368),((t,e)=>{const i=n;this[i(369)](i(384),e)})),this[n(376)](n(354),!1),this[n(389)]({tag:n(351),attributes:{class:["ck",n(380),n(404),n(381)]},children:[new yo(t),{tag:n(351),attributes:{class:["ck",n(374),r.if(n(354),n(387),(t=>!t))]},children:this[n(367)]}]})}[wo(355)](){const t=wo;super[t(355)]();for(const e of this[t(360)])this[t(363)](e);this[t(360)].on(t(365),((e,i)=>{this[t(363)](i)})),this[t(360)].on(t(372),((e,i)=>{this[t(405)](i)}))}get[wo(370)](){const t=wo;return this[t(367)][t(358)]((e=>e[t(370)][t(358)]((t=>t))))[t(353)]()}[wo(350)](t){const e=wo;for(const i of this[e(370)])t&&t.id===i.id?i[e(398)]():i[e(379)]()}[wo(364)](t){const e=wo;for(const i of this[e(370)])t[e(352)]((({id:t})=>t===i.id))?i[e(401)]():i[e(385)]()}[wo(363)](t){const e=wo,i=oo(t[e(362)],this[e(359)][e(388)])[e(392)];let s=this[e(367)][e(373)](0);s&&s[e(392)][e(402)]()===i[e(402)]()||(s=new fo(this[e(359)],i,this[e(396)],this[e(383)]),this[e(367)][e(365)](s)),s[e(400)](t)}[wo(405)](t){const e=wo,i=oo(t[e(362)],this[e(359)][e(388)])[e(392)];this[e(394)](i)[e(356)](t)}[wo(394)](t){const e=wo;return this[e(367)][e(399)]((i=>i[e(392)][e(402)]()===t[e(402)]()))}}function So(){const t=["revisionViews","1546546TQfTPU","remove","get","ck-revision-history-sidebar__timeline","1lseaIY","set","8FIzspO","32251263RnLGgQ","deselect","ck-reset","ck-revision-history-sidebar","3828RFezJa","_requireRevisionName","revisionSetName","unhighlight","320swYXWx","ck-disabled","uiLanguage","setTemplate","5255VTTLgB","1397727rXVtTQ","startDate","8272629WIcyuj","_getTimePeriodViewByStartDate","203147tdssAA","_revisionActions","revisionSelected","select","find","addRevision","highlight","getTime","bindTemplate","ck-rounded-corners","_removeRevision","selectRevision","div","some","flat","isEnabled","render","removeRevision","2892280yCcRUR","map","locale","_revisions","createCollection","createdAt","_addRevision","highlightRevisions","add","delegate","timePeriodViews","setName","fire"];return(So=function(){return t})()}const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=230]})(t,e)}function xo(){const t=["getRevision","select","_handleRevisionSetName","2783220vaZvlZ","ready","6QUJbEE","705804MANEyn","126gUPnKE","_sidebarView","revisionHistory.viewerSidebarContainer","compareAgainstSelected","destroy","1422996WLWidV","editor","getLaterVisibleRevision","bind","data","RevisionsSidebar","repository","plugins","restoreRevisionCallback","defaultRevisionActions","render","isSelected","getRevisionsInDiff","pluginName","18noyqEX","map","isEnabled","availableRevisionActions","diff","get","_revisionsRepository","9343lVdsoG","listenTo","65896YKmVpS","nameRevision","element","Restore this revision","_handleEditorDataReady","compare","Name this revision","102040FyTAhR","isReady","475130SbdTfC","setName","assign","restoreRevision","remove","change:diff","_revisions","length","99UxUlte","_revisionViewer","getEarlierVisibleRevision","isPremiumPlugin","_createRevisionActions","fieldView","locale","Compare against selected","isOfficialPlugin","_handleRevisionSelected","_handleDiffChange","string","init","getIndex","revisionHistory.requireRevisionName","focus","appendChild","config","revisionHistory","revisionHistory.revisionActions","revisionViews","isVisible","selectRevision","revisionSelected","timePeriodViews","requires","add","name","newRevisionId","action","highlightRevisions","revisionSetName","175NXPrIY"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(298497===-parseInt(e(253))/1*(parseInt(e(312))/2)+-parseInt(e(232))/3+-parseInt(e(262))/4+-parseInt(e(264))/5*(-parseInt(e(310))/6)+-parseInt(e(304))/7*(-parseInt(e(255))/8)+parseInt(e(246))/9*(parseInt(e(308))/10)+-parseInt(e(272))/11*(-parseInt(e(311))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[Oo(273)];[Oo(252)];[Oo(313)];static[Oo(241)]=[Oo(230),Oo(267),Oo(256)];static[Oo(249)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(279),action:({plugins:e},i)=>{const s=t,n=e[s(251)](ee),r=n[s(238)];let o=n[s(250)][s(300)],a=i.id;r[s(285)](o)>r[s(285)](a)&&([o,a]=[a,o]),n[s(260)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(251)](ee);return!(n[s(238)][s(244)](n[s(250)])[s(271)]>2||i[s(243)])}},restoreRevision:{name:t(258),action:(e,{id:i})=>{const s=t;e[s(289)][s(251)](s(290))[s(240)](i)},isVisible:({plugins:e},i)=>!!e[t(251)](ee)[t(238)][t(234)](i.id)},nameRevision:{name:t(261),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(251)](ee),o=r[n(238)][n(274)](i);r[n(260)](i,o),s[n(287)](),s[n(277)][n(306)]()}}}}();static get[Oo(245)](){return Oo(237)}static get[Oo(280)](){return!0}static get[Oo(275)](){return!0}static get[Oo(297)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(273)]=t[e(239)][e(251)](ee),this[e(252)]=this[e(273)][e(238)],this[e(313)]=null}[Oo(284)](){const t=Oo,e=this[t(252)][t(270)],i=this[t(276)](),s=this[t(233)][t(289)][t(251)](t(314));this[t(313)]=new Io(this[t(233)][t(278)],e,i,this[t(233)][t(289)][t(251)](t(286))),this[t(313)].on(t(295),this[t(281)][t(235)](this)),this[t(313)].on(t(303),this[t(307)][t(235)](this)),this[t(313)][t(235)](t(248)).to(this[t(273)]),this[t(313)][t(296)].on(t(298),((e,i)=>{const s=t;i[s(292)].on(s(298),((t,e)=>{const i=s;e[i(235)](i(248),i(263)).to(this[i(273)])}))})),this[t(313)][t(242)](),this[t(254)](this[t(233)][t(236)],t(309),this[t(259)][t(235)](this)),this[t(254)](this[t(273)],t(269),this[t(282)][t(235)](this)),s[t(288)](this[t(313)][t(257)])}[Oo(231)](){const t=Oo;this[t(313)][t(257)][t(268)](),this[t(313)][t(231)]()}[Oo(259)](){const t=Oo,e=this[t(252)][t(305)](0);if(e){const i=this[t(252)][t(274)](e.id);this[t(273)][t(260)](e,i)}}[Oo(281)](t,e){const i=Oo,s=this[i(252)][i(305)](e.id),n=this[i(252)][i(274)](s.id);this[i(273)][i(260)](s,n)}[Oo(307)](t,e){const i=Oo;this[i(252)][i(305)](e.id)[i(265)](e[i(299)])}[Oo(282)](t,e,i){const s=Oo,n=this[s(252)][s(244)](i);n[s(271)]>2?(this[s(313)][s(302)](n),this[s(313)][s(294)](null)):(this[s(313)][s(302)]([]),this[s(313)][s(294)](n[0]))}[Oo(276)](){const t=Oo,e=this[t(233)],i=No[t(249)],s=e[t(289)][t(251)](t(291))||No[t(241)];if(s[t(271)])return s[t(247)]((s=>{const n=t,r=n(283)==typeof s?Object[n(266)]({},i[s]):s;return r[n(301)]=r[n(301)][n(235)](this,e),r[n(293)]&&(r[n(293)]=r[n(293)][n(235)](this,e)),r}))}}const Ro=No;function Ao(t,e){const i=Mo();return(Ao=function(t,e){return i[t-=198]})(t,e)}const Vo=Ao;function Mo(){const t=["bind","element","toolbar","_elementReplacer","7017664TvMUch","view","27036JajvPk","name","setEditableElement","focusTracker","70mEHVaj","23465lSYuOi","componentFactory","render","document","60OuMZNF","viewportTopOffset","rootName","attachDomRoot","viewportOffset","fillFromConfig","get","limiterElement","stickyPanel","isActive","490536mrEydY","1ESwkOt","1039158riyBqj","destroy","ready","2704510aJPHgF","detachDomRoot","isFocused","editor","config","3113Qdaeza","editing","restore","fire","replace","editable","_view","addToolbar","1476924pmSVsI","init","4wRVMPe","getRoot","_toolbarConfig","_initToolbar"];return(Mo=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(749819===parseInt(e(239))/1*(parseInt(e(243))/2)+-parseInt(e(207))/3+-parseInt(e(209))/4*(-parseInt(e(224))/5)+parseInt(e(238))/6*(parseInt(e(223))/7)+-parseInt(e(217))/8+-parseInt(e(240))/9*(parseInt(e(228))/10)+-parseInt(e(199))/11*(-parseInt(e(219))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Do extends pt.EditorUI{[Vo(205)];[Vo(211)];[Vo(216)];get[Vo(218)](){return this[Vo(205)]}constructor(e,i){const s=Vo;super(e),this[s(205)]=i,this[s(211)]=(0,pt.normalizeToolbarConfig)(e[s(198)][s(234)](s(215))),this[s(216)]=new t.ElementReplacer}get[Vo(214)](){const t=Vo;return this[t(218)][t(214)]}[Vo(208)](t){const e=Vo,i=this[e(246)],s=this[e(218)],n=i[e(200)][e(218)],r=s[e(204)],o=n[e(227)][e(210)]();r[e(220)]=o[e(230)],s[e(226)]();const a=r[e(214)];this[e(221)](r[e(220)],a),s[e(204)][e(213)](e(245)).to(this[e(222)]),n[e(231)](a),this[e(216)][e(203)](t,this[e(214)]),this[e(212)](),this[e(202)](e(242))}[Vo(241)](){const t=Vo;super[t(241)]();const e=this[t(218)],i=this[t(246)][t(200)][t(218)];this[t(216)][t(201)](),i[t(244)](e[t(204)][t(220)]),e[t(241)]()}[Vo(212)](){const t=Vo,e=this[t(218)];e[t(236)][t(213)](t(237)).to(this[t(222)],t(245)),e[t(236)][t(235)]=e[t(214)],e[t(236)][t(213)](t(229)).to(this,t(232),(({top:t})=>t)),e[t(215)][t(233)](this[t(211)],this[t(225)]),this[t(206)](e[t(215)])}}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;function Fo(t,e){var i=jo();return(Fo=function(t,e){return i[t-=373]})(t,e)}var Lo=Fo;function jo(){var t=["shouldToolbarGroupWhenFull","464385IsJTVb","305194gIhPJv","483jdIXSw","add","render","256032pWVaGX","main","top","959604htNDxB","stickyPanel","editable","4616KIicMj","content","_editable","24712ZGVWfs","toolbar","321NsSzSz","2873925yjGKKK"];return(jo=function(){return t})()}!function(t){for(var e=Fo,i=t();;)try{if(157409===-parseInt(e(387))/1+-parseInt(e(378))/2*(-parseInt(e(383))/3)+-parseInt(e(391))/4+-parseInt(e(386))/5+-parseInt(e(375))/6+-parseInt(e(388))/7*(-parseInt(e(381))/8)+parseInt(e(384))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Lo(380)];[Lo(376)];[Lo(382)];get[Lo(377)](){return this[Lo(380)]}constructor(t,e,i={}){var s=Lo;super(t),this[s(376)]=new pt.StickyPanelView(t),this[s(382)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(385)]}),this[s(380)]=new pt.InlineEditableUIView(t,e)}[Lo(390)](){var t=Lo;super[t(390)](),this[t(376)][t(379)][t(389)](this[t(382)]),this[t(374)][t(389)](this[t(376)]),this[t(373)][t(389)](this[t(377)])}}const Wo=Uo;function zo(){const t=["editing","1164TKyOgS","get","2554gDAWke","updateSourceElement","view","43535SDlQAk","26280VBSuqg","ready","1247170zPlfYN","destroy","_ui","create","locale","fire","initialData","createRoot","14728HfUgYZ","36PDBlUd","init","model","966TeBtWt","168HJEIfC","99054wbYZMS","config","sourceElement","12382975pBKrBl","initPlugins","document","data"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=123]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(305090===-parseInt(e(131))/1+-parseInt(e(147))/2*(-parseInt(e(145))/3)+-parseInt(e(136))/4*(parseInt(e(150))/5)+parseInt(e(137))/6+-parseInt(e(135))/7*(parseInt(e(151))/8)+-parseInt(e(132))/9*(parseInt(e(123))/10)+parseInt(e(140))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(125)];get ui(){return this[Wo(125)]}constructor(t,e){const i=Wo;super(e),this[i(139)]=t,this[i(134)][i(142)][i(130)]();const s=new Po(this[i(127)],this[i(144)][i(149)],{shouldToolbarGroupWhenFull:!0});this[i(125)]=new Do(this,s)}[Wo(124)](){const t=Wo;return this[t(148)](),this.ui[t(124)](),super[t(124)]()}static async[Wo(126)](t,e){const i=Wo,s=new this(t,e);return await s[i(141)](),await s.ui[i(133)](t),await s[i(143)][i(133)](s[i(138)][i(146)](i(129))||""),s[i(128)](i(152)),s}}const Ho=qo;function $o(){const t=["enableReadOnlyMode","config","users","rootName","_restoreRevision","hide","isAttached","toVersion","32pcZfeX","removeSelectionAttribute","removeMarker","Autosave","isOfficialPlugin","insert","markers","closeRevisionViewerCallback","commands","selection","addUser","then","join","enqueueChange","style","repository","lazyRoots","Users","28bMxDla","pluginName","_enhanceShowRevisionViewerCallback","init","toLocaleTimeString","uiLanguage","getAttributeKeys","RevisionHistoryUtils","save","restrictedEditingException","DocumentOutline","locale","block","adapter","setSelection","loadRevisionData","numeric","editor","addRoot","plugins","set","creator","isPremiumPlugin","getRevisions","view","showRevisionViewerCallback","revisionHistory","isEnabled","none","getRevision","model","refreshPositioning","Dialog","update","from","revision-history-missing-configuration","includes","revision-history-viewer-opened","DocumentOutlineUI","_recalculatePageBreaks","restoreRevision","$graveyard","translations","destroy","push","createdAt","keys","Restored","revisionHistory.restoreRevisionCallback","getRevisionDocumentData","addRevisionData","remove","data","80259jZafFH","revisionHistory.requireRevisionName","RevisionViewer","revisionHistory.editorContainer","_enhanceCloseRevisionViewerCallback","PaginationLookup","Annotations","document","fromCharCode","85075qwEqtu","display","isRevisionViewerOpen","long","2759561uqoWuO","1974174emmPZJ","_getRevisionViewerEditorConfig","RestrictedEditingMode","getMarkersGroup","name","get","bind","revisionHistory.viewerContainer","has","toolbar","_viewerEditor","RevisionsRepository","exitToEditing","roots","revisionHistory.closeRevisionViewerCallback","saveRevision","setAttribute","1659825AnWAHR","result","RevisionTracker","refreshVisibility","isAnonymous","getUser","change","catch","_cleanUp","_update","isReady","define","removeAttribute","changesNavigation","createRangeIn","element","isOpen","toLocaleDateString","end","disableReadOnlyMode","requires","parse","revisionHistory.viewerEditorElement","RevisionHistory","RevisionViewerIntegration","_closeRevisionViewer","create","2920584ZiapPF","getRevisionRootsAttributes","RevisionHistoryUI","toJSON","isReadOnly","fromVersion","error","map","918410FRXGDl","indexOf","getRoot","revisionHistory.showRevisionViewerCallback","_showRevisionViewer","detachRoot"];return($o=function(){return t})()}function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=407]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(560239===parseInt(e(530))/1+-parseInt(e(411))/2*(-parseInt(e(464))/3)+-parseInt(e(522))/4+-parseInt(e(473))/5+-parseInt(e(478))/6+-parseInt(e(477))/7+parseInt(e(544))/8*(parseInt(e(495))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Ho(524),Ho(480)];class Yo extends U.Plugin{[Ho(496)];static get[Ho(412)](){return Ho(519)}static get[Ho(548)](){return!0}static get[Ho(433)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(529)]((t=>String[e(472)](t)))[e(556)]("")}super(t),this[e(496)]=e(513),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends U.Plugin{[Ho(488)];static get[Ho(412)](){return Ho(518)}static get[Ho(548)](){return!0}static get[Ho(433)](){return!0}static get[Ho(515)](){return[at,Ft]}constructor(e){const i=Ho;if(super(e),!this[i(428)][i(537)][i(483)](i(437)))throw new t.CKEditorError(i(446),this);this[i(488)]=null,this[i(431)](i(475),!1),this[i(428)][i(537)][i(506)](i(533),(t=>this[i(534)]({...t,translations:this[i(428)][i(422)][i(453)]}))),this[i(428)][i(537)][i(506)](i(492),(t=>this[i(520)](t))),this[i(428)][i(537)][i(506)](i(459),(t=>this[i(540)](t))),this[i(428)][i(537)][i(506)](i(465),!1),this[i(413)](),this[i(468)]()}set[Ho(424)](t){const e=Ho;this[e(428)][e(430)][e(483)](e(497))[e(424)]=t}get[Ho(424)](){const t=Ho;return this[t(428)][t(430)][t(483)](t(497))[t(424)]}[Ho(461)](t){const e=Ho;return this[e(428)][e(430)][e(483)](e(497))[e(461)](t)}[Ho(440)](t){const e=Ho;return this[e(428)][e(430)][e(483)](e(489))[e(440)](t)}[Ho(434)](t){const e=Ho;return this[e(428)][e(430)][e(483)](e(489))[e(434)](t||{toJSON:!1})}[Ho(479)](){const e=Ho,i=this[e(428)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(430)][e(483)](e(497)),r=i[e(430)][e(483)](e(410))[e(538)];return s[e(487)]=[e(490),e(451),e(508)],delete s[e(409)],s[e(430)][e(455)](Yo,ee,be,class extends U.Plugin{static get[e(515)](){return[ee,e(410)]}[e(414)](){const s=e,o=this[s(428)][s(430)][s(483)](s(410));for(const t of r)t[s(499)]||o[s(500)](t.id)||o[s(554)](t);const a=n[s(408)][s(434)]();let c=null;const u=this[s(428)][s(430)][s(483)](s(466));u[s(424)]=n[s(424)],u[s(484)](s(438)).to(n),this[s(428)][s(552)][s(483)](s(451))[s(484)](s(438)).to(i,s(526),(t=>!t));for(const e of a){const i=null===e[s(432)];if(i&&e[s(543)]===e[s(527)])continue;const r=e[s(525)]();u[s(461)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(504)](r,o);else if(!o){const e=a[u(525)]();e.id=(0,t.uid)(),n[u(493)](e,a[u(543)])[u(555)]((t=>{c=t}))}}else e[u(504)](r,o)}))}}},Ro),s}[Ho(413)](){const t=Ho,e=this[t(428)][t(537)][t(483)](t(437))[t(436)];this[t(428)][t(537)][t(431)](t(533),(async()=>{const i=t;this[i(428)][i(536)](i(448));const s=this[i(428)][i(430)][i(483)](i(497));if(this[i(428)][i(430)][i(486)](i(547))){const t=this[i(428)][i(430)][i(483)](i(547));await t[i(419)]()}else await s[i(444)]();if(this[i(428)][i(430)][i(486)](i(469))&&this[i(428)][i(430)][i(483)](i(469))[i(450)](),this[i(428)][i(430)][i(486)](i(443))){const t=this[i(428)][i(430)][i(483)](i(443));t[i(511)]&&t[i(541)]()}const n=this[i(479)]();return e(n)[i(555)]((t=>{const e=i;return this[e(488)]=t,this[e(428)][e(430)][e(486)](e(470))&&this[e(428)][e(430)][e(483)](e(470))[e(498)](),this[e(428)][e(430)][e(486)](e(421))&&(this[e(428)][e(430)][e(483)](e(449))[e(435)][e(510)][e(407)][e(474)]=e(439)),t}))[i(502)]((t=>(console[i(528)](t),this[i(428)][i(514)](i(448)),null)))}))}[Ho(468)](){const t=Ho,e=this[t(428)][t(537)][t(483)](t(437))[t(551)];this[t(428)][t(537)][t(431)](t(492),(()=>(this[t(428)][t(430)][t(486)](t(469))&&this[t(428)][t(430)][t(483)](t(469))[t(450)](),this[t(428)][t(430)][t(486)](t(421))&&(this[t(428)][t(430)][t(483)](t(449))[t(435)][t(510)][t(407)][t(474)]=""),this[t(488)][t(430)][t(483)](t(466))[t(503)](),e(this[t(488)])[t(555)]((()=>{const e=t;if(this[e(428)][e(514)](e(448)),this[e(488)]=null,this[e(428)][e(430)][e(486)](e(470))){const t=this[e(428)][e(430)][e(483)](e(470));t[e(498)](),t[e(442)]()}})))))}[Ho(534)](t){const e=Ho,i=this[e(428)][e(537)][e(483)](e(467)),s=this[e(428)][e(537)][e(483)](e(485)),n=this[e(428)][e(537)][e(483)](e(517));return Zo[e(521)](n,t)[e(555)]((t=>(s[e(407)][e(474)]=e(423),i[e(407)][e(474)]=e(439),this[e(475)]=!0,t)))}[Ho(520)](t){const e=Ho,i=this[e(428)][e(537)][e(483)](e(467));return this[e(428)][e(537)][e(483)](e(485))[e(407)][e(474)]=e(439),i[e(407)][e(474)]="",this[e(475)]=!1,t[e(454)]()}async[Ho(540)](t){const e=Ho,i=this[e(428)],s=this[e(488)][e(430)][e(483)](e(466)),n=i[e(430)][e(483)](e(497)),r=i[e(430)][e(483)](e(418)),o=s[e(408)][e(440)](t);let a,c,u;try{await r[e(426)](o,this[e(424)]),a=r[e(460)](o),c=r[e(523)](o)}catch(t){return void console[e(528)](t)}i[e(441)][e(501)]((t=>{const s=e;for(const e of Array[s(445)](i[s(441)][s(550)][s(481)](s(420))))t[s(546)](e)})),s[e(505)]=!1,i[e(441)][e(557)]((t=>{const s=e;t[s(425)](null),t[s(545)](i[s(441)][s(471)][s(553)][s(417)]());const n=Object[s(457)](a);for(const e of i[s(441)][s(471)][s(491)])s(452)!=e[s(539)]&&e[s(542)]()&&!n[s(447)](e[s(539)])&&t[s(535)](e);for(const e of n){let n=i[s(441)][s(471)][s(532)](e);n&&n[s(542)]()||(n=t[s(429)](e));const r=c[e],o=Object[s(457)](r),u=a[e];for(const e of n[s(417)]())o[s(447)](e)||t[s(507)](e,n);for(const i of o)t[s(494)](i,c[e][i],n);t[s(462)](t[s(509)](n)),t[s(549)](i[s(463)][s(516)](u,n),n,0)}}));const l=K(i[e(422)],e(458));return u=o[e(482)]?-1==o[e(482)][e(531)](l)?l+": "+o[e(482)]:o[e(482)]:l+": "+o[e(456)][e(512)](i[e(422)][e(416)],{month:e(476),day:e(427)})+", "+o[e(456)][e(415)](i[e(422)][e(416)],{hour:e(427),minute:e(427)}),await n[e(493)]({name:u}),s[e(505)]=!0,i[e(537)][e(483)](e(437))[e(551)]()}}function Go(t,e){var i=Qo();return(Go=function(t,e){return i[t-=222]})(t,e)}function Qo(){var t=["1142565YCzMvP","1601017VCepVR","5ESdsEw","234016rQXMXQ","162004qZdhbM","613692BJojHw","124ZemdQT","42sLsDdr","27sHjnrM","1444030Uwxzzv","2523uEWICK"];return(Qo=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(359770===parseInt(e(232))/1*(-parseInt(e(228))/2)+-parseInt(e(222))/3+parseInt(e(226))/4+-parseInt(e(224))/5*(-parseInt(e(227))/6)+parseInt(e(229))/7*(parseInt(e(225))/8)+parseInt(e(230))/9*(parseInt(e(231))/10)+parseInt(e(223))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|