@ckeditor/ckeditor5-revision-history 45.2.1 → 45.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>at,RevisionViewer:()=>te,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,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==(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 D(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function E(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?E(e)?F(t,D(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=130]})(t,e)}function z(){const t=["name","fromVersion","map","createdAt","53004CzoJNg","creatorId","model","2JxVDyx","456SlFbeC","6970410vPalFp","623625iaTBax","setName","toJSON","890679wHOcEy","authors","set","_update","removeAttribute","9778659CRpCJM","12DuolvK","20hnKPul","diffData","attributes","2727219bxCipV","fire","toVersion","806049kunCjc","creator","setAttribute","authorsIds"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(733949===-parseInt(e(151))/1*(-parseInt(e(145))/2)+parseInt(e(131))/3+-parseInt(e(157))/4*(-parseInt(e(148))/5)+-parseInt(e(147))/6+parseInt(e(142))/7*(parseInt(e(146))/8)+-parseInt(e(134))/9*(-parseInt(e(158))/10)+-parseInt(e(156))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[L(135)];[L(152)];[L(159)];[L(133)];[L(139)];[L(144)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(135)]=e[i(135)]||null,this[i(152)]=e[i(152)]||[],this[i(159)]=e[i(159)]||null,this[i(133)]=e[i(133)]||0,this[i(139)]=e[i(139)]||0,this[i(153)](i(138),e[i(138)]||""),this[i(153)](i(141),e[i(141)]||new Date),this[i(153)](i(130),e[i(130)]||{})}[L(149)](t){this[L(154)]({name:t})}[L(136)](t,e){const i=L,s=A(this[i(130)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(154)]({attributes:s})}[L(155)](t){const e=L,i=A(this[e(130)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&E(e))return j(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(154)]({attributes:i})}[L(154)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(138),i(141),i(159),i(152),i(130),i(133),i(139),i(143)];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(152)]&&(n[i(137)]=n[i(152)][i(140)](t=>t.id),delete n[i(152)]),this[i(132)](i(154),n,e))}[L(150)](){const t=L;return{id:this.id,name:this[t(138)],creatorId:this[t(135)]?this[t(135)].id:null,authorsIds:this[t(152)][t(140)](t=>t.id),diffData:this[t(159)],createdAt:this[t(141)],attributes:this[t(130)],fromVersion:this[t(139)],toVersion:this[t(133)]}}}var U=i(782),H=i(211),Z=i(783);function $(t,e){const i=B();return($=function(t,e){return i[t-=461]})(t,e)}const q=$;function B(){const t=["editor","href","3906161oSDaoS","isOfficialPlugin","data","add","fromVersion","Users","createdAt","getLaterVisibleRevision","oldRevisionId","3232104TaUgbj","length","getUser","RevisionsRepository","getRevision","requires","15KBUMEX","get","1881213cSyaaN","18JReyYA","fromCharCode","creatorId","isPremiumPlugin","attributes","plugins","toJSON","later","854180aYYwZT","earlier","name","getRevisionsInDiff","join","afterInit","593098uoGeTj","diffData","getRevisions","createRevision","newRevisionId","push","getIndex","2692696yyTVlg","pluginName","1060592DbxAYC","from","addRevision","reverse","authorsIds","map","getEarlierVisibleRevision","getRevisionsIterator","_revisions","isNaN","toVersion"];return(B=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(347167===-parseInt(e(484))/1+parseInt(e(493))/2+parseInt(e(469))/3+parseInt(e(478))/4*(-parseInt(e(467))/5)+parseInt(e(461))/6+parseInt(e(506))/7+-parseInt(e(491))/8*(parseInt(e(470))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[q(501)];static get[q(466)](){return[H.Users]}static get[q(492)](){return q(464)}static get[q(507)](){return!0}static get[q(473)](){return!0}get[q(462)](){const t=q;return this[t(501)][t(462)]}constructor(e){const i=q;super(e),this[i(501)]=new t.Collection}[q(483)](){!async function(e){const i=k([51,53,100,116,56,122,83,66,121,89,76,87,101,81,80,105,120,90,88,67,74,119,72,109,106,82,112,86,79,117,98,68,49,107,57,102,110,65,97,114,50,84,99,55,77,69,52,118,108,85,113,48,103,78,111,70,73,71,104,54,115,75]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(502)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([100]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(498)](t=>String[e(471)](t))[e(482)]("")}!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{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:1750723200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(505)]);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([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[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{return k([73,110,118,97,108,105,100])}}())}(this)}[q(487)](t){const e=q,i=this[e(504)][e(475)][e(468)](e(511));return new W({id:t.id,name:t[e(480)],creator:t[e(472)]?i[e(463)](t[e(472)]):null,diffData:t[e(485)]||t[e(508)],authors:t[e(497)][e(498)](t=>i[e(463)](t)),createdAt:new Date(t[e(512)]),attributes:t[e(474)],fromVersion:t[e(510)],toVersion:t[e(503)]})}[q(495)](t,e=0){const i=q;this[i(501)][i(509)](t,e)}[q(465)](t){const e=q;return this[e(501)][e(468)](t)}[q(486)](t={toJSON:!1}){const e=q,i=Array[e(494)](this[e(501)]);return i[e(496)](),t[e(476)]?i[e(498)](t=>t[e(476)]()):i}[q(490)](t){const e=q;return this[e(501)][e(490)](t)}[q(499)](t){const e=q,[,i]=this[e(500)](t,{direction:e(479)});return i}[q(513)](t){const e=q,[,i]=this[e(500)](t,{direction:e(477)});return i}[q(481)](t){const e=q,i=[];for(const s of this[e(500)](t[e(488)]))if(i[e(489)](s),s.id===t[e(514)])break;return i}*[q(500)](t,{direction:e=q(479),filter:i=()=>!0}={}){const s=q,n=s(479)===e?1:-1;let r=this[s(501)][s(468)](t),o=this[s(490)](r);for(yield r;r;){if(o+=n,r=this[s(465)](o),!r)return;i(r)&&(yield r)}}}const J=K;function G(){const t=["from","pluginName","getRevisionRootsAttributes","293996XJiJeO","type","editing","revision-end","innerHTML","toModel","createElement","view","data-revision-","_typeCharToViewClass","24480zpFIMV","getFillerOffset","default","childNodes","insertions","isAttached","customProperties","constructor","useFillerType","viewChildrenToDom","map","name","domConverter","revision-start","processor","8GSYmmO","attachChange","_setCustomProperty","423327nQAXfF","startsWith","render","marked","_getViewFromDiffObj","8aMBpPw","853740qdsEuT","parse","htmlProcessor","children","_viewClassToTypeChar","_getTypeCharForViewElement","attributesAfter","collaboration.channelId","isPremiumPlugin","_removeRevisionMarkers","15029lczqCr","attributes","filter","toData","diffData","get","getRevisionDocumentData","_makeModelFromViewString","7847262ZryrRp","fillerOffset","getRevision","forEach","_appendChild","length","domChildrenToView","RevisionHistoryUtils","310098QDllDz","loadRevisionData","string","document","config","editor","domDocument","append","isOfficialPlugin","div","data"];return(G=function(){return t})()}function K(t,e){const i=G();return(K=function(t,e){return i[t-=328]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(186732===-parseInt(e(363))/1+parseInt(e(373))/2+-parseInt(e(391))/3*(parseInt(e(388))/4)+-parseInt(e(397))/5+parseInt(e(349))/6+-parseInt(e(333))/7*(parseInt(e(396))/8)+parseInt(e(341))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class X extends U.Plugin{static get[J(361)](){return J(348)}static get[J(357)](){return!0}static get[J(331)](){return!0}[J(401)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(372)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(350)](t,e){const i=J;if(t[i(337)]||!e)return;const s=this[i(354)][i(353)][i(338)](i(330)),n=await e[i(343)]({channelId:s,revisionId:t.id});t[i(337)]=n[i(337)]}[J(339)](t){const e=J,i={};for(const s in t[e(337)]){if(t[e(337)][s][e(389)]&&!t[e(337)][s][e(389)][e(378)])continue;const n=this[e(332)](JSON[e(398)](t[e(337)][s][e(377)])),r=this[e(354)][e(365)][e(370)][e(352)],o=new Z.ViewDocumentFragment(r,n[e(383)](t=>this[e(395)](t,!1)));this[e(354)][e(359)][e(387)][e(381)](e(394)),i[s]=this[e(354)][e(359)][e(387)][e(336)](o),this[e(354)][e(359)][e(387)][e(381)](e(375))}return i}[J(362)](t){const e=J,i={};for(const s in t[e(337)])t[e(337)][s][e(389)]&&!t[e(337)][s][e(389)][e(378)]||(i[s]=t[e(337)][s][e(329)]||{});return i}[J(328)](t){const e=J;return this[e(401)][e(338)](t[e(380)])}[J(395)](t,e){const i=J,s=this[i(354)][i(365)][i(370)][i(352)];if(i(351)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(364)]||"r"==t[i(364)]?[]:t[i(400)][i(383)](t=>this[i(395)](t,e));const o=this[i(372)][i(338)](t[i(364)])||Z.ViewElement,a=this[i(354)][i(359)][i(399)][i(385)];if(n=new o(s,t[i(384)],t[i(334)],r),"u"==t[i(364)]&&t[i(400)][0]){const r=t[i(400)][0];if(n[i(393)]=function(t){const e=i,s=t[e(369)](e(358));return s[e(367)]=r,s[e(376)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(345)](n);const e=Array[i(360)](a[i(382)](t,{bind:!1})),r=a[i(355)][i(369)](i(358));r[i(356)](...e),n=Array[i(360)](a[i(347)](r))[0]}}else if("r"==t[i(364)]&&t[i(400)][0]){const r=t[i(400)][0];if(n[i(393)]=function(t){t[i(367)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(345)](n);const e=Array[i(360)](a[i(382)](t,{bind:!1})),r=a[i(355)][i(369)](i(358));r[i(356)](...e);const o=Array[i(360)](a[i(347)](r));o[i(346)]>1?n[i(345)](o):n=o[0]}}if(t[i(379)])for(const[e,s]of t[i(379)])n[i(390)](e,s);const c=void 0===t[i(342)]?null:t[i(342)];return null!==c&&(n[i(374)]=()=>c),n}}[J(340)](t){const e=J,i=JSON[e(398)](t),s=this[e(354)][e(365)][e(370)][e(352)],n=new Z.ViewDocumentFragment(s,i[e(383)](t=>this[e(395)](t,!0)));return this[e(354)][e(359)][e(368)](n)}[J(332)](t){const e=J;return(t=t[e(335)](t=>!t[e(384)]||e(386)!==t[e(384)]&&e(366)!==t[e(384)]))[e(344)](t=>{const i=e;i(351)!=typeof t&&(t[i(400)]=this[i(332)](t[i(400)]),t[i(334)]=t[i(334)][i(335)](t=>!t[0][i(392)](i(371))))}),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),D=s.get(i);if(null!=V&&null!=D)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)}function rt(){const t=["shift","_generateTape","string","_handleRootAttributeOperation","_saveMetaData","startsWith","bind","outerHTML","RevisionsRepository","length","changeRootAttribute","detachRoot","initialData","destroy","creator","expired","update","sendBufferedUpdates","currentRevision","authors","_createFromRanges","createPositionFromPath","conversion","previousPosition","get","elementStart","_licenseKeyCheckInterval","_loadState","setSource","isPremiumPlugin","_handleMarkerOperation","domainLimit","vid_end","_clone","_prepareViewToSave","_touchedMarkers","2IGoURH","1440229eAHjcG","getOperations","_insertChild","clone","_update","customProperties","2220540kJnnwE","model","getRoot","_execute","getRevisions","_loadedStateData","RevisionHistory","upcast","_handleOperation","attachChange","editor","_getTypeCharForViewElement","11057850PHbsop","afterInit","reverse","revisionHistory.resumeUnsavedRevision","roots","vid","define","_processRootBeforeSave","revision","innerHTML","getAttributes","authorsIds","RevisionTracker","getUser","addRevision","_getPreviousFrom","pluginName","fromVersion","_diffRootsAttributes","Empty document","updateRevisions","_baseIdsRoots","Users","_bufferedUpdates","isReady","rawElement","revisionHistoryLicenseKeyNotAllowed","nodes","_getFromVersion","root","_savedMetaData","$comment","userId","addRoot","includes","_handleMergeOperation","keepParagraph","some","vid_start","version","8121TymHuO","offsetSize","tableCell","dataDowncast","finally","attributesBefore","plugins","isEqual","getWalker","33702735NGYLTp","_isInit","_setAttribute","markers","init","element","_makeRevision","_baseRoots","evaluationLimit","deletions","createPositionAt","_lastFrom","_utils","toView","getIndex","invalid","keys","push","_fixOperation","_setConversion","_makeModelFromViewString","_baseRootsAttributes","insertions","_startingRevisionId","creatorId","revisionHistoryLicenseKeyEvaluationLimit","_copyMarkers","rootsAttributes","for","stringify","_removePendingAction","getMovedRangeStart","_markers","_reset","add","key","revisionHistoryLicenseKeyInvalid","oldRange","isAdd","getTransformedByOperation","PENDING_ACTION_REVISION_HISTORY","markerToData","render","_addPendingAction","remove","_cloneOperation","affectsData","_transformMarkers","_handleMoveOperation","_getState","_replaceEditorDataWithRevisionData","end","data","then","values","_handleRootOperation","loadRevisionData","item","PendingActions","3492eERISr","elementEnd","revisionHistoryLicenseKeyExpired","_getBaseVids","RealTimeCollaborationClient","getTime","_lastTo","800278zkmvko","editor-initial-data-replaced-with-revision-data","diffData","merge","attributesAfter","rootName","targetPosition","domConverter","text","_handleSplitOperation","childCount","_findInsertionIndex","setRevisionData","addRevisionData","_markChanges","paragraph","getAncestors","_initialRevisionId","_startingVersion","parent","getData","getFillerOffset","sort","_revisionId","newValue","set","getCurrentRevisionId","size","children","dataToMarker","insert","adapter","_createInitialRevision","isEnabled","start","_showLicenseError","_getViewJson","_authorId","Initial revision","from","_fixPosition","featureNotAllowed","initial","_handleInsertOperation","locale","reinsert","_revisionDataBuilder","hasContent","_operations","repository","removeRootAttribute","nodeAfter","max","requires","_isAttached","_removeMetaData","getNodeByPath","getAttribute","_idsRoots","_source","source","_diffRoots","21848UfUKNd","toVersion","getChildren","isAttached","uiElement","resolve","_touchedRoots","revisionHistoryLicenseKeyUsageLimit","$text","createRange","history","find","documentFragment","createPositionAfter","loadState","getLatestVersion","licenseKey","createRangeIn","getOperation","_makeIdsRoot","insertionPosition","revisionHistoryLicenseKeyDomainLimit","splitPosition","newRange","usageLimit","getChild","insertion","buildRevisionData","_isPendingUpdate","createElement","sourcePosition","path","_fixRange","filter","slice","createPositionBefore","htmlProcessor","baseVersion","_appendChild","fillerOffset","NEGATIVE_INFINITY","howMany","move","revisionHistoryLicenseKeyValid","1656QunrrC","saveRevision","clear","_createCurrentRevision","document","map","getRevisionDocumentData","getRevisionRootsAttributes","_applyOperations","position","revisionHistoryLicenseKeyTrialLimit","_continueCurrentRevision","_calculateMetaData","fromEntries","_pendingAction","getRevision","type","addRootAttribute","collaboration.channelId","trim","reInit","_getVidAttributeName","has","30dyVPwK","config","getCustomProperties","delete","offset","name","range","_bufferUpdate","graveyardPosition","trialLimit","deletion","createdAt","$graveyard","isOfficialPlugin","getRange","ready","split","RevisionHistoryUtils","marker","revision:","domDocument","stickiness","createRevision","_touched","getRootNames"];return(rt=function(){return t})()}const ot=ct;!function(t){const e=ct,i=t();for(;;)try{if(604439===parseInt(e(214))/1*(-parseInt(e(348))/2)+parseInt(e(273))/3*(-parseInt(e(130))/4)+parseInt(e(221))/5+-parseInt(e(153))/6*(parseInt(e(215))/7)+-parseInt(e(410))/8*(parseInt(e(341))/9)+parseInt(e(233))/10+parseInt(e(282))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class at extends U.Plugin{[ot(426)];[ot(204)];[ot(196)]=null;[ot(397)];[ot(379)]=null;[ot(394)];[ot(407)];[ot(365)];[ot(256)];[ot(294)];[ot(144)];[ot(141)];[ot(366)];[ot(226)];static get[ot(249)](){return ot(245)}static get[ot(166)](){return!0}static get[ot(207)](){return!0}static get[ot(401)](){return[H.Users,Y,X,U.PendingActions]}constructor(e){const i=ot;super(e),this[i(397)]=this[i(231)][i(279)][i(202)](i(186)),this[i(294)]=this[i(231)][i(279)][i(202)](i(170)),this[i(394)]=new ut(this[i(231)]),this[i(365)]=this[i(231)][i(154)][i(202)](i(148))||i(390),this[i(256)]=new Map,this[i(226)]=null;const s=(0,t.uid)();this[i(407)]={history:this[i(231)][i(222)][i(134)][i(420)],getLatestVersion:()=>Promise[i(415)](this[i(231)][i(222)][i(134)][i(272)]),getCurrentRevisionId:()=>s},this[i(373)](i(257),!1),this[i(373)](i(381),!0),this[i(373)](i(114),!1),this[i(231)][i(154)][i(239)](i(236),!0),this[i(231)][i(200)][i(310)](i(228))[i(377)]({view:i(241)})}[ot(286)](){const t=ot;this[t(301)](),this[t(231)][t(334)].on(t(168),()=>{const e=t,i=this[e(397)][e(145)](0),s=i&&null===i[e(192)]?i:null;if(this[e(141)]=!!s&&this[e(231)][e(154)][e(202)](e(236)),this[e(231)][e(279)][e(152)](e(345))){const t=this[e(407)][e(374)](),n=this[e(397)][e(145)](t);if(n)this[e(366)]=n[e(250)],this[e(141)]=!1;else{const t=this[e(407)][e(420)][e(396)][e(421)](t=>!t[e(283)]),n=t?t[e(123)]:this[e(407)][e(420)][e(272)];i?(i[e(411)]<n&&i[e(219)]({toVersion:n}),this[e(141)]?(this[e(407)][e(374)]=()=>s.id,this[e(366)]=s[e(250)]):(this[e(366)]=i[e(411)],this[e(141)]=!1)):(this[e(366)]=n,this[e(141)]=!1)}}else s&&(this[e(231)][e(222)][e(134)][e(420)][e(272)]=Math[e(400)](s[e(411)],this[e(231)][e(222)][e(134)][e(420)][e(272)]),s[e(250)]===s[e(411)]?(0!==s[e(250)]&&(this[e(407)][e(374)]=()=>s.id),this[e(141)]=!1):this[e(141)]&&(this[e(407)][e(374)]=()=>s.id,this[e(366)]=s[e(250)])),this[e(141)]||(this[e(366)]=this[e(231)][e(222)][e(134)][e(272)]);this[e(394)][e(286)](this[e(407)][e(420)]),this[e(380)](this[e(366)]),this[e(133)](this[e(366)]),this[e(379)]&&this[e(195)]()}),this[t(184)](t(257)).to(this,t(114),t=>!t),this[t(426)]=this[t(231)][t(154)][t(202)](t(426));const e=this[t(231)];this[t(204)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(129)==r||i(318)==r||i(343)==r||i(431)==r||i(259)==r||i(307)==r||i(140)==r||i(417)==r){delete e[n],s=r,clearInterval(this[i(204)]),this[i(204)]=void 0;break}}i(318)==s&&e[i(383)](i(297)),i(343)==s&&e[i(383)](i(193)),i(431)==s&&e[i(383)](i(209)),i(259)==s&&e[i(383)](i(389),i(227)),i(307)==s&&e[i(383)](i(290)),i(140)==s&&e[i(383)](i(162)),i(417)==s&&e[i(383)](i(110))},1e3)}async[ot(234)](){const t=ot;if(this[t(397)][t(187)]>0){const e=this[t(397)][t(145)](0),i=await this[t(136)](e),s=await this[t(137)](e);this[t(332)](i,s)}}[ot(191)](){const t=ot;super[t(191)](),this[t(204)]&&clearInterval(this[t(204)])}[ot(206)](t){this[ot(407)]=t}async[ot(194)](){const t=ot,e=await this[t(407)][t(425)]();if(e>this[t(196)][t(411)]){await this[t(205)]();const i=this[t(113)]({revision:this[t(196)],to:e});i[t(197)]=i[t(244)][t(135)](e=>this[t(231)][t(279)][t(202)](t(255))[t(246)](e)),this[t(196)][t(219)](i)}}async[ot(131)](e={},i=null){const s=ot,n=[];await this[s(205)](),this[s(141)]=!1,i>this[s(196)][s(411)]&&(i=null),null===i&&(i=await this[s(407)][s(425)]());const r=this[s(261)](i),o=this[s(113)]({from:r,to:i});if(this[s(196)][s(411)]<i){const t=this[s(113)]({revision:this[s(196)],from:i,to:i});t[s(197)]=[],t[s(244)]=[],t.id=this[s(196)].id,this[s(196)][s(219)](t,!0),delete t[s(197)],n[s(299)](t)}e[s(306)]=this[s(231)][s(279)][s(202)](s(255)).me.id,e[s(158)]=e[s(158)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(361)](e);n[s(299)](e);const c=this[s(397)][s(296)](a);if(0!==c){const t=this[s(397)][s(145)](c-1);if(t[s(250)]!==i){const r=this[s(394)][s(368)](i,t[s(411)]),o={id:t.id,diffData:r[s(350)],authorsIds:r[s(244)],authors:r[s(244)][s(135)](t=>this[s(231)][s(279)][s(202)](s(255))[s(246)](t)),fromVersion:i};t===this[s(196)]&&(o[s(164)]=new Date(e[s(164)][s(346)]()+10)),t[s(219)](o,!0),delete o[s(197)],n[s(299)](o)}}if(this[s(379)]){for(const t of n)this[s(160)](t.id,t,!0);this[s(195)]()}return a}[ot(361)](t){const e=ot,i=this[e(397)][e(175)](t);return this[e(379)]&&i.on(e(219),(t,i,s)=>{const n=e;s||(this[n(160)](i.id,i,!0),this[n(195)]())}),this[e(397)][e(247)](i,this[e(359)](i)),i}async[ot(136)](t){const e=ot;return await this[e(294)][e(338)](t,this[e(379)]),this[e(294)][e(136)](t)}async[ot(137)](t){const e=ot;return await this[e(294)][e(338)](t,this[e(379)]),this[e(294)][e(137)](t)}[ot(195)](){const t=ot;if(0===this[t(256)][t(375)])return;if(this[t(114)])return;let e=Array[t(387)](this[t(256)][t(336)]());this[t(256)][t(132)]();for(let i=0;i<e[t(187)];i++){const s=e[i];let n=!1;for(const e of Object[t(298)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(119)](t=>null!==t),!e[t(187)])return;for(let i=0;i<e[t(187)];i++){const s=e[i];void 0!==s[t(250)]&&void 0===s[t(411)]&&(s[t(411)]=this[t(397)][t(145)](s.id)[t(411)]),void 0!==s[t(411)]&&void 0===s[t(250)]&&(s[t(250)]=this[t(397)][t(145)](s.id)[t(250)])}const i=this[t(231)][t(154)][t(202)](t(148));this[t(114)]=!0,this[t(325)](),this[t(379)][t(253)](e,i)[t(277)](()=>{this[t(114)]=!1})[t(335)](e=>{const i=t;if(e)for(const t of e)this[i(360)]({id:t.id,createdAt:t[i(164)]});this[i(312)](),this[i(195)]()})}[ot(113)]({revision:t=null,from:e=null,to:i=null}){const s=ot;e=null!==e?e:t[s(250)],i=null!==i?i:t[s(411)];const n=this[s(394)][s(368)](e,i),r={diffData:n[s(350)],authorsIds:n[s(244)],fromVersion:e,toVersion:i};if(!t||i!==t[s(411)]){const t=i-1,e=this[s(407)][s(420)][s(428)](t);r[s(164)]=e&&e[s(164)]||new Date}if(this[s(226)]&&e===this[s(226)][s(250)])for(const t of this[s(226)][s(197)])r[s(244)][s(267)](t.id)||r[s(244)][s(299)](t.id);return r}[ot(160)](t,e,i){const s=ot;if(this[s(256)][s(152)](t)){const n=this[s(256)][s(202)](t);e=i?{...n,...e}:{...e,...n}}this[s(256)][s(373)](t,e)}[ot(360)](t){const e=ot,i=this[e(397)][e(145)](t.id);if(t[e(164)]&&(t[e(164)]=new Date(t[e(164)])),t[e(244)]){const i=this[e(231)][e(279)][e(202)](e(255));t[e(197)]=t[e(244)][e(135)](t=>i[e(246)](t))}i[e(219)](t,!0)}[ot(380)](t){const e=ot,i=this[e(397)][e(145)](this[e(397)][e(187)]-1);if(i)this[e(365)]=i.id;else{const i=!this[e(231)][e(222)][e(134)][e(237)][e(421)](t=>this[e(231)][e(222)][e(395)](t)),s=this[e(231)][e(279)][e(202)](e(255)).me.id,n=Q(this[e(231)][e(392)],e(i?252:386));this[e(288)]({from:t,to:t,id:this[e(365)],name:n,creatorId:s})}}[ot(133)](t){const e=ot,i=this[e(407)][e(374)]();this[e(196)]=this[e(397)][e(145)](i),this[e(196)]||(this[e(196)]=this[e(288)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ot(205)](){const t=ot;this[t(141)]&&!this[t(226)]&&(await this[t(294)][t(338)](this[t(196)],this[t(379)]),this[t(394)][t(424)](this[t(196)]),this[t(226)]={fromVersion:this[t(196)][t(250)],authors:this[t(196)][t(197)][t(120)]()})}[ot(332)](e,i){const s=ot;let n=this[s(231)][s(154)][s(202)](s(190)),r=this[s(231)][s(154)][s(202)](s(309));if(void 0===n){n={};for(const t of this[s(231)][s(222)][s(134)][s(177)]())n[t]=""}if(s(180)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(231)][s(222)][s(134)][s(177)]())r[t]={}}let o=!1;const a=Object[s(298)](n),c=Object[s(298)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(149)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(298)](r[t])[s(187)]>0){o=!0;break}}o||(o=c[s(270)](t=>!this[s(231)][s(222)][s(134)][s(223)](t))),o&&(0,t.logWarning)(s(349),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(231)][s(154)][s(373)](s(190),e),this[s(231)][s(154)][s(373)](s(309),i)}[ot(325)](){const t=ot;if(!this[t(144)]){const e=this[t(231)][t(279)][t(202)](t(340));this[t(144)]=e[t(316)](Q(this[t(231)][t(392)],t(322)))}}[ot(312)](){const t=ot;this[t(144)]&&(this[t(231)][t(279)][t(202)](t(340))[t(326)](this[t(144)]),this[t(144)]=null)}[ot(359)](t){const e=ot,i=this[e(397)][e(225)]();i[e(235)]();let s=0;for(;s<i[e(187)];){const n=i[s];if(n===this[e(196)]){s++;continue}if(n.id===this[e(365)])break;const r=t[e(411)]-n[e(411)]||t[e(250)]-n[e(250)];if(r>0)break;if(r<0)s++;else{if(!t[e(192)]&&n[e(192)])break;if(n[e(192)]||!t[e(192)]){if(t[e(164)]>n[e(164)])break;s++}else s++}}return s}[ot(261)](t){const e=ot,i=this[e(397)][e(225)]();i[e(235)](),i[e(178)]();const s=i[e(421)](i=>i[e(411)]<=t)[e(411)];return s<this[e(366)]?this[e(366)]:s}[ot(288)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ot,o=this[r(113)]({from:e,to:i});o[r(158)]=t,o[r(306)]=s,o.id=n;const a=this[r(361)](o);return this[r(379)]&&this[r(160)](o.id,o,!0),a}[ot(301)](){const t=ot;this[t(231)][t(200)][t(310)](t(276))[t(323)]({model:t(241)})}}function ct(t,e){const i=rt();return(ct=function(t,e){return i[t-=109]})(t,e)}class ut{[ot(231)];[ot(408)];[ot(263)];[ot(293)];[ot(347)];[ot(314)];[ot(409)];[ot(251)];[ot(289)];[ot(303)];[ot(406)];[ot(254)];[ot(176)];[ot(213)];[ot(416)];[ot(371)];[ot(305)];constructor(t){const e=ot;this[e(231)]=t,this[e(263)]=new Map,this[e(293)]=-1,this[e(347)]=-1,this[e(314)]=new Map,this[e(409)]=new Map,this[e(251)]=new Map,this[e(289)]=new Map,this[e(303)]=new Map,this[e(406)]=new Map,this[e(254)]=new Map,this[e(176)]=new Map,this[e(213)]=new Map,this[e(416)]=new Map,this[e(371)]=1}[ot(286)](t){const e=ot;this[e(408)]=t;const i=new Map,s=new Map,n=this[e(231)][e(222)][e(134)][e(237)][e(135)](t=>t[e(353)]);for(const t of n){const n=this[e(231)][e(222)][e(134)][e(223)](t),r=lt(n);i[e(373)](t,r),s[e(373)](t,Object[e(143)](n[e(243)]()))}const r=Array[e(387)](this[e(231)][e(222)][e(285)])[e(135)](t=>[t[e(158)],t[e(167)]()]),o=this[e(408)][e(272)];this[e(182)](o,i,r,s),this[e(305)]=this[e(371)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(373)](t,i),c[e(373)](t,{})}this[e(182)](Number[e(126)],a,[],c)}[ot(368)](t,e){const i=ot;if(this[i(293)]===t&&this[i(347)]<=e)this[i(263)][i(375)]>1&&this[i(403)](this[i(347)]),this[i(138)](this[i(347)],e,!0);else{if(!this[i(263)][i(152)](t)){const e=this[i(248)](t);this[i(142)](e,t,!1)}this[i(142)](t,e,!0)}return this[i(293)]=t,this[i(347)]=e,this[i(331)]()}[ot(424)](t){const e=ot,i=this[e(231)][e(279)][e(202)](e(170));this[e(315)](),this[e(293)]=t[e(250)],this[e(347)]=t[e(411)];for(const s in t[e(350)]){const n=t[e(350)][s][e(230)],r=A(t[e(350)][s][e(278)])||{},o=i[e(302)](t[e(350)][s][e(291)]);o[e(353)]=s,o[e(402)]=!n||!n[e(413)],o[e(413)]=()=>o[e(402)],this[e(289)][e(373)](s,o),this[e(303)][e(373)](s,r),n&&this[e(416)][e(373)](s,n);const a=this[e(429)](o);this[e(254)][e(373)](s,a);for(const[t,i]of o[e(285)]){if(!t[e(183)](e(172)))continue;const s=t[e(169)](":")[2];for(const t of i[e(281)]({singleCharacters:!0})){const i=this[e(151)](t),n=e(342)==t[e(146)]?t[e(201)][e(117)][e(120)](0,-1):t[e(201)][e(117)],r=a[e(404)](n)[e(405)](i);this[e(176)][e(373)](r,{userId:s})}}}this[e(305)]=this[e(371)];const s=[...Array(this[e(371)])[e(298)]()][e(120)](1)[e(119)](t=>!this[e(176)][e(152)](t));let n=0;const r=new Map;for(const o in t[e(350)]){const a=t[e(350)][o][e(230)],c=A(t[e(350)][o][e(352)])||{},u=i[e(302)](t[e(350)][o][e(304)]);u[e(353)]=o,u[e(402)]=!a||a[e(413)],u[e(413)]=()=>u[e(402)],this[e(409)][e(373)](o,u),this[e(251)][e(373)](o,c);const l=this[e(429)](u,Number[e(126)]);this[e(406)][e(373)](o,l),r[e(373)](o,u[e(413)]()?c:{});for(const[t,i]of u[e(285)]){if(!t[e(183)](e(172)))continue;const s=t[e(169)](":")[2];for(const t of i[e(281)]({singleCharacters:!0})){const i=this[e(151)](t),n=this[e(371)]++,r=e(342)==t[e(146)]?t[e(201)][e(117)][e(120)](0,-1):t[e(201)][e(117)];l[e(404)](r)[e(284)](i,n),this[e(176)][e(373)](n,{userId:s})}}for(const t of this[e(231)][e(222)][e(427)](u)[e(281)]({singleCharacters:!0})){const i=this[e(151)](t),r=e(342)==t[e(146)]?t[e(201)][e(117)][e(120)](0,-1):t[e(201)][e(117)],o=l[e(404)](r);o[e(405)](i)>0||o[e(284)](i,s[n++])}for(const[t,i]of u[e(285)])t[e(183)](e(172))||this[e(314)][e(373)](t,i)}const o=ht(e(165));this[e(289)][e(373)](e(165),o),this[e(254)][e(373)](e(165),this[e(429)](o,1));const a=ht(e(165));this[e(409)][e(373)](e(165),a),this[e(406)][e(373)](e(165),this[e(429)](a,1));const c=Array[e(387)](this[e(409)])[e(135)](([t,e])=>[t,lt(e)]);this[e(182)](this[e(347)],c,this[e(314)],r)}[ot(150)](){const t=ot;this[t(315)](),this[t(293)]=-1,this[t(347)]=-1,this[t(263)][t(132)](),this[t(286)](this[t(408)])}[ot(182)](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(373)](t,{start:e[n(382)][n(218)](),end:e[n(333)][n(218)](),rootName:e[n(262)][n(353)]});this[n(263)][n(373)](t,{roots:r,markers:a,rootsAttributes:o})}[ot(403)](t){const e=ot;this[e(263)][e(156)](t)}[ot(315)](){const t=ot;this[t(176)][t(132)](),this[t(213)][t(132)](),this[t(416)][t(132)](),this[t(409)][t(132)](),this[t(251)][t(132)](),this[t(289)][t(132)](),this[t(303)][t(132)](),this[t(406)][t(132)](),this[t(254)][t(132)](),this[t(314)][t(132)](),this[t(371)]=1,this[t(305)]=this[t(371)]}[ot(429)](t,e=null){const i=ot;let s=null;t.is(i(422))||(s=new Z.Element(t[i(158)],{vid_start:null===e?this[i(371)]++:e++}));const n=[];for(const s of t[i(412)]())if(s.is(i(287))){n[i(299)](this[i(429)](s,e));const t=n[n[i(187)]-1];null!==e&&(e=t.is(i(287),i(418))?t[i(405)](i(238))+1:t[i(405)](i(210))+1)}else for(let t=0;t<s[i(274)];t++)n[i(299)](new Z.Element(i(418),{vid:null===e?this[i(371)]++:e++}));if(t.is(i(422))){const e=ht(t[i(353)]);return e[i(217)](0,n),e}return s[i(284)](i(210),null===e?this[i(371)]++:e++),s[i(217)](0,n),s}[ot(142)](t,e,i){const s=ot;this[s(315)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(263)][s(202)](t);this[s(289)]=new Map(n),this[s(303)]=new Map(A(o));for(const[t,e]of this[s(289)])if(s(165)!==t&&(this[s(409)][s(373)](t,lt(e)),this[s(251)]=new Map(A(o)),i)){const i=this[s(371)];this[s(406)][s(373)](t,this[s(429)](e)),this[s(254)][s(373)](t,this[s(429)](e,i))}this[s(305)]=this[s(371)],this[s(409)][s(373)](s(165),lt(this[s(289)][s(202)](s(165)))),i&&this[s(406)][s(373)](s(165),this[s(429)](this[s(289)][s(202)](s(165))));for(const[t,e]of r){const i=this[s(289)][s(202)](e[s(353)]),n=this[s(409)][s(202)](e[s(353)]),r=new Z.Range(this[s(388)](e[s(382)],i),this[s(388)](e[s(333)],i)),o=this[s(118)](r,n);i[s(285)][s(373)](t,r),this[s(314)][s(373)](t,o)}this[s(138)](t,e,i)}[ot(138)](t,e,i){const s=ot;for(const n of this[s(408)][s(216)](t,e))this[s(229)](n,i);for(const t of this[s(409)][s(336)]())t[s(285)][s(132)]();for(const[t,e]of this[s(314)])this[s(409)][s(202)](e[s(262)][s(353)])[s(285)][s(373)](t,e[s(218)]());const n=new Map,r=new Map;for(const[t,e]of this[s(409)])n[s(373)](t,lt(e)),r[s(373)](t,this[s(251)][s(202)](t));this[s(182)](e,n,this[s(314)],r)}[ot(248)](t){const e=ot,i=Array[e(387)](this[e(263)][e(298)]());i[e(370)]((t,e)=>t-e),i[e(235)]();for(const e of i)if(e<t)return e;return Number[e(126)]}[ot(308)](t,e){const i=ot,s=Array[i(387)](e[i(285)])[i(135)](([e,s])=>[e,this[i(118)](s,t)]);t[i(285)]=new Map(s)}[ot(329)](t){const e=ot;for(const i of this[e(314)][e(336)]()){const s=i[e(321)](t),n=Z.Range[e(198)](s);i[e(382)]=n[e(382)],i[e(333)]=n[e(333)]}}[ot(229)](t,e){const i=ot;if(i(266)!=t[i(146)]&&i(189)!=t[i(146)]){if(i(378)==t[i(146)]){const s=t[i(139)][i(262)][i(353)];this[i(409)][i(152)](s)||(this[i(409)][i(373)](s,ht(s,!0)),this[i(251)][i(373)](s,{}),e&&this[i(406)][i(373)](s,ht(s,!0)))}else{if(i(147)==t[i(146)]||i(398)==t[i(146)]||i(188)==t[i(146)])return void this[i(181)](t);i(171)==t[i(146)]&&this[i(208)](t)}if(i(171)!==t[i(146)]){const e=this[i(327)](t,this[i(409)]);e[i(224)](),this[i(329)](e)}if(e)switch(t[i(146)]){case i(378):this[i(391)](t);break;case i(128):case i(326):case i(393):this[i(330)](t);break;case i(351):this[i(268)](t);break;case i(169):this[i(357)](t)}}else this[i(337)](t,e)}[ot(327)](t,e){const i=ot,s=t[i(218)]();return s[i(385)]=t[i(385)],this[i(300)](s,e),s}[ot(344)](t){const e=ot;return t[e(135)](t=>{const i=e,s=this[i(151)](t);return Number(t[i(339)][i(405)](s))})}[ot(179)](t,e){const i=ot;if(t.is(i(287),i(418)))e[i(299)]({item:t,type:i(356)});else{t.is(i(287))&&e[i(299)]({item:t,type:i(203)});for(const s of t[i(412)]())this[i(179)](s,e);t.is(i(287))&&e[i(299)]({item:t,type:i(342)})}return e}[ot(331)](){const t=ot,e=new Map(this[t(176)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(289)][t(298)](),...this[t(409)][t(298)]()]);a[t(156)](t(165));for(const e of a){const i=this[t(409)][t(202)](e)||ht(e,!1),s=this[t(289)][t(202)](e)||ht(e,!1);i[t(413)]()||s[t(413)]()?(n[t(304)][e]=lt(i),n[t(291)][e]=lt(s),this[t(308)](n[t(291)][e],s),this[t(308)](n[t(304)][e],i),r[t(304)][e]=this[t(179)](this[t(406)][t(202)](e),[]),r[t(291)][e]=this[t(179)](this[t(254)][t(202)](e)||ht(e,!1),[])):a[t(156)](e)}for(const n of a){const o=r[t(304)][n];for(const n of o){const r=this[t(151)](n),o=n[t(339)][t(405)](r);i[t(156)](o),o>=this[t(305)]&&s[t(373)](o,e[t(202)](o))}}for(const n of a){const a=r[t(304)][n],c=this[t(344)](r[t(291)][n]);let u=0;for(const n of a){const r=this[t(151)](n),a=n[t(339)][t(405)](r);if(!s[t(152)](a)&&!o[t(152)](a))if(i[t(152)](a))u++;else{if(a!=c[u]){const s=e[t(202)](a)||e[t(202)](c[u]);for(;a!=c[u];)i[t(152)](c[u])||(o[t(373)](c[u],s),e[t(373)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(304)][e];for(const e of n){const n=this[t(151)](e),r=e[t(339)][t(405)](n);if(o[t(152)](r)){const e=o[t(202)](r);i[t(152)](r)||i[t(373)](r,{...e}),s[t(373)](r,{...e})}}}for(const e of i[t(298)]())e>=this[t(305)]&&i[t(156)](e);const c=new Map;for(const e of a){let n=r[t(304)][e];for(const e of n)if(e[t(339)].is(t(287),t(275))){const i=this[t(151)](e),n=e[t(339)][t(405)](i);if(s[t(152)](n)){const i=e[t(339)][t(367)][t(367)][t(405)](t(271)),r=c[t(202)](i)||new Set;r[t(316)](s[t(202)](n)[t(265)]),c[t(373)](i,r)}}n=r[t(291)][e];for(const e of n)if(e[t(339)].is(t(287),t(275))){const s=this[t(151)](e),n=e[t(339)][t(405)](s);if(i[t(152)](n)){const s=e[t(339)][t(367)][t(367)][t(405)](t(271)),r=c[t(202)](s)||new Set;r[t(316)](i[t(202)](n)[t(265)]),c[t(373)](s,r)}}for(const e of c[t(298)]())(s[t(152)](e)||i[t(152)](e))&&c[t(156)](e)}for(const e of a){const n=r[t(304)][e];let o=null,a=null;for(const e of n){const n=this[t(151)](e),r=e[t(339)][t(405)](n),u=c[t(202)](r);u&&t(203)==e[t(146)]&&(o=Array[t(387)](u)[0],a=e[t(339)][t(405)](t(210))),o&&(i[t(373)](r,{userId:o}),s[t(373)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(291)][e],a=n[t(304)][e];for(const{userId:e}of this[t(213)][t(336)]())null!==e&&l[t(316)](e);for(const{userId:e}of this[t(416)][t(336)]())null!==e&&l[t(316)](e);this[t(362)](a,r[t(304)][e],s,t(112),l),this[t(362)](o,r[t(291)][e],i,t(163),l),u[e]={insertions:this[t(212)](a),deletions:this[t(212)](o),attachChange:this[t(416)][t(202)](e)||null,attributesBefore:A(this[t(303)][t(202)](e))||{},attributesAfter:A(this[t(251)][t(202)](e))}}return{diffData:u,authorsIds:Array[t(387)](l)}}[ot(240)](t){const e=ot;for(const[,i]of t[e(285)]){const t=i[e(382)][e(364)]()[e(119)](t=>e(275)==t[e(158)]);for(const i of t)1==i[e(358)]&&i[e(111)](0).is(e(287),e(363))&&i[e(111)](0)[e(284)](e(269),!0)}}[ot(212)](t){const e=ot;this[e(240)](t);const i=this[e(231)][e(334)][e(295)](t,{}),s=Array[e(387)](i[e(412)]())[e(135)](t=>this[e(384)](t));return JSON[e(311)](s)}[ot(384)](t){const e=ot;if(t.is(e(418)))return t[e(334)];{const i=this[e(231)][e(279)][e(202)](e(170)),s=t,n=this[e(231)][e(334)][e(122)][e(355)],r={type:i[e(232)](s),name:s[e(158)],attributes:Array[e(387)](s[e(243)]()),children:Array[e(387)](s[e(412)]())[e(135)](t=>this[e(384)](t))};if(t.is(e(414))&&e(264)!=t[e(158)]){const i=t[e(324)](n[e(173)],n);r[e(376)][e(299)](i[e(185)])}else if(t.is(e(258))){const i=n[e(173)][e(115)](s[e(158)]);t[e(324)](i,n),r[e(376)][e(299)](i[e(242)])}const o=Array[e(387)](s[e(155)]());o[e(187)]>0&&(r[e(220)]=o);const a=s[e(369)]();return null!==a&&(r[e(125)]=a),r}}[ot(362)](t,e,i,s,n){const r=ot;let o=null,a=null,c=0;const u=this[r(231)][r(222)];for(let s=0;s<e[r(187)];s++){const n=this[r(151)](e[s]),c=e[s][r(339)][r(405)](n),h=i[r(202)](c),d=s==e[r(187)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(265)]!=o[r(265)])&&(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(265)],d=l(172)+s+":"+h+":"+c++,f=u[l(419)](i,a);t[l(285)][l(373)](d,f),null!==h&&n[l(316)](h)}}[ot(151)](t){const e=ot;switch(t[e(146)]){case e(203):return e(271);case e(342):return e(210);default:return e(238)}}[ot(300)](t,e){const i=ot;t[i(123)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(202)](n[i(262)][i(353)]);t[s]=this[i(388)](n,r)}if(n instanceof Z.Range){const r=e[i(202)](n[i(262)][i(353)]);t[s]=this[i(118)](n,r)}i(262)===s&&(t[i(262)]=e[i(202)](t[i(262)][i(353)]))}}[ot(118)](t,e){const i=ot;return this[i(231)][i(222)][i(419)](this[i(388)](t[i(382)],e),this[i(388)](t[i(333)],e))}[ot(388)](t,e){const i=ot;return this[i(231)][i(222)][i(199)](e,t[i(117)],t[i(174)])}[ot(391)](t){const e=ot,i=this[e(406)][e(202)](t[e(139)][e(262)][e(353)]),s=this[e(388)](t[e(139)],i),n=null===t[e(385)]?null:t[e(385)]||this[e(231)][e(279)][e(202)](e(255)).me.id,r=s[e(367)],o=this[e(371)],a=[];for(const i of t[e(260)])if(i.is(e(287)))a[e(299)](this[e(429)](i));else for(let t=0;t<i[e(274)];t++)a[e(299)](new Z.Element(e(418),{vid:this[e(371)]++}));const c=this[e(371)];for(let t=o;t<c;t++)this[e(176)][e(373)](t,{userId:n});r[e(217)](s[e(157)],a)}[ot(330)](t){const e=ot;(t=this[e(327)](t,this[e(406)]))[e(224)]();const i=null===t[e(385)]?null:t[e(385)]||this[e(231)][e(279)][e(202)](e(255)).me.id,s=t[e(313)](),n=s[e(367)],r=s[e(157)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(111)](e);r.is(a(287),a(418))?s[a(373)](r[a(405)](a(238)),{userId:i}):(s[a(373)](r[a(405)](a(271)),{userId:i}),t(s,r,0,r[a(358)]),s[a(373)](r[a(405)](a(210)),{userId:i}))}}(this[e(176)],n,r,r+t[e(127)])}[ot(268)](t){const e=ot,i=null===(t=this[e(327)](t,this[e(406)]))[e(385)]?null:t[e(385)]||this[e(231)][e(279)][e(202)](e(255)).me.id,s=t[e(354)][e(367)],n=t[e(116)][e(367)],r=s[e(405)](e(210)),o=n[e(405)](e(271));s[e(284)](e(210),n[e(405)](e(210))),n[e(284)](e(210),r),this[e(176)][e(373)](o,{userId:i}),this[e(176)][e(373)](r,{userId:i}),t[e(224)]()}[ot(357)](t){const e=ot,i=null===(t=this[e(327)](t,this[e(406)]))[e(385)]?null:t[e(385)]||this[e(231)][e(279)][e(202)](e(255)).me.id,s=t[e(161)],n=t[e(432)][e(367)];t[e(224)]();const r=n[e(405)](e(210)),o=t[e(430)][e(399)];if(s){const t=o[e(405)](e(210)),s=n[e(405)](e(210));n[e(284)](e(210),t),o[e(284)](e(210),s),this[e(176)][e(373)](n[e(405)](e(210)),{userId:i}),this[e(176)][e(373)](o[e(405)](e(271)),{userId:i})}else{const t=this[e(371)]++,s=this[e(371)]++;n[e(284)](e(210),t),o[e(284)](e(271),s),o[e(284)](e(210),r),this[e(176)][e(373)](t,{userId:i}),this[e(176)][e(373)](s,{userId:i})}}[ot(208)](t){const e=ot;if(!t[e(328)])return;const i=(t=this[e(327)](t,this[e(409)]))[e(319)]?t[e(319)][e(262)]:null,s=t[e(109)]?t[e(109)][e(262)]:null;i&&this[e(314)][e(156)](t[e(158)]),s&&this[e(314)][e(373)](t[e(158)],t[e(109)][e(218)]());const n=null===t[e(385)]?null:t[e(385)]||this[e(231)][e(279)][e(202)](e(255)).me.id,r=t[e(158)];if(!this[e(213)][e(152)](r))return void this[e(213)][e(373)](r,{range:t[e(319)],userId:n});const o=this[e(213)][e(202)](r),a=o[e(159)],c=t[e(109)];null==a&&null==c||a&&c&&a[e(280)](c)?this[e(213)][e(156)](t[e(158)]):o[e(265)]=n}[ot(337)](t,e){const i=ot;this[i(409)][i(152)](t[i(353)])?this[i(409)][i(202)](t[i(353)])[i(402)]=t[i(320)]:(this[i(409)][i(373)](t[i(353)],ht(t[i(353)],!0)),this[i(251)][i(373)](t[i(353)],{}),e&&this[i(406)][i(373)](t[i(353)],ht(t[i(353)],!0)));const s=null===t[i(385)]?null:t[i(385)]||this[i(231)][i(279)][i(202)](i(255)).me.id,n=this[i(416)][i(202)](t[i(353)]);n&&n[i(265)]===s?this[i(416)][i(156)](t[i(353)]):this[i(416)][i(373)](t[i(353)],{userId:s,isAttached:t[i(320)]})}[ot(181)](t){const e=ot,i=this[e(251)][e(202)](t[e(262)][e(353)]);null===t[e(372)]?delete i[t[e(317)]]:i[t[e(317)]]=t[e(372)]}}function lt(t){const e=ot,i=ht(t[e(353)],t[e(413)]());for(const s of t[e(412)]()){const t=s[e(211)](!0);i[e(124)](t)}return i}function ht(t,e=!0){const i=ot,s=new Z.DocumentFragment;return s[i(353)]=t,s[i(402)]=e,s[i(413)]=()=>s[i(402)],s}function dt(t,e,i){const s=ot,n=s(342)==t[s(146)]?i[s(292)](t[s(339)],s(333)):i[s(121)](t[s(339)]);return i[s(199)](e,n[s(117)],n[s(174)])}function ft(t,e,i){const s=ot,n=s(203)==t[s(146)]?i[s(292)](t[s(339)],0):i[s(423)](t[s(339)]);return i[s(199)](e,n[s(117)],n[s(174)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Vt;function Mt(){const t=["label","revisionNameInputView","1392147iWgNcW","form","220","fieldView","2310690AVeOWF","input","keystrokes","revisionNameInputValue","value","add","7848GLUomX","2275XvaLof","render","reset","extendTemplate","arrowright","errorText","ck-revision-history-save-revision-form","trim","stopPropagation","arrowleft","optional","arrowdown","ck-responsive-form","element","Name of the revision","listenTo","_createRevisionNameInput","set","setTemplate","focusTracker","5598204YNCGJP","revisionName","7722126yYDwql","arrowup","focus","284464BbPSJj","locale","5143150HOFdIf"];return(Mt=function(){return t})()}function Vt(t,e){const i=Mt();return(Vt=function(t,e){return i[t-=468]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(934094===parseInt(e(490))/1+-parseInt(e(494))/2+-parseInt(e(480))/3+-parseInt(e(485))/4+parseInt(e(487))/5+parseInt(e(482))/6+parseInt(e(501))/7*(parseInt(e(500))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Dt extends pt.View{[At(479)];[At(496)];[At(489)];constructor(e,i){const s=At;super(e),this[s(479)]=new t.FocusTracker,this[s(496)]=new t.KeystrokeHandler,this[s(477)](s(497),""),this[s(489)]=this[s(476)](i),this[s(478)]({tag:s(491),attributes:{class:["ck",s(507),s(472)],tabindex:"-1"},children:[this[s(489)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(502)](){const t=At;super[t(502)](),(0,pt.submitHandler)({view:this}),this[t(479)][t(499)](this[t(489)][t(473)]),this[t(496)][t(475)](this[t(473)]);const e=e=>e[t(468)]();this[t(496)][t(477)](t(505),e),this[t(496)][t(477)](t(469),e),this[t(496)][t(477)](t(483),e),this[t(496)][t(477)](t(471),e)}[At(484)](){const t=At;this[t(489)][t(484)]()}get[At(481)](){const t=At;return this[t(489)][t(493)][t(473)][t(498)][t(508)]()}set[At(481)](t){const e=At;this[e(489)][e(493)][e(473)][e(498)]=t[e(508)]()}[At(503)](){const t=At;this[t(489)][t(493)][t(473)][t(498)]="",this[t(489)][t(506)]=null}[At(476)](t){const e=At,i=new pt.LabeledFieldView(this[e(486)],pt.createLabeledInputText),s=i[e(493)];s[e(504)]({attributes:{maxlength:e(492)}});let n=Q(this[e(486)],e(474));return!t&&(n+=" ("+Q(this[e(486)],e(470))+")"),i[e(488)]=n,s.on(e(495),()=>{const t=e;this[t(497)]=s[t(473)][t(498)][t(508)]()}),i}}const Et=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=147]})(t,e)}function Ft(){const t=["buttonView","execute","42yKkHRk","pluginName","reset","config","isReady","revisionSave","_createSaveRevisionFormView","Cancel","164Zageoi","panelView","hide","render","revisionHistory","componentFactory","bind","delegate","items","addMany","revisionHistory.requireRevisionName","editor","init","saveRevision","424493tVwuCg","_registerMenuComponent","Accept","children","Revision history","errorText","7008729hoaMHq","show","editing","submit","Open revision history","RevisionHistoryUI","menu","_showDialog","isOpen","Save current revision","12UAsiTy","30657criIng","get","menuitem","view","role","add","isEnabled","ck-button-action","_saveRevisionFormView","revisionNameInputView","Dialog","isOfficialPlugin","70vUfuvg","isPremiumPlugin","2293885FOcrip","locale","2cUDcVt","RevisionTracker","menuBar:revisionHistory","The revision name cannot be empty.","revisionName","181512DoBepQ","set","isReadOnly","focus","requires","4110336uRZjQP","103829KSKWNw","plugins","showRevisionViewerCallback","24qIVlxu"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(503713===parseInt(e(161))/1*(parseInt(e(194))/2)+parseInt(e(178))/3*(-parseInt(e(147))/4)+parseInt(e(192))/5*(parseInt(e(177))/6)+-parseInt(e(211))/7*(-parseInt(e(199))/8)+parseInt(e(204))/9+-parseInt(e(190))/10*(-parseInt(e(205))/11)+-parseInt(e(208))/12*(parseInt(e(167))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends U.Plugin{static get[Et(212)](){return Et(172)}static get[Et(189)](){return!0}static get[Et(191)](){return!0}static get[Et(203)](){return[at]}[Et(186)];[Et(159)](){const t=Et,e=this[t(158)],i=e[t(206)][t(179)](t(195));e.ui[t(152)][t(183)](t(151),s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(148)][n(164)],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(153)](n(184)).to(i,n(215),i,n(184),e,n(201),(t,e,i)=>t&&e&&!i),r[n(209)][n(200)]({icon:mt.IconHistory,label:Q(s,n(165)),tooltip:!0}),u[n(200)]({label:Q(s,n(176)),withText:!0,role:n(180)}),u[n(153)](n(184)).to(i,n(215),i,n(184),e,n(201),(t,e,i)=>t&&e&&!i),u.on(n(210),()=>this[n(174)]()),h[n(200)]({label:Q(s,n(171)),withText:!0,role:n(180)}),h[n(153)](n(184)).to(i,n(215),e,n(201),(t,e)=>t&&!e),h.on(n(210),()=>{const t=n;e[t(214)][t(179)](t(151))[t(207)](),r[t(175)]=!1,e[t(169)][t(181)][t(202)]()}),c[n(164)][n(183)](u),l[n(164)][n(183)](h),a[n(182)]=n(173),a[n(155)][n(156)]([c,l]),o[n(183)](a),r}),e.ui[t(152)][t(183)](t(196),()=>this[t(162)]())}[Et(162)](){const t=Et,e=this[t(158)],i=e[t(193)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(209)][t(200)]({icon:mt.IconHistory,label:Q(i,t(165))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(200)]({label:Q(i,t(176))}),o[t(154)](t(210)).to(s),o.on(t(210),()=>{this[t(174)]()}),r[t(164)][t(183)](o),n[t(155)][t(183)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(200)]({label:Q(i,t(171))}),c[t(154)](t(210)).to(s),c.on(t(210),()=>{const i=t;e[i(214)][i(179)](i(151))[i(207)]()}),a[t(164)][t(183)](c),n[t(155)][t(183)](a),s[t(148)][t(164)][t(183)](n),s}[Et(174)](){const t=Et,e=this[t(158)],i=e[t(193)],s=e[t(206)][t(179)](t(188)),n=e[t(206)][t(179)](t(195));function r(n){const r=t;e[r(214)][r(179)](r(157))&&""===n[r(198)]?n[r(187)][r(166)]=Q(i,r(197)):(e[r(206)][r(179)](at)[r(160)]({name:n[r(198)]}),s[r(149)]())}this[t(186)]||(this[t(217)](),this[t(186)].on(t(170),()=>r(this[t(186)]))),this[t(186)][t(213)](),s[t(168)]({id:t(216),title:Q(i,t(176)),isModal:!0,content:this[t(186)],actionButtons:[{label:Q(e[t(193)],t(218)),withText:!0,onExecute:()=>s[t(149)]()},{label:Q(e[t(193)],t(163)),class:t(185),withText:!0,onCreate(i){const s=t;i[s(153)](s(184)).to(n,s(215),n,s(184),e,s(201),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(186)])}]})}[Et(217)](){const t=Et,e=this[t(158)],i=e[t(193)];this[t(186)]=new Dt(i,e[t(214)][t(179)](t(157))),this[t(186)][t(150)]()}}function Lt(){const t=["element","Added by","ck-revision-change","2170817CNefor","6894XWfOxB","set","changeId","30nepNwM","name","_model","data","30TQXglJ","366870MhYTIu","2292yhpWlY","author","setTemplate","5336gpBErC","12NEDeLC","ck-revision-change__label","type","8bfPDvK","focus","1440481OjYuue","add","div","124163oBfrLb","ck-annotation","span","bindTemplate","1878235WNvWoN","isSuggestion","ck-revision-change__","Removed by","274072zflplR","Suggested by"];return(Lt=function(){return t})()}const Pt=zt;function zt(t,e){const i=Lt();return(zt=function(t,e){return i[t-=148]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(588756===parseInt(e(167))/1*(-parseInt(e(180))/2)+-parseInt(e(159))/3+-parseInt(e(164))/4*(parseInt(e(176))/5)+-parseInt(e(154))/6*(-parseInt(e(169))/7)+-parseInt(e(163))/8*(parseInt(e(151))/9)+parseInt(e(158))/10*(parseInt(e(150))/11)+-parseInt(e(160))/12*(-parseInt(e(172))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Wt extends pt.View{[Pt(153)];[Pt(156)];constructor(t,e){const i=Pt;super(t),this[i(156)]=e,this[i(153)]=e.id;const s=this[i(175)],n=Q(t,e[i(157)][i(177)]?i(181):i(170)==e[i(166)]?i(148):i(179));this[i(152)](i(166),e[i(166)]),this[i(162)]({tag:i(171),attributes:{class:[i(173),i(149),s.to(i(166),t=>i(178)+t)],tabindex:-1},children:[{tag:i(174),children:[{tag:i(174),attributes:{class:[i(165)]},children:[{text:n}]},{text:" "+e[i(161)][i(155)]}]}]})}[Pt(168)](){const t=Pt;this[t(182)][t(168)]()}}var Ut=Zt;!function(t){for(var e=Zt,i=t();;)try{if(991796===-parseInt(e(299))/1+-parseInt(e(307))/2+parseInt(e(295))/3+parseInt(e(298))/4+parseInt(e(306))/5+parseInt(e(296))/6*(parseInt(e(294))/7)+-parseInt(e(297))/8*(parseInt(e(305))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Ht extends((0,t.ObservableMixin)()){id;[Ut(303)];[Ut(300)];[Ut(304)];[Ut(293)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(303)]=e[i(303)],this[i(300)]=e[i(300)],this[i(304)]=e[i(304)]||{},this[i(293)]=e[i(293)],this[i(292)](i(301),e[i(301)])}[Ut(302)](){var t=Ut;return{id:this.id,authorId:this[t(303)].id,type:this[t(300)],data:this[t(304)],createdAt:this[t(301)]}}}function Zt(t,e){var i=$t();return(Zt=function(t,e){return i[t-=292]})(t,e)}function $t(){var t=["124155ggyVNw","6389555jxjicr","3180782KdZoAd","set","rootName","7XDpNTg","3531717Jkkmii","68154ecLCqc","16ewkAYy","5799812dTvxdR","1306685xIogRm","type","createdAt","toJSON","author","data"];return($t=function(){return t})()}const qt=Yt;function Bt(){const t=["49508OWcFua","changes","31787973QFxeBH","16MzqJDy","1479419yyuWwp","1986719SzQMQj","oldRevisionId","newRevisionId","2uVFJJu","_setChanges","10476756uIVvbE","280971CyhtDP","add","857030vqjLcC"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=322]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(964212===-parseInt(e(332))/1+-parseInt(e(322))/2*(parseInt(e(325))/3)+parseInt(e(328))/4+parseInt(e(327))/5+-parseInt(e(324))/6+-parseInt(e(333))/7*(-parseInt(e(331))/8)+parseInt(e(330))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt{[qt(335)];[qt(334)];[qt(329)];constructor(e,i){const s=qt;this[s(335)]=e,this[s(334)]=i,this[s(329)]=new t.Collection}[qt(323)](t){const e=qt;for(const i of t)this[e(329)][e(326)](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(t,e){const i=ne();return(Xt=function(t,e){return i[t-=341]})(t,e)}const Qt=Xt;!function(t){const e=Xt,i=t();for(;;)try{if(646058===-parseInt(e(534))/1+parseInt(e(372))/2+-parseInt(e(478))/3*(parseInt(e(355))/4)+-parseInt(e(498))/5+parseInt(e(514))/6*(-parseInt(e(640))/7)+parseInt(e(475))/8*(-parseInt(e(638))/9)+-parseInt(e(587))/10*(-parseInt(e(509))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ne);class te extends U.Plugin{[Qt(428)];[Qt(376)]=null;[Qt(546)];[Qt(432)];[Qt(442)];[Qt(413)];[Qt(382)];static get[Qt(614)](){return Qt(390)}static get[Qt(417)](){return!0}static get[Qt(666)](){return!0}static get[Qt(418)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Qt;super(t),this[e(428)]=this[e(424)][e(652)][e(618)](e(356)),this[e(546)]=this[e(424)][e(652)][e(618)](e(504)),this[e(516)](e(444),null),this[e(516)](e(544),null),this[e(432)]=null,this[e(516)](e(467),null),this[e(516)](e(643),!1),this[e(516)](e(472),!0),this.on(e(474),(t,i,s)=>{const n=e;this[n(444)]=null,this[n(544)]=null,this[n(424)][n(485)][n(660)][n(586)](t=>{const e=n;for(const i of this[e(424)][e(485)][e(660)][e(453)][e(354)])s?t[e(450)](e(602),i):t[e(495)](e(602),i)})}),this[e(615)](e(487)).to(this,e(444),t=>null!==t),this[e(615)](e(404)).to(this,e(643),this,e(467),this,e(444),(t,i,s)=>t&&s?i[e(461)][e(489)](s):0),this[e(615)](e(641)).to(this,e(643),this,e(467),(t,i)=>t?i[e(461)][e(349)]:0),this[e(442)]=null,this[e(413)]=new Map,this[e(382)]=this[e(424)][e(652)][e(618)](pt.ContextualBalloon)}[Qt(403)](){const t=Qt,e=this[t(424)],i=new se(e,{direction:t(370)}),s=new se(e,{direction:t(460)});e[t(493)][t(435)](t(469),i),e[t(493)][t(435)](t(378),s),e[t(493)][t(435)](t(452),new ie(e)),this.on(t(457),()=>{const e=t;i[e(543)](),s[e(543)]()}),this[t(429)](),this[t(506)](),e[t(584)](t(393)),e[t(652)][t(446)](t(374))&&e[t(652)][t(618)](t(374))[t(661)](t(393))}async[Qt(405)](t){const e=Qt;return await this[e(546)][e(392)](t,this[e(376)]),this[e(546)][e(405)](t)}async[Qt(387)](t){const e=Qt;return await this[e(546)][e(392)](t,this[e(376)]),this[e(546)][e(387)](t)}async[Qt(611)](t,e,i=!1){const s=Qt;if(!this[s(472)])return;const n=this[s(467)],r=this[s(428)],o=s(411)==typeof t?r[s(580)](t):t,a=s(411)==typeof e?r[s(580)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(467)]&&this[s(467)][s(397)]===c&&this[s(467)][s(431)]===u)return Promise[s(470)]();this[s(643)]=!1,this[s(544)]=null,this[s(444)]=null,this[s(467)]=new Jt(c,u);const l=this[s(384)](o,a,!0)[s(412)](t=>this[s(546)][s(392)](t,this[s(376)]));return l[s(367)](new Promise(t=>{setTimeout(t,20)})),Promise[s(601)](l)[s(400)](()=>{const t=s;if(!this[t(472)])return;this[t(481)]();const e=this[t(613)](c,u);for(const i of e[t(461)])this[t(413)][t(516)](i.id,i);this[t(424)][t(416)][t(570)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(424)][s(416)][s(453)][s(630)]())i[s(394)](t);for(const t of Object[s(359)](e[s(416)])){const n=i[s(555)](t);for(const r of Object[s(359)](e[s(581)][t]))i[s(462)](r,e[s(581)][t][r],n);i[s(447)](e[s(416)][t],n,0)}}),this[t(467)][t(342)](this[t(385)](e[t(461)])),this[t(643)]=!0})[s(568)](t=>{const e=s;console[e(667)](t),this[e(481)](),n&&(this[e(467)]=n),this[e(643)]=!0})}[Qt(620)](t,e){const i=Qt,s=this[i(428)][i(377)](t);return s.on(i(344),(t,i,n)=>e(i,n,s)),this[i(428)][i(572)](s),s}[Qt(481)](){const t=Qt;this[t(444)]=null,this[t(606)](),this[t(442)]&&this[t(442)][t(533)](),this[t(442)]=null,this[t(413)][t(585)](),this[t(424)][t(416)][t(570)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(424)][i(416)][i(453)][i(630)]())e[i(394)](t)})}[Qt(385)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(424)][e(416)][e(453)][e(630)]()){const n=this[e(424)][e(485)][e(660)][e(651)](t);if(!n)continue;const r=n[e(664)]()[e(608)](0);r&&(i[e(367)](t),s[e(516)](t,r))}return i[e(564)]((t,i)=>{const n=e,r=s[n(618)](t),o=s[n(618)](i);return r.y-o.y||r.x-o.x}),(t=t[e(653)](t=>i[e(526)](t[e(419)])))[e(564)]((t,s)=>i[e(363)](t[e(419)])-i[e(363)](s[e(419)])),t}[Qt(636)](t){const e=Qt,i=Array[e(561)](t[e(388)])[e(653)](([t,i])=>t[e(573)](e(550))&&!i[e(604)]),s=Array[e(561)](this[e(424)][e(416)][e(389)](t)[e(373)]({singleCharacters:!0}));if(0!=i[e(349)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(517)](":");if(n[e(646)][e(605)](t[e(357)])&&i[e(659)](),(t[e(434)][e(605)](n[e(654)])||t[e(434)][e(597)](n[e(654)]))&&(e(508)==r?t[e(401)]={userId:o}:e(529)==r&&(t[e(486)]={userId:o})),0==i[e(349)])break}return s}[Qt(662)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(349)];s++)e(625)===t[s][e(422)]?(t[s][e(608)][e(535)]=s,t[s][e(608)][e(369)]=s):(e(520)===t[s][e(422)]?t[s][e(608)][e(535)]=s:e(650)===t[s][e(422)]&&(t[s][e(608)][e(369)]=s),i[e(516)](t[s].id,s));for(const s of i[e(539)]())e(520)===t[s][e(422)]?t[s][e(608)][e(369)]=i[e(618)](t[s][e(414)]):e(650)===t[s][e(422)]&&(t[s][e(608)][e(535)]=i[e(618)](t[s][e(414)]))}[Qt(454)](t){const e=Qt;for(let i=0;i<t[e(349)];i++){if(e(520)===t[i][e(422)])t[i][e(608)][e(535)]=i;else if(e(650)===t[i][e(422)]){t[i][e(608)][e(369)]=i;const s=t[i][e(608)][e(535)];t[s][e(414)]=t[i].id,t[i][e(414)]=t[s].id}else t[i][e(608)][e(535)]=i,t[i][e(608)][e(369)]=i,t[i][e(414)]=null;t[i][e(567)]||(t[i][e(567)]=[],t[i][e(415)]=[])}}[Qt(523)](t,e){const i=Qt,s=t[i(653)](t=>!t[i(401)]);for(let t=0;t<e[i(349)];t++)e[t][i(401)]&&(s[t][i(401)]=e[t][i(401)])}[Qt(613)](t,e=null){const i=Qt,s=this[i(428)][i(580)](t),n=e?this[i(428)][i(580)](e):null,r=this[i(384)](s,n),o=r[r[i(349)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(349)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(359)](e[i(576)]))if(e[i(576)][t][i(628)]){const s=e[i(576)][t][i(628)];s[i(490)]?(u[i(435)](t),l[i(446)](t)&&l[i(618)](t)[i(530)]==s[i(530)]?l[i(496)](t):l[i(516)](t,s)):l[i(446)](t)?(u[i(496)](t),l[i(496)](t)):(u[i(435)](t),l[i(516)](t,s))}else u[i(435)](t)}for(const t of u){const e=l[i(446)](t)&&!l[i(618)](t)[i(490)];let s=e?r[i(349)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(576)][t]){const s=e?o[i(576)][t][i(466)]:o[i(576)][t][i(548)];c[i(581)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(416)]={};for(const e of t[i(647)])a[i(516)](e.id,e);for(const e of u){const s=t[i(576)][e]?t[i(576)][e][i(607)]:"[]",n=t[i(576)][e]?t[i(576)][e][i(528)]:"[]";t[i(416)][e]={insertions:this[i(546)][i(491)](s),deletions:this[i(546)][i(491)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(561)](s[i(416)][t][i(607)][i(388)])[i(653)](([t])=>!t[i(573)](i(550))));let h=0;for(const o of r){const r=this[i(636)](o[i(416)][t][i(607)]);o==s?(e=r,n=e[i(349)],e[i(599)](t=>{t.id=h++}),this[i(454)](e)):this[i(523)](e,r);const a=e[i(653)](t=>!t[i(401)])[i(412)](t=>t.id);let c=0;const l=this[i(636)](o[i(416)][t][i(528)]);l[i(599)](t=>{t[i(486)]?t.id=n++:t.id=a[c++]}),this[i(454)](l),this[i(497)](e,i(401)),this[i(497)](l,i(486)),o==s&&this[i(423)](e,u),e=this[i(637)](e,l),this[i(662)](e),this[i(497)](e,i(486))}e=e[i(653)](t=>!(t[i(401)]&&t[i(486)]));const d=new Map(o[i(416)][t][i(528)][i(388)]),f=new Set(u[i(359)]());for(const t of d[i(359)]())f[i(496)](t);this[i(642)](e,f),this[i(410)](e),e=this[i(540)](e),e=this[i(621)](e),e=this[i(583)](e);const{root:m,changes:p}=this[i(538)](e,a,t);c[i(416)][t]=m;const v=l[i(618)](t);if(v){const e=a[i(618)](v[i(530)]),s=new Ht({author:e,type:v[i(490)]?i(435):i(468),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(512)](s),c[i(581)][t][i(505)]=s.id}c[i(461)]=c[i(461)][i(488)](p)}return c}[Qt(423)](t,e){const i=Qt;for(let s=0;s<t[i(349)];s++)for(const[n,r]of e)!r[i(604)]&&r[i(654)][i(605)](t[s][i(434)])&&t[s][i(567)][i(367)](n),r[i(646)][i(605)](t[s][i(357)])&&t[s][i(415)][i(367)](n)}[Qt(637)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(349)]||r<e[i(349)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(367)](o);else if(a[i(486)]&&o[i(401)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(545)](t,n,e,r);s=s[i(488)](o),n=a,r=c}else a[i(486)]?(r++,s[i(367)](a)):(n++,s[i(367)](o))}return s}[Qt(642)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(349)];o++){for(let r=0;r<t[o][i(567)][i(349)];r++){const a=t[o][i(567)][r];if(!e[i(446)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(365)!=c||i(508)!=u&&i(529)!=u||(s[i(512)]({type:u,name:a,userId:l}),t[o][i(567)][i(441)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(415)][i(349)];r++){const a=t[o][i(415)][r];if(!e[i(446)](a))continue;const{group:c,type:u}=n(a);if(i(365)!=c||i(508)!=u&&i(529)!=u)continue;t[o][i(415)][i(441)](r,1),r--;const l=s[i(406)](t=>t[i(537)]==a);l>-1&&s[i(441)](l,1)}}function n(t){const e=i,s=t[e(517)](":");return{group:s[0],type:s[1],subType:s[e(349)]>=5?s[2]:null,id:s[e(349)]<5?s[2]:s[3],authorId:s[e(349)]<5?s[3]:s[4],markerCount:6==s[e(349)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(349)];i++){if(t[e(401)]&&e(508)==s[i][e(422)]&&t[e(401)][e(530)]==s[i][e(530)])return t[e(341)]=s[i],void delete t[e(401)];if(!t[e(401)]&&!t[e(486)]&&e(529)==s[i][e(422)])return void(t[e(398)]=s[i])}}}[Qt(497)](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(516)](o.id,s);for(let s=0;s<t[i(349)];s++){if(i(486)==e&&t[s][i(401)]||i(401)==e&&t[s][i(486)])continue;if(i(625)==t[s][i(422)]){t[s][i(634)]=0;continue}const n=r[i(618)](t[s][i(414)]),o=r[i(618)](t[s].id);t[s][i(634)]=n-o}}[Qt(384)](t,e,i=!1){const s=Qt,n=[];let r=this[s(428)][s(489)](t),o=this[s(428)][s(489)](e);for(-1==o&&(o=this[s(428)][s(347)][s(349)],i=!1);r<o;)n[s(367)](this[s(428)][s(580)](r)),r++;return i&&n[s(367)](this[s(428)][s(580)](r)),n}[Qt(545)](t,e,i,s){const n=Qt,r=this[n(424)][n(416)][n(350)];let o=e;for(;t[o]&&t[o][n(401)];)o++;let a=s;for(;i[a]&&i[a][n(486)];)a++;u(t,e,o),u(i,s,a);const c=i[n(381)](s,a)[n(488)](t[n(381)](e,o));return c[n(564)]((t,e)=>t[n(438)]!=e[n(438)]?t[n(438)]-e[n(438)]:t[n(380)]!=e[n(380)]?t[n(380)]-e[n(380)]:t[n(634)]!=e[n(634)]?e[n(634)]-t[n(634)]:!!t[n(401)]!=!!e[n(401)]?-1==t[n(438)]||0==t[n(438)]?t[n(401)]?-1:1:t[n(401)]?1:-1:t[n(503)]-e[n(503)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(451)],c=!0;for(let n=e;n<i;n++)if(r[s(595)](t[n][s(608)])||(c=!1),t[n][s(608)][s(535)]<e&&(o=n),t[n][s(608)][s(369)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(438)]=n<=o?-1:n<a?0:1,t[n][s(503)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(634)]?t[i][s(380)]=u:(u++,t[i][s(380)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(438)]&&(t[n][s(380)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(634)]?t[e][s(380)]=u:(u--,t[e][s(380)]=u,u--)}}[Qt(410)](t){const e=Qt,i=new Map,s=this[e(424)][e(416)][e(350)];for(let n=1;n<t[e(349)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(625)==c[e(422)])continue;if(c[e(422)]!=u[e(422)])continue;if(!s[e(644)](u[e(608)])||s[e(560)](u[e(608)]))continue;if(!s[e(644)](c[e(608)])||s[e(560)](c[e(608)]))continue;if((t[n][e(401)]||t[n][e(341)])&&t[n-1][e(486)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(486)]||!t[n-1][e(401)]&&!t[n-1][e(341)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(380)]==o[e(380)],h=Math[e(532)](r[e(380)])<Math[e(532)](o[e(380)])&&0==o[e(634)];(l||h)&&(i[e(516)](o.id,r.id),t[e(441)](a,1),n--,r[e(401)]=!1)}for(let s=0;s<t[e(349)];s++)i[e(446)](t[s][e(414)])&&(t[s][e(414)]=i[e(618)](t[s][e(414)]))}[Qt(540)](t){const e=Qt,i=new Set(t[e(412)](t=>t.id));for(let s=0;s<t[e(349)];s++)i[e(446)](t[s][e(414)])||0==t[s][e(634)]||(t[s][e(351)]=!0);return t[e(653)](t=>!t[e(351)])}[Qt(621)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(349)];s++){if(i[e(446)](t[s].id)&&t[s][e(486)]&&(t[s][e(351)]=!0),t[s][e(351)])continue;if(0==t[s][e(634)])continue;if(e(520)!=t[s][e(422)])continue;if(null==t[s][e(414)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(414)];)e(520)==t[n][e(422)]?r++:e(650)==t[n][e(422)]&&r--,n++;if(0!=r)if(t[s][e(486)])t[s][e(351)]=!0;else for(;n!=s;)t[n][e(486)]&&0!=t[n][e(634)]&&(t[n][e(351)]=!0,i[e(435)](t[n][e(414)])),n--}return t[e(653)](t=>!t[e(351)])}[Qt(583)](t){const e=Qt,i=this[e(424)][e(416)][e(350)];for(let s=0;s<t[e(349)];s++){if(!(t[s][e(401)]||t[s][e(341)]||t[s][e(486)]||t[s][e(398)]))continue;if(0==t[s][e(634)])continue;const n=t[s][e(608)];i[e(644)](n)||i[e(560)](n)||(t[s][e(401)]&&delete t[s][e(401)],t[s][e(341)]&&delete t[s][e(341)],t[s][e(398)]&&delete t[s][e(398)],t[s][e(486)]&&(t[s][e(351)]=!0))}return t[e(653)](t=>!t[e(351)])}[Qt(538)](t,e,i){const s=Qt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(424)][s(416)],c=a[s(350)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(349)];e++)if(s(520)===t[e][s(422)]){t[e][s(434)]=a[s(578)](n,f);const i=new Z.Element(t[e][s(608)][s(537)],t[e][s(608)][s(348)]());u[0][s(549)](i),f[s(367)](0),u[s(512)](i),t[e][s(357)]=a[s(578)](n,f)}else s(650)===t[e][s(422)]?(u[s(659)](),t[e][s(434)]=a[s(578)](n,f),f[s(575)](),f[f[s(349)]-1]++,t[e][s(357)]=a[s(578)](n,f)):(t[e][s(434)]=a[s(578)](n,f),d?d[s(603)]+=t[e][s(608)][s(623)]:d=new Z.Text(t[e][s(608)][s(623)],t[e][s(608)][s(348)]()),t[e+1]&&s(625)===t[e+1][s(422)]&&v(d,t[e+1][s(608)])||(u[0][s(549)](d),d=null),f[f[s(349)]-1]+=t[e][s(608)][s(482)],t[e][s(357)]=a[s(578)](n,f));for(let e=0;e<t[s(349)];e++){const i=t[e][s(434)],n=t[e][s(357)];for(const n of t[e][s(567)])o[s(516)](n,{start:i,end:null});m(s(398),e,i,n),m(s(341),e,i,n),m(s(486),e,i,n),m(s(401),e,i,n);for(const i of t[e][s(415)]){const t=o[s(618)](i);t?t[s(646)]=n:o[s(516)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(424)][s(416)][s(527)](e[s(654)],e[s(646)]);n[s(388)][s(516)](t,i)}return r[s(564)]((t,e)=>{const i=s,r=n[i(388)][i(618)](i(550)+t.id),o=n[i(388)][i(618)](i(550)+e.id);return r[i(654)][i(409)](o[i(654)])?-1:r[i(654)][i(597)](o[i(654)])?1:r[i(646)][i(409)](o[i(646)])?-1:r[i(646)][i(597)](o[i(646)])?1:i(435)===t[i(422)]?-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(530)]:null,d=i===t[o(349)]-1,f=h[e][0],m=c[o(494)](t[i][o(608)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(646)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(530)]!==u&&(l[e][o(646)]=n,f&&f[o(530)]===l[e][o(530)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(520)!==t[i][o(422)]||f&&f[o(530)]===u||h[e][o(512)]({userId:u,object:t[i][o(608)],change:l[e]}),o(650)===t[i][o(422)]&&f&&f[o(436)]===t[i][o(608)]&&(h[e][o(659)](),l[e]=f[o(586)])),l[e]&&d&&(l[e][o(646)]=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(608)],f=a[h(350)][h(644)](d)&&!a[h(350)][h(560)](d),m=t[h(645)]==o[h(502)]&&o[h(361)];if(f&&m)return;const p=a[h(527)](t,o),v=e[h(618)](u),g=new Ht({author:v,type:h(401)==l||h(341)==l?h(435):h(468),data:{isSuggestion:h(341)==l||h(398)==l},createdAt:new Date,rootName:i});r[h(367)](g),n[h(388)][h(516)](h(550)+g.id,p)}function v(t,e){const i=s,n=t[i(348)](),r=e[i(348)]();for(const t of n){if(t[1]!==e[i(612)](t[0]))return!1;r[i(395)]()}return r[i(395)]()[i(554)]}}[Qt(429)](){const t=Qt;this[t(424)][t(574)][t(665)](t(541))[t(649)]({view:t(360)}),this[t(424)][t(574)][t(665)](t(609))[t(598)]({model:t(360),view:e=>{const i=t,s=e[i(515)][i(517)](":")[1],n=this[i(591)](s);if(!n)return null;const r=i(435)==n[i(422)]?i(508):i(529),o=[i(399),i(524)+r];return n[i(623)][i(531)]&&o[i(367)](i(524)+r+i(663)),this[i(444)]==n&&o[i(367)](i(632)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(424)][t(574)][t(665)](t(541))[t(435)](e=>{const i=t;e.on(i(600),(t,e,s)=>{const n=i,r=e[n(476)][n(558)](0);if(!r||!r.is(n(511),n(635)))return;if(!s[n(610)][n(582)](r,{attributes:[n(443),n(556)]}))return;const o=e[n(648)][n(654)][n(645)];s[n(579)][n(462)](n(443),r[n(612)](n(443)),o),s[n(579)][n(462)](n(556),r[n(612)](n(556)),o)},{priority:i(421)})}),this[t(424)][t(574)][t(665)](t(541))[t(435)](e=>{const i=t;e.on(i(511),(t,e,s)=>{const n=i;if(!s[n(610)][n(582)](e[n(476)],{attributes:[n(443),n(556)]}))return;if(e[n(648)][n(604)])return;const r=e[n(648)][n(654)][n(645)];r[n(510)](n(443))||r[n(510)](n(501))||(s[n(579)][n(462)](n(443),e[n(476)][n(612)](n(443)),r),s[n(579)][n(462)](n(556),e[n(476)][n(612)](n(556)),r))},{priority:i(421)})}),this[t(424)][t(574)][t(665)](t(541))[t(465)]({view:{name:t(627),attributes:{vid:!0}},model:{key:t(501),value:e=>e[t(612)](t(501))}}),this[t(424)][t(416)][t(350)].on(t(439),(e,[,i])=>{const s=t;[s(443),s(556),s(501)][s(526)](i)&&(e[s(565)]=!0,e[s(626)]())},{priority:t(624)}),this[t(424)][t(574)][t(665)](t(459))[t(435)](e=>{const i=t;e.on(i(448),(t,e,s)=>{const n=i;if(" "!=e[n(608)][n(623)]||e[n(608)][n(502)][n(513)]>1)return;if(!s[n(610)][n(582)](e[n(608)],t[n(537)]))return;const r=s[n(579)],o=s[n(589)][n(593)](e[n(542)]);r[n(559)](o,r[n(407)](n(627)))})}),this[t(424)][t(574)][t(665)](t(459))[t(426)]({model:t(360)}),this[t(424)][t(485)][t(346)].on(t(449),function(e){const i=t,s=e[i(652)][i(618)](i(390));return(t,n,r)=>{const o=i,a=n[o(515)][o(517)](":")[1],c=s[o(591)](a);if(!c)return null;const u=o(435)==c[o(422)]?o(517):o(500);if(!r[o(610)][o(631)](n[o(571)],t[o(537)]))return;const l=n[o(571)][o(373)](),h=n[o(571)][o(654)],d=e[o(416)][o(350)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(608)];p=p||d[o(396)](e);const i=r[o(589)][o(408)](e);if(i&&i[o(473)](o(657)))return;o(650)==t[o(422)]&&d[o(644)](e)&&!d[o(560)](e)&&(e[o(525)]||h[o(391)]?f&&f[o(502)]==e||(f=e,g(t[o(434)]),v=!0):m=m||t[o(434)])}function g(t){const e=o,i=r[e(579)][e(633)](e(627),{class:e(524)+u}),a=r[e(589)][e(433)](t);c[e(623)][e(531)]&&r[e(579)][e(495)](e(524)+u+e(663),i),s[e(444)]==c&&r[e(579)][e(495)](e(632),i),r[e(579)][e(447)](a,i),r[e(589)][e(345)](i,n[e(515)])}p||v||!m||g(m)}}(this[t(424)]),{priority:t(458)}),this[t(424)][t(485)][t(346)].on(t(563),(e,i,s)=>{const n=t,r=s[n(589)][n(619)](i[n(515)]);if(r)for(const t of r)(t[n(553)](n(522))||t[n(553)](n(362)))&&(s[n(589)][n(519)](t,i[n(515)]),s[n(579)][n(468)](t))},{priority:t(458)}),this[t(424)][t(485)][t(346)].on(t(449),(e,i,s)=>{const n=t,r=i[n(515)][n(517)](":")[1],o=this[n(591)](r);if(!o)return null;const a=n(435)==o[n(422)]?n(517):n(500);if(s[n(610)][n(631)](i[n(571)],e[n(537)]))for(const t of i[n(571)][n(552)]()){if(!t.is(n(511),n(352)))continue;const e=s[n(579)][n(633)](n(627),{class:n(524)+a}),r=s[n(589)][n(433)](this[n(424)][n(416)][n(483)](t));o[n(623)][n(531)]&&s[n(579)][n(495)](n(524)+a+n(663),e),this[n(444)]==o&&s[n(579)][n(495)](n(632),e),s[n(579)][n(447)](r,e),s[n(589)][n(345)](e,i[n(515)])}},{priority:t(458)}),this[t(424)][t(416)][t(453)].on(t(586),()=>{const e=t;this[e(424)][e(485)][e(660)][e(586)](t=>{const i=e;for(const e of this[i(424)][i(416)][i(453)][i(630)]()){const s=this[i(424)][i(416)][i(453)][i(616)](e),n=this[i(424)][i(485)][i(660)][i(453)][i(616)](e);if(n){const e=s[i(612)](i(505));if(t[i(562)](i(464),n),t[i(450)](i(617),n),t[i(450)](i(425),n),t[i(450)](i(375),n),e){const s=this[i(591)](e);if(!s)return null;t[i(462)](i(464),e,n),t[i(495)](i(371)+s[i(422)],n),this[i(444)]==s&&t[i(495)](i(375),n)}}}})}),this[t(424)][t(574)][t(665)](t(541))[t(649)]({view:t(364),model:e=>t(484)+e,converterPriority:t(624)}),this[t(424)][t(574)][t(665)](t(541))[t(649)]({view:t(445),model:e=>t(471)+e,converterPriority:t(624)}),this[t(424)][t(574)][t(665)](t(459))[t(426)]({model:t(365),view:e=>({name:t(655)+e,group:t(365)}),converterPriority:t(624)}),this[t(424)][t(574)][t(665)](t(609))[t(598)]({model:t(365),view:e=>{const i=t,s=e[i(515)][i(517)](":")[1];return i(508)!=s&&i(529)!=s?null:{classes:[i(366),i(536)+s]}}}),this[t(424)][t(485)][t(346)].on(t(622),ee(this[t(424)],t(500)),{priority:t(458)}),this[t(424)][t(485)][t(346)].on(t(596),ee(this[t(424)],t(517)),{priority:t(458)}),this[t(424)][t(485)][t(346)].on(t(639),(e,i,s)=>{const n=t,r=s[n(589)][n(619)](i[n(515)]);if(r)for(const t of r)t.is(n(656))&&(s[n(589)][n(519)](t,i[n(515)]),s[n(579)][n(468)](t))},{priority:t(458)})}[Qt(591)](t){const e=Qt;return this[e(413)][e(618)](t)}[Qt(440)](t){const e=Qt;return this[e(442)]&&this[e(442)][e(533)](),this[e(442)]=new Wt(this[e(424)][e(658)],t),this[e(442)]}[Qt(506)](){const t=Qt;this[t(424)][t(416)][t(453)][t(518)][t(383)](t(360)),this.on(t(507),(e,i,s,n)=>{const r=t;n&&this[r(382)][r(468)](n),s&&(this[r(382)][r(435)]({view:s,stackId:r(479),position:{target:()=>{const t=r,e=this[t(424)][t(485)],i=this[t(591)](s[t(402)]);let n;if(i[t(623)][t(551)]){const s=e[t(660)][t(651)](i[t(419)]);n=Array[t(561)](s[t(664)]())}else{const i=this[t(424)][t(416)][t(388)][t(618)](t(550)+s[t(402)]);n=Array[t(561)](e[t(589)][t(619)](i[t(537)]))[t(412)](i=>e[t(660)][t(463)][t(420)](i))[t(412)](e=>Array[t(561)](e[t(664)]()))[t(455)]()}return this[t(432)]&&n[t(456)](e=>e[t(577)]-3<=this[t(432)].y&&e[t(566)]+3>=this[t(432)].y&&e[t(588)]-3<=this[t(432)].x&&e[t(492)]+3>=this[t(432)].x)||n[0]}}}),this[r(382)][r(499)](r(479)))}),this.on(t(594),(e,i,s,n)=>{const r=t;this[r(544)]=s?this[r(440)](s):null,this[r(424)][r(416)][r(586)](()=>{const t=r,e=this[t(424)][t(485)];n&&(n[t(623)][t(551)]?e[t(660)][t(586)](i=>{const s=t;i[s(450)](s(375),e[s(660)][s(453)][s(616)](n[s(419)]))}):e[t(358)](t(550)+n.id)),s&&(s[t(623)][t(551)]?e[t(660)][t(586)](i=>{const n=t;i[n(495)](n(375),e[n(660)][n(453)][n(616)](s[n(419)]))}):e[t(358)](t(550)+s.id))})}),this[t(590)](this[t(424)][t(485)][t(660)][t(453)],t(353),(e,i)=>{const s=t;if(this[s(444)])return;const n=this[s(368)](i[s(592)]),r=this[s(413)][s(618)](n);r?(this[s(432)]={x:i[s(379)].x,y:i[s(379)].y},this[s(544)]=this[s(440)](r)):(this[s(432)]=null,this[s(544)]=null)}),this[t(590)](this[t(424)][t(485)][t(660)][t(453)],t(427),(e,i)=>{const s=t,n=this[s(368)](i[s(592)]),r=this[s(413)][s(618)](n);r?(this[s(432)]={x:i[s(379)].x,y:i[s(379)].y},r===this[s(444)]?this[s(382)][s(557)]():this[s(444)]=r):(this[s(432)]=null,this[s(444)]=null)})}[Qt(368)](t){const e=Qt;do{const i=t[e(612)](e(464));if(i)return i;t=t[e(502)]}while(t);return null}[Qt(606)](){const t=Qt;this[t(424)][t(416)][t(586)](e=>{const i=t;for(const t of this[i(424)][i(416)][i(388)])e[i(343)](t)})}}function ee(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(610)][r(631)](s[r(571)],i[r(537)]))return;const o=s[r(571)][r(373)](),a=s[r(571)][r(654)],c=t[r(416)][r(350)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(608)];h=h||c[r(396)](e);const i=n[r(589)][r(408)](e);if(i&&i[r(473)](r(657)))return;r(650)==t[r(422)]&&c[r(644)](e)&&!c[r(560)](e)&&(e[r(525)]||a[r(391)]?u&&u[r(502)]==e||(u=e,f(t[r(434)]),d=!0):l=l||t[r(434)])}function f(t){const i=r,o=n[i(589)][i(433)](t),a=n[i(579)][i(633)](i(627),{class:i(536)+e});n[i(579)][i(447)](o,a),n[i(589)][i(345)](a,s[i(515)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(652)][e(618)](te);this[e(547)]=!1,this[e(590)](i,e(480),()=>this[e(543)]()),this[e(590)](i,e(474),()=>this[e(543)]())}[Qt(430)](){const t=Qt,e=this[t(424)],i=e[t(652)][t(618)](te),s=i[t(643)]?i[t(467)][t(397)]:null;e[t(629)][t(618)](t(477))[t(569)](s)}[Qt(543)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(424)][t(652)][t(618)](te),r=n&&s[t(386)](n[t(397)]);this[t(472)]=e&&i&&Boolean(r)}}class se extends U.Command{[Qt(437)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(652)][i(618)](te);this[i(547)]=!1,this[i(437)]=i(460)===e?1:-1,this[i(590)](s,i(480),()=>this[i(543)]()),this[i(590)](s,i(474),()=>this[i(543)]()),this[i(590)](s,i(594),()=>this[i(543)]())}[Qt(430)](){const e=Qt,i=this[e(424)],s=i[e(652)][e(618)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(444)]=n?s[e(467)][e(461)][e(618)](r+this[e(437)]):s[e(467)][e(461)][e(521)],s[e(444)][e(623)][e(551)])o=i[e(485)][e(660)][e(651)](s[e(444)][e(419)]);else{const t=i[e(416)][e(388)][e(618)](e(550)+s[e(444)].id);o=(0,H.getMarkerDomElement)(i[e(485)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(543)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(424)][t(652)][t(618)](te);this[t(472)]=!!(r&&n&&s)&&(!e||(1===this[t(437)]?i<s-1:i>0))}}function ne(){const t=["config","getRootNames","test","ck-suggestion-marker--active","createUIElement","distance","code","_makeTape","_joinTapes","1717137KZLepu","removeMarker:revision-suggestion","13251HFsFsz","numberOfChanges","_markSuggestions","isReady","isBlock","nodeAfter","end","authors","modelRange","dataToMarker","elementEnd","getDomRoot","plugins","filter","start","suggestion:","uiElement","addHighlight","locale","shift","view","forceDisabled","_refreshStartEndIndex","-new","getClientRects","for","isPremiumPlugin","error","isAddSuggestion","_setChanges","removeMarker","_update","bindElementToMarker","downcastDispatcher","_revisions","getAttributes","length","schema","isIncorrect","softBreak","mouseover","roots","4476jDQxxC","RevisionsRepository","nextPosition","reconvertMarker","keys","revision","isAtStart","ck-suggestion-marker-merge","indexOf","comment","revision-suggestion","ck-suggestion-preview-marker","push","_findChangeIdFromDomTarget","endIndex","backward","ck-revision-history-root-","796936sLppVT","getWalker","WidgetToolbarRepository","ck-revision-history-root--active","adapter","createRevision","showNextChange","domEvent","level","slice","_balloon","observeMarkers","_getRevisionsRange","_sortAndFilterDiffChanges","getLaterVisibleRevision","getRevisionRootsAttributes","markers","createRangeIn","RevisionViewer","isAtEnd","loadRevisionData","revision-viewer","detachRoot","next","isContent","newRevisionId","isRemoveSuggestion","ck-suggestion-marker","then","isAdded","changeId","init","currentChangeNumber","getRevisionDocumentData","findIndex","createAttributeElement","toViewElement","isBefore","_fixObsoleteTags","string","map","_changeIdToChange","pairId","markersEnd","model","isOfficialPlugin","requires","rootName","mapViewToDom","low","type","_markMarkers","editor","ck-revision-history-root-remove","markerToData","mousedown","repository","_setConversion","execute","oldRevisionId","_activeViewTarget","toViewPosition","previousPosition","add","object","_step","side","checkAttribute","_getViewForChange","splice","_changeView","vid_start","activeChange","suggestion","has","insert","attribute:vid","addMarker:revision","removeClass","POSITIVE_INFINITY","restoreRevision","document","_processTape","flat","find","change:numberOfChanges","high","dataDowncast","forward","changes","setAttribute","domConverter","data-change-id","elementToAttribute","attributesBefore","diff","remove","showPreviousChange","resolve","revision-suggestion:","isEnabled","getCustomProperty","change:isEnabled","16falfTx","viewItem","revisionHistory","1062ALlJvp","revisionHistoryLabel","change:isReady","_cleanUp","offsetSize","createPositionBefore","revision-comment:","editing","isRemoved","isNavigationMode","concat","getIndex","isAttached","_makeModelFromViewString","right","commands","isObject","addClass","delete","_setDistance","4238050ngMSvD","showStack","merge","vid","parent","index","RevisionHistoryUtils","revisionHistoryAttachChange","_initInteractions","change:activeView","insertion","475585mUvBAW","hasAttribute","element","unshift","maxOffset","78FIXDzh","markerName","set","split","selection","unbindElementFromMarkerName","elementStart","first","ck-suggestion-marker-split","_markInsertions","ck-suggestion-marker-","nextSibling","includes","createRange","deletions","deletion","userId","isSuggestion","abs","destroy","1042459RZDDfK","startIndex","ck-suggestion-preview-marker-","name","_makeModelFromTape","values","_removeMissingPairs","upcast","range","refresh","activeView","_threeWayMerge","_utils","affectsData","attributesAfter","_appendChild","revision:","isOnRoot","getItems","hasClass","done","addRoot","vid_end","updatePosition","getChild","wrap","isLimit","from","removeAttribute","removeMarker:revision","sort","return","bottom","markersStart","catch","restoreRevisionCallback","enqueueChange","markerRange","addRevision","startsWith","conversion","pop","diffData","top","createPositionFromPath","writer","getRevision","attributes","consume","_removeUnsupportedChanges","enableReadOnlyMode","clear","change","680lafzJb","left","mapper","listenTo","_getChangeFromId","target","toViewRange","change:activeChange","isInline","addMarker:revision-suggestion:insertion","isAfter","markerToHighlight","forEach","element:pre","all","ck-editor__editable__overlay","_data","isCollapsed","isEqual","_cleanMarkers","insertions","item","editingDowncast","consumable","compare","getAttribute","_getDiff","pluginName","bind","getRoot","ck-revision-history-root-add","get","markerNameToElements","addRevisionData","_markMismatchedRemovedTags","addMarker:revision-suggestion:deletion","data","highest","text","stop","span","attachChange"];return(ne=function(){return t})()}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-=459]})(t,e)}function ce(){const t=["8565799AUBBCS","Show next change","66705roPrzu","currentChangeNumber","ck-hidden","_isStatusLabelVisible","numberOfChanges","8zdlwgB","fire","4246KeFpdA","ck-revision-history-ui__changes-navigation__navigation","_statusText","Total","bind","isBackwardNavigationEnabled","isReady","ck-revision-history-ui","59xbNosT","backward","isEnabled","div","forward","bindTemplate","ck-revision-history-ui__changes-navigation__wrapper","X_OF_Y_CHANGES","7964922AZsxYg","45JdPXuz","120zAZeRv","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui__changes-navigation__label","NUMBER_OF_CHANGES","setTemplate","isForwardNavigationEnabled","2506122aFjSuI","3027610cEGzuJ","span","Show previous change","set","execute","9320208uhXTmS","Loading...","ck-revision-history-ui__changes-navigation","No changes","isNavigationMode"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(962161===-parseInt(e(470))/1*(-parseInt(e(462))/2)+parseInt(e(486))/3+-parseInt(e(480))/4*(-parseInt(e(499))/5)+-parseInt(e(492))/6+parseInt(e(478))/7*(-parseInt(e(460))/8)+parseInt(e(479))/9*(parseInt(e(487))/10)+parseInt(e(497))/11)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(475)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(490)](e(496),!1),this[e(490)](e(468),!1),this[e(490)](e(500),0),this[e(490)](e(459),0),this[e(490)](e(485),!1),this[e(490)](e(467),!1),this[e(466)](e(502)).to(this,e(468),this,e(459),(t,e)=>t&&e>0),this[e(466)](e(464)).to(this,e(468),this,e(500),this,e(459),this,e(496),(i,s,n,r)=>{const o=e;if(!i)return Q(t,o(493));if(!n)return Q(t,o(495));const a=Q(t,o(483),n);return r?Q(t,o(477),[s+1,n]):a}),s[e(490)]({label:Q(t,e(489)),tooltip:!0,icon:mt.IconChevronUp}),n[e(490)]({label:Q(t,e(498)),tooltip:!0,icon:mt.IconChevronDown}),s[e(466)](e(472)).to(this,e(467)),n[e(466)](e(472)).to(this,e(485)),s.on(e(491),()=>this[e(461)](e(491),e(471))),n.on(e(491),()=>this[e(461)](e(491),e(474))),this[e(484)]({tag:e(473),attributes:{class:["ck",e(469),e(494)]},children:[{tag:e(488),attributes:{class:[e(476)]},children:[{tag:e(488),attributes:{class:[e(482),i.if(e(502),e(501),t=>!t)]},children:[{text:i.to(e(496),i=>i?Q(t,e(481))+": ":Q(t,e(465))+": ")}]},{text:i.to(e(464))}]},new pt.ToolbarSeparatorView,{tag:e(473),attributes:{class:[e(463)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=ve();return(fe=function(t,e){return i[t-=395]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(731001===-parseInt(e(418))/1*(parseInt(e(419))/2)+-parseInt(e(396))/3*(-parseInt(e(408))/4)+parseInt(e(402))/5+parseInt(e(399))/6*(-parseInt(e(403))/7)+-parseInt(e(416))/8+parseInt(e(415))/9+parseInt(e(404))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);const me=de(414);class pe extends U.Plugin{static get[de(409)](){return de(410)}static get[de(397)](){return!0}static get[de(412)](){return!0}[de(417)](){const t=de,e=this[t(405)][t(413)][t(400)];e[t(395)](i=>{const s=t;for(const t of e[s(406)][s(411)])i[s(401)](me,t)})}[de(407)](){const t=de,e=this[t(405)][t(413)][t(400)];e[t(395)](i=>{const s=t;for(const t of e[s(406)][s(411)])i[s(398)](me,t)})}}function ve(){const t=["1442555hWhLSd","31647OJDnTk","127870rPWoUO","editor","document","hide","436tayxJW","pluginName","RevisionViewerLoadingOverlay","roots","isPremiumPlugin","editing","ck-editor__editable__loading-overlay","11960739HXdbzB","8466920lzNeuz","show","4EFJSHN","150606uYFhEM","change","23619ZVUKiq","isOfficialPlugin","removeClass","528bHFpHE","view","addClass"];return(ve=function(){return t})()}const ge=ye;function ye(t,e){const i=be();return(ye=function(t,e){return i[t-=301]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(257423===parseInt(e(332))/1*(parseInt(e(347))/2)+parseInt(e(349))/3+parseInt(e(309))/4+-parseInt(e(344))/5*(-parseInt(e(334))/6)+parseInt(e(307))/7*(parseInt(e(303))/8)+parseInt(e(329))/9*(parseInt(e(327))/10)+-parseInt(e(301))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);class ke extends U.Plugin{static get[ge(339)](){return ge(342)}static get[ge(317)](){return!0}static get[ge(338)](){return!0}static get[ge(345)](){return[te,pe]}[ge(324)](){const t=ge,e=this[t(312)],i=e[t(319)][t(330)](te),s=e[t(319)][t(330)](pe);e.ui[t(314)][t(337)](t(302),i=>{const s=t,n=new pt.ButtonView(i);return n[s(336)]({label:Q(i,s(315)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(346)}),this[s(308)](n,s(341),()=>{const t=s;e[t(335)][t(330)](t(322))[t(333)]()}),n}),e.ui[t(314)][t(337)](t(325),i=>{const s=t,n=new pt.ButtonView(i);return n[s(336)]({label:Q(i,s(306)),withText:!0,tooltip:!0}),n[s(348)](s(340)).to(e[s(316)][s(330)](s(325))),this[s(308)](n,s(341),()=>e[s(341)](s(325))),n}),e.ui[t(314)][t(337)](t(304),s=>{const n=t,r=new ue(s),o=e[n(316)][n(330)](n(331)),a=e[n(316)][n(330)](n(320));return r[n(348)](n(328)).to(o,n(340)),r[n(348)](n(323)).to(a,n(340)),r[n(348)](n(313),n(326),n(311),n(318)).to(i),this[n(308)](r,n(341),(t,i)=>{const s=n;e[s(341)](s(305)===i?s(320):s(331))}),r}),s[t(321)](),i.on(t(343),(e,i,n)=>{const r=t;n?s[r(310)]():s[r(321)]()})}}function be(){const t=["change:isReady","1182295FocMdV","requires","ck-revision-history-ui__back-to-editing","2AOboxK","bind","591909wFgEBE","14241480VcEgwK","exitToEditing","8bRvQfW","changesNavigation","forward","Restore this revision","948577YXYSed","listenTo","239400wzilvk","hide","numberOfChanges","editor","isReady","componentFactory","Back to editing","commands","isOfficialPlugin","isNavigationMode","plugins","showNextChange","show","revisionHistory","isForwardNavigationEnabled","init","restoreRevision","currentChangeNumber","10EGTbqt","isBackwardNavigationEnabled","4171527sLcZSu","get","showPreviousChange","459477PKTSPa","closeRevisionViewerCallback","6fwQTxn","config","set","add","isPremiumPlugin","pluginName","isEnabled","execute","RevisionViewerUI"];return(be=function(){return t})()}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Oe();return(Se=function(t,e){return i[t-=270]})(t,e)}function Oe(){const t=["Enter the revision name","3989004UFKeax","2103168oMHKxd","render","scrollWidth","clientWidth","37518hxSYtY","_updateTooltipText","22809CAzpzL","ck-tooltip_multi-line","fieldView","listenTo","119310stSZQY","16mVcqID","bindTemplate","2830163snFzSg","332KTmUix","5082597WRXyeN","placeholder","_resizeObserver","ck-revision-history-sidebar__revision-name","element","span","_tooltipString","set","destroy","extendTemplate","Revision name","input","value"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(340227===parseInt(e(276))/1*(parseInt(e(299))/2)+-parseInt(e(271))/3*(-parseInt(e(279))/4)+-parseInt(e(275))/5+parseInt(e(294))/6+-parseInt(e(278))/7+-parseInt(e(295))/8+-parseInt(e(280))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Ie(282)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(277)];this[i(287)]({label:Q(t,i(290)),_tooltipString:""}),this[i(273)][i(281)]=Q(t,i(293)),this[i(289)]({tag:i(285),attributes:{class:[i(283)],"data-cke-tooltip-text":s.to(i(286)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(272)}})}[Ie(296)](){const e=Ie;super[e(296)](),this[e(282)]=new t.ResizeObserver(this[e(273)][e(284)],()=>this[e(270)]()),this[e(274)](this[e(273)],e(291),()=>this[e(270)]())}[Ie(288)](){const t=Ie;super[t(288)](),this[t(282)]&&this[t(282)][t(288)]()}[Ie(270)](){const t=Ie,e=this[t(273)][t(284)];this[t(286)]=e[t(297)]>e[t(298)]&&e[t(292)]||""}}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-=330]})(t,e)}function Ae(){const t=["0 0 11 10","14581528cHabQO","Revision author","span","89033sdrCTe","426eTFhrR","set","ck-revision-history-sidebar__revision-author__name","797844HXCUbv","4453510xihLPI","ck-revision-history-sidebar__revision-author","setTemplate","ck-revision-history-sidebar__revision-author_creator","6465864wmmRlD","4149DGdHjI","Revision creator","push","320714FmBFcY","61890xSBxnN","name","11vjKHCO"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(924298===-parseInt(e(345))/1*(-parseInt(e(342))/2)+-parseInt(e(333))/3+-parseInt(e(338))/4+-parseInt(e(334))/5+parseInt(e(330))/6*(parseInt(e(350))/7)+-parseInt(e(347))/8+-parseInt(e(339))/9*(-parseInt(e(343))/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(331)]({content:mt.IconUser,viewBox:s(346)});const r=["ck",s(335)];i&&r[s(341)](s(337));const o=[{tag:s(349),attributes:{class:["ck",s(332)],title:Q(t,s(i?340:348))},children:[n,e[s(344)]]}];this[s(336)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=De();return(Ve=function(t,e){return i[t-=346]})(t,e)}function De(){var t=["3969040oHjxXg","3972YLsGWu","13371880vDjrFD","toLocaleDateString","long","1198647RokrxA","1143705KvGHwU","473973ULxsXa","numeric","4GgbQIB","toLocaleTimeString","91CZehhN","195102vmeVzx","229YbOyig"];return(De=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(435888===-parseInt(e(359))/1*(parseInt(e(347))/2)+-parseInt(e(353))/3*(parseInt(e(355))/4)+-parseInt(e(352))/5+-parseInt(e(358))/6*(parseInt(e(357))/7)+parseInt(e(346))/8+-parseInt(e(351))/9+parseInt(e(348))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=192]})(t,e)}function je(){const t=["set","616938vrXkmw","execute","action","22UFjcRr","bind","panelPosition","isEnabled","first","ck-on","isReady","2445828OvCQai","children","source","extendTemplate","menuitem","model","menu","listenTo","isActionsDropdownOpen","bindTemplate","change:isActionsDropdownOpen","function","6zZqgVH","items","locale","9WxHXMZ","name","Name this revision","listView","851902radQCH","buttonView","isVisible","1750670XCBrBa","702256LgICjO","find","2lqUvnu","map","Compare against selected","Restore this revision","isOpen","button","class","ck-revision-history-sidebar__revision__actions","1844035xdqKnA","stopPropagation","6261496loyqXs","_action","add","Show more items"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(574288===-parseInt(e(197))/1*(-parseInt(e(203))/2)+-parseInt(e(228))/3+-parseInt(e(201))/4+-parseInt(e(211))/5*(-parseInt(e(240))/6)+-parseInt(e(218))/7+-parseInt(e(213))/8*(-parseInt(e(193))/9)+-parseInt(e(200))/10*(parseInt(e(221))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=Ue;function We(){const t=["isActionsDropdownOpen","2026950RILHzP","span","srcElement","extendTemplate","map","closest","name","setName",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","1697084hCdszl","ck-revision-history-sidebar__actions_dropdown_open","highlight","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision_highlighted","220","ck-revision-history-sidebar__revision-authors","isEnabled","element","isReady","bindTemplate","bind","isSelected","deselect","1573311XltOrs","select","ck-revision-history-sidebar__revision","3FkvNVS","listenTo","2697678uetnDo","_revision","fieldView","unhighlight","ck-revision-history-sidebar__revision-wrapper","701726qGjtSq","fire","15rmWutR","29911bZMDLm","setTemplate","ck-revision-history-sidebar__revision__controls-wrapper","39570910Bhzljo","isHighlighted","_createdAtFormatted","authors","createdAt","render","uiLanguage","length","revisionActionsView","8CGSHfE","from","ck-reset","revisionNameView","_requireRevisionName","unshift","div","ck-disabled","set","value","isConfirm","change","ck-revision-history-sidebar__revision__date","filter","creator"];return(We=function(){return t})()}function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=124]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(793914===-parseInt(e(162))/1+parseInt(e(172))/2*(-parseInt(e(165))/3)+parseInt(e(148))/4*(-parseInt(e(174))/5)+parseInt(e(138))/6+-parseInt(e(175))/7+-parseInt(e(187))/8*(parseInt(e(167))/9)+parseInt(e(178))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(125)];[ze(186)];[ze(168)];[ze(126)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(158)],a=function(t,e){const i=r,s=Array[i(188)](e[i(181)])[i(135)](t=>t!=e[i(136)]);return e[i(136)]&&s[i(127)](e[i(136)]),s[i(142)](s=>new Me(t,s,s==e[i(136)]))}(e,i);this.id=i.id,this[r(168)]=i,this[r(126)]=n,this[r(159)](r(144),r(182)).to(i),this[r(159)](r(180)).to(this,r(182),t=>{return i=e[r(184)],(s=t)[(n=Ve)(349)](i,{month:n(350),day:n(354)})+", "+s[n(356)](i,{hour:n(354),minute:n(354)});var i,s,n}),this[r(130)](r(160),!1),this[r(130)](r(179),!1),this[r(130)](r(137),!1),this[r(130)](r(157),!1),this[r(130)](r(155),!1),this[r(125)]=new Te(e,pt.createLabeledInputText),this[r(125)][r(169)][r(141)]({attributes:{maxlength:r(153)}}),this[r(125)][r(169)][r(159)](r(131)).to(this,r(144),t=>t||this[r(180)]),this[r(125)][r(159)](r(155)).to(this,r(160),this,r(155),(t,e)=>t&&e),this[r(186)]=s&&s[r(185)]?function(e,i){const s=Fe,n=e[s(237)],r=e[s(192)],o=(0,pt.createDropdown)(r);o[s(223)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(192)],n={"Compare against selected":Q(s,i(205)),"Name this revision":Q(s,i(195)),"Restore this revision":Q(s,i(206))};return e[i(204)](t=>{const e=i,s=n[t[e(194)]];return s&&s!==t[e(194)]&&(t[e(194)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(208),model:new pt.ViewModel({label:t[n(194)],class:t[n(209)],withText:!0,role:n(232),_action:t[n(220)]})};i[n(233)][n(222)](n(224)).to(e,n(236),i=>n(239)!=typeof t[n(224)]||!i||t[n(224)](e)),o[n(215)](i)}return o}(e,i);return e[s(222)](s(236)).to(o,s(207)),o[s(198)][s(217)]({label:Q(r,s(216)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(231)]({attributes:{class:[s(210),n.if(s(236),s(226))]},on:{click:n.to(t=>t[s(212)]())}}),o.on(s(219),t=>{const i=s;e[i(227)]&&i(239)==typeof t[i(230)][i(214)]&&t[i(230)][i(214)](e)}),(0,pt.addListToDropdown)(o,a,{role:s(234)}),o[s(235)](e,s(238),(t,n,r)=>{const a=s;if(r)for(const t of o[a(196)][a(241)]){const s=t[a(229)][a(225)],n=i[a(202)](t=>t[a(220)]===s[a(214)])[a(199)];t[a(199)]=void 0===n||n(e)}}),o}(this,s):"",this[r(186)]&&this[r(186)][r(159)](r(155)).to(this),this[r(176)]({tag:r(128),attributes:{class:["ck",r(124),r(171),o.if(r(132),r(147))]},children:[{tag:r(128),attributes:{class:["ck",r(124),r(164),o.if(r(155),r(129),t=>!t),o.if(r(160),r(151)),o.if(r(179),r(152)),o.if(r(137),r(149))]},children:[this[r(125)],{tag:r(139),attributes:{class:["ck",r(134)]},children:[{text:o.to(r(180))}]},{tag:r(128),attributes:{class:["ck",r(177)]},children:[{tag:"ul",attributes:{class:["ck",r(154)]},children:a}]},this[r(186)]],on:{click:o.to(t=>{const e=r;t[e(140)][e(143)](e(146))||this[e(157)]&&this[e(155)]&&this[e(173)](e(163),{id:this.id})})}}]})}[ze(183)](){const t=ze;super[t(183)]();const e=this[t(125)][t(169)][t(156)];this[t(166)](e,t(133),()=>{const i=t;this[i(126)]&&!e[i(131)]||this[i(173)](i(145),{id:this.id,name:e[i(131)]}),e[i(131)]||(e[i(131)]=this[i(144)]?this[i(144)]:this[i(180)])})}[ze(163)](){this[ze(160)]=!0}[ze(161)](){this[ze(160)]=!1}[ze(150)](){this[ze(179)]=!0}[ze(170)](){this[ze(179)]=!1}}class Ze extends Error{}class $e extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const 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 Di={};let Ei={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.NumberFormat(t,e),Di[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return 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 zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Mi={},Di={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=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 ji(this,t,Xs,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return ji(this,t,sn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return ji(this,void 0,()=>nn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return ji(this,t,cn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let 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 $i extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function qi(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?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 $i(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return qi(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function 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 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 Ds(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function 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 $s(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=$s(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ms(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=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:Es(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(Ds(i)),months:d(Ds(s)),weeks:d(Ds(n)),days:d(Ds(r)),hours:d(Ds(o)),minutes:d(Ds(a)),seconds:d(Ds(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Vs(e)):Vs(e),month:Gs.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 En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Dn(e,n,s,i,r,o,a);let f;return f=c?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$/,jn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=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),$n=mn(function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]},Tn,xn,Nn),qn=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),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 Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:qs(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Mn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map(e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=$s(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...qs(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>lr.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of rr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return qi(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex(t=>br(i)===br(t))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>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=Es(t.u));const s=Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const Ar="Invalid DateTime",Mr=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Dr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function jr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function 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},$r={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=qi(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]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null: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=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=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=qi(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:qi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:qi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e),n=qs(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=$r,g=ps(g,r,o)):u?(p=Jr,v=qr,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,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,$n],[Un,qn],[Hn,Bn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,$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,Ui.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map(t=>t.val).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Dr(this).weekYear:NaN}get weekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get weekday(){return this.isValid?Dr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Lr(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=qs(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(){const t=["83996OQFxpt","weekdayLong","local","1802130wakYEj","9HlUFPF","minus","16702ocwyWI","hasSame","fromJSDate","day","week","toJSDate","513992tHqzln","500jQRdRb","207099cxXUgo","252WAuSdD","month","250bFUoLi","1182XvGtTf","291WfMKlj","monthLong","setLocale","year","28760MwBGcT","startOf","toRelativeCalendar"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=338]})(t,e)}function oo(t,e){const i=ro,s=io[i(351)](t)[i(338)](e),n=io[i(345)](),r=n[i(348)]({days:1})[i(341)](i(352));let o,a;return s[i(350)](n,i(352))?(o=s[i(341)](i(352))[i(354)](),a=s[i(342)]()):s[i(350)](r,i(352))?(o=r[i(354)](),a=s[i(342)]()):s[i(350)](n,i(353))?(o=s[i(341)](i(353))[i(354)](),a=s[i(344)]||""):s[i(350)](n,i(339))?(o=s[i(341)](i(359))[i(354)](),a=s[i(363)]||""):(o=s[i(341)](i(339))[i(354)](),a=String(s[i(339)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(257785===parseInt(e(357))/1+-parseInt(e(356))/2*(-parseInt(e(362))/3)+-parseInt(e(340))/4*(parseInt(e(360))/5)+-parseInt(e(361))/6*(-parseInt(e(349))/7)+parseInt(e(355))/8*(-parseInt(e(347))/9)+-parseInt(e(346))/10+parseInt(e(343))/11*(parseInt(e(358))/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-=105]})(t,e)}function ho(){const t=["removeRevision","add","locale","1135035CZqwpW","uiLanguage","3152450LixzCq","ck-revision-history-sidebar__time-period__label","190SJvjjr","setName","ck-revision-history-sidebar__time-period","div","_revisionActions","startDate","867465jkXehs","7BZBTSR","revisionViews","delegate","find","setTemplate","_requireRevisionName","1252961ScUMLz","3677850OpLSMO","span","8092824KbgGZj","createCollection","localizedPeriodName","addRevision","ck-revision-history-sidebar__time-period__revisions","2PkfmxR","select","remove","1195696KCHpHa"];return(ho=function(){return t})()}!function(t){const e=lo,i=t();for(;;)try{if(901593===parseInt(e(109))/1*(-parseInt(e(117))/2)+parseInt(e(134))/3+-parseInt(e(120))/4+-parseInt(e(126))/5+-parseInt(e(110))/6+-parseInt(e(135))/7*(-parseInt(e(112))/8)+parseInt(e(124))/9*(parseInt(e(128))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[uo(133)];[uo(136)];[uo(132)];[uo(108)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(123)][n(125)])[n(114)];this[n(133)]=e,this[n(136)]=this[n(113)](),this[n(132)]=i,this[n(108)]=s,this[n(136)][n(105)](n(118)).to(this),this[n(136)][n(105)](n(129)).to(this),this[n(107)]({tag:n(131),attributes:{class:["ck",n(130)]},children:[{tag:n(111),attributes:{class:["ck",n(127)]},children:[{text:r}]},{tag:n(131),attributes:{class:["ck",n(116)]},children:this[n(136)]}]})}[uo(115)](t){const e=uo,i=new He(this[e(123)],t,this[e(132)],this[e(108)]);this[e(136)][e(122)](i)}[uo(121)](t){const e=uo,i=this[e(136)][e(106)](e=>e.id===t.id);this[e(136)][e(119)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["305FmPawS","Revision history","ck-revision-history-sidebar__header","251247YkkrRf","79958TudsdP","ck-revision-history-sidebar__header__label","8HHZelQ","setTemplate","span","9471lxNAsW","1822584NTMBnu","content","2631210ldhjet","9cvIBEi","ck-reset_all","3mZHNfR","div","18990MSRBcm","11580vnqITC","1768662vYXWAN"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=206]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(132997===-parseInt(e(213))/1*(parseInt(e(222))/2)+parseInt(e(221))/3*(-parseInt(e(224))/4)+parseInt(e(218))/5*(-parseInt(e(215))/6)+-parseInt(e(217))/7+parseInt(e(208))/8*(-parseInt(e(211))/9)+parseInt(e(210))/10+-parseInt(e(207))/11*(-parseInt(e(216))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(209)]=mt.IconHistory,this[e(225)]({tag:e(214),attributes:{class:["ck",e(212),e(220)]},children:[i,{tag:e(206),attributes:{class:["ck",e(223)]},children:[Q(t,e(219))]}]})}}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=["highlightRevisions","_requireRevisionName","uiLanguage","remove","680OhCkVM","ck-reset","some","_getTimePeriodViewByStartDate","480YoVDRQ","render","flat","revisionSetName","5533EkRFmy","fire","_addRevision","bindTemplate","map","startDate","set","_revisionActions","_removeRevision","unhighlight","highlight","div","revisionViews","1429242buWFuE","ck-disabled","createCollection","ck-revision-history-sidebar__timeline","ck-revision-history-sidebar","5693740pgWbaS","isEnabled","addRevision","delegate","selectRevision","5931cxHUCw","_revisions","setTemplate","find","timePeriodViews","get","ck-rounded-corners","select","35697CqEPBK","1ANtOLy","add","setName","116851ylxZee","11650GIHZhG","locale","revisionSelected","createdAt","2917114OHSrdv","removeRevision","596eQvxfu","getTime","deselect"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=429]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(991825===parseInt(e(475))/1*(parseInt(e(483))/2)+parseInt(e(474))/3*(-parseInt(e(485))/4)+-parseInt(e(461))/5+parseInt(e(456))/6+parseInt(e(478))/7*(parseInt(e(435))/8)+parseInt(e(466))/9*(parseInt(e(479))/10)+parseInt(e(443))/11*(parseInt(e(439))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(470)];[wo(467)];[wo(450)];[wo(432)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(446)];this[n(470)]=this[n(458)](),this[n(470)][n(464)](n(473)).to(this),this[n(470)][n(464)](n(477)).to(this),this[n(467)]=e,this[n(450)]=i,this[n(432)]=s,this.on(n(473),(t,e)=>{const i=n;this[i(444)](i(481),e)}),this.on(n(477),(t,e)=>{const i=n;this[i(444)](i(442),e)}),this[n(449)](n(462),!1),this[n(468)]({tag:n(454),attributes:{class:["ck",n(436),n(472),n(460)]},children:[new yo(t),{tag:n(454),attributes:{class:["ck",n(459),r.if(n(462),n(457),t=>!t)]},children:this[n(470)]}]})}[wo(440)](){const t=wo;super[t(440)]();for(const e of this[t(467)])this[t(445)](e);this[t(467)].on(t(476),(e,i)=>{this[t(445)](i)}),this[t(467)].on(t(434),(e,i)=>{this[t(451)](i)})}get[wo(455)](){const t=wo;return this[t(470)][t(447)](e=>e[t(455)][t(447)](t=>t))[t(441)]()}[wo(465)](t){const e=wo;for(const i of this[e(455)])t&&t.id===i.id?i[e(473)]():i[e(430)]()}[wo(431)](t){const e=wo;for(const i of this[e(455)])t[e(437)](({id:t})=>t===i.id)?i[e(453)]():i[e(452)]()}[wo(445)](t){const e=wo,i=oo(t[e(482)],this[e(480)][e(433)])[e(448)];let s=this[e(470)][e(471)](0);s&&s[e(448)][e(429)]()===i[e(429)]()||(s=new fo(this[e(480)],i,this[e(450)],this[e(432)]),this[e(470)][e(476)](s)),s[e(463)](t)}[wo(451)](t){const e=wo,i=oo(t[e(482)],this[e(480)][e(433)])[e(448)];this[e(438)](i)[e(484)](t)}[wo(438)](t){const e=wo;return this[e(470)][e(469)](i=>i[e(448)][e(429)]()===t[e(429)]())}}function Oo(t,e){const i=xo();return(Oo=function(t,e){return i[t-=371]})(t,e)}const To=Oo;function xo(){const t=["name","requires","revisionHistory","data","_handleRevisionSelected","setName","select","5uBPXKY","highlightRevisions","config","string","repository","12889217hyIjZM","_revisions","98VsxMTN","restoreRevisionCallback","5794876NTgtbP","_handleDiffChange","change:diff","revisionViews","bind","render","appendChild","Name this revision","isSelected","compare","revisionHistory.viewerSidebarContainer","revisionHistory.revisionActions","isPremiumPlugin","getRevision","RevisionsSidebar","fieldView","Compare against selected","action","selectRevision","diff","_revisionsRepository","_handleRevisionSetName","_handleEditorDataReady","isReady","revisionHistory.requireRevisionName","locale","timePeriodViews","focus","plugins","isOfficialPlugin","availableRevisionActions","8546JIYRgO","editor","add","remove","2117823KitaEJ","nameRevision","destroy","10wGSalK","_revisionViewer","69294FRujhT","revisionSelected","defaultRevisionActions","length","ready","getLaterVisibleRevision","revisionSetName","96KbSGre","3771976GSpKXs","restoreRevision","element","getRevisionsInDiff","assign","newRevisionId","_createRevisionActions","getIndex","listenTo","init","map","isEnabled","7189353oULUdo","compareAgainstSelected","370rxCChz","8GNNFmS","Restore this revision","isVisible","pluginName","_sidebarView","get","getEarlierVisibleRevision"];return(xo=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(879838===-parseInt(e(400))/1*(-parseInt(e(455))/2)+parseInt(e(373))/3+parseInt(e(424))/4*(parseInt(e(415))/5)+parseInt(e(378))/6*(-parseInt(e(422))/7)+parseInt(e(401))/8*(parseInt(e(398))/9)+-parseInt(e(376))/10*(parseInt(e(420))/11)+parseInt(e(385))/12*(-parseInt(e(386))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[To(377)];[To(444)];[To(405)];static[To(380)]=[To(399),To(387),To(374)];static[To(454)]=function(){const t=To;return{compareAgainstSelected:{name:t(440),action:({plugins:e},i)=>{const s=t,n=e[s(406)](te),r=n[s(419)];let o=n[s(443)][s(391)],a=i.id;r[s(393)](o)>r[s(393)](a)&&([o,a]=[a,o]),n[s(433)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(406)](te);return!(n[s(419)][s(389)](n[s(443)])[s(381)]>2||i[s(432)])}},restoreRevision:{name:t(402),action:(e,{id:i})=>{const s=t;e[s(417)][s(406)](s(410))[s(423)](i)},isVisible:({plugins:e},i)=>!!e[t(406)](te)[t(419)][t(383)](i.id)},nameRevision:{name:t(431),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(406)](te),o=r[n(419)][n(407)](i);r[n(433)](i,o),s[n(451)](),s[n(439)][n(414)]()}}}}();static get[To(404)](){return To(438)}static get[To(453)](){return!0}static get[To(436)](){return!0}static get[To(409)](){return[te]}constructor(t){const e=To;super(t),this[e(377)]=t[e(452)][e(406)](te),this[e(444)]=this[e(377)][e(419)],this[e(405)]=null}[To(395)](){const t=To,e=this[t(444)][t(421)],i=this[t(392)](),s=this[t(456)][t(417)][t(406)](t(434));this[t(405)]=new So(this[t(456)][t(449)],e,i,this[t(456)][t(417)][t(406)](t(448))),this[t(405)].on(t(379),this[t(412)][t(428)](this)),this[t(405)].on(t(384),this[t(445)][t(428)](this)),this[t(405)][t(428)](t(397)).to(this[t(377)]),this[t(405)][t(450)].on(t(371),(e,i)=>{const s=t;i[s(427)].on(s(371),(t,e)=>{const i=s;e[i(428)](i(397),i(447)).to(this[i(377)])})}),this[t(405)][t(429)](),this[t(394)](this[t(456)][t(411)],t(382),this[t(446)][t(428)](this)),this[t(394)](this[t(377)],t(426),this[t(425)][t(428)](this)),s[t(430)](this[t(405)][t(388)])}[To(375)](){const t=To;this[t(405)][t(388)][t(372)](),this[t(405)][t(375)]()}[To(446)](){const t=To,e=this[t(444)][t(437)](0);if(e){const i=this[t(444)][t(407)](e.id);this[t(377)][t(433)](e,i)}}[To(412)](t,e){const i=To,s=this[i(444)][i(437)](e.id),n=this[i(444)][i(407)](s.id);this[i(377)][i(433)](s,n)}[To(445)](t,e){const i=To;this[i(444)][i(437)](e.id)[i(413)](e[i(408)])}[To(425)](t,e,i){const s=To,n=this[s(444)][s(389)](i);n[s(381)]>2?(this[s(405)][s(416)](n),this[s(405)][s(442)](null)):(this[s(405)][s(416)]([]),this[s(405)][s(442)](n[0]))}[To(392)](){const t=To,e=this[t(456)],i=No[t(454)],s=e[t(417)][t(406)](t(435))||No[t(380)];if(s[t(381)])return s[t(396)](s=>{const n=t,r=n(418)==typeof s?Object[n(390)]({},i[s]):s;return r[n(441)]=r[n(441)][n(428)](this,e),r[n(403)]&&(r[n(403)]=r[n(403)][n(428)](this,e)),r})}}const Ro=No,Ao=Vo;function Mo(){const t=["4017348VtkbBX","name","rootName","5637120uGEpGo","_initToolbar","stickyPanel","fire","_toolbarConfig","editing","addToolbar","8qayOXT","8OlUGId","config","bind","detachDomRoot","135279sUPimB","init","11OJMyXp","setEditableElement","editable","fillFromConfig","focusTracker","restore","editor","view","2703530jTNdAs","217NbJLkK","viewportOffset","element","get","viewportTopOffset","attachDomRoot","ready","_elementReplacer","render","limiterElement","_view","componentFactory","toolbar","document","21136716KarAon","16oadXwr","replace","destroy","isActive","60846PMQSKX","getRoot","50411rSdebG","isFocused"];return(Mo=function(){return t})()}function Vo(t,e){const i=Mo();return(Vo=function(t,e){return i[t-=121]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(465826===-parseInt(e(127))/1*(parseInt(e(140))/2)+-parseInt(e(144))/3*(-parseInt(e(139))/4)+-parseInt(e(154))/5+-parseInt(e(125))/6*(parseInt(e(155))/7)+-parseInt(e(121))/8*(parseInt(e(129))/9)+parseInt(e(132))/10+-parseInt(e(146))/11*(-parseInt(e(169))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Do extends pt.EditorUI{[Ao(165)];[Ao(136)];[Ao(162)];get[Ao(153)](){return this[Ao(165)]}constructor(e,i){const s=Ao;super(e),this[s(165)]=i,this[s(136)]=(0,pt.normalizeToolbarConfig)(e[s(141)][s(158)](s(167))),this[s(162)]=new t.ElementReplacer}get[Ao(157)](){const t=Ao;return this[t(153)][t(157)]}[Ao(145)](t){const e=Ao,i=this[e(152)],s=this[e(153)],n=i[e(137)][e(153)],r=s[e(148)],o=n[e(168)][e(126)]();r[e(130)]=o[e(131)],s[e(163)]();const a=r[e(157)];this[e(147)](r[e(130)],a),s[e(148)][e(142)](e(128)).to(this[e(150)]),n[e(160)](a),this[e(162)][e(122)](t,this[e(157)]),this[e(133)](),this[e(135)](e(161))}[Ao(123)](){const t=Ao;super[t(123)]();const e=this[t(153)],i=this[t(152)][t(137)][t(153)];this[t(162)][t(151)](),i[t(143)](e[t(148)][t(130)]),e[t(123)]()}[Ao(133)](){const t=Ao,e=this[t(153)];e[t(134)][t(142)](t(124)).to(this[t(150)],t(128)),e[t(134)][t(164)]=e[t(157)],e[t(134)][t(142)](t(159)).to(this,t(156),({top:t})=>t),e[t(167)][t(149)](this[t(136)],this[t(166)]),this[t(138)](e[t(167)])}}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;function Fo(t,e){var i=Po();return(Fo=function(t,e){return i[t-=397]})(t,e)}var jo=Fo;!function(t){for(var e=Fo,i=t();;)try{if(513461===-parseInt(e(397))/1+-parseInt(e(403))/2*(-parseInt(e(410))/3)+parseInt(e(401))/4+-parseInt(e(415))/5+-parseInt(e(412))/6*(-parseInt(e(407))/7)+-parseInt(e(398))/8+parseInt(e(406))/9*(parseInt(e(409))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Lo extends pt.BoxedEditorUIView{[jo(413)];[jo(400)];[jo(404)];get[jo(416)](){return this[jo(413)]}constructor(t,e,i={}){var s=jo;super(t),this[s(400)]=new pt.StickyPanelView(t),this[s(404)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(411)]}),this[s(413)]=new pt.InlineEditableUIView(t,e)}[jo(405)](){var t=jo;super[t(405)](),this[t(400)][t(408)][t(399)](this[t(404)]),this[t(414)][t(399)](this[t(400)]),this[t(402)][t(399)](this[t(416)])}}function Po(){var t=["_editable","top","3213760TcdUbh","editable","333112BZLLTk","2166688EJWDlQ","add","stickyPanel","1148524FBDvcW","main","674AxYSVi","toolbar","render","9MpFmvO","70NCOaZh","content","8659610AvHrKQ","4551inzUoz","shouldToolbarGroupWhenFull","57504bSiMyT"];return(Po=function(){return t})()}const zo=Wo;function Wo(t,e){const i=Uo();return(Wo=function(t,e){return i[t-=428]})(t,e)}function Uo(){const t=["1704120KxavIi","348628tPlSeW","createRoot","view","1808367gZFgbF","sourceElement","model","initPlugins","13131hCbfFt","fire","init","get","config","ready","155XoYiSE","84972JXPIQw","4JMfIRz","editing","data","10661040jLqqmd","create","_ui","updateSourceElement","document","252866slbIcG","184biZRGC","initialData","8270BkYOcJ","1aaJgnU","locale","destroy"];return(Uo=function(){return t})()}!function(t){const e=Wo,i=t();for(;;)try{if(635065===parseInt(e(440))/1*(parseInt(e(436))/2)+parseInt(e(447))/3*(-parseInt(e(428))/4)+parseInt(e(457))/5*(parseInt(e(458))/6)+-parseInt(e(444))/7*(-parseInt(e(437))/8)+-parseInt(e(451))/9*(parseInt(e(439))/10)+-parseInt(e(443))/11+parseInt(e(431))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[zo(433)];get ui(){return this[zo(433)]}constructor(t,e){const i=zo;super(e),this[i(448)]=t,this[i(449)][i(435)][i(445)]();const s=new Lo(this[i(441)],this[i(429)][i(446)],{shouldToolbarGroupWhenFull:!0});this[i(433)]=new Do(this,s)}[zo(442)](){const t=zo;return this[t(434)](),this.ui[t(442)](),super[t(442)]()}static async[zo(432)](t,e){const i=zo,s=new this(t,e);return await s[i(450)](),await s.ui[i(453)](t),await s[i(430)][i(453)](s[i(455)][i(454)](i(438))||""),s[i(452)](i(456)),s}}const Zo=qo;function $o(){const t=["RevisionsRepository","toLocaleTimeString","from","isOpen","4jLRNRm","catch","_update","lazyRoots","getRevisionDocumentData","Restored","save","isOfficialPlugin","revisionHistory.viewerEditorElement","refreshVisibility","revisionHistory","parse","RevisionHistoryUtils","markers","push","_enhanceShowRevisionViewerCallback","includes","destroy","isAnonymous","isPremiumPlugin","style","14215267eTVJHb","selection","hide","commands","revisionHistory.closeRevisionViewerCallback","saveRevision","Dialog","define","repository","Annotations","display","toJSON","addRevisionData","translations","bind","pluginName","get","RevisionTracker","fromCharCode","detachRoot","closeRevisionViewerCallback","uiLanguage","insert","isReadOnly","_enhanceCloseRevisionViewerCallback","model","rootName","isReady","revisionHistory.requireRevisionName","_viewerEditor","Users","plugins","map","long","7284392OFgopM","addUser","RevisionViewerIntegration","join","RevisionViewer","refreshPositioning","requires","removeAttribute","_getRevisionViewerEditorConfig","view","isEnabled","toLocaleDateString","10DsWhzt","indexOf","keys","getRoot","getMarkersGroup","then","name","loadRevisionData","_showRevisionViewer","53296RhMWgX","_recalculatePageBreaks","fromVersion","config","_restoreRevision","getRevisions","7UgTkZE","addRoot","Autosave","change","RevisionHistory","64585VWGxBO","adapter","has","createdAt","enqueueChange","setAttribute","disableReadOnlyMode","revision-history-viewer-opened","toVersion","restrictedEditingException","users","951836AGKMOe","DocumentOutlineUI","set","$graveyard","editor","end","revisionHistory.viewerContainer","revisionHistory.editorContainer","showRevisionViewerCallback","getAttributeKeys","document","init","create","_closeRevisionViewer","data","roots","error","restoreRevision","getUser","creator","exitToEditing","9gcBMVF","8849952OwYOuQ","update","20570088YNXEKG","isAttached","revisionHistory.showRevisionViewerCallback","getRevisionRootsAttributes","getRevision","createRangeIn","removeMarker","none","changesNavigation","block","remove","revisionHistory.restoreRevisionCallback","setSelection","locale","PaginationLookup","_cleanUp","DocumentOutline","toolbar","isRevisionViewerOpen","element","606vkrTdi","removeSelectionAttribute","numeric","enableReadOnlyMode","revision-history-missing-configuration","RevisionHistoryUI","result","RestrictedEditingMode"];return($o=function(){return t})()}function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=267]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(774668===-parseInt(e(348))/1*(parseInt(e(270))/2)+parseInt(e(313))/3*(parseInt(e(292))/4)+parseInt(e(281))/5*(-parseInt(e(336))/6)+parseInt(e(276))/7*(parseInt(e(403))/8)+parseInt(e(314))/9+parseInt(e(415))/10*(parseInt(e(369))/11)+-parseInt(e(316))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Zo(341),Zo(343)];class Yo extends U.Plugin{[Zo(342)];static get[Zo(384)](){return Zo(405)}static get[Zo(355)](){return!0}static get[Zo(367)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(401)](t=>String[e(387)](t))[e(406)]("")}super(t),this[e(342)]=e(297),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends U.Plugin{[Zo(398)];static get[Zo(384)](){return Zo(280)}static get[Zo(355)](){return!0}static get[Zo(367)](){return!0}static get[Zo(409)](){return[at,jt]}constructor(e){const i=Zo;if(super(e),!this[i(296)][i(273)][i(385)](i(358)))throw new t.CKEditorError(i(340),this);this[i(398)]=null,this[i(294)](i(334),!1),this[i(296)][i(273)][i(376)](i(318),t=>this[i(269)]({...t,translations:this[i(296)][i(329)][i(382)]})),this[i(296)][i(273)][i(376)](i(373),t=>this[i(305)](t)),this[i(296)][i(273)][i(376)](i(327),t=>this[i(274)](t)),this[i(296)][i(273)][i(376)](i(397),!1),this[i(363)](),this[i(393)]()}set[Zo(282)](t){const e=Zo;this[e(296)][e(400)][e(385)](e(386))[e(282)]=t}get[Zo(282)](){const t=Zo;return this[t(296)][t(400)][t(385)](t(386))[t(282)]}[Zo(381)](t){const e=Zo;return this[e(296)][e(400)][e(385)](e(386))[e(381)](t)}[Zo(320)](t){const e=Zo;return this[e(296)][e(400)][e(385)](e(344))[e(320)](t)}[Zo(275)](t){const e=Zo;return this[e(296)][e(400)][e(385)](e(344))[e(275)](t||{toJSON:!1})}[Zo(411)](){const e=Zo,i=this[e(296)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(400)][e(385)](e(386)),r=i[e(400)][e(385)](e(399))[e(291)];return s[e(333)]=[e(312),e(309),e(324)],delete s[e(351)],s[e(400)][e(362)](Yo,te,ke,class extends U.Plugin{static get[e(409)](){return[te,e(399)]}[e(303)](){const s=e,o=this[s(296)][s(400)][s(385)](s(399));for(const t of r)t[s(366)]||o[s(310)](t.id)||o[s(404)](t);const a=n[s(377)][s(275)]();let c=null;const u=this[s(296)][s(400)][s(385)](s(407));u[s(282)]=n[s(282)],u[s(383)](s(413)).to(n),this[s(296)][s(372)][s(385)](s(309))[s(383)](s(413)).to(i,s(392),t=>!t);for(const e of a){const i=null===e[s(311)];if(i&&e[s(289)]===e[s(272)])continue;const r=e[s(380)]();u[s(381)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(350)](r,o);else if(!o){const e=a[u(380)]();e.id=(0,t.uid)(),n[u(374)](e,a[u(289)])[u(420)](t=>{c=t})}}else e[u(350)](r,o)})}}},Ro),s}[Zo(363)](){const t=Zo,e=this[t(296)][t(273)][t(385)](t(358))[t(300)];this[t(296)][t(273)][t(294)](t(318),async()=>{const i=t;this[i(296)][i(339)](i(288));const s=this[i(296)][i(400)][i(385)](i(386));if(this[i(296)][i(400)][i(283)](i(278))){const t=this[i(296)][i(400)][i(385)](i(278));await t[i(354)]()}else await s[i(315)]();if(this[i(296)][i(400)][i(283)](i(330))&&this[i(296)][i(400)][i(385)](i(330))[i(271)](),this[i(296)][i(400)][i(283)](i(375))){const t=this[i(296)][i(400)][i(385)](i(375));t[i(347)]&&t[i(371)]()}const n=this[i(411)]();return e(n)[i(420)](t=>{const e=i;return this[e(398)]=t,this[e(296)][e(400)][e(283)](e(378))&&this[e(296)][e(400)][e(385)](e(378))[e(357)](),this[e(296)][e(400)][e(283)](e(332))&&(this[e(296)][e(400)][e(385)](e(293))[e(412)][e(335)][e(368)][e(379)]=e(323)),t})[i(349)](t=>(console[i(308)](t),this[i(296)][i(287)](i(288)),null))})}[Zo(393)](){const t=Zo,e=this[t(296)][t(273)][t(385)](t(358))[t(389)];this[t(296)][t(273)][t(294)](t(373),()=>(this[t(296)][t(400)][t(283)](t(330))&&this[t(296)][t(400)][t(385)](t(330))[t(271)](),this[t(296)][t(400)][t(283)](t(332))&&(this[t(296)][t(400)][t(385)](t(293))[t(412)][t(335)][t(368)][t(379)]=""),this[t(398)][t(400)][t(385)](t(407))[t(331)](),e(this[t(398)])[t(420)](()=>{const e=t;if(this[e(296)][e(287)](e(288)),this[e(398)]=null,this[e(296)][e(400)][e(283)](e(378))){const t=this[e(296)][e(400)][e(385)](e(378));t[e(357)](),t[e(408)]()}})))}[Zo(269)](t){const e=Zo,i=this[e(296)][e(273)][e(385)](e(299)),s=this[e(296)][e(273)][e(385)](e(298)),n=this[e(296)][e(273)][e(385)](e(356));return Ho[e(304)](n,t)[e(420)](t=>(s[e(368)][e(379)]=e(325),i[e(368)][e(379)]=e(323),this[e(334)]=!0,t))}[Zo(305)](t){const e=Zo,i=this[e(296)][e(273)][e(385)](e(299));return this[e(296)][e(273)][e(385)](e(298))[e(368)][e(379)]=e(323),i[e(368)][e(379)]="",this[e(334)]=!1,t[e(365)]()}async[Zo(274)](t){const e=Zo,i=this[e(296)],s=this[e(398)][e(400)][e(385)](e(407)),n=i[e(400)][e(385)](e(386)),r=i[e(400)][e(385)](e(360)),o=s[e(377)][e(320)](t);let a,c,u;try{await r[e(268)](o,this[e(282)]),a=r[e(352)](o),c=r[e(319)](o)}catch(t){return void console[e(308)](t)}i[e(394)][e(279)](t=>{const s=e;for(const e of Array[s(346)](i[s(394)][s(361)][s(419)](s(290))))t[s(322)](e)}),s[e(396)]=!1,i[e(394)][e(285)](t=>{const s=e;t[s(328)](null),t[s(337)](i[s(394)][s(302)][s(370)][s(301)]());const n=Object[s(417)](a);for(const e of i[s(394)][s(302)][s(307)])s(295)!=e[s(395)]&&e[s(317)]()&&!n[s(364)](e[s(395)])&&t[s(388)](e);for(const e of n){let n=i[s(394)][s(302)][s(418)](e);n&&n[s(317)]()||(n=t[s(277)](e));const r=c[e],o=Object[s(417)](r),u=a[e];for(const e of n[s(301)]())o[s(364)](e)||t[s(410)](e,n);for(const i of o)t[s(286)](i,c[e][i],n);t[s(326)](t[s(321)](n)),t[s(391)](i[s(306)][s(359)](u,n),n,0)}});const l=Q(i[e(329)],e(353));return u=o[e(267)]?-1==o[e(267)][e(416)](l)?l+": "+o[e(267)]:o[e(267)]:l+": "+o[e(284)][e(414)](i[e(329)][e(390)],{month:e(402),day:e(338)})+", "+o[e(284)][e(345)](i[e(329)][e(390)],{hour:e(338),minute:e(338)}),await n[e(374)]({name:u}),s[e(396)]=!0,i[e(273)][e(385)](e(358))[e(389)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=268]})(t,e)}function Ko(){var t=["369tLAwXe","17720QNbLEJ","51890aFNwMj","64900CeVTDM","371YLvcwS","5835819pVutZt","182595jVYHrM","451976xQrPLh","40amHGcY","175026lnYBRr","8SdzXAj"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(142199===parseInt(e(273))/1+-parseInt(e(269))/2*(parseInt(e(276))/3)+-parseInt(e(277))/4+parseInt(e(278))/5*(parseInt(e(268))/6)+-parseInt(e(274))/7*(parseInt(e(271))/8)+-parseInt(e(270))/9*(parseInt(e(272))/10)+parseInt(e(275))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>K,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>ke,RevisionsRepository:()=>Y,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,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 E=/^(?: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 E.test(t)}}function M(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,M(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=U();return(P=function(t,e){return i[t-=401]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(851828===parseInt(e(408))/1+parseInt(e(407))/2*(-parseInt(e(423))/3)+-parseInt(e(418))/4+parseInt(e(430))/5*(parseInt(e(409))/6)+parseInt(e(412))/7*(-parseInt(e(427))/8)+parseInt(e(422))/9+-parseInt(e(402))/10*(-parseInt(e(411))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(U);class z extends((0,t.ObservableMixin)()){id;[L(416)];[L(424)];[L(429)];[L(403)];[L(413)];[L(417)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(416)]=e[i(416)]||null,this[i(424)]=e[i(424)]||[],this[i(429)]=e[i(429)]||null,this[i(403)]=e[i(403)]||0,this[i(413)]=e[i(413)]||0,this[i(415)](i(426),e[i(426)]||""),this[i(415)](i(401),e[i(401)]||new Date),this[i(415)](i(405),e[i(405)]||{})}[L(410)](t){this[L(421)]({name:t})}[L(406)](t,e){const i=L,s=A(this[i(405)]);(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]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(421)]({attributes:s})}[L(419)](t){const e=L,i=A(this[e(405)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(421)]({attributes:i})}[L(421)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(426),i(401),i(429),i(424),i(405),i(403),i(413),i(428)];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(424)]&&(n[i(425)]=n[i(424)][i(414)](t=>t.id),delete n[i(424)]),this[i(404)](i(421),n,e))}[L(420)](){const t=L;return{id:this.id,name:this[t(426)],creatorId:this[t(416)]?this[t(416)].id:null,authorsIds:this[t(424)][t(414)](t=>t.id),diffData:this[t(429)],createdAt:this[t(401)],attributes:this[t(405)],fromVersion:this[t(413)],toVersion:this[t(403)]}}}function U(){const t=["50Vxdeot","347730LVBAnH","4616430JvCdtH","setName","103642ZabwUB","7weDcny","fromVersion","map","set","creator","model","794492ihWHqs","removeAttribute","toJSON","_update","7323867HAKxTT","43143rMyigk","authors","authorsIds","name","5524144iUsENF","creatorId","diffData","5oEKmSk","createdAt","180fJIRko","toVersion","fire","attributes","setAttribute"];return(U=function(){return t})()}var W=i(782),H=i(211),Z=i(783);const q=B;function $(){const t=["25816UKGEqa","editor","oldRevisionId","name","360HIjAIU","earlier","getEarlierVisibleRevision","createRevision","getIndex","9801Sntjrd","add","484hqxuht","RevisionsRepository","diffData","fromVersion","getRevision","later","getLaterVisibleRevision","getUser","803452mqYxnE","afterInit","104qcBwzX","get","join","data","_revisions","11hpfdlH","6QGLtCM","addRevision","isNaN","plugins","map","getRevisionsIterator","pluginName","toVersion","328392IbwlYv","length","getRevisions","creatorId","getRevisionsInDiff","isOfficialPlugin","from","attributes","toJSON","Users","2095908QDmKQG","newRevisionId","isPremiumPlugin","requires","6107380MFeABG","16qmxzMD","5730599YlRSKm","createdAt","authorsIds","push","href","fromCharCode","reverse"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=347]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(518379===parseInt(e(371))/1+parseInt(e(363))/2*(-parseInt(e(361))/3)+-parseInt(e(352))/4*(-parseInt(e(356))/5)+parseInt(e(379))/6*(-parseInt(e(403))/7)+parseInt(e(402))/8*(parseInt(e(387))/9)+-parseInt(e(401))/10*(parseInt(e(378))/11)+-parseInt(e(397))/12*(-parseInt(e(373))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends W.Plugin{[q(377)];static get[q(400)](){return[H.Users]}static get[q(385)](){return q(364)}static get[q(392)](){return!0}static get[q(399)](){return!0}get[q(388)](){const t=q;return this[t(377)][t(388)]}constructor(e){const i=q;super(e),this[i(377)]=new t.Collection}[q(372)](){!async function(e){const i=k([97,85,122,51,73,119,72,120,115,114,83,118,57,105,67,112,87,101,110,52,98,50,84,108,113,86,68,90,75,117,100,89,109,81,70,56,65,54,99,78,116,71,111,49,55,107,48,66,80,106,121,103,88,69,76,102,79,77,104,82,53,74]),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(381)](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([97]);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(383)](t=>String[e(350)](t))[e(375)]("")}!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{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:1756857600;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(349)]);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([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[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{return k([73,110,118,97,108,105,100])}}())}(this)}[q(359)](t){const e=q,i=this[e(353)][e(382)][e(374)](e(396));return new z({id:t.id,name:t[e(355)],creator:t[e(390)]?i[e(370)](t[e(390)]):null,diffData:t[e(365)]||t[e(376)],authors:t[e(347)][e(383)](t=>i[e(370)](t)),createdAt:new Date(t[e(404)]),attributes:t[e(394)],fromVersion:t[e(366)],toVersion:t[e(386)]})}[q(380)](t,e=0){const i=q;this[i(377)][i(362)](t,e)}[q(367)](t){const e=q;return this[e(377)][e(374)](t)}[q(389)](t={toJSON:!1}){const e=q,i=Array[e(393)](this[e(377)]);return i[e(351)](),t[e(395)]?i[e(383)](t=>t[e(395)]()):i}[q(360)](t){const e=q;return this[e(377)][e(360)](t)}[q(358)](t){const e=q,[,i]=this[e(384)](t,{direction:e(357)});return i}[q(369)](t){const e=q,[,i]=this[e(384)](t,{direction:e(368)});return i}[q(391)](t){const e=q,i=[];for(const s of this[e(384)](t[e(398)]))if(i[e(348)](s),s.id===t[e(354)])break;return i}*[q(384)](t,{direction:e=q(357),filter:i=()=>!0}={}){const s=q,n=s(357)===e?1:-1;let r=this[s(377)][s(374)](t),o=this[s(360)](r);for(yield r;r;){if(o+=n,r=this[s(367)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=X();return(G=function(t,e){return i[t-=409]})(t,e)}!function(t){const e=G,i=t();for(;;)try{if(736514===-parseInt(e(459))/1+parseInt(e(412))/2*(-parseInt(e(450))/3)+parseInt(e(484))/4*(parseInt(e(440))/5)+-parseInt(e(444))/6*(-parseInt(e(472))/7)+-parseInt(e(427))/8*(parseInt(e(483))/9)+-parseInt(e(449))/10*(-parseInt(e(419))/11)+-parseInt(e(416))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class K extends W.Plugin{static get[J(437)](){return J(435)}static get[J(443)](){return!0}static get[J(454)](){return!0}[J(424)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(473)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(415)](t,e){const i=J;if(t[i(452)]||!e)return;const s=this[i(477)][i(453)][i(430)](i(469)),n=await e[i(463)]({channelId:s,revisionId:t.id});t[i(452)]=n[i(452)]}[J(462)](t){const e=J,i={};for(const s in t[e(452)]){if(t[e(452)][s][e(409)]&&!t[e(452)][s][e(409)][e(470)])continue;const n=this[e(478)](JSON[e(441)](t[e(452)][s][e(474)])),r=this[e(477)][e(460)][e(461)][e(480)],o=new Z.ViewDocumentFragment(r,n[e(434)](t=>this[e(466)](t,!1)));this[e(477)][e(431)][e(464)][e(467)](e(439)),i[s]=this[e(477)][e(431)][e(464)][e(458)](o),this[e(477)][e(431)][e(464)][e(467)](e(448))}return i}[J(426)](t){const e=J,i={};for(const s in t[e(452)])t[e(452)][s][e(409)]&&!t[e(452)][s][e(409)][e(470)]||(i[s]=t[e(452)][s][e(417)]||{});return i}[J(447)](t){const e=J;return this[e(424)][e(430)](t[e(429)])}[J(466)](t,e){const i=J,s=this[i(477)][i(460)][i(461)][i(480)];if(i(455)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(476)]||"r"==t[i(476)]?[]:t[i(482)][i(434)](t=>this[i(466)](t,e));const o=this[i(473)][i(430)](t[i(476)])||Z.ViewElement,a=this[i(477)][i(431)][i(410)][i(465)];if(n=new o(s,t[i(457)],t[i(421)],r),"u"==t[i(476)]&&t[i(482)][0]){const r=t[i(482)][0];if(n[i(422)]=function(t){const e=i,s=t[e(442)](e(433));return s[e(418)]=r,s[e(468)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(436)](n);const e=Array[i(446)](a[i(481)](t,{bind:!1})),r=a[i(423)][i(442)](i(433));r[i(451)](...e),n=Array[i(446)](a[i(438)](r))[0]}}else if("r"==t[i(476)]&&t[i(482)][0]){const r=t[i(482)][0];if(n[i(422)]=function(t){t[i(418)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(436)](n);const e=Array[i(446)](a[i(481)](t,{bind:!1})),r=a[i(423)][i(442)](i(433));r[i(451)](...e);const o=Array[i(446)](a[i(438)](r));o[i(428)]>1?n[i(436)](o):n=o[0]}}if(t[i(414)])for(const[e,s]of t[i(414)])n[i(413)](e,s);const c=void 0===t[i(475)]?null:t[i(475)];return null!==c&&(n[i(456)]=()=>c),n}}[J(420)](t){const e=J,i=JSON[e(441)](t),s=this[e(477)][e(460)][e(461)][e(480)],n=new Z.ViewDocumentFragment(s,i[e(434)](t=>this[e(466)](t,!0)));return this[e(477)][e(431)][e(445)](n)}[J(478)](t){const e=J;return(t=t[e(479)](t=>!t[e(457)]||e(432)!==t[e(457)]&&e(485)!==t[e(457)]))[e(411)](t=>{const i=e;i(455)!=typeof t&&(t[i(482)]=this[i(478)](t[i(482)]),t[i(421)]=t[i(421)][i(479)](t=>!t[0][i(471)](i(425))))}),t}}function X(){const t=["7559260hLkAdN","819465SjTxsc","append","diffData","config","isPremiumPlugin","string","getFillerOffset","name","toData","8351vtbAIn","editing","view","getRevisionDocumentData","getRevision","processor","domConverter","_getViewFromDiffObj","useFillerType","childNodes","collaboration.channelId","isAttached","startsWith","7mQkyaj","_typeCharToViewClass","insertions","fillerOffset","type","editor","_removeRevisionMarkers","filter","document","viewChildrenToDom","children","837VUpABq","13164mknqFn","revision-end","attachChange","htmlProcessor","forEach","4Porjsa","_setCustomProperty","customProperties","loadRevisionData","21421944IcEDCi","attributesAfter","innerHTML","11QokMqj","_makeModelFromViewString","attributes","render","domDocument","_viewClassToTypeChar","data-revision-","getRevisionRootsAttributes","5512zvAxFE","length","constructor","get","data","revision-start","div","map","RevisionHistoryUtils","_appendChild","pluginName","domChildrenToView","marked","1585jeQdHk","parse","createElement","isOfficialPlugin","8047446gyZzvr","toModel","from","_getTypeCharForViewElement","default"];return(X=function(){return t})()}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),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)===(E=s)||Number.isNaN(A)&&Number.isNaN(E)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,E;const V=(s=s??new Map).get(t),M=s.get(i);if(null!=V&&null!=M)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=["previousPosition","render","config","split","getRoot","changeRootAttribute","reinsert","document","deletion","_diffRootsAttributes","_bufferedUpdates","revisionHistoryLicenseKeyUsageLimit","filter","createPositionAfter","includes","_update","_authorId","vid","_baseIdsRoots","_fixOperation","domDocument","creatorId","targetPosition","fillerOffset","initialData","_getViewJson","_replaceEditorDataWithRevisionData","toVersion","_revisionDataBuilder","marker","key","4103673WRqXUA","plugins","init","_addPendingAction","createPositionBefore","clear","path","isEnabled","_getPreviousFrom","_handleRootAttributeOperation","PendingActions","licenseKey","_diffRoots","delete","item","nodes","loadState","authorsIds","dataDowncast","model","_clone","repository","attachChange","trialLimit","domConverter","featureNotAllowed","oldRange","RevisionHistory","_setAttribute","adapter","insertion","data","_fixPosition","newValue","createRange","afterInit","diffData","dataToMarker","range","has","max","getRevision","outerHTML","createRangeIn","getRevisions","getOperations","_fixRange","602490ulffmH","createPositionAt","rootName","_startingVersion","_idsRoots","isAttached","usageLimit","_touchedRoots","createElement","remove","nodeAfter","_handleSplitOperation","invalid","createdAt","documentFragment","_revisionId","elementEnd","setRevisionData","$comment","9045104rjhAUJ","_removeMetaData","destroy","rawElement","isPremiumPlugin","collaboration.channelId","_getTypeCharForViewElement","setSource","clone","_savedMetaData","sendBufferedUpdates","_lastTo","attributesAfter","editor","text","revisionHistoryLicenseKeyDomainLimit","3689096igWhqu","_source","howMany","getRevisionRootsAttributes","values","innerHTML","move","parent","getIndex","_markChanges","rootsAttributes","root","_handleMarkerOperation","RevisionTracker","editor-initial-data-replaced-with-revision-data","getMovedRangeStart","_operations","some","_makeIdsRoot","_saveMetaData","attributesBefore","removeRootAttribute","_prepareViewToSave","sort","_getState","revisionHistoryLicenseKeyInvalid","stickiness","_showLicenseError","length","initial","591740GzGnDp","_handleInsertOperation","type","keepParagraph","_appendChild","uiElement","_cloneOperation","push","_getFromVersion","_markers","getRootNames","_utils","baseVersion","_isPendingUpdate","_generateTape","addRevision","authors","size","_loadedStateData","trim","define","graveyardPosition","buildRevisionData","_findInsertionIndex","_getVidAttributeName","resolve","_calculateMetaData","revisionHistoryLicenseKeyNotAllowed","_licenseKeyCheckInterval","paragraph","isEqual","Users","revisionHistoryLicenseKeyEvaluationLimit","_handleOperation","revisionHistoryLicenseKeyValid","markerToData","getCustomProperties","addRoot","getUser","splitPosition","name","_createInitialRevision","1761160SsoDYe","get","end","startsWith","_removePendingAction","creator","reverse","htmlProcessor","createPositionFromPath","finally","_baseRootsAttributes","ready","_makeRevision","insertions","RevisionHistoryUtils","newRange","add","fromEntries","Initial revision","_lastFrom","getOperation","_initialRevisionId","getAttribute","_isInit","createRevision","evaluationLimit","PENDING_ACTION_REVISION_HISTORY","insertionPosition","getCurrentRevisionId","Empty document","loadRevisionData","addRootAttribute","sourcePosition","vid_end","element","revision:","start","upcast","customProperties","affectsData","$text","children","_createFromRanges","detachRoot","_transformMarkers","_isAttached","string","locale","_startingRevisionId","_handleMergeOperation","NEGATIVE_INFINITY","update","shift","_pendingAction","_touched","isOfficialPlugin","_continueCurrentRevision","stringify","source","then","hasContent","getRange","keys","expired","_processRootBeforeSave","getFillerOffset","reInit","_insertChild","_baseRoots","markers","saveRevision","domainLimit","version","elementStart","updateRevisions","_getBaseVids","getWalker","getChild","vid_start","revisionHistory.resumeUnsavedRevision","RealTimeCollaborationClient","_copyMarkers","revisionHistoryLicenseKeyExpired","_applyOperations","getRevisionDocumentData","deletions","revisionHistoryLicenseKeyTrialLimit","for","$graveyard","20wYlVby","_bufferUpdate","getTime","position","_handleRootOperation","pluginName","history","getAncestors","getChildren","isReady","conversion","toView","RevisionsRepository","_touchedMarkers","currentRevision","childCount","215637eZawUl","merge","tableCell","find","getData","getLatestVersion","getTransformedByOperation","requires","roots","_handleMoveOperation","insert","from","_execute","_reset","getNodeByPath","isAdd","offsetSize","offset","bind","fromVersion","_makeModelFromViewString","revision","addRevisionData","_setConversion","_loadState","slice","map","_createCurrentRevision","set","userId","getAttributes"];return(ot=function(){return t})()}function at(t,e){const i=ot();return(at=function(t,e){return i[t-=423]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(979302===parseInt(e(553))/1+-parseInt(e(595))/2+parseInt(e(700))/3+-parseInt(e(523))/4+-parseInt(e(684))/5*(-parseInt(e(488))/6)+parseInt(e(441))/7+parseInt(e(507))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class ct extends W.Plugin{[rt(452)];[rt(581)];[rt(698)]=null;[rt(462)];[rt(470)]=null;[rt(438)];[rt(524)];[rt(616)];[rt(741)];[rt(564)];[rt(648)];[rt(651)];[rt(491)];[rt(571)];static get[rt(689)](){return rt(536)}static get[rt(650)](){return!0}static get[rt(511)](){return!0}static get[rt(707)](){return[H.Users,Y,K,W.PendingActions]}constructor(e){const i=rt;super(e),this[i(462)]=this[i(520)][i(442)][i(596)](i(696)),this[i(564)]=this[i(520)][i(442)][i(596)](i(609)),this[i(438)]=new ut(this[i(520)]),this[i(616)]=this[i(520)][i(733)][i(596)](i(512))||i(552),this[i(741)]=new Map,this[i(571)]=null;const s=(0,t.uid)();this[i(524)]={history:this[i(520)][i(460)][i(738)][i(690)],getLatestVersion:()=>Promise[i(578)](this[i(520)][i(460)][i(738)][i(667)]),getCurrentRevisionId:()=>s},this[i(728)](i(693),!1),this[i(728)](i(448),!0),this[i(728)](i(566),!1),this[i(520)][i(733)][i(573)](i(674),!0),this[i(520)][i(694)][i(682)](i(632))[i(478)]({view:i(721)})}[rt(443)](){const t=rt;this[t(723)](),this[t(520)][t(472)].on(t(606),()=>{const e=t,i=this[e(462)][e(482)](0),s=i&&null===i[e(600)]?i:null;if(this[e(651)]=!!s&&this[e(520)][e(733)][e(596)](e(674)),this[e(520)][e(442)][e(480)](e(675))){const t=this[e(524)][e(623)](),n=this[e(462)][e(482)](t);if(n)this[e(491)]=n[e(719)],this[e(651)]=!1;else{const t=this[e(524)][e(690)][e(539)][e(703)](t=>!t[e(618)]),n=t?t[e(565)]:this[e(524)][e(690)][e(667)];i?(i[e(437)]<n&&i[e(425)]({toVersion:n}),this[e(651)]?(this[e(524)][e(623)]=()=>s.id,this[e(491)]=s[e(719)]):(this[e(491)]=i[e(437)],this[e(651)]=!1)):(this[e(491)]=n,this[e(651)]=!1)}}else s&&(this[e(520)][e(460)][e(738)][e(690)][e(667)]=Math[e(481)](s[e(437)],this[e(520)][e(460)][e(738)][e(690)][e(667)]),s[e(719)]===s[e(437)]?(0!==s[e(719)]&&(this[e(524)][e(623)]=()=>s.id),this[e(651)]=!1):this[e(651)]&&(this[e(524)][e(623)]=()=>s.id,this[e(491)]=s[e(719)])),this[e(651)]||(this[e(491)]=this[e(520)][e(460)][e(738)][e(667)]);this[e(438)][e(443)](this[e(524)][e(690)]),this[e(594)](this[e(491)]),this[e(727)](this[e(491)]),this[e(470)]&&this[e(517)]()}),this[t(718)](t(693)).to(this,t(566),t=>!t),this[t(452)]=this[t(520)][t(733)][t(596)](t(452));const e=this[t(520)];this[t(581)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(587)==r||i(548)==r||i(677)==r||i(522)==r||i(580)==r||i(585)==r||i(681)==r||i(742)==r){delete e[n],s=r,clearInterval(this[i(581)]),this[i(581)]=void 0;break}}i(548)==s&&e[i(550)](i(500)),i(677)==s&&e[i(550)](i(658)),i(522)==s&&e[i(550)](i(666)),i(580)==s&&e[i(550)](i(466),i(468)),i(585)==s&&e[i(550)](i(620)),i(681)==s&&e[i(550)](i(464)),i(742)==s&&e[i(550)](i(494))},1e3)}async[rt(476)](){const t=rt;if(this[t(462)][t(551)]>0){const e=this[t(462)][t(482)](0),i=await this[t(679)](e),s=await this[t(526)](e);this[t(436)](i,s)}}[rt(509)](){const t=rt;super[t(509)](),this[t(581)]&&clearInterval(this[t(581)])}[rt(514)](t){this[rt(524)]=t}async[rt(646)](){const t=rt,e=await this[t(524)][t(705)]();if(e>this[t(698)][t(437)]){await this[t(724)]();const i=this[t(575)]({revision:this[t(698)],to:e});i[t(569)]=i[t(458)][t(726)](e=>this[t(520)][t(442)][t(596)](t(584))[t(591)](e)),this[t(698)][t(425)](i)}}async[rt(665)](e={},i=null){const s=rt,n=[];await this[s(724)](),this[s(651)]=!1,i>this[s(698)][s(437)]&&(i=null),null===i&&(i=await this[s(524)][s(705)]());const r=this[s(561)](i),o=this[s(575)]({from:r,to:i});if(this[s(698)][s(437)]<i){const t=this[s(575)]({revision:this[s(698)],from:i,to:i});t[s(569)]=[],t[s(458)]=[],t.id=this[s(698)].id,this[s(698)][s(425)](t,!0),delete t[s(569)],n[s(560)](t)}e[s(431)]=this[s(520)][s(442)][s(596)](s(584)).me.id,e[s(593)]=e[s(593)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(722)](e);n[s(560)](e);const c=this[s(462)][s(531)](a);if(0!==c){const t=this[s(462)][s(482)](c-1);if(t[s(719)]!==i){const r=this[s(438)][s(704)](i,t[s(437)]),o={id:t.id,diffData:r[s(477)],authorsIds:r[s(458)],authors:r[s(458)][s(726)](t=>this[s(520)][s(442)][s(596)](s(584))[s(591)](t)),fromVersion:i};t===this[s(698)]&&(o[s(501)]=new Date(e[s(501)][s(686)]()+10)),t[s(425)](o,!0),delete o[s(569)],n[s(560)](o)}}if(this[s(470)]){for(const t of n)this[s(685)](t.id,t,!0);this[s(517)]()}return a}[rt(722)](t){const e=rt,i=this[e(462)][e(619)](t);return this[e(470)]&&i.on(e(425),(t,i,s)=>{const n=e;s||(this[n(685)](i.id,i,!0),this[n(517)]())}),this[e(462)][e(568)](i,this[e(576)](i)),i}async[rt(679)](t){const e=rt;return await this[e(564)][e(625)](t,this[e(470)]),this[e(564)][e(679)](t)}async[rt(526)](t){const e=rt;return await this[e(564)][e(625)](t,this[e(470)]),this[e(564)][e(526)](t)}[rt(517)](){const t=rt;if(0===this[t(741)][t(570)])return;if(this[t(566)])return;let e=Array[t(711)](this[t(741)][t(527)]());this[t(741)][t(446)]();for(let i=0;i<e[t(551)];i++){const s=e[i];let n=!1;for(const e of Object[t(657)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(743)](t=>null!==t),!e[t(551)])return;for(let i=0;i<e[t(551)];i++){const s=e[i];void 0!==s[t(719)]&&void 0===s[t(437)]&&(s[t(437)]=this[t(462)][t(482)](s.id)[t(437)]),void 0!==s[t(437)]&&void 0===s[t(719)]&&(s[t(719)]=this[t(462)][t(482)](s.id)[t(719)])}const i=this[t(520)][t(733)][t(596)](t(512));this[t(566)]=!0,this[t(444)](),this[t(470)][t(669)](e,i)[t(604)](()=>{this[t(566)]=!1})[t(654)](e=>{const i=t;if(e)for(const t of e)this[i(505)]({id:t.id,createdAt:t[i(501)]});this[i(599)](),this[i(517)]()})}[rt(575)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(719)],i=null!==i?i:t[s(437)];const n=this[s(438)][s(704)](e,i),r={diffData:n[s(477)],authorsIds:n[s(458)],fromVersion:e,toVersion:i};if(!t||i!==t[s(437)]){const t=i-1,e=this[s(524)][s(690)][s(615)](t);r[s(501)]=e&&e[s(501)]||new Date}if(this[s(571)]&&e===this[s(571)][s(719)])for(const t of this[s(571)][s(569)])r[s(458)][s(424)](t.id)||r[s(458)][s(560)](t.id);return r}[rt(685)](t,e,i){const s=rt;if(this[s(741)][s(480)](t)){const n=this[s(741)][s(596)](t);e=i?{...n,...e}:{...e,...n}}this[s(741)][s(728)](t,e)}[rt(505)](t){const e=rt,i=this[e(462)][e(482)](t.id);if(t[e(501)]&&(t[e(501)]=new Date(t[e(501)])),t[e(458)]){const i=this[e(520)][e(442)][e(596)](e(584));t[e(569)]=t[e(458)][e(726)](t=>i[e(591)](t))}i[e(425)](t,!0)}[rt(594)](t){const e=rt,i=this[e(462)][e(482)](this[e(462)][e(551)]-1);if(i)this[e(616)]=i.id;else{const i=!this[e(520)][e(460)][e(738)][e(708)][e(703)](t=>this[e(520)][e(460)][e(655)](t)),s=this[e(520)][e(442)][e(596)](e(584)).me.id,n=Q(this[e(520)][e(642)],e(i?624:613));this[e(607)]({from:t,to:t,id:this[e(616)],name:n,creatorId:s})}}[rt(727)](t){const e=rt,i=this[e(524)][e(623)]();this[e(698)]=this[e(462)][e(482)](i),this[e(698)]||(this[e(698)]=this[e(607)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(724)](){const t=rt;this[t(651)]&&!this[t(571)]&&(await this[t(564)][t(625)](this[t(698)],this[t(470)]),this[t(438)][t(457)](this[t(698)]),this[t(571)]={fromVersion:this[t(698)][t(719)],authors:this[t(698)][t(569)][t(725)]()})}[rt(436)](e,i){const s=rt;let n=this[s(520)][s(733)][s(596)](s(434)),r=this[s(520)][s(733)][s(596)](s(533));if(void 0===n){n={};for(const t of this[s(520)][s(460)][s(738)][s(563)]())n[t]=""}if(s(641)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(520)][s(460)][s(738)][s(563)]())r[t]={}}let o=!1;const a=Object[s(657)](n),c=Object[s(657)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(572)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(657)](r[t])[s(551)]>0){o=!0;break}}o||(o=c[s(540)](t=>!this[s(520)][s(460)][s(738)][s(735)](t))),o&&(0,t.logWarning)(s(537),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(520)][s(733)][s(728)](s(434),e),this[s(520)][s(733)][s(728)](s(533),i)}[rt(444)](){const t=rt;if(!this[t(648)]){const e=this[t(520)][t(442)][t(596)](t(451));this[t(648)]=e[t(611)](Q(this[t(520)][t(642)],t(621)))}}[rt(599)](){const t=rt;this[t(648)]&&(this[t(520)][t(442)][t(596)](t(451))[t(497)](this[t(648)]),this[t(648)]=null)}[rt(576)](t){const e=rt,i=this[e(462)][e(485)]();i[e(601)]();let s=0;for(;s<i[e(551)];){const n=i[s];if(n===this[e(698)]){s++;continue}if(n.id===this[e(616)])break;const r=t[e(437)]-n[e(437)]||t[e(719)]-n[e(719)];if(r>0)break;if(r<0)s++;else{if(!t[e(600)]&&n[e(600)])break;if(n[e(600)]||!t[e(600)]){if(t[e(501)]>n[e(501)])break;s++}else s++}}return s}[rt(561)](t){const e=rt,i=this[e(462)][e(485)]();i[e(601)](),i[e(647)]();const s=i[e(703)](i=>i[e(437)]<=t)[e(437)];return s<this[e(491)]?this[e(491)]:s}[rt(607)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(575)]({from:e,to:i});o[r(593)]=t,o[r(431)]=s,o.id=n;const a=this[r(722)](o);return this[r(470)]&&this[r(685)](o.id,o,!0),a}[rt(723)](){const t=rt;this[t(520)][t(694)][t(682)](t(459))[t(588)]({model:t(721)})}}class ut{[rt(520)];[rt(653)];[rt(516)];[rt(614)];[rt(518)];[rt(562)];[rt(453)];[rt(740)];[rt(663)];[rt(605)];[rt(492)];[rt(428)];[rt(649)];[rt(697)];[rt(495)];[rt(503)];[rt(643)];constructor(t){const e=rt;this[e(520)]=t,this[e(516)]=new Map,this[e(614)]=-1,this[e(518)]=-1,this[e(562)]=new Map,this[e(453)]=new Map,this[e(740)]=new Map,this[e(663)]=new Map,this[e(605)]=new Map,this[e(492)]=new Map,this[e(428)]=new Map,this[e(649)]=new Map,this[e(697)]=new Map,this[e(495)]=new Map,this[e(503)]=1}[rt(443)](t){const e=rt;this[e(653)]=t;const i=new Map,s=new Map,n=this[e(520)][e(460)][e(738)][e(708)][e(726)](t=>t[e(490)]);for(const t of n){const n=this[e(520)][e(460)][e(738)][e(735)](t),r=lt(n);i[e(728)](t,r),s[e(728)](t,Object[e(612)](n[e(730)]()))}const r=Array[e(711)](this[e(520)][e(460)][e(664)])[e(726)](t=>[t[e(593)],t[e(656)]()]),o=this[e(653)][e(667)];this[e(542)](o,i,r,s),this[e(643)]=this[e(503)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(728)](t,i),c[e(728)](t,{})}this[e(542)](Number[e(645)],a,[],c)}[rt(704)](t,e){const i=rt;if(this[i(614)]===t&&this[i(518)]<=e)this[i(516)][i(570)]>1&&this[i(508)](this[i(518)]),this[i(678)](this[i(518)],e,!0);else{if(!this[i(516)][i(480)](t)){const e=this[i(449)](t);this[i(579)](e,t,!1)}this[i(579)](t,e,!0)}return this[i(614)]=t,this[i(518)]=e,this[i(547)]()}[rt(457)](t){const e=rt,i=this[e(520)][e(442)][e(596)](e(609));this[e(713)](),this[e(614)]=t[e(719)],this[e(518)]=t[e(437)];for(const s in t[e(477)]){const n=t[e(477)][s][e(463)],r=A(t[e(477)][s][e(543)])||{},o=i[e(720)](t[e(477)][s][e(680)]);o[e(490)]=s,o[e(640)]=!n||!n[e(493)],o[e(493)]=()=>o[e(640)],this[e(663)][e(728)](s,o),this[e(605)][e(728)](s,r),n&&this[e(495)][e(728)](s,n);const a=this[e(541)](o);this[e(428)][e(728)](s,a);for(const[t,i]of o[e(664)]){if(!t[e(598)](e(630)))continue;const s=t[e(734)](":")[2];for(const t of i[e(671)]({singleCharacters:!0})){const i=this[e(577)](t),n=e(504)==t[e(555)]?t[e(731)][e(447)][e(725)](0,-1):t[e(731)][e(447)],r=a[e(714)](n)[e(617)](i);this[e(649)][e(728)](r,{userId:s})}}}this[e(643)]=this[e(503)];const s=[...Array(this[e(503)])[e(657)]()][e(725)](1)[e(743)](t=>!this[e(649)][e(480)](t));let n=0;const r=new Map;for(const o in t[e(477)]){const a=t[e(477)][o][e(463)],c=A(t[e(477)][o][e(519)])||{},u=i[e(720)](t[e(477)][o][e(608)]);u[e(490)]=o,u[e(640)]=!a||a[e(493)],u[e(493)]=()=>u[e(640)],this[e(453)][e(728)](o,u),this[e(740)][e(728)](o,c);const l=this[e(541)](u,Number[e(645)]);this[e(492)][e(728)](o,l),r[e(728)](o,u[e(493)]()?c:{});for(const[t,i]of u[e(664)]){if(!t[e(598)](e(630)))continue;const s=t[e(734)](":")[2];for(const t of i[e(671)]({singleCharacters:!0})){const i=this[e(577)](t),n=this[e(503)]++,r=e(504)==t[e(555)]?t[e(731)][e(447)][e(725)](0,-1):t[e(731)][e(447)];l[e(714)](r)[e(469)](i,n),this[e(649)][e(728)](n,{userId:s})}}for(const t of this[e(520)][e(460)][e(484)](u)[e(671)]({singleCharacters:!0})){const i=this[e(577)](t),r=e(504)==t[e(555)]?t[e(731)][e(447)][e(725)](0,-1):t[e(731)][e(447)],o=l[e(714)](r);o[e(617)](i)>0||o[e(469)](i,s[n++])}for(const[t,i]of u[e(664)])t[e(598)](e(630))||this[e(562)][e(728)](t,i)}const o=ht(e(683));this[e(663)][e(728)](e(683),o),this[e(428)][e(728)](e(683),this[e(541)](o,1));const a=ht(e(683));this[e(453)][e(728)](e(683),a),this[e(492)][e(728)](e(683),this[e(541)](a,1));const c=Array[e(711)](this[e(453)])[e(726)](([t,e])=>[t,lt(e)]);this[e(542)](this[e(518)],c,this[e(562)],r)}[rt(661)](){const t=rt;this[t(713)](),this[t(614)]=-1,this[t(518)]=-1,this[t(516)][t(446)](),this[t(443)](this[t(653)])}[rt(542)](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(728)](t,{start:e[n(631)][n(515)](),end:e[n(597)][n(515)](),rootName:e[n(534)][n(490)]});this[n(516)][n(728)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(508)](t){const e=rt;this[e(516)][e(454)](t)}[rt(713)](){const t=rt;this[t(649)][t(446)](),this[t(697)][t(446)](),this[t(495)][t(446)](),this[t(453)][t(446)](),this[t(740)][t(446)](),this[t(663)][t(446)](),this[t(605)][t(446)](),this[t(492)][t(446)](),this[t(428)][t(446)](),this[t(562)][t(446)](),this[t(503)]=1,this[t(643)]=this[t(503)]}[rt(541)](t,e=null){const i=rt;let s=null;t.is(i(502))||(s=new Z.Element(t[i(593)],{vid_start:null===e?this[i(503)]++:e++}));const n=[];for(const s of t[i(692)]())if(s.is(i(629))){n[i(560)](this[i(541)](s,e));const t=n[n[i(551)]-1];null!==e&&(e=t.is(i(629),i(635))?t[i(617)](i(427))+1:t[i(617)](i(628))+1)}else for(let t=0;t<s[i(716)];t++)n[i(560)](new Z.Element(i(635),{vid:null===e?this[i(503)]++:e++}));if(t.is(i(502))){const e=ht(t[i(490)]);return e[i(662)](0,n),e}return s[i(469)](i(628),null===e?this[i(503)]++:e++),s[i(662)](0,n),s}[rt(579)](t,e,i){const s=rt;this[s(713)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(516)][s(596)](t);this[s(663)]=new Map(n),this[s(605)]=new Map(A(o));for(const[t,e]of this[s(663)])if(s(683)!==t&&(this[s(453)][s(728)](t,lt(e)),this[s(740)]=new Map(A(o)),i)){const i=this[s(503)];this[s(492)][s(728)](t,this[s(541)](e)),this[s(428)][s(728)](t,this[s(541)](e,i))}this[s(643)]=this[s(503)],this[s(453)][s(728)](s(683),lt(this[s(663)][s(596)](s(683)))),i&&this[s(492)][s(728)](s(683),this[s(541)](this[s(663)][s(596)](s(683))));for(const[t,e]of r){const i=this[s(663)][s(596)](e[s(490)]),n=this[s(453)][s(596)](e[s(490)]),r=new Z.Range(this[s(473)](e[s(631)],i),this[s(473)](e[s(597)],i)),o=this[s(487)](r,n);i[s(664)][s(728)](t,r),this[s(562)][s(728)](t,o)}this[s(678)](t,e,i)}[rt(678)](t,e,i){const s=rt;for(const n of this[s(653)][s(486)](t,e))this[s(586)](n,i);for(const t of this[s(453)][s(527)]())t[s(664)][s(446)]();for(const[t,e]of this[s(562)])this[s(453)][s(596)](e[s(534)][s(490)])[s(664)][s(728)](t,e[s(515)]());const n=new Map,r=new Map;for(const[t,e]of this[s(453)])n[s(728)](t,lt(e)),r[s(728)](t,this[s(740)][s(596)](t));this[s(542)](e,n,this[s(562)],r)}[rt(449)](t){const e=rt,i=Array[e(711)](this[e(516)][e(657)]());i[e(546)]((t,e)=>t-e),i[e(601)]();for(const e of i)if(e<t)return e;return Number[e(645)]}[rt(676)](t,e){const i=rt,s=Array[i(711)](e[i(664)])[i(726)](([e,s])=>[e,this[i(487)](s,t)]);t[i(664)]=new Map(s)}[rt(639)](t){const e=rt;for(const i of this[e(562)][e(527)]()){const s=i[e(706)](t),n=Z.Range[e(637)](s);i[e(631)]=n[e(631)],i[e(597)]=n[e(597)]}}[rt(586)](t,e){const i=rt;if(i(590)!=t[i(555)]&&i(638)!=t[i(555)]){if(i(710)==t[i(555)]){const s=t[i(687)][i(534)][i(490)];this[i(453)][i(480)](s)||(this[i(453)][i(728)](s,ht(s,!0)),this[i(740)][i(728)](s,{}),e&&this[i(492)][i(728)](s,ht(s,!0)))}else{if(i(626)==t[i(555)]||i(544)==t[i(555)]||i(736)==t[i(555)])return void this[i(450)](t);i(439)==t[i(555)]&&this[i(535)](t)}if(i(439)!==t[i(555)]){const e=this[i(559)](t,this[i(453)]);e[i(712)](),this[i(639)](e)}if(e)switch(t[i(555)]){case i(710):this[i(554)](t);break;case i(529):case i(497):case i(737):this[i(709)](t);break;case i(701):this[i(644)](t);break;case i(734):this[i(499)](t)}}else this[i(688)](t,e)}[rt(559)](t,e){const i=rt,s=t[i(515)]();return s[i(426)]=t[i(426)],this[i(429)](s,e),s}[rt(670)](t){const e=rt;return t[e(726)](t=>{const i=e,s=this[i(577)](t);return Number(t[i(455)][i(617)](s))})}[rt(567)](t,e){const i=rt;if(t.is(i(629),i(635)))e[i(560)]({item:t,type:i(521)});else{t.is(i(629))&&e[i(560)]({item:t,type:i(668)});for(const s of t[i(692)]())this[i(567)](s,e);t.is(i(629))&&e[i(560)]({item:t,type:i(504)})}return e}[rt(547)](){const t=rt,e=new Map(this[t(649)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(663)][t(657)](),...this[t(453)][t(657)]()]);a[t(454)](t(683));for(const e of a){const i=this[t(453)][t(596)](e)||ht(e,!1),s=this[t(663)][t(596)](e)||ht(e,!1);i[t(493)]()||s[t(493)]()?(n[t(608)][e]=lt(i),n[t(680)][e]=lt(s),this[t(676)](n[t(680)][e],s),this[t(676)](n[t(608)][e],i),r[t(608)][e]=this[t(567)](this[t(492)][t(596)](e),[]),r[t(680)][e]=this[t(567)](this[t(428)][t(596)](e)||ht(e,!1),[])):a[t(454)](e)}for(const n of a){const o=r[t(608)][n];for(const n of o){const r=this[t(577)](n),o=n[t(455)][t(617)](r);i[t(454)](o),o>=this[t(643)]&&s[t(728)](o,e[t(596)](o))}}for(const n of a){const a=r[t(608)][n],c=this[t(670)](r[t(680)][n]);let u=0;for(const n of a){const r=this[t(577)](n),a=n[t(455)][t(617)](r);if(!s[t(480)](a)&&!o[t(480)](a))if(i[t(480)](a))u++;else{if(a!=c[u]){const s=e[t(596)](a)||e[t(596)](c[u]);for(;a!=c[u];)i[t(480)](c[u])||(o[t(728)](c[u],s),e[t(728)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(608)][e];for(const e of n){const n=this[t(577)](e),r=e[t(455)][t(617)](n);if(o[t(480)](r)){const e=o[t(596)](r);i[t(480)](r)||i[t(728)](r,{...e}),s[t(728)](r,{...e})}}}for(const e of i[t(657)]())e>=this[t(643)]&&i[t(454)](e);const c=new Map;for(const e of a){let n=r[t(608)][e];for(const e of n)if(e[t(455)].is(t(629),t(702))){const i=this[t(577)](e),n=e[t(455)][t(617)](i);if(s[t(480)](n)){const i=e[t(455)][t(530)][t(530)][t(617)](t(673)),r=c[t(596)](i)||new Set;r[t(611)](s[t(596)](n)[t(729)]),c[t(728)](i,r)}}n=r[t(680)][e];for(const e of n)if(e[t(455)].is(t(629),t(702))){const s=this[t(577)](e),n=e[t(455)][t(617)](s);if(i[t(480)](n)){const s=e[t(455)][t(530)][t(530)][t(617)](t(673)),r=c[t(596)](s)||new Set;r[t(611)](i[t(596)](n)[t(729)]),c[t(728)](s,r)}}for(const e of c[t(657)]())(s[t(480)](e)||i[t(480)](e))&&c[t(454)](e)}for(const e of a){const n=r[t(608)][e];let o=null,a=null;for(const e of n){const n=this[t(577)](e),r=e[t(455)][t(617)](n),u=c[t(596)](r);u&&t(668)==e[t(555)]&&(o=Array[t(711)](u)[0],a=e[t(455)][t(617)](t(628))),o&&(i[t(728)](r,{userId:o}),s[t(728)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(680)][e],a=n[t(608)][e];for(const{userId:e}of this[t(697)][t(527)]())null!==e&&l[t(611)](e);for(const{userId:e}of this[t(495)][t(527)]())null!==e&&l[t(611)](e);this[t(532)](a,r[t(608)][e],s,t(471),l),this[t(532)](o,r[t(680)][e],i,t(739),l),u[e]={insertions:this[t(545)](a),deletions:this[t(545)](o),attachChange:this[t(495)][t(596)](e)||null,attributesBefore:A(this[t(605)][t(596)](e))||{},attributesAfter:A(this[t(740)][t(596)](e))}}return{diffData:u,authorsIds:Array[t(711)](l)}}[rt(659)](t){const e=rt;for(const[,i]of t[e(664)]){const t=i[e(631)][e(691)]()[e(743)](t=>e(702)==t[e(593)]);for(const i of t)1==i[e(699)]&&i[e(672)](0).is(e(629),e(582))&&i[e(672)](0)[e(469)](e(556),!0)}}[rt(545)](t){const e=rt;this[e(659)](t);const i=this[e(520)][e(472)][e(695)](t,{}),s=Array[e(711)](i[e(692)]())[e(726)](t=>this[e(435)](t));return JSON[e(652)](s)}[rt(435)](t){const e=rt;if(t.is(e(635)))return t[e(472)];{const i=this[e(520)][e(442)][e(596)](e(609)),s=t,n=this[e(520)][e(472)][e(602)][e(465)],r={type:i[e(513)](s),name:s[e(593)],attributes:Array[e(711)](s[e(730)]()),children:Array[e(711)](s[e(692)]())[e(726)](t=>this[e(435)](t))};if(t.is(e(558))&&e(506)!=t[e(593)]){const i=t[e(732)](n[e(430)],n);r[e(636)][e(560)](i[e(483)])}else if(t.is(e(510))){const i=n[e(430)][e(496)](s[e(593)]);t[e(732)](i,n),r[e(636)][e(560)](i[e(528)])}const o=Array[e(711)](s[e(589)]());o[e(551)]>0&&(r[e(633)]=o);const a=s[e(660)]();return null!==a&&(r[e(433)]=a),r}}[rt(532)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(520)][r(460)];for(let s=0;s<e[r(551)];s++){const n=this[r(577)](e[s]),c=e[s][r(455)][r(617)](n),h=i[r(596)](c),d=s==e[r(551)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(729)]!=o[r(729)])&&(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(729)],d=l(630)+s+":"+h+":"+c++,f=u[l(475)](i,a);t[l(664)][l(728)](d,f),null!==h&&n[l(611)](h)}}[rt(577)](t){const e=rt;switch(t[e(555)]){case e(668):return e(673);case e(504):return e(628);default:return e(427)}}[rt(429)](t,e){const i=rt;t[i(565)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(596)](n[i(534)][i(490)]);t[s]=this[i(473)](n,r)}if(n instanceof Z.Range){const r=e[i(596)](n[i(534)][i(490)]);t[s]=this[i(487)](n,r)}i(534)===s&&(t[i(534)]=e[i(596)](t[i(534)][i(490)]))}}[rt(487)](t,e){const i=rt;return this[i(520)][i(460)][i(475)](this[i(473)](t[i(631)],e),this[i(473)](t[i(597)],e))}[rt(473)](t,e){const i=rt;return this[i(520)][i(460)][i(603)](e,t[i(447)],t[i(549)])}[rt(554)](t){const e=rt,i=this[e(492)][e(596)](t[e(687)][e(534)][e(490)]),s=this[e(473)](t[e(687)],i),n=null===t[e(426)]?null:t[e(426)]||this[e(520)][e(442)][e(596)](e(584)).me.id,r=s[e(530)],o=this[e(503)],a=[];for(const i of t[e(456)])if(i.is(e(629)))a[e(560)](this[e(541)](i));else for(let t=0;t<i[e(716)];t++)a[e(560)](new Z.Element(e(635),{vid:this[e(503)]++}));const c=this[e(503)];for(let t=o;t<c;t++)this[e(649)][e(728)](t,{userId:n});r[e(662)](s[e(717)],a)}[rt(709)](t){const e=rt;(t=this[e(559)](t,this[e(492)]))[e(712)]();const i=null===t[e(426)]?null:t[e(426)]||this[e(520)][e(442)][e(596)](e(584)).me.id,s=t[e(538)](),n=s[e(530)],r=s[e(717)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(672)](e);r.is(a(629),a(635))?s[a(728)](r[a(617)](a(427)),{userId:i}):(s[a(728)](r[a(617)](a(673)),{userId:i}),t(s,r,0,r[a(699)]),s[a(728)](r[a(617)](a(628)),{userId:i}))}}(this[e(649)],n,r,r+t[e(525)])}[rt(644)](t){const e=rt,i=null===(t=this[e(559)](t,this[e(492)]))[e(426)]?null:t[e(426)]||this[e(520)][e(442)][e(596)](e(584)).me.id,s=t[e(432)][e(530)],n=t[e(627)][e(530)],r=s[e(617)](e(628)),o=n[e(617)](e(673));s[e(469)](e(628),n[e(617)](e(628))),n[e(469)](e(628),r),this[e(649)][e(728)](o,{userId:i}),this[e(649)][e(728)](r,{userId:i}),t[e(712)]()}[rt(499)](t){const e=rt,i=null===(t=this[e(559)](t,this[e(492)]))[e(426)]?null:t[e(426)]||this[e(520)][e(442)][e(596)](e(584)).me.id,s=t[e(574)],n=t[e(592)][e(530)];t[e(712)]();const r=n[e(617)](e(628)),o=t[e(622)][e(498)];if(s){const t=o[e(617)](e(628)),s=n[e(617)](e(628));n[e(469)](e(628),t),o[e(469)](e(628),s),this[e(649)][e(728)](n[e(617)](e(628)),{userId:i}),this[e(649)][e(728)](o[e(617)](e(673)),{userId:i})}else{const t=this[e(503)]++,s=this[e(503)]++;n[e(469)](e(628),t),o[e(469)](e(673),s),o[e(469)](e(628),r),this[e(649)][e(728)](t,{userId:i}),this[e(649)][e(728)](s,{userId:i})}}[rt(535)](t){const e=rt;if(!t[e(634)])return;const i=(t=this[e(559)](t,this[e(453)]))[e(467)]?t[e(467)][e(534)]:null,s=t[e(610)]?t[e(610)][e(534)]:null;i&&this[e(562)][e(454)](t[e(593)]),s&&this[e(562)][e(728)](t[e(593)],t[e(610)][e(515)]());const n=null===t[e(426)]?null:t[e(426)]||this[e(520)][e(442)][e(596)](e(584)).me.id,r=t[e(593)];if(!this[e(697)][e(480)](r))return void this[e(697)][e(728)](r,{range:t[e(467)],userId:n});const o=this[e(697)][e(596)](r),a=o[e(479)],c=t[e(610)];null==a&&null==c||a&&c&&a[e(583)](c)?this[e(697)][e(454)](t[e(593)]):o[e(729)]=n}[rt(688)](t,e){const i=rt;this[i(453)][i(480)](t[i(490)])?this[i(453)][i(596)](t[i(490)])[i(640)]=t[i(715)]:(this[i(453)][i(728)](t[i(490)],ht(t[i(490)],!0)),this[i(740)][i(728)](t[i(490)],{}),e&&this[i(492)][i(728)](t[i(490)],ht(t[i(490)],!0)));const s=null===t[i(426)]?null:t[i(426)]||this[i(520)][i(442)][i(596)](i(584)).me.id,n=this[i(495)][i(596)](t[i(490)]);n&&n[i(729)]===s?this[i(495)][i(454)](t[i(490)]):this[i(495)][i(728)](t[i(490)],{userId:s,isAttached:t[i(715)]})}[rt(450)](t){const e=rt,i=this[e(740)][e(596)](t[e(534)][e(490)]);null===t[e(474)]?delete i[t[e(440)]]:i[t[e(440)]]=t[e(474)]}}function lt(t){const e=rt,i=ht(t[e(490)],t[e(493)]());for(const s of t[e(692)]()){const t=s[e(461)](!0);i[e(557)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(490)]=t,s[i(640)]=e,s[i(493)]=()=>s[i(640)],s}function dt(t,e,i){const s=rt,n=s(504)==t[s(555)]?i[s(489)](t[s(455)],s(597)):i[s(445)](t[s(455)]);return i[s(603)](e,n[s(447)],n[s(549)])}function ft(t,e,i){const s=rt,n=s(668)==t[s(555)]?i[s(489)](t[s(455)],0):i[s(423)](t[s(455)]);return i[s(603)](e,n[s(447)],n[s(549)])}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 Et(t,e){const i=Vt();return(Et=function(t,e){return i[t-=365]})(t,e)}function Vt(){const t=["form","reset","listenTo","label","fieldView","stopPropagation","keystrokes","220","optional","extendTemplate","1265496LMqBNS","render","errorText","setTemplate","focus","arrowup","arrowleft","3737442PzNVey","focusTracker","locale","revisionName","24eLmHWg","2413750HWCcQh","98036ZWECGm","ck-revision-history-save-revision-form","Name of the revision","85YHxEhI","set","2352762jiPdio","revisionNameInputView","arrowdown","trim","value","element","ck-responsive-form","revisionNameInputValue","_createRevisionNameInput","7829024JZKOQz","input","31986xanbug","add","arrowright"];return(Vt=function(){return t})()}!function(t){const e=Et,i=t();for(;;)try{if(750681===parseInt(e(375))/1+-parseInt(e(387))/2+-parseInt(e(382))/3+parseInt(e(388))/4*(parseInt(e(391))/5)+parseInt(e(393))/6+parseInt(e(402))/7+parseInt(e(386))/8*(parseInt(e(404))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Mt extends pt.View{[At(383)];[At(371)];[At(394)];constructor(e,i){const s=At;super(e),this[s(383)]=new t.FocusTracker,this[s(371)]=new t.KeystrokeHandler,this[s(392)](s(400),""),this[s(394)]=this[s(401)](i),this[s(378)]({tag:s(365),attributes:{class:["ck",s(389),s(399)],tabindex:"-1"},children:[this[s(394)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(376)](){const t=At;super[t(376)](),(0,pt.submitHandler)({view:this}),this[t(383)][t(405)](this[t(394)][t(398)]),this[t(371)][t(367)](this[t(398)]);const e=e=>e[t(370)]();this[t(371)][t(392)](t(406),e),this[t(371)][t(392)](t(381),e),this[t(371)][t(392)](t(380),e),this[t(371)][t(392)](t(395),e)}[At(379)](){const t=At;this[t(394)][t(379)]()}get[At(385)](){const t=At;return this[t(394)][t(369)][t(398)][t(397)][t(396)]()}set[At(385)](t){const e=At;this[e(394)][e(369)][e(398)][e(397)]=t[e(396)]()}[At(366)](){const t=At;this[t(394)][t(369)][t(398)][t(397)]="",this[t(394)][t(377)]=null}[At(401)](t){const e=At,i=new pt.LabeledFieldView(this[e(384)],pt.createLabeledInputText),s=i[e(369)];s[e(374)]({attributes:{maxlength:e(372)}});let n=Q(this[e(384)],e(390));return!t&&(n+=" ("+Q(this[e(384)],e(373))+")"),i[e(368)]=n,s.on(e(403),()=>{const t=e;this[t(400)]=s[t(398)][t(397)][t(396)]()}),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=170]})(t,e)}function Ft(){const t=["276REBeSN","ck-button-action","isPremiumPlugin","revisionSave","revisionHistory.requireRevisionName","hide","RevisionHistoryUI","Dialog","show","1400372HEaliB","addMany","buttonView","10088000eXpzbe","6812603UfVJck","panelView","plugins","isEnabled","editor","reset","_showDialog","_saveRevisionFormView","Save current revision","view","set","config","Revision history","saveRevision","190jHBeFR","Accept","menuBar:revisionHistory","revisionName","isReady","pluginName","5BtGBac","children","Open revision history","isReadOnly","menuitem","errorText","18305BDDgzk","82926SuTOYb","_registerMenuComponent","focus","locale","get","3PgEnYN","execute","_createSaveRevisionFormView","requires","RevisionTracker","bind","showRevisionViewerCallback","editing","items","submit","menu","role","revisionHistory","init","add","11fouAeX","Cancel","isOfficialPlugin","2215764KRKOkK","render","delegate","The revision name cannot be empty.","componentFactory","revisionNameInputView","isOpen","201986oHqNkz"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(951522===-parseInt(e(224))/1*(-parseInt(e(190))/2)+-parseInt(e(236))/3*(-parseInt(e(200))/4)+-parseInt(e(230))/5*(-parseInt(e(191))/6)+-parseInt(e(204))/7+parseInt(e(203))/8+parseInt(e(231))/9*(-parseInt(e(218))/10)+parseInt(e(180))/11*(-parseInt(e(183))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends W.Plugin{static get[Dt(223)](){return Dt(197)}static get[Dt(182)](){return!0}static get[Dt(193)](){return!0}static get[Dt(239)](){return[ct]}[Dt(211)];[Dt(178)](){const t=Dt,e=this[t(208)],i=e[t(206)][t(235)](t(240));e.ui[t(187)][t(179)](t(177),s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(205)][n(225)],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(170)](n(207)).to(i,n(222),i,n(207),e,n(227),(t,e,i)=>t&&e&&!i),r[n(202)][n(214)]({icon:mt.IconHistory,label:Q(s,n(216)),tooltip:!0}),u[n(214)]({label:Q(s,n(212)),withText:!0,role:n(228)}),u[n(170)](n(207)).to(i,n(222),i,n(207),e,n(227),(t,e,i)=>t&&e&&!i),u.on(n(237),()=>this[n(210)]()),h[n(214)]({label:Q(s,n(226)),withText:!0,role:n(228)}),h[n(170)](n(207)).to(i,n(222),e,n(227),(t,e)=>t&&!e),h.on(n(237),()=>{const t=n;e[t(215)][t(235)](t(177))[t(171)](),r[t(189)]=!1,e[t(172)][t(213)][t(233)]()}),c[n(225)][n(179)](u),l[n(225)][n(179)](h),a[n(176)]=n(175),a[n(173)][n(201)]([c,l]),o[n(179)](a),r}),e.ui[t(187)][t(179)](t(220),()=>this[t(232)]())}[Dt(232)](){const t=Dt,e=this[t(208)],i=e[t(234)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(202)][t(214)]({icon:mt.IconHistory,label:Q(i,t(216))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(214)]({label:Q(i,t(212))}),o[t(185)](t(237)).to(s),o.on(t(237),()=>{this[t(210)]()}),r[t(225)][t(179)](o),n[t(173)][t(179)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(214)]({label:Q(i,t(226))}),c[t(185)](t(237)).to(s),c.on(t(237),()=>{const i=t;e[i(215)][i(235)](i(177))[i(171)]()}),a[t(225)][t(179)](c),n[t(173)][t(179)](a),s[t(205)][t(225)][t(179)](n),s}[Dt(210)](){const t=Dt,e=this[t(208)],i=e[t(234)],s=e[t(206)][t(235)](t(198)),n=e[t(206)][t(235)](t(240));function r(n){const r=t;e[r(215)][r(235)](r(195))&&""===n[r(221)]?n[r(188)][r(229)]=Q(i,r(186)):(e[r(206)][r(235)](ct)[r(217)]({name:n[r(221)]}),s[r(196)]())}this[t(211)]||(this[t(238)](),this[t(211)].on(t(174),()=>r(this[t(211)]))),this[t(211)][t(209)](),s[t(199)]({id:t(194),title:Q(i,t(212)),isModal:!0,content:this[t(211)],actionButtons:[{label:Q(e[t(234)],t(181)),withText:!0,onExecute:()=>s[t(196)]()},{label:Q(e[t(234)],t(219)),class:t(192),withText:!0,onCreate(i){const s=t;i[s(170)](s(207)).to(n,s(222),n,s(207),e,s(227),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(211)])}]})}[Dt(238)](){const t=Dt,e=this[t(208)],i=e[t(234)];this[t(211)]=new Mt(i,e[t(215)][t(235)](t(195))),this[t(211)][t(184)]()}}const Lt=zt;!function(t){const e=zt,i=t();for(;;)try{if(911681===parseInt(e(436))/1+parseInt(e(417))/2*(-parseInt(e(420))/3)+parseInt(e(446))/4*(-parseInt(e(439))/5)+parseInt(e(419))/6*(-parseInt(e(448))/7)+-parseInt(e(438))/8+-parseInt(e(431))/9*(parseInt(e(421))/10)+parseInt(e(433))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Pt extends pt.View{[Lt(424)];[Lt(447)];constructor(t,e){const i=Lt;super(t),this[i(447)]=e,this[i(424)]=e.id;const s=this[i(445)],n=Q(t,e[i(443)][i(434)]?i(442):i(440)==e[i(449)]?i(427):i(423));this[i(418)](i(449),e[i(449)]),this[i(444)]({tag:i(430),attributes:{class:[i(435),i(426),s.to(i(449),t=>i(432)+t)],tabindex:-1},children:[{tag:i(428),children:[{tag:i(428),attributes:{class:[i(429)]},children:[{text:n}]},{text:" "+e[i(425)][i(437)]}]}]})}[Lt(441)](){const t=Lt;this[t(422)][t(441)]()}}function zt(t,e){const i=Ut();return(zt=function(t,e){return i[t-=417]})(t,e)}function Ut(){const t=["1981562BKTTvI","set","714pEUpaB","3tejMRc","21410FOuQlY","element","Removed by","changeId","author","ck-revision-change","Added by","span","ck-revision-change__label","div","5274XVbkoh","ck-revision-change__","62471167PVbzzA","isSuggestion","ck-annotation","1161366fRXpLW","name","1482272kSjoIM","5qnycmf","add","focus","Suggested by","data","setTemplate","bindTemplate","6784696lazNSb","_model","106001xAQYhw","type"];return(Ut=function(){return t})()}var Wt=Zt;!function(t){for(var e=Zt,i=t();;)try{if(837515===parseInt(e(293))/1*(parseInt(e(307))/2)+parseInt(e(292))/3*(-parseInt(e(304))/4)+-parseInt(e(299))/5*(parseInt(e(306))/6)+parseInt(e(291))/7+parseInt(e(303))/8*(parseInt(e(305))/9)+parseInt(e(290))/10+-parseInt(e(295))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Ht extends((0,t.ObservableMixin)()){id;[Wt(297)];[Wt(301)];[Wt(298)];[Wt(296)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(297)]=e[i(297)],this[i(301)]=e[i(301)],this[i(298)]=e[i(298)]||{},this[i(296)]=e[i(296)],this[i(294)](i(302),e[i(302)])}[Wt(300)](){var t=Wt;return{id:this.id,authorId:this[t(297)].id,type:this[t(301)],data:this[t(298)],createdAt:this[t(302)]}}}function Zt(t,e){var i=qt();return(Zt=function(t,e){return i[t-=290]})(t,e)}function qt(){var t=["set","21696928iPKcKe","rootName","author","data","3188135sJuSnp","toJSON","type","createdAt","1176BymeQv","152492EZzJWE","70551eYvdIe","6ZIdzSG","64KPPUjf","8250830ysBHxK","11225284JJZbkw","78weEhiz","26805ebPYxL"];return(qt=function(){return t})()}const $t=Yt;function Bt(){const t=["7051828ARvsFN","26133440TdqMIC","3BWdPpq","409954zICHLv","18248jKPyJK","_setChanges","3567616YRFaTD","1804792vJGOlB","12UlSxut","newRevisionId","280530eOTXaY","657THOYVe","add","changes","oldRevisionId"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=490]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(962009===parseInt(e(503))/1+-parseInt(e(491))/2+parseInt(e(502))/3*(parseInt(e(492))/4)+-parseInt(e(495))/5*(-parseInt(e(493))/6)+-parseInt(e(500))/7+-parseInt(e(504))/8*(-parseInt(e(496))/9)+parseInt(e(501))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt{[$t(494)];[$t(499)];[$t(498)];constructor(e,i){const s=$t;this[s(494)]=e,this[s(499)]=i,this[s(498)]=new t.Collection}[$t(490)](t){const e=$t;for(const i of t)this[e(498)][e(497)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=te;function Qt(){const t=["showNextChange","deletions","writer","_getChangeFromId","getWalker","done","revision-viewer","isAdded","all","startsWith","change:isReady","RevisionViewer","values","change:numberOfChanges","addMarker:revision","keys","index","_removeUnsupportedChanges","changes","merge","abs","code","hasClass","return","ck-revision-history-root--active","set","markerName","7716580MUjIMB","diffData","vid","detachRoot","filter","authors","selection","diff","_markSuggestions","previousPosition","isOfficialPlugin","restoreRevisionCallback","editor","nextSibling","mouseover","isAddSuggestion","_sortAndFilterDiffChanges","model","setAttribute","WidgetToolbarRepository","vid_start","insertions","_changeIdToChange","range","refresh","nextPosition","restoreRevision","isRemoved","execute","low","1233458ESbQvr","_getViewForChange","getLaterVisibleRevision","plugins","addRevisionData","conversion","level","listenTo","rootName","updatePosition","getChild","ck-suggestion-marker-","for","revision:","vid_end","addHighlight","ck-revision-history-root-add","markerToData","isBlock","observeMarkers","markerNameToElements","_getRevisionsRange","delete","get","_initInteractions","isLimit","removeMarker","comment","oldRevisionId","parent","enqueueChange","_markInsertions","length","affectsData","_removeMissingPairs","isIncorrect","isCollapsed","attribute:vid","getRootNames","createRangeIn","isReady","_cleanUp","change:activeChange","elementStart","consumable","splice","sort","12zxdJaF","offsetSize","pluginName","pairId","11180020pkpgdX","getIndex","insertion","_fixObsoleteTags","createPositionBefore","getItems","getRevision","_makeModelFromViewString","_appendChild","_markMismatchedRemovedTags","RevisionHistoryUtils","target","config","elementToAttribute","forward","attributes","view","ck-revision-history-root-remove","change:isEnabled","activeChange","_threeWayMerge","522wmynTm","removeMarker:revision","change:activeView","modelRange","createUIElement","element","getDomRoot","isAtEnd","locale","_cleanMarkers","deletion","split","-new","reconvertMarker","consume","revision-comment:","span","suggestion:","dataDowncast","2JSqrho","highest","commands","softBreak","getRevisionDocumentData","find","item","endIndex","_markMarkers","createPositionFromPath","markersStart","pop","_data","RevisionsRepository","revision","test","mousedown","object","16904WPOGSC","36rKcuwF","compare","catch","roots","start","revision-suggestion","21SwchEM","POSITIVE_INFINITY","isAfter","toViewElement","viewItem","right","createAttributeElement","editingDowncast","ck-suggestion-marker-split","attributesAfter","_makeTape","first","isObject","nodeAfter","suggestion","isInline","markers","type","elementEnd","attributesBefore","getRoot","next","_changeView","destroy","_refreshStartEndIndex","_utils","toViewRange","isBefore","editing","remove","removeAttribute","removeMarker:revision-suggestion","getClientRects","getAttribute","wrap","hasAttribute","revision-suggestion:","side","high","distance","unbindElementFromMarkerName","addMarker:revision-suggestion:insertion","unshift","enableReadOnlyMode","addClass","checkAttribute","shift","ck-suggestion-marker-merge","top","requires","data-change-id","172065bkkTEx","forEach","isNavigationMode","init","indexOf","ck-suggestion-preview-marker-","_makeModelFromTape","add","1275402GHpsqD","_joinTapes","then","uiElement","ck-editor__editable__overlay","upcast","mapper","_findChangeIdFromDomTarget","currentChangeNumber","attachChange","ck-suggestion-preview-marker","ck-suggestion-marker--active","maxOffset","string","addRoot","map","change","dataToMarker","text","schema","_setDistance","getCustomProperty","forceDisabled","findIndex","isRemoveSuggestion","bindElementToMarker","includes","bottom","isAttached","revisionHistory","_step","_getDiff","userId","has","insert","newRevisionId","backward","isContent","slice","isPremiumPlugin","_balloon","bind","downcastDispatcher","loadRevisionData","concat","name","changeId","data","showPreviousChange","addMarker:revision-suggestion:deletion","push","_setChanges","createRevision","resolve","showStack","end","_update","activeView","repository","error","createRange","domConverter","getRevisionRootsAttributes","revisionHistoryAttachChange","element:pre","isSuggestion","adapter","numberOfChanges","_setConversion","_processTape","document","_activeViewTarget","revisionHistoryLabel","markerToHighlight","markersEnd","ck-suggestion-marker","from","isEqual","addRevision","isAtStart","clear","removeClass","isEnabled","ck-revision-history-root-","markerRange","_revisions","flat","37954477mWMoFZ","isOnRoot","getAttributes","startIndex","toViewPosition","domEvent","left","mapViewToDom","stop"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=438]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(832081===parseInt(e(474))/1*(-parseInt(e(711))/2)+-parseInt(e(550))/3*(-parseInt(e(493))/4)+-parseInt(e(681))/5+-parseInt(e(558))/6*(-parseInt(e(499))/7)+parseInt(e(492))/8*(parseInt(e(455))/9)+-parseInt(e(762))/10+parseInt(e(645))/11*(parseInt(e(758))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends W.Plugin{[Xt(616)];[Xt(624)]=null;[Xt(524)];[Xt(629)];[Xt(521)];[Xt(703)];[Xt(598)];static get[Xt(760)](){return Xt(665)}static get[Xt(691)](){return!0}static get[Xt(597)](){return!0}static get[Xt(548)](){return[H.Users,pt.ContextualBalloon,Y,K]}constructor(t){const e=Xt;super(t),this[e(616)]=this[e(693)][e(714)][e(734)](e(487)),this[e(524)]=this[e(693)][e(714)][e(734)](e(444)),this[e(679)](e(453),null),this[e(679)](e(615),null),this[e(629)]=null,this[e(679)](e(688),null),this[e(679)](e(751),!1),this[e(679)](e(640),!0),this.on(e(452),(t,i,s)=>{const n=e;this[n(453)]=null,this[n(615)]=null,this[n(693)][n(527)][n(450)][n(574)](t=>{const e=n;for(const i of this[e(693)][e(527)][e(450)][e(628)][e(496)])s?t[e(639)](e(562),i):t[e(543)](e(562),i)})}),this[e(599)](e(552)).to(this,e(453),t=>null!==t),this[e(599)](e(566)).to(this,e(751),this,e(688),this,e(453),(t,i,s)=>t&&s?i[e(672)][e(763)](s):0),this[e(599)](e(625)).to(this,e(751),this,e(688),(t,i)=>t?i[e(672)][e(743)]:0),this[e(521)]=null,this[e(703)]=new Map,this[e(598)]=this[e(693)][e(714)][e(734)](pt.ContextualBalloon)}[Xt(553)](){const t=Xt,e=this[t(693)],i=new ne(e,{direction:t(594)}),s=new ne(e,{direction:t(448)});e[t(476)][t(557)](t(606),i),e[t(476)][t(557)](t(654),s),e[t(476)][t(557)](t(707),new se(e)),this.on(t(667),()=>{const e=t;i[e(705)](),s[e(705)]()}),this[t(626)](),this[t(735)](),e[t(542)](t(660)),e[t(714)][t(591)](t(700))&&e[t(714)][t(734)](t(700))[t(580)](t(660))}async[Xt(478)](t){const e=Xt;return await this[e(524)][e(601)](t,this[e(624)]),this[e(524)][e(478)](t)}async[Xt(620)](t){const e=Xt;return await this[e(524)][e(601)](t,this[e(624)]),this[e(524)][e(620)](t)}async[Xt(494)](t,e,i=!1){const s=Xt;if(!this[s(640)])return;const n=this[s(688)],r=this[s(616)],o=s(571)==typeof t?r[s(440)](t):t,a=s(571)==typeof e?r[s(440)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(688)]&&this[s(688)][s(593)]===c&&this[s(688)][s(739)]===u)return Promise[s(611)]();this[s(751)]=!1,this[s(615)]=null,this[s(453)]=null,this[s(688)]=new Jt(c,u);const l=this[s(732)](o,a,!0)[s(573)](t=>this[s(524)][s(601)](t,this[s(624)]));return l[s(608)](new Promise(t=>{setTimeout(t,20)})),Promise[s(662)](l)[s(560)](()=>{const t=s;if(!this[t(640)])return;this[t(752)]();const e=this[t(589)](c,u);for(const i of e[t(672)])this[t(703)][t(679)](i.id,i);this[t(693)][t(698)][t(741)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(693)][s(698)][s(628)][s(749)]())i[s(684)](t);for(const t of Object[s(669)](e[s(698)])){const n=i[s(572)](t);for(const r of Object[s(669)](e[s(449)][t]))i[s(699)](r,e[s(449)][t][r],n);i[s(592)](e[s(698)][t],n,0)}}),this[t(688)][t(609)](this[t(697)](e[t(672)])),this[t(751)]=!0})[s(495)](t=>{const e=s;console[e(617)](t),this[e(752)](),n&&(this[e(688)]=n),this[e(751)]=!0})}[Xt(715)](t,e){const i=Xt,s=this[i(616)][i(610)](t);return s.on(i(614),(t,i,n)=>e(i,n,s)),this[i(616)][i(636)](s),s}[Xt(752)](){const t=Xt;this[t(453)]=null,this[t(464)](),this[t(521)]&&this[t(521)][t(522)](),this[t(521)]=null,this[t(703)][t(638)](),this[t(693)][t(698)][t(741)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(693)][i(698)][i(628)][i(749)]())e[i(684)](t)})}[Xt(697)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(693)][e(698)][e(628)][e(749)]()){const n=this[e(693)][e(527)][e(450)][e(461)](t);if(!n)continue;const r=n[e(531)]()[e(480)](0);r&&(i[e(608)](t),s[e(679)](t,r))}return i[e(757)]((t,i)=>{const n=e,r=s[n(734)](t),o=s[n(734)](i);return r.y-o.y||r.x-o.x}),(t=t[e(685)](t=>i[e(584)](t[e(719)])))[e(757)]((t,s)=>i[e(554)](t[e(719)])-i[e(554)](s[e(719)])),t}[Xt(509)](t){const e=Xt,i=Array[e(634)](t[e(515)])[e(685)](([t,i])=>t[e(663)](e(724))&&!i[e(747)]),s=Array[e(634)](this[e(693)][e(698)][e(750)](t)[e(658)]({singleCharacters:!0}));if(0!=i[e(743)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(466)](":");if(n[e(613)][e(635)](t[e(706)])&&i[e(545)](),(t[e(690)][e(635)](n[e(497)])||t[e(690)][e(501)](n[e(497)]))&&(e(764)==r?t[e(661)]={userId:o}:e(465)==r&&(t[e(708)]={userId:o})),0==i[e(743)])break}return s}[Xt(523)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(743)];s++)e(576)===t[s][e(516)]?(t[s][e(480)][e(648)]=s,t[s][e(480)][e(481)]=s):(e(754)===t[s][e(516)]?t[s][e(480)][e(648)]=s:e(517)===t[s][e(516)]&&(t[s][e(480)][e(481)]=s),i[e(679)](t[s].id,s));for(const s of i[e(666)]())e(754)===t[s][e(516)]?t[s][e(480)][e(481)]=i[e(734)](t[s][e(761)]):e(517)===t[s][e(516)]&&(t[s][e(480)][e(648)]=i[e(734)](t[s][e(761)]))}[Xt(627)](t){const e=Xt;for(let i=0;i<t[e(743)];i++){if(e(754)===t[i][e(516)])t[i][e(480)][e(648)]=i;else if(e(517)===t[i][e(516)]){t[i][e(480)][e(481)]=i;const s=t[i][e(480)][e(648)];t[s][e(761)]=t[i].id,t[i][e(761)]=t[s].id}else t[i][e(480)][e(648)]=i,t[i][e(480)][e(481)]=i,t[i][e(761)]=null;t[i][e(484)]||(t[i][e(484)]=[],t[i][e(632)]=[])}}[Xt(742)](t,e){const i=Xt,s=t[i(685)](t=>!t[i(661)]);for(let t=0;t<e[i(743)];t++)e[t][i(661)]&&(s[t][i(661)]=e[t][i(661)])}[Xt(589)](t,e=null){const i=Xt,s=this[i(616)][i(440)](t),n=e?this[i(616)][i(440)](e):null,r=this[i(732)](s,n),o=r[r[i(743)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(743)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(669)](e[i(682)]))if(e[i(682)][t][i(567)]){const s=e[i(682)][t][i(567)];s[i(586)]?(u[i(557)](t),l[i(591)](t)&&l[i(734)](t)[i(590)]==s[i(590)]?l[i(733)](t):l[i(679)](t,s)):l[i(591)](t)?(u[i(733)](t),l[i(733)](t)):(u[i(557)](t),l[i(679)](t,s))}else u[i(557)](t)}for(const t of u){const e=l[i(591)](t)&&!l[i(734)](t)[i(586)];let s=e?r[i(743)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(682)][t]){const s=e?o[i(682)][t][i(518)]:o[i(682)][t][i(508)];c[i(449)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(698)]={};for(const e of t[i(686)])a[i(679)](e.id,e);for(const e of u){const s=t[i(682)][e]?t[i(682)][e][i(702)]:"[]",n=t[i(682)][e]?t[i(682)][e][i(655)]:"[]";t[i(698)][e]={insertions:this[i(524)][i(441)](s),deletions:this[i(524)][i(441)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(634)](s[i(698)][t][i(702)][i(515)])[i(685)](([t])=>!t[i(663)](i(724))));let h=0;for(const o of r){const r=this[i(509)](o[i(698)][t][i(702)]);o==s?(e=r,n=e[i(743)],e[i(551)](t=>{t.id=h++}),this[i(627)](e)):this[i(742)](e,r);const a=e[i(685)](t=>!t[i(661)])[i(573)](t=>t.id);let c=0;const l=this[i(509)](o[i(698)][t][i(655)]);l[i(551)](t=>{t[i(708)]?t.id=n++:t.id=a[c++]}),this[i(627)](l),this[i(578)](e,i(661)),this[i(578)](l,i(708)),o==s&&this[i(482)](e,u),e=this[i(559)](e,l),this[i(523)](e),this[i(578)](e,i(708))}e=e[i(685)](t=>!(t[i(661)]&&t[i(708)]));const d=new Map(o[i(698)][t][i(655)][i(515)]),f=new Set(u[i(669)]());for(const t of d[i(669)]())f[i(733)](t);this[i(689)](e,f),this[i(765)](e),e=this[i(745)](e),e=this[i(443)](e),e=this[i(671)](e);const{root:m,changes:p}=this[i(556)](e,a,t);c[i(698)][t]=m;const v=l[i(734)](t);if(v){const e=a[i(734)](v[i(590)]),s=new Ht({author:e,type:v[i(586)]?i(557):i(528),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(541)](s),c[i(449)][t][i(621)]=s.id}c[i(672)]=c[i(672)][i(602)](p)}return c}[Xt(482)](t,e){const i=Xt;for(let s=0;s<t[i(743)];s++)for(const[n,r]of e)!r[i(747)]&&r[i(497)][i(635)](t[s][i(690)])&&t[s][i(484)][i(608)](n),r[i(613)][i(635)](t[s][i(706)])&&t[s][i(632)][i(608)](n)}[Xt(559)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(743)]||r<e[i(743)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(608)](o);else if(a[i(708)]&&o[i(661)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(454)](t,n,e,r);s=s[i(602)](o),n=a,r=c}else a[i(708)]?(r++,s[i(608)](a)):(n++,s[i(608)](o))}return s}[Xt(689)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(743)];o++){for(let r=0;r<t[o][i(484)][i(743)];r++){const a=t[o][i(484)][r];if(!e[i(591)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(498)!=c||i(764)!=u&&i(465)!=u||(s[i(541)]({type:u,name:a,userId:l}),t[o][i(484)][i(756)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(632)][i(743)];r++){const a=t[o][i(632)][r];if(!e[i(591)](a))continue;const{group:c,type:u}=n(a);if(i(498)!=c||i(764)!=u&&i(465)!=u)continue;t[o][i(632)][i(756)](r,1),r--;const l=s[i(581)](t=>t[i(603)]==a);l>-1&&s[i(756)](l,1)}}function n(t){const e=i,s=t[e(466)](":");return{group:s[0],type:s[1],subType:s[e(743)]>=5?s[2]:null,id:s[e(743)]<5?s[2]:s[3],authorId:s[e(743)]<5?s[3]:s[4],markerCount:6==s[e(743)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(743)];i++){if(t[e(661)]&&e(764)==s[i][e(516)]&&t[e(661)][e(590)]==s[i][e(590)])return t[e(696)]=s[i],void delete t[e(661)];if(!t[e(661)]&&!t[e(708)]&&e(465)==s[i][e(516)])return void(t[e(582)]=s[i])}}}[Xt(578)](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(679)](o.id,s);for(let s=0;s<t[i(743)];s++){if(i(708)==e&&t[s][i(661)]||i(661)==e&&t[s][i(708)])continue;if(i(576)==t[s][i(516)]){t[s][i(538)]=0;continue}const n=r[i(734)](t[s][i(761)]),o=r[i(734)](t[s].id);t[s][i(538)]=n-o}}[Xt(732)](t,e,i=!1){const s=Xt,n=[];let r=this[s(616)][s(763)](t),o=this[s(616)][s(763)](e);for(-1==o&&(o=this[s(616)][s(643)][s(743)],i=!1);r<o;)n[s(608)](this[s(616)][s(440)](r)),r++;return i&&n[s(608)](this[s(616)][s(440)](r)),n}[Xt(454)](t,e,i,s){const n=Xt,r=this[n(693)][n(698)][n(577)];let o=e;for(;t[o]&&t[o][n(661)];)o++;let a=s;for(;i[a]&&i[a][n(708)];)a++;u(t,e,o),u(i,s,a);const c=i[n(596)](s,a)[n(602)](t[n(596)](e,o));return c[n(757)]((t,e)=>t[n(536)]!=e[n(536)]?t[n(536)]-e[n(536)]:t[n(717)]!=e[n(717)]?t[n(717)]-e[n(717)]:t[n(538)]!=e[n(538)]?e[n(538)]-t[n(538)]:!!t[n(661)]!=!!e[n(661)]?-1==t[n(536)]||0==t[n(536)]?t[n(661)]?-1:1:t[n(661)]?1:-1:t[n(670)]-e[n(670)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(500)],c=!0;for(let n=e;n<i;n++)if(r[s(514)](t[n][s(480)])||(c=!1),t[n][s(480)][s(648)]<e&&(o=n),t[n][s(480)][s(481)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(536)]=n<=o?-1:n<a?0:1,t[n][s(670)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(538)]?t[i][s(717)]=u:(u++,t[i][s(717)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(536)]&&(t[n][s(717)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(538)]?t[e][s(717)]=u:(u--,t[e][s(717)]=u,u--)}}[Xt(765)](t){const e=Xt,i=new Map,s=this[e(693)][e(698)][e(577)];for(let n=1;n<t[e(743)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(576)==c[e(516)])continue;if(c[e(516)]!=u[e(516)])continue;if(!s[e(729)](u[e(480)])||s[e(736)](u[e(480)]))continue;if(!s[e(729)](c[e(480)])||s[e(736)](c[e(480)]))continue;if((t[n][e(661)]||t[n][e(696)])&&t[n-1][e(708)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(708)]||!t[n-1][e(661)]&&!t[n-1][e(696)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(717)]==o[e(717)],h=Math[e(674)](r[e(717)])<Math[e(674)](o[e(717)])&&0==o[e(538)];(l||h)&&(i[e(679)](o.id,r.id),t[e(756)](a,1),n--,r[e(661)]=!1)}for(let s=0;s<t[e(743)];s++)i[e(591)](t[s][e(761)])&&(t[s][e(761)]=i[e(734)](t[s][e(761)]))}[Xt(745)](t){const e=Xt,i=new Set(t[e(573)](t=>t.id));for(let s=0;s<t[e(743)];s++)i[e(591)](t[s][e(761)])||0==t[s][e(538)]||(t[s][e(746)]=!0);return t[e(685)](t=>!t[e(746)])}[Xt(443)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(743)];s++){if(i[e(591)](t[s].id)&&t[s][e(708)]&&(t[s][e(746)]=!0),t[s][e(746)])continue;if(0==t[s][e(538)])continue;if(e(754)!=t[s][e(516)])continue;if(null==t[s][e(761)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(761)];)e(754)==t[n][e(516)]?r++:e(517)==t[n][e(516)]&&r--,n++;if(0!=r)if(t[s][e(708)])t[s][e(746)]=!0;else for(;n!=s;)t[n][e(708)]&&0!=t[n][e(538)]&&(t[n][e(746)]=!0,i[e(557)](t[n][e(761)])),n--}return t[e(685)](t=>!t[e(746)])}[Xt(671)](t){const e=Xt,i=this[e(693)][e(698)][e(577)];for(let s=0;s<t[e(743)];s++){if(!(t[s][e(661)]||t[s][e(696)]||t[s][e(708)]||t[s][e(582)]))continue;if(0==t[s][e(538)])continue;const n=t[s][e(480)];i[e(729)](n)||i[e(736)](n)||(t[s][e(661)]&&delete t[s][e(661)],t[s][e(696)]&&delete t[s][e(696)],t[s][e(582)]&&delete t[s][e(582)],t[s][e(708)]&&(t[s][e(746)]=!0))}return t[e(685)](t=>!t[e(746)])}[Xt(556)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(693)][s(698)],c=a[s(577)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(743)];e++)if(s(754)===t[e][s(516)]){t[e][s(690)]=a[s(483)](n,f);const i=new Z.Element(t[e][s(480)][s(603)],t[e][s(480)][s(647)]());u[0][s(442)](i),f[s(608)](0),u[s(541)](i),t[e][s(706)]=a[s(483)](n,f)}else s(517)===t[e][s(516)]?(u[s(545)](),t[e][s(690)]=a[s(483)](n,f),f[s(485)](),f[f[s(743)]-1]++,t[e][s(706)]=a[s(483)](n,f)):(t[e][s(690)]=a[s(483)](n,f),d?d[s(486)]+=t[e][s(480)][s(605)]:d=new Z.Text(t[e][s(480)][s(605)],t[e][s(480)][s(647)]()),t[e+1]&&s(576)===t[e+1][s(516)]&&v(d,t[e+1][s(480)])||(u[0][s(442)](d),d=null),f[f[s(743)]-1]+=t[e][s(480)][s(759)],t[e][s(706)]=a[s(483)](n,f));for(let e=0;e<t[s(743)];e++){const i=t[e][s(690)],n=t[e][s(706)];for(const n of t[e][s(484)])o[s(679)](n,{start:i,end:null});m(s(582),e,i,n),m(s(696),e,i,n),m(s(708),e,i,n),m(s(661),e,i,n);for(const i of t[e][s(632)]){const t=o[s(734)](i);t?t[s(613)]=n:o[s(679)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(693)][s(698)][s(618)](e[s(497)],e[s(613)]);n[s(515)][s(679)](t,i)}return r[s(757)]((t,e)=>{const i=s,r=n[i(515)][i(734)](i(724)+t.id),o=n[i(515)][i(734)](i(724)+e.id);return r[i(497)][i(526)](o[i(497)])?-1:r[i(497)][i(501)](o[i(497)])?1:r[i(613)][i(526)](o[i(613)])?-1:r[i(613)][i(501)](o[i(613)])?1:i(557)===t[i(516)]?-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(590)]:null,d=i===t[o(743)]-1,f=h[e][0],m=c[o(511)](t[i][o(480)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(613)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(590)]!==u&&(l[e][o(613)]=n,f&&f[o(590)]===l[e][o(590)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(754)!==t[i][o(516)]||f&&f[o(590)]===u||h[e][o(541)]({userId:u,object:t[i][o(480)],change:l[e]}),o(517)===t[i][o(516)]&&f&&f[o(491)]===t[i][o(480)]&&(h[e][o(545)](),l[e]=f[o(574)])),l[e]&&d&&(l[e][o(613)]=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(480)],f=a[h(577)][h(729)](d)&&!a[h(577)][h(736)](d),m=t[h(512)]==o[h(740)]&&o[h(637)];if(f&&m)return;const p=a[h(618)](t,o),v=e[h(734)](u),g=new Ht({author:v,type:h(661)==l||h(696)==l?h(557):h(528),data:{isSuggestion:h(696)==l||h(582)==l},createdAt:new Date,rootName:i});r[h(608)](g),n[h(515)][h(679)](h(724)+g.id,p)}function v(t,e){const i=s,n=t[i(647)](),r=e[i(647)]();for(const t of n){if(t[1]!==e[i(532)](t[0]))return!1;r[i(520)]()}return r[i(520)]()[i(659)]}}[Xt(626)](){const t=Xt;this[t(693)][t(716)][t(723)](t(563))[t(575)]({view:t(488)}),this[t(693)][t(716)][t(723)](t(506))[t(631)]({model:t(488),view:e=>{const i=t,s=e[i(680)][i(466)](":")[1],n=this[i(657)](s);if(!n)return null;const r=i(557)==n[i(516)]?i(764):i(465),o=[i(633),i(722)+r];return n[i(605)][i(623)]&&o[i(608)](i(722)+r+i(467)),this[i(453)]==n&&o[i(608)](i(569)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(693)][t(716)][t(723)](t(563))[t(557)](e=>{const i=t;e.on(i(622),(t,e,s)=>{const n=i,r=e[n(503)][n(721)](0);if(!r||!r.is(n(460),n(675)))return;if(!s[n(755)][n(469)](r,{attributes:[n(701),n(725)]}))return;const o=e[n(458)][n(497)][n(512)];s[n(656)][n(699)](n(701),r[n(532)](n(701)),o),s[n(656)][n(699)](n(725),r[n(532)](n(725)),o)},{priority:i(710)})}),this[t(693)][t(716)][t(723)](t(563))[t(557)](e=>{const i=t;e.on(i(460),(t,e,s)=>{const n=i;if(!s[n(755)][n(469)](e[n(503)],{attributes:[n(701),n(725)]}))return;if(e[n(458)][n(747)])return;const r=e[n(458)][n(497)][n(512)];r[n(534)](n(701))||r[n(534)](n(683))||(s[n(656)][n(699)](n(701),e[n(503)][n(532)](n(701)),r),s[n(656)][n(699)](n(725),e[n(503)][n(532)](n(725)),r))},{priority:i(710)})}),this[t(693)][t(716)][t(723)](t(563))[t(447)]({view:{name:t(471),attributes:{vid:!0}},model:{key:t(683),value:e=>e[t(532)](t(683))}}),this[t(693)][t(698)][t(577)].on(t(544),(e,[,i])=>{const s=t;[s(701),s(725),s(683)][s(584)](i)&&(e[s(677)]=!0,e[s(653)]())},{priority:t(475)}),this[t(693)][t(716)][t(723)](t(473))[t(557)](e=>{const i=t;e.on(i(748),(t,e,s)=>{const n=i;if(" "!=e[n(480)][n(605)]||e[n(480)][n(740)][n(570)]>1)return;if(!s[n(755)][n(469)](e[n(480)],t[n(603)]))return;const r=s[n(656)],o=s[n(564)][n(525)](e[n(704)]);r[n(533)](o,r[n(505)](n(471)))})}),this[t(693)][t(716)][t(723)](t(473))[t(728)]({model:t(488)}),this[t(693)][t(527)][t(600)].on(t(668),function(e){const i=t,s=e[i(714)][i(734)](i(665));return(t,n,r)=>{const o=i,a=n[o(680)][o(466)](":")[1],c=s[o(657)](a);if(!c)return null;const u=o(557)==c[o(516)]?o(466):o(673);if(!r[o(755)][o(489)](n[o(642)],t[o(603)]))return;const l=n[o(642)][o(658)](),h=n[o(642)][o(497)],d=e[o(698)][o(577)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(480)];p=p||d[o(595)](e);const i=r[o(564)][o(502)](e);if(i&&i[o(579)](o(726)))return;o(517)==t[o(516)]&&d[o(729)](e)&&!d[o(736)](e)&&(e[o(694)]||h[o(462)]?f&&f[o(740)]==e||(f=e,g(t[o(690)]),v=!0):m=m||t[o(690)])}function g(t){const e=o,i=r[e(656)][e(459)](e(471),{class:e(722)+u}),a=r[e(564)][e(649)](t);c[e(605)][e(623)]&&r[e(656)][e(543)](e(722)+u+e(467),i),s[e(453)]==c&&r[e(656)][e(543)](e(569),i),r[e(656)][e(592)](a,i),r[e(564)][e(583)](i,n[e(680)])}p||v||!m||g(m)}}(this[t(693)]),{priority:t(537)}),this[t(693)][t(527)][t(600)].on(t(456),(e,i,s)=>{const n=t,r=s[n(564)][n(731)](i[n(680)]);if(r)for(const t of r)(t[n(676)](n(507))||t[n(676)](n(546)))&&(s[n(564)][n(539)](t,i[n(680)]),s[n(656)][n(528)](t))},{priority:t(537)}),this[t(693)][t(527)][t(600)].on(t(668),(e,i,s)=>{const n=t,r=i[n(680)][n(466)](":")[1],o=this[n(657)](r);if(!o)return null;const a=n(557)==o[n(516)]?n(466):n(673);if(s[n(755)][n(489)](i[n(642)],e[n(603)]))for(const t of i[n(642)][n(439)]()){if(!t.is(n(460),n(477)))continue;const e=s[n(656)][n(459)](n(471),{class:n(722)+a}),r=s[n(564)][n(649)](this[n(693)][n(698)][n(438)](t));o[n(605)][n(623)]&&s[n(656)][n(543)](n(722)+a+n(467),e),this[n(453)]==o&&s[n(656)][n(543)](n(569),e),s[n(656)][n(592)](r,e),s[n(564)][n(583)](e,i[n(680)])}},{priority:t(537)}),this[t(693)][t(698)][t(628)].on(t(574),()=>{const e=t;this[e(693)][e(527)][e(450)][e(574)](t=>{const i=e;for(const e of this[i(693)][i(698)][i(628)][i(749)]()){const s=this[i(693)][i(698)][i(628)][i(519)](e),n=this[i(693)][i(527)][i(450)][i(628)][i(519)](e);if(n){const e=s[i(532)](i(621));if(t[i(529)](i(549),n),t[i(639)](i(727),n),t[i(639)](i(451),n),t[i(639)](i(678),n),e){const s=this[i(657)](e);if(!s)return null;t[i(699)](i(549),e,n),t[i(543)](i(641)+s[i(516)],n),this[i(453)]==s&&t[i(543)](i(678),n)}}}})}),this[t(693)][t(716)][t(723)](t(563))[t(575)]({view:t(738),model:e=>t(470)+e,converterPriority:t(475)}),this[t(693)][t(716)][t(723)](t(563))[t(575)]({view:t(513),model:e=>t(535)+e,converterPriority:t(475)}),this[t(693)][t(716)][t(723)](t(473))[t(728)]({model:t(498),view:e=>({name:t(472)+e,group:t(498)}),converterPriority:t(475)}),this[t(693)][t(716)][t(723)](t(506))[t(631)]({model:t(498),view:e=>{const i=t,s=e[i(680)][i(466)](":")[1];return i(764)!=s&&i(465)!=s?null:{classes:[i(568),i(555)+s]}}}),this[t(693)][t(527)][t(600)].on(t(607),ie(this[t(693)],t(673)),{priority:t(537)}),this[t(693)][t(527)][t(600)].on(t(540),ie(this[t(693)],t(466)),{priority:t(537)}),this[t(693)][t(527)][t(600)].on(t(530),(e,i,s)=>{const n=t,r=s[n(564)][n(731)](i[n(680)]);if(r)for(const t of r)t.is(n(561))&&(s[n(564)][n(539)](t,i[n(680)]),s[n(656)][n(528)](t))},{priority:t(537)})}[Xt(657)](t){const e=Xt;return this[e(703)][e(734)](t)}[Xt(712)](t){const e=Xt;return this[e(521)]&&this[e(521)][e(522)](),this[e(521)]=new Pt(this[e(693)][e(463)],t),this[e(521)]}[Xt(735)](){const t=Xt;this[t(693)][t(698)][t(628)][t(687)][t(730)](t(488)),this.on(t(457),(e,i,s,n)=>{const r=t;n&&this[r(598)][r(528)](n),s&&(this[r(598)][r(557)]({view:s,stackId:r(630),position:{target:()=>{const t=r,e=this[t(693)][t(527)],i=this[t(657)](s[t(604)]);let n;if(i[t(605)][t(646)]){const s=e[t(450)][t(461)](i[t(719)]);n=Array[t(634)](s[t(531)]())}else{const i=this[t(693)][t(698)][t(515)][t(734)](t(724)+s[t(604)]);n=Array[t(634)](e[t(564)][t(731)](i[t(603)]))[t(573)](i=>e[t(450)][t(619)][t(652)](i))[t(573)](e=>Array[t(634)](e[t(531)]()))[t(644)]()}return this[t(629)]&&n[t(479)](e=>e[t(547)]-3<=this[t(629)].y&&e[t(585)]+3>=this[t(629)].y&&e[t(651)]-3<=this[t(629)].x&&e[t(504)]+3>=this[t(629)].x)||n[0]}}}),this[r(598)][r(612)](r(630)))}),this.on(t(753),(e,i,s,n)=>{const r=t;this[r(615)]=s?this[r(712)](s):null,this[r(693)][r(698)][r(574)](()=>{const t=r,e=this[t(693)][t(527)];n&&(n[t(605)][t(646)]?e[t(450)][t(574)](i=>{const s=t;i[s(639)](s(678),e[s(450)][s(628)][s(519)](n[s(719)]))}):e[t(468)](t(724)+n.id)),s&&(s[t(605)][t(646)]?e[t(450)][t(574)](i=>{const n=t;i[n(543)](n(678),e[n(450)][n(628)][n(519)](s[n(719)]))}):e[t(468)](t(724)+s.id))})}),this[t(718)](this[t(693)][t(527)][t(450)][t(628)],t(695),(e,i)=>{const s=t;if(this[s(453)])return;const n=this[s(565)](i[s(445)]),r=this[s(703)][s(734)](n);r?(this[s(629)]={x:i[s(650)].x,y:i[s(650)].y},this[s(615)]=this[s(712)](r)):(this[s(629)]=null,this[s(615)]=null)}),this[t(718)](this[t(693)][t(527)][t(450)][t(628)],t(490),(e,i)=>{const s=t,n=this[s(565)](i[s(445)]),r=this[s(703)][s(734)](n);r?(this[s(629)]={x:i[s(650)].x,y:i[s(650)].y},r===this[s(453)]?this[s(598)][s(720)]():this[s(453)]=r):(this[s(629)]=null,this[s(453)]=null)})}[Xt(565)](t){const e=Xt;do{const i=t[e(532)](e(549));if(i)return i;t=t[e(740)]}while(t);return null}[Xt(464)](){const t=Xt;this[t(693)][t(698)][t(574)](e=>{const i=t;for(const t of this[i(693)][i(698)][i(515)])e[i(737)](t)})}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(755)][r(489)](s[r(642)],i[r(603)]))return;const o=s[r(642)][r(658)](),a=s[r(642)][r(497)],c=t[r(698)][r(577)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(480)];h=h||c[r(595)](e);const i=n[r(564)][r(502)](e);if(i&&i[r(579)](r(726)))return;r(517)==t[r(516)]&&c[r(729)](e)&&!c[r(736)](e)&&(e[r(694)]||a[r(462)]?u&&u[r(740)]==e||(u=e,f(t[r(690)]),d=!0):l=l||t[r(690)])}function f(t){const i=r,o=n[i(564)][i(649)](t),a=n[i(656)][i(459)](i(471),{class:i(555)+e});n[i(656)][i(592)](o,a),n[i(564)][i(583)](a,s[i(680)])}h||d||!l||f(l)}}class se extends W.Command{constructor(t){const e=Xt;super(t);const i=t[e(714)][e(734)](ee);this[e(744)]=!1,this[e(718)](i,e(664),()=>this[e(705)]()),this[e(718)](i,e(452),()=>this[e(705)]())}[Xt(709)](){const t=Xt,e=this[t(693)],i=e[t(714)][t(734)](ee),s=i[t(751)]?i[t(688)][t(593)]:null;e[t(446)][t(734)](t(587))[t(692)](s)}[Xt(705)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(693)][t(714)][t(734)](ee),r=n&&s[t(713)](n[t(593)]);this[t(640)]=e&&i&&Boolean(r)}}class ne extends W.Command{[Xt(588)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(714)][i(734)](ee);this[i(744)]=!1,this[i(588)]=i(448)===e?1:-1,this[i(718)](s,i(664),()=>this[i(705)]()),this[i(718)](s,i(452),()=>this[i(705)]()),this[i(718)](s,i(753),()=>this[i(705)]())}[Xt(709)](){const e=Xt,i=this[e(693)],s=i[e(714)][e(734)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(453)]=n?s[e(688)][e(672)][e(734)](r+this[e(588)]):s[e(688)][e(672)][e(510)],s[e(453)][e(605)][e(646)])o=i[e(527)][e(450)][e(461)](s[e(453)][e(719)]);else{const t=i[e(698)][e(515)][e(734)](e(724)+s[e(453)].id);o=(0,H.getMarkerDomElement)(i[e(527)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(705)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(693)][t(714)][t(734)](ee);this[t(640)]=!!(r&&n&&s)&&(!e||(1===this[t(588)]?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-=427]})(t,e)}function ce(){const t=["NUMBER_OF_CHANGES","_statusText","div","2cgewFJ","bindTemplate","X_OF_Y_CHANGES","Total","ck-hidden","currentChangeNumber","12972624pEGLpA","3590370JbtdPN","forward","5614230lWVOxp","ck-revision-history-ui__changes-navigation__navigation","749FsAzcs","_isStatusLabelVisible","span","setTemplate","Loading...","7299790fQjUTC","Show previous change","11OQFeXf","isNavigationMode","isEnabled","ck-revision-history-ui__changes-navigation__label","1006977ujLUnI","numberOfChanges","execute","ck-revision-history-ui","1754888VJeTfC","10626opTABg","fire","ck-revision-history-ui__changes-navigation__wrapper","isReady","set","isForwardNavigationEnabled","EDIT_X_OF_Y_REVISIONS","backward","bind","No changes","ck-revision-history-ui__changes-navigation","4yWAUsn","isBackwardNavigationEnabled","Show next change"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(963985===-parseInt(e(445))/1+parseInt(e(463))/2*(-parseInt(e(441))/3)+parseInt(e(457))/4*(parseInt(e(435))/5)+-parseInt(e(446))/6*(parseInt(e(430))/7)+parseInt(e(469))/8+-parseInt(e(470))/9+parseInt(e(428))/10*(parseInt(e(437))/11))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(464)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(450)](e(438),!1),this[e(450)](e(449),!1),this[e(450)](e(468),0),this[e(450)](e(442),0),this[e(450)](e(451),!1),this[e(450)](e(458),!1),this[e(454)](e(431)).to(this,e(449),this,e(442),(t,e)=>t&&e>0),this[e(454)](e(461)).to(this,e(449),this,e(468),this,e(442),this,e(438),(i,s,n,r)=>{const o=e;if(!i)return Q(t,o(434));if(!n)return Q(t,o(455));const a=Q(t,o(460),n);return r?Q(t,o(465),[s+1,n]):a}),s[e(450)]({label:Q(t,e(436)),tooltip:!0,icon:mt.IconChevronUp}),n[e(450)]({label:Q(t,e(459)),tooltip:!0,icon:mt.IconChevronDown}),s[e(454)](e(439)).to(this,e(458)),n[e(454)](e(439)).to(this,e(451)),s.on(e(443),()=>this[e(447)](e(443),e(453))),n.on(e(443),()=>this[e(447)](e(443),e(427))),this[e(433)]({tag:e(462),attributes:{class:["ck",e(444),e(456)]},children:[{tag:e(432),attributes:{class:[e(448)]},children:[{tag:e(432),attributes:{class:[e(440),i.if(e(431),e(467),t=>!t)]},children:[{text:i.to(e(438),i=>i?Q(t,e(452))+": ":Q(t,e(466))+": ")}]},{text:i.to(e(461))}]},new pt.ToolbarSeparatorView,{tag:e(462),attributes:{class:[e(429)]},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(){const t=["11gXciBa","show","removeClass","document","hide","3389667OrfAVK","roots","701300mMXMhV","38275nwUUzu","81vutEZN","isPremiumPlugin","944rahGEL","3475074unOuEU","1359242fRBjsv","ck-editor__editable__loading-overlay","19494084cqwbnJ","2iUwLra","52325FTQrNt","change","pluginName","editing","addClass","view","692ABNJHa","RevisionViewerLoadingOverlay","editor","isOfficialPlugin"];return(de=function(){return t})()}function fe(t,e){const i=de();return(fe=function(t,e){return i[t-=432]})(t,e)}const me=fe;!function(t){const e=fe,i=t();for(;;)try{if(787990===-parseInt(e(444))/1+parseInt(e(447))/2*(-parseInt(e(436))/3)+parseInt(e(454))/4*(parseInt(e(439))/5)+parseInt(e(443))/6+-parseInt(e(448))/7*(parseInt(e(442))/8)+-parseInt(e(440))/9*(-parseInt(e(438))/10)+-parseInt(e(458))/11*(-parseInt(e(446))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const pe=me(445);class ve extends W.Plugin{static get[me(450)](){return me(455)}static get[me(457)](){return!0}static get[me(441)](){return!0}[me(432)](){const t=me,e=this[t(456)][t(451)][t(453)];e[t(449)](i=>{const s=t;for(const t of e[s(434)][s(437)])i[s(452)](pe,t)})}[me(435)](){const t=me,e=this[t(456)][t(451)][t(453)];e[t(449)](i=>{const s=t;for(const t of e[s(434)][s(437)])i[s(433)](pe,t)})}}const ge=ye;function ye(t,e){const i=be();return(ye=function(t,e){return i[t-=286]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(448920===parseInt(e(320))/1*(-parseInt(e(304))/2)+parseInt(e(326))/3+parseInt(e(315))/4*(-parseInt(e(316))/5)+-parseInt(e(324))/6+parseInt(e(312))/7*(-parseInt(e(289))/8)+-parseInt(e(288))/9+parseInt(e(290))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);class ke extends W.Plugin{static get[ge(292)](){return ge(314)}static get[ge(308)](){return!0}static get[ge(295)](){return!0}static get[ge(307)](){return[ee,ve]}[ge(287)](){const t=ge,e=this[t(299)],i=e[t(319)][t(327)](ee),s=e[t(319)][t(327)](ve);e.ui[t(302)][t(298)](t(330),i=>{const s=t,n=new pt.ButtonView(i);return n[s(297)]({label:Q(i,s(333)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(300)}),this[s(323)](n,s(306),()=>{const t=s;e[t(291)][t(327)](t(305))[t(303)]()}),n}),e.ui[t(302)][t(298)](t(310),i=>{const s=t,n=new pt.ButtonView(i);return n[s(297)]({label:Q(i,s(328)),withText:!0,tooltip:!0}),n[s(309)](s(301)).to(e[s(325)][s(327)](s(310))),this[s(323)](n,s(306),()=>e[s(306)](s(310))),n}),e.ui[t(302)][t(298)](t(332),s=>{const n=t,r=new ue(s),o=e[n(325)][n(327)](n(318)),a=e[n(325)][n(327)](n(296));return r[n(309)](n(317)).to(o,n(301)),r[n(309)](n(321)).to(a,n(301)),r[n(309)](n(329),n(322),n(294),n(311)).to(i),this[n(323)](r,n(306),(t,i)=>{const s=n;e[s(306)](s(331)===i?s(296):s(318))}),r}),s[t(293)](),i.on(t(313),(e,i,n)=>{const r=t;n?s[r(286)]():s[r(293)]()})}}function be(){const t=["currentChangeNumber","listenTo","1848dYlIGq","commands","215109zPGwrc","get","Restore this revision","isReady","exitToEditing","forward","changesNavigation","Back to editing","hide","init","7622307ypjaZD","11552QlNFdU","29827540cpKpik","config","pluginName","show","numberOfChanges","isPremiumPlugin","showNextChange","set","add","editor","ck-revision-history-ui__back-to-editing","isEnabled","componentFactory","closeRevisionViewerCallback","2LaWZnp","revisionHistory","execute","requires","isOfficialPlugin","bind","restoreRevision","isNavigationMode","756tNZkvM","change:isReady","RevisionViewerUI","20MOFeVv","836975pcXeFJ","isBackwardNavigationEnabled","showPreviousChange","plugins","765379hHlUCn","isForwardNavigationEnabled"];return(be=function(){return t})()}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=["value","12zzsHWV","3224454mSycRB","29251izmimI","extendTemplate","_resizeObserver","4068224sKmrVr","scrollWidth","1614775mZFEZT","Enter the revision name","ck-tooltip_multi-line","element","174468TGfKJh","placeholder","span","set","Revision name","input","fieldView","clientWidth","render","3105613oEcMzh","_updateTooltipText","ck-revision-history-sidebar__revision-name","9yKfzbo","34yFdwNE","11653190OfRGSD","bindTemplate","_tooltipString","listenTo","destroy"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=166]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(324121===parseInt(e(182))/1*(parseInt(e(173))/2)+-parseInt(e(191))/3*(parseInt(e(180))/4)+-parseInt(e(187))/5+parseInt(e(181))/6+parseInt(e(169))/7+parseInt(e(185))/8+-parseInt(e(172))/9*(parseInt(e(174))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(184)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(175)];this[i(194)]({label:Q(t,i(195)),_tooltipString:""}),this[i(166)][i(192)]=Q(t,i(188)),this[i(183)]({tag:i(193),attributes:{class:[i(171)],"data-cke-tooltip-text":s.to(i(176)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(189)}})}[Ie(168)](){const e=Ie;super[e(168)](),this[e(184)]=new t.ResizeObserver(this[e(166)][e(190)],()=>this[e(170)]()),this[e(177)](this[e(166)],e(196),()=>this[e(170)]())}[Ie(178)](){const t=Ie;super[t(178)](),this[t(184)]&&this[t(184)][t(178)]()}[Ie(170)](){const t=Ie,e=this[t(166)][t(190)];this[t(176)]=e[t(186)]>e[t(167)]&&e[t(179)]||""}}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-=239]})(t,e)}function Ae(){const t=["push","span","setTemplate","7BBwWWU","7080cbuiGD","7117VEAREd","ck-revision-history-sidebar__revision-author_creator","1820IrImgH","103116xQVUmx","name","2161926nJNNCt","2748321wLwhce","ck-revision-history-sidebar__revision-author__name","set","4zqZnyW","Revision author","1365752SifmTF","620HhQPRC","Revision creator","113415uluUUw","ck-revision-history-sidebar__revision-author","0 0 11 10"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(426235===parseInt(e(246))/1+-parseInt(e(252))/2*(parseInt(e(257))/3)+parseInt(e(255))/4*(parseInt(e(245))/5)+parseInt(e(248))/6+-parseInt(e(241))/7*(parseInt(e(254))/8)+-parseInt(e(249))/9+parseInt(e(242))/10*(parseInt(e(243))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ee extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(251)]({content:mt.IconUser,viewBox:s(259)});const r=["ck",s(258)];i&&r[s(260)](s(244));const o=[{tag:s(239),attributes:{class:["ck",s(250)],title:Q(t,s(i?256:253))},children:[n,e[s(247)]]}];this[s(240)]({tag:"li",attributes:{class:r},children:o})}}function Ve(){var t=["1952SSCZPD","6RGYTYK","numeric","14206wUXuEj","4984150yMVuLv","16835753NhzHZR","142KrPuyC","long","52652064fqmPBY","10BrlFRC","8976897hAtFal","2217GMtvjF","13636hRfOXv","8056rSFmtK","toLocaleDateString","toLocaleTimeString"];return(Ve=function(){return t})()}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=477]})(t,e)}!function(t){for(var e=Me,i=t();;)try{if(951648===parseInt(e(487))/1*(-parseInt(e(490))/2)+-parseInt(e(479))/3*(parseInt(e(481))/4)+parseInt(e(488))/5*(-parseInt(e(485))/6)+parseInt(e(480))/7*(-parseInt(e(484))/8)+parseInt(e(478))/9*(-parseInt(e(477))/10)+parseInt(e(489))/11+parseInt(e(492))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["map","class","buttonView","Compare against selected","first","action","items","Restore this revision","source","isVisible","listenTo","menu","135873SoaKCN","add","bindTemplate","isOpen","name","locale","listView","execute","change:isActionsDropdownOpen","512235zGTCzb","button","ck-revision-history-sidebar__revision__actions","2362236AOqyHW","Show more items","99302RXsFNi","extendTemplate","bind","panelPosition","isEnabled","stopPropagation","4779384zhkgGw","Name this revision","function","find","isActionsDropdownOpen","menuitem","5036iNRGsE","50kTdITA","1938139vwOotg","_action","isReady","ck-on","set","children","model"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=487]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(331543===parseInt(e(516))/1+-parseInt(e(521))/2+-parseInt(e(507))/3+-parseInt(e(533))/4*(parseInt(e(487))/5)+-parseInt(e(519))/6+-parseInt(e(488))/7+parseInt(e(527))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=Ue;function Ue(t,e){const i=He();return(Ue=function(t,e){return i[t-=260]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(717293===parseInt(e(319))/1+parseInt(e(269))/2+parseInt(e(264))/3+-parseInt(e(267))/4+-parseInt(e(310))/5+parseInt(e(293))/6+-parseInt(e(307))/7*(parseInt(e(289))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);class We extends((0,H.ConfirmMixin)(pt.View)){id;[ze(273)];[ze(312)];[ze(280)];[ze(305)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(302)],a=function(t,e){const i=r,s=Array[i(292)](e[i(272)])[i(288)](t=>t!=e[i(303)]);return e[i(303)]&&s[i(274)](e[i(303)]),s[i(301)](s=>new Ee(t,s,s==e[i(303)]))}(e,i);this.id=i.id,this[r(280)]=i,this[r(305)]=n,this[r(291)](r(268),r(270)).to(i),this[r(291)](r(300)).to(this,r(270),t=>{return i=e[r(279)],(s=t)[(n=Me)(482)](i,{month:n(491),day:n(486)})+", "+s[n(483)](i,{hour:n(486),minute:n(486)});var i,s,n}),this[r(306)](r(311),!1),this[r(306)](r(321),!1),this[r(306)](r(282),!1),this[r(306)](r(304),!1),this[r(306)](r(262),!1),this[r(273)]=new Te(e,pt.createLabeledInputText),this[r(273)][r(276)][r(290)]({attributes:{maxlength:r(285)}}),this[r(273)][r(276)][r(291)](r(266)).to(this,r(268),t=>t||this[r(300)]),this[r(273)][r(291)](r(262)).to(this,r(311),this,r(262),(t,e)=>t&&e),this[r(312)]=s&&s[r(322)]?function(e,i){const s=je,n=e[s(509)],r=e[s(512)],o=(0,pt.createDropdown)(r);o[s(524)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(512)],n={"Compare against selected":Q(s,i(498)),"Name this revision":Q(s,i(528)),"Restore this revision":Q(s,i(502))};return e[i(495)](t=>{const e=i,s=n[t[e(511)]];return s&&s!==t[e(511)]&&(t[e(511)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(517),model:new pt.ViewModel({label:t[n(511)],class:t[n(496)],withText:!0,role:n(532),_action:t[n(500)]})};i[n(494)][n(523)](n(525)).to(e,n(531),i=>n(529)!=typeof t[n(525)]||!i||t[n(525)](e)),o[n(508)](i)}return o}(e,i);return e[s(523)](s(531)).to(o,s(510)),o[s(497)][s(492)]({label:Q(r,s(520)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(522)]({attributes:{class:[s(518),n.if(s(531),s(491))]},on:{click:n.to(t=>t[s(526)]())}}),o.on(s(514),t=>{const i=s;e[i(490)]&&i(529)==typeof t[i(503)][i(489)]&&t[i(503)][i(489)](e)}),(0,pt.addListToDropdown)(o,a,{role:s(506)}),o[s(505)](e,s(515),(t,n,r)=>{const a=s;if(r)for(const t of o[a(513)][a(501)]){const s=t[a(493)][a(499)],n=i[a(530)](t=>t[a(500)]===s[a(489)])[a(504)];t[a(504)]=void 0===n||n(e)}}),o}(this,s):"",this[r(312)]&&this[r(312)][r(291)](r(262)).to(this),this[r(271)]({tag:r(299),attributes:{class:["ck",r(261),r(308),o.if(r(286),r(313))]},children:[{tag:r(299),attributes:{class:["ck",r(261),r(287),o.if(r(262),r(316),t=>!t),o.if(r(311),r(260)),o.if(r(321),r(298)),o.if(r(282),r(315))]},children:[this[r(273)],{tag:r(281),attributes:{class:["ck",r(265)]},children:[{text:o.to(r(300))}]},{tag:r(299),attributes:{class:["ck",r(317)]},children:[{tag:"ul",attributes:{class:["ck",r(275)]},children:a}]},this[r(312)]],on:{click:o.to(t=>{const e=r;t[e(318)][e(297)](e(277))||this[e(304)]&&this[e(262)]&&this[e(263)](e(309),{id:this.id})})}}]})}[ze(314)](){const t=ze;super[t(314)]();const e=this[t(273)][t(276)][t(283)];this[t(295)](e,t(296),()=>{const i=t;this[i(305)]&&!e[i(266)]||this[i(263)](i(284),{id:this.id,name:e[i(266)]}),e[i(266)]||(e[i(266)]=this[i(268)]?this[i(268)]:this[i(300)])})}[ze(309)](){this[ze(311)]=!0}[ze(294)](){this[ze(311)]=!1}[ze(278)](){this[ze(321)]=!0}[ze(320)](){this[ze(321)]=!1}}function He(){const t=["_createdAtFormatted","map","bindTemplate","creator","isReady","_requireRevisionName","set","21yCDGtJ","ck-revision-history-sidebar__revision-wrapper","select","1877240clZyeK","isSelected","revisionActionsView","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","render","ck-revision-history-sidebar__actions_dropdown_open","ck-disabled","ck-revision-history-sidebar__revision__controls-wrapper","srcElement","868480RbwAPR","unhighlight","isHighlighted","length","ck-revision-history-sidebar__revision_selected","ck-reset","isEnabled","fire","4096053zhJfyI","ck-revision-history-sidebar__revision__date","value","4482104wAaggk","name","1528428llUkaB","createdAt","setTemplate","authors","revisionNameView","unshift","ck-revision-history-sidebar__revision-authors","fieldView",".ck-thread__remove-confirm","highlight","uiLanguage","_revision","span","isActionsDropdownOpen","element","setName","220","isConfirm","ck-revision-history-sidebar__revision","filter","3412184DSYUbA","extendTemplate","bind","from","2968746rGSMRK","deselect","listenTo","change","closest","ck-revision-history-sidebar__revision_highlighted","div"];return(He=function(){return t})()}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 Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const 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 Ei={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.DateTimeFormat(t,e),Ei[i]=s),s}let Mi={};let Di={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Es(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 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,Ei={},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=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return ji(this,t,Xs,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return ji(this,t,sn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return ji(this,void 0,()=>nn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return ji(this,t,cn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Ui}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${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"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){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=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function 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 Es(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 Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Us(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Ws(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Es(i,2)}:${Es(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Es(i,2)}${Es(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 Es(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 En(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 Vn={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(Vs(e)):Vs(e),month:Gs.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=Mn(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$/,jn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Zi.utcInstance]}const Un=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Wn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),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),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:$s(t,lr.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,En])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map(e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>lr.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of rr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||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(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex(t=>br(i)===br(t))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>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,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 Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function 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",Er=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function jr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function 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+=Es(t.c.year,i?6:4),e?(s+="-",s+=Es(t.c.month),s+="-",s+=Es(t.c.day)):(s+=Es(t.c.month),s+=Es(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Es(t.c.hour);return e?(o+=":",o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Es(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Es(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Es(Math.trunc(-t.o/60)),o+=":",o+=Es(Math.trunc(-t.o%60))):(o+="+",o+=Es(Math.trunc(t.o/60)),o+=":",o+=Es(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"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Wi.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]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null: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=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||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=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Wi.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Er||t>Er?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Wi.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,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,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,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Un,qn],[Wn,$n],[Hn,Bn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=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,qn],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,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=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Us(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Us(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Lr(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,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return Ur(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Ur(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ur(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Ur(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():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,s=io[i(189)](t)[i(193)](e),n=io[i(197)](),r=n[i(180)]({days:1})[i(199)](i(183));let o,a;return s[i(184)](n,i(183))?(o=s[i(199)](i(183))[i(201)](),a=s[i(176)]()):s[i(184)](r,i(183))?(o=r[i(201)](),a=s[i(176)]()):s[i(184)](n,i(196))?(o=s[i(199)](i(196))[i(201)](),a=s[i(179)]||""):s[i(184)](n,i(181))?(o=s[i(199)](i(195))[i(201)](),a=s[i(188)]||""):(o=s[i(199)](i(181))[i(201)](),a=String(s[i(181)])),{startDate:o,localizedPeriodName:a}}function ro(t,e){const i=oo();return(ro=function(t,e){return i[t-=176]})(t,e)}function oo(){const t=["toRelativeCalendar","8890QICpYv","5001UjKAUT","weekdayLong","minus","year","5457515jTsCVj","day","hasSame","1230FeeSVc","8267GRuwpb","96gqwAPP","monthLong","fromJSDate","67474UHnbYl","49NhgsJg","4455240kFXDVH","setLocale","3141WjVoRK","month","week","local","2105422GQsoCN","startOf","2792cOmBdc","toJSDate"];return(oo=function(){return t})()}!function(t){const e=ro,i=t();for(;;)try{if(924721===parseInt(e(191))/1*(parseInt(e(190))/2)+-parseInt(e(178))/3*(parseInt(e(200))/4)+-parseInt(e(182))/5+-parseInt(e(185))/6*(-parseInt(e(186))/7)+-parseInt(e(192))/8+parseInt(e(194))/9*(parseInt(e(177))/10)+parseInt(e(198))/11*(parseInt(e(187))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["_requireRevisionName","16kvUKOX","8793660BJmERG","57892PZJNMP","locale","uiLanguage","7272729vDiOXM","remove","removeRevision","setName","ck-revision-history-sidebar__time-period","480860YkdLvw","div","revisionViews","span","add","localizedPeriodName","delegate","select","startDate","85ZKXgqI","find","506mAYDyA","setTemplate","687214JKEzJP","addRevision","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period__revisions","_revisionActions","createCollection","281150cESKev","4587363qNoQyk","7UAwejt"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=413]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(952186===parseInt(e(431))/1+-parseInt(e(418))/2+-parseInt(e(438))/3+-parseInt(e(443))/4*(-parseInt(e(427))/5)+parseInt(e(442))/6*(parseInt(e(439))/7)+-parseInt(e(441))/8*(-parseInt(e(413))/9)+-parseInt(e(437))/10*(parseInt(e(429))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(426)];[uo(420)];[uo(435)];[uo(440)];constructor(t,e,i,s){const n=uo;super(t);const r=no(e,this[n(444)][n(445)])[n(423)];this[n(426)]=e,this[n(420)]=this[n(436)](),this[n(435)]=i,this[n(440)]=s,this[n(420)][n(424)](n(425)).to(this),this[n(420)][n(424)](n(416)).to(this),this[n(430)]({tag:n(419),attributes:{class:["ck",n(417)]},children:[{tag:n(421),attributes:{class:["ck",n(433)]},children:[{text:r}]},{tag:n(419),attributes:{class:["ck",n(434)]},children:this[n(420)]}]})}[uo(432)](t){const e=uo,i=new We(this[e(444)],t,this[e(435)],this[e(440)]);this[e(420)][e(422)](i)}[uo(415)](t){const e=uo,i=this[e(420)][e(428)](e=>e.id===t.id);this[e(420)][e(414)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["5132192pLQXmU","Revision history","12BNZntx","2228030ehiLtE","2170335bMSlXz","4NeljPt","211915ijxLQB","1858186gsQyKt","div","ck-revision-history-sidebar__header","content","span","ck-revision-history-sidebar__header__label","2564751OcLoeG","163940KADELy","setTemplate","36inhmFR","44araROh","ck-reset_all"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=166]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(566288===parseInt(e(173))/1*(-parseInt(e(182))/2)+-parseInt(e(172))/3+-parseInt(e(166))/4*(-parseInt(e(174))/5)+-parseInt(e(170))/6*(-parseInt(e(181))/7)+-parseInt(e(168))/8+-parseInt(e(184))/9*(-parseInt(e(171))/10)+parseInt(e(175))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(178)]=mt.IconHistory,this[e(183)]({tag:e(176),attributes:{class:["ck",e(167),e(177)]},children:[i,{tag:e(179),attributes:{class:["ck",e(180)]},children:[Q(t,e(169))]}]})}}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-=152]})(t,e)}function Io(){const t=["_removeRevision","fire","ck-revision-history-sidebar__timeline","57547rbCxbC","isEnabled","get","3521800fiOMPf","9pYSaRL","find","_revisions","revisionSelected","map","_requireRevisionName","_addRevision","90LIRfpP","ck-rounded-corners","add","flat","getTime","uiLanguage","revisionSetName","select","setName","ck-disabled","setTemplate","highlight","selectRevision","delegate","highlightRevisions","set","_getTimePeriodViewByStartDate","timePeriodViews","409594hAFnDd","locale","removeRevision","ck-revision-history-sidebar","some","124348qjSMTt","startDate","createdAt","render","bindTemplate","revisionViews","70CDzfGo","1292610bXbbgX","279346rJdzks","createCollection","ck-reset","remove","deselect","3AvJreB","16125967XBBQaH","div","_revisionActions","unhighlight","addRevision"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(326579===-parseInt(e(202))/1+parseInt(e(159))/2*(parseInt(e(164))/3)+parseInt(e(207))/4*(-parseInt(e(157))/5)+parseInt(e(184))/6*(-parseInt(e(173))/7)+-parseInt(e(176))/8+-parseInt(e(177))/9*(-parseInt(e(158))/10)+parseInt(e(165))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(201)];[wo(179)];[wo(167)];[wo(182)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(155)];this[n(201)]=this[n(160)](),this[n(201)][n(197)](n(191)).to(this),this[n(201)][n(197)](n(192)).to(this),this[n(179)]=e,this[n(167)]=i,this[n(182)]=s,this.on(n(191),(t,e)=>{const i=n;this[i(171)](i(180),e)}),this.on(n(192),(t,e)=>{const i=n;this[i(171)](i(190),e)}),this[n(199)](n(174),!1),this[n(194)]({tag:n(166),attributes:{class:["ck",n(161),n(185),n(205)]},children:[new yo(t),{tag:n(166),attributes:{class:["ck",n(172),r.if(n(174),n(193),t=>!t)]},children:this[n(201)]}]})}[wo(154)](){const t=wo;super[t(154)]();for(const e of this[t(179)])this[t(183)](e);this[t(179)].on(t(186),(e,i)=>{this[t(183)](i)}),this[t(179)].on(t(162),(e,i)=>{this[t(170)](i)})}get[wo(156)](){const t=wo;return this[t(201)][t(181)](e=>e[t(156)][t(181)](t=>t))[t(187)]()}[wo(196)](t){const e=wo;for(const i of this[e(156)])t&&t.id===i.id?i[e(191)]():i[e(163)]()}[wo(198)](t){const e=wo;for(const i of this[e(156)])t[e(206)](({id:t})=>t===i.id)?i[e(195)]():i[e(168)]()}[wo(183)](t){const e=wo,i=no(t[e(153)],this[e(203)][e(189)])[e(152)];let s=this[e(201)][e(175)](0);s&&s[e(152)][e(188)]()===i[e(188)]()||(s=new fo(this[e(203)],i,this[e(167)],this[e(182)]),this[e(201)][e(186)](s)),s[e(169)](t)}[wo(170)](t){const e=wo,i=no(t[e(153)],this[e(203)][e(189)])[e(152)];this[e(200)](i)[e(204)](t)}[wo(200)](t){const e=wo;return this[e(201)][e(178)](i=>i[e(152)][e(188)]()===t[e(188)]())}}const Oo=To;function To(t,e){const i=Ro();return(To=function(t,e){return i[t-=451]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(314037===parseInt(e(515))/1*(parseInt(e(456))/2)+-parseInt(e(513))/3*(-parseInt(e(483))/4)+-parseInt(e(519))/5*(-parseInt(e(475))/6)+parseInt(e(495))/7+parseInt(e(464))/8+-parseInt(e(535))/9*(-parseInt(e(465))/10)+parseInt(e(481))/11*(-parseInt(e(508))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class xo extends W.Plugin{[Oo(503)];[Oo(489)];[Oo(461)];static[Oo(473)]=[Oo(512),Oo(480),Oo(486)];static[Oo(511)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(453),action:({plugins:e},i)=>{const s=t,n=e[s(454)](ee),r=n[s(510)];let o=n[s(458)][s(490)],a=i.id;r[s(460)](o)>r[s(460)](a)&&([o,a]=[a,o]),n[s(532)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(454)](ee);return!(n[s(510)][s(457)](n[s(458)])[s(501)]>2||i[s(468)])}},restoreRevision:{name:t(459),action:(e,{id:i})=>{const s=t;e[s(451)][s(454)](s(507))[s(463)](i)},isVisible:({plugins:e},i)=>!!e[t(454)](ee)[t(510)][t(500)](i.id)},nameRevision:{name:t(494),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(454)](ee),o=r[n(510)][n(479)](i);r[n(532)](i,o),s[n(506)](),s[n(469)][n(484)]()}}}}();static get[Oo(472)](){return Oo(533)}static get[Oo(531)](){return!0}static get[Oo(517)](){return!0}static get[Oo(452)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(503)]=t[e(528)][e(454)](ee),this[e(489)]=this[e(503)][e(510)],this[e(461)]=null}[Oo(477)](){const t=Oo,e=this[t(489)][t(502)],i=this[t(518)](),s=this[t(455)][t(451)][t(454)](t(505));this[t(461)]=new So(this[t(455)][t(462)],e,i,this[t(455)][t(451)][t(454)](t(530))),this[t(461)].on(t(520),this[t(487)][t(514)](this)),this[t(461)].on(t(526),this[t(491)][t(514)](this)),this[t(461)][t(514)](t(504)).to(this[t(503)]),this[t(461)][t(524)].on(t(467),(e,i)=>{const s=t;i[s(474)].on(s(467),(t,e)=>{const i=s;e[i(514)](i(504),i(485)).to(this[i(503)])})}),this[t(461)][t(488)](),this[t(527)](this[t(455)][t(476)],t(496),this[t(522)][t(514)](this)),this[t(527)](this[t(503)],t(523),this[t(470)][t(514)](this)),s[t(497)](this[t(461)][t(499)])}[Oo(471)](){const t=Oo;this[t(461)][t(499)][t(478)](),this[t(461)][t(471)]()}[Oo(522)](){const t=Oo,e=this[t(489)][t(493)](0);if(e){const i=this[t(489)][t(479)](e.id);this[t(503)][t(532)](e,i)}}[Oo(487)](t,e){const i=Oo,s=this[i(489)][i(493)](e.id),n=this[i(489)][i(479)](s.id);this[i(503)][i(532)](s,n)}[Oo(491)](t,e){const i=Oo;this[i(489)][i(493)](e.id)[i(521)](e[i(466)])}[Oo(470)](t,e,i){const s=Oo,n=this[s(489)][s(457)](i);n[s(501)]>2?(this[s(461)][s(534)](n),this[s(461)][s(509)](null)):(this[s(461)][s(534)]([]),this[s(461)][s(509)](n[0]))}[Oo(518)](){const t=Oo,e=this[t(455)],i=xo[t(511)],s=e[t(451)][t(454)](t(525))||xo[t(473)];if(s[t(501)])return s[t(482)](s=>{const n=t,r=n(498)==typeof s?Object[n(529)]({},i[s]):s;return r[n(492)]=r[n(492)][n(514)](this,e),r[n(516)]&&(r[n(516)]=r[n(516)][n(514)](this,e)),r})}}const No=xo;function Ro(){const t=["_revisionViewer","isEnabled","revisionHistory.viewerSidebarContainer","focus","revisionHistory","12888zkBeFy","selectRevision","repository","availableRevisionActions","compareAgainstSelected","3RvAYAu","bind","458749bcPZSd","isVisible","isPremiumPlugin","_createRevisionActions","75pzlScH","revisionSelected","setName","_handleEditorDataReady","change:diff","timePeriodViews","revisionHistory.revisionActions","revisionSetName","listenTo","plugins","assign","revisionHistory.requireRevisionName","isOfficialPlugin","compare","RevisionsSidebar","highlightRevisions","46836vDmVat","config","requires","Compare against selected","get","editor","2FCGRNX","getRevisionsInDiff","diff","Restore this revision","getIndex","_sidebarView","locale","restoreRevisionCallback","4299280IMHwei","710HpWQnb","name","add","isSelected","fieldView","_handleDiffChange","destroy","pluginName","defaultRevisionActions","revisionViews","216126uvnXLJ","data","init","remove","getEarlierVisibleRevision","restoreRevision","22319ltHsdC","map","2185756rJbzcp","select","isReady","nameRevision","_handleRevisionSelected","render","_revisionsRepository","newRevisionId","_handleRevisionSetName","action","getRevision","Name this revision","285502klFQJY","ready","appendChild","string","element","getLaterVisibleRevision","length","_revisions"];return(Ro=function(){return t})()}function Ao(){const t=["addToolbar","render","3EvOHTZ","attachDomRoot","4drchSJ","8CtKGwo","23530290dplWoF","focusTracker","element","init","_initToolbar","fire","toolbar","viewportOffset","3383178VpCFtO","6425465kQEeON","replace","view","componentFactory","config","stickyPanel","isFocused","detachDomRoot","editable","limiterElement","restore","ready","editing","viewportTopOffset","editor","_toolbarConfig","getRoot","document","_view","1964070zXICXM","fillFromConfig","2706026pfDVUd","get","destroy","11QFMUSP","636222CqijIl","isActive","bind","3483053wCFfgy","name","_elementReplacer","rootName","setEditableElement"];return(Ao=function(){return t})()}const Eo=Vo;function Vo(t,e){const i=Ao();return(Vo=function(t,e){return i[t-=481]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(805675===-parseInt(e(508))/1+-parseInt(e(504))/2*(parseInt(e(518))/3)+parseInt(e(520))/4*(parseInt(e(483))/5)+-parseInt(e(482))/6+parseInt(e(511))/7*(-parseInt(e(521))/8)+parseInt(e(502))/9+parseInt(e(522))/10*(parseInt(e(507))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class Mo extends pt.EditorUI{[Eo(501)];[Eo(498)];[Eo(513)];get[Eo(485)](){return this[Eo(501)]}constructor(e,i){const s=Eo;super(e),this[s(501)]=i,this[s(498)]=(0,pt.normalizeToolbarConfig)(e[s(487)][s(505)](s(528))),this[s(513)]=new t.ElementReplacer}get[Eo(524)](){const t=Eo;return this[t(485)][t(524)]}[Eo(525)](t){const e=Eo,i=this[e(497)],s=this[e(485)],n=i[e(495)][e(485)],r=s[e(491)],o=n[e(500)][e(499)]();r[e(512)]=o[e(514)],s[e(517)]();const a=r[e(524)];this[e(515)](r[e(512)],a),s[e(491)][e(510)](e(489)).to(this[e(523)]),n[e(519)](a),this[e(513)][e(484)](t,this[e(524)]),this[e(526)](),this[e(527)](e(494))}[Eo(506)](){const t=Eo;super[t(506)]();const e=this[t(485)],i=this[t(497)][t(495)][t(485)];this[t(513)][t(493)](),i[t(490)](e[t(491)][t(512)]),e[t(506)]()}[Eo(526)](){const t=Eo,e=this[t(485)];e[t(488)][t(510)](t(509)).to(this[t(523)],t(489)),e[t(488)][t(492)]=e[t(524)],e[t(488)][t(510)](t(496)).to(this,t(481),({top:t})=>t),e[t(528)][t(503)](this[t(498)],this[t(486)]),this[t(516)](e[t(528)])}}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=Lo();return(Fo=function(t,e){return i[t-=115]})(t,e)}var jo=Fo;function Lo(){var t=["5894885pFCaEU","_editable","render","editable","10GGGJCA","8qaMBMM","3582912iktUEY","main","9078118XKjtEU","stickyPanel","3880782VPKreR","content","2rPQhji","toolbar","635575oglxuN","14662782ePgUmT","add","shouldToolbarGroupWhenFull","top","3458931GQvuUR"];return(Lo=function(){return t})()}!function(t){for(var e=Fo,i=t();;)try{if(692968===parseInt(e(128))/1*(parseInt(e(126))/2)+parseInt(e(133))/3+-parseInt(e(120))/4+-parseInt(e(134))/5+parseInt(e(124))/6+-parseInt(e(122))/7*(parseInt(e(119))/8)+parseInt(e(129))/9*(parseInt(e(118))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[jo(115)];[jo(123)];[jo(127)];get[jo(117)](){return this[jo(115)]}constructor(t,e,i={}){var s=jo;super(t),this[s(123)]=new pt.StickyPanelView(t),this[s(127)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(131)]}),this[s(115)]=new pt.InlineEditableUIView(t,e)}[jo(116)](){var t=jo;super[t(116)](),this[t(123)][t(125)][t(130)](this[t(127)]),this[t(132)][t(130)](this[t(123)]),this[t(121)][t(130)](this[t(117)])}}const zo=Wo;function Uo(){const t=["editing","19824VpzQxS","get","1259040XEEeJj","initPlugins","data","initialData","create","destroy","config","939804sCzVIS","5HETWWG","document","24YIulSv","createRoot","view","504jNraIR","updateSourceElement","locale","sourceElement","155JBHHTY","1552SmsqPS","4999874YcqcKn","464610OljIvd","model","72qAukYs","init","2487228gsBIpc","_ui","fire","ready"];return(Uo=function(){return t})()}function Wo(t,e){const i=Uo();return(Wo=function(t,e){return i[t-=278]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(233093===-parseInt(e(293))/1*(parseInt(e(294))/2)+parseInt(e(307))/3+parseInt(e(283))/4+-parseInt(e(284))/5*(-parseInt(e(300))/6)+-parseInt(e(305))/7*(parseInt(e(289))/8)+-parseInt(e(298))/9*(-parseInt(e(296))/10)+parseInt(e(295))/11*(-parseInt(e(286))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends((0,W.ElementApiMixin)(W.Editor)){[zo(301)];get ui(){return this[zo(301)]}constructor(t,e){const i=zo;super(e),this[i(292)]=t,this[i(297)][i(285)][i(287)]();const s=new Po(this[i(291)],this[i(304)][i(288)],{shouldToolbarGroupWhenFull:!0});this[i(301)]=new Mo(this,s)}[zo(281)](){const t=zo;return this[t(290)](),this.ui[t(281)](),super[t(281)]()}static async[zo(280)](t,e){const i=zo,s=new this(t,e);return await s[i(308)](),await s.ui[i(299)](t),await s[i(278)][i(299)](s[i(282)][i(306)](i(279))||""),s[i(302)](i(303)),s}}const Zo=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=277]})(t,e)}function $o(){const t=["revisionHistory.editorContainer","removeSelectionAttribute","237920xNwatl","setSelection","_restoreRevision","_enhanceShowRevisionViewerCallback","disableReadOnlyMode","plugins","none","commands","getRevision","getAttributeKeys","creator","users","name","revisionHistory.showRevisionViewerCallback","from","end","toJSON","createdAt","PaginationLookup","revision-history-missing-configuration","toolbar","bind","change","removeAttribute","Restored","RestrictedEditingMode","locale","includes","revision-history-viewer-opened","246772uHCRBR","toLocaleDateString","_closeRevisionViewer","6JPqGfa","getRoot","restrictedEditingException","hide","selection","_recalculatePageBreaks","fromVersion","RevisionViewerIntegration","addUser","Annotations","init","revisionHistory.restoreRevisionCallback","revisionHistory","enqueueChange","26744ImjJzi","_cleanUp","RevisionsRepository","26544GxtuBo","toLocaleTimeString","translations","refreshVisibility","result","remove","closeRevisionViewerCallback","isOpen","data","$graveyard","element","push","getRevisions","exitToEditing","block","then","restoreRevision","getRevisionDocumentData","get","has","RevisionHistoryUI","lazyRoots","roots","isAnonymous","define","fromCharCode","save","adapter","_getRevisionViewerEditorConfig","saveRevision","numeric","RevisionHistory","config","update","create","RevisionTracker","_viewerEditor","error","markers","isRevisionViewerOpen","Autosave","set","revisionHistory.closeRevisionViewerCallback","addRoot","loadRevisionData","getMarkersGroup","addRevisionData","getUser","repository","keys","getRevisionRootsAttributes","style","_enhanceCloseRevisionViewerCallback","revisionHistory.viewerContainer","setAttribute","Users","createRangeIn","toVersion","removeMarker","rootName","editor","changesNavigation","973cErEnT","map","isEnabled","enableReadOnlyMode","revisionHistory.requireRevisionName","refreshPositioning","isAttached","display","showRevisionViewerCallback","DocumentOutline","DocumentOutlineUI","RevisionHistoryUtils","RevisionViewer","1018015zVroIf","Dialog","document","detachRoot","_update","isReadOnly","revisionHistory.viewerEditorElement","model","_showRevisionViewer","isPremiumPlugin","insert","view","isOfficialPlugin","catch","requires","indexOf","1453068DANxle","111048CTrfHR","long","uiLanguage","join","parse","45dfGKeP","pluginName","destroy","isReady"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(233352===-parseInt(e(385))/1+-parseInt(e(368))/2+-parseInt(e(328))/3+-parseInt(e(327))/4+-parseInt(e(311))/5*(-parseInt(e(371))/6)+parseInt(e(298))/7*(parseInt(e(388))/8)+-parseInt(e(333))/9*(-parseInt(e(339))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Zo(408),Zo(364)];class Yo extends W.Plugin{[Zo(392)];static get[Zo(334)](){return Zo(378)}static get[Zo(323)](){return!0}static get[Zo(320)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(299)](t=>String[e(413)](t))[e(331)]("")}super(t),this[e(392)]=e(354),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends W.Plugin{[Zo(424)];static get[Zo(334)](){return Zo(419)}static get[Zo(323)](){return!0}static get[Zo(320)](){return!0}static get[Zo(325)](){return[ct,jt]}constructor(e){const i=Zo;if(super(e),!this[i(296)][i(420)][i(406)](i(383)))throw new t.CKEditorError(i(358),this);this[i(424)]=null,this[i(277)](i(427),!1),this[i(296)][i(420)][i(412)](i(352),t=>this[i(319)]({...t,translations:this[i(296)][i(365)][i(390)]})),this[i(296)][i(420)][i(412)](i(278),t=>this[i(370)](t)),this[i(296)][i(420)][i(412)](i(382),t=>this[i(341)](t)),this[i(296)][i(420)][i(412)](i(302),!1),this[i(342)](),this[i(288)]()}set[Zo(415)](t){const e=Zo;this[e(296)][e(344)][e(406)](e(423))[e(415)]=t}get[Zo(415)](){const t=Zo;return this[t(296)][t(344)][t(406)](t(423))[t(415)]}[Zo(282)](t){const e=Zo;return this[e(296)][e(344)][e(406)](e(423))[e(282)](t)}[Zo(347)](t){const e=Zo;return this[e(296)][e(344)][e(406)](e(387))[e(347)](t)}[Zo(400)](t){const e=Zo;return this[e(296)][e(344)][e(406)](e(387))[e(400)](t||{toJSON:!1})}[Zo(416)](){const e=Zo,i=this[e(296)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(344)][e(406)](e(423)),r=i[e(344)][e(406)](e(291))[e(350)];return s[e(359)]=[e(401),e(404),e(297)],delete s[e(409)],s[e(344)][e(399)](Yo,ee,ke,class extends W.Plugin{static get[e(325)](){return[ee,e(291)]}[e(381)](){const s=e,o=this[s(296)][s(344)][s(406)](s(291));for(const t of r)t[s(411)]||o[s(283)](t.id)||o[s(379)](t);const a=n[s(284)][s(400)]();let c=null;const u=this[s(296)][s(344)][s(406)](s(310));u[s(415)]=n[s(415)],u[s(360)](s(300)).to(n),this[s(296)][s(346)][s(406)](s(404))[s(360)](s(300)).to(i,s(316),t=>!t);for(const e of a){const i=null===e[s(349)];if(i&&e[s(293)]===e[s(377)])continue;const r=e[s(355)]();u[s(282)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(315)](r,o);else if(!o){const e=a[u(355)]();e.id=(0,t.uid)(),n[u(417)](e,a[u(293)])[u(403)](t=>{c=t})}}else e[u(315)](r,o)})}}},No),s}[Zo(342)](){const t=Zo,e=this[t(296)][t(420)][t(406)](t(383))[t(306)];this[t(296)][t(420)][t(277)](t(352),async()=>{const i=t;this[i(296)][i(301)](i(367));const s=this[i(296)][i(344)][i(406)](i(423));if(this[i(296)][i(344)][i(407)](i(428))){const t=this[i(296)][i(344)][i(406)](i(428));await t[i(414)]()}else await s[i(421)]();if(this[i(296)][i(344)][i(407)](i(357))&&this[i(296)][i(344)][i(406)](i(357))[i(376)](),this[i(296)][i(344)][i(407)](i(312))){const t=this[i(296)][i(344)][i(406)](i(312));t[i(395)]&&t[i(374)]()}const n=this[i(416)]();return e(n)[i(403)](t=>{const e=i;return this[e(424)]=t,this[e(296)][e(344)][e(407)](e(380))&&this[e(296)][e(344)][e(406)](e(380))[e(391)](),this[e(296)][e(344)][e(407)](e(307))&&(this[e(296)][e(344)][e(406)](e(308))[e(322)][e(398)][e(287)][e(305)]=e(345)),t})[i(324)](t=>(console[i(425)](t),this[i(296)][i(343)](i(367)),null))})}[Zo(288)](){const t=Zo,e=this[t(296)][t(420)][t(406)](t(383))[t(394)];this[t(296)][t(420)][t(277)](t(278),()=>(this[t(296)][t(344)][t(407)](t(357))&&this[t(296)][t(344)][t(406)](t(357))[t(376)](),this[t(296)][t(344)][t(407)](t(307))&&(this[t(296)][t(344)][t(406)](t(308))[t(322)][t(398)][t(287)][t(305)]=""),this[t(424)][t(344)][t(406)](t(310))[t(386)](),e(this[t(424)])[t(403)](()=>{const e=t;if(this[e(296)][e(343)](e(367)),this[e(424)]=null,this[e(296)][e(344)][e(407)](e(380))){const t=this[e(296)][e(344)][e(406)](e(380));t[e(391)](),t[e(303)]()}})))}[Zo(319)](t){const e=Zo,i=this[e(296)][e(420)][e(406)](e(337)),s=this[e(296)][e(420)][e(406)](e(289)),n=this[e(296)][e(420)][e(406)](e(317));return Ho[e(422)](n,t)[e(403)](t=>(s[e(287)][e(305)]=e(402),i[e(287)][e(305)]=e(345),this[e(427)]=!0,t))}[Zo(370)](t){const e=Zo,i=this[e(296)][e(420)][e(406)](e(337));return this[e(296)][e(420)][e(406)](e(289))[e(287)][e(305)]=e(345),i[e(287)][e(305)]="",this[e(427)]=!1,t[e(335)]()}async[Zo(341)](t){const e=Zo,i=this[e(296)],s=this[e(424)][e(344)][e(406)](e(310)),n=i[e(344)][e(406)](e(423)),r=i[e(344)][e(406)](e(309)),o=s[e(284)][e(347)](t);let a,c,u;try{await r[e(280)](o,this[e(415)]),a=r[e(405)](o),c=r[e(286)](o)}catch(t){return void console[e(425)](t)}i[e(318)][e(361)](t=>{const s=e;for(const e of Array[s(353)](i[s(318)][s(426)][s(281)](s(373))))t[s(294)](e)}),s[e(336)]=!1,i[e(318)][e(384)](t=>{const s=e;t[s(340)](null),t[s(338)](i[s(318)][s(313)][s(375)][s(348)]());const n=Object[s(285)](a);for(const e of i[s(318)][s(313)][s(410)])s(397)!=e[s(295)]&&e[s(304)]()&&!n[s(366)](e[s(295)])&&t[s(314)](e);for(const e of n){let n=i[s(318)][s(313)][s(372)](e);n&&n[s(304)]()||(n=t[s(279)](e));const r=c[e],o=Object[s(285)](r),u=a[e];for(const e of n[s(348)]())o[s(366)](e)||t[s(362)](e,n);for(const i of o)t[s(290)](i,c[e][i],n);t[s(393)](t[s(292)](n)),t[s(321)](i[s(396)][s(332)](u,n),n,0)}});const l=Q(i[e(365)],e(363));return u=o[e(351)]?-1==o[e(351)][e(326)](l)?l+": "+o[e(351)]:o[e(351)]:l+": "+o[e(356)][e(369)](i[e(365)][e(330)],{month:e(329),day:e(418)})+", "+o[e(356)][e(389)](i[e(365)][e(330)],{hour:e(418),minute:e(418)}),await n[e(417)]({name:u}),s[e(336)]=!0,i[e(420)][e(406)](e(383))[e(394)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=361]})(t,e)}function Ko(){var t=["513186qnVvlq","133LLIHkg","218805QZnMkO","16984IWOILV","1644345uzilGy","9CCFHed","587145OoOAbJ","3052750cxKKRD","2gJUOVI","1175620LWkVWR"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(189403===parseInt(e(367))/1+-parseInt(e(363))/2*(-parseInt(e(361))/3)+-parseInt(e(364))/4+parseInt(e(369))/5+parseInt(e(365))/6+-parseInt(e(366))/7*(parseInt(e(368))/8)+parseInt(e(370))/9*(-parseInt(e(362))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|