@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250427.0 → 0.0.0-nightly-20250429.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Go,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>J,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=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 M=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function 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=W();return(P=function(t,e){return i[t-=401]})(t,e)}function W(){const t=["attributes","21RGGNph","11383542DpkJCK","956qlWeYl","set","fromVersion","7gPjfuX","3008988hGpKyO","958218TsUQiL","7442264IaBsZN","setName","map","toVersion","removeAttribute","creatorId","model","100244AjzMYq","diffData","creator","90JDbnFW","authors","name","_update","toJSON","setAttribute","fire","authorsIds","19557910imgylp","createdAt"];return(W=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(641563===-parseInt(e(428))/1*(-parseInt(e(401))/2)+parseInt(e(405))/3+-parseInt(e(414))/4*(parseInt(e(417))/5)+-parseInt(e(406))/6+parseInt(e(404))/7*(parseInt(e(407))/8)+parseInt(e(429))/9+-parseInt(e(425))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[j(416)];[j(418)];[j(415)];[j(410)];[j(403)];[j(413)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(416)]=e[i(416)]||null,this[i(418)]=e[i(418)]||[],this[i(415)]=e[i(415)]||null,this[i(410)]=e[i(410)]||0,this[i(403)]=e[i(403)]||0,this[i(402)](i(419),e[i(419)]||""),this[i(402)](i(426),e[i(426)]||new Date),this[i(402)](i(427),e[i(427)]||{})}[j(408)](t){this[j(420)]({name:t})}[j(422)](t,e){const i=j,s=A(this[i(427)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(420)]({attributes:s})}[j(411)](t){const e=j,i=A(this[e(427)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(420)]({attributes:i})}[j(420)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(419),i(426),i(415),i(418),i(427),i(410),i(403),i(412)];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(418)]&&(n[i(424)]=n[i(418)][i(409)]((t=>t.id)),delete n[i(418)]),this[i(423)](i(420),n,e))}[j(421)](){const t=j;return{id:this.id,name:this[t(419)],creatorId:this[t(416)]?this[t(416)].id:null,authorsIds:this[t(418)][t(409)]((t=>t.id)),diffData:this[t(415)],createdAt:this[t(426)],attributes:this[t(427)],fromVersion:this[t(403)],toVersion:this[t(410)]}}}var U=i(782),H=i(211),Z=i(783);const q=B;function $(){const t=["getLaterVisibleRevision","2077397pALoqM","editor","map","pluginName","name","add","getRevision","fromVersion","93078uJjngm","20kLEwPB","requires","length","plugins","getUser","get","RevisionsRepository","afterInit","getEarlierVisibleRevision","join","oldRevisionId","toVersion","diffData","getRevisions","isPremiumPlugin","fromCharCode","2410656FqvSZI","attributes","creatorId","data","addRevision","later","70gmxQst","earlier","href","isNaN","toJSON","reverse","getIndex","Users","_revisions","getRevisionsIterator","createRevision","6vygLeg","createdAt","425973hMXRRt","from","isOfficialPlugin","12Mfqtbo","4369752wOyiTs","push","765182NjLtsm","getRevisionsInDiff","authorsIds","newRevisionId","18859PQOcqx"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=330]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(417343===parseInt(e(382))/1*(parseInt(e(370))/2)+-parseInt(e(372))/3*(-parseInt(e(375))/4)+-parseInt(e(337))/5*(parseInt(e(336))/6)+parseInt(e(384))/7+-parseInt(e(353))/8+-parseInt(e(376))/9+parseInt(e(359))/10*(parseInt(e(378))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends U.Plugin{[q(367)];static get[q(338)](){return[H.Users]}static get[q(331)](){return q(343)}static get[q(374)](){return!0}static get[q(351)](){return!0}get[q(339)](){const t=q;return this[t(367)][t(339)]}constructor(e){const i=q;super(e),this[i(367)]=new t.Collection}[q(344)](){!async function(e){const i=k([50,121,68,106,87,114,53,100,54,73,77,90,67,101,70,75,86,52,104,82,57,48,107,98,109,72,122,80,111,69,49,66,97,65,116,105,115,88,99,113,84,56,71,85,108,110,81,78,79,83,120,117,118,76,89,74,102,55,112,119,103,51]),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(362)](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([121]);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(330)]((t=>String[e(352)](t)))[e(346)]("")}!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:1745712e3;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(361)]);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(369)](t){const e=q,i=this[e(385)][e(340)][e(342)](e(366));return new z({id:t.id,name:t[e(332)],creator:t[e(355)]?i[e(341)](t[e(355)]):null,diffData:t[e(349)]||t[e(356)],authors:t[e(380)][e(330)]((t=>i[e(341)](t))),createdAt:new Date(t[e(371)]),attributes:t[e(354)],fromVersion:t[e(335)],toVersion:t[e(348)]})}[q(357)](t,e=0){const i=q;this[i(367)][i(333)](t,e)}[q(334)](t){const e=q;return this[e(367)][e(342)](t)}[q(350)](t={toJSON:!1}){const e=q,i=Array[e(373)](this[e(367)]);return i[e(364)](),t[e(363)]?i[e(330)]((t=>t[e(363)]())):i}[q(365)](t){const e=q;return this[e(367)][e(365)](t)}[q(345)](t){const e=q,[,i]=this[e(368)](t,{direction:e(360)});return i}[q(383)](t){const e=q,[,i]=this[e(368)](t,{direction:e(358)});return i}[q(379)](t){const e=q,i=[];for(const s of this[e(368)](t[e(381)]))if(i[e(377)](s),s.id===t[e(347)])break;return i}*[q(368)](t,{direction:e=q(360),filter:i=()=>!0}={}){const s=q,n=s(360)===e?1:-1;let r=this[s(367)][s(342)](t),o=this[s(365)](r);for(yield r;r;){if(o+=n,r=this[s(334)](o),!r)return;i(r)&&(yield r)}}}const G=K;function Y(){const t=["createElement","_makeModelFromViewString","revision-end","_getViewFromDiffObj","RevisionHistoryUtils","6xbKpdm","getRevisionRootsAttributes","render","useFillerType","htmlProcessor","isOfficialPlugin","editor","parse","getFillerOffset","708489ognPAr","childNodes","revision-start","data-revision-","insertions","view","getRevision","startsWith","innerHTML","filter","append","children","viewChildrenToDom","_removeRevisionMarkers","2941106TxXRsA","data","_getTypeCharForViewElement","loadRevisionData","diffData","getRevisionDocumentData","default","editing","toModel","isAttached","domConverter","_viewClassToTypeChar","string","marked","pluginName","3634455LaUJKJ","domChildrenToView","_appendChild","document","type","attachChange","get","div","forEach","config","_typeCharToViewClass","map","collaboration.channelId","processor","name","9574672rVIsQu","fillerOffset","constructor","767730MIQlIG","customProperties","_setCustomProperty","499092bLbpRj","toData","478904aDUAEL","domDocument","length","attributesAfter","attributes","isPremiumPlugin","from"];return(Y=function(){return t})()}function K(t,e){const i=Y();return(K=function(t,e){return i[t-=376]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(431109===parseInt(e(407))/1+-parseInt(e(381))/2+parseInt(e(398))/3*(parseInt(e(386))/4)+parseInt(e(436))/5+-parseInt(e(384))/6+parseInt(e(421))/7+-parseInt(e(378))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class X extends U.Plugin{static get[G(435)](){return G(397)}static get[G(403)](){return!0}static get[G(391)](){return!0}[G(432)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[G(446)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[G(424)](t,e){const i=G;if(t[i(425)]||!e)return;const s=this[i(404)][i(445)][i(442)](i(448)),n=await e[i(413)]({channelId:s,revisionId:t.id});t[i(425)]=n[i(425)]}[G(426)](t){const e=G,i={};for(const s in t[e(425)]){if(t[e(425)][s][e(441)]&&!t[e(425)][s][e(441)][e(430)])continue;const n=this[e(420)](JSON[e(405)](t[e(425)][s][e(411)])),r=this[e(404)][e(428)][e(412)][e(439)],o=new Z.ViewDocumentFragment(r,n[e(447)]((t=>this[e(396)](t,!1))));this[e(404)][e(422)][e(376)][e(401)](e(434)),i[s]=this[e(404)][e(422)][e(376)][e(385)](o),this[e(404)][e(422)][e(376)][e(401)](e(427))}return i}[G(399)](t){const e=G,i={};for(const s in t[e(425)])t[e(425)][s][e(441)]&&!t[e(425)][s][e(441)][e(430)]||(i[s]=t[e(425)][s][e(389)]||{});return i}[G(423)](t){const e=G;return this[e(432)][e(442)](t[e(380)])}[G(396)](t,e){const i=G,s=this[i(404)][i(428)][i(412)][i(439)];if(i(433)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(440)]||"r"==t[i(440)]?[]:t[i(418)][i(447)]((t=>this[i(396)](t,e)));const o=this[i(446)][i(442)](t[i(440)])||Z.ViewElement,a=this[i(404)][i(422)][i(402)][i(431)];if(n=new o(s,t[i(377)],t[i(390)],r),"u"==t[i(440)]&&t[i(418)][0]){const r=t[i(418)][0];if(n[i(400)]=function(t){const e=i,s=t[e(393)](e(443));return s[e(415)]=r,s[e(408)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(438)](n);const e=Array[i(392)](a[i(419)](t,{bind:!1})),r=a[i(387)][i(393)](i(443));r[i(417)](...e),n=Array[i(392)](a[i(437)](r))[0]}}else if("r"==t[i(440)]&&t[i(418)][0]){const r=t[i(418)][0];if(n[i(400)]=function(t){t[i(415)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(438)](n);const e=Array[i(392)](a[i(419)](t,{bind:!1})),r=a[i(387)][i(393)](i(443));r[i(417)](...e);const o=Array[i(392)](a[i(437)](r));o[i(388)]>1?n[i(438)](o):n=o[0]}}if(t[i(382)])for(const[e,s]of t[i(382)])n[i(383)](e,s);const c=void 0===t[i(379)]?null:t[i(379)];return null!==c&&(n[i(406)]=()=>c),n}}[G(394)](t){const e=G,i=JSON[e(405)](t),s=this[e(404)][e(428)][e(412)][e(439)],n=new Z.ViewDocumentFragment(s,i[e(447)]((t=>this[e(396)](t,!0))));return this[e(404)][e(422)][e(429)](n)}[G(420)](t){const e=G;return(t=t[e(416)]((t=>!t[e(377)]||e(409)!==t[e(377)]&&e(395)!==t[e(377)])))[e(444)]((t=>{const i=e;i(433)!=typeof t&&(t[i(418)]=this[i(420)](t[i(418)]),t[i(390)]=t[i(390)][i(416)]((t=>!t[0][i(414)](i(410)))))})),t}}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,M;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=at;function ot(){const t=["isAttached","clear","_getVidAttributeName","domConverter","setSource","_fixOperation","_createCurrentRevision","reinsert","getRootNames","getIndex","saveRevision","_saveMetaData","getLatestVersion","isAdd","createRange","rawElement","deletion","dataToMarker","_revisionId","marker","type","_handleMoveOperation","isOfficialPlugin","_touched","stringify","_fixPosition","RevisionHistory","then","setRevisionData","plugins","revision:","getFillerOffset","_bufferUpdate","customProperties","RevisionTracker","some","getData","includes","fillerOffset","editor-initial-data-replaced-with-revision-data","_execute","_touchedRoots","offsetSize","fromEntries","removeRootAttribute","$graveyard","adapter","vid","updateRevisions","attachChange","insertionPosition","size","innerHTML","invalid","createElement","_update","getMovedRangeStart","revisionHistoryLicenseKeyNotAllowed","startsWith","_transformMarkers","_operations","_loadState","afterInit","reverse","rootsAttributes","featureNotAllowed","_startingVersion","end","getRevisions","slice","revision","Users","addRoot","_handleMergeOperation","source","_markChanges","_getFromVersion","trim","oldRange","getWalker","length","merge","getOperation","addRevision","pluginName","_source","markerToData","root","_makeModelFromViewString","_utils","vid_start","_handleSplitOperation","$comment","loadState","_generateTape","RevisionHistoryUtils","config","_getViewJson","_lastFrom","_touchedMarkers","item","Initial revision","dataDowncast","_savedMetaData","baseVersion","_continueCurrentRevision","toView","text","_prepareViewToSave","_handleMarkerOperation","_insertChild","getOperations","newValue","getNodeByPath","finally","revisionHistoryLicenseKeyEvaluationLimit","_processRootBeforeSave","vid_end","revisionHistoryLicenseKeyTrialLimit","rootName","_isAttached","isReady","_licenseKeyCheckInterval","childCount","getAttribute","_removeMetaData","RealTimeCollaborationClient","sourcePosition","_showLicenseError","data","htmlProcessor","createRangeIn","_removePendingAction","_clone","model","addRevisionData","add","getRange","collaboration.channelId","isEqual","conversion","range","_idsRoots","requires","getCurrentRevisionId","string","107109vsWdUg","path","authorsIds","_authorId","Empty document","_handleRootOperation","_setAttribute","push","locale","howMany","split","delete","_appendChild","fromVersion","getChild","_fixRange","remove","initialData","isPremiumPlugin","attributesBefore","_handleInsertOperation","loadRevisionData","bind","_replaceEditorDataWithRevisionData","revisionHistoryLicenseKeyDomainLimit","repository","stickiness","for","createPositionAfter","domDocument","_getBaseVids","_diffRootsAttributes","$text","offset","authors","name","getChildren","shift","createRevision","roots","_getState","buildRevisionData","init","_startingRevisionId","expired","addRootAttribute","revisionHistoryLicenseKeyExpired","changeRootAttribute","insert","domainLimit","createPositionFromPath","resolve","12102940hYyvgT","_diffRoots","key","toVersion","clone","documentFragment","_getPreviousFrom","reInit","destroy","trialLimit","start","elementStart","_findInsertionIndex","851025LSoKRS","getCustomProperties","ready","getRevisionRootsAttributes","176ICWVOK","find","_handleRootAttributeOperation","25208KlJQqS","135aHsNmD","_bufferedUpdates","getUser","getTransformedByOperation","insertion","NEGATIVE_INFINITY","initial","revisionHistoryLicenseKeyInvalid","map","update","keys","markers","creatorId","hasContent","_markers","from","tableCell","filter","attributesAfter","get","518043QsFghT","_baseRoots","nodes","_cloneOperation","_makeRevision","diffData","_handleOperation","deletions","PendingActions","_isPendingUpdate","_loadedStateData","editor","_getTypeCharForViewElement","_addPendingAction","createPositionBefore","position","6WDIqGv","outerHTML","isEnabled","render","version","RevisionsRepository","getRevision","getAncestors","affectsData","173778eLsWCW","_setConversion","createdAt","_isInit","licenseKey","max","_createFromRanges","element","previousPosition","sendBufferedUpdates","history","revisionHistory.resumeUnsavedRevision","evaluationLimit","insertions","set","getRevisionDocumentData","_reset","getTime","usageLimit","newRange","userId","_createInitialRevision","has","detachRoot","getAttributes","splitPosition","children","_applyOperations","createPositionAt","PENDING_ACTION_REVISION_HISTORY","_baseRootsAttributes","_revisionDataBuilder","upcast","targetPosition","_pendingAction","elementEnd","values","parent","currentRevision","graveyardPosition","_calculateMetaData","move","uiElement","_makeIdsRoot","sort","nodeAfter","_baseIdsRoots","paragraph","_initialRevisionId","getRoot","keepParagraph","revisionHistoryLicenseKeyValid","creator","revisionHistoryLicenseKeyUsageLimit","define","document","2027493FTIteT","_lastTo","_copyMarkers"];return(ot=function(){return t})()}function at(t,e){const i=ot();return(at=function(t,e){return i[t-=385]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(916892===-parseInt(e(603))/1*(-parseInt(e(619))/2)+-parseInt(e(684))/3+-parseInt(e(582))/4+parseInt(e(583))/5*(-parseInt(e(628))/6)+-parseInt(e(575))/7+-parseInt(e(579))/8*(parseInt(e(510))/9)+parseInt(e(562))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class ct extends U.Plugin{[rt(632)];[rt(486)];[rt(666)]=null;[rt(535)];[rt(410)]=null;[rt(659)];[rt(449)];[rt(676)];[rt(584)];[rt(453)];[rt(662)];[rt(469)];[rt(430)];[rt(613)];static get[rt(448)](){return rt(398)}static get[rt(386)](){return!0}static get[rt(528)](){return!0}static get[rt(507)](){return[H.Users,J,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(535)]=this[i(614)][i(393)][i(602)](i(624)),this[i(453)]=this[i(614)][i(393)][i(602)](i(459)),this[i(659)]=new ut(this[i(614)]),this[i(676)]=this[i(614)][i(460)][i(602)](i(502))||i(589),this[i(584)]=new Map,this[i(613)]=null;const s=(0,t.uid)();this[i(449)]={history:this[i(614)][i(498)][i(683)][i(638)],getLatestVersion:()=>Promise[i(561)](this[i(614)][i(498)][i(683)][i(623)]),getCurrentRevisionId:()=>s},this[i(642)](i(485),!1),this[i(642)](i(621),!0),this[i(642)](i(612),!1),this[i(614)][i(460)][i(682)](i(639),!0),this[i(614)][i(504)][i(537)](i(660))[i(704)]({view:i(434)})}[rt(552)](){const t=rt;this[t(629)](),this[t(614)][t(493)].on(t(577),(()=>{const e=t,i=this[e(535)][e(625)](0),s=i&&null===i[e(680)]?i:null;if(this[e(469)]=!!s&&this[e(614)][e(460)][e(602)](e(639)),this[e(614)][e(393)][e(650)](e(490))){const t=this[e(449)][e(508)](),n=this[e(535)][e(625)](t);if(n)this[e(430)]=n[e(523)],this[e(469)]=!1;else{const t=this[e(449)][e(638)][e(424)][e(580)]((t=>!t[e(631)])),n=t?t[e(468)]:this[e(449)][e(638)][e(623)];i?(i[e(565)]<n&&i[e(419)]({toVersion:n}),this[e(469)]?(this[e(449)][e(508)]=()=>s.id,this[e(430)]=s[e(523)]):(this[e(430)]=i[e(565)],this[e(469)]=!1)):(this[e(430)]=n,this[e(469)]=!1)}}else s&&(this[e(614)][e(498)][e(683)][e(638)][e(623)]=Math[e(633)](s[e(565)],this[e(614)][e(498)][e(683)][e(638)][e(623)]),s[e(523)]===s[e(565)]?(0!==s[e(523)]&&(this[e(449)][e(508)]=()=>s.id),this[e(469)]=!1):this[e(469)]&&(this[e(449)][e(508)]=()=>s.id,this[e(430)]=s[e(523)])),this[e(469)]||(this[e(430)]=this[e(614)][e(498)][e(683)][e(623)]);this[e(659)][e(552)](this[e(449)][e(638)]),this[e(649)](this[e(430)]),this[e(693)](this[e(430)]),this[e(410)]&&this[e(637)]()})),this[t(532)](t(485)).to(this,t(612),(t=>!t)),this[t(632)]=this[t(614)][t(460)][t(602)](t(632));const e=this[t(614)];this[t(486)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(679)==r||i(590)==r||i(556)==r||i(534)==r||i(421)==r||i(479)==r||i(482)==r||i(681)==r){delete e[n],s=r,clearInterval(this[i(486)]),this[i(486)]=void 0;break}}i(590)==s&&e[i(492)](i(417)),i(556)==s&&e[i(492)](i(554)),i(534)==s&&e[i(492)](i(559)),i(421)==s&&e[i(492)](i(429),i(390)),i(479)==s&&e[i(492)](i(640)),i(482)==s&&e[i(492)](i(571)),i(681)==s&&e[i(492)](i(646))}),1e3)}async[rt(426)](){const t=rt;if(this[t(535)][t(444)]>0){const e=this[t(535)][t(625)](0),i=await this[t(643)](e),s=await this[t(578)](e);this[t(533)](i,s)}}[rt(570)](){const t=rt;super[t(570)](),this[t(486)]&&clearInterval(this[t(486)])}[rt(691)](t){this[rt(449)]=t}async[rt(592)](){const t=rt,e=await this[t(449)][t(699)]();if(e>this[t(666)][t(565)]){await this[t(425)]();const i=this[t(551)]({revision:this[t(666)],to:e});i[t(544)]=i[t(512)][t(591)]((e=>this[t(614)][t(393)][t(602)](t(435))[t(585)](e))),this[t(666)][t(419)](i)}}async[rt(697)](e={},i=null){const s=rt,n=[];await this[s(425)](),this[s(469)]=!1,i>this[s(666)][s(565)]&&(i=null),null===i&&(i=await this[s(449)][s(699)]());const r=this[s(440)](i),o=this[s(551)]({from:r,to:i});if(this[s(666)][s(565)]<i){const t=this[s(551)]({revision:this[s(666)],from:i,to:i});t[s(544)]=[],t[s(512)]=[],t.id=this[s(666)].id,this[s(666)][s(419)](t,!0),delete t[s(544)],n[s(517)](t)}e[s(595)]=this[s(614)][s(393)][s(602)](s(435)).me.id,e[s(545)]=e[s(545)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(499)](e);n[s(517)](e);const c=this[s(535)][s(696)](a);if(0!==c){const t=this[s(535)][s(625)](c-1);if(t[s(523)]!==i){const r=this[s(659)][s(400)](i,t[s(565)]),o={id:t.id,diffData:r[s(608)],authorsIds:r[s(512)],authors:r[s(512)][s(591)]((t=>this[s(614)][s(393)][s(602)](s(435))[s(585)](t))),fromVersion:i};t===this[s(666)]&&(o[s(630)]=new Date(e[s(630)][s(645)]()+10)),t[s(419)](o,!0),delete o[s(544)],n[s(517)](o)}}if(this[s(410)]){for(const t of n)this[s(396)](t.id,t,!0);this[s(637)]()}return a}[rt(499)](t){const e=rt,i=this[e(535)][e(548)](t);return this[e(410)]&&i.on(e(419),((t,i,s)=>{const n=e;s||(this[n(396)](i.id,i,!0),this[n(637)]())})),this[e(535)][e(447)](i,this[e(574)](i)),i}async[rt(643)](t){const e=rt;return await this[e(453)][e(531)](t,this[e(410)]),this[e(453)][e(643)](t)}async[rt(578)](t){const e=rt;return await this[e(453)][e(531)](t,this[e(410)]),this[e(453)][e(578)](t)}[rt(637)](){const t=rt;if(0===this[t(584)][t(415)])return;if(this[t(612)])return;let e=Array[t(598)](this[t(584)][t(664)]());this[t(584)][t(688)]();for(let i=0;i<e[t(444)];i++){const s=e[i];let n=!1;for(const e of Object[t(593)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(600)]((t=>null!==t)),!e[t(444)])return;for(let i=0;i<e[t(444)];i++){const s=e[i];void 0!==s[t(523)]&&void 0===s[t(565)]&&(s[t(565)]=this[t(535)][t(625)](s.id)[t(565)]),void 0!==s[t(565)]&&void 0===s[t(523)]&&(s[t(523)]=this[t(535)][t(625)](s.id)[t(523)])}const i=this[t(614)][t(460)][t(602)](t(502));this[t(612)]=!0,this[t(616)](),this[t(410)][t(412)](e,i)[t(478)]((()=>{this[t(612)]=!1}))[t(391)]((e=>{const i=t;if(e)for(const t of e)this[i(392)]({id:t.id,createdAt:t[i(630)]});this[i(496)](),this[i(637)]()}))}[rt(551)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(523)],i=null!==i?i:t[s(565)];const n=this[s(659)][s(400)](e,i),r={diffData:n[s(608)],authorsIds:n[s(512)],fromVersion:e,toVersion:i};if(!t||i!==t[s(565)]){const t=i-1,e=this[s(449)][s(638)][s(446)](t);r[s(630)]=e&&e[s(630)]||new Date}if(this[s(613)]&&e===this[s(613)][s(523)])for(const t of this[s(613)][s(544)])r[s(512)][s(401)](t.id)||r[s(512)][s(517)](t.id);return r}[rt(396)](t,e,i){const s=rt;if(this[s(584)][s(650)](t)){const n=this[s(584)][s(602)](t);e=i?{...n,...e}:{...e,...n}}this[s(584)][s(642)](t,e)}[rt(392)](t){const e=rt,i=this[e(535)][e(625)](t.id);if(t[e(630)]&&(t[e(630)]=new Date(t[e(630)])),t[e(512)]){const i=this[e(614)][e(393)][e(602)](e(435));t[e(544)]=t[e(512)][e(591)]((t=>i[e(585)](t)))}i[e(419)](t,!0)}[rt(649)](t){const e=rt,i=this[e(535)][e(625)](this[e(535)][e(444)]-1);if(i)this[e(676)]=i.id;else{const i=!this[e(614)][e(498)][e(683)][e(549)][e(580)]((t=>this[e(614)][e(498)][e(596)](t))),s=this[e(614)][e(393)][e(602)](e(435)).me.id,n=Q(this[e(614)][e(518)],e(i?514:465));this[e(607)]({from:t,to:t,id:this[e(676)],name:n,creatorId:s})}}[rt(693)](t){const e=rt,i=this[e(449)][e(508)]();this[e(666)]=this[e(535)][e(625)](i),this[e(666)]||(this[e(666)]=this[e(607)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(425)](){const t=rt;this[t(469)]&&!this[t(613)]&&(await this[t(453)][t(531)](this[t(666)],this[t(410)]),this[t(659)][t(457)](this[t(666)]),this[t(613)]={fromVersion:this[t(666)][t(523)],authors:this[t(666)][t(544)][t(433)]()})}[rt(533)](e,i){const s=rt;let n=this[s(614)][s(460)][s(602)](s(527)),r=this[s(614)][s(460)][s(602)](s(428));if(void 0===n){n={};for(const t of this[s(614)][s(498)][s(683)][s(695)]())n[t]=""}if(s(509)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(614)][s(498)][s(683)][s(695)]())r[t]={}}let o=!1;const a=Object[s(593)](n),c=Object[s(593)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(441)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(593)](r[t])[s(444)]>0){o=!0;break}}o||(o=c[s(399)]((t=>!this[s(614)][s(498)][s(683)][s(677)](t)))),o&&(0,t.logWarning)(s(403),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(614)][s(460)][s(642)](s(527),e),this[s(614)][s(460)][s(642)](s(428),i)}[rt(616)](){const t=rt;if(!this[t(662)]){const e=this[t(614)][t(393)][t(602)](t(611));this[t(662)]=e[t(500)](Q(this[t(614)][t(518)],t(657)))}}[rt(496)](){const t=rt;this[t(662)]&&(this[t(614)][t(393)][t(602)](t(611))[t(526)](this[t(662)]),this[t(662)]=null)}[rt(574)](t){const e=rt,i=this[e(535)][e(432)]();i[e(427)]();let s=0;for(;s<i[e(444)];){const n=i[s];if(n===this[e(666)]){s++;continue}if(n.id===this[e(676)])break;const r=t[e(565)]-n[e(565)]||t[e(523)]-n[e(523)];if(r>0)break;if(r<0)s++;else{if(!t[e(680)]&&n[e(680)])break;if(n[e(680)]||!t[e(680)]){if(t[e(630)]>n[e(630)])break;s++}else s++}}return s}[rt(440)](t){const e=rt,i=this[e(535)][e(432)]();i[e(427)](),i[e(547)]();const s=i[e(580)]((i=>i[e(565)]<=t))[e(565)];return s<this[e(430)]?this[e(430)]:s}[rt(607)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(551)]({from:e,to:i});o[r(545)]=t,o[r(595)]=s,o.id=n;const a=this[r(499)](o);return this[r(410)]&&this[r(396)](o.id,o,!0),a}[rt(629)](){const t=rt;this[t(614)][t(504)][t(537)](t(466))[t(450)]({model:t(434)})}}class ut{[rt(614)];[rt(438)];[rt(467)];[rt(462)];[rt(685)];[rt(597)];[rt(563)];[rt(541)];[rt(604)];[rt(658)];[rt(506)];[rt(674)];[rt(387)];[rt(463)];[rt(405)];[rt(705)];[rt(553)];constructor(t){const e=rt;this[e(614)]=t,this[e(467)]=new Map,this[e(462)]=-1,this[e(685)]=-1,this[e(597)]=new Map,this[e(563)]=new Map,this[e(541)]=new Map,this[e(604)]=new Map,this[e(658)]=new Map,this[e(506)]=new Map,this[e(674)]=new Map,this[e(387)]=new Map,this[e(463)]=new Map,this[e(405)]=new Map,this[e(705)]=1}[rt(552)](t){const e=rt;this[e(438)]=t;const i=new Map,s=new Map,n=this[e(614)][e(498)][e(683)][e(549)][e(591)]((t=>t[e(483)]));for(const t of n){const n=this[e(614)][e(498)][e(683)][e(677)](t),r=lt(n);i[e(642)](t,r),s[e(642)](t,Object[e(407)](n[e(652)]()))}const r=Array[e(598)](this[e(614)][e(498)][e(594)])[e(591)]((t=>[t[e(545)],t[e(501)]()])),o=this[e(438)][e(623)];this[e(698)](o,i,r,s),this[e(553)]=this[e(705)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(642)](t,i),c[e(642)](t,{})}this[e(698)](Number[e(588)],a,[],c)}[rt(400)](t,e){const i=rt;if(this[i(462)]===t&&this[i(685)]<=e)this[i(467)][i(415)]>1&&this[i(489)](this[i(685)]),this[i(655)](this[i(685)],e,!0);else{if(!this[i(467)][i(650)](t)){const e=this[i(568)](t);this[i(668)](e,t,!1)}this[i(668)](t,e,!0)}return this[i(462)]=t,this[i(685)]=e,this[i(550)]()}[rt(457)](t){const e=rt,i=this[e(614)][e(393)][e(602)](e(459));this[e(644)](),this[e(462)]=t[e(523)],this[e(685)]=t[e(565)];for(const s in t[e(608)]){const n=t[e(608)][s][e(413)],r=A(t[e(608)][s][e(529)])||{},o=i[e(452)](t[e(608)][s][e(610)]);o[e(483)]=s,o[e(484)]=!n||!n[e(687)],o[e(687)]=()=>o[e(484)],this[e(604)][e(642)](s,o),this[e(658)][e(642)](s,r),n&&this[e(405)][e(642)](s,n);const a=this[e(671)](o);this[e(674)][e(642)](s,a);for(const[t,i]of o[e(594)]){if(!t[e(422)](e(394)))continue;const s=t[e(520)](":")[2];for(const t of i[e(443)]({singleCharacters:!0})){const i=this[e(689)](t),n=e(663)==t[e(707)]?t[e(636)][e(511)][e(433)](0,-1):t[e(636)][e(511)],r=a[e(477)](n)[e(488)](i);this[e(387)][e(642)](r,{userId:s})}}}this[e(553)]=this[e(705)];const s=[...Array(this[e(705)])[e(593)]()][e(433)](1)[e(600)]((t=>!this[e(387)][e(650)](t)));let n=0;const r=new Map;for(const o in t[e(608)]){const a=t[e(608)][o][e(413)],c=A(t[e(608)][o][e(601)])||{},u=i[e(452)](t[e(608)][o][e(641)]);u[e(483)]=o,u[e(484)]=!a||a[e(687)],u[e(687)]=()=>u[e(484)],this[e(563)][e(642)](o,u),this[e(541)][e(642)](o,c);const l=this[e(671)](u,Number[e(588)]);this[e(506)][e(642)](o,l),r[e(642)](o,u[e(687)]()?c:{});for(const[t,i]of u[e(594)]){if(!t[e(422)](e(394)))continue;const s=t[e(520)](":")[2];for(const t of i[e(443)]({singleCharacters:!0})){const i=this[e(689)](t),n=this[e(705)]++,r=e(663)==t[e(707)]?t[e(636)][e(511)][e(433)](0,-1):t[e(636)][e(511)];l[e(477)](r)[e(516)](i,n),this[e(387)][e(642)](n,{userId:s})}}for(const t of this[e(614)][e(498)][e(495)](u)[e(443)]({singleCharacters:!0})){const i=this[e(689)](t),r=e(663)==t[e(707)]?t[e(636)][e(511)][e(433)](0,-1):t[e(636)][e(511)],o=l[e(477)](r);o[e(488)](i)>0||o[e(516)](i,s[n++])}for(const[t,i]of u[e(594)])t[e(422)](e(394))||this[e(597)][e(642)](t,i)}const o=ht(e(409));this[e(604)][e(642)](e(409),o),this[e(674)][e(642)](e(409),this[e(671)](o,1));const a=ht(e(409));this[e(563)][e(642)](e(409),a),this[e(506)][e(642)](e(409),this[e(671)](a,1));const c=Array[e(598)](this[e(563)])[e(591)]((([t,e])=>[t,lt(e)]));this[e(698)](this[e(685)],c,this[e(597)],r)}[rt(569)](){const t=rt;this[t(644)](),this[t(462)]=-1,this[t(685)]=-1,this[t(467)][t(688)](),this[t(552)](this[t(438)])}[rt(698)](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(642)](t,{start:e[n(572)][n(566)](),end:e[n(431)][n(566)](),rootName:e[n(451)][n(483)]});this[n(467)][n(642)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(489)](t){const e=rt;this[e(467)][e(521)](t)}[rt(644)](){const t=rt;this[t(387)][t(688)](),this[t(463)][t(688)](),this[t(405)][t(688)](),this[t(563)][t(688)](),this[t(541)][t(688)](),this[t(604)][t(688)](),this[t(658)][t(688)](),this[t(506)][t(688)](),this[t(674)][t(688)](),this[t(597)][t(688)](),this[t(705)]=1,this[t(553)]=this[t(705)]}[rt(671)](t,e=null){const i=rt;let s=null;t.is(i(567))||(s=new Z.Element(t[i(545)],{vid_start:null===e?this[i(705)]++:e++}));const n=[];for(const s of t[i(546)]())if(s.is(i(635))){n[i(517)](this[i(671)](s,e));const t=n[n[i(444)]-1];null!==e&&(e=t.is(i(635),i(542))?t[i(488)](i(411))+1:t[i(488)](i(481))+1)}else for(let t=0;t<s[i(406)];t++)n[i(517)](new Z.Element(i(542),{vid:null===e?this[i(705)]++:e++}));if(t.is(i(567))){const e=ht(t[i(483)]);return e[i(474)](0,n),e}return s[i(516)](i(481),null===e?this[i(705)]++:e++),s[i(474)](0,n),s}[rt(668)](t,e,i){const s=rt;this[s(644)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(467)][s(602)](t);this[s(604)]=new Map(n),this[s(658)]=new Map(A(o));for(const[t,e]of this[s(604)])if(s(409)!==t&&(this[s(563)][s(642)](t,lt(e)),this[s(541)]=new Map(A(o)),i)){const i=this[s(705)];this[s(506)][s(642)](t,this[s(671)](e)),this[s(674)][s(642)](t,this[s(671)](e,i))}this[s(553)]=this[s(705)],this[s(563)][s(642)](s(409),lt(this[s(604)][s(602)](s(409)))),i&&this[s(506)][s(642)](s(409),this[s(671)](this[s(604)][s(602)](s(409))));for(const[t,e]of r){const i=this[s(604)][s(602)](e[s(483)]),n=this[s(563)][s(602)](e[s(483)]),r=new Z.Range(this[s(389)](e[s(572)],i),this[s(389)](e[s(431)],i)),o=this[s(525)](r,n);i[s(594)][s(642)](t,r),this[s(597)][s(642)](t,o)}this[s(655)](t,e,i)}[rt(655)](t,e,i){const s=rt;for(const n of this[s(438)][s(475)](t,e))this[s(609)](n,i);for(const t of this[s(563)][s(664)]())t[s(594)][s(688)]();for(const[t,e]of this[s(597)])this[s(563)][s(602)](e[s(451)][s(483)])[s(594)][s(642)](t,e[s(566)]());const n=new Map,r=new Map;for(const[t,e]of this[s(563)])n[s(642)](t,lt(e)),r[s(642)](t,this[s(541)][s(602)](t));this[s(698)](e,n,this[s(597)],r)}[rt(568)](t){const e=rt,i=Array[e(598)](this[e(467)][e(593)]());i[e(672)](((t,e)=>t-e)),i[e(427)]();for(const e of i)if(e<t)return e;return Number[e(588)]}[rt(686)](t,e){const i=rt,s=Array[i(598)](e[i(594)])[i(591)]((([e,s])=>[e,this[i(525)](s,t)]));t[i(594)]=new Map(s)}[rt(423)](t){const e=rt;for(const i of this[e(597)][e(664)]()){const s=i[e(586)](t),n=Z.Range[e(634)](s);i[e(572)]=n[e(572)],i[e(431)]=n[e(431)]}}[rt(609)](t,e){const i=rt;if(i(436)!=t[i(707)]&&i(651)!=t[i(707)]){if(i(558)==t[i(707)]){const s=t[i(618)][i(451)][i(483)];this[i(563)][i(650)](s)||(this[i(563)][i(642)](s,ht(s,!0)),this[i(541)][i(642)](s,{}),e&&this[i(506)][i(642)](s,ht(s,!0)))}else{if(i(555)==t[i(707)]||i(408)==t[i(707)]||i(557)==t[i(707)])return void this[i(581)](t);i(706)==t[i(707)]&&this[i(473)](t)}if(i(706)!==t[i(707)]){const e=this[i(606)](t,this[i(563)]);e[i(404)](),this[i(423)](e)}if(e)switch(t[i(707)]){case i(558):this[i(530)](t);break;case i(669):case i(526):case i(694):this[i(385)](t);break;case i(445):this[i(437)](t);break;case i(520):this[i(455)](t)}}else this[i(515)](t,e)}[rt(606)](t,e){const i=rt,s=t[i(566)]();return s[i(513)]=t[i(513)],this[i(692)](s,e),s}[rt(540)](t){const e=rt;return t[e(591)]((t=>{const i=e,s=this[i(689)](t);return Number(t[i(464)][i(488)](s))}))}[rt(458)](t,e){const i=rt;if(t.is(i(635),i(542)))e[i(517)]({item:t,type:i(471)});else{t.is(i(635))&&e[i(517)]({item:t,type:i(573)});for(const s of t[i(546)]())this[i(458)](s,e);t.is(i(635))&&e[i(517)]({item:t,type:i(663)})}return e}[rt(550)](){const t=rt,e=new Map(this[t(387)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(604)][t(593)](),...this[t(563)][t(593)]()]);a[t(521)](t(409));for(const e of a){const i=this[t(563)][t(602)](e)||ht(e,!1),s=this[t(604)][t(602)](e)||ht(e,!1);i[t(687)]()||s[t(687)]()?(n[t(641)][e]=lt(i),n[t(610)][e]=lt(s),this[t(686)](n[t(610)][e],s),this[t(686)](n[t(641)][e],i),r[t(641)][e]=this[t(458)](this[t(506)][t(602)](e),[]),r[t(610)][e]=this[t(458)](this[t(674)][t(602)](e)||ht(e,!1),[])):a[t(521)](e)}for(const n of a){const o=r[t(641)][n];for(const n of o){const r=this[t(689)](n),o=n[t(464)][t(488)](r);i[t(521)](o),o>=this[t(553)]&&s[t(642)](o,e[t(602)](o))}}for(const n of a){const a=r[t(641)][n],c=this[t(540)](r[t(610)][n]);let u=0;for(const n of a){const r=this[t(689)](n),a=n[t(464)][t(488)](r);if(!s[t(650)](a)&&!o[t(650)](a))if(i[t(650)](a))u++;else{if(a!=c[u]){const s=e[t(602)](a)||e[t(602)](c[u]);for(;a!=c[u];)i[t(650)](c[u])||(o[t(642)](c[u],s),e[t(642)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(641)][e];for(const e of n){const n=this[t(689)](e),r=e[t(464)][t(488)](n);if(o[t(650)](r)){const e=o[t(602)](r);i[t(650)](r)||i[t(642)](r,{...e}),s[t(642)](r,{...e})}}}for(const e of i[t(593)]())e>=this[t(553)]&&i[t(521)](e);const c=new Map;for(const e of a){let n=r[t(641)][e];for(const e of n)if(e[t(464)].is(t(635),t(599))){const i=this[t(689)](e),n=e[t(464)][t(488)](i);if(s[t(650)](n)){const i=e[t(464)][t(665)][t(665)][t(488)](t(454)),r=c[t(602)](i)||new Set;r[t(500)](s[t(602)](n)[t(648)]),c[t(642)](i,r)}}n=r[t(610)][e];for(const e of n)if(e[t(464)].is(t(635),t(599))){const s=this[t(689)](e),n=e[t(464)][t(488)](s);if(i[t(650)](n)){const s=e[t(464)][t(665)][t(665)][t(488)](t(454)),r=c[t(602)](s)||new Set;r[t(500)](i[t(602)](n)[t(648)]),c[t(642)](s,r)}}for(const e of c[t(593)]())(s[t(650)](e)||i[t(650)](e))&&c[t(521)](e)}for(const e of a){const n=r[t(641)][e];let o=null,a=null;for(const e of n){const n=this[t(689)](e),r=e[t(464)][t(488)](n),u=c[t(602)](r);u&&t(573)==e[t(707)]&&(o=Array[t(598)](u)[0],a=e[t(464)][t(488)](t(481))),o&&(i[t(642)](r,{userId:o}),s[t(642)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(610)][e],a=n[t(641)][e];for(const{userId:e}of this[t(463)][t(664)]())null!==e&&l[t(500)](e);for(const{userId:e}of this[t(405)][t(664)]())null!==e&&l[t(500)](e);this[t(439)](a,r[t(641)][e],s,t(587),l),this[t(439)](o,r[t(610)][e],i,t(703),l),u[e]={insertions:this[t(472)](a),deletions:this[t(472)](o),attachChange:this[t(405)][t(602)](e)||null,attributesBefore:A(this[t(658)][t(602)](e))||{},attributesAfter:A(this[t(541)][t(602)](e))}}return{diffData:u,authorsIds:Array[t(598)](l)}}[rt(480)](t){const e=rt;for(const[,i]of t[e(594)]){const t=i[e(572)][e(626)]()[e(600)]((t=>e(599)==t[e(545)]));for(const i of t)1==i[e(487)]&&i[e(524)](0).is(e(635),e(675))&&i[e(524)](0)[e(516)](e(678),!0)}}[rt(472)](t){const e=rt;this[e(480)](t);const i=this[e(614)][e(493)][e(470)](t,{}),s=Array[e(598)](i[e(546)]())[e(591)]((t=>this[e(461)](t)));return JSON[e(388)](s)}[rt(461)](t){const e=rt;if(t.is(e(542)))return t[e(493)];{const i=this[e(614)][e(393)][e(602)](e(459)),s=t,n=this[e(614)][e(493)][e(494)][e(690)],r={type:i[e(615)](s),name:s[e(545)],attributes:Array[e(598)](s[e(652)]()),children:Array[e(598)](s[e(546)]())[e(591)]((t=>this[e(461)](t)))};if(t.is(e(670))&&e(456)!=t[e(545)]){const i=t[e(622)](n[e(539)],n);r[e(654)][e(517)](i[e(620)])}else if(t.is(e(702))){const i=n[e(539)][e(418)](s[e(545)]);t[e(622)](i,n),r[e(654)][e(517)](i[e(416)])}const o=Array[e(598)](s[e(576)]());o[e(444)]>0&&(r[e(397)]=o);const a=s[e(395)]();return null!==a&&(r[e(402)]=a),r}}[rt(439)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(614)][r(498)];for(let s=0;s<e[r(444)];s++){const n=this[r(689)](e[s]),c=e[s][r(464)][r(488)](n),h=i[r(602)](c),d=s==e[r(444)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(648)]!=o[r(648)])&&(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(648)],d=l(394)+s+":"+h+":"+c++,f=u[l(701)](i,a);t[l(594)][l(642)](d,f),null!==h&&n[l(500)](h)}}[rt(689)](t){const e=rt;switch(t[e(707)]){case e(573):return e(454);case e(663):return e(481);default:return e(411)}}[rt(692)](t,e){const i=rt;t[i(468)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(602)](n[i(451)][i(483)]);t[s]=this[i(389)](n,r)}if(n instanceof Z.Range){const r=e[i(602)](n[i(451)][i(483)]);t[s]=this[i(525)](n,r)}i(451)===s&&(t[i(451)]=e[i(602)](t[i(451)][i(483)]))}}[rt(525)](t,e){const i=rt;return this[i(614)][i(498)][i(701)](this[i(389)](t[i(572)],e),this[i(389)](t[i(431)],e))}[rt(389)](t,e){const i=rt;return this[i(614)][i(498)][i(560)](e,t[i(511)],t[i(536)])}[rt(530)](t){const e=rt,i=this[e(506)][e(602)](t[e(618)][e(451)][e(483)]),s=this[e(389)](t[e(618)],i),n=null===t[e(513)]?null:t[e(513)]||this[e(614)][e(393)][e(602)](e(435)).me.id,r=s[e(665)],o=this[e(705)],a=[];for(const i of t[e(605)])if(i.is(e(635)))a[e(517)](this[e(671)](i));else for(let t=0;t<i[e(406)];t++)a[e(517)](new Z.Element(e(542),{vid:this[e(705)]++}));const c=this[e(705)];for(let t=o;t<c;t++)this[e(387)][e(642)](t,{userId:n});r[e(474)](s[e(543)],a)}[rt(385)](t){const e=rt;(t=this[e(606)](t,this[e(506)]))[e(404)]();const i=null===t[e(513)]?null:t[e(513)]||this[e(614)][e(393)][e(602)](e(435)).me.id,s=t[e(420)](),n=s[e(665)],r=s[e(543)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(524)](e);r.is(a(635),a(542))?s[a(642)](r[a(488)](a(411)),{userId:i}):(s[a(642)](r[a(488)](a(454)),{userId:i}),t(s,r,0,r[a(487)]),s[a(642)](r[a(488)](a(481)),{userId:i}))}}(this[e(387)],n,r,r+t[e(519)])}[rt(437)](t){const e=rt,i=null===(t=this[e(606)](t,this[e(506)]))[e(513)]?null:t[e(513)]||this[e(614)][e(393)][e(602)](e(435)).me.id,s=t[e(661)][e(665)],n=t[e(491)][e(665)],r=s[e(488)](e(481)),o=n[e(488)](e(454));s[e(516)](e(481),n[e(488)](e(481))),n[e(516)](e(481),r),this[e(387)][e(642)](o,{userId:i}),this[e(387)][e(642)](r,{userId:i}),t[e(404)]()}[rt(455)](t){const e=rt,i=null===(t=this[e(606)](t,this[e(506)]))[e(513)]?null:t[e(513)]||this[e(614)][e(393)][e(602)](e(435)).me.id,s=t[e(667)],n=t[e(653)][e(665)];t[e(404)]();const r=n[e(488)](e(481)),o=t[e(414)][e(673)];if(s){const t=o[e(488)](e(481)),s=n[e(488)](e(481));n[e(516)](e(481),t),o[e(516)](e(481),s),this[e(387)][e(642)](n[e(488)](e(481)),{userId:i}),this[e(387)][e(642)](o[e(488)](e(454)),{userId:i})}else{const t=this[e(705)]++,s=this[e(705)]++;n[e(516)](e(481),t),o[e(516)](e(454),s),o[e(516)](e(481),r),this[e(387)][e(642)](t,{userId:i}),this[e(387)][e(642)](s,{userId:i})}}[rt(473)](t){const e=rt;if(!t[e(627)])return;const i=(t=this[e(606)](t,this[e(563)]))[e(442)]?t[e(442)][e(451)]:null,s=t[e(647)]?t[e(647)][e(451)]:null;i&&this[e(597)][e(521)](t[e(545)]),s&&this[e(597)][e(642)](t[e(545)],t[e(647)][e(566)]());const n=null===t[e(513)]?null:t[e(513)]||this[e(614)][e(393)][e(602)](e(435)).me.id,r=t[e(545)];if(!this[e(463)][e(650)](r))return void this[e(463)][e(642)](r,{range:t[e(442)],userId:n});const o=this[e(463)][e(602)](r),a=o[e(505)],c=t[e(647)];null==a&&null==c||a&&c&&a[e(503)](c)?this[e(463)][e(521)](t[e(545)]):o[e(648)]=n}[rt(515)](t,e){const i=rt;this[i(563)][i(650)](t[i(483)])?this[i(563)][i(602)](t[i(483)])[i(484)]=t[i(700)]:(this[i(563)][i(642)](t[i(483)],ht(t[i(483)],!0)),this[i(541)][i(642)](t[i(483)],{}),e&&this[i(506)][i(642)](t[i(483)],ht(t[i(483)],!0)));const s=null===t[i(513)]?null:t[i(513)]||this[i(614)][i(393)][i(602)](i(435)).me.id,n=this[i(405)][i(602)](t[i(483)]);n&&n[i(648)]===s?this[i(405)][i(521)](t[i(483)]):this[i(405)][i(642)](t[i(483)],{userId:s,isAttached:t[i(700)]})}[rt(581)](t){const e=rt,i=this[e(541)][e(602)](t[e(451)][e(483)]);null===t[e(476)]?delete i[t[e(564)]]:i[t[e(564)]]=t[e(476)]}}function lt(t){const e=rt,i=ht(t[e(483)],t[e(687)]());for(const s of t[e(546)]()){const t=s[e(497)](!0);i[e(522)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(483)]=t,s[i(484)]=e,s[i(687)]=()=>s[i(484)],s}function dt(t,e,i){const s=rt,n=s(663)==t[s(707)]?i[s(656)](t[s(464)],s(431)):i[s(617)](t[s(464)]);return i[s(560)](e,n[s(511)],n[s(536)])}function ft(t,e,i){const s=rt,n=s(573)==t[s(707)]?i[s(656)](t[s(464)],0):i[s(538)](t[s(464)]);return i[s(560)](e,n[s(511)],n[s(536)])}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=Mt;function Mt(t,e){const i=Vt();return(Mt=function(t,e){return i[t-=245]})(t,e)}function Vt(){const t=["ck-responsive-form","focusTracker","locale","376439XNgvQY","add","24aRicLf","form","arrowleft","37844bwmXoL","render","1017ifrHxp","revisionName","110799hRcnUc","revisionNameInputValue","220","arrowright","set","24088FEByNV","Name of the revision","_createRevisionNameInput","optional","label","focus","ck-revision-history-save-revision-form","reset","value","30XOsySx","errorText","revisionNameInputView","fieldView","element","arrowdown","17076840pRuRvv","trim","stopPropagation","435324RvCBKe","listenTo","setTemplate","input","2391155zspZaq","extendTemplate","keystrokes","arrowup"];return(Vt=function(){return t})()}!function(t){const e=Mt,i=t();for(;;)try{if(431752===-parseInt(e(274))/1+-parseInt(e(287))/2*(parseInt(e(251))/3)+parseInt(e(247))/4+-parseInt(e(278))/5+-parseInt(e(265))/6*(parseInt(e(285))/7)+-parseInt(e(256))/8*(-parseInt(e(249))/9)+parseInt(e(271))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Et extends pt.View{[At(283)];[At(280)];[At(267)];constructor(e,i){const s=At;super(e),this[s(283)]=new t.FocusTracker,this[s(280)]=new t.KeystrokeHandler,this[s(255)](s(252),""),this[s(267)]=this[s(258)](i),this[s(276)]({tag:s(245),attributes:{class:["ck",s(262),s(282)],tabindex:"-1"},children:[this[s(267)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(248)](){const t=At;super[t(248)](),(0,pt.submitHandler)({view:this}),this[t(283)][t(286)](this[t(267)][t(269)]),this[t(280)][t(275)](this[t(269)]);const e=e=>e[t(273)]();this[t(280)][t(255)](t(254),e),this[t(280)][t(255)](t(246),e),this[t(280)][t(255)](t(281),e),this[t(280)][t(255)](t(270),e)}[At(261)](){const t=At;this[t(267)][t(261)]()}get[At(250)](){const t=At;return this[t(267)][t(268)][t(269)][t(264)][t(272)]()}set[At(250)](t){const e=At;this[e(267)][e(268)][e(269)][e(264)]=t[e(272)]()}[At(263)](){const t=At;this[t(267)][t(268)][t(269)][t(264)]="",this[t(267)][t(266)]=null}[At(258)](t){const e=At,i=new pt.LabeledFieldView(this[e(284)],pt.createLabeledInputText),s=i[e(268)];s[e(279)]({attributes:{maxlength:e(253)}});let n=Q(this[e(284)],e(257));return!t&&(n+=" ("+Q(this[e(284)],e(259))+")"),i[e(260)]=n,s.on(e(277),(()=>{const t=e;this[t(252)]=s[t(269)][t(264)][t(272)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=454]})(t,e)}function Ft(){const t=["bind","delegate","errorText","RevisionHistoryUI","Cancel","componentFactory","show","Dialog","items","isReady","isOfficialPlugin","RevisionTracker","editor","revisionHistory","children","hide","Accept","_createSaveRevisionFormView","349707JCKXcs","focus","menuitem","editing","get","addMany","Save current revision","set","25mnSUFd","requires","plugins","revisionName","render","30iShiIY","The revision name cannot be empty.","execute","role","1210117jeOsmZ","isPremiumPlugin","ck-button-action","_registerMenuComponent","revisionSave","view","menuBar:revisionHistory","config","3404763dAHssp","5205616DGoCvN","525KVudyL","30808393EXKMet","12PBlSkd","38200UMLwqz","showRevisionViewerCallback","panelView","929964mWVOXT","revisionHistory.requireRevisionName","isOpen","init","8qDCBsf","_showDialog","locale","pluginName","buttonView","add","Revision history","saveRevision","isEnabled","_saveRevisionFormView","menu","Open revision history","reset","revisionNameInputView","submit","isReadOnly"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(796248===parseInt(e(454))/1+-parseInt(e(474))/2*(parseInt(e(508))/3)+parseInt(e(463))/4+parseInt(e(516))/5*(parseInt(e(470))/6)+-parseInt(e(464))/7*(parseInt(e(467))/8)+parseInt(e(462))/9*(parseInt(e(521))/10)+parseInt(e(465))/11*(-parseInt(e(466))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends U.Plugin{static get[Dt(477)](){return Dt(493)}static get[Dt(500)](){return!0}static get[Dt(455)](){return!0}static get[Dt(517)](){return[ct]}[Dt(483)];[Dt(473)](){const t=Dt,e=this[t(502)],i=e[t(518)][t(512)](t(501));e.ui[t(495)][t(479)](t(503),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(469)][n(504)],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(490)](n(482)).to(i,n(499),i,n(482),e,n(489),((t,e,i)=>t&&e&&!i)),r[n(478)][n(515)]({icon:mt.IconHistory,label:Q(s,n(480)),tooltip:!0}),u[n(515)]({label:Q(s,n(514)),withText:!0,role:n(510)}),u[n(490)](n(482)).to(i,n(499),i,n(482),e,n(489),((t,e,i)=>t&&e&&!i)),u.on(n(523),(()=>this[n(475)]())),h[n(515)]({label:Q(s,n(485)),withText:!0,role:n(510)}),h[n(490)](n(482)).to(i,n(499),e,n(489),((t,e)=>t&&!e)),h.on(n(523),(()=>{const t=n;e[t(461)][t(512)](t(503))[t(468)](),r[t(472)]=!1,e[t(511)][t(459)][t(509)]()})),c[n(504)][n(479)](u),l[n(504)][n(479)](h),a[n(524)]=n(484),a[n(498)][n(513)]([c,l]),o[n(479)](a),r})),e.ui[t(495)][t(479)](t(460),(()=>this[t(457)]()))}[Dt(457)](){const t=Dt,e=this[t(502)],i=e[t(476)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(478)][t(515)]({icon:mt.IconHistory,label:Q(i,t(480))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(515)]({label:Q(i,t(514))}),o[t(491)](t(523)).to(s),o.on(t(523),(()=>{this[t(475)]()})),r[t(504)][t(479)](o),n[t(498)][t(479)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(515)]({label:Q(i,t(485))}),c[t(491)](t(523)).to(s),c.on(t(523),(()=>{const i=t;e[i(461)][i(512)](i(503))[i(468)]()})),a[t(504)][t(479)](c),n[t(498)][t(479)](a),s[t(469)][t(504)][t(479)](n),s}[Dt(475)](){const t=Dt,e=this[t(502)],i=e[t(476)],s=e[t(518)][t(512)](t(497)),n=e[t(518)][t(512)](t(501));function r(n){const r=t;e[r(461)][r(512)](r(471))&&""===n[r(519)]?n[r(487)][r(492)]=Q(i,r(522)):(e[r(518)][r(512)](ct)[r(481)]({name:n[r(519)]}),s[r(505)]())}this[t(483)]||(this[t(507)](),this[t(483)].on(t(488),(()=>r(this[t(483)])))),this[t(483)][t(486)](),s[t(496)]({id:t(458),title:Q(i,t(514)),isModal:!0,content:this[t(483)],actionButtons:[{label:Q(e[t(476)],t(494)),withText:!0,onExecute:()=>s[t(505)]()},{label:Q(e[t(476)],t(506)),class:t(456),withText:!0,onCreate(i){const s=t;i[s(490)](s(482)).to(n,s(499),n,s(482),e,s(489),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(483)])}]})}[Dt(507)](){const t=Dt,e=this[t(502)],i=e[t(476)];this[t(483)]=new Et(i,e[t(461)][t(512)](t(471))),this[t(483)][t(520)]()}}const jt=Wt;function Pt(){const t=["ck-revision-change","4TbNtpd","_model","isSuggestion","1807260bsthJM","ck-annotation","span","element","Suggested by","789665gkcOgE","changeId","7318VJjJNB","Removed by","768JcHXzy","add","setTemplate","Added by","ck-revision-change__label","data","bindTemplate","name","8yRIJSE","author","31574530ogjoCs","type","ck-revision-change__","1232070xRFJmR","set","1799644gPAGFm","5148918lWJQdM","div","focus"];return(Pt=function(){return t})()}function Wt(t,e){const i=Pt();return(Wt=function(t,e){return i[t-=137]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(960474===-parseInt(e(140))/1+parseInt(e(155))/2*(-parseInt(e(157))/3)+-parseInt(e(145))/4*(parseInt(e(153))/5)+parseInt(e(148))/6+-parseInt(e(138))/7+parseInt(e(165))/8*(parseInt(e(141))/9)+parseInt(e(167))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class zt extends pt.View{[jt(154)];[jt(146)];constructor(t,e){const i=jt;super(t),this[i(146)]=e,this[i(154)]=e.id;const s=this[i(163)],n=Q(t,e[i(162)][i(147)]?i(152):i(158)==e[i(168)]?i(160):i(156));this[i(139)](i(168),e[i(168)]),this[i(159)]({tag:i(142),attributes:{class:[i(149),i(144),s.to(i(168),(t=>i(137)+t))],tabindex:-1},children:[{tag:i(150),children:[{tag:i(150),attributes:{class:[i(161)]},children:[{text:n}]},{text:" "+e[i(166)][i(164)]}]}]})}[jt(143)](){const t=jt;this[t(151)][t(143)]()}}var Ut=Ht;function Ht(t,e){var i=qt();return(Ht=function(t,e){return i[t-=205]})(t,e)}!function(t){for(var e=Ht,i=t();;)try{if(343589===-parseInt(e(218))/1*(-parseInt(e(219))/2)+parseInt(e(220))/3+parseInt(e(213))/4*(-parseInt(e(216))/5)+-parseInt(e(211))/6+-parseInt(e(214))/7*(-parseInt(e(208))/8)+-parseInt(e(221))/9+parseInt(e(215))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends((0,t.ObservableMixin)()){id;[Ut(210)];[Ut(217)];[Ut(207)];[Ut(206)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(210)]=e[i(210)],this[i(217)]=e[i(217)],this[i(207)]=e[i(207)]||{},this[i(206)]=e[i(206)],this[i(205)](i(212),e[i(212)])}[Ut(209)](){var t=Ut;return{id:this.id,authorId:this[t(210)].id,type:this[t(217)],data:this[t(207)],createdAt:this[t(212)]}}}function qt(){var t=["556VsQkuq","16261PKEKGs","2192090cNtCGZ","19255rosKoW","type","81BBnBte","2830OwZulC","1435476RwUMeV","2861163ZbvOhp","set","rootName","data","1432iKrwhy","toJSON","author","188088zHqoUy","createdAt"];return(qt=function(){return t})()}function $t(t,e){const i=Bt();return($t=function(t,e){return i[t-=326]})(t,e)}function Bt(){const t=["867234wVlFeA","208835wpZqsI","2BKQyLP","120547qpMJKJ","_setChanges","1576670cjbYmW","303090uCMzDh","312EiaNdd","56826HruMzb","newRevisionId","12LAPBgQ","oldRevisionId","add","changes","95UZJhLW","676660uIatrk","9GJjGtB"];return(Bt=function(){return t})()}const Jt=$t;!function(t){const e=$t,i=t();for(;;)try{if(550901===-parseInt(e(336))/1+parseInt(e(330))/2*(parseInt(e(328))/3)+parseInt(e(326))/4+parseInt(e(342))/5*(parseInt(e(334))/6)+parseInt(e(331))/7*(-parseInt(e(335))/8)+parseInt(e(327))/9*(-parseInt(e(333))/10)+-parseInt(e(329))/11*(-parseInt(e(338))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt{[Jt(337)];[Jt(339)];[Jt(341)];constructor(e,i){const s=Jt;this[s(337)]=e,this[s(339)]=i,this[s(341)]=new t.Collection}[Jt(332)](t){const e=Jt;for(const i of t)this[e(341)][e(340)](i)}}var Yt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Yt.A,Kt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Xt=te;function Qt(){const t=["isAtStart","getWalker","_setConversion","mousedown","isBlock","_processTape","createRange","suggestion:","numberOfChanges","1698225zFCgGZ","editor","execute","markerNameToElements","compare","_markSuggestions","getAttributes","upcast","isNavigationMode","nextSibling","side","getRoot","get","attributesBefore","vid","bindElementToMarker","elementStart","catch","conversion","view","isPremiumPlugin","ck-editor__editable__overlay","_removeMissingPairs","RevisionHistoryUtils","clear","flat","ck-suggestion-marker-split","isContent","isEnabled","sort","ck-revision-history-root-remove","revisionHistoryAttachChange","RevisionsRepository","enqueueChange","shift","length","test","document","revision:","return","showNextChange","data-change-id","isLimit","_activeViewTarget","string","observeMarkers","getRootNames","4581300hTbQCB","locale","ck-suggestion-marker-merge","getIndex","_findChangeIdFromDomTarget","change:numberOfChanges","isInline","splice","oldRevisionId","detachRoot","hasClass","removeMarker:revision","RevisionViewer","revision-suggestion:","downcastDispatcher","isIncorrect","from","activeView","mouseover","done","removeMarker","change","addMarker:revision","affectsData","domEvent","split","_balloon","previousPosition","isOnRoot","all","addMarker:revision-suggestion:deletion","stop","loadRevisionData","change:activeView","object","code","elementToAttribute","bottom","createPositionBefore","pluginName","mapper","getRevision","startIndex","getAttribute","isAtEnd","markerToData","next","commands","revision-comment:","attachChange","consumable","createAttributeElement","_utils","removeClass","startsWith","maxOffset","filter","createRevision","addMarker:revision-suggestion:insertion","restoreRevisionCallback","_markMarkers","_initInteractions","revisionHistoryLabel","highest","insertions","data","_markInsertions","addHighlight","roots","_data","getItems","2715228CzapGn","softBreak","hasAttribute","then","keys","isRemoveSuggestion","createUIElement","_threeWayMerge","_step","_appendChild","viewItem","remove","1510152stadhS","_makeTape","ck-suggestion-marker-","comment","abs","changeId","modelRange","reconvertMarker","top","start","_setDistance","2747820hTiNFB","attributes","forward","checkAttribute","forceDisabled","backward","push","updatePosition","delete","markerToHighlight","228ukiWwc","getClientRects","map","174lJnjjO","resolve","showPreviousChange","showStack","attributesAfter","addClass","end","item","distance","repository","toViewPosition","addRevision","getDomRoot","first","index","revision","mapViewToDom","domConverter","activeChange","addRoot","forEach","wrap","span","setAttribute","_revisions","isAddSuggestion","revisionHistory","diff","deletions","nodeAfter","_update","requires","pairId","change:isReady","has","deletion","schema","ck-suggestion-preview-marker","enableReadOnlyMode","includes","refresh","isRemoved","target","isAttached","WidgetToolbarRepository","dataToMarker","dataDowncast","unshift","ck-revision-history-root--active","getRevisionDocumentData","getLaterVisibleRevision","_makeModelFromViewString","nextPosition","createRangeIn","diffData","vid_start","-new","rootName","consume","add","selection","vid_end","revision-viewer","_getViewForChange","currentChangeNumber","attribute:vid","merge","POSITIVE_INFINITY","plugins","markersStart","restoreRevision","suggestion","type","toViewElement","change:activeChange","low","isObject","isBefore","isReady","_makeModelFromTape","isAdded","range","isAfter","createPositionFromPath","high","destroy","_joinTapes","49357nmDQKK","userId","adapter","insert","editingDowncast","parent","getChild","markers","_sortAndFilterDiffChanges","config","writer","ck-suggestion-preview-marker-","removeAttribute","6311lhIguo","markerRange","changes","for","isSuggestion","error","revision-suggestion","_changeView","authors","_cleanMarkers","ck-suggestion-marker--active","_markMismatchedRemovedTags","ck-revision-history-root-add","removeMarker:revision-suggestion","endIndex","left","_changeIdToChange","addRevisionData","text","bind","toViewRange","elementEnd","element:pre","_fixObsoleteTags","unbindElementFromMarkerName","markerName","ck-suggestion-marker","offsetSize","model","listenTo","isOfficialPlugin","_getDiff","_removeUnsupportedChanges","set","name","findIndex","ck-revision-history-root-","change:isEnabled","editing","right","pop","find","indexOf","newRevisionId","_setChanges","level","isEqual","uiElement","concat","markersEnd","_cleanUp","isCollapsed","init","getCustomProperty","values","element","_getChangeFromId","getRevisionRootsAttributes","18TiEiKj","insertion","_refreshStartEndIndex","slice","_getRevisionsRange"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=466]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(406509===-parseInt(e(688))/1*(-parseInt(e(585))/2)+-parseInt(e(760))/3+parseInt(e(552))/4+-parseInt(e(575))/5+-parseInt(e(588))/6*(-parseInt(e(675))/7)+parseInt(e(564))/8*(parseInt(e(746))/9)+-parseInt(e(481))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends U.Plugin{[Xt(597)];[Xt(677)]=null;[Xt(533)];[Xt(477)];[Xt(695)];[Xt(704)];[Xt(507)];static get[Xt(520)](){return Xt(493)}static get[Xt(718)](){return!0}static get[Xt(780)](){return!0}static get[Xt(619)](){return[H.Users,pt.ContextualBalloon,J,X]}constructor(t){const e=Xt;super(t),this[e(597)]=this[e(761)][e(656)][e(772)](e(466)),this[e(533)]=this[e(761)][e(656)][e(772)](e(783)),this[e(721)](e(606),null),this[e(721)](e(498),null),this[e(477)]=null,this[e(721)](e(615),null),this[e(721)](e(666),!1),this[e(721)](e(788),!0),this.on(e(725),((t,i,s)=>{const n=e;this[n(606)]=null,this[n(498)]=null,this[n(761)][n(726)][n(779)][n(502)]((t=>{const e=n;for(const i of this[e(761)][e(726)][e(779)][e(471)][e(549)])s?t[e(534)](e(781),i):t[e(593)](e(781),i)}))})),this[e(707)](e(768)).to(this,e(606),(t=>null!==t)),this[e(707)](e(652)).to(this,e(666),this,e(615),this,e(606),((t,i,s)=>t&&s?i[e(690)][e(484)](s):0)),this[e(707)](e(759)).to(this,e(666),this,e(615),((t,i)=>t?i[e(690)][e(469)]:0)),this[e(695)]=null,this[e(704)]=new Map,this[e(507)]=this[e(761)][e(656)][e(772)](pt.ContextualBalloon)}[Xt(740)](){const t=Xt,e=this[t(761)],i=new ne(e,{direction:t(580)}),s=new ne(e,{direction:t(577)});e[t(528)][t(647)](t(590),i),e[t(528)][t(647)](t(474),s),e[t(528)][t(647)](t(658),new se(e)),this.on(t(486),(()=>{const e=t;i[e(628)](),s[e(628)]()})),this[t(753)](),this[t(542)](),e[t(626)](t(650)),e[t(656)][t(622)](t(632))&&e[t(656)][t(772)](t(632))[t(579)](t(650))}async[Xt(637)](t){const e=Xt;return await this[e(533)][e(513)](t,this[e(677)]),this[e(533)][e(637)](t)}async[Xt(745)](t){const e=Xt;return await this[e(533)][e(513)](t,this[e(677)]),this[e(533)][e(745)](t)}async[Xt(764)](t,e,i=!1){const s=Xt;if(!this[s(788)])return;const n=this[s(615)],r=this[s(597)],o=s(478)==typeof t?r[s(522)](t):t,a=s(478)==typeof e?r[s(522)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(615)]&&this[s(615)][s(731)]===c&&this[s(615)][s(489)]===u)return Promise[s(589)]();this[s(666)]=!1,this[s(498)]=null,this[s(606)]=null,this[s(615)]=new Gt(c,u);const l=this[s(750)](o,a,!0)[s(587)]((t=>this[s(533)][s(513)](t,this[s(677)])));return l[s(581)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(510)](l)[s(555)]((()=>{const t=s;if(!this[t(788)])return;this[t(738)]();const e=this[t(719)](c,u);for(const i of e[t(690)])this[t(704)][t(721)](i.id,i);this[t(761)][t(716)][t(467)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(761)][s(716)][s(471)][s(480)]())i[s(490)](t);for(const t of Object[s(556)](e[s(716)])){const n=i[s(607)](t);for(const r of Object[s(556)](e[s(576)][t]))i[s(611)](r,e[s(576)][t][r],n);i[s(678)](e[s(716)][t],n,0)}})),this[t(615)][t(732)](this[t(683)](e[t(690)])),this[t(666)]=!0}))[s(777)]((t=>{const e=s;console[e(693)](t),this[e(738)](),n&&(this[e(615)]=n),this[e(666)]=!0}))}[Xt(705)](t,e){const i=Xt,s=this[i(597)][i(538)](t);return s.on(i(618),((t,i,n)=>e(i,n,s))),this[i(597)][i(599)](s),s}[Xt(738)](){const t=Xt;this[t(606)]=null,this[t(697)](),this[t(695)]&&this[t(695)][t(673)](),this[t(695)]=null,this[t(704)][t(784)](),this[t(761)][t(716)][t(467)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(761)][i(716)][i(471)][i(480)]())e[i(490)](t)}))}[Xt(683)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(761)][e(716)][e(471)][e(480)]()){const n=this[e(761)][e(726)][e(779)][e(600)](t);if(!n)continue;const r=n[e(586)]()[e(595)](0);r&&(i[e(581)](t),s[e(721)](t,r))}return i[e(789)](((t,i)=>{const n=e,r=s[n(772)](t),o=s[n(772)](i);return r.y-o.y||r.x-o.x})),(t=t[e(537)]((t=>i[e(627)](t[e(645)]))))[e(789)](((t,s)=>i[e(730)](t[e(645)])-i[e(730)](s[e(645)]))),t}[Xt(565)](t){const e=Xt,i=Array[e(497)](t[e(682)])[e(537)]((([t,i])=>t[e(535)](e(472))&&!i[e(739)])),s=Array[e(497)](this[e(761)][e(716)][e(641)](t)[e(752)]({singleCharacters:!0}));if(0!=i[e(469)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(506)](":");if(n[e(594)][e(734)](t[e(640)])&&i[e(468)](),(t[e(508)][e(734)](n[e(573)])||t[e(508)][e(670)](n[e(573)]))&&(e(747)==r?t[e(668)]={userId:o}:e(623)==r&&(t[e(629)]={userId:o})),0==i[e(469)])break}return s}[Xt(748)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(469)];s++)e(706)===t[s][e(660)]?(t[s][e(595)][e(523)]=s,t[s][e(595)][e(702)]=s):(e(776)===t[s][e(660)]?t[s][e(595)][e(523)]=s:e(709)===t[s][e(660)]&&(t[s][e(595)][e(702)]=s),i[e(721)](t[s].id,s));for(const s of i[e(742)]())e(776)===t[s][e(660)]?t[s][e(595)][e(702)]=i[e(772)](t[s][e(620)]):e(709)===t[s][e(660)]&&(t[s][e(595)][e(523)]=i[e(772)](t[s][e(620)]))}[Xt(756)](t){const e=Xt;for(let i=0;i<t[e(469)];i++){if(e(776)===t[i][e(660)])t[i][e(595)][e(523)]=i;else if(e(709)===t[i][e(660)]){t[i][e(595)][e(702)]=i;const s=t[i][e(595)][e(523)];t[s][e(620)]=t[i].id,t[i][e(620)]=t[s].id}else t[i][e(595)][e(523)]=i,t[i][e(595)][e(702)]=i,t[i][e(620)]=null;t[i][e(657)]||(t[i][e(657)]=[],t[i][e(737)]=[])}}[Xt(547)](t,e){const i=Xt,s=t[i(537)]((t=>!t[i(668)]));for(let t=0;t<e[i(469)];t++)e[t][i(668)]&&(s[t][i(668)]=e[t][i(668)])}[Xt(719)](t,e=null){const i=Xt,s=this[i(597)][i(522)](t),n=e?this[i(597)][i(522)](e):null,r=this[i(750)](s,n),o=r[r[i(469)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(469)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(556)](e[i(642)]))if(e[i(642)][t][i(530)]){const s=e[i(642)][t][i(530)];s[i(631)]?(u[i(647)](t),l[i(622)](t)&&l[i(772)](t)[i(676)]==s[i(676)]?l[i(583)](t):l[i(721)](t,s)):l[i(622)](t)?(u[i(583)](t),l[i(583)](t)):(u[i(647)](t),l[i(721)](t,s))}else u[i(647)](t)}for(const t of u){const e=l[i(622)](t)&&!l[i(772)](t)[i(631)];let s=e?r[i(469)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(642)][t]){const s=e?o[i(642)][t][i(773)]:o[i(642)][t][i(592)];c[i(576)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(716)]={};for(const e of t[i(696)])a[i(721)](e.id,e);for(const e of u){const s=t[i(642)][e]?t[i(642)][e][i(545)]:"[]",n=t[i(642)][e]?t[i(642)][e][i(616)]:"[]";t[i(716)][e]={insertions:this[i(533)][i(639)](s),deletions:this[i(533)][i(639)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(497)](s[i(716)][t][i(545)][i(682)])[i(537)]((([t])=>!t[i(535)](i(472)))));let h=0;for(const o of r){const r=this[i(565)](o[i(716)][t][i(545)]);o==s?(e=r,n=e[i(469)],e[i(608)]((t=>{t.id=h++})),this[i(756)](e)):this[i(547)](e,r);const a=e[i(537)]((t=>!t[i(668)]))[i(587)]((t=>t.id));let c=0;const l=this[i(565)](o[i(716)][t][i(616)]);l[i(608)]((t=>{t[i(629)]?t.id=n++:t.id=a[c++]})),this[i(756)](l),this[i(574)](e,i(668)),this[i(574)](l,i(629)),o==s&&this[i(541)](e,u),e=this[i(674)](e,l),this[i(748)](e),this[i(574)](e,i(629))}e=e[i(537)]((t=>!(t[i(668)]&&t[i(629)])));const d=new Map(o[i(716)][t][i(616)][i(682)]),f=new Set(u[i(556)]());for(const t of d[i(556)]())f[i(583)](t);this[i(765)](e,f),this[i(711)](e),e=this[i(782)](e),e=this[i(699)](e),e=this[i(720)](e);const{root:m,changes:p}=this[i(667)](e,a,t);c[i(716)][t]=m;const v=l[i(772)](t);if(v){const e=a[i(772)](v[i(676)]),s=new Zt({author:e,type:v[i(631)]?i(647):i(563),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(635)](s),c[i(576)][t][i(791)]=s.id}c[i(690)]=c[i(690)][i(736)](p)}return c}[Xt(541)](t,e){const i=Xt;for(let s=0;s<t[i(469)];s++)for(const[n,r]of e)!r[i(739)]&&r[i(573)][i(734)](t[s][i(508)])&&t[s][i(657)][i(581)](n),r[i(594)][i(734)](t[s][i(640)])&&t[s][i(737)][i(581)](n)}[Xt(674)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(469)]||r<e[i(469)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(581)](o);else if(a[i(629)]&&o[i(668)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(559)](t,n,e,r);s=s[i(736)](o),n=a,r=c}else a[i(629)]?(r++,s[i(581)](a)):(n++,s[i(581)](o))}return s}[Xt(765)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(469)];o++){for(let r=0;r<t[o][i(657)][i(469)];r++){const a=t[o][i(657)][r];if(!e[i(622)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(694)!=c||i(747)!=u&&i(623)!=u||(s[i(635)]({type:u,name:a,userId:l}),t[o][i(657)][i(488)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(737)][i(469)];r++){const a=t[o][i(737)][r];if(!e[i(622)](a))continue;const{group:c,type:u}=n(a);if(i(694)!=c||i(747)!=u&&i(623)!=u)continue;t[o][i(737)][i(488)](r,1),r--;const l=s[i(723)]((t=>t[i(722)]==a));l>-1&&s[i(488)](l,1)}}function n(t){const e=i,s=t[e(506)](":");return{group:s[0],type:s[1],subType:s[e(469)]>=5?s[2]:null,id:s[e(469)]<5?s[2]:s[3],authorId:s[e(469)]<5?s[3]:s[4],markerCount:6==s[e(469)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(469)];i++){if(t[e(668)]&&e(747)==s[i][e(660)])return t[e(613)]=s[i],void delete t[e(668)];if(!t[e(668)]&&!t[e(629)]&&e(623)==s[i][e(660)])return void(t[e(557)]=s[i])}}}[Xt(574)](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(721)](o.id,s);for(let s=0;s<t[i(469)];s++){if(i(629)==e&&t[s][i(668)]||i(668)==e&&t[s][i(629)])continue;if(i(706)==t[s][i(660)]){t[s][i(596)]=0;continue}const n=r[i(772)](t[s][i(620)]),o=r[i(772)](t[s].id);t[s][i(596)]=n-o}}[Xt(750)](t,e,i=!1){const s=Xt,n=[];let r=this[s(597)][s(484)](t),o=this[s(597)][s(484)](e);for(-1==o&&(o=this[s(597)][s(612)][s(469)],i=!1);r<o;)n[s(581)](this[s(597)][s(522)](r)),r++;return i&&n[s(581)](this[s(597)][s(522)](r)),n}[Xt(559)](t,e,i,s){const n=Xt,r=this[n(761)][n(716)][n(624)];let o=e;for(;t[o]&&t[o][n(668)];)o++;let a=s;for(;i[a]&&i[a][n(629)];)a++;u(t,e,o),u(i,s,a);const c=i[n(749)](s,a)[n(736)](t[n(749)](e,o));return c[n(789)](((t,e)=>t[n(770)]!=e[n(770)]?t[n(770)]-e[n(770)]:t[n(733)]!=e[n(733)]?t[n(733)]-e[n(733)]:t[n(596)]!=e[n(596)]?e[n(596)]-t[n(596)]:!!t[n(668)]!=!!e[n(668)]?-1==t[n(770)]||0==t[n(770)]?t[n(668)]?-1:1:t[n(668)]?1:-1:t[n(602)]-e[n(602)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(655)],c=!0;for(let n=e;n<i;n++)if(r[s(487)](t[n][s(595)])||(c=!1),t[n][s(595)][s(523)]<e&&(o=n),t[n][s(595)][s(702)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(770)]=n<=o?-1:n<a?0:1,t[n][s(602)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(596)]?t[i][s(733)]=u:(u++,t[i][s(733)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(770)]&&(t[n][s(733)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(596)]?t[e][s(733)]=u:(u--,t[e][s(733)]=u,u--)}}[Xt(711)](t){const e=Xt,i=new Map,s=this[e(761)][e(716)][e(624)];for(let n=1;n<t[e(469)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(706)==c[e(660)])continue;if(c[e(660)]!=u[e(660)])continue;if(!s[e(755)](u[e(595)])||s[e(476)](u[e(595)]))continue;if(!s[e(755)](c[e(595)])||s[e(476)](c[e(595)]))continue;if((t[n][e(668)]||t[n][e(613)])&&t[n-1][e(629)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(629)]||!t[n-1][e(668)]&&!t[n-1][e(613)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(733)]==o[e(733)],h=Math[e(568)](r[e(733)])<Math[e(568)](o[e(733)])&&0==o[e(596)];(l||h)&&(i[e(721)](o.id,r.id),t[e(488)](a,1),n--,r[e(668)]=!1)}for(let s=0;s<t[e(469)];s++)i[e(622)](t[s][e(620)])&&(t[s][e(620)]=i[e(772)](t[s][e(620)]))}[Xt(782)](t){const e=Xt,i=new Set(t[e(587)]((t=>t.id)));for(let s=0;s<t[e(469)];s++)i[e(622)](t[s][e(620)])||0==t[s][e(596)]||(t[s][e(496)]=!0);return t[e(537)]((t=>!t[e(496)]))}[Xt(699)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(469)];s++){if(i[e(622)](t[s].id)&&t[s][e(629)]&&(t[s][e(496)]=!0),t[s][e(496)])continue;if(0==t[s][e(596)])continue;if(e(776)!=t[s][e(660)])continue;if(null==t[s][e(620)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(620)];)e(776)==t[n][e(660)]?r++:e(709)==t[n][e(660)]&&r--,n++;if(0!=r)if(t[s][e(629)])t[s][e(496)]=!0;else for(;n!=s;)t[n][e(629)]&&0!=t[n][e(596)]&&(t[n][e(496)]=!0,i[e(647)](t[n][e(620)])),n--}return t[e(537)]((t=>!t[e(496)]))}[Xt(720)](t){const e=Xt,i=this[e(761)][e(716)][e(624)];for(let s=0;s<t[e(469)];s++){if(!(t[s][e(668)]||t[s][e(613)]||t[s][e(629)]||t[s][e(557)]))continue;if(0==t[s][e(596)])continue;const n=t[s][e(595)];i[e(755)](n)||i[e(476)](n)||(t[s][e(668)]&&delete t[s][e(668)],t[s][e(613)]&&delete t[s][e(613)],t[s][e(557)]&&delete t[s][e(557)],t[s][e(629)]&&(t[s][e(496)]=!0))}return t[e(537)]((t=>!t[e(496)]))}[Xt(667)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(761)][s(716)],c=a[s(624)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(469)];e++)if(s(776)===t[e][s(660)]){t[e][s(508)]=a[s(671)](n,f);const i=new Z.Element(t[e][s(595)][s(722)],t[e][s(595)][s(766)]());u[0][s(561)](i),f[s(581)](0),u[s(635)](i),t[e][s(640)]=a[s(671)](n,f)}else s(709)===t[e][s(660)]?(u[s(468)](),t[e][s(508)]=a[s(671)](n,f),f[s(728)](),f[f[s(469)]-1]++,t[e][s(640)]=a[s(671)](n,f)):(t[e][s(508)]=a[s(671)](n,f),d?d[s(550)]+=t[e][s(595)][s(546)]:d=new Z.Text(t[e][s(595)][s(546)],t[e][s(595)][s(766)]()),t[e+1]&&s(706)===t[e+1][s(660)]&&v(d,t[e+1][s(595)])||(u[0][s(561)](d),d=null),f[f[s(469)]-1]+=t[e][s(595)][s(715)],t[e][s(640)]=a[s(671)](n,f));for(let e=0;e<t[s(469)];e++){const i=t[e][s(508)],n=t[e][s(640)];for(const n of t[e][s(657)])o[s(721)](n,{start:i,end:null});m(s(557),e,i,n),m(s(613),e,i,n),m(s(629),e,i,n),m(s(668),e,i,n);for(const i of t[e][s(737)]){const t=o[s(772)](i);t?t[s(594)]=n:o[s(721)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(761)][s(716)][s(757)](e[s(573)],e[s(594)]);n[s(682)][s(721)](t,i)}return r[s(789)](((t,e)=>{const i=s,r=n[i(682)][i(772)](i(472)+t.id),o=n[i(682)][i(772)](i(472)+e.id);return r[i(573)][i(665)](o[i(573)])?-1:r[i(573)][i(670)](o[i(573)])?1:r[i(594)][i(665)](o[i(594)])?-1:r[i(594)][i(670)](o[i(594)])?1:i(647)===t[i(660)]?-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(676)]:null,d=i===t[o(469)]-1,f=h[e][0],m=c[o(664)](t[i][o(595)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(594)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(676)]!==u&&(l[e][o(594)]=n,f&&f[o(676)]===l[e][o(676)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(776)!==t[i][o(660)]||f&&f[o(676)]===u||h[e][o(635)]({userId:u,object:t[i][o(595)],change:l[e]}),o(709)===t[i][o(660)]&&f&&f[o(515)]===t[i][o(595)]&&(h[e][o(468)](),l[e]=f[o(502)])),l[e]&&d&&(l[e][o(594)]=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(595)],f=a[h(624)][h(755)](d)&&!a[h(624)][h(476)](d),m=t[h(617)]==o[h(680)]&&o[h(751)];if(f&&m)return;const p=a[h(757)](t,o),v=e[h(772)](u),g=new Zt({author:v,type:h(668)==l||h(613)==l?h(647):h(563),data:{isSuggestion:h(613)==l||h(557)==l},createdAt:new Date,rootName:i});r[h(581)](g),n[h(682)][h(721)](h(472)+g.id,p)}function v(t,e){const i=s,n=t[i(766)](),r=e[i(766)]();for(const t of n){if(t[1]!==e[i(524)](t[0]))return!1;r[i(527)]()}return r[i(527)]()[i(500)]}}[Xt(753)](){const t=Xt;this[t(761)][t(778)][t(691)](t(767))[t(633)]({view:t(603)}),this[t(761)][t(778)][t(691)](t(679))[t(584)]({model:t(603),view:e=>{const i=t,s=e[i(713)][i(506)](":")[1],n=this[i(744)](s);if(!n)return null;const r=i(647)==n[i(660)]?i(747):i(623),o=[i(714),i(566)+r];return n[i(546)][i(692)]&&o[i(581)](i(566)+r+i(644)),this[i(606)]==n&&o[i(581)](i(698)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(761)][t(778)][t(691)](t(767))[t(647)]((e=>{const i=t;e.on(i(710),((t,e,s)=>{const n=i,r=e[n(562)][n(681)](0);if(!r||!r.is(n(743),n(516)))return;if(!s[n(531)][n(646)](r,{attributes:[n(643),n(649)]}))return;const o=e[n(570)][n(573)][n(617)];s[n(685)][n(611)](n(643),r[n(524)](n(643)),o),s[n(685)][n(611)](n(649),r[n(524)](n(649)),o)}),{priority:i(663)})})),this[t(761)][t(778)][t(691)](t(767))[t(647)]((e=>{const i=t;e.on(i(743),((t,e,s)=>{const n=i;if(!s[n(531)][n(646)](e[n(562)],{attributes:[n(643),n(649)]}))return;if(e[n(570)][n(739)])return;const r=e[n(570)][n(573)][n(617)];r[n(554)](n(643))||r[n(554)](n(774))||(s[n(685)][n(611)](n(643),e[n(562)][n(524)](n(643)),r),s[n(685)][n(611)](n(649),e[n(562)][n(524)](n(649)),r))}),{priority:i(663)})})),this[t(761)][t(778)][t(691)](t(767))[t(517)]({view:{name:t(610),attributes:{vid:!0}},model:{key:t(774),value:e=>e[t(524)](t(774))}}),this[t(761)][t(716)][t(624)].on(t(578),((e,[,i])=>{const s=t;[s(643),s(649),s(774)][s(627)](i)&&(e[s(473)]=!0,e[s(512)]())}),{priority:t(544)}),this[t(761)][t(778)][t(691)](t(634))[t(647)]((e=>{const i=t;e.on(i(653),((t,e,s)=>{const n=i;if(" "!=e[n(595)][n(546)]||e[n(595)][n(680)][n(536)]>1)return;if(!s[n(531)][n(646)](e[n(595)],t[n(722)]))return;const r=s[n(685)],o=s[n(521)][n(708)](e[n(669)]);r[n(609)](o,r[n(532)](n(610)))}))})),this[t(761)][t(778)][t(691)](t(634))[t(526)]({model:t(603)}),this[t(761)][t(726)][t(495)].on(t(503),function(e){const i=t,s=e[i(656)][i(772)](i(493));return(t,n,r)=>{const o=i,a=n[o(713)][o(506)](":")[1],c=s[o(744)](a);if(!c)return null;const u=o(647)==c[o(660)]?o(506):o(654);if(!r[o(531)][o(470)](n[o(689)],t[o(722)]))return;const l=n[o(689)][o(752)](),h=n[o(689)][o(573)],d=e[o(716)][o(624)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(595)];p=p||d[o(787)](e);const i=r[o(521)][o(661)](e);if(i&&i[o(741)](o(548)))return;o(709)==t[o(660)]&&d[o(755)](e)&&!d[o(476)](e)&&(e[o(769)]||h[o(525)]?f&&f[o(680)]==e||(f=e,g(t[o(508)]),v=!0):m=m||t[o(508)])}function g(t){const e=o,i=r[e(685)][e(558)](e(610),{class:e(566)+u}),a=r[e(521)][e(598)](t);c[e(546)][e(692)]&&r[e(685)][e(593)](e(566)+u+e(644),i),s[e(606)]==c&&r[e(685)][e(593)](e(698),i),r[e(685)][e(678)](a,i),r[e(521)][e(775)](i,n[e(713)])}p||v||!m||g(m)}}(this[t(761)]),{priority:t(672)}),this[t(761)][t(726)][t(495)].on(t(492),((e,i,s)=>{const n=t,r=s[n(521)][n(763)](i[n(713)]);if(r)for(const t of r)(t[n(491)](n(786))||t[n(491)](n(483)))&&(s[n(521)][n(712)](t,i[n(713)]),s[n(685)][n(563)](t))}),{priority:t(672)}),this[t(761)][t(726)][t(495)].on(t(503),((e,i,s)=>{const n=t,r=i[n(713)][n(506)](":")[1],o=this[n(744)](r);if(!o)return null;const a=n(647)==o[n(660)]?n(506):n(654);if(s[n(531)][n(470)](i[n(689)],e[n(722)]))for(const t of i[n(689)][n(551)]()){if(!t.is(n(743),n(553)))continue;const e=s[n(685)][n(558)](n(610),{class:n(566)+a}),r=s[n(521)][n(598)](this[n(761)][n(716)][n(519)](t));o[n(546)][n(692)]&&s[n(685)][n(593)](n(566)+a+n(644),e),this[n(606)]==o&&s[n(685)][n(593)](n(698),e),s[n(685)][n(678)](r,e),s[n(521)][n(775)](e,i[n(713)])}}),{priority:t(672)}),this[t(761)][t(716)][t(471)].on(t(502),(()=>{const e=t;this[e(761)][e(726)][e(779)][e(502)]((t=>{const i=e;for(const e of this[i(761)][i(716)][i(471)][i(480)]()){const s=this[i(761)][i(716)][i(471)][i(771)](e),n=this[i(761)][i(726)][i(779)][i(471)][i(771)](e);if(n){const e=s[i(524)](i(791));if(t[i(687)](i(475),n),t[i(534)](i(700),n),t[i(534)](i(790),n),t[i(534)](i(636),n),e){const s=this[i(744)](e);if(!s)return null;t[i(611)](i(475),e,n),t[i(593)](i(724)+s[i(660)],n),this[i(606)]==s&&t[i(593)](i(636),n)}}}}))})),this[t(761)][t(778)][t(691)](t(767))[t(633)]({view:t(567),model:e=>t(529)+e,converterPriority:t(544)}),this[t(761)][t(778)][t(691)](t(767))[t(633)]({view:t(659),model:e=>t(494)+e,converterPriority:t(544)}),this[t(761)][t(778)][t(691)](t(634))[t(526)]({model:t(694),view:e=>({name:t(758)+e,group:t(694)}),converterPriority:t(544)}),this[t(761)][t(778)][t(691)](t(679))[t(584)]({model:t(694),view:e=>{const i=t,s=e[i(713)][i(506)](":")[1];return i(747)!=s&&i(623)!=s?null:{classes:[i(625),i(686)+s]}}}),this[t(761)][t(726)][t(495)].on(t(511),ie(this[t(761)],t(654)),{priority:t(672)}),this[t(761)][t(726)][t(495)].on(t(539),ie(this[t(761)],t(506)),{priority:t(672)}),this[t(761)][t(726)][t(495)].on(t(701),((e,i,s)=>{const n=t,r=s[n(521)][n(763)](i[n(713)]);if(r)for(const t of r)t.is(n(735))&&(s[n(521)][n(712)](t,i[n(713)]),s[n(685)][n(563)](t))}),{priority:t(672)})}[Xt(744)](t){const e=Xt;return this[e(704)][e(772)](t)}[Xt(651)](t){const e=Xt;return this[e(695)]&&this[e(695)][e(673)](),this[e(695)]=new zt(this[e(761)][e(482)],t),this[e(695)]}[Xt(542)](){const t=Xt;this[t(761)][t(716)][t(471)][t(648)][t(479)](t(603)),this.on(t(514),((e,i,s,n)=>{const r=t;n&&this[r(507)][r(563)](n),s&&(this[r(507)][r(647)]({view:s,stackId:r(543),position:{target:()=>{const t=r,e=this[t(761)][t(726)],i=this[t(744)](s[t(569)]);let n;if(i[t(546)][t(509)]){const s=e[t(779)][t(600)](i[t(645)]);n=Array[t(497)](s[t(586)]())}else{const i=this[t(761)][t(716)][t(682)][t(772)](t(472)+s[t(569)]);n=Array[t(497)](e[t(521)][t(763)](i[t(722)]))[t(587)]((i=>e[t(779)][t(605)][t(604)](i)))[t(587)]((e=>Array[t(497)](e[t(586)]())))[t(785)]()}return this[t(477)]&&n[t(729)]((e=>e[t(572)]-3<=this[t(477)].y&&e[t(518)]+3>=this[t(477)].y&&e[t(703)]-3<=this[t(477)].x&&e[t(727)]+3>=this[t(477)].x))||n[0]}}}),this[r(507)][r(591)](r(543)))})),this.on(t(662),((e,i,s,n)=>{const r=t;this[r(498)]=s?this[r(651)](s):null,this[r(761)][r(716)][r(502)]((()=>{const t=r,e=this[t(761)][t(726)];n&&(n[t(546)][t(509)]?e[t(779)][t(502)]((i=>{const s=t;i[s(534)](s(636),e[s(779)][s(471)][s(771)](n[s(645)]))})):e[t(571)](t(472)+n.id)),s&&(s[t(546)][t(509)]?e[t(779)][t(502)]((i=>{const n=t;i[n(593)](n(636),e[n(779)][n(471)][n(771)](s[n(645)]))})):e[t(571)](t(472)+s.id))}))})),this[t(717)](this[t(761)][t(726)][t(779)][t(471)],t(499),((e,i)=>{const s=t;if(this[s(606)])return;const n=this[s(485)](i[s(630)]),r=this[s(704)][s(772)](n);r?(this[s(477)]={x:i[s(505)].x,y:i[s(505)].y},this[s(498)]=this[s(651)](r)):(this[s(477)]=null,this[s(498)]=null)})),this[t(717)](this[t(761)][t(726)][t(779)][t(471)],t(754),((e,i)=>{const s=t,n=this[s(485)](i[s(630)]),r=this[s(704)][s(772)](n);r?(this[s(477)]={x:i[s(505)].x,y:i[s(505)].y},r===this[s(606)]?this[s(507)][s(582)]():this[s(606)]=r):(this[s(477)]=null,this[s(606)]=null)}))}[Xt(485)](t){const e=Xt;do{const i=t[e(524)](e(475));if(i)return i;t=t[e(680)]}while(t);return null}[Xt(697)](){const t=Xt;this[t(761)][t(716)][t(502)]((e=>{const i=t;for(const t of this[i(761)][i(716)][i(682)])e[i(501)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(531)][r(470)](s[r(689)],i[r(722)]))return;const o=s[r(689)][r(752)](),a=s[r(689)][r(573)],c=t[r(716)][r(624)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(595)];h=h||c[r(787)](e);const i=n[r(521)][r(661)](e);if(i&&i[r(741)](r(548)))return;r(709)==t[r(660)]&&c[r(755)](e)&&!c[r(476)](e)&&(e[r(769)]||a[r(525)]?u&&u[r(680)]==e||(u=e,f(t[r(508)]),d=!0):l=l||t[r(508)])}function f(t){const i=r,o=n[i(521)][i(598)](t),a=n[i(685)][i(558)](i(610),{class:i(686)+e});n[i(685)][i(678)](o,a),n[i(521)][i(775)](a,s[i(713)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(656)][e(772)](ee);this[e(504)]=!1,this[e(717)](i,e(621),(()=>this[e(628)]())),this[e(717)](i,e(725),(()=>this[e(628)]()))}[Xt(762)](){const t=Xt,e=this[t(761)],i=e[t(656)][t(772)](ee),s=i[t(666)]?i[t(615)][t(731)]:null;e[t(684)][t(772)](t(614))[t(540)](s)}[Xt(628)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(761)][t(656)][t(772)](ee),r=n&&s[t(638)](n[t(731)]);this[t(788)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(560)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(656)][i(772)](ee);this[i(504)]=!1,this[i(560)]=i(577)===e?1:-1,this[i(717)](s,i(621),(()=>this[i(628)]())),this[i(717)](s,i(725),(()=>this[i(628)]())),this[i(717)](s,i(662),(()=>this[i(628)]()))}[Xt(762)](){const e=Xt,i=this[e(761)],s=i[e(656)][e(772)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(606)]=n?s[e(615)][e(690)][e(772)](r+this[e(560)]):s[e(615)][e(690)][e(601)],s[e(606)][e(546)][e(509)])o=i[e(726)][e(779)][e(600)](s[e(606)][e(645)]);else{const t=i[e(716)][e(682)][e(772)](e(472)+s[e(606)].id);o=(0,H.getMarkerDomElement)(i[e(726)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(628)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(761)][t(656)][t(772)](ee);this[t(788)]=!!(r&&n&&s)&&(!e||(1===this[t(560)]?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-=450]})(t,e)}function ce(){const t=["1221588HlFaNQ","isForwardNavigationEnabled","4HHUzAk","ck-revision-history-ui__changes-navigation__wrapper","backward","ck-hidden","_isStatusLabelVisible","div","EDIT_X_OF_Y_REVISIONS","3082646dasaVy","5580112psgkTI","Show previous change","bind","3929255NrIViR","No changes","execute","bindTemplate","ck-revision-history-ui__changes-navigation__label","isReady","setTemplate","195736GRGLwQ","ck-revision-history-ui","forward","4826598tfvtCn","1453899qYwFQC","X_OF_Y_CHANGES","Show next change","fire","span","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","isEnabled","Total","set","numberOfChanges","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation","Loading...","isNavigationMode","currentChangeNumber","_statusText"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(521967===parseInt(e(485))/1+-parseInt(e(465))/2+parseInt(e(489))/3+parseInt(e(467))/4*(parseInt(e(478))/5)+parseInt(e(488))/6+-parseInt(e(474))/7+-parseInt(e(475))/8)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(481)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(457)](e(462),!1),this[e(457)](e(483),!1),this[e(457)](e(463),0),this[e(457)](e(458),0),this[e(457)](e(466),!1),this[e(457)](e(453),!1),this[e(477)](e(471)).to(this,e(483),this,e(458),((t,e)=>t&&e>0)),this[e(477)](e(464)).to(this,e(483),this,e(463),this,e(458),this,e(462),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(461));if(!n)return Q(t,o(479));const a=Q(t,o(459),n);return r?Q(t,o(490),[s+1,n]):a})),s[e(457)]({label:Q(t,e(476)),tooltip:!0,icon:mt.IconChevronUp}),n[e(457)]({label:Q(t,e(450)),tooltip:!0,icon:mt.IconChevronDown}),s[e(477)](e(455)).to(this,e(453)),n[e(477)](e(455)).to(this,e(466)),s.on(e(480),(()=>this[e(451)](e(480),e(469)))),n.on(e(480),(()=>this[e(451)](e(480),e(487)))),this[e(484)]({tag:e(472),attributes:{class:["ck",e(486),e(460)]},children:[{tag:e(452),attributes:{class:[e(468)]},children:[{tag:e(452),attributes:{class:[e(482),i.if(e(471),e(470),(t=>!t))]},children:[{text:i.to(e(462),(i=>i?Q(t,e(473))+": ":Q(t,e(456))+": "))}]},{text:i.to(e(464))}]},new pt.ToolbarSeparatorView,{tag:e(472),attributes:{class:[e(454)]},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 fe(){const t=["editing","editor","addClass","pluginName","6400CZKjZB","1032192uKRkpO","document","40623kjbCxd","removeClass","view","46MptNAB","isPremiumPlugin","21kXprDr","218869iFMAwM","change","1335004EJOlgc","isOfficialPlugin","roots","show","ck-editor__editable__loading-overlay","6965byptiy","hide","120RqVCWc","449622MKEUUE","3123OPfYdh","RevisionViewerLoadingOverlay"];return(fe=function(){return t})()}function me(t,e){const i=fe();return(me=function(t,e){return i[t-=410]})(t,e)}!function(t){const e=me,i=t();for(;;)try{if(164204===-parseInt(e(412))/1+parseInt(e(435))/2*(-parseInt(e(432))/3)+-parseInt(e(430))/4+-parseInt(e(419))/5+-parseInt(e(422))/6*(parseInt(e(411))/7)+-parseInt(e(429))/8*(parseInt(e(423))/9)+parseInt(e(421))/10*(parseInt(e(414))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const pe=de(418);class ve extends U.Plugin{static get[de(428)](){return de(424)}static get[de(415)](){return!0}static get[de(410)](){return!0}[de(417)](){const t=de,e=this[t(426)][t(425)][t(434)];e[t(413)]((i=>{const s=t;for(const t of e[s(431)][s(416)])i[s(427)](pe,t)}))}[de(420)](){const t=de,e=this[t(426)][t(425)][t(434)];e[t(413)]((i=>{const s=t;for(const t of e[s(431)][s(416)])i[s(433)](pe,t)}))}}const ge=ke;function ye(){const t=["show","1141332mcuSWA","execute","Back to editing","90189dBBdtr","isForwardNavigationEnabled","pluginName","config","4qVSIPW","requires","hide","exitToEditing","4139832vjjHpH","showPreviousChange","plugins","numberOfChanges","change:isReady","get","bind","2631748rWaMED","showNextChange","restoreRevision","editor","ck-revision-history-ui__back-to-editing","isEnabled","isNavigationMode","isBackwardNavigationEnabled","commands","401277qCysQR","isPremiumPlugin","forward","1684852RfwcRp","1999735vCIWaD","revisionHistory","currentChangeNumber","set","Restore this revision","isOfficialPlugin","changesNavigation","add","closeRevisionViewerCallback","RevisionViewerUI","listenTo","isReady","componentFactory","init","128agMvua"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=429]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(811970===parseInt(e(440))/1+parseInt(e(470))/2+parseInt(e(467))/3*(parseInt(e(447))/4)+-parseInt(e(471))/5+-parseInt(e(451))/6+-parseInt(e(458))/7+parseInt(e(438))/8*(parseInt(e(443))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(445)](){return ge(433)}static get[ge(429)](){return!0}static get[ge(468)](){return!0}static get[ge(448)](){return[ee,ve]}[ge(437)](){const t=ge,e=this[t(461)],i=e[t(453)][t(456)](ee),s=e[t(453)][t(456)](ve);e.ui[t(436)][t(431)](t(450),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(474)]({label:Q(i,s(442)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(462)}),this[s(434)](n,s(441),(()=>{const t=s;e[t(446)][t(456)](t(472))[t(432)]()})),n})),e.ui[t(436)][t(431)](t(460),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(474)]({label:Q(i,s(475)),withText:!0,tooltip:!0}),n[s(457)](s(463)).to(e[s(466)][s(456)](s(460))),this[s(434)](n,s(441),(()=>e[s(441)](s(460)))),n})),e.ui[t(436)][t(431)](t(430),(s=>{const n=t,r=new ue(s),o=e[n(466)][n(456)](n(452)),a=e[n(466)][n(456)](n(459));return r[n(457)](n(465)).to(o,n(463)),r[n(457)](n(444)).to(a,n(463)),r[n(457)](n(435),n(473),n(454),n(464)).to(i),this[n(434)](r,n(441),((t,i)=>{const s=n;e[s(441)](s(469)===i?s(459):s(452))})),r})),s[t(439)](),i.on(t(455),((e,i,n)=>{const r=t;n?s[r(449)]():s[r(439)]()}))}}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;function Ie(){const t=["2771676HNHmKG","input","placeholder","listenTo","ck-revision-history-sidebar__revision-name","1113016LqUyRy","Enter the revision name","9fpjqKQ","Revision name","value","extendTemplate","44goicJt","468104IQcKAu","2NjkUGN","6065690JpNIyS","fieldView","2447103TpxPub","7xTqPfk","destroy","17510uqIrbR","clientWidth","_tooltipString","element","render","set","_updateTooltipText","4373688QOSrPC","_resizeObserver","ck-tooltip_multi-line","516WsNNEi","bindTemplate","scrollWidth","span"];return(Ie=function(){return t})()}const Se=Oe;function Oe(t,e){const i=Ie();return(Oe=function(t,e){return i[t-=308]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(461217===parseInt(e(334))/1+parseInt(e(335))/2*(-parseInt(e(338))/3)+parseInt(e(327))/4+-parseInt(e(308))/5*(-parseInt(e(318))/6)+parseInt(e(339))/7*(parseInt(e(315))/8)+parseInt(e(329))/9*(parseInt(e(336))/10)+-parseInt(e(333))/11*(parseInt(e(322))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Te extends pt.LabeledFieldView{[Se(316)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(319)];this[i(313)]({label:Q(t,i(330)),_tooltipString:""}),this[i(337)][i(324)]=Q(t,i(328)),this[i(332)]({tag:i(321),attributes:{class:[i(326)],"data-cke-tooltip-text":s.to(i(310)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(317)}})}[Se(312)](){const e=Se;super[e(312)](),this[e(316)]=new t.ResizeObserver(this[e(337)][e(311)],(()=>this[e(314)]())),this[e(325)](this[e(337)],e(323),(()=>this[e(314)]()))}[Se(340)](){const t=Se;super[t(340)](),this[t(316)]&&this[t(316)][t(340)]()}[Se(314)](){const t=Se,e=this[t(337)][t(311)];this[t(310)]=e[t(320)]>e[t(309)]&&e[t(331)]||""}}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(t,e){const i=Ae();return(Re=function(t,e){return i[t-=466]})(t,e)}function Ae(){const t=["6839357hRWAnh","6433632cxggfn","8NZOTMt","9Sqxtex","1129351IHgPXF","set","Revision author","push","ck-revision-history-sidebar__revision-author","setTemplate","name","Revision creator","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author__name","4865970sNLyyC","101075vKOOVm","199018SndYad","196ZbNOzH","16119690tLrWnl","span","0 0 11 10"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(835741===parseInt(e(468))/1+-parseInt(e(480))/2+-parseInt(e(478))/3+-parseInt(e(481))/4*(-parseInt(e(479))/5)+parseInt(e(486))/6+parseInt(e(485))/7*(parseInt(e(466))/8)+parseInt(e(467))/9*(-parseInt(e(482))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Me extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(469)]({content:mt.IconUser,viewBox:s(484)});const r=["ck",s(472)];i&&r[s(471)](s(476));const o=[{tag:s(483),attributes:{class:["ck",s(477)],title:Q(t,s(i?475:470))},children:[n,e[s(474)]]}];this[s(473)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=Ee();return(Ve=function(t,e){return i[t-=198]})(t,e)}function Ee(){var t=["numeric","12hjxdnB","1088045MUkXlT","toLocaleDateString","15403420ClgNba","11MAyAWO","toLocaleTimeString","1432688mkZzEV","45UUlssv","29112UqeWWT","653896bYnrVV","158202HXuWvK","long","3396799MOvWzt"];return(Ee=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(254372===-parseInt(e(198))/1*(-parseInt(e(202))/2)+-parseInt(e(204))/3+parseInt(e(200))/4+-parseInt(e(209))/5*(-parseInt(e(208))/6)+parseInt(e(206))/7+parseInt(e(203))/8*(parseInt(e(201))/9)+-parseInt(e(211))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["class","locale","ck-revision-history-sidebar__revision__actions","source","1005714sqNNlI","listView","563590PJZZQe","first","_action","button","children","isOpen","panelPosition","extendTemplate","182HBXeGC","items","5353568pGDfHG","Name this revision","isVisible","find","isReady","menu","464CBLZaW","Restore this revision","Show more items","model","add","45801pnuNLk","Compare against selected","execute","name","9210hDLVnS","3164720xfriyO","menuitem","4yNLCOK","500385UvIkAc","stopPropagation","3fWHWyL","isActionsDropdownOpen","isEnabled","bindTemplate","ck-on","bind","function","listenTo","action","buttonView","map","change:isActionsDropdownOpen","set"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=144]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(307278===-parseInt(e(172))/1+-parseInt(e(170))/2*(-parseInt(e(153))/3)+parseInt(e(150))/4*(-parseInt(e(151))/5)+parseInt(e(147))/6*(-parseInt(e(180))/7)+parseInt(e(188))/8*(-parseInt(e(193))/9)+parseInt(e(148))/10+parseInt(e(182))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);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=Ue;function ze(){const t=["_revision","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-disabled","creator","ck-revision-history-sidebar__revision-wrapper","set","change","setTemplate","3904430howaEv","bind","ck-revision-history-sidebar__revision__controls-wrapper","listenTo","from","isConfirm","ck-revision-history-sidebar__revision-authors","name","render","fieldView","ck-reset","closest","srcElement","isReady","isHighlighted","filter",".ck-thread__remove-confirm","unshift","length","_requireRevisionName","bindTemplate","2004770EGQTgE","2826SXXLuO","2238822tsEjYu","506868bgywqO","extendTemplate","ck-revision-history-sidebar__revision","value","693912GpVyOc","_createdAtFormatted","isEnabled","fire","ck-revision-history-sidebar__revision_selected","isSelected","map","ck-revision-history-sidebar__revision_highlighted","span","revisionActionsView","element","29KjcpxG","highlight","ck-revision-history-sidebar__revision__date","select","ck-revision-history-sidebar__actions_dropdown_open","createdAt","div","isActionsDropdownOpen","220","9gcJyZR","12XkqIdZ","unhighlight","deselect","authors","setName","uiLanguage","1928521sgEQox","revisionNameView"];return(ze=function(){return t})()}function Ue(t,e){const i=ze();return(Ue=function(t,e){return i[t-=416]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(254447===-parseInt(e(419))/1*(parseInt(e(467))/2)+parseInt(e(469))/3*(-parseInt(e(429))/4)+parseInt(e(466))/5+parseInt(e(468))/6+-parseInt(e(435))/7+-parseInt(e(473))/8*(parseInt(e(428))/9)+parseInt(e(445))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class He extends((0,H.ConfirmMixin)(pt.View)){id;[We(436)];[We(417)];[We(437)];[We(464)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(465)],a=function(t,e){const i=r,s=Array[i(449)](e[i(432)])[i(460)]((t=>t!=e[i(440)]));return e[i(440)]&&s[i(462)](e[i(440)]),s[i(479)]((s=>new Me(t,s,s==e[i(440)])))}(e,i);this.id=i.id,this[r(437)]=i,this[r(464)]=n,this[r(446)](r(452),r(424)).to(i),this[r(446)](r(474)).to(this,r(424),(t=>{return i=e[r(434)],(s=t)[(n=Ve)(210)](i,{month:n(205),day:n(207)})+", "+s[n(199)](i,{hour:n(207),minute:n(207)});var i,s,n})),this[r(442)](r(478),!1),this[r(442)](r(459),!1),this[r(442)](r(426),!1),this[r(442)](r(458),!1),this[r(442)](r(475),!1),this[r(436)]=new Te(e,pt.createLabeledInputText),this[r(436)][r(454)][r(470)]({attributes:{maxlength:r(427)}}),this[r(436)][r(454)][r(446)](r(472)).to(this,r(452),(t=>t||this[r(474)])),this[r(436)][r(446)](r(475)).to(this,r(478),this,r(475),((t,e)=>t&&e)),this[r(417)]=s&&s[r(463)]?function(e,i){const s=Le,n=e[s(156)],r=e[s(167)],o=(0,pt.createDropdown)(r);o[s(178)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Le,s=t[i(167)],n={"Compare against selected":Q(s,i(144)),"Name this revision":Q(s,i(183)),"Restore this revision":Q(s,i(189))};return e[i(163)]((t=>{const e=i,s=n[t[e(146)]];return s&&s!==t[e(146)]&&(t[e(146)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(175),model:new pt.ViewModel({label:t[n(146)],class:t[n(166)],withText:!0,role:n(149),_action:t[n(161)]})};i[n(191)][n(158)](n(155)).to(e,n(154),(i=>n(159)!=typeof t[n(155)]||!i||t[n(155)](e))),o[n(192)](i)}return o}(e,i);return e[s(158)](s(154)).to(o,s(177)),o[s(162)][s(165)]({label:Q(r,s(190)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(179)]({attributes:{class:[s(168),n.if(s(154),s(157))]},on:{click:n.to((t=>t[s(152)]()))}}),o.on(s(145),(t=>{const i=s;e[i(186)]&&i(159)==typeof t[i(169)][i(174)]&&t[i(169)][i(174)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(187)}),o[s(160)](e,s(164),((t,n,r)=>{const a=s;if(r)for(const t of o[a(171)][a(181)]){const s=t[a(176)][a(173)],n=i[a(185)]((t=>t[a(161)]===s[a(174)]))[a(184)];t[a(184)]=void 0===n||n(e)}})),o}(this,s):"",this[r(417)]&&this[r(417)][r(446)](r(475)).to(this),this[r(444)]({tag:r(425),attributes:{class:["ck",r(455),r(441),o.if(r(450),r(438))]},children:[{tag:r(425),attributes:{class:["ck",r(455),r(471),o.if(r(475),r(439),(t=>!t)),o.if(r(478),r(477)),o.if(r(459),r(480)),o.if(r(426),r(423))]},children:[this[r(436)],{tag:r(416),attributes:{class:["ck",r(421)]},children:[{text:o.to(r(474))}]},{tag:r(425),attributes:{class:["ck",r(447)]},children:[{tag:"ul",attributes:{class:["ck",r(451)]},children:a}]},this[r(417)]],on:{click:o.to((t=>{const e=r;t[e(457)][e(456)](e(461))||this[e(458)]&&this[e(475)]&&this[e(476)](e(422),{id:this.id})}))}}]})}[We(453)](){const t=We;super[t(453)]();const e=this[t(436)][t(454)][t(418)];this[t(448)](e,t(443),(()=>{const i=t;this[i(464)]&&!e[i(472)]||this[i(476)](i(433),{id:this.id,name:e[i(472)]}),e[i(472)]||(e[i(472)]=this[i(452)]?this[i(452)]:this[i(474)])}))}[We(422)](){this[We(478)]=!0}[We(431)](){this[We(478)]=!1}[We(420)](){this[We(459)]=!0}[We(430)](){this[We(459)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Je extends Ze{}class Ge extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ye extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(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 Hs(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 Mi={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.DateTimeFormat(t,e),Mi[i]=s),s}let Ei={};let Di={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ms(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class 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=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Mi={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?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 Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${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?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.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]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Yi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Yi[i]||(Yi[i]={}),Yi[i][e]||(Yi[i][e]=new RegExp(`${Bi[i]}${e}`)),Yi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Yi={}}}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,...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 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 Ye("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ye("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Ms(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function 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 Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ye(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Js(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Ys=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Ys];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ms(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Vs(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:Vs(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Mn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Vs(e)):Vs(e),month:Ys.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Zi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Jn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Yn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||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 Ye("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 Ye(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Mn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Gn])}(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 Ye("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 Ge(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ye("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: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+=Gi.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])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=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=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 Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Je("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Mr=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function 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+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Ms(t.c.hour);return e?(o+=":",o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ms(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ms(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ms(Math.trunc(-t.o/60)),o+=":",o+=Ms(Math.trunc(-t.o%60))):(o+="+",o+=Ms(Math.trunc(t.o/60)),o+=":",o+=Ms(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={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"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Yr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(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]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Vr(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]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ye(`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 Ye("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e),n=$s(t,Yr),{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=Gr,v=$r,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=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,qn],[Un,$n],[Hn,Bn],[Zn,Jn])}(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),[Dn,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 Ye("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,[Yn,qn],[Kn,Xn])}(t);return Wr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ye("need to specify a reason the DateTime is invalid");const i=t instanceof 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 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?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?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(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Vr(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,Yr),{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+=Hr(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":"")+Hr(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 Ye("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ye("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return 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 Ye("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 Ye(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?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 Ye(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(){const t=["week","day","weekdayLong","175CmcpAX","205332gtNlAD","local","368870JPJBcj","hasSame","288XxFvBj","startOf","toJSDate","9xCFVzY","minus","toRelativeCalendar","806807LODedS","monthLong","995886ASCdFu","685qFLoix","523127RwDiWf","month","setLocale","29384DWZXyM","year","fromJSDate","2QtoyOV","754216LVWWDU"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=183]})(t,e)}function oo(t,e){const i=ro,s=io[i(203)](t)[i(200)](e),n=io[i(185)](),r=n[i(192)]({days:1})[i(189)](i(207));let o,a;return s[i(187)](n,i(207))?(o=s[i(189)](i(207))[i(190)](),a=s[i(193)]()):s[i(187)](r,i(207))?(o=r[i(190)](),a=s[i(193)]()):s[i(187)](n,i(206))?(o=s[i(189)](i(206))[i(190)](),a=s[i(208)]||""):s[i(187)](n,i(202))?(o=s[i(189)](i(199))[i(190)](),a=s[i(195)]||""):(o=s[i(189)](i(202))[i(190)](),a=String(s[i(202)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(549349===-parseInt(e(194))/1*(-parseInt(e(204))/2)+parseInt(e(196))/3+-parseInt(e(201))/4*(parseInt(e(197))/5)+parseInt(e(184))/6*(-parseInt(e(183))/7)+-parseInt(e(205))/8*(-parseInt(e(191))/9)+parseInt(e(186))/10+parseInt(e(198))/11*(parseInt(e(188))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=lo;function lo(t,e){const i=ho();return(lo=function(t,e){return i[t-=430]})(t,e)}function ho(){const t=["1578141FQCnsB","removeRevision","47831641XhCTFV","delegate","remove","ck-revision-history-sidebar__time-period__revisions","div","createCollection","startDate","8IgpsDn","find","select","uiLanguage","locale","_requireRevisionName","addRevision","_revisionActions","setName","setTemplate","add","localizedPeriodName","568842HfAVug","span","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period","134108oENzUX","10668007oGoCGh","9408860lkJZdh","110dnjmXQ","6tfXlkM","101608uLKYnQ","revisionViews","63UkMLnc"];return(ho=function(){return t})()}!function(t){const e=lo,i=t();for(;;)try{if(809963===-parseInt(e(459))/1+parseInt(e(435))/2*(-parseInt(e(437))/3)+parseInt(e(430))/4*(parseInt(e(433))/5)+-parseInt(e(434))/6*(parseInt(e(431))/7)+-parseInt(e(447))/8*(parseInt(e(438))/9)+-parseInt(e(432))/10+parseInt(e(440))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[uo(446)];[uo(436)];[uo(454)];[uo(452)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(451)][n(450)])[n(458)];this[n(446)]=e,this[n(436)]=this[n(445)](),this[n(454)]=i,this[n(452)]=s,this[n(436)][n(441)](n(449)).to(this),this[n(436)][n(441)](n(455)).to(this),this[n(456)]({tag:n(444),attributes:{class:["ck",n(462)]},children:[{tag:n(460),attributes:{class:["ck",n(461)]},children:[{text:r}]},{tag:n(444),attributes:{class:["ck",n(443)]},children:this[n(436)]}]})}[uo(453)](t){const e=uo,i=new He(this[e(451)],t,this[e(454)],this[e(452)]);this[e(436)][e(457)](i)}[uo(439)](t){const e=uo,i=this[e(436)][e(448)]((e=>e.id===t.id));this[e(436)][e(442)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=yo();return(vo=function(t,e){return i[t-=336]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(805493===-parseInt(e(344))/1*(-parseInt(e(345))/2)+-parseInt(e(354))/3+parseInt(e(353))/4*(parseInt(e(347))/5)+parseInt(e(348))/6+parseInt(e(350))/7*(-parseInt(e(338))/8)+parseInt(e(352))/9*(-parseInt(e(340))/10)+parseInt(e(337))/11*(parseInt(e(349))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yo);class go extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(339)]=mt.IconHistory,this[e(343)]({tag:e(336),attributes:{class:["ck",e(355),e(346)]},children:[i,{tag:e(351),attributes:{class:["ck",e(342)]},children:[Q(t,e(341))]}]})}}function yo(){const t=["3612270wGFBZF","10249476CipTMV","10655960CoMUxd","span","7016562QOohpO","1338884KAMOus","1064985HOLcKY","ck-reset_all","div","11MxDuGu","8jmweMh","content","10cNCMsM","Revision history","ck-revision-history-sidebar__header__label","setTemplate","109qVMuSR","24528KpgwuQ","ck-revision-history-sidebar__header","10hDPXeQ"];return(yo=function(){return t})()}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=["ck-disabled","525656lGqlPX","flat","revisionSetName","createdAt","805512KCaRnO","unhighlight","highlightRevisions","isEnabled","find","_requireRevisionName","_getTimePeriodViewByStartDate","revisionSelected","ck-revision-history-sidebar__timeline","2568bjlgXS","selectRevision","17559LMQUDH","_addRevision","4510688VoZAjq","removeRevision","9rlFziN","highlight","42059952jxGicc","ck-rounded-corners","delegate","setName","10bPCWkt","_revisions","map","add","some","remove","revisionViews","_removeRevision","975640PRWMpi","5YxPJvj","ck-reset","startDate","281051VzVLCP","setTemplate","createCollection","bindTemplate","uiLanguage","ck-revision-history-sidebar","timePeriodViews","_revisionActions","locale","set","get","addRevision","fire","deselect","getTime","select","div","render"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=189]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(790168===parseInt(e(189))/1*(-parseInt(e(233))/2)+-parseInt(e(227))/3*(parseInt(e(208))/4)+parseInt(e(242))/5*(parseInt(e(212))/6)+-parseInt(e(225))/7+-parseInt(e(221))/8*(parseInt(e(223))/9)+-parseInt(e(241))/10+parseInt(e(229))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(195)];[wo(234)];[wo(196)];[wo(217)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(192)];this[n(195)]=this[n(191)](),this[n(195)][n(231)](n(204)).to(this),this[n(195)][n(231)](n(232)).to(this),this[n(234)]=e,this[n(196)]=i,this[n(217)]=s,this.on(n(204),((t,e)=>{const i=n;this[i(201)](i(219),e)})),this.on(n(232),((t,e)=>{const i=n;this[i(201)](i(210),e)})),this[n(198)](n(215),!1),this[n(190)]({tag:n(205),attributes:{class:["ck",n(243),n(230),n(194)]},children:[new go(t),{tag:n(205),attributes:{class:["ck",n(220),r.if(n(215),n(207),(t=>!t))]},children:this[n(195)]}]})}[wo(206)](){const t=wo;super[t(206)]();for(const e of this[t(234)])this[t(224)](e);this[t(234)].on(t(236),((e,i)=>{this[t(224)](i)})),this[t(234)].on(t(238),((e,i)=>{this[t(240)](i)}))}get[wo(239)](){const t=wo;return this[t(195)][t(235)]((e=>e[t(239)][t(235)]((t=>t))))[t(209)]()}[wo(222)](t){const e=wo;for(const i of this[e(239)])t&&t.id===i.id?i[e(204)]():i[e(202)]()}[wo(214)](t){const e=wo;for(const i of this[e(239)])t[e(237)]((({id:t})=>t===i.id))?i[e(228)]():i[e(213)]()}[wo(224)](t){const e=wo,i=oo(t[e(211)],this[e(197)][e(193)])[e(244)];let s=this[e(195)][e(199)](0);s&&s[e(244)][e(203)]()===i[e(203)]()||(s=new fo(this[e(197)],i,this[e(196)],this[e(217)]),this[e(195)][e(236)](s)),s[e(200)](t)}[wo(240)](t){const e=wo,i=oo(t[e(211)],this[e(197)][e(193)])[e(244)];this[e(218)](i)[e(226)](t)}[wo(218)](t){const e=wo;return this[e(195)][e(216)]((i=>i[e(244)][e(203)]()===t[e(203)]()))}}const Oo=xo;!function(t){const e=xo,i=t();for(;;)try{if(301192===parseInt(e(397))/1*(-parseInt(e(418))/2)+parseInt(e(394))/3+parseInt(e(380))/4*(parseInt(e(402))/5)+parseInt(e(359))/6+parseInt(e(424))/7+parseInt(e(388))/8*(parseInt(e(383))/9)+-parseInt(e(371))/10*(parseInt(e(367))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class To extends U.Plugin{[Oo(395)];[Oo(406)];[Oo(404)];static[Oo(405)]=[Oo(427),Oo(381),Oo(423)];static[Oo(425)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(416),action:({plugins:e},i)=>{const s=t,n=e[s(413)](ee),r=n[s(391)];let o=n[s(375)][s(350)],a=i.id;r[s(415)](o)>r[s(415)](a)&&([o,a]=[a,o]),n[s(377)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(413)](ee);return!(n[s(391)][s(361)](n[s(375)])[s(376)]>2||i[s(426)])}},restoreRevision:{name:t(412),action:(e,{id:i})=>{const s=t;e[s(420)][s(413)](s(432))[s(400)](i)},isVisible:({plugins:e},i)=>!!e[t(413)](ee)[t(391)][t(390)](i.id)},nameRevision:{name:t(356),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(413)](ee),o=r[n(391)][n(355)](i);r[n(377)](i,o),s[n(382)](),s[n(385)][n(360)]()}}}}();static get[Oo(396)](){return Oo(387)}static get[Oo(384)](){return!0}static get[Oo(421)](){return!0}static get[Oo(362)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(395)]=t[e(372)][e(413)](ee),this[e(406)]=this[e(395)][e(391)],this[e(404)]=null}[Oo(417)](){const t=Oo,e=this[t(406)][t(365)],i=this[t(403)](),s=this[t(351)][t(420)][t(413)](t(399));this[t(404)]=new So(this[t(351)][t(354)],e,i,this[t(351)][t(420)][t(413)](t(370))),this[t(404)].on(t(364),this[t(378)][t(358)](this)),this[t(404)].on(t(392),this[t(422)][t(358)](this)),this[t(404)][t(358)](t(369)).to(this[t(395)]),this[t(404)][t(410)].on(t(363),((e,i)=>{const s=t;i[s(357)].on(s(363),((t,e)=>{const i=s;e[i(358)](i(369),i(428)).to(this[i(395)])}))})),this[t(404)][t(389)](),this[t(379)](this[t(351)][t(386)],t(368),this[t(353)][t(358)](this)),this[t(379)](this[t(395)],t(393),this[t(408)][t(358)](this)),s[t(411)](this[t(404)][t(419)])}[Oo(429)](){const t=Oo;this[t(404)][t(419)][t(431)](),this[t(404)][t(429)]()}[Oo(353)](){const t=Oo,e=this[t(406)][t(374)](0);if(e){const i=this[t(406)][t(355)](e.id);this[t(395)][t(377)](e,i)}}[Oo(378)](t,e){const i=Oo,s=this[i(406)][i(374)](e.id),n=this[i(406)][i(355)](s.id);this[i(395)][i(377)](s,n)}[Oo(422)](t,e){const i=Oo;this[i(406)][i(374)](e.id)[i(407)](e[i(433)])}[Oo(408)](t,e,i){const s=Oo,n=this[s(406)][s(361)](i);n[s(376)]>2?(this[s(404)][s(430)](n),this[s(404)][s(409)](null)):(this[s(404)][s(430)]([]),this[s(404)][s(409)](n[0]))}[Oo(403)](){const t=Oo,e=this[t(351)],i=To[t(425)],s=e[t(420)][t(413)](t(398))||To[t(405)];if(s[t(376)])return s[t(401)]((s=>{const n=t,r=n(373)==typeof s?Object[n(414)]({},i[s]):s;return r[n(366)]=r[n(366)][n(358)](this,e),r[n(352)]&&(r[n(352)]=r[n(352)][n(358)](this,e)),r}))}}function xo(t,e){const i=Ro();return(xo=function(t,e){return i[t-=350]})(t,e)}const No=To;function Ro(){const t=["select","getRevisionsInDiff","requires","add","revisionSelected","_revisions","action","9198046Eutxjj","ready","isEnabled","revisionHistory.requireRevisionName","10VqLAsu","plugins","string","getRevision","diff","length","compare","_handleRevisionSelected","listenTo","756NiWqnU","restoreRevision","focus","99gmgXpd","isOfficialPlugin","fieldView","data","RevisionsSidebar","403768KAnwVz","render","getLaterVisibleRevision","repository","revisionSetName","change:diff","77082ApKAtR","_revisionViewer","pluginName","1vrvVOs","revisionHistory.revisionActions","revisionHistory.viewerSidebarContainer","restoreRevisionCallback","map","12520oafMGP","_createRevisionActions","_sidebarView","defaultRevisionActions","_revisionsRepository","setName","_handleDiffChange","selectRevision","timePeriodViews","appendChild","Restore this revision","get","assign","getIndex","Compare against selected","init","917012oFChWB","element","config","isPremiumPlugin","_handleRevisionSetName","nameRevision","1205778zHvwiK","availableRevisionActions","isSelected","compareAgainstSelected","isReady","destroy","highlightRevisions","remove","revisionHistory","name","newRevisionId","editor","isVisible","_handleEditorDataReady","locale","getEarlierVisibleRevision","Name this revision","revisionViews","bind","2216994AdkZYX"];return(Ro=function(){return t})()}const Ao=Mo;function Mo(t,e){const i=Vo();return(Mo=function(t,e){return i[t-=148]})(t,e)}function Vo(){const t=["detachDomRoot","toolbar","limiterElement","isFocused","_view","editor","_toolbarConfig","setEditableElement","fillFromConfig","viewportTopOffset","viewportOffset","rootName","_initToolbar","fire","element","6uWMtYM","replace","100MPuTLd","destroy","1966088PyKFZb","document","stickyPanel","1338463XcnqTJ","render","192KKIxLu","restore","_elementReplacer","focusTracker","80NQcrNB","editable","3559044Kqmnoj","ready","5016230FxjTGM","editing","addToolbar","attachDomRoot","componentFactory","3876356gwuBLL","getRoot","4916421jJDCvz","bind","view","init","isActive","get","70068xMlbod","name","config"];return(Vo=function(){return t})()}!function(t){const e=Mo,i=t();for(;;)try{if(996877===-parseInt(e(165))/1+parseInt(e(176))/2+parseInt(e(170))/3*(parseInt(e(191))/4)+-parseInt(e(178))/5*(parseInt(e(161))/6)+parseInt(e(168))/7*(-parseInt(e(174))/8)+-parseInt(e(185))/9+parseInt(e(163))/10*(parseInt(e(183))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends pt.EditorUI{[Ao(150)];[Ao(152)];[Ao(172)];get[Ao(187)](){return this[Ao(150)]}constructor(e,i){const s=Ao;super(e),this[s(150)]=i,this[s(152)]=(0,pt.normalizeToolbarConfig)(e[s(193)][s(190)](s(195))),this[s(172)]=new t.ElementReplacer}get[Ao(160)](){const t=Ao;return this[t(187)][t(160)]}[Ao(188)](t){const e=Ao,i=this[e(151)],s=this[e(187)],n=i[e(179)][e(187)],r=s[e(175)],o=n[e(166)][e(184)]();r[e(192)]=o[e(157)],s[e(169)]();const a=r[e(160)];this[e(153)](r[e(192)],a),s[e(175)][e(186)](e(149)).to(this[e(173)]),n[e(181)](a),this[e(172)][e(162)](t,this[e(160)]),this[e(158)](),this[e(159)](e(177))}[Ao(164)](){const t=Ao;super[t(164)]();const e=this[t(187)],i=this[t(151)][t(179)][t(187)];this[t(172)][t(171)](),i[t(194)](e[t(175)][t(192)]),e[t(164)]()}[Ao(158)](){const t=Ao,e=this[t(187)];e[t(167)][t(186)](t(189)).to(this[t(173)],t(149)),e[t(167)][t(148)]=e[t(160)],e[t(167)][t(186)](t(155)).to(this,t(156),(({top:t})=>t)),e[t(195)][t(154)](this[t(152)],this[t(182)]),this[t(180)](e[t(195)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;function Fo(t,e){var i=jo();return(Fo=function(t,e){return i[t-=488]})(t,e)}var Lo=Fo;function jo(){var t=["10coAYBw","2005332vmXLUg","1109840PFjkSu","18EdEXpP","stickyPanel","2512lpXovV","toolbar","render","add","21267lXybnS","1896096Gpotxc","28842077awsqqE","_editable","editable","main","6494PuIuCe","top","329WmoSvp","1647630iJtbrI","content","shouldToolbarGroupWhenFull"];return(jo=function(){return t})()}!function(t){for(var e=Fo,i=t();;)try{if(666100===-parseInt(e(501))/1*(parseInt(e(499))/2)+-parseInt(e(494))/3+parseInt(e(507))/4+-parseInt(e(502))/5*(parseInt(e(508))/6)+-parseInt(e(506))/7+-parseInt(e(489))/8*(-parseInt(e(493))/9)+parseInt(e(505))/10*(parseInt(e(495))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Lo(496)];[Lo(488)];[Lo(490)];get[Lo(497)](){return this[Lo(496)]}constructor(t,e,i={}){var s=Lo;super(t),this[s(488)]=new pt.StickyPanelView(t),this[s(490)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(504)]}),this[s(496)]=new pt.InlineEditableUIView(t,e)}[Lo(491)](){var t=Lo;super[t(491)](),this[t(488)][t(503)][t(492)](this[t(490)]),this[t(500)][t(492)](this[t(488)]),this[t(498)][t(492)](this[t(497)])}}const Wo=zo;function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=362]})(t,e)}function Uo(){const t=["editing","250clyBYA","create","view","locale","2084478rECQhY","get","11486475zamfDB","model","1272759jvxKCe","223741NHmJFn","fire","initialData","document","destroy","init","911508tzqumN","sourceElement","initPlugins","84oWwRTg","updateSourceElement","32pHwdfU","234189GXwNSd","config","150747GeSKjE","createRoot","data","ready","_ui","15cBJySP"];return(Uo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(736903===-parseInt(e(390))/1+parseInt(e(367))/2+parseInt(e(375))/3*(-parseInt(e(370))/4)+parseInt(e(380))/5*(parseInt(e(386))/6)+parseInt(e(391))/7*(-parseInt(e(372))/8)+-parseInt(e(373))/9*(-parseInt(e(382))/10)+parseInt(e(388))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[Wo(379)];get ui(){return this[Wo(379)]}constructor(t,e){const i=Wo;super(e),this[i(368)]=t,this[i(389)][i(364)][i(376)]();const s=new Po(this[i(385)],this[i(381)][i(384)],{shouldToolbarGroupWhenFull:!0});this[i(379)]=new Eo(this,s)}[Wo(365)](){const t=Wo;return this[t(371)](),this.ui[t(365)](),super[t(365)]()}static async[Wo(383)](t,e){const i=Wo,s=new this(t,e);return await s[i(369)](),await s.ui[i(366)](t),await s[i(377)][i(366)](s[i(374)][i(387)](i(363))||""),s[i(362)](i(378)),s}}const Zo=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=304]})(t,e)}function $o(){const t=["result","getRoot","isOpen","update","change","enqueueChange","isAnonymous","revisionHistory.showRevisionViewerCallback","error","element","RevisionTracker","enableReadOnlyMode","DocumentOutlineUI","toolbar","addUser","parse","revision-history-missing-configuration","isOfficialPlugin","112JtiGdc","2IqGJjD","disableReadOnlyMode","markers","users","creator","1271718SHRvzg","_restoreRevision","createRangeIn","Restored","toVersion","setAttribute","RevisionViewerIntegration","_viewerEditor","lazyRoots","2367740bkpqvj","_cleanUp","4XDXknQ","init","refreshVisibility","requires","1312746OEFQfl","repository","fromCharCode","restrictedEditingException","_recalculatePageBreaks","_showRevisionViewer","isReadOnly","remove","model","closeRevisionViewerCallback","create","exitToEditing","indexOf","isEnabled","showRevisionViewerCallback","1475163OdpKdr","display","toJSON","isReady","removeMarker","end","_update","refreshPositioning","$graveyard","RevisionViewer","save","locale","revisionHistory","keys","Users","style","revision-history-viewer-opened","2875165CBaSpZ","join","getUser","has","isRevisionViewerOpen","toLocaleDateString","destroy","_enhanceShowRevisionViewerCallback","restoreRevision","removeAttribute","removeSelectionAttribute","RevisionHistory","detachRoot","insert","define","name","isAttached","config","_getRevisionViewerEditorConfig","data","from","editor","Dialog","RevisionsRepository","revisionHistory.editorContainer","getRevision","long","addRevisionData","commands","document","getMarkersGroup","getAttributeKeys","_closeRevisionViewer","revisionHistory.closeRevisionViewerCallback","toLocaleTimeString","pluginName","getRevisionDocumentData","set","saveRevision","selection","get","includes","uiLanguage","then","_enhanceCloseRevisionViewerCallback","Autosave","RestrictedEditingMode","view","addRoot","revisionHistory.viewerContainer","revisionHistory.requireRevisionName","map","DocumentOutline","adapter","roots","38336EPjFbp","revisionHistory.viewerEditorElement","changesNavigation","RevisionHistoryUI","getRevisionRootsAttributes","setSelection","isPremiumPlugin","push","translations","fromVersion","RevisionHistoryUtils","catch","none","numeric","block","revisionHistory.restoreRevisionCallback","hide","Annotations","plugins","717111hzHLdT","loadRevisionData","createdAt","getRevisions","PaginationLookup","rootName","bind"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(409488===parseInt(e(437))/1+parseInt(e(311))/2*(-parseInt(e(346))/3)+parseInt(e(327))/4*(parseInt(e(363))/5)+-parseInt(e(331))/6+-parseInt(e(310))/7*(parseInt(e(418))/8)+parseInt(e(316))/9+-parseInt(e(325))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Zo(421),Zo(409)];class Jo extends U.Plugin{[Zo(444)];static get[Zo(398)](){return Zo(322)}static get[Zo(309)](){return!0}static get[Zo(424)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(414)]((t=>String[e(333)](t)))[e(364)]("")}super(t),this[e(444)]=e(351),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 Go extends U.Plugin{[Zo(323)];static get[Zo(398)](){return Zo(374)}static get[Zo(309)](){return!0}static get[Zo(424)](){return!0}static get[Zo(330)](){return[ct,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(384)][i(380)][i(403)](i(358)))throw new t.CKEditorError(i(308),this);this[i(323)]=null,this[i(400)](i(367),!1),this[i(384)][i(380)][i(377)](i(451),(t=>this[i(336)]({...t,translations:this[i(384)][i(357)][i(426)]}))),this[i(384)][i(380)][i(377)](i(396),(t=>this[i(395)](t))),this[i(384)][i(380)][i(377)](i(433),(t=>this[i(317)](t))),this[i(384)][i(380)][i(377)](i(413),!1),this[i(370)](),this[i(407)]()}set[Zo(416)](t){const e=Zo;this[e(384)][e(436)][e(403)](e(454))[e(416)]=t}get[Zo(416)](){const t=Zo;return this[t(384)][t(436)][t(403)](t(454))[t(416)]}[Zo(390)](t){const e=Zo;return this[e(384)][e(436)][e(403)](e(454))[e(390)](t)}[Zo(388)](t){const e=Zo;return this[e(384)][e(436)][e(403)](e(386))[e(388)](t)}[Zo(440)](t){const e=Zo;return this[e(384)][e(436)][e(403)](e(386))[e(440)](t||{toJSON:!1})}[Zo(381)](){const e=Zo,i=this[e(384)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(436)][e(403)](e(454)),r=i[e(436)][e(403)](e(360))[e(314)];return s[e(305)]=[e(342),e(371),e(420)],delete s[e(324)],s[e(436)][e(425)](Jo,ee,be,class extends U.Plugin{static get[e(330)](){return[ee,e(360)]}[e(328)](){const s=e,o=this[s(384)][s(436)][s(403)](s(360));for(const t of r)t[s(450)]||o[s(365)](t.id)||o[s(306)](t);const a=n[s(332)][s(440)]();let c=null;const u=this[s(384)][s(436)][s(403)](s(355));u[s(416)]=n[s(416)],u[s(443)](s(344)).to(n),this[s(384)][s(391)][s(403)](s(371))[s(443)](s(344)).to(i,s(337),(t=>!t));for(const e of a){const i=null===e[s(315)];if(i&&e[s(320)]===e[s(427)])continue;const r=e[s(348)]();u[s(390)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(352)](r,o);else if(!o){const e=a[u(348)]();e.id=(0,t.uid)(),n[u(401)](e,a[u(320)])[u(406)]((t=>{c=t}))}}else e[u(352)](r,o)}))}}},No),s}[Zo(370)](){const t=Zo,e=this[t(384)][t(380)][t(403)](t(358))[t(345)];this[t(384)][t(380)][t(400)](t(451),(async()=>{const i=t;this[i(384)][i(455)](i(362));const s=this[i(384)][i(436)][i(403)](i(454));if(this[i(384)][i(436)][i(366)](i(408))){const t=this[i(384)][i(436)][i(403)](i(408));await t[i(356)]()}else await s[i(447)]();if(this[i(384)][i(436)][i(366)](i(441))&&this[i(384)][i(436)][i(403)](i(441))[i(335)](),this[i(384)][i(436)][i(366)](i(385))){const t=this[i(384)][i(436)][i(403)](i(385));t[i(446)]&&t[i(434)]()}const n=this[i(381)]();return e(n)[i(406)]((t=>{const e=i;return this[e(323)]=t,this[e(384)][e(436)][e(366)](e(435))&&this[e(384)][e(436)][e(403)](e(435))[e(329)](),this[e(384)][e(436)][e(366)](e(415))&&(this[e(384)][e(436)][e(403)](e(304))[e(410)][e(453)][e(361)][e(347)]=e(430)),t}))[i(429)]((t=>(console[i(452)](t),this[i(384)][i(312)](i(362)),null)))}))}[Zo(407)](){const t=Zo,e=this[t(384)][t(380)][t(403)](t(358))[t(340)];this[t(384)][t(380)][t(400)](t(396),(()=>(this[t(384)][t(436)][t(366)](t(441))&&this[t(384)][t(436)][t(403)](t(441))[t(335)](),this[t(384)][t(436)][t(366)](t(415))&&(this[t(384)][t(436)][t(403)](t(304))[t(410)][t(453)][t(361)][t(347)]=""),this[t(323)][t(436)][t(403)](t(355))[t(326)](),e(this[t(323)])[t(406)]((()=>{const e=t;if(this[e(384)][e(312)](e(362)),this[e(323)]=null,this[e(384)][e(436)][e(366)](e(435))){const t=this[e(384)][e(436)][e(403)](e(435));t[e(329)](),t[e(353)]()}})))))}[Zo(336)](t){const e=Zo,i=this[e(384)][e(380)][e(403)](e(387)),s=this[e(384)][e(380)][e(403)](e(412)),n=this[e(384)][e(380)][e(403)](e(419));return Ho[e(341)](n,t)[e(406)]((t=>(s[e(361)][e(347)]=e(432),i[e(361)][e(347)]=e(430),this[e(367)]=!0,t)))}[Zo(395)](t){const e=Zo,i=this[e(384)][e(380)][e(403)](e(387));return this[e(384)][e(380)][e(403)](e(412))[e(361)][e(347)]=e(430),i[e(361)][e(347)]="",this[e(367)]=!1,t[e(369)]()}async[Zo(317)](t){const e=Zo,i=this[e(384)],s=this[e(323)][e(436)][e(403)](e(355)),n=i[e(436)][e(403)](e(454)),r=i[e(436)][e(403)](e(428)),o=s[e(332)][e(388)](t);let a,c,u;try{await r[e(438)](o,this[e(416)]),a=r[e(399)](o),c=r[e(422)](o)}catch(t){return void console[e(452)](t)}i[e(339)][e(448)]((t=>{const s=e;for(const e of Array[s(383)](i[s(339)][s(313)][s(393)](s(334))))t[s(350)](e)})),s[e(349)]=!1,i[e(339)][e(449)]((t=>{const s=e;t[s(423)](null),t[s(373)](i[s(339)][s(392)][s(402)][s(394)]());const n=Object[s(359)](a);for(const e of i[s(339)][s(392)][s(417)])s(354)!=e[s(442)]&&e[s(379)]()&&!n[s(404)](e[s(442)])&&t[s(375)](e);for(const e of n){let n=i[s(339)][s(392)][s(445)](e);n&&n[s(379)]()||(n=t[s(411)](e));const r=c[e],o=Object[s(359)](r),u=a[e];for(const e of n[s(394)]())o[s(404)](e)||t[s(372)](e,n);for(const i of o)t[s(321)](i,c[e][i],n);t[s(338)](t[s(318)](n)),t[s(376)](i[s(382)][s(307)](u,n),n,0)}}));const l=Q(i[e(357)],e(319));return u=o[e(378)]?-1==o[e(378)][e(343)](l)?l+": "+o[e(378)]:o[e(378)]:l+": "+o[e(439)][e(368)](i[e(357)][e(405)],{month:e(389),day:e(431)})+", "+o[e(439)][e(397)](i[e(357)][e(405)],{hour:e(431),minute:e(431)}),await n[e(401)]({name:u}),s[e(349)]=!0,i[e(380)][e(403)](e(358))[e(340)]()}}function Yo(){var t=["942ANCGll","2772245XcWWwJ","27496570OFTZmC","1348576cFYsLT","25140pOsGzu","5457380gqGssQ","9LrPsOy","5132zuFBOz","1137883eKrpdF","217HNhRsM"];return(Yo=function(){return t})()}function Ko(t,e){var i=Yo();return(Ko=function(t,e){return i[t-=274]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(797166===-parseInt(e(282))/1+-parseInt(e(281))/2*(-parseInt(e(274))/3)+-parseInt(e(279))/4+-parseInt(e(275))/5+-parseInt(e(278))/6*(-parseInt(e(283))/7)+parseInt(e(277))/8+parseInt(e(280))/9*(parseInt(e(276))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo)})(),(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:()=>U,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",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 E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function M(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,M(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const P=j;function j(t,e){const i=z();return(j=function(t,e){return i[t-=352]})(t,e)}function z(){const t=["3038280IMneCn","map","creator","6knDcFt","987986kenpJN","name","diffData","setName","40100ZxQctT","_update","3372168zQFZxo","setAttribute","24aMpeWv","480sBnEeZ","set","1372024XismGb","model","1711204yYXRgO","createdAt","toVersion","creatorId","1jHfBdN","toJSON","authorsIds","attributes","removeAttribute","fire","9disxVx","1181170eAIOJt","fromVersion","authors"];return(z=function(){return t})()}!function(t){const e=j,i=t();for(;;)try{if(416893===-parseInt(e(356))/1*(parseInt(e(370))/2)+-parseInt(e(369))/3*(-parseInt(e(381))/4)+-parseInt(e(374))/5*(-parseInt(e(379))/6)+parseInt(e(366))/7+-parseInt(e(376))/8+-parseInt(e(362))/9*(parseInt(e(363))/10)+parseInt(e(352))/11*(-parseInt(e(378))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class U extends((0,t.ObservableMixin)()){id;[P(368)];[P(365)];[P(372)];[P(354)];[P(364)];[P(382)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(368)]=e[i(368)]||null,this[i(365)]=e[i(365)]||[],this[i(372)]=e[i(372)]||null,this[i(354)]=e[i(354)]||0,this[i(364)]=e[i(364)]||0,this[i(380)](i(371),e[i(371)]||""),this[i(380)](i(353),e[i(353)]||new Date),this[i(380)](i(359),e[i(359)]||{})}[P(373)](t){this[P(375)]({name:t})}[P(377)](t,e){const i=P,s=A(this[i(359)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(375)]({attributes:s})}[P(360)](t){const e=P,i=A(this[e(359)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return L(t,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(375)]({attributes:i})}[P(375)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(371),i(353),i(372),i(365),i(359),i(354),i(364),i(355)];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(365)]&&(n[i(358)]=n[i(365)][i(367)]((t=>t.id)),delete n[i(365)]),this[i(361)](i(375),n,e))}[P(357)](){const t=P;return{id:this.id,name:this[t(371)],creatorId:this[t(368)]?this[t(368)].id:null,authorsIds:this[t(365)][t(367)]((t=>t.id)),diffData:this[t(372)],createdAt:this[t(353)],attributes:this[t(359)],fromVersion:this[t(364)],toVersion:this[t(354)]}}}var W=i(782),Z=i(211),H=i(783);function $(){const t=["101237yRSRLT","getRevision","afterInit","toJSON","name","addRevision","authorsIds","122216lfwsGy","push","from","12Okyreu","isOfficialPlugin","getRevisionsInDiff","later","reverse","getLaterVisibleRevision","getRevisionsIterator","join","data","creatorId","getEarlierVisibleRevision","length","RevisionsRepository","_revisions","toVersion","attributes","add","isNaN","654976TfASog","isPremiumPlugin","newRevisionId","getUser","fromCharCode","1324940qKORxb","get","plugins","fromVersion","oldRevisionId","requires","2282436lqTUpn","getRevisions","pluginName","editor","diffData","createRevision","getIndex","1422200WORPdh","earlier","map","Users","1110726fiaeCL","2HrBtLW","81NoeRag","href","createdAt"];return($=function(){return t})()}const B=q;function q(t,e){const i=$();return(q=function(t,e){return i[t-=258]})(t,e)}!function(t){const e=q,i=t();for(;;)try{if(332551===parseInt(e(290))/1+-parseInt(e(286))/2*(-parseInt(e(285))/3)+-parseInt(e(274))/4+-parseInt(e(268))/5*(-parseInt(e(300))/6)+-parseInt(e(263))/7+-parseInt(e(297))/8*(-parseInt(e(287))/9)+-parseInt(e(281))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends W.Plugin{[B(258)];static get[B(273)](){return[Z.Users]}static get[B(276)](){return B(312)}static get[B(301)](){return!0}static get[B(264)](){return!0}get[B(311)](){const t=B;return this[t(258)][t(311)]}constructor(e){const i=B;super(e),this[i(258)]=new t.Collection}[B(292)](){!async function(e){const i=k([102,112,118,114,122,49,67,109,82,85,84,101,105,83,70,119,56,104,107,100,53,88,48,81,115,65,86,106,57,51,55,68,79,75,87,76,74,80,54,116,90,108,78,73,52,97,89,113,77,117,110,71,111,50,121,66,69,72,99,98,103,120]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(262)](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([102]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=q;return t[e(283)]((t=>String[e(267)](t)))[e(307)]("")}!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:1745884800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(288)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[B(279)](t){const e=B,i=this[e(277)][e(270)][e(269)](e(284));return new U({id:t.id,name:t[e(294)],creator:t[e(309)]?i[e(266)](t[e(309)]):null,diffData:t[e(278)]||t[e(308)],authors:t[e(296)][e(283)]((t=>i[e(266)](t))),createdAt:new Date(t[e(289)]),attributes:t[e(260)],fromVersion:t[e(271)],toVersion:t[e(259)]})}[B(295)](t,e=0){const i=B;this[i(258)][i(261)](t,e)}[B(291)](t){const e=B;return this[e(258)][e(269)](t)}[B(275)](t={toJSON:!1}){const e=B,i=Array[e(299)](this[e(258)]);return i[e(304)](),t[e(293)]?i[e(283)]((t=>t[e(293)]())):i}[B(280)](t){const e=B;return this[e(258)][e(280)](t)}[B(310)](t){const e=B,[,i]=this[e(306)](t,{direction:e(282)});return i}[B(305)](t){const e=B,[,i]=this[e(306)](t,{direction:e(303)});return i}[B(302)](t){const e=B,i=[];for(const s of this[e(306)](t[e(265)]))if(i[e(298)](s),s.id===t[e(272)])break;return i}*[B(306)](t,{direction:e=B(282),filter:i=()=>!0}={}){const s=B,n=s(282)===e?1:-1;let r=this[s(258)][s(269)](t),o=this[s(280)](r);for(yield r;r;){if(o+=n,r=this[s(291)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=203]})(t,e)}function K(){const t=["18ceaupq","collaboration.channelId","createElement","isPremiumPlugin","innerHTML","data-revision-","1949272hwaDBq","1805098YvaTKu","712917qOymgr","pluginName","1424017PDQhBb","attributes","config","attributesAfter","customProperties","parse","_getViewFromDiffObj","domDocument","domConverter","715AAzpep","4301384CuABal","_makeModelFromViewString","htmlProcessor","_getTypeCharForViewElement","getRevision","editor","forEach","marked","childNodes","data","loadRevisionData","type","revision-start","processor","87950acRGsZ","append","useFillerType","from","diffData","name","1MRbLXu","length","isOfficialPlugin","div","getFillerOffset","children","startsWith","insertions","RevisionHistoryUtils","attachChange","document","get","2886605kRAOpR","revision-end","map","view","default","string","getRevisionDocumentData","_typeCharToViewClass","getRevisionRootsAttributes","render","9LvXwTR","_removeRevisionMarkers","domChildrenToView","constructor","toData","fillerOffset","toModel","_appendChild","filter","isAttached","editing","viewChildrenToDom","_setCustomProperty","_viewClassToTypeChar"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(473894===-parseInt(e(265))/1*(-parseInt(e(232))/2)+parseInt(e(233))/3+parseInt(e(231))/4+-parseInt(e(277))/5+parseInt(e(225))/6*(-parseInt(e(235))/7)+parseInt(e(245))/8*(-parseInt(e(211))/9)+parseInt(e(259))/10*(parseInt(e(244))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends W.Plugin{static get[J(234)](){return J(273)}static get[J(267)](){return!0}static get[J(228)](){return!0}[J(224)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[J(208)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[J(255)](t,e){const i=J;if(t[i(263)]||!e)return;const s=this[i(250)][i(237)][i(276)](i(226)),n=await e[i(249)]({channelId:s,revisionId:t.id});t[i(263)]=n[i(263)]}[J(207)](t){const e=J,i={};for(const s in t[e(263)]){if(t[e(263)][s][e(274)]&&!t[e(263)][s][e(274)][e(220)])continue;const n=this[e(212)](JSON[e(240)](t[e(263)][s][e(272)])),r=this[e(250)][e(221)][e(204)][e(275)],o=new H.ViewDocumentFragment(r,n[e(203)]((t=>this[e(241)](t,!1))));this[e(250)][e(254)][e(258)][e(261)](e(252)),i[s]=this[e(250)][e(254)][e(258)][e(215)](o),this[e(250)][e(254)][e(258)][e(261)](e(205))}return i}[J(209)](t){const e=J,i={};for(const s in t[e(263)])t[e(263)][s][e(274)]&&!t[e(263)][s][e(274)][e(220)]||(i[s]=t[e(263)][s][e(238)]||{});return i}[J(248)](t){const e=J;return this[e(224)][e(276)](t[e(214)])}[J(241)](t,e){const i=J,s=this[i(250)][i(221)][i(204)][i(275)];if(i(206)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(256)]||"r"==t[i(256)]?[]:t[i(270)][i(203)]((t=>this[i(241)](t,e)));const o=this[i(208)][i(276)](t[i(256)])||H.ViewElement,a=this[i(250)][i(254)][i(247)][i(243)];if(n=new o(s,t[i(264)],t[i(236)],r),"u"==t[i(256)]&&t[i(270)][0]){const r=t[i(270)][0];if(n[i(210)]=function(t){const e=i,s=t[e(227)](e(268));return s[e(229)]=r,s[e(253)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(218)](n);const e=Array[i(262)](a[i(222)](t,{bind:!1})),r=a[i(242)][i(227)](i(268));r[i(260)](...e),n=Array[i(262)](a[i(213)](r))[0]}}else if("r"==t[i(256)]&&t[i(270)][0]){const r=t[i(270)][0];if(n[i(210)]=function(t){t[i(229)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(218)](n);const e=Array[i(262)](a[i(222)](t,{bind:!1})),r=a[i(242)][i(227)](i(268));r[i(260)](...e);const o=Array[i(262)](a[i(213)](r));o[i(266)]>1?n[i(218)](o):n=o[0]}}if(t[i(239)])for(const[e,s]of t[i(239)])n[i(223)](e,s);const c=void 0===t[i(216)]?null:t[i(216)];return null!==c&&(n[i(269)]=()=>c),n}}[J(246)](t){const e=J,i=JSON[e(240)](t),s=this[e(250)][e(221)][e(204)][e(275)],n=new H.ViewDocumentFragment(s,i[e(203)]((t=>this[e(241)](t,!0))));return this[e(250)][e(254)][e(217)](n)}[J(212)](t){const e=J;return(t=t[e(219)]((t=>!t[e(264)]||e(257)!==t[e(264)]&&e(278)!==t[e(264)])))[e(251)]((t=>{const i=e;i(206)!=typeof t&&(t[i(270)]=this[i(212)](t[i(270)]),t[i(236)]=t[i(236)][i(219)]((t=>!t[0][i(271)](i(230)))))})),t}}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),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 E=(s=s??new Map).get(t),M=s.get(i);if(null!=E&&null!=M)return E===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}function rt(t,e){const i=at();return(rt=function(t,e){return i[t-=344]})(t,e)}const ot=rt;function at(){const t=["clone","$text","size","_idsRoots","version","baseVersion","setSource","isReady","_reset","addRevision","createRangeIn","tableCell","collaboration.channelId","resolve","licenseKey","_createFromRanges","elementEnd","text","element","htmlProcessor","_baseRootsAttributes","_lastTo","getUser","getTransformedByOperation","revision","getIndex","paragraph","source","_transformMarkers","stickiness","removeRootAttribute","position","_execute","getAncestors","attributesAfter","Initial revision","PendingActions","_baseIdsRoots","init","_baseRoots","repository","creatorId","currentRevision","isOfficialPlugin","_markers","sort","push","_licenseKeyCheckInterval","toVersion","_source","some","attributesBefore","update","RevisionTracker","getWalker","createRange","document","filter","howMany","getCurrentRevisionId","getData","revisionHistoryLicenseKeyUsageLimit","insertionPosition","_appendChild","targetPosition","_fixPosition","locale","_setAttribute","_copyMarkers","revision:","markers","range","_calculateMetaData","nodes","trialLimit","roots","values","then","isEqual","_getTypeCharForViewElement","createPositionAt","_markChanges","rawElement","saveRevision","toView","RevisionHistory","_handleRootAttributeOperation","createdAt","NEGATIVE_INFINITY","12946tUOLsw","attachChange","domainLimit","afterInit","addRevisionData","affectsData","_initialRevisionId","changeRootAttribute","getRevisions","authorsIds","initial","_fixOperation","set","_makeModelFromViewString","key","_isPendingUpdate","slice","userId","118946mcEwgt","getRoot","_update","clear","_applyOperations","5jEEVHx","destroy","_replaceEditorDataWithRevisionData","type","getRootNames","_saveMetaData","_getBaseVids","_handleMoveOperation","vid","end","_isAttached","find","keepParagraph","add","define","diffData","previousPosition","1706760CzdyQp","uiElement","_handleSplitOperation","_pendingAction","reinsert","offset","elementStart","shift","$comment","start","editor","createPositionAfter","detachRoot","offsetSize","has","revisionHistoryLicenseKeyDomainLimit","finally","isAdd","buildRevisionData","RevisionsRepository","max","invalid","createElement","reverse","414438VyDeLr","length","children","dataDowncast","553973oiBoGW","PENDING_ACTION_REVISION_HISTORY","_cloneOperation","initialData","revisionHistoryLicenseKeyInvalid","_getState","render","_revisionId","upcast","loadRevisionData","remove","_isInit","_startingRevisionId","dataToMarker","getOperations","_fixRange","adapter","_savedMetaData","parent","get","_revisionDataBuilder","conversion","marker","_startingVersion","getAttribute","insert","_addPendingAction","insertion","RevisionHistoryUtils","_lastFrom","usageLimit","insertions","_getFromVersion","_setConversion","_touchedRoots","_loadState","name","getAttributes","setRevisionData","move","_handleRootOperation","deletion","reInit","outerHTML","_diffRootsAttributes","stringify","revisionHistoryLicenseKeyExpired","getMovedRangeStart","_getPreviousFrom","item","editor-initial-data-replaced-with-revision-data","_clone","newRange","getFillerOffset","_findInsertionIndex","_removePendingAction","_handleOperation","isEnabled","_createCurrentRevision","bind","domDocument","newValue","revisionHistory.resumeUnsavedRevision","for","createPositionBefore","_operations","fillerOffset","isAttached","delete","split","8JvrxUt","Users","getRange","path","revisionHistoryLicenseKeyTrialLimit","map","merge","rootsAttributes","_generateTape","87YGHcBp","getNodeByPath","_touchedMarkers","expired","trim","keys","_getViewJson","vid_end","domConverter","_touched","RealTimeCollaborationClient","_insertChild","requires","featureNotAllowed","hasContent","markerToData","_loadedStateData","_makeRevision","getOperation","includes","creator","getChild","getCustomProperties","updateRevisions","$graveyard","_prepareViewToSave","evaluationLimit","_bufferedUpdates","graveyardPosition","customProperties","_createInitialRevision","getRevision","_removeMetaData","ready","from","data","vid_start","createRevision","_bufferUpdate","434348BmuOhj","Empty document","_handleMarkerOperation","sourcePosition","_showLicenseError","_authorId","sendBufferedUpdates","innerHTML","deletions","loadState","oldRange","_utils","config","_diffRoots","documentFragment","isPremiumPlugin","splitPosition","revisionHistoryLicenseKeyNotAllowed","_processRootBeforeSave","pluginName","_makeIdsRoot","revisionHistoryLicenseKeyValid","plugins","createPositionFromPath","addRootAttribute","addRoot","_handleMergeOperation","childCount","fromVersion","string","model","revisionHistoryLicenseKeyEvaluationLimit","getRevisionDocumentData","_continueCurrentRevision","_handleInsertOperation","_getVidAttributeName","getRevisionRootsAttributes","root","fromEntries","nodeAfter","history","getLatestVersion","startsWith","getChildren","606888WCICJR","rootName","authors","getTime"];return(at=function(){return t})()}!function(t){const e=rt,i=t();for(;;)try{if(108180===parseInt(e(378))/1+-parseInt(e(360))/2*(-parseInt(e(507))/3)+-parseInt(e(546))/4*(parseInt(e(383))/5)+parseInt(e(424))/6+-parseInt(e(428))/7*(-parseInt(e(498))/8)+-parseInt(e(590))/9+-parseInt(e(400))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends W.Plugin{[ot(608)];[ot(641)];[ot(636)]=null;[ot(634)];[ot(444)]=null;[ot(448)];[ot(643)];[ot(366)];[ot(534)];[ot(557)];[ot(403)];[ot(579)];[ot(451)];[ot(523)];static get[ot(565)](){return ot(647)}static get[ot(637)](){return!0}static get[ot(561)](){return!0}static get[ot(519)](){return[Z.Users,Y,X,W.PendingActions]}constructor(e){const i=ot;super(e),this[i(634)]=this[i(410)][i(568)][i(447)](i(419)),this[i(557)]=this[i(410)][i(568)][i(447)](i(456)),this[i(448)]=new ut(this[i(410)]),this[i(366)]=this[i(410)][i(558)][i(447)](i(606))||i(370),this[i(534)]=new Map,this[i(523)]=null;const s=(0,t.uid)();this[i(643)]={history:this[i(410)][i(576)][i(650)][i(586)],getLatestVersion:()=>Promise[i(607)](this[i(410)][i(576)][i(650)][i(598)]),getCurrentRevisionId:()=>s},this[i(372)](i(601),!1),this[i(372)](i(485),!0),this[i(372)](i(375),!1),this[i(410)][i(558)][i(397)](i(490),!0),this[i(410)][i(449)][i(491)](i(436))[i(441)]({view:i(618)})}[ot(632)](){const t=ot;this[t(461)](),this[t(410)][t(542)].on(t(540),(()=>{const e=t,i=this[e(634)][e(538)](0),s=i&&null===i[e(527)]?i:null;if(this[e(579)]=!!s&&this[e(410)][e(558)][e(447)](e(490)),this[e(410)][e(568)][e(414)](e(517))){const t=this[e(643)][e(653)](),n=this[e(634)][e(538)](t);if(n)this[e(451)]=n[e(574)],this[e(579)]=!1;else{const t=this[e(643)][e(586)][e(493)][e(394)]((t=>!t[e(439)])),n=t?t[e(599)]:this[e(643)][e(586)][e(598)];i?(i[e(642)]<n&&i[e(380)]({toVersion:n}),this[e(579)]?(this[e(643)][e(653)]=()=>s.id,this[e(451)]=s[e(574)]):(this[e(451)]=i[e(642)],this[e(579)]=!1)):(this[e(451)]=n,this[e(579)]=!1)}}else s&&(this[e(410)][e(576)][e(650)][e(586)][e(598)]=Math[e(420)](s[e(642)],this[e(410)][e(576)][e(650)][e(586)][e(598)]),s[e(574)]===s[e(642)]?(0!==s[e(574)]&&(this[e(643)][e(653)]=()=>s.id),this[e(579)]=!1):this[e(579)]&&(this[e(643)][e(653)]=()=>s.id,this[e(451)]=s[e(574)])),this[e(579)]||(this[e(451)]=this[e(410)][e(576)][e(650)][e(598)]);this[e(448)][e(632)](this[e(643)][e(586)]),this[e(537)](this[e(451)]),this[e(486)](this[e(451)]),this[e(444)]&&this[e(552)]()})),this[t(487)](t(601)).to(this,t(375),(t=>!t)),this[t(608)]=this[t(410)][t(558)][t(447)](t(608));const e=this[t(410)];this[t(641)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(567)==r||i(432)==r||i(474)==r||i(415)==r||i(563)==r||i(577)==r||i(502)==r||i(655)==r){delete e[n],s=r,clearInterval(this[i(641)]),this[i(641)]=void 0;break}}i(432)==s&&e[i(550)](i(421)),i(474)==s&&e[i(550)](i(510)),i(415)==s&&e[i(550)](i(362)),i(563)==s&&e[i(550)](i(520),i(356)),i(577)==s&&e[i(550)](i(533)),i(502)==s&&e[i(550)](i(345)),i(655)==s&&e[i(550)](i(458))}),1e3)}async[ot(363)](){const t=ot;if(this[t(634)][t(425)]>0){const e=this[t(634)][t(538)](0),i=await this[t(578)](e),s=await this[t(582)](e);this[t(385)](i,s)}}[ot(384)](){const t=ot;super[t(384)](),this[t(641)]&&clearInterval(this[t(641)])}[ot(600)](t){this[ot(643)]=t}async[ot(646)](){const t=ot,e=await this[t(643)][t(587)]();if(e>this[t(636)][t(642)]){await this[t(463)]();const i=this[t(418)]({revision:this[t(636)],to:e});i[t(592)]=i[t(369)][t(503)]((e=>this[t(410)][t(568)][t(447)](t(499))[t(616)](e))),this[t(636)][t(380)](i)}}async[ot(354)](e={},i=null){const s=ot,n=[];await this[s(463)](),this[s(579)]=!1,i>this[s(636)][s(642)]&&(i=null),null===i&&(i=await this[s(643)][s(587)]());const r=this[s(460)](i),o=this[s(418)]({from:r,to:i});if(this[s(636)][s(642)]<i){const t=this[s(418)]({revision:this[s(636)],from:i,to:i});t[s(592)]=[],t[s(369)]=[],t.id=this[s(636)].id,this[s(636)][s(380)](t,!0),delete t[s(592)],n[s(640)](t)}e[s(635)]=this[s(410)][s(568)][s(447)](s(499)).me.id,e[s(464)]=e[s(464)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(364)](e);n[s(640)](e);const c=this[s(634)][s(619)](a);if(0!==c){const t=this[s(634)][s(538)](c-1);if(t[s(574)]!==i){const r=this[s(448)][s(654)](i,t[s(642)]),o={id:t.id,diffData:r[s(398)],authorsIds:r[s(369)],authors:r[s(369)][s(503)]((t=>this[s(410)][s(568)][s(447)](s(499))[s(616)](t))),fromVersion:i};t===this[s(636)]&&(o[s(358)]=new Date(e[s(358)][s(593)]()+10)),t[s(380)](o,!0),delete o[s(592)],n[s(640)](o)}}if(this[s(444)]){for(const t of n)this[s(545)](t.id,t,!0);this[s(552)]()}return a}[ot(364)](t){const e=ot,i=this[e(634)][e(544)](t);return this[e(444)]&&i.on(e(380),((t,i,s)=>{const n=e;s||(this[n(545)](i.id,i,!0),this[n(552)]())})),this[e(634)][e(603)](i,this[e(482)](i)),i}async[ot(578)](t){const e=ot;return await this[e(557)][e(437)](t,this[e(444)]),this[e(557)][e(578)](t)}async[ot(582)](t){const e=ot;return await this[e(557)][e(437)](t,this[e(444)]),this[e(557)][e(582)](t)}[ot(552)](){const t=ot;if(0===this[t(534)][t(596)])return;if(this[t(375)])return;let e=Array[t(541)](this[t(534)][t(347)]());this[t(534)][t(381)]();for(let i=0;i<e[t(425)];i++){const s=e[i];let n=!1;for(const e of Object[t(512)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(651)]((t=>null!==t)),!e[t(425)])return;for(let i=0;i<e[t(425)];i++){const s=e[i];void 0!==s[t(574)]&&void 0===s[t(642)]&&(s[t(642)]=this[t(634)][t(538)](s.id)[t(642)]),void 0!==s[t(642)]&&void 0===s[t(574)]&&(s[t(574)]=this[t(634)][t(538)](s.id)[t(574)])}const i=this[t(410)][t(558)][t(447)](t(606));this[t(375)]=!0,this[t(454)](),this[t(444)][t(530)](e,i)[t(416)]((()=>{this[t(375)]=!1}))[t(348)]((e=>{const i=t;if(e)for(const t of e)this[i(466)]({id:t.id,createdAt:t[i(358)]});this[i(483)](),this[i(552)]()}))}[ot(418)]({revision:t=null,from:e=null,to:i=null}){const s=ot;e=null!==e?e:t[s(574)],i=null!==i?i:t[s(642)];const n=this[s(448)][s(654)](e,i),r={diffData:n[s(398)],authorsIds:n[s(369)],fromVersion:e,toVersion:i};if(!t||i!==t[s(642)]){const t=i-1,e=this[s(643)][s(586)][s(525)](t);r[s(358)]=e&&e[s(358)]||new Date}if(this[s(523)]&&e===this[s(523)][s(574)])for(const t of this[s(523)][s(592)])r[s(369)][s(526)](t.id)||r[s(369)][s(640)](t.id);return r}[ot(545)](t,e,i){const s=ot;if(this[s(534)][s(414)](t)){const n=this[s(534)][s(447)](t);e=i?{...n,...e}:{...e,...n}}this[s(534)][s(372)](t,e)}[ot(466)](t){const e=ot,i=this[e(634)][e(538)](t.id);if(t[e(358)]&&(t[e(358)]=new Date(t[e(358)])),t[e(369)]){const i=this[e(410)][e(568)][e(447)](e(499));t[e(592)]=t[e(369)][e(503)]((t=>i[e(616)](t)))}i[e(380)](t,!0)}[ot(537)](t){const e=ot,i=this[e(634)][e(538)](this[e(634)][e(425)]-1);if(i)this[e(366)]=i.id;else{const i=!this[e(410)][e(576)][e(650)][e(346)][e(394)]((t=>this[e(410)][e(576)][e(521)](t))),s=this[e(410)][e(568)][e(447)](e(499)).me.id,n=Q(this[e(410)][e(660)],e(i?547:629));this[e(524)]({from:t,to:t,id:this[e(366)],name:n,creatorId:s})}}[ot(486)](t){const e=ot,i=this[e(643)][e(653)]();this[e(636)]=this[e(634)][e(538)](i),this[e(636)]||(this[e(636)]=this[e(524)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ot(463)](){const t=ot;this[t(579)]&&!this[t(523)]&&(await this[t(557)][t(437)](this[t(636)],this[t(444)]),this[t(448)][t(555)](this[t(636)]),this[t(523)]={fromVersion:this[t(636)][t(574)],authors:this[t(636)][t(592)][t(376)]()})}[ot(385)](e,i){const s=ot;let n=this[s(410)][s(558)][s(447)](s(431)),r=this[s(410)][s(558)][s(447)](s(505));if(void 0===n){n={};for(const t of this[s(410)][s(576)][s(650)][s(387)]())n[t]=""}if(s(575)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(410)][s(576)][s(650)][s(387)]())r[t]={}}let o=!1;const a=Object[s(512)](n),c=Object[s(512)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(511)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(512)](r[t])[s(425)]>0){o=!0;break}}o||(o=c[s(644)]((t=>!this[s(410)][s(576)][s(650)][s(379)](t)))),o&&(0,t.logWarning)(s(478),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(410)][s(558)][s(372)](s(431),e),this[s(410)][s(558)][s(372)](s(505),i)}[ot(454)](){const t=ot;if(!this[t(403)]){const e=this[t(410)][t(568)][t(447)](t(630));this[t(403)]=e[t(396)](Q(this[t(410)][t(660)],t(429)))}}[ot(483)](){const t=ot;this[t(403)]&&(this[t(410)][t(568)][t(447)](t(630))[t(438)](this[t(403)]),this[t(403)]=null)}[ot(482)](t){const e=ot,i=this[e(634)][e(368)]();i[e(423)]();let s=0;for(;s<i[e(425)];){const n=i[s];if(n===this[e(636)]){s++;continue}if(n.id===this[e(366)])break;const r=t[e(642)]-n[e(642)]||t[e(574)]-n[e(574)];if(r>0)break;if(r<0)s++;else{if(!t[e(527)]&&n[e(527)])break;if(n[e(527)]||!t[e(527)]){if(t[e(358)]>n[e(358)])break;s++}else s++}}return s}[ot(460)](t){const e=ot,i=this[e(634)][e(368)]();i[e(423)](),i[e(407)]();const s=i[e(394)]((i=>i[e(642)]<=t))[e(642)];return s<this[e(451)]?this[e(451)]:s}[ot(524)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ot,o=this[r(418)]({from:e,to:i});o[r(464)]=t,o[r(635)]=s,o.id=n;const a=this[r(364)](o);return this[r(444)]&&this[r(545)](o.id,o,!0),a}[ot(461)](){const t=ot;this[t(410)][t(449)][t(491)](t(427))[t(522)]({model:t(618)})}}class ut{[ot(410)];[ot(621)];[ot(445)];[ot(457)];[ot(615)];[ot(638)];[ot(559)];[ot(472)];[ot(633)];[ot(614)];[ot(597)];[ot(631)];[ot(516)];[ot(509)];[ot(462)];[ot(435)];[ot(440)];constructor(t){const e=ot;this[e(410)]=t,this[e(445)]=new Map,this[e(457)]=-1,this[e(615)]=-1,this[e(638)]=new Map,this[e(559)]=new Map,this[e(472)]=new Map,this[e(633)]=new Map,this[e(614)]=new Map,this[e(597)]=new Map,this[e(631)]=new Map,this[e(516)]=new Map,this[e(509)]=new Map,this[e(462)]=new Map,this[e(435)]=1}[ot(632)](t){const e=ot;this[e(621)]=t;const i=new Map,s=new Map,n=this[e(410)][e(576)][e(650)][e(346)][e(503)]((t=>t[e(591)]));for(const t of n){const n=this[e(410)][e(576)][e(650)][e(379)](t),r=lt(n);i[e(372)](t,r),s[e(372)](t,Object[e(584)](n[e(465)]()))}const r=Array[e(541)](this[e(410)][e(576)][e(664)])[e(503)]((t=>[t[e(464)],t[e(500)]()])),o=this[e(621)][e(598)];this[e(388)](o,i,r,s),this[e(440)]=this[e(435)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(372)](t,i),c[e(372)](t,{})}this[e(388)](Number[e(359)],a,[],c)}[ot(654)](t,e){const i=ot;if(this[i(457)]===t&&this[i(615)]<=e)this[i(445)][i(596)]>1&&this[i(539)](this[i(615)]),this[i(382)](this[i(615)],e,!0);else{if(!this[i(445)][i(414)](t)){const e=this[i(476)](t);this[i(666)](e,t,!1)}this[i(666)](t,e,!0)}return this[i(457)]=t,this[i(615)]=e,this[i(433)]()}[ot(555)](t){const e=ot,i=this[e(410)][e(568)][e(447)](e(456));this[e(602)](),this[e(457)]=t[e(574)],this[e(615)]=t[e(642)];for(const s in t[e(398)]){const n=t[e(398)][s][e(361)],r=A(t[e(398)][s][e(645)])||{},o=i[e(373)](t[e(398)][s][e(554)]);o[e(591)]=s,o[e(393)]=!n||!n[e(495)],o[e(495)]=()=>o[e(393)],this[e(633)][e(372)](s,o),this[e(614)][e(372)](s,r),n&&this[e(462)][e(372)](s,n);const a=this[e(566)](o);this[e(631)][e(372)](s,a);for(const[t,i]of o[e(664)]){if(!t[e(588)](e(663)))continue;const s=t[e(497)](":")[2];for(const t of i[e(648)]({singleCharacters:!0})){const i=this[e(581)](t),n=e(610)==t[e(386)]?t[e(399)][e(501)][e(376)](0,-1):t[e(399)][e(501)],r=a[e(508)](n)[e(452)](i);this[e(516)][e(372)](r,{userId:s})}}}this[e(440)]=this[e(435)];const s=[...Array(this[e(435)])[e(512)]()][e(376)](1)[e(651)]((t=>!this[e(516)][e(414)](t)));let n=0;const r=new Map;for(const o in t[e(398)]){const a=t[e(398)][o][e(361)],c=A(t[e(398)][o][e(628)])||{},u=i[e(373)](t[e(398)][o][e(459)]);u[e(591)]=o,u[e(393)]=!a||a[e(495)],u[e(495)]=()=>u[e(393)],this[e(559)][e(372)](o,u),this[e(472)][e(372)](o,c);const l=this[e(566)](u,Number[e(359)]);this[e(597)][e(372)](o,l),r[e(372)](o,u[e(495)]()?c:{});for(const[t,i]of u[e(664)]){if(!t[e(588)](e(663)))continue;const s=t[e(497)](":")[2];for(const t of i[e(648)]({singleCharacters:!0})){const i=this[e(581)](t),n=this[e(435)]++,r=e(610)==t[e(386)]?t[e(399)][e(501)][e(376)](0,-1):t[e(399)][e(501)];l[e(508)](r)[e(661)](i,n),this[e(516)][e(372)](n,{userId:s})}}for(const t of this[e(410)][e(576)][e(604)](u)[e(648)]({singleCharacters:!0})){const i=this[e(581)](t),r=e(610)==t[e(386)]?t[e(399)][e(501)][e(376)](0,-1):t[e(399)][e(501)],o=l[e(508)](r);o[e(452)](i)>0||o[e(661)](i,s[n++])}for(const[t,i]of u[e(664)])t[e(588)](e(663))||this[e(638)][e(372)](t,i)}const o=ht(e(531));this[e(633)][e(372)](e(531),o),this[e(631)][e(372)](e(531),this[e(566)](o,1));const a=ht(e(531));this[e(559)][e(372)](e(531),a),this[e(597)][e(372)](e(531),this[e(566)](a,1));const c=Array[e(541)](this[e(559)])[e(503)]((([t,e])=>[t,lt(e)]));this[e(388)](this[e(615)],c,this[e(638)],r)}[ot(470)](){const t=ot;this[t(602)](),this[t(457)]=-1,this[t(615)]=-1,this[t(445)][t(381)](),this[t(632)](this[t(621)])}[ot(388)](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(372)](t,{start:e[n(409)][n(594)](),end:e[n(392)][n(594)](),rootName:e[n(583)][n(591)]});this[n(445)][n(372)](t,{roots:r,markers:a,rootsAttributes:o})}[ot(539)](t){const e=ot;this[e(445)][e(496)](t)}[ot(602)](){const t=ot;this[t(516)][t(381)](),this[t(509)][t(381)](),this[t(462)][t(381)](),this[t(559)][t(381)](),this[t(472)][t(381)](),this[t(633)][t(381)](),this[t(614)][t(381)](),this[t(597)][t(381)](),this[t(631)][t(381)](),this[t(638)][t(381)](),this[t(435)]=1,this[t(440)]=this[t(435)]}[ot(566)](t,e=null){const i=ot;let s=null;t.is(i(560))||(s=new H.Element(t[i(464)],{vid_start:null===e?this[i(435)]++:e++}));const n=[];for(const s of t[i(589)]())if(s.is(i(612))){n[i(640)](this[i(566)](s,e));const t=n[n[i(425)]-1];null!==e&&(e=t.is(i(612),i(595))?t[i(452)](i(391))+1:t[i(452)](i(514))+1)}else for(let t=0;t<s[i(413)];t++)n[i(640)](new H.Element(i(595),{vid:null===e?this[i(435)]++:e++}));if(t.is(i(560))){const e=ht(t[i(591)]);return e[i(518)](0,n),e}return s[i(661)](i(514),null===e?this[i(435)]++:e++),s[i(518)](0,n),s}[ot(666)](t,e,i){const s=ot;this[s(602)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(445)][s(447)](t);this[s(633)]=new Map(n),this[s(614)]=new Map(A(o));for(const[t,e]of this[s(633)])if(s(531)!==t&&(this[s(559)][s(372)](t,lt(e)),this[s(472)]=new Map(A(o)),i)){const i=this[s(435)];this[s(597)][s(372)](t,this[s(566)](e)),this[s(631)][s(372)](t,this[s(566)](e,i))}this[s(440)]=this[s(435)],this[s(559)][s(372)](s(531),lt(this[s(633)][s(447)](s(531)))),i&&this[s(597)][s(372)](s(531),this[s(566)](this[s(633)][s(447)](s(531))));for(const[t,e]of r){const i=this[s(633)][s(447)](e[s(591)]),n=this[s(559)][s(447)](e[s(591)]),r=new H.Range(this[s(659)](e[s(409)],i),this[s(659)](e[s(392)],i)),o=this[s(443)](r,n);i[s(664)][s(372)](t,r),this[s(638)][s(372)](t,o)}this[s(382)](t,e,i)}[ot(382)](t,e,i){const s=ot;for(const n of this[s(621)][s(442)](t,e))this[s(484)](n,i);for(const t of this[s(559)][s(347)]())t[s(664)][s(381)]();for(const[t,e]of this[s(638)])this[s(559)][s(447)](e[s(583)][s(591)])[s(664)][s(372)](t,e[s(594)]());const n=new Map,r=new Map;for(const[t,e]of this[s(559)])n[s(372)](t,lt(e)),r[s(372)](t,this[s(472)][s(447)](t));this[s(388)](e,n,this[s(638)],r)}[ot(476)](t){const e=ot,i=Array[e(541)](this[e(445)][e(512)]());i[e(639)](((t,e)=>t-e)),i[e(423)]();for(const e of i)if(e<t)return e;return Number[e(359)]}[ot(662)](t,e){const i=ot,s=Array[i(541)](e[i(664)])[i(503)]((([e,s])=>[e,this[i(443)](s,t)]));t[i(664)]=new Map(s)}[ot(622)](t){const e=ot;for(const i of this[e(638)][e(347)]()){const s=i[e(617)](t),n=H.Range[e(609)](s);i[e(409)]=n[e(409)],i[e(392)]=n[e(392)]}}[ot(484)](t,e){const i=ot;if(i(571)!=t[i(386)]&&i(412)!=t[i(386)]){if(i(453)==t[i(386)]){const s=t[i(625)][i(583)][i(591)];this[i(559)][i(414)](s)||(this[i(559)][i(372)](s,ht(s,!0)),this[i(472)][i(372)](s,{}),e&&this[i(597)][i(372)](s,ht(s,!0)))}else{if(i(570)==t[i(386)]||i(624)==t[i(386)]||i(367)==t[i(386)])return void this[i(357)](t);i(450)==t[i(386)]&&this[i(548)](t)}if(i(450)!==t[i(386)]){const e=this[i(430)](t,this[i(559)]);e[i(626)](),this[i(622)](e)}if(e)switch(t[i(386)]){case i(453):this[i(580)](t);break;case i(467):case i(438):case i(404):this[i(390)](t);break;case i(504):this[i(572)](t);break;case i(497):this[i(402)](t)}}else this[i(468)](t,e)}[ot(430)](t,e){const i=ot,s=t[i(594)]();return s[i(551)]=t[i(551)],this[i(371)](s,e),s}[ot(389)](t){const e=ot;return t[e(503)]((t=>{const i=e,s=this[i(581)](t);return Number(t[i(477)][i(452)](s))}))}[ot(506)](t,e){const i=ot;if(t.is(i(612),i(595)))e[i(640)]({item:t,type:i(611)});else{t.is(i(612))&&e[i(640)]({item:t,type:i(406)});for(const s of t[i(589)]())this[i(506)](s,e);t.is(i(612))&&e[i(640)]({item:t,type:i(610)})}return e}[ot(433)](){const t=ot,e=new Map(this[t(516)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(633)][t(512)](),...this[t(559)][t(512)]()]);a[t(496)](t(531));for(const e of a){const i=this[t(559)][t(447)](e)||ht(e,!1),s=this[t(633)][t(447)](e)||ht(e,!1);i[t(495)]()||s[t(495)]()?(n[t(459)][e]=lt(i),n[t(554)][e]=lt(s),this[t(662)](n[t(554)][e],s),this[t(662)](n[t(459)][e],i),r[t(459)][e]=this[t(506)](this[t(597)][t(447)](e),[]),r[t(554)][e]=this[t(506)](this[t(631)][t(447)](e)||ht(e,!1),[])):a[t(496)](e)}for(const n of a){const o=r[t(459)][n];for(const n of o){const r=this[t(581)](n),o=n[t(477)][t(452)](r);i[t(496)](o),o>=this[t(440)]&&s[t(372)](o,e[t(447)](o))}}for(const n of a){const a=r[t(459)][n],c=this[t(389)](r[t(554)][n]);let u=0;for(const n of a){const r=this[t(581)](n),a=n[t(477)][t(452)](r);if(!s[t(414)](a)&&!o[t(414)](a))if(i[t(414)](a))u++;else{if(a!=c[u]){const s=e[t(447)](a)||e[t(447)](c[u]);for(;a!=c[u];)i[t(414)](c[u])||(o[t(372)](c[u],s),e[t(372)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(459)][e];for(const e of n){const n=this[t(581)](e),r=e[t(477)][t(452)](n);if(o[t(414)](r)){const e=o[t(447)](r);i[t(414)](r)||i[t(372)](r,{...e}),s[t(372)](r,{...e})}}}for(const e of i[t(512)]())e>=this[t(440)]&&i[t(496)](e);const c=new Map;for(const e of a){let n=r[t(459)][e];for(const e of n)if(e[t(477)].is(t(612),t(605))){const i=this[t(581)](e),n=e[t(477)][t(452)](i);if(s[t(414)](n)){const i=e[t(477)][t(446)][t(446)][t(452)](t(543)),r=c[t(447)](i)||new Set;r[t(396)](s[t(447)](n)[t(377)]),c[t(372)](i,r)}}n=r[t(554)][e];for(const e of n)if(e[t(477)].is(t(612),t(605))){const s=this[t(581)](e),n=e[t(477)][t(452)](s);if(i[t(414)](n)){const s=e[t(477)][t(446)][t(446)][t(452)](t(543)),r=c[t(447)](s)||new Set;r[t(396)](i[t(447)](n)[t(377)]),c[t(372)](s,r)}}for(const e of c[t(512)]())(s[t(414)](e)||i[t(414)](e))&&c[t(496)](e)}for(const e of a){const n=r[t(459)][e];let o=null,a=null;for(const e of n){const n=this[t(581)](e),r=e[t(477)][t(452)](n),u=c[t(447)](r);u&&t(406)==e[t(386)]&&(o=Array[t(541)](u)[0],a=e[t(477)][t(452)](t(514))),o&&(i[t(372)](r,{userId:o}),s[t(372)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(554)][e],a=n[t(459)][e];for(const{userId:e}of this[t(509)][t(347)]())null!==e&&l[t(396)](e);for(const{userId:e}of this[t(462)][t(347)]())null!==e&&l[t(396)](e);this[t(352)](a,r[t(459)][e],s,t(455),l),this[t(352)](o,r[t(554)][e],i,t(469),l),u[e]={insertions:this[t(532)](a),deletions:this[t(532)](o),attachChange:this[t(462)][t(447)](e)||null,attributesBefore:A(this[t(614)][t(447)](e))||{},attributesAfter:A(this[t(472)][t(447)](e))}}return{diffData:u,authorsIds:Array[t(541)](l)}}[ot(564)](t){const e=ot;for(const[,i]of t[e(664)]){const t=i[e(409)][e(627)]()[e(651)]((t=>e(605)==t[e(464)]));for(const i of t)1==i[e(573)]&&i[e(528)](0).is(e(612),e(620))&&i[e(528)](0)[e(661)](e(395),!0)}}[ot(532)](t){const e=ot;this[e(564)](t);const i=this[e(410)][e(542)][e(355)](t,{}),s=Array[e(541)](i[e(589)]())[e(503)]((t=>this[e(513)](t)));return JSON[e(473)](s)}[ot(513)](t){const e=ot;if(t.is(e(595)))return t[e(542)];{const i=this[e(410)][e(568)][e(447)](e(456)),s=t,n=this[e(410)][e(542)][e(613)][e(515)],r={type:i[e(350)](s),name:s[e(464)],attributes:Array[e(541)](s[e(465)]()),children:Array[e(541)](s[e(589)]())[e(503)]((t=>this[e(513)](t)))};if(t.is(e(401))&&e(408)!=t[e(464)]){const i=t[e(434)](n[e(488)],n);r[e(426)][e(640)](i[e(471)])}else if(t.is(e(353))){const i=n[e(488)][e(422)](s[e(464)]);t[e(434)](i,n),r[e(426)][e(640)](i[e(553)])}const o=Array[e(541)](s[e(529)]());o[e(425)]>0&&(r[e(536)]=o);const a=s[e(481)]();return null!==a&&(r[e(494)]=a),r}}[ot(352)](t,e,i,s,n){const r=ot;let o=null,a=null,c=0;const u=this[r(410)][r(576)];for(let s=0;s<e[r(425)];s++){const n=this[r(581)](e[s]),c=e[s][r(477)][r(452)](n),h=i[r(447)](c),d=s==e[r(425)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(377)]!=o[r(377)])&&(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(377)],d=l(663)+s+":"+h+":"+c++,f=u[l(649)](i,a);t[l(664)][l(372)](d,f),null!==h&&n[l(396)](h)}}[ot(581)](t){const e=ot;switch(t[e(386)]){case e(406):return e(543);case e(610):return e(514);default:return e(391)}}[ot(371)](t,e){const i=ot;t[i(599)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(447)](n[i(583)][i(591)]);t[s]=this[i(659)](n,r)}if(n instanceof H.Range){const r=e[i(447)](n[i(583)][i(591)]);t[s]=this[i(443)](n,r)}i(583)===s&&(t[i(583)]=e[i(447)](t[i(583)][i(591)]))}}[ot(443)](t,e){const i=ot;return this[i(410)][i(576)][i(649)](this[i(659)](t[i(409)],e),this[i(659)](t[i(392)],e))}[ot(659)](t,e){const i=ot;return this[i(410)][i(576)][i(569)](e,t[i(501)],t[i(623)])}[ot(580)](t){const e=ot,i=this[e(597)][e(447)](t[e(625)][e(583)][e(591)]),s=this[e(659)](t[e(625)],i),n=null===t[e(551)]?null:t[e(551)]||this[e(410)][e(568)][e(447)](e(499)).me.id,r=s[e(446)],o=this[e(435)],a=[];for(const i of t[e(344)])if(i.is(e(612)))a[e(640)](this[e(566)](i));else for(let t=0;t<i[e(413)];t++)a[e(640)](new H.Element(e(595),{vid:this[e(435)]++}));const c=this[e(435)];for(let t=o;t<c;t++)this[e(516)][e(372)](t,{userId:n});r[e(518)](s[e(405)],a)}[ot(390)](t){const e=ot;(t=this[e(430)](t,this[e(597)]))[e(626)]();const i=null===t[e(551)]?null:t[e(551)]||this[e(410)][e(568)][e(447)](e(499)).me.id,s=t[e(475)](),n=s[e(446)],r=s[e(405)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(528)](e);r.is(a(612),a(595))?s[a(372)](r[a(452)](a(391)),{userId:i}):(s[a(372)](r[a(452)](a(543)),{userId:i}),t(s,r,0,r[a(573)]),s[a(372)](r[a(452)](a(514)),{userId:i}))}}(this[e(516)],n,r,r+t[e(652)])}[ot(572)](t){const e=ot,i=null===(t=this[e(430)](t,this[e(597)]))[e(551)]?null:t[e(551)]||this[e(410)][e(568)][e(447)](e(499)).me.id,s=t[e(658)][e(446)],n=t[e(549)][e(446)],r=s[e(452)](e(514)),o=n[e(452)](e(543));s[e(661)](e(514),n[e(452)](e(514))),n[e(661)](e(514),r),this[e(516)][e(372)](o,{userId:i}),this[e(516)][e(372)](r,{userId:i}),t[e(626)]()}[ot(402)](t){const e=ot,i=null===(t=this[e(430)](t,this[e(597)]))[e(551)]?null:t[e(551)]||this[e(410)][e(568)][e(447)](e(499)).me.id,s=t[e(535)],n=t[e(562)][e(446)];t[e(626)]();const r=n[e(452)](e(514)),o=t[e(656)][e(585)];if(s){const t=o[e(452)](e(514)),s=n[e(452)](e(514));n[e(661)](e(514),t),o[e(661)](e(514),s),this[e(516)][e(372)](n[e(452)](e(514)),{userId:i}),this[e(516)][e(372)](o[e(452)](e(543)),{userId:i})}else{const t=this[e(435)]++,s=this[e(435)]++;n[e(661)](e(514),t),o[e(661)](e(543),s),o[e(661)](e(514),r),this[e(516)][e(372)](t,{userId:i}),this[e(516)][e(372)](s,{userId:i})}}[ot(548)](t){const e=ot;if(!t[e(365)])return;const i=(t=this[e(430)](t,this[e(559)]))[e(556)]?t[e(556)][e(583)]:null,s=t[e(480)]?t[e(480)][e(583)]:null;i&&this[e(638)][e(496)](t[e(464)]),s&&this[e(638)][e(372)](t[e(464)],t[e(480)][e(594)]());const n=null===t[e(551)]?null:t[e(551)]||this[e(410)][e(568)][e(447)](e(499)).me.id,r=t[e(464)];if(!this[e(509)][e(414)](r))return void this[e(509)][e(372)](r,{range:t[e(556)],userId:n});const o=this[e(509)][e(447)](r),a=o[e(665)],c=t[e(480)];null==a&&null==c||a&&c&&a[e(349)](c)?this[e(509)][e(496)](t[e(464)]):o[e(377)]=n}[ot(468)](t,e){const i=ot;this[i(559)][i(414)](t[i(591)])?this[i(559)][i(447)](t[i(591)])[i(393)]=t[i(417)]:(this[i(559)][i(372)](t[i(591)],ht(t[i(591)],!0)),this[i(472)][i(372)](t[i(591)],{}),e&&this[i(597)][i(372)](t[i(591)],ht(t[i(591)],!0)));const s=null===t[i(551)]?null:t[i(551)]||this[i(410)][i(568)][i(447)](i(499)).me.id,n=this[i(462)][i(447)](t[i(591)]);n&&n[i(377)]===s?this[i(462)][i(496)](t[i(591)]):this[i(462)][i(372)](t[i(591)],{userId:s,isAttached:t[i(417)]})}[ot(357)](t){const e=ot,i=this[e(472)][e(447)](t[e(583)][e(591)]);null===t[e(489)]?delete i[t[e(374)]]:i[t[e(374)]]=t[e(489)]}}function lt(t){const e=ot,i=ht(t[e(591)],t[e(495)]());for(const s of t[e(589)]()){const t=s[e(479)](!0);i[e(657)](t)}return i}function ht(t,e=!0){const i=ot,s=new H.DocumentFragment;return s[i(591)]=t,s[i(393)]=e,s[i(495)]=()=>s[i(393)],s}function dt(t,e,i){const s=ot,n=s(610)==t[s(386)]?i[s(351)](t[s(477)],s(392)):i[s(492)](t[s(477)]);return i[s(569)](e,n[s(501)],n[s(623)])}function ft(t,e,i){const s=ot,n=s(406)==t[s(386)]?i[s(351)](t[s(477)],0):i[s(411)](t[s(477)]);return i[s(569)](e,n[s(501)],n[s(623)])}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=Et;function Vt(){const t=["arrowleft","12985NMBAdd","revisionNameInputValue","4nMIAkq","arrowright","setTemplate","focus","_createRevisionNameInput","671XqJExG","extendTemplate","revisionName","listenTo","363249frKXoi","4240ByJVeP","render","14094ramhfU","532428mkmluU","2120XzhWpm","fieldView","input","locale","focusTracker","add","trim","7721ECNnkU","4mwtlHn","optional","220","set","element","label","714yOykaS","errorText","ck-revision-history-save-revision-form","reset","form","stopPropagation","6413927GAbOif","arrowup","value","arrowdown","revisionNameInputView","keystrokes","ck-responsive-form","Name of the revision","118188ReYJZM"];return(Vt=function(){return t})()}function Et(t,e){const i=Vt();return(Et=function(t,e){return i[t-=127]})(t,e)}!function(t){const e=Et,i=t();for(;;)try{if(588961===parseInt(e(168))/1*(-parseInt(e(159))/2)+parseInt(e(155))/3*(-parseInt(e(146))/4)+parseInt(e(144))/5*(parseInt(e(128))/6)+parseInt(e(167))/7*(-parseInt(e(160))/8)+parseInt(e(158))/9*(parseInt(e(156))/10)+-parseInt(e(151))/11*(-parseInt(e(142))/12)+parseInt(e(134))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Mt extends pt.View{[At(164)];[At(139)];[At(138)];constructor(e,i){const s=At;super(e),this[s(164)]=new t.FocusTracker,this[s(139)]=new t.KeystrokeHandler,this[s(171)](s(145),""),this[s(138)]=this[s(150)](i),this[s(148)]({tag:s(132),attributes:{class:["ck",s(130),s(140)],tabindex:"-1"},children:[this[s(138)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(157)](){const t=At;super[t(157)](),(0,pt.submitHandler)({view:this}),this[t(164)][t(165)](this[t(138)][t(172)]),this[t(139)][t(154)](this[t(172)]);const e=e=>e[t(133)]();this[t(139)][t(171)](t(147),e),this[t(139)][t(171)](t(143),e),this[t(139)][t(171)](t(135),e),this[t(139)][t(171)](t(137),e)}[At(149)](){const t=At;this[t(138)][t(149)]()}get[At(153)](){const t=At;return this[t(138)][t(161)][t(172)][t(136)][t(166)]()}set[At(153)](t){const e=At;this[e(138)][e(161)][e(172)][e(136)]=t[e(166)]()}[At(131)](){const t=At;this[t(138)][t(161)][t(172)][t(136)]="",this[t(138)][t(129)]=null}[At(150)](t){const e=At,i=new pt.LabeledFieldView(this[e(163)],pt.createLabeledInputText),s=i[e(161)];s[e(152)]({attributes:{maxlength:e(170)}});let n=Q(this[e(163)],e(141));return!t&&(n+=" ("+Q(this[e(163)],e(169))+")"),i[e(127)]=n,s.on(e(162),(()=>{const t=e;this[t(145)]=s[t(172)][t(136)][t(166)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=466]})(t,e)}function Ft(){const t=["reset","role","hide","pluginName","638376NMDvSY","set","panelView","Open revision history","isOpen","add","saveRevision","showRevisionViewerCallback","locale","isEnabled","3261150gphvFU","Save current revision","editing","215466pOCkYL","init","Dialog","menuitem","menuBar:revisionHistory","delegate","view","isReadOnly","revisionName","plugins","children","errorText","_createSaveRevisionFormView","config","submit","render","The revision name cannot be empty.","ck-button-action","revisionSave","componentFactory","buttonView","revisionHistory","bind","_saveRevisionFormView","Cancel","isOfficialPlugin","_showDialog","Accept","Revision history","get","RevisionTracker","156854FivZoa","editor","42rNQMim","revisionHistory.requireRevisionName","2132104XricYr","isPremiumPlugin","revisionNameInputView","execute","isReady","requires","_registerMenuComponent","1059192udtQPC","addMany","22746420XSIeNO","4VTSsrc","RevisionHistoryUI","menu","focus","show","items"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(539683===parseInt(e(498))/1*(-parseInt(e(512))/2)+-parseInt(e(509))/3+-parseInt(e(502))/4+-parseInt(e(532))/5+parseInt(e(467))/6*(-parseInt(e(500))/7)+parseInt(e(522))/8+parseInt(e(511))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends W.Plugin{static get[Dt(521)](){return Dt(513)}static get[Dt(492)](){return!0}static get[Dt(503)](){return!0}static get[Dt(507)](){return[ct]}[Dt(490)];[Dt(468)](){const t=Dt,e=this[t(499)],i=e[t(476)][t(496)](t(497));e.ui[t(486)][t(527)](t(488),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(524)][n(477)],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(489)](n(531)).to(i,n(506),i,n(531),e,n(474),((t,e,i)=>t&&e&&!i)),r[n(487)][n(523)]({icon:mt.IconHistory,label:Q(s,n(495)),tooltip:!0}),u[n(523)]({label:Q(s,n(533)),withText:!0,role:n(470)}),u[n(489)](n(531)).to(i,n(506),i,n(531),e,n(474),((t,e,i)=>t&&e&&!i)),u.on(n(505),(()=>this[n(493)]())),h[n(523)]({label:Q(s,n(525)),withText:!0,role:n(470)}),h[n(489)](n(531)).to(i,n(506),e,n(474),((t,e)=>t&&!e)),h.on(n(505),(()=>{const t=n;e[t(480)][t(496)](t(488))[t(529)](),r[t(526)]=!1,e[t(466)][t(473)][t(515)]()})),c[n(477)][n(527)](u),l[n(477)][n(527)](h),a[n(519)]=n(514),a[n(517)][n(510)]([c,l]),o[n(527)](a),r})),e.ui[t(486)][t(527)](t(471),(()=>this[t(508)]()))}[Dt(508)](){const t=Dt,e=this[t(499)],i=e[t(530)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(487)][t(523)]({icon:mt.IconHistory,label:Q(i,t(495))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(523)]({label:Q(i,t(533))}),o[t(472)](t(505)).to(s),o.on(t(505),(()=>{this[t(493)]()})),r[t(477)][t(527)](o),n[t(517)][t(527)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(523)]({label:Q(i,t(525))}),c[t(472)](t(505)).to(s),c.on(t(505),(()=>{const i=t;e[i(480)][i(496)](i(488))[i(529)]()})),a[t(477)][t(527)](c),n[t(517)][t(527)](a),s[t(524)][t(477)][t(527)](n),s}[Dt(493)](){const t=Dt,e=this[t(499)],i=e[t(530)],s=e[t(476)][t(496)](t(469)),n=e[t(476)][t(496)](t(497));function r(n){const r=t;e[r(480)][r(496)](r(501))&&""===n[r(475)]?n[r(504)][r(478)]=Q(i,r(483)):(e[r(476)][r(496)](ct)[r(528)]({name:n[r(475)]}),s[r(520)]())}this[t(490)]||(this[t(479)](),this[t(490)].on(t(481),(()=>r(this[t(490)])))),this[t(490)][t(518)](),s[t(516)]({id:t(485),title:Q(i,t(533)),isModal:!0,content:this[t(490)],actionButtons:[{label:Q(e[t(530)],t(491)),withText:!0,onExecute:()=>s[t(520)]()},{label:Q(e[t(530)],t(494)),class:t(484),withText:!0,onCreate(i){const s=t;i[s(489)](s(531)).to(n,s(506),n,s(531),e,s(474),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(490)])}]})}[Dt(479)](){const t=Dt,e=this[t(499)],i=e[t(530)];this[t(490)]=new Mt(i,e[t(480)][t(496)](t(501))),this[t(490)][t(482)]()}}const Pt=zt;function jt(){const t=["Added by","name","5LbnYNp","_model","span","isSuggestion","div","setTemplate","ck-revision-change__","ck-annotation","ck-revision-change__label","3EvAZMy","Removed by","add","data","20786BPEYNt","author","element","2133516wCFPTU","changeId","Suggested by","100tfXYWm","focus","209889pHKeat","18851zowUUH","set","type","260115ObTiOh","bindTemplate","1131476KNzYEj","66SKTVxF","406312JYSBLw","ck-revision-change"];return(jt=function(){return t})()}function zt(t,e){const i=jt();return(zt=function(t,e){return i[t-=364]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(169183===-parseInt(e(387))/1*(-parseInt(e(391))/2)+-parseInt(e(370))/3+-parseInt(e(372))/4*(parseInt(e(378))/5)+parseInt(e(373))/6*(parseInt(e(367))/7)+parseInt(e(374))/8+parseInt(e(366))/9*(parseInt(e(364))/10)+parseInt(e(394))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class Ut extends pt.View{[Pt(395)];[Pt(379)];constructor(t,e){const i=Pt;super(t),this[i(379)]=e,this[i(395)]=e.id;const s=this[i(371)],n=Q(t,e[i(390)][i(381)]?i(396):i(389)==e[i(369)]?i(376):i(388));this[i(368)](i(369),e[i(369)]),this[i(383)]({tag:i(382),attributes:{class:[i(385),i(375),s.to(i(369),(t=>i(384)+t))],tabindex:-1},children:[{tag:i(380),children:[{tag:i(380),attributes:{class:[i(386)]},children:[{text:n}]},{text:" "+e[i(392)][i(377)]}]}]})}[Pt(365)](){const t=Pt;this[t(393)][t(365)]()}}var Wt=Zt;function Zt(t,e){var i=$t();return(Zt=function(t,e){return i[t-=343]})(t,e)}!function(t){for(var e=Zt,i=t();;)try{if(385040===parseInt(e(343))/1+parseInt(e(352))/2*(-parseInt(e(349))/3)+parseInt(e(357))/4*(parseInt(e(359))/5)+-parseInt(e(348))/6+-parseInt(e(350))/7+-parseInt(e(358))/8*(parseInt(e(346))/9)+parseInt(e(356))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Ht extends((0,t.ObservableMixin)()){id;[Wt(351)];[Wt(347)];[Wt(354)];[Wt(353)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(351)]=e[i(351)],this[i(347)]=e[i(347)],this[i(354)]=e[i(354)]||{},this[i(353)]=e[i(353)],this[i(344)](i(355),e[i(355)])}[Wt(345)](){var t=Wt;return{id:this.id,authorId:this[t(351)].id,type:this[t(347)],data:this[t(354)],createdAt:this[t(355)]}}}function $t(){var t=["author","4SBNMRq","rootName","data","createdAt","5483190GGBFEn","292daaHqf","5584vYzihX","46295ngnyjc","178642HcMVPT","set","toJSON","549HHXiKB","type","2060232eZiqdk","879996lLCCKj","316498KEdUEG"];return($t=function(){return t})()}const Bt=qt;function qt(t,e){const i=Yt();return(qt=function(t,e){return i[t-=154]})(t,e)}function Yt(){const t=["330tLwzEW","1484868KtOKEs","changes","197065LTVxFm","493409noDeTd","491539XlUDuO","add","newRevisionId","8kNgObz","19638LOwfPx","1737846gSVJzi","1207588gAIEGo","_setChanges","oldRevisionId","3bnKpuL","220yfrrKM"];return(Yt=function(){return t})()}!function(t){const e=qt,i=t();for(;;)try{if(310828===-parseInt(e(166))/1+-parseInt(e(156))/2*(-parseInt(e(159))/3)+-parseInt(e(162))/4+parseInt(e(160))/5*(-parseInt(e(154))/6)+-parseInt(e(165))/7*(parseInt(e(169))/8)+parseInt(e(155))/9+parseInt(e(161))/10*(parseInt(e(164))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[Bt(168)];[Bt(158)];[Bt(163)];constructor(e,i){const s=Bt;this[s(168)]=e,this[s(158)]=i,this[s(163)]=new t.Collection}[Bt(157)](t){const e=Bt;for(const i of t)this[e(163)][e(167)](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;function Xt(){const t=["roots","attributesAfter","_utils","startIndex","getCustomProperty","isAttached","markerToHighlight","isSuggestion","done","high","markerName","addHighlight","first","execute","changeId","getRevisionRootsAttributes","includes","revision-suggestion:","WidgetToolbarRepository","change:activeView","_setConversion","isIncorrect","suggestion:","activeChange","softBreak","getAttribute","object","_removeUnsupportedChanges","_markMarkers","detachRoot","sort","data","right","document","reconvertMarker","commands","hasClass","getRevision","vid_start","insertions","RevisionHistoryUtils","getAttributes","elementToAttribute","activeView","showPreviousChange","addMarker:revision-suggestion:insertion","concat","hasAttribute","consume","config","length","push","change:isEnabled","addMarker:revision-suggestion:deletion","ck-revision-history-root--active","top","bindElementToMarker","slice","splice","markerToData","deletion","map","isContent","filter","uiElement","vid_end","compare","getLaterVisibleRevision","has","indexOf","element:pre","ck-editor__editable__overlay","endIndex","addRoot","_activeViewTarget","_balloon","left","restoreRevisionCallback","isOnRoot","isRemoved","highest","find","then","isEqual","index","createPositionFromPath","code","-new","161108nEuwgE","repository","_update","_threeWayMerge","isPremiumPlugin","span","domEvent","isAfter","return","getDomRoot","revisionHistory","resolve","showStack","restoreRevision","authors","side","item","addClass","change:numberOfChanges","ck-suggestion-preview-marker","_step","comment","_getDiff","remove","removeAttribute","getIndex","checkAttribute","isOfficialPlugin","isAtEnd","flat","_getViewForChange","diff","_getRevisionsRange","conversion","_setDistance","getRootNames","split","revision-comment:","attributes","delete","removeMarker","insertion","getItems","modelRange","_processTape","getRoot","createRange","isBlock","isCollapsed","setAttribute","_makeModelFromViewString","from","getChild","createAttributeElement","offsetSize","element","start","type","revisionHistoryAttachChange","text","pluginName","deletions","findIndex","updatePosition","isNavigationMode","_revisions","isRemoveSuggestion","ck-suggestion-marker-","plugins","change:isReady","change:activeChange","model","_appendChild","getWalker","isAddSuggestion","for","addRevision","_sortAndFilterDiffChanges","unshift","4Rrvnwq","createPositionBefore","isObject","writer","consumable","_getChangeFromId","_markInsertions","forEach","3016448FRqNuK","dataToMarker","toViewPosition","schema","selection","elementStart","removeMarker:revision-suggestion","domConverter","mapper","RevisionViewer","range","view","ck-revision-history-root-remove","pairId","requires","catch","enableReadOnlyMode","_cleanMarkers","add","isAdded","userId","maxOffset","createRevision","newRevisionId","revision-suggestion","addRevisionData","ck-suggestion-marker-merge","low","numberOfChanges","_refreshStartEndIndex","oldRevisionId","end","ck-revision-history-root-add","shift","_findChangeIdFromDomTarget","isReady","keys","_fixObsoleteTags","merge","markersStart","refresh","nextPosition","suggestion","set","currentChangeNumber","attribute:vid","_changeView","1763000VDEuDC","loadRevisionData","insert","level","removeClass","1344136DGkmlQ","RevisionsRepository","stop","mapViewToDom","POSITIVE_INFINITY","revisionHistoryLabel","get","test","markerRange","getRevisionDocumentData","distance","revision:","parent","isEnabled","removeMarker:revision","1422lfUZrY","forward","enqueueChange","clear","toViewElement","forceDisabled","init","mouseover","data-change-id","attributesBefore","_removeMissingPairs","ck-suggestion-marker-split","elementEnd","upcast","editingDowncast","_cleanUp","_changeIdToChange","listenTo","bind","markerNameToElements","973767WVMTvB","affectsData","_makeTape","editing","rootName","ck-suggestion-marker--active","toViewRange","isBefore","ck-suggestion-preview-marker-","7266KJqpRU","dataDowncast","getClientRects","mousedown","wrap","changes","error","adapter","revision","all","nodeAfter","diffData","bottom","_setChanges","destroy","isAtStart","revision-viewer","backward","unbindElementFromMarkerName","_data","_makeModelFromTape","isLimit","nextSibling","createRangeIn","values","_initInteractions","6252939qJCCuz","showNextChange","startsWith","observeMarkers","target","isInline","_markMismatchedRemovedTags","markersEnd","ck-revision-history-root-","abs","downcastDispatcher","markers","ck-suggestion-marker","attachChange","change","createUIElement","string","_joinTapes","pop","previousPosition","addMarker:revision","locale","next","vid","viewItem","_markSuggestions","name","editor"];return(Xt=function(){return t})()}const Qt=te;function te(t,e){const i=Xt();return(te=function(t,e){return i[t-=225]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(195582===parseInt(e(523))/1*(-parseInt(e(444))/2)+-parseInt(e(293))/3+-parseInt(e(258))/4+parseInt(e(253))/5+parseInt(e(273))/6*(-parseInt(e(302))/7)+parseInt(e(531))/8+parseInt(e(328))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class ee extends W.Plugin{[Qt(445)];[Qt(309)]=null;[Qt(358)];[Qt(430)];[Qt(252)];[Qt(289)];[Qt(431)];static get[Qt(504)](){return Qt(540)}static get[Qt(471)](){return!0}static get[Qt(448)](){return!0}static get[Qt(545)](){return[Z.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Qt;super(t),this[e(445)]=this[e(355)][e(512)][e(264)](e(259)),this[e(358)]=this[e(355)][e(512)][e(264)](e(396)),this[e(249)](e(379),null),this[e(249)](e(399),null),this[e(430)]=null,this[e(249)](e(475),null),this[e(249)](e(241),!1),this[e(249)](e(271),!0),this.on(e(408),((t,i,s)=>{const n=e;this[n(379)]=null,this[n(399)]=null,this[n(355)][n(296)][n(542)][n(342)]((t=>{const e=n;for(const i of this[e(355)][e(296)][e(542)][e(389)][e(356)])s?t[e(257)](e(427),i):t[e(461)](e(427),i)}))})),this[e(291)](e(508)).to(this,e(379),(t=>null!==t)),this[e(291)](e(250)).to(this,e(241),this,e(475),this,e(379),((t,i,s)=>t&&s?i[e(307)][e(469)](s):0)),this[e(291)](e(234)).to(this,e(241),this,e(475),((t,i)=>t?i[e(307)][e(406)]:0)),this[e(252)]=null,this[e(289)]=new Map,this[e(431)]=this[e(355)][e(512)][e(264)](pt.ContextualBalloon)}[Qt(279)](){const t=Qt,e=this[t(355)],i=new ne(e,{direction:t(319)}),s=new ne(e,{direction:t(274)});e[t(391)][t(549)](t(400),i),e[t(391)][t(549)](t(329),s),e[t(391)][t(549)](t(457),new se(e)),this.on(t(462),(()=>{const e=t;i[e(246)](),s[e(246)]()})),this[t(376)](),this[t(327)](),e[t(547)](t(318)),e[t(512)][t(424)](t(374))&&e[t(512)][t(264)](t(374))[t(278)](t(318))}async[Qt(267)](t){const e=Qt;return await this[e(358)][e(254)](t,this[e(309)]),this[e(358)][e(267)](t)}async[Qt(371)](t){const e=Qt;return await this[e(358)][e(254)](t,this[e(309)]),this[e(358)][e(371)](t)}async[Qt(422)](t,e,i=!1){const s=Qt;if(!this[s(271)])return;const n=this[s(475)],r=this[s(445)],o=s(344)==typeof t?r[s(393)](t):t,a=s(344)==typeof e?r[s(393)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(475)]&&this[s(475)][s(229)]===c&&this[s(475)][s(236)]===u)return Promise[s(455)]();this[s(241)]=!1,this[s(399)]=null,this[s(379)]=null,this[s(475)]=new Jt(c,u);const l=this[s(476)](o,a,!0)[s(417)]((t=>this[s(358)][s(254)](t,this[s(309)])));return l[s(407)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(311)](l)[s(438)]((()=>{const t=s;if(!this[t(271)])return;this[t(288)]();const e=this[t(466)](c,u);for(const i of e[t(307)])this[t(289)][t(249)](i.id,i);this[t(355)][t(515)][t(275)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(355)][s(515)][s(389)][s(479)]())i[s(385)](t);for(const t of Object[s(242)](e[s(515)])){const n=i[s(429)](t);for(const r of Object[s(242)](e[s(482)][t]))i[s(493)](r,e[s(482)][t][r],n);i[s(255)](e[s(515)][t],n,0)}})),this[t(475)][t(315)](this[t(521)](e[t(307)])),this[t(241)]=!0}))[s(546)]((t=>{const e=s;console[e(308)](t),this[e(288)](),n&&(this[e(475)]=n),this[e(241)]=!0}))}[Qt(231)](t,e){const i=Qt,s=this[i(445)][i(228)](t);return s.on(i(446),((t,i,n)=>e(i,n,s))),this[i(445)][i(520)](s),s}[Qt(288)](){const t=Qt;this[t(379)]=null,this[t(548)](),this[t(252)]&&this[t(252)][t(316)](),this[t(252)]=null,this[t(289)][t(276)](),this[t(355)][t(515)][t(275)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(355)][i(515)][i(389)][i(479)]())e[i(385)](t)}))}[Qt(521)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(355)][e(515)][e(389)][e(479)]()){const n=this[e(355)][e(296)][e(542)][e(453)](t);if(!n)continue;const r=n[e(304)]()[e(460)](0);r&&(i[e(407)](t),s[e(249)](t,r))}return i[e(386)](((t,i)=>{const n=e,r=s[n(264)](t),o=s[n(264)](i);return r.y-o.y||r.x-o.x})),(t=t[e(419)]((t=>i[e(372)](t[e(297)]))))[e(386)](((t,s)=>i[e(425)](t[e(297)])-i[e(425)](s[e(297)]))),t}[Qt(295)](t){const e=Qt,i=Array[e(495)](t[e(339)])[e(419)]((([t,i])=>t[e(330)](e(269))&&!i[e(492)])),s=Array[e(495)](this[e(355)][e(515)][e(325)](t)[e(517)]({singleCharacters:!0}));if(0!=i[e(406)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(480)](":");if(n[e(237)][e(439)](t[e(247)])&&i[e(239)](),(t[e(347)][e(439)](n[e(500)])||t[e(347)][e(451)](n[e(500)]))&&(e(485)==r?t[e(225)]={userId:o}:e(416)==r&&(t[e(435)]={userId:o})),0==i[e(406)])break}return s}[Qt(235)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(406)];s++)e(503)===t[s][e(501)]?(t[s][e(460)][e(359)]=s,t[s][e(460)][e(428)]=s):(e(536)===t[s][e(501)]?t[s][e(460)][e(359)]=s:e(285)===t[s][e(501)]&&(t[s][e(460)][e(428)]=s),i[e(249)](t[s].id,s));for(const s of i[e(326)]())e(536)===t[s][e(501)]?t[s][e(460)][e(428)]=i[e(264)](t[s][e(544)]):e(285)===t[s][e(501)]&&(t[s][e(460)][e(359)]=i[e(264)](t[s][e(544)]))}[Qt(488)](t){const e=Qt;for(let i=0;i<t[e(406)];i++){if(e(536)===t[i][e(501)])t[i][e(460)][e(359)]=i;else if(e(285)===t[i][e(501)]){t[i][e(460)][e(428)]=i;const s=t[i][e(460)][e(359)];t[s][e(544)]=t[i].id,t[i][e(544)]=t[s].id}else t[i][e(460)][e(359)]=i,t[i][e(460)][e(428)]=i,t[i][e(544)]=null;t[i][e(245)]||(t[i][e(245)]=[],t[i][e(335)]=[])}}[Qt(529)](t,e){const i=Qt,s=t[i(419)]((t=>!t[i(225)]));for(let t=0;t<e[i(406)];t++)e[t][i(225)]&&(s[t][i(225)]=e[t][i(225)])}[Qt(466)](t,e=null){const i=Qt,s=this[i(445)][i(393)](t),n=e?this[i(445)][i(393)](e):null,r=this[i(476)](s,n),o=r[r[i(406)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(406)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(242)](e[i(313)]))if(e[i(313)][t][i(341)]){const s=e[i(313)][t][i(341)];s[i(361)]?(u[i(549)](t),l[i(424)](t)&&l[i(264)](t)[i(226)]==s[i(226)]?l[i(483)](t):l[i(249)](t,s)):l[i(424)](t)?(u[i(483)](t),l[i(483)](t)):(u[i(549)](t),l[i(249)](t,s))}else u[i(549)](t)}for(const t of u){const e=l[i(424)](t)&&!l[i(264)](t)[i(361)];let s=e?r[i(406)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(313)][t]){const s=e?o[i(313)][t][i(282)]:o[i(313)][t][i(357)];c[i(482)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(515)]={};for(const e of t[i(458)])a[i(249)](e.id,e);for(const e of u){const s=t[i(313)][e]?t[i(313)][e][i(395)]:"[]",n=t[i(313)][e]?t[i(313)][e][i(505)]:"[]";t[i(515)][e]={insertions:this[i(358)][i(494)](s),deletions:this[i(358)][i(494)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(495)](s[i(515)][t][i(395)][i(339)])[i(419)]((([t])=>!t[i(330)](i(269)))));let h=0;for(const o of r){const r=this[i(295)](o[i(515)][t][i(395)]);o==s?(e=r,n=e[i(406)],e[i(530)]((t=>{t.id=h++})),this[i(488)](e)):this[i(529)](e,r);const a=e[i(419)]((t=>!t[i(225)]))[i(417)]((t=>t.id));let c=0;const l=this[i(295)](o[i(515)][t][i(505)]);l[i(530)]((t=>{t[i(435)]?t.id=n++:t.id=a[c++]})),this[i(488)](l),this[i(478)](e,i(225)),this[i(478)](l,i(435)),o==s&&this[i(384)](e,u),e=this[i(345)](e,l),this[i(235)](e),this[i(478)](e,i(435))}e=e[i(419)]((t=>!(t[i(225)]&&t[i(435)])));const d=new Map(o[i(515)][t][i(505)][i(339)]),f=new Set(u[i(242)]());for(const t of d[i(242)]())f[i(483)](t);this[i(353)](e,f),this[i(243)](e),e=this[i(283)](e),e=this[i(334)](e),e=this[i(383)](e);const{root:m,changes:p}=this[i(322)](e,a,t);c[i(515)][t]=m;const v=l[i(264)](t);if(v){const e=a[i(264)](v[i(226)]),s=new Ht({author:e,type:v[i(361)]?i(549):i(467),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(522)](s),c[i(482)][t][i(502)]=s.id}c[i(307)]=c[i(307)][i(402)](p)}return c}[Qt(384)](t,e){const i=Qt;for(let s=0;s<t[i(406)];s++)for(const[n,r]of e)!r[i(492)]&&r[i(500)][i(439)](t[s][i(347)])&&t[s][i(245)][i(407)](n),r[i(237)][i(439)](t[s][i(247)])&&t[s][i(335)][i(407)](n)}[Qt(345)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(406)]||r<e[i(406)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(407)](o);else if(a[i(435)]&&o[i(225)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(447)](t,n,e,r);s=s[i(402)](o),n=a,r=c}else a[i(435)]?(r++,s[i(407)](a)):(n++,s[i(407)](o))}return s}[Qt(353)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(406)];o++){for(let r=0;r<t[o][i(245)][i(406)];r++){const a=t[o][i(245)][r];if(!e[i(424)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(230)!=c||i(485)!=u&&i(416)!=u||(s[i(522)]({type:u,name:a,userId:l}),t[o][i(245)][i(414)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(335)][i(406)];r++){const a=t[o][i(335)][r];if(!e[i(424)](a))continue;const{group:c,type:u}=n(a);if(i(230)!=c||i(485)!=u&&i(416)!=u)continue;t[o][i(335)][i(414)](r,1),r--;const l=s[i(506)]((t=>t[i(354)]==a));l>-1&&s[i(414)](l,1)}}function n(t){const e=i,s=t[e(480)](":");return{group:s[0],type:s[1],subType:s[e(406)]>=5?s[2]:null,id:s[e(406)]<5?s[2]:s[3],authorId:s[e(406)]<5?s[3]:s[4],markerCount:6==s[e(406)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(406)];i++){if(t[e(225)]&&e(485)==s[i][e(501)])return t[e(518)]=s[i],void delete t[e(225)];if(!t[e(225)]&&!t[e(435)]&&e(416)==s[i][e(501)])return void(t[e(510)]=s[i])}}}[Qt(478)](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(249)](o.id,s);for(let s=0;s<t[i(406)];s++){if(i(435)==e&&t[s][i(225)]||i(225)==e&&t[s][i(435)])continue;if(i(503)==t[s][i(501)]){t[s][i(268)]=0;continue}const n=r[i(264)](t[s][i(544)]),o=r[i(264)](t[s].id);t[s][i(268)]=n-o}}[Qt(476)](t,e,i=!1){const s=Qt,n=[];let r=this[s(445)][s(469)](t),o=this[s(445)][s(469)](e);for(-1==o&&(o=this[s(445)][s(509)][s(406)],i=!1);r<o;)n[s(407)](this[s(445)][s(393)](r)),r++;return i&&n[s(407)](this[s(445)][s(393)](r)),n}[Qt(447)](t,e,i,s){const n=Qt,r=this[n(355)][n(515)][n(534)];let o=e;for(;t[o]&&t[o][n(225)];)o++;let a=s;for(;i[a]&&i[a][n(435)];)a++;u(t,e,o),u(i,s,a);const c=i[n(413)](s,a)[n(402)](t[n(413)](e,o));return c[n(386)](((t,e)=>t[n(459)]!=e[n(459)]?t[n(459)]-e[n(459)]:t[n(256)]!=e[n(256)]?t[n(256)]-e[n(256)]:t[n(268)]!=e[n(268)]?e[n(268)]-t[n(268)]:!!t[n(225)]!=!!e[n(225)]?-1==t[n(459)]||0==t[n(459)]?t[n(225)]?-1:1:t[n(225)]?1:-1:t[n(440)]-e[n(440)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(262)],c=!0;for(let n=e;n<i;n++)if(r[s(333)](t[n][s(460)])||(c=!1),t[n][s(460)][s(359)]<e&&(o=n),t[n][s(460)][s(428)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(459)]=n<=o?-1:n<a?0:1,t[n][s(440)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(268)]?t[i][s(256)]=u:(u++,t[i][s(256)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(459)]&&(t[n][s(256)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(268)]?t[e][s(256)]=u:(u--,t[e][s(256)]=u,u--)}}[Qt(243)](t){const e=Qt,i=new Map,s=this[e(355)][e(515)][e(534)];for(let n=1;n<t[e(406)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(503)==c[e(501)])continue;if(c[e(501)]!=u[e(501)])continue;if(!s[e(491)](u[e(460)])||s[e(323)](u[e(460)]))continue;if(!s[e(491)](c[e(460)])||s[e(323)](c[e(460)]))continue;if((t[n][e(225)]||t[n][e(518)])&&t[n-1][e(435)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(435)]||!t[n-1][e(225)]&&!t[n-1][e(518)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(256)]==o[e(256)],h=Math[e(337)](r[e(256)])<Math[e(337)](o[e(256)])&&0==o[e(268)];(l||h)&&(i[e(249)](o.id,r.id),t[e(414)](a,1),n--,r[e(225)]=!1)}for(let s=0;s<t[e(406)];s++)i[e(424)](t[s][e(544)])&&(t[s][e(544)]=i[e(264)](t[s][e(544)]))}[Qt(283)](t){const e=Qt,i=new Set(t[e(417)]((t=>t.id)));for(let s=0;s<t[e(406)];s++)i[e(424)](t[s][e(544)])||0==t[s][e(268)]||(t[s][e(377)]=!0);return t[e(419)]((t=>!t[e(377)]))}[Qt(334)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(406)];s++){if(i[e(424)](t[s].id)&&t[s][e(435)]&&(t[s][e(377)]=!0),t[s][e(377)])continue;if(0==t[s][e(268)])continue;if(e(536)!=t[s][e(501)])continue;if(null==t[s][e(544)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(544)];)e(536)==t[n][e(501)]?r++:e(285)==t[n][e(501)]&&r--,n++;if(0!=r)if(t[s][e(435)])t[s][e(377)]=!0;else for(;n!=s;)t[n][e(435)]&&0!=t[n][e(268)]&&(t[n][e(377)]=!0,i[e(549)](t[n][e(544)])),n--}return t[e(419)]((t=>!t[e(377)]))}[Qt(383)](t){const e=Qt,i=this[e(355)][e(515)][e(534)];for(let s=0;s<t[e(406)];s++){if(!(t[s][e(225)]||t[s][e(518)]||t[s][e(435)]||t[s][e(510)]))continue;if(0==t[s][e(268)])continue;const n=t[s][e(460)];i[e(491)](n)||i[e(323)](n)||(t[s][e(225)]&&delete t[s][e(225)],t[s][e(518)]&&delete t[s][e(518)],t[s][e(510)]&&delete t[s][e(510)],t[s][e(435)]&&(t[s][e(377)]=!0))}return t[e(419)]((t=>!t[e(377)]))}[Qt(322)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(355)][s(515)],c=a[s(534)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(406)];e++)if(s(536)===t[e][s(501)]){t[e][s(347)]=a[s(441)](n,f);const i=new H.Element(t[e][s(460)][s(354)],t[e][s(460)][s(397)]());u[0][s(516)](i),f[s(407)](0),u[s(522)](i),t[e][s(247)]=a[s(441)](n,f)}else s(285)===t[e][s(501)]?(u[s(239)](),t[e][s(347)]=a[s(441)](n,f),f[s(346)](),f[f[s(406)]-1]++,t[e][s(247)]=a[s(441)](n,f)):(t[e][s(347)]=a[s(441)](n,f),d?d[s(321)]+=t[e][s(460)][s(387)]:d=new H.Text(t[e][s(460)][s(387)],t[e][s(460)][s(397)]()),t[e+1]&&s(503)===t[e+1][s(501)]&&v(d,t[e+1][s(460)])||(u[0][s(516)](d),d=null),f[f[s(406)]-1]+=t[e][s(460)][s(498)],t[e][s(247)]=a[s(441)](n,f));for(let e=0;e<t[s(406)];e++){const i=t[e][s(347)],n=t[e][s(247)];for(const n of t[e][s(245)])o[s(249)](n,{start:i,end:null});m(s(510),e,i,n),m(s(518),e,i,n),m(s(435),e,i,n),m(s(225),e,i,n);for(const i of t[e][s(335)]){const t=o[s(264)](i);t?t[s(237)]=n:o[s(249)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(355)][s(515)][s(490)](e[s(500)],e[s(237)]);n[s(339)][s(249)](t,i)}return r[s(386)](((t,e)=>{const i=s,r=n[i(339)][i(264)](i(269)+t.id),o=n[i(339)][i(264)](i(269)+e.id);return r[i(500)][i(300)](o[i(500)])?-1:r[i(500)][i(451)](o[i(500)])?1:r[i(237)][i(300)](o[i(237)])?-1:r[i(237)][i(451)](o[i(237)])?1:i(549)===t[i(501)]?-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(226)]:null,d=i===t[o(406)]-1,f=h[e][0],m=c[o(525)](t[i][o(460)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(237)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(226)]!==u&&(l[e][o(237)]=n,f&&f[o(226)]===l[e][o(226)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(536)!==t[i][o(501)]||f&&f[o(226)]===u||h[e][o(522)]({userId:u,object:t[i][o(460)],change:l[e]}),o(285)===t[i][o(501)]&&f&&f[o(382)]===t[i][o(460)]&&(h[e][o(239)](),l[e]=f[o(342)])),l[e]&&d&&(l[e][o(237)]=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(460)],f=a[h(534)][h(491)](d)&&!a[h(534)][h(323)](d),m=t[h(312)]==o[h(270)]&&o[h(317)];if(f&&m)return;const p=a[h(490)](t,o),v=e[h(264)](u),g=new Ht({author:v,type:h(225)==l||h(518)==l?h(549):h(467),data:{isSuggestion:h(518)==l||h(510)==l},createdAt:new Date,rootName:i});r[h(407)](g),n[h(339)][h(249)](h(269)+g.id,p)}function v(t,e){const i=s,n=t[i(397)](),r=e[i(397)]();for(const t of n){if(t[1]!==e[i(381)](t[0]))return!1;r[i(350)]()}return r[i(350)]()[i(364)]}}[Qt(376)](){const t=Qt;this[t(355)][t(477)][t(519)](t(286))[t(532)]({view:t(310)}),this[t(355)][t(477)][t(519)](t(287))[t(362)]({model:t(310),view:e=>{const i=t,s=e[i(366)][i(480)](":")[1],n=this[i(528)](s);if(!n)return null;const r=i(549)==n[i(501)]?i(485):i(416),o=[i(340),i(511)+r];return n[i(387)][i(363)]&&o[i(407)](i(511)+r+i(443)),this[i(379)]==n&&o[i(407)](i(298)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(355)][t(477)][t(519)](t(286))[t(549)]((e=>{const i=t;e.on(i(426),((t,e,s)=>{const n=i,r=e[n(352)][n(496)](0);if(!r||!r.is(n(499),n(442)))return;if(!s[n(527)][n(404)](r,{attributes:[n(394),n(421)]}))return;const o=e[n(487)][n(500)][n(312)];s[n(526)][n(493)](n(394),r[n(381)](n(394)),o),s[n(526)][n(493)](n(421),r[n(381)](n(421)),o)}),{priority:i(233)})})),this[t(355)][t(477)][t(519)](t(286))[t(549)]((e=>{const i=t;e.on(i(499),((t,e,s)=>{const n=i;if(!s[n(527)][n(404)](e[n(352)],{attributes:[n(394),n(421)]}))return;if(e[n(487)][n(492)])return;const r=e[n(487)][n(500)][n(312)];r[n(403)](n(394))||r[n(403)](n(351))||(s[n(526)][n(493)](n(394),e[n(352)][n(381)](n(394)),r),s[n(526)][n(493)](n(421),e[n(352)][n(381)](n(421)),r))}),{priority:i(233)})})),this[t(355)][t(477)][t(519)](t(286))[t(398)]({view:{name:t(449),attributes:{vid:!0}},model:{key:t(351),value:e=>e[t(381)](t(351))}}),this[t(355)][t(515)][t(534)].on(t(470),((e,[,i])=>{const s=t;[s(394),s(421),s(351)][s(372)](i)&&(e[s(452)]=!0,e[s(260)]())}),{priority:t(436)}),this[t(355)][t(477)][t(519)](t(303))[t(549)]((e=>{const i=t;e.on(i(251),((t,e,s)=>{const n=i;if(" "!=e[n(460)][n(387)]||e[n(460)][n(270)][n(227)]>1)return;if(!s[n(527)][n(404)](e[n(460)],t[n(354)]))return;const r=s[n(526)],o=s[n(539)][n(299)](e[n(541)]);r[n(306)](o,r[n(497)](n(449)))}))})),this[t(355)][t(477)][t(519)](t(303))[t(415)]({model:t(310)}),this[t(355)][t(296)][t(338)].on(t(348),function(e){const i=t,s=e[i(512)][i(264)](i(540));return(t,n,r)=>{const o=i,a=n[o(366)][o(480)](":")[1],c=s[o(528)](a);if(!c)return null;const u=o(549)==c[o(501)]?o(480):o(244);if(!r[o(527)][o(265)](n[o(266)],t[o(354)]))return;const l=n[o(266)][o(517)](),h=n[o(266)][o(500)],d=e[o(515)][o(534)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(460)];p=p||d[o(418)](e);const i=r[o(539)][o(277)](e);if(i&&i[o(360)](o(367)))return;o(285)==t[o(501)]&&d[o(491)](e)&&!d[o(323)](e)&&(e[o(324)]||h[o(472)]?f&&f[o(270)]==e||(f=e,g(t[o(347)]),v=!0):m=m||t[o(347)])}function g(t){const e=o,i=r[e(526)][e(343)](e(449),{class:e(511)+u}),a=r[e(539)][e(533)](t);c[e(387)][e(363)]&&r[e(526)][e(461)](e(511)+u+e(443),i),s[e(379)]==c&&r[e(526)][e(461)](e(298),i),r[e(526)][e(255)](a,i),r[e(539)][e(412)](i,n[e(366)])}p||v||!m||g(m)}}(this[t(355)]),{priority:t(365)}),this[t(355)][t(296)][t(338)].on(t(272),((e,i,s)=>{const n=t,r=s[n(539)][n(292)](i[n(366)]);if(r)for(const t of r)(t[n(392)](n(284))||t[n(392)](n(232)))&&(s[n(539)][n(320)](t,i[n(366)]),s[n(526)][n(467)](t))}),{priority:t(365)}),this[t(355)][t(296)][t(338)].on(t(348),((e,i,s)=>{const n=t,r=i[n(366)][n(480)](":")[1],o=this[n(528)](r);if(!o)return null;const a=n(549)==o[n(501)]?n(480):n(244);if(s[n(527)][n(265)](i[n(266)],e[n(354)]))for(const t of i[n(266)][n(486)]()){if(!t.is(n(499),n(380)))continue;const e=s[n(526)][n(343)](n(449),{class:n(511)+a}),r=s[n(539)][n(533)](this[n(355)][n(515)][n(524)](t));o[n(387)][n(363)]&&s[n(526)][n(461)](n(511)+a+n(443),e),this[n(379)]==o&&s[n(526)][n(461)](n(298),e),s[n(526)][n(255)](r,e),s[n(539)][n(412)](e,i[n(366)])}}),{priority:t(365)}),this[t(355)][t(515)][t(389)].on(t(342),(()=>{const e=t;this[e(355)][e(296)][e(542)][e(342)]((t=>{const i=e;for(const e of this[i(355)][i(515)][i(389)][i(479)]()){const s=this[i(355)][i(515)][i(389)][i(489)](e),n=this[i(355)][i(296)][i(542)][i(389)][i(489)](e);if(n){const e=s[i(381)](i(502));if(t[i(468)](i(281),n),t[i(257)](i(238),n),t[i(257)](i(543),n),t[i(257)](i(410),n),e){const s=this[i(528)](e);if(!s)return null;t[i(493)](i(281),e,n),t[i(461)](i(336)+s[i(501)],n),this[i(379)]==s&&t[i(461)](i(410),n)}}}}))})),this[t(355)][t(477)][t(519)](t(286))[t(532)]({view:t(465),model:e=>t(481)+e,converterPriority:t(436)}),this[t(355)][t(477)][t(519)](t(286))[t(532)]({view:t(248),model:e=>t(373)+e,converterPriority:t(436)}),this[t(355)][t(477)][t(519)](t(303))[t(415)]({model:t(230),view:e=>({name:t(378)+e,group:t(230)}),converterPriority:t(436)}),this[t(355)][t(477)][t(519)](t(287))[t(362)]({model:t(230),view:e=>{const i=t,s=e[i(366)][i(480)](":")[1];return i(485)!=s&&i(416)!=s?null:{classes:[i(463),i(301)+s]}}}),this[t(355)][t(296)][t(338)].on(t(409),ie(this[t(355)],t(244)),{priority:t(365)}),this[t(355)][t(296)][t(338)].on(t(401),ie(this[t(355)],t(480)),{priority:t(365)}),this[t(355)][t(296)][t(338)].on(t(537),((e,i,s)=>{const n=t,r=s[n(539)][n(292)](i[n(366)]);if(r)for(const t of r)t.is(n(420))&&(s[n(539)][n(320)](t,i[n(366)]),s[n(526)][n(467)](t))}),{priority:t(365)})}[Qt(528)](t){const e=Qt;return this[e(289)][e(264)](t)}[Qt(474)](t){const e=Qt;return this[e(252)]&&this[e(252)][e(316)](),this[e(252)]=new Ut(this[e(355)][e(349)],t),this[e(252)]}[Qt(327)](){const t=Qt;this[t(355)][t(515)][t(389)][t(535)][t(331)](t(310)),this.on(t(375),((e,i,s,n)=>{const r=t;n&&this[r(431)][r(467)](n),s&&(this[r(431)][r(549)]({view:s,stackId:r(263),position:{target:()=>{const t=r,e=this[t(355)][t(296)],i=this[t(528)](s[t(370)]);let n;if(i[t(387)][t(434)]){const s=e[t(542)][t(453)](i[t(297)]);n=Array[t(495)](s[t(304)]())}else{const i=this[t(355)][t(515)][t(339)][t(264)](t(269)+s[t(370)]);n=Array[t(495)](e[t(539)][t(292)](i[t(354)]))[t(417)]((i=>e[t(542)][t(538)][t(261)](i)))[t(417)]((e=>Array[t(495)](e[t(304)]())))[t(473)]()}return this[t(430)]&&n[t(437)]((e=>e[t(411)]-3<=this[t(430)].y&&e[t(314)]+3>=this[t(430)].y&&e[t(432)]-3<=this[t(430)].x&&e[t(388)]+3>=this[t(430)].x))||n[0]}}}),this[r(431)][r(456)](r(263)))})),this.on(t(514),((e,i,s,n)=>{const r=t;this[r(399)]=s?this[r(474)](s):null,this[r(355)][r(515)][r(342)]((()=>{const t=r,e=this[t(355)][t(296)];n&&(n[t(387)][t(434)]?e[t(542)][t(342)]((i=>{const s=t;i[s(257)](s(410),e[s(542)][s(389)][s(489)](n[s(297)]))})):e[t(390)](t(269)+n.id)),s&&(s[t(387)][t(434)]?e[t(542)][t(342)]((i=>{const n=t;i[n(461)](n(410),e[n(542)][n(389)][n(489)](s[n(297)]))})):e[t(390)](t(269)+s.id))}))})),this[t(290)](this[t(355)][t(296)][t(542)][t(389)],t(280),((e,i)=>{const s=t;if(this[s(379)])return;const n=this[s(240)](i[s(332)]),r=this[s(289)][s(264)](n);r?(this[s(430)]={x:i[s(450)].x,y:i[s(450)].y},this[s(399)]=this[s(474)](r)):(this[s(430)]=null,this[s(399)]=null)})),this[t(290)](this[t(355)][t(296)][t(542)][t(389)],t(305),((e,i)=>{const s=t,n=this[s(240)](i[s(332)]),r=this[s(289)][s(264)](n);r?(this[s(430)]={x:i[s(450)].x,y:i[s(450)].y},r===this[s(379)]?this[s(431)][s(507)]():this[s(379)]=r):(this[s(430)]=null,this[s(379)]=null)}))}[Qt(240)](t){const e=Qt;do{const i=t[e(381)](e(281));if(i)return i;t=t[e(270)]}while(t);return null}[Qt(548)](){const t=Qt;this[t(355)][t(515)][t(342)]((e=>{const i=t;for(const t of this[i(355)][i(515)][i(339)])e[i(484)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(527)][r(265)](s[r(266)],i[r(354)]))return;const o=s[r(266)][r(517)](),a=s[r(266)][r(500)],c=t[r(515)][r(534)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(460)];h=h||c[r(418)](e);const i=n[r(539)][r(277)](e);if(i&&i[r(360)](r(367)))return;r(285)==t[r(501)]&&c[r(491)](e)&&!c[r(323)](e)&&(e[r(324)]||a[r(472)]?u&&u[r(270)]==e||(u=e,f(t[r(347)]),d=!0):l=l||t[r(347)])}function f(t){const i=r,o=n[i(539)][i(533)](t),a=n[i(526)][i(343)](i(449),{class:i(301)+e});n[i(526)][i(255)](o,a),n[i(539)][i(412)](a,s[i(366)])}h||d||!l||f(l)}}class se extends W.Command{constructor(t){const e=Qt;super(t);const i=t[e(512)][e(264)](ee);this[e(294)]=!1,this[e(290)](i,e(513),(()=>this[e(246)]())),this[e(290)](i,e(408),(()=>this[e(246)]()))}[Qt(369)](){const t=Qt,e=this[t(355)],i=e[t(512)][t(264)](ee),s=i[t(241)]?i[t(475)][t(229)]:null;e[t(405)][t(264)](t(454))[t(433)](s)}[Qt(246)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(355)][t(512)][t(264)](ee),r=n&&s[t(423)](n[t(229)]);this[t(271)]=e&&i&&Boolean(r)}}class ne extends W.Command{[Qt(464)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(512)][i(264)](ee);this[i(294)]=!1,this[i(464)]=i(274)===e?1:-1,this[i(290)](s,i(513),(()=>this[i(246)]())),this[i(290)](s,i(408),(()=>this[i(246)]())),this[i(290)](s,i(514),(()=>this[i(246)]()))}[Qt(369)](){const e=Qt,i=this[e(355)],s=i[e(512)][e(264)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(379)]=n?s[e(475)][e(307)][e(264)](r+this[e(464)]):s[e(475)][e(307)][e(368)],s[e(379)][e(387)][e(434)])o=i[e(296)][e(542)][e(453)](s[e(379)][e(297)]);else{const t=i[e(515)][e(339)][e(264)](e(269)+s[e(379)].id);o=(0,Z.getMarkerDomElement)(i[e(296)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(246)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(355)][t(512)][t(264)](ee);this[t(271)]=!!(r&&n&&s)&&(!e||(1===this[t(464)]?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-=353]})(t,e)}function ce(){const t=["ck-revision-history-ui__changes-navigation__navigation","Total","_isStatusLabelVisible","_statusText","isNavigationMode","ck-hidden","isReady","execute","isBackwardNavigationEnabled","24kzjhwP","backward","ck-revision-history-ui__changes-navigation__label","currentChangeNumber","fire","3394314dVsqsM","No changes","set","ck-revision-history-ui__changes-navigation","2374841skHegX","NUMBER_OF_CHANGES","div","bindTemplate","9rifjRl","span","ck-revision-history-ui__changes-navigation__wrapper","EDIT_X_OF_Y_REVISIONS","1715885sjLAtg","532IpDBKE","isForwardNavigationEnabled","5273ZhOFjO","numberOfChanges","setTemplate","bind","641724opuQHy","Show previous change","isEnabled","forward","ck-revision-history-ui","16968900hGtAwD","Loading...","2109104OZGTNk","Show next change","X_OF_Y_CHANGES"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(990617===-parseInt(e(356))/1*(-parseInt(e(354))/2)+-parseInt(e(379))/3*(parseInt(e(360))/4)+parseInt(e(353))/5+-parseInt(e(384))/6+-parseInt(e(388))/7+-parseInt(e(367))/8*(parseInt(e(392))/9)+parseInt(e(365))/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(391)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(386)](e(374),!1),this[e(386)](e(376),!1),this[e(386)](e(382),0),this[e(386)](e(357),0),this[e(386)](e(355),!1),this[e(386)](e(378),!1),this[e(359)](e(372)).to(this,e(376),this,e(357),((t,e)=>t&&e>0)),this[e(359)](e(373)).to(this,e(376),this,e(382),this,e(357),this,e(374),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(366));if(!n)return Q(t,o(385));const a=Q(t,o(389),n);return r?Q(t,o(369),[s+1,n]):a})),s[e(386)]({label:Q(t,e(361)),tooltip:!0,icon:mt.IconChevronUp}),n[e(386)]({label:Q(t,e(368)),tooltip:!0,icon:mt.IconChevronDown}),s[e(359)](e(362)).to(this,e(378)),n[e(359)](e(362)).to(this,e(355)),s.on(e(377),(()=>this[e(383)](e(377),e(380)))),n.on(e(377),(()=>this[e(383)](e(377),e(363)))),this[e(358)]({tag:e(390),attributes:{class:["ck",e(364),e(387)]},children:[{tag:e(393),attributes:{class:[e(394)]},children:[{tag:e(393),attributes:{class:[e(381),i.if(e(372),e(375),(t=>!t))]},children:[{text:i.to(e(374),(i=>i?Q(t,e(395))+": ":Q(t,e(371))+": "))}]},{text:i.to(e(373))}]},new pt.ToolbarSeparatorView,{tag:e(390),attributes:{class:[e(370)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;function de(t,e){const i=pe();return(de=function(t,e){return i[t-=116]})(t,e)}const fe=de;!function(t){const e=de,i=t();for(;;)try{if(126556===-parseInt(e(123))/1*(parseInt(e(133))/2)+parseInt(e(120))/3+-parseInt(e(131))/4+parseInt(e(126))/5+parseInt(e(122))/6+-parseInt(e(125))/7+-parseInt(e(134))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=fe(130);function pe(){const t=["240625NQYngH","57850zigNtR","document","editing","view","ck-editor__editable__loading-overlay","183956zrBmMO","roots","2VZbBcF","223128bSuuEf","isOfficialPlugin","editor","show","change","RevisionViewerLoadingOverlay","pluginName","isPremiumPlugin","removeClass","227517eYLOPW","addClass","909240PqYpEp","4138GFboDd","hide"];return(pe=function(){return t})()}class ve extends W.Plugin{static get[fe(117)](){return fe(116)}static get[fe(135)](){return!0}static get[fe(118)](){return!0}[fe(137)](){const t=fe,e=this[t(136)][t(128)][t(129)];e[t(138)]((i=>{const s=t;for(const t of e[s(127)][s(132)])i[s(121)](me,t)}))}[fe(124)](){const t=fe,e=this[t(136)][t(128)][t(129)];e[t(138)]((i=>{const s=t;for(const t of e[s(127)][s(132)])i[s(119)](me,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=294]})(t,e)}function ke(){const t=["init","change:isReady","revisionHistory","RevisionViewerUI","exitToEditing","plugins","commands","Restore this revision","requires","isPremiumPlugin","hide","7bjEFje","2768364XaIWBv","3RIbVZT","execute","forward","isForwardNavigationEnabled","componentFactory","listenTo","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","currentChangeNumber","set","isOfficialPlugin","isNavigationMode","editor","isEnabled","restoreRevision","7607576jENXrZ","add","4347414qxvvGD","showNextChange","changesNavigation","isReady","Back to editing","7082154mzhCfe","show","pluginName","get","383015xbunRZ","closeRevisionViewerCallback","2383396msxdxk","654832AYObWb","bind","showPreviousChange","config","20ZvyclC","numberOfChanges"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(815034===parseInt(e(330))/1+parseInt(e(329))/2+parseInt(e(301))/3*(parseInt(e(300))/4)+parseInt(e(327))/5+parseInt(e(318))/6+parseInt(e(299))/7*(-parseInt(e(316))/8)+-parseInt(e(323))/9*(parseInt(e(334))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends W.Plugin{static get[ge(325)](){return ge(339)}static get[ge(311)](){return!0}static get[ge(297)](){return!0}static get[ge(296)](){return[ee,ve]}[ge(336)](){const t=ge,e=this[t(313)],i=e[t(341)][t(326)](ee),s=e[t(341)][t(326)](ve);e.ui[t(305)][t(317)](t(340),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(310)]({label:Q(i,s(322)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(308)}),this[s(306)](n,s(302),(()=>{const t=s;e[t(333)][t(326)](t(338))[t(328)]()})),n})),e.ui[t(305)][t(317)](t(315),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(310)]({label:Q(i,s(295)),withText:!0,tooltip:!0}),n[s(331)](s(314)).to(e[s(294)][s(326)](s(315))),this[s(306)](n,s(302),(()=>e[s(302)](s(315)))),n})),e.ui[t(305)][t(317)](t(320),(s=>{const n=t,r=new ue(s),o=e[n(294)][n(326)](n(332)),a=e[n(294)][n(326)](n(319));return r[n(331)](n(307)).to(o,n(314)),r[n(331)](n(304)).to(a,n(314)),r[n(331)](n(321),n(309),n(335),n(312)).to(i),this[n(306)](r,n(302),((t,i)=>{const s=n;e[s(302)](s(303)===i?s(319):s(332))})),r})),s[t(324)](),i.on(t(337),((e,i,n)=>{const r=t;n?s[r(298)]():s[r(324)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Oe;function Se(){const t=["ck-tooltip_multi-line","value","120660VDNftx","placeholder","render","set","Revision name","_resizeObserver","1576044VwebNB","143208RfcAyL","3fNHbTD","span","538735UGpQxw","clientWidth","destroy","input","1539172AaCVAl","fieldView","bindTemplate","_tooltipString","ck-revision-history-sidebar__revision-name","21420kctRJt","1225bdUUDc","listenTo","Enter the revision name","extendTemplate","_updateTooltipText","element","scrollWidth","772236vdZsus"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=234]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(482197===-parseInt(e(236))/1+parseInt(e(250))/2+parseInt(e(244))/3*(parseInt(e(263))/4)+parseInt(e(246))/5+-parseInt(e(255))/6*(parseInt(e(256))/7)+-parseInt(e(243))/8+parseInt(e(242))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(241)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(252)];this[i(239)]({label:Q(t,i(240)),_tooltipString:""}),this[i(251)][i(237)]=Q(t,i(258)),this[i(259)]({tag:i(245),attributes:{class:[i(254)],"data-cke-tooltip-text":s.to(i(253)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(234)}})}[Ie(238)](){const e=Ie;super[e(238)](),this[e(241)]=new t.ResizeObserver(this[e(251)][e(261)],(()=>this[e(260)]())),this[e(257)](this[e(251)],e(249),(()=>this[e(260)]()))}[Ie(248)](){const t=Ie;super[t(248)](),this[t(241)]&&this[t(241)][t(248)]()}[Ie(260)](){const t=Ie,e=this[t(251)][t(261)];this[t(253)]=e[t(262)]>e[t(247)]&&e[t(235)]||""}}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=["2980398WAmMLa","7TPnGEp","6648540lhnJab","span","2055777MfdLrQ","92132jhbIDo","11745iFcdcH","Revision creator","set","508266ZZSqBC","0 0 11 10","ck-revision-history-sidebar__revision-author_creator","setTemplate","64HRpsvs","208XoQhBT","ck-revision-history-sidebar__revision-author__name","10DAIKtd","6384790otsOOX","push","ck-revision-history-sidebar__revision-author","11wSNccY","name","Revision author"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=193]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(386240===parseInt(e(206))/1*(-parseInt(e(195))/2)+parseInt(e(194))/3+-parseInt(e(204))/4*(-parseInt(e(196))/5)+parseInt(e(213))/6*(-parseInt(e(214))/7)+-parseInt(e(203))/8*(-parseInt(e(199))/9)+-parseInt(e(207))/10*(-parseInt(e(210))/11)+-parseInt(e(215))/12)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(198)]({content:mt.IconUser,viewBox:s(200)});const r=["ck",s(209)];i&&r[s(208)](s(201));const o=[{tag:s(193),attributes:{class:["ck",s(205)],title:Q(t,s(i?197:212))},children:[n,e[s(211)]]}];this[s(202)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Me();return(Ee=function(t,e){return i[t-=134]})(t,e)}function Me(){var t=["16wwHVdB","940933qABUxJ","32eDOGly","2059030ZwSUrR","13698513IBkkBM","toLocaleTimeString","718cGIQHx","342834fuutsG","2186892kRKHbX","13038509XQQRLW","long","2391Fpuzds","40AYocfL","numeric","toLocaleDateString"];return(Me=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(847775===-parseInt(e(142))/1*(parseInt(e(137))/2)+parseInt(e(139))/3+-parseInt(e(146))/4*(parseInt(e(134))/5)+-parseInt(e(138))/6+parseInt(e(147))/7*(-parseInt(e(148))/8)+-parseInt(e(135))/9+-parseInt(e(143))/10*(-parseInt(e(140))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["_action","action","ck-revision-history-sidebar__revision__actions","add","isActionsDropdownOpen","source","25jZQxvC","map","buttonView","21091IkBsfm","model","children","menu","listenTo","listView","panelPosition","Restore this revision","menuitem","function","10697916WQUdOQ","113451SJNiXn","bindTemplate","Compare against selected","96tvekLy","2918030yGefor","2656pzgWKq","set","change:isActionsDropdownOpen","36ObMucF","1911018DlkzBf","isEnabled","434270mtiqaW","ck-on","execute","items","first","find","Show more items","Name this revision","locale","isVisible","157383TaNhNU","class","isReady","stopPropagation","isOpen","name","extendTemplate","button","11JAGlyT","bind"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=216]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(818840===-parseInt(e(257))/1+-parseInt(e(240))/2+parseInt(e(236))/3*(parseInt(e(239))/4)+-parseInt(e(222))/5*(-parseInt(e(245))/6)+-parseInt(e(225))/7*(-parseInt(e(241))/8)+parseInt(e(244))/9*(-parseInt(e(247))/10)+parseInt(e(265))/11*(-parseInt(e(235))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Pe=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=It(),je.insert=wt().bind(null,"head"),je.domAPI=kt(),je.insertStyleElement=Ot();gt()(Pe.A,je);Pe.A&&Pe.A.locals&&Pe.A.locals;const ze=Ue;function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=195]})(t,e)}function We(){const t=["render",".ck-thread__remove-confirm","deselect","ck-revision-history-sidebar__revision","change","extendTemplate","bind","isActionsDropdownOpen","creator","isEnabled","_createdAtFormatted","element","set","1423767wyFbrs","220","isConfirm","ck-revision-history-sidebar__revision__date","isReady","fire","listenTo","closest","isSelected","value","setName","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","_revision","filter","uiLanguage","bindTemplate","length","setTemplate","5763966qkJhME","ck-revision-history-sidebar__revision-wrapper","createdAt","fieldView","5755572FYkwlS","isHighlighted","map","1873890pLrKFL","revisionActionsView","unhighlight","div","from","authors","ck-revision-history-sidebar__revision_selected","srcElement","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__actions_dropdown_open","name","_requireRevisionName","span","unshift","3329180pKtbAb","ck-revision-history-sidebar__revision_highlighted","4339314CUczVh","ck-disabled","44170581JloCmv","highlight","select","revisionNameView","ck-reset","ck-revision-history-sidebar__revision-authors"];return(We=function(){return t})()}!function(t){const e=Ue,i=t();for(;;)try{if(769215===-parseInt(e(220))/1+-parseInt(e(245))/2+-parseInt(e(199))/3+-parseInt(e(242))/4+parseInt(e(197))/5+-parseInt(e(238))/6+parseInt(e(201))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(204)];[ze(246)];[ze(232)];[ze(256)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(235)],a=function(t,e){const i=r,s=Array[i(249)](e[i(250)])[i(233)]((t=>t!=e[i(215)]));return e[i(215)]&&s[i(196)](e[i(215)]),s[i(244)]((s=>new Ve(t,s,s==e[i(215)])))}(e,i);this.id=i.id,this[r(232)]=i,this[r(256)]=n,this[r(213)](r(255),r(240)).to(i),this[r(213)](r(217)).to(this,r(240),(t=>{return i=e[r(234)],(s=t)[(n=Ee)(145)](i,{month:n(141),day:n(144)})+", "+s[n(136)](i,{hour:n(144),minute:n(144)});var i,s,n})),this[r(219)](r(228),!1),this[r(219)](r(243),!1),this[r(219)](r(214),!1),this[r(219)](r(224),!1),this[r(219)](r(216),!1),this[r(204)]=new Te(e,pt.createLabeledInputText),this[r(204)][r(241)][r(212)]({attributes:{maxlength:r(221)}}),this[r(204)][r(241)][r(213)](r(229)).to(this,r(255),(t=>t||this[r(217)])),this[r(204)][r(213)](r(216)).to(this,r(228),this,r(216),((t,e)=>t&&e)),this[r(246)]=s&&s[r(236)]?function(e,i){const s=Le,n=e[s(237)],r=e[s(255)],o=(0,pt.createDropdown)(r);o[s(231)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Le,s=t[i(255)],n={"Compare against selected":Q(s,i(238)),"Name this revision":Q(s,i(254)),"Restore this revision":Q(s,i(232))};return e[i(223)]((t=>{const e=i,s=n[t[e(262)]];return s&&s!==t[e(262)]&&(t[e(262)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(264),model:new pt.ViewModel({label:t[n(262)],class:t[n(258)],withText:!0,role:n(233),_action:t[n(217)]})};i[n(226)][n(266)](n(246)).to(e,n(220),(i=>n(234)!=typeof t[n(246)]||!i||t[n(246)](e))),o[n(219)](i)}return o}(e,i);return e[s(266)](s(220)).to(o,s(261)),o[s(224)][s(242)]({label:Q(r,s(253)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(263)]({attributes:{class:[s(218),n.if(s(220),s(248))]},on:{click:n.to((t=>t[s(260)]()))}}),o.on(s(249),(t=>{const i=s;e[i(259)]&&i(234)==typeof t[i(221)][i(216)]&&t[i(221)][i(216)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(228)}),o[s(229)](e,s(243),((t,n,r)=>{const a=s;if(r)for(const t of o[a(230)][a(250)]){const s=t[a(227)][a(251)],n=i[a(252)]((t=>t[a(217)]===s[a(216)]))[a(256)];t[a(256)]=void 0===n||n(e)}})),o}(this,s):"",this[r(246)]&&this[r(246)][r(213)](r(216)).to(this),this[r(237)]({tag:r(248),attributes:{class:["ck",r(205),r(239),o.if(r(222),r(231))]},children:[{tag:r(248),attributes:{class:["ck",r(205),r(210),o.if(r(216),r(200),(t=>!t)),o.if(r(228),r(251)),o.if(r(243),r(198)),o.if(r(214),r(254))]},children:[this[r(204)],{tag:r(195),attributes:{class:["ck",r(223)]},children:[{text:o.to(r(217))}]},{tag:r(248),attributes:{class:["ck",r(253)]},children:[{tag:"ul",attributes:{class:["ck",r(206)]},children:a}]},this[r(246)]],on:{click:o.to((t=>{const e=r;t[e(252)][e(227)](e(208))||this[e(224)]&&this[e(216)]&&this[e(225)](e(203),{id:this.id})}))}}]})}[ze(207)](){const t=ze;super[t(207)]();const e=this[t(204)][t(241)][t(218)];this[t(226)](e,t(211),(()=>{const i=t;this[i(256)]&&!e[i(229)]||this[i(225)](i(230),{id:this.id,name:e[i(229)]}),e[i(229)]||(e[i(229)]=this[i(255)]?this[i(255)]:this[i(217)])}))}[ze(203)](){this[ze(228)]=!0}[ze(209)](){this[ze(228)]=!1}[ze(202)](){this[ze(243)]=!0}[ze(247)](){this[ze(243)]=!1}}class He extends Error{}class $e extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class 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 qs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(js({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Vi={};function Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Mi={};let Di={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Pi{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 ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Ei(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ui={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Mi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,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 Pi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(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:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Ui}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let 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${qs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return qs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class $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 Bi(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 qi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=qi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${qi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return Bi(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(){Wi.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=Us(c,e,i)):u>Us(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ps(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 Es(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function Ps(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 js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Us(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Ws(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function 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 Bs(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 qs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Vs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Es(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Es(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?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(Ds(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Es(e)):Es(e),month:Gs.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,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$/,Pn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function jn(t){const[,e,i,s,n,r,o,a]=t;return[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 Un=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Wn=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),Bn=mn(wn,Tn,xn,Nn),qn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:Bs(t,lr.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[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 qe(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=$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,...Bs(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 Be(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 Bi(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(qi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>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=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Ws);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new 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 Er(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function 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 Pr(t,e,i){return Fr(js(t),e,i)}function jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ps(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=js(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Ur(t,e,i=!0){return t.isValid?hn.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function 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},Br={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=Bi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Wi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of qr)_s(t[e])&&(t[e]=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]=Pr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Er(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=Bi(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Wi.fromObject(e)}):io.invalid(Er(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:Bi(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:Bi(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=Bi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Wi.fromObject(e),n=Bs(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=Br,g=gs(g)):(p=qr,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,Us(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]=Pr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Un,$n],[Wn,Bn],[Zn,qn],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,jn],[Ln,jn],[Pn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,$n],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=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 Ps(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Us(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Us(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=Bi(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]=Pr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=Bs(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(Ps(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Pr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,jr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,jr(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=Wr(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return Ur(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Ur(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ur(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Ur(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():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(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=164]})(t,e)}function ro(){const t=["1370mIYvZk","1970794XfIdgj","month","setLocale","4675121JBoMtg","10pgcKwS","61092SCRKUP","1256571tOflBG","1007268gcpvFP","local","fromJSDate","day","4YFFnwX","year","monthLong","startOf","4950FvPVxy","toRelativeCalendar","65BxRUJr","hasSame","minus","toJSDate","2624TurdhP","weekdayLong","70vKxpxJ","301VmJEdh","week"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(174)](t)[i(167)](e),n=io[i(173)](),r=n[i(184)]({days:1})[i(179)](i(175));let o,a;return s[i(183)](n,i(175))?(o=s[i(179)](i(175))[i(185)](),a=s[i(181)]()):s[i(183)](r,i(175))?(o=r[i(185)](),a=s[i(181)]()):s[i(183)](n,i(190))?(o=s[i(179)](i(190))[i(185)](),a=s[i(187)]||""):s[i(183)](n,i(177))?(o=s[i(179)](i(166))[i(185)](),a=s[i(178)]||""):(o=s[i(179)](i(177))[i(185)](),a=String(s[i(177)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(248762===parseInt(e(189))/1*(-parseInt(e(164))/2)+parseInt(e(171))/3*(parseInt(e(176))/4)+parseInt(e(188))/5*(parseInt(e(170))/6)+-parseInt(e(165))/7+parseInt(e(186))/8*(parseInt(e(180))/9)+-parseInt(e(169))/10*(parseInt(e(168))/11)+-parseInt(e(172))/12*(-parseInt(e(182))/13))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-=166]})(t,e)}function ho(){const t=["addRevision","1686978qpVUUR","createCollection","delegate","uiLanguage","3NZAhhg","594230uWFist","setName","80OGPUYP","ck-revision-history-sidebar__time-period__revisions","removeRevision","254588lOvTrz","add","div","_revisionActions","startDate","find","ck-revision-history-sidebar__time-period","2656586FbtPaM","_requireRevisionName","ck-revision-history-sidebar__time-period__label","locale","localizedPeriodName","revisionViews","remove","select","1193229YxtnBT","setTemplate","2579241DcTJPF","1993904uZtBdb","span"];return(ho=function(){return t})()}!function(t){const e=lo,i=t();for(;;)try{if(720970===-parseInt(e(181))/1+parseInt(e(193))/2*(parseInt(e(180))/3)+-parseInt(e(186))/4*(-parseInt(e(183))/5)+-parseInt(e(176))/6+-parseInt(e(172))/7+-parseInt(e(173))/8+-parseInt(e(170))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[uo(190)];[uo(167)];[uo(189)];[uo(194)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(196)][n(179)])[n(166)];this[n(190)]=e,this[n(167)]=this[n(177)](),this[n(189)]=i,this[n(194)]=s,this[n(167)][n(178)](n(169)).to(this),this[n(167)][n(178)](n(182)).to(this),this[n(171)]({tag:n(188),attributes:{class:["ck",n(192)]},children:[{tag:n(174),attributes:{class:["ck",n(195)]},children:[{text:r}]},{tag:n(188),attributes:{class:["ck",n(184)]},children:this[n(167)]}]})}[uo(175)](t){const e=uo,i=new Ze(this[e(196)],t,this[e(189)],this[e(194)]);this[e(167)][e(187)](i)}[uo(185)](t){const e=uo,i=this[e(167)][e(191)]((e=>e.id===t.id));this[e(167)][e(168)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=428]})(t,e)}function go(){const t=["57OokJNL","1406068LmwJlL","106006eiUTVy","7104995grUeXP","110jEsWlh","ck-revision-history-sidebar__header__label","1789380vpnxjB","6827652cKBLnW","setTemplate","ck-revision-history-sidebar__header","content","div","2757750LQzOJU","ck-reset_all","135896nSHAwY","21gfYAIr","span","Revision history"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(991509===-parseInt(e(443))/1+parseInt(e(444))/2*(parseInt(e(442))/3)+-parseInt(e(431))/4+parseInt(e(445))/5+-parseInt(e(436))/6+parseInt(e(439))/7*(-parseInt(e(438))/8)+parseInt(e(430))/9*(parseInt(e(428))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(434)]=mt.IconHistory,this[e(432)]({tag:e(435),attributes:{class:["ck",e(437),e(433)]},children:[i,{tag:e(440),attributes:{class:["ck",e(429)]},children:[Q(t,e(441))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=252]})(t,e)}function Io(){const t=["highlightRevisions","createdAt","7035552rMZuEp","77LeTybE","unhighlight","highlight","getTime","2803764egVeME","set","fire","div","1732010iYNsuu","13661JsRNpl","createCollection","ck-revision-history-sidebar","some","ck-reset","12kiwvVJ","setTemplate","ck-disabled","_revisions","_addRevision","_revisionActions","selectRevision","timePeriodViews","select","_removeRevision","deselect","startDate","flat","map","remove","ck-revision-history-sidebar__timeline","bindTemplate","ck-rounded-corners","delegate","get","addRevision","4620329fQfJLH","uiLanguage","_getTimePeriodViewByStartDate","188XSLCoB","63903bAWEMb","122FzVMpA","locale","render","add","removeRevision","setName","revisionViews","1766715nKlzXZ","_requireRevisionName","revisionSetName","8WgSbDw","isEnabled","revisionSelected","find"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(518307===parseInt(e(290))/1*(parseInt(e(264))/2)+parseInt(e(263))/3*(-parseInt(e(262))/4)+parseInt(e(271))/5*(parseInt(e(295))/6)+-parseInt(e(259))/7*(-parseInt(e(274))/8)+parseInt(e(280))/9+parseInt(e(289))/10+-parseInt(e(281))/11*(parseInt(e(285))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(302)];[wo(298)];[wo(300)];[wo(272)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(254)];this[n(302)]=this[n(291)](),this[n(302)][n(256)](n(303)).to(this),this[n(302)][n(256)](n(269)).to(this),this[n(298)]=e,this[n(300)]=i,this[n(272)]=s,this.on(n(303),((t,e)=>{const i=n;this[i(287)](i(276),e)})),this.on(n(269),((t,e)=>{const i=n;this[i(287)](i(273),e)})),this[n(286)](n(275),!1),this[n(296)]({tag:n(288),attributes:{class:["ck",n(294),n(255),n(292)]},children:[new yo(t),{tag:n(288),attributes:{class:["ck",n(253),r.if(n(275),n(297),(t=>!t))]},children:this[n(302)]}]})}[wo(266)](){const t=wo;super[t(266)]();for(const e of this[t(298)])this[t(299)](e);this[t(298)].on(t(267),((e,i)=>{this[t(299)](i)})),this[t(298)].on(t(252),((e,i)=>{this[t(304)](i)}))}get[wo(270)](){const t=wo;return this[t(302)][t(308)]((e=>e[t(270)][t(308)]((t=>t))))[t(307)]()}[wo(301)](t){const e=wo;for(const i of this[e(270)])t&&t.id===i.id?i[e(303)]():i[e(305)]()}[wo(278)](t){const e=wo;for(const i of this[e(270)])t[e(293)]((({id:t})=>t===i.id))?i[e(283)]():i[e(282)]()}[wo(299)](t){const e=wo,i=oo(t[e(279)],this[e(265)][e(260)])[e(306)];let s=this[e(302)][e(257)](0);s&&s[e(306)][e(284)]()===i[e(284)]()||(s=new fo(this[e(265)],i,this[e(300)],this[e(272)]),this[e(302)][e(267)](s)),s[e(258)](t)}[wo(304)](t){const e=wo,i=oo(t[e(279)],this[e(265)][e(260)])[e(306)];this[e(261)](i)[e(268)](t)}[wo(261)](t){const e=wo;return this[e(302)][e(277)]((i=>i[e(306)][e(284)]()===t[e(284)]()))}}function Oo(t,e){const i=xo();return(Oo=function(t,e){return i[t-=152]})(t,e)}const To=Oo;function xo(){const t=["defaultRevisionActions","setName","30620rZDqOI","select","editor","add","highlightRevisions","restoreRevision","19256776thVoVC","newRevisionId","revisionSetName","Name this revision","getLaterVisibleRevision","RevisionsSidebar","26focpce","getRevisionsInDiff","153342bZXUlj","ready","3332322RHNFPE","plugins","320olfggZ","_handleRevisionSelected","init","_sidebarView","revisionHistory.revisionActions","Compare against selected","repository","remove","get","isSelected","requires","name","data","appendChild","_createRevisionActions","compare","isVisible","change:diff","render","destroy","getIndex","revisionViews","length","action","fieldView","string","isReady","availableRevisionActions","selectRevision","restoreRevisionCallback","nameRevision","revisionHistory.requireRevisionName","pluginName","isEnabled","321WkRket","34860ucouoJ","isOfficialPlugin","revisionHistory.viewerSidebarContainer","222hpSUxM","config","diff","revisionHistory","listenTo","element","_revisionViewer","_handleRevisionSetName","revisionSelected","_handleEditorDataReady","focus","_revisionsRepository","getRevision","isPremiumPlugin","_revisions","_handleDiffChange","bind","compareAgainstSelected","50564HSUngc","map","locale","Restore this revision","21563NFiZpp","getEarlierVisibleRevision","assign","timePeriodViews"];return(xo=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(733900===-parseInt(e(167))/1*(-parseInt(e(185))/2)+-parseInt(e(225))/3*(parseInt(e(163))/4)+-parseInt(e(226))/5*(-parseInt(e(229))/6)+parseInt(e(189))/7+-parseInt(e(191))/8*(parseInt(e(187))/9)+parseInt(e(173))/10+parseInt(e(179))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends W.Plugin{[To(235)];[To(156)];[To(194)];static[To(171)]=[To(162),To(178),To(221)];static[To(218)]=function(){const t=To;return{compareAgainstSelected:{name:t(196),action:({plugins:e},i)=>{const s=t,n=e[s(199)](ee),r=n[s(197)];let o=n[s(231)][s(180)],a=i.id;r[s(211)](o)>r[s(211)](a)&&([o,a]=[a,o]),n[s(206)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(199)](ee);return!(n[s(197)][s(186)](n[s(231)])[s(213)]>2||i[s(200)])}},restoreRevision:{name:t(166),action:(e,{id:i})=>{const s=t;e[s(230)][s(199)](s(232))[s(220)](i)},isVisible:({plugins:e},i)=>!!e[t(199)](ee)[t(197)][t(183)](i.id)},nameRevision:{name:t(182),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(199)](ee),o=r[n(197)][n(168)](i);r[n(206)](i,o),s[n(155)](),s[n(215)][n(174)]()}}}}();static get[To(223)](){return To(184)}static get[To(227)](){return!0}static get[To(158)](){return!0}static get[To(201)](){return[ee]}constructor(t){const e=To;super(t),this[e(235)]=t[e(190)][e(199)](ee),this[e(156)]=this[e(235)][e(197)],this[e(194)]=null}[To(193)](){const t=To,e=this[t(156)][t(159)],i=this[t(205)](),s=this[t(175)][t(230)][t(199)](t(228));this[t(194)]=new So(this[t(175)][t(165)],e,i,this[t(175)][t(230)][t(199)](t(222))),this[t(194)].on(t(153),this[t(192)][t(161)](this)),this[t(194)].on(t(181),this[t(152)][t(161)](this)),this[t(194)][t(161)](t(224)).to(this[t(235)]),this[t(194)][t(170)].on(t(176),((e,i)=>{const s=t;i[s(212)].on(s(176),((t,e)=>{const i=s;e[i(161)](i(224),i(217)).to(this[i(235)])}))})),this[t(194)][t(209)](),this[t(233)](this[t(175)][t(203)],t(188),this[t(154)][t(161)](this)),this[t(233)](this[t(235)],t(208),this[t(160)][t(161)](this)),s[t(204)](this[t(194)][t(234)])}[To(210)](){const t=To;this[t(194)][t(234)][t(198)](),this[t(194)][t(210)]()}[To(154)](){const t=To,e=this[t(156)][t(157)](0);if(e){const i=this[t(156)][t(168)](e.id);this[t(235)][t(206)](e,i)}}[To(192)](t,e){const i=To,s=this[i(156)][i(157)](e.id),n=this[i(156)][i(168)](s.id);this[i(235)][i(206)](s,n)}[To(152)](t,e){const i=To;this[i(156)][i(157)](e.id)[i(172)](e[i(202)])}[To(160)](t,e,i){const s=To,n=this[s(156)][s(186)](i);n[s(213)]>2?(this[s(194)][s(177)](n),this[s(194)][s(219)](null)):(this[s(194)][s(177)]([]),this[s(194)][s(219)](n[0]))}[To(205)](){const t=To,e=this[t(175)],i=No[t(218)],s=e[t(230)][t(199)](t(195))||No[t(171)];if(s[t(213)])return s[t(164)]((s=>{const n=t,r=n(216)==typeof s?Object[n(169)]({},i[s]):s;return r[n(214)]=r[n(214)][n(161)](this,e),r[n(207)]&&(r[n(207)]=r[n(207)][n(161)](this,e)),r}))}}const Ro=No,Ao=Eo;function Vo(){const t=["render","config","78419ShipWc","replace","_toolbarConfig","document","_initToolbar","302262AiEdsZ","bind","name","fire","_elementReplacer","fillFromConfig","isFocused","30RayxiK","limiterElement","attachDomRoot","2149154IrVDVh","setEditableElement","toolbar","3055860YaHfYe","1968vXzuOZ","editing","getRoot","init","detachDomRoot","editor","viewportTopOffset","isActive","ready","47205HDIGka","rootName","25LXsIvN","editable","300zUXmiS","stickyPanel","focusTracker","view","12DdIahS","addToolbar","1303060INPKmS","1460985hvnLmx","get","restore","_view","element","destroy","componentFactory","viewportOffset"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=308]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(875563===-parseInt(e(316))/1+-parseInt(e(331))/2*(-parseInt(e(338))/3)+-parseInt(e(315))/4*(-parseInt(e(356))/5)+-parseInt(e(313))/6*(-parseInt(e(341))/7)+parseInt(e(345))/8*(-parseInt(e(354))/9)+-parseInt(e(344))/10+-parseInt(e(326))/11*(-parseInt(e(309))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Mo extends pt.EditorUI{[Ao(319)];[Ao(328)];[Ao(335)];get[Ao(312)](){return this[Ao(319)]}constructor(e,i){const s=Ao;super(e),this[s(319)]=i,this[s(328)]=(0,pt.normalizeToolbarConfig)(e[s(325)][s(317)](s(343))),this[s(335)]=new t.ElementReplacer}get[Ao(320)](){const t=Ao;return this[t(312)][t(320)]}[Ao(348)](t){const e=Ao,i=this[e(350)],s=this[e(312)],n=i[e(346)][e(312)],r=s[e(308)],o=n[e(329)][e(347)]();r[e(333)]=o[e(355)],s[e(324)]();const a=r[e(320)];this[e(342)](r[e(333)],a),s[e(308)][e(332)](e(337)).to(this[e(311)]),n[e(340)](a),this[e(335)][e(327)](t,this[e(320)]),this[e(330)](),this[e(334)](e(353))}[Ao(321)](){const t=Ao;super[t(321)]();const e=this[t(312)],i=this[t(350)][t(346)][t(312)];this[t(335)][t(318)](),i[t(349)](e[t(308)][t(333)]),e[t(321)]()}[Ao(330)](){const t=Ao,e=this[t(312)];e[t(310)][t(332)](t(352)).to(this[t(311)],t(337)),e[t(310)][t(339)]=e[t(320)],e[t(310)][t(332)](t(351)).to(this,t(323),(({top:t})=>t)),e[t(343)][t(336)](this[t(328)],this[t(322)]),this[t(314)](e[t(343)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=Lo;function Lo(t,e){var i=Po();return(Lo=function(t,e){return i[t-=113]})(t,e)}function Po(){var t=["editable","render","799611khGmrC","12860757NOIycc","4kxVUfc","top","339456ITnCSx","_editable","add","1521035KdNEyI","shouldToolbarGroupWhenFull","12887mcfvtz","6RzAEhi","toolbar","content","562333uTYEVf","stickyPanel","14641WphstN","25170KKZyiN","2744IvMgGy","main"];return(Po=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(820633===parseInt(e(129))/1*(-parseInt(e(118))/2)+parseInt(e(116))/3+parseInt(e(120))/4+parseInt(e(123))/5*(parseInt(e(126))/6)+parseInt(e(125))/7*(-parseInt(e(133))/8)+-parseInt(e(117))/9+parseInt(e(132))/10*(parseInt(e(131))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Fo(121)];[Fo(130)];[Fo(127)];get[Fo(114)](){return this[Fo(121)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(130)]=new pt.StickyPanelView(t),this[s(127)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(124)]}),this[s(121)]=new pt.InlineEditableUIView(t,e)}[Fo(115)](){var t=Fo;super[t(115)](),this[t(130)][t(128)][t(122)](this[t(127)]),this[t(119)][t(122)](this[t(130)]),this[t(113)][t(122)](this[t(114)])}}const zo=Uo;function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=204]})(t,e)}function Wo(){const t=["ready","init","locale","sourceElement","2029265eeSZue","35314zNXGiX","model","updateSourceElement","24BobahZ","2479572zywycz","createRoot","view","get","_ui","90ptPclW","69iNXhqI","document","editing","initPlugins","920030jZVbfS","config","data","5432022aVaUVV","fire","destroy","5668424tlXmur","initialData","472977aaVtrP","create"];return(Wo=function(){return t})()}!function(t){const e=Uo,i=t();for(;;)try{if(595115===parseInt(e(220))/1+parseInt(e(227))/2*(-parseInt(e(208))/3)+parseInt(e(230))/4*(parseInt(e(212))/5)+parseInt(e(215))/6+parseInt(e(226))/7+parseInt(e(218))/8+-parseInt(e(231))/9*(parseInt(e(207))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Zo extends((0,W.ElementApiMixin)(W.Editor)){[zo(206)];get ui(){return this[zo(206)]}constructor(t,e){const i=zo;super(e),this[i(225)]=t,this[i(228)][i(209)][i(232)]();const s=new jo(this[i(224)],this[i(210)][i(204)],{shouldToolbarGroupWhenFull:!0});this[i(206)]=new Mo(this,s)}[zo(217)](){const t=zo;return this[t(229)](),this.ui[t(217)](),super[t(217)]()}static async[zo(221)](t,e){const i=zo,s=new this(t,e);return await s[i(211)](),await s.ui[i(223)](t),await s[i(214)][i(223)](s[i(213)][i(205)](i(219))||""),s[i(216)](i(222)),s}}const Ho=Bo;function $o(){const t=["lazyRoots","join","users","createRangeIn","fromCharCode","model","restrictedEditingException","keys","config","uiLanguage","requires","getRevisionRootsAttributes","$graveyard","disableReadOnlyMode","getRevisions","from","RevisionHistory","PaginationLookup","push","roots","map","update","changesNavigation","315623suAOhU","toLocaleTimeString","toVersion","selection","729320mOjfth","_cleanUp","set","Users","setSelection","catch","name","revisionHistory.editorContainer","isEnabled","createdAt","enableReadOnlyMode","RevisionViewerIntegration","revisionHistory.showRevisionViewerCallback","revision-history-viewer-opened","RevisionHistoryUI","get","error","revisionHistory.requireRevisionName","insert","toolbar","Autosave","bind","RevisionHistoryUtils","save","addRoot","loadRevisionData","getRevisionDocumentData","_closeRevisionViewer","define","RevisionViewer","enqueueChange","create","includes","hide","_getRevisionViewerEditorConfig","RevisionsRepository","toJSON","_recalculatePageBreaks","result","RestrictedEditingMode","pluginName","995872ipveEt","commands","DocumentOutline","isReadOnly","block","init","showRevisionViewerCallback","_restoreRevision","indexOf","addUser","saveRevision","isOfficialPlugin","has","refreshPositioning","plugins","addRevisionData","markers","isOpen","revisionHistory.viewerEditorElement","1811460oUfHXC","Annotations","remove","isReady","editor","_viewerEditor","refreshVisibility","end","getRoot","data","destroy","long","parse","isAnonymous","none","exitToEditing","style","revisionHistory","numeric","document","_enhanceCloseRevisionViewerCallback","127527cIPOly","display","revision-history-missing-configuration","removeMarker","closeRevisionViewerCallback","toLocaleDateString","rootName","getAttributeKeys","5432120lnSpkd","36qIYJYW","DocumentOutlineUI","removeSelectionAttribute","RevisionTracker","isAttached","adapter","_enhanceShowRevisionViewerCallback","revisionHistory.closeRevisionViewerCallback","locale","18fczsUM","repository","translations","isRevisionViewerOpen","change","detachRoot","element","fromVersion","_update","restoreRevision","view","1236975KpxiAW","removeAttribute","getUser","setAttribute","revisionHistory.viewerContainer","isPremiumPlugin","60DsThdS","revisionHistory.restoreRevisionCallback","getMarkersGroup","_showRevisionViewer","getRevision","creator","Restored","Dialog","then"];return($o=function(){return t})()}function Bo(t,e){const i=$o();return(Bo=function(t,e){return i[t-=377]})(t,e)}!function(t){const e=Bo,i=t();for(;;)try{if(518441===parseInt(e(490))/1+parseInt(e(387))/2*(-parseInt(e(378))/3)+parseInt(e(509))/4+-parseInt(e(407))/5+parseInt(e(413))/6*(-parseInt(e(445))/7)+parseInt(e(386))/8+-parseInt(e(396))/9*(parseInt(e(449))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const qo=[Ho(463),Ho(488)];class Yo extends W.Plugin{[Ho(487)];static get[Ho(489)](){return Ho(460)}static get[Ho(501)](){return!0}static get[Ho(412)](){return!0}constructor(t){const e=Ho;function i(t){const e=Bo;return t[e(442)]((t=>String[e(426)](t)))[e(423)]("")}super(t),this[e(487)]=e(516),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends W.Plugin{[Ho(514)];static get[Ho(489)](){return Ho(438)}static get[Ho(501)](){return!0}static get[Ho(412)](){return!0}static get[Ho(432)](){return[ct,Lt]}constructor(e){const i=Ho;if(super(e),!this[i(513)][i(430)][i(464)](i(526)))throw new t.CKEditorError(i(380),this);this[i(514)]=null,this[i(451)](i(399),!1),this[i(513)][i(430)][i(477)](i(461),(t=>this[i(416)]({...t,translations:this[i(513)][i(395)][i(398)]}))),this[i(513)][i(430)][i(477)](i(394),(t=>this[i(476)](t))),this[i(513)][i(430)][i(477)](i(414),(t=>this[i(497)](t))),this[i(513)][i(430)][i(477)](i(466),!1),this[i(393)](),this[i(377)]()}set[Ho(392)](t){const e=Ho;this[e(513)][e(504)][e(464)](e(390))[e(392)]=t}get[Ho(392)](){const t=Ho;return this[t(513)][t(504)][t(464)](t(390))[t(392)]}[Ho(505)](t){const e=Ho;return this[e(513)][e(504)][e(464)](e(390))[e(505)](t)}[Ho(417)](t){const e=Ho;return this[e(513)][e(504)][e(464)](e(484))[e(417)](t)}[Ho(436)](t){const e=Ho;return this[e(513)][e(504)][e(464)](e(484))[e(436)](t||{toJSON:!1})}[Ho(483)](){const e=Ho,i=this[e(513)],s=(0,Z.sanitizeEditorConfig)(i,qo),n=i[e(504)][e(464)](e(390)),r=i[e(504)][e(464)](e(452))[e(424)];return s[e(468)]=[e(524),e(405),e(444)],delete s[e(422)],s[e(504)][e(440)](Yo,ee,be,class extends W.Plugin{static get[e(432)](){return[ee,e(452)]}[e(495)](){const s=e,o=this[s(513)][s(504)][s(464)](s(452));for(const t of r)t[s(522)]||o[s(409)](t.id)||o[s(499)](t);const a=n[s(397)][s(436)]();let c=null;const u=this[s(513)][s(504)][s(464)](s(478));u[s(392)]=n[s(392)],u[s(470)](s(457)).to(n),this[s(513)][s(491)][s(464)](s(405))[s(470)](s(457)).to(i,s(493),(t=>!t));for(const e of a){const i=null===e[s(418)];if(i&&e[s(447)]===e[s(403)])continue;const r=e[s(485)]();u[s(505)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(404)](r,o);else if(!o){const e=a[u(485)]();e.id=(0,t.uid)(),n[u(500)](e,a[u(447)])[u(421)]((t=>{c=t}))}}else e[u(404)](r,o)}))}}},Ro),s}[Ho(393)](){const t=Ho,e=this[t(513)][t(430)][t(464)](t(526))[t(496)];this[t(513)][t(430)][t(451)](t(461),(async()=>{const i=t;this[i(513)][i(459)](i(462));const s=this[i(513)][i(504)][i(464)](i(390));if(this[i(513)][i(504)][i(502)](i(469))){const t=this[i(513)][i(504)][i(464)](i(469));await t[i(472)]()}else await s[i(443)]();if(this[i(513)][i(504)][i(502)](i(439))&&this[i(513)][i(504)][i(464)](i(439))[i(486)](),this[i(513)][i(504)][i(502)](i(420))){const t=this[i(513)][i(504)][i(464)](i(420));t[i(507)]&&t[i(482)]()}const n=this[i(483)]();return e(n)[i(421)]((t=>{const e=i;return this[e(514)]=t,this[e(513)][e(504)][e(502)](e(510))&&this[e(513)][e(504)][e(464)](e(510))[e(515)](),this[e(513)][e(504)][e(502)](e(492))&&(this[e(513)][e(504)][e(464)](e(388))[e(406)][e(402)][e(525)][e(379)]=e(523)),t}))[i(454)]((t=>(console[i(465)](t),this[i(513)][i(435)](i(462)),null)))}))}[Ho(377)](){const t=Ho,e=this[t(513)][t(430)][t(464)](t(526))[t(382)];this[t(513)][t(430)][t(451)](t(394),(()=>(this[t(513)][t(504)][t(502)](t(439))&&this[t(513)][t(504)][t(464)](t(439))[t(486)](),this[t(513)][t(504)][t(502)](t(492))&&(this[t(513)][t(504)][t(464)](t(388))[t(406)][t(402)][t(525)][t(379)]=""),this[t(514)][t(504)][t(464)](t(478))[t(450)](),e(this[t(514)])[t(421)]((()=>{const e=t;if(this[e(513)][e(435)](e(462)),this[e(514)]=null,this[e(513)][e(504)][e(502)](e(510))){const t=this[e(513)][e(504)][e(464)](e(510));t[e(515)](),t[e(503)]()}})))))}[Ho(416)](t){const e=Ho,i=this[e(513)][e(430)][e(464)](e(456)),s=this[e(513)][e(430)][e(464)](e(411)),n=this[e(513)][e(430)][e(464)](e(508));return Zo[e(480)](n,t)[e(421)]((t=>(s[e(525)][e(379)]=e(494),i[e(525)][e(379)]=e(523),this[e(399)]=!0,t)))}[Ho(476)](t){const e=Ho,i=this[e(513)][e(430)][e(464)](e(456));return this[e(513)][e(430)][e(464)](e(411))[e(525)][e(379)]=e(523),i[e(525)][e(379)]="",this[e(399)]=!1,t[e(519)]()}async[Ho(497)](t){const e=Ho,i=this[e(513)],s=this[e(514)][e(504)][e(464)](e(478)),n=i[e(504)][e(464)](e(390)),r=i[e(504)][e(464)](e(471)),o=s[e(397)][e(417)](t);let a,c,u;try{await r[e(474)](o,this[e(392)]),a=r[e(475)](o),c=r[e(433)](o)}catch(t){return void console[e(465)](t)}i[e(427)][e(400)]((t=>{const s=e;for(const e of Array[s(437)](i[s(427)][s(506)][s(415)](s(428))))t[s(381)](e)})),s[e(512)]=!1,i[e(427)][e(479)]((t=>{const s=e;t[s(453)](null),t[s(389)](i[s(427)][s(528)][s(448)][s(385)]());const n=Object[s(429)](a);for(const e of i[s(427)][s(528)][s(441)])s(434)!=e[s(384)]&&e[s(391)]()&&!n[s(481)](e[s(384)])&&t[s(401)](e);for(const e of n){let n=i[s(427)][s(528)][s(517)](e);n&&n[s(391)]()||(n=t[s(473)](e));const r=c[e],o=Object[s(429)](r),u=a[e];for(const e of n[s(385)]())o[s(481)](e)||t[s(408)](e,n);for(const i of o)t[s(410)](i,c[e][i],n);t[s(511)](t[s(425)](n)),t[s(467)](i[s(518)][s(521)](u,n),n,0)}}));const l=Q(i[e(395)],e(419));return u=o[e(455)]?-1==o[e(455)][e(498)](l)?l+": "+o[e(455)]:o[e(455)]:l+": "+o[e(458)][e(383)](i[e(395)][e(431)],{month:e(520),day:e(527)})+", "+o[e(458)][e(446)](i[e(395)][e(431)],{hour:e(527),minute:e(527)}),await n[e(500)]({name:u}),s[e(512)]=!0,i[e(430)][e(464)](e(526))[e(382)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=400]})(t,e)}function Ko(){var t=["93fFwkAN","7592880nBcXDN","294990dKICUD","8247762YPbIrH","23290PqrYoE","349448DjntNu","1441yhtYRB","21052ZvsPWX","231UqnHBI","1146983YHrrDC","184hmtLZA"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(847407===parseInt(e(400))/1+parseInt(e(409))/2*(-parseInt(e(402))/3)+-parseInt(e(401))/4*(parseInt(e(406))/5)+-parseInt(e(403))/6+-parseInt(e(410))/7*(parseInt(e(407))/8)+-parseInt(e(405))/9+parseInt(e(404))/10*(parseInt(e(408))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|