@ckeditor/ckeditor5-revision-history 45.1.0 → 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:()=>W,RevisionHistory:()=>Go,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ot,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==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const M=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function D(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function E(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?E(e)?F(t,D(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function j(t,e){const i=z();return(j=function(t,e){return i[t-=496]})(t,e)}const P=j;function z(){const t=["creator","authors","45529MlwEKS","3041035PvsSFW","diffData","553937juaAlj","420903DtacGe","toVersion","fromVersion","8BXPFQb","creatorId","2cLwrTk","setName","model","2740011iSbrxL","removeAttribute","280rUvfzA","set","attributes","createdAt","5777718iYAgoE","fire","setAttribute","8429281CGEiLk","8KfaoVV","toJSON","_update","authorsIds","name","14496zFlGFR","map"];return(z=function(){return t})()}!function(t){const e=j,i=t();for(;;)try{if(666286===parseInt(e(521))/1*(-parseInt(e(496))/2)+parseInt(e(499))/3+-parseInt(e(525))/4*(parseInt(e(519))/5)+-parseInt(e(505))/6+-parseInt(e(508))/7*(parseInt(e(509))/8)+parseInt(e(522))/9*(-parseInt(e(501))/10)+parseInt(e(518))/11*(parseInt(e(514))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[P(516)];[P(517)];[P(520)];[P(523)];[P(524)];[P(498)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(516)]=e[i(516)]||null,this[i(517)]=e[i(517)]||[],this[i(520)]=e[i(520)]||null,this[i(523)]=e[i(523)]||0,this[i(524)]=e[i(524)]||0,this[i(502)](i(513),e[i(513)]||""),this[i(502)](i(504),e[i(504)]||new Date),this[i(502)](i(503),e[i(503)]||{})}[P(497)](t){this[P(511)]({name:t})}[P(507)](t,e){const i=P,s=A(this[i(503)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(511)]({attributes:s})}[P(500)](t){const e=P,i=A(this[e(503)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&E(e))return L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(511)]({attributes:i})}[P(511)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(513),i(504),i(520),i(517),i(503),i(523),i(524),i(526)];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(517)]&&(n[i(512)]=n[i(517)][i(515)]((t=>t.id)),delete n[i(517)]),this[i(506)](i(511),n,e))}[P(510)](){const t=P;return{id:this.id,name:this[t(513)],creatorId:this[t(516)]?this[t(516)].id:null,authorsIds:this[t(517)][t(515)]((t=>t.id)),diffData:this[t(520)],createdAt:this[t(504)],attributes:this[t(503)],fromVersion:this[t(524)],toVersion:this[t(523)]}}}var U=i(782),H=i(211),Z=i(783);const q=$;function B(){const t=["8bDGZIp","getLaterVisibleRevision","afterInit","getEarlierVisibleRevision","getIndex","newRevisionId","add","fromVersion","join","isNaN","1760160ZghZfB","createdAt","toJSON","isPremiumPlugin","push","authorsIds","getRevision","1288455MRCnUx","toVersion","later","_revisions","plugins","2257191vATMZx","getUser","8qmdfqJ","reverse","requires","Users","href","oldRevisionId","77834CWYsoY","RevisionsRepository","map","attributes","18872fISDOF","11BIrxTM","editor","pluginName","diffData","getRevisionsInDiff","get","name","getRevisions","getRevisionsIterator","fromCharCode","439875milKWu","2JyOmbK","4308730AmouBe","creatorId","data","length","createRevision","isOfficialPlugin","addRevision","from","earlier"];return(B=function(){return t})()}function $(t,e){const i=B();return($=function(t,e){return i[t-=105]})(t,e)}!function(t){const e=$,i=t();for(;;)try{if(152645===-parseInt(e(147))/1*(-parseInt(e(107))/2)+parseInt(e(106))/3*(parseInt(e(117))/4)+parseInt(e(134))/5+-parseInt(e(127))/6+parseInt(e(151))/7*(-parseInt(e(141))/8)+parseInt(e(139))/9+-parseInt(e(108))/10*(parseInt(e(152))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[q(137)];static get[q(143)](){return[H.Users]}static get[q(154)](){return q(148)}static get[q(113)](){return!0}static get[q(130)](){return!0}get[q(111)](){const t=q;return this[t(137)][t(111)]}constructor(e){const i=q;super(e),this[i(137)]=new t.Collection}[q(119)](){!async function(e){const i=k([57,50,52,82,119,103,108,98,76,73,105,101,48,81,113,117,51,114,85,122,54,106,74,80,70,110,120,88,109,89,104,84,86,75,68,111,116,71,49,97,99,107,87,102,78,115,90,79,112,100,67,66,77,72,69,121,56,53,118,83,55,65]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(126)](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([82]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(149)]((t=>String[e(105)](t)))[e(125)]("")}!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=$,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(145)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(112)](t){const e=q,i=this[e(153)][e(138)][e(157)](e(144));return new W({id:t.id,name:t[e(158)],creator:t[e(109)]?i[e(140)](t[e(109)]):null,diffData:t[e(155)]||t[e(110)],authors:t[e(132)][e(149)]((t=>i[e(140)](t))),createdAt:new Date(t[e(128)]),attributes:t[e(150)],fromVersion:t[e(124)],toVersion:t[e(135)]})}[q(114)](t,e=0){const i=q;this[i(137)][i(123)](t,e)}[q(133)](t){const e=q;return this[e(137)][e(157)](t)}[q(159)](t={toJSON:!1}){const e=q,i=Array[e(115)](this[e(137)]);return i[e(142)](),t[e(129)]?i[e(149)]((t=>t[e(129)]())):i}[q(121)](t){const e=q;return this[e(137)][e(121)](t)}[q(120)](t){const e=q,[,i]=this[e(160)](t,{direction:e(116)});return i}[q(118)](t){const e=q,[,i]=this[e(160)](t,{direction:e(136)});return i}[q(156)](t){const e=q,i=[];for(const s of this[e(160)](t[e(122)]))if(i[e(131)](s),s.id===t[e(146)])break;return i}*[q(160)](t,{direction:e=q(116),filter:i=()=>!0}={}){const s=q,n=s(116)===e?1:-1;let r=this[s(137)][s(157)](t),o=this[s(121)](r);for(yield r;r;){if(o+=n,r=this[s(133)](o),!r)return;i(r)&&(yield r)}}}function G(){const t=["constructor","1caVhFR","length","getRevision","get","4upsHDv","processor","toData","insertions","getFillerOffset","_makeModelFromViewString","data","parse","collaboration.channelId","childNodes","toModel","createElement","isPremiumPlugin","children","useFillerType","diffData","marked","_getTypeCharForViewElement","90jgSKbR","_removeRevisionMarkers","2677496HBTFQP","232998wLBmqP","htmlProcessor","editor","88tgPffL","_typeCharToViewClass","domConverter","_viewClassToTypeChar","config","domChildrenToView","from","revision-start","1568388oqtakF","domDocument","getRevisionRootsAttributes","8155062jVbSew","startsWith","attributes","view","getRevisionDocumentData","isAttached","_appendChild","editing","308483RqSBTr","attributesAfter","_setCustomProperty","customProperties","RevisionHistoryUtils","data-revision-","render","map","254050aDHUnv","name","innerHTML","viewChildrenToDom","isOfficialPlugin","type","document","pluginName","forEach","string","264lvIATv","filter","_getViewFromDiffObj","default","revision-end","append","fillerOffset","div","20180100doiitZ","attachChange","loadRevisionData"];return(G=function(){return t})()}function J(t,e){const i=G();return(J=function(t,e){return i[t-=129]})(t,e)}const K=J;!function(t){const e=J,i=t();for(;;)try{if(783560===parseInt(e(191))/1*(-parseInt(e(138))/2)+-parseInt(e(150))/3*(-parseInt(e(195))/4)+parseInt(e(136))/5*(parseInt(e(139))/6)+parseInt(e(161))/7*(-parseInt(e(142))/8)+-parseInt(e(153))/9+-parseInt(e(169))/10*(-parseInt(e(179))/11)+parseInt(e(187))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class X extends U.Plugin{static get[K(176)](){return K(165)}static get[K(173)](){return!0}static get[K(130)](){return!0}[K(145)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[K(143)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[K(189)](t,e){const i=K;if(t[i(133)]||!e)return;const s=this[i(141)][i(146)][i(194)](i(203)),n=await e[i(193)]({channelId:s,revisionId:t.id});t[i(133)]=n[i(133)]}[K(157)](t){const e=K,i={};for(const s in t[e(133)]){if(t[e(133)][s][e(188)]&&!t[e(133)][s][e(188)][e(158)])continue;const n=this[e(137)](JSON[e(202)](t[e(133)][s][e(198)])),r=this[e(141)][e(160)][e(156)][e(175)],o=new Z.ViewDocumentFragment(r,n[e(168)]((t=>this[e(181)](t,!1))));this[e(141)][e(201)][e(196)][e(132)](e(134)),i[s]=this[e(141)][e(201)][e(196)][e(197)](o),this[e(141)][e(201)][e(196)][e(132)](e(182))}return i}[K(152)](t){const e=K,i={};for(const s in t[e(133)])t[e(133)][s][e(188)]&&!t[e(133)][s][e(188)][e(158)]||(i[s]=t[e(133)][s][e(162)]||{});return i}[K(135)](t){const e=K;return this[e(145)][e(194)](t[e(190)])}[K(181)](t,e){const i=K,s=this[i(141)][i(160)][i(156)][i(175)];if(i(178)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(174)]||"r"==t[i(174)]?[]:t[i(131)][i(168)]((t=>this[i(181)](t,e)));const o=this[i(143)][i(194)](t[i(174)])||Z.ViewElement,a=this[i(141)][i(201)][i(140)][i(144)];if(n=new o(s,t[i(170)],t[i(155)],r),"u"==t[i(174)]&&t[i(131)][0]){const r=t[i(131)][0];if(n[i(167)]=function(t){const e=i,s=t[e(129)](e(186));return s[e(171)]=r,s[e(204)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(159)](n);const e=Array[i(148)](a[i(172)](t,{bind:!1})),r=a[i(151)][i(129)](i(186));r[i(184)](...e),n=Array[i(148)](a[i(147)](r))[0]}}else if("r"==t[i(174)]&&t[i(131)][0]){const r=t[i(131)][0];if(n[i(167)]=function(t){t[i(171)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(159)](n);const e=Array[i(148)](a[i(172)](t,{bind:!1})),r=a[i(151)][i(129)](i(186));r[i(184)](...e);const o=Array[i(148)](a[i(147)](r));o[i(192)]>1?n[i(159)](o):n=o[0]}}if(t[i(164)])for(const[e,s]of t[i(164)])n[i(163)](e,s);const c=void 0===t[i(185)]?null:t[i(185)];return null!==c&&(n[i(199)]=()=>c),n}}[K(200)](t){const e=K,i=JSON[e(202)](t),s=this[e(141)][e(160)][e(156)][e(175)],n=new Z.ViewDocumentFragment(s,i[e(168)]((t=>this[e(181)](t,!0))));return this[e(141)][e(201)][e(205)](n)}[K(137)](t){const e=K;return(t=t[e(180)]((t=>!t[e(170)]||e(149)!==t[e(170)]&&e(183)!==t[e(170)])))[e(177)]((t=>{const i=e;i(178)!=typeof t&&(t[i(131)]=this[i(137)](t[i(131)]),t[i(155)]=t[i(155)][i(180)]((t=>!t[0][i(154)](i(166)))))})),t}}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,M;const V=(s=s??new Map).get(t),D=s.get(i);if(null!=V&&null!=D)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ct;!function(t){const e=ct,i=t();for(;;)try{if(244504===parseInt(e(614))/1*(-parseInt(e(530))/2)+parseInt(e(661))/3+parseInt(e(398))/4*(-parseInt(e(458))/5)+-parseInt(e(569))/6*(-parseInt(e(620))/7)+-parseInt(e(644))/8*(-parseInt(e(656))/9)+parseInt(e(590))/10+-parseInt(e(658))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ut);class ot extends U.Plugin{[rt(402)];[rt(390)];[rt(481)]=null;[rt(421)];[rt(547)]=null;[rt(507)];[rt(545)];[rt(641)];[rt(400)];[rt(472)];[rt(671)];[rt(488)];[rt(611)];[rt(660)];static get[rt(396)](){return rt(366)}static get[rt(500)](){return!0}static get[rt(669)](){return!0}static get[rt(443)](){return[H.Users,Y,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(421)]=this[i(471)][i(368)][i(450)](i(647)),this[i(472)]=this[i(471)][i(368)][i(450)](i(678)),this[i(507)]=new at(this[i(471)]),this[i(641)]=this[i(471)][i(573)][i(450)](i(462))||i(387),this[i(400)]=new Map,this[i(660)]=null;const s=(0,t.uid)();this[i(545)]={history:this[i(471)][i(442)][i(525)][i(629)],getLatestVersion:()=>Promise[i(643)](this[i(471)][i(442)][i(525)][i(420)]),getCurrentRevisionId:()=>s},this[i(676)](i(376),!1),this[i(676)](i(511),!0),this[i(676)](i(391),!1),this[i(471)][i(573)][i(546)](i(425),!0),this[i(471)][i(681)][i(558)](i(609))[i(502)]({view:i(493)})}[rt(684)](){const t=rt;this[t(499)](),this[t(471)][t(555)].on(t(665),(()=>{const e=t,i=this[e(421)][e(393)](0),s=i&&null===i[e(419)]?i:null;if(this[e(488)]=!!s&&this[e(471)][e(573)][e(450)](e(425)),this[e(471)][e(368)][e(431)](e(404))){const t=this[e(545)][e(414)](),n=this[e(421)][e(393)](t);if(n)this[e(611)]=n[e(411)],this[e(488)]=!1;else{const t=this[e(545)][e(629)][e(528)][e(635)]((t=>!t[e(470)])),n=t?t[e(506)]:this[e(545)][e(629)][e(420)];i?(i[e(407)]<n&&i[e(522)]({toVersion:n}),this[e(488)]?(this[e(545)][e(414)]=()=>s.id,this[e(611)]=s[e(411)]):(this[e(611)]=i[e(407)],this[e(488)]=!1)):(this[e(611)]=n,this[e(488)]=!1)}}else s&&(this[e(471)][e(442)][e(525)][e(629)][e(420)]=Math[e(466)](s[e(407)],this[e(471)][e(442)][e(525)][e(629)][e(420)]),s[e(411)]===s[e(407)]?(0!==s[e(411)]&&(this[e(545)][e(414)]=()=>s.id),this[e(488)]=!1):this[e(488)]&&(this[e(545)][e(414)]=()=>s.id,this[e(611)]=s[e(411)])),this[e(488)]||(this[e(611)]=this[e(471)][e(442)][e(525)][e(420)]);this[e(507)][e(684)](this[e(545)][e(629)]),this[e(489)](this[e(611)]),this[e(601)](this[e(611)]),this[e(547)]&&this[e(435)]()})),this[t(606)](t(376)).to(this,t(391),(t=>!t)),this[t(402)]=this[t(471)][t(573)][t(450)](t(402));const e=this[t(471)];this[t(390)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(378)==r||i(454)==r||i(596)==r||i(538)==r||i(383)==r||i(618)==r||i(377)==r||i(556)==r){delete e[n],s=r,clearInterval(this[i(390)]),this[i(390)]=void 0;break}}i(454)==s&&e[i(519)](i(672)),i(596)==s&&e[i(519)](i(682)),i(538)==s&&e[i(519)](i(589)),i(383)==s&&e[i(519)](i(602),i(515)),i(618)==s&&e[i(519)](i(508)),i(377)==s&&e[i(519)](i(670)),i(556)==s&&e[i(519)](i(388))}),1e3)}async[rt(642)](){const t=rt;if(this[t(421)][t(579)]>0){const e=this[t(421)][t(393)](0),i=await this[t(473)](e),s=await this[t(374)](e);this[t(463)](i,s)}}[rt(514)](){const t=rt;super[t(514)](),this[t(390)]&&clearInterval(this[t(390)])}[rt(560)](t){this[rt(545)]=t}async[rt(418)](){const t=rt,e=await this[t(545)][t(621)]();if(e>this[t(481)][t(407)]){await this[t(689)]();const i=this[t(479)]({revision:this[t(481)],to:e});i[t(535)]=i[t(565)][t(403)]((e=>this[t(471)][t(368)][t(450)](t(551))[t(498)](e))),this[t(481)][t(522)](i)}}async[rt(645)](e={},i=null){const s=rt,n=[];await this[s(689)](),this[s(488)]=!1,i>this[s(481)][s(407)]&&(i=null),null===i&&(i=await this[s(545)][s(621)]());const r=this[s(667)](i),o=this[s(479)]({from:r,to:i});if(this[s(481)][s(407)]<i){const t=this[s(479)]({revision:this[s(481)],from:i,to:i});t[s(535)]=[],t[s(565)]=[],t.id=this[s(481)].id,this[s(481)][s(522)](t,!0),delete t[s(535)],n[s(496)](t)}e[s(495)]=this[s(471)][s(368)][s(450)](s(551)).me.id,e[s(459)]=e[s(459)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(662)](e);n[s(496)](e);const c=this[s(421)][s(683)](a);if(0!==c){const t=this[s(421)][s(393)](c-1);if(t[s(411)]!==i){const r=this[s(507)][s(518)](i,t[s(407)]),o={id:t.id,diffData:r[s(630)],authorsIds:r[s(565)],authors:r[s(565)][s(403)]((t=>this[s(471)][s(368)][s(450)](s(551))[s(498)](t))),fromVersion:i};t===this[s(481)]&&(o[s(469)]=new Date(e[s(469)][s(369)]()+10)),t[s(522)](o,!0),delete o[s(535)],n[s(496)](o)}}if(this[s(547)]){for(const t of n)this[s(550)](t.id,t,!0);this[s(435)]()}return a}[rt(662)](t){const e=rt,i=this[e(421)][e(395)](t);return this[e(547)]&&i.on(e(522),((t,i,s)=>{const n=e;s||(this[n(550)](i.id,i,!0),this[n(435)]())})),this[e(421)][e(622)](i,this[e(608)](i)),i}async[rt(473)](t){const e=rt;return await this[e(472)][e(485)](t,this[e(547)]),this[e(472)][e(473)](t)}async[rt(374)](t){const e=rt;return await this[e(472)][e(485)](t,this[e(547)]),this[e(472)][e(374)](t)}[rt(435)](){const t=rt;if(0===this[t(400)][t(603)])return;if(this[t(391)])return;let e=Array[t(605)](this[t(400)][t(371)]());this[t(400)][t(595)]();for(let i=0;i<e[t(579)];i++){const s=e[i];let n=!1;for(const e of Object[t(594)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(637)]((t=>null!==t)),!e[t(579)])return;for(let i=0;i<e[t(579)];i++){const s=e[i];void 0!==s[t(411)]&&void 0===s[t(407)]&&(s[t(407)]=this[t(421)][t(393)](s.id)[t(407)]),void 0!==s[t(407)]&&void 0===s[t(411)]&&(s[t(411)]=this[t(421)][t(393)](s.id)[t(411)])}const i=this[t(471)][t(573)][t(450)](t(462));this[t(391)]=!0,this[t(563)](),this[t(547)][t(557)](e,i)[t(624)]((()=>{this[t(391)]=!1}))[t(686)]((e=>{const i=t;if(e)for(const t of e)this[i(591)]({id:t.id,createdAt:t[i(469)]});this[i(523)](),this[i(435)]()}))}[rt(479)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(411)],i=null!==i?i:t[s(407)];const n=this[s(507)][s(518)](e,i),r={diffData:n[s(630)],authorsIds:n[s(565)],fromVersion:e,toVersion:i};if(!t||i!==t[s(407)]){const t=i-1,e=this[s(545)][s(629)][s(581)](t);r[s(469)]=e&&e[s(469)]||new Date}if(this[s(660)]&&e===this[s(660)][s(411)])for(const t of this[s(660)][s(535)])r[s(565)][s(626)](t.id)||r[s(565)][s(496)](t.id);return r}[rt(550)](t,e,i){const s=rt;if(this[s(400)][s(431)](t)){const n=this[s(400)][s(450)](t);e=i?{...n,...e}:{...e,...n}}this[s(400)][s(676)](t,e)}[rt(591)](t){const e=rt,i=this[e(421)][e(393)](t.id);if(t[e(469)]&&(t[e(469)]=new Date(t[e(469)])),t[e(565)]){const i=this[e(471)][e(368)][e(450)](e(551));t[e(535)]=t[e(565)][e(403)]((t=>i[e(498)](t)))}i[e(522)](t,!0)}[rt(489)](t){const e=rt,i=this[e(421)][e(393)](this[e(421)][e(579)]-1);if(i)this[e(641)]=i.id;else{const i=!this[e(471)][e(442)][e(525)][e(639)][e(635)]((t=>this[e(471)][e(442)][e(505)](t))),s=this[e(471)][e(368)][e(450)](e(551)).me.id,n=Q(this[e(471)][e(613)],e(i?379:619));this[e(433)]({from:t,to:t,id:this[e(641)],name:n,creatorId:s})}}[rt(601)](t){const e=rt,i=this[e(545)][e(414)]();this[e(481)]=this[e(421)][e(393)](i),this[e(481)]||(this[e(481)]=this[e(433)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(689)](){const t=rt;this[t(488)]&&!this[t(660)]&&(await this[t(472)][t(485)](this[t(481)],this[t(547)]),this[t(507)][t(577)](this[t(481)]),this[t(660)]={fromVersion:this[t(481)][t(411)],authors:this[t(481)][t(535)][t(405)]()})}[rt(463)](e,i){const s=rt;let n=this[s(471)][s(573)][s(450)](s(375)),r=this[s(471)][s(573)][s(450)](s(541));if(void 0===n){n={};for(const t of this[s(471)][s(442)][s(525)][s(685)]())n[t]=""}if(s(592)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(471)][s(442)][s(525)][s(685)]())r[t]={}}let o=!1;const a=Object[s(594)](n),c=Object[s(594)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(415)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(594)](r[t])[s(579)]>0){o=!0;break}}o||(o=c[s(490)]((t=>!this[s(471)][s(442)][s(525)][s(426)](t)))),o&&(0,t.logWarning)(s(549),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(471)][s(573)][s(676)](s(375),e),this[s(471)][s(573)][s(676)](s(541),i)}[rt(563)](){const t=rt;if(!this[t(671)]){const e=this[t(471)][t(368)][t(450)](t(468));this[t(671)]=e[t(587)](Q(this[t(471)][t(613)],t(464)))}}[rt(523)](){const t=rt;this[t(671)]&&(this[t(471)][t(368)][t(450)](t(468))[t(447)](this[t(671)]),this[t(671)]=null)}[rt(608)](t){const e=rt,i=this[e(421)][e(441)]();i[e(636)]();let s=0;for(;s<i[e(579)];){const n=i[s];if(n===this[e(481)]){s++;continue}if(n.id===this[e(641)])break;const r=t[e(407)]-n[e(407)]||t[e(411)]-n[e(411)];if(r>0)break;if(r<0)s++;else{if(!t[e(419)]&&n[e(419)])break;if(n[e(419)]||!t[e(419)]){if(t[e(469)]>n[e(469)])break;s++}else s++}}return s}[rt(667)](t){const e=rt,i=this[e(421)][e(441)]();i[e(636)](),i[e(386)]();const s=i[e(635)]((i=>i[e(407)]<=t))[e(407)];return s<this[e(611)]?this[e(611)]:s}[rt(433)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(479)]({from:e,to:i});o[r(459)]=t,o[r(495)]=s,o.id=n;const a=this[r(662)](o);return this[r(547)]&&this[r(550)](o.id,o,!0),a}[rt(499)](){const t=rt;this[t(471)][t(681)][t(558)](t(417))[t(650)]({model:t(493)})}}class at{[rt(471)];[rt(584)];[rt(531)];[rt(571)];[rt(600)];[rt(542)];[rt(534)];[rt(677)];[rt(439)];[rt(487)];[rt(638)];[rt(648)];[rt(568)];[rt(461)];[rt(651)];[rt(409)];[rt(516)];constructor(t){const e=rt;this[e(471)]=t,this[e(531)]=new Map,this[e(571)]=-1,this[e(600)]=-1,this[e(542)]=new Map,this[e(534)]=new Map,this[e(677)]=new Map,this[e(439)]=new Map,this[e(487)]=new Map,this[e(638)]=new Map,this[e(648)]=new Map,this[e(568)]=new Map,this[e(461)]=new Map,this[e(651)]=new Map,this[e(409)]=1}[rt(684)](t){const e=rt;this[e(584)]=t;const i=new Map,s=new Map,n=this[e(471)][e(442)][e(525)][e(639)][e(403)]((t=>t[e(567)]));for(const t of n){const n=this[e(471)][e(442)][e(525)][e(426)](t),r=lt(n);i[e(676)](t,r),s[e(676)](t,Object[e(465)](n[e(640)]()))}const r=Array[e(605)](this[e(471)][e(442)][e(553)])[e(403)]((t=>[t[e(459)],t[e(430)]()])),o=this[e(584)][e(420)];this[e(548)](o,i,r,s),this[e(516)]=this[e(409)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(676)](t,i),c[e(676)](t,{})}this[e(548)](Number[e(586)],a,[],c)}[rt(518)](t,e){const i=rt;if(this[i(571)]===t&&this[i(600)]<=e)this[i(531)][i(603)]>1&&this[i(615)](this[i(600)]),this[i(680)](this[i(600)],e,!0);else{if(!this[i(531)][i(431)](t)){const e=this[i(412)](t);this[i(432)](e,t,!1)}this[i(432)](t,e,!0)}return this[i(571)]=t,this[i(600)]=e,this[i(582)]()}[rt(577)](t){const e=rt,i=this[e(471)][e(368)][e(450)](e(678));this[e(389)](),this[e(571)]=t[e(411)],this[e(600)]=t[e(407)];for(const s in t[e(630)]){const n=t[e(630)][s][e(445)],r=A(t[e(630)][s][e(654)])||{},o=i[e(617)](t[e(630)][s][e(449)]);o[e(567)]=s,o[e(437)]=!n||!n[e(526)],o[e(526)]=()=>o[e(437)],this[e(439)][e(676)](s,o),this[e(487)][e(676)](s,r),n&&this[e(651)][e(676)](s,n);const a=this[e(524)](o);this[e(648)][e(676)](s,a);for(const[t,i]of o[e(553)]){if(!t[e(554)](e(588)))continue;const s=t[e(564)](":")[2];for(const t of i[e(436)]({singleCharacters:!0})){const i=this[e(668)](t),n=e(634)==t[e(486)]?t[e(659)][e(491)][e(405)](0,-1):t[e(659)][e(491)],r=a[e(424)](n)[e(380)](i);this[e(568)][e(676)](r,{userId:s})}}}this[e(516)]=this[e(409)];const s=[...Array(this[e(409)])[e(594)]()][e(405)](1)[e(637)]((t=>!this[e(568)][e(431)](t)));let n=0;const r=new Map;for(const o in t[e(630)]){const a=t[e(630)][o][e(445)],c=A(t[e(630)][o][e(537)])||{},u=i[e(617)](t[e(630)][o][e(597)]);u[e(567)]=o,u[e(437)]=!a||a[e(526)],u[e(526)]=()=>u[e(437)],this[e(534)][e(676)](o,u),this[e(677)][e(676)](o,c);const l=this[e(524)](u,Number[e(586)]);this[e(638)][e(676)](o,l),r[e(676)](o,u[e(526)]()?c:{});for(const[t,i]of u[e(553)]){if(!t[e(554)](e(588)))continue;const s=t[e(564)](":")[2];for(const t of i[e(436)]({singleCharacters:!0})){const i=this[e(668)](t),n=this[e(409)]++,r=e(634)==t[e(486)]?t[e(659)][e(491)][e(405)](0,-1):t[e(659)][e(491)];l[e(424)](r)[e(607)](i,n),this[e(568)][e(676)](n,{userId:s})}}for(const t of this[e(471)][e(442)][e(434)](u)[e(436)]({singleCharacters:!0})){const i=this[e(668)](t),r=e(634)==t[e(486)]?t[e(659)][e(491)][e(405)](0,-1):t[e(659)][e(491)],o=l[e(424)](r);o[e(380)](i)>0||o[e(607)](i,s[n++])}for(const[t,i]of u[e(553)])t[e(554)](e(588))||this[e(542)][e(676)](t,i)}const o=ht(e(532));this[e(439)][e(676)](e(532),o),this[e(648)][e(676)](e(532),this[e(524)](o,1));const a=ht(e(532));this[e(534)][e(676)](e(532),a),this[e(638)][e(676)](e(532),this[e(524)](a,1));const c=Array[e(605)](this[e(534)])[e(403)]((([t,e])=>[t,lt(e)]));this[e(548)](this[e(600)],c,this[e(542)],r)}[rt(520)](){const t=rt;this[t(389)](),this[t(571)]=-1,this[t(600)]=-1,this[t(531)][t(595)](),this[t(684)](this[t(584)])}[rt(548)](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(676)](t,{start:e[n(427)][n(673)](),end:e[n(536)][n(673)](),rootName:e[n(646)][n(567)]});this[n(531)][n(676)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(615)](t){const e=rt;this[e(531)][e(401)](t)}[rt(389)](){const t=rt;this[t(568)][t(595)](),this[t(461)][t(595)](),this[t(651)][t(595)](),this[t(534)][t(595)](),this[t(677)][t(595)](),this[t(439)][t(595)](),this[t(487)][t(595)](),this[t(638)][t(595)](),this[t(648)][t(595)](),this[t(542)][t(595)](),this[t(409)]=1,this[t(516)]=this[t(409)]}[rt(524)](t,e=null){const i=rt;let s=null;t.is(i(474))||(s=new Z.Element(t[i(459)],{vid_start:null===e?this[i(409)]++:e++}));const n=[];for(const s of t[i(483)]())if(s.is(i(585))){n[i(496)](this[i(524)](s,e));const t=n[n[i(579)]-1];null!==e&&(e=t.is(i(585),i(423))?t[i(380)](i(497))+1:t[i(380)](i(484))+1)}else for(let t=0;t<s[i(504)];t++)n[i(496)](new Z.Element(i(423),{vid:null===e?this[i(409)]++:e++}));if(t.is(i(474))){const e=ht(t[i(567)]);return e[i(476)](0,n),e}return s[i(607)](i(484),null===e?this[i(409)]++:e++),s[i(476)](0,n),s}[rt(432)](t,e,i){const s=rt;this[s(389)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(531)][s(450)](t);this[s(439)]=new Map(n),this[s(487)]=new Map(A(o));for(const[t,e]of this[s(439)])if(s(532)!==t&&(this[s(534)][s(676)](t,lt(e)),this[s(677)]=new Map(A(o)),i)){const i=this[s(409)];this[s(638)][s(676)](t,this[s(524)](e)),this[s(648)][s(676)](t,this[s(524)](e,i))}this[s(516)]=this[s(409)],this[s(534)][s(676)](s(532),lt(this[s(439)][s(450)](s(532)))),i&&this[s(638)][s(676)](s(532),this[s(524)](this[s(439)][s(450)](s(532))));for(const[t,e]of r){const i=this[s(439)][s(450)](e[s(567)]),n=this[s(534)][s(450)](e[s(567)]),r=new Z.Range(this[s(444)](e[s(427)],i),this[s(444)](e[s(536)],i)),o=this[s(574)](r,n);i[s(553)][s(676)](t,r),this[s(542)][s(676)](t,o)}this[s(680)](t,e,i)}[rt(680)](t,e,i){const s=rt;for(const n of this[s(584)][s(616)](t,e))this[s(679)](n,i);for(const t of this[s(534)][s(371)]())t[s(553)][s(595)]();for(const[t,e]of this[s(542)])this[s(534)][s(450)](e[s(646)][s(567)])[s(553)][s(676)](t,e[s(673)]());const n=new Map,r=new Map;for(const[t,e]of this[s(534)])n[s(676)](t,lt(e)),r[s(676)](t,this[s(677)][s(450)](t));this[s(548)](e,n,this[s(542)],r)}[rt(412)](t){const e=rt,i=Array[e(605)](this[e(531)][e(594)]());i[e(552)](((t,e)=>t-e)),i[e(636)]();for(const e of i)if(e<t)return e;return Number[e(586)]}[rt(370)](t,e){const i=rt,s=Array[i(605)](e[i(553)])[i(403)]((([e,s])=>[e,this[i(574)](s,t)]));t[i(553)]=new Map(s)}[rt(385)](t){const e=rt;for(const i of this[e(542)][e(371)]()){const s=i[e(408)](t),n=Z.Range[e(413)](s);i[e(427)]=n[e(427)],i[e(536)]=n[e(536)]}}[rt(679)](t,e){const i=rt;if(i(478)!=t[i(486)]&&i(406)!=t[i(486)]){if(i(604)==t[i(486)]){const s=t[i(512)][i(646)][i(567)];this[i(534)][i(431)](s)||(this[i(534)][i(676)](s,ht(s,!0)),this[i(677)][i(676)](s,{}),e&&this[i(638)][i(676)](s,ht(s,!0)))}else{if(i(492)==t[i(486)]||i(539)==t[i(486)]||i(632)==t[i(486)])return void this[i(529)](t);i(416)==t[i(486)]&&this[i(675)](t)}if(i(416)!==t[i(486)]){const e=this[i(521)](t,this[i(534)]);e[i(451)](),this[i(385)](e)}if(e)switch(t[i(486)]){case i(604):this[i(687)](t);break;case i(663):case i(447):case i(452):this[i(392)](t);break;case i(627):this[i(610)](t);break;case i(564):this[i(467)](t)}}else this[i(653)](t,e)}[rt(521)](t,e){const i=rt,s=t[i(673)]();return s[i(517)]=t[i(517)],this[i(440)](s,e),s}[rt(599)](t){const e=rt;return t[e(403)]((t=>{const i=e,s=this[i(668)](t);return Number(t[i(410)][i(380)](s))}))}[rt(494)](t,e){const i=rt;if(t.is(i(585),i(423)))e[i(496)]({item:t,type:i(533)});else{t.is(i(585))&&e[i(496)]({item:t,type:i(422)});for(const s of t[i(483)]())this[i(494)](s,e);t.is(i(585))&&e[i(496)]({item:t,type:i(634)})}return e}[rt(582)](){const t=rt,e=new Map(this[t(568)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(439)][t(594)](),...this[t(534)][t(594)]()]);a[t(401)](t(532));for(const e of a){const i=this[t(534)][t(450)](e)||ht(e,!1),s=this[t(439)][t(450)](e)||ht(e,!1);i[t(526)]()||s[t(526)]()?(n[t(597)][e]=lt(i),n[t(449)][e]=lt(s),this[t(370)](n[t(449)][e],s),this[t(370)](n[t(597)][e],i),r[t(597)][e]=this[t(494)](this[t(638)][t(450)](e),[]),r[t(449)][e]=this[t(494)](this[t(648)][t(450)](e)||ht(e,!1),[])):a[t(401)](e)}for(const n of a){const o=r[t(597)][n];for(const n of o){const r=this[t(668)](n),o=n[t(410)][t(380)](r);i[t(401)](o),o>=this[t(516)]&&s[t(676)](o,e[t(450)](o))}}for(const n of a){const a=r[t(597)][n],c=this[t(599)](r[t(449)][n]);let u=0;for(const n of a){const r=this[t(668)](n),a=n[t(410)][t(380)](r);if(!s[t(431)](a)&&!o[t(431)](a))if(i[t(431)](a))u++;else{if(a!=c[u]){const s=e[t(450)](a)||e[t(450)](c[u]);for(;a!=c[u];)i[t(431)](c[u])||(o[t(676)](c[u],s),e[t(676)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(597)][e];for(const e of n){const n=this[t(668)](e),r=e[t(410)][t(380)](n);if(o[t(431)](r)){const e=o[t(450)](r);i[t(431)](r)||i[t(676)](r,{...e}),s[t(676)](r,{...e})}}}for(const e of i[t(594)]())e>=this[t(516)]&&i[t(401)](e);const c=new Map;for(const e of a){let n=r[t(597)][e];for(const e of n)if(e[t(410)].is(t(585),t(509))){const i=this[t(668)](e),n=e[t(410)][t(380)](i);if(s[t(431)](n)){const i=e[t(410)][t(448)][t(448)][t(380)](t(576)),r=c[t(450)](i)||new Set;r[t(587)](s[t(450)](n)[t(501)]),c[t(676)](i,r)}}n=r[t(449)][e];for(const e of n)if(e[t(410)].is(t(585),t(509))){const s=this[t(668)](e),n=e[t(410)][t(380)](s);if(i[t(431)](n)){const s=e[t(410)][t(448)][t(448)][t(380)](t(576)),r=c[t(450)](s)||new Set;r[t(587)](i[t(450)](n)[t(501)]),c[t(676)](s,r)}}for(const e of c[t(594)]())(s[t(431)](e)||i[t(431)](e))&&c[t(401)](e)}for(const e of a){const n=r[t(597)][e];let o=null,a=null;for(const e of n){const n=this[t(668)](e),r=e[t(410)][t(380)](n),u=c[t(450)](r);u&&t(422)==e[t(486)]&&(o=Array[t(605)](u)[0],a=e[t(410)][t(380)](t(484))),o&&(i[t(676)](r,{userId:o}),s[t(676)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(449)][e],a=n[t(597)][e];for(const{userId:e}of this[t(461)][t(371)]())null!==e&&l[t(587)](e);for(const{userId:e}of this[t(651)][t(371)]())null!==e&&l[t(587)](e);this[t(460)](a,r[t(597)][e],s,t(446),l),this[t(460)](o,r[t(449)][e],i,t(453),l),u[e]={insertions:this[t(559)](a),deletions:this[t(559)](o),attachChange:this[t(651)][t(450)](e)||null,attributesBefore:A(this[t(487)][t(450)](e))||{},attributesAfter:A(this[t(677)][t(450)](e))}}return{diffData:u,authorsIds:Array[t(605)](l)}}[rt(373)](t){const e=rt;for(const[,i]of t[e(553)]){const t=i[e(427)][e(628)]()[e(637)]((t=>e(509)==t[e(459)]));for(const i of t)1==i[e(666)]&&i[e(510)](0).is(e(585),e(583))&&i[e(510)](0)[e(607)](e(570),!0)}}[rt(559)](t){const e=rt;this[e(373)](t);const i=this[e(471)][e(555)][e(578)](t,{}),s=Array[e(605)](i[e(483)]())[e(403)]((t=>this[e(655)](t)));return JSON[e(482)](s)}[rt(655)](t){const e=rt;if(t.is(e(423)))return t[e(555)];{const i=this[e(471)][e(368)][e(450)](e(678)),s=t,n=this[e(471)][e(555)][e(543)][e(503)],r={type:i[e(674)](s),name:s[e(459)],attributes:Array[e(605)](s[e(640)]()),children:Array[e(605)](s[e(483)]())[e(403)]((t=>this[e(655)](t)))};if(t.is(e(657))&&e(429)!=t[e(459)]){const i=t[e(561)](n[e(652)],n);r[e(399)][e(496)](i[e(456)])}else if(t.is(e(625))){const i=n[e(652)][e(544)](s[e(459)]);t[e(561)](i,n),r[e(399)][e(496)](i[e(477)])}const o=Array[e(605)](s[e(397)]());o[e(579)]>0&&(r[e(475)]=o);const a=s[e(384)]();return null!==a&&(r[e(575)]=a),r}}[rt(460)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(471)][r(442)];for(let s=0;s<e[r(579)];s++){const n=this[r(668)](e[s]),c=e[s][r(410)][r(380)](n),h=i[r(450)](c),d=s==e[r(579)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(501)]!=o[r(501)])&&(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(501)],d=l(588)+s+":"+h+":"+c++,f=u[l(428)](i,a);t[l(553)][l(676)](d,f),null!==h&&n[l(587)](h)}}[rt(668)](t){const e=rt;switch(t[e(486)]){case e(422):return e(576);case e(634):return e(484);default:return e(497)}}[rt(440)](t,e){const i=rt;t[i(506)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(450)](n[i(646)][i(567)]);t[s]=this[i(444)](n,r)}if(n instanceof Z.Range){const r=e[i(450)](n[i(646)][i(567)]);t[s]=this[i(574)](n,r)}i(646)===s&&(t[i(646)]=e[i(450)](t[i(646)][i(567)]))}}[rt(574)](t,e){const i=rt;return this[i(471)][i(442)][i(428)](this[i(444)](t[i(427)],e),this[i(444)](t[i(536)],e))}[rt(444)](t,e){const i=rt;return this[i(471)][i(442)][i(593)](e,t[i(491)],t[i(381)])}[rt(687)](t){const e=rt,i=this[e(638)][e(450)](t[e(512)][e(646)][e(567)]),s=this[e(444)](t[e(512)],i),n=null===t[e(517)]?null:t[e(517)]||this[e(471)][e(368)][e(450)](e(551)).me.id,r=s[e(448)],o=this[e(409)],a=[];for(const i of t[e(438)])if(i.is(e(585)))a[e(496)](this[e(524)](i));else for(let t=0;t<i[e(504)];t++)a[e(496)](new Z.Element(e(423),{vid:this[e(409)]++}));const c=this[e(409)];for(let t=o;t<c;t++)this[e(568)][e(676)](t,{userId:n});r[e(476)](s[e(566)],a)}[rt(392)](t){const e=rt;(t=this[e(521)](t,this[e(638)]))[e(451)]();const i=null===t[e(517)]?null:t[e(517)]||this[e(471)][e(368)][e(450)](e(551)).me.id,s=t[e(540)](),n=s[e(448)],r=s[e(566)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(510)](e);r.is(a(585),a(423))?s[a(676)](r[a(380)](a(497)),{userId:i}):(s[a(676)](r[a(380)](a(576)),{userId:i}),t(s,r,0,r[a(666)]),s[a(676)](r[a(380)](a(484)),{userId:i}))}}(this[e(568)],n,r,r+t[e(455)])}[rt(610)](t){const e=rt,i=null===(t=this[e(521)](t,this[e(638)]))[e(517)]?null:t[e(517)]||this[e(471)][e(368)][e(450)](e(551)).me.id,s=t[e(562)][e(448)],n=t[e(633)][e(448)],r=s[e(380)](e(484)),o=n[e(380)](e(576));s[e(607)](e(484),n[e(380)](e(484))),n[e(607)](e(484),r),this[e(568)][e(676)](o,{userId:i}),this[e(568)][e(676)](r,{userId:i}),t[e(451)]()}[rt(467)](t){const e=rt,i=null===(t=this[e(521)](t,this[e(638)]))[e(517)]?null:t[e(517)]||this[e(471)][e(368)][e(450)](e(551)).me.id,s=t[e(457)],n=t[e(598)][e(448)];t[e(451)]();const r=n[e(380)](e(484)),o=t[e(513)][e(688)];if(s){const t=o[e(380)](e(484)),s=n[e(380)](e(484));n[e(607)](e(484),t),o[e(607)](e(484),s),this[e(568)][e(676)](n[e(380)](e(484)),{userId:i}),this[e(568)][e(676)](o[e(380)](e(576)),{userId:i})}else{const t=this[e(409)]++,s=this[e(409)]++;n[e(607)](e(484),t),o[e(607)](e(576),s),o[e(607)](e(484),r),this[e(568)][e(676)](t,{userId:i}),this[e(568)][e(676)](s,{userId:i})}}[rt(675)](t){const e=rt;if(!t[e(367)])return;const i=(t=this[e(521)](t,this[e(534)]))[e(612)]?t[e(612)][e(646)]:null,s=t[e(623)]?t[e(623)][e(646)]:null;i&&this[e(542)][e(401)](t[e(459)]),s&&this[e(542)][e(676)](t[e(459)],t[e(623)][e(673)]());const n=null===t[e(517)]?null:t[e(517)]||this[e(471)][e(368)][e(450)](e(551)).me.id,r=t[e(459)];if(!this[e(461)][e(431)](r))return void this[e(461)][e(676)](r,{range:t[e(612)],userId:n});const o=this[e(461)][e(450)](r),a=o[e(382)],c=t[e(623)];null==a&&null==c||a&&c&&a[e(394)](c)?this[e(461)][e(401)](t[e(459)]):o[e(501)]=n}[rt(653)](t,e){const i=rt;this[i(534)][i(431)](t[i(567)])?this[i(534)][i(450)](t[i(567)])[i(437)]=t[i(572)]:(this[i(534)][i(676)](t[i(567)],ht(t[i(567)],!0)),this[i(677)][i(676)](t[i(567)],{}),e&&this[i(638)][i(676)](t[i(567)],ht(t[i(567)],!0)));const s=null===t[i(517)]?null:t[i(517)]||this[i(471)][i(368)][i(450)](i(551)).me.id,n=this[i(651)][i(450)](t[i(567)]);n&&n[i(501)]===s?this[i(651)][i(401)](t[i(567)]):this[i(651)][i(676)](t[i(567)],{userId:s,isAttached:t[i(572)]})}[rt(529)](t){const e=rt,i=this[e(677)][e(450)](t[e(646)][e(567)]);null===t[e(580)]?delete i[t[e(527)]]:i[t[e(527)]]=t[e(580)]}}function ct(t,e){const i=ut();return(ct=function(t,e){return i[t-=366]})(t,e)}function ut(){const t=["_getState","paragraph","source","element","NEGATIVE_INFINITY","add","revision:","domainLimit","710570bheQqV","setRevisionData","string","createPositionFromPath","keys","clear","revisionHistoryLicenseKeyExpired","insertions","splitPosition","_getBaseVids","_lastTo","_createCurrentRevision","featureNotAllowed","size","insert","from","bind","_setAttribute","_findInsertionIndex","upcast","_handleMergeOperation","_startingVersion","oldRange","locale","179MrtyHg","_removeMetaData","getOperations","_makeModelFromViewString","revisionHistoryLicenseKeyEvaluationLimit","Initial revision","133UtFrab","getLatestVersion","addRevision","newRange","finally","rawElement","includes","merge","getAncestors","history","diffData","createPositionAfter","changeRootAttribute","sourcePosition","elementEnd","find","reverse","filter","_idsRoots","roots","getAttributes","_initialRevisionId","afterInit","resolve","2789912FMCpYj","saveRevision","root","RevisionsRepository","_baseIdsRoots","_appendChild","markerToData","_touchedRoots","domDocument","_handleRootOperation","attributesBefore","_getViewJson","9OkBpeA","uiElement","1880043sOnbrQ","previousPosition","_loadedStateData","169788COWyrB","addRevisionData","move","_clone","ready","childCount","_getFromVersion","_getVidAttributeName","isPremiumPlugin","trialLimit","_pendingAction","invalid","clone","_getTypeCharForViewElement","_handleMarkerOperation","set","_diffRootsAttributes","RevisionHistoryUtils","_handleOperation","_applyOperations","conversion","expired","getIndex","init","getRootNames","then","_handleInsertOperation","nodeAfter","_loadState","RevisionTracker","affectsData","plugins","getTime","_copyMarkers","values","createPositionAt","_processRootBeforeSave","getRevisionRootsAttributes","initialData","isReady","revisionHistoryLicenseKeyTrialLimit","revisionHistoryLicenseKeyValid","Empty document","getAttribute","stickiness","range","revisionHistoryLicenseKeyNotAllowed","getFillerOffset","_transformMarkers","shift","initial","usageLimit","_reset","_licenseKeyCheckInterval","_isPendingUpdate","_handleMoveOperation","getRevision","isEqual","createRevision","pluginName","getCustomProperties","562260vTOYWg","children","_bufferedUpdates","delete","licenseKey","map","RealTimeCollaborationClient","slice","detachRoot","toVersion","getTransformedByOperation","_revisionId","item","fromVersion","_getPreviousFrom","_createFromRanges","getCurrentRevisionId","trim","marker","dataDowncast","update","creator","version","repository","elementStart","$text","getNodeByPath","revisionHistory.resumeUnsavedRevision","getRoot","start","createRange","$comment","getRange","has","_calculateMetaData","_makeRevision","createRangeIn","sendBufferedUpdates","getWalker","_isAttached","nodes","_baseRoots","_fixOperation","getRevisions","model","requires","_fixPosition","attachChange","insertion","remove","parent","deletions","get","_execute","reinsert","deletion","revisionHistoryLicenseKeyInvalid","howMany","outerHTML","graveyardPosition","15DqlKLG","name","_markChanges","_touchedMarkers","collaboration.channelId","_replaceEditorDataWithRevisionData","PENDING_ACTION_REVISION_HISTORY","fromEntries","max","_handleSplitOperation","PendingActions","createdAt","_isInit","editor","_utils","getRevisionDocumentData","documentFragment","customProperties","_insertChild","innerHTML","addRoot","buildRevisionData","createPositionBefore","currentRevision","stringify","getChildren","vid_end","loadRevisionData","type","_baseRootsAttributes","_continueCurrentRevision","_createInitialRevision","some","path","addRootAttribute","revision","_generateTape","creatorId","push","vid","getUser","_setConversion","isOfficialPlugin","userId","dataToMarker","domConverter","offsetSize","hasContent","baseVersion","_revisionDataBuilder","evaluationLimit","tableCell","getChild","isEnabled","position","insertionPosition","destroy","RevisionHistory","_startingRevisionId","_authorId","getData","_showLicenseError","reInit","_cloneOperation","_update","_removePendingAction","_makeIdsRoot","document","isAttached","key","_operations","_handleRootAttributeOperation","906viUCLG","_savedMetaData","$graveyard","text","_diffRoots","authors","end","attributesAfter","revisionHistoryLicenseKeyDomainLimit","removeRootAttribute","getMovedRangeStart","rootsAttributes","_markers","htmlProcessor","createElement","_source","define","adapter","_saveMetaData","editor-initial-data-replaced-with-revision-data","_bufferUpdate","Users","sort","markers","startsWith","data","revisionHistoryLicenseKeyUsageLimit","updateRevisions","for","_prepareViewToSave","setSource","render","targetPosition","_addPendingAction","split","authorsIds","offset","rootName","_touched","139518sGeZYs","keepParagraph","_lastFrom","isAdd","config","_fixRange","fillerOffset","vid_start","loadState","toView","length","newValue","getOperation"];return(ut=function(){return t})()}function lt(t){const e=rt,i=ht(t[e(567)],t[e(526)]());for(const s of t[e(483)]()){const t=s[e(664)](!0);i[e(649)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(567)]=t,s[i(437)]=e,s[i(526)]=()=>s[i(437)],s}function dt(t,e,i){const s=rt,n=s(634)==t[s(486)]?i[s(372)](t[s(410)],s(536)):i[s(480)](t[s(410)]);return i[s(593)](e,n[s(491)],n[s(381)])}function ft(t,e,i){const s=rt,n=s(422)==t[s(486)]?i[s(372)](t[s(410)],0):i[s(631)](t[s(410)]);return i[s(593)](e,n[s(491)],n[s(381)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Mt;function Mt(t,e){const i=Dt();return(Mt=function(t,e){return i[t-=272]})(t,e)}!function(t){const e=Mt,i=t();for(;;)try{if(499483===parseInt(e(308))/1*(parseInt(e(291))/2)+parseInt(e(287))/3*(parseInt(e(283))/4)+parseInt(e(303))/5+-parseInt(e(277))/6+parseInt(e(281))/7+-parseInt(e(313))/8*(-parseInt(e(293))/9)+-parseInt(e(280))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Vt extends pt.View{[At(295)];[At(299)];[At(288)];constructor(e,i){const s=At;super(e),this[s(295)]=new t.FocusTracker,this[s(299)]=new t.KeystrokeHandler,this[s(284)](s(307),""),this[s(288)]=this[s(273)](i),this[s(272)]({tag:s(292),attributes:{class:["ck",s(278),s(306)],tabindex:"-1"},children:[this[s(288)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(297)](){const t=At;super[t(297)](),(0,pt.submitHandler)({view:this}),this[t(295)][t(298)](this[t(288)][t(296)]),this[t(299)][t(289)](this[t(296)]);const e=e=>e[t(279)]();this[t(299)][t(284)](t(312),e),this[t(299)][t(284)](t(286),e),this[t(299)][t(284)](t(294),e),this[t(299)][t(284)](t(290),e)}[At(285)](){const t=At;this[t(288)][t(285)]()}get[At(282)](){const t=At;return this[t(288)][t(309)][t(296)][t(274)][t(314)]()}set[At(282)](t){const e=At;this[e(288)][e(309)][e(296)][e(274)]=t[e(314)]()}[At(300)](){const t=At;this[t(288)][t(309)][t(296)][t(274)]="",this[t(288)][t(311)]=null}[At(273)](t){const e=At,i=new pt.LabeledFieldView(this[e(302)],pt.createLabeledInputText),s=i[e(309)];s[e(301)]({attributes:{maxlength:e(276)}});let n=Q(this[e(302)],e(310));return!t&&(n+=" ("+Q(this[e(302)],e(275))+")"),i[e(304)]=n,s.on(e(305),(()=>{const t=e;this[t(307)]=s[t(296)][t(274)][t(314)]()})),i}}function Dt(){const t=["locale","4044475iIXEPR","label","input","ck-responsive-form","revisionNameInputValue","1959YPXUGM","fieldView","Name of the revision","errorText","arrowright","37056JIWxKH","trim","setTemplate","_createRevisionNameInput","value","optional","220","1023534GNkiQJ","ck-revision-history-save-revision-form","stopPropagation","26116650AyAZds","6513654nyzLhC","revisionName","2074796rmQNYj","set","focus","arrowleft","3ObPCWN","revisionNameInputView","listenTo","arrowdown","662lhQqMQ","form","729OGXsOm","arrowup","focusTracker","element","render","add","keystrokes","reset","extendTemplate"];return(Dt=function(){return t})()}const Et=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=172]})(t,e)}function Ft(){const t=["isReadOnly","config","_createSaveRevisionFormView","907558oRCcwT","RevisionTracker","3416037JgqEmD","delegate","1980720ajROGA","25bDMhER","items","editor","hide","show","Save current revision","isReady","256vgfRTC","render","12678325hEcMMK","plugins","requires","10xVBUQY","isEnabled","revisionHistory.requireRevisionName","children","pluginName","revisionName","isPremiumPlugin","Revision history","menuitem","_saveRevisionFormView","view","panelView","Dialog","_registerMenuComponent","componentFactory","Open revision history","ck-button-action","init","showRevisionViewerCallback","addMany","revisionSave","add","menuBar:revisionHistory","isOfficialPlugin","Cancel","The revision name cannot be empty.","bind","set","17298vgEEur","saveRevision","6531TbuXDn","revisionNameInputView","execute","7392oFnnmw","editing","revisionHistory","errorText","_showDialog","focus","submit","Accept","buttonView","reset","isOpen","role","RevisionHistoryUI","menu","76788InmMmw","locale","get"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(577077===parseInt(e(217))/1+parseInt(e(221))/2+parseInt(e(219))/3+parseInt(e(211))/4*(-parseInt(e(222))/5)+-parseInt(e(197))/6*(parseInt(e(194))/7)+-parseInt(e(229))/8*(parseInt(e(192))/9)+-parseInt(e(234))/10*(parseInt(e(231))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends U.Plugin{static get[Et(238)](){return Et(209)}static get[Et(187)](){return!0}static get[Et(240)](){return!0}static get[Et(233)](){return[ot]}[Et(173)];[Et(181)](){const t=Et,e=this[t(224)],i=e[t(232)][t(213)](t(218));e.ui[t(178)][t(185)](t(199),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(175)][n(237)],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(190)](n(235)).to(i,n(228),i,n(235),e,n(214),((t,e,i)=>t&&e&&!i)),r[n(205)][n(191)]({icon:mt.IconHistory,label:Q(s,n(241)),tooltip:!0}),u[n(191)]({label:Q(s,n(227)),withText:!0,role:n(172)}),u[n(190)](n(235)).to(i,n(228),i,n(235),e,n(214),((t,e,i)=>t&&e&&!i)),u.on(n(196),(()=>this[n(201)]())),h[n(191)]({label:Q(s,n(179)),withText:!0,role:n(172)}),h[n(190)](n(235)).to(i,n(228),e,n(214),((t,e)=>t&&!e)),h.on(n(196),(()=>{const t=n;e[t(215)][t(213)](t(199))[t(182)](),r[t(207)]=!1,e[t(198)][t(174)][t(202)]()})),c[n(237)][n(185)](u),l[n(237)][n(185)](h),a[n(208)]=n(210),a[n(223)][n(183)]([c,l]),o[n(185)](a),r})),e.ui[t(178)][t(185)](t(186),(()=>this[t(177)]()))}[Et(177)](){const t=Et,e=this[t(224)],i=e[t(212)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(205)][t(191)]({icon:mt.IconHistory,label:Q(i,t(241))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(191)]({label:Q(i,t(227))}),o[t(220)](t(196)).to(s),o.on(t(196),(()=>{this[t(201)]()})),r[t(237)][t(185)](o),n[t(223)][t(185)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(191)]({label:Q(i,t(179))}),c[t(220)](t(196)).to(s),c.on(t(196),(()=>{const i=t;e[i(215)][i(213)](i(199))[i(182)]()})),a[t(237)][t(185)](c),n[t(223)][t(185)](a),s[t(175)][t(237)][t(185)](n),s}[Et(201)](){const t=Et,e=this[t(224)],i=e[t(212)],s=e[t(232)][t(213)](t(176)),n=e[t(232)][t(213)](t(218));function r(n){const r=t;e[r(215)][r(213)](r(236))&&""===n[r(239)]?n[r(195)][r(200)]=Q(i,r(189)):(e[r(232)][r(213)](ot)[r(193)]({name:n[r(239)]}),s[r(225)]())}this[t(173)]||(this[t(216)](),this[t(173)].on(t(203),(()=>r(this[t(173)])))),this[t(173)][t(206)](),s[t(226)]({id:t(184),title:Q(i,t(227)),isModal:!0,content:this[t(173)],actionButtons:[{label:Q(e[t(212)],t(188)),withText:!0,onExecute:()=>s[t(225)]()},{label:Q(e[t(212)],t(204)),class:t(180),withText:!0,onCreate(i){const s=t;i[s(190)](s(235)).to(n,s(228),n,s(235),e,s(214),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(173)])}]})}[Et(216)](){const t=Et,e=this[t(224)],i=e[t(212)];this[t(173)]=new Vt(i,e[t(215)][t(213)](t(236))),this[t(173)][t(230)]()}}function jt(t,e){const i=zt();return(jt=function(t,e){return i[t-=350]})(t,e)}const Pt=jt;function zt(){const t=["span","452UUUOXm","data","set","bindTemplate","_model","ck-revision-change__label","type","author","ck-revision-change","ck-revision-change__","Added by","Removed by","3672712vtZCVn","focus","name","6156520gjqCpE","element","setTemplate","11RqYbFP","1276256OBidME","1964253JKfnKX","add","changeId","ck-annotation","28049460xGkQkX","3093251lTONIA","18335QXyYHN","6ikVdmi","9jwOHKr","1yNklgX","Suggested by","isSuggestion","div"];return(zt=function(){return t})()}!function(t){const e=jt,i=t();for(;;)try{if(389827===parseInt(e(382))/1*(parseInt(e(372))/2)+-parseInt(e(373))/3+-parseInt(e(353))/4*(parseInt(e(379))/5)+parseInt(e(380))/6*(-parseInt(e(378))/7)+-parseInt(e(365))/8*(parseInt(e(381))/9)+parseInt(e(368))/10*(-parseInt(e(371))/11)+parseInt(e(377))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[Pt(375)];[Pt(357)];constructor(t,e){const i=Pt;super(t),this[i(357)]=e,this[i(375)]=e.id;const s=this[i(356)],n=Q(t,e[i(354)][i(350)]?i(383):i(374)==e[i(359)]?i(363):i(364));this[i(355)](i(359),e[i(359)]),this[i(370)]({tag:i(351),attributes:{class:[i(376),i(361),s.to(i(359),(t=>i(362)+t))],tabindex:-1},children:[{tag:i(352),children:[{tag:i(352),attributes:{class:[i(358)]},children:[{text:n}]},{text:" "+e[i(360)][i(367)]}]}]})}[Pt(366)](){const t=Pt;this[t(369)][t(366)]()}}var Ut=Zt;function Ht(){var t=["7558452VHCSzO","930063AuPvhD","2bvhzlr","28YNaTaz","30255MDphEB","24ewQfGp","author","140faRmRb","data","createdAt","rootName","2069832rzdKjX","set","toJSON","54wFwOCG","482733dqckiL","type","4373884cLMvkA","1063959nsQuZF"];return(Ht=function(){return t})()}function Zt(t,e){var i=Ht();return(Zt=function(t,e){return i[t-=116]})(t,e)}!function(t){for(var e=Zt,i=t();;)try{if(755298===-parseInt(e(131))/1+-parseInt(e(134))/2*(parseInt(e(133))/3)+parseInt(e(130))/4+parseInt(e(117))/5*(-parseInt(e(127))/6)+parseInt(e(116))/7*(-parseInt(e(124))/8)+parseInt(e(128))/9*(parseInt(e(120))/10)+-parseInt(e(132))/11*(-parseInt(e(118))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Ut(119)];[Ut(129)];[Ut(121)];[Ut(123)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(119)]=e[i(119)],this[i(129)]=e[i(129)],this[i(121)]=e[i(121)]||{},this[i(123)]=e[i(123)],this[i(125)](i(122),e[i(122)])}[Ut(126)](){var t=Ut;return{id:this.id,authorId:this[t(119)].id,type:this[t(129)],data:this[t(121)],createdAt:this[t(122)]}}}function Bt(){const t=["28jdzYhZ","3277304UaWskb","1091316VHquXi","changes","15846360FgHDMS","25TcUCqA","1377838XgTTzZ","add","oldRevisionId","881922UxhSvq","45939KygMqW","12488769ZcrSAM","78VDaRRg","_setChanges","newRevisionId"];return(Bt=function(){return t})()}const $t=Yt;function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(958794===-parseInt(e(341))/1+parseInt(e(347))/2*(parseInt(e(345))/3)+parseInt(e(352))/4*(parseInt(e(355))/5)+parseInt(e(344))/6*(parseInt(e(350))/7)+-parseInt(e(351))/8+-parseInt(e(346))/9+parseInt(e(354))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt{[$t(349)];[$t(343)];[$t(353)];constructor(e,i){const s=$t;this[s(349)]=e,this[s(343)]=i,this[s(353)]=new t.Collection}[$t(348)](t){const e=$t;for(const i of t)this[e(353)][e(342)](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 Xt=Qt;function Qt(t,e){const i=se();return(Qt=function(t,e){return i[t-=169]})(t,e)}!function(t){const e=Qt,i=t();for(;;)try{if(441380===parseInt(e(455))/1*(-parseInt(e(208))/2)+parseInt(e(494))/3*(parseInt(e(262))/4)+parseInt(e(383))/5*(-parseInt(e(240))/6)+-parseInt(e(394))/7*(-parseInt(e(205))/8)+-parseInt(e(341))/9*(parseInt(e(382))/10)+parseInt(e(402))/11*(parseInt(e(391))/12)+parseInt(e(428))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(se);class te extends U.Plugin{[Xt(456)];[Xt(278)]=null;[Xt(447)];[Xt(308)];[Xt(448)];[Xt(492)];[Xt(429)];static get[Xt(477)](){return Xt(409)}static get[Xt(323)](){return!0}static get[Xt(365)](){return!0}static get[Xt(190)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(456)]=this[e(374)][e(384)][e(496)](e(299)),this[e(447)]=this[e(374)][e(384)][e(496)](e(269)),this[e(176)](e(465),null),this[e(176)](e(406),null),this[e(308)]=null,this[e(176)](e(434),null),this[e(176)](e(300),!1),this[e(176)](e(216),!0),this.on(e(346),((t,i,s)=>{const n=e;this[n(465)]=null,this[n(406)]=null,this[n(374)][n(361)][n(266)][n(349)]((t=>{const e=n;for(const i of this[e(374)][e(361)][e(266)][e(253)][e(373)])s?t[e(411)](e(225),i):t[e(191)](e(225),i)}))})),this[e(263)](e(237)).to(this,e(465),(t=>null!==t)),this[e(263)](e(451)).to(this,e(300),this,e(434),this,e(465),((t,i,s)=>t&&s?i[e(229)][e(281)](s):0)),this[e(263)](e(174)).to(this,e(300),this,e(434),((t,i)=>t?i[e(229)][e(344)]:0)),this[e(448)]=null,this[e(492)]=new Map,this[e(429)]=this[e(374)][e(384)][e(496)](pt.ContextualBalloon)}[Xt(485)](){const t=Xt,e=this[t(374)],i=new ne(e,{direction:t(307)}),s=new ne(e,{direction:t(180)});e[t(442)][t(345)](t(268),i),e[t(442)][t(345)](t(273),s),e[t(442)][t(345)](t(274),new ie(e)),this.on(t(396),(()=>{const e=t;i[e(415)](),s[e(415)]()})),this[t(386)](),this[t(490)](),e[t(484)](t(368)),e[t(384)][t(400)](t(259))&&e[t(384)][t(496)](t(259))[t(286)](t(368))}async[Xt(427)](t){const e=Xt;return await this[e(447)][e(185)](t,this[e(278)]),this[e(447)][e(427)](t)}async[Xt(292)](t){const e=Xt;return await this[e(447)][e(185)](t,this[e(278)]),this[e(447)][e(292)](t)}async[Xt(431)](t,e,i=!1){const s=Xt;if(!this[s(216)])return;const n=this[s(434)],r=this[s(456)],o=s(252)==typeof t?r[s(230)](t):t,a=s(252)==typeof e?r[s(230)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(434)]&&this[s(434)][s(257)]===c&&this[s(434)][s(483)]===u)return Promise[s(364)]();this[s(300)]=!1,this[s(406)]=null,this[s(465)]=null,this[s(434)]=new Gt(c,u);const l=this[s(196)](o,a,!0)[s(287)]((t=>this[s(447)][s(185)](t,this[s(278)])));return l[s(468)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(184)](l)[s(418)]((()=>{const t=s;if(!this[t(216)])return;this[t(481)]();const e=this[t(298)](c,u);for(const i of e[t(229)])this[t(492)][t(176)](i.id,i);this[t(374)][t(243)][t(360)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(374)][s(243)][s(253)][s(311)]())i[s(423)](t);for(const t of Object[s(367)](e[s(243)])){const n=i[s(227)](t);for(const r of Object[s(367)](e[s(461)][t]))i[s(320)](r,e[s(461)][t][r],n);i[s(217)](e[s(243)][t],n,0)}})),this[t(434)][t(232)](this[t(194)](e[t(229)])),this[t(300)]=!0}))[s(422)]((t=>{const e=s;console[e(282)](t),this[e(481)](),n&&(this[e(434)]=n),this[e(300)]=!0}))}[Xt(339)](t,e){const i=Xt,s=this[i(456)][i(186)](t);return s.on(i(251),((t,i,n)=>e(i,n,s))),this[i(456)][i(330)](s),s}[Xt(481)](){const t=Xt;this[t(465)]=null,this[t(372)](),this[t(448)]&&this[t(448)][t(179)](),this[t(448)]=null,this[t(492)][t(169)](),this[t(374)][t(243)][t(360)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(374)][i(243)][i(253)][i(311)]())e[i(423)](t)}))}[Xt(194)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(374)][e(243)][e(253)][e(311)]()){const n=this[e(374)][e(361)][e(266)][e(449)](t);if(!n)continue;const r=n[e(355)]()[e(357)](0);r&&(i[e(468)](t),s[e(176)](t,r))}return i[e(301)](((t,i)=>{const n=e,r=s[n(496)](t),o=s[n(496)](i);return r.y-o.y||r.x-o.x})),(t=t[e(413)]((t=>i[e(425)](t[e(441)]))))[e(301)](((t,s)=>i[e(233)](t[e(441)])-i[e(233)](s[e(441)]))),t}[Xt(493)](t){const e=Xt,i=Array[e(199)](t[e(275)])[e(413)]((([t,i])=>t[e(260)](e(332))&&!i[e(210)])),s=Array[e(199)](this[e(374)][e(243)][e(223)](t)[e(236)]({singleCharacters:!0}));if(0!=i[e(344)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(326)](":");if(n[e(486)][e(379)](t[e(285)])&&i[e(175)](),(t[e(212)][e(379)](n[e(343)])||t[e(212)][e(358)](n[e(343)]))&&(e(359)==r?t[e(482)]={userId:o}:e(200)==r&&(t[e(198)]={userId:o})),0==i[e(344)])break}return s}[Xt(290)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(344)];s++)e(410)===t[s][e(437)]?(t[s][e(357)][e(310)]=s,t[s][e(357)][e(397)]=s):(e(392)===t[s][e(437)]?t[s][e(357)][e(310)]=s:e(399)===t[s][e(437)]&&(t[s][e(357)][e(397)]=s),i[e(176)](t[s].id,s));for(const s of i[e(408)]())e(392)===t[s][e(437)]?t[s][e(357)][e(397)]=i[e(496)](t[s][e(211)]):e(399)===t[s][e(437)]&&(t[s][e(357)][e(310)]=i[e(496)](t[s][e(211)]))}[Xt(202)](t){const e=Xt;for(let i=0;i<t[e(344)];i++){if(e(392)===t[i][e(437)])t[i][e(357)][e(310)]=i;else if(e(399)===t[i][e(437)]){t[i][e(357)][e(397)]=i;const s=t[i][e(357)][e(310)];t[s][e(211)]=t[i].id,t[i][e(211)]=t[s].id}else t[i][e(357)][e(310)]=i,t[i][e(357)][e(397)]=i,t[i][e(211)]=null;t[i][e(187)]||(t[i][e(187)]=[],t[i][e(375)]=[])}}[Xt(369)](t,e){const i=Xt,s=t[i(413)]((t=>!t[i(482)]));for(let t=0;t<e[i(344)];t++)e[t][i(482)]&&(s[t][i(482)]=e[t][i(482)])}[Xt(298)](t,e=null){const i=Xt,s=this[i(456)][i(230)](t),n=e?this[i(456)][i(230)](e):null,r=this[i(196)](s,n),o=r[r[i(344)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(344)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(367)](e[i(305)]))if(e[i(305)][t][i(322)]){const s=e[i(305)][t][i(322)];s[i(487)]?(u[i(345)](t),l[i(400)](t)&&l[i(496)](t)[i(258)]==s[i(258)]?l[i(181)](t):l[i(176)](t,s)):l[i(400)](t)?(u[i(181)](t),l[i(181)](t)):(u[i(345)](t),l[i(176)](t,s))}else u[i(345)](t)}for(const t of u){const e=l[i(400)](t)&&!l[i(496)](t)[i(487)];let s=e?r[i(344)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(305)][t]){const s=e?o[i(305)][t][i(395)]:o[i(305)][t][i(389)];c[i(461)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(243)]={};for(const e of t[i(495)])a[i(176)](e.id,e);for(const e of u){const s=t[i(305)][e]?t[i(305)][e][i(303)]:"[]",n=t[i(305)][e]?t[i(305)][e][i(271)]:"[]";t[i(243)][e]={insertions:this[i(447)][i(440)](s),deletions:this[i(447)][i(440)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(199)](s[i(243)][t][i(303)][i(275)])[i(413)]((([t])=>!t[i(260)](i(332)))));let h=0;for(const o of r){const r=this[i(493)](o[i(243)][t][i(303)]);o==s?(e=r,n=e[i(344)],e[i(478)]((t=>{t.id=h++})),this[i(202)](e)):this[i(369)](e,r);const a=e[i(413)]((t=>!t[i(482)]))[i(287)]((t=>t.id));let c=0;const l=this[i(493)](o[i(243)][t][i(271)]);l[i(478)]((t=>{t[i(198)]?t.id=n++:t.id=a[c++]})),this[i(202)](l),this[i(228)](e,i(482)),this[i(228)](l,i(198)),o==s&&this[i(224)](e,u),e=this[i(324)](e,l),this[i(290)](e),this[i(228)](e,i(198))}e=e[i(413)]((t=>!(t[i(482)]&&t[i(198)])));const d=new Map(o[i(243)][t][i(271)][i(275)]),f=new Set(u[i(367)]());for(const t of d[i(367)]())f[i(181)](t);this[i(328)](e,f),this[i(445)](e),e=this[i(206)](e),e=this[i(354)](e),e=this[i(247)](e);const{root:m,changes:p}=this[i(293)](e,a,t);c[i(243)][t]=m;const v=l[i(496)](t);if(v){const e=a[i(496)](v[i(258)]),s=new qt({author:e,type:v[i(487)]?i(345):i(318),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(334)](s),c[i(461)][t][i(347)]=s.id}c[i(229)]=c[i(229)][i(421)](p)}return c}[Xt(224)](t,e){const i=Xt;for(let s=0;s<t[i(344)];s++)for(const[n,r]of e)!r[i(210)]&&r[i(343)][i(379)](t[s][i(212)])&&t[s][i(187)][i(468)](n),r[i(486)][i(379)](t[s][i(285)])&&t[s][i(375)][i(468)](n)}[Xt(324)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(344)]||r<e[i(344)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(468)](o);else if(a[i(198)]&&o[i(482)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(261)](t,n,e,r);s=s[i(421)](o),n=a,r=c}else a[i(198)]?(r++,s[i(468)](a)):(n++,s[i(468)](o))}return s}[Xt(328)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(344)];o++){for(let r=0;r<t[o][i(187)][i(344)];r++){const a=t[o][i(187)][r];if(!e[i(400)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(283)!=c||i(359)!=u&&i(200)!=u||(s[i(334)]({type:u,name:a,userId:l}),t[o][i(187)][i(387)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(375)][i(344)];r++){const a=t[o][i(375)][r];if(!e[i(400)](a))continue;const{group:c,type:u}=n(a);if(i(283)!=c||i(359)!=u&&i(200)!=u)continue;t[o][i(375)][i(387)](r,1),r--;const l=s[i(497)]((t=>t[i(390)]==a));l>-1&&s[i(387)](l,1)}}function n(t){const e=i,s=t[e(326)](":");return{group:s[0],type:s[1],subType:s[e(344)]>=5?s[2]:null,id:s[e(344)]<5?s[2]:s[3],authorId:s[e(344)]<5?s[3]:s[4],markerCount:6==s[e(344)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(344)];i++){if(t[e(482)]&&e(359)==s[i][e(437)])return t[e(170)]=s[i],void delete t[e(482)];if(!t[e(482)]&&!t[e(198)]&&e(200)==s[i][e(437)])return void(t[e(265)]=s[i])}}}[Xt(228)](t,e){const i=Xt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(176)](o.id,s);for(let s=0;s<t[i(344)];s++){if(i(198)==e&&t[s][i(482)]||i(482)==e&&t[s][i(198)])continue;if(i(410)==t[s][i(437)]){t[s][i(291)]=0;continue}const n=r[i(496)](t[s][i(211)]),o=r[i(496)](t[s].id);t[s][i(291)]=n-o}}[Xt(196)](t,e,i=!1){const s=Xt,n=[];let r=this[s(456)][s(281)](t),o=this[s(456)][s(281)](e);for(-1==o&&(o=this[s(456)][s(338)][s(344)],i=!1);r<o;)n[s(468)](this[s(456)][s(230)](r)),r++;return i&&n[s(468)](this[s(456)][s(230)](r)),n}[Xt(261)](t,e,i,s){const n=Xt,r=this[n(374)][n(243)][n(321)];let o=e;for(;t[o]&&t[o][n(482)];)o++;let a=s;for(;i[a]&&i[a][n(198)];)a++;u(t,e,o),u(i,s,a);const c=i[n(472)](s,a)[n(421)](t[n(472)](e,o));return c[n(301)](((t,e)=>t[n(385)]!=e[n(385)]?t[n(385)]-e[n(385)]:t[n(438)]!=e[n(438)]?t[n(438)]-e[n(438)]:t[n(291)]!=e[n(291)]?e[n(291)]-t[n(291)]:!!t[n(482)]!=!!e[n(482)]?-1==t[n(385)]||0==t[n(385)]?t[n(482)]?-1:1:t[n(482)]?1:-1:t[n(302)]-e[n(302)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(284)],c=!0;for(let n=e;n<i;n++)if(r[s(327)](t[n][s(357)])||(c=!1),t[n][s(357)][s(310)]<e&&(o=n),t[n][s(357)][s(397)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(385)]=n<=o?-1:n<a?0:1,t[n][s(302)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(291)]?t[i][s(438)]=u:(u++,t[i][s(438)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(385)]&&(t[n][s(438)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(291)]?t[e][s(438)]=u:(u--,t[e][s(438)]=u,u--)}}[Xt(445)](t){const e=Xt,i=new Map,s=this[e(374)][e(243)][e(321)];for(let n=1;n<t[e(344)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(410)==c[e(437)])continue;if(c[e(437)]!=u[e(437)])continue;if(!s[e(420)](u[e(357)])||s[e(348)](u[e(357)]))continue;if(!s[e(420)](c[e(357)])||s[e(348)](c[e(357)]))continue;if((t[n][e(482)]||t[n][e(170)])&&t[n-1][e(198)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(198)]||!t[n-1][e(482)]&&!t[n-1][e(170)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(438)]==o[e(438)],h=Math[e(419)](r[e(438)])<Math[e(419)](o[e(438)])&&0==o[e(291)];(l||h)&&(i[e(176)](o.id,r.id),t[e(387)](a,1),n--,r[e(482)]=!1)}for(let s=0;s<t[e(344)];s++)i[e(400)](t[s][e(211)])&&(t[s][e(211)]=i[e(496)](t[s][e(211)]))}[Xt(206)](t){const e=Xt,i=new Set(t[e(287)]((t=>t.id)));for(let s=0;s<t[e(344)];s++)i[e(400)](t[s][e(211)])||0==t[s][e(291)]||(t[s][e(254)]=!0);return t[e(413)]((t=>!t[e(254)]))}[Xt(354)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(344)];s++){if(i[e(400)](t[s].id)&&t[s][e(198)]&&(t[s][e(254)]=!0),t[s][e(254)])continue;if(0==t[s][e(291)])continue;if(e(392)!=t[s][e(437)])continue;if(null==t[s][e(211)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(211)];)e(392)==t[n][e(437)]?r++:e(399)==t[n][e(437)]&&r--,n++;if(0!=r)if(t[s][e(198)])t[s][e(254)]=!0;else for(;n!=s;)t[n][e(198)]&&0!=t[n][e(291)]&&(t[n][e(254)]=!0,i[e(345)](t[n][e(211)])),n--}return t[e(413)]((t=>!t[e(254)]))}[Xt(247)](t){const e=Xt,i=this[e(374)][e(243)][e(321)];for(let s=0;s<t[e(344)];s++){if(!(t[s][e(482)]||t[s][e(170)]||t[s][e(198)]||t[s][e(265)]))continue;if(0==t[s][e(291)])continue;const n=t[s][e(357)];i[e(420)](n)||i[e(348)](n)||(t[s][e(482)]&&delete t[s][e(482)],t[s][e(170)]&&delete t[s][e(170)],t[s][e(265)]&&delete t[s][e(265)],t[s][e(198)]&&(t[s][e(254)]=!0))}return t[e(413)]((t=>!t[e(254)]))}[Xt(293)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(374)][s(243)],c=a[s(321)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(344)];e++)if(s(392)===t[e][s(437)]){t[e][s(212)]=a[s(325)](n,f);const i=new Z.Element(t[e][s(357)][s(390)],t[e][s(357)][s(464)]());u[0][s(488)](i),f[s(468)](0),u[s(334)](i),t[e][s(285)]=a[s(325)](n,f)}else s(399)===t[e][s(437)]?(u[s(175)](),t[e][s(212)]=a[s(325)](n,f),f[s(471)](),f[f[s(344)]-1]++,t[e][s(285)]=a[s(325)](n,f)):(t[e][s(212)]=a[s(325)](n,f),d?d[s(412)]+=t[e][s(357)][s(469)]:d=new Z.Text(t[e][s(357)][s(469)],t[e][s(357)][s(464)]()),t[e+1]&&s(410)===t[e+1][s(437)]&&v(d,t[e+1][s(357)])||(u[0][s(488)](d),d=null),f[f[s(344)]-1]+=t[e][s(357)][s(220)],t[e][s(285)]=a[s(325)](n,f));for(let e=0;e<t[s(344)];e++){const i=t[e][s(212)],n=t[e][s(285)];for(const n of t[e][s(187)])o[s(176)](n,{start:i,end:null});m(s(265),e,i,n),m(s(170),e,i,n),m(s(198),e,i,n),m(s(482),e,i,n);for(const i of t[e][s(375)]){const t=o[s(496)](i);t?t[s(486)]=n:o[s(176)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(374)][s(243)][s(439)](e[s(343)],e[s(486)]);n[s(275)][s(176)](t,i)}return r[s(301)](((t,e)=>{const i=s,r=n[i(275)][i(496)](i(332)+t.id),o=n[i(275)][i(496)](i(332)+e.id);return r[i(343)][i(277)](o[i(343)])?-1:r[i(343)][i(358)](o[i(343)])?1:r[i(486)][i(277)](o[i(486)])?-1:r[i(486)][i(358)](o[i(486)])?1:i(345)===t[i(437)]?-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(258)]:null,d=i===t[o(344)]-1,f=h[e][0],m=c[o(458)](t[i][o(357)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(486)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(258)]!==u&&(l[e][o(486)]=n,f&&f[o(258)]===l[e][o(258)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(392)!==t[i][o(437)]||f&&f[o(258)]===u||h[e][o(334)]({userId:u,object:t[i][o(357)],change:l[e]}),o(399)===t[i][o(437)]&&f&&f[o(295)]===t[i][o(357)]&&(h[e][o(175)](),l[e]=f[o(349)])),l[e]&&d&&(l[e][o(486)]=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(357)],f=a[h(321)][h(420)](d)&&!a[h(321)][h(348)](d),m=t[h(244)]==o[h(193)]&&o[h(463)];if(f&&m)return;const p=a[h(439)](t,o),v=e[h(496)](u),g=new qt({author:v,type:h(482)==l||h(170)==l?h(345):h(318),data:{isSuggestion:h(170)==l||h(265)==l},createdAt:new Date,rootName:i});r[h(468)](g),n[h(275)][h(176)](h(332)+g.id,p)}function v(t,e){const i=s,n=t[i(464)](),r=e[i(464)]();for(const t of n){if(t[1]!==e[i(362)](t[0]))return!1;r[i(479)]()}return r[i(479)]()[i(446)]}}[Xt(386)](){const t=Xt;this[t(374)][t(426)][t(272)](t(178))[t(459)]({view:t(401)}),this[t(374)][t(426)][t(272)](t(436))[t(204)]({model:t(401),view:e=>{const i=t,s=e[i(297)][i(326)](":")[1],n=this[i(453)](s);if(!n)return null;const r=i(345)==n[i(437)]?i(359):i(200),o=[i(188),i(452)+r];return n[i(469)][i(248)]&&o[i(468)](i(452)+r+i(280)),this[i(465)]==n&&o[i(468)](i(177)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(374)][t(426)][t(272)](t(178))[t(345)]((e=>{const i=t;e.on(i(424),((t,e,s)=>{const n=i,r=e[n(192)][n(317)](0);if(!r||!r.is(n(356),n(435)))return;if(!s[n(296)][n(398)](r,{attributes:[n(467),n(335)]}))return;const o=e[n(235)][n(343)][n(244)];s[n(270)][n(320)](n(467),r[n(362)](n(467)),o),s[n(270)][n(320)](n(335),r[n(362)](n(335)),o)}),{priority:i(256)})})),this[t(374)][t(426)][t(272)](t(178))[t(345)]((e=>{const i=t;e.on(i(356),((t,e,s)=>{const n=i;if(!s[n(296)][n(398)](e[n(192)],{attributes:[n(467),n(335)]}))return;if(e[n(235)][n(210)])return;const r=e[n(235)][n(343)][n(244)];r[n(231)](n(467))||r[n(231)](n(470))||(s[n(270)][n(320)](n(467),e[n(192)][n(362)](n(467)),r),s[n(270)][n(320)](n(335),e[n(192)][n(362)](n(335)),r))}),{priority:i(256)})})),this[t(374)][t(426)][t(272)](t(178))[t(370)]({view:{name:t(432),attributes:{vid:!0}},model:{key:t(470),value:e=>e[t(362)](t(470))}}),this[t(374)][t(243)][t(321)].on(t(329),((e,[,i])=>{const s=t;[s(467),s(335),s(470)][s(425)](i)&&(e[s(460)]=!0,e[s(222)]())}),{priority:t(407)}),this[t(374)][t(426)][t(272)](t(377))[t(345)]((e=>{const i=t;e.on(i(182),((t,e,s)=>{const n=i;if(" "!=e[n(357)][n(469)]||e[n(357)][n(193)][n(378)]>1)return;if(!s[n(296)][n(398)](e[n(357)],t[n(390)]))return;const r=s[n(270)],o=s[n(189)][n(353)](e[n(403)]);r[n(444)](o,r[n(218)](n(432)))}))})),this[t(374)][t(426)][t(272)](t(377))[t(319)]({model:t(401)}),this[t(374)][t(361)][t(462)].on(t(241),function(e){const i=t,s=e[i(384)][i(496)](i(409));return(t,n,r)=>{const o=i,a=n[o(297)][o(326)](":")[1],c=s[o(453)](a);if(!c)return null;const u=o(345)==c[o(437)]?o(326):o(203);if(!r[o(296)][o(249)](n[o(489)],t[o(390)]))return;const l=n[o(489)][o(236)](),h=n[o(489)][o(343)],d=e[o(243)][o(321)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(357)];p=p||d[o(213)](e);const i=r[o(189)][o(242)](e);if(i&&i[o(381)](o(250)))return;o(399)==t[o(437)]&&d[o(420)](e)&&!d[o(348)](e)&&(e[o(267)]||h[o(215)]?f&&f[o(193)]==e||(f=e,g(t[o(212)]),v=!0):m=m||t[o(212)])}function g(t){const e=o,i=r[e(270)][e(313)](e(432),{class:e(452)+u}),a=r[e(189)][e(342)](t);c[e(469)][e(248)]&&r[e(270)][e(191)](e(452)+u+e(280),i),s[e(465)]==c&&r[e(270)][e(191)](e(177),i),r[e(270)][e(217)](a,i),r[e(189)][e(264)](i,n[e(297)])}p||v||!m||g(m)}}(this[t(374)]),{priority:t(475)}),this[t(374)][t(361)][t(462)].on(t(454),((e,i,s)=>{const n=t,r=s[n(189)][n(351)](i[n(297)]);if(r)for(const t of r)(t[n(388)](n(376))||t[n(388)](n(201)))&&(s[n(189)][n(363)](t,i[n(297)]),s[n(270)][n(318)](t))}),{priority:t(475)}),this[t(374)][t(361)][t(462)].on(t(241),((e,i,s)=>{const n=t,r=i[n(297)][n(326)](":")[1],o=this[n(453)](r);if(!o)return null;const a=n(345)==o[n(437)]?n(326):n(203);if(s[n(296)][n(249)](i[n(489)],e[n(390)]))for(const t of i[n(489)][n(340)]()){if(!t.is(n(356),n(316)))continue;const e=s[n(270)][n(313)](n(432),{class:n(452)+a}),r=s[n(189)][n(342)](this[n(374)][n(243)][n(289)](t));o[n(469)][n(248)]&&s[n(270)][n(191)](n(452)+a+n(280),e),this[n(465)]==o&&s[n(270)][n(191)](n(177),e),s[n(270)][n(217)](r,e),s[n(189)][n(264)](e,i[n(297)])}}),{priority:t(475)}),this[t(374)][t(243)][t(253)].on(t(349),(()=>{const e=t;this[e(374)][e(361)][e(266)][e(349)]((t=>{const i=e;for(const e of this[i(374)][i(243)][i(253)][i(311)]()){const s=this[i(374)][i(243)][i(253)][i(473)](e),n=this[i(374)][i(361)][i(266)][i(253)][i(473)](e);if(n){const e=s[i(362)](i(347));if(t[i(226)](i(393),n),t[i(411)](i(380),n),t[i(411)](i(430),n),t[i(411)](i(195),n),e){const s=this[i(453)](e);if(!s)return null;t[i(320)](i(393),e,n),t[i(191)](i(474)+s[i(437)],n),this[i(465)]==s&&t[i(191)](i(195),n)}}}}))})),this[t(374)][t(426)][t(272)](t(178))[t(459)]({view:t(480),model:e=>t(350)+e,converterPriority:t(407)}),this[t(374)][t(426)][t(272)](t(178))[t(459)]({view:t(172),model:e=>t(414)+e,converterPriority:t(407)}),this[t(374)][t(426)][t(272)](t(377))[t(319)]({model:t(283),view:e=>({name:t(173)+e,group:t(283)}),converterPriority:t(407)}),this[t(374)][t(426)][t(272)](t(436))[t(204)]({model:t(283),view:e=>{const i=t,s=e[i(297)][i(326)](":")[1];return i(359)!=s&&i(200)!=s?null:{classes:[i(433),i(171)+s]}}}),this[t(374)][t(361)][t(462)].on(t(491),ee(this[t(374)],t(203)),{priority:t(475)}),this[t(374)][t(361)][t(462)].on(t(352),ee(this[t(374)],t(326)),{priority:t(475)}),this[t(374)][t(361)][t(462)].on(t(443),((e,i,s)=>{const n=t,r=s[n(189)][n(351)](i[n(297)]);if(r)for(const t of r)t.is(n(246))&&(s[n(189)][n(363)](t,i[n(297)]),s[n(270)][n(318)](t))}),{priority:t(475)})}[Xt(453)](t){const e=Xt;return this[e(492)][e(496)](t)}[Xt(219)](t){const e=Xt;return this[e(448)]&&this[e(448)][e(179)](),this[e(448)]=new Wt(this[e(374)][e(404)],t),this[e(448)]}[Xt(490)](){const t=Xt;this[t(374)][t(243)][t(253)][t(337)][t(279)](t(401)),this.on(t(366),((e,i,s,n)=>{const r=t;n&&this[r(429)][r(318)](n),s&&(this[r(429)][r(345)]({view:s,stackId:r(405),position:{target:()=>{const t=r,e=this[t(374)][t(361)],i=this[t(453)](s[t(245)]);let n;if(i[t(469)][t(183)]){const s=e[t(266)][t(449)](i[t(441)]);n=Array[t(199)](s[t(355)]())}else{const i=this[t(374)][t(243)][t(275)][t(496)](t(332)+s[t(245)]);n=Array[t(199)](e[t(189)][t(351)](i[t(390)]))[t(287)]((i=>e[t(266)][t(214)][t(315)](i)))[t(287)]((e=>Array[t(199)](e[t(355)]())))[t(312)]()}return this[t(308)]&&n[t(371)]((e=>e[t(288)]-3<=this[t(308)].y&&e[t(221)]+3>=this[t(308)].y&&e[t(294)]-3<=this[t(308)].x&&e[t(239)]+3>=this[t(308)].x))||n[0]}}}),this[r(429)][r(331)](r(405)))})),this.on(t(450),((e,i,s,n)=>{const r=t;this[r(406)]=s?this[r(219)](s):null,this[r(374)][r(243)][r(349)]((()=>{const t=r,e=this[t(374)][t(361)];n&&(n[t(469)][t(183)]?e[t(266)][t(349)]((i=>{const s=t;i[s(411)](s(195),e[s(266)][s(253)][s(473)](n[s(441)]))})):e[t(276)](t(332)+n.id)),s&&(s[t(469)][t(183)]?e[t(266)][t(349)]((i=>{const n=t;i[n(191)](n(195),e[n(266)][n(253)][n(473)](s[n(441)]))})):e[t(276)](t(332)+s.id))}))})),this[t(255)](this[t(374)][t(361)][t(266)][t(253)],t(306),((e,i)=>{const s=t;if(this[s(465)])return;const n=this[s(209)](i[s(314)]),r=this[s(492)][s(496)](n);r?(this[s(308)]={x:i[s(304)].x,y:i[s(304)].y},this[s(406)]=this[s(219)](r)):(this[s(308)]=null,this[s(406)]=null)})),this[t(255)](this[t(374)][t(361)][t(266)][t(253)],t(457),((e,i)=>{const s=t,n=this[s(209)](i[s(314)]),r=this[s(492)][s(496)](n);r?(this[s(308)]={x:i[s(304)].x,y:i[s(304)].y},r===this[s(465)]?this[s(429)][s(234)]():this[s(465)]=r):(this[s(308)]=null,this[s(465)]=null)}))}[Xt(209)](t){const e=Xt;do{const i=t[e(362)](e(393));if(i)return i;t=t[e(193)]}while(t);return null}[Xt(372)](){const t=Xt;this[t(374)][t(243)][t(349)]((e=>{const i=t;for(const t of this[i(374)][i(243)][i(275)])e[i(476)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(296)][r(249)](s[r(489)],i[r(390)]))return;const o=s[r(489)][r(236)](),a=s[r(489)][r(343)],c=t[r(243)][r(321)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(357)];h=h||c[r(213)](e);const i=n[r(189)][r(242)](e);if(i&&i[r(381)](r(250)))return;r(399)==t[r(437)]&&c[r(420)](e)&&!c[r(348)](e)&&(e[r(267)]||a[r(215)]?u&&u[r(193)]==e||(u=e,f(t[r(212)]),d=!0):l=l||t[r(212)])}function f(t){const i=r,o=n[i(189)][i(342)](t),a=n[i(270)][i(313)](i(432),{class:i(171)+e});n[i(270)][i(217)](o,a),n[i(189)][i(264)](a,s[i(297)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(384)][e(496)](te);this[e(417)]=!1,this[e(255)](i,e(466),(()=>this[e(415)]())),this[e(255)](i,e(346),(()=>this[e(415)]()))}[Xt(207)](){const t=Xt,e=this[t(374)],i=e[t(384)][t(496)](te),s=i[t(300)]?i[t(434)][t(257)]:null;e[t(333)][t(496)](t(238))[t(309)](s)}[Xt(415)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(374)][t(384)][t(496)](te),r=n&&s[t(416)](n[t(257)]);this[t(216)]=e&&i&&Boolean(r)}}function se(){const t=["requires","addClass","viewItem","parent","_sortAndFilterDiffChanges","ck-revision-history-root--active","_getRevisionsRange","_step","isRemoved","from","deletion","ck-suggestion-marker-merge","_processTape","merge","markerToHighlight","8gpchqw","_removeMissingPairs","execute","2xKfZtF","_findChangeIdFromDomTarget","isCollapsed","pairId","previousPosition","isContent","domConverter","isAtEnd","isEnabled","insert","createAttributeElement","_getViewForChange","offsetSize","bottom","stop","createRangeIn","_markMarkers","ck-editor__editable__overlay","removeAttribute","addRoot","_setDistance","changes","getRevision","hasAttribute","_setChanges","indexOf","updatePosition","modelRange","getWalker","isNavigationMode","revisionHistory","right","6FfatSA","addMarker:revision","toViewElement","model","nodeAfter","changeId","uiElement","_removeUnsupportedChanges","isSuggestion","test","addHighlight","_update","string","document","isIncorrect","listenTo","low","newRevisionId","userId","WidgetToolbarRepository","startsWith","_threeWayMerge","576088lIRKLN","bind","bindElementToMarker","isRemoveSuggestion","view","nextSibling","showPreviousChange","RevisionHistoryUtils","writer","deletions","for","showNextChange","restoreRevision","markers","reconvertMarker","isBefore","adapter","observeMarkers","-new","getIndex","error","revision-suggestion","POSITIVE_INFINITY","nextPosition","forceDisabled","map","top","createPositionBefore","_refreshStartEndIndex","distance","getRevisionRootsAttributes","_makeModelFromTape","left","object","consumable","markerName","_getDiff","RevisionsRepository","isReady","sort","index","insertions","domEvent","diffData","mouseover","backward","_activeViewTarget","restoreRevisionCallback","startIndex","getRootNames","flat","createUIElement","target","mapViewToDom","softBreak","getChild","remove","markerToData","setAttribute","schema","attachChange","isOfficialPlugin","_joinTapes","createPositionFromPath","split","isInline","_markSuggestions","checkAttribute","addRevision","showStack","revision:","config","unshift","vid_end","first","selection","_revisions","addRevisionData","getItems","198odJHFe","toViewPosition","start","length","add","change:isEnabled","revisionHistoryAttachChange","isLimit","change","revision-comment:","markerNameToElements","addMarker:revision-suggestion:insertion","toViewRange","_markMismatchedRemovedTags","getClientRects","element","item","isAfter","insertion","enqueueChange","editing","getAttribute","unbindElementFromMarkerName","resolve","isPremiumPlugin","change:activeView","keys","revision-viewer","_markInsertions","elementToAttribute","find","_cleanMarkers","roots","editor","markersEnd","ck-suggestion-marker-split","dataDowncast","maxOffset","isEqual","ck-revision-history-root-add","getCustomProperty","318700JtvLmu","417535TbMAwO","plugins","side","_setConversion","splice","hasClass","attributesAfter","name","1409316laTUql","elementStart","data-change-id","791847PuemBp","attributesBefore","change:numberOfChanges","endIndex","consume","elementEnd","has","revision","66QWBDBG","range","locale","revisionHistoryLabel","activeView","highest","values","RevisionViewer","text","removeClass","_data","filter","revision-suggestion:","refresh","getLaterVisibleRevision","affectsData","then","abs","isBlock","concat","catch","detachRoot","element:pre","includes","conversion","getRevisionDocumentData","1028599ADytvU","_balloon","ck-revision-history-root-remove","compare","span","ck-suggestion-preview-marker","diff","code","editingDowncast","type","level","createRange","_makeModelFromViewString","rootName","commands","removeMarker:revision-suggestion","wrap","_fixObsoleteTags","done","_utils","_changeView","getDomRoot","change:activeChange","currentChangeNumber","ck-suggestion-marker-","_getChangeFromId","removeMarker:revision","246963aZJzeb","repository","mousedown","isObject","dataToMarker","return","attributes","downcastDispatcher","isAtStart","getAttributes","activeChange","change:isReady","vid_start","push","data","vid","pop","slice","getRoot","ck-revision-history-root-","high","removeMarker","pluginName","forEach","next","comment","_cleanUp","isAdded","oldRevisionId","enableReadOnlyMode","init","end","isAttached","_appendChild","markerRange","_initInteractions","addMarker:revision-suggestion:deletion","_changeIdToChange","_makeTape","12CxRaUU","authors","get","findIndex","clear","isAddSuggestion","ck-suggestion-preview-marker-","suggestion","suggestion:","numberOfChanges","shift","set","ck-suggestion-marker--active","upcast","destroy","forward","delete","attribute:vid","isOnRoot","all","loadRevisionData","createRevision","markersStart","ck-suggestion-marker","mapper"];return(se=function(){return t})()}class ne extends U.Command{[Xt(197)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(384)][i(496)](te);this[i(417)]=!1,this[i(197)]=i(180)===e?1:-1,this[i(255)](s,i(466),(()=>this[i(415)]())),this[i(255)](s,i(346),(()=>this[i(415)]())),this[i(255)](s,i(450),(()=>this[i(415)]()))}[Xt(207)](){const e=Xt,i=this[e(374)],s=i[e(384)][e(496)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(465)]=n?s[e(434)][e(229)][e(496)](r+this[e(197)]):s[e(434)][e(229)][e(336)],s[e(465)][e(469)][e(183)])o=i[e(361)][e(266)][e(449)](s[e(465)][e(441)]);else{const t=i[e(243)][e(275)][e(496)](e(332)+s[e(465)].id);o=(0,H.getMarkerDomElement)(i[e(361)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(415)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(374)][t(384)][t(496)](te);this[t(216)]=!!(r&&n&&s)&&(!e||(1===this[t(197)]?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=["bind","isEnabled","444267mFRcWM","Loading...","32WqSXLw","fire","Total","11HajVBG","numberOfChanges","_statusText","ck-revision-history-ui__changes-navigation__navigation","ck-hidden","ck-revision-history-ui__changes-navigation__label","5JdsmUu","bindTemplate","span","275840cUSYNn","ck-revision-history-ui","1242996mfXHjJ","isForwardNavigationEnabled","div","X_OF_Y_CHANGES","isNavigationMode","2cvoIeb","forward","126175BxBOwT","execute","backward","isBackwardNavigationEnabled","1792060HeIcgu","setTemplate","currentChangeNumber","NUMBER_OF_CHANGES","1213oiQccT","_isStatusLabelVisible","EDIT_X_OF_Y_REVISIONS","set","ck-revision-history-ui__changes-navigation__wrapper","164241JfgnXi","No changes","isReady","ck-revision-history-ui__changes-navigation","Show previous change","Show next change"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=347]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(329439===-parseInt(e(380))/1*(parseInt(e(370))/2)+parseInt(e(385))/3+parseInt(e(363))/4+parseInt(e(360))/5*(parseInt(e(365))/6)+parseInt(e(372))/7+-parseInt(e(351))/8*(parseInt(e(349))/9)+-parseInt(e(376))/10*(-parseInt(e(354))/11))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(361)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(383)](e(369),!1),this[e(383)](e(387),!1),this[e(383)](e(378),0),this[e(383)](e(355),0),this[e(383)](e(366),!1),this[e(383)](e(375),!1),this[e(347)](e(381)).to(this,e(387),this,e(355),((t,e)=>t&&e>0)),this[e(347)](e(356)).to(this,e(387),this,e(378),this,e(355),this,e(369),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(350));if(!n)return Q(t,o(386));const a=Q(t,o(379),n);return r?Q(t,o(368),[s+1,n]):a})),s[e(383)]({label:Q(t,e(389)),tooltip:!0,icon:mt.IconChevronUp}),n[e(383)]({label:Q(t,e(390)),tooltip:!0,icon:mt.IconChevronDown}),s[e(347)](e(348)).to(this,e(375)),n[e(347)](e(348)).to(this,e(366)),s.on(e(373),(()=>this[e(352)](e(373),e(374)))),n.on(e(373),(()=>this[e(352)](e(373),e(371)))),this[e(377)]({tag:e(367),attributes:{class:["ck",e(364),e(388)]},children:[{tag:e(362),attributes:{class:[e(384)]},children:[{tag:e(362),attributes:{class:[e(359),i.if(e(381),e(358),(t=>!t))]},children:[{text:i.to(e(369),(i=>i?Q(t,e(382))+": ":Q(t,e(353))+": "))}]},{text:i.to(e(356))}]},new pt.ToolbarSeparatorView,{tag:e(367),attributes:{class:[e(357)]},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=me();return(de=function(t,e){return i[t-=438]})(t,e)}const fe=de;function me(){const t=["hide","1iQFXBs","change","document","7555185pVYvOA","2666712pqLAFP","1316402sjqLFj","48KCQhsw","18vLGtYQ","isOfficialPlugin","editing","14709850lgjVon","ck-editor__editable__loading-overlay","RevisionViewerLoadingOverlay","show","roots","removeClass","68411XVaebO","addClass","68vDcrhk","editor","6762088BLbOFC","564565cELozQ","30yiHpfo","pluginName","isPremiumPlugin","view"];return(me=function(){return t})()}!function(t){const e=de,i=t();for(;;)try{if(987688===parseInt(e(448))/1*(parseInt(e(453))/2)+parseInt(e(452))/3+-parseInt(e(439))/4*(-parseInt(e(442))/5)+parseInt(e(443))/6*(parseInt(e(464))/7)+parseInt(e(441))/8*(parseInt(e(455))/9)+-parseInt(e(458))/10+-parseInt(e(451))/11*(parseInt(e(454))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=fe(459);class ve extends U.Plugin{static get[fe(444)](){return fe(460)}static get[fe(456)](){return!0}static get[fe(445)](){return!0}[fe(461)](){const t=fe,e=this[t(440)][t(457)][t(446)];e[t(449)]((i=>{const s=t;for(const t of e[s(450)][s(462)])i[s(438)](pe,t)}))}[fe(447)](){const t=fe,e=this[t(440)][t(457)][t(446)];e[t(449)]((i=>{const s=t;for(const t of e[s(450)][s(462)])i[s(463)](pe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=284]})(t,e)}function ke(){const t=["hide","2103wZxVGo","componentFactory","execute","16fJWyzo","35aNZewT","6kcJLfK","26971siGfzj","revisionHistory","exitToEditing","currentChangeNumber","661130hroDTA","167778TyTdMM","numberOfChanges","isReady","requires","isNavigationMode","add","forward","isForwardNavigationEnabled","changesNavigation","221944qxyjmw","plugins","init","22gCllvM","set","144932aFIjND","isEnabled","922092TOanvC","listenTo","showPreviousChange","closeRevisionViewerCallback","ck-revision-history-ui__back-to-editing","isPremiumPlugin","RevisionViewerUI","show","editor","restoreRevision","change:isReady","isBackwardNavigationEnabled","bind","pluginName","showNextChange","get","config","commands","250XSXmIN","isOfficialPlugin","Back to editing","Restore this revision"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(134724===parseInt(e(331))/1+-parseInt(e(306))/2*(parseInt(e(311))/3)+-parseInt(e(286))/4*(-parseInt(e(315))/5)+-parseInt(e(316))/6*(-parseInt(e(317))/7)+-parseInt(e(314))/8*(parseInt(e(322))/9)+-parseInt(e(321))/10+parseInt(e(284))/11*(-parseInt(e(288))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(301)](){return ge(294)}static get[ge(307)](){return!0}static get[ge(293)](){return!0}static get[ge(325)](){return[te,ve]}[ge(333)](){const t=ge,e=this[t(296)],i=e[t(332)][t(303)](te),s=e[t(332)][t(303)](ve);e.ui[t(312)][t(327)](t(319),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(285)]({label:Q(i,s(308)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(292)}),this[s(289)](n,s(313),(()=>{const t=s;e[t(304)][t(303)](t(318))[t(291)]()})),n})),e.ui[t(312)][t(327)](t(297),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(285)]({label:Q(i,s(309)),withText:!0,tooltip:!0}),n[s(300)](s(287)).to(e[s(305)][s(303)](s(297))),this[s(289)](n,s(313),(()=>e[s(313)](s(297)))),n})),e.ui[t(312)][t(327)](t(330),(s=>{const n=t,r=new ue(s),o=e[n(305)][n(303)](n(290)),a=e[n(305)][n(303)](n(302));return r[n(300)](n(299)).to(o,n(287)),r[n(300)](n(329)).to(a,n(287)),r[n(300)](n(324),n(320),n(323),n(326)).to(i),this[n(289)](r,n(313),((t,i)=>{const s=n;e[s(313)](s(328)===i?s(302):s(290))})),r})),s[t(295)](),i.on(t(298),((e,i,n)=>{const r=t;n?s[r(310)]():s[r(295)]()}))}}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-=402]})(t,e)}function Oe(){const t=["input","clientWidth","790XuuQbn","render","value","placeholder","9532WrLOkM","8494776OFNaVa","ck-revision-history-sidebar__revision-name","destroy","_tooltipString","879emMgzN","set","element","scrollWidth","Enter the revision name","_updateTooltipText","3581018QrzqSR","bindTemplate","Revision name","31995kXILDb","span","fieldView","26772768aEtlAE","_resizeObserver","listenTo","389306OkSIST","1xCHRSm","ck-tooltip_multi-line","extendTemplate","57186DwyjTj","50OboDoe"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(863508===parseInt(e(410))/1*(-parseInt(e(409))/2)+parseInt(e(426))/3*(parseInt(e(421))/4)+parseInt(e(417))/5*(-parseInt(e(413))/6)+parseInt(e(432))/7+-parseInt(e(422))/8+-parseInt(e(403))/9*(parseInt(e(414))/10)+parseInt(e(406))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Ie(407)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(433)];this[i(427)]({label:Q(t,i(402)),_tooltipString:""}),this[i(405)][i(420)]=Q(t,i(430)),this[i(412)]({tag:i(404),attributes:{class:[i(423)],"data-cke-tooltip-text":s.to(i(425)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(411)}})}[Ie(418)](){const e=Ie;super[e(418)](),this[e(407)]=new t.ResizeObserver(this[e(405)][e(428)],(()=>this[e(431)]())),this[e(408)](this[e(405)],e(415),(()=>this[e(431)]()))}[Ie(424)](){const t=Ie;super[t(424)](),this[t(407)]&&this[t(407)][t(424)]()}[Ie(431)](){const t=Ie,e=this[t(405)][t(428)];this[t(425)]=e[t(429)]>e[t(416)]&&e[t(419)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(){const t=["span","16JXwPHe","ck-revision-history-sidebar__revision-author_creator","114205lOSwSo","1031572RlqllD","ck-revision-history-sidebar__revision-author","746478miYjBh","push","name","13523XSNsCc","ck-revision-history-sidebar__revision-author__name","0 0 11 10","5BcSvQY","set","3VtSNYw","1218858QNShsy","210dLOwFV","108746FZkGWl","Revision creator","Revision author","526034BvycnK","setTemplate"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=236]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(196383===parseInt(e(257))/1+-parseInt(e(246))/2*(-parseInt(e(240))/3)+parseInt(e(252))/4*(-parseInt(e(238))/5)+parseInt(e(241))/6+parseInt(e(251))/7+parseInt(e(249))/8*(parseInt(e(254))/9)+parseInt(e(242))/10*(-parseInt(e(243))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Me extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(239)]({content:mt.IconUser,viewBox:s(237)});const r=["ck",s(253)];i&&r[s(255)](s(250));const o=[{tag:s(248),attributes:{class:["ck",s(236)],title:Q(t,s(i?244:245))},children:[n,e[s(256)]]}];this[s(247)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=De();return(Ve=function(t,e){return i[t-=353]})(t,e)}function De(){var t=["615441VgHxFX","925855vdiFVq","toLocaleDateString","numeric","488192eKWUHd","400472mifJhL","long","1118397FcmbOT","toLocaleTimeString","4119730PxNWbk","8BCQQSf","14435590ogxoVy","6CGtiPb","22IsJqfK","135YvMthN"];return(De=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(425113===parseInt(e(353))/1+parseInt(e(357))/2+-parseInt(e(360))/3*(-parseInt(e(363))/4)+parseInt(e(362))/5+parseInt(e(365))/6*(parseInt(e(354))/7)+-parseInt(e(358))/8*(-parseInt(e(367))/9)+-parseInt(e(364))/10*(parseInt(e(366))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=172]})(t,e)}function Le(){const t=["isEnabled","set","extendTemplate","first","listenTo","1456MRtfHj","79986XXmVsz","2081898dffPGh","4253466rzJBdj","50WHmdXQ","class","children","source","add","find","ck-on","action","execute","function","menuitem","34545NOSrYn","bindTemplate","panelPosition","buttonView","items","Name this revision","Compare against selected","menu","bind","model","Restore this revision","change:isActionsDropdownOpen","1602210GaGnuY","444755xnvecW","button","isActionsDropdownOpen","Show more items","855dcSwdT","isReady","map","_action","isVisible","name","listView","stopPropagation","ck-revision-history-sidebar__revision__actions","isOpen","11252GHgvJL","locale"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(500534===-parseInt(e(212))/1+-parseInt(e(188))/2*(-parseInt(e(185))/3)+-parseInt(e(177))/4*(-parseInt(e(216))/5)+-parseInt(e(187))/6+parseInt(e(199))/7*(parseInt(e(184))/8)+-parseInt(e(186))/9+-parseInt(e(211))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const ze=Ue;function We(){const t=["isConfirm","1471316EFfatd","_requireRevisionName","ck-revision-history-sidebar__actions_dropdown_open","ck-disabled","_revision","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setName","ck-revision-history-sidebar__revision-wrapper","map","unshift","ck-reset","unhighlight","ck-revision-history-sidebar__revision_highlighted","length","span","isSelected","fire","fieldView","element","deselect","div","createdAt","from","extendTemplate","select","1334492BsfoOw","2418913ResvyN",".ck-thread__remove-confirm","220","isActionsDropdownOpen","2PKwACn","isReady","setTemplate","change","revisionNameView","isEnabled","value","listenTo","srcElement","creator","name","authors","render","set","ck-revision-history-sidebar__revision_selected","5474465dhNlkG","ck-revision-history-sidebar__revision__controls-wrapper","_createdAtFormatted","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision-authors","16019120xwsQVR","bindTemplate","uiLanguage","highlight","filter","closest","isHighlighted","bind","revisionActionsView","10246914kyydWl","682065UdCzKl"];return(We=function(){return t})()}function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=145]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(904709===parseInt(e(197))/1*(-parseInt(e(167))/2)+-parseInt(e(165))/3+parseInt(e(192))/4+-parseInt(e(149))/5+parseInt(e(164))/6+-parseInt(e(193))/7+parseInt(e(155))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(201)];[ze(163)];[ze(171)];[ze(168)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(156)],a=function(t,e){const i=r,s=Array[i(189)](e[i(145)])[i(159)]((t=>t!=e[i(206)]));return e[i(206)]&&s[i(176)](e[i(206)]),s[i(175)]((s=>new Me(t,s,s==e[i(206)])))}(e,i);this.id=i.id,this[r(171)]=i,this[r(168)]=n,this[r(162)](r(207),r(188)).to(i),this[r(162)](r(151)).to(this,r(188),(t=>{return i=e[r(157)],(s=t)[(n=Ve)(355)](i,{month:n(359),day:n(356)})+", "+s[n(361)](i,{hour:n(356),minute:n(356)});var i,s,n})),this[r(147)](r(182),!1),this[r(147)](r(161),!1),this[r(147)](r(196),!1),this[r(147)](r(198),!1),this[r(147)](r(202),!1),this[r(201)]=new Te(e,pt.createLabeledInputText),this[r(201)][r(184)][r(190)]({attributes:{maxlength:r(195)}}),this[r(201)][r(184)][r(162)](r(203)).to(this,r(207),(t=>t||this[r(151)])),this[r(201)][r(162)](r(202)).to(this,r(182),this,r(202),((t,e)=>t&&e)),this[r(163)]=s&&s[r(180)]?function(e,i){const s=Fe,n=e[s(200)],r=e[s(178)],o=(0,pt.createDropdown)(r);o[s(201)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(178)],n={"Compare against selected":Q(s,i(205)),"Name this revision":Q(s,i(204)),"Restore this revision":Q(s,i(209))};return e[i(218)]((t=>{const e=i,s=n[t[e(172)]];return s&&s!==t[e(172)]&&(t[e(172)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(213),model:new pt.ViewModel({label:t[n(172)],class:t[n(189)],withText:!0,role:n(198),_action:t[n(195)]})};i[n(208)][n(207)](n(179)).to(e,n(214),(i=>n(197)!=typeof t[n(179)]||!i||t[n(179)](e))),o[n(192)](i)}return o}(e,i);return e[s(207)](s(214)).to(o,s(176)),o[s(202)][s(180)]({label:Q(r,s(215)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(181)]({attributes:{class:[s(175),n.if(s(214),s(194))]},on:{click:n.to((t=>t[s(174)]()))}}),o.on(s(196),(t=>{const i=s;e[i(217)]&&i(197)==typeof t[i(191)][i(219)]&&t[i(191)][i(219)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(206)}),o[s(183)](e,s(210),((t,n,r)=>{const a=s;if(r)for(const t of o[a(173)][a(203)]){const s=t[a(190)][a(182)],n=i[a(193)]((t=>t[a(195)]===s[a(219)]))[a(220)];t[a(220)]=void 0===n||n(e)}})),o}(this,s):"",this[r(163)]&&this[r(163)][r(162)](r(202)).to(this),this[r(199)]({tag:r(187),attributes:{class:["ck",r(177),r(174),o.if(r(166),r(172))]},children:[{tag:r(187),attributes:{class:["ck",r(177),r(152),o.if(r(202),r(170),(t=>!t)),o.if(r(182),r(148)),o.if(r(161),r(179)),o.if(r(196),r(169))]},children:[this[r(201)],{tag:r(181),attributes:{class:["ck",r(153)]},children:[{text:o.to(r(151))}]},{tag:r(187),attributes:{class:["ck",r(150)]},children:[{tag:"ul",attributes:{class:["ck",r(154)]},children:a}]},this[r(163)]],on:{click:o.to((t=>{const e=r;t[e(205)][e(160)](e(194))||this[e(198)]&&this[e(202)]&&this[e(183)](e(191),{id:this.id})}))}}]})}[ze(146)](){const t=ze;super[t(146)]();const e=this[t(201)][t(184)][t(185)];this[t(204)](e,t(200),(()=>{const i=t;this[i(168)]&&!e[i(203)]||this[i(183)](i(173),{id:this.id,name:e[i(203)]}),e[i(203)]||(e[i(203)]=this[i(207)]?this[i(207)]:this[i(151)])}))}[ze(191)](){this[ze(182)]=!0}[ze(186)](){this[ze(182)]=!1}[ze(158)](){this[ze(161)]=!0}[ze(178)](){this[ze(161)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e 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 Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return $s(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 $s(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Mi={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.DateTimeFormat(t,e),Mi[i]=s),s}let Di={};let Ei={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.NumberFormat(t,e),Di[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ms(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Mi={},Di={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Li(this,t,Xs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(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 Bi(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?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 $i={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=$i.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(`${$i[i]}${e}`)),Ji[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return Bi(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){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=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new 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 Ms(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ds(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function 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 Bs(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function $s(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const 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 Xs(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 Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ms(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Vs(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Vs(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Mn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ds(i)),months:d(Ds(s)),weeks:d(Ds(n)),days:d(Ds(r)),hours:d(Ds(o)),minutes:d(Ds(a)),seconds:d(Ds(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Vs(e)):Vs(e),month: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?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Dn(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),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),Bn=mn(wn,Tn,xn,Nn),$n=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:Bs(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,Mn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Gn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new 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 $e(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,...Bs(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new 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 Be(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return Bi(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||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($i.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=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Mr=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Dr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Ms(t.c.hour);return e?(o+=":",o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ms(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ms(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ms(Math.trunc(-t.o/60)),o+=":",o+=Ms(Math.trunc(-t.o%60))):(o+="+",o+=Ms(Math.trunc(t.o/60)),o+=":",o+=Ms(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Br={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["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=Bi(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 $r)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Vr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=Bi(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?io.invalid("Timestamp out of range"):new io({ts:t,zone:Bi(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:Bi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=Bi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e),n=Bs(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=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=Br,g=gs(g)):(p=$r,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,Bn],[Hn,$n],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,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,Xn])}(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 Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Dr(this).weekYear:NaN}get weekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get weekday(){return this.isValid?Dr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=Bi(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Vr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=Bs(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,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new 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):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(t,e){const i=ro();return(no=function(t,e){return i[t-=122]})(t,e)}function ro(){const t=["12FKeXxs","local","minus","toJSDate","290uIJZKN","1veRoSE","week","176782kIizHU","toRelativeCalendar","8fAuGKI","setLocale","hasSame","monthLong","startOf","617133wgSfhw","6966PBeWle","1182709iCNjqH","8163311qTPrkP","14vczmOc","year","month","fromJSDate","3800GmjaNK","13782tZRFiS","4dpFVxV","day","weekdayLong","2510914cyPCPB"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(143)](t)[i(132)](e),n=io[i(123)](),r=n[i(124)]({days:1})[i(135)](i(147));let o,a;return s[i(133)](n,i(147))?(o=s[i(135)](i(147))[i(125)](),a=s[i(130)]()):s[i(133)](r,i(147))?(o=r[i(125)](),a=s[i(130)]()):s[i(133)](n,i(128))?(o=s[i(135)](i(128))[i(125)](),a=s[i(148)]||""):s[i(133)](n,i(141))?(o=s[i(135)](i(142))[i(125)](),a=s[i(134)]||""):(o=s[i(135)](i(141))[i(125)](),a=String(s[i(141)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(205300===-parseInt(e(127))/1*(-parseInt(e(129))/2)+parseInt(e(136))/3*(-parseInt(e(146))/4)+parseInt(e(126))/5*(-parseInt(e(145))/6)+-parseInt(e(149))/7*(parseInt(e(131))/8)+parseInt(e(137))/9*(parseInt(e(144))/10)+parseInt(e(138))/11*(-parseInt(e(122))/12)+parseInt(e(139))/13*(parseInt(e(140))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["1841365egEjRB","localizedPeriodName","ck-revision-history-sidebar__time-period","uiLanguage","ck-revision-history-sidebar__time-period__revisions","div","find","select","1455699TlnJyP","791832aGgfpg","769292iGqPfF","125667RWelVr","ck-revision-history-sidebar__time-period__label","_requireRevisionName","add","span","createCollection","remove","locale","removeRevision","startDate","_revisionActions","addRevision","320fHyovp","349319mMgTcx","setTemplate","6URAspD","setName","revisionViews","602236MombVQ","delegate"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=171]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(330978===-parseInt(e(176))/1+parseInt(e(181))/2*(parseInt(e(178))/3)+parseInt(e(193))/4+parseInt(e(183))/5+-parseInt(e(192))/6+parseInt(e(191))/7+-parseInt(e(175))/8*(parseInt(e(194))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(172)];[uo(180)];[uo(173)];[uo(196)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(201)][n(186)])[n(184)];this[n(172)]=e,this[n(180)]=this[n(199)](),this[n(173)]=i,this[n(196)]=s,this[n(180)][n(182)](n(190)).to(this),this[n(180)][n(182)](n(179)).to(this),this[n(177)]({tag:n(188),attributes:{class:["ck",n(185)]},children:[{tag:n(198),attributes:{class:["ck",n(195)]},children:[{text:r}]},{tag:n(188),attributes:{class:["ck",n(187)]},children:this[n(180)]}]})}[uo(174)](t){const e=uo,i=new He(this[e(201)],t,this[e(173)],this[e(196)]);this[e(180)][e(197)](i)}[uo(171)](t){const e=uo,i=this[e(180)][e(189)]((e=>e.id===t.id));this[e(180)][e(200)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=yo();return(vo=function(t,e){return i[t-=474]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(614311===-parseInt(e(474))/1*(parseInt(e(487))/2)+parseInt(e(482))/3*(parseInt(e(491))/4)+-parseInt(e(483))/5+parseInt(e(479))/6+-parseInt(e(480))/7+parseInt(e(488))/8*(-parseInt(e(485))/9)+-parseInt(e(490))/10*(-parseInt(e(477))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yo);class go extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(484)]=mt.IconHistory,this[e(476)]({tag:e(486),attributes:{class:["ck",e(478),e(489)]},children:[i,{tag:e(492),attributes:{class:["ck",e(481)]},children:[Q(t,e(475))]}]})}}function yo(){const t=["ck-revision-history-sidebar__header__label","3405piCAhE","1504295pEgaXN","content","54765gewolC","div","600UgCtLD","1032HuwZze","ck-revision-history-sidebar__header","729730RaOTmn","2924wqoUaF","span","2015gLCCOT","Revision history","setTemplate","110QQiaJy","ck-reset_all","5956266DJnHrk","1732437WbHkcI"];return(yo=function(){return t})()}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;function wo(){const t=["7326cmVhJt","removeRevision","revisionViews","addRevision","div","6936745DYWwek","_addRevision","select","render","highlightRevisions","find","setTemplate","set","createdAt","ck-rounded-corners","ck-revision-history-sidebar__timeline","7641SoybxM","_removeRevision","unhighlight","highlight","_getTimePeriodViewByStartDate","createCollection","ck-disabled","ck-revision-history-sidebar","timePeriodViews","4bbkTyh","add","locale","isEnabled","_revisionActions","_requireRevisionName","getTime","bindTemplate","get","revisionSetName","revisionSelected","20750616PEJBiV","remove","82730jBKoTH","5187AkjKIH","deselect","1177nAmPav","ck-reset","some","setName","uiLanguage","selectRevision","33420QteoRC","startDate","1258329krFDUC","9688XaWXAx","fire","map","delegate","_revisions","93hHISxm","flat"];return(wo=function(){return t})()}const _o=Io;function Io(t,e){const i=wo();return(Io=function(t,e){return i[t-=259]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(798855===parseInt(e(283))/1+parseInt(e(272))/2*(-parseInt(e(289))/3)+parseInt(e(259))/4*(-parseInt(e(296))/5)+parseInt(e(291))/6*(-parseInt(e(273))/7)+parseInt(e(284))/8*(parseInt(e(307))/9)+-parseInt(e(281))/10*(-parseInt(e(275))/11)+parseInt(e(270))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class So extends pt.View{[_o(315)];[_o(288)];[_o(263)];[_o(264)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(266)];this[n(315)]=this[n(312)](),this[n(315)][n(287)](n(298)).to(this),this[n(315)][n(287)](n(278)).to(this),this[n(288)]=e,this[n(263)]=i,this[n(264)]=s,this.on(n(298),((t,e)=>{const i=n;this[i(285)](i(269),e)})),this.on(n(278),((t,e)=>{const i=n;this[i(285)](i(268),e)})),this[n(303)](n(262),!1),this[n(302)]({tag:n(295),attributes:{class:["ck",n(276),n(305),n(314)]},children:[new go(t),{tag:n(295),attributes:{class:["ck",n(306),r.if(n(262),n(313),(t=>!t))]},children:this[n(315)]}]})}[_o(299)](){const t=_o;super[t(299)]();for(const e of this[t(288)])this[t(297)](e);this[t(288)].on(t(260),((e,i)=>{this[t(297)](i)})),this[t(288)].on(t(271),((e,i)=>{this[t(308)](i)}))}get[_o(293)](){const t=_o;return this[t(315)][t(286)]((e=>e[t(293)][t(286)]((t=>t))))[t(290)]()}[_o(280)](t){const e=_o;for(const i of this[e(293)])t&&t.id===i.id?i[e(298)]():i[e(274)]()}[_o(300)](t){const e=_o;for(const i of this[e(293)])t[e(277)]((({id:t})=>t===i.id))?i[e(310)]():i[e(309)]()}[_o(297)](t){const e=_o,i=oo(t[e(304)],this[e(261)][e(279)])[e(282)];let s=this[e(315)][e(267)](0);s&&s[e(282)][e(265)]()===i[e(265)]()||(s=new fo(this[e(261)],i,this[e(263)],this[e(264)]),this[e(315)][e(260)](s)),s[e(294)](t)}[_o(308)](t){const e=_o,i=oo(t[e(304)],this[e(261)][e(279)])[e(282)];this[e(311)](i)[e(292)](t)}[_o(311)](t){const e=_o;return this[e(315)][e(301)]((i=>i[e(282)][e(265)]()===t[e(265)]()))}}const Oo=xo;function To(){const t=["setName","revisionHistory","defaultRevisionActions","select","isReady","action","listenTo","getEarlierVisibleRevision","_createRevisionActions","destroy","isOfficialPlugin","1504812GbUfQK","_handleRevisionSetName","7pLLIdk","4REjuXf","init","restoreRevisionCallback","appendChild","get","add","focus","3124uyBsIp","locale","_sidebarView","change:diff","assign","requires","length","element","remove","string","compare","revisionHistory.requireRevisionName","revisionSetName","timePeriodViews","isSelected","pluginName","getLaterVisibleRevision","plugins","11689875xXtgqH","isPremiumPlugin","7903338YhqehP","ready","_handleEditorDataReady","nameRevision","repository","getRevisionsInDiff","68990kRSBRR","diff","render","bind","getRevision","718893CpHavG","isEnabled","highlightRevisions","editor","revisionViews","240oIphKQ","selectRevision","_revisionsRepository","fieldView","revisionHistory.revisionActions","RevisionsSidebar","8504264VqgLoc","_handleRevisionSelected","revisionHistory.viewerSidebarContainer","config","Restore this revision","map","Compare against selected","isVisible","availableRevisionActions","compareAgainstSelected","_handleDiffChange","newRevisionId","name","revisionSelected","_revisions","Name this revision","10172RKMDLT","_revisionViewer","getIndex","data","restoreRevision"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=407]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(722102===parseInt(e(429))/1+-parseInt(e(475))/2*(-parseInt(e(472))/3)+-parseInt(e(456))/4*(parseInt(e(434))/5)+parseInt(e(418))/6+parseInt(e(474))/7*(parseInt(e(440))/8)+-parseInt(e(416))/9+-parseInt(e(424))/10*(parseInt(e(482))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends U.Plugin{[Oo(457)];[Oo(436)];[Oo(484)];static[Oo(463)]=[Oo(449),Oo(460),Oo(421)];static[Oo(448)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(446),action:({plugins:e},i)=>{const s=t,n=e[s(479)](te),r=n[s(422)];let o=n[s(425)][s(451)],a=i.id;r[s(458)](o)>r[s(458)](a)&&([o,a]=[a,o]),n[s(408)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(479)](te);return!(n[s(422)][s(423)](n[s(425)])[s(488)]>2||i[s(412)])}},restoreRevision:{name:t(444),action:(e,{id:i})=>{const s=t;e[s(443)][s(479)](s(462))[s(477)](i)},isVisible:({plugins:e},i)=>!!e[t(479)](te)[t(422)][t(414)](i.id)},nameRevision:{name:t(455),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(479)](te),o=r[n(422)][n(468)](i);r[n(408)](i,o),s[n(481)](),s[n(437)][n(464)]()}}}}();static get[Oo(413)](){return Oo(439)}static get[Oo(471)](){return!0}static get[Oo(417)](){return!0}static get[Oo(487)](){return[te]}constructor(t){const e=Oo;super(t),this[e(457)]=t[e(415)][e(479)](te),this[e(436)]=this[e(457)][e(422)],this[e(484)]=null}[Oo(476)](){const t=Oo,e=this[t(436)][t(454)],i=this[t(469)](),s=this[t(432)][t(443)][t(479)](t(442));this[t(484)]=new So(this[t(432)][t(483)],e,i,this[t(432)][t(443)][t(479)](t(409))),this[t(484)].on(t(453),this[t(441)][t(427)](this)),this[t(484)].on(t(410),this[t(473)][t(427)](this)),this[t(484)][t(427)](t(430)).to(this[t(457)]),this[t(484)][t(411)].on(t(480),((e,i)=>{const s=t;i[s(433)].on(s(480),((t,e)=>{const i=s;e[i(427)](i(430),i(465)).to(this[i(457)])}))})),this[t(484)][t(426)](),this[t(467)](this[t(432)][t(459)],t(419),this[t(420)][t(427)](this)),this[t(467)](this[t(457)],t(485),this[t(450)][t(427)](this)),s[t(478)](this[t(484)][t(489)])}[Oo(470)](){const t=Oo;this[t(484)][t(489)][t(490)](),this[t(484)][t(470)]()}[Oo(420)](){const t=Oo,e=this[t(436)][t(428)](0);if(e){const i=this[t(436)][t(468)](e.id);this[t(457)][t(408)](e,i)}}[Oo(441)](t,e){const i=Oo,s=this[i(436)][i(428)](e.id),n=this[i(436)][i(468)](s.id);this[i(457)][i(408)](s,n)}[Oo(473)](t,e){const i=Oo;this[i(436)][i(428)](e.id)[i(461)](e[i(452)])}[Oo(450)](t,e,i){const s=Oo,n=this[s(436)][s(423)](i);n[s(488)]>2?(this[s(484)][s(431)](n),this[s(484)][s(435)](null)):(this[s(484)][s(431)]([]),this[s(484)][s(435)](n[0]))}[Oo(469)](){const t=Oo,e=this[t(432)],i=No[t(448)],s=e[t(443)][t(479)](t(438))||No[t(463)];if(s[t(488)])return s[t(445)]((s=>{const n=t,r=n(407)==typeof s?Object[n(486)]({},i[s]):s;return r[n(466)]=r[n(466)][n(427)](this,e),r[n(447)]&&(r[n(447)]=r[n(447)][n(427)](this,e)),r}))}}const Ro=No,Ao=Vo;function Mo(){const t=["config","attachDomRoot","ready","_initToolbar","bind","_elementReplacer","name","viewportOffset","setEditableElement","editing","focusTracker","isActive","limiterElement","init","4SOdbsP","get","getRoot","fire","addToolbar","replace","view","473328PXmVSQ","_view","editable","stickyPanel","restore","detachDomRoot","render","toolbar","element","_toolbarConfig","152616ygnFgO","1340832wYzmYR","8NoRkfh","destroy","517023uoiYnz","document","isFocused","fillFromConfig","1142526gdPPQk","viewportTopOffset","1663788izGyWP","rootName","editor","1232840kTfDjQ","componentFactory"];return(Mo=function(){return t})()}function Vo(t,e){const i=Mo();return(Vo=function(t,e){return i[t-=400]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(275505===parseInt(e(440))/1*(-parseInt(e(423))/2)+parseInt(e(402))/3+-parseInt(e(430))/4+parseInt(e(407))/5+-parseInt(e(441))/6+-parseInt(e(404))/7*(-parseInt(e(442))/8)+parseInt(e(444))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Do extends pt.EditorUI{[Ao(431)];[Ao(439)];[Ao(414)];get[Ao(429)](){return this[Ao(431)]}constructor(e,i){const s=Ao;super(e),this[s(431)]=i,this[s(439)]=(0,pt.normalizeToolbarConfig)(e[s(409)][s(424)](s(437))),this[s(414)]=new t.ElementReplacer}get[Ao(438)](){const t=Ao;return this[t(429)][t(438)]}[Ao(422)](t){const e=Ao,i=this[e(406)],s=this[e(429)],n=i[e(418)][e(429)],r=s[e(432)],o=n[e(445)][e(425)]();r[e(415)]=o[e(405)],s[e(436)]();const a=r[e(438)];this[e(417)](r[e(415)],a),s[e(432)][e(413)](e(400)).to(this[e(419)]),n[e(410)](a),this[e(414)][e(428)](t,this[e(438)]),this[e(412)](),this[e(426)](e(411))}[Ao(443)](){const t=Ao;super[t(443)]();const e=this[t(429)],i=this[t(406)][t(418)][t(429)];this[t(414)][t(434)](),i[t(435)](e[t(432)][t(415)]),e[t(443)]()}[Ao(412)](){const t=Ao,e=this[t(429)];e[t(433)][t(413)](t(420)).to(this[t(419)],t(400)),e[t(433)][t(421)]=e[t(438)],e[t(433)][t(413)](t(403)).to(this,t(416),(({top:t})=>t)),e[t(437)][t(401)](this[t(439)],this[t(408)]),this[t(427)](e[t(437)])}}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;var Fo=Lo;function Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=185]})(t,e)}function jo(){var t=["1056668UtBTCP","main","stickyPanel","toolbar","top","10jwAHfM","2707176HtrpRc","9hkpluB","38364nbVLsP","editable","3837968YcTpLX","shouldToolbarGroupWhenFull","render","_editable","5Rwokba","1407OjREOh","12178364ouNZon","561553SXmtxO","content","5509554pnmOjj","add"];return(jo=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(980148===-parseInt(e(197))/1+parseInt(e(186))/2+parseInt(e(199))/3+-parseInt(e(201))/4*(-parseInt(e(194))/5)+-parseInt(e(188))/6*(parseInt(e(195))/7)+-parseInt(e(190))/8*(-parseInt(e(187))/9)+-parseInt(e(185))/10*(parseInt(e(196))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(193)];[Fo(203)];[Fo(204)];get[Fo(189)](){return this[Fo(193)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(203)]=new pt.StickyPanelView(t),this[s(204)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(191)]}),this[s(193)]=new pt.InlineEditableUIView(t,e)}[Fo(192)](){var t=Fo;super[t(192)](),this[t(203)][t(198)][t(200)](this[t(204)]),this[t(205)][t(200)](this[t(203)]),this[t(202)][t(200)](this[t(189)])}}const zo=Wo;function Wo(t,e){const i=Uo();return(Wo=function(t,e){return i[t-=359]})(t,e)}function Uo(){const t=["28LfHDrT","destroy","14Ifcerc","5120cBaMMQ","model","data","initPlugins","editing","_ui","5247LccqnI","createRoot","ready","261520leoBAn","view","fire","init","create","1651287rjLhoF","940306DehmDU","1141626yMnZDP","config","initialData","get","256008MSgXfi","updateSourceElement","locale","document","sourceElement","513797twNXQe"];return(Uo=function(){return t})()}!function(t){const e=Wo,i=t();for(;;)try{if(374884===parseInt(e(383))/1+parseInt(e(373))/2+-parseInt(e(372))/3+parseInt(e(384))/4*(parseInt(e(367))/5)+-parseInt(e(374))/6+-parseInt(e(386))/7*(-parseInt(e(378))/8)+-parseInt(e(364))/9*(parseInt(e(387))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[zo(363)];get ui(){return this[zo(363)]}constructor(t,e){const i=zo;super(e),this[i(382)]=t,this[i(359)][i(381)][i(365)]();const s=new Po(this[i(380)],this[i(362)][i(368)],{shouldToolbarGroupWhenFull:!0});this[i(363)]=new Do(this,s)}[zo(385)](){const t=zo;return this[t(379)](),this.ui[t(385)](),super[t(385)]()}static async[zo(371)](t,e){const i=zo,s=new this(t,e);return await s[i(361)](),await s.ui[i(370)](t),await s[i(360)][i(370)](s[i(375)][i(377)](i(376))||""),s[i(369)](i(366)),s}}const Zo=qo;function qo(t,e){const i=Yo();return(qo=function(t,e){return i[t-=404]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(949383===parseInt(e(510))/1+-parseInt(e(511))/2+parseInt(e(445))/3+-parseInt(e(463))/4+parseInt(e(413))/5*(-parseInt(e(444))/6)+parseInt(e(506))/7+parseInt(e(497))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);const Bo=[Zo(484),Zo(546)];class $o extends U.Plugin{[Zo(486)];static get[Zo(451)](){return Zo(455)}static get[Zo(454)](){return!0}static get[Zo(435)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(421)]((t=>String[e(502)](t)))[e(492)]("")}super(t),this[e(486)]=e(453),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function Yo(){const t=["RevisionHistoryUtils","DocumentOutlineUI","removeSelectionAttribute","getUser","push","isPremiumPlugin","_getRevisionViewerEditorConfig","refreshPositioning","_update","$graveyard","none","remove","changesNavigation","revisionHistory.editorContainer","114KOCpBB","3658377GQvUqB","toLocaleTimeString","disableReadOnlyMode","config","keys","set","pluginName","commands","end","isOfficialPlugin","RevisionViewerIntegration","Autosave","adapter","init","then","_viewerEditor","repository","creator","6383600BmKtXO","createdAt","revisionHistory","revisionHistory.closeRevisionViewerCallback","exitToEditing","restrictedEditingException","getMarkersGroup","isRevisionViewerOpen","toJSON","locale","getAttributeKeys","element","from","restoreRevision","revisionHistory.viewerEditorElement","setAttribute","insert","Dialog","isOpen","name","requires","RevisionHistoryUI","users","result","getRevisionDocumentData","addRoot","roots","plugins","DocumentOutline","join","numeric","createRangeIn","style","isReady","2207240xLQHtz","toVersion","uiLanguage","detachRoot","RevisionsRepository","fromCharCode","addUser","RevisionHistory","block","9538039iIblCU","bind","document","hide","421322shnIyY","40566dnVLSk","save","setSelection","RevisionTracker","revisionHistory.requireRevisionName","showRevisionViewerCallback","toolbar","create","Users","translations","revisionHistory.viewerContainer","getRevisionRootsAttributes","error","isAttached","selection","view","_enhanceShowRevisionViewerCallback","revisionHistory.restoreRevisionCallback","long","includes","_cleanUp","editor","has","enqueueChange","isAnonymous","_showRevisionViewer","refreshVisibility","indexOf","destroy","lazyRoots","removeMarker","_recalculatePageBreaks","addRevisionData","PaginationLookup","define","RestrictedEditingMode","get","removeAttribute","fromVersion","display","data","isReadOnly","change","enableReadOnlyMode","revisionHistory.showRevisionViewerCallback","toLocaleDateString","revision-history-missing-configuration","parse","Annotations","catch","_enhanceCloseRevisionViewerCallback","getRevisions","187815pFgxXt","_restoreRevision","update","loadRevisionData","markers","model","getRevision","revision-history-viewer-opened","map","_closeRevisionViewer","closeRevisionViewerCallback","isEnabled","getRoot","rootName","RevisionViewer","saveRevision","Restored"];return(Yo=function(){return t})()}class Go extends U.Plugin{[Zo(460)];static get[Zo(451)](){return Zo(504)}static get[Zo(454)](){return!0}static get[Zo(435)](){return!0}static get[Zo(483)](){return[ot,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(532)][i(448)][i(547)](i(465)))throw new t.CKEditorError(i(407),this);this[i(460)]=null,this[i(450)](i(470),!1),this[i(532)][i(448)][i(545)](i(405),(t=>this[i(536)]({...t,translations:this[i(532)][i(472)][i(520)]}))),this[i(532)][i(448)][i(545)](i(466),(t=>this[i(422)](t))),this[i(532)][i(448)][i(545)](i(528),(t=>this[i(414)](t))),this[i(532)][i(448)][i(545)](i(515),!1),this[i(527)](),this[i(411)]()}set[Zo(457)](t){const e=Zo;this[e(532)][e(490)][e(547)](e(514))[e(457)]=t}get[Zo(457)](){const t=Zo;return this[t(532)][t(490)][t(547)](t(514))[t(457)]}[Zo(543)](t){const e=Zo;return this[e(532)][e(490)][e(547)](e(514))[e(543)](t)}[Zo(419)](t){const e=Zo;return this[e(532)][e(490)][e(547)](e(501))[e(419)](t)}[Zo(412)](t){const e=Zo;return this[e(532)][e(490)][e(547)](e(501))[e(412)](t||{toJSON:!1})}[Zo(436)](){const e=Zo,i=this[e(532)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(490)][e(547)](e(514)),r=i[e(490)][e(547)](e(519))[e(485)];return s[e(517)]=[e(467),e(476),e(442)],delete s[e(540)],s[e(490)][e(434)]($o,te,be,class extends U.Plugin{static get[e(483)](){return[te,e(519)]}[e(458)](){const s=e,o=this[s(532)][s(490)][s(547)](s(519));for(const t of r)t[s(535)]||o[s(433)](t.id)||o[s(503)](t);const a=n[s(461)][s(412)]();let c=null;const u=this[s(532)][s(490)][s(547)](s(427));u[s(457)]=n[s(457)],u[s(507)](s(424)).to(n),this[s(532)][s(452)][s(547)](s(476))[s(507)](s(424)).to(i,s(552),(t=>!t));for(const e of a){const i=null===e[s(462)];if(i&&e[s(498)]===e[s(549)])continue;const r=e[s(471)]();u[s(543)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(438)](r,o);else if(!o){const e=a[u(471)]();e.id=(0,t.uid)(),n[u(428)](e,a[u(498)])[u(459)]((t=>{c=t}))}}else e[u(438)](r,o)}))}}},Ro),s}[Zo(527)](){const t=Zo,e=this[t(532)][t(448)][t(547)](t(465))[t(516)];this[t(532)][t(448)][t(450)](t(405),(async()=>{const i=t;this[i(532)][i(404)](i(420));const s=this[i(532)][i(490)][i(547)](i(514));if(this[i(532)][i(490)][i(533)](i(456))){const t=this[i(532)][i(490)][i(547)](i(456));await t[i(512)]()}else await s[i(415)]();if(this[i(532)][i(490)][i(533)](i(544))&&this[i(532)][i(490)][i(547)](i(544))[i(542)](),this[i(532)][i(490)][i(533)](i(480))){const t=this[i(532)][i(490)][i(547)](i(480));t[i(481)]&&t[i(509)]()}const n=this[i(436)]();return e(n)[i(459)]((t=>{const e=i;return this[e(460)]=t,this[e(532)][e(490)][e(533)](e(409))&&this[e(532)][e(490)][e(547)](e(409))[e(537)](),this[e(532)][e(490)][e(533)](e(491))&&(this[e(532)][e(490)][e(547)](e(431))[e(526)][e(474)][e(495)][e(550)]=e(440)),t}))[i(410)]((t=>(console[i(523)](t),this[i(532)][i(447)](i(420)),null)))}))}[Zo(411)](){const t=Zo,e=this[t(532)][t(448)][t(547)](t(465))[t(423)];this[t(532)][t(448)][t(450)](t(466),(()=>(this[t(532)][t(490)][t(533)](t(544))&&this[t(532)][t(490)][t(547)](t(544))[t(542)](),this[t(532)][t(490)][t(533)](t(491))&&(this[t(532)][t(490)][t(547)](t(431))[t(526)][t(474)][t(495)][t(550)]=""),this[t(460)][t(490)][t(547)](t(427))[t(531)](),e(this[t(460)])[t(459)]((()=>{const e=t;if(this[e(532)][e(447)](e(420)),this[e(460)]=null,this[e(532)][e(490)][e(533)](e(409))){const t=this[e(532)][e(490)][e(547)](e(409));t[e(537)](),t[e(437)]()}})))))}[Zo(536)](t){const e=Zo,i=this[e(532)][e(448)][e(547)](e(443)),s=this[e(532)][e(448)][e(547)](e(521)),n=this[e(532)][e(448)][e(547)](e(477));return Ho[e(518)](n,t)[e(459)]((t=>(s[e(495)][e(550)]=e(505),i[e(495)][e(550)]=e(440),this[e(470)]=!0,t)))}[Zo(422)](t){const e=Zo,i=this[e(532)][e(448)][e(547)](e(443));return this[e(532)][e(448)][e(547)](e(521))[e(495)][e(550)]=e(440),i[e(495)][e(550)]="",this[e(470)]=!1,t[e(539)]()}async[Zo(414)](t){const e=Zo,i=this[e(532)],s=this[e(460)][e(490)][e(547)](e(427)),n=i[e(490)][e(547)](e(514)),r=i[e(490)][e(547)](e(430)),o=s[e(461)][e(419)](t);let a,c,u;try{await r[e(416)](o,this[e(457)]),a=r[e(487)](o),c=r[e(522)](o)}catch(t){return void console[e(523)](t)}i[e(418)][e(553)]((t=>{const s=e;for(const e of Array[s(475)](i[s(418)][s(417)][s(469)](s(468))))t[s(541)](e)})),s[e(496)]=!1,i[e(418)][e(534)]((t=>{const s=e;t[s(513)](null),t[s(432)](i[s(418)][s(508)][s(525)][s(473)]());const n=Object[s(449)](a);for(const e of i[s(418)][s(508)][s(489)])s(439)!=e[s(426)]&&e[s(524)]()&&!n[s(530)](e[s(426)])&&t[s(500)](e);for(const e of n){let n=i[s(418)][s(508)][s(425)](e);n&&n[s(524)]()||(n=t[s(488)](e));const r=c[e],o=Object[s(449)](r),u=a[e];for(const e of n[s(473)]())o[s(530)](e)||t[s(548)](e,n);for(const i of o)t[s(478)](i,c[e][i],n);t[s(441)](t[s(494)](n)),t[s(479)](i[s(551)][s(408)](u,n),n,0)}}));const l=Q(i[e(472)],e(429));return u=o[e(482)]?-1==o[e(482)][e(538)](l)?l+": "+o[e(482)]:o[e(482)]:l+": "+o[e(464)][e(406)](i[e(472)][e(499)],{month:e(529),day:e(493)})+", "+o[e(464)][e(446)](i[e(472)][e(499)],{hour:e(493),minute:e(493)}),await n[e(428)]({name:u}),s[e(496)]=!0,i[e(448)][e(547)](e(465))[e(423)]()}}function Jo(){var t=["118492Llcqdx","1631136GsvbGk","205253EHQBoL","8PeupWg","13233843LwNFly","2707848BNtkEs","63tjeBag","153090LiiXTg","1958369lYMxaY"];return(Jo=function(){return t})()}function Ko(t,e){var i=Jo();return(Ko=function(t,e){return i[t-=283]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(872934===parseInt(e(288))/1+parseInt(e(287))/2+-parseInt(e(283))/3*(-parseInt(e(286))/4)+-parseInt(e(284))/5+parseInt(e(291))/6+parseInt(e(285))/7+-parseInt(e(289))/8*(parseInt(e(290))/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})();
|