@ckeditor/ckeditor5-revision-history 45.1.0-alpha.7 → 45.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.d.ts +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Go,RevisionHistoryUI:()=>Pt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>te,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(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 D(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return 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 V(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?V(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 P(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}}function j(){const t=["25GPqfGe","diffData","517281sFjHmO","attributes","setAttribute","toVersion","name","657lFPLxQ","447522XdLGvP","creator","setName","105567VTvpoi","44424OXeeFy","3280wZAPdu","authors","2ezYggm","15747fyumkR","fire","toJSON","removeAttribute","380lArcEF","_update","24529050GSRFCp","createdAt","fromVersion","set","authorsIds","creatorId","1701BlhUbY","model","map","12iDQIir"];return(j=function(){return t})()}const L=W;function W(t,e){const i=j();return(W=function(t,e){return i[t-=466]})(t,e)}!function(t){const e=W,i=t();for(;;)try{if(817859===parseInt(e(485))/1*(parseInt(e(466))/2)+parseInt(e(467))/3*(parseInt(e(471))/4)+parseInt(e(483))/5*(parseInt(e(491))/6)+-parseInt(e(479))/7*(-parseInt(e(495))/8)+parseInt(e(490))/9*(-parseInt(e(496))/10)+parseInt(e(494))/11*(-parseInt(e(482))/12)+-parseInt(e(473))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(j);class z extends((0,t.ObservableMixin)()){id;[L(492)];[L(497)];[L(484)];[L(488)];[L(475)];[L(480)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(492)]=e[i(492)]||null,this[i(497)]=e[i(497)]||[],this[i(484)]=e[i(484)]||null,this[i(488)]=e[i(488)]||0,this[i(475)]=e[i(475)]||0,this[i(476)](i(489),e[i(489)]||""),this[i(476)](i(474),e[i(474)]||new Date),this[i(476)](i(486),e[i(486)]||{})}[L(493)](t){this[L(472)]({name:t})}[L(487)](t,e){const i=L,s=A(this[i(486)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=D(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(472)]({attributes:s})}[L(470)](t){const e=L,i=A(this[e(486)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return P(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]&&V(e))return P(t,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(472)]({attributes:i})}[L(472)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(489),i(474),i(484),i(497),i(486),i(488),i(475),i(478)];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(497)]&&(n[i(477)]=n[i(497)][i(481)]((t=>t.id)),delete n[i(497)]),this[i(468)](i(472),n,e))}[L(469)](){const t=L;return{id:this.id,name:this[t(489)],creatorId:this[t(492)]?this[t(492)].id:null,authorsIds:this[t(497)][t(481)]((t=>t.id)),diffData:this[t(484)],createdAt:this[t(474)],attributes:this[t(486)],fromVersion:this[t(475)],toVersion:this[t(488)]}}}var U=i(782),H=i(211),Z=i(783);function q(t,e){const i=B();return(q=function(t,e){return i[t-=258]})(t,e)}const $=q;function B(){const t=["36ocZZLh","getRevisionsIterator","addRevision","108663SRbAHg","add","href","getEarlierVisibleRevision","earlier","769736BEPrpy","getLaterVisibleRevision","createdAt","isPremiumPlugin","1648682CWVzgS","createRevision","pluginName","12RQTNIR","push","newRevisionId","_revisions","60xDNMFt","length","52ZjCpII","attributes","from","reverse","authorsIds","fromVersion","get","editor","diffData","448225UhRGhI","getIndex","toVersion","isOfficialPlugin","28FUTZpX","39019ztnYPp","creatorId","plugins","oldRevisionId","1075096ukDsTa","getUser","toJSON","12247937JcmEsx","isNaN","getRevisionsInDiff","later","name","join","getRevision","fromCharCode","map","Users","data","getRevisions","afterInit","12iCoQOV","RevisionsRepository","requires"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(367657===-parseInt(e(298))/1*(parseInt(e(297))/2)+parseInt(e(266))/3*(parseInt(e(284))/4)+parseInt(e(293))/5+parseInt(e(260))/6*(-parseInt(e(275))/7)+parseInt(e(302))/8*(-parseInt(e(263))/9)+parseInt(e(282))/10*(parseInt(e(271))/11)+parseInt(e(278))/12*(parseInt(e(305))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[$(281)];static get[$(262)](){return[H.Users]}static get[$(277)](){return $(261)}static get[$(296)](){return!0}static get[$(274)](){return!0}get[$(283)](){const t=$;return this[t(281)][t(283)]}constructor(e){const i=$;super(e),this[i(281)]=new t.Collection}[$(259)](){!async function(e){const i=k([122,79,67,55,102,115,78,80,49,88,105,84,119,54,118,48,116,100,103,83,85,89,111,120,57,107,65,50,53,66,99,68,106,114,77,117,70,56,101,121,112,51,86,98,73,72,87,110,113,75,74,71,76,90,82,69,81,108,97,104,109,52]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(306)](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([122]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=q;return t[e(313)]((t=>String[e(312)](t)))[e(310)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1747180800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(268)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[$(276)](t){const e=$,i=this[e(291)][e(300)][e(290)](e(314));return new z({id:t.id,name:t[e(309)],creator:t[e(299)]?i[e(303)](t[e(299)]):null,diffData:t[e(292)]||t[e(315)],authors:t[e(288)][e(313)]((t=>i[e(303)](t))),createdAt:new Date(t[e(273)]),attributes:t[e(285)],fromVersion:t[e(289)],toVersion:t[e(295)]})}[$(265)](t,e=0){const i=$;this[i(281)][i(267)](t,e)}[$(311)](t){const e=$;return this[e(281)][e(290)](t)}[$(258)](t={toJSON:!1}){const e=$,i=Array[e(286)](this[e(281)]);return i[e(287)](),t[e(304)]?i[e(313)]((t=>t[e(304)]())):i}[$(294)](t){const e=$;return this[e(281)][e(294)](t)}[$(269)](t){const e=$,[,i]=this[e(264)](t,{direction:e(270)});return i}[$(272)](t){const e=$,[,i]=this[e(264)](t,{direction:e(308)});return i}[$(307)](t){const e=$,i=[];for(const s of this[e(264)](t[e(280)]))if(i[e(279)](s),s.id===t[e(301)])break;return i}*[$(264)](t,{direction:e=$(270),filter:i=()=>!0}={}){const s=$,n=s(270)===e?1:-1;let r=this[s(281)][s(290)](t),o=this[s(294)](r);for(yield r;r;){if(o+=n,r=this[s(311)](o),!r)return;i(r)&&(yield r)}}}const G=J;function J(t,e){const i=K();return(J=function(t,e){return i[t-=172]})(t,e)}!function(t){const e=J,i=t();for(;;)try{if(828223===parseInt(e(219))/1+parseInt(e(177))/2+parseInt(e(189))/3*(-parseInt(e(183))/4)+parseInt(e(208))/5*(parseInt(e(194))/6)+-parseInt(e(173))/7*(-parseInt(e(186))/8)+parseInt(e(206))/9*(parseInt(e(190))/10)+-parseInt(e(213))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends U.Plugin{static get[G(211)](){return G(192)}static get[G(218)](){return!0}static get[G(216)](){return!0}[G(221)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[G(209)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[G(181)](t,e){const i=G;if(t[i(230)]||!e)return;const s=this[i(229)][i(187)][i(223)](i(222)),n=await e[i(195)]({channelId:s,revisionId:t.id});t[i(230)]=n[i(230)]}[G(245)](t){const e=G,i={};for(const s in t[e(230)]){if(t[e(230)][s][e(228)]&&!t[e(230)][s][e(228)][e(236)])continue;const n=this[e(225)](JSON[e(176)](t[e(230)][s][e(224)])),r=this[e(229)][e(188)][e(174)][e(226)],o=new Z.ViewDocumentFragment(r,n[e(227)]((t=>this[e(246)](t,!1))));this[e(229)][e(232)][e(197)][e(231)](e(243)),i[s]=this[e(229)][e(232)][e(197)][e(199)](o),this[e(229)][e(232)][e(197)][e(231)](e(242))}return i}[G(202)](t){const e=G,i={};for(const s in t[e(230)])t[e(230)][s][e(228)]&&!t[e(230)][s][e(228)][e(236)]||(i[s]=t[e(230)][s][e(220)]||{});return i}[G(175)](t){const e=G;return this[e(221)][e(223)](t[e(203)])}[G(246)](t,e){const i=G,s=this[i(229)][i(188)][i(174)][i(226)];if(i(240)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(238)]||"r"==t[i(238)]?[]:t[i(235)][i(227)]((t=>this[i(246)](t,e)));const o=this[i(209)][i(223)](t[i(238)])||Z.ViewElement,a=this[i(229)][i(232)][i(191)][i(198)];if(n=new o(s,t[i(196)],t[i(210)],r),"u"==t[i(238)]&&t[i(235)][0]){const r=t[i(235)][0];if(n[i(193)]=function(t){const e=i,s=t[e(212)](e(207));return s[e(182)]=r,s[e(185)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(214)](n);const e=Array[i(244)](a[i(180)](t,{bind:!1})),r=a[i(234)][i(212)](i(207));r[i(215)](...e),n=Array[i(244)](a[i(204)](r))[0]}}else if("r"==t[i(238)]&&t[i(235)][0]){const r=t[i(235)][0];if(n[i(193)]=function(t){t[i(182)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(214)](n);const e=Array[i(244)](a[i(180)](t,{bind:!1})),r=a[i(234)][i(212)](i(207));r[i(215)](...e);const o=Array[i(244)](a[i(204)](r));o[i(200)]>1?n[i(214)](o):n=o[0]}}if(t[i(217)])for(const[e,s]of t[i(217)])n[i(205)](e,s);const c=void 0===t[i(172)]?null:t[i(172)];return null!==c&&(n[i(178)]=()=>c),n}}[G(184)](t){const e=G,i=JSON[e(176)](t),s=this[e(229)][e(188)][e(174)][e(226)],n=new Z.ViewDocumentFragment(s,i[e(227)]((t=>this[e(246)](t,!0))));return this[e(229)][e(232)][e(201)](n)}[G(225)](t){const e=G;return(t=t[e(247)]((t=>!t[e(196)]||e(179)!==t[e(196)]&&e(241)!==t[e(196)])))[e(239)]((t=>{const i=e;i(240)!=typeof t&&(t[i(235)]=this[i(225)](t[i(235)]),t[i(210)]=t[i(210)][i(247)]((t=>!t[0][i(237)](i(233)))))})),t}}function K(){const t=["517484boafSE","_appendChild","append","isPremiumPlugin","customProperties","isOfficialPlugin","302337DxWrqp","attributesAfter","_viewClassToTypeChar","collaboration.channelId","get","insertions","_removeRevisionMarkers","document","map","attachChange","editor","diffData","useFillerType","data","data-revision-","domDocument","children","isAttached","startsWith","type","forEach","string","revision-end","default","marked","from","getRevisionDocumentData","_getViewFromDiffObj","filter","fillerOffset","7FFsDiU","view","_getTypeCharForViewElement","parse","1821140YhGyHt","getFillerOffset","revision-start","viewChildrenToDom","loadRevisionData","innerHTML","672496xqHVvD","_makeModelFromViewString","childNodes","1022968VwnNrc","config","editing","27hSFscH","2359510EQlMKG","htmlProcessor","RevisionHistoryUtils","render","4869924qLMkgN","getRevision","name","processor","domConverter","toData","length","toModel","getRevisionRootsAttributes","constructor","domChildrenToView","_setCustomProperty","9YBDIVf","div","5uDHydZ","_typeCharToViewClass","attributes","pluginName","createElement"];return(K=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 D=(s=s??new Map).get(t),M=s.get(i);if(null!=D&&null!=M)return D===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,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=ot;function ot(t,e){const i=at();return(ot=function(t,e){return i[t-=140]})(t,e)}function at(){const t=["invalid","createPositionBefore","_makeIdsRoot","editor-initial-data-replaced-with-revision-data","_diffRootsAttributes","_fixOperation","getChild","createdAt","_idsRoots","getRootNames","size","requires","getMovedRangeStart","getChildren","saveRevision","getTransformedByOperation","Initial revision","_handleRootAttributeOperation","_fixPosition","_clone","loadRevisionData","_operations","deletions","domDocument","slice","_baseRootsAttributes","roots","_setConversion","getLatestVersion","usageLimit","_showLicenseError","vid_end","revisionHistoryLicenseKeyNotAllowed","featureNotAllowed","_getViewJson","getAttributes","startsWith","addRoot","fromVersion","nodes","getOperations","offset","RevisionHistory","revisionHistory.resumeUnsavedRevision","attachChange","isEnabled","createPositionFromPath","_startingVersion","baseVersion","rootName","outerHTML","domainLimit","ready","insert","createPositionAt","toVersion","render","202008UlMxnu","Empty document","collaboration.channelId","getOperation","1735111urSnuh","shift","previousPosition","resolve","_makeModelFromViewString","_removePendingAction","creator","destroy","_loadedStateData","_initialRevisionId","revision","_savedMetaData","_isInit","innerHTML","createRange","getNodeByPath","_getFromVersion","getAncestors","authors","_makeRevision","uiElement","4080QkEkrw","text","getWalker","trialLimit","sort","isAdd","repository","_licenseKeyCheckInterval","init","elementEnd","_insertChild","getData","RevisionTracker","adapter","RealTimeCollaborationClient","vid","move","_revisionId","_handleMergeOperation","reinsert","tableCell","_appendChild","_reset","type","_applyOperations","root","find","_getVidAttributeName","fillerOffset","revisionHistoryLicenseKeyValid","_isAttached","_addPendingAction","expired","affectsData","getRevisionRootsAttributes","push","_pendingAction","diffData","graveyardPosition","currentRevision","stickiness","15675384DxYSaj","_markers","revisionHistoryLicenseKeyInvalid","length","_createFromRanges","_removeMetaData","item","_revisionDataBuilder","insertion","for","documentFragment","getCurrentRevisionId","dataToMarker","5743160bYOyqq","newRange","_createCurrentRevision","bind","insertionPosition","_replaceEditorDataWithRevisionData","addRevision","_calculateMetaData","key","start","_touchedMarkers","string","_continueCurrentRevision","targetPosition","define","then","PendingActions","insertions","addRootAttribute","editor","data","merge","hasContent","values","_handleInsertOperation","5XmZxzk","version","revisionHistoryLicenseKeyDomainLimit","locale","_generateTape","_bufferUpdate","getRoot","trim","deletion","revision:","attributesBefore","stringify","Users","_touched","removeRootAttribute","_copyMarkers","position","name","parent","createPositionAfter","userId","initial","element","revisionHistoryLicenseKeyTrialLimit","end","map","clear","11cbxCSC","keys","reverse","_getTypeCharForViewElement","path","addRevisionData","updateRevisions","getAttribute","$graveyard","62357MmogEs","_authorId","_update","htmlProcessor","offsetSize","_handleMarkerOperation","isEqual","$text","children","isAttached","reInit","get","licenseKey","toView","markers","filter","_execute","_touchedRoots","range","includes","isPremiumPlugin","_baseIdsRoots","upcast","finally","nodeAfter","18cNXRqh","getRevision","_prepareViewToSave","_findInsertionIndex","changeRootAttribute","$comment","_getPreviousFrom","_isPendingUpdate","source","buildRevisionData","setRevisionData","has","isOfficialPlugin","getCustomProperties","_handleRootOperation","_startingRevisionId","sourcePosition","_lastTo","dataDowncast","marker","creatorId","detachRoot","getFillerOffset","document","revisionHistoryLicenseKeyEvaluationLimit","PENDING_ACTION_REVISION_HISTORY","_handleMoveOperation","_fixRange","max","conversion","_diffRoots","getRange","fromEntries","rawElement","elementStart","createRangeIn","_lastFrom","pluginName","setSource","8370HPDnVR","isReady","rootsAttributes","afterInit","_source","revisionHistoryLicenseKeyExpired","_handleOperation","_setAttribute","revisionHistoryLicenseKeyUsageLimit","_getBaseVids","authorsIds","delete","update","newValue","oldRange","clone","history","_markChanges","split","RevisionsRepository","_createInitialRevision","createRevision","24kXqhEo","plugins","getTime","vid_start","remove","_handleSplitOperation","childCount","NEGATIVE_INFINITY","howMany","splitPosition","keepParagraph","loadState","RevisionHistoryUtils","_cloneOperation","_getState","some","getRevisionDocumentData","paragraph","_transformMarkers","attributesAfter","getIndex","sendBufferedUpdates","getUser","domConverter","_bufferedUpdates","_loadState","createElement","initialData","evaluationLimit","model","getRevisions","_saveMetaData","markerToData","429076IzAUtT","from","add","_processRootBeforeSave","set","_baseRoots","config","customProperties","_utils"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(858292===-parseInt(e(416))/1*(-parseInt(e(177))/2)+-parseInt(e(441))/3*(parseInt(e(210))/4)+parseInt(e(380))/5*(parseInt(e(276))/6)+-parseInt(e(280))/7+-parseInt(e(355))/8+parseInt(e(155))/9*(parseInt(e(301))/10)+parseInt(e(407))/11*(parseInt(e(342))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends U.Plugin{[rt(428)];[rt(308)];[rt(340)]=null;[rt(307)];[rt(314)]=null;[rt(349)];[rt(159)];[rt(289)];[rt(201)];[rt(218)];[rt(337)];[rt(367)];[rt(266)];[rt(288)];static get[rt(153)](){return rt(313)}static get[rt(453)](){return!0}static get[rt(436)](){return!0}static get[rt(230)](){return[H.Users,Y,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(307)]=this[i(374)][i(178)][i(427)](i(174)),this[i(218)]=this[i(374)][i(178)][i(427)](i(189)),this[i(349)]=new ut(this[i(374)]),this[i(289)]=this[i(374)][i(216)][i(427)](i(278))||i(401),this[i(201)]=new Map,this[i(288)]=null;const s=(0,t.uid)();this[i(159)]={history:this[i(374)][i(206)][i(464)][i(171)],getLatestVersion:()=>Promise[i(283)](this[i(374)][i(206)][i(464)][i(381)]),getCurrentRevisionId:()=>s},this[i(214)](i(156),!1),this[i(214)](i(264),!0),this[i(214)](i(448),!1),this[i(374)][i(216)][i(369)](i(262),!0),this[i(374)][i(145)][i(351)](i(438))[i(354)]({view:i(290)})}[rt(309)](){const t=rt;this[t(246)](),this[t(374)][t(375)].on(t(271),(()=>{const e=t,i=this[e(307)][e(442)](0),s=i&&null===i[e(286)]?i:null;if(this[e(367)]=!!s&&this[e(374)][e(216)][e(427)](e(262)),this[e(374)][e(178)][e(452)](e(315))){const t=this[e(159)][e(353)](),n=this[e(307)][e(442)](t);if(n)this[e(266)]=n[e(257)],this[e(367)]=!1;else{const t=this[e(159)][e(171)][e(240)][e(327)]((t=>!t[e(292)])),n=t?t[e(267)]:this[e(159)][e(171)][e(381)];i?(i[e(274)]<n&&i[e(418)]({toVersion:n}),this[e(367)]?(this[e(159)][e(353)]=()=>s.id,this[e(266)]=s[e(257)]):(this[e(266)]=i[e(274)],this[e(367)]=!1)):(this[e(266)]=n,this[e(367)]=!1)}}else s&&(this[e(374)][e(206)][e(464)][e(171)][e(381)]=Math[e(144)](s[e(274)],this[e(374)][e(206)][e(464)][e(171)][e(381)]),s[e(257)]===s[e(274)]?(0!==s[e(257)]&&(this[e(159)][e(353)]=()=>s.id),this[e(367)]=!1):this[e(367)]&&(this[e(159)][e(353)]=()=>s.id,this[e(266)]=s[e(257)])),this[e(367)]||(this[e(266)]=this[e(374)][e(206)][e(464)][e(381)]);this[e(349)][e(309)](this[e(159)][e(171)]),this[e(175)](this[e(266)]),this[e(357)](this[e(266)]),this[e(314)]&&this[e(198)]()})),this[t(358)](t(156)).to(this,t(448),(t=>!t)),this[t(428)]=this[t(374)][t(216)][t(427)](t(428));const e=this[t(374)];this[t(308)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(330)==r||i(344)==r||i(160)==r||i(382)==r||i(251)==r||i(140)==r||i(403)==r||i(163)==r){delete e[n],s=r,clearInterval(this[i(308)]),this[i(308)]=void 0;break}}i(344)==s&&e[i(249)](i(219)),i(160)==s&&e[i(249)](i(333)),i(382)==s&&e[i(249)](i(270)),i(251)==s&&e[i(249)](i(252),i(261)),i(140)==s&&e[i(249)](i(205)),i(403)==s&&e[i(249)](i(304)),i(163)==s&&e[i(249)](i(248))}),1e3)}async[rt(158)](){const t=rt;if(this[t(307)][t(345)]>0){const e=this[t(307)][t(442)](0),i=await this[t(193)](e),s=await this[t(335)](e);this[t(360)](i,s)}}[rt(287)](){const t=rt;super[t(287)](),this[t(308)]&&clearInterval(this[t(308)])}[rt(154)](t){this[rt(159)]=t}async[rt(167)](){const t=rt,e=await this[t(159)][t(247)]();if(e>this[t(340)][t(274)]){await this[t(202)]();const i=this[t(450)]({revision:this[t(340)],to:e});i[t(298)]=i[t(165)][t(405)]((e=>this[t(374)][t(178)][t(427)](t(392))[t(199)](e))),this[t(340)][t(418)](i)}}async[rt(233)](e={},i=null){const s=rt,n=[];await this[s(202)](),this[s(367)]=!1,i>this[s(340)][s(274)]&&(i=null),null===i&&(i=await this[s(159)][s(247)]());const r=this[s(296)](i),o=this[s(450)]({from:r,to:i});if(this[s(340)][s(274)]<i){const t=this[s(450)]({revision:this[s(340)],from:i,to:i});t[s(298)]=[],t[s(165)]=[],t.id=this[s(340)].id,this[s(340)][s(418)](t,!0),delete t[s(298)],n[s(336)](t)}e[s(461)]=this[s(374)][s(178)][s(427)](s(392)).me.id,e[s(397)]=e[s(397)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(412)](e);n[s(336)](e);const c=this[s(307)][s(197)](a);if(0!==c){const t=this[s(307)][s(442)](c-1);if(t[s(257)]!==i){const r=this[s(349)][s(312)](i,t[s(274)]),o={id:t.id,diffData:r[s(338)],authorsIds:r[s(165)],authors:r[s(165)][s(405)]((t=>this[s(374)][s(178)][s(427)](s(392))[s(199)](t))),fromVersion:i};t===this[s(340)]&&(o[s(226)]=new Date(e[s(226)][s(179)]()+10)),t[s(418)](o,!0),delete o[s(298)],n[s(336)](o)}}if(this[s(314)]){for(const t of n)this[s(385)](t.id,t,!0);this[s(198)]()}return a}[rt(412)](t){const e=rt,i=this[e(307)][e(176)](t);return this[e(314)]&&i.on(e(418),((t,i,s)=>{const n=e;s||(this[n(385)](i.id,i,!0),this[n(198)]())})),this[e(307)][e(361)](i,this[e(444)](i)),i}async[rt(193)](t){const e=rt;return await this[e(218)][e(239)](t,this[e(314)]),this[e(218)][e(193)](t)}async[rt(335)](t){const e=rt;return await this[e(218)][e(239)](t,this[e(314)]),this[e(218)][e(335)](t)}[rt(198)](){const t=rt;if(0===this[t(201)][t(229)])return;if(this[t(448)])return;let e=Array[t(211)](this[t(201)][t(378)]());this[t(201)][t(406)]();for(let i=0;i<e[t(345)];i++){const s=e[i];let n=!1;for(const e of Object[t(408)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(431)]((t=>null!==t)),!e[t(345)])return;for(let i=0;i<e[t(345)];i++){const s=e[i];void 0!==s[t(257)]&&void 0===s[t(274)]&&(s[t(274)]=this[t(307)][t(442)](s.id)[t(274)]),void 0!==s[t(274)]&&void 0===s[t(257)]&&(s[t(257)]=this[t(307)][t(442)](s.id)[t(257)])}const i=this[t(374)][t(216)][t(427)](t(278));this[t(448)]=!0,this[t(332)](),this[t(314)][t(413)](e,i)[t(439)]((()=>{this[t(448)]=!1}))[t(370)]((e=>{const i=t;if(e)for(const t of e)this[i(451)]({id:t.id,createdAt:t[i(226)]});this[i(285)](),this[i(198)]()}))}[rt(450)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(257)],i=null!==i?i:t[s(274)];const n=this[s(349)][s(312)](e,i),r={diffData:n[s(338)],authorsIds:n[s(165)],fromVersion:e,toVersion:i};if(!t||i!==t[s(274)]){const t=i-1,e=this[s(159)][s(171)][s(279)](t);r[s(226)]=e&&e[s(226)]||new Date}if(this[s(288)]&&e===this[s(288)][s(257)])for(const t of this[s(288)][s(298)])r[s(165)][s(435)](t.id)||r[s(165)][s(336)](t.id);return r}[rt(385)](t,e,i){const s=rt;if(this[s(201)][s(452)](t)){const n=this[s(201)][s(427)](t);e=i?{...n,...e}:{...e,...n}}this[s(201)][s(214)](t,e)}[rt(451)](t){const e=rt,i=this[e(307)][e(442)](t.id);if(t[e(226)]&&(t[e(226)]=new Date(t[e(226)])),t[e(165)]){const i=this[e(374)][e(178)][e(427)](e(392));t[e(298)]=t[e(165)][e(405)]((t=>i[e(199)](t)))}i[e(418)](t,!0)}[rt(175)](t){const e=rt,i=this[e(307)][e(442)](this[e(307)][e(345)]-1);if(i)this[e(289)]=i.id;else{const i=!this[e(374)][e(206)][e(464)][e(245)][e(327)]((t=>this[e(374)][e(206)][e(377)](t))),s=this[e(374)][e(178)][e(427)](e(392)).me.id,n=Q(this[e(374)][e(383)],e(i?277:235));this[e(299)]({from:t,to:t,id:this[e(289)],name:n,creatorId:s})}}[rt(357)](t){const e=rt,i=this[e(159)][e(353)]();this[e(340)]=this[e(307)][e(442)](i),this[e(340)]||(this[e(340)]=this[e(299)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(202)](){const t=rt;this[t(367)]&&!this[t(288)]&&(await this[t(218)][t(239)](this[t(340)],this[t(314)]),this[t(349)][t(188)](this[t(340)]),this[t(288)]={fromVersion:this[t(340)][t(257)],authors:this[t(340)][t(298)][t(243)]()})}[rt(360)](e,i){const s=rt;let n=this[s(374)][s(216)][s(427)](s(204)),r=this[s(374)][s(216)][s(427)](s(157));if(void 0===n){n={};for(const t of this[s(374)][s(206)][s(464)][s(228)]())n[t]=""}if(s(366)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(374)][s(206)][s(464)][s(228)]())r[t]={}}let o=!1;const a=Object[s(408)](n),c=Object[s(408)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(387)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(408)](r[t])[s(345)]>0){o=!0;break}}o||(o=c[s(192)]((t=>!this[s(374)][s(206)][s(464)][s(386)](t)))),o&&(0,t.logWarning)(s(222),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(374)][s(216)][s(214)](s(204),e),this[s(374)][s(216)][s(214)](s(157),i)}[rt(332)](){const t=rt;if(!this[t(337)]){const e=this[t(374)][t(178)][t(427)](t(371));this[t(337)]=e[t(212)](Q(this[t(374)][t(383)],t(141)))}}[rt(285)](){const t=rt;this[t(337)]&&(this[t(374)][t(178)][t(427)](t(371))[t(181)](this[t(337)]),this[t(337)]=null)}[rt(444)](t){const e=rt,i=this[e(307)][e(207)]();i[e(409)]();let s=0;for(;s<i[e(345)];){const n=i[s];if(n===this[e(340)]){s++;continue}if(n.id===this[e(289)])break;const r=t[e(274)]-n[e(274)]||t[e(257)]-n[e(257)];if(r>0)break;if(r<0)s++;else{if(!t[e(286)]&&n[e(286)])break;if(n[e(286)]||!t[e(286)]){if(t[e(226)]>n[e(226)])break;s++}else s++}}return s}[rt(296)](t){const e=rt,i=this[e(307)][e(207)]();i[e(409)](),i[e(281)]();const s=i[e(327)]((i=>i[e(274)]<=t))[e(274)];return s<this[e(266)]?this[e(266)]:s}[rt(299)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(450)]({from:e,to:i});o[r(397)]=t,o[r(461)]=s,o.id=n;const a=this[r(412)](o);return this[r(314)]&&this[r(385)](o.id,o,!0),a}[rt(246)](){const t=rt;this[t(374)][t(145)][t(351)](t(459))[t(209)]({model:t(290)})}}class ut{[rt(374)];[rt(449)];[rt(291)];[rt(152)];[rt(458)];[rt(343)];[rt(146)];[rt(223)];[rt(215)];[rt(244)];[rt(227)];[rt(437)];[rt(393)];[rt(365)];[rt(433)];[rt(318)];[rt(456)];constructor(t){const e=rt;this[e(374)]=t,this[e(291)]=new Map,this[e(152)]=-1,this[e(458)]=-1,this[e(343)]=new Map,this[e(146)]=new Map,this[e(223)]=new Map,this[e(215)]=new Map,this[e(244)]=new Map,this[e(227)]=new Map,this[e(437)]=new Map,this[e(393)]=new Map,this[e(365)]=new Map,this[e(433)]=new Map,this[e(318)]=1}[rt(309)](t){const e=rt;this[e(449)]=t;const i=new Map,s=new Map,n=this[e(374)][e(206)][e(464)][e(245)][e(405)]((t=>t[e(268)]));for(const t of n){const n=this[e(374)][e(206)][e(464)][e(386)](t),r=lt(n);i[e(214)](t,r),s[e(214)](t,Object[e(148)](n[e(254)]()))}const r=Array[e(211)](this[e(374)][e(206)][e(430)])[e(405)]((t=>[t[e(397)],t[e(147)]()])),o=this[e(449)][e(381)];this[e(208)](o,i,r,s),this[e(456)]=this[e(318)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(214)](t,i),c[e(214)](t,{})}this[e(208)](Number[e(184)],a,[],c)}[rt(312)](t,e){const i=rt;if(this[i(152)]===t&&this[i(458)]<=e)this[i(291)][i(229)]>1&&this[i(347)](this[i(458)]),this[i(325)](this[i(458)],e,!0);else{if(!this[i(291)][i(452)](t)){const e=this[i(447)](t);this[i(362)](e,t,!1)}this[i(362)](t,e,!0)}return this[i(152)]=t,this[i(458)]=e,this[i(191)]()}[rt(188)](t){const e=rt,i=this[e(374)][e(178)][e(427)](e(189));this[e(323)](),this[e(152)]=t[e(257)],this[e(458)]=t[e(274)];for(const s in t[e(338)]){const n=t[e(338)][s][e(263)],r=A(t[e(338)][s][e(390)])||{},o=i[e(284)](t[e(338)][s][e(241)]);o[e(268)]=s,o[e(331)]=!n||!n[e(425)],o[e(425)]=()=>o[e(331)],this[e(215)][e(214)](s,o),this[e(244)][e(214)](s,r),n&&this[e(433)][e(214)](s,n);const a=this[e(221)](o);this[e(437)][e(214)](s,a);for(const[t,i]of o[e(430)]){if(!t[e(255)](e(389)))continue;const s=t[e(173)](":")[2];for(const t of i[e(303)]({singleCharacters:!0})){const i=this[e(328)](t),n=e(310)==t[e(324)]?t[e(282)][e(411)][e(243)](0,-1):t[e(282)][e(411)],r=a[e(295)](n)[e(414)](i);this[e(393)][e(214)](r,{userId:s})}}}this[e(456)]=this[e(318)];const s=[...Array(this[e(318)])[e(408)]()][e(243)](1)[e(431)]((t=>!this[e(393)][e(452)](t)));let n=0;const r=new Map;for(const o in t[e(338)]){const a=t[e(338)][o][e(263)],c=A(t[e(338)][o][e(196)])||{},u=i[e(284)](t[e(338)][o][e(372)]);u[e(268)]=o,u[e(331)]=!a||a[e(425)],u[e(425)]=()=>u[e(331)],this[e(146)][e(214)](o,u),this[e(223)][e(214)](o,c);const l=this[e(221)](u,Number[e(184)]);this[e(227)][e(214)](o,l),r[e(214)](o,u[e(425)]()?c:{});for(const[t,i]of u[e(430)]){if(!t[e(255)](e(389)))continue;const s=t[e(173)](":")[2];for(const t of i[e(303)]({singleCharacters:!0})){const i=this[e(328)](t),n=this[e(318)]++,r=e(310)==t[e(324)]?t[e(282)][e(411)][e(243)](0,-1):t[e(282)][e(411)];l[e(295)](r)[e(162)](i,n),this[e(393)][e(214)](n,{userId:s})}}for(const t of this[e(374)][e(206)][e(151)](u)[e(303)]({singleCharacters:!0})){const i=this[e(328)](t),r=e(310)==t[e(324)]?t[e(282)][e(411)][e(243)](0,-1):t[e(282)][e(411)],o=l[e(295)](r);o[e(414)](i)>0||o[e(162)](i,s[n++])}for(const[t,i]of u[e(430)])t[e(255)](e(389))||this[e(343)][e(214)](t,i)}const o=ht(e(415));this[e(215)][e(214)](e(415),o),this[e(437)][e(214)](e(415),this[e(221)](o,1));const a=ht(e(415));this[e(146)][e(214)](e(415),a),this[e(227)][e(214)](e(415),this[e(221)](a,1));const c=Array[e(211)](this[e(146)])[e(405)]((([t,e])=>[t,lt(e)]));this[e(208)](this[e(458)],c,this[e(343)],r)}[rt(426)](){const t=rt;this[t(323)](),this[t(152)]=-1,this[t(458)]=-1,this[t(291)][t(406)](),this[t(309)](this[t(449)])}[rt(208)](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(214)](t,{start:e[n(364)][n(170)](),end:e[n(404)][n(170)](),rootName:e[n(326)][n(268)]});this[n(291)][n(214)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(347)](t){const e=rt;this[e(291)][e(166)](t)}[rt(323)](){const t=rt;this[t(393)][t(406)](),this[t(365)][t(406)](),this[t(433)][t(406)](),this[t(146)][t(406)](),this[t(223)][t(406)](),this[t(215)][t(406)](),this[t(244)][t(406)](),this[t(227)][t(406)](),this[t(437)][t(406)](),this[t(343)][t(406)](),this[t(318)]=1,this[t(456)]=this[t(318)]}[rt(221)](t,e=null){const i=rt;let s=null;t.is(i(352))||(s=new Z.Element(t[i(397)],{vid_start:null===e?this[i(318)]++:e++}));const n=[];for(const s of t[i(232)]())if(s.is(i(402))){n[i(336)](this[i(221)](s,e));const t=n[n[i(345)]-1];null!==e&&(e=t.is(i(402),i(423))?t[i(414)](i(316))+1:t[i(414)](i(250))+1)}else for(let t=0;t<s[i(420)];t++)n[i(336)](new Z.Element(i(423),{vid:null===e?this[i(318)]++:e++}));if(t.is(i(352))){const e=ht(t[i(268)]);return e[i(311)](0,n),e}return s[i(162)](i(250),null===e?this[i(318)]++:e++),s[i(311)](0,n),s}[rt(362)](t,e,i){const s=rt;this[s(323)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(291)][s(427)](t);this[s(215)]=new Map(n),this[s(244)]=new Map(A(o));for(const[t,e]of this[s(215)])if(s(415)!==t&&(this[s(146)][s(214)](t,lt(e)),this[s(223)]=new Map(A(o)),i)){const i=this[s(318)];this[s(227)][s(214)](t,this[s(221)](e)),this[s(437)][s(214)](t,this[s(221)](e,i))}this[s(456)]=this[s(318)],this[s(146)][s(214)](s(415),lt(this[s(215)][s(427)](s(415)))),i&&this[s(227)][s(214)](s(415),this[s(221)](this[s(215)][s(427)](s(415))));for(const[t,e]of r){const i=this[s(215)][s(427)](e[s(268)]),n=this[s(146)][s(427)](e[s(268)]),r=new Z.Range(this[s(237)](e[s(364)],i),this[s(237)](e[s(404)],i)),o=this[s(143)](r,n);i[s(430)][s(214)](t,r),this[s(343)][s(214)](t,o)}this[s(325)](t,e,i)}[rt(325)](t,e,i){const s=rt;for(const n of this[s(449)][s(259)](t,e))this[s(161)](n,i);for(const t of this[s(146)][s(378)]())t[s(430)][s(406)]();for(const[t,e]of this[s(343)])this[s(146)][s(427)](e[s(326)][s(268)])[s(430)][s(214)](t,e[s(170)]());const n=new Map,r=new Map;for(const[t,e]of this[s(146)])n[s(214)](t,lt(e)),r[s(214)](t,this[s(223)][s(427)](t));this[s(208)](e,n,this[s(343)],r)}[rt(447)](t){const e=rt,i=Array[e(211)](this[e(291)][e(408)]());i[e(305)](((t,e)=>t-e)),i[e(409)]();for(const e of i)if(e<t)return e;return Number[e(184)]}[rt(395)](t,e){const i=rt,s=Array[i(211)](e[i(430)])[i(405)]((([e,s])=>[e,this[i(143)](s,t)]));t[i(430)]=new Map(s)}[rt(195)](t){const e=rt;for(const i of this[e(343)][e(378)]()){const s=i[e(234)](t),n=Z.Range[e(346)](s);i[e(364)]=n[e(364)],i[e(404)]=n[e(404)]}}[rt(161)](t,e){const i=rt;if(i(256)!=t[i(324)]&&i(462)!=t[i(324)]){if(i(272)==t[i(324)]){const s=t[i(396)][i(326)][i(268)];this[i(146)][i(452)](s)||(this[i(146)][i(214)](s,ht(s,!0)),this[i(223)][i(214)](s,{}),e&&this[i(227)][i(214)](s,ht(s,!0)))}else{if(i(373)==t[i(324)]||i(394)==t[i(324)]||i(445)==t[i(324)])return void this[i(236)](t);i(460)==t[i(324)]&&this[i(421)](t)}if(i(460)!==t[i(324)]){const e=this[i(190)](t,this[i(146)]);e[i(432)](),this[i(195)](e)}if(e)switch(t[i(324)]){case i(272):this[i(379)](t);break;case i(317):case i(181):case i(320):this[i(142)](t);break;case i(376):this[i(319)](t);break;case i(173):this[i(182)](t)}}else this[i(455)](t,e)}[rt(190)](t,e){const i=rt,s=t[i(170)]();return s[i(417)]=t[i(417)],this[i(224)](s,e),s}[rt(164)](t){const e=rt;return t[e(405)]((t=>{const i=e,s=this[i(328)](t);return Number(t[i(348)][i(414)](s))}))}[rt(384)](t,e){const i=rt;if(t.is(i(402),i(423)))e[i(336)]({item:t,type:i(302)});else{t.is(i(402))&&e[i(336)]({item:t,type:i(150)});for(const s of t[i(232)]())this[i(384)](s,e);t.is(i(402))&&e[i(336)]({item:t,type:i(310)})}return e}[rt(191)](){const t=rt,e=new Map(this[t(393)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(215)][t(408)](),...this[t(146)][t(408)]()]);a[t(166)](t(415));for(const e of a){const i=this[t(146)][t(427)](e)||ht(e,!1),s=this[t(215)][t(427)](e)||ht(e,!1);i[t(425)]()||s[t(425)]()?(n[t(372)][e]=lt(i),n[t(241)][e]=lt(s),this[t(395)](n[t(241)][e],s),this[t(395)](n[t(372)][e],i),r[t(372)][e]=this[t(384)](this[t(227)][t(427)](e),[]),r[t(241)][e]=this[t(384)](this[t(437)][t(427)](e)||ht(e,!1),[])):a[t(166)](e)}for(const n of a){const o=r[t(372)][n];for(const n of o){const r=this[t(328)](n),o=n[t(348)][t(414)](r);i[t(166)](o),o>=this[t(456)]&&s[t(214)](o,e[t(427)](o))}}for(const n of a){const a=r[t(372)][n],c=this[t(164)](r[t(241)][n]);let u=0;for(const n of a){const r=this[t(328)](n),a=n[t(348)][t(414)](r);if(!s[t(452)](a)&&!o[t(452)](a))if(i[t(452)](a))u++;else{if(a!=c[u]){const s=e[t(427)](a)||e[t(427)](c[u]);for(;a!=c[u];)i[t(452)](c[u])||(o[t(214)](c[u],s),e[t(214)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(372)][e];for(const e of n){const n=this[t(328)](e),r=e[t(348)][t(414)](n);if(o[t(452)](r)){const e=o[t(427)](r);i[t(452)](r)||i[t(214)](r,{...e}),s[t(214)](r,{...e})}}}for(const e of i[t(408)]())e>=this[t(456)]&&i[t(166)](e);const c=new Map;for(const e of a){let n=r[t(372)][e];for(const e of n)if(e[t(348)].is(t(402),t(321))){const i=this[t(328)](e),n=e[t(348)][t(414)](i);if(s[t(452)](n)){const i=e[t(348)][t(398)][t(398)][t(414)](t(180)),r=c[t(427)](i)||new Set;r[t(212)](s[t(427)](n)[t(400)]),c[t(214)](i,r)}}n=r[t(241)][e];for(const e of n)if(e[t(348)].is(t(402),t(321))){const s=this[t(328)](e),n=e[t(348)][t(414)](s);if(i[t(452)](n)){const s=e[t(348)][t(398)][t(398)][t(414)](t(180)),r=c[t(427)](s)||new Set;r[t(212)](i[t(427)](n)[t(400)]),c[t(214)](s,r)}}for(const e of c[t(408)]())(s[t(452)](e)||i[t(452)](e))&&c[t(166)](e)}for(const e of a){const n=r[t(372)][e];let o=null,a=null;for(const e of n){const n=this[t(328)](e),r=e[t(348)][t(414)](n),u=c[t(427)](r);u&&t(150)==e[t(324)]&&(o=Array[t(211)](u)[0],a=e[t(348)][t(414)](t(250))),o&&(i[t(214)](r,{userId:o}),s[t(214)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(241)][e],a=n[t(372)][e];for(const{userId:e}of this[t(365)][t(378)]())null!==e&&l[t(212)](e);for(const{userId:e}of this[t(433)][t(378)]())null!==e&&l[t(212)](e);this[t(172)](a,r[t(372)][e],s,t(350),l),this[t(172)](o,r[t(241)][e],i,t(388),l),u[e]={insertions:this[t(443)](a),deletions:this[t(443)](o),attachChange:this[t(433)][t(427)](e)||null,attributesBefore:A(this[t(244)][t(427)](e))||{},attributesAfter:A(this[t(223)][t(427)](e))}}return{diffData:u,authorsIds:Array[t(211)](l)}}[rt(213)](t){const e=rt;for(const[,i]of t[e(430)]){const t=i[e(364)][e(297)]()[e(431)]((t=>e(321)==t[e(397)]));for(const i of t)1==i[e(183)]&&i[e(225)](0).is(e(402),e(194))&&i[e(225)](0)[e(162)](e(187),!0)}}[rt(443)](t){const e=rt;this[e(213)](t);const i=this[e(374)][e(375)][e(429)](t,{}),s=Array[e(211)](i[e(232)]())[e(405)]((t=>this[e(253)](t)));return JSON[e(391)](s)}[rt(253)](t){const e=rt;if(t.is(e(423)))return t[e(375)];{const i=this[e(374)][e(178)][e(427)](e(189)),s=t,n=this[e(374)][e(375)][e(419)][e(200)],r={type:i[e(410)](s),name:s[e(397)],attributes:Array[e(211)](s[e(254)]()),children:Array[e(211)](s[e(232)]())[e(405)]((t=>this[e(253)](t)))};if(t.is(e(300))&&e(446)!=t[e(397)]){const i=t[e(275)](n[e(242)],n);r[e(424)][e(336)](i[e(269)])}else if(t.is(e(149))){const i=n[e(242)][e(203)](s[e(397)]);t[e(275)](i,n),r[e(424)][e(336)](i[e(293)])}const o=Array[e(211)](s[e(454)]());o[e(345)]>0&&(r[e(217)]=o);const a=s[e(463)]();return null!==a&&(r[e(329)]=a),r}}[rt(172)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(374)][r(206)];for(let s=0;s<e[r(345)];s++){const n=this[r(328)](e[s]),c=e[s][r(348)][r(414)](n),h=i[r(427)](c),d=s==e[r(345)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(400)]!=o[r(400)])&&(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(400)],d=l(389)+s+":"+h+":"+c++,f=u[l(294)](i,a);t[l(430)][l(214)](d,f),null!==h&&n[l(212)](h)}}[rt(328)](t){const e=rt;switch(t[e(324)]){case e(150):return e(180);case e(310):return e(250);default:return e(316)}}[rt(224)](t,e){const i=rt;t[i(267)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(427)](n[i(326)][i(268)]);t[s]=this[i(237)](n,r)}if(n instanceof Z.Range){const r=e[i(427)](n[i(326)][i(268)]);t[s]=this[i(143)](n,r)}i(326)===s&&(t[i(326)]=e[i(427)](t[i(326)][i(268)]))}}[rt(143)](t,e){const i=rt;return this[i(374)][i(206)][i(294)](this[i(237)](t[i(364)],e),this[i(237)](t[i(404)],e))}[rt(237)](t,e){const i=rt;return this[i(374)][i(206)][i(265)](e,t[i(411)],t[i(341)])}[rt(379)](t){const e=rt,i=this[e(227)][e(427)](t[e(396)][e(326)][e(268)]),s=this[e(237)](t[e(396)],i),n=null===t[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,r=s[e(398)],o=this[e(318)],a=[];for(const i of t[e(258)])if(i.is(e(402)))a[e(336)](this[e(221)](i));else for(let t=0;t<i[e(420)];t++)a[e(336)](new Z.Element(e(423),{vid:this[e(318)]++}));const c=this[e(318)];for(let t=o;t<c;t++)this[e(393)][e(214)](t,{userId:n});r[e(311)](s[e(260)],a)}[rt(142)](t){const e=rt;(t=this[e(190)](t,this[e(227)]))[e(432)]();const i=null===t[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,s=t[e(231)](),n=s[e(398)],r=s[e(260)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(225)](e);r.is(a(402),a(423))?s[a(214)](r[a(414)](a(316)),{userId:i}):(s[a(214)](r[a(414)](a(180)),{userId:i}),t(s,r,0,r[a(183)]),s[a(214)](r[a(414)](a(250)),{userId:i}))}}(this[e(393)],n,r,r+t[e(185)])}[rt(319)](t){const e=rt,i=null===(t=this[e(190)](t,this[e(227)]))[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,s=t[e(368)][e(398)],n=t[e(457)][e(398)],r=s[e(414)](e(250)),o=n[e(414)](e(180));s[e(162)](e(250),n[e(414)](e(250))),n[e(162)](e(250),r),this[e(393)][e(214)](o,{userId:i}),this[e(393)][e(214)](r,{userId:i}),t[e(432)]()}[rt(182)](t){const e=rt,i=null===(t=this[e(190)](t,this[e(227)]))[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,s=t[e(339)],n=t[e(186)][e(398)];t[e(432)]();const r=n[e(414)](e(250)),o=t[e(359)][e(440)];if(s){const t=o[e(414)](e(250)),s=n[e(414)](e(250));n[e(162)](e(250),t),o[e(162)](e(250),s),this[e(393)][e(214)](n[e(414)](e(250)),{userId:i}),this[e(393)][e(214)](o[e(414)](e(180)),{userId:i})}else{const t=this[e(318)]++,s=this[e(318)]++;n[e(162)](e(250),t),o[e(162)](e(180),s),o[e(162)](e(250),r),this[e(393)][e(214)](t,{userId:i}),this[e(393)][e(214)](s,{userId:i})}}[rt(421)](t){const e=rt;if(!t[e(334)])return;const i=(t=this[e(190)](t,this[e(146)]))[e(169)]?t[e(169)][e(326)]:null,s=t[e(356)]?t[e(356)][e(326)]:null;i&&this[e(343)][e(166)](t[e(397)]),s&&this[e(343)][e(214)](t[e(397)],t[e(356)][e(170)]());const n=null===t[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,r=t[e(397)];if(!this[e(365)][e(452)](r))return void this[e(365)][e(214)](r,{range:t[e(169)],userId:n});const o=this[e(365)][e(427)](r),a=o[e(434)],c=t[e(356)];null==a&&null==c||a&&c&&a[e(422)](c)?this[e(365)][e(166)](t[e(397)]):o[e(400)]=n}[rt(455)](t,e){const i=rt;this[i(146)][i(452)](t[i(268)])?this[i(146)][i(427)](t[i(268)])[i(331)]=t[i(306)]:(this[i(146)][i(214)](t[i(268)],ht(t[i(268)],!0)),this[i(223)][i(214)](t[i(268)],{}),e&&this[i(227)][i(214)](t[i(268)],ht(t[i(268)],!0)));const s=null===t[i(417)]?null:t[i(417)]||this[i(374)][i(178)][i(427)](i(392)).me.id,n=this[i(433)][i(427)](t[i(268)]);n&&n[i(400)]===s?this[i(433)][i(166)](t[i(268)]):this[i(433)][i(214)](t[i(268)],{userId:s,isAttached:t[i(306)]})}[rt(236)](t){const e=rt,i=this[e(223)][e(427)](t[e(326)][e(268)]);null===t[e(168)]?delete i[t[e(363)]]:i[t[e(363)]]=t[e(168)]}}function lt(t){const e=rt,i=ht(t[e(268)],t[e(425)]());for(const s of t[e(232)]()){const t=s[e(238)](!0);i[e(322)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(268)]=t,s[i(331)]=e,s[i(425)]=()=>s[i(331)],s}function dt(t,e,i){const s=rt,n=s(310)==t[s(324)]?i[s(273)](t[s(348)],s(404)):i[s(220)](t[s(348)]);return i[s(265)](e,n[s(411)],n[s(341)])}function ft(t,e,i){const s=rt,n=s(150)==t[s(324)]?i[s(273)](t[s(348)],0):i[s(399)](t[s(348)]);return i[s(265)](e,n[s(411)],n[s(341)])}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=Dt();return(Et=function(t,e){return i[t-=245]})(t,e)}function Dt(){const t=["219204HCefRS","focus","arrowdown","reset","element","2EBxXMm","render","add","arrowup","220","125622hGSGEW","ck-revision-history-save-revision-form","revisionNameInputValue","errorText","arrowleft","fieldView","Name of the revision","stopPropagation","form","focusTracker","775PSIcaB","revisionNameInputView","revisionName","set","13011EDCsum","optional","label","360XgcUai","277920sDLFQu","10NnRIsq","listenTo","extendTemplate","arrowright","ck-responsive-form","7404PITKHa","trim","2245488CrGIVW","803PsvXVE","_createRevisionNameInput","value","input","973536KDBBvW","keystrokes","setTemplate","locale"];return(Dt=function(){return t})()}!function(t){const e=Et,i=t();for(;;)try{if(214673===-parseInt(e(284))/1*(parseInt(e(279))/2)+-parseInt(e(253))/3*(parseInt(e(256))/4)+parseInt(e(249))/5*(-parseInt(e(263))/6)+-parseInt(e(265))/7+-parseInt(e(270))/8+parseInt(e(257))/9*(parseInt(e(258))/10)+-parseInt(e(266))/11*(-parseInt(e(274))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Mt extends pt.View{[At(248)];[At(271)];[At(250)];constructor(e,i){const s=At;super(e),this[s(248)]=new t.FocusTracker,this[s(271)]=new t.KeystrokeHandler,this[s(252)](s(286),""),this[s(250)]=this[s(267)](i),this[s(272)]({tag:s(247),attributes:{class:["ck",s(285),s(262)],tabindex:"-1"},children:[this[s(250)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(280)](){const t=At;super[t(280)](),(0,pt.submitHandler)({view:this}),this[t(248)][t(281)](this[t(250)][t(278)]),this[t(271)][t(259)](this[t(278)]);const e=e=>e[t(246)]();this[t(271)][t(252)](t(261),e),this[t(271)][t(252)](t(288),e),this[t(271)][t(252)](t(282),e),this[t(271)][t(252)](t(276),e)}[At(275)](){const t=At;this[t(250)][t(275)]()}get[At(251)](){const t=At;return this[t(250)][t(289)][t(278)][t(268)][t(264)]()}set[At(251)](t){const e=At;this[e(250)][e(289)][e(278)][e(268)]=t[e(264)]()}[At(277)](){const t=At;this[t(250)][t(289)][t(278)][t(268)]="",this[t(250)][t(287)]=null}[At(267)](t){const e=At,i=new pt.LabeledFieldView(this[e(273)],pt.createLabeledInputText),s=i[e(289)];s[e(260)]({attributes:{maxlength:e(283)}});let n=Q(this[e(273)],e(245));return!t&&(n+=" ("+Q(this[e(273)],e(254))+")"),i[e(255)]=n,s.on(e(269),(()=>{const t=e;this[t(286)]=s[t(278)][t(268)][t(264)]()})),i}}const Vt=Ft;function Ct(){const t=["view","isPremiumPlugin","RevisionTracker","menu","errorText","Revision history","submit","_showDialog","saveRevision","hide","add","ck-button-action","role","3318990xWDEda","2398284FCavJM","6862LdbRZj","componentFactory","The revision name cannot be empty.","_registerMenuComponent","config","_saveRevisionFormView","isOpen","get","menuitem","plugins","Cancel","298tTicSd","execute","revisionHistory","isOfficialPlugin","Save current revision","delegate","init","760pOOJnu","isReady","Accept","bind","22700SBiaez","RevisionHistoryUI","Dialog","panelView","focus","menuBar:revisionHistory","revisionSave","children","addMany","revisionNameInputView","locale","requires","editing","buttonView","7776981gzarcr","isReadOnly","isEnabled","reset","21962870ERZTng","set","_createSaveRevisionFormView","3787IyYesm","render","show","Open revision history","pluginName","16776entrtB","showRevisionViewerCallback","editor","revisionHistory.requireRevisionName","revisionName","items"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=398]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(576695===parseInt(e(440))/1*(parseInt(e(429))/2)+-parseInt(e(427))/3+parseInt(e(447))/4*(parseInt(e(451))/5)+-parseInt(e(428))/6+-parseInt(e(403))/7*(parseInt(e(408))/8)+-parseInt(e(465))/9+parseInt(e(400))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Pt extends U.Plugin{static get[Vt(407)](){return Vt(452)}static get[Vt(443)](){return!0}static get[Vt(415)](){return!0}static get[Vt(462)](){return[ct]}[Vt(434)];[Vt(446)](){const t=Vt,e=this[t(410)],i=e[t(438)][t(436)](t(416));e.ui[t(430)][t(424)](t(442),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(454)][n(458)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(450)](n(398)).to(i,n(448),i,n(398),e,n(466),((t,e,i)=>t&&e&&!i)),r[n(464)][n(401)]({icon:mt.IconHistory,label:Q(s,n(419)),tooltip:!0}),u[n(401)]({label:Q(s,n(444)),withText:!0,role:n(437)}),u[n(450)](n(398)).to(i,n(448),i,n(398),e,n(466),((t,e,i)=>t&&e&&!i)),u.on(n(441),(()=>this[n(421)]())),h[n(401)]({label:Q(s,n(406)),withText:!0,role:n(437)}),h[n(450)](n(398)).to(i,n(448),e,n(466),((t,e)=>t&&!e)),h.on(n(441),(()=>{const t=n;e[t(433)][t(436)](t(442))[t(409)](),r[t(435)]=!1,e[t(463)][t(414)][t(455)]()})),c[n(458)][n(424)](u),l[n(458)][n(424)](h),a[n(426)]=n(417),a[n(413)][n(459)]([c,l]),o[n(424)](a),r})),e.ui[t(430)][t(424)](t(456),(()=>this[t(432)]()))}[Vt(432)](){const t=Vt,e=this[t(410)],i=e[t(461)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(464)][t(401)]({icon:mt.IconHistory,label:Q(i,t(419))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(401)]({label:Q(i,t(444))}),o[t(445)](t(441)).to(s),o.on(t(441),(()=>{this[t(421)]()})),r[t(458)][t(424)](o),n[t(413)][t(424)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(401)]({label:Q(i,t(406))}),c[t(445)](t(441)).to(s),c.on(t(441),(()=>{const i=t;e[i(433)][i(436)](i(442))[i(409)]()})),a[t(458)][t(424)](c),n[t(413)][t(424)](a),s[t(454)][t(458)][t(424)](n),s}[Vt(421)](){const t=Vt,e=this[t(410)],i=e[t(461)],s=e[t(438)][t(436)](t(453)),n=e[t(438)][t(436)](t(416));function r(n){const r=t;e[r(433)][r(436)](r(411))&&""===n[r(412)]?n[r(460)][r(418)]=Q(i,r(431)):(e[r(438)][r(436)](ct)[r(422)]({name:n[r(412)]}),s[r(423)]())}this[t(434)]||(this[t(402)](),this[t(434)].on(t(420),(()=>r(this[t(434)])))),this[t(434)][t(399)](),s[t(405)]({id:t(457),title:Q(i,t(444)),isModal:!0,content:this[t(434)],actionButtons:[{label:Q(e[t(461)],t(439)),withText:!0,onExecute:()=>s[t(423)]()},{label:Q(e[t(461)],t(449)),class:t(425),withText:!0,onCreate(i){const s=t;i[s(450)](s(398)).to(n,s(448),n,s(398),e,s(466),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(434)])}]})}[Vt(402)](){const t=Vt,e=this[t(410)],i=e[t(461)];this[t(434)]=new Mt(i,e[t(433)][t(436)](t(411))),this[t(434)][t(404)]()}}function jt(){const t=["2012yEgwMc","changeId","101852QTPvTe","1219100aHrqiF","isSuggestion","ck-revision-change","1003544kqmMWN","focus","type","ck-revision-change__","1646127hiJlkq","Added by","249kKcJGK","element","14682hcAloR","author","setTemplate","bindTemplate","span","ck-annotation","Suggested by","Removed by","483ovRpIY","add","_model","528280CRknfj","div","name","set","data","ck-revision-change__label"];return(jt=function(){return t})()}const Lt=Wt;function Wt(t,e){const i=jt();return(Wt=function(t,e){return i[t-=496]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(138056===-parseInt(e(502))/1+parseInt(e(525))/2+parseInt(e(512))/3*(-parseInt(e(500))/4)+parseInt(e(503))/5+parseInt(e(514))/6*(-parseInt(e(522))/7)+parseInt(e(506))/8+-parseInt(e(510))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class zt extends pt.View{[Lt(501)];[Lt(524)];constructor(t,e){const i=Lt;super(t),this[i(524)]=e,this[i(501)]=e.id;const s=this[i(517)],n=Q(t,e[i(498)][i(504)]?i(520):i(523)==e[i(508)]?i(511):i(521));this[i(497)](i(508),e[i(508)]),this[i(516)]({tag:i(526),attributes:{class:[i(519),i(505),s.to(i(508),(t=>i(509)+t))],tabindex:-1},children:[{tag:i(518),children:[{tag:i(518),attributes:{class:[i(499)]},children:[{text:n}]},{text:" "+e[i(515)][i(496)]}]}]})}[Lt(507)](){const t=Lt;this[t(513)][t(507)]()}}var Ut=Ht;function Ht(t,e){var i=Zt();return(Ht=function(t,e){return i[t-=441]})(t,e)}function Zt(){var t=["createdAt","5786088pOVGMB","655205yxaZnl","8lcGFrJ","set","rootName","toJSON","author","type","71646fMydBr","data","390CzPGox","6bPDSBI","112sOGsYi","1063022nspVET","168949bqifyH","7894881BxWfBF","125785GaGgzP"];return(Zt=function(){return t})()}!function(t){for(var e=Ht,i=t();;)try{if(517697===-parseInt(e(457))/1+parseInt(e(454))/2+parseInt(e(449))/3*(-parseInt(e(453))/4)+parseInt(e(442))/5*(parseInt(e(452))/6)+-parseInt(e(441))/7+-parseInt(e(443))/8*(-parseInt(e(456))/9)+parseInt(e(451))/10*(parseInt(e(455))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ut(447)];[Ut(448)];[Ut(450)];[Ut(445)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(447)]=e[i(447)],this[i(448)]=e[i(448)],this[i(450)]=e[i(450)]||{},this[i(445)]=e[i(445)],this[i(444)](i(458),e[i(458)])}[Ut(446)](){var t=Ut;return{id:this.id,authorId:this[t(447)].id,type:this[t(448)],data:this[t(450)],createdAt:this[t(458)]}}}const $t=Yt;!function(t){const e=Yt,i=t();for(;;)try{if(833246===-parseInt(e(259))/1+-parseInt(e(265))/2*(-parseInt(e(253))/3)+-parseInt(e(266))/4+parseInt(e(264))/5*(-parseInt(e(262))/6)+parseInt(e(260))/7+-parseInt(e(256))/8+parseInt(e(255))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Bt{[$t(263)];[$t(257)];[$t(258)];constructor(e,i){const s=$t;this[s(263)]=e,this[s(257)]=i,this[s(258)]=new t.Collection}[$t(254)](t){const e=$t;for(const i of t)this[e(258)][e(261)](i)}}function Yt(t,e){const i=Gt();return(Yt=function(t,e){return i[t-=253]})(t,e)}function Gt(){const t=["oldRevisionId","changes","6209aKbNAx","1776922bcbtkO","add","60ykhHqT","newRevisionId","320830gSjZFi","403226YvutQj","3187676dxzCRP","15xsGmeb","_setChanges","21149802wAgxJN","10670840UMozws"];return(Gt=function(){return t})()}var Jt=i(536),Xt={attributes:{"data-cke":!0}};Xt.setAttributes=It(),Xt.insert=wt().bind(null,"head"),Xt.domAPI=kt(),Xt.insertStyleElement=Ot();gt()(Jt.A,Xt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Kt=ee;function Qt(){const t=["_cleanMarkers","markersEnd","_initInteractions","addRevision","RevisionsRepository","removeClass","isAtStart","wrap","affectsData","RevisionViewer","concat","userId","enableReadOnlyMode","isNavigationMode","item","markerRange","return","WidgetToolbarRepository","suggestion:","refresh","removeMarker:revision","findIndex","pluginName","nodeAfter","markerName","changeId","destroy","change:numberOfChanges","downcastDispatcher","getChild","createRevision","addRevisionData","reconvertMarker","add","mapper","deletions","currentChangeNumber","startIndex","bindElementToMarker","nextPosition","rootName","-new","markers","activeChange","commands","_processTape","observeMarkers","getRootNames","change:isEnabled","next","getDomRoot","isBlock","insertions","updatePosition","authors","level","revision-comment:","isInline","oldRevisionId","unshift","error","unbindElementFromMarkerName","getRevisionRootsAttributes","target","removeMarker:revision-suggestion","revisionHistoryLabel","isRemoveSuggestion","getLaterVisibleRevision","hasAttribute","_refreshStartEndIndex","getCustomProperty","compare","revisionHistoryAttachChange","type","merge","done","conversion","uiElement","isEqual","240DjbOvQ","left","_data","distance","addClass","consume","end","offsetSize","element","133445cYSKVU","ck-revision-history-root-add","restoreRevision","listenTo","getWalker","range","locale","from","changes","POSITIVE_INFINITY","getAttribute","_activeViewTarget","pairId","startsWith","attribute:vid","bind","execute","keys","_getChangeFromId","parent","dataToMarker","bottom","_markInsertions","mousedown","isEnabled","showStack","addMarker:revision-suggestion:deletion","checkAttribute","getItems","change:isReady","right","739503FQGOrb","values","_getDiff","split","isAdded","sort","adapter","ck-suggestion-marker","insert","remove","mouseover","isCollapsed","showNextChange","_markMarkers","isOfficialPlugin","_balloon","previousPosition","isAtEnd","data","hasClass","length","upcast","revision","14072067WxYZqw","change:activeChange","view","resolve","_removeUnsupportedChanges","removeMarker","ck-suggestion-marker-merge","has","push","11694770MdQUId","domConverter","elementEnd","ck-suggestion-preview-marker","_getRevisionsRange","ck-suggestion-marker--active","for","splice","repository","indexOf","getAttributes","activeView","_makeModelFromViewString","ck-editor__editable__overlay","attributes","_sortAndFilterDiffChanges","_setConversion","addHighlight","get","attributesBefore","numberOfChanges","_markSuggestions","filter","_changeIdToChange","attachChange","model","elementStart","consumable","forward","delete","name","revision-suggestion","ck-revision-history-root--active","abs","addMarker:revision","_findChangeIdFromDomTarget","side","viewItem","isIncorrect","enqueueChange","ck-suggestion-preview-marker-","ck-suggestion-marker-","schema","catch","newRevisionId","toViewRange","3984036WcWYkE","change","softBreak","plugins","_threeWayMerge","attributesAfter","mapViewToDom","toViewElement","then","loadRevisionData","text","createPositionBefore","forceDisabled","stop","set","_makeModelFromTape","isRemoved","addMarker:revision-suggestion:insertion","isBefore","top","showPreviousChange","2FxGPqY","change:activeView","elementToAttribute","forEach","_utils","diffData","ck-revision-history-root-","_setChanges","1261768sMfvKO","slice","span","shift","editor","isAttached","start","isOnRoot","revision:","_joinTapes","vid_end","restoreRevisionCallback","markerNameToElements","all","isAddSuggestion","nextSibling","vid","1981041prMpQF","ck-suggestion-marker-split","roots","toViewPosition","isPremiumPlugin","comment","isLimit","element:pre","test","requires","domEvent","getClientRects","_makeTape","getIndex","revision-suggestion:","writer","highest","detachRoot","low","revision-viewer","_revisions","map","insertion","_setDistance","createUIElement","RevisionHistoryUtils","_step","_removeMissingPairs","index","maxOffset","isSuggestion","backward","addRoot","code","revisionHistory","markerToData","_fixObsoleteTags","_cleanUp","_changeView","find","7nufRZH","ck-revision-history-root-remove","getRevisionDocumentData","markerToHighlight","config","vid_start","deletion","createRangeIn","flat","createAttributeElement","removeAttribute","_getViewForChange","editing","endIndex","createRange","high","modelRange","diff","first","isObject","markersStart","_update","editingDowncast","string","_appendChild","clear","data-change-id","object","pop","isReady","document","dataDowncast","createPositionFromPath","getRoot","getRevision","suggestion","includes","selection","setAttribute","isContent","init","isAfter","_markMismatchedRemovedTags"];return(Qt=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(888100===parseInt(e(628))/1+parseInt(e(401))/2*(parseInt(e(426))/3)+parseInt(e(380))/4+parseInt(e(597))/5*(parseInt(e(588))/6)+-parseInt(e(466))/7*(-parseInt(e(409))/8)+-parseInt(e(651))/9+-parseInt(e(660))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class te extends U.Plugin{[Kt(342)];[Kt(634)]=null;[Kt(405)];[Kt(608)];[Kt(464)];[Kt(357)];[Kt(643)];static get[Kt(531)](){return Kt(518)}static get[Kt(642)](){return!0}static get[Kt(430)](){return!0}static get[Kt(435)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Kt;super(t),this[e(342)]=this[e(413)][e(383)][e(352)](e(513)),this[e(405)]=this[e(413)][e(383)][e(352)](e(451)),this[e(394)](e(552),null),this[e(394)](e(345),null),this[e(608)]=null,this[e(394)](e(483),null),this[e(394)](e(495),!1),this[e(394)](e(621),!0),this.on(e(557),((t,i,s)=>{const n=e;this[n(552)]=null,this[n(345)]=null,this[n(413)][n(478)][n(653)][n(381)]((t=>{const e=n;for(const i of this[e(413)][e(478)][e(653)][e(496)][e(428)])s?t[e(514)](e(347),i):t[e(592)](e(347),i)}))})),this[e(612)](e(522)).to(this,e(552),(t=>null!==t)),this[e(612)](e(545)).to(this,e(495),this,e(483),this,e(552),((t,i,s)=>t&&s?i[e(605)][e(439)](s):0)),this[e(612)](e(354)).to(this,e(495),this,e(483),((t,i)=>t?i[e(605)][e(648)]:0)),this[e(464)]=null,this[e(357)]=new Map,this[e(643)]=this[e(413)][e(383)][e(352)](pt.ContextualBalloon)}[Kt(506)](){const t=Kt,e=this[t(413)],i=new ne(e,{direction:t(457)}),s=new ne(e,{direction:t(362)});e[t(553)][t(542)](t(400),i),e[t(553)][t(542)](t(640),s),e[t(553)][t(542)](t(599),new se(e)),this.on(t(536),(()=>{const e=t;i[e(528)](),s[e(528)]()})),this[t(350)](),this[t(511)](),e[t(521)](t(445)),e[t(383)][t(658)](t(526))&&e[t(383)][t(352)](t(526))[t(392)](t(445))}async[Kt(468)](t){const e=Kt;return await this[e(405)][e(389)](t,this[e(634)]),this[e(405)][e(468)](t)}async[Kt(571)](t){const e=Kt;return await this[e(405)][e(389)](t,this[e(634)]),this[e(405)][e(571)](t)}async[Kt(580)](t,e,i=!1){const s=Kt;if(!this[s(621)])return;const n=this[s(483)],r=this[s(342)],o=s(489)==typeof t?r[s(500)](t):t,a=s(489)==typeof e?r[s(500)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(483)]&&this[s(483)][s(378)]===c&&this[s(483)][s(567)]===u)return Promise[s(654)]();this[s(495)]=!1,this[s(345)]=null,this[s(552)]=null,this[s(483)]=new Bt(c,u);const l=this[s(664)](o,a,!0)[s(447)]((t=>this[s(405)][s(389)](t,this[s(634)])));return l[s(659)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(422)](l)[s(388)]((()=>{const t=s;if(!this[t(621)])return;this[t(463)]();const e=this[t(630)](c,u);for(const i of e[t(605)])this[t(357)][t(394)](i.id,i);this[t(413)][t(359)][t(373)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(413)][s(359)][s(496)][s(556)]())i[s(443)](t);for(const t of Object[s(614)](e[s(359)])){const n=i[s(458)](t);for(const r of Object[s(614)](e[s(348)][t]))i[s(504)](r,e[s(348)][t][r],n);i[s(636)](e[s(359)][t],n,0)}})),this[t(483)][t(408)](this[t(349)](e[t(605)])),this[t(495)]=!0}))[s(377)]((t=>{const e=s;console[e(569)](t),this[e(463)](),n&&(this[e(483)]=n),this[e(495)]=!0}))}[Kt(540)](t,e){const i=Kt,s=this[i(342)][i(539)](t);return s.on(i(487),((t,i,n)=>e(i,n,s))),this[i(342)][i(512)](s),s}[Kt(463)](){const t=Kt;this[t(552)]=null,this[t(509)](),this[t(464)]&&this[t(464)][t(535)](),this[t(464)]=null,this[t(357)][t(491)](),this[t(413)][t(359)][t(373)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(413)][i(359)][i(496)][i(556)]())e[i(443)](t)}))}[Kt(349)](t){const e=Kt,i=[],s=new Map;for(const t of this[e(413)][e(359)][e(496)][e(556)]()){const n=this[e(413)][e(478)][e(653)][e(559)](t);if(!n)continue;const r=n[e(437)]()[e(523)](0);r&&(i[e(659)](t),s[e(394)](t,r))}return i[e(633)](((t,i)=>{const n=e,r=s[n(352)](t),o=s[n(352)](i);return r.y-o.y||r.x-o.x})),(t=t[e(356)]((t=>i[e(502)](t[e(549)]))))[e(633)](((t,s)=>i[e(343)](t[e(549)])-i[e(343)](s[e(549)]))),t}[Kt(438)](t){const e=Kt,i=Array[e(604)](t[e(551)])[e(356)]((([t,i])=>t[e(610)](e(417))&&!i[e(639)])),s=Array[e(604)](this[e(413)][e(359)][e(473)](t)[e(601)]({singleCharacters:!0}));if(0!=i[e(648)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(631)](":");if(n[e(594)][e(587)](t[e(548)])&&i[e(412)](),(t[e(644)][e(587)](n[e(415)])||t[e(644)][e(507)](n[e(415)]))&&(e(448)==r?t[e(632)]={userId:o}:e(472)==r&&(t[e(396)]={userId:o})),0==i[e(648)])break}return s}[Kt(578)](t){const e=Kt,i=new Map;for(let s=0;s<t[e(648)];s++)e(390)===t[s][e(582)]?(t[s][e(523)][e(546)]=s,t[s][e(523)][e(479)]=s):(e(360)===t[s][e(582)]?t[s][e(523)][e(546)]=s:e(662)===t[s][e(582)]&&(t[s][e(523)][e(479)]=s),i[e(394)](t[s].id,s));for(const s of i[e(629)]())e(360)===t[s][e(582)]?t[s][e(523)][e(479)]=i[e(352)](t[s][e(609)]):e(662)===t[s][e(582)]&&(t[s][e(523)][e(546)]=i[e(352)](t[s][e(609)]))}[Kt(554)](t){const e=Kt;for(let i=0;i<t[e(648)];i++){if(e(360)===t[i][e(582)])t[i][e(523)][e(546)]=i;else if(e(662)===t[i][e(582)]){t[i][e(523)][e(479)]=i;const s=t[i][e(523)][e(546)];t[s][e(609)]=t[i].id,t[i][e(609)]=t[s].id}else t[i][e(523)][e(546)]=i,t[i][e(523)][e(479)]=i,t[i][e(609)]=null;t[i][e(486)]||(t[i][e(486)]=[],t[i][e(510)]=[])}}[Kt(619)](t,e){const i=Kt,s=t[i(356)]((t=>!t[i(632)]));for(let t=0;t<e[i(648)];t++)e[t][i(632)]&&(s[t][i(632)]=e[t][i(632)])}[Kt(630)](t,e=null){const i=Kt,s=this[i(342)][i(500)](t),n=e?this[i(342)][i(500)](e):null,r=this[i(664)](s,n),o=r[r[i(648)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(648)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(614)](e[i(406)]))if(e[i(406)][t][i(358)]){const s=e[i(406)][t][i(358)];s[i(414)]?(u[i(542)](t),l[i(658)](t)&&l[i(352)](t)[i(520)]==s[i(520)]?l[i(363)](t):l[i(394)](t,s)):l[i(658)](t)?(u[i(363)](t),l[i(363)](t)):(u[i(542)](t),l[i(394)](t,s))}else u[i(542)](t)}for(const t of u){const e=l[i(658)](t)&&!l[i(352)](t)[i(414)];let s=e?r[i(648)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(406)][t]){const s=e?o[i(406)][t][i(353)]:o[i(406)][t][i(385)];c[i(348)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(359)]={};for(const e of t[i(563)])a[i(394)](e.id,e);for(const e of u){const s=t[i(406)][e]?t[i(406)][e][i(561)]:"[]",n=t[i(406)][e]?t[i(406)][e][i(544)]:"[]";t[i(359)][e]={insertions:this[i(405)][i(346)](s),deletions:this[i(405)][i(346)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(604)](s[i(359)][t][i(561)][i(551)])[i(356)]((([t])=>!t[i(610)](i(417)))));let h=0;for(const o of r){const r=this[i(438)](o[i(359)][t][i(561)]);o==s?(e=r,n=e[i(648)],e[i(404)]((t=>{t.id=h++})),this[i(554)](e)):this[i(619)](e,r);const a=e[i(356)]((t=>!t[i(632)]))[i(447)]((t=>t.id));let c=0;const l=this[i(438)](o[i(359)][t][i(544)]);l[i(404)]((t=>{t[i(396)]?t.id=n++:t.id=a[c++]})),this[i(554)](l),this[i(449)](e,i(632)),this[i(449)](l,i(396)),o==s&&this[i(641)](e,u),e=this[i(418)](e,l),this[i(578)](e),this[i(449)](e,i(396))}e=e[i(356)]((t=>!(t[i(632)]&&t[i(396)])));const d=new Map(o[i(359)][t][i(544)][i(551)]),f=new Set(u[i(614)]());for(const t of d[i(614)]())f[i(363)](t);this[i(355)](e,f),this[i(462)](e),e=this[i(453)](e),e=this[i(508)](e),e=this[i(655)](e);const{root:m,changes:p}=this[i(395)](e,a,t);c[i(359)][t]=m;const v=l[i(352)](t);if(v){const e=a[i(352)](v[i(520)]),s=new qt({author:e,type:v[i(414)]?i(542):i(637),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(568)](s),c[i(348)][t][i(581)]=s.id}c[i(605)]=c[i(605)][i(519)](p)}return c}[Kt(641)](t,e){const i=Kt;for(let s=0;s<t[i(648)];s++)for(const[n,r]of e)!r[i(639)]&&r[i(415)][i(587)](t[s][i(644)])&&t[s][i(486)][i(659)](n),r[i(594)][i(587)](t[s][i(548)])&&t[s][i(510)][i(659)](n)}[Kt(418)](t,e){const i=Kt;let s=[],n=0,r=0;for(;n<t[i(648)]||r<e[i(648)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(659)](o);else if(a[i(396)]&&o[i(632)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(384)](t,n,e,r);s=s[i(519)](o),n=a,r=c}else a[i(396)]?(r++,s[i(659)](a)):(n++,s[i(659)](o))}return s}[Kt(355)](t,e){const i=Kt,s=[];for(let o=0;o<t[i(648)];o++){for(let r=0;r<t[o][i(486)][i(648)];r++){const a=t[o][i(486)][r];if(!e[i(658)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(365)!=c||i(448)!=u&&i(472)!=u||(s[i(568)]({type:u,name:a,userId:l}),t[o][i(486)][i(667)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(510)][i(648)];r++){const a=t[o][i(510)][r];if(!e[i(658)](a))continue;const{group:c,type:u}=n(a);if(i(365)!=c||i(448)!=u&&i(472)!=u)continue;t[o][i(510)][i(667)](r,1),r--;const l=s[i(530)]((t=>t[i(364)]==a));l>-1&&s[i(667)](l,1)}}function n(t){const e=i,s=t[e(631)](":");return{group:s[0],type:s[1],subType:s[e(648)]>=5?s[2]:null,id:s[e(648)]<5?s[2]:s[3],authorId:s[e(648)]<5?s[3]:s[4],markerCount:6==s[e(648)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(648)];i++){if(t[e(632)]&&e(448)==s[i][e(582)])return t[e(423)]=s[i],void delete t[e(632)];if(!t[e(632)]&&!t[e(396)]&&e(472)==s[i][e(582)])return void(t[e(575)]=s[i])}}}[Kt(449)](t,e){const i=Kt;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(394)](o.id,s);for(let s=0;s<t[i(648)];s++){if(i(396)==e&&t[s][i(632)]||i(632)==e&&t[s][i(396)])continue;if(i(390)==t[s][i(582)]){t[s][i(591)]=0;continue}const n=r[i(352)](t[s][i(609)]),o=r[i(352)](t[s].id);t[s][i(591)]=n-o}}[Kt(664)](t,e,i=!1){const s=Kt,n=[];let r=this[s(342)][s(439)](t),o=this[s(342)][s(439)](e);for(-1==o&&(o=this[s(342)][s(446)][s(648)],i=!1);r<o;)n[s(659)](this[s(342)][s(500)](r)),r++;return i&&n[s(659)](this[s(342)][s(500)](r)),n}[Kt(384)](t,e,i,s){const n=Kt,r=this[n(413)][n(359)][n(376)];let o=e;for(;t[o]&&t[o][n(632)];)o++;let a=s;for(;i[a]&&i[a][n(396)];)a++;u(t,e,o),u(i,s,a);const c=i[n(410)](s,a)[n(519)](t[n(410)](e,o));return c[n(633)](((t,e)=>t[n(370)]!=e[n(370)]?t[n(370)]-e[n(370)]:t[n(564)]!=e[n(564)]?t[n(564)]-e[n(564)]:t[n(591)]!=e[n(591)]?e[n(591)]-t[n(591)]:!!t[n(632)]!=!!e[n(632)]?-1==t[n(370)]||0==t[n(370)]?t[n(632)]?-1:1:t[n(632)]?1:-1:t[n(454)]-e[n(454)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(606)],c=!0;for(let n=e;n<i;n++)if(r[s(566)](t[n][s(523)])||(c=!1),t[n][s(523)][s(546)]<e&&(o=n),t[n][s(523)][s(479)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(370)]=n<=o?-1:n<a?0:1,t[n][s(454)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(591)]?t[i][s(564)]=u:(u++,t[i][s(564)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(370)]&&(t[n][s(564)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(591)]?t[e][s(564)]=u:(u--,t[e][s(564)]=u,u--)}}[Kt(462)](t){const e=Kt,i=new Map,s=this[e(413)][e(359)][e(376)];for(let n=1;n<t[e(648)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(390)==c[e(582)])continue;if(c[e(582)]!=u[e(582)])continue;if(!s[e(560)](u[e(523)])||s[e(432)](u[e(523)]))continue;if(!s[e(560)](c[e(523)])||s[e(432)](c[e(523)]))continue;if((t[n][e(632)]||t[n][e(423)])&&t[n-1][e(396)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(396)]||!t[n-1][e(632)]&&!t[n-1][e(423)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(564)]==o[e(564)],h=Math[e(367)](r[e(564)])<Math[e(367)](o[e(564)])&&0==o[e(591)];(l||h)&&(i[e(394)](o.id,r.id),t[e(667)](a,1),n--,r[e(632)]=!1)}for(let s=0;s<t[e(648)];s++)i[e(658)](t[s][e(609)])&&(t[s][e(609)]=i[e(352)](t[s][e(609)]))}[Kt(453)](t){const e=Kt,i=new Set(t[e(447)]((t=>t.id)));for(let s=0;s<t[e(648)];s++)i[e(658)](t[s][e(609)])||0==t[s][e(591)]||(t[s][e(372)]=!0);return t[e(356)]((t=>!t[e(372)]))}[Kt(508)](t){const e=Kt,i=new Set;for(let s=0;s<t[e(648)];s++){if(i[e(658)](t[s].id)&&t[s][e(396)]&&(t[s][e(372)]=!0),t[s][e(372)])continue;if(0==t[s][e(591)])continue;if(e(360)!=t[s][e(582)])continue;if(null==t[s][e(609)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(609)];)e(360)==t[n][e(582)]?r++:e(662)==t[n][e(582)]&&r--,n++;if(0!=r)if(t[s][e(396)])t[s][e(372)]=!0;else for(;n!=s;)t[n][e(396)]&&0!=t[n][e(591)]&&(t[n][e(372)]=!0,i[e(542)](t[n][e(609)])),n--}return t[e(356)]((t=>!t[e(372)]))}[Kt(655)](t){const e=Kt,i=this[e(413)][e(359)][e(376)];for(let s=0;s<t[e(648)];s++){if(!(t[s][e(632)]||t[s][e(423)]||t[s][e(396)]||t[s][e(575)]))continue;if(0==t[s][e(591)])continue;const n=t[s][e(523)];i[e(560)](n)||i[e(432)](n)||(t[s][e(632)]&&delete t[s][e(632)],t[s][e(423)]&&delete t[s][e(423)],t[s][e(575)]&&delete t[s][e(575)],t[s][e(396)]&&(t[s][e(372)]=!0))}return t[e(356)]((t=>!t[e(372)]))}[Kt(395)](t,e,i){const s=Kt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(413)][s(359)],c=a[s(376)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(648)];e++)if(s(360)===t[e][s(582)]){t[e][s(644)]=a[s(498)](n,f);const i=new Z.Element(t[e][s(523)][s(364)],t[e][s(523)][s(344)]());u[0][s(490)](i),f[s(659)](0),u[s(568)](i),t[e][s(548)]=a[s(498)](n,f)}else s(662)===t[e][s(582)]?(u[s(412)](),t[e][s(644)]=a[s(498)](n,f),f[s(494)](),f[f[s(648)]-1]++,t[e][s(548)]=a[s(498)](n,f)):(t[e][s(644)]=a[s(498)](n,f),d?d[s(590)]+=t[e][s(523)][s(646)]:d=new Z.Text(t[e][s(523)][s(646)],t[e][s(523)][s(344)]()),t[e+1]&&s(390)===t[e+1][s(582)]&&v(d,t[e+1][s(523)])||(u[0][s(490)](d),d=null),f[f[s(648)]-1]+=t[e][s(523)][s(595)],t[e][s(548)]=a[s(498)](n,f));for(let e=0;e<t[s(648)];e++){const i=t[e][s(644)],n=t[e][s(548)];for(const n of t[e][s(486)])o[s(394)](n,{start:i,end:null});m(s(575),e,i,n),m(s(423),e,i,n),m(s(396),e,i,n),m(s(632),e,i,n);for(const i of t[e][s(510)]){const t=o[s(352)](i);t?t[s(594)]=n:o[s(394)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(413)][s(359)][s(480)](e[s(415)],e[s(594)]);n[s(551)][s(394)](t,i)}return r[s(633)](((t,e)=>{const i=s,r=n[i(551)][i(352)](i(417)+t.id),o=n[i(551)][i(352)](i(417)+e.id);return r[i(415)][i(398)](o[i(415)])?-1:r[i(415)][i(507)](o[i(415)])?1:r[i(594)][i(398)](o[i(594)])?-1:r[i(594)][i(507)](o[i(594)])?1:i(542)===t[i(582)]?-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(520)]:null,d=i===t[o(648)]-1,f=h[e][0],m=c[o(485)](t[i][o(523)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(594)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(520)]!==u&&(l[e][o(594)]=n,f&&f[o(520)]===l[e][o(520)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(360)!==t[i][o(582)]||f&&f[o(520)]===u||h[e][o(568)]({userId:u,object:t[i][o(523)],change:l[e]}),o(662)===t[i][o(582)]&&f&&f[o(493)]===t[i][o(523)]&&(h[e][o(412)](),l[e]=f[o(381)])),l[e]&&d&&(l[e][o(594)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(523)],f=a[h(376)][h(560)](d)&&!a[h(376)][h(432)](d),m=t[h(532)]==o[h(616)]&&o[h(515)];if(f&&m)return;const p=a[h(480)](t,o),v=e[h(352)](u),g=new qt({author:v,type:h(632)==l||h(423)==l?h(542):h(637),data:{isSuggestion:h(423)==l||h(575)==l},createdAt:new Date,rootName:i});r[h(659)](g),n[h(551)][h(394)](h(417)+g.id,p)}function v(t,e){const i=s,n=t[i(344)](),r=e[i(344)]();for(const t of n){if(t[1]!==e[i(607)](t[0]))return!1;r[i(558)]()}return r[i(558)]()[i(584)]}}[Kt(350)](){const t=Kt;this[t(413)][t(585)][t(666)](t(649))[t(617)]({view:t(650)}),this[t(413)][t(585)][t(666)](t(488))[t(469)]({model:t(650),view:e=>{const i=t,s=e[i(533)][i(631)](":")[1],n=this[i(615)](s);if(!n)return null;const r=i(542)==n[i(582)]?i(448):i(472),o=[i(635),i(375)+r];return n[i(646)][i(456)]&&o[i(659)](i(375)+r+i(550)),this[i(552)]==n&&o[i(659)](i(665)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(413)][t(585)][t(666)](t(649))[t(542)]((e=>{const i=t;e.on(i(433),((t,e,s)=>{const n=i,r=e[n(371)][n(538)](0);if(!r||!r.is(n(596),n(459)))return;if(!s[n(361)][n(593)](r,{attributes:[n(471),n(419)]}))return;const o=e[n(482)][n(415)][n(532)];s[n(441)][n(504)](n(471),r[n(607)](n(471)),o),s[n(441)][n(504)](n(419),r[n(607)](n(419)),o)}),{priority:i(444)})})),this[t(413)][t(585)][t(666)](t(649))[t(542)]((e=>{const i=t;e.on(i(596),((t,e,s)=>{const n=i;if(!s[n(361)][n(593)](e[n(371)],{attributes:[n(471),n(419)]}))return;if(e[n(482)][n(639)])return;const r=e[n(482)][n(415)][n(532)];r[n(577)](n(471))||r[n(577)](n(425))||(s[n(441)][n(504)](n(471),e[n(371)][n(607)](n(471)),r),s[n(441)][n(504)](n(419),e[n(371)][n(607)](n(419)),r))}),{priority:i(444)})})),this[t(413)][t(585)][t(666)](t(649))[t(403)]({view:{name:t(411),attributes:{vid:!0}},model:{key:t(425),value:e=>e[t(607)](t(425))}}),this[t(413)][t(359)][t(376)].on(t(624),((e,[,i])=>{const s=t;[s(471),s(419),s(425)][s(502)](i)&&(e[s(525)]=!0,e[s(393)]())}),{priority:t(442)}),this[t(413)][t(585)][t(666)](t(497))[t(542)]((e=>{const i=t;e.on(i(611),((t,e,s)=>{const n=i;if(" "!=e[n(523)][n(646)]||e[n(523)][n(616)][n(455)]>1)return;if(!s[n(361)][n(593)](e[n(523)],t[n(364)]))return;const r=s[n(441)],o=s[n(543)][n(379)](e[n(602)]);r[n(516)](o,r[n(475)](n(411)))}))})),this[t(413)][t(585)][t(666)](t(497))[t(461)]({model:t(650)}),this[t(413)][t(478)][t(537)].on(t(368),function(e){const i=t,s=e[i(383)][i(352)](i(518));return(t,n,r)=>{const o=i,a=n[o(533)][o(631)](":")[1],c=s[o(615)](a);if(!c)return null;const u=o(542)==c[o(582)]?o(631):o(583);if(!r[o(361)][o(434)](n[o(524)],t[o(364)]))return;const l=n[o(524)][o(601)](),h=n[o(524)][o(415)],d=e[o(359)][o(376)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(523)];p=p||d[o(505)](e);const i=r[o(543)][o(387)](e);if(i&&i[o(579)](o(351)))return;o(662)==t[o(582)]&&d[o(560)](e)&&!d[o(432)](e)&&(e[o(424)]||h[o(645)]?f&&f[o(616)]==e||(f=e,g(t[o(644)]),v=!0):m=m||t[o(644)])}function g(t){const e=o,i=r[e(441)][e(450)](e(411),{class:e(375)+u}),a=r[e(543)][e(429)](t);c[e(646)][e(456)]&&r[e(441)][e(592)](e(375)+u+e(550),i),s[e(552)]==c&&r[e(441)][e(592)](e(665),i),r[e(441)][e(636)](a,i),r[e(543)][e(547)](i,n[e(533)])}p||v||!m||g(m)}}(this[t(413)]),{priority:t(481)}),this[t(413)][t(478)][t(537)].on(t(529),((e,i,s)=>{const n=t,r=s[n(543)][n(421)](i[n(533)]);if(r)for(const t of r)(t[n(647)](n(427))||t[n(647)](n(657)))&&(s[n(543)][n(570)](t,i[n(533)]),s[n(441)][n(637)](t))}),{priority:t(481)}),this[t(413)][t(478)][t(537)].on(t(368),((e,i,s)=>{const n=t,r=i[n(533)][n(631)](":")[1],o=this[n(615)](r);if(!o)return null;const a=n(542)==o[n(582)]?n(631):n(583);if(s[n(361)][n(434)](i[n(524)],e[n(364)]))for(const t of i[n(524)][n(625)]()){if(!t.is(n(596),n(382)))continue;const e=s[n(441)][n(450)](n(411),{class:n(375)+a}),r=s[n(543)][n(429)](this[n(413)][n(359)][n(391)](t));o[n(646)][n(456)]&&s[n(441)][n(592)](n(375)+a+n(550),e),this[n(552)]==o&&s[n(441)][n(592)](n(665),e),s[n(441)][n(636)](r,e),s[n(543)][n(547)](e,i[n(533)])}}),{priority:t(481)}),this[t(413)][t(359)][t(496)].on(t(381),(()=>{const e=t;this[e(413)][e(478)][e(653)][e(381)]((t=>{const i=e;for(const e of this[i(413)][i(359)][i(496)][i(556)]()){const s=this[i(413)][i(359)][i(496)][i(499)](e),n=this[i(413)][i(478)][i(653)][i(496)][i(499)](e);if(n){const e=s[i(607)](i(581));if(t[i(476)](i(492),n),t[i(514)](i(598),n),t[i(514)](i(467),n),t[i(514)](i(366),n),e){const s=this[i(615)](e);if(!s)return null;t[i(504)](i(492),e,n),t[i(592)](i(407)+s[i(582)],n),this[i(552)]==s&&t[i(592)](i(366),n)}}}}))})),this[t(413)][t(585)][t(666)](t(649))[t(617)]({view:t(431),model:e=>t(565)+e,converterPriority:t(442)}),this[t(413)][t(585)][t(666)](t(649))[t(617)]({view:t(501),model:e=>t(440)+e,converterPriority:t(442)}),this[t(413)][t(585)][t(666)](t(497))[t(461)]({model:t(365),view:e=>({name:t(527)+e,group:t(365)}),converterPriority:t(442)}),this[t(413)][t(585)][t(666)](t(488))[t(469)]({model:t(365),view:e=>{const i=t,s=e[i(533)][i(631)](":")[1];return i(448)!=s&&i(472)!=s?null:{classes:[i(663),i(374)+s]}}}),this[t(413)][t(478)][t(537)].on(t(623),ie(this[t(413)],t(583)),{priority:t(481)}),this[t(413)][t(478)][t(537)].on(t(397),ie(this[t(413)],t(631)),{priority:t(481)}),this[t(413)][t(478)][t(537)].on(t(573),((e,i,s)=>{const n=t,r=s[n(543)][n(421)](i[n(533)]);if(r)for(const t of r)t.is(n(586))&&(s[n(543)][n(570)](t,i[n(533)]),s[n(441)][n(637)](t))}),{priority:t(481)})}[Kt(615)](t){const e=Kt;return this[e(357)][e(352)](t)}[Kt(477)](t){const e=Kt;return this[e(464)]&&this[e(464)][e(535)](),this[e(464)]=new zt(this[e(413)][e(603)],t),this[e(464)]}[Kt(511)](){const t=Kt;this[t(413)][t(359)][t(496)][t(503)][t(555)](t(650)),this.on(t(402),((e,i,s,n)=>{const r=t;n&&this[r(643)][r(637)](n),s&&(this[r(643)][r(542)]({view:s,stackId:r(574),position:{target:()=>{const t=r,e=this[t(413)][t(478)],i=this[t(615)](s[t(534)]);let n;if(i[t(646)][t(416)]){const s=e[t(653)][t(559)](i[t(549)]);n=Array[t(604)](s[t(437)]())}else{const i=this[t(413)][t(359)][t(551)][t(352)](t(417)+s[t(534)]);n=Array[t(604)](e[t(543)][t(421)](i[t(364)]))[t(447)]((i=>e[t(653)][t(661)][t(386)](i)))[t(447)]((e=>Array[t(604)](e[t(437)]())))[t(474)]()}return this[t(608)]&&n[t(465)]((e=>e[t(399)]-3<=this[t(608)].y&&e[t(618)]+3>=this[t(608)].y&&e[t(589)]-3<=this[t(608)].x&&e[t(627)]+3>=this[t(608)].x))||n[0]}}}),this[r(643)][r(622)](r(574)))})),this.on(t(652),((e,i,s,n)=>{const r=t;this[r(345)]=s?this[r(477)](s):null,this[r(413)][r(359)][r(381)]((()=>{const t=r,e=this[t(413)][t(478)];n&&(n[t(646)][t(416)]?e[t(653)][t(381)]((i=>{const s=t;i[s(514)](s(366),e[s(653)][s(496)][s(499)](n[s(549)]))})):e[t(541)](t(417)+n.id)),s&&(s[t(646)][t(416)]?e[t(653)][t(381)]((i=>{const n=t;i[n(592)](n(366),e[n(653)][n(496)][n(499)](s[n(549)]))})):e[t(541)](t(417)+s.id))}))})),this[t(600)](this[t(413)][t(478)][t(653)][t(496)],t(638),((e,i)=>{const s=t;if(this[s(552)])return;const n=this[s(369)](i[s(572)]),r=this[s(357)][s(352)](n);r?(this[s(608)]={x:i[s(436)].x,y:i[s(436)].y},this[s(345)]=this[s(477)](r)):(this[s(608)]=null,this[s(345)]=null)})),this[t(600)](this[t(413)][t(478)][t(653)][t(496)],t(620),((e,i)=>{const s=t,n=this[s(369)](i[s(572)]),r=this[s(357)][s(352)](n);r?(this[s(608)]={x:i[s(436)].x,y:i[s(436)].y},r===this[s(552)]?this[s(643)][s(562)]():this[s(552)]=r):(this[s(608)]=null,this[s(552)]=null)}))}[Kt(369)](t){const e=Kt;do{const i=t[e(607)](e(492));if(i)return i;t=t[e(616)]}while(t);return null}[Kt(509)](){const t=Kt;this[t(413)][t(359)][t(381)]((e=>{const i=t;for(const t of this[i(413)][i(359)][i(551)])e[i(656)](t)}))}}function ee(t,e){const i=Qt();return(ee=function(t,e){return i[t-=342]})(t,e)}function ie(t,e){return(i,s,n)=>{const r=ee;if(!n[r(361)][r(434)](s[r(524)],i[r(364)]))return;const o=s[r(524)][r(601)](),a=s[r(524)][r(415)],c=t[r(359)][r(376)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(523)];h=h||c[r(505)](e);const i=n[r(543)][r(387)](e);if(i&&i[r(579)](r(351)))return;r(662)==t[r(582)]&&c[r(560)](e)&&!c[r(432)](e)&&(e[r(424)]||a[r(645)]?u&&u[r(616)]==e||(u=e,f(t[r(644)]),d=!0):l=l||t[r(644)])}function f(t){const i=r,o=n[i(543)][i(429)](t),a=n[i(441)][i(450)](i(411),{class:i(374)+e});n[i(441)][i(636)](o,a),n[i(543)][i(547)](a,s[i(533)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Kt;super(t);const i=t[e(383)][e(352)](te);this[e(517)]=!1,this[e(600)](i,e(626),(()=>this[e(528)]())),this[e(600)](i,e(557),(()=>this[e(528)]()))}[Kt(613)](){const t=Kt,e=this[t(413)],i=e[t(383)][t(352)](te),s=i[t(495)]?i[t(483)][t(378)]:null;e[t(470)][t(352)](t(460))[t(420)](s)}[Kt(528)](){const t=Kt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(413)][t(383)][t(352)](te),r=n&&s[t(576)](n[t(378)]);this[t(621)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Kt(452)];constructor(t,{direction:e}){const i=Kt;super(t);const s=t[i(383)][i(352)](te);this[i(517)]=!1,this[i(452)]=i(362)===e?1:-1,this[i(600)](s,i(626),(()=>this[i(528)]())),this[i(600)](s,i(557),(()=>this[i(528)]())),this[i(600)](s,i(652),(()=>this[i(528)]()))}[Kt(613)](){const e=Kt,i=this[e(413)],s=i[e(383)][e(352)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(552)]=n?s[e(483)][e(605)][e(352)](r+this[e(452)]):s[e(483)][e(605)][e(484)],s[e(552)][e(646)][e(416)])o=i[e(478)][e(653)][e(559)](s[e(552)][e(549)]);else{const t=i[e(359)][e(551)][e(352)](e(417)+s[e(552)].id);o=(0,H.getMarkerDomElement)(i[e(478)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Kt(528)](){const t=Kt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(413)][t(383)][t(352)](te);this[t(621)]=!!(r&&n&&s)&&(!e||(1===this[t(452)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["10JCILKb","set","isEnabled","X_OF_Y_CHANGES","isForwardNavigationEnabled","span","ck-revision-history-ui__changes-navigation__wrapper","ck-hidden","18MQaiRc","165757IEDXvc","58472brkvDq","forward","isReady","EDIT_X_OF_Y_REVISIONS","Show next change","103558RDqCDd","setTemplate","Loading...","Total","781032cDgDpK","3596877YaUqCW","633388EsXscr","isBackwardNavigationEnabled","isNavigationMode","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation","currentChangeNumber","Show previous change","_statusText","numberOfChanges","No changes","1541965fLxkXO","execute","div","backward","ck-revision-history-ui__changes-navigation__navigation","bindTemplate","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__label","bind","fire","ck-revision-history-ui","57rshjlA"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=472]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(156313===parseInt(e(481))/1+parseInt(e(487))/2+parseInt(e(514))/3*(parseInt(e(482))/4)+-parseInt(e(503))/5+-parseInt(e(480))/6*(-parseInt(e(493))/7)+parseInt(e(491))/8+parseInt(e(492))/9*(-parseInt(e(472))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(508)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(473)](e(495),!1),this[e(473)](e(484),!1),this[e(473)](e(498),0),this[e(473)](e(501),0),this[e(473)](e(476),!1),this[e(473)](e(494),!1),this[e(511)](e(509)).to(this,e(484),this,e(501),((t,e)=>t&&e>0)),this[e(511)](e(500)).to(this,e(484),this,e(498),this,e(501),this,e(495),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(489));if(!n)return Q(t,o(502));const a=Q(t,o(496),n);return r?Q(t,o(475),[s+1,n]):a})),s[e(473)]({label:Q(t,e(499)),tooltip:!0,icon:mt.IconChevronUp}),n[e(473)]({label:Q(t,e(486)),tooltip:!0,icon:mt.IconChevronDown}),s[e(511)](e(474)).to(this,e(494)),n[e(511)](e(474)).to(this,e(476)),s.on(e(504),(()=>this[e(512)](e(504),e(506)))),n.on(e(504),(()=>this[e(512)](e(504),e(483)))),this[e(488)]({tag:e(505),attributes:{class:["ck",e(513),e(497)]},children:[{tag:e(477),attributes:{class:[e(478)]},children:[{tag:e(477),attributes:{class:[e(510),i.if(e(509),e(479),(t=>!t))]},children:[{text:i.to(e(495),(i=>i?Q(t,e(485))+": ":Q(t,e(490))+": "))}]},{text:i.to(e(500))}]},new pt.ToolbarSeparatorView,{tag:e(505),attributes:{class:[e(507)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;function de(t,e){const i=pe();return(de=function(t,e){return i[t-=387]})(t,e)}const fe=de;!function(t){const e=de,i=t();for(;;)try{if(393219===parseInt(e(401))/1+-parseInt(e(396))/2*(parseInt(e(407))/3)+-parseInt(e(405))/4+parseInt(e(397))/5*(-parseInt(e(411))/6)+-parseInt(e(408))/7+parseInt(e(406))/8*(-parseInt(e(409))/9)+parseInt(e(404))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=fe(388);function pe(){const t=["RevisionViewerLoadingOverlay","addClass","20991020qWuDoD","1408656ViDEes","5652368ecrIMM","130689ItsWEl","1624140fTkuPQ","9ITfZyA","view","10062aXUPBI","pluginName","ck-editor__editable__loading-overlay","editor","isPremiumPlugin","change","isOfficialPlugin","removeClass","document","hide","18eYIsbn","1085kgngOF","editing","show","roots","340823JOXYbL"];return(pe=function(){return t})()}class ve extends U.Plugin{static get[fe(387)](){return fe(402)}static get[fe(392)](){return!0}static get[fe(390)](){return!0}[fe(399)](){const t=fe,e=this[t(389)][t(398)][t(410)];e[t(391)]((i=>{const s=t;for(const t of e[s(394)][s(400)])i[s(403)](me,t)}))}[fe(395)](){const t=fe,e=this[t(389)][t(398)][t(410)];e[t(391)]((i=>{const s=t;for(const t of e[s(394)][s(400)])i[s(393)](me,t)}))}}function ge(){const t=["exitToEditing","execute","restoreRevision","4012902XaUZyN","isEnabled","componentFactory","isBackwardNavigationEnabled","requires","editor","revisionHistory","show","set","87928FuGkFQ","config","1035010AITmEp","3168234DLhJea","closeRevisionViewerCallback","isReady","forward","isNavigationMode","841456Buagvo","showNextChange","currentChangeNumber","RevisionViewerUI","change:isReady","showPreviousChange","plugins","init","Restore this revision","get","4tpahdP","isOfficialPlugin","commands","changesNavigation","isPremiumPlugin","hide","1737854agJSan","bind","listenTo","42KkcxWp","2119407ZFhmUc","numberOfChanges","isForwardNavigationEnabled","ck-revision-history-ui__back-to-editing","pluginName","add","Back to editing"];return(ge=function(){return t})()}const ye=ke;function ke(t,e){const i=ge();return(ke=function(t,e){return i[t-=142]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(559851===parseInt(e(167))/1+-parseInt(e(183))/2+-parseInt(e(187))/3+parseInt(e(177))/4*(parseInt(e(161))/5)+parseInt(e(150))/6+-parseInt(e(186))/7*(-parseInt(e(159))/8)+parseInt(e(162))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class be extends U.Plugin{static get[ye(144)](){return ye(170)}static get[ye(178)](){return!0}static get[ye(181)](){return!0}static get[ye(154)](){return[te,ve]}[ye(174)](){const t=ye,e=this[t(155)],i=e[t(173)][t(176)](te),s=e[t(173)][t(176)](ve);e.ui[t(152)][t(145)](t(147),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(158)]({label:Q(i,s(146)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(143)}),this[s(185)](n,s(148),(()=>{const t=s;e[t(160)][t(176)](t(156))[t(163)]()})),n})),e.ui[t(152)][t(145)](t(149),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(158)]({label:Q(i,s(175)),withText:!0,tooltip:!0}),n[s(184)](s(151)).to(e[s(179)][s(176)](s(149))),this[s(185)](n,s(148),(()=>e[s(148)](s(149)))),n})),e.ui[t(152)][t(145)](t(180),(s=>{const n=t,r=new ue(s),o=e[n(179)][n(176)](n(172)),a=e[n(179)][n(176)](n(168));return r[n(184)](n(153)).to(o,n(151)),r[n(184)](n(142)).to(a,n(151)),r[n(184)](n(164),n(169),n(188),n(166)).to(i),this[n(185)](r,n(148),((t,i)=>{const s=n;e[s(148)](s(165)===i?s(168):s(172))})),r})),s[t(157)](),i.on(t(171),((e,i,n)=>{const r=t;n?s[r(182)]():s[r(157)]()}))}}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=Te();return(Se=function(t,e){return i[t-=386]})(t,e)}!function(t){const e=Se,i=t();for(;;)try{if(284540===parseInt(e(414))/1*(-parseInt(e(394))/2)+parseInt(e(396))/3+-parseInt(e(409))/4+parseInt(e(402))/5*(parseInt(e(395))/6)+parseInt(e(412))/7+-parseInt(e(388))/8+parseInt(e(398))/9*(parseInt(e(407))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Oe extends pt.LabeledFieldView{[Ie(392)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(387)];this[i(403)]({label:Q(t,i(386)),_tooltipString:""}),this[i(411)][i(401)]=Q(t,i(413)),this[i(391)]({tag:i(393),attributes:{class:[i(399)],"data-cke-tooltip-text":s.to(i(416)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(406)}})}[Ie(415)](){const e=Ie;super[e(415)](),this[e(392)]=new t.ResizeObserver(this[e(411)][e(389)],(()=>this[e(400)]())),this[e(408)](this[e(411)],e(390),(()=>this[e(400)]()))}[Ie(404)](){const t=Ie;super[t(404)](),this[t(392)]&&this[t(392)][t(404)]()}[Ie(400)](){const t=Ie,e=this[t(411)][t(389)];this[t(416)]=e[t(397)]>e[t(405)]&&e[t(410)]||""}}function Te(){const t=["input","extendTemplate","_resizeObserver","span","483622riCtVW","26940dLGVCb","1257750tSNREP","scrollWidth","9yGEfhF","ck-revision-history-sidebar__revision-name","_updateTooltipText","placeholder","25CPhbiB","set","destroy","clientWidth","ck-tooltip_multi-line","8212970cXlshe","listenTo","1673244RUXSwi","value","fieldView","1308335qjMxRr","Enter the revision name","1jnkZku","render","_tooltipString","Revision name","bindTemplate","4041920PLAwwe","element"];return(Te=function(){return t})()}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-=461]})(t,e)}function Ae(){const t=["743480cixuvf","ck-revision-history-sidebar__revision-author__name","2072312hhyDCv","795640tKvpeH","0 0 11 10","762XrGjqv","Revision author","8OcQPdo","set","setTemplate","span","Revision creator","20981nddmkE","1950282DqDiTA","name","1082622vspFHJ","ck-revision-history-sidebar__revision-author","11lzKXvf","14203yzsQhD","ck-revision-history-sidebar__revision-author_creator","6ogJTeO","push"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(205351===-parseInt(e(468))/1*(parseInt(e(476))/2)+parseInt(e(471))/3+parseInt(e(463))/4*(-parseInt(e(481))/5)+parseInt(e(461))/6*(parseInt(e(474))/7)+parseInt(e(480))/8+-parseInt(e(469))/9+-parseInt(e(478))/10*(parseInt(e(473))/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(464)]({content:mt.IconUser,viewBox:s(482)});const r=["ck",s(472)];i&&r[s(477)](s(475));const o=[{tag:s(466),attributes:{class:["ck",s(479)],title:Q(t,s(i?467:462))},children:[n,e[s(470)]]}];this[s(465)]({tag:"li",attributes:{class:r},children:o})}}function De(t,e){var i=Me();return(De=function(t,e){return i[t-=183]})(t,e)}function Me(){var t=["445576CdJvSx","653844ijAlNG","953545llDUnb","40408jUXfQi","54jEFAwY","2760678aHtpBQ","30yMRMOR","toLocaleTimeString","414438EeWGKL","long","4YnkPFd","toLocaleDateString","4512kyTyGw","numeric","42yGQfBT","1793rcArrv"];return(Me=function(){return t})()}!function(t){for(var e=De,i=t();;)try{if(502266===-parseInt(e(187))/1+-parseInt(e(189))/2*(parseInt(e(190))/3)+-parseInt(e(196))/4*(-parseInt(e(188))/5)+-parseInt(e(194))/6*(-parseInt(e(184))/7)+parseInt(e(186))/8+parseInt(e(191))/9*(parseInt(e(192))/10)+-parseInt(e(185))/11*(parseInt(e(198))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var Ve=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ve.A,Ce);Ve.A&&Ve.A.locals&&Ve.A.locals;function Fe(t,e){const i=Pe();return(Fe=function(t,e){return i[t-=322]})(t,e)}function Pe(){const t=["bindTemplate","8158212hrEsYP","set","bind","stopPropagation","1519uvhDLx","16FdkVLP","menuitem","ck-revision-history-sidebar__revision__actions","map","class","isVisible","2941ZAQgOC","listView","source","Compare against selected","locale","16312bFAQwZ","button","model","22vTBYpA","listenTo","execute","Name this revision","action","1611030bWxQSC","panelPosition","find","isEnabled","items","1294962TpumQq","isActionsDropdownOpen","function","isOpen","menu","add","Restore this revision","children","buttonView","27tumqPn","name","1364442BgGllR","change:isActionsDropdownOpen","ck-on","Show more items","_action","extendTemplate","isReady","1562130ofNYAA","first","4FoTsKH"];return(Pe=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(328731===-parseInt(e(348))/1*(parseInt(e(342))/2)+-parseInt(e(366))/3*(parseInt(e(335))/4)+-parseInt(e(361))/5+-parseInt(e(326))/6+parseInt(e(341))/7*(parseInt(e(353))/8)+-parseInt(e(324))/9*(parseInt(e(333))/10)+parseInt(e(356))/11*(parseInt(e(337))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);var je=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=It(),Le.insert=wt().bind(null,"head"),Le.domAPI=kt(),Le.insertStyleElement=Ot();gt()(je.A,Le);je.A&&je.A.locals&&je.A.locals;const We=Ue;function ze(){const t=["313242JXvzKF","710680tGvlAy","fieldView","set","change","select","render","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision-wrapper","createdAt","16951OWwCEN",".ck-thread__remove-confirm","6863591JZDiwi","element","3438BcpTYR","bindTemplate","_createdAtFormatted","90uRzBYH","220","bind","isActionsDropdownOpen","extendTemplate","setTemplate","span","value","filter","setName","isEnabled","deselect","unshift","length","creator","ck-disabled","fire","div","ck-revision-history-sidebar__revision_highlighted","_revision","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision","ck-reset","ck-revision-history-sidebar__actions_dropdown_open","listenTo","isReady","unhighlight","5412150VXDhnW","srcElement","highlight","_requireRevisionName","2029954DsRzmg","8KRAcbU","from","ck-revision-history-sidebar__revision_selected","name","isHighlighted","map","uiLanguage","revisionNameView","992BBqhXI","isConfirm","isSelected","revisionActionsView","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","authors","ck-revision-history-sidebar__revision-authors","3210jDdtvz","closest"];return(ze=function(){return t})()}function Ue(t,e){const i=ze();return(Ue=function(t,e){return i[t-=198]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(548293===parseInt(e(219))/1+-parseInt(e(200))/2+-parseInt(e(232))/3*(parseInt(e(209))/4)+-parseInt(e(235))/5*(parseInt(e(218))/6)+parseInt(e(230))/7+parseInt(e(201))/8*(parseInt(e(262))/9)+parseInt(e(216))/10*(parseInt(e(228))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class He extends((0,H.ConfirmMixin)(pt.View)){id;[We(208)];[We(212)];[We(254)];[We(199)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(233)],a=function(t,e){const i=r,s=Array[i(202)](e[i(214)])[i(243)]((t=>t!=e[i(249)]));return e[i(249)]&&s[i(247)](e[i(249)]),s[i(206)]((s=>new Ee(t,s,s==e[i(249)])))}(e,i);this.id=i.id,this[r(254)]=i,this[r(199)]=n,this[r(237)](r(204),r(227)).to(i),this[r(237)](r(234)).to(this,r(227),(t=>{return i=e[r(207)],(s=t)[(n=De)(197)](i,{month:n(195),day:n(183)})+", "+s[n(193)](i,{hour:n(183),minute:n(183)});var i,s,n})),this[r(221)](r(211),!1),this[r(221)](r(205),!1),this[r(221)](r(238),!1),this[r(221)](r(260),!1),this[r(221)](r(245),!1),this[r(208)]=new Oe(e,pt.createLabeledInputText),this[r(208)][r(220)][r(239)]({attributes:{maxlength:r(236)}}),this[r(208)][r(220)][r(237)](r(242)).to(this,r(204),(t=>t||this[r(234)])),this[r(208)][r(237)](r(245)).to(this,r(211),this,r(245),((t,e)=>t&&e)),this[r(212)]=s&&s[r(248)]?function(e,i){const s=Fe,n=e[s(336)],r=e[s(352)],o=(0,pt.createDropdown)(r);o[s(362)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(352)],n={"Compare against selected":Q(s,i(351)),"Name this revision":Q(s,i(359)),"Restore this revision":Q(s,i(372))};return e[i(345)]((t=>{const e=i,s=n[t[e(325)]];return s&&s!==t[e(325)]&&(t[e(325)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(354),model:new pt.ViewModel({label:t[n(325)],class:t[n(346)],withText:!0,role:n(343),_action:t[n(360)]})};i[n(355)][n(339)](n(364)).to(e,n(367),(i=>n(368)!=typeof t[n(364)]||!i||t[n(364)](e))),o[n(371)](i)}return o}(e,i);return e[s(339)](s(367)).to(o,s(369)),o[s(323)][s(338)]({label:Q(r,s(329)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(331)]({attributes:{class:[s(344),n.if(s(367),s(328))]},on:{click:n.to((t=>t[s(340)]()))}}),o.on(s(358),(t=>{const i=s;e[i(332)]&&i(368)==typeof t[i(350)][i(330)]&&t[i(350)][i(330)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(370)}),o[s(357)](e,s(327),((t,n,r)=>{const a=s;if(r)for(const t of o[a(349)][a(365)]){const s=t[a(322)][a(334)],n=i[a(363)]((t=>t[a(360)]===s[a(330)]))[a(347)];t[a(347)]=void 0===n||n(e)}})),o}(this,s):"",this[r(212)]&&this[r(212)][r(237)](r(245)).to(this),this[r(240)]({tag:r(252),attributes:{class:["ck",r(257),r(226),o.if(r(210),r(213))]},children:[{tag:r(252),attributes:{class:["ck",r(257),r(256),o.if(r(245),r(250),(t=>!t)),o.if(r(211),r(203)),o.if(r(205),r(253)),o.if(r(238),r(258))]},children:[this[r(208)],{tag:r(241),attributes:{class:["ck",r(255)]},children:[{text:o.to(r(234))}]},{tag:r(252),attributes:{class:["ck",r(225)]},children:[{tag:"ul",attributes:{class:["ck",r(215)]},children:a}]},this[r(212)]],on:{click:o.to((t=>{const e=r;t[e(263)][e(217)](e(229))||this[e(260)]&&this[e(245)]&&this[e(251)](e(223),{id:this.id})}))}}]})}[We(224)](){const t=We;super[t(224)]();const e=this[t(208)][t(220)][t(231)];this[t(259)](e,t(222),(()=>{const i=t;this[i(199)]&&!e[i(242)]||this[i(251)](i(244),{id:this.id,name:e[i(242)]}),e[i(242)]||(e[i(242)]=this[i(204)]?this[i(204)]:this[i(234)])}))}[We(223)](){this[We(211)]=!0}[We(246)](){this[We(211)]=!1}[We(198)](){this[We(205)]=!0}[We(261)](){this[We(205)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Ge extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ze{}class Xe extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",ti="long",ei={year:Ke,month:Ke,day:Ke},ii={year:Ke,month:Qe,day:Ke},si={year:Ke,month:Qe,day:Ke,weekday:Qe},ni={year:Ke,month:ti,day:Ke},ri={year:Ke,month:ti,day:Ke,weekday:ti},oi={hour:Ke,minute:Ke},ai={hour:Ke,minute:Ke,second:Ke},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,second:Ke,timeZoneName:ti},li={hour:Ke,minute:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:ti},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},pi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke},gi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},yi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},ki={year:Ke,month:ti,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},bi={year:Ke,month:ti,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},wi={year:Ke,month:ti,day:Ke,weekday:ti,hour:Ke,minute:Ke,timeZoneName:ti},_i={year:Ke,month:ti,day:Ke,weekday:ti,hour:Ke,minute:Ke,second:Ke,timeZoneName:ti};class Ii{get type(){throw new Xe}get name(){throw new Xe}get ianaName(){return this.name}get isUniversal(){throw new Xe}offsetName(t,e){throw new Xe}formatOffset(t,e){throw new Xe}offset(t){throw new Xe}equals(t){throw new Xe}get isValid(){throw new Xe}}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,(Ls({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 Di(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 Vi={};let Ci=null;let Fi={};function Pi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Es(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Li{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Di(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Wi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Vi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Vi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Ei={},Mi={},Vi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Di(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Di(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Pi(this,t,Ks,(()=>{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 Pi(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 Pi(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 Pi(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Li(t,this.intl,e)}relFormatter(t={}){return new Wi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},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]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Xi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let Ki,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 Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ps(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ps(c)):u>a?(c=s+1,u-=Ps(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Je("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 Je("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 Ds(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Vs(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 Ps(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ls(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ws(t,e,i){return-ms(hs(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ws(t,e,i),n=Ws(t+1,e,i);return(Ps(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`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 Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Xs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Xs];case"short":return[...Js];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return 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 Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ds(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ds(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Vs(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(Vs(u),h)}]}const Dn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ds(e)):Ds(e),month:Js.indexOf(i)+1,day:Ds(s),hour:Ds(n),minute:Ds(r)};return o&&(a.second=Ds(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Vn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?Dn[c]:u?0: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$/,Pn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ln(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Zi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Xn=fn(In),Kn=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 Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`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,Gn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ge(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Gi.indexOf(t[i]);else for(const t in 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=Xi(e),s=Xi(e,"{2}"),n=Xi(e,"{3}"),r=Xi(e,"{4}"),o=Xi(e,"{6}"),a=Xi(e,"{1,2}"),c=Xi(e,"{1,3}"),u=Xi(e,"{1,6}"),l=Xi(e,"{1,9}"),h=Xi(e,"{2,4}"),d=Xi(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=Vs(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 Dr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Vr(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 Pr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Fr(Ls(t),e,i)}function Lr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ls(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Wr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=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"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Xr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Kr(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:Dr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Pr(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 Xr({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,Xr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Dr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Er||t>Er?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Ui.fromObject(e),n=$s(t,Jr),{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=Pr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=$r,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,zs(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,Ps(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[zn,qn],[Un,$n],[Hn,Bn],[Zn,Yn])}(t);return Wr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Vn,Cn])}(t);return Wr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Ln],[Pn,Ln],[jn,Wn])}(t);return Wr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):Wr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Jn,qn],[Xn,Kn])}(t);return Wr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?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?Vr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Vr(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=Ls(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=Pr(a,r),l=Pr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ps(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Dr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Lr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Lr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(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 Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("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 Je("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 Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):Wr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=oo();return(no=function(t,e){return i[t-=454]})(t,e)}function ro(t,e){const i=no,s=io[i(460)](t)[i(464)](e),n=io[i(463)](),r=n[i(466)]({days:1})[i(472)](i(461));let o,a;return s[i(474)](n,i(461))?(o=s[i(472)](i(461))[i(457)](),a=s[i(469)]()):s[i(474)](r,i(461))?(o=r[i(457)](),a=s[i(469)]()):s[i(474)](n,i(459))?(o=s[i(472)](i(459))[i(457)](),a=s[i(458)]||""):s[i(474)](n,i(455))?(o=s[i(472)](i(465))[i(457)](),a=s[i(462)]||""):(o=s[i(472)](i(455))[i(457)](),a=String(s[i(455)])),{startDate:o,localizedPeriodName:a}}function oo(){const t=["3134400rOJtPo","startOf","50sqUxwj","hasSame","150dEWMMq","124075dYtmkd","1892553aqefGT","3763ZYMVnc","year","5876808qgfNXG","toJSDate","weekdayLong","week","fromJSDate","day","monthLong","local","setLocale","month","minus","6362919PdIUcx","2814763gQeVLI","toRelativeCalendar","34wanVkN"];return(oo=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(740247===-parseInt(e(454))/1*(parseInt(e(470))/2)+-parseInt(e(477))/3+-parseInt(e(456))/4+-parseInt(e(476))/5*(parseInt(e(475))/6)+-parseInt(e(468))/7+parseInt(e(471))/8+-parseInt(e(467))/9*(-parseInt(e(473))/10))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=["find","startDate","238936AXKUXS","10lpQERN","3282410JHBYuX","_requireRevisionName","localizedPeriodName","uiLanguage","176JbmIPb","9tbpzrn","removeRevision","delegate","10910730VMWlio","span","locale","425211FbXRhx","div","setTemplate","remove","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period__label","3116gcDBNs","713544QWArWP","5592DjPQSE","_revisionActions","add","7045OeCuNg","select","875ySGbpO","revisionViews","addRevision","createCollection","setName","ck-revision-history-sidebar__time-period"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=407]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(957939===parseInt(e(427))/1+parseInt(e(428))/2*(parseInt(e(440))/3)+parseInt(e(412))/4*(-parseInt(e(417))/5)+parseInt(e(437))/6+-parseInt(e(419))/7*(parseInt(e(414))/8)+-parseInt(e(434))/9*(-parseInt(e(429))/10)+parseInt(e(433))/11*(-parseInt(e(413))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(426)];[uo(420)];[uo(415)];[uo(430)];constructor(t,e,i,s){const n=uo;super(t);const r=ro(e,this[n(439)][n(432)])[n(431)];this[n(426)]=e,this[n(420)]=this[n(422)](),this[n(415)]=i,this[n(430)]=s,this[n(420)][n(436)](n(418)).to(this),this[n(420)][n(436)](n(423)).to(this),this[n(408)]({tag:n(407),attributes:{class:["ck",n(424)]},children:[{tag:n(438),attributes:{class:["ck",n(411)]},children:[{text:r}]},{tag:n(407),attributes:{class:["ck",n(410)]},children:this[n(420)]}]})}[uo(421)](t){const e=uo,i=new He(this[e(439)],t,this[e(415)],this[e(430)]);this[e(420)][e(416)](i)}[uo(435)](t){const e=uo,i=this[e(420)][e(425)]((e=>e.id===t.id));this[e(420)][e(409)](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=["614ixEJgB","216YvwUsO","3238224YVNGnk","ck-reset_all","Revision history","content","ck-revision-history-sidebar__header","483MoBzfp","span","div","8247222IVjOSu","4281110HqaoCU","66366xKKvpo","447rFJLby","4082fHDmvf","6492280GvTyCw","setTemplate","ck-revision-history-sidebar__header__label"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=246]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(682325===-parseInt(e(246))/1*(-parseInt(e(250))/2)+parseInt(e(263))/3*(parseInt(e(251))/4)+parseInt(e(261))/5+-parseInt(e(262))/6*(parseInt(e(257))/7)+-parseInt(e(252))/8+-parseInt(e(260))/9+parseInt(e(247))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(255)]=mt.IconHistory,this[e(248)]({tag:e(259),attributes:{class:["ck",e(253),e(256)]},children:[i,{tag:e(258),attributes:{class:["ck",e(249)]},children:[Q(t,e(254))]}]})}}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-=478]})(t,e)}function Io(){const t=["revisionSetName","unhighlight","_addRevision","set","_removeRevision","find","_revisions","ck-rounded-corners","1233FaXNnN","map","highlightRevisions","delegate","6VGZFGQ","createCollection","createdAt","447465ioTWgE","3442308XEkjau","revisionSelected","selectRevision","locale","revisionViews","uiLanguage","2NbwttX","fire","remove","flat","22WkNeAC","12fHTBAY","ck-revision-history-sidebar","941717VWbWKZ","highlight","render","select","1919533vtOkfT","385048ZQGcHH","isEnabled","ck-reset","setName","div","ck-disabled","addRevision","add","getTime","_revisionActions","some","startDate","deselect","removeRevision","bindTemplate","74330UKzzGB","100836ftQdoj","timePeriodViews","ck-revision-history-sidebar__timeline","_getTimePeriodViewByStartDate","setTemplate","get","_requireRevisionName"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(808121===parseInt(e(498))/1*(parseInt(e(491))/2)+parseInt(e(519))/3*(-parseInt(e(496))/4)+parseInt(e(484))/5+-parseInt(e(481))/6*(-parseInt(e(502))/7)+parseInt(e(503))/8+-parseInt(e(534))/9*(parseInt(e(518))/10)+-parseInt(e(495))/11*(-parseInt(e(485))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(520)];[wo(532)];[wo(512)];[wo(525)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(517)];this[n(520)]=this[n(482)](),this[n(520)][n(480)](n(501)).to(this),this[n(520)][n(480)](n(506)).to(this),this[n(532)]=e,this[n(512)]=i,this[n(525)]=s,this.on(n(501),((t,e)=>{const i=n;this[i(492)](i(486),e)})),this.on(n(506),((t,e)=>{const i=n;this[i(492)](i(526),e)})),this[n(529)](n(504),!1),this[n(523)]({tag:n(507),attributes:{class:["ck",n(505),n(533),n(497)]},children:[new yo(t),{tag:n(507),attributes:{class:["ck",n(521),r.if(n(504),n(508),(t=>!t))]},children:this[n(520)]}]})}[wo(500)](){const t=wo;super[t(500)]();for(const e of this[t(532)])this[t(528)](e);this[t(532)].on(t(510),((e,i)=>{this[t(528)](i)})),this[t(532)].on(t(493),((e,i)=>{this[t(530)](i)}))}get[wo(489)](){const t=wo;return this[t(520)][t(478)]((e=>e[t(489)][t(478)]((t=>t))))[t(494)]()}[wo(487)](t){const e=wo;for(const i of this[e(489)])t&&t.id===i.id?i[e(501)]():i[e(515)]()}[wo(479)](t){const e=wo;for(const i of this[e(489)])t[e(513)]((({id:t})=>t===i.id))?i[e(499)]():i[e(527)]()}[wo(528)](t){const e=wo,i=ro(t[e(483)],this[e(488)][e(490)])[e(514)];let s=this[e(520)][e(524)](0);s&&s[e(514)][e(511)]()===i[e(511)]()||(s=new fo(this[e(488)],i,this[e(512)],this[e(525)]),this[e(520)][e(510)](s)),s[e(509)](t)}[wo(530)](t){const e=wo,i=ro(t[e(483)],this[e(488)][e(490)])[e(514)];this[e(522)](i)[e(516)](t)}[wo(522)](t){const e=wo;return this[e(520)][e(531)]((i=>i[e(514)][e(511)]()===t[e(511)]()))}}const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=335]})(t,e)}function xo(){const t=["compareAgainstSelected","fieldView","remove","config","isEnabled","Restore this revision","13685076sNggCd","316535xCyHdP","get","_handleDiffChange","revisionSetName","8tLztOf","restoreRevision","revisionViews","appendChild","_handleRevisionSelected","42WpXhwG","listenTo","8206250XGjQlq","10VKcauj","isReady","_revisions","_sidebarView","element","Compare against selected","diff","select","getRevision","RevisionsSidebar","113160RWEWvG","bind","4056YIxjvx","revisionHistory.viewerSidebarContainer","isPremiumPlugin","revisionSelected","isOfficialPlugin","getEarlierVisibleRevision","16343484XGwvLP","defaultRevisionActions","availableRevisionActions","_handleRevisionSetName","string","change:diff","destroy","assign","Name this revision","map","editor","_revisionViewer","10wRacIW","add","repository","_handleEditorDataReady","setName","getIndex","action","revisionHistory","pluginName","ready","init","requires","timePeriodViews","revisionHistory.requireRevisionName","selectRevision","getLaterVisibleRevision","645asUkBE","length","isSelected","locale","getRevisionsInDiff","plugins","newRevisionId","data","isVisible","restoreRevisionCallback","revisionHistory.revisionActions","_createRevisionActions","compare","highlightRevisions","13472734CwXmdq","nameRevision","focus","_revisionsRepository","render","39xGriCJ","name"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(826546===-parseInt(e(409))/1*(parseInt(e(335))/2)+-parseInt(e(381))/3*(parseInt(e(347))/4)+-parseInt(e(420))/5+parseInt(e(345))/6*(-parseInt(e(418))/7)+parseInt(e(413))/8*(parseInt(e(408))/9)+parseInt(e(365))/10*(-parseInt(e(395))/11)+parseInt(e(353))/12*(parseInt(e(400))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[Oo(364)];[Oo(398)];[Oo(338)];static[Oo(354)]=[Oo(402),Oo(414),Oo(396)];static[Oo(355)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(340),action:({plugins:e},i)=>{const s=t,n=e[s(410)](te),r=n[s(367)];let o=n[s(341)][s(387)],a=i.id;r[s(370)](o)>r[s(370)](a)&&([o,a]=[a,o]),n[s(393)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(410)](te);return!(n[s(367)][s(385)](n[s(341)])[s(382)]>2||i[s(383)])}},restoreRevision:{name:t(407),action:(e,{id:i})=>{const s=t;e[s(405)][s(410)](s(372))[s(390)](i)},isVisible:({plugins:e},i)=>!!e[t(410)](te)[t(367)][t(380)](i.id)},nameRevision:{name:t(361),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(410)](te),o=r[n(367)][n(352)](i);r[n(393)](i,o),s[n(397)](),s[n(403)][n(342)]()}}}}();static get[Oo(373)](){return Oo(344)}static get[Oo(351)](){return!0}static get[Oo(349)](){return!0}static get[Oo(376)](){return[te]}constructor(t){const e=Oo;super(t),this[e(364)]=t[e(386)][e(410)](te),this[e(398)]=this[e(364)][e(367)],this[e(338)]=null}[Oo(375)](){const t=Oo,e=this[t(398)][t(337)],i=this[t(392)](),s=this[t(363)][t(405)][t(410)](t(348));this[t(338)]=new So(this[t(363)][t(384)],e,i,this[t(363)][t(405)][t(410)](t(378))),this[t(338)].on(t(350),this[t(417)][t(346)](this)),this[t(338)].on(t(412),this[t(356)][t(346)](this)),this[t(338)][t(346)](t(406)).to(this[t(364)]),this[t(338)][t(377)].on(t(366),((e,i)=>{const s=t;i[s(415)].on(s(366),((t,e)=>{const i=s;e[i(346)](i(406),i(336)).to(this[i(364)])}))})),this[t(338)][t(399)](),this[t(419)](this[t(363)][t(388)],t(374),this[t(368)][t(346)](this)),this[t(419)](this[t(364)],t(358),this[t(411)][t(346)](this)),s[t(416)](this[t(338)][t(339)])}[Oo(359)](){const t=Oo;this[t(338)][t(339)][t(404)](),this[t(338)][t(359)]()}[Oo(368)](){const t=Oo,e=this[t(398)][t(343)](0);if(e){const i=this[t(398)][t(352)](e.id);this[t(364)][t(393)](e,i)}}[Oo(417)](t,e){const i=Oo,s=this[i(398)][i(343)](e.id),n=this[i(398)][i(352)](s.id);this[i(364)][i(393)](s,n)}[Oo(356)](t,e){const i=Oo;this[i(398)][i(343)](e.id)[i(369)](e[i(401)])}[Oo(411)](t,e,i){const s=Oo,n=this[s(398)][s(385)](i);n[s(382)]>2?(this[s(338)][s(394)](n),this[s(338)][s(379)](null)):(this[s(338)][s(394)]([]),this[s(338)][s(379)](n[0]))}[Oo(392)](){const t=Oo,e=this[t(363)],i=No[t(355)],s=e[t(405)][t(410)](t(391))||No[t(354)];if(s[t(382)])return s[t(362)]((s=>{const n=t,r=n(357)==typeof s?Object[n(360)]({},i[s]):s;return r[n(371)]=r[n(371)][n(346)](this,e),r[n(389)]&&(r[n(389)]=r[n(389)][n(346)](this,e)),r}))}}const Ro=No;function Ao(t,e){const i=Do();return(Ao=function(t,e){return i[t-=358]})(t,e)}const Eo=Ao;function Do(){const t=["fire","setEditableElement","element","limiterElement","fillFromConfig","1740401EqXmyW","_view","view","viewportOffset","_toolbarConfig","isActive","destroy","addToolbar","ready","config","4912310BQkhrd","detachDomRoot","252PQTLSq","276HHNvEq","editing","focusTracker","attachDomRoot","12966HOIBzV","get","getRoot","isFocused","4509hGlTjM","_initToolbar","22gGdZmp","name","editor","stickyPanel","bind","97RvUIcj","toolbar","_elementReplacer","rootName","componentFactory","render","2740297WSqXhQ","57148TGRsbi","30oOubYP","document","restore","replace","editable","viewportTopOffset","794274UwQBQW","12392TUpxkZ","init"];return(Do=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(677446===-parseInt(e(406))/1*(parseInt(e(395))/2)+parseInt(e(390))/3*(-parseInt(e(363))/4)+parseInt(e(364))/5*(parseInt(e(370))/6)+parseInt(e(362))/7+-parseInt(e(371))/8*(parseInt(e(399))/9)+-parseInt(e(388))/10*(parseInt(e(401))/11)+-parseInt(e(391))/12*(-parseInt(e(378))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Mo extends pt.EditorUI{[Eo(379)];[Eo(382)];[Eo(358)];get[Eo(380)](){return this[Eo(379)]}constructor(e,i){const s=Eo;super(e),this[s(379)]=i,this[s(382)]=(0,pt.normalizeToolbarConfig)(e[s(387)][s(396)](s(407))),this[s(358)]=new t.ElementReplacer}get[Eo(375)](){const t=Eo;return this[t(380)][t(375)]}[Eo(372)](t){const e=Eo,i=this[e(403)],s=this[e(380)],n=i[e(392)][e(380)],r=s[e(368)],o=n[e(365)][e(397)]();r[e(402)]=o[e(359)],s[e(361)]();const a=r[e(375)];this[e(374)](r[e(402)],a),s[e(368)][e(405)](e(398)).to(this[e(393)]),n[e(394)](a),this[e(358)][e(367)](t,this[e(375)]),this[e(400)](),this[e(373)](e(386))}[Eo(384)](){const t=Eo;super[t(384)]();const e=this[t(380)],i=this[t(403)][t(392)][t(380)];this[t(358)][t(366)](),i[t(389)](e[t(368)][t(402)]),e[t(384)]()}[Eo(400)](){const t=Eo,e=this[t(380)];e[t(404)][t(405)](t(383)).to(this[t(393)],t(398)),e[t(404)][t(376)]=e[t(375)],e[t(404)][t(405)](t(369)).to(this,t(381),(({top:t})=>t)),e[t(407)][t(377)](this[t(382)],this[t(360)]),this[t(385)](e[t(407)])}}var Vo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Vo.A,Co);Vo.A&&Vo.A.locals&&Vo.A.locals;function Fo(t,e){var i=Lo();return(Fo=function(t,e){return i[t-=279]})(t,e)}var Po=Fo;!function(t){for(var e=Fo,i=t();;)try{if(205882===-parseInt(e(293))/1+parseInt(e(294))/2+parseInt(e(283))/3+parseInt(e(295))/4*(parseInt(e(284))/5)+-parseInt(e(285))/6+parseInt(e(282))/7+parseInt(e(291))/8*(-parseInt(e(288))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends pt.BoxedEditorUIView{[Po(292)];[Po(287)];[Po(279)];get[Po(281)](){return this[Po(292)]}constructor(t,e,i={}){var s=Po;super(t),this[s(287)]=new pt.StickyPanelView(t),this[s(279)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(286)]}),this[s(292)]=new pt.InlineEditableUIView(t,e)}[Po(297)](){var t=Po;super[t(297)](),this[t(287)][t(290)][t(289)](this[t(279)]),this[t(296)][t(289)](this[t(287)]),this[t(280)][t(289)](this[t(281)])}}function Lo(){var t=["top","render","toolbar","main","editable","335678hAGpMH","922752rgFIXM","6095DiLBAn","1429542AAErsD","shouldToolbarGroupWhenFull","stickyPanel","93141Erwodn","add","content","80RYfgIt","_editable","295921yanYPd","578630meWCMJ","652rUZksO"];return(Lo=function(){return t})()}const Wo=Uo;function zo(){const t=["locale","260428aNUQOJ","get","6CczugB","11MlKLGc","1464416vmJTrj","6743dshjRZ","data","ready","fire","create","221428yEzoWO","model","1348030SPuPkR","updateSourceElement","destroy","1844442qKBhpt","1136105IQwZyn","_ui","document","initPlugins","sourceElement","initialData","6OYKgnz","view","config","editing","7ueUvpK","init","createRoot"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(123612===-parseInt(e(256))/1+-parseInt(e(261))/2*(-parseInt(e(253))/3)+-parseInt(e(251))/4+parseInt(e(237))/5*(parseInt(e(243))/6)+-parseInt(e(247))/7*(parseInt(e(255))/8)+-parseInt(e(236))/9+-parseInt(e(263))/10*(-parseInt(e(254))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[Wo(238)];get ui(){return this[Wo(238)]}constructor(t,e){const i=Wo;super(e),this[i(241)]=t,this[i(262)][i(239)][i(249)]();const s=new jo(this[i(250)],this[i(246)][i(244)],{shouldToolbarGroupWhenFull:!0});this[i(238)]=new Mo(this,s)}[Wo(235)](){const t=Wo;return this[t(264)](),this.ui[t(235)](),super[t(235)]()}static async[Wo(260)](t,e){const i=Wo,s=new this(t,e);return await s[i(240)](),await s.ui[i(248)](t),await s[i(257)][i(248)](s[i(245)][i(252)](i(242))||""),s[i(259)](i(258)),s}}const Zo=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=435]})(t,e)}function $o(){const t=["1404voOVuS","refreshPositioning","toolbar","RestrictedEditingMode","_recalculatePageBreaks","revisionHistory.editorContainer","RevisionViewerIntegration","locale","_viewerEditor","DocumentOutline","revisionHistory.closeRevisionViewerCallback","isReadOnly","style","addRoot","revision-history-viewer-opened","disableReadOnlyMode","PaginationLookup","RevisionHistoryUI","rootName","_restoreRevision","includes","error","RevisionViewer","bind","selection","destroy","revision-history-missing-configuration","addUser","requires","600906uQYtxV","then","end","getAttributeKeys","creator","name","model","refreshVisibility","parse","8EWosau","createdAt","toLocaleDateString","toJSON","create","numeric","Annotations","markers","init","addRevisionData","save","uiLanguage","isAnonymous","setSelection","pluginName","getRevisions","enqueueChange","4844791EUMwwX","display","insert","3662432uBzWtZ","lazyRoots","6ZQlPxq","plugins","getRoot","createRangeIn","Users","from","long","RevisionsRepository","commands","50550ogaEhH","isAttached","config","_closeRevisionViewer","Dialog","enableReadOnlyMode","data","removeAttribute","fromVersion","getUser","hide","revisionHistory.showRevisionViewerCallback","block","_showRevisionViewer","isEnabled","map","isReady","isOpen","none","revisionHistory.requireRevisionName","change","define","_getRevisionViewerEditorConfig","revisionHistory.viewerContainer","setAttribute","revisionHistory","showRevisionViewerCallback","result","push","RevisionHistoryUtils","set","join","fromCharCode","getRevisionRootsAttributes","2599326gfmJwM","removeMarker","has","_enhanceShowRevisionViewerCallback","remove","RevisionTracker","_enhanceCloseRevisionViewerCallback","editor","1QUxWJe","getMarkersGroup","loadRevisionData","isOfficialPlugin","revisionHistory.viewerEditorElement","1008rufTrU","roots","Restored","catch","element","changesNavigation","users","exitToEditing","125485VRufVF","indexOf","get","RevisionHistory","getRevision","toLocaleTimeString","revisionHistory.restoreRevisionCallback","getRevisionDocumentData","closeRevisionViewerCallback","update","_update","restoreRevision","translations","toVersion","removeSelectionAttribute","adapter","$graveyard","document","isRevisionViewerOpen","view","restrictedEditingException","keys","41371ftodEN","_cleanUp","isPremiumPlugin","saveRevision","Autosave","detachRoot","repository","DocumentOutlineUI"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(706343===parseInt(e(435))/1*(-parseInt(e(581))/2)+-parseInt(e(507))/3+parseInt(e(516))/4*(parseInt(e(448))/5)+parseInt(e(538))/6*(parseInt(e(533))/7)+parseInt(e(536))/8+-parseInt(e(440))/9*(-parseInt(e(547))/10)+parseInt(e(470))/11*(parseInt(e(478))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Zo(495),Zo(481)];class Yo extends U.Plugin{[Zo(574)];static get[Zo(530)](){return Zo(484)}static get[Zo(438)](){return!0}static get[Zo(472)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(562)]((t=>String[e(579)](t)))[e(578)]("")}super(t),this[e(574)]=e(509),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Go extends U.Plugin{[Zo(486)];static get[Zo(530)](){return Zo(451)}static get[Zo(438)](){return!0}static get[Zo(472)](){return!0}static get[Zo(506)](){return[ct,Pt]}constructor(e){const i=Zo;if(super(e),!this[i(588)][i(549)][i(450)](i(572)))throw new t.CKEditorError(i(504),this);this[i(486)]=null,this[i(577)](i(466),!1),this[i(588)][i(549)][i(568)](i(558),(t=>this[i(560)]({...t,translations:this[i(588)][i(485)][i(460)]}))),this[i(588)][i(549)][i(568)](i(488),(t=>this[i(550)](t))),this[i(588)][i(549)][i(568)](i(454),(t=>this[i(497)](t))),this[i(588)][i(549)][i(568)](i(566),!1),this[i(584)](),this[i(587)]()}set[Zo(463)](t){const e=Zo;this[e(588)][e(539)][e(450)](e(586))[e(463)]=t}get[Zo(463)](){const t=Zo;return this[t(588)][t(539)][t(450)](t(586))[t(463)]}[Zo(525)](t){const e=Zo;return this[e(588)][e(539)][e(450)](e(586))[e(525)](t)}[Zo(452)](t){const e=Zo;return this[e(588)][e(539)][e(450)](e(545))[e(452)](t)}[Zo(531)](t){const e=Zo;return this[e(588)][e(539)][e(450)](e(545))[e(531)](t||{toJSON:!1})}[Zo(569)](){const e=Zo,i=this[e(588)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(539)][e(450)](e(586)),r=i[e(539)][e(450)](e(542))[e(446)];return s[e(480)]=[e(447),e(459),e(445)],delete s[e(537)],s[e(539)][e(575)](Yo,te,be,class extends U.Plugin{static get[e(506)](){return[te,e(542)]}[e(524)](){const s=e,o=this[s(588)][s(539)][s(450)](s(542));for(const t of r)t[s(528)]||o[s(556)](t.id)||o[s(505)](t);const a=n[s(476)][s(531)]();let c=null;const u=this[s(588)][s(539)][s(450)](s(500));u[s(463)]=n[s(463)],u[s(501)](s(561)).to(n),this[s(588)][s(546)][s(450)](s(459))[s(501)](s(561)).to(i,s(489),(t=>!t));for(const e of a){const i=null===e[s(511)];if(i&&e[s(461)]===e[s(555)])continue;const r=e[s(519)]();u[s(525)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(458)](r,o);else if(!o){const e=a[u(519)]();e.id=(0,t.uid)(),n[u(473)](e,a[u(461)])[u(508)]((t=>{c=t}))}}else e[u(458)](r,o)}))}}},Ro),s}[Zo(584)](){const t=Zo,e=this[t(588)][t(549)][t(450)](t(572))[t(573)];this[t(588)][t(549)][t(577)](t(558),(async()=>{const i=t;this[i(588)][i(552)](i(492));const s=this[i(588)][i(539)][i(450)](i(586));if(this[i(588)][i(539)][i(583)](i(474))){const t=this[i(588)][i(539)][i(450)](i(474));await t[i(526)]()}else await s[i(457)]();if(this[i(588)][i(539)][i(583)](i(494))&&this[i(588)][i(539)][i(450)](i(494))[i(482)](),this[i(588)][i(539)][i(583)](i(551))){const t=this[i(588)][i(539)][i(450)](i(551));t[i(564)]&&t[i(557)]()}const n=this[i(569)]();return e(n)[i(508)]((t=>{const e=i;return this[e(486)]=t,this[e(588)][e(539)][e(583)](e(522))&&this[e(588)][e(539)][e(450)](e(522))[e(514)](),this[e(588)][e(539)][e(583)](e(487))&&(this[e(588)][e(539)][e(450)](e(477))[e(467)][e(444)][e(490)][e(534)]=e(565)),t}))[i(443)]((t=>(console[i(499)](t),this[i(588)][i(493)](i(492)),null)))}))}[Zo(587)](){const t=Zo,e=this[t(588)][t(549)][t(450)](t(572))[t(456)];this[t(588)][t(549)][t(577)](t(488),(()=>(this[t(588)][t(539)][t(583)](t(494))&&this[t(588)][t(539)][t(450)](t(494))[t(482)](),this[t(588)][t(539)][t(583)](t(487))&&(this[t(588)][t(539)][t(450)](t(477))[t(467)][t(444)][t(490)][t(534)]=""),this[t(486)][t(539)][t(450)](t(500))[t(471)](),e(this[t(486)])[t(508)]((()=>{const e=t;if(this[e(588)][e(493)](e(492)),this[e(486)]=null,this[e(588)][e(539)][e(583)](e(522))){const t=this[e(588)][e(539)][e(450)](e(522));t[e(514)](),t[e(479)]()}})))))}[Zo(560)](t){const e=Zo,i=this[e(588)][e(549)][e(450)](e(483)),s=this[e(588)][e(549)][e(450)](e(570)),n=this[e(588)][e(549)][e(450)](e(439));return Ho[e(520)](n,t)[e(508)]((t=>(s[e(490)][e(534)]=e(559),i[e(490)][e(534)]=e(565),this[e(466)]=!0,t)))}[Zo(550)](t){const e=Zo,i=this[e(588)][e(549)][e(450)](e(483));return this[e(588)][e(549)][e(450)](e(570))[e(490)][e(534)]=e(565),i[e(490)][e(534)]="",this[e(466)]=!1,t[e(503)]()}async[Zo(497)](t){const e=Zo,i=this[e(588)],s=this[e(486)][e(539)][e(450)](e(500)),n=i[e(539)][e(450)](e(586)),r=i[e(539)][e(450)](e(576)),o=s[e(476)][e(452)](t);let a,c,u;try{await r[e(437)](o,this[e(463)]),a=r[e(455)](o),c=r[e(580)](o)}catch(t){return void console[e(499)](t)}i[e(513)][e(567)]((t=>{const s=e;for(const e of Array[s(543)](i[s(513)][s(523)][s(436)](s(468))))t[s(582)](e)})),s[e(563)]=!1,i[e(513)][e(532)]((t=>{const s=e;t[s(529)](null),t[s(462)](i[s(513)][s(465)][s(502)][s(510)]());const n=Object[s(469)](a);for(const e of i[s(513)][s(465)][s(441)])s(464)!=e[s(496)]&&e[s(548)]()&&!n[s(498)](e[s(496)])&&t[s(475)](e);for(const e of n){let n=i[s(513)][s(465)][s(540)](e);n&&n[s(548)]()||(n=t[s(491)](e));const r=c[e],o=Object[s(469)](r),u=a[e];for(const e of n[s(510)]())o[s(498)](e)||t[s(554)](e,n);for(const i of o)t[s(571)](i,c[e][i],n);t[s(585)](t[s(541)](n)),t[s(535)](i[s(553)][s(515)](u,n),n,0)}}));const l=Q(i[e(485)],e(442));return u=o[e(512)]?-1==o[e(512)][e(449)](l)?l+": "+o[e(512)]:o[e(512)]:l+": "+o[e(517)][e(518)](i[e(485)][e(527)],{month:e(544),day:e(521)})+", "+o[e(517)][e(453)](i[e(485)][e(527)],{hour:e(521),minute:e(521)}),await n[e(473)]({name:u}),s[e(563)]=!0,i[e(549)][e(450)](e(572))[e(456)]()}}function Jo(){var t=["914505PjdPGe","5569074CdIrwH","196776miBuDS","28OhSXqO","5yicJYq","4194820SMiOpv","762806MuEIfS","347108SWBxvK","2320662ZrKMuM"];return(Jo=function(){return t})()}function Xo(t,e){var i=Jo();return(Xo=function(t,e){return i[t-=473]})(t,e)}!function(t){for(var e=Xo,i=t();;)try{if(565206===parseInt(e(475))/1+parseInt(e(474))/2+-parseInt(e(477))/3+parseInt(e(473))/4+-parseInt(e(481))/5*(parseInt(e(476))/6)+parseInt(e(480))/7*(parseInt(e(479))/8)+-parseInt(e(478))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Go,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(D=t)||"object"!=typeof D&&"function"!=typeof D)return t;var D;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const D=/^(?: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 D.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function M(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?M(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function 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}}function L(t,e){const i=z();return(L=function(t,e){return i[t-=400]})(t,e)}const P=L;function z(){const t=["diffData","setName","139920MCqcky","createdAt","attributes","creator","192344ZSHnQe","map","fire","authorsIds","toJSON","81PBNGdZ","set","336TRTAkp","_update","64uADdRO","removeAttribute","23317460MmwPcl","2652310THkPLx","setAttribute","242145pexRKH","creatorId","name","fromVersion","model","36544GwEVoB","toVersion","authors","6560598HtOvaj"];return(z=function(){return t})()}!function(t){const e=L,i=t();for(;;)try{if(714614===parseInt(e(407))/1*(-parseInt(e(426))/2)+-parseInt(e(422))/3*(parseInt(e(413))/4)+parseInt(e(400))/5+parseInt(e(410))/6+parseInt(e(424))/7*(-parseInt(e(417))/8)+parseInt(e(402))/9+parseInt(e(428))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[P(416)];[P(409)];[P(411)];[P(408)];[P(405)];[P(406)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(416)]=e[i(416)]||null,this[i(409)]=e[i(409)]||[],this[i(411)]=e[i(411)]||null,this[i(408)]=e[i(408)]||0,this[i(405)]=e[i(405)]||0,this[i(423)](i(404),e[i(404)]||""),this[i(423)](i(414),e[i(414)]||new Date),this[i(423)](i(415),e[i(415)]||{})}[P(412)](t){this[P(425)]({name:t})}[P(401)](t,e){const i=P,s=A(this[i(415)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(425)]({attributes:s})}[P(427)](t){const e=P,i=A(this[e(415)]);(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]&&M(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(425)]({attributes:i})}[P(425)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(404),i(414),i(411),i(409),i(415),i(408),i(405),i(403)];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(409)]&&(n[i(420)]=n[i(409)][i(418)]((t=>t.id)),delete n[i(409)]),this[i(419)](i(425),n,e))}[P(421)](){const t=P;return{id:this.id,name:this[t(404)],creatorId:this[t(416)]?this[t(416)].id:null,authorsIds:this[t(409)][t(418)]((t=>t.id)),diffData:this[t(411)],createdAt:this[t(414)],attributes:this[t(415)],fromVersion:this[t(405)],toVersion:this[t(408)]}}}var U=i(782),Z=i(211),H=i(783);function q(){const t=["12318nTqUXU","4664PxkkxC","1834HeZwsK","isOfficialPlugin","addRevision","getRevisionsIterator","add","name","requires","length","getRevision","RevisionsRepository","authorsIds","getLaterVisibleRevision","592281kvJglH","_revisions","Users","get","href","createdAt","13134YJUHzR","reverse","isPremiumPlugin","218VdjIwO","getRevisionsInDiff","plugins","985rmrknN","isNaN","oldRevisionId","creatorId","60vUYcCu","toJSON","5870403NZbXje","earlier","getIndex","afterInit","attributes","getEarlierVisibleRevision","newRevisionId","join","createRevision","map","getUser","getRevisions","data","later","editor","70394taSIce","782840TFOjVn","pluginName","diffData","from","push","fromCharCode","fromVersion","toVersion"];return(q=function(){return t})()}const $=B;function B(t,e){const i=q();return(B=function(t,e){return i[t-=264]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(235856===parseInt(e(283))/1+-parseInt(e(315))/2*(parseInt(e(292))/3)+parseInt(e(284))/4+parseInt(e(318))/5*(parseInt(e(312))/6)+parseInt(e(294))/7*(-parseInt(e(293))/8)+-parseInt(e(306))/9*(parseInt(e(266))/10)+parseInt(e(268))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends U.Plugin{[$(307)];static get[$(300)](){return[Z.Users]}static get[$(285)](){return $(303)}static get[$(295)](){return!0}static get[$(314)](){return!0}get[$(301)](){const t=$;return this[t(307)][t(301)]}constructor(e){const i=$;super(e),this[i(307)]=new t.Collection}[$(271)](){!async function(e){const i=k([100,97,86,55,77,87,109,78,114,90,119,107,117,85,71,76,75,116,80,67,105,81,101,69,68,102,66,115,72,52,111,56,54,79,50,65,120,106,104,84,113,108,82,53,88,99,118,83,112,121,48,110,70,89,74,57,98,122,73,51,103,49]),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(319)](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=B;return t[e(277)]((t=>String[e(289)](t)))[e(275)]("")}!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:1748390400;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(310)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[$(276)](t){const e=$,i=this[e(282)][e(317)][e(309)](e(308));return new W({id:t.id,name:t[e(299)],creator:t[e(265)]?i[e(278)](t[e(265)]):null,diffData:t[e(286)]||t[e(280)],authors:t[e(304)][e(277)]((t=>i[e(278)](t))),createdAt:new Date(t[e(311)]),attributes:t[e(272)],fromVersion:t[e(290)],toVersion:t[e(291)]})}[$(296)](t,e=0){const i=$;this[i(307)][i(298)](t,e)}[$(302)](t){const e=$;return this[e(307)][e(309)](t)}[$(279)](t={toJSON:!1}){const e=$,i=Array[e(287)](this[e(307)]);return i[e(313)](),t[e(267)]?i[e(277)]((t=>t[e(267)]())):i}[$(270)](t){const e=$;return this[e(307)][e(270)](t)}[$(273)](t){const e=$,[,i]=this[e(297)](t,{direction:e(269)});return i}[$(305)](t){const e=$,[,i]=this[e(297)](t,{direction:e(281)});return i}[$(316)](t){const e=$,i=[];for(const s of this[e(297)](t[e(274)]))if(i[e(288)](s),s.id===t[e(264)])break;return i}*[$(297)](t,{direction:e=$(269),filter:i=()=>!0}={}){const s=$,n=s(269)===e?1:-1;let r=this[s(307)][s(309)](t),o=this[s(270)](r);for(yield r;r;){if(o+=n,r=this[s(302)](o),!r)return;i(r)&&(yield r)}}}function G(){const t=["956830LNDvbJ","domConverter","map","domChildrenToView","_removeRevisionMarkers","filter","render","attributesAfter","forEach","toData","startsWith","editor","pluginName","from","_typeCharToViewClass","innerHTML","get","getRevisionDocumentData","data-revision-","isAttached","_setCustomProperty","getRevision","constructor","append","revision-end","div","1614ZyGxOo","insertions","string","length","default","children","editing","getFillerOffset","481328GJNWwE","viewChildrenToDom","customProperties","isPremiumPlugin","_viewClassToTypeChar","parse","htmlProcessor","name","isOfficialPlugin","4474tweccB","childNodes","RevisionHistoryUtils","diffData","18GIPYEg","revision-start","fillerOffset","125BlSAom","5260MxYQkm","data","attributes","1264756bOkiFb","_makeModelFromViewString","collaboration.channelId","useFillerType","_getTypeCharForViewElement","attachChange","toModel","document","marked","loadRevisionData","4277588SSChHp","processor","createElement","2129352qVEHmM","view","_appendChild","getRevisionRootsAttributes","domDocument","config","_getViewFromDiffObj","type"];return(G=function(){return t})()}const J=K;function K(t,e){const i=G();return(K=function(t,e){return i[t-=227]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(363739===-parseInt(e(269))/1*(-parseInt(e(262))/2)+-parseInt(e(286))/3+-parseInt(e(273))/4+-parseInt(e(270))/5*(-parseInt(e(245))/6)+parseInt(e(283))/7+parseInt(e(253))/8*(parseInt(e(266))/9)+parseInt(e(294))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class Q extends U.Plugin{static get[J(231)](){return J(264)}static get[J(261)](){return!0}static get[J(256)](){return!0}[J(257)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[J(233)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[J(282)](t,e){const i=J;if(t[i(265)]||!e)return;const s=this[i(230)][i(291)][i(235)](i(275)),n=await e[i(240)]({channelId:s,revisionId:t.id});t[i(265)]=n[i(265)]}[J(236)](t){const e=J,i={};for(const s in t[e(265)]){if(t[e(265)][s][e(278)]&&!t[e(265)][s][e(278)][e(238)])continue;const n=this[e(298)](JSON[e(258)](t[e(265)][s][e(246)])),r=this[e(230)][e(251)][e(287)][e(280)],o=new H.ViewDocumentFragment(r,n[e(296)]((t=>this[e(292)](t,!1))));this[e(230)][e(271)][e(284)][e(276)](e(281)),i[s]=this[e(230)][e(271)][e(284)][e(228)](o),this[e(230)][e(271)][e(284)][e(276)](e(249))}return i}[J(289)](t){const e=J,i={};for(const s in t[e(265)])t[e(265)][s][e(278)]&&!t[e(265)][s][e(278)][e(238)]||(i[s]=t[e(265)][s][e(301)]||{});return i}[J(277)](t){const e=J;return this[e(257)][e(235)](t[e(241)])}[J(292)](t,e){const i=J,s=this[i(230)][i(251)][i(287)][i(280)];if(i(247)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(293)]||"r"==t[i(293)]?[]:t[i(250)][i(296)]((t=>this[i(292)](t,e)));const o=this[i(233)][i(235)](t[i(293)])||H.ViewElement,a=this[i(230)][i(271)][i(259)][i(295)];if(n=new o(s,t[i(260)],t[i(272)],r),"u"==t[i(293)]&&t[i(250)][0]){const r=t[i(250)][0];if(n[i(300)]=function(t){const e=i,s=t[e(285)](e(244));return s[e(234)]=r,s[e(263)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(288)](n);const e=Array[i(232)](a[i(254)](t,{bind:!1})),r=a[i(290)][i(285)](i(244));r[i(242)](...e),n=Array[i(232)](a[i(297)](r))[0]}}else if("r"==t[i(293)]&&t[i(250)][0]){const r=t[i(250)][0];if(n[i(300)]=function(t){t[i(234)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(288)](n);const e=Array[i(232)](a[i(254)](t,{bind:!1})),r=a[i(290)][i(285)](i(244));r[i(242)](...e);const o=Array[i(232)](a[i(297)](r));o[i(248)]>1?n[i(288)](o):n=o[0]}}if(t[i(255)])for(const[e,s]of t[i(255)])n[i(239)](e,s);const c=void 0===t[i(268)]?null:t[i(268)];return null!==c&&(n[i(252)]=()=>c),n}}[J(274)](t){const e=J,i=JSON[e(258)](t),s=this[e(230)][e(251)][e(287)][e(280)],n=new H.ViewDocumentFragment(s,i[e(296)]((t=>this[e(292)](t,!0))));return this[e(230)][e(271)][e(279)](n)}[J(298)](t){const e=J;return(t=t[e(299)]((t=>!t[e(260)]||e(267)!==t[e(260)]&&e(243)!==t[e(260)])))[e(227)]((t=>{const i=e;i(247)!=typeof t&&(t[i(250)]=this[i(298)](t[i(250)]),t[i(272)]=t[i(272)][i(299)]((t=>!t[0][i(229)](i(237)))))})),t}}function X(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(D=s)||Number.isNaN(A)&&Number.isNaN(D)}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,D;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,T)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,T)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=dt();return(ot=function(t,e){return i[t-=421]})(t,e)}!function(t){const e=ot,i=t();for(;;)try{if(308645===parseInt(e(551))/1+parseInt(e(595))/2+-parseInt(e(540))/3+-parseInt(e(660))/4*(-parseInt(e(523))/5)+parseInt(e(681))/6*(-parseInt(e(689))/7)+parseInt(e(738))/8+-parseInt(e(713))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dt);class at extends U.Plugin{[rt(535)];[rt(445)];[rt(665)]=null;[rt(512)];[rt(462)]=null;[rt(501)];[rt(454)];[rt(511)];[rt(622)];[rt(463)];[rt(421)];[rt(653)];[rt(520)];[rt(472)];static get[rt(536)](){return rt(707)}static get[rt(503)](){return!0}static get[rt(592)](){return!0}static get[rt(530)](){return[Z.Users,Y,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(512)]=this[i(625)][i(457)][i(670)](i(491)),this[i(463)]=this[i(625)][i(457)][i(670)](i(528)),this[i(501)]=new ct(this[i(625)]),this[i(511)]=this[i(625)][i(484)][i(670)](i(720))||i(487),this[i(622)]=new Map,this[i(472)]=null;const s=(0,t.uid)();this[i(454)]={history:this[i(625)][i(599)][i(724)][i(633)],getLatestVersion:()=>Promise[i(483)](this[i(625)][i(599)][i(724)][i(598)]),getCurrentRevisionId:()=>s},this[i(608)](i(597),!1),this[i(608)](i(644),!0),this[i(608)](i(732),!1),this[i(625)][i(484)][i(646)](i(470),!0),this[i(625)][i(563)][i(649)](i(478))[i(651)]({view:i(568)})}[rt(614)](){const t=rt;this[t(543)](),this[t(625)][t(679)].on(t(506),(()=>{const e=t,i=this[e(512)][e(623)](0),s=i&&null===i[e(498)]?i:null;if(this[e(653)]=!!s&&this[e(625)][e(484)][e(670)](e(470)),this[e(625)][e(457)][e(594)](e(569))){const t=this[e(454)][e(431)](),n=this[e(512)][e(623)](t);if(n)this[e(520)]=n[e(516)],this[e(653)]=!1;else{const t=this[e(454)][e(633)][e(652)][e(676)]((t=>!t[e(611)])),n=t?t[e(455)]:this[e(454)][e(633)][e(598)];i?(i[e(701)]<n&&i[e(496)]({toVersion:n}),this[e(653)]?(this[e(454)][e(431)]=()=>s.id,this[e(520)]=s[e(516)]):(this[e(520)]=i[e(701)],this[e(653)]=!1)):(this[e(520)]=n,this[e(653)]=!1)}}else s&&(this[e(625)][e(599)][e(724)][e(633)][e(598)]=Math[e(726)](s[e(701)],this[e(625)][e(599)][e(724)][e(633)][e(598)]),s[e(516)]===s[e(701)]?(0!==s[e(516)]&&(this[e(454)][e(431)]=()=>s.id),this[e(653)]=!1):this[e(653)]&&(this[e(454)][e(431)]=()=>s.id,this[e(520)]=s[e(516)])),this[e(653)]||(this[e(520)]=this[e(625)][e(599)][e(724)][e(598)]);this[e(501)][e(614)](this[e(454)][e(633)]),this[e(639)](this[e(520)]),this[e(510)](this[e(520)]),this[e(462)]&&this[e(655)]()})),this[t(433)](t(597)).to(this,t(732),(t=>!t)),this[t(535)]=this[t(625)][t(484)][t(670)](t(535));const e=this[t(625)];this[t(445)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(630)==r||i(567)==r||i(693)==r||i(492)==r||i(578)==r||i(741)==r||i(560)==r||i(668)==r){delete e[n],s=r,clearInterval(this[i(445)]),this[i(445)]=void 0;break}}i(567)==s&&e[i(589)](i(505)),i(693)==s&&e[i(589)](i(624)),i(492)==s&&e[i(589)](i(737)),i(578)==s&&e[i(589)](i(564),i(692)),i(741)==s&&e[i(589)](i(424)),i(560)==s&&e[i(589)](i(544)),i(668)==s&&e[i(589)](i(730))}),1e3)}async[rt(667)](){const t=rt;if(this[t(512)][t(664)]>0){const e=this[t(512)][t(623)](0),i=await this[t(643)](e),s=await this[t(716)](e);this[t(482)](i,s)}}[rt(489)](){const t=rt;super[t(489)](),this[t(445)]&&clearInterval(this[t(445)])}[rt(507)](t){this[rt(454)]=t}async[rt(621)](){const t=rt,e=await this[t(454)][t(480)]();if(e>this[t(665)][t(701)]){await this[t(508)]();const i=this[t(514)]({revision:this[t(665)],to:e});i[t(452)]=i[t(694)][t(448)]((e=>this[t(625)][t(457)][t(670)](t(629))[t(662)](e))),this[t(665)][t(496)](i)}}async[rt(647)](e={},i=null){const s=rt,n=[];await this[s(508)](),this[s(653)]=!1,i>this[s(665)][s(701)]&&(i=null),null===i&&(i=await this[s(454)][s(480)]());const r=this[s(709)](i),o=this[s(514)]({from:r,to:i});if(this[s(665)][s(701)]<i){const t=this[s(514)]({revision:this[s(665)],from:i,to:i});t[s(452)]=[],t[s(694)]=[],t.id=this[s(665)].id,this[s(665)][s(496)](t,!0),delete t[s(452)],n[s(476)](t)}e[s(444)]=this[s(625)][s(457)][s(670)](s(629)).me.id,e[s(634)]=e[s(634)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(656)](e);n[s(476)](e);const c=this[s(512)][s(627)](a);if(0!==c){const t=this[s(512)][s(623)](c-1);if(t[s(516)]!==i){const r=this[s(501)][s(631)](i,t[s(701)]),o={id:t.id,diffData:r[s(590)],authorsIds:r[s(694)],authors:r[s(694)][s(448)]((t=>this[s(625)][s(457)][s(670)](s(629))[s(662)](t))),fromVersion:i};t===this[s(665)]&&(o[s(439)]=new Date(e[s(439)][s(691)]()+10)),t[s(496)](o,!0),delete o[s(452)],n[s(476)](o)}}if(this[s(462)]){for(const t of n)this[s(497)](t.id,t,!0);this[s(655)]()}return a}[rt(656)](t){const e=rt,i=this[e(512)][e(712)](t);return this[e(462)]&&i.on(e(496),((t,i,s)=>{const n=e;s||(this[n(497)](i.id,i,!0),this[n(655)]())})),this[e(512)][e(436)](i,this[e(538)](i)),i}async[rt(643)](t){const e=rt;return await this[e(463)][e(518)](t,this[e(462)]),this[e(463)][e(643)](t)}async[rt(716)](t){const e=rt;return await this[e(463)][e(518)](t,this[e(462)]),this[e(463)][e(716)](t)}[rt(655)](){const t=rt;if(0===this[t(622)][t(534)])return;if(this[t(732)])return;let e=Array[t(554)](this[t(622)][t(729)]());this[t(622)][t(550)]();for(let i=0;i<e[t(664)];i++){const s=e[i];let n=!1;for(const e of Object[t(517)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(733)]((t=>null!==t)),!e[t(664)])return;for(let i=0;i<e[t(664)];i++){const s=e[i];void 0!==s[t(516)]&&void 0===s[t(701)]&&(s[t(701)]=this[t(512)][t(623)](s.id)[t(701)]),void 0!==s[t(701)]&&void 0===s[t(516)]&&(s[t(516)]=this[t(512)][t(623)](s.id)[t(516)])}const i=this[t(625)][t(484)][t(670)](t(720));this[t(732)]=!0,this[t(571)](),this[t(462)][t(632)](e,i)[t(570)]((()=>{this[t(732)]=!1}))[t(440)]((e=>{const i=t;if(e)for(const t of e)this[i(697)]({id:t.id,createdAt:t[i(439)]});this[i(485)](),this[i(655)]()}))}[rt(514)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(516)],i=null!==i?i:t[s(701)];const n=this[s(501)][s(631)](e,i),r={diffData:n[s(590)],authorsIds:n[s(694)],fromVersion:e,toVersion:i};if(!t||i!==t[s(701)]){const t=i-1,e=this[s(454)][s(633)][s(708)](t);r[s(439)]=e&&e[s(439)]||new Date}if(this[s(472)]&&e===this[s(472)][s(516)])for(const t of this[s(472)][s(452)])r[s(694)][s(725)](t.id)||r[s(694)][s(476)](t.id);return r}[rt(497)](t,e,i){const s=rt;if(this[s(622)][s(594)](t)){const n=this[s(622)][s(670)](t);e=i?{...n,...e}:{...e,...n}}this[s(622)][s(608)](t,e)}[rt(697)](t){const e=rt,i=this[e(512)][e(623)](t.id);if(t[e(439)]&&(t[e(439)]=new Date(t[e(439)])),t[e(694)]){const i=this[e(625)][e(457)][e(670)](e(629));t[e(452)]=t[e(694)][e(448)]((t=>i[e(662)](t)))}i[e(496)](t,!0)}[rt(639)](t){const e=rt,i=this[e(512)][e(623)](this[e(512)][e(664)]-1);if(i)this[e(511)]=i.id;else{const i=!this[e(625)][e(599)][e(724)][e(721)][e(676)]((t=>this[e(625)][e(599)][e(684)](t))),s=this[e(625)][e(457)][e(670)](e(629)).me.id,n=X(this[e(625)][e(430)],e(i?593:539));this[e(558)]({from:t,to:t,id:this[e(511)],name:n,creatorId:s})}}[rt(510)](t){const e=rt,i=this[e(454)][e(431)]();this[e(665)]=this[e(512)][e(623)](i),this[e(665)]||(this[e(665)]=this[e(558)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(508)](){const t=rt;this[t(653)]&&!this[t(472)]&&(await this[t(463)][t(518)](this[t(665)],this[t(462)]),this[t(501)][t(607)](this[t(665)]),this[t(472)]={fromVersion:this[t(665)][t(516)],authors:this[t(665)][t(452)][t(493)]()})}[rt(482)](e,i){const s=rt;let n=this[s(625)][s(484)][s(670)](s(469)),r=this[s(625)][s(484)][s(670)](s(620));if(void 0===n){n={};for(const t of this[s(625)][s(599)][s(724)][s(428)]())n[t]=""}if(s(533)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(625)][s(599)][s(724)][s(428)]())r[t]={}}let o=!1;const a=Object[s(517)](n),c=Object[s(517)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(555)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(517)](r[t])[s(664)]>0){o=!0;break}}o||(o=c[s(582)]((t=>!this[s(625)][s(599)][s(724)][s(437)](t)))),o&&(0,t.logWarning)(s(740),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(625)][s(484)][s(608)](s(469),e),this[s(625)][s(484)][s(608)](s(620),i)}[rt(571)](){const t=rt;if(!this[t(421)]){const e=this[t(625)][t(457)][t(670)](t(604));this[t(421)]=e[t(545)](X(this[t(625)][t(430)],t(722)))}}[rt(485)](){const t=rt;this[t(421)]&&(this[t(625)][t(457)][t(670)](t(604))[t(714)](this[t(421)]),this[t(421)]=null)}[rt(538)](t){const e=rt,i=this[e(512)][e(735)]();i[e(699)]();let s=0;for(;s<i[e(664)];){const n=i[s];if(n===this[e(665)]){s++;continue}if(n.id===this[e(511)])break;const r=t[e(701)]-n[e(701)]||t[e(516)]-n[e(516)];if(r>0)break;if(r<0)s++;else{if(!t[e(498)]&&n[e(498)])break;if(n[e(498)]||!t[e(498)]){if(t[e(439)]>n[e(439)])break;s++}else s++}}return s}[rt(709)](t){const e=rt,i=this[e(512)][e(735)]();i[e(699)](),i[e(683)]();const s=i[e(676)]((i=>i[e(701)]<=t))[e(701)];return s<this[e(520)]?this[e(520)]:s}[rt(558)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(514)]({from:e,to:i});o[r(634)]=t,o[r(444)]=s,o.id=n;const a=this[r(656)](o);return this[r(462)]&&this[r(497)](o.id,o,!0),a}[rt(543)](){const t=rt;this[t(625)][t(563)][t(649)](t(648))[t(580)]({model:t(568)})}}class ct{[rt(625)];[rt(546)];[rt(645)];[rt(583)];[rt(742)];[rt(524)];[rt(500)];[rt(678)];[rt(698)];[rt(588)];[rt(587)];[rt(591)];[rt(603)];[rt(642)];[rt(451)];[rt(477)];[rt(628)];constructor(t){const e=rt;this[e(625)]=t,this[e(645)]=new Map,this[e(583)]=-1,this[e(742)]=-1,this[e(524)]=new Map,this[e(500)]=new Map,this[e(678)]=new Map,this[e(698)]=new Map,this[e(588)]=new Map,this[e(587)]=new Map,this[e(591)]=new Map,this[e(603)]=new Map,this[e(642)]=new Map,this[e(451)]=new Map,this[e(477)]=1}[rt(614)](t){const e=rt;this[e(546)]=t;const i=new Map,s=new Map,n=this[e(625)][e(599)][e(724)][e(721)][e(448)]((t=>t[e(677)]));for(const t of n){const n=this[e(625)][e(599)][e(724)][e(437)](t),r=ut(n);i[e(608)](t,r),s[e(608)](t,Object[e(609)](n[e(640)]()))}const r=Array[e(554)](this[e(625)][e(599)][e(717)])[e(448)]((t=>[t[e(634)],t[e(475)]()])),o=this[e(546)][e(598)];this[e(673)](o,i,r,s),this[e(628)]=this[e(477)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(608)](t,i),c[e(608)](t,{})}this[e(673)](Number[e(686)],a,[],c)}[rt(631)](t,e){const i=rt;if(this[i(583)]===t&&this[i(742)]<=e)this[i(645)][i(534)]>1&&this[i(635)](this[i(742)]),this[i(682)](this[i(742)],e,!0);else{if(!this[i(645)][i(594)](t)){const e=this[i(447)](t);this[i(613)](e,t,!1)}this[i(613)](t,e,!0)}return this[i(583)]=t,this[i(742)]=e,this[i(442)]()}[rt(607)](t){const e=rt,i=this[e(625)][e(457)][e(670)](e(528));this[e(666)](),this[e(583)]=t[e(516)],this[e(742)]=t[e(701)];for(const s in t[e(590)]){const n=t[e(590)][s][e(641)],r=A(t[e(590)][s][e(696)])||{},o=i[e(723)](t[e(590)][s][e(672)]);o[e(677)]=s,o[e(626)]=!n||!n[e(674)],o[e(674)]=()=>o[e(626)],this[e(698)][e(608)](s,o),this[e(588)][e(608)](s,r),n&&this[e(451)][e(608)](s,n);const a=this[e(464)](o);this[e(591)][e(608)](s,a);for(const[t,i]of o[e(717)]){if(!t[e(577)](e(661)))continue;const s=t[e(422)](":")[2];for(const t of i[e(572)]({singleCharacters:!0})){const i=this[e(450)](t),n=e(449)==t[e(579)]?t[e(513)][e(425)][e(493)](0,-1):t[e(513)][e(425)],r=a[e(522)](n)[e(601)](i);this[e(603)][e(608)](r,{userId:s})}}}this[e(628)]=this[e(477)];const s=[...Array(this[e(477)])[e(517)]()][e(493)](1)[e(733)]((t=>!this[e(603)][e(594)](t)));let n=0;const r=new Map;for(const o in t[e(590)]){const a=t[e(590)][o][e(641)],c=A(t[e(590)][o][e(728)])||{},u=i[e(723)](t[e(590)][o][e(521)]);u[e(677)]=o,u[e(626)]=!a||a[e(674)],u[e(674)]=()=>u[e(626)],this[e(500)][e(608)](o,u),this[e(678)][e(608)](o,c);const l=this[e(464)](u,Number[e(686)]);this[e(587)][e(608)](o,l),r[e(608)](o,u[e(674)]()?c:{});for(const[t,i]of u[e(717)]){if(!t[e(577)](e(661)))continue;const s=t[e(422)](":")[2];for(const t of i[e(572)]({singleCharacters:!0})){const i=this[e(450)](t),n=this[e(477)]++,r=e(449)==t[e(579)]?t[e(513)][e(425)][e(493)](0,-1):t[e(513)][e(425)];l[e(522)](r)[e(617)](i,n),this[e(603)][e(608)](n,{userId:s})}}for(const t of this[e(625)][e(599)][e(519)](u)[e(572)]({singleCharacters:!0})){const i=this[e(450)](t),r=e(449)==t[e(579)]?t[e(513)][e(425)][e(493)](0,-1):t[e(513)][e(425)],o=l[e(522)](r);o[e(601)](i)>0||o[e(617)](i,s[n++])}for(const[t,i]of u[e(717)])t[e(577)](e(661))||this[e(524)][e(608)](t,i)}const o=lt(e(559));this[e(698)][e(608)](e(559),o),this[e(591)][e(608)](e(559),this[e(464)](o,1));const a=lt(e(559));this[e(500)][e(608)](e(559),a),this[e(587)][e(608)](e(559),this[e(464)](a,1));const c=Array[e(554)](this[e(500)])[e(448)]((([t,e])=>[t,ut(e)]));this[e(673)](this[e(742)],c,this[e(524)],r)}[rt(711)](){const t=rt;this[t(666)](),this[t(583)]=-1,this[t(742)]=-1,this[t(645)][t(550)](),this[t(614)](this[t(546)])}[rt(673)](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(608)](t,{start:e[n(453)][n(461)](),end:e[n(547)][n(461)](),rootName:e[n(710)][n(677)]});this[n(645)][n(608)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(635)](t){const e=rt;this[e(645)][e(615)](t)}[rt(666)](){const t=rt;this[t(603)][t(550)](),this[t(642)][t(550)](),this[t(451)][t(550)](),this[t(500)][t(550)](),this[t(678)][t(550)](),this[t(698)][t(550)](),this[t(588)][t(550)](),this[t(587)][t(550)](),this[t(591)][t(550)](),this[t(524)][t(550)](),this[t(477)]=1,this[t(628)]=this[t(477)]}[rt(464)](t,e=null){const i=rt;let s=null;t.is(i(658))||(s=new H.Element(t[i(634)],{vid_start:null===e?this[i(477)]++:e++}));const n=[];for(const s of t[i(736)]())if(s.is(i(576))){n[i(476)](this[i(464)](s,e));const t=n[n[i(664)]-1];null!==e&&(e=t.is(i(576),i(427))?t[i(601)](i(548))+1:t[i(601)](i(659))+1)}else for(let t=0;t<s[i(574)];t++)n[i(476)](new H.Element(i(427),{vid:null===e?this[i(477)]++:e++}));if(t.is(i(658))){const e=lt(t[i(677)]);return e[i(434)](0,n),e}return s[i(617)](i(659),null===e?this[i(477)]++:e++),s[i(434)](0,n),s}[rt(613)](t,e,i){const s=rt;this[s(666)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(645)][s(670)](t);this[s(698)]=new Map(n),this[s(588)]=new Map(A(o));for(const[t,e]of this[s(698)])if(s(559)!==t&&(this[s(500)][s(608)](t,ut(e)),this[s(678)]=new Map(A(o)),i)){const i=this[s(477)];this[s(587)][s(608)](t,this[s(464)](e)),this[s(591)][s(608)](t,this[s(464)](e,i))}this[s(628)]=this[s(477)],this[s(500)][s(608)](s(559),ut(this[s(698)][s(670)](s(559)))),i&&this[s(587)][s(608)](s(559),this[s(464)](this[s(698)][s(670)](s(559))));for(const[t,e]of r){const i=this[s(698)][s(670)](e[s(677)]),n=this[s(500)][s(670)](e[s(677)]),r=new H.Range(this[s(481)](e[s(453)],i),this[s(481)](e[s(547)],i)),o=this[s(690)](r,n);i[s(717)][s(608)](t,r),this[s(524)][s(608)](t,o)}this[s(682)](t,e,i)}[rt(682)](t,e,i){const s=rt;for(const n of this[s(546)][s(700)](t,e))this[s(488)](n,i);for(const t of this[s(500)][s(729)]())t[s(717)][s(550)]();for(const[t,e]of this[s(524)])this[s(500)][s(670)](e[s(710)][s(677)])[s(717)][s(608)](t,e[s(461)]());const n=new Map,r=new Map;for(const[t,e]of this[s(500)])n[s(608)](t,ut(e)),r[s(608)](t,this[s(678)][s(670)](t));this[s(673)](e,n,this[s(524)],r)}[rt(447)](t){const e=rt,i=Array[e(554)](this[e(645)][e(517)]());i[e(509)](((t,e)=>t-e)),i[e(699)]();for(const e of i)if(e<t)return e;return Number[e(686)]}[rt(715)](t,e){const i=rt,s=Array[i(554)](e[i(717)])[i(448)]((([e,s])=>[e,this[i(690)](s,t)]));t[i(717)]=new Map(s)}[rt(549)](t){const e=rt;for(const i of this[e(524)][e(729)]()){const s=i[e(671)](t),n=H.Range[e(654)](s);i[e(453)]=n[e(453)],i[e(547)]=n[e(547)]}}[rt(488)](t,e){const i=rt;if(i(688)!=t[i(579)]&&i(575)!=t[i(579)]){if(i(704)==t[i(579)]){const s=t[i(527)][i(710)][i(677)];this[i(500)][i(594)](s)||(this[i(500)][i(608)](s,lt(s,!0)),this[i(678)][i(608)](s,{}),e&&this[i(587)][i(608)](s,lt(s,!0)))}else{if(i(606)==t[i(579)]||i(702)==t[i(579)]||i(586)==t[i(579)])return void this[i(562)](t);i(471)==t[i(579)]&&this[i(499)](t)}if(i(471)!==t[i(579)]){const e=this[i(526)](t,this[i(500)]);e[i(675)](),this[i(549)](e)}if(e)switch(t[i(579)]){case i(704):this[i(460)](t);break;case i(680):case i(714):case i(637):this[i(566)](t);break;case i(619):this[i(432)](t);break;case i(422):this[i(532)](t)}}else this[i(663)](t,e)}[rt(526)](t,e){const i=rt,s=t[i(461)]();return s[i(473)]=t[i(473)],this[i(541)](s,e),s}[rt(429)](t){const e=rt;return t[e(448)]((t=>{const i=e,s=this[i(450)](t);return Number(t[i(441)][i(601)](s))}))}[rt(585)](t,e){const i=rt;if(t.is(i(576),i(427)))e[i(476)]({item:t,type:i(703)});else{t.is(i(576))&&e[i(476)]({item:t,type:i(459)});for(const s of t[i(736)]())this[i(585)](s,e);t.is(i(576))&&e[i(476)]({item:t,type:i(449)})}return e}[rt(442)](){const t=rt,e=new Map(this[t(603)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(698)][t(517)](),...this[t(500)][t(517)]()]);a[t(615)](t(559));for(const e of a){const i=this[t(500)][t(670)](e)||lt(e,!1),s=this[t(698)][t(670)](e)||lt(e,!1);i[t(674)]()||s[t(674)]()?(n[t(521)][e]=ut(i),n[t(672)][e]=ut(s),this[t(715)](n[t(672)][e],s),this[t(715)](n[t(521)][e],i),r[t(521)][e]=this[t(585)](this[t(587)][t(670)](e),[]),r[t(672)][e]=this[t(585)](this[t(591)][t(670)](e)||lt(e,!1),[])):a[t(615)](e)}for(const n of a){const o=r[t(521)][n];for(const n of o){const r=this[t(450)](n),o=n[t(441)][t(601)](r);i[t(615)](o),o>=this[t(628)]&&s[t(608)](o,e[t(670)](o))}}for(const n of a){const a=r[t(521)][n],c=this[t(429)](r[t(672)][n]);let u=0;for(const n of a){const r=this[t(450)](n),a=n[t(441)][t(601)](r);if(!s[t(594)](a)&&!o[t(594)](a))if(i[t(594)](a))u++;else{if(a!=c[u]){const s=e[t(670)](a)||e[t(670)](c[u]);for(;a!=c[u];)i[t(594)](c[u])||(o[t(608)](c[u],s),e[t(608)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(521)][e];for(const e of n){const n=this[t(450)](e),r=e[t(441)][t(601)](n);if(o[t(594)](r)){const e=o[t(670)](r);i[t(594)](r)||i[t(608)](r,{...e}),s[t(608)](r,{...e})}}}for(const e of i[t(517)]())e>=this[t(628)]&&i[t(615)](e);const c=new Map;for(const e of a){let n=r[t(521)][e];for(const e of n)if(e[t(441)].is(t(576),t(573))){const i=this[t(450)](e),n=e[t(441)][t(601)](i);if(s[t(594)](n)){const i=e[t(441)][t(486)][t(486)][t(601)](t(468)),r=c[t(670)](i)||new Set;r[t(545)](s[t(670)](n)[t(719)]),c[t(608)](i,r)}}n=r[t(672)][e];for(const e of n)if(e[t(441)].is(t(576),t(573))){const s=this[t(450)](e),n=e[t(441)][t(601)](s);if(i[t(594)](n)){const s=e[t(441)][t(486)][t(486)][t(601)](t(468)),r=c[t(670)](s)||new Set;r[t(545)](i[t(670)](n)[t(719)]),c[t(608)](s,r)}}for(const e of c[t(517)]())(s[t(594)](e)||i[t(594)](e))&&c[t(615)](e)}for(const e of a){const n=r[t(521)][e];let o=null,a=null;for(const e of n){const n=this[t(450)](e),r=e[t(441)][t(601)](n),u=c[t(670)](r);u&&t(459)==e[t(579)]&&(o=Array[t(554)](u)[0],a=e[t(441)][t(601)](t(659))),o&&(i[t(608)](r,{userId:o}),s[t(608)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(672)][e],a=n[t(521)][e];for(const{userId:e}of this[t(642)][t(729)]())null!==e&&l[t(545)](e);for(const{userId:e}of this[t(451)][t(729)]())null!==e&&l[t(545)](e);this[t(650)](a,r[t(521)][e],s,t(466),l),this[t(650)](o,r[t(672)][e],i,t(565),l),u[e]={insertions:this[t(426)](a),deletions:this[t(426)](o),attachChange:this[t(451)][t(670)](e)||null,attributesBefore:A(this[t(588)][t(670)](e))||{},attributesAfter:A(this[t(678)][t(670)](e))}}return{diffData:u,authorsIds:Array[t(554)](l)}}[rt(529)](t){const e=rt;for(const[,i]of t[e(717)]){const t=i[e(453)][e(495)]()[e(733)]((t=>e(573)==t[e(634)]));for(const i of t)1==i[e(502)]&&i[e(695)](0).is(e(576),e(731))&&i[e(695)](0)[e(617)](e(537),!0)}}[rt(426)](t){const e=rt;this[e(529)](t);const i=this[e(625)][e(679)][e(465)](t,{}),s=Array[e(554)](i[e(736)]())[e(448)]((t=>this[e(490)](t)));return JSON[e(718)](s)}[rt(490)](t){const e=rt;if(t.is(e(427)))return t[e(679)];{const i=this[e(625)][e(457)][e(670)](e(528)),s=t,n=this[e(625)][e(679)][e(456)][e(727)],r={type:i[e(515)](s),name:s[e(634)],attributes:Array[e(554)](s[e(640)]()),children:Array[e(554)](s[e(736)]())[e(448)]((t=>this[e(490)](t)))};if(t.is(e(556))&&e(669)!=t[e(634)]){const i=t[e(616)](n[e(552)],n);r[e(638)][e(476)](i[e(446)])}else if(t.is(e(610))){const i=n[e(552)][e(618)](s[e(634)]);t[e(616)](i,n),r[e(638)][e(476)](i[e(557)])}const o=Array[e(554)](s[e(687)]());o[e(664)]>0&&(r[e(479)]=o);const a=s[e(600)]();return null!==a&&(r[e(581)]=a),r}}[rt(650)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(625)][r(599)];for(let s=0;s<e[r(664)];s++){const n=this[r(450)](e[s]),c=e[s][r(441)][r(601)](n),h=i[r(670)](c),d=s==e[r(664)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(719)]!=o[r(719)])&&(l(h,ht(a,t,u),ht(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ht(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(719)],d=l(661)+s+":"+h+":"+c++,f=u[l(734)](i,a);t[l(717)][l(608)](d,f),null!==h&&n[l(545)](h)}}[rt(450)](t){const e=rt;switch(t[e(579)]){case e(459):return e(468);case e(449):return e(659);default:return e(548)}}[rt(541)](t,e){const i=rt;t[i(455)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(670)](n[i(710)][i(677)]);t[s]=this[i(481)](n,r)}if(n instanceof H.Range){const r=e[i(670)](n[i(710)][i(677)]);t[s]=this[i(690)](n,r)}i(710)===s&&(t[i(710)]=e[i(670)](t[i(710)][i(677)]))}}[rt(690)](t,e){const i=rt;return this[i(625)][i(599)][i(734)](this[i(481)](t[i(453)],e),this[i(481)](t[i(547)],e))}[rt(481)](t,e){const i=rt;return this[i(625)][i(599)][i(636)](e,t[i(425)],t[i(443)])}[rt(460)](t){const e=rt,i=this[e(587)][e(670)](t[e(527)][e(710)][e(677)]),s=this[e(481)](t[e(527)],i),n=null===t[e(473)]?null:t[e(473)]||this[e(625)][e(457)][e(670)](e(629)).me.id,r=s[e(486)],o=this[e(477)],a=[];for(const i of t[e(542)])if(i.is(e(576)))a[e(476)](this[e(464)](i));else for(let t=0;t<i[e(574)];t++)a[e(476)](new H.Element(e(427),{vid:this[e(477)]++}));const c=this[e(477)];for(let t=o;t<c;t++)this[e(603)][e(608)](t,{userId:n});r[e(434)](s[e(553)],a)}[rt(566)](t){const e=rt;(t=this[e(526)](t,this[e(587)]))[e(675)]();const i=null===t[e(473)]?null:t[e(473)]||this[e(625)][e(457)][e(670)](e(629)).me.id,s=t[e(685)](),n=s[e(486)],r=s[e(553)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(695)](e);r.is(a(576),a(427))?s[a(608)](r[a(601)](a(548)),{userId:i}):(s[a(608)](r[a(601)](a(468)),{userId:i}),t(s,r,0,r[a(502)]),s[a(608)](r[a(601)](a(659)),{userId:i}))}}(this[e(603)],n,r,r+t[e(531)])}[rt(432)](t){const e=rt,i=null===(t=this[e(526)](t,this[e(587)]))[e(473)]?null:t[e(473)]||this[e(625)][e(457)][e(670)](e(629)).me.id,s=t[e(705)][e(486)],n=t[e(596)][e(486)],r=s[e(601)](e(659)),o=n[e(601)](e(468));s[e(617)](e(659),n[e(601)](e(659))),n[e(617)](e(659),r),this[e(603)][e(608)](o,{userId:i}),this[e(603)][e(608)](r,{userId:i}),t[e(675)]()}[rt(532)](t){const e=rt,i=null===(t=this[e(526)](t,this[e(587)]))[e(473)]?null:t[e(473)]||this[e(625)][e(457)][e(670)](e(629)).me.id,s=t[e(474)],n=t[e(612)][e(486)];t[e(675)]();const r=n[e(601)](e(659)),o=t[e(504)][e(435)];if(s){const t=o[e(601)](e(659)),s=n[e(601)](e(659));n[e(617)](e(659),t),o[e(617)](e(659),s),this[e(603)][e(608)](n[e(601)](e(659)),{userId:i}),this[e(603)][e(608)](o[e(601)](e(468)),{userId:i})}else{const t=this[e(477)]++,s=this[e(477)]++;n[e(617)](e(659),t),o[e(617)](e(468),s),o[e(617)](e(659),r),this[e(603)][e(608)](t,{userId:i}),this[e(603)][e(608)](s,{userId:i})}}[rt(499)](t){const e=rt;if(!t[e(467)])return;const i=(t=this[e(526)](t,this[e(500)]))[e(458)]?t[e(458)][e(710)]:null,s=t[e(561)]?t[e(561)][e(710)]:null;i&&this[e(524)][e(615)](t[e(634)]),s&&this[e(524)][e(608)](t[e(634)],t[e(561)][e(461)]());const n=null===t[e(473)]?null:t[e(473)]||this[e(625)][e(457)][e(670)](e(629)).me.id,r=t[e(634)];if(!this[e(642)][e(594)](r))return void this[e(642)][e(608)](r,{range:t[e(458)],userId:n});const o=this[e(642)][e(670)](r),a=o[e(739)],c=t[e(561)];null==a&&null==c||a&&c&&a[e(438)](c)?this[e(642)][e(615)](t[e(634)]):o[e(719)]=n}[rt(663)](t,e){const i=rt;this[i(500)][i(594)](t[i(677)])?this[i(500)][i(670)](t[i(677)])[i(626)]=t[i(423)]:(this[i(500)][i(608)](t[i(677)],lt(t[i(677)],!0)),this[i(678)][i(608)](t[i(677)],{}),e&&this[i(587)][i(608)](t[i(677)],lt(t[i(677)],!0)));const s=null===t[i(473)]?null:t[i(473)]||this[i(625)][i(457)][i(670)](i(629)).me.id,n=this[i(451)][i(670)](t[i(677)]);n&&n[i(719)]===s?this[i(451)][i(615)](t[i(677)]):this[i(451)][i(608)](t[i(677)],{userId:s,isAttached:t[i(423)]})}[rt(562)](t){const e=rt,i=this[e(678)][e(670)](t[e(710)][e(677)]);null===t[e(605)]?delete i[t[e(657)]]:i[t[e(657)]]=t[e(605)]}}function ut(t){const e=rt,i=lt(t[e(677)],t[e(674)]());for(const s of t[e(736)]()){const t=s[e(602)](!0);i[e(584)](t)}return i}function lt(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(677)]=t,s[i(626)]=e,s[i(674)]=()=>s[i(626)],s}function ht(t,e,i){const s=rt,n=s(449)==t[s(579)]?i[s(706)](t[s(441)],s(547)):i[s(494)](t[s(441)]);return i[s(636)](e,n[s(425)],n[s(443)])}function dt(){const t=["Users","revisionHistoryLicenseKeyValid","getData","updateRevisions","history","name","_removeMetaData","createPositionFromPath","reinsert","children","_createInitialRevision","getAttributes","attachChange","_touchedMarkers","getRevisionDocumentData","isEnabled","_savedMetaData","define","saveRevision","dataDowncast","for","_markChanges","dataToMarker","_operations","_continueCurrentRevision","_createFromRanges","sendBufferedUpdates","addRevisionData","key","documentFragment","vid_end","964TQtqNl","revision:","getUser","_handleRootOperation","length","currentRevision","_reset","afterInit","revisionHistoryLicenseKeyUsageLimit","$comment","get","getTransformedByOperation","deletions","_saveMetaData","isAttached","_execute","find","rootName","_diffRootsAttributes","data","move","1374qHbQMV","_applyOperations","shift","hasContent","getMovedRangeStart","NEGATIVE_INFINITY","getCustomProperties","addRoot","875nOAtvu","_fixRange","getTime","RevisionHistory","revisionHistoryLicenseKeyExpired","authorsIds","getChild","attributesBefore","setRevisionData","_baseRoots","reverse","getOperations","toVersion","removeRootAttribute","text","insert","targetPosition","createPositionAt","RevisionTracker","getOperation","_getFromVersion","root","reInit","createRevision","3060909uvMkFl","remove","_copyMarkers","getRevisionRootsAttributes","markers","stringify","userId","collaboration.channelId","roots","PENDING_ACTION_REVISION_HISTORY","_makeModelFromViewString","document","includes","max","domConverter","attributesAfter","values","usageLimit","paragraph","_isPendingUpdate","filter","createRange","getRevisions","getChildren","domainLimit","2855104fhuYyC","range","editor-initial-data-replaced-with-revision-data","revisionHistoryLicenseKeyEvaluationLimit","_lastTo","_pendingAction","split","isAdd","evaluationLimit","path","_prepareViewToSave","$text","getRootNames","_getBaseVids","locale","getCurrentRevisionId","_handleMergeOperation","bind","_insertChild","nodeAfter","addRevision","getRoot","isEqual","createdAt","then","item","_getState","stickiness","creatorId","_licenseKeyCheckInterval","outerHTML","_getPreviousFrom","map","elementEnd","_getVidAttributeName","_touchedRoots","authors","start","_source","baseVersion","htmlProcessor","plugins","oldRange","elementStart","_handleInsertOperation","clone","adapter","_utils","_makeIdsRoot","toView","insertion","affectsData","vid_start","initialData","revisionHistory.resumeUnsavedRevision","marker","_loadedStateData","_authorId","graveyardPosition","getRange","push","_revisionId","upcast","customProperties","getLatestVersion","_fixPosition","_replaceEditorDataWithRevisionData","resolve","config","_removePendingAction","parent","initial","_handleOperation","destroy","_getViewJson","RevisionsRepository","revisionHistoryLicenseKeyDomainLimit","slice","createPositionBefore","getAncestors","_update","_bufferUpdate","creator","_handleMarkerOperation","_diffRoots","_revisionDataBuilder","childCount","isOfficialPlugin","insertionPosition","invalid","ready","setSource","_loadState","sort","_createCurrentRevision","_initialRevisionId","repository","previousPosition","buildRevisionData","_getTypeCharForViewElement","fromVersion","keys","loadRevisionData","createRangeIn","_startingVersion","insertions","getNodeByPath","10330dwGbyy","_markers","createPositionAfter","_cloneOperation","position","RevisionHistoryUtils","_processRootBeforeSave","requires","howMany","_handleSplitOperation","string","size","licenseKey","pluginName","keepParagraph","_findInsertionIndex","Initial revision","1680594ZaCgPv","_fixOperation","nodes","_setConversion","trialLimit","add","source","end","vid","_transformMarkers","clear","321440xaKfsm","domDocument","offset","from","trim","uiElement","innerHTML","_makeRevision","$graveyard","revisionHistoryLicenseKeyTrialLimit","newRange","_handleRootAttributeOperation","conversion","featureNotAllowed","deletion","_handleMoveOperation","revisionHistoryLicenseKeyInvalid","revision","RealTimeCollaborationClient","finally","_addPendingAction","getWalker","tableCell","offsetSize","detachRoot","element","startsWith","revisionHistoryLicenseKeyNotAllowed","type","markerToData","fillerOffset","some","_lastFrom","_appendChild","_generateTape","changeRootAttribute","_idsRoots","_baseRootsAttributes","_showLicenseError","diffData","_baseIdsRoots","isPremiumPlugin","Empty document","has","122670EJvGgp","sourcePosition","isReady","version","model","getFillerOffset","getAttribute","_clone","_touched","PendingActions","newValue","addRootAttribute","loadState","set","fromEntries","rawElement","_isInit","splitPosition","_calculateMetaData","init","delete","render","_setAttribute","createElement","merge","rootsAttributes","update","_bufferedUpdates","getRevision","expired","editor","_isAttached","getIndex","_startingRevisionId"];return(dt=function(){return t})()}function ft(t,e,i){const s=rt,n=s(459)==t[s(579)]?i[s(706)](t[s(441)],0):i[s(525)](t[s(441)]);return i[s(636)](e,n[s(425)],n[s(443)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),xt=i(426),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=It(),Tt.insert=wt().bind(null,"head"),Tt.domAPI=kt(),Tt.insertStyleElement=Ot();gt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Vt;function Dt(){const t=["optional","errorText","focusTracker","render","element","revisionNameInputView","arrowleft","trim","value","arrowup","locale","add","keystrokes","_createRevisionNameInput","ck-responsive-form","5xwLLqf","552460hmdBHd","Name of the revision","setTemplate","listenTo","1183860cHeuWd","ck-revision-history-save-revision-form","set","reset","label","arrowdown","105BuJGQB","8374344GbEdtQ","72ZppuVs","arrowright","extendTemplate","focus","form","revisionName","220","input","168342bkciPH","96462GYamXL","717860uCtpjb","revisionNameInputValue","stopPropagation","1994625aRZCwj","fieldView"];return(Dt=function(){return t})()}function Vt(t,e){const i=Dt();return(Vt=function(t,e){return i[t-=112]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(544653===-parseInt(e(139))/1*(-parseInt(e(117))/2)+-parseInt(e(122))/3+parseInt(e(119))/4+-parseInt(e(144))/5+parseInt(e(118))/6*(parseInt(e(150))/7)+parseInt(e(151))/8+parseInt(e(152))/9*(-parseInt(e(140))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Et extends pt.View{[At(126)];[At(136)];[At(129)];constructor(e,i){const s=At;super(e),this[s(126)]=new t.FocusTracker,this[s(136)]=new t.KeystrokeHandler,this[s(146)](s(120),""),this[s(129)]=this[s(137)](i),this[s(142)]({tag:s(113),attributes:{class:["ck",s(145),s(138)],tabindex:"-1"},children:[this[s(129)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(127)](){const t=At;super[t(127)](),(0,pt.submitHandler)({view:this}),this[t(126)][t(135)](this[t(129)][t(128)]),this[t(136)][t(143)](this[t(128)]);const e=e=>e[t(121)]();this[t(136)][t(146)](t(153),e),this[t(136)][t(146)](t(130),e),this[t(136)][t(146)](t(133),e),this[t(136)][t(146)](t(149),e)}[At(112)](){const t=At;this[t(129)][t(112)]()}get[At(114)](){const t=At;return this[t(129)][t(123)][t(128)][t(132)][t(131)]()}set[At(114)](t){const e=At;this[e(129)][e(123)][e(128)][e(132)]=t[e(131)]()}[At(147)](){const t=At;this[t(129)][t(123)][t(128)][t(132)]="",this[t(129)][t(125)]=null}[At(137)](t){const e=At,i=new pt.LabeledFieldView(this[e(134)],pt.createLabeledInputText),s=i[e(123)];s[e(154)]({attributes:{maxlength:e(115)}});let n=X(this[e(134)],e(141));return!t&&(n+=" ("+X(this[e(134)],e(124))+")"),i[e(148)]=n,s.on(e(116),(()=>{const t=e;this[t(120)]=s[t(128)][t(132)][t(131)]()})),i}}function Mt(){const t=["revisionSave","isOfficialPlugin","panelView","items","componentFactory","revisionHistory.requireRevisionName","1333420EQcqNz","view","256424KwDXpc","371rbzjPm","init","151895ZaoWcL","menuitem","Open revision history","revisionHistory","pluginName","Accept","RevisionHistoryUI","children","editing","revisionName","menuBar:revisionHistory","RevisionTracker","config","addMany","editor","The revision name cannot be empty.","add","showRevisionViewerCallback","isEnabled","locale","ck-button-action","reset","36ipsBWH","isReady","Revision history","delegate","isReadOnly","menu","submit","revisionNameInputView","saveRevision","Save current revision","23211pxJvsh","execute","4XezjEd","30MbsoTc","_createSaveRevisionFormView","_saveRevisionFormView","get","isOpen","buttonView","Dialog","1085584MuSYdr","plugins","role","_showDialog","set","show","errorText","Cancel","49510DFBQqo","_registerMenuComponent","requires","hide","focus","render","bind","isPremiumPlugin","178jDxCdY"];return(Mt=function(){return t})()}const Ct=Ft;function Ft(t,e){const i=Mt();return(Ft=function(t,e){return i[t-=135]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(168571===-parseInt(e(150))/1*(parseInt(e(140))/2)+-parseInt(e(184))/3*(-parseInt(e(186))/4)+parseInt(e(152))/5*(parseInt(e(187))/6)+parseInt(e(149))/7+-parseInt(e(194))/8+-parseInt(e(174))/9*(-parseInt(e(202))/10)+parseInt(e(147))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class jt extends U.Plugin{static get[Ct(156)](){return Ct(158)}static get[Ct(142)](){return!0}static get[Ct(139)](){return!0}static get[Ct(204)](){return[at]}[Ct(189)];[Ct(151)](){const t=Ct,e=this[t(166)],i=e[t(195)][t(190)](t(163));e.ui[t(145)][t(168)](t(155),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(143)][n(159)],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(138)](n(170)).to(i,n(175),i,n(170),e,n(178),((t,e,i)=>t&&e&&!i)),r[n(192)][n(198)]({icon:mt.IconHistory,label:X(s,n(176)),tooltip:!0}),u[n(198)]({label:X(s,n(183)),withText:!0,role:n(153)}),u[n(138)](n(170)).to(i,n(175),i,n(170),e,n(178),((t,e,i)=>t&&e&&!i)),u.on(n(185),(()=>this[n(197)]())),h[n(198)]({label:X(s,n(154)),withText:!0,role:n(153)}),h[n(138)](n(170)).to(i,n(175),e,n(178),((t,e)=>t&&!e)),h.on(n(185),(()=>{const t=n;e[t(164)][t(190)](t(155))[t(169)](),r[t(191)]=!1,e[t(160)][t(148)][t(136)]()})),c[n(159)][n(168)](u),l[n(159)][n(168)](h),a[n(196)]=n(179),a[n(144)][n(165)]([c,l]),o[n(168)](a),r})),e.ui[t(145)][t(168)](t(162),(()=>this[t(203)]()))}[Ct(203)](){const t=Ct,e=this[t(166)],i=e[t(171)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(192)][t(198)]({icon:mt.IconHistory,label:X(i,t(176))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(198)]({label:X(i,t(183))}),o[t(177)](t(185)).to(s),o.on(t(185),(()=>{this[t(197)]()})),r[t(159)][t(168)](o),n[t(144)][t(168)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(198)]({label:X(i,t(154))}),c[t(177)](t(185)).to(s),c.on(t(185),(()=>{const i=t;e[i(164)][i(190)](i(155))[i(169)]()})),a[t(159)][t(168)](c),n[t(144)][t(168)](a),s[t(143)][t(159)][t(168)](n),s}[Ct(197)](){const t=Ct,e=this[t(166)],i=e[t(171)],s=e[t(195)][t(190)](t(193)),n=e[t(195)][t(190)](t(163));function r(n){const r=t;e[r(164)][r(190)](r(146))&&""===n[r(161)]?n[r(181)][r(200)]=X(i,r(167)):(e[r(195)][r(190)](at)[r(182)]({name:n[r(161)]}),s[r(135)]())}this[t(189)]||(this[t(188)](),this[t(189)].on(t(180),(()=>r(this[t(189)])))),this[t(189)][t(173)](),s[t(199)]({id:t(141),title:X(i,t(183)),isModal:!0,content:this[t(189)],actionButtons:[{label:X(e[t(171)],t(201)),withText:!0,onExecute:()=>s[t(135)]()},{label:X(e[t(171)],t(157)),class:t(172),withText:!0,onCreate(i){const s=t;i[s(138)](s(170)).to(n,s(175),n,s(170),e,s(178),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(189)])}]})}[Ct(188)](){const t=Ct,e=this[t(166)],i=e[t(171)];this[t(189)]=new Et(i,e[t(164)][t(190)](t(146))),this[t(189)][t(137)]()}}const Lt=zt;function Pt(){const t=["isSuggestion","set","ck-annotation","add","author","type","35771210YiCYSO","data","ck-revision-change__label","7786584SeNcLx","bindTemplate","2DZgggD","span","ck-revision-change","144TjFmYU","Suggested by","740laYIDM","1582189pXeFyL","5533052DZOnrY","ck-revision-change__","Added by","37015gUAQQW","name","771560SjPVyV","changeId","focus","setTemplate","_model","element","Removed by","5331522jptovZ","div"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=291]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(976789===-parseInt(e(292))/1*(-parseInt(e(318))/2)+-parseInt(e(305))/3+parseInt(e(291))/4*(-parseInt(e(296))/5)+parseInt(e(316))/6+-parseInt(e(293))/7+-parseInt(e(298))/8*(parseInt(e(321))/9)+parseInt(e(313))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends pt.View{[Lt(299)];[Lt(302)];constructor(t,e){const i=Lt;super(t),this[i(302)]=e,this[i(299)]=e.id;const s=this[i(317)],n=X(t,e[i(314)][i(307)]?i(322):i(310)==e[i(312)]?i(295):i(304));this[i(308)](i(312),e[i(312)]),this[i(301)]({tag:i(306),attributes:{class:[i(309),i(320),s.to(i(312),(t=>i(294)+t))],tabindex:-1},children:[{tag:i(319),children:[{tag:i(319),attributes:{class:[i(315)]},children:[{text:n}]},{text:" "+e[i(311)][i(297)]}]}]})}[Lt(300)](){const t=Lt;this[t(303)][t(300)]()}}var Ut=Ht;function Zt(){var t=["author","3991485WPJBPq","177201HYoxPQ","type","rootName","createdAt","data","2649460iRbGHt","toJSON","3802078obyVxa","424eBiYhW","set","2674684EXEOxb","920445AhRuay","6SCHapP","3673677fOtgNC"];return(Zt=function(){return t})()}function Ht(t,e){var i=Zt();return(Ht=function(t,e){return i[t-=418]})(t,e)}!function(t){for(var e=Ht,i=t();;)try{if(927797===-parseInt(e(419))/1+-parseInt(e(418))/2+parseInt(e(421))/3+parseInt(e(429))/4+parseInt(e(423))/5*(parseInt(e(420))/6)+-parseInt(e(431))/7+parseInt(e(432))/8*(parseInt(e(424))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ut(422)];[Ut(425)];[Ut(428)];[Ut(426)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(422)]=e[i(422)],this[i(425)]=e[i(425)],this[i(428)]=e[i(428)]||{},this[i(426)]=e[i(426)],this[i(433)](i(427),e[i(427)])}[Ut(430)](){var t=Ut;return{id:this.id,authorId:this[t(422)].id,type:this[t(425)],data:this[t(428)],createdAt:this[t(427)]}}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=228]})(t,e)}function Yt(){const t=["842485KrdEuU","122214yQVzSf","changes","12Fhjmle","119xogCCm","11MjvBlX","_setChanges","oldRevisionId","5512GHcRTl","432264mqOSsT","add","32vNJiGs","4XgZZbV","1853360YZvvIp","newRevisionId","181971PNrsEY","7890492tQSZUg"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(287569===-parseInt(e(230))/1+-parseInt(e(229))/2*(parseInt(e(241))/3)+-parseInt(e(233))/4*(parseInt(e(238))/5)+parseInt(e(239))/6*(parseInt(e(242))/7)+-parseInt(e(232))/8*(-parseInt(e(236))/9)+-parseInt(e(234))/10+-parseInt(e(243))/11*(-parseInt(e(237))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt{[$t(235)];[$t(228)];[$t(240)];constructor(e,i){const s=$t;this[s(235)]=e,this[s(228)]=i,this[s(240)]=new t.Collection}[$t(244)](t){const e=$t;for(const i of t)this[e(240)][e(231)](i)}}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Qt=Xt;function Xt(t,e){const i=te();return(Xt=function(t,e){return i[t-=424]})(t,e)}function te(){const t=["consumable","rootName","nextPosition","change:activeChange","wrap","showNextChange","listenTo","_getDiff","high","RevisionsRepository","getRevision","model","target","addHighlight","top","_changeView","toViewElement","observeMarkers","ck-revision-history-root-","stop","downcastDispatcher","catch","hasAttribute","clear","comment","activeView","revision-suggestion:","remove","_revisions","isBefore","isEqual","error","_setChanges","createRevision","2243614wmXuLG","_cleanMarkers","isLimit","elementStart","getAttribute","markerNameToElements","isPremiumPlugin","detachRoot","abs","locale","_setConversion","ck-suggestion-preview-marker","_setDistance","insert","filter","consume","editing","updatePosition","removeMarker:revision","_cleanUp","editingDowncast","markerToData","indexOf","getIndex","isIncorrect","change:numberOfChanges","hasClass","start","resolve","isAttached","_findChangeIdFromDomTarget","nodeAfter","userId","RevisionHistoryUtils","mapViewToDom","range","requires","config","offsetSize","_threeWayMerge","init","getWalker","_step","createRange","3785670WfZpPM","markers","get","addRevisionData","pairId","elementToAttribute","delete","createUIElement","endIndex","merge","change:isReady","dataToMarker","unbindElementFromMarkerName","getItems","commands","insertion","isOnRoot","1054752EigAMY","schema","suggestion","element:pre","isRemoveSuggestion","getRevisionDocumentData","backward","showStack","shift","_markSuggestions","addClass","attributes","isNavigationMode","insertions","attributesAfter","text","push","deletions","diff","change:isEnabled","vid_end","editor","_makeTape","ck-suggestion-marker--active","destroy","span","addMarker:revision","authors","bottom","_update","365646jUDOcq","revision-viewer","isAtStart","elementEnd","concat","mouseover","upcast","getLaterVisibleRevision","for","distance","getChild","side","attachChange","ck-editor__editable__overlay","_removeMissingPairs","bindElementToMarker","end","getAttributes","isObject","ck-suggestion-marker-","getRevisionRootsAttributes","vid_start","pluginName","done","sort","_activeViewTarget","isReady","index","highest","ck-suggestion-marker","nextSibling","_initInteractions","next","startIndex","getRootNames","revision","revision:","155799emKZtW","selection","markersEnd","data-change-id","ck-revision-history-root-remove","152RRgEHf","adapter","includes","set","string","isInline","modelRange","revisionHistoryLabel","restoreRevisionCallback","split","470660KkhBmF","deletion","getCustomProperty","change:activeView","toViewRange","execute","_removeUnsupportedChanges","compare","_markMismatchedRemovedTags","values","flat","POSITIVE_INFINITY","test","return","softBreak","has","activeChange","removeAttribute","previousPosition","viewItem","_makeModelFromViewString","toViewPosition","removeMarker","markerName","maxOffset","createPositionFromPath","markerRange","item","repository","_refreshStartEndIndex","isBlock","_changeIdToChange","first","splice","_makeModelFromTape","createPositionBefore","writer","name","changeId","RevisionViewer","uiElement","isRemoved","showPreviousChange","createAttributeElement","_getRevisionsRange","forEach","level","pop","oldRevisionId","revision-suggestion","bind","270428OUxNSJ","revisionHistoryAttachChange","loadRevisionData","left","ck-suggestion-marker-split","createRangeIn","forward","_sortAndFilterDiffChanges","mapper","diffData","document","getClientRects","data","changes","domConverter","isAfter","isCollapsed","_utils","then","_fixObsoleteTags","object","restoreRevision","startsWith","enqueueChange","removeMarker:revision-suggestion","vid","attribute:vid","map","ck-revision-history-root-add","isAdded","affectsData","mousedown","isAddSuggestion","_joinTapes","ck-suggestion-marker-merge","ck-revision-history-root--active","reconvertMarker","isAtEnd","add","getRoot","roots","_markMarkers","type","findIndex","currentChangeNumber","code","all","_getChangeFromId","plugins","WidgetToolbarRepository","slice","low","removeClass","revisionHistory","length","refresh","addRevision","element","setAttribute","-new","isOfficialPlugin","isContent","isEnabled","getDomRoot","_processTape","right","change","view","from","addMarker:revision-suggestion:insertion","_appendChild","suggestion:","ck-suggestion-preview-marker-","parent","_markInsertions","revision-comment:","_getViewForChange","unshift","isSuggestion","_balloon","keys","markerToHighlight","newRevisionId","checkAttribute","markersStart","find","addRoot","attributesBefore","numberOfChanges","domEvent","forceDisabled","enableReadOnlyMode","addMarker:revision-suggestion:deletion","_data","conversion","dataDowncast"];return(te=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(751906===parseInt(e(537))/1+-parseInt(e(718))/2+parseInt(e(455))/3+-parseInt(e(588))/4+parseInt(e(438))/5+-parseInt(e(485))/6+-parseInt(e(522))/7*(-parseInt(e(527))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Qt(565)];[Qt(528)]=null;[Qt(605)];[Qt(510)];[Qt(699)];[Qt(568)];[Qt(667)];static get[Qt(507)](){return Qt(576)}static get[Qt(648)](){return!0}static get[Qt(724)](){return!0}static get[Qt(430)](){return[Z.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(565)]=this[e(476)][e(636)][e(440)](e(693)),this[e(605)]=this[e(476)][e(636)][e(440)](e(427)),this[e(530)](e(553),null),this[e(530)](e(709),null),this[e(510)]=null,this[e(530)](e(473),null),this[e(530)](e(511),!1),this[e(530)](e(650),!0),this.on(e(474),((t,i,s)=>{const n=e;this[n(553)]=null,this[n(709)]=null,this[n(476)][n(734)][n(655)][n(654)]((t=>{const e=n;for(const i of this[e(476)][e(734)][e(655)][e(598)][e(628)])s?t[e(640)](e(498),i):t[e(465)](e(498),i)}))})),this[e(587)](e(467)).to(this,e(553),(t=>null!==t)),this[e(587)](e(632)).to(this,e(511),this,e(473),this,e(553),((t,i,s)=>t&&s?i[e(601)][e(741)](s):0)),this[e(587)](e(676)).to(this,e(511),this,e(473),((t,i)=>t?i[e(601)][e(642)]:0)),this[e(699)]=null,this[e(568)]=new Map,this[e(667)]=this[e(476)][e(636)][e(440)](pt.ContextualBalloon)}[Qt(434)](){const t=Qt,e=this[t(476)],i=new ne(e,{direction:t(461)}),s=new ne(e,{direction:t(594)});e[t(452)][t(626)](t(579),i),e[t(452)][t(626)](t(689),s),e[t(452)][t(626)](t(609),new se(e)),this.on(t(743),(()=>{const e=t;i[e(643)](),s[e(643)]()})),this[t(728)](),this[t(516)](),e[t(679)](t(486)),e[t(636)][t(552)](t(637))&&e[t(636)][t(440)](t(637))[t(678)](t(486))}async[Qt(460)](t){const e=Qt;return await this[e(605)][e(590)](t,this[e(528)]),this[e(605)][e(460)](t)}async[Qt(505)](t){const e=Qt;return await this[e(605)][e(590)](t,this[e(528)]),this[e(605)][e(505)](t)}async[Qt(544)](t,e,i=!1){const s=Qt;if(!this[s(650)])return;const n=this[s(473)],r=this[s(565)],o=s(531)==typeof t?r[s(694)](t):t,a=s(531)==typeof e?r[s(694)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(473)]&&this[s(473)][s(670)]===c&&this[s(473)][s(585)]===u)return Promise[s(746)]();this[s(511)]=!1,this[s(709)]=null,this[s(553)]=null,this[s(473)]=new Gt(c,u);const l=this[s(581)](o,a,!0)[s(615)]((t=>this[s(605)][s(590)](t,this[s(528)])));return l[s(471)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(634)](l)[s(606)]((()=>{const t=s;if(!this[t(650)])return;this[t(737)]();const e=this[t(691)](c,u);for(const i of e[t(601)])this[t(568)][t(530)](i.id,i);this[t(476)][t(695)][t(611)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(476)][s(695)][s(598)][s(519)]())i[s(725)](t);for(const t of Object[s(668)](e[s(695)])){const n=i[s(674)](t);for(const r of Object[s(668)](e[s(466)][t]))i[s(646)](r,e[s(466)][t][r],n);i[s(731)](e[s(695)][t],n,0)}})),this[t(473)][t(716)](this[t(595)](e[t(601)])),this[t(511)]=!0}))[s(705)]((t=>{const e=s;console[e(715)](t),this[e(737)](),n&&(this[e(473)]=n),this[e(511)]=!0}))}[Qt(441)](t,e){const i=Qt,s=this[i(565)][i(717)](t);return s.on(i(484),((t,i,n)=>e(i,n,s))),this[i(565)][i(644)](s),s}[Qt(737)](){const t=Qt;this[t(553)]=null,this[t(719)](),this[t(699)]&&this[t(699)][t(479)](),this[t(699)]=null,this[t(568)][t(707)](),this[t(476)][t(695)][t(611)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(476)][i(695)][i(598)][i(519)]())e[i(725)](t)}))}[Qt(595)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(476)][e(695)][e(598)][e(519)]()){const n=this[e(476)][e(734)][e(655)][e(651)](t);if(!n)continue;const r=n[e(599)]()[e(564)](0);r&&(i[e(471)](t),s[e(530)](t,r))}return i[e(509)](((t,i)=>{const n=e,r=s[n(440)](t),o=s[n(440)](i);return r.y-o.y||r.x-o.x})),(t=t[e(732)]((t=>i[e(529)](t[e(685)]))))[e(509)](((t,s)=>i[e(740)](t[e(685)])-i[e(740)](s[e(685)]))),t}[Qt(477)](t){const e=Qt,i=Array[e(656)](t[e(439)])[e(732)]((([t,i])=>t[e(610)](e(521))&&!i[e(604)])),s=Array[e(656)](this[e(476)][e(695)][e(593)](t)[e(435)]({singleCharacters:!0}));if(0!=i[e(642)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(536)](":");if(n[e(501)][e(714)](t[e(686)])&&i[e(463)](),(t[e(555)][e(714)](n[e(745)])||t[e(555)][e(603)](n[e(745)]))&&(e(453)==r?t[e(617)]={userId:o}:e(538)==r&&(t[e(578)]={userId:o})),0==i[e(642)])break}return s}[Qt(566)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(642)];s++)e(470)===t[s][e(630)]?(t[s][e(564)][e(518)]=s,t[s][e(564)][e(446)]=s):(e(721)===t[s][e(630)]?t[s][e(564)][e(518)]=s:e(488)===t[s][e(630)]&&(t[s][e(564)][e(446)]=s),i[e(530)](t[s].id,s));for(const s of i[e(546)]())e(721)===t[s][e(630)]?t[s][e(564)][e(446)]=i[e(440)](t[s][e(442)]):e(488)===t[s][e(630)]&&(t[s][e(564)][e(518)]=i[e(440)](t[s][e(442)]))}[Qt(652)](t){const e=Qt;for(let i=0;i<t[e(642)];i++){if(e(721)===t[i][e(630)])t[i][e(564)][e(518)]=i;else if(e(488)===t[i][e(630)]){t[i][e(564)][e(446)]=i;const s=t[i][e(564)][e(518)];t[s][e(442)]=t[i].id,t[i][e(442)]=t[s].id}else t[i][e(564)][e(518)]=i,t[i][e(564)][e(446)]=i,t[i][e(442)]=null;t[i][e(672)]||(t[i][e(672)]=[],t[i][e(524)]=[])}}[Qt(662)](t,e){const i=Qt,s=t[i(732)]((t=>!t[i(617)]));for(let t=0;t<e[i(642)];t++)e[t][i(617)]&&(s[t][i(617)]=e[t][i(617)])}[Qt(691)](t,e=null){const i=Qt,s=this[i(565)][i(694)](t),n=e?this[i(565)][i(694)](e):null,r=this[i(581)](s,n),o=r[r[i(642)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(642)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(668)](e[i(597)]))if(e[i(597)][t][i(497)]){const s=e[i(597)][t][i(497)];s[i(747)]?(u[i(626)](t),l[i(552)](t)&&l[i(440)](t)[i(426)]==s[i(426)]?l[i(444)](t):l[i(530)](t,s)):l[i(552)](t)?(u[i(444)](t),l[i(444)](t)):(u[i(626)](t),l[i(530)](t,s))}else u[i(626)](t)}for(const t of u){const e=l[i(552)](t)&&!l[i(440)](t)[i(747)];let s=e?r[i(642)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(597)][t]){const s=e?o[i(597)][t][i(675)]:o[i(597)][t][i(469)];c[i(466)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(695)]={};for(const e of t[i(482)])a[i(530)](e.id,e);for(const e of u){const s=t[i(597)][e]?t[i(597)][e][i(468)]:"[]",n=t[i(597)][e]?t[i(597)][e][i(472)]:"[]";t[i(695)][e]={insertions:this[i(605)][i(557)](s),deletions:this[i(605)][i(557)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(656)](s[i(695)][t][i(468)][i(439)])[i(732)]((([t])=>!t[i(610)](i(521)))));let h=0;for(const o of r){const r=this[i(477)](o[i(695)][t][i(468)]);o==s?(e=r,n=e[i(642)],e[i(582)]((t=>{t.id=h++})),this[i(652)](e)):this[i(662)](e,r);const a=e[i(732)]((t=>!t[i(617)]))[i(615)]((t=>t.id));let c=0;const l=this[i(477)](o[i(695)][t][i(472)]);l[i(582)]((t=>{t[i(578)]?t.id=n++:t.id=a[c++]})),this[i(652)](l),this[i(730)](e,i(617)),this[i(730)](l,i(578)),o==s&&this[i(629)](e,u),e=this[i(621)](e,l),this[i(566)](e),this[i(730)](e,i(578))}e=e[i(732)]((t=>!(t[i(617)]&&t[i(578)])));const d=new Map(o[i(695)][t][i(472)][i(439)]),f=new Set(u[i(668)]());for(const t of d[i(668)]())f[i(444)](t);this[i(464)](e,f),this[i(607)](e),e=this[i(499)](e),e=this[i(545)](e),e=this[i(543)](e);const{root:m,changes:p}=this[i(571)](e,a,t);c[i(695)][t]=m;const v=l[i(440)](t);if(v){const e=a[i(440)](v[i(426)]),s=new qt({author:e,type:v[i(747)]?i(626):i(711),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(665)](s),c[i(466)][t][i(589)]=s.id}c[i(601)]=c[i(601)][i(489)](p)}return c}[Qt(629)](t,e){const i=Qt;for(let s=0;s<t[i(642)];s++)for(const[n,r]of e)!r[i(604)]&&r[i(745)][i(714)](t[s][i(555)])&&t[s][i(672)][i(471)](n),r[i(501)][i(714)](t[s][i(686)])&&t[s][i(524)][i(471)](n)}[Qt(621)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(642)]||r<e[i(642)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(471)](o);else if(a[i(578)]&&o[i(617)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(433)](t,n,e,r);s=s[i(489)](o),n=a,r=c}else a[i(578)]?(r++,s[i(471)](a)):(n++,s[i(471)](o))}return s}[Qt(464)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(642)];o++){for(let r=0;r<t[o][i(672)][i(642)];r++){const a=t[o][i(672)][r];if(!e[i(552)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(586)!=c||i(453)!=u&&i(538)!=u||(s[i(665)]({type:u,name:a,userId:l}),t[o][i(672)][i(570)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(524)][i(642)];r++){const a=t[o][i(524)][r];if(!e[i(552)](a))continue;const{group:c,type:u}=n(a);if(i(586)!=c||i(453)!=u&&i(538)!=u)continue;t[o][i(524)][i(570)](r,1),r--;const l=s[i(631)]((t=>t[i(574)]==a));l>-1&&s[i(570)](l,1)}}function n(t){const e=i,s=t[e(536)](":");return{group:s[0],type:s[1],subType:s[e(642)]>=5?s[2]:null,id:s[e(642)]<5?s[2]:s[3],authorId:s[e(642)]<5?s[3]:s[4],markerCount:6==s[e(642)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(642)];i++){if(t[e(617)]&&e(453)==s[i][e(630)]&&t[e(617)][e(426)]==s[i][e(426)])return t[e(620)]=s[i],void delete t[e(617)];if(!t[e(617)]&&!t[e(578)]&&e(538)==s[i][e(630)])return void(t[e(459)]=s[i])}}}[Qt(730)](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(530)](o.id,s);for(let s=0;s<t[i(642)];s++){if(i(578)==e&&t[s][i(617)]||i(617)==e&&t[s][i(578)])continue;if(i(470)==t[s][i(630)]){t[s][i(494)]=0;continue}const n=r[i(440)](t[s][i(442)]),o=r[i(440)](t[s].id);t[s][i(494)]=n-o}}[Qt(581)](t,e,i=!1){const s=Qt,n=[];let r=this[s(565)][s(741)](t),o=this[s(565)][s(741)](e);for(-1==o&&(o=this[s(565)][s(712)][s(642)],i=!1);r<o;)n[s(471)](this[s(565)][s(694)](r)),r++;return i&&n[s(471)](this[s(565)][s(694)](r)),n}[Qt(433)](t,e,i,s){const n=Qt,r=this[n(476)][n(695)][n(456)];let o=e;for(;t[o]&&t[o][n(617)];)o++;let a=s;for(;i[a]&&i[a][n(578)];)a++;u(t,e,o),u(i,s,a);const c=i[n(638)](s,a)[n(489)](t[n(638)](e,o));return c[n(509)](((t,e)=>t[n(496)]!=e[n(496)]?t[n(496)]-e[n(496)]:t[n(583)]!=e[n(583)]?t[n(583)]-e[n(583)]:t[n(494)]!=e[n(494)]?e[n(494)]-t[n(494)]:!!t[n(617)]!=!!e[n(617)]?-1==t[n(496)]||0==t[n(496)]?t[n(617)]?-1:1:t[n(617)]?1:-1:t[n(512)]-e[n(512)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(548)],c=!0;for(let n=e;n<i;n++)if(r[s(532)](t[n][s(564)])||(c=!1),t[n][s(564)][s(518)]<e&&(o=n),t[n][s(564)][s(446)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(496)]=n<=o?-1:n<a?0:1,t[n][s(512)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(494)]?t[i][s(583)]=u:(u++,t[i][s(583)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(496)]&&(t[n][s(583)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(494)]?t[e][s(583)]=u:(u--,t[e][s(583)]=u,u--)}}[Qt(607)](t){const e=Qt,i=new Map,s=this[e(476)][e(695)][e(456)];for(let n=1;n<t[e(642)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(470)==c[e(630)])continue;if(c[e(630)]!=u[e(630)])continue;if(!s[e(567)](u[e(564)])||s[e(720)](u[e(564)]))continue;if(!s[e(567)](c[e(564)])||s[e(720)](c[e(564)]))continue;if((t[n][e(617)]||t[n][e(620)])&&t[n-1][e(578)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(578)]||!t[n-1][e(617)]&&!t[n-1][e(620)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(583)]==o[e(583)],h=Math[e(726)](r[e(583)])<Math[e(726)](o[e(583)])&&0==o[e(494)];(l||h)&&(i[e(530)](o.id,r.id),t[e(570)](a,1),n--,r[e(617)]=!1)}for(let s=0;s<t[e(642)];s++)i[e(552)](t[s][e(442)])&&(t[s][e(442)]=i[e(440)](t[s][e(442)]))}[Qt(499)](t){const e=Qt,i=new Set(t[e(615)]((t=>t.id)));for(let s=0;s<t[e(642)];s++)i[e(552)](t[s][e(442)])||0==t[s][e(494)]||(t[s][e(742)]=!0);return t[e(732)]((t=>!t[e(742)]))}[Qt(545)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(642)];s++){if(i[e(552)](t[s].id)&&t[s][e(578)]&&(t[s][e(742)]=!0),t[s][e(742)])continue;if(0==t[s][e(494)])continue;if(e(721)!=t[s][e(630)])continue;if(null==t[s][e(442)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(442)];)e(721)==t[n][e(630)]?r++:e(488)==t[n][e(630)]&&r--,n++;if(0!=r)if(t[s][e(578)])t[s][e(742)]=!0;else for(;n!=s;)t[n][e(578)]&&0!=t[n][e(494)]&&(t[n][e(742)]=!0,i[e(626)](t[n][e(442)])),n--}return t[e(732)]((t=>!t[e(742)]))}[Qt(543)](t){const e=Qt,i=this[e(476)][e(695)][e(456)];for(let s=0;s<t[e(642)];s++){if(!(t[s][e(617)]||t[s][e(620)]||t[s][e(578)]||t[s][e(459)]))continue;if(0==t[s][e(494)])continue;const n=t[s][e(564)];i[e(567)](n)||i[e(720)](n)||(t[s][e(617)]&&delete t[s][e(617)],t[s][e(620)]&&delete t[s][e(620)],t[s][e(459)]&&delete t[s][e(459)],t[s][e(578)]&&(t[s][e(742)]=!0))}return t[e(732)]((t=>!t[e(742)]))}[Qt(571)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(476)][s(695)],c=a[s(456)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(642)];e++)if(s(721)===t[e][s(630)]){t[e][s(555)]=a[s(562)](n,f);const i=new H.Element(t[e][s(564)][s(574)],t[e][s(564)][s(502)]());u[0][s(658)](i),f[s(471)](0),u[s(665)](i),t[e][s(686)]=a[s(562)](n,f)}else s(488)===t[e][s(630)]?(u[s(463)](),t[e][s(555)]=a[s(562)](n,f),f[s(584)](),f[f[s(642)]-1]++,t[e][s(686)]=a[s(562)](n,f)):(t[e][s(555)]=a[s(562)](n,f),d?d[s(681)]+=t[e][s(564)][s(600)]:d=new H.Text(t[e][s(564)][s(600)],t[e][s(564)][s(502)]()),t[e+1]&&s(470)===t[e+1][s(630)]&&v(d,t[e+1][s(564)])||(u[0][s(658)](d),d=null),f[f[s(642)]-1]+=t[e][s(564)][s(432)],t[e][s(686)]=a[s(562)](n,f));for(let e=0;e<t[s(642)];e++){const i=t[e][s(555)],n=t[e][s(686)];for(const n of t[e][s(672)])o[s(530)](n,{start:i,end:null});m(s(459),e,i,n),m(s(620),e,i,n),m(s(578),e,i,n),m(s(617),e,i,n);for(const i of t[e][s(524)]){const t=o[s(440)](i);t?t[s(501)]=n:o[s(530)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(476)][s(695)][s(437)](e[s(745)],e[s(501)]);n[s(439)][s(530)](t,i)}return r[s(509)](((t,e)=>{const i=s,r=n[i(439)][i(440)](i(521)+t.id),o=n[i(439)][i(440)](i(521)+e.id);return r[i(745)][i(713)](o[i(745)])?-1:r[i(745)][i(603)](o[i(745)])?1:r[i(501)][i(713)](o[i(501)])?-1:r[i(501)][i(603)](o[i(501)])?1:i(626)===t[i(630)]?-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(426)]:null,d=i===t[o(642)]-1,f=h[e][0],m=c[o(503)](t[i][o(564)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(501)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(426)]!==u&&(l[e][o(501)]=n,f&&f[o(426)]===l[e][o(426)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(721)!==t[i][o(630)]||f&&f[o(426)]===u||h[e][o(665)]({userId:u,object:t[i][o(564)],change:l[e]}),o(488)===t[i][o(630)]&&f&&f[o(608)]===t[i][o(564)]&&(h[e][o(463)](),l[e]=f[o(654)])),l[e]&&d&&(l[e][o(501)]=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(564)],f=a[h(456)][h(567)](d)&&!a[h(456)][h(720)](d),m=t[h(425)]==o[h(661)]&&o[h(487)];if(f&&m)return;const p=a[h(437)](t,o),v=e[h(440)](u),g=new qt({author:v,type:h(617)==l||h(620)==l?h(626):h(711),data:{isSuggestion:h(620)==l||h(459)==l},createdAt:new Date,rootName:i});r[h(471)](g),n[h(439)][h(530)](h(521)+g.id,p)}function v(t,e){const i=s,n=t[i(502)](),r=e[i(502)]();for(const t of n){if(t[1]!==e[i(722)](t[0]))return!1;r[i(517)]()}return r[i(517)]()[i(508)]}}[Qt(728)](){const t=Qt;this[t(476)][t(682)][t(493)](t(491))[t(449)]({view:t(520)}),this[t(476)][t(682)][t(493)](t(738))[t(669)]({model:t(520),view:e=>{const i=t,s=e[i(560)][i(536)](":")[1],n=this[i(635)](s);if(!n)return null;const r=i(626)==n[i(630)]?i(453):i(538),o=[i(514),i(504)+r];return n[i(600)][i(666)]&&o[i(471)](i(504)+r+i(647)),this[i(553)]==n&&o[i(471)](i(478)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(476)][t(682)][t(493)](t(491))[t(626)]((e=>{const i=t;e.on(i(458),((t,e,s)=>{const n=i,r=e[n(556)][n(495)](0);if(!r||!r.is(n(645),n(633)))return;if(!s[n(684)][n(733)](r,{attributes:[n(506),n(475)]}))return;const o=e[n(533)][n(745)][n(425)];s[n(573)][n(646)](n(506),r[n(722)](n(506)),o),s[n(573)][n(646)](n(475),r[n(722)](n(475)),o)}),{priority:i(639)})})),this[t(476)][t(682)][t(493)](t(491))[t(626)]((e=>{const i=t;e.on(i(645),((t,e,s)=>{const n=i;if(!s[n(684)][n(733)](e[n(556)],{attributes:[n(506),n(475)]}))return;if(e[n(533)][n(604)])return;const r=e[n(533)][n(745)][n(425)];r[n(706)](n(506))||r[n(706)](n(613))||(s[n(573)][n(646)](n(506),e[n(556)][n(722)](n(506)),r),s[n(573)][n(646)](n(475),e[n(556)][n(722)](n(475)),r))}),{priority:i(639)})})),this[t(476)][t(682)][t(493)](t(491))[t(443)]({view:{name:t(480),attributes:{vid:!0}},model:{key:t(613),value:e=>e[t(722)](t(613))}}),this[t(476)][t(695)][t(456)].on(t(671),((e,[,i])=>{const s=t;[s(506),s(475),s(613)][s(529)](i)&&(e[s(550)]=!0,e[s(703)]())}),{priority:t(513)}),this[t(476)][t(682)][t(493)](t(683))[t(626)]((e=>{const i=t;e.on(i(614),((t,e,s)=>{const n=i;if(" "!=e[n(564)][n(600)]||e[n(564)][n(661)][n(561)]>1)return;if(!s[n(684)][n(733)](e[n(564)],t[n(574)]))return;const r=s[n(573)],o=s[n(596)][n(541)](e[n(429)]);r[n(688)](o,r[n(580)](n(480)))}))})),this[t(476)][t(682)][t(493)](t(683))[t(739)]({model:t(520)}),this[t(476)][t(734)][t(704)].on(t(481),function(e){const i=t,s=e[i(636)][i(440)](i(576));return(t,n,r)=>{const o=i,a=n[o(560)][o(536)](":")[1],c=s[o(635)](a);if(!c)return null;const u=o(626)==c[o(630)]?o(536):o(447);if(!r[o(684)][o(549)](n[o(563)],t[o(574)]))return;const l=n[o(563)][o(435)](),h=n[o(563)][o(745)],d=e[o(695)][o(456)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(564)];p=p||d[o(649)](e);const i=r[o(596)][o(700)](e);if(i&&i[o(539)](o(697)))return;o(488)==t[o(630)]&&d[o(567)](e)&&!d[o(720)](e)&&(e[o(515)]||h[o(625)]?f&&f[o(661)]==e||(f=e,g(t[o(555)]),v=!0):m=m||t[o(555)])}function g(t){const e=o,i=r[e(573)][e(445)](e(480),{class:e(504)+u}),a=r[e(596)][e(558)](t);c[e(600)][e(666)]&&r[e(573)][e(465)](e(504)+u+e(647),i),s[e(553)]==c&&r[e(573)][e(465)](e(478),i),r[e(573)][e(731)](a,i),r[e(596)][e(500)](i,n[e(560)])}p||v||!m||g(m)}}(this[t(476)]),{priority:t(692)}),this[t(476)][t(734)][t(704)].on(t(736),((e,i,s)=>{const n=t,r=s[n(596)][n(723)](i[n(560)]);if(r)for(const t of r)(t[n(744)](n(592))||t[n(744)](n(622)))&&(s[n(596)][n(450)](t,i[n(560)]),s[n(573)][n(711)](t))}),{priority:t(692)}),this[t(476)][t(734)][t(704)].on(t(481),((e,i,s)=>{const n=t,r=i[n(560)][n(536)](":")[1],o=this[n(635)](r);if(!o)return null;const a=n(626)==o[n(630)]?n(536):n(447);if(s[n(684)][n(549)](i[n(563)],e[n(574)]))for(const t of i[n(563)][n(451)]()){if(!t.is(n(645),n(551)))continue;const e=s[n(573)][n(445)](n(480),{class:n(504)+a}),r=s[n(596)][n(558)](this[n(476)][n(695)][n(572)](t));o[n(600)][n(666)]&&s[n(573)][n(465)](n(504)+a+n(647),e),this[n(553)]==o&&s[n(573)][n(465)](n(478),e),s[n(573)][n(731)](r,e),s[n(596)][n(500)](e,i[n(560)])}}),{priority:t(692)}),this[t(476)][t(695)][t(598)].on(t(654),(()=>{const e=t;this[e(476)][e(734)][e(655)][e(654)]((t=>{const i=e;for(const e of this[i(476)][i(695)][i(598)][i(519)]()){const s=this[i(476)][i(695)][i(598)][i(627)](e),n=this[i(476)][i(734)][i(655)][i(598)][i(627)](e);if(n){const e=s[i(722)](i(589));if(t[i(554)](i(525),n),t[i(640)](i(616),n),t[i(640)](i(526),n),t[i(640)](i(623),n),e){const s=this[i(635)](e);if(!s)return null;t[i(646)](i(525),e,n),t[i(465)](i(702)+s[i(630)],n),this[i(553)]==s&&t[i(465)](i(623),n)}}}}))})),this[t(476)][t(682)][t(493)](t(491))[t(449)]({view:t(708),model:e=>t(663)+e,converterPriority:t(513)}),this[t(476)][t(682)][t(493)](t(491))[t(449)]({view:t(457),model:e=>t(710)+e,converterPriority:t(513)}),this[t(476)][t(682)][t(493)](t(683))[t(739)]({model:t(586),view:e=>({name:t(659)+e,group:t(586)}),converterPriority:t(513)}),this[t(476)][t(682)][t(493)](t(738))[t(669)]({model:t(586),view:e=>{const i=t,s=e[i(560)][i(536)](":")[1];return i(453)!=s&&i(538)!=s?null:{classes:[i(729),i(660)+s]}}}),this[t(476)][t(734)][t(704)].on(t(680),ie(this[t(476)],t(447)),{priority:t(692)}),this[t(476)][t(734)][t(704)].on(t(657),ie(this[t(476)],t(536)),{priority:t(692)}),this[t(476)][t(734)][t(704)].on(t(612),((e,i,s)=>{const n=t,r=s[n(596)][n(723)](i[n(560)]);if(r)for(const t of r)t.is(n(577))&&(s[n(596)][n(450)](t,i[n(560)]),s[n(573)][n(711)](t))}),{priority:t(692)})}[Qt(635)](t){const e=Qt;return this[e(568)][e(440)](t)}[Qt(664)](t){const e=Qt;return this[e(699)]&&this[e(699)][e(479)](),this[e(699)]=new Wt(this[e(476)][e(727)],t),this[e(699)]}[Qt(516)](){const t=Qt;this[t(476)][t(695)][t(598)][t(523)][t(701)](t(520)),this.on(t(540),((e,i,s,n)=>{const r=t;n&&this[r(667)][r(711)](n),s&&(this[r(667)][r(626)]({view:s,stackId:r(534),position:{target:()=>{const t=r,e=this[t(476)][t(734)],i=this[t(635)](s[t(575)]);let n;if(i[t(600)][t(454)]){const s=e[t(655)][t(651)](i[t(685)]);n=Array[t(656)](s[t(599)]())}else{const i=this[t(476)][t(695)][t(439)][t(440)](t(521)+s[t(575)]);n=Array[t(656)](e[t(596)][t(723)](i[t(574)]))[t(615)]((i=>e[t(655)][t(602)][t(428)](i)))[t(615)]((e=>Array[t(656)](e[t(599)]())))[t(547)]()}return this[t(510)]&&n[t(673)]((e=>e[t(698)]-3<=this[t(510)].y&&e[t(483)]+3>=this[t(510)].y&&e[t(591)]-3<=this[t(510)].x&&e[t(653)]+3>=this[t(510)].x))||n[0]}}}),this[r(667)][r(462)](r(534)))})),this.on(t(687),((e,i,s,n)=>{const r=t;this[r(709)]=s?this[r(664)](s):null,this[r(476)][r(695)][r(654)]((()=>{const t=r,e=this[t(476)][t(734)];n&&(n[t(600)][t(454)]?e[t(655)][t(654)]((i=>{const s=t;i[s(640)](s(623),e[s(655)][s(598)][s(627)](n[s(685)]))})):e[t(624)](t(521)+n.id)),s&&(s[t(600)][t(454)]?e[t(655)][t(654)]((i=>{const n=t;i[n(465)](n(623),e[n(655)][n(598)][n(627)](s[n(685)]))})):e[t(624)](t(521)+s.id))}))})),this[t(690)](this[t(476)][t(734)][t(655)][t(598)],t(490),((e,i)=>{const s=t;if(this[s(553)])return;const n=this[s(424)](i[s(696)]),r=this[s(568)][s(440)](n);r?(this[s(510)]={x:i[s(677)].x,y:i[s(677)].y},this[s(709)]=this[s(664)](r)):(this[s(510)]=null,this[s(709)]=null)})),this[t(690)](this[t(476)][t(734)][t(655)][t(598)],t(619),((e,i)=>{const s=t,n=this[s(424)](i[s(696)]),r=this[s(568)][s(440)](n);r?(this[s(510)]={x:i[s(677)].x,y:i[s(677)].y},r===this[s(553)]?this[s(667)][s(735)]():this[s(553)]=r):(this[s(510)]=null,this[s(553)]=null)}))}[Qt(424)](t){const e=Qt;do{const i=t[e(722)](e(525));if(i)return i;t=t[e(661)]}while(t);return null}[Qt(719)](){const t=Qt;this[t(476)][t(695)][t(654)]((e=>{const i=t;for(const t of this[i(476)][i(695)][i(439)])e[i(559)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(684)][r(549)](s[r(563)],i[r(574)]))return;const o=s[r(563)][r(435)](),a=s[r(563)][r(745)],c=t[r(695)][r(456)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(564)];h=h||c[r(649)](e);const i=n[r(596)][r(700)](e);if(i&&i[r(539)](r(697)))return;r(488)==t[r(630)]&&c[r(567)](e)&&!c[r(720)](e)&&(e[r(515)]||a[r(625)]?u&&u[r(661)]==e||(u=e,f(t[r(555)]),d=!0):l=l||t[r(555)])}function f(t){const i=r,o=n[i(596)][i(558)](t),a=n[i(573)][i(445)](i(480),{class:i(660)+e});n[i(573)][i(731)](o,a),n[i(596)][i(500)](a,s[i(560)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(636)][e(440)](ee);this[e(618)]=!1,this[e(690)](i,e(448),(()=>this[e(643)]())),this[e(690)](i,e(474),(()=>this[e(643)]()))}[Qt(542)](){const t=Qt,e=this[t(476)],i=e[t(636)][t(440)](ee),s=i[t(511)]?i[t(473)][t(670)]:null;e[t(431)][t(440)](t(641))[t(535)](s)}[Qt(643)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(476)][t(636)][t(440)](ee),r=n&&s[t(492)](n[t(670)]);this[t(650)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(436)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(636)][i(440)](ee);this[i(618)]=!1,this[i(436)]=i(594)===e?1:-1,this[i(690)](s,i(448),(()=>this[i(643)]())),this[i(690)](s,i(474),(()=>this[i(643)]())),this[i(690)](s,i(687),(()=>this[i(643)]()))}[Qt(542)](){const e=Qt,i=this[e(476)],s=i[e(636)][e(440)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(553)]=n?s[e(473)][e(601)][e(440)](r+this[e(436)]):s[e(473)][e(601)][e(569)],s[e(553)][e(600)][e(454)])o=i[e(734)][e(655)][e(651)](s[e(553)][e(685)]);else{const t=i[e(695)][e(439)][e(440)](e(521)+s[e(553)].id);o=(0,Z.getMarkerDomElement)(i[e(734)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(643)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(476)][t(636)][t(440)](ee);this[t(650)]=!!(r&&n&&s)&&(!e||(1===this[t(436)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["numberOfChanges","span","203058dSCALu","Show next change","isNavigationMode","371735VBFEsb","bind","216956ZJDqVL","72umldVg","3292690Hlvsfq","isBackwardNavigationEnabled","_statusText","2172kAYLgW","Loading...","bindTemplate","X_OF_Y_CHANGES","3227oPSkyM","setTemplate","isEnabled","currentChangeNumber","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation__wrapper","fire","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__label","1IVptwn","NUMBER_OF_CHANGES","isForwardNavigationEnabled","ck-revision-history-ui","ck-revision-history-ui__changes-navigation","135759eCxstj","isReady","705384QdNtGE","forward","execute","Show previous change","ck-hidden","backward","set","No changes","EDIT_X_OF_Y_REVISIONS","Total","div"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=364]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(109715===parseInt(e(367))/1*(-parseInt(e(392))/2)+-parseInt(e(372))/3+-parseInt(e(374))/4+parseInt(e(390))/5+parseInt(e(397))/6*(-parseInt(e(401))/7)+-parseInt(e(393))/8*(-parseInt(e(387))/9)+parseInt(e(394))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(399)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(380)](e(389),!1),this[e(380)](e(373),!1),this[e(380)](e(404),0),this[e(380)](e(385),0),this[e(380)](e(369),!1),this[e(380)](e(395),!1),this[e(391)](e(365)).to(this,e(373),this,e(385),((t,e)=>t&&e>0)),this[e(391)](e(396)).to(this,e(373),this,e(404),this,e(385),this,e(389),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(398));if(!n)return X(t,o(381));const a=X(t,o(368),n);return r?X(t,o(400),[s+1,n]):a})),s[e(380)]({label:X(t,e(377)),tooltip:!0,icon:mt.IconChevronUp}),n[e(380)]({label:X(t,e(388)),tooltip:!0,icon:mt.IconChevronDown}),s[e(391)](e(403)).to(this,e(395)),n[e(391)](e(403)).to(this,e(369)),s.on(e(376),(()=>this[e(364)](e(376),e(379)))),n.on(e(376),(()=>this[e(364)](e(376),e(375)))),this[e(402)]({tag:e(384),attributes:{class:["ck",e(370),e(371)]},children:[{tag:e(386),attributes:{class:[e(406)]},children:[{tag:e(386),attributes:{class:[e(366),i.if(e(365),e(378),(t=>!t))]},children:[{text:i.to(e(389),(i=>i?X(t,e(382))+": ":X(t,e(383))+": "))}]},{text:i.to(e(396))}]},new pt.ToolbarSeparatorView,{tag:e(384),attributes:{class:[e(405)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=me();return(fe=function(t,e){return i[t-=405]})(t,e)}function me(){const t=["editor","document","2539287RjItHG","pluginName","182258UmLAOd","change","addClass","12530770NUAAFb","roots","16KiqqIt","editing","view","RevisionViewerLoadingOverlay","show","9WhNFBJ","444563FGTPtx","removeClass","463732VKwxCS","isOfficialPlugin","37212tWQdql","847870KVwXXy","hide","isPremiumPlugin","492uCLXUB","ck-editor__editable__loading-overlay"];return(me=function(){return t})()}!function(t){const e=fe,i=t();for(;;)try{if(416818===-parseInt(e(423))/1+parseInt(e(412))/2+-parseInt(e(422))/3*(-parseInt(e(425))/4)+parseInt(e(428))/5+-parseInt(e(406))/6*(parseInt(e(427))/7)+-parseInt(e(417))/8*(parseInt(e(410))/9)+parseInt(e(415))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=de(407);class ve extends U.Plugin{static get[de(411)](){return de(420)}static get[de(426)](){return!0}static get[de(405)](){return!0}[de(421)](){const t=de,e=this[t(408)][t(418)][t(419)];e[t(413)]((i=>{const s=t;for(const t of e[s(409)][s(416)])i[s(414)](pe,t)}))}[de(429)](){const t=de,e=this[t(408)][t(418)][t(419)];e[t(413)]((i=>{const s=t;for(const t of e[s(409)][s(416)])i[s(424)](pe,t)}))}}const ge=ke;function ye(){const t=["hide","componentFactory","numberOfChanges","forward","isBackwardNavigationEnabled","70iSbJgm","RevisionViewerUI","761047CEdPsj","config","revisionHistory","showPreviousChange","bind","add","editor","36648216eKckDD","isEnabled","1359255MNFdDx","isPremiumPlugin","execute","get","listenTo","88owjGSE","6efJRrC","pluginName","8090640ytWvso","isForwardNavigationEnabled","135reEZKk","show","init","plugins","isOfficialPlugin","Back to editing","restoreRevision","ck-revision-history-ui__back-to-editing","Restore this revision","isReady","isNavigationMode","exitToEditing","showNextChange","closeRevisionViewerCallback","set","commands","change:isReady","26484jkycrW","4GkUEId","294578jPEwtc","requires","1820346fWCRzL","changesNavigation","currentChangeNumber"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=261]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(661532===-parseInt(e(283))/1*(parseInt(e(310))/2)+parseInt(e(304))/3*(-parseInt(e(282))/4)+parseInt(e(264))/5*(-parseInt(e(281))/6)+-parseInt(e(295))/7*(parseInt(e(309))/8)+-parseInt(e(262))/9+-parseInt(e(293))/10*(-parseInt(e(285))/11)+parseInt(e(302))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(261)](){return ge(294)}static get[ge(268)](){return!0}static get[ge(305)](){return!0}static get[ge(284)](){return[ee,ve]}[ge(266)](){const t=ge,e=this[t(301)],i=e[t(267)][t(307)](ee),s=e[t(267)][t(307)](ve);e.ui[t(289)][t(300)](t(275),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(278)]({label:X(i,s(269)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(271)}),this[s(308)](n,s(306),(()=>{const t=s;e[t(296)][t(307)](t(297))[t(277)]()})),n})),e.ui[t(289)][t(300)](t(270),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(278)]({label:X(i,s(272)),withText:!0,tooltip:!0}),n[s(299)](s(303)).to(e[s(279)][s(307)](s(270))),this[s(308)](n,s(306),(()=>e[s(306)](s(270)))),n})),e.ui[t(289)][t(300)](t(286),(s=>{const n=t,r=new ue(s),o=e[n(279)][n(307)](n(298)),a=e[n(279)][n(307)](n(276));return r[n(299)](n(292)).to(o,n(303)),r[n(299)](n(263)).to(a,n(303)),r[n(299)](n(273),n(287),n(290),n(274)).to(i),this[n(308)](r,n(306),((t,i)=>{const s=n;e[s(306)](s(291)===i?s(276):s(298))})),r})),s[t(265)](),i.on(t(280),((e,i,n)=>{const r=t;n?s[r(288)]():s[r(265)]()}))}}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-=251]})(t,e)}function Oe(){const t=["Enter the revision name","element","_updateTooltipText","8044HSGIcM","fieldView","3740808tBxARa","listenTo","1725580rejtZd","4700511qLwLDT","5278392OmmBVW","Revision name","6206888NZilBb","input","19823247NCyYHa","placeholder","_tooltipString","clientWidth","value","7zfkCtK","1720iZzEHr","scrollWidth","render","ck-revision-history-sidebar__revision-name","extendTemplate","ck-tooltip_multi-line","destroy","_resizeObserver","10NBMWty","span","bindTemplate","set"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(969091===-parseInt(e(260))/1+-parseInt(e(258))/2+parseInt(e(261))/3+parseInt(e(256))/4*(parseInt(e(272))/5)+parseInt(e(262))/6+-parseInt(e(271))/7*(parseInt(e(264))/8)+parseInt(e(266))/9*(parseInt(e(280))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class xe extends pt.LabeledFieldView{[Ie(279)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(251)];this[i(252)]({label:X(t,i(263)),_tooltipString:""}),this[i(257)][i(267)]=X(t,i(253)),this[i(276)]({tag:i(281),attributes:{class:[i(275)],"data-cke-tooltip-text":s.to(i(268)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(277)}})}[Ie(274)](){const e=Ie;super[e(274)](),this[e(279)]=new t.ResizeObserver(this[e(257)][e(254)],(()=>this[e(255)]())),this[e(259)](this[e(257)],e(265),(()=>this[e(255)]()))}[Ie(278)](){const t=Ie;super[t(278)](),this[t(279)]&&this[t(279)][t(278)]()}[Ie(255)](){const t=Ie,e=this[t(257)][t(254)];this[t(268)]=e[t(273)]>e[t(269)]&&e[t(270)]||""}}var Te=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(Te.A,Ne);Te.A&&Te.A.locals&&Te.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=289]})(t,e)}function Ae(){const t=["name","780116xxNRPl","27030LiCTgc","push","Revision creator","set","ck-revision-history-sidebar__revision-author","915396RmqnoQ","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author_creator","1969ejsUwL","13420476UhIIhx","span","3jbrhIk","820136saRFLh","Revision author","3uJmwZH","2275cNypfU","299loIcOe","setTemplate","3928tLvVxU","7908mTNVLn","7441vQIkkd","0 0 11 10"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(755808===parseInt(e(304))/1*(parseInt(e(305))/2)+parseInt(e(307))/3*(parseInt(e(292))/4)+-parseInt(e(308))/5*(-parseInt(e(312))/6)+-parseInt(e(289))/7*(parseInt(e(311))/8)+parseInt(e(302))/9+parseInt(e(293))/10*(-parseInt(e(301))/11)+-parseInt(e(298))/12*(parseInt(e(309))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class De extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(296)]({content:mt.IconUser,viewBox:s(290)});const r=["ck",s(297)];i&&r[s(294)](s(300));const o=[{tag:s(303),attributes:{class:["ck",s(299)],title:X(t,s(i?295:306))},children:[n,e[s(291)]]}];this[s(310)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=Ee();return(Ve=function(t,e){return i[t-=316]})(t,e)}function Ee(){var t=["495HCKGwA","985374SvvNEL","2124773kqriIL","numeric","34824XSNkuK","299898ZlibNS","376QPqDyh","120090MAXafv","17810Mjnrxx","67864cdxzEZ","long","toLocaleTimeString","toLocaleDateString"];return(Ee=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(180711===-parseInt(e(320))/1+parseInt(e(318))/2+parseInt(e(327))/3+parseInt(e(319))/4*(-parseInt(e(321))/5)+-parseInt(e(317))/6+-parseInt(e(328))/7+parseInt(e(322))/8*(parseInt(e(326))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Me=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Me.A,Ce);Me.A&&Me.A.locals&&Me.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=316]})(t,e)}function je(){const t=["listView","stopPropagation","class","execute","menu","listenTo","locale","extendTemplate","4mQenYE","model","panelPosition","Name this revision","ck-on","isVisible","48wrVYMD","buttonView","action","_action","add","children","isActionsDropdownOpen","758355bKRnEN","map","Restore this revision","ck-revision-history-sidebar__revision__actions","1cqgQWo","first","130163cvjmpK","Compare against selected","isOpen","change:isActionsDropdownOpen","bind","isReady","1095262OdIpBU","items","find","532998DRgCKY","129078IeUlDy","button","set","name","190HlAXIa","source","Show more items","470046PTPVcZ","menuitem","function","isEnabled","bindTemplate","460422rkvcXe"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(126696===-parseInt(e(329))/1*(-parseInt(e(348))/2)+-parseInt(e(353))/3+parseInt(e(362))/4*(parseInt(e(325))/5)+-parseInt(e(340))/6+-parseInt(e(337))/7+-parseInt(e(318))/8*(parseInt(e(341))/9)+-parseInt(e(345))/10*(-parseInt(e(331))/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=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=157]})(t,e)}function Ue(){const t=["unshift","revisionNameView","listenTo","isActionsDropdownOpen","select","2203674IHFPtT","33jplgsm","value","creator","from","bind","highlight","ck-revision-history-sidebar__revision_highlighted","uiLanguage","52636BzMvjQ","extendTemplate","ck-revision-history-sidebar__revision","220","_createdAtFormatted","change","deselect","filter","isConfirm","element","setName","bindTemplate","render","isSelected","closest","isEnabled","setTemplate","name","ck-revision-history-sidebar__revision-authors","2692692KgUiFx","_requireRevisionName","revisionActionsView","ck-revision-history-sidebar__revision_selected","210DfnIlq","9210RIBZZY","fire","set","span","isHighlighted","7rxKoog","ck-revision-history-sidebar__actions_dropdown_open","5106470fqXtFh","fieldView","ck-revision-history-sidebar__revision__date","_revision","ck-reset","isReady","length","8334nQOIyD","3798792afsOzP","ck-revision-history-sidebar__revision__controls-wrapper","812XfpSRl","ck-revision-history-sidebar__revision-wrapper","srcElement","authors","createdAt","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","unhighlight","ck-disabled",".ck-thread__remove-confirm","div","map"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(255753===-parseInt(e(173))/1+parseInt(e(211))/2*(parseInt(e(196))/3)+-parseInt(e(214))/4*(parseInt(e(197))/5)+-parseInt(e(164))/6*(parseInt(e(202))/7)+-parseInt(e(212))/8+-parseInt(e(192))/9+-parseInt(e(204))/10*(-parseInt(e(165))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(160)];[ze(194)];[ze(207)];[ze(193)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(184)],a=function(t,e){const i=r,s=Array[i(168)](e[i(217)])[i(180)]((t=>t!=e[i(167)]));return e[i(167)]&&s[i(159)](e[i(167)]),s[i(158)]((s=>new De(t,s,s==e[i(167)])))}(e,i);this.id=i.id,this[r(207)]=i,this[r(193)]=n,this[r(169)](r(190),r(218)).to(i),this[r(169)](r(177)).to(this,r(218),(t=>{return i=e[r(172)],(s=t)[(n=Ve)(325)](i,{month:n(323),day:n(316)})+", "+s[n(324)](i,{hour:n(316),minute:n(316)});var i,s,n})),this[r(199)](r(186),!1),this[r(199)](r(201),!1),this[r(199)](r(162),!1),this[r(199)](r(209),!1),this[r(199)](r(188),!1),this[r(160)]=new xe(e,pt.createLabeledInputText),this[r(160)][r(205)][r(174)]({attributes:{maxlength:r(176)}}),this[r(160)][r(205)][r(169)](r(166)).to(this,r(190),(t=>t||this[r(177)])),this[r(160)][r(169)](r(188)).to(this,r(186),this,r(188),((t,e)=>t&&e)),this[r(194)]=s&&s[r(210)]?function(e,i){const s=Fe,n=e[s(352)],r=e[s(360)],o=(0,pt.createDropdown)(r);o[s(364)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(360)],n={"Compare against selected":X(s,i(332)),"Name this revision":X(s,i(365)),"Restore this revision":X(s,i(327))};return e[i(326)]((t=>{const e=i,s=n[t[e(344)]];return s&&s!==t[e(344)]&&(t[e(344)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(342),model:new pt.ViewModel({label:t[n(344)],class:t[n(356)],withText:!0,role:n(349),_action:t[n(320)]})};i[n(363)][n(335)](n(351)).to(e,n(324),(i=>n(350)!=typeof t[n(351)]||!i||t[n(351)](e))),o[n(322)](i)}return o}(e,i);return e[s(335)](s(324)).to(o,s(333)),o[s(319)][s(343)]({label:X(r,s(347)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(361)]({attributes:{class:[s(328),n.if(s(324),s(316))]},on:{click:n.to((t=>t[s(355)]()))}}),o.on(s(357),(t=>{const i=s;e[i(336)]&&i(350)==typeof t[i(346)][i(321)]&&t[i(346)][i(321)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(358)}),o[s(359)](e,s(334),((t,n,r)=>{const a=s;if(r)for(const t of o[a(354)][a(338)]){const s=t[a(323)][a(330)],n=i[a(339)]((t=>t[a(320)]===s[a(321)]))[a(317)];t[a(317)]=void 0===n||n(e)}})),o}(this,s):"",this[r(194)]&&this[r(194)][r(169)](r(188)).to(this),this[r(189)]({tag:r(157),attributes:{class:["ck",r(208),r(215),o.if(r(181),r(219))]},children:[{tag:r(157),attributes:{class:["ck",r(208),r(175),o.if(r(188),r(221),(t=>!t)),o.if(r(186),r(195)),o.if(r(201),r(171)),o.if(r(162),r(203))]},children:[this[r(160)],{tag:r(200),attributes:{class:["ck",r(206)]},children:[{text:o.to(r(177))}]},{tag:r(157),attributes:{class:["ck",r(213)]},children:[{tag:"ul",attributes:{class:["ck",r(191)]},children:a}]},this[r(194)]],on:{click:o.to((t=>{const e=r;t[e(216)][e(187)](e(222))||this[e(209)]&&this[e(188)]&&this[e(198)](e(163),{id:this.id})}))}}]})}[ze(185)](){const t=ze;super[t(185)]();const e=this[t(160)][t(205)][t(182)];this[t(161)](e,t(178),(()=>{const i=t;this[i(193)]&&!e[i(166)]||this[i(198)](i(183),{id:this.id,name:e[i(166)]}),e[i(166)]||(e[i(166)]=this[i(190)]?this[i(190)]:this[i(177)])}))}[ze(163)](){this[ze(186)]=!0}[ze(179)](){this[ze(186)]=!1}[ze(170)](){this[ze(201)]=!0}[ze(220)](){this[ze(201)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Ge extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let xi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},xi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,xi[s]||(xi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),xi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ti[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Di={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.DateTimeFormat(t,e),Di[i]=s),s}let Ei={};let Mi={};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=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ds(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=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[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,Di={},Ei={},Mi={}}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,Qs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return ji(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:xs()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function xs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ts(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Je("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 Je("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 Ds(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ms(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`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}${Ds(i,2)}:${Ds(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ds(i,2)}${Ds(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 Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Js];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ds(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=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 xn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ms(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Dn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ms(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Vs(e)):Vs(e),month:Js.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),xn,Tn,Nn),$n=mn(wn,xn,Tn,Nn),Bn=mn(_n,xn,Tn,Nn),Yn=mn(xn,Tn,Nn);const Gn=mn(xn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(xn,Tn,Nn);const Xn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Dn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Gn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ge(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:xs()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Gi.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function xr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Tr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=xr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ms(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new Tr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Dr=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Mr(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+=Ds(t.c.year,i?6:4),e?(s+="-",s+=Ds(t.c.month),s+="-",s+=Ds(t.c.day)):(s+=Ds(t.c.month),s+=Ds(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Ds(t.c.hour);return e?(o+=":",o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ds(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ds(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ds(Math.trunc(-t.o/60)),o+=":",o+=Ds(Math.trunc(-t.o%60))):(o+="+",o+=Ds(Math.trunc(t.o/60)),o+=":",o+=Ds(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null: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]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Dr||t>Dr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e),n=$s(t,Jr),{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=Gr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,$n],[Zn,Bn],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Mn,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 Je("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,[Jn,qn],[Kn,Qn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return xr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Lr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(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,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Je("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Je("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 Je(`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 Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(){const t=["toJSDate","year","fromJSDate","day","903GCoaeQ","28330GJepxS","startOf","hasSame","setLocale","minus","100488YGezmv","monthLong","495VJydEx","11682cUxmsi","413346qYkUke","month","919292OwImqT","weekdayLong","local","12472bXUZOr","toRelativeCalendar","week","462726ixHiGj","520CWvczN"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=103]})(t,e)}function oo(t,e){const i=ro,s=io[i(105)](t)[i(111)](e),n=io[i(121)](),r=n[i(112)]({days:1})[i(109)](i(106));let o,a;return s[i(110)](n,i(106))?(o=s[i(109)](i(106))[i(103)](),a=s[i(123)]()):s[i(110)](r,i(106))?(o=r[i(103)](),a=s[i(123)]()):s[i(110)](n,i(124))?(o=s[i(109)](i(124))[i(103)](),a=s[i(120)]||""):s[i(110)](n,i(104))?(o=s[i(109)](i(118))[i(103)](),a=s[i(114)]||""):(o=s[i(109)](i(104))[i(103)](),a=String(s[i(104)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(118358===parseInt(e(113))/1+-parseInt(e(125))/2+-parseInt(e(117))/3+parseInt(e(119))/4+-parseInt(e(126))/5*(-parseInt(e(116))/6)+-parseInt(e(107))/7*(parseInt(e(122))/8)+parseInt(e(115))/9*(parseInt(e(108))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["214CPNDuy","setTemplate","3410322PHGTgg","1279730KuOqwP","4471784JXBayZ","setName","29574545tEVMci","_requireRevisionName","find","startDate","3807704wqwpaB","span","uiLanguage","localizedPeriodName","select","locale","ck-revision-history-sidebar__time-period","90eJjHsq","add","7jSWcka","addRevision","remove","delegate","5dWiOBZ","removeRevision","983728CzAoKl","createCollection","ck-revision-history-sidebar__time-period__revisions","revisionViews","30687PGzVjP","ck-revision-history-sidebar__time-period__label","_revisionActions","div"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=286]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(844800===parseInt(e(315))/1+parseInt(e(290))/2*(parseInt(e(286))/3)+-parseInt(e(300))/4+-parseInt(e(313))/5*(-parseInt(e(292))/6)+parseInt(e(309))/7*(parseInt(e(294))/8)+parseInt(e(307))/9*(parseInt(e(293))/10)+-parseInt(e(296))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(299)];[uo(318)];[uo(288)];[uo(297)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(305)][n(302)])[n(303)];this[n(299)]=e,this[n(318)]=this[n(316)](),this[n(288)]=i,this[n(297)]=s,this[n(318)][n(312)](n(304)).to(this),this[n(318)][n(312)](n(295)).to(this),this[n(291)]({tag:n(289),attributes:{class:["ck",n(306)]},children:[{tag:n(301),attributes:{class:["ck",n(287)]},children:[{text:r}]},{tag:n(289),attributes:{class:["ck",n(317)]},children:this[n(318)]}]})}[uo(310)](t){const e=uo,i=new Ze(this[e(305)],t,this[e(288)],this[e(297)]);this[e(318)][e(308)](i)}[uo(314)](t){const e=uo,i=this[e(318)][e(298)]((e=>e.id===t.id));this[e(318)][e(311)](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=["span","2774558KFsJzM","div","527054mTMzmu","setTemplate","587715YTErCr","28pQtZcR","1897GlAvQH","4032762ZhLQXP","Revision history","ck-revision-history-sidebar__header","content","15305319BDQQwf","3161304MWFoNj","ck-reset_all","544iQuABK","ck-revision-history-sidebar__header__label"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=223]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(816507===parseInt(e(234))/1+-parseInt(e(232))/2+parseInt(e(239))/3+parseInt(e(237))/4*(-parseInt(e(236))/5)+-parseInt(e(227))/6+-parseInt(e(238))/7*(parseInt(e(229))/8)+parseInt(e(226))/9)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(225)]=mt.IconHistory,this[e(235)]({tag:e(233),attributes:{class:["ck",e(228),e(224)]},children:[i,{tag:e(231),attributes:{class:["ck",e(230)]},children:[X(t,e(223))]}]})}}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=["revisionViews","bindTemplate","set","ck-revision-history-sidebar__timeline","render","createdAt","_removeRevision","revisionSetName","_addRevision","map","deselect","timePeriodViews","highlight","find","fire","_requireRevisionName","32FxmggV","ck-disabled","ck-rounded-corners","add","locale","3284170TGPJSv","addRevision","delegate","select","get","unhighlight","div","selectRevision","23404tDvpZf","startDate","isEnabled","removeRevision","_revisionActions","55BYeqin","ck-reset","_getTimePeriodViewByStartDate","some","highlightRevisions","uiLanguage","7XiDCQG","flat","24277JdemXG","_revisions","32NOgzCD","createCollection","6159915jyUgyn","setTemplate","2607486dZMlKr","remove","4092870IiXNVK","getTime","setName","1904481HsoBmu","revisionSelected","ck-revision-history-sidebar"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=137]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(643600===parseInt(e(174))/1*(parseInt(e(176))/2)+-parseInt(e(180))/3+parseInt(e(161))/4+parseInt(e(178))/5+-parseInt(e(182))/6*(-parseInt(e(172))/7)+-parseInt(e(148))/8*(-parseInt(e(185))/9)+parseInt(e(153))/10*(-parseInt(e(166))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(143)];[wo(175)];[wo(165)];[wo(147)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(189)];this[n(143)]=this[n(177)](),this[n(143)][n(155)](n(156)).to(this),this[n(143)][n(155)](n(184)).to(this),this[n(175)]=e,this[n(165)]=i,this[n(147)]=s,this.on(n(156),((t,e)=>{const i=n;this[i(146)](i(186),e)})),this.on(n(184),((t,e)=>{const i=n;this[i(146)](i(139),e)})),this[n(190)](n(163),!1),this[n(179)]({tag:n(159),attributes:{class:["ck",n(167),n(150),n(187)]},children:[new yo(t),{tag:n(159),attributes:{class:["ck",n(191),r.if(n(163),n(149),(t=>!t))]},children:this[n(143)]}]})}[wo(192)](){const t=wo;super[t(192)]();for(const e of this[t(175)])this[t(140)](e);this[t(175)].on(t(151),((e,i)=>{this[t(140)](i)})),this[t(175)].on(t(181),((e,i)=>{this[t(138)](i)}))}get[wo(188)](){const t=wo;return this[t(143)][t(141)]((e=>e[t(188)][t(141)]((t=>t))))[t(173)]()}[wo(160)](t){const e=wo;for(const i of this[e(188)])t&&t.id===i.id?i[e(156)]():i[e(142)]()}[wo(170)](t){const e=wo;for(const i of this[e(188)])t[e(169)]((({id:t})=>t===i.id))?i[e(144)]():i[e(158)]()}[wo(140)](t){const e=wo,i=oo(t[e(137)],this[e(152)][e(171)])[e(162)];let s=this[e(143)][e(157)](0);s&&s[e(162)][e(183)]()===i[e(183)]()||(s=new fo(this[e(152)],i,this[e(165)],this[e(147)]),this[e(143)][e(151)](s)),s[e(154)](t)}[wo(138)](t){const e=wo,i=oo(t[e(137)],this[e(152)][e(171)])[e(162)];this[e(168)](i)[e(164)](t)}[wo(168)](t){const e=wo;return this[e(143)][e(145)]((i=>i[e(162)][e(183)]()===t[e(183)]()))}}const Oo=To;function xo(){const t=["requires","fieldView","config","1224474AcviXL","render","focus","isPremiumPlugin","536DMxwFX","RevisionsSidebar","revisionHistory.revisionActions","isVisible","getRevisionsInDiff","timePeriodViews","repository","3CEvArZ","_revisions","11723184mRlCGU","setName","_sidebarView","revisionHistory.requireRevisionName","Name this revision","nameRevision","getRevision","highlightRevisions","restoreRevisionCallback","190607dDEjnz","2945020YmTHwY","add","_handleRevisionSetName","bind","init","locale","revisionSetName","name","selectRevision","_revisionViewer","1787580ErQYpz","_handleEditorDataReady","availableRevisionActions","get","restoreRevision","pluginName","plugins","ready","appendChild","data","defaultRevisionActions","_createRevisionActions","isEnabled","action","remove","revisionHistory","_handleDiffChange","listenTo","revisionSelected","assign","isReady","isSelected","select","isOfficialPlugin","change:diff","157398fhIkrJ","compareAgainstSelected","_handleRevisionSelected","diff","compare","element","getLaterVisibleRevision","length","revisionViews","map","revisionHistory.viewerSidebarContainer","string","_revisionsRepository","destroy","40705xpJJKp","editor","newRevisionId","Restore this revision","getEarlierVisibleRevision","getIndex","Compare against selected"];return(xo=function(){return t})()}function To(t,e){const i=xo();return(To=function(t,e){return i[t-=227]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(324935===-parseInt(e(304))/1+parseInt(e(282))/2+parseInt(e(293))/3*(-parseInt(e(233))/4)+-parseInt(e(305))/5+parseInt(e(258))/6+parseInt(e(272))/7*(-parseInt(e(286))/8)+parseInt(e(295))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[Oo(232)];[Oo(270)];[Oo(297)];static[Oo(243)]=[Oo(259),Oo(237),Oo(300)];static[Oo(235)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(278),action:({plugins:e},i)=>{const s=t,n=e[s(236)](ee),r=n[s(292)];let o=n[s(261)][s(274)],a=i.id;r[s(277)](o)>r[s(277)](a)&&([o,a]=[a,o]),n[s(262)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(236)](ee);return!(n[s(292)][s(290)](n[s(261)])[s(265)]>2||i[s(254)])}},restoreRevision:{name:t(275),action:(e,{id:i})=>{const s=t;e[s(281)][s(236)](s(248))[s(303)](i)},isVisible:({plugins:e},i)=>!!e[t(236)](ee)[t(292)][t(264)](i.id)},nameRevision:{name:t(299),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(236)](ee),o=r[n(292)][n(276)](i);r[n(262)](i,o),s[n(284)](),s[n(280)][n(255)]()}}}}();static get[Oo(238)](){return Oo(287)}static get[Oo(256)](){return!0}static get[Oo(285)](){return!0}static get[Oo(279)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(232)]=t[e(239)][e(236)](ee),this[e(270)]=this[e(232)][e(292)],this[e(297)]=null}[Oo(227)](){const t=Oo,e=this[t(270)][t(294)],i=this[t(244)](),s=this[t(273)][t(281)][t(236)](t(268));this[t(297)]=new So(this[t(273)][t(228)],e,i,this[t(273)][t(281)][t(236)](t(298))),this[t(297)].on(t(251),this[t(260)][t(308)](this)),this[t(297)].on(t(229),this[t(307)][t(308)](this)),this[t(297)][t(308)](t(245)).to(this[t(232)]),this[t(297)][t(291)].on(t(306),((e,i)=>{const s=t;i[s(266)].on(s(306),((t,e)=>{const i=s;e[i(308)](i(245),i(253)).to(this[i(232)])}))})),this[t(297)][t(283)](),this[t(250)](this[t(273)][t(242)],t(240),this[t(234)][t(308)](this)),this[t(250)](this[t(232)],t(257),this[t(249)][t(308)](this)),s[t(241)](this[t(297)][t(263)])}[Oo(271)](){const t=Oo;this[t(297)][t(263)][t(247)](),this[t(297)][t(271)]()}[Oo(234)](){const t=Oo,e=this[t(270)][t(301)](0);if(e){const i=this[t(270)][t(276)](e.id);this[t(232)][t(262)](e,i)}}[Oo(260)](t,e){const i=Oo,s=this[i(270)][i(301)](e.id),n=this[i(270)][i(276)](s.id);this[i(232)][i(262)](s,n)}[Oo(307)](t,e){const i=Oo;this[i(270)][i(301)](e.id)[i(296)](e[i(230)])}[Oo(249)](t,e,i){const s=Oo,n=this[s(270)][s(290)](i);n[s(265)]>2?(this[s(297)][s(302)](n),this[s(297)][s(231)](null)):(this[s(297)][s(302)]([]),this[s(297)][s(231)](n[0]))}[Oo(244)](){const t=Oo,e=this[t(273)],i=No[t(235)],s=e[t(281)][t(236)](t(288))||No[t(243)];if(s[t(265)])return s[t(267)]((s=>{const n=t,r=n(269)==typeof s?Object[n(252)]({},i[s]):s;return r[n(246)]=r[n(246)][n(308)](this,e),r[n(289)]&&(r[n(289)]=r[n(289)][n(308)](this,e)),r}))}}const Ro=No,Ao=Do;function Do(t,e){const i=Vo();return(Do=function(t,e){return i[t-=288]})(t,e)}function Vo(){const t=["document","config","focusTracker","destroy","componentFactory","isFocused","detachDomRoot","viewportTopOffset","limiterElement","toolbar","1404858TsCZHt","5599290uMXFeG","editing","1993077aJnCFk","element","replace","238436zBVIjp","render","1618449nHRNaQ","fire","attachDomRoot","restore","view","get","15WEFhvy","_toolbarConfig","_view","isActive","_initToolbar","viewportOffset","editable","name","rootName","setEditableElement","ready","bind","1008383cQYaLZ","editor","init","_elementReplacer","6317480skYQLW","getRoot","addToolbar","fillFromConfig","stickyPanel"];return(Vo=function(){return t})()}!function(t){const e=Do,i=t();for(;;)try{if(624067===-parseInt(e(289))/1+-parseInt(e(308))/2+parseInt(e(311))/3+parseInt(e(314))/4*(parseInt(e(322))/5)+parseInt(e(309))/6+-parseInt(e(316))/7+parseInt(e(293))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends pt.EditorUI{[Ao(324)];[Ao(323)];[Ao(292)];get[Ao(320)](){return this[Ao(324)]}constructor(e,i){const s=Ao;super(e),this[s(324)]=i,this[s(323)]=(0,pt.normalizeToolbarConfig)(e[s(299)][s(321)](s(307))),this[s(292)]=new t.ElementReplacer}get[Ao(312)](){const t=Ao;return this[t(320)][t(312)]}[Ao(291)](t){const e=Ao,i=this[e(290)],s=this[e(320)],n=i[e(310)][e(320)],r=s[e(328)],o=n[e(298)][e(294)]();r[e(329)]=o[e(330)],s[e(315)]();const a=r[e(312)];this[e(331)](r[e(329)],a),s[e(328)][e(288)](e(303)).to(this[e(300)]),n[e(318)](a),this[e(292)][e(313)](t,this[e(312)]),this[e(326)](),this[e(317)](e(332))}[Ao(301)](){const t=Ao;super[t(301)]();const e=this[t(320)],i=this[t(290)][t(310)][t(320)];this[t(292)][t(319)](),i[t(304)](e[t(328)][t(329)]),e[t(301)]()}[Ao(326)](){const t=Ao,e=this[t(320)];e[t(297)][t(288)](t(325)).to(this[t(300)],t(303)),e[t(297)][t(306)]=e[t(312)],e[t(297)][t(288)](t(305)).to(this,t(327),(({top:t})=>t)),e[t(307)][t(296)](this[t(323)],this[t(302)]),this[t(295)](e[t(307)])}}var Mo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Mo.A,Co);Mo.A&&Mo.A.locals&&Mo.A.locals;var Fo=Lo;function jo(){var t=["toolbar","2495300frskCS","shouldToolbarGroupWhenFull","83370GbIfae","963AYCvRk","render","4739qhWKsp","1319289hKTIYL","37000OmGwTY","content","11418900JQSDnJ","_editable","add","stickyPanel","4446813DDGCWI","top","editable","main","68uIjUbq","260OupQoz"];return(jo=function(){return t})()}function Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=265]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(365596===-parseInt(e(273))/1*(parseInt(e(265))/2)+parseInt(e(274))/3+-parseInt(e(268))/4+parseInt(e(266))/5*(parseInt(e(270))/6)+parseInt(e(281))/7+parseInt(e(275))/8*(parseInt(e(271))/9)+-parseInt(e(277))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(278)];[Fo(280)];[Fo(267)];get[Fo(283)](){return this[Fo(278)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(280)]=new pt.StickyPanelView(t),this[s(267)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(269)]}),this[s(278)]=new pt.InlineEditableUIView(t,e)}[Fo(272)](){var t=Fo;super[t(272)](),this[t(280)][t(276)][t(279)](this[t(267)]),this[t(282)][t(279)](this[t(280)]),this[t(284)][t(279)](this[t(283)])}}const zo=Uo;function Wo(){const t=["view","editing","initPlugins","664574bebgvP","updateSourceElement","14993270lWRqVR","sourceElement","document","137424TuHfut","locale","init","2384XAfDXy","2FcNNRb","data","_ui","453970wUMIeL","initialData","config","20628IjfehU","destroy","create","get","1266861AWdvRY","createRoot","20aNYaRs","3209898TJfHkx","ready","model","fire"];return(Wo=function(){return t})()}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=412]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(371195===parseInt(e(426))/1+-parseInt(e(435))/2*(-parseInt(e(416))/3)+parseInt(e(418))/4*(-parseInt(e(438))/5)+parseInt(e(419))/6+parseInt(e(431))/7+-parseInt(e(434))/8*(-parseInt(e(412))/9)+-parseInt(e(428))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[zo(437)];get ui(){return this[zo(437)]}constructor(t,e){const i=zo;super(e),this[i(429)]=t,this[i(421)][i(430)][i(417)]();const s=new Po(this[i(432)],this[i(424)][i(423)],{shouldToolbarGroupWhenFull:!0});this[i(437)]=new Eo(this,s)}[zo(413)](){const t=zo;return this[t(427)](),this.ui[t(413)](),super[t(413)]()}static async[zo(414)](t,e){const i=zo,s=new this(t,e);return await s[i(425)](),await s.ui[i(433)](t),await s[i(436)][i(433)](s[i(440)][i(415)](i(439))||""),s[i(422)](i(420)),s}}const Ho=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=265]})(t,e)}function $o(){const t=["name","isReadOnly","exitToEditing","has","refreshVisibility","error","toLocaleDateString","Autosave","locale","_cleanUp","destroy","revisionHistory.viewerEditorElement","fromCharCode","isEnabled","12502984aFxeau","enableReadOnlyMode","save","numeric","showRevisionViewerCallback","update","loadRevisionData","refreshPositioning","createRangeIn","removeSelectionAttribute","restrictedEditingException","markers","revisionHistory.closeRevisionViewerCallback","Dialog","editor","init","adapter","push","revisionHistory.showRevisionViewerCallback","_viewerEditor","keys","toJSON","setAttribute","insert","RevisionHistory","2366298DWgxjw","revisionHistory.editorContainer","isAttached","isReady","remove","_closeRevisionViewer","pluginName","toolbar","addRoot","getAttributeKeys","_recalculatePageBreaks","define","view","revisionHistory","14604xoiLDT","DocumentOutline","revision-history-viewer-opened","getRevision","indexOf","addRevisionData","result","removeMarker","toVersion","plugins","closeRevisionViewerCallback","setSelection","toLocaleTimeString","then","model","requires","addUser","repository","data","revisionHistory.requireRevisionName","change","RevisionHistoryUI","style","none","isOpen","restoreRevision","catch","removeAttribute","_update","set","selection","PaginationLookup","creator","translations","RevisionViewer","4951583BAtmoU","rootName","uiLanguage","getUser","element","RevisionViewerIntegration","bind","getMarkersGroup","isPremiumPlugin","2578200VxKqZG","RevisionHistoryUtils","getRevisionDocumentData","disableReadOnlyMode","_restoreRevision","_getRevisionViewerEditorConfig","Users","from","DocumentOutlineUI","getRevisionRootsAttributes","config","_enhanceShowRevisionViewerCallback","document","revisionHistory.viewerContainer","RevisionsRepository","long","485bIATKx","join","users","create","commands","9nvNiLj","changesNavigation","getRevisions","block","Annotations","913318xETwiC","revision-history-missing-configuration","_showRevisionViewer","createdAt","fromVersion","_enhanceCloseRevisionViewerCallback","isOfficialPlugin","end","includes","display","Restored","lazyRoots","879767qbdiKo","enqueueChange","detachRoot","hide","$graveyard","get","getRoot","revisionHistory.restoreRevisionCallback","RevisionTracker","parse","RestrictedEditingMode","roots","saveRevision","isAnonymous","map","isRevisionViewerOpen"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(553502===-parseInt(e(276))/1+-parseInt(e(415))/2+-parseInt(e(331))/3+parseInt(e(389))/4+parseInt(e(405))/5*(-parseInt(e(345))/6)+parseInt(e(380))/7+-parseInt(e(306))/8*(-parseInt(e(410))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Ho(366),Ho(286)];class Yo extends U.Plugin{[Ho(351)];static get[Ho(337)](){return Ho(385)}static get[Ho(270)](){return!0}static get[Ho(388)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(290)]((t=>String[e(304)](t)))[e(406)]("")}super(t),this[e(351)]=e(271),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Go extends U.Plugin{[Ho(325)];static get[Ho(337)](){return Ho(330)}static get[Ho(270)](){return!0}static get[Ho(388)](){return!0}static get[Ho(360)](){return[at,jt]}constructor(e){const i=Ho;if(super(e),!this[i(320)][i(399)][i(281)](i(344)))throw new t.CKEditorError(i(265),this);this[i(325)]=null,this[i(374)](i(291),!1),this[i(320)][i(399)][i(342)](i(324),(t=>this[i(266)]({...t,translations:this[i(320)][i(300)][i(378)]}))),this[i(320)][i(399)][i(342)](i(318),(t=>this[i(336)](t))),this[i(320)][i(399)][i(342)](i(283),(t=>this[i(393)](t))),this[i(320)][i(399)][i(342)](i(364),!1),this[i(400)](),this[i(269)]()}set[Ho(322)](t){const e=Ho;this[e(320)][e(354)][e(281)](e(284))[e(322)]=t}get[Ho(322)](){const t=Ho;return this[t(320)][t(354)][t(281)](t(284))[t(322)]}[Ho(350)](t){const e=Ho;return this[e(320)][e(354)][e(281)](e(284))[e(350)](t)}[Ho(348)](t){const e=Ho;return this[e(320)][e(354)][e(281)](e(403))[e(348)](t)}[Ho(412)](t){const e=Ho;return this[e(320)][e(354)][e(281)](e(403))[e(412)](t||{toJSON:!1})}[Ho(394)](){const e=Ho,i=this[e(320)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(354)][e(281)](e(284)),r=i[e(354)][e(281)](e(395))[e(407)];return s[e(338)]=[e(294),e(370),e(411)],delete s[e(275)],s[e(354)][e(323)](Yo,ee,be,class extends U.Plugin{static get[e(360)](){return[ee,e(395)]}[e(321)](){const s=e,o=this[s(320)][s(354)][s(281)](s(395));for(const t of r)t[s(289)]||o[s(383)](t.id)||o[s(361)](t);const a=n[s(362)][s(412)]();let c=null;const u=this[s(320)][s(354)][s(281)](s(379));u[s(322)]=n[s(322)],u[s(386)](s(305)).to(n),this[s(320)][s(409)][s(281)](s(370))[s(386)](s(305)).to(i,s(293),(t=>!t));for(const e of a){const i=null===e[s(377)];if(i&&e[s(353)]===e[s(268)])continue;const r=e[s(327)]();u[s(350)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(373)](r,o);else if(!o){const e=a[u(327)]();e.id=(0,t.uid)(),n[u(288)](e,a[u(353)])[u(358)]((t=>{c=t}))}}else e[u(373)](r,o)}))}}},Ro),s}[Ho(400)](){const t=Ho,e=this[t(320)][t(399)][t(281)](t(344))[t(310)];this[t(320)][t(399)][t(374)](t(324),(async()=>{const i=t;this[i(320)][i(307)](i(347));const s=this[i(320)][i(354)][i(281)](i(284));if(this[i(320)][i(354)][i(295)](i(299))){const t=this[i(320)][i(354)][i(281)](i(299));await t[i(308)]()}else await s[i(311)]();if(this[i(320)][i(354)][i(295)](i(376))&&this[i(320)][i(354)][i(281)](i(376))[i(341)](),this[i(320)][i(354)][i(295)](i(319))){const t=this[i(320)][i(354)][i(281)](i(319));t[i(369)]&&t[i(279)]()}const n=this[i(394)]();return e(n)[i(358)]((t=>{const e=i;return this[e(325)]=t,this[e(320)][e(354)][e(295)](e(414))&&this[e(320)][e(354)][e(281)](e(414))[e(296)](),this[e(320)][e(354)][e(295)](e(346))&&(this[e(320)][e(354)][e(281)](e(397))[e(343)][e(384)][e(367)][e(273)]=e(368)),t}))[i(371)]((t=>(console[i(297)](t),this[i(320)][i(392)](i(347)),null)))}))}[Ho(269)](){const t=Ho,e=this[t(320)][t(399)][t(281)](t(344))[t(355)];this[t(320)][t(399)][t(374)](t(318),(()=>(this[t(320)][t(354)][t(295)](t(376))&&this[t(320)][t(354)][t(281)](t(376))[t(341)](),this[t(320)][t(354)][t(295)](t(346))&&(this[t(320)][t(354)][t(281)](t(397))[t(343)][t(384)][t(367)][t(273)]=""),this[t(325)][t(354)][t(281)](t(379))[t(301)](),e(this[t(325)])[t(358)]((()=>{const e=t;if(this[e(320)][e(392)](e(347)),this[e(325)]=null,this[e(320)][e(354)][e(295)](e(414))){const t=this[e(320)][e(354)][e(281)](e(414));t[e(296)](),t[e(313)]()}})))))}[Ho(266)](t){const e=Ho,i=this[e(320)][e(399)][e(281)](e(332)),s=this[e(320)][e(399)][e(281)](e(402)),n=this[e(320)][e(399)][e(281)](e(303));return Zo[e(408)](n,t)[e(358)]((t=>(s[e(367)][e(273)]=e(413),i[e(367)][e(273)]=e(368),this[e(291)]=!0,t)))}[Ho(336)](t){const e=Ho,i=this[e(320)][e(399)][e(281)](e(332));return this[e(320)][e(399)][e(281)](e(402))[e(367)][e(273)]=e(368),i[e(367)][e(273)]="",this[e(291)]=!1,t[e(302)]()}async[Ho(393)](t){const e=Ho,i=this[e(320)],s=this[e(325)][e(354)][e(281)](e(379)),n=i[e(354)][e(281)](e(284)),r=i[e(354)][e(281)](e(390)),o=s[e(362)][e(348)](t);let a,c,u;try{await r[e(312)](o,this[e(322)]),a=r[e(391)](o),c=r[e(398)](o)}catch(t){return void console[e(297)](t)}i[e(359)][e(365)]((t=>{const s=e;for(const e of Array[s(396)](i[s(359)][s(317)][s(387)](s(316))))t[s(352)](e)})),s[e(334)]=!1,i[e(359)][e(277)]((t=>{const s=e;t[s(356)](null),t[s(315)](i[s(359)][s(401)][s(375)][s(340)]());const n=Object[s(326)](a);for(const e of i[s(359)][s(401)][s(287)])s(280)!=e[s(381)]&&e[s(333)]()&&!n[s(272)](e[s(381)])&&t[s(278)](e);for(const e of n){let n=i[s(359)][s(401)][s(282)](e);n&&n[s(333)]()||(n=t[s(339)](e));const r=c[e],o=Object[s(326)](r),u=a[e];for(const e of n[s(340)]())o[s(272)](e)||t[s(372)](e,n);for(const i of o)t[s(328)](i,c[e][i],n);t[s(335)](t[s(314)](n)),t[s(329)](i[s(363)][s(285)](u,n),n,0)}}));const l=X(i[e(300)],e(274));return u=o[e(292)]?-1==o[e(292)][e(349)](l)?l+": "+o[e(292)]:o[e(292)]:l+": "+o[e(267)][e(298)](i[e(300)][e(382)],{month:e(404),day:e(309)})+", "+o[e(267)][e(357)](i[e(300)][e(382)],{hour:e(309),minute:e(309)}),await n[e(288)]({name:u}),s[e(334)]=!0,i[e(399)][e(281)](e(344))[e(355)]()}}function Jo(t,e){var i=Ko();return(Jo=function(t,e){return i[t-=341]})(t,e)}function Ko(){var t=["6aOZfjY","444gUhaTJ","4194876Zjoaut","538289Aqvkox","64RDRsck","25965370vgewDS","18320vPqzUr","1451578fJeCLt","799137lmhKOA","5153430DUHOOz"];return(Ko=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(609101===-parseInt(e(343))/1+parseInt(e(347))/2+-parseInt(e(341))/3*(-parseInt(e(346))/4)+parseInt(e(349))/5+-parseInt(e(350))/6*(-parseInt(e(342))/7)+-parseInt(e(344))/8*(-parseInt(e(348))/9)+-parseInt(e(345))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|