@ckeditor/ckeditor5-revision-history 45.0.0-alpha.1 → 45.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>ct,RevisionViewer:()=>ee,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 E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function 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(){const t=["creatorId","8sQksOE","2QMkkzo","removeAttribute","1833180qLFpti","authorsIds","map","diffData","1935KByBBF","authors","20ljyVLI","_update","attributes","16756234rSOybQ","set","220451YkyRfM","fire","name","6248522baYwsf","model","setName","3913326aoCAlL","4173021MWwMCL","createdAt","fromVersion","setAttribute","creator","toJSON","14436fpRCEp","toVersion"];return(L=function(){return t})()}const P=z;function z(t,e){const i=L();return(z=function(t,e){return i[t-=393]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(859519===parseInt(e(408))/1*(-parseInt(e(395))/2)+-parseInt(e(414))/3+-parseInt(e(421))/4*(parseInt(e(401))/5)+parseInt(e(397))/6+-parseInt(e(411))/7*(-parseInt(e(394))/8)+-parseInt(e(415))/9+parseInt(e(403))/10*(parseInt(e(406))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(L);class W extends((0,t.ObservableMixin)()){id;[P(419)];[P(402)];[P(400)];[P(422)];[P(417)];[P(412)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(419)]=e[i(419)]||null,this[i(402)]=e[i(402)]||[],this[i(400)]=e[i(400)]||null,this[i(422)]=e[i(422)]||0,this[i(417)]=e[i(417)]||0,this[i(407)](i(410),e[i(410)]||""),this[i(407)](i(416),e[i(416)]||new Date),this[i(407)](i(405),e[i(405)]||{})}[P(413)](t){this[P(404)]({name:t})}[P(418)](t,e){const i=P,s=A(this[i(405)]);(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(404)]({attributes:s})}[P(396)](t){const e=P,i=A(this[e(405)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(404)]({attributes:i})}[P(404)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(410),i(416),i(400),i(402),i(405),i(422),i(417),i(393)];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(402)]&&(n[i(398)]=n[i(402)][i(399)]((t=>t.id)),delete n[i(402)]),this[i(409)](i(404),n,e))}[P(420)](){const t=P;return{id:this.id,name:this[t(410)],creatorId:this[t(419)]?this[t(419)].id:null,authorsIds:this[t(402)][t(399)]((t=>t.id)),diffData:this[t(400)],createdAt:this[t(416)],attributes:this[t(405)],fromVersion:this[t(417)],toVersion:this[t(422)]}}}var U=i(782),H=i(211),Z=i(783);const q=$;function $(t,e){const i=B();return($=function(t,e){return i[t-=429]})(t,e)}function B(){const t=["143lBAmPL","toJSON","creatorId","287634bVsYxY","data","fromCharCode","275MoxRoE","afterInit","map","_revisions","name","13gyyoMq","oldRevisionId","createdAt","authorsIds","isNaN","257990LdCZBr","23259492AEyOil","get","88252gIYXAS","push","468RiOmQS","isPremiumPlugin","getLaterVisibleRevision","1185858JkIjcE","fromVersion","earlier","getIndex","77JsWaOJ","isOfficialPlugin","2yKwIZM","RevisionsRepository","getEarlierVisibleRevision","getRevisionsIterator","plugins","length","3475722eBhoiA","href","getRevisionsInDiff","later","diffData","newRevisionId","add","reverse","getUser","attributes","join","pluginName","toVersion","editor","createRevision","getRevision","getRevisions","addRevision","38512kQtkrb","Users","requires","from"];return(B=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(693724===parseInt(e(451))/1+parseInt(e(457))/2*(-parseInt(e(463))/3)+parseInt(e(446))/4*(-parseInt(e(433))/5)+-parseInt(e(430))/6*(-parseInt(e(455))/7)+parseInt(e(481))/8*(-parseInt(e(448))/9)+-parseInt(e(443))/10*(parseInt(e(485))/11)+parseInt(e(444))/12*(parseInt(e(438))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[q(436)];static get[q(483)](){return[H.Users]}static get[q(474)](){return q(458)}static get[q(456)](){return!0}static get[q(449)](){return!0}get[q(462)](){const t=q;return this[t(436)][t(462)]}constructor(e){const i=q;super(e),this[i(436)]=new t.Collection}[q(434)](){!async function(e){const i=k([72,78,79,70,69,122,52,51,97,104,103,116,106,73,83,48,113,71,117,119,86,77,99,49,105,110,112,68,114,65,98,115,81,66,118,85,88,84,76,102,74,89,111,109,82,90,121,101,54,100,75,55,50,80,53,87,56,57,120,107,108,67]),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(442)](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([72]);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(435)]((t=>String[e(432)](t)))[e(473)]("")}!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:1743033600;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(464)]);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(477)](t){const e=q,i=this[e(476)][e(461)][e(445)](e(482));return new W({id:t.id,name:t[e(437)],creator:t[e(429)]?i[e(471)](t[e(429)]):null,diffData:t[e(467)]||t[e(431)],authors:t[e(441)][e(435)]((t=>i[e(471)](t))),createdAt:new Date(t[e(440)]),attributes:t[e(472)],fromVersion:t[e(452)],toVersion:t[e(475)]})}[q(480)](t,e=0){const i=q;this[i(436)][i(469)](t,e)}[q(478)](t){const e=q;return this[e(436)][e(445)](t)}[q(479)](t={toJSON:!1}){const e=q,i=Array[e(484)](this[e(436)]);return i[e(470)](),t[e(486)]?i[e(435)]((t=>t[e(486)]())):i}[q(454)](t){const e=q;return this[e(436)][e(454)](t)}[q(459)](t){const e=q,[,i]=this[e(460)](t,{direction:e(453)});return i}[q(450)](t){const e=q,[,i]=this[e(460)](t,{direction:e(466)});return i}[q(465)](t){const e=q,i=[];for(const s of this[e(460)](t[e(468)]))if(i[e(447)](s),s.id===t[e(439)])break;return i}*[q(460)](t,{direction:e=q(453),filter:i=()=>!0}={}){const s=q,n=s(453)===e?1:-1;let r=this[s(436)][s(445)](t),o=this[s(454)](r);for(yield r;r;){if(o+=n,r=this[s(478)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=303]})(t,e)}function K(){const t=["map","createElement","constructor","length","render","loadRevisionData","childNodes","2950644htCfZY","isPremiumPlugin","forEach","filter","revision-end","data-revision-","default","_appendChild","domChildrenToView","getRevisionRootsAttributes","string","useFillerType","fillerOffset","_getTypeCharForViewElement","toData","view","_viewClassToTypeChar","startsWith","1526928YTprfZ","document","attachChange","insertions","1197JSvHhQ","htmlProcessor","_typeCharToViewClass","RevisionHistoryUtils","_makeModelFromViewString","_removeRevisionMarkers","isAttached","from","pluginName","revision-start","attributesAfter","7062880gbtHEi","getFillerOffset","attributes","append","name","getRevisionDocumentData","52281NigsdQ","_getViewFromDiffObj","4728xaijVn","customProperties","editor","isOfficialPlugin","marked","data","editing","children","getRevision","type","toModel","domDocument","get","_setCustomProperty","diffData","domConverter","775419Kdbcek","parse","innerHTML","20856rdXQel","viewChildrenToDom","collaboration.channelId","config","2747160xreKbS","div","processor"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(780697===parseInt(e(311))/1+parseInt(e(318))/2+parseInt(e(346))/3+parseInt(e(328))/4+parseInt(e(361))/5+-parseInt(e(314))/6*(parseInt(e(350))/7)+-parseInt(e(369))/8*(parseInt(e(367))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class Q extends U.Plugin{static get[J(358)](){return J(353)}static get[J(372)](){return!0}static get[J(329)](){return!0}[J(344)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(352)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(326)](t,e){const i=J;if(t[i(309)]||!e)return;const s=this[i(371)][i(317)][i(307)](i(316)),n=await e[i(303)]({channelId:s,revisionId:t.id});t[i(309)]=n[i(309)]}[J(366)](t){const e=J,i={};for(const s in t[e(309)]){if(t[e(309)][s][e(348)]&&!t[e(309)][s][e(348)][e(356)])continue;const n=this[e(355)](JSON[e(312)](t[e(309)][s][e(349)])),r=this[e(371)][e(375)][e(343)][e(347)],o=new Z.ViewDocumentFragment(r,n[e(321)]((t=>this[e(368)](t,!1))));this[e(371)][e(374)][e(320)][e(339)](e(373)),i[s]=this[e(371)][e(374)][e(320)][e(342)](o),this[e(371)][e(374)][e(320)][e(339)](e(334))}return i}[J(337)](t){const e=J,i={};for(const s in t[e(309)])t[e(309)][s][e(348)]&&!t[e(309)][s][e(348)][e(356)]||(i[s]=t[e(309)][s][e(360)]||{});return i}[J(341)](t){const e=J;return this[e(344)][e(307)](t[e(323)])}[J(368)](t,e){const i=J,s=this[i(371)][i(375)][i(343)][i(347)];if(i(338)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(304)]||"r"==t[i(304)]?[]:t[i(376)][i(321)]((t=>this[i(368)](t,e)));const o=this[i(352)][i(307)](t[i(304)])||Z.ViewElement,a=this[i(371)][i(374)][i(351)][i(310)];if(n=new o(s,t[i(365)],t[i(363)],r),"u"==t[i(304)]){const r=t[i(376)][0];if(n[i(325)]=function(t){const e=i,s=t[e(322)](e(319));return s[e(313)]=r,s[e(327)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(335)](n);const e=Array[i(357)](a[i(315)](t,{bind:!1})),r=a[i(306)][i(322)](i(319));r[i(364)](...e),n=Array[i(357)](a[i(336)](r))[0]}}else if("r"==t[i(304)]){const r=t[i(376)][0];if(n[i(325)]=function(t){t[i(313)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(335)](n);const e=Array[i(357)](a[i(315)](t,{bind:!1})),r=a[i(306)][i(322)](i(319));r[i(364)](...e);const o=Array[i(357)](a[i(336)](r));o[i(324)]>1?n[i(335)](o):n=o[0]}}if(t[i(370)])for(const[e,s]of t[i(370)])n[i(308)](e,s);const c=t[i(340)]||null;return n[i(362)]=()=>c,n}}[J(354)](t){const e=J,i=JSON[e(312)](t),s=this[e(371)][e(375)][e(343)][e(347)],n=new Z.ViewDocumentFragment(s,i[e(321)]((t=>this[e(368)](t,!0))));return this[e(371)][e(374)][e(305)](n)}[J(355)](t){const e=J;return(t=t[e(331)]((t=>!t[e(365)]||e(359)!==t[e(365)]&&e(332)!==t[e(365)])))[e(330)]((t=>{const i=e;i(338)!=typeof t&&(t[i(376)]=this[i(355)](t[i(376)]),t[i(363)]=t[i(363)][i(331)]((t=>!t[0][i(345)](i(333)))))})),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,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,M;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=at();return(ot=function(t,e){return i[t-=484]})(t,e)}function at(){const t=["_handleInsertOperation","type","getAttributes","repository","graveyardPosition","_calculateMetaData","getOperation","name","getRange","_lastFrom","createRangeIn","_findInsertionIndex","saveRevision","getRevisionRootsAttributes","getRevisionDocumentData","end","reInit","featureNotAllowed","stickiness","revision","getIndex","_getPreviousFrom","locale","getChildren","createPositionBefore","isReady","newValue","getWalker","upcast","Initial revision","_appendChild","getUser","domDocument","vid_start","getData","init","_revisionDataBuilder","updateRevisions","_getFromVersion","PendingActions","_createCurrentRevision","_setConversion","_baseRootsAttributes","_getVidAttributeName","move","_startingRevisionId","source","map","then","data","_execute","customProperties","split","resolve","requires","creatorId","reverse","nodes","evaluationLimit","childCount","$comment","hasContent","conversion","_touchedMarkers","loadRevisionData","Empty document","startsWith","_getState","rawElement","outerHTML","htmlProcessor","has","_replaceEditorDataWithRevisionData","start","revisionHistoryLicenseKeyNotAllowed","size","insertion","children","getMovedRangeStart","revision:","761634NkMhkS","_source","RealTimeCollaborationClient","initial","$text","PENDING_ACTION_REVISION_HISTORY","buildRevisionData","from","keepParagraph","_createInitialRevision","createPositionAt","_loadState","_handleMoveOperation","_makeIdsRoot","insert","history","_markers","isAdd","_touchedRoots","filter","_handleRootAttributeOperation","currentRevision","getCustomProperties","_continueCurrentRevision","rootsAttributes","attributesAfter","_getTypeCharForViewElement","markers","getTime","invalid","fromVersion","trim","paragraph","_diffRootsAttributes","revisionHistoryLicenseKeyDomainLimit","ready","affectsData","_licenseKeyCheckInterval","_fixRange","stringify","document","merge","isEqual","add","_baseIdsRoots","userId","_authorId","revisionHistoryLicenseKeyInvalid","_applyOperations","licenseKey","rootName","documentFragment","fillerOffset","784546gsjizS","clear","plugins","getTransformedByOperation","558669SYhtIH","newRange","revisionHistoryLicenseKeyEvaluationLimit","_cloneOperation","addRevision","getNodeByPath","authors","getChild","position","_isPendingUpdate","usageLimit","deletions","_idsRoots","RevisionHistory","afterInit","_markChanges","initialData","insertions","adapter","config","_startingVersion","_isInit","_saveMetaData","_pendingAction","marker","revisionHistoryLicenseKeyValid","dataToMarker","addRootAttribute","isPremiumPlugin","_update","RevisionTracker","targetPosition","_bufferUpdate","_removePendingAction","text","creator","getRootNames","render","createElement","getFillerOffset","_initialRevisionId","pluginName","_isAttached","roots","splitPosition","destroy","_touched","_revisionId","editor","oldRange","baseVersion","sourcePosition","string","bind","attachChange","expired","loadState","8953875bzWMPW","authorsIds","Users","for","path","revisionHistoryLicenseKeyUsageLimit","isAttached","_handleRootOperation","values","getLatestVersion","isEnabled","update","_processRootBeforeSave","_transformMarkers","_makeModelFromViewString","vid","addRevisionData","_savedMetaData","domainLimit","removeRootAttribute","getAttribute","changeRootAttribute","createRange","createdAt","find","uiElement","slice","_diffRoots","offsetSize","shift","2358408YaXGFx","tableCell","range","toView","attributesBefore","offset","push","key","item","sort","getRoot","collaboration.channelId","_fixPosition","trialLimit","setRevisionData","8630JXNCYl","getRevision","reinsert","RevisionHistoryUtils","toVersion","_lastTo","revisionHistoryLicenseKeyTrialLimit","finally","innerHTML","_baseRoots","length","previousPosition","_handleMarkerOperation","_handleMergeOperation","diffData","_generateTape","get","_handleSplitOperation","model","getCurrentRevisionId","createPositionFromPath","vid_end","_getViewJson","_setAttribute","keys","_addPendingAction","some","domConverter","insertionPosition","_prepareViewToSave","3197752jrSGuX","editor-initial-data-replaced-with-revision-data","_insertChild","setSource","getOperations","includes","_createFromRanges","_makeRevision","remove","createRevision","deletion","detachRoot","revisionHistoryLicenseKeyExpired","root","version","$graveyard","_loadedStateData","clone","fromEntries","revisionHistory.resumeUnsavedRevision","getRevisions","element","sendBufferedUpdates","_copyMarkers","RevisionsRepository","NEGATIVE_INFINITY","createPositionAfter","isOfficialPlugin","_handleOperation","addRoot","dataDowncast","elementStart","elementEnd","max","getAncestors","set","_utils","_bufferedUpdates","nodeAfter","howMany","_removeMetaData","_getBaseVids","parent","_operations","_fixOperation","define","_showLicenseError","_clone","markerToData","delete","_reset"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(478949===-parseInt(e(612))/1+-parseInt(e(608))/2+-parseInt(e(555))/3+parseInt(e(744))/4+-parseInt(e(714))/5+-parseInt(e(699))/6+parseInt(e(669))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends U.Plugin{[rt(604)];[rt(592)];[rt(576)]=null;[rt(798)];[rt(630)]=null;[rt(511)];[rt(556)];[rt(652)];[rt(781)];[rt(780)];[rt(635)];[rt(578)];[rt(632)];[rt(760)];static get[rt(653)](){return rt(642)}static get[rt(771)](){return!0}static get[rt(640)](){return!0}static get[rt(529)](){return[H.Users,Y,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(798)]=this[i(660)][i(610)][i(730)](i(768)),this[i(780)]=this[i(660)][i(610)][i(730)](i(717)),this[i(511)]=new ut(this[i(660)]),this[i(652)]=this[i(660)][i(631)][i(730)](i(710))||i(558),this[i(781)]=new Map,this[i(760)]=null;const s=(0,t.uid)();this[i(556)]={history:this[i(660)][i(732)][i(595)][i(570)],getLatestVersion:()=>Promise[i(528)](this[i(660)][i(732)][i(595)][i(758)]),getCurrentRevisionId:()=>s},this[i(779)](i(500),!1),this[i(779)](i(679),!0),this[i(779)](i(621),!1),this[i(660)][i(631)][i(789)](i(763),!0),this[i(660)][i(537)][i(672)](i(503))[i(638)]({view:i(494)})}[rt(510)](){const t=rt;this[t(516)](),this[t(660)][t(524)].on(t(590),(()=>{const e=t,i=this[e(798)][e(715)](0),s=i&&null===i[e(647)]?i:null;if(this[e(578)]=!!s&&this[e(660)][e(631)][e(730)](e(763)),this[e(660)][e(610)][e(546)](e(557))){const t=this[e(556)][e(733)](),n=this[e(798)][e(715)](t);if(n)this[e(632)]=n[e(585)],this[e(578)]=!1;else{const t=this[e(556)][e(570)][e(787)][e(693)]((t=>!t[e(633)])),n=t?t[e(662)]:this[e(556)][e(570)][e(758)];i?(i[e(718)]<n&&i[e(641)]({toVersion:n}),this[e(578)]?(this[e(556)][e(733)]=()=>s.id,this[e(632)]=s[e(585)]):(this[e(632)]=i[e(718)],this[e(578)]=!1)):(this[e(632)]=n,this[e(578)]=!1)}}else s&&(this[e(660)][e(732)][e(595)][e(570)][e(758)]=Math[e(777)](s[e(718)],this[e(660)][e(732)][e(595)][e(570)][e(758)]),s[e(585)]===s[e(718)]?(0!==s[e(585)]&&(this[e(556)][e(733)]=()=>s.id),this[e(578)]=!1):this[e(578)]&&(this[e(556)][e(733)]=()=>s.id,this[e(632)]=s[e(585)])),this[e(578)]||(this[e(632)]=this[e(660)][e(732)][e(595)][e(758)]);this[e(511)][e(510)](this[e(556)][e(570)]),this[e(564)](this[e(632)]),this[e(515)](this[e(632)]),this[e(630)]&&this[e(766)]()})),this[t(665)](t(500)).to(this,t(621),(t=>!t)),this[t(604)]=this[t(660)][t(631)][t(730)](t(604));const e=this[t(660)];this[t(592)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(637)==r||i(602)==r||i(756)==r||i(589)==r||i(549)==r||i(614)==r||i(720)==r||i(674)==r){delete e[n],s=r,clearInterval(this[i(592)]),this[i(592)]=void 0;break}}i(602)==s&&e[i(790)](i(584)),i(756)==s&&e[i(790)](i(667)),i(589)==s&&e[i(790)](i(687)),i(549)==s&&e[i(790)](i(492),i(625)),i(614)==s&&e[i(790)](i(533)),i(720)==s&&e[i(790)](i(712)),i(674)==s&&e[i(790)](i(622))}),1e3)}async[rt(626)](){const t=rt;if(this[t(798)][t(724)]>0){const e=this[t(798)][t(715)](0),i=await this[t(489)](e),s=await this[t(488)](e);this[t(547)](i,s)}}[rt(657)](){const t=rt;super[t(657)](),this[t(592)]&&clearInterval(this[t(592)])}[rt(747)](t){this[rt(556)]=t}async[rt(680)](){const t=rt,e=await this[t(556)][t(678)]();if(e>this[t(576)][t(718)]){await this[t(566)]();const i=this[t(561)]({revision:this[t(576)],to:e});i[t(618)]=i[t(670)][t(522)]((e=>this[t(660)][t(610)][t(730)](t(671))[t(506)](e))),this[t(576)][t(641)](i)}}async[rt(487)](e={},i=null){const s=rt,n=[];await this[s(566)](),this[s(578)]=!1,i>this[s(576)][s(718)]&&(i=null),null===i&&(i=await this[s(556)][s(678)]());const r=this[s(513)](i),o=this[s(561)]({from:r,to:i});if(this[s(576)][s(718)]<i){const t=this[s(561)]({revision:this[s(576)],from:i,to:i});t[s(618)]=[],t[s(670)]=[],t.id=this[s(576)].id,this[s(576)][s(641)](t,!0),delete t[s(618)],n[s(705)](t)}e[s(530)]=this[s(660)][s(610)][s(730)](s(671)).me.id,e[s(802)]=e[s(802)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(685)](e);n[s(705)](e);const c=this[s(798)][s(495)](a);if(0!==c){const t=this[s(798)][s(715)](c-1);if(t[s(585)]!==i){const r=this[s(511)][s(509)](i,t[s(718)]),o={id:t.id,diffData:r[s(728)],authorsIds:r[s(670)],authors:r[s(670)][s(522)]((t=>this[s(660)][s(610)][s(730)](s(671))[s(506)](t))),fromVersion:i};t===this[s(576)]&&(o[s(692)]=new Date(e[s(692)][s(583)]()+10)),t[s(641)](o,!0),delete o[s(618)],n[s(705)](o)}}if(this[s(630)]){for(const t of n)this[s(644)](t.id,t,!0);this[s(766)]()}return a}[rt(685)](t){const e=rt,i=this[e(798)][e(753)](t);return this[e(630)]&&i.on(e(641),((t,i,s)=>{const n=e;s||(this[n(644)](i.id,i,!0),this[n(766)]())})),this[e(798)][e(616)](i,this[e(486)](i)),i}async[rt(489)](t){const e=rt;return await this[e(780)][e(539)](t,this[e(630)]),this[e(780)][e(489)](t)}async[rt(488)](t){const e=rt;return await this[e(780)][e(539)](t,this[e(630)]),this[e(780)][e(488)](t)}[rt(766)](){const t=rt;if(0===this[t(781)][t(550)])return;if(this[t(621)])return;let e=Array[t(562)](this[t(781)][t(677)]());this[t(781)][t(609)]();for(let i=0;i<e[t(724)];i++){const s=e[i];let n=!1;for(const e of Object[t(738)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(574)]((t=>null!==t)),!e[t(724)])return;for(let i=0;i<e[t(724)];i++){const s=e[i];void 0!==s[t(585)]&&void 0===s[t(718)]&&(s[t(718)]=this[t(798)][t(715)](s.id)[t(718)]),void 0!==s[t(718)]&&void 0===s[t(585)]&&(s[t(585)]=this[t(798)][t(715)](s.id)[t(585)])}const i=this[t(660)][t(631)][t(730)](t(710));this[t(621)]=!0,this[t(739)](),this[t(630)][t(512)](e,i)[t(721)]((()=>{this[t(621)]=!1}))[t(523)]((e=>{const i=t;if(e)for(const t of e)this[i(713)]({id:t.id,createdAt:t[i(692)]});this[i(645)](),this[i(766)]()}))}[rt(561)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(585)],i=null!==i?i:t[s(718)];const n=this[s(511)][s(509)](e,i),r={diffData:n[s(728)],authorsIds:n[s(670)],fromVersion:e,toVersion:i};if(!t||i!==t[s(718)]){const t=i-1,e=this[s(556)][s(570)][s(801)](t);r[s(692)]=e&&e[s(692)]||new Date}if(this[s(760)]&&e===this[s(760)][s(585)])for(const t of this[s(760)][s(618)])r[s(670)][s(749)](t.id)||r[s(670)][s(705)](t.id);return r}[rt(644)](t,e,i){const s=rt;if(this[s(781)][s(546)](t)){const n=this[s(781)][s(730)](t);e=i?{...n,...e}:{...e,...n}}this[s(781)][s(779)](t,e)}[rt(713)](t){const e=rt,i=this[e(798)][e(715)](t.id);if(t[e(692)]&&(t[e(692)]=new Date(t[e(692)])),t[e(670)]){const i=this[e(660)][e(610)][e(730)](e(671));t[e(618)]=t[e(670)][e(522)]((t=>i[e(506)](t)))}i[e(641)](t,!0)}[rt(564)](t){const e=rt,i=this[e(798)][e(715)](this[e(798)][e(724)]-1);if(i)this[e(652)]=i.id;else{const i=!this[e(660)][e(732)][e(595)][e(655)][e(693)]((t=>this[e(660)][e(732)][e(536)](t))),s=this[e(660)][e(610)][e(730)](e(671)).me.id,n=X(this[e(660)][e(497)],e(i?540:504));this[e(751)]({from:t,to:t,id:this[e(652)],name:n,creatorId:s})}}[rt(515)](t){const e=rt,i=this[e(556)][e(733)]();this[e(576)]=this[e(798)][e(715)](i),this[e(576)]||(this[e(576)]=this[e(751)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(566)](){const t=rt;this[t(578)]&&!this[t(760)]&&(await this[t(780)][t(539)](this[t(576)],this[t(630)]),this[t(511)][t(668)](this[t(576)]),this[t(760)]={fromVersion:this[t(576)][t(585)],authors:this[t(576)][t(618)][t(695)]()})}[rt(547)](e,i){const s=rt;let n=this[s(660)][s(631)][s(730)](s(628)),r=this[s(660)][s(631)][s(730)](s(579));if(void 0===n){n={};for(const t of this[s(660)][s(732)][s(595)][s(648)]())n[t]=""}if(s(664)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(660)][s(732)][s(595)][s(648)]())r[t]={}}let o=!1;const a=Object[s(738)](n),c=Object[s(738)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(586)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(738)](r[t])[s(724)]>0){o=!0;break}}o||(o=c[s(740)]((t=>!this[s(660)][s(732)][s(595)][s(709)](t)))),o&&(0,t.logWarning)(s(745),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(660)][s(631)][s(779)](s(628),e),this[s(660)][s(631)][s(779)](s(579),i)}[rt(739)](){const t=rt;if(!this[t(635)]){const e=this[t(660)][t(610)][t(730)](t(514));this[t(635)]=e[t(598)](X(this[t(660)][t(497)],t(560)))}}[rt(645)](){const t=rt;this[t(635)]&&(this[t(660)][t(610)][t(730)](t(514))[t(752)](this[t(635)]),this[t(635)]=null)}[rt(486)](t){const e=rt,i=this[e(798)][e(764)]();i[e(531)]();let s=0;for(;s<i[e(724)];){const n=i[s];if(n===this[e(576)]){s++;continue}if(n.id===this[e(652)])break;const r=t[e(718)]-n[e(718)]||t[e(585)]-n[e(585)];if(r>0)break;if(r<0)s++;else{if(!t[e(647)]&&n[e(647)])break;if(n[e(647)]||!t[e(647)]){if(t[e(692)]>n[e(692)])break;s++}else s++}}return s}[rt(513)](t){const e=rt,i=this[e(798)][e(764)]();i[e(531)](),i[e(698)]();const s=i[e(693)]((i=>i[e(718)]<=t))[e(718)];return s<this[e(632)]?this[e(632)]:s}[rt(751)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(561)]({from:e,to:i});o[r(802)]=t,o[r(530)]=s,o.id=n;const a=this[r(685)](o);return this[r(630)]&&this[r(644)](o.id,o,!0),a}[rt(516)](){const t=rt;this[t(660)][t(537)][t(672)](t(774))[t(792)]({model:t(494)})}}class ut{[rt(660)];[rt(521)];[rt(686)];[rt(484)];[rt(719)];[rt(571)];[rt(696)];[rt(588)];[rt(723)];[rt(517)];[rt(624)];[rt(599)];[rt(658)];[rt(538)];[rt(573)];[rt(659)];[rt(520)];constructor(t){const e=rt;this[e(660)]=t,this[e(686)]=new Map,this[e(484)]=-1,this[e(719)]=-1,this[e(571)]=new Map,this[e(696)]=new Map,this[e(588)]=new Map,this[e(723)]=new Map,this[e(517)]=new Map,this[e(624)]=new Map,this[e(599)]=new Map,this[e(658)]=new Map,this[e(538)]=new Map,this[e(573)]=new Map,this[e(659)]=1}[rt(510)](t){const e=rt;this[e(521)]=t;const i=new Map,s=new Map,n=this[e(660)][e(732)][e(595)][e(655)][e(522)]((t=>t[e(605)]));for(const t of n){const n=this[e(660)][e(732)][e(595)][e(709)](t),r=lt(n);i[e(779)](t,r),s[e(779)](t,Object[e(762)](n[e(797)]()))}const r=Array[e(562)](this[e(660)][e(732)][e(582)])[e(522)]((t=>[t[e(802)],t[e(803)]()])),o=this[e(521)][e(758)];this[e(634)](o,i,r,s),this[e(520)]=this[e(659)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(779)](t,i),c[e(779)](t,{})}this[e(634)](Number[e(769)],a,[],c)}[rt(509)](t,e){const i=rt;if(this[i(484)]===t&&this[i(719)]<=e)this[i(686)][i(550)]>1&&this[i(784)](this[i(719)]),this[i(603)](this[i(719)],e,!0);else{if(!this[i(686)][i(546)](t)){const e=this[i(496)](t);this[i(800)](e,t,!1)}this[i(800)](t,e,!0)}return this[i(484)]=t,this[i(719)]=e,this[i(542)]()}[rt(668)](t){const e=rt,i=this[e(660)][e(610)][e(730)](e(717));this[e(794)](),this[e(484)]=t[e(585)],this[e(719)]=t[e(718)];for(const s in t[e(728)]){const n=t[e(728)][s][e(666)],r=A(t[e(728)][s][e(703)])||{},o=i[e(683)](t[e(728)][s][e(623)]);o[e(605)]=s,o[e(654)]=!n||!n[e(675)],o[e(675)]=()=>o[e(654)],this[e(723)][e(779)](s,o),this[e(517)][e(779)](s,r),n&&this[e(573)][e(779)](s,n);const a=this[e(568)](o);this[e(599)][e(779)](s,a);for(const[t,i]of o[e(582)]){if(!t[e(541)](e(554)))continue;const s=t[e(527)](":")[2];for(const t of i[e(502)]({singleCharacters:!0})){const i=this[e(518)](t),n=e(776)==t[e(796)]?t[e(725)][e(673)][e(695)](0,-1):t[e(725)][e(673)],r=a[e(617)](n)[e(689)](i);this[e(658)][e(779)](r,{userId:s})}}}this[e(520)]=this[e(659)];const s=[...Array(this[e(659)])[e(738)]()][e(695)](1)[e(574)]((t=>!this[e(658)][e(546)](t)));let n=0;const r=new Map;for(const o in t[e(728)]){const a=t[e(728)][o][e(666)],c=A(t[e(728)][o][e(580)])||{},u=i[e(683)](t[e(728)][o][e(629)]);u[e(605)]=o,u[e(654)]=!a||a[e(675)],u[e(675)]=()=>u[e(654)],this[e(696)][e(779)](o,u),this[e(588)][e(779)](o,c);const l=this[e(568)](u,Number[e(769)]);this[e(624)][e(779)](o,l),r[e(779)](o,u[e(675)]()?c:{});for(const[t,i]of u[e(582)]){if(!t[e(541)](e(554)))continue;const s=t[e(527)](":")[2];for(const t of i[e(502)]({singleCharacters:!0})){const i=this[e(518)](t),n=this[e(659)]++,r=e(776)==t[e(796)]?t[e(725)][e(673)][e(695)](0,-1):t[e(725)][e(673)];l[e(617)](r)[e(737)](i,n),this[e(658)][e(779)](n,{userId:s})}}for(const t of this[e(660)][e(732)][e(485)](u)[e(502)]({singleCharacters:!0})){const i=this[e(518)](t),r=e(776)==t[e(796)]?t[e(725)][e(673)][e(695)](0,-1):t[e(725)][e(673)],o=l[e(617)](r);o[e(689)](i)>0||o[e(737)](i,s[n++])}for(const[t,i]of u[e(582)])t[e(541)](e(554))||this[e(571)][e(779)](t,i)}const o=ht(e(759));this[e(723)][e(779)](e(759),o),this[e(599)][e(779)](e(759),this[e(568)](o,1));const a=ht(e(759));this[e(696)][e(779)](e(759),a),this[e(624)][e(779)](e(759),this[e(568)](a,1));const c=Array[e(562)](this[e(696)])[e(522)]((([t,e])=>[t,lt(e)]));this[e(634)](this[e(719)],c,this[e(571)],r)}[rt(491)](){const t=rt;this[t(794)](),this[t(484)]=-1,this[t(719)]=-1,this[t(686)][t(609)](),this[t(510)](this[t(521)])}[rt(634)](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(779)](t,{start:e[n(548)][n(761)](),end:e[n(490)][n(761)](),rootName:e[n(757)][n(605)]});this[n(686)][n(779)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(784)](t){const e=rt;this[e(686)][e(793)](t)}[rt(794)](){const t=rt;this[t(658)][t(609)](),this[t(538)][t(609)](),this[t(573)][t(609)](),this[t(696)][t(609)](),this[t(588)][t(609)](),this[t(723)][t(609)](),this[t(517)][t(609)](),this[t(624)][t(609)](),this[t(599)][t(609)](),this[t(571)][t(609)](),this[t(659)]=1,this[t(520)]=this[t(659)]}[rt(568)](t,e=null){const i=rt;let s=null;t.is(i(606))||(s=new Z.Element(t[i(802)],{vid_start:null===e?this[i(659)]++:e++}));const n=[];for(const s of t[i(498)]())if(s.is(i(765))){n[i(705)](this[i(568)](s,e));const t=n[n[i(724)]-1];null!==e&&(e=t.is(i(765),i(559))?t[i(689)](i(684))+1:t[i(689)](i(735))+1)}else for(let t=0;t<s[i(697)];t++)n[i(705)](new Z.Element(i(559),{vid:null===e?this[i(659)]++:e++}));if(t.is(i(606))){const e=ht(t[i(605)]);return e[i(746)](0,n),e}return s[i(737)](i(735),null===e?this[i(659)]++:e++),s[i(746)](0,n),s}[rt(800)](t,e,i){const s=rt;this[s(794)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(686)][s(730)](t);this[s(723)]=new Map(n),this[s(517)]=new Map(A(o));for(const[t,e]of this[s(723)])if(s(759)!==t&&(this[s(696)][s(779)](t,lt(e)),this[s(588)]=new Map(A(o)),i)){const i=this[s(659)];this[s(624)][s(779)](t,this[s(568)](e)),this[s(599)][s(779)](t,this[s(568)](e,i))}this[s(520)]=this[s(659)],this[s(696)][s(779)](s(759),lt(this[s(723)][s(730)](s(759)))),i&&this[s(624)][s(779)](s(759),this[s(568)](this[s(723)][s(730)](s(759))));for(const[t,e]of r){const i=this[s(723)][s(730)](e[s(605)]),n=this[s(696)][s(730)](e[s(605)]),r=new Z.Range(this[s(711)](e[s(548)],i),this[s(711)](e[s(490)],i)),o=this[s(593)](r,n);i[s(582)][s(779)](t,r),this[s(571)][s(779)](t,o)}this[s(603)](t,e,i)}[rt(603)](t,e,i){const s=rt;for(const n of this[s(521)][s(748)](t,e))this[s(772)](n,i);for(const t of this[s(696)][s(677)]())t[s(582)][s(609)]();for(const[t,e]of this[s(571)])this[s(696)][s(730)](e[s(757)][s(605)])[s(582)][s(779)](t,e[s(761)]());const n=new Map,r=new Map;for(const[t,e]of this[s(696)])n[s(779)](t,lt(e)),r[s(779)](t,this[s(588)][s(730)](t));this[s(634)](e,n,this[s(571)],r)}[rt(496)](t){const e=rt,i=Array[e(562)](this[e(686)][e(738)]());i[e(708)](((t,e)=>t-e)),i[e(531)]();for(const e of i)if(e<t)return e;return Number[e(769)]}[rt(767)](t,e){const i=rt,s=Array[i(562)](e[i(582)])[i(522)]((([e,s])=>[e,this[i(593)](s,t)]));t[i(582)]=new Map(s)}[rt(682)](t){const e=rt;for(const i of this[e(571)][e(677)]()){const s=i[e(611)](t),n=Z.Range[e(750)](s);i[e(548)]=n[e(548)],i[e(490)]=n[e(490)]}}[rt(772)](t,e){const i=rt;if(i(773)!=t[i(796)]&&i(755)!=t[i(796)]){if(i(569)==t[i(796)]){const s=t[i(620)][i(757)][i(605)];this[i(696)][i(546)](s)||(this[i(696)][i(779)](s,ht(s,!0)),this[i(588)][i(779)](s,{}),e&&this[i(624)][i(779)](s,ht(s,!0)))}else{if(i(639)==t[i(796)]||i(688)==t[i(796)]||i(690)==t[i(796)])return void this[i(575)](t);i(636)==t[i(796)]&&this[i(726)](t)}if(i(636)!==t[i(796)]){const e=this[i(615)](t,this[i(696)]);e[i(525)](),this[i(682)](e)}if(e)switch(t[i(796)]){case i(569):this[i(795)](t);break;case i(519):case i(752):case i(716):this[i(567)](t);break;case i(596):this[i(727)](t);break;case i(527):this[i(731)](t)}}else this[i(676)](t,e)}[rt(615)](t,e){const i=rt,s=t[i(761)]();return s[i(601)]=t[i(601)],this[i(788)](s,e),s}[rt(785)](t){const e=rt;return t[e(522)]((t=>{const i=e,s=this[i(518)](t);return Number(t[i(707)][i(689)](s))}))}[rt(729)](t,e){const i=rt;if(t.is(i(765),i(559)))e[i(705)]({item:t,type:i(646)});else{t.is(i(765))&&e[i(705)]({item:t,type:i(775)});for(const s of t[i(498)]())this[i(729)](s,e);t.is(i(765))&&e[i(705)]({item:t,type:i(776)})}return e}[rt(542)](){const t=rt,e=new Map(this[t(658)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(723)][t(738)](),...this[t(696)][t(738)]()]);a[t(793)](t(759));for(const e of a){const i=this[t(696)][t(730)](e)||ht(e,!1),s=this[t(723)][t(730)](e)||ht(e,!1);i[t(675)]()||s[t(675)]()?(n[t(629)][e]=lt(i),n[t(623)][e]=lt(s),this[t(767)](n[t(623)][e],s),this[t(767)](n[t(629)][e],i),r[t(629)][e]=this[t(729)](this[t(624)][t(730)](e),[]),r[t(623)][e]=this[t(729)](this[t(599)][t(730)](e)||ht(e,!1),[])):a[t(793)](e)}for(const n of a){const o=r[t(629)][n];for(const n of o){const r=this[t(518)](n),o=n[t(707)][t(689)](r);i[t(793)](o),o>=this[t(520)]&&s[t(779)](o,e[t(730)](o))}}for(const n of a){const a=r[t(629)][n],c=this[t(785)](r[t(623)][n]);let u=0;for(const n of a){const r=this[t(518)](n),a=n[t(707)][t(689)](r);if(!s[t(546)](a)&&!o[t(546)](a))if(i[t(546)](a))u++;else{if(a!=c[u]){const s=e[t(730)](a)||e[t(730)](c[u]);for(;a!=c[u];)i[t(546)](c[u])||(o[t(779)](c[u],s),e[t(779)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(629)][e];for(const e of n){const n=this[t(518)](e),r=e[t(707)][t(689)](n);if(o[t(546)](r)){const e=o[t(730)](r);i[t(546)](r)||i[t(779)](r,{...e}),s[t(779)](r,{...e})}}}for(const e of i[t(738)]())e>=this[t(520)]&&i[t(793)](e);const c=new Map;for(const e of a){let n=r[t(629)][e];for(const e of n)if(e[t(707)].is(t(765),t(700))){const i=this[t(518)](e),n=e[t(707)][t(689)](i);if(s[t(546)](n)){const i=e[t(707)][t(786)][t(786)][t(689)](t(508)),r=c[t(730)](i)||new Set;r[t(598)](s[t(730)](n)[t(600)]),c[t(779)](i,r)}}n=r[t(623)][e];for(const e of n)if(e[t(707)].is(t(765),t(700))){const s=this[t(518)](e),n=e[t(707)][t(689)](s);if(i[t(546)](n)){const s=e[t(707)][t(786)][t(786)][t(689)](t(508)),r=c[t(730)](s)||new Set;r[t(598)](i[t(730)](n)[t(600)]),c[t(779)](s,r)}}for(const e of c[t(738)]())(s[t(546)](e)||i[t(546)](e))&&c[t(793)](e)}for(const e of a){const n=r[t(629)][e];let o=null,a=null;for(const e of n){const n=this[t(518)](e),r=e[t(707)][t(689)](n),u=c[t(730)](r);u&&t(775)==e[t(796)]&&(o=Array[t(562)](u)[0],a=e[t(707)][t(689)](t(735))),o&&(i[t(779)](r,{userId:o}),s[t(779)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(623)][e],a=n[t(629)][e];for(const{userId:e}of this[t(538)][t(677)]())null!==e&&l[t(598)](e);for(const{userId:e}of this[t(573)][t(677)]())null!==e&&l[t(598)](e);this[t(627)](a,r[t(629)][e],s,t(551),l),this[t(627)](o,r[t(623)][e],i,t(754),l),u[e]={insertions:this[t(743)](a),deletions:this[t(743)](o),attachChange:this[t(573)][t(730)](e)||null,attributesBefore:A(this[t(517)][t(730)](e))||{},attributesAfter:A(this[t(588)][t(730)](e))}}return{diffData:u,authorsIds:Array[t(562)](l)}}[rt(681)](t){const e=rt;for(const[,i]of t[e(582)]){const t=i[e(548)][e(778)]()[e(574)]((t=>e(700)==t[e(802)]));for(const i of t)1==i[e(534)]&&i[e(619)](0).is(e(765),e(587))&&i[e(619)](0)[e(737)](e(563),!0)}}[rt(743)](t){const e=rt;this[e(681)](t);const i=this[e(660)][e(524)][e(702)](t,{}),s=Array[e(562)](i[e(498)]())[e(522)]((t=>this[e(736)](t)));return JSON[e(594)](s)}[rt(736)](t){const e=rt;if(t.is(e(559)))return t[e(524)];{const i=this[e(660)][e(610)][e(730)](e(717)),s=t,n=this[e(660)][e(524)][e(545)][e(741)],r={type:i[e(581)](s),name:s[e(802)],attributes:Array[e(562)](s[e(797)]()),children:Array[e(562)](s[e(498)]())[e(522)]((t=>this[e(736)](t)))};if(t.is(e(694))&&e(535)!=t[e(802)]){const i=t[e(649)](n[e(507)],n);r[e(552)][e(705)](i[e(544)])}else if(t.is(e(543))){const i=n[e(507)][e(650)](s[e(802)]);t[e(649)](i,n),r[e(552)][e(705)](i[e(722)])}const o=Array[e(562)](s[e(577)]());o[e(724)]>0&&(r[e(526)]=o);const a=s[e(651)]();return null!==a&&(r[e(607)]=a),r}}[rt(627)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(660)][r(732)];for(let s=0;s<e[r(724)];s++){const n=this[r(518)](e[s]),c=e[s][r(707)][r(689)](n),h=i[r(730)](c),d=s==e[r(724)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(600)]!=o[r(600)])&&(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(600)],d=l(554)+s+":"+h+":"+c++,f=u[l(691)](i,a);t[l(582)][l(779)](d,f),null!==h&&n[l(598)](h)}}[rt(518)](t){const e=rt;switch(t[e(796)]){case e(775):return e(508);case e(776):return e(735);default:return e(684)}}[rt(788)](t,e){const i=rt;t[i(662)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(730)](n[i(757)][i(605)]);t[s]=this[i(711)](n,r)}if(n instanceof Z.Range){const r=e[i(730)](n[i(757)][i(605)]);t[s]=this[i(593)](n,r)}i(757)===s&&(t[i(757)]=e[i(730)](t[i(757)][i(605)]))}}[rt(593)](t,e){const i=rt;return this[i(660)][i(732)][i(691)](this[i(711)](t[i(548)],e),this[i(711)](t[i(490)],e))}[rt(711)](t,e){const i=rt;return this[i(660)][i(732)][i(734)](e,t[i(673)],t[i(493)])}[rt(795)](t){const e=rt,i=this[e(624)][e(730)](t[e(620)][e(757)][e(605)]),s=this[e(711)](t[e(620)],i),n=null===t[e(601)]?null:t[e(601)]||this[e(660)][e(610)][e(730)](e(671)).me.id,r=s[e(786)],o=this[e(659)],a=[];for(const i of t[e(532)])if(i.is(e(765)))a[e(705)](this[e(568)](i));else for(let t=0;t<i[e(697)];t++)a[e(705)](new Z.Element(e(559),{vid:this[e(659)]++}));const c=this[e(659)];for(let t=o;t<c;t++)this[e(658)][e(779)](t,{userId:n});r[e(746)](s[e(704)],a)}[rt(567)](t){const e=rt;(t=this[e(615)](t,this[e(624)]))[e(525)]();const i=null===t[e(601)]?null:t[e(601)]||this[e(660)][e(610)][e(730)](e(671)).me.id,s=t[e(553)](),n=s[e(786)],r=s[e(704)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(619)](e);r.is(a(765),a(559))?s[a(779)](r[a(689)](a(684)),{userId:i}):(s[a(779)](r[a(689)](a(508)),{userId:i}),t(s,r,0,r[a(534)]),s[a(779)](r[a(689)](a(735)),{userId:i}))}}(this[e(658)],n,r,r+t[e(783)])}[rt(727)](t){const e=rt,i=null===(t=this[e(615)](t,this[e(624)]))[e(601)]?null:t[e(601)]||this[e(660)][e(610)][e(730)](e(671)).me.id,s=t[e(643)][e(786)],n=t[e(663)][e(786)],r=s[e(689)](e(735)),o=n[e(689)](e(508));s[e(737)](e(735),n[e(689)](e(735))),n[e(737)](e(735),r),this[e(658)][e(779)](o,{userId:i}),this[e(658)][e(779)](r,{userId:i}),t[e(525)]()}[rt(731)](t){const e=rt,i=null===(t=this[e(615)](t,this[e(624)]))[e(601)]?null:t[e(601)]||this[e(660)][e(610)][e(730)](e(671)).me.id,s=t[e(799)],n=t[e(656)][e(786)];t[e(525)]();const r=n[e(689)](e(735)),o=t[e(742)][e(782)];if(s){const t=o[e(689)](e(735)),s=n[e(689)](e(735));n[e(737)](e(735),t),o[e(737)](e(735),s),this[e(658)][e(779)](n[e(689)](e(735)),{userId:i}),this[e(658)][e(779)](o[e(689)](e(508)),{userId:i})}else{const t=this[e(659)]++,s=this[e(659)]++;n[e(737)](e(735),t),o[e(737)](e(508),s),o[e(737)](e(735),r),this[e(658)][e(779)](t,{userId:i}),this[e(658)][e(779)](s,{userId:i})}}[rt(726)](t){const e=rt;if(!t[e(591)])return;const i=(t=this[e(615)](t,this[e(696)]))[e(661)]?t[e(661)][e(757)]:null,s=t[e(613)]?t[e(613)][e(757)]:null;i&&this[e(571)][e(793)](t[e(802)]),s&&this[e(571)][e(779)](t[e(802)],t[e(613)][e(761)]());const n=null===t[e(601)]?null:t[e(601)]||this[e(660)][e(610)][e(730)](e(671)).me.id,r=t[e(802)];if(!this[e(538)][e(546)](r))return void this[e(538)][e(779)](r,{range:t[e(661)],userId:n});const o=this[e(538)][e(730)](r),a=o[e(701)],c=t[e(613)];null==a&&null==c||a&&c&&a[e(597)](c)?this[e(538)][e(793)](t[e(802)]):o[e(600)]=n}[rt(676)](t,e){const i=rt;this[i(696)][i(546)](t[i(605)])?this[i(696)][i(730)](t[i(605)])[i(654)]=t[i(572)]:(this[i(696)][i(779)](t[i(605)],ht(t[i(605)],!0)),this[i(588)][i(779)](t[i(605)],{}),e&&this[i(624)][i(779)](t[i(605)],ht(t[i(605)],!0)));const s=null===t[i(601)]?null:t[i(601)]||this[i(660)][i(610)][i(730)](i(671)).me.id,n=this[i(573)][i(730)](t[i(605)]);n&&n[i(600)]===s?this[i(573)][i(793)](t[i(605)]):this[i(573)][i(779)](t[i(605)],{userId:s,isAttached:t[i(572)]})}[rt(575)](t){const e=rt,i=this[e(588)][e(730)](t[e(757)][e(605)]);null===t[e(501)]?delete i[t[e(706)]]:i[t[e(706)]]=t[e(501)]}}function lt(t){const e=rt,i=ht(t[e(605)],t[e(675)]());for(const s of t[e(498)]()){const t=s[e(791)](!0);i[e(505)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(605)]=t,s[i(654)]=e,s[i(675)]=()=>s[i(654)],s}function dt(t,e,i){const s=rt,n=s(776)==t[s(796)]?i[s(565)](t[s(707)],s(490)):i[s(499)](t[s(707)]);return i[s(734)](e,n[s(673)],n[s(493)])}function ft(t,e,i){const s=rt,n=s(775)==t[s(796)]?i[s(565)](t[s(707)],0):i[s(770)](t[s(707)]);return i[s(734)](e,n[s(673)],n[s(493)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Vt;function Mt(){const t=["3308lOxGil","stopPropagation","reset","ck-responsive-form","Name of the revision","1035115mABsXD","arrowdown","input","form","keystrokes","revisionNameInputValue","_createRevisionNameInput","4400469zHTrmZ","errorText","492wcSdmd","7krrdVm","arrowright","add","fieldView","value","setTemplate","1149159weRLys","render","extendTemplate","arrowup","focus","locale","set","220","ck-revision-history-save-revision-form","label","arrowleft","listenTo","2612138USHOSj","revisionName","9035784hzZBZY","36645460lEFSgn","12YDgflb","element","revisionNameInputView","optional","focusTracker","trim"];return(Mt=function(){return t})()}function Vt(t,e){const i=Mt();return(Vt=function(t,e){return i[t-=186]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(958770===parseInt(e(208))/1+parseInt(e(220))/2+parseInt(e(201))/3*(parseInt(e(187))/4)+-parseInt(e(192))/5*(-parseInt(e(224))/6)+parseInt(e(202))/7*(parseInt(e(222))/8)+parseInt(e(199))/9+-parseInt(e(223))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Et extends pt.View{[At(228)];[At(196)];[At(226)];constructor(e,i){const s=At;super(e),this[s(228)]=new t.FocusTracker,this[s(196)]=new t.KeystrokeHandler,this[s(214)](s(197),""),this[s(226)]=this[s(198)](i),this[s(207)]({tag:s(195),attributes:{class:["ck",s(216),s(190)],tabindex:"-1"},children:[this[s(226)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(209)](){const t=At;super[t(209)](),(0,pt.submitHandler)({view:this}),this[t(228)][t(204)](this[t(226)][t(225)]),this[t(196)][t(219)](this[t(225)]);const e=e=>e[t(188)]();this[t(196)][t(214)](t(203),e),this[t(196)][t(214)](t(218),e),this[t(196)][t(214)](t(211),e),this[t(196)][t(214)](t(193),e)}[At(212)](){const t=At;this[t(226)][t(212)]()}get[At(221)](){const t=At;return this[t(226)][t(205)][t(225)][t(206)][t(186)]()}set[At(221)](t){const e=At;this[e(226)][e(205)][e(225)][e(206)]=t[e(186)]()}[At(189)](){const t=At;this[t(226)][t(205)][t(225)][t(206)]="",this[t(226)][t(200)]=null}[At(198)](t){const e=At,i=new pt.LabeledFieldView(this[e(213)],pt.createLabeledInputText),s=i[e(205)];s[e(210)]({attributes:{maxlength:e(215)}});let n=X(this[e(213)],e(191));return!t&&(n+=" ("+X(this[e(213)],e(227))+")"),i[e(217)]=n,s.on(e(194),(()=>{const t=e;this[t(197)]=s[t(225)][t(206)][t(186)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=122]})(t,e)}function Ft(){const t=["set","973278aOroQb","config","3BHVRRj","showRevisionViewerCallback","isReady","Revision history","submit","Open revision history","delegate","requires","pluginName","addMany","menuBar:revisionHistory","init","revisionSave","_registerMenuComponent","12hCoiAv","execute","2918740ChPJXU","_saveRevisionFormView","panelView","isOfficialPlugin","isEnabled","plugins","render","add","role","revisionNameInputView","ck-button-action","focus","Cancel","hide","Dialog","reset","574252aKGIjX","bind","children","219156GqqnMQ","isOpen","59745BYmclZ","isPremiumPlugin","513254awVFhW","menuitem","RevisionTracker","editing","Save current revision","buttonView","revisionHistory.requireRevisionName","get","The revision name cannot be empty.","view","componentFactory","_showDialog","Accept","saveRevision","revisionHistory","revisionName","isReadOnly","errorText","show","RevisionHistoryUI","menu","editor","_createSaveRevisionFormView","3809448vmbMze","items","locale"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(304731===parseInt(e(151))/1+-parseInt(e(155))/2*(parseInt(e(184))/3)+parseInt(e(148))/4+parseInt(e(132))/5+parseInt(e(130))/6*(-parseInt(e(153))/7)+-parseInt(e(178))/8+parseInt(e(182))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends U.Plugin{static get[Dt(124)](){return Dt(174)}static get[Dt(135)](){return!0}static get[Dt(154)](){return!0}static get[Dt(123)](){return[ct]}[Dt(133)];[Dt(127)](){const t=Dt,e=this[t(176)],i=e[t(137)][t(162)](t(157));e.ui[t(165)][t(139)](t(169),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(134)][n(150)],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(149)](n(136)).to(i,n(186),i,n(136),e,n(171),((t,e,i)=>t&&e&&!i)),r[n(160)][n(181)]({icon:mt.IconHistory,label:X(s,n(187)),tooltip:!0}),u[n(181)]({label:X(s,n(159)),withText:!0,role:n(156)}),u[n(149)](n(136)).to(i,n(186),i,n(136),e,n(171),((t,e,i)=>t&&e&&!i)),u.on(n(131),(()=>this[n(166)]())),h[n(181)]({label:X(s,n(189)),withText:!0,role:n(156)}),h[n(149)](n(136)).to(i,n(186),e,n(171),((t,e)=>t&&!e)),h.on(n(131),(()=>{const t=n;e[t(183)][t(162)](t(169))[t(185)](),r[t(152)]=!1,e[t(158)][t(164)][t(143)]()})),c[n(150)][n(139)](u),l[n(150)][n(139)](h),a[n(140)]=n(175),a[n(179)][n(125)]([c,l]),o[n(139)](a),r})),e.ui[t(165)][t(139)](t(126),(()=>this[t(129)]()))}[Dt(129)](){const t=Dt,e=this[t(176)],i=e[t(180)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(160)][t(181)]({icon:mt.IconHistory,label:X(i,t(187))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(181)]({label:X(i,t(159))}),o[t(122)](t(131)).to(s),o.on(t(131),(()=>{this[t(166)]()})),r[t(150)][t(139)](o),n[t(179)][t(139)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(181)]({label:X(i,t(189))}),c[t(122)](t(131)).to(s),c.on(t(131),(()=>{const i=t;e[i(183)][i(162)](i(169))[i(185)]()})),a[t(150)][t(139)](c),n[t(179)][t(139)](a),s[t(134)][t(150)][t(139)](n),s}[Dt(166)](){const t=Dt,e=this[t(176)],i=e[t(180)],s=e[t(137)][t(162)](t(146)),n=e[t(137)][t(162)](t(157));function r(n){const r=t;e[r(183)][r(162)](r(161))&&""===n[r(170)]?n[r(141)][r(172)]=X(i,r(163)):(e[r(137)][r(162)](ct)[r(168)]({name:n[r(170)]}),s[r(145)]())}this[t(133)]||(this[t(177)](),this[t(133)].on(t(188),(()=>r(this[t(133)])))),this[t(133)][t(147)](),s[t(173)]({id:t(128),title:X(i,t(159)),isModal:!0,content:this[t(133)],actionButtons:[{label:X(e[t(180)],t(144)),withText:!0,onExecute:()=>s[t(145)]()},{label:X(e[t(180)],t(167)),class:t(142),withText:!0,onCreate(i){const s=t;i[s(149)](s(136)).to(n,s(186),n,s(136),e,s(171),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(133)])}]})}[Dt(177)](){const t=Dt,e=this[t(176)],i=e[t(180)];this[t(133)]=new Et(i,e[t(183)][t(162)](t(161))),this[t(133)][t(138)]()}}const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=158]})(t,e)}function zt(){const t=["span","div","ck-revision-change__","type","_model","Added by","33985NwTkYL","1378734LvYDVZ","5070620qQeeNm","2776kxGMaq","3749013chKKhE","element","ck-revision-change__label","add","302064bqIjke","629675lREYMA","setTemplate","Suggested by","Removed by","name","set","data","isSuggestion","ck-annotation","1034718hQPsiR","author","ck-revision-change","focus","changeId","bindTemplate"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(887173===parseInt(e(161))/1+parseInt(e(178))/2+-parseInt(e(164))/3+-parseInt(e(162))/4+-parseInt(e(169))/5+-parseInt(e(168))/6+-parseInt(e(160))/7*(-parseInt(e(163))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[Lt(182)];[Lt(158)];constructor(t,e){const i=Lt;super(t),this[i(158)]=e,this[i(182)]=e.id;const s=this[i(183)],n=X(t,e[i(175)][i(176)]?i(171):i(167)==e[i(187)]?i(159):i(172));this[i(174)](i(187),e[i(187)]),this[i(170)]({tag:i(185),attributes:{class:[i(177),i(180),s.to(i(187),(t=>i(186)+t))],tabindex:-1},children:[{tag:i(184),children:[{tag:i(184),attributes:{class:[i(166)]},children:[{text:n}]},{text:" "+e[i(179)][i(173)]}]}]})}[Lt(181)](){const t=Lt;this[t(165)][t(181)]()}}var Ut=Ht;function Ht(t,e){var i=Zt();return(Ht=function(t,e){return i[t-=487]})(t,e)}function Zt(){var t=["1532328oKjKvs","20iMjoTj","createdAt","216220pQbdWe","set","3313380SfWGMV","toJSON","3659960CvePvI","6JsxNcR","36MirOaQ","20220kSqSwB","rootName","2681555IfdqGm","116900CzPmjS","author","type","data"];return(Zt=function(){return t})()}!function(t){for(var e=Ht,i=t();;)try{if(282230===parseInt(e(490))/1+parseInt(e(495))/2*(parseInt(e(487))/3)+-parseInt(e(494))/4+parseInt(e(489))/5*(-parseInt(e(502))/6)+parseInt(e(499))/7+parseInt(e(501))/8+parseInt(e(503))/9*(parseInt(e(497))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ut(491)];[Ut(492)];[Ut(493)];[Ut(488)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(491)]=e[i(491)],this[i(492)]=e[i(492)],this[i(493)]=e[i(493)]||{},this[i(488)]=e[i(488)],this[i(498)](i(496),e[i(496)])}[Ut(500)](){var t=Ut;return{id:this.id,authorId:this[t(491)].id,type:this[t(492)],data:this[t(493)],createdAt:this[t(496)]}}}function $t(t,e){const i=Bt();return($t=function(t,e){return i[t-=319]})(t,e)}function Bt(){const t=["804cIgUBd","6369eZhRpy","oldRevisionId","changes","7llyzif","709902aGRHGx","add","724461tlJIla","8595Rawpkg","1rwSHmt","_setChanges","39198lQXOGV","newRevisionId","9Jtfrrs","8767448yQygxm","3972QMgBop","4906520ZkebFo"];return(Bt=function(){return t})()}const Yt=$t;!function(t){const e=$t,i=t();for(;;)try{if(558340===-parseInt(e(332))/1*(-parseInt(e(328))/2)+-parseInt(e(330))/3+-parseInt(e(323))/4*(parseInt(e(331))/5)+-parseInt(e(334))/6*(parseInt(e(327))/7)+-parseInt(e(320))/8*(-parseInt(e(319))/9)+-parseInt(e(322))/10+parseInt(e(324))/11*(parseInt(e(321))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt{[Yt(335)];[Yt(325)];[Yt(326)];constructor(e,i){const s=Yt;this[s(335)]=e,this[s(325)]=i,this[s(326)]=new t.Collection}[Yt(333)](t){const e=Yt;for(const i of t)this[e(326)][e(329)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Qt=te;function Xt(){const t=["createAttributeElement","startIndex","createRangeIn","domEvent","currentChangeNumber","editor","_step","isAtEnd","unshift","getRoot","_data","forward","target","243879JOTmiM","compare","concat","changeId","_setConversion","endIndex","flat","left","insertions","name","RevisionViewer","_getViewForChange","markerToData","map","forEach","_initInteractions","detachRoot","item","_joinTapes","nextSibling","attributes","bindElementToMarker","offsetSize","_threeWayMerge","markerRange","ck-suggestion-marker","enableReadOnlyMode","elementStart","shift","addMarker:revision-suggestion:deletion","mapper","getChild","954204ZMREos","document","revision-comment:","ck-revision-history-root-add","pop","restoreRevisionCallback","parent","_fixObsoleteTags","bind","change:numberOfChanges","remove","element:pre","getCustomProperty","WidgetToolbarRepository","element","getClientRects","ck-revision-history-root-","POSITIVE_INFINITY","first","activeView","newRevisionId","getWalker","_findChangeIdFromDomTarget","_markMismatchedRemovedTags","_getDiff","vid_end","markerNameToElements","getRootNames","conversion","1281228MoUZpv","elementToAttribute","pairId","comment","text","getDomRoot","revision","ck-suggestion-preview-marker-","activeChange","removeMarker:revision-suggestion","distance","editingDowncast","ck-revision-history-root--active","_utils","removeMarker","plugins","markersStart","low","_removeMissingPairs","markers","model","1492764gmJkCj","_getRevisionsRange","start","getRevisionDocumentData","bottom","_makeModelFromTape","userId","_processTape","split","data-change-id","getAttribute","isEqual","vid","isIncorrect","rootName","next","suggestion:","addRoot","end","isLimit","indexOf","ck-suggestion-marker-split","getRevision","isRemoved","getRevisionRootsAttributes","add","_activeViewTarget","attributesAfter","vid_start","revision:","_setChanges","_makeTape","range","backward","catch","viewItem","resolve","addHighlight","high","schema","isOnRoot","_setDistance","find","stop","locale","uiElement","repository","side","pluginName","showPreviousChange","isRemoveSuggestion","ck-editor__editable__overlay","getLaterVisibleRevision","getIndex","isNavigationMode","_cleanMarkers","change:isReady","attributesBefore","length","ck-suggestion-marker-merge","isCollapsed","isAdded","then","isAddSuggestion","object","isInline","addRevision","config","slice","nodeAfter","adapter","createRevision","oldRevisionId","execute","splice","removeAttribute","domConverter","isSuggestion","checkAttribute","ck-suggestion-preview-marker","addRevisionData","numberOfChanges","init","revision-suggestion:","push","previousPosition","insertion","addMarker:revision-suggestion:insertion","roots","revisionHistoryLabel","change:activeView","code","type","findIndex","addClass","deletions","change:isEnabled","hasAttribute","reconvertMarker","117420lqRAUj","removeClass","createRange","from","isEnabled","delete","addMarker:revision","isBefore","12968176eccPYF","markersEnd","mousedown","createPositionBefore","merge","downcastDispatcher","done","ck-revision-history-root-remove","createPositionFromPath","revisionHistoryAttachChange","mapViewToDom","get","changes","RevisionsRepository","values","_balloon","12676pbeOOm","_changeIdToChange","toViewRange","consume","_markSuggestions","return","getAttributes","_changeView","attribute:vid","diffData","setAttribute","startsWith","_markInsertions","isAfter","isObject","change:activeChange","suggestion","getItems","_makeModelFromViewString","showNextChange","data","right","test","_appendChild","enqueueChange","markerToHighlight","diff","wrap","removeMarker:revision","toViewPosition","dataToMarker","_update","maxOffset","abs","observeMarkers","createUIElement","affectsData","listenTo","elementEnd","revision-suggestion","isPremiumPlugin","authors","toViewElement","view","insert","selection","destroy","deletion","_cleanUp","ck-suggestion-marker--active","dataDowncast","unbindElementFromMarkerName","all","restoreRevision","-new","change","isOfficialPlugin","loadRevisionData","isContent","mouseover","error","nextPosition","level","revisionHistory","updatePosition","editing","isReady","_getChangeFromId","commands","string","sort","top","isBlock","335nsXtgI","ck-suggestion-marker-","includes","forceDisabled","RevisionHistoryUtils","highest","refresh","_markMarkers","hasClass","upcast","has","_sortAndFilterDiffChanges","showStack","isAtStart","consumable","attachChange","set","index","filter","requires","keys","modelRange","revision-viewer","softBreak","writer","isAttached","markerName","span","_revisions","_refreshStartEndIndex","_removeUnsupportedChanges","clear","for"];return(Xt=function(){return t})()}function te(t,e){const i=Xt();return(te=function(t,e){return i[t-=293]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(787826===parseInt(e(417))/1+-parseInt(e(449))/2+parseInt(e(598))/3+-parseInt(e(298))/4*(parseInt(e(371))/5)+-parseInt(e(478))/6+-parseInt(e(499))/7+parseInt(e(606))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class ee extends U.Plugin{[Qt(545)];[Qt(569)]=null;[Qt(491)];[Qt(525)];[Qt(305)];[Qt(299)];[Qt(297)];static get[Qt(547)](){return Qt(427)}static get[Qt(354)](){return!0}static get[Qt(338)](){return!0}static get[Qt(390)](){return[H.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(545)]=this[e(409)][e(493)][e(293)](e(295)),this[e(491)]=this[e(409)][e(493)][e(293)](e(375)),this[e(387)](e(486),null),this[e(387)](e(468),null),this[e(525)]=null,this[e(387)](e(324),null),this[e(387)](e(364),!1),this[e(387)](e(602),!0),this.on(e(595),((t,i,s)=>{const n=e;this[n(486)]=null,this[n(468)]=null,this[n(409)][n(363)][n(341)][n(353)]((t=>{const e=n;for(const i of this[e(409)][e(363)][e(341)][e(450)][e(587)])s?t[e(599)](e(550),i):t[e(593)](e(550),i)}))})),this[e(457)](e(553)).to(this,e(486),(t=>null!==t)),this[e(457)](e(408)).to(this,e(364),this,e(324),this,e(486),((t,i,s)=>t&&s?i[e(294)][e(552)](s):0)),this[e(457)](e(580)).to(this,e(364),this,e(324),((t,i)=>t?i[e(294)][e(557)]:0)),this[e(305)]=null,this[e(299)]=new Map,this[e(297)]=this[e(409)][e(493)][e(293)](pt.ContextualBalloon)}[Qt(581)](){const t=Qt,e=this[t(409)],i=new ne(e,{direction:t(532)}),s=new ne(e,{direction:t(415)});e[t(366)][t(524)](t(548),i),e[t(366)][t(524)](t(317),s),e[t(366)][t(524)](t(351),new se(e)),this.on(t(458),(()=>{const e=t;i[e(377)](),s[e(377)]()})),this[t(421)](),this[t(432)](),e[t(443)](t(393)),e[t(493)][t(381)](t(462))&&e[t(493)][t(293)](t(462))[t(374)](t(393))}async[Qt(502)](t){const e=Qt;return await this[e(491)][e(355)](t,this[e(569)]),this[e(491)][e(502)](t)}async[Qt(523)](t){const e=Qt;return await this[e(491)][e(355)](t,this[e(569)]),this[e(491)][e(523)](t)}async[Qt(418)](t,e,i=!1){const s=Qt;if(!this[s(602)])return;const n=this[s(324)],r=this[s(545)],o=s(367)==typeof t?r[s(521)](t):t,a=s(367)==typeof e?r[s(521)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(324)]&&this[s(324)][s(469)]===c&&this[s(324)][s(571)]===u)return Promise[s(535)]();this[s(364)]=!1,this[s(468)]=null,this[s(486)]=null,this[s(324)]=new Jt(c,u);const l=this[s(500)](o,a,!0)[s(430)]((t=>this[s(491)][s(355)](t,this[s(569)])));return l[s(583)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(350)](l)[s(561)]((()=>{const t=s;if(!this[t(602)])return;this[t(346)]();const e=this[t(473)](c,u);for(const i of e[t(294)])this[t(299)][t(387)](i.id,i);this[t(409)][t(498)][t(322)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(409)][s(498)][s(450)][s(476)]())i[s(433)](t);for(const t of Object[s(391)](e[s(498)])){const n=i[s(516)](t);for(const r of Object[s(391)](e[s(437)][t]))i[s(308)](r,e[s(437)][t][r],n);i[s(342)](e[s(498)][t],n,0)}})),this[t(324)][t(529)](this[t(382)](e[t(294)])),this[t(364)]=!0}))[s(533)]((t=>{const e=s;console[e(358)](t),this[e(346)](),n&&(this[e(324)]=n),this[e(364)]=!0}))}[Qt(579)](t,e){const i=Qt,s=this[i(545)][i(570)](t);return s.on(i(329),((t,i,n)=>e(i,n,s))),this[i(545)][i(565)](s),s}[Qt(346)](){const t=Qt;this[t(486)]=null,this[t(554)](),this[t(305)]&&this[t(305)][t(344)](),this[t(305)]=null,this[t(299)][t(402)](),this[t(409)][t(498)][t(322)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(409)][i(498)][i(450)][i(476)]())e[i(433)](t)}))}[Qt(382)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(409)][e(498)][e(450)][e(476)]()){const n=this[e(409)][e(363)][e(341)][e(483)](t);if(!n)continue;const r=n[e(464)]()[e(434)](0);r&&(i[e(583)](t),s[e(387)](t,r))}return i[e(368)](((t,i)=>{const n=e,r=s[n(293)](t),o=s[n(293)](i);return r.y-o.y||r.x-o.x})),(t=t[e(389)]((t=>i[e(373)](t[e(513)]))))[e(368)](((t,s)=>i[e(519)](t[e(513)])-i[e(519)](s[e(513)]))),t}[Qt(530)](t){const e=Qt,i=Array[e(601)](t[e(497)])[e(389)]((([t,i])=>t[e(309)](e(528))&&!i[e(559)])),s=Array[e(601)](this[e(409)][e(498)][e(406)](t)[e(470)]({singleCharacters:!0}));if(0!=i[e(557)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(507)](":");if(n[e(517)][e(510)](t[e(359)])&&i[e(445)](),(t[e(584)][e(510)](n[e(501)])||t[e(584)][e(311)](n[e(501)]))&&(e(585)==r?t[e(560)]={userId:o}:e(345)==r&&(t[e(522)]={userId:o})),0==i[e(557)])break}return s}[Qt(400)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(557)];s++)e(482)===t[s][e(591)]?(t[s][e(434)][e(405)]=s,t[s][e(434)][e(422)]=s):(e(444)===t[s][e(591)]?t[s][e(434)][e(405)]=s:e(336)===t[s][e(591)]&&(t[s][e(434)][e(422)]=s),i[e(387)](t[s].id,s));for(const s of i[e(296)]())e(444)===t[s][e(591)]?t[s][e(434)][e(422)]=i[e(293)](t[s][e(480)]):e(336)===t[s][e(591)]&&(t[s][e(434)][e(405)]=i[e(293)](t[s][e(480)]))}[Qt(506)](t){const e=Qt;for(let i=0;i<t[e(557)];i++){if(e(444)===t[i][e(591)])t[i][e(434)][e(405)]=i;else if(e(336)===t[i][e(591)]){t[i][e(434)][e(422)]=i;const s=t[i][e(434)][e(405)];t[s][e(480)]=t[i].id,t[i][e(480)]=t[s].id}else t[i][e(434)][e(405)]=i,t[i][e(434)][e(422)]=i,t[i][e(480)]=null;t[i][e(494)]||(t[i][e(494)]=[],t[i][e(607)]=[])}}[Qt(310)](t,e){const i=Qt,s=t[i(389)]((t=>!t[i(560)]));for(let t=0;t<e[i(557)];t++)e[t][i(560)]&&(s[t][i(560)]=e[t][i(560)])}[Qt(473)](t,e=null){const i=Qt,s=this[i(545)][i(521)](t),n=e?this[i(545)][i(521)](e):null,r=this[i(500)](s,n),o=r[r[i(557)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(557)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(391)](e[i(307)]))if(e[i(307)][t][i(386)]){const s=e[i(307)][t][i(386)];s[i(396)]?(u[i(524)](t),l[i(381)](t)&&l[i(293)](t)[i(505)]==s[i(505)]?l[i(603)](t):l[i(387)](t,s)):l[i(381)](t)?(u[i(603)](t),l[i(603)](t)):(u[i(524)](t),l[i(387)](t,s))}else u[i(524)](t)}for(const t of u){const e=l[i(381)](t)&&!l[i(293)](t)[i(396)];let s=e?r[i(557)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(307)][t]){const s=e?o[i(307)][t][i(556)]:o[i(307)][t][i(526)];c[i(437)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(498)]={};for(const e of t[i(339)])a[i(387)](e.id,e);for(const e of u){const s=t[i(307)][e]?t[i(307)][e][i(425)]:"[]",n=t[i(307)][e]?t[i(307)][e][i(594)]:"[]";t[i(498)][e]={insertions:this[i(491)][i(316)](s),deletions:this[i(491)][i(316)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(601)](s[i(498)][t][i(425)][i(497)])[i(389)]((([t])=>!t[i(309)](i(528)))));let h=0;for(const o of r){const r=this[i(530)](o[i(498)][t][i(425)]);o==s?(e=r,n=e[i(557)],e[i(431)]((t=>{t.id=h++})),this[i(506)](e)):this[i(310)](e,r);const a=e[i(389)]((t=>!t[i(560)]))[i(430)]((t=>t.id));let c=0;const l=this[i(530)](o[i(498)][t][i(594)]);l[i(431)]((t=>{t[i(522)]?t.id=n++:t.id=a[c++]})),this[i(506)](l),this[i(540)](e,i(560)),this[i(540)](l,i(522)),o==s&&this[i(378)](e,u),e=this[i(435)](e,l),this[i(400)](e),this[i(540)](e,i(522))}e=e[i(389)]((t=>!(t[i(560)]&&t[i(522)])));const d=new Map(o[i(498)][t][i(594)][i(497)]),f=new Set(u[i(391)]());for(const t of d[i(391)]())f[i(603)](t);this[i(302)](e,f),this[i(456)](e),e=this[i(496)](e),e=this[i(472)](e),e=this[i(401)](e);const{root:m,changes:p}=this[i(504)](e,a,t);c[i(498)][t]=m;const v=l[i(293)](t);if(v){const e=a[i(293)](v[i(505)]),s=new qt({author:e,type:v[i(396)]?i(524):i(459),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(412)](s),c[i(437)][t][i(615)]=s.id}c[i(294)]=c[i(294)][i(419)](p)}return c}[Qt(378)](t,e){const i=Qt;for(let s=0;s<t[i(557)];s++)for(const[n,r]of e)!r[i(559)]&&r[i(501)][i(510)](t[s][i(584)])&&t[s][i(494)][i(583)](n),r[i(517)][i(510)](t[s][i(359)])&&t[s][i(607)][i(583)](n)}[Qt(435)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(557)]||r<e[i(557)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(583)](o);else if(a[i(522)]&&o[i(560)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(440)](t,n,e,r);s=s[i(419)](o),n=a,r=c}else a[i(522)]?(r++,s[i(583)](a)):(n++,s[i(583)](o))}return s}[Qt(302)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(557)];o++){for(let r=0;r<t[o][i(494)][i(557)];r++){const a=t[o][i(494)][r];if(!e[i(381)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(337)!=c||i(585)!=u&&i(345)!=u||(s[i(412)]({type:u,name:a,userId:l}),t[o][i(494)][i(573)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(607)][i(557)];r++){const a=t[o][i(607)][r];if(!e[i(381)](a))continue;const{group:c,type:u}=n(a);if(i(337)!=c||i(585)!=u&&i(345)!=u)continue;t[o][i(607)][i(573)](r,1),r--;const l=s[i(592)]((t=>t[i(426)]==a));l>-1&&s[i(573)](l,1)}}function n(t){const e=i,s=t[e(507)](":");return{group:s[0],type:s[1],subType:s[e(557)]>=5?s[2]:null,id:s[e(557)]<5?s[2]:s[3],authorId:s[e(557)]<5?s[3]:s[4],markerCount:6==s[e(557)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(557)];i++){if(t[e(560)]&&e(585)==s[i][e(591)])return t[e(562)]=s[i],void delete t[e(560)];if(!t[e(560)]&&!t[e(522)]&&e(345)==s[i][e(591)])return void(t[e(549)]=s[i])}}}[Qt(540)](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(387)](o.id,s);for(let s=0;s<t[i(557)];s++){if(i(522)==e&&t[s][i(560)]||i(560)==e&&t[s][i(522)])continue;if(i(482)==t[s][i(591)]){t[s][i(488)]=0;continue}const n=r[i(293)](t[s][i(480)]),o=r[i(293)](t[s].id);t[s][i(488)]=n-o}}[Qt(500)](t,e,i=!1){const s=Qt,n=[];let r=this[s(545)][s(552)](t),o=this[s(545)][s(552)](e);for(-1==o&&(o=this[s(545)][s(399)][s(557)],i=!1);r<o;)n[s(583)](this[s(545)][s(521)](r)),r++;return i&&n[s(583)](this[s(545)][s(521)](r)),n}[Qt(440)](t,e,i,s){const n=Qt,r=this[n(409)][n(498)][n(538)];let o=e;for(;t[o]&&t[o][n(560)];)o++;let a=s;for(;i[a]&&i[a][n(522)];)a++;u(t,e,o),u(i,s,a);const c=i[n(567)](s,a)[n(419)](t[n(567)](e,o));return c[n(368)](((t,e)=>t[n(546)]!=e[n(546)]?t[n(546)]-e[n(546)]:t[n(360)]!=e[n(360)]?t[n(360)]-e[n(360)]:t[n(488)]!=e[n(488)]?e[n(488)]-t[n(488)]:!!t[n(560)]!=!!e[n(560)]?-1==t[n(546)]||0==t[n(546)]?t[n(560)]?-1:1:t[n(560)]?1:-1:t[n(388)]-e[n(388)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(466)],c=!0;for(let n=e;n<i;n++)if(r[s(564)](t[n][s(434)])||(c=!1),t[n][s(434)][s(405)]<e&&(o=n),t[n][s(434)][s(422)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(546)]=n<=o?-1:n<a?0:1,t[n][s(388)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(488)]?t[i][s(360)]=u:(u++,t[i][s(360)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(546)]&&(t[n][s(360)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(488)]?t[e][s(360)]=u:(u--,t[e][s(360)]=u,u--)}}[Qt(456)](t){const e=Qt,i=new Map,s=this[e(409)][e(498)][e(538)];for(let n=1;n<t[e(557)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(482)==c[e(591)])continue;if(c[e(591)]!=u[e(591)])continue;if(!s[e(370)](u[e(434)])||s[e(518)](u[e(434)]))continue;if(!s[e(370)](c[e(434)])||s[e(518)](c[e(434)]))continue;if((t[n][e(560)]||t[n][e(562)])&&t[n-1][e(522)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(522)]||!t[n-1][e(560)]&&!t[n-1][e(562)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(360)]==o[e(360)],h=Math[e(331)](r[e(360)])<Math[e(331)](o[e(360)])&&0==o[e(488)];(l||h)&&(i[e(387)](o.id,r.id),t[e(573)](a,1),n--,r[e(560)]=!1)}for(let s=0;s<t[e(557)];s++)i[e(381)](t[s][e(480)])&&(t[s][e(480)]=i[e(293)](t[s][e(480)]))}[Qt(496)](t){const e=Qt,i=new Set(t[e(430)]((t=>t.id)));for(let s=0;s<t[e(557)];s++)i[e(381)](t[s][e(480)])||0==t[s][e(488)]||(t[s][e(512)]=!0);return t[e(389)]((t=>!t[e(512)]))}[Qt(472)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(557)];s++){if(i[e(381)](t[s].id)&&t[s][e(522)]&&(t[s][e(512)]=!0),t[s][e(512)])continue;if(0==t[s][e(488)])continue;if(e(444)!=t[s][e(591)])continue;if(null==t[s][e(480)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(480)];)e(444)==t[n][e(591)]?r++:e(336)==t[n][e(591)]&&r--,n++;if(0!=r)if(t[s][e(522)])t[s][e(512)]=!0;else for(;n!=s;)t[n][e(522)]&&0!=t[n][e(488)]&&(t[n][e(512)]=!0,i[e(524)](t[n][e(480)])),n--}return t[e(389)]((t=>!t[e(512)]))}[Qt(401)](t){const e=Qt,i=this[e(409)][e(498)][e(538)];for(let s=0;s<t[e(557)];s++){if(!(t[s][e(560)]||t[s][e(562)]||t[s][e(522)]||t[s][e(549)]))continue;if(0==t[s][e(488)])continue;const n=t[s][e(434)];i[e(370)](n)||i[e(518)](n)||(t[s][e(560)]&&delete t[s][e(560)],t[s][e(562)]&&delete t[s][e(562)],t[s][e(549)]&&delete t[s][e(549)],t[s][e(522)]&&(t[s][e(512)]=!0))}return t[e(389)]((t=>!t[e(512)]))}[Qt(504)](t,e,i){const s=Qt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(409)][s(498)],c=a[s(538)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(557)];e++)if(s(444)===t[e][s(591)]){t[e][s(584)]=a[s(614)](n,f);const i=new Z.Element(t[e][s(434)][s(426)],t[e][s(434)][s(304)]());u[0][s(321)](i),f[s(583)](0),u[s(412)](i),t[e][s(359)]=a[s(614)](n,f)}else s(336)===t[e][s(591)]?(u[s(445)](),t[e][s(584)]=a[s(614)](n,f),f[s(453)](),f[f[s(557)]-1]++,t[e][s(359)]=a[s(614)](n,f)):(t[e][s(584)]=a[s(614)](n,f),d?d[s(414)]+=t[e][s(434)][s(318)]:d=new Z.Text(t[e][s(434)][s(318)],t[e][s(434)][s(304)]()),t[e+1]&&s(482)===t[e+1][s(591)]&&v(d,t[e+1][s(434)])||(u[0][s(321)](d),d=null),f[f[s(557)]-1]+=t[e][s(434)][s(439)],t[e][s(359)]=a[s(614)](n,f));for(let e=0;e<t[s(557)];e++){const i=t[e][s(584)],n=t[e][s(359)];for(const n of t[e][s(494)])o[s(387)](n,{start:i,end:null});m(s(549),e,i,n),m(s(562),e,i,n),m(s(522),e,i,n),m(s(560),e,i,n);for(const i of t[e][s(607)]){const t=o[s(293)](i);t?t[s(517)]=n:o[s(387)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(409)][s(498)][s(600)](e[s(501)],e[s(517)]);n[s(497)][s(387)](t,i)}return r[s(368)](((t,e)=>{const i=s,r=n[i(497)][i(293)](i(528)+t.id),o=n[i(497)][i(293)](i(528)+e.id);return r[i(501)][i(605)](o[i(501)])?-1:r[i(501)][i(311)](o[i(501)])?1:r[i(517)][i(605)](o[i(517)])?-1:r[i(517)][i(311)](o[i(517)])?1:i(524)===t[i(591)]?-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(505)]:null,d=i===t[o(557)]-1,f=h[e][0],m=c[o(312)](t[i][o(434)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(517)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(505)]!==u&&(l[e][o(517)]=n,f&&f[o(505)]===l[e][o(505)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(444)!==t[i][o(591)]||f&&f[o(505)]===u||h[e][o(412)]({userId:u,object:t[i][o(434)],change:l[e]}),o(336)===t[i][o(591)]&&f&&f[o(563)]===t[i][o(434)]&&(h[e][o(445)](),l[e]=f[o(353)])),l[e]&&d&&(l[e][o(517)]=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(434)],f=a[h(538)][h(370)](d)&&!a[h(538)][h(518)](d),m=t[h(568)]==o[h(455)]&&o[h(384)];if(f&&m)return;const p=a[h(600)](t,o),v=e[h(293)](u),g=new qt({author:v,type:h(560)==l||h(562)==l?h(524):h(459),data:{isSuggestion:h(562)==l||h(549)==l},createdAt:new Date,rootName:i});r[h(583)](g),n[h(497)][h(387)](h(528)+g.id,p)}function v(t,e){const i=s,n=t[i(304)](),r=e[i(304)]();for(const t of n){if(t[1]!==e[i(509)](t[0]))return!1;r[i(514)]()}return r[i(514)]()[i(612)]}}[Qt(421)](){const t=Qt;this[t(409)][t(477)][t(403)](t(380))[t(328)]({view:t(484)}),this[t(409)][t(477)][t(403)](t(489))[t(323)]({model:t(484),view:e=>{const i=t,s=e[i(397)][i(507)](":")[1],n=this[i(365)](s);if(!n)return null;const r=i(524)==n[i(591)]?i(585):i(345),o=[i(442),i(372)+r];return n[i(318)][i(576)]&&o[i(583)](i(372)+r+i(352)),this[i(486)]==n&&o[i(583)](i(347)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(409)][t(477)][t(403)](t(380))[t(524)]((e=>{const i=t;e.on(i(460),((t,e,s)=>{const n=i,r=e[n(534)][n(448)](0);if(!r||!r.is(n(463),n(590)))return;if(!s[n(385)][n(301)](r,{attributes:[n(527),n(474)]}))return;const o=e[n(392)][n(501)][n(568)];s[n(395)][n(308)](n(527),r[n(509)](n(527)),o),s[n(395)][n(308)](n(474),r[n(509)](n(474)),o)}),{priority:i(495)})})),this[t(409)][t(477)][t(403)](t(380))[t(524)]((e=>{const i=t;e.on(i(463),((t,e,s)=>{const n=i;if(!s[n(385)][n(301)](e[n(534)],{attributes:[n(527),n(474)]}))return;if(e[n(392)][n(559)])return;const r=e[n(392)][n(501)][n(568)];r[n(596)](n(527))||r[n(596)](n(511))||(s[n(395)][n(308)](n(527),e[n(534)][n(509)](n(527)),r),s[n(395)][n(308)](n(474),e[n(534)][n(509)](n(474)),r))}),{priority:i(495)})})),this[t(409)][t(477)][t(403)](t(380))[t(479)]({view:{name:t(398),attributes:{vid:!0}},model:{key:t(511),value:e=>e[t(509)](t(511))}}),this[t(409)][t(498)][t(538)].on(t(577),((e,[,i])=>{const s=t;[s(527),s(474),s(511)][s(373)](i)&&(e[s(303)]=!0,e[s(542)]())}),{priority:t(376)}),this[t(409)][t(477)][t(403)](t(348))[t(524)]((e=>{const i=t;e.on(i(306),((t,e,s)=>{const n=i;if(" "!=e[n(434)][n(318)]||e[n(434)][n(455)][n(330)]>1)return;if(!s[n(385)][n(301)](e[n(434)],t[n(426)]))return;const r=s[n(395)],o=s[n(447)][n(300)](e[n(531)]);r[n(325)](o,r[n(404)](n(398)))}))})),this[t(409)][t(477)][t(403)](t(348))[t(429)]({model:t(484)}),this[t(409)][t(363)][t(611)].on(t(604),function(e){const i=t,s=e[i(493)][i(293)](i(427));return(t,n,r)=>{const o=i,a=n[o(397)][o(507)](":")[1],c=s[o(365)](a);if(!c)return null;const u=o(524)==c[o(591)]?o(507):o(610);if(!r[o(385)][o(320)](n[o(441)],t[o(426)]))return;const l=n[o(441)][o(470)](),h=n[o(441)][o(501)],d=e[o(498)][o(538)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(434)];p=p||d[o(356)](e);const i=r[o(447)][o(340)](e);if(i&&i[o(461)](o(536)))return;o(336)==t[o(591)]&&d[o(370)](e)&&!d[o(518)](e)&&(e[o(436)]||h[o(411)]?f&&f[o(455)]==e||(f=e,g(t[o(584)]),v=!0):m=m||t[o(584)])}function g(t){const e=o,i=r[e(395)][e(333)](e(398),{class:e(372)+u}),a=r[e(447)][e(327)](t);c[e(318)][e(576)]&&r[e(395)][e(593)](e(372)+u+e(352),i),s[e(486)]==c&&r[e(395)][e(593)](e(347),i),r[e(395)][e(342)](a,i),r[e(447)][e(438)](i,n[e(397)])}p||v||!m||g(m)}}(this[t(409)]),{priority:t(537)}),this[t(409)][t(363)][t(611)].on(t(326),((e,i,s)=>{const n=t,r=s[n(447)][n(475)](i[n(397)]);if(r)for(const t of r)(t[n(379)](n(520))||t[n(379)](n(558)))&&(s[n(447)][n(349)](t,i[n(397)]),s[n(395)][n(459)](t))}),{priority:t(537)}),this[t(409)][t(363)][t(611)].on(t(604),((e,i,s)=>{const n=t,r=i[n(397)][n(507)](":")[1],o=this[n(365)](r);if(!o)return null;const a=n(524)==o[n(591)]?n(507):n(610);if(s[n(385)][n(320)](i[n(441)],e[n(426)]))for(const t of i[n(441)][n(315)]()){if(!t.is(n(463),n(394)))continue;const e=s[n(395)][n(333)](n(398),{class:n(372)+a}),r=s[n(447)][n(327)](this[n(409)][n(498)][n(609)](t));o[n(318)][n(576)]&&s[n(395)][n(593)](n(372)+a+n(352),e),this[n(486)]==o&&s[n(395)][n(593)](n(347),e),s[n(395)][n(342)](r,e),s[n(447)][n(438)](e,i[n(397)])}}),{priority:t(537)}),this[t(409)][t(498)][t(450)].on(t(353),(()=>{const e=t;this[e(409)][e(363)][e(341)][e(353)]((t=>{const i=e;for(const e of this[i(409)][i(498)][i(450)][i(476)]()){const s=this[i(409)][i(498)][i(450)][i(413)](e),n=this[i(409)][i(363)][i(341)][i(450)][i(413)](e);if(n){const e=s[i(509)](i(615));if(t[i(574)](i(508),n),t[i(599)](i(452),n),t[i(599)](i(613),n),t[i(599)](i(490),n),e){const s=this[i(365)](e);if(!s)return null;t[i(308)](i(508),e,n),t[i(593)](i(465)+s[i(591)],n),this[i(486)]==s&&t[i(593)](i(490),n)}}}}))})),this[t(409)][t(477)][t(403)](t(380))[t(328)]({view:t(481),model:e=>t(451)+e,converterPriority:t(376)}),this[t(409)][t(477)][t(403)](t(380))[t(328)]({view:t(314),model:e=>t(582)+e,converterPriority:t(376)}),this[t(409)][t(477)][t(403)](t(348))[t(429)]({model:t(337),view:e=>({name:t(515)+e,group:t(337)}),converterPriority:t(376)}),this[t(409)][t(477)][t(403)](t(489))[t(323)]({model:t(337),view:e=>{const i=t,s=e[i(397)][i(507)](":")[1];return i(585)!=s&&i(345)!=s?null:{classes:[i(578),i(485)+s]}}}),this[t(409)][t(363)][t(611)].on(t(446),ie(this[t(409)],t(610)),{priority:t(537)}),this[t(409)][t(363)][t(611)].on(t(586),ie(this[t(409)],t(507)),{priority:t(537)}),this[t(409)][t(363)][t(611)].on(t(487),((e,i,s)=>{const n=t,r=s[n(447)][n(475)](i[n(397)]);if(r)for(const t of r)t.is(n(544))&&(s[n(447)][n(349)](t,i[n(397)]),s[n(395)][n(459)](t))}),{priority:t(537)})}[Qt(365)](t){const e=Qt;return this[e(299)][e(293)](t)}[Qt(428)](t){const e=Qt;return this[e(305)]&&this[e(305)][e(344)](),this[e(305)]=new Wt(this[e(409)][e(543)],t),this[e(305)]}[Qt(432)](){const t=Qt;this[t(409)][t(498)][t(450)][t(343)][t(332)](t(484)),this.on(t(589),((e,i,s,n)=>{const r=t;n&&this[r(297)][r(459)](n),s&&(this[r(297)][r(524)]({view:s,stackId:r(588),position:{target:()=>{const t=r,e=this[t(409)][t(363)],i=this[t(365)](s[t(420)]);let n;if(i[t(318)][t(539)]){const s=e[t(341)][t(483)](i[t(513)]);n=Array[t(601)](s[t(464)]())}else{const i=this[t(409)][t(498)][t(497)][t(293)](t(528)+s[t(420)]);n=Array[t(601)](e[t(447)][t(475)](i[t(426)]))[t(430)]((i=>e[t(341)][t(575)][t(616)](i)))[t(430)]((e=>Array[t(601)](e[t(464)]())))[t(423)]()}return this[t(525)]&&n[t(541)]((e=>e[t(369)]-3<=this[t(525)].y&&e[t(503)]+3>=this[t(525)].y&&e[t(424)]-3<=this[t(525)].x&&e[t(319)]+3>=this[t(525)].x))||n[0]}}}),this[r(297)][r(383)](r(588)))})),this.on(t(313),((e,i,s,n)=>{const r=t;this[r(468)]=s?this[r(428)](s):null,this[r(409)][r(498)][r(353)]((()=>{const t=r,e=this[t(409)][t(363)];n&&(n[t(318)][t(539)]?e[t(341)][t(353)]((i=>{const s=t;i[s(599)](s(490),e[s(341)][s(450)][s(413)](n[s(513)]))})):e[t(597)](t(528)+n.id)),s&&(s[t(318)][t(539)]?e[t(341)][t(353)]((i=>{const n=t;i[n(593)](n(490),e[n(341)][n(450)][n(413)](s[n(513)]))})):e[t(597)](t(528)+s.id))}))})),this[t(335)](this[t(409)][t(363)][t(341)][t(450)],t(357),((e,i)=>{const s=t;if(this[s(486)])return;const n=this[s(471)](i[s(416)]),r=this[s(299)][s(293)](n);r?(this[s(525)]={x:i[s(407)].x,y:i[s(407)].y},this[s(468)]=this[s(428)](r)):(this[s(525)]=null,this[s(468)]=null)})),this[t(335)](this[t(409)][t(363)][t(341)][t(450)],t(608),((e,i)=>{const s=t,n=this[s(471)](i[s(416)]),r=this[s(299)][s(293)](n);r?(this[s(525)]={x:i[s(407)].x,y:i[s(407)].y},r===this[s(486)]?this[s(297)][s(362)]():this[s(486)]=r):(this[s(525)]=null,this[s(486)]=null)}))}[Qt(471)](t){const e=Qt;do{const i=t[e(509)](e(508));if(i)return i;t=t[e(455)]}while(t);return null}[Qt(554)](){const t=Qt;this[t(409)][t(498)][t(353)]((e=>{const i=t;for(const t of this[i(409)][i(498)][i(497)])e[i(492)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(385)][r(320)](s[r(441)],i[r(426)]))return;const o=s[r(441)][r(470)](),a=s[r(441)][r(501)],c=t[r(498)][r(538)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(434)];h=h||c[r(356)](e);const i=n[r(447)][r(340)](e);if(i&&i[r(461)](r(536)))return;r(336)==t[r(591)]&&c[r(370)](e)&&!c[r(518)](e)&&(e[r(436)]||a[r(411)]?u&&u[r(455)]==e||(u=e,f(t[r(584)]),d=!0):l=l||t[r(584)])}function f(t){const i=r,o=n[i(447)][i(327)](t),a=n[i(395)][i(333)](i(398),{class:i(485)+e});n[i(395)][i(342)](o,a),n[i(447)][i(438)](a,s[i(397)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(493)][e(293)](ee);this[e(334)]=!1,this[e(335)](i,e(555),(()=>this[e(377)]())),this[e(335)](i,e(595),(()=>this[e(377)]()))}[Qt(572)](){const t=Qt,e=this[t(409)],i=e[t(493)][t(293)](ee),s=i[t(364)]?i[t(324)][t(469)]:null;e[t(566)][t(293)](t(361))[t(454)](s)}[Qt(377)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(409)][t(493)][t(293)](ee),r=n&&s[t(551)](n[t(469)]);this[t(602)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(410)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(493)][i(293)](ee);this[i(334)]=!1,this[i(410)]=i(415)===e?1:-1,this[i(335)](s,i(555),(()=>this[i(377)]())),this[i(335)](s,i(595),(()=>this[i(377)]())),this[i(335)](s,i(313),(()=>this[i(377)]()))}[Qt(572)](){const e=Qt,i=this[e(409)],s=i[e(493)][e(293)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(486)]=n?s[e(324)][e(294)][e(293)](r+this[e(410)]):s[e(324)][e(294)][e(467)],s[e(486)][e(318)][e(539)])o=i[e(363)][e(341)][e(483)](s[e(486)][e(513)]);else{const t=i[e(498)][e(497)][e(293)](e(528)+s[e(486)].id);o=(0,H.getMarkerDomElement)(i[e(363)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(377)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(409)][t(493)][t(293)](ee);this[t(602)]=!!(r&&n&&s)&&(!e||(1===this[t(410)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=420]})(t,e)}function ce(){const t=["49466EsptDY","7YgqopK","isForwardNavigationEnabled","numberOfChanges","currentChangeNumber","backward","949389wcaPSo","Total","639pcvqCK","43130PKDfFR","forward","set","ck-revision-history-ui__changes-navigation__wrapper","_statusText","2502568kROTOg","fire","isEnabled","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation","ck-hidden","ck-revision-history-ui__changes-navigation__navigation","isReady","Loading...","No changes","isNavigationMode","7459320uxTgOh","setTemplate","EDIT_X_OF_Y_REVISIONS","X_OF_Y_CHANGES","_isStatusLabelVisible","bindTemplate","execute","span","1587330mQafEf","796vmQcIB","Show next change","div","NUMBER_OF_CHANGES","Show previous change","2DUUTGo","8495DwPUlW","ck-revision-history-ui__changes-navigation__label","bind","ck-revision-history-ui"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(184935===-parseInt(e(449))/1+parseInt(e(444))/2*(parseInt(e(455))/3)+parseInt(e(439))/4*(parseInt(e(445))/5)+parseInt(e(438))/6+parseInt(e(450))/7*(-parseInt(e(463))/8)+-parseInt(e(457))/9*(-parseInt(e(458))/10)+-parseInt(e(430))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(435)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(460)](e(429),!1),this[e(460)](e(426),!1),this[e(460)](e(453),0),this[e(460)](e(452),0),this[e(460)](e(451),!1),this[e(460)](e(422),!1),this[e(447)](e(434)).to(this,e(426),this,e(452),((t,e)=>t&&e>0)),this[e(447)](e(462)).to(this,e(426),this,e(453),this,e(452),this,e(429),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(427));if(!n)return X(t,o(428));const a=X(t,o(442),n);return r?X(t,o(433),[s+1,n]):a})),s[e(460)]({label:X(t,e(443)),tooltip:!0,icon:mt.IconChevronUp}),n[e(460)]({label:X(t,e(440)),tooltip:!0,icon:mt.IconChevronDown}),s[e(447)](e(421)).to(this,e(422)),n[e(447)](e(421)).to(this,e(451)),s.on(e(436),(()=>this[e(420)](e(436),e(454)))),n.on(e(436),(()=>this[e(420)](e(436),e(459)))),this[e(431)]({tag:e(441),attributes:{class:["ck",e(448),e(423)]},children:[{tag:e(437),attributes:{class:[e(461)]},children:[{tag:e(437),attributes:{class:[e(446),i.if(e(434),e(424),(t=>!t))]},children:[{text:i.to(e(429),(i=>i?X(t,e(432))+": ":X(t,e(456))+": "))}]},{text:i.to(e(462))}]},new pt.ToolbarSeparatorView,{tag:e(441),attributes:{class:[e(425)]},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=pe();return(fe=function(t,e){return i[t-=397]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(677436===parseInt(e(406))/1+parseInt(e(400))/2+-parseInt(e(412))/3*(-parseInt(e(409))/4)+-parseInt(e(414))/5+-parseInt(e(398))/6*(-parseInt(e(415))/7)+parseInt(e(419))/8+parseInt(e(413))/9*(-parseInt(e(410))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=de(401);function pe(){const t=["588228axLvWt","ck-editor__editable__loading-overlay","RevisionViewerLoadingOverlay","isOfficialPlugin","hide","isPremiumPlugin","847843OGcRzi","editor","view","1156ATDugG","10NJTptY","show","9951lazTAy","13213611LzltPy","5327510mgNYSm","982233GeUURl","document","editing","pluginName","3271616fbpQGz","removeClass","change","roots","30OmPvmI","addClass"];return(pe=function(){return t})()}class ve extends U.Plugin{static get[de(418)](){return de(402)}static get[de(403)](){return!0}static get[de(405)](){return!0}[de(411)](){const t=de,e=this[t(407)][t(417)][t(408)];e[t(421)]((i=>{const s=t;for(const t of e[s(416)][s(397)])i[s(399)](me,t)}))}[de(404)](){const t=de,e=this[t(407)][t(417)][t(408)];e[t(421)]((i=>{const s=t;for(const t of e[s(416)][s(397)])i[s(420)](me,t)}))}}const ge=ke;function ye(){const t=["RevisionViewerUI","config","restoreRevision","isPremiumPlugin","changesNavigation","isForwardNavigationEnabled","change:isReady","isBackwardNavigationEnabled","4610eunhhw","478238vGRHma","showPreviousChange","execute","init","19593330wosbil","5352Qtwyau","revisionHistory","add","hide","componentFactory","numberOfChanges","closeRevisionViewerCallback","Back to editing","plugins","isReady","commands","9937354byGObN","showNextChange","currentChangeNumber","bind","ck-revision-history-ui__back-to-editing","set","isNavigationMode","show","3989769HtJAKJ","requires","isOfficialPlugin","3063888YrkdVT","pluginName","18OyIpJJ","editor","get","7zysKsD","exitToEditing","forward","1042908UOQhgD","listenTo","Restore this revision","isEnabled"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=137]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(965502===parseInt(e(158))/1*(-parseInt(e(174))/2)+parseInt(e(150))/3+parseInt(e(161))/4+parseInt(e(173))/5*(parseInt(e(179))/6)+parseInt(e(142))/7+-parseInt(e(153))/8*(-parseInt(e(155))/9)+-parseInt(e(178))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(154)](){return ge(165)}static get[ge(152)](){return!0}static get[ge(168)](){return!0}static get[ge(151)](){return[ee,ve]}[ge(177)](){const t=ge,e=this[t(156)],i=e[t(139)][t(157)](ee),s=e[t(139)][t(157)](ve);e.ui[t(183)][t(181)](t(159),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(147)]({label:X(i,s(138)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(146)}),this[s(162)](n,s(176),(()=>{const t=s;e[t(166)][t(157)](t(180))[t(137)]()})),n})),e.ui[t(183)][t(181)](t(167),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(147)]({label:X(i,s(163)),withText:!0,tooltip:!0}),n[s(145)](s(164)).to(e[s(141)][s(157)](s(167))),this[s(162)](n,s(176),(()=>e[s(176)](s(167)))),n})),e.ui[t(183)][t(181)](t(169),(s=>{const n=t,r=new ue(s),o=e[n(141)][n(157)](n(175)),a=e[n(141)][n(157)](n(143));return r[n(145)](n(172)).to(o,n(164)),r[n(145)](n(170)).to(a,n(164)),r[n(145)](n(140),n(144),n(184),n(148)).to(i),this[n(162)](r,n(176),((t,i)=>{const s=n;e[s(176)](s(160)===i?s(143):s(175))})),r})),s[t(149)](),i.on(t(171),((e,i,n)=>{const r=t;n?s[r(182)]():s[r(149)]()}))}}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-=202]})(t,e)}function Oe(){const t=["listenTo","1439468YFDPfY","_updateTooltipText","element","_tooltipString","input","set","Enter the revision name","3234842GPdwrx","ck-revision-history-sidebar__revision-name","render","fieldView","2287000TUTPTt","value","span","241074LrnqVQ","placeholder","destroy","extendTemplate","clientWidth","bindTemplate","4723593eRZOJQ","42627466eVJUri","scrollWidth","_resizeObserver","Revision name","1063523mtxHIl","ck-tooltip_multi-line"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(976717===-parseInt(e(207))/1+-parseInt(e(217))/2+-parseInt(e(202))/3+-parseInt(e(210))/4+-parseInt(e(221))/5+-parseInt(e(224))/6+parseInt(e(203))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Ie(205)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(229)];this[i(215)]({label:X(t,i(206)),_tooltipString:""}),this[i(220)][i(225)]=X(t,i(216)),this[i(227)]({tag:i(223),attributes:{class:[i(218)],"data-cke-tooltip-text":s.to(i(213)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(208)}})}[Ie(219)](){const e=Ie;super[e(219)](),this[e(205)]=new t.ResizeObserver(this[e(220)][e(212)],(()=>this[e(211)]())),this[e(209)](this[e(220)],e(214),(()=>this[e(211)]()))}[Ie(226)](){const t=Ie;super[t(226)](),this[t(205)]&&this[t(205)][t(226)]()}[Ie(211)](){const t=Ie,e=this[t(220)][t(212)];this[t(213)]=e[t(204)]>e[t(228)]&&e[t(222)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=140]})(t,e)}function Ae(){const t=["5580531wvItIM","name","5nMLNuH","1687096JuCpAP","420170QbJyty","setTemplate","4471726oZbboA","Revision creator","150mOZyPx","ck-revision-history-sidebar__revision-author","8DTRWeV","6606EsEbzk","1761834TFbAfg","push","ck-revision-history-sidebar__revision-author__name","set","Revision author","ck-revision-history-sidebar__revision-author_creator","span","622104TTiPwU","0 0 11 10","99AIUwUm"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(319543===-parseInt(e(146))/1*(-parseInt(e(143))/2)+-parseInt(e(154))/3+parseInt(e(160))/4+parseInt(e(159))/5*(parseInt(e(147))/6)+parseInt(e(141))/7*(-parseInt(e(145))/8)+parseInt(e(156))/9*(parseInt(e(161))/10)+-parseInt(e(157))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Me extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(150)]({content:mt.IconUser,viewBox:s(155)});const r=["ck",s(144)];i&&r[s(148)](s(152));const o=[{tag:s(153),attributes:{class:["ck",s(149)],title:X(t,s(i?142:151))},children:[n,e[s(158)]]}];this[s(140)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=Ee();return(Ve=function(t,e){return i[t-=178]})(t,e)}function Ee(){var t=["long","2507162FXmdbI","213UcWfXK","numeric","26525ICVZBx","11054gVtcpf","848036MCTNbt","toLocaleDateString","114370eHqEyv","209520xGyRUv","toLocaleTimeString","798736bCzluO"];return(Ee=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(231173===parseInt(e(185))/1+-parseInt(e(182))/2*(-parseInt(e(179))/3)+parseInt(e(183))/4+parseInt(e(181))/5+-parseInt(e(186))/6+-parseInt(e(178))/7+-parseInt(e(188))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["isEnabled","add","action","items","Show more items","listView","name","children","_action","execute","extendTemplate","ck-on","isOpen","find","3307689toLxgS","isActionsDropdownOpen","Restore this revision","model","isVisible","panelPosition","697386AvrKSG","listenTo","menuitem","isReady","bindTemplate","Name this revision","set","change:isActionsDropdownOpen","class","first","locale","function","18aRLEQL","199nsqmmb","map","1224752WorNpG","stopPropagation","menu","376975cbTlkN","Compare against selected","76dRCCZt","bind","source","button","75033grgpVT","ck-revision-history-sidebar__revision__actions","1436BPqLxk","buttonView","280450wGAYRf"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=115]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(283404===parseInt(e(140))/1*(parseInt(e(153))/2)+-parseInt(e(151))/3*(-parseInt(e(147))/4)+-parseInt(e(145))/5+parseInt(e(127))/6+-parseInt(e(121))/7+parseInt(e(142))/8+-parseInt(e(139))/9*(parseInt(e(155))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=471]})(t,e)}function Ue(){const t=["ck-revision-history-sidebar__revision","fieldView","revisionActionsView","filter","isConfirm","uiLanguage","createdAt",".ck-thread__remove-confirm","setTemplate","bind","closest","2466699poFaaf","_requireRevisionName","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__actions_dropdown_open","3478135hYCaXH","extendTemplate","creator","ck-disabled","setName","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","4RTkFXO","deselect","bindTemplate","ck-revision-history-sidebar__revision__controls-wrapper","value","listenTo","ck-revision-history-sidebar__revision_highlighted","6841098cdtDsD","8705074kKeiKu","10894914yPdOay","428572iNHjyT","length","name","isSelected","fire","unhighlight","isHighlighted","div","srcElement","from","span","1941952KeJNXf","4YRhiBq","isEnabled","change","element","_createdAtFormatted","set","ck-revision-history-sidebar__revision-authors","highlight","map","_revision","render","220","revisionNameView","select","ck-revision-history-sidebar__revision__date","unshift","isReady","ck-revision-history-sidebar__revision-wrapper","ck-reset","authors","isActionsDropdownOpen"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(685425===-parseInt(e(508))/1*(parseInt(e(520))/2)+-parseInt(e(488))/3*(-parseInt(e(498))/4)+-parseInt(e(492))/5+parseInt(e(505))/6+parseInt(e(506))/7+parseInt(e(519))/8+-parseInt(e(507))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(532)];[ze(479)];[ze(529)];[ze(489)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(500)],a=function(t,e){const i=r,s=Array[i(517)](e[i(475)])[i(480)]((t=>t!=e[i(494)]));return e[i(494)]&&s[i(471)](e[i(494)]),s[i(528)]((s=>new Me(t,s,s==e[i(494)])))}(e,i);this.id=i.id,this[r(529)]=i,this[r(489)]=n,this[r(486)](r(510),r(483)).to(i),this[r(486)](r(524)).to(this,r(483),(t=>{return i=e[r(482)],(s=t)[(n=Ve)(184)](i,{month:n(189),day:n(180)})+", "+s[n(187)](i,{hour:n(180),minute:n(180)});var i,s,n})),this[r(525)](r(511),!1),this[r(525)](r(514),!1),this[r(525)](r(476),!1),this[r(525)](r(472),!1),this[r(525)](r(521),!1),this[r(532)]=new Te(e,pt.createLabeledInputText),this[r(532)][r(478)][r(493)]({attributes:{maxlength:r(531)}}),this[r(532)][r(478)][r(486)](r(502)).to(this,r(510),(t=>t||this[r(524)])),this[r(532)][r(486)](r(521)).to(this,r(511),this,r(521),((t,e)=>t&&e)),this[r(479)]=s&&s[r(509)]?function(e,i){const s=je,n=e[s(131)],r=e[s(137)],o=(0,pt.createDropdown)(r);o[s(126)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(137)],n={"Compare against selected":X(s,i(146)),"Name this revision":X(s,i(132)),"Restore this revision":X(s,i(123))};return e[i(141)]((t=>{const e=i,s=n[t[e(162)]];return s&&s!==t[e(162)]&&(t[e(162)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(150),model:new pt.ViewModel({label:t[n(162)],class:t[n(135)],withText:!0,role:n(129),_action:t[n(158)]})};i[n(124)][n(148)](n(156)).to(e,n(122),(i=>n(138)!=typeof t[n(156)]||!i||t[n(156)](e))),o[n(157)](i)}return o}(e,i);return e[s(148)](s(122)).to(o,s(119)),o[s(154)][s(133)]({label:X(r,s(160)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(117)]({attributes:{class:[s(152),n.if(s(122),s(118))]},on:{click:n.to((t=>t[s(143)]()))}}),o.on(s(116),(t=>{const i=s;e[i(130)]&&i(138)==typeof t[i(149)][i(115)]&&t[i(149)][i(115)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(144)}),o[s(128)](e,s(134),((t,n,r)=>{const a=s;if(r)for(const t of o[a(161)][a(159)]){const s=t[a(163)][a(136)],n=i[a(120)]((t=>t[a(158)]===s[a(115)]))[a(125)];t[a(125)]=void 0===n||n(e)}})),o}(this,s):"",this[r(479)]&&this[r(479)][r(486)](r(521)).to(this),this[r(485)]({tag:r(515),attributes:{class:["ck",r(474),r(473),o.if(r(481),r(497))]},children:[{tag:r(515),attributes:{class:["ck",r(474),r(477),o.if(r(521),r(495),(t=>!t)),o.if(r(511),r(490)),o.if(r(514),r(504)),o.if(r(476),r(491))]},children:[this[r(532)],{tag:r(518),attributes:{class:["ck",r(534)]},children:[{text:o.to(r(524))}]},{tag:r(515),attributes:{class:["ck",r(501)]},children:[{tag:"ul",attributes:{class:["ck",r(526)]},children:a}]},this[r(479)]],on:{click:o.to((t=>{const e=r;t[e(516)][e(487)](e(484))||this[e(472)]&&this[e(521)]&&this[e(512)](e(533),{id:this.id})}))}}]})}[ze(530)](){const t=ze;super[t(530)]();const e=this[t(532)][t(478)][t(523)];this[t(503)](e,t(522),(()=>{const i=t;this[i(489)]&&!e[i(502)]||this[i(512)](i(496),{id:this.id,name:e[i(502)]}),e[i(502)]||(e[i(502)]=this[i(510)]?this[i(510)]:this[i(524)])}))}[ze(533)](){this[ze(511)]=!0}[ze(499)](){this[ze(511)]=!1}[ze(527)](){this[ze(514)]=!0}[ze(513)](){this[ze(514)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const 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 Hs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Mi={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.DateTimeFormat(t,e),Mi[i]=s),s}let Ei={};let Di={};let Ci=null;let Fi={};function 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 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=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const 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={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return 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:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Ms(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const 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 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 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 Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Mn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Vs(e)):Vs(e),month:Gs.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,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),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(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),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(Tn,xn,Nn);const Xn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Mn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Mr=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function jr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Ms(t.c.hour);return e?(o+=":",o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ms(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ms(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ms(Math.trunc(-t.o/60)),o+=":",o+=Ms(Math.trunc(-t.o%60))):(o+="+",o+=Ms(Math.trunc(t.o/60)),o+=":",o+=Ms(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function 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=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,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],[Hn,Bn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Qn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Lr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Vr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=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),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(){const t=["110850rREuXO","week","fromJSDate","day","monthLong","hasSame","152EHhJMR","2051WLuIOw","5075920BvOlFH","startOf","year","weekdayLong","472218rvjvmq","6504NtSkqI","1314500sokvMF","minus","toJSDate","toRelativeCalendar","9752392KtAUCv","month","5tqmAcX","11041605TEzqDN","local","setLocale"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=422]})(t,e)}function oo(t,e){const i=ro,s=io[i(425)](t)[i(422)](e),n=io[i(445)](),r=n[i(438)]({days:1})[i(432)](i(426));let o,a;return s[i(428)](n,i(426))?(o=s[i(432)](i(426))[i(439)](),a=s[i(440)]()):s[i(428)](r,i(426))?(o=r[i(439)](),a=s[i(440)]()):s[i(428)](n,i(424))?(o=s[i(432)](i(424))[i(439)](),a=s[i(434)]||""):s[i(428)](n,i(433))?(o=s[i(432)](i(442))[i(439)](),a=s[i(427)]||""):(o=s[i(432)](i(433))[i(439)](),a=String(s[i(433)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(704873===-parseInt(e(443))/1*(-parseInt(e(435))/2)+-parseInt(e(423))/3*(-parseInt(e(429))/4)+parseInt(e(431))/5+-parseInt(e(436))/6*(parseInt(e(430))/7)+-parseInt(e(441))/8+-parseInt(e(444))/9+-parseInt(e(437))/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=lo;function lo(t,e){const i=fo();return(lo=function(t,e){return i[t-=154]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(880500===-parseInt(e(185))/1+-parseInt(e(182))/2*(-parseInt(e(179))/3)+-parseInt(e(166))/4+parseInt(e(169))/5+-parseInt(e(170))/6*(parseInt(e(174))/7)+-parseInt(e(167))/8+-parseInt(e(176))/9*(-parseInt(e(175))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class ho extends pt.View{[uo(155)];[uo(177)];[uo(172)];[uo(164)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(173)][n(165)])[n(181)];this[n(155)]=e,this[n(177)]=this[n(178)](),this[n(172)]=i,this[n(164)]=s,this[n(177)][n(168)](n(156)).to(this),this[n(177)][n(168)](n(157)).to(this),this[n(161)]({tag:n(163),attributes:{class:["ck",n(160)]},children:[{tag:n(158),attributes:{class:["ck",n(154)]},children:[{text:r}]},{tag:n(163),attributes:{class:["ck",n(159)]},children:this[n(177)]}]})}[uo(171)](t){const e=uo,i=new He(this[e(173)],t,this[e(172)],this[e(164)]);this[e(177)][e(184)](i)}[uo(180)](t){const e=uo,i=this[e(177)][e(183)]((e=>e.id===t.id));this[e(177)][e(162)](i)}}function fo(){const t=["remove","div","_requireRevisionName","uiLanguage","1091236yAFoPJ","7906976saJMqZ","delegate","4467825lQXSxf","138lklcRP","addRevision","_revisionActions","locale","131425GAfyaN","240rcjGPl","619776qayMsu","revisionViews","createCollection","180447mWFMRW","removeRevision","localizedPeriodName","28MMHvYt","find","add","814881rcpmqH","ck-revision-history-sidebar__time-period__label","startDate","select","setName","span","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period","setTemplate"];return(fo=function(){return t})()}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-=259]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(363406===-parseInt(e(276))/1*(parseInt(e(267))/2)+-parseInt(e(274))/3+parseInt(e(262))/4+parseInt(e(264))/5+parseInt(e(259))/6+-parseInt(e(273))/7*(-parseInt(e(272))/8)+parseInt(e(261))/9*(-parseInt(e(271))/10))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(269)]=mt.IconHistory,this[e(275)]({tag:e(263),attributes:{class:["ck",e(270),e(260)]},children:[i,{tag:e(268),attributes:{class:["ck",e(266)]},children:[X(t,e(265))]}]})}}function yo(){const t=["934044NabeFy","setTemplate","482reDXjV","3480690UJYjOw","ck-revision-history-sidebar__header","10344204RwuCeC","2879372vHKiza","div","2282345sHowkp","Revision history","ck-revision-history-sidebar__header__label","2094giDZNv","span","content","ck-reset_all","10tkVSDq","152tiBssb","210861RAKlWl"];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(t,e){const i=Io();return(wo=function(t,e){return i[t-=167]})(t,e)}const _o=wo;function Io(){const t=["remove","highlight","createCollection","addRevision","ck-revision-history-sidebar","837742DJmRYt","fire","isEnabled","bindTemplate","_removeRevision","_requireRevisionName","_addRevision","uiLanguage","add","_getTimePeriodViewByStartDate","2014744HVkRuh","1068504jlcmXc","setTemplate","341kcSlpZ","get","deselect","find","_revisionActions","selectRevision","setName","select","ck-rounded-corners","95470dyhSfo","locale","highlightRevisions","revisionSetName","div","42IIuASe","ck-reset","flat","ck-disabled","delegate","_revisions","revisionSelected","9ctHVgS","ck-revision-history-sidebar__timeline","map","2131220GcBAEr","createdAt","2227955PCUxkk","render","set","timePeriodViews","getTime","unhighlight","3ThEPlr","removeRevision","startDate","some","504460QfyvHe","revisionViews"];return(Io=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(543281===parseInt(e(206))/1+-parseInt(e(213))/2*(parseInt(e(202))/3)+parseInt(e(194))/4+parseInt(e(196))/5+parseInt(e(168))/6*(-parseInt(e(184))/7)+-parseInt(e(167))/8*(-parseInt(e(191))/9)+-parseInt(e(179))/10*(-parseInt(e(170))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[_o(199)];[_o(189)];[_o(174)];[_o(218)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(216)];this[n(199)]=this[n(210)](),this[n(199)][n(188)](n(177)).to(this),this[n(199)][n(188)](n(176)).to(this),this[n(189)]=e,this[n(174)]=i,this[n(218)]=s,this.on(n(177),((t,e)=>{const i=n;this[i(214)](i(190),e)})),this.on(n(176),((t,e)=>{const i=n;this[i(214)](i(182),e)})),this[n(198)](n(215),!1),this[n(169)]({tag:n(183),attributes:{class:["ck",n(185),n(178),n(212)]},children:[new go(t),{tag:n(183),attributes:{class:["ck",n(192),r.if(n(215),n(187),(t=>!t))]},children:this[n(199)]}]})}[_o(197)](){const t=_o;super[t(197)]();for(const e of this[t(189)])this[t(219)](e);this[t(189)].on(t(221),((e,i)=>{this[t(219)](i)})),this[t(189)].on(t(208),((e,i)=>{this[t(217)](i)}))}get[_o(207)](){const t=_o;return this[t(199)][t(193)]((e=>e[t(207)][t(193)]((t=>t))))[t(186)]()}[_o(175)](t){const e=_o;for(const i of this[e(207)])t&&t.id===i.id?i[e(177)]():i[e(172)]()}[_o(181)](t){const e=_o;for(const i of this[e(207)])t[e(205)]((({id:t})=>t===i.id))?i[e(209)]():i[e(201)]()}[_o(219)](t){const e=_o,i=oo(t[e(195)],this[e(180)][e(220)])[e(204)];let s=this[e(199)][e(171)](0);s&&s[e(204)][e(200)]()===i[e(200)]()||(s=new ho(this[e(180)],i,this[e(174)],this[e(218)]),this[e(199)][e(221)](s)),s[e(211)](t)}[_o(217)](t){const e=_o,i=oo(t[e(195)],this[e(180)][e(220)])[e(204)];this[e(222)](i)[e(203)](t)}[_o(222)](t){const e=_o;return this[e(199)][e(173)]((i=>i[e(204)][e(200)]()===t[e(200)]()))}}const Oo=To;function To(t,e){const i=No();return(To=function(t,e){return i[t-=203]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(678967===parseInt(e(264))/1*(parseInt(e(241))/2)+-parseInt(e(250))/3*(parseInt(e(211))/4)+-parseInt(e(238))/5+-parseInt(e(260))/6*(parseInt(e(227))/7)+-parseInt(e(286))/8*(parseInt(e(247))/9)+-parseInt(e(232))/10+parseInt(e(252))/11*(parseInt(e(239))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends U.Plugin{[Oo(210)];[Oo(206)];[Oo(223)];static[Oo(243)]=[Oo(240),Oo(204),Oo(278)];static[Oo(266)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(233),action:({plugins:e},i)=>{const s=t,n=e[s(216)](ee),r=n[s(280)];let o=n[s(263)][s(230)],a=i.id;r[s(249)](o)>r[s(249)](a)&&([o,a]=[a,o]),n[s(261)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(216)](ee);return!(n[s(280)][s(271)](n[s(263)])[s(213)]>2||i[s(225)])}},restoreRevision:{name:t(219),action:(e,{id:i})=>{const s=t;e[s(229)][s(216)](s(212))[s(208)](i)},isVisible:({plugins:e},i)=>!!e[t(216)](ee)[t(280)][t(245)](i.id)},nameRevision:{name:t(237),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(216)](ee),o=r[n(280)][n(277)](i);r[n(261)](i,o),s[n(257)](),s[n(285)][n(275)]()}}}}();static get[Oo(218)](){return Oo(220)}static get[Oo(269)](){return!0}static get[Oo(203)](){return!0}static get[Oo(284)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(210)]=t[e(236)][e(216)](ee),this[e(206)]=this[e(210)][e(280)],this[e(223)]=null}[Oo(268)](){const t=Oo,e=this[t(206)][t(222)],i=this[t(279)](),s=this[t(267)][t(229)][t(216)](t(272));this[t(223)]=new So(this[t(267)][t(221)],e,i,this[t(267)][t(229)][t(216)](t(215))),this[t(223)].on(t(242),this[t(282)][t(262)](this)),this[t(223)].on(t(244),this[t(274)][t(262)](this)),this[t(223)][t(262)](t(255)).to(this[t(210)]),this[t(223)][t(224)].on(t(253),((e,i)=>{const s=t;i[s(256)].on(s(253),((t,e)=>{const i=s;e[i(262)](i(255),i(283)).to(this[i(210)])}))})),this[t(223)][t(246)](),this[t(251)](this[t(267)][t(287)],t(235),this[t(273)][t(262)](this)),this[t(251)](this[t(210)],t(265),this[t(228)][t(262)](this)),s[t(226)](this[t(223)][t(281)])}[Oo(270)](){const t=Oo;this[t(223)][t(281)][t(258)](),this[t(223)][t(270)]()}[Oo(273)](){const t=Oo,e=this[t(206)][t(217)](0);if(e){const i=this[t(206)][t(277)](e.id);this[t(210)][t(261)](e,i)}}[Oo(282)](t,e){const i=Oo,s=this[i(206)][i(217)](e.id),n=this[i(206)][i(277)](s.id);this[i(210)][i(261)](s,n)}[Oo(274)](t,e){const i=Oo;this[i(206)][i(217)](e.id)[i(248)](e[i(209)])}[Oo(228)](t,e,i){const s=Oo,n=this[s(206)][s(271)](i);n[s(213)]>2?(this[s(223)][s(231)](n),this[s(223)][s(205)](null)):(this[s(223)][s(231)]([]),this[s(223)][s(205)](n[0]))}[Oo(279)](){const t=Oo,e=this[t(267)],i=xo[t(266)],s=e[t(229)][t(216)](t(254))||xo[t(243)];if(s[t(213)])return s[t(234)]((s=>{const n=t,r=n(276)==typeof s?Object[n(214)]({},i[s]):s;return r[n(259)]=r[n(259)][n(262)](this,e),r[n(207)]&&(r[n(207)]=r[n(207)][n(262)](this,e)),r}))}}function No(){const t=["action","30594FRjius","compare","bind","diff","13813tMkizc","change:diff","availableRevisionActions","editor","init","isOfficialPlugin","destroy","getRevisionsInDiff","revisionHistory.viewerSidebarContainer","_handleEditorDataReady","_handleRevisionSetName","select","string","getEarlierVisibleRevision","nameRevision","_createRevisionActions","repository","element","_handleRevisionSelected","isReady","requires","fieldView","1166488KfLYjQ","data","isPremiumPlugin","restoreRevision","selectRevision","_revisionsRepository","isVisible","restoreRevisionCallback","name","_revisionViewer","4069892KAMqie","revisionHistory","length","assign","revisionHistory.requireRevisionName","get","getRevision","pluginName","Restore this revision","RevisionsSidebar","locale","_revisions","_sidebarView","timePeriodViews","isSelected","appendChild","7DoVDlf","_handleDiffChange","config","newRevisionId","highlightRevisions","490780NECAhP","Compare against selected","map","ready","plugins","Name this revision","3208855VHDpjP","84uZscUq","compareAgainstSelected","142jDKOBq","revisionSelected","defaultRevisionActions","revisionSetName","getLaterVisibleRevision","render","36sHllKZ","setName","getIndex","3ewswTo","listenTo","3134857jWgOJh","add","revisionHistory.revisionActions","isEnabled","revisionViews","focus","remove"];return(No=function(){return t})()}const Ro=xo,Ao=Mo;function Mo(t,e){const i=Eo();return(Mo=function(t,e){return i[t-=406]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(733108===-parseInt(e(411))/1+-parseInt(e(415))/2+parseInt(e(439))/3*(parseInt(e(407))/4)+-parseInt(e(444))/5+-parseInt(e(416))/6*(parseInt(e(436))/7)+-parseInt(e(448))/8+parseInt(e(446))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Vo extends pt.EditorUI{[Ao(442)];[Ao(412)];[Ao(438)];get[Ao(429)](){return this[Ao(442)]}constructor(e,i){const s=Ao;super(e),this[s(442)]=i,this[s(412)]=(0,pt.normalizeToolbarConfig)(e[s(419)][s(423)](s(418))),this[s(438)]=new t.ElementReplacer}get[Ao(443)](){const t=Ao;return this[t(429)][t(443)]}[Ao(447)](t){const e=Ao,i=this[e(432)],s=this[e(429)],n=i[e(427)][e(429)],r=s[e(413)],o=n[e(409)][e(430)]();r[e(435)]=o[e(414)],s[e(417)]();const a=r[e(443)];this[e(449)](r[e(435)],a),s[e(413)][e(426)](e(451)).to(this[e(420)]),n[e(425)](a),this[e(438)][e(422)](t,this[e(443)]),this[e(421)](),this[e(410)](e(433))}[Ao(445)](){const t=Ao;super[t(445)]();const e=this[t(429)],i=this[t(432)][t(427)][t(429)];this[t(438)][t(428)](),i[t(434)](e[t(413)][t(435)]),e[t(445)]()}[Ao(421)](){const t=Ao,e=this[t(429)];e[t(424)][t(426)](t(441)).to(this[t(420)],t(451)),e[t(424)][t(431)]=e[t(443)],e[t(424)][t(426)](t(437)).to(this,t(408),(({top:t})=>t)),e[t(418)][t(406)](this[t(412)],this[t(450)]),this[t(440)](e[t(418)])}}function Eo(){const t=["isFocused","fillFromConfig","643436QzkThB","viewportOffset","document","fire","1033688yJSsQE","_toolbarConfig","editable","rootName","1896572iTnkIj","6lXruKu","render","toolbar","config","focusTracker","_initToolbar","replace","get","stickyPanel","attachDomRoot","bind","editing","restore","view","getRoot","limiterElement","editor","ready","detachDomRoot","name","6421723LPGgPh","viewportTopOffset","_elementReplacer","3ZjITQD","addToolbar","isActive","_view","element","6721870hoSOre","destroy","44563491OYaQWj","init","1084104fmLPHv","setEditableElement","componentFactory"];return(Eo=function(){return t})()}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=jo;function jo(t,e){var i=Lo();return(jo=function(t,e){return i[t-=226]})(t,e)}function Lo(){var t=["2025219uXFsYD","main","content","25nIqloH","6035592qjKgnU","editable","32mktQiw","3774144oIevKM","22kmGidd","add","shouldToolbarGroupWhenFull","render","_editable","toolbar","14113QLFEHg","24kALOyW","top","863664FuNKSg","10KfKSNJ","stickyPanel","6606027BLNRdt","6467552ySHNcD"];return(Lo=function(){return t})()}!function(t){for(var e=jo,i=t();;)try{if(869653===-parseInt(e(247))/1*(-parseInt(e(239))/2)+parseInt(e(240))/3+-parseInt(e(228))/4*(-parseInt(e(236))/5)+-parseInt(e(226))/6*(parseInt(e(233))/7)+-parseInt(e(232))/8+parseInt(e(231))/9*(-parseInt(e(229))/10)+-parseInt(e(241))/11*(-parseInt(e(237))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[Fo(245)];[Fo(230)];[Fo(246)];get[Fo(238)](){return this[Fo(245)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(230)]=new pt.StickyPanelView(t),this[s(246)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(243)]}),this[s(245)]=new pt.InlineEditableUIView(t,e)}[Fo(244)](){var t=Fo;super[t(244)](),this[t(230)][t(235)][t(242)](this[t(246)]),this[t(227)][t(242)](this[t(230)]),this[t(234)][t(242)](this[t(238)])}}const zo=Wo;function Wo(t,e){const i=Uo();return(Wo=function(t,e){return i[t-=128]})(t,e)}function Uo(){const t=["config","destroy","381031lIFLPU","3558894CxLhIf","data","_ui","get","editing","updateSourceElement","create","view","initialData","createRoot","1160775clvSww","700reMAuU","init","8lIOhvA","124686RuFqNS","locale","618549aMgEAk","ready","sourceElement","document","297614Wmlzub","initPlugins","fire","2610210txpQHf","model","4GqgSWo"];return(Uo=function(){return t})()}!function(t){const e=Wo,i=t();for(;;)try{if(303241===parseInt(e(148))/1+parseInt(e(140))/2+-parseInt(e(136))/3*(parseInt(e(145))/4)+parseInt(e(143))/5+parseInt(e(149))/6+-parseInt(e(130))/7*(parseInt(e(133))/8)+-parseInt(e(134))/9*(parseInt(e(131))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[zo(151)];get ui(){return this[zo(151)]}constructor(t,e){const i=zo;super(e),this[i(138)]=t,this[i(144)][i(139)][i(129)]();const s=new Po(this[i(135)],this[i(153)][i(156)],{shouldToolbarGroupWhenFull:!0});this[i(151)]=new Vo(this,s)}[zo(147)](){const t=zo;return this[t(154)](),this.ui[t(147)](),super[t(147)]()}static async[zo(155)](t,e){const i=zo,s=new this(t,e);return await s[i(141)](),await s.ui[i(132)](t),await s[i(150)][i(132)](s[i(146)][i(152)](i(128))||""),s[i(142)](i(137)),s}}const Zo=qo;function qo(t,e){const i=Yo();return(qo=function(t,e){return i[t-=122]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(157960===parseInt(e(226))/1*(parseInt(e(221))/2)+-parseInt(e(257))/3*(-parseInt(e(149))/4)+-parseInt(e(232))/5+-parseInt(e(167))/6*(parseInt(e(154))/7)+parseInt(e(130))/8*(-parseInt(e(138))/9)+parseInt(e(186))/10*(parseInt(e(215))/11)+parseInt(e(127))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);const $o=[Zo(196),Zo(180)];class Bo extends U.Plugin{[Zo(260)];static get[Zo(161)](){return Zo(211)}static get[Zo(172)](){return!0}static get[Zo(157)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(160)]((t=>String[e(133)](t)))[e(163)]("")}super(t),this[e(260)]=e(265),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=["detachRoot","style","isPremiumPlugin","requires","revisionHistory.viewerContainer","map","pluginName","addRevisionData","join","document","insert","RevisionHistoryUtils","457620AOkyjN","catch","refreshPositioning","RevisionHistory","isReady","isOfficialPlugin","translations","numeric","revisionHistory.requireRevisionName","restrictedEditingException","revisionHistory.showRevisionViewerCallback","name","keys","RestrictedEditingMode","uiLanguage","isRevisionViewerOpen","_enhanceCloseRevisionViewerCallback","restoreRevision","saveRevision","190WpgUOf","_showRevisionViewer","view","display","$graveyard","none","getMarkersGroup","changesNavigation","_closeRevisionViewer","parse","RevisionHistoryUI","RevisionTracker","revisionHistory.viewerEditorElement","define","element","locale","long","create","markers","indexOf","createdAt","creator","removeMarker","disableReadOnlyMode","repository","RevisionViewerIntegration","_enhanceShowRevisionViewerCallback","lazyRoots","isReadOnly","1353uIMJfL","isOpen","isEnabled","remove","_restoreRevision","_update","4568YdVVsg","plugins","PaginationLookup","config","rootName","131xEjMIA","toJSON","Restored","toolbar","getAttributeKeys","createRangeIn","1033625HmiebQ","showRevisionViewerCallback","editor","exitToEditing","revisionHistory.editorContainer","destroy","isAnonymous","getRevisionDocumentData","bind","getRevision","removeAttribute","getRevisions","_getRevisionViewerEditorConfig","_viewerEditor","enableReadOnlyMode","DocumentOutlineUI","DocumentOutline","commands","loadRevisionData","fromVersion","error","revisionHistory","closeRevisionViewerCallback","getUser","model","146709QeqvUE","revision-history-missing-configuration","addRoot","result","revision-history-viewer-opened","Dialog","init","removeSelectionAttribute","end","toVersion","roots","save","includes","adapter","RevisionsRepository","has","isAttached","update","selection","refreshVisibility","enqueueChange","toLocaleTimeString","toLocaleDateString","Users","2742360bKwPnl","_cleanUp","RevisionViewer","8IlPUEY","hide","_recalculatePageBreaks","fromCharCode","Annotations","addUser","push","setSelection","555741FVInnT","block","data","change","users","getRoot","setAttribute","getRevisionRootsAttributes","from","Autosave","get","4gLPGdi","set","revisionHistory.restoreRevisionCallback","revisionHistory.closeRevisionViewerCallback","then","14qYrmif"];return(Yo=function(){return t})()}class Jo extends U.Plugin{[Zo(245)];static get[Zo(161)](){return Zo(170)}static get[Zo(172)](){return!0}static get[Zo(157)](){return!0}static get[Zo(158)](){return[ct,jt]}constructor(e){const i=Zo;if(super(e),!this[i(234)][i(224)][i(148)](i(253)))throw new t.CKEditorError(i(258),this);this[i(245)]=null,this[i(150)](i(182),!1),this[i(234)][i(224)][i(199)](i(177),(t=>this[i(187)]({...t,translations:this[i(234)][i(201)][i(173)]}))),this[i(234)][i(224)][i(199)](i(152),(t=>this[i(194)](t))),this[i(234)][i(224)][i(199)](i(151),(t=>this[i(219)](t))),this[i(234)][i(224)][i(199)](i(175),!1),this[i(212)](),this[i(183)]()}set[Zo(270)](t){const e=Zo;this[e(234)][e(222)][e(148)](e(197))[e(270)]=t}get[Zo(270)](){const t=Zo;return this[t(234)][t(222)][t(148)](t(197))[t(270)]}[Zo(162)](t){const e=Zo;return this[e(234)][e(222)][e(148)](e(197))[e(162)](t)}[Zo(241)](t){const e=Zo;return this[e(234)][e(222)][e(148)](e(271))[e(241)](t)}[Zo(243)](t){const e=Zo;return this[e(234)][e(222)][e(148)](e(271))[e(243)](t||{toJSON:!1})}[Zo(244)](){const e=Zo,i=this[e(234)],s=(0,H.sanitizeEditorConfig)(i,$o),n=i[e(222)][e(148)](e(197)),r=i[e(222)][e(148)](e(126))[e(142)];return s[e(229)]=[e(235),e(184),e(193)],delete s[e(213)],s[e(222)][e(136)](Bo,ee,be,class extends U.Plugin{static get[e(158)](){return[ee,e(126)]}[e(263)](){const s=e,o=this[s(234)][s(222)][s(148)](s(126));for(const t of r)t[s(238)]||o[s(255)](t.id)||o[s(135)](t);const a=n[s(210)][s(243)]();let c=null;const u=this[s(234)][s(222)][s(148)](s(129));u[s(270)]=n[s(270)],u[s(240)](s(217)).to(n),this[s(234)][s(249)][s(148)](s(184))[s(240)](s(217)).to(i,s(214),(t=>!t));for(const e of a){const i=null===e[s(207)];if(i&&e[s(266)]===e[s(251)])continue;const r=e[s(227)]();u[s(162)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(220)](r,o);else if(!o){const e=a[u(227)]();e.id=(0,t.uid)(),n[u(185)](e,a[u(266)])[u(153)]((t=>{c=t}))}}else e[u(220)](r,o)}))}}},Ro),s}[Zo(212)](){const t=Zo,e=this[t(234)][t(224)][t(148)](t(253))[t(233)];this[t(234)][t(224)][t(150)](t(177),(async()=>{const i=t;this[i(234)][i(246)](i(261));const s=this[i(234)][i(222)][i(148)](i(197));if(this[i(234)][i(222)][i(272)](i(147))){const t=this[i(234)][i(222)][i(148)](i(147));await t[i(268)]()}else await s[i(274)]();if(this[i(234)][i(222)][i(272)](i(223))&&this[i(234)][i(222)][i(148)](i(223))[i(132)](),this[i(234)][i(222)][i(272)](i(262))){const t=this[i(234)][i(222)][i(148)](i(262));t[i(216)]&&t[i(131)]()}const n=this[i(244)]();return e(n)[i(153)]((t=>{const e=i;return this[e(245)]=t,this[e(234)][e(222)][e(272)](e(134))&&this[e(234)][e(222)][e(148)](e(134))[e(122)](),this[e(234)][e(222)][e(272)](e(248))&&(this[e(234)][e(222)][e(148)](e(247))[e(188)][e(200)][e(156)][e(189)]=e(191)),t}))[i(168)]((t=>(console[i(252)](t),this[i(234)][i(209)](i(261)),null)))}))}[Zo(183)](){const t=Zo,e=this[t(234)][t(224)][t(148)](t(253))[t(254)];this[t(234)][t(224)][t(150)](t(152),(()=>(this[t(234)][t(222)][t(272)](t(223))&&this[t(234)][t(222)][t(148)](t(223))[t(132)](),this[t(234)][t(222)][t(272)](t(248))&&(this[t(234)][t(222)][t(148)](t(247))[t(188)][t(200)][t(156)][t(189)]=""),this[t(245)][t(222)][t(148)](t(129))[t(128)](),e(this[t(245)])[t(153)]((()=>{const e=t;if(this[e(234)][e(209)](e(261)),this[e(245)]=null,this[e(234)][e(222)][e(272)](e(134))){const t=this[e(234)][e(222)][e(148)](e(134));t[e(122)](),t[e(169)]()}})))))}[Zo(187)](t){const e=Zo,i=this[e(234)][e(224)][e(148)](e(236)),s=this[e(234)][e(224)][e(148)](e(159)),n=this[e(234)][e(224)][e(148)](e(198));return Ho[e(203)](n,t)[e(153)]((t=>(s[e(156)][e(189)]=e(139),i[e(156)][e(189)]=e(191),this[e(182)]=!0,t)))}[Zo(194)](t){const e=Zo,i=this[e(234)][e(224)][e(148)](e(236));return this[e(234)][e(224)][e(148)](e(159))[e(156)][e(189)]=e(191),i[e(156)][e(189)]="",this[e(182)]=!1,t[e(237)]()}async[Zo(219)](t){const e=Zo,i=this[e(234)],s=this[e(245)][e(222)][e(148)](e(129)),n=i[e(222)][e(148)](e(197)),r=i[e(222)][e(148)](e(166)),o=s[e(210)][e(241)](t);let a,c,u;try{await r[e(250)](o,this[e(270)]),a=r[e(239)](o),c=r[e(145)](o)}catch(t){return void console[e(252)](t)}i[e(256)][e(141)]((t=>{const s=e;for(const e of Array[s(146)](i[s(256)][s(204)][s(192)](s(176))))t[s(208)](e)})),s[e(171)]=!1,i[e(256)][e(123)]((t=>{const s=e;t[s(137)](null),t[s(264)](i[s(256)][s(164)][s(275)][s(230)]());const n=Object[s(179)](a);for(const e of i[s(256)][s(164)][s(267)])s(190)!=e[s(225)]&&e[s(273)]()&&!n[s(269)](e[s(225)])&&t[s(155)](e);for(const e of n){let n=i[s(256)][s(164)][s(143)](e);n&&n[s(273)]()||(n=t[s(259)](e));const r=c[e],o=Object[s(179)](r),u=a[e];for(const e of n[s(230)]())o[s(269)](e)||t[s(242)](e,n);for(const i of o)t[s(144)](i,c[e][i],n);t[s(218)](t[s(231)](n)),t[s(165)](i[s(140)][s(195)](u,n),n,0)}}));const l=X(i[e(201)],e(228));return u=o[e(178)]?-1==o[e(178)][e(205)](l)?l+": "+o[e(178)]:o[e(178)]:l+": "+o[e(206)][e(125)](i[e(201)][e(181)],{month:e(202),day:e(174)})+", "+o[e(206)][e(124)](i[e(201)][e(181)],{hour:e(174),minute:e(174)}),await n[e(185)]({name:u}),s[e(171)]=!0,i[e(224)][e(148)](e(253))[e(254)]()}}function Go(){var t=["4LpNepM","15927432XydmEU","23419fvaXOW","630crduko","13dZtiqz","79330lzkPDn","123445CjvZKK","4949665JDiZhS","12bdXCjZ","108816Xjqopu","50zWuKbS","114vpmzKd","1532937Kzxgxz"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();return(Ko=function(t,e){return i[t-=224]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(702540===parseInt(e(227))/1*(-parseInt(e(230))/2)+-parseInt(e(234))/3+parseInt(e(235))/4*(parseInt(e(229))/5)+-parseInt(e(233))/6*(-parseInt(e(228))/7)+parseInt(e(231))/8*(-parseInt(e(225))/9)+-parseInt(e(232))/10*(parseInt(e(224))/11)+-parseInt(e(236))/12*(-parseInt(e(226))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>U,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ao});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]",T="[object Float32Array]",O="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);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,A));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,A));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,A);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,A),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,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),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,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case T:case O: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,A),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 A(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 R(t){return A(t)}const E=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}function V(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,V(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=z;function P(){const t=["394cXUeRA","creatorId","451780kjmqRn","model","authors","setName","1624608DfScZQ","map","2775332zUmsqD","diffData","fromVersion","setAttribute","toVersion","removeAttribute","_update","set","2099605DMZxJO","3324132NfrPuF","attributes","toJSON","1856337vFKabC","name","fire","creator","6GOuMsW","authorsIds","createdAt","1450mbrtXw"];return(P=function(){return t})()}function z(t,e){const i=P();return(z=function(t,e){return i[t-=463]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(409901===-parseInt(e(487))/1*(parseInt(e(486))/2)+parseInt(e(479))/3+-parseInt(e(489))/4+-parseInt(e(475))/5*(-parseInt(e(483))/6)+-parseInt(e(467))/7+-parseInt(e(465))/8+parseInt(e(476))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class U extends((0,t.ObservableMixin)()){id;[L(482)];[L(463)];[L(468)];[L(471)];[L(469)];[L(490)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(482)]=e[i(482)]||null,this[i(463)]=e[i(463)]||[],this[i(468)]=e[i(468)]||null,this[i(471)]=e[i(471)]||0,this[i(469)]=e[i(469)]||0,this[i(474)](i(480),e[i(480)]||""),this[i(474)](i(485),e[i(485)]||new Date),this[i(474)](i(477),e[i(477)]||{})}[L(464)](t){this[L(473)]({name:t})}[L(470)](t,e){const i=L,s=R(this[i(477)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(473)]({attributes:s})}[L(472)](t){const e=L,i=R(this[e(477)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,V(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(473)]({attributes:i})}[L(473)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(480),i(485),i(468),i(463),i(477),i(471),i(469),i(488)];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(463)]&&(n[i(484)]=n[i(463)][i(466)]((t=>t.id)),delete n[i(463)]),this[i(481)](i(473),n,e))}[L(478)](){const t=L;return{id:this.id,name:this[t(480)],creatorId:this[t(482)]?this[t(482)].id:null,authorsIds:this[t(463)][t(466)]((t=>t.id)),diffData:this[t(468)],createdAt:this[t(485)],attributes:this[t(477)],fromVersion:this[t(469)],toVersion:this[t(471)]}}}var W=i(782),H=i(211),Z=i(783);const $=q;function q(t,e){const i=B();return(q=function(t,e){return i[t-=263]})(t,e)}function B(){const t=["21498IuukGl","requires","2384482SIMmLF","from","getRevision","getEarlierVisibleRevision","3728oEOLEw","isOfficialPlugin","pluginName","add","_revisions","get","data","creatorId","14430vMacig","getRevisionsInDiff","getIndex","plugins","RevisionsRepository","toJSON","editor","10053TJsjza","getRevisions","createRevision","getRevisionsIterator","href","629172KUGWJH","diffData","earlier","6460360HbwkTu","fromCharCode","name","isPremiumPlugin","476EFzyKC","push","getLaterVisibleRevision","later","afterInit","isNaN","newRevisionId","oldRevisionId","length","map","join","addRevision","getUser","authorsIds","1224380LdpSjU","Users","reverse","attributes","toVersion","fromVersion","createdAt","1965lbTpZH"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(833725===parseInt(e(269))/1+parseInt(e(279))/2+-parseInt(e(303))/3+parseInt(e(306))/4+parseInt(e(276))/5*(-parseInt(e(277))/6)+-parseInt(e(310))/7*(-parseInt(e(283))/8)+-parseInt(e(298))/9*(parseInt(e(291))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends W.Plugin{[$(287)];static get[$(278)](){return[H.Users]}static get[$(285)](){return $(295)}static get[$(284)](){return!0}static get[$(309)](){return!0}get[$(263)](){const t=$;return this[t(287)][t(263)]}constructor(e){const i=$;super(e),this[i(287)]=new t.Collection}[$(314)](){!async function(e){const i=k([119,57,50,121,120,118,99,67,55,77,111,85,54,100,90,117,56,65,115,108,101,72,88,102,80,75,81,103,73,79,89,122,87,113,114,97,53,78,70,71,83,48,109,66,52,69,105,106,76,107,49,112,51,104,82,84,98,74,116,110,68,86]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(315)](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([119]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=q;return t[e(264)]((t=>String[e(307)](t)))[e(265)]("")}!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:174312e4;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(302)]);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)}[$(300)](t){const e=$,i=this[e(297)][e(294)][e(288)](e(270));return new U({id:t.id,name:t[e(308)],creator:t[e(290)]?i[e(267)](t[e(290)]):null,diffData:t[e(304)]||t[e(289)],authors:t[e(268)][e(264)]((t=>i[e(267)](t))),createdAt:new Date(t[e(275)]),attributes:t[e(272)],fromVersion:t[e(274)],toVersion:t[e(273)]})}[$(266)](t,e=0){const i=$;this[i(287)][i(286)](t,e)}[$(281)](t){const e=$;return this[e(287)][e(288)](t)}[$(299)](t={toJSON:!1}){const e=$,i=Array[e(280)](this[e(287)]);return i[e(271)](),t[e(296)]?i[e(264)]((t=>t[e(296)]())):i}[$(293)](t){const e=$;return this[e(287)][e(293)](t)}[$(282)](t){const e=$,[,i]=this[e(301)](t,{direction:e(305)});return i}[$(312)](t){const e=$,[,i]=this[e(301)](t,{direction:e(313)});return i}[$(292)](t){const e=$,i=[];for(const s of this[e(301)](t[e(316)]))if(i[e(311)](s),s.id===t[e(317)])break;return i}*[$(301)](t,{direction:e=$(305),filter:i=()=>!0}={}){const s=$,n=s(305)===e?1:-1;let r=this[s(287)][s(288)](t),o=this[s(293)](r);for(yield r;r;){if(o+=n,r=this[s(281)](o),!r)return;i(r)&&(yield r)}}}function J(t,e){const i=G();return(J=function(t,e){return i[t-=293]})(t,e)}function G(){const t=["_setCustomProperty","data-revision-","46060TSwGhQ","length","forEach","children","getRevision","143EGXVde","innerHTML","48oFEaBs","49055kIGTpJ","pluginName","3wulYHC","getRevisionDocumentData","constructor","loadRevisionData","revision-end","viewChildrenToDom","parse","name","marked","95409eFCURV","domChildrenToView","childNodes","revision-start","append","div","customProperties","_getViewFromDiffObj","view","insertions","type","toModel","isAttached","htmlProcessor","useFillerType","data","_makeModelFromViewString","default","string","collaboration.channelId","772596RUQMmT","8iLpBhM","attributes","map","get","2193947EcbTwi","filter","_appendChild","from","isOfficialPlugin","render","createElement","editing","document","_removeRevisionMarkers","domDocument","812918wsDdbG","_getTypeCharForViewElement","startsWith","toData","attributesAfter","domConverter","editor","diffData","391490UbLHmb","processor","fillerOffset","isPremiumPlugin","attachChange","_viewClassToTypeChar","getRevisionRootsAttributes","config","_typeCharToViewClass","getFillerOffset","RevisionHistoryUtils"];return(G=function(){return t})()}const K=J;!function(t){const e=J,i=t();for(;;)try{if(233068===parseInt(e(353))/1+parseInt(e(345))/2*(-parseInt(e(300))/3)+-parseInt(e(329))/4+-parseInt(e(298))/5*(-parseInt(e(297))/6)+parseInt(e(334))/7*(parseInt(e(330))/8)+-parseInt(e(309))/9+parseInt(e(366))/10*(parseInt(e(295))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class X extends W.Plugin{static get[K(299)](){return K(363)}static get[K(338)](){return!0}static get[K(356)](){return!0}[K(358)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[K(361)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[K(303)](t,e){const i=K;if(t[i(352)]||!e)return;const s=this[i(351)][i(360)][i(333)](i(328)),n=await e[i(294)]({channelId:s,revisionId:t.id});t[i(352)]=n[i(352)]}[K(301)](t){const e=K,i={};for(const s in t[e(352)]){if(t[e(352)][s][e(357)]&&!t[e(352)][s][e(357)][e(321)])continue;const n=this[e(343)](JSON[e(306)](t[e(352)][s][e(318)])),r=this[e(351)][e(341)][e(317)][e(342)],o=new Z.ViewDocumentFragment(r,n[e(332)]((t=>this[e(316)](t,!1))));this[e(351)][e(324)][e(354)][e(323)](e(308)),i[s]=this[e(351)][e(324)][e(354)][e(348)](o),this[e(351)][e(324)][e(354)][e(323)](e(326))}return i}[K(359)](t){const e=K,i={};for(const s in t[e(352)])t[e(352)][s][e(357)]&&!t[e(352)][s][e(357)][e(321)]||(i[s]=t[e(352)][s][e(349)]||{});return i}[K(346)](t){const e=K;return this[e(358)][e(333)](t[e(302)])}[K(316)](t,e){const i=K,s=this[i(351)][i(341)][i(317)][i(342)];if(i(327)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(319)]||"r"==t[i(319)]?[]:t[i(293)][i(332)]((t=>this[i(316)](t,e)));const o=this[i(361)][i(333)](t[i(319)])||Z.ViewElement,a=this[i(351)][i(324)][i(322)][i(350)];if(n=new o(s,t[i(307)],t[i(331)],r),"u"==t[i(319)]){const r=t[i(293)][0];if(n[i(339)]=function(t){const e=i,s=t[e(340)](e(314));return s[e(296)]=r,s[e(311)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(336)](n);const e=Array[i(337)](a[i(305)](t,{bind:!1})),r=a[i(344)][i(340)](i(314));r[i(313)](...e),n=Array[i(337)](a[i(310)](r))[0]}}else if("r"==t[i(319)]){const r=t[i(293)][0];if(n[i(339)]=function(t){t[i(296)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(336)](n);const e=Array[i(337)](a[i(305)](t,{bind:!1})),r=a[i(344)][i(340)](i(314));r[i(313)](...e);const o=Array[i(337)](a[i(310)](r));o[i(367)]>1?n[i(336)](o):n=o[0]}}if(t[i(315)])for(const[e,s]of t[i(315)])n[i(364)](e,s);const c=t[i(355)]||null;return n[i(362)]=()=>c,n}}[K(325)](t){const e=K,i=JSON[e(306)](t),s=this[e(351)][e(341)][e(317)][e(342)],n=new Z.ViewDocumentFragment(s,i[e(332)]((t=>this[e(316)](t,!0))));return this[e(351)][e(324)][e(320)](n)}[K(343)](t){const e=K;return(t=t[e(335)]((t=>!t[e(307)]||e(312)!==t[e(307)]&&e(304)!==t[e(307)])))[e(368)]((t=>{const i=e;i(327)!=typeof t&&(t[i(293)]=this[i(343)](t[i(293)]),t[i(331)]=t[i(331)][i(335)]((t=>!t[0][i(347)](i(365)))))})),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),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(E=s)||Number.isNaN(R)&&Number.isNaN(E)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,E;const M=(s=s??new Map).get(t),V=s.get(i);if(null!=M&&null!=V)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case T:case O:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=at;function ot(){const t=["_savedMetaData","howMany","init","licenseKey","offsetSize","loadState","Empty document","uiElement","values","getTime","initialData","$graveyard","htmlProcessor","_getState","tableCell","ready","_initialRevisionId","_update","isAdd","insertions","_licenseKeyCheckInterval","set","revisionHistoryLicenseKeyEvaluationLimit","move","isEnabled","_touched","getIndex","_baseRoots","bind","getLatestVersion","revisionHistoryLicenseKeyExpired","_handleMergeOperation","_utils","_markChanges","paragraph","config","sendBufferedUpdates","root","nodeAfter","_isAttached","document","getRootNames","collaboration.channelId","vid","revisionHistoryLicenseKeyTrialLimit","createPositionFromPath","detachRoot","key","clone","creatorId","revisionHistoryLicenseKeyNotAllowed","_appendChild","_operations","startsWith","push","history","PENDING_ACTION_REVISION_HISTORY","RevisionsRepository","revisionHistoryLicenseKeyUsageLimit","render","_clone","children","_findInsertionIndex","createElement","reInit","setSource","targetPosition","3qKDRWU","then","item","length","previousPosition","featureNotAllowed","outerHTML","196627RZMSsX","removeRootAttribute","getRevisionRootsAttributes","_calculateMetaData","isOfficialPlugin","27312NFeSDC","NEGATIVE_INFINITY","fromEntries","_insertChild","getRevisions","customProperties","usageLimit","authors","domDocument","requires","getOperation","_copyMarkers","_reset","_revisionDataBuilder","RevisionHistory","getChildren","getRange","clear","roots","getNodeByPath","_isPendingUpdate","attributesBefore","conversion","text","end","_fixPosition","_makeModelFromViewString","revisionHistoryLicenseKeyValid","_touchedMarkers","upcast","string","isReady","createPositionAfter","_diffRootsAttributes","offset","range","markerToData","stickiness","_authorId","position","update","pluginName","markers","getChild","parent","RevisionHistoryUtils","_handleRootOperation","get","authorsIds","insertion","createdAt","Initial revision","repository","name","_fixRange","editor-initial-data-replaced-with-revision-data","revision","_fixOperation","delete","affectsData","_getTypeCharForViewElement","keepParagraph","_handleOperation","1306780BFrDrI","createRangeIn","_execute","addRevisionData","map","for","reverse","_baseRootsAttributes","currentRevision","resolve","trialLimit","hasContent","rootName","loadRevisionData","_addPendingAction","domainLimit","_createFromRanges","fillerOffset","_cloneOperation","createPositionAt","split","vid_end","attributesAfter","insertionPosition","_saveMetaData","changeRootAttribute","expired","_getViewJson","_getBaseVids","40160XJlGmJ","2377669KaWTIh","getMovedRangeStart","_getFromVersion","updateRevisions","546908lyGqoc","_baseIdsRoots","_processRootBeforeSave","_transformMarkers","addRevision","RevisionTracker","add","childCount","remove","_lastTo","$comment","Users","elementEnd","shift","getData","initial","addRootAttribute","getAttributes","source","$text","splitPosition","revisionHistoryLicenseKeyInvalid","includes","define","path","evaluationLimit","creator","has","buildRevisionData","_removeMetaData","isPremiumPlugin","insert","from","77YCHuCS","marker","sourcePosition","_showLicenseError","getCurrentRevisionId","dataToMarker","_makeIdsRoot","getUser","isEqual","userId","domConverter","_source","getRoot","slice","_bufferUpdate","innerHTML","plugins","merge","toView","_handleMarkerOperation","_replaceEditorDataWithRevisionData","getOperations","_getVidAttributeName","_getPreviousFrom","_touchedRoots","_pendingAction","afterInit","_lastFrom","setRevisionData","attachChange","fromVersion","filter","rawElement","vid_start","460LLUzlm","_startingRevisionId","_prepareViewToSave","destroy","some","find","start","deletions","reinsert","getFillerOffset","revisionHistory.resumeUnsavedRevision","_diffRoots","getAncestors","data","locale","rootsAttributes","revisionHistoryLicenseKeyDomainLimit","createRevision","_handleMoveOperation","graveyardPosition","_setAttribute","finally","_bufferedUpdates","_generateTape","getCustomProperties","type","newRange","477IloFCu","version","keys","_createInitialRevision","saveRevision","_startingVersion","_removePendingAction","getRevision","757676VPJzML","_markers","size","trim","_handleSplitOperation","model","getWalker","editor","revision:","_applyOperations","nodes","_createCurrentRevision","invalid","_handleRootAttributeOperation","createPositionBefore","baseVersion","oldRange","_setConversion","_revisionId","_loadState","diffData","deletion","sort","_continueCurrentRevision","_loadedStateData","elementStart","stringify","getRevisionDocumentData","adapter","dataDowncast","addRoot","_handleInsertOperation","max","element","RealTimeCollaborationClient","PendingActions","documentFragment","getAttribute","newValue","toVersion","_isInit","createRange","isAttached","_idsRoots","getTransformedByOperation","_makeRevision"];return(ot=function(){return t})()}function at(t,e){const i=ot();return(at=function(t,e){return i[t-=280]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(288907===-parseInt(e(431))/1+-parseInt(e(533))/2*(parseInt(e(424))/3)+parseInt(e(311))/4+parseInt(e(600))/5*(-parseInt(e(436))/6)+parseInt(e(529))/7+-parseInt(e(528))/8*(parseInt(e(303))/9)+parseInt(e(499))/10*(parseInt(e(566))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class ct extends W.Plugin{[rt(360)];[rt(377)];[rt(507)]=null;[rt(488)];[rt(339)]=null;[rt(449)];[rt(577)];[rt(373)];[rt(298)];[rt(389)];[rt(591)];[rt(334)];[rt(308)];[rt(335)];static get[rt(477)](){return rt(538)}static get[rt(435)](){return!0}static get[rt(563)](){return!0}static get[rt(445)](){return[H.Users,Y,X,W.PendingActions]}constructor(e){const i=rt;super(e),this[i(488)]=this[i(318)][i(582)][i(483)](i(414)),this[i(389)]=this[i(318)][i(582)][i(483)](i(481)),this[i(449)]=new ut(this[i(318)]),this[i(373)]=this[i(318)][i(392)][i(483)](i(399))||i(548),this[i(298)]=new Map,this[i(335)]=null;const s=(0,t.uid)();this[i(577)]={history:this[i(318)][i(316)][i(397)][i(412)],getLatestVersion:()=>Promise[i(508)](this[i(318)][i(316)][i(397)][i(304)]),getCurrentRevisionId:()=>s},this[i(378)](i(467),!1),this[i(378)](i(381),!0),this[i(378)](i(456),!1),this[i(318)][i(392)][i(556)](i(286),!0),this[i(318)][i(458)][i(504)](i(465))[i(571)]({view:i(492)})}[rt(359)](){const t=rt;this[t(328)](),this[t(318)][t(289)].on(t(372),(()=>{const e=t,i=this[e(488)][e(310)](0),s=i&&null===i[e(559)]?i:null;if(this[e(334)]=!!s&&this[e(318)][e(392)][e(483)](e(286)),this[e(318)][e(582)][e(560)](e(345))){const t=this[e(577)][e(570)](),n=this[e(488)][e(310)](t);if(n)this[e(308)]=n[e(596)],this[e(334)]=!1;else{const t=this[e(577)][e(412)][e(409)][e(281)]((t=>!t[e(351)])),n=t?t[e(326)]:this[e(577)][e(412)][e(304)];i?(i[e(350)]<n&&i[e(374)]({toVersion:n}),this[e(334)]?(this[e(577)][e(570)]=()=>s.id,this[e(308)]=s[e(596)]):(this[e(308)]=i[e(350)],this[e(334)]=!1)):(this[e(308)]=n,this[e(334)]=!1)}}else s&&(this[e(318)][e(316)][e(397)][e(412)][e(304)]=Math[e(343)](s[e(350)],this[e(318)][e(316)][e(397)][e(412)][e(304)]),s[e(596)]===s[e(350)]?(0!==s[e(596)]&&(this[e(577)][e(570)]=()=>s.id),this[e(334)]=!1):this[e(334)]&&(this[e(577)][e(570)]=()=>s.id,this[e(308)]=s[e(596)])),this[e(334)]||(this[e(308)]=this[e(318)][e(316)][e(397)][e(304)]);this[e(449)][e(359)](this[e(577)][e(412)]),this[e(306)](this[e(308)]),this[e(322)](this[e(308)]),this[e(339)]&&this[e(393)]()})),this[t(385)](t(467)).to(this,t(456),(t=>!t)),this[t(360)]=this[t(318)][t(392)][t(483)](t(360));const e=this[t(318)];this[t(377)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(463)==r||i(554)==r||i(387)==r||i(292)==r||i(407)==r||i(379)==r||i(401)==r||i(415)==r){delete e[n],s=r,clearInterval(this[i(377)]),this[i(377)]=void 0;break}}i(554)==s&&e[i(569)](i(323)),i(387)==s&&e[i(569)](i(525)),i(292)==s&&e[i(569)](i(514)),i(407)==s&&e[i(569)](i(429),i(450)),i(379)==s&&e[i(569)](i(558)),i(401)==s&&e[i(569)](i(509)),i(415)==s&&e[i(569)](i(442))}),1e3)}async[rt(592)](){const t=rt;if(this[t(488)][t(427)]>0){const e=this[t(488)][t(310)](0),i=await this[t(338)](e),s=await this[t(433)](e);this[t(586)](i,s)}}[rt(603)](){const t=rt;super[t(603)](),this[t(377)]&&clearInterval(this[t(377)])}[rt(422)](t){this[rt(577)]=t}async[rt(476)](){const t=rt,e=await this[t(577)][t(386)]();if(e>this[t(507)][t(350)]){await this[t(330)]();const i=this[t(561)]({revision:this[t(507)],to:e});i[t(443)]=i[t(484)][t(503)]((e=>this[t(318)][t(582)][t(483)](t(544))[t(573)](e))),this[t(507)][t(374)](i)}}async[rt(307)](e={},i=null){const s=rt,n=[];await this[s(330)](),this[s(334)]=!1,i>this[s(507)][s(350)]&&(i=null),null===i&&(i=await this[s(577)][s(386)]());const r=this[s(531)](i),o=this[s(561)]({from:r,to:i});if(this[s(507)][s(350)]<i){const t=this[s(561)]({revision:this[s(507)],from:i,to:i});t[s(443)]=[],t[s(484)]=[],t.id=this[s(507)].id,this[s(507)][s(374)](t,!0),delete t[s(443)],n[s(411)](t)}e[s(406)]=this[s(318)][s(582)][s(483)](s(544)).me.id,e[s(489)]=e[s(489)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(502)](e);n[s(411)](e);const c=this[s(488)][s(383)](a);if(0!==c){const t=this[s(488)][s(310)](c-1);if(t[s(596)]!==i){const r=this[s(449)][s(547)](i,t[s(350)]),o={id:t.id,diffData:r[s(331)],authorsIds:r[s(484)],authors:r[s(484)][s(503)]((t=>this[s(318)][s(582)][s(483)](s(544))[s(573)](t))),fromVersion:i};t===this[s(507)]&&(o[s(486)]=new Date(e[s(486)][s(366)]()+10)),t[s(374)](o,!0),delete o[s(443)],n[s(411)](o)}}if(this[s(339)]){for(const t of n)this[s(580)](t.id,t,!0);this[s(393)]()}return a}[rt(502)](t){const e=rt,i=this[e(488)][e(293)](t);return this[e(339)]&&i.on(e(374),((t,i,s)=>{const n=e;s||(this[n(580)](i.id,i,!0),this[n(393)]())})),this[e(488)][e(537)](i,this[e(419)](i)),i}async[rt(338)](t){const e=rt;return await this[e(389)][e(512)](t,this[e(339)]),this[e(389)][e(338)](t)}async[rt(433)](t){const e=rt;return await this[e(389)][e(512)](t,this[e(339)]),this[e(389)][e(433)](t)}[rt(393)](){const t=rt;if(0===this[t(298)][t(313)])return;if(this[t(456)])return;let e=Array[t(565)](this[t(298)][t(365)]());this[t(298)][t(453)]();for(let i=0;i<e[t(427)];i++){const s=e[i];let n=!1;for(const e of Object[t(305)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(597)]((t=>null!==t)),!e[t(427)])return;for(let i=0;i<e[t(427)];i++){const s=e[i];void 0!==s[t(596)]&&void 0===s[t(350)]&&(s[t(350)]=this[t(488)][t(310)](s.id)[t(350)]),void 0!==s[t(350)]&&void 0===s[t(596)]&&(s[t(596)]=this[t(488)][t(310)](s.id)[t(596)])}const i=this[t(318)][t(392)][t(483)](t(399));this[t(456)]=!0,this[t(513)](),this[t(339)][t(532)](e,i)[t(297)]((()=>{this[t(456)]=!1}))[t(425)]((e=>{const i=t;if(e)for(const t of e)this[i(594)]({id:t.id,createdAt:t[i(486)]});this[i(309)](),this[i(393)]()}))}[rt(561)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(596)],i=null!==i?i:t[s(350)];const n=this[s(449)][s(547)](e,i),r={diffData:n[s(331)],authorsIds:n[s(484)],fromVersion:e,toVersion:i};if(!t||i!==t[s(350)]){const t=i-1,e=this[s(577)][s(412)][s(446)](t);r[s(486)]=e&&e[s(486)]||new Date}if(this[s(335)]&&e===this[s(335)][s(596)])for(const t of this[s(335)][s(443)])r[s(484)][s(555)](t.id)||r[s(484)][s(411)](t.id);return r}[rt(580)](t,e,i){const s=rt;if(this[s(298)][s(560)](t)){const n=this[s(298)][s(483)](t);e=i?{...n,...e}:{...e,...n}}this[s(298)][s(378)](t,e)}[rt(594)](t){const e=rt,i=this[e(488)][e(310)](t.id);if(t[e(486)]&&(t[e(486)]=new Date(t[e(486)])),t[e(484)]){const i=this[e(318)][e(582)][e(483)](e(544));t[e(443)]=t[e(484)][e(503)]((t=>i[e(573)](t)))}i[e(374)](t,!0)}[rt(306)](t){const e=rt,i=this[e(488)][e(310)](this[e(488)][e(427)]-1);if(i)this[e(373)]=i.id;else{const i=!this[e(318)][e(316)][e(397)][e(454)][e(281)]((t=>this[e(318)][e(316)][e(510)](t))),s=this[e(318)][e(582)][e(483)](e(544)).me.id,n=Q(this[e(318)][e(290)],e(i?363:487));this[e(356)]({from:t,to:t,id:this[e(373)],name:n,creatorId:s})}}[rt(322)](t){const e=rt,i=this[e(577)][e(570)]();this[e(507)]=this[e(488)][e(310)](i),this[e(507)]||(this[e(507)]=this[e(356)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(330)](){const t=rt;this[t(334)]&&!this[t(335)]&&(await this[t(389)][t(512)](this[t(507)],this[t(339)]),this[t(449)][t(362)](this[t(507)]),this[t(335)]={fromVersion:this[t(507)][t(596)],authors:this[t(507)][t(443)][t(579)]()})}[rt(586)](e,i){const s=rt;let n=this[s(318)][s(392)][s(483)](s(367)),r=this[s(318)][s(392)][s(483)](s(291));if(void 0===n){n={};for(const t of this[s(318)][s(316)][s(397)][s(398)]())n[t]=""}if(s(466)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(318)][s(316)][s(397)][s(398)]())r[t]={}}let o=!1;const a=Object[s(305)](n),c=Object[s(305)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(314)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(305)](r[t])[s(427)]>0){o=!0;break}}o||(o=c[s(280)]((t=>!this[s(318)][s(316)][s(397)][s(578)](t)))),o&&(0,t.logWarning)(s(491),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(318)][s(392)][s(378)](s(367),e),this[s(318)][s(392)][s(378)](s(291),i)}[rt(513)](){const t=rt;if(!this[t(591)]){const e=this[t(318)][t(582)][t(483)](t(346));this[t(591)]=e[t(539)](Q(this[t(318)][t(290)],t(413)))}}[rt(309)](){const t=rt;this[t(591)]&&(this[t(318)][t(582)][t(483)](t(346))[t(541)](this[t(591)]),this[t(591)]=null)}[rt(419)](t){const e=rt,i=this[e(488)][e(440)]();i[e(505)]();let s=0;for(;s<i[e(427)];){const n=i[s];if(n===this[e(507)]){s++;continue}if(n.id===this[e(373)])break;const r=t[e(350)]-n[e(350)]||t[e(596)]-n[e(596)];if(r>0)break;if(r<0)s++;else{if(!t[e(559)]&&n[e(559)])break;if(n[e(559)]||!t[e(559)]){if(t[e(486)]>n[e(486)])break;s++}else s++}}return s}[rt(531)](t){const e=rt,i=this[e(488)][e(440)]();i[e(505)](),i[e(546)]();const s=i[e(281)]((i=>i[e(350)]<=t))[e(350)];return s<this[e(308)]?this[e(308)]:s}[rt(356)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(561)]({from:e,to:i});o[r(489)]=t,o[r(406)]=s,o.id=n;const a=this[r(502)](o);return this[r(339)]&&this[r(580)](o.id,o,!0),a}[rt(328)](){const t=rt;this[t(318)][t(458)][t(504)](t(340))[t(472)]({model:t(492)})}}class ut{[rt(318)];[rt(551)];[rt(357)];[rt(593)];[rt(542)];[rt(312)];[rt(287)];[rt(469)];[rt(384)];[rt(506)];[rt(354)];[rt(534)];[rt(382)];[rt(464)];[rt(590)];[rt(329)];[rt(601)];constructor(t){const e=rt;this[e(318)]=t,this[e(357)]=new Map,this[e(593)]=-1,this[e(542)]=-1,this[e(312)]=new Map,this[e(287)]=new Map,this[e(469)]=new Map,this[e(384)]=new Map,this[e(506)]=new Map,this[e(354)]=new Map,this[e(534)]=new Map,this[e(382)]=new Map,this[e(464)]=new Map,this[e(590)]=new Map,this[e(329)]=1}[rt(359)](t){const e=rt;this[e(551)]=t;const i=new Map,s=new Map,n=this[e(318)][e(316)][e(397)][e(454)][e(503)]((t=>t[e(511)]));for(const t of n){const n=this[e(318)][e(316)][e(397)][e(578)](t),r=lt(n);i[e(378)](t,r),s[e(378)](t,Object[e(438)](n[e(550)]()))}const r=Array[e(565)](this[e(318)][e(316)][e(478)])[e(503)]((t=>[t[e(489)],t[e(452)]()])),o=this[e(551)][e(304)];this[e(523)](o,i,r,s),this[e(601)]=this[e(329)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(378)](t,i),c[e(378)](t,{})}this[e(523)](Number[e(437)],a,[],c)}[rt(547)](t,e){const i=rt;if(this[i(593)]===t&&this[i(542)]<=e)this[i(357)][i(313)]>1&&this[i(562)](this[i(542)]),this[i(320)](this[i(542)],e,!0);else{if(!this[i(357)][i(560)](t)){const e=this[i(589)](t);this[i(434)](e,t,!1)}this[i(434)](t,e,!0)}return this[i(593)]=t,this[i(542)]=e,this[i(370)]()}[rt(362)](t){const e=rt,i=this[e(318)][e(582)][e(483)](e(481));this[e(448)](),this[e(593)]=t[e(596)],this[e(542)]=t[e(350)];for(const s in t[e(331)]){const n=t[e(331)][s][e(595)],r=R(t[e(331)][s][e(457)])||{},o=i[e(462)](t[e(331)][s][e(283)]);o[e(511)]=s,o[e(396)]=!n||!n[e(353)],o[e(353)]=()=>o[e(396)],this[e(384)][e(378)](s,o),this[e(506)][e(378)](s,r),n&&this[e(590)][e(378)](s,n);const a=this[e(572)](o);this[e(534)][e(378)](s,a);for(const[t,i]of o[e(478)]){if(!t[e(410)](e(319)))continue;const s=t[e(519)](":")[2];for(const t of i[e(317)]({singleCharacters:!0})){const i=this[e(588)](t),n=e(545)==t[e(301)]?t[e(428)][e(557)][e(579)](0,-1):t[e(428)][e(557)],r=a[e(455)](n)[e(348)](i);this[e(382)][e(378)](r,{userId:s})}}}this[e(601)]=this[e(329)];const s=[...Array(this[e(329)])[e(305)]()][e(579)](1)[e(597)]((t=>!this[e(382)][e(560)](t)));let n=0;const r=new Map;for(const o in t[e(331)]){const a=t[e(331)][o][e(595)],c=R(t[e(331)][o][e(521)])||{},u=i[e(462)](t[e(331)][o][e(376)]);u[e(511)]=o,u[e(396)]=!a||a[e(353)],u[e(353)]=()=>u[e(396)],this[e(287)][e(378)](o,u),this[e(469)][e(378)](o,c);const l=this[e(572)](u,Number[e(437)]);this[e(354)][e(378)](o,l),r[e(378)](o,u[e(353)]()?c:{});for(const[t,i]of u[e(478)]){if(!t[e(410)](e(319)))continue;const s=t[e(519)](":")[2];for(const t of i[e(317)]({singleCharacters:!0})){const i=this[e(588)](t),n=this[e(329)]++,r=e(545)==t[e(301)]?t[e(428)][e(557)][e(579)](0,-1):t[e(428)][e(557)];l[e(455)](r)[e(296)](i,n),this[e(382)][e(378)](n,{userId:s})}}for(const t of this[e(318)][e(316)][e(500)](u)[e(317)]({singleCharacters:!0})){const i=this[e(588)](t),r=e(545)==t[e(301)]?t[e(428)][e(557)][e(579)](0,-1):t[e(428)][e(557)],o=l[e(455)](r);o[e(348)](i)>0||o[e(296)](i,s[n++])}for(const[t,i]of u[e(478)])t[e(410)](e(319))||this[e(312)][e(378)](t,i)}const o=ht(e(368));this[e(384)][e(378)](e(368),o),this[e(534)][e(378)](e(368),this[e(572)](o,1));const a=ht(e(368));this[e(287)][e(378)](e(368),a),this[e(354)][e(378)](e(368),this[e(572)](a,1));const c=Array[e(565)](this[e(287)])[e(503)]((([t,e])=>[t,lt(e)]));this[e(523)](this[e(542)],c,this[e(312)],r)}[rt(421)](){const t=rt;this[t(448)](),this[t(593)]=-1,this[t(542)]=-1,this[t(357)][t(453)](),this[t(359)](this[t(551)])}[rt(523)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(378)](t,{start:e[n(282)][n(405)](),end:e[n(460)][n(405)](),rootName:e[n(394)][n(511)]});this[n(357)][n(378)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(562)](t){const e=rt;this[e(357)][e(494)](t)}[rt(448)](){const t=rt;this[t(382)][t(453)](),this[t(464)][t(453)](),this[t(590)][t(453)](),this[t(287)][t(453)](),this[t(469)][t(453)](),this[t(384)][t(453)](),this[t(506)][t(453)](),this[t(354)][t(453)](),this[t(534)][t(453)](),this[t(312)][t(453)](),this[t(329)]=1,this[t(601)]=this[t(329)]}[rt(572)](t,e=null){const i=rt;let s=null;t.is(i(347))||(s=new Z.Element(t[i(489)],{vid_start:null===e?this[i(329)]++:e++}));const n=[];for(const s of t[i(451)]())if(s.is(i(344))){n[i(411)](this[i(572)](s,e));const t=n[n[i(427)]-1];null!==e&&(e=t.is(i(344),i(552))?t[i(348)](i(400))+1:t[i(348)](i(520))+1)}else for(let t=0;t<s[i(361)];t++)n[i(411)](new Z.Element(i(552),{vid:null===e?this[i(329)]++:e++}));if(t.is(i(347))){const e=ht(t[i(511)]);return e[i(439)](0,n),e}return s[i(296)](i(520),null===e?this[i(329)]++:e++),s[i(439)](0,n),s}[rt(434)](t,e,i){const s=rt;this[s(448)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(357)][s(483)](t);this[s(384)]=new Map(n),this[s(506)]=new Map(R(o));for(const[t,e]of this[s(384)])if(s(368)!==t&&(this[s(287)][s(378)](t,lt(e)),this[s(469)]=new Map(R(o)),i)){const i=this[s(329)];this[s(354)][s(378)](t,this[s(572)](e)),this[s(534)][s(378)](t,this[s(572)](e,i))}this[s(601)]=this[s(329)],this[s(287)][s(378)](s(368),lt(this[s(384)][s(483)](s(368)))),i&&this[s(354)][s(378)](s(368),this[s(572)](this[s(384)][s(483)](s(368))));for(const[t,e]of r){const i=this[s(384)][s(483)](e[s(511)]),n=this[s(287)][s(483)](e[s(511)]),r=new Z.Range(this[s(461)](e[s(282)],i),this[s(461)](e[s(460)],i)),o=this[s(490)](r,n);i[s(478)][s(378)](t,r),this[s(312)][s(378)](t,o)}this[s(320)](t,e,i)}[rt(320)](t,e,i){const s=rt;for(const n of this[s(551)][s(587)](t,e))this[s(498)](n,i);for(const t of this[s(287)][s(365)]())t[s(478)][s(453)]();for(const[t,e]of this[s(312)])this[s(287)][s(483)](e[s(394)][s(511)])[s(478)][s(378)](t,e[s(405)]());const n=new Map,r=new Map;for(const[t,e]of this[s(287)])n[s(378)](t,lt(e)),r[s(378)](t,this[s(469)][s(483)](t));this[s(523)](e,n,this[s(312)],r)}[rt(589)](t){const e=rt,i=Array[e(565)](this[e(357)][e(305)]());i[e(333)](((t,e)=>t-e)),i[e(505)]();for(const e of i)if(e<t)return e;return Number[e(437)]}[rt(447)](t,e){const i=rt,s=Array[i(565)](e[i(478)])[i(503)]((([e,s])=>[e,this[i(490)](s,t)]));t[i(478)]=new Map(s)}[rt(536)](t){const e=rt;for(const i of this[e(312)][e(365)]()){const s=i[e(355)](t),n=Z.Range[e(515)](s);i[e(282)]=n[e(282)],i[e(460)]=n[e(460)]}}[rt(498)](t,e){const i=rt;if(i(341)!=t[i(301)]&&i(403)!=t[i(301)]){if(i(564)==t[i(301)]){const s=t[i(475)][i(394)][i(511)];this[i(287)][i(560)](s)||(this[i(287)][i(378)](s,ht(s,!0)),this[i(469)][i(378)](s,{}),e&&this[i(354)][i(378)](s,ht(s,!0)))}else{if(i(549)==t[i(301)]||i(432)==t[i(301)]||i(524)==t[i(301)])return void this[i(324)](t);i(567)==t[i(301)]&&this[i(585)](t)}if(i(567)!==t[i(301)]){const e=this[i(517)](t,this[i(287)]);e[i(501)](),this[i(536)](e)}if(e)switch(t[i(301)]){case i(564):this[i(342)](t);break;case i(380):case i(541):case i(284):this[i(294)](t);break;case i(583):this[i(388)](t);break;case i(519):this[i(315)](t)}}else this[i(482)](t,e)}[rt(517)](t,e){const i=rt,s=t[i(405)]();return s[i(474)]=t[i(474)],this[i(493)](s,e),s}[rt(527)](t){const e=rt;return t[e(503)]((t=>{const i=e,s=this[i(588)](t);return Number(t[i(426)][i(348)](s))}))}[rt(299)](t,e){const i=rt;if(t.is(i(344),i(552)))e[i(411)]({item:t,type:i(459)});else{t.is(i(344))&&e[i(411)]({item:t,type:i(336)});for(const s of t[i(451)]())this[i(299)](s,e);t.is(i(344))&&e[i(411)]({item:t,type:i(545)})}return e}[rt(370)](){const t=rt,e=new Map(this[t(382)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(384)][t(305)](),...this[t(287)][t(305)]()]);a[t(494)](t(368));for(const e of a){const i=this[t(287)][t(483)](e)||ht(e,!1),s=this[t(384)][t(483)](e)||ht(e,!1);i[t(353)]()||s[t(353)]()?(n[t(376)][e]=lt(i),n[t(283)][e]=lt(s),this[t(447)](n[t(283)][e],s),this[t(447)](n[t(376)][e],i),r[t(376)][e]=this[t(299)](this[t(354)][t(483)](e),[]),r[t(283)][e]=this[t(299)](this[t(534)][t(483)](e)||ht(e,!1),[])):a[t(494)](e)}for(const n of a){const o=r[t(376)][n];for(const n of o){const r=this[t(588)](n),o=n[t(426)][t(348)](r);i[t(494)](o),o>=this[t(601)]&&s[t(378)](o,e[t(483)](o))}}for(const n of a){const a=r[t(376)][n],c=this[t(527)](r[t(283)][n]);let u=0;for(const n of a){const r=this[t(588)](n),a=n[t(426)][t(348)](r);if(!s[t(560)](a)&&!o[t(560)](a))if(i[t(560)](a))u++;else{if(a!=c[u]){const s=e[t(483)](a)||e[t(483)](c[u]);for(;a!=c[u];)i[t(560)](c[u])||(o[t(378)](c[u],s),e[t(378)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(376)][e];for(const e of n){const n=this[t(588)](e),r=e[t(426)][t(348)](n);if(o[t(560)](r)){const e=o[t(483)](r);i[t(560)](r)||i[t(378)](r,{...e}),s[t(378)](r,{...e})}}}for(const e of i[t(305)]())e>=this[t(601)]&&i[t(494)](e);const c=new Map;for(const e of a){let n=r[t(376)][e];for(const e of n)if(e[t(426)].is(t(344),t(371))){const i=this[t(588)](e),n=e[t(426)][t(348)](i);if(s[t(560)](n)){const i=e[t(426)][t(480)][t(480)][t(348)](t(599)),r=c[t(483)](i)||new Set;r[t(539)](s[t(483)](n)[t(575)]),c[t(378)](i,r)}}n=r[t(283)][e];for(const e of n)if(e[t(426)].is(t(344),t(371))){const s=this[t(588)](e),n=e[t(426)][t(348)](s);if(i[t(560)](n)){const s=e[t(426)][t(480)][t(480)][t(348)](t(599)),r=c[t(483)](s)||new Set;r[t(539)](i[t(483)](n)[t(575)]),c[t(378)](s,r)}}for(const e of c[t(305)]())(s[t(560)](e)||i[t(560)](e))&&c[t(494)](e)}for(const e of a){const n=r[t(376)][e];let o=null,a=null;for(const e of n){const n=this[t(588)](e),r=e[t(426)][t(348)](n),u=c[t(483)](r);u&&t(336)==e[t(301)]&&(o=Array[t(565)](u)[0],a=e[t(426)][t(348)](t(520))),o&&(i[t(378)](r,{userId:o}),s[t(378)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(283)][e],a=n[t(376)][e];for(const{userId:e}of this[t(464)][t(365)]())null!==e&&l[t(539)](e);for(const{userId:e}of this[t(590)][t(365)]())null!==e&&l[t(539)](e);this[t(390)](a,r[t(376)][e],s,t(485),l),this[t(390)](o,r[t(283)][e],i,t(332),l),u[e]={insertions:this[t(602)](a),deletions:this[t(602)](o),attachChange:this[t(590)][t(483)](e)||null,attributesBefore:R(this[t(506)][t(483)](e))||{},attributesAfter:R(this[t(469)][t(483)](e))}}return{diffData:u,authorsIds:Array[t(565)](l)}}[rt(535)](t){const e=rt;for(const[,i]of t[e(478)]){const t=i[e(282)][e(288)]()[e(597)]((t=>e(371)==t[e(489)]));for(const i of t)1==i[e(540)]&&i[e(479)](0).is(e(344),e(391))&&i[e(479)](0)[e(296)](e(497),!0)}}[rt(602)](t){const e=rt;this[e(535)](t);const i=this[e(318)][e(289)][e(584)](t,{}),s=Array[e(565)](i[e(451)]())[e(503)]((t=>this[e(526)](t)));return JSON[e(337)](s)}[rt(526)](t){const e=rt;if(t.is(e(552)))return t[e(289)];{const i=this[e(318)][e(582)][e(483)](e(481)),s=t,n=this[e(318)][e(289)][e(369)][e(576)],r={type:i[e(496)](s),name:s[e(489)],attributes:Array[e(565)](s[e(550)]()),children:Array[e(565)](s[e(451)]())[e(503)]((t=>this[e(526)](t)))};if(t.is(e(364))&&e(543)!=t[e(489)]){const i=t[e(416)](n[e(444)],n);r[e(418)][e(411)](i[e(430)])}else if(t.is(e(598))){const i=n[e(444)][e(420)](s[e(489)]);t[e(416)](i,n),r[e(418)][e(411)](i[e(581)])}const o=Array[e(565)](s[e(300)]());o[e(427)]>0&&(r[e(441)]=o);const a=s[e(285)]();return null!==a&&(r[e(516)]=a),r}}[rt(390)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(318)][r(316)];for(let s=0;s<e[r(427)];s++){const n=this[r(588)](e[s]),c=e[s][r(426)][r(348)](n),h=i[r(483)](c),d=s==e[r(427)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(575)]!=o[r(575)])&&(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(575)],d=l(319)+s+":"+h+":"+c++,f=u[l(352)](i,a);t[l(478)][l(378)](d,f),null!==h&&n[l(539)](h)}}[rt(588)](t){const e=rt;switch(t[e(301)]){case e(336):return e(599);case e(545):return e(520);default:return e(400)}}[rt(493)](t,e){const i=rt;t[i(326)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(483)](n[i(394)][i(511)]);t[s]=this[i(461)](n,r)}if(n instanceof Z.Range){const r=e[i(483)](n[i(394)][i(511)]);t[s]=this[i(490)](n,r)}i(394)===s&&(t[i(394)]=e[i(483)](t[i(394)][i(511)]))}}[rt(490)](t,e){const i=rt;return this[i(318)][i(316)][i(352)](this[i(461)](t[i(282)],e),this[i(461)](t[i(460)],e))}[rt(461)](t,e){const i=rt;return this[i(318)][i(316)][i(402)](e,t[i(557)],t[i(473)])}[rt(342)](t){const e=rt,i=this[e(354)][e(483)](t[e(475)][e(394)][e(511)]),s=this[e(461)](t[e(475)],i),n=null===t[e(474)]?null:t[e(474)]||this[e(318)][e(582)][e(483)](e(544)).me.id,r=s[e(480)],o=this[e(329)],a=[];for(const i of t[e(321)])if(i.is(e(344)))a[e(411)](this[e(572)](i));else for(let t=0;t<i[e(361)];t++)a[e(411)](new Z.Element(e(552),{vid:this[e(329)]++}));const c=this[e(329)];for(let t=o;t<c;t++)this[e(382)][e(378)](t,{userId:n});r[e(439)](s[e(470)],a)}[rt(294)](t){const e=rt;(t=this[e(517)](t,this[e(354)]))[e(501)]();const i=null===t[e(474)]?null:t[e(474)]||this[e(318)][e(582)][e(483)](e(544)).me.id,s=t[e(530)](),n=s[e(480)],r=s[e(470)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(479)](e);r.is(a(344),a(552))?s[a(378)](r[a(348)](a(400)),{userId:i}):(s[a(378)](r[a(348)](a(599)),{userId:i}),t(s,r,0,r[a(540)]),s[a(378)](r[a(348)](a(520)),{userId:i}))}}(this[e(382)],n,r,r+t[e(358)])}[rt(388)](t){const e=rt,i=null===(t=this[e(517)](t,this[e(354)]))[e(474)]?null:t[e(474)]||this[e(318)][e(582)][e(483)](e(544)).me.id,s=t[e(423)][e(480)],n=t[e(568)][e(480)],r=s[e(348)](e(520)),o=n[e(348)](e(599));s[e(296)](e(520),n[e(348)](e(520))),n[e(296)](e(520),r),this[e(382)][e(378)](o,{userId:i}),this[e(382)][e(378)](r,{userId:i}),t[e(501)]()}[rt(315)](t){const e=rt,i=null===(t=this[e(517)](t,this[e(354)]))[e(474)]?null:t[e(474)]||this[e(318)][e(582)][e(483)](e(544)).me.id,s=t[e(295)],n=t[e(553)][e(480)];t[e(501)]();const r=n[e(348)](e(520)),o=t[e(522)][e(395)];if(s){const t=o[e(348)](e(520)),s=n[e(348)](e(520));n[e(296)](e(520),t),o[e(296)](e(520),s),this[e(382)][e(378)](n[e(348)](e(520)),{userId:i}),this[e(382)][e(378)](o[e(348)](e(599)),{userId:i})}else{const t=this[e(329)]++,s=this[e(329)]++;n[e(296)](e(520),t),o[e(296)](e(599),s),o[e(296)](e(520),r),this[e(382)][e(378)](t,{userId:i}),this[e(382)][e(378)](s,{userId:i})}}[rt(585)](t){const e=rt;if(!t[e(495)])return;const i=(t=this[e(517)](t,this[e(287)]))[e(327)]?t[e(327)][e(394)]:null,s=t[e(302)]?t[e(302)][e(394)]:null;i&&this[e(312)][e(494)](t[e(489)]),s&&this[e(312)][e(378)](t[e(489)],t[e(302)][e(405)]());const n=null===t[e(474)]?null:t[e(474)]||this[e(318)][e(582)][e(483)](e(544)).me.id,r=t[e(489)];if(!this[e(464)][e(560)](r))return void this[e(464)][e(378)](r,{range:t[e(327)],userId:n});const o=this[e(464)][e(483)](r),a=o[e(471)],c=t[e(302)];null==a&&null==c||a&&c&&a[e(574)](c)?this[e(464)][e(494)](t[e(489)]):o[e(575)]=n}[rt(482)](t,e){const i=rt;this[i(287)][i(560)](t[i(511)])?this[i(287)][i(483)](t[i(511)])[i(396)]=t[i(375)]:(this[i(287)][i(378)](t[i(511)],ht(t[i(511)],!0)),this[i(469)][i(378)](t[i(511)],{}),e&&this[i(354)][i(378)](t[i(511)],ht(t[i(511)],!0)));const s=null===t[i(474)]?null:t[i(474)]||this[i(318)][i(582)][i(483)](i(544)).me.id,n=this[i(590)][i(483)](t[i(511)]);n&&n[i(575)]===s?this[i(590)][i(494)](t[i(511)]):this[i(590)][i(378)](t[i(511)],{userId:s,isAttached:t[i(375)]})}[rt(324)](t){const e=rt,i=this[e(469)][e(483)](t[e(394)][e(511)]);null===t[e(349)]?delete i[t[e(404)]]:i[t[e(404)]]=t[e(349)]}}function lt(t){const e=rt,i=ht(t[e(511)],t[e(353)]());for(const s of t[e(451)]()){const t=s[e(417)](!0);i[e(408)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(511)]=t,s[i(396)]=e,s[i(353)]=()=>s[i(396)],s}function dt(t,e,i){const s=rt,n=s(545)==t[s(301)]?i[s(518)](t[s(426)],s(460)):i[s(325)](t[s(426)]);return i[s(402)](e,n[s(557)],n[s(473)])}function ft(t,e,i){const s=rt,n=s(336)==t[s(301)]?i[s(518)](t[s(426)],0):i[s(468)](t[s(426)]);return i[s(402)](e,n[s(557)],n[s(473)])}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),Tt=i.n(St),Ot=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Tt();gt()(Ot.A,xt);Ot.A&&Ot.A.locals&&Ot.A.locals;var Nt=i(959),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Tt();gt()(Nt.A,At);Nt.A&&Nt.A.locals&&Nt.A.locals;const Rt=Et;function Et(t,e){const i=Mt();return(Et=function(t,e){return i[t-=325]})(t,e)}function Mt(){const t=["focusTracker","Name of the revision","trim","keystrokes","ck-revision-history-save-revision-form","input","arrowleft","arrowdown","365642jkTJxF","extendTemplate","revisionNameInputView","fieldView","_createRevisionNameInput","62531UJZTGZ","220","set","4472838sfTXHN","reset","stopPropagation","5326675YLmUCf","arrowup","listenTo","330IzYNGa","4YufajB","253XTYMMO","focus","ck-responsive-form","value","errorText","revisionNameInputValue","revisionName","7289064MWxHdC","4DzdzQa","locale","16810ZuSjeD","form","render","label","2807775vswUtG","add","setTemplate","element","optional","arrowright"];return(Mt=function(){return t})()}!function(t){const e=Et,i=t();for(;;)try{if(563373===-parseInt(e(334))/1*(-parseInt(e(358))/2)+parseInt(e(364))/3+parseInt(e(349))/4*(-parseInt(e(345))/5)+parseInt(e(348))/6*(-parseInt(e(339))/7)+parseInt(e(357))/8+-parseInt(e(342))/9+parseInt(e(360))/10*(parseInt(e(350))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Vt extends pt.View{[Rt(326)];[Rt(329)];[Rt(336)];constructor(e,i){const s=Rt;super(e),this[s(326)]=new t.FocusTracker,this[s(329)]=new t.KeystrokeHandler,this[s(341)](s(355),""),this[s(336)]=this[s(338)](i),this[s(366)]({tag:s(361),attributes:{class:["ck",s(330),s(352)],tabindex:"-1"},children:[this[s(336)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(362)](){const t=Rt;super[t(362)](),(0,pt.submitHandler)({view:this}),this[t(326)][t(365)](this[t(336)][t(367)]),this[t(329)][t(347)](this[t(367)]);const e=e=>e[t(344)]();this[t(329)][t(341)](t(325),e),this[t(329)][t(341)](t(332),e),this[t(329)][t(341)](t(346),e),this[t(329)][t(341)](t(333),e)}[Rt(351)](){const t=Rt;this[t(336)][t(351)]()}get[Rt(356)](){const t=Rt;return this[t(336)][t(337)][t(367)][t(353)][t(328)]()}set[Rt(356)](t){const e=Rt;this[e(336)][e(337)][e(367)][e(353)]=t[e(328)]()}[Rt(343)](){const t=Rt;this[t(336)][t(337)][t(367)][t(353)]="",this[t(336)][t(354)]=null}[Rt(338)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(359)],pt.createLabeledInputText),s=i[e(337)];s[e(335)]({attributes:{maxlength:e(340)}});let n=Q(this[e(359)],e(327));return!t&&(n+=" ("+Q(this[e(359)],e(368))+")"),i[e(363)]=n,s.on(e(331),(()=>{const t=e;this[t(355)]=s[t(367)][t(353)][t(328)]()})),i}}function Dt(){const t=["hide","children","delegate","errorText","The revision name cannot be empty.","69932fwzCTv","isOpen","locale","add","_saveRevisionFormView","bind","buttonView","config","RevisionHistoryUI","render","editing","reset","isEnabled","26577CQwQUq","addMany","saveRevision","5080aHsVTT","isReady","Cancel","menuBar:revisionHistory","RevisionTracker","revisionHistory.requireRevisionName","execute","focus","Open revision history","init","menu","pluginName","Revision history","componentFactory","Save current revision","revisionName","view","plugins","5288718BjMjbL","isPremiumPlugin","Dialog","7LmTbtn","isOfficialPlugin","Accept","_showDialog","role","revisionNameInputView","2821878sMtlGU","isReadOnly","get","show","315cFOLPi","1711929migXxT","editor","showRevisionViewerCallback","submit","_registerMenuComponent","4758525YpxuRp","ck-button-action","items","set","panelView","4081580uJtmwZ","_createSaveRevisionFormView","requires","revisionSave","revisionHistory","menuitem"];return(Dt=function(){return t})()}const Ct=Ft;function Ft(t,e){const i=Dt();return(Ft=function(t,e){return i[t-=120]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(984754===-parseInt(e(174))/1+parseInt(e(169))/2+parseInt(e(179))/3+-parseInt(e(126))/4*(-parseInt(e(173))/5)+parseInt(e(160))/6*(parseInt(e(163))/7)+-parseInt(e(142))/8*(parseInt(e(139))/9)+-parseInt(e(184))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class jt extends W.Plugin{static get[Ct(153)](){return Ct(134)}static get[Ct(164)](){return!0}static get[Ct(161)](){return!0}static get[Ct(186)](){return[ct]}[Ct(130)];[Ct(151)](){const t=Ct,e=this[t(175)],i=e[t(159)][t(171)](t(146));e.ui[t(155)][t(129)](t(188),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(183)][n(122)],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(131)](n(138)).to(i,n(143),i,n(138),e,n(170),((t,e,i)=>t&&e&&!i)),r[n(132)][n(182)]({icon:mt.IconHistory,label:Q(s,n(154)),tooltip:!0}),u[n(182)]({label:Q(s,n(156)),withText:!0,role:n(120)}),u[n(131)](n(138)).to(i,n(143),i,n(138),e,n(170),((t,e,i)=>t&&e&&!i)),u.on(n(148),(()=>this[n(166)]())),h[n(182)]({label:Q(s,n(150)),withText:!0,role:n(120)}),h[n(131)](n(138)).to(i,n(143),e,n(170),((t,e)=>t&&!e)),h.on(n(148),(()=>{const t=n;e[t(133)][t(171)](t(188))[t(176)](),r[t(127)]=!1,e[t(136)][t(158)][t(149)]()})),c[n(122)][n(129)](u),l[n(122)][n(129)](h),a[n(167)]=n(152),a[n(181)][n(140)]([c,l]),o[n(129)](a),r})),e.ui[t(155)][t(129)](t(145),(()=>this[t(178)]()))}[Ct(178)](){const t=Ct,e=this[t(175)],i=e[t(128)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(132)][t(182)]({icon:mt.IconHistory,label:Q(i,t(154))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(182)]({label:Q(i,t(156))}),o[t(123)](t(148)).to(s),o.on(t(148),(()=>{this[t(166)]()})),r[t(122)][t(129)](o),n[t(181)][t(129)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(182)]({label:Q(i,t(150))}),c[t(123)](t(148)).to(s),c.on(t(148),(()=>{const i=t;e[i(133)][i(171)](i(188))[i(176)]()})),a[t(122)][t(129)](c),n[t(181)][t(129)](a),s[t(183)][t(122)][t(129)](n),s}[Ct(166)](){const t=Ct,e=this[t(175)],i=e[t(128)],s=e[t(159)][t(171)](t(162)),n=e[t(159)][t(171)](t(146));function r(n){const r=t;e[r(133)][r(171)](r(147))&&""===n[r(157)]?n[r(168)][r(124)]=Q(i,r(125)):(e[r(159)][r(171)](ct)[r(141)]({name:n[r(157)]}),s[r(121)]())}this[t(130)]||(this[t(185)](),this[t(130)].on(t(177),(()=>r(this[t(130)])))),this[t(130)][t(137)](),s[t(172)]({id:t(187),title:Q(i,t(156)),isModal:!0,content:this[t(130)],actionButtons:[{label:Q(e[t(128)],t(144)),withText:!0,onExecute:()=>s[t(121)]()},{label:Q(e[t(128)],t(165)),class:t(180),withText:!0,onCreate(i){const s=t;i[s(131)](s(138)).to(n,s(143),n,s(138),e,s(170),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(130)])}]})}[Ct(185)](){const t=Ct,e=this[t(175)],i=e[t(128)];this[t(130)]=new Vt(i,e[t(133)][t(171)](t(147))),this[t(130)][t(135)]()}}function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=370]})(t,e)}const Pt=Lt;function zt(){const t=["ck-revision-change__","14592JPYIJH","add","Removed by","bindTemplate","focus","90mKmcMS","name","setTemplate","224HAqePn","ck-annotation","data","2hnQGLs","1222793ZDvPgL","2110230OrRjTI","Added by","62372mIryBg","6DmFMDg","changeId","isSuggestion","div","_model","span","author","set","13211nRVTfI","1009662HyYJlq","4710qjuCgn","element","type","Suggested by","204HfJFfD","ck-revision-change__label","101935jdBTNp","ck-revision-change"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(599801===parseInt(e(404))/1*(parseInt(e(390))/2)+-parseInt(e(384))/3*(-parseInt(e(394))/4)+parseInt(e(376))/5*(-parseInt(e(395))/6)+parseInt(e(387))/7*(-parseInt(e(379))/8)+parseInt(e(392))/9+parseInt(e(370))/10*(parseInt(e(403))/11)+-parseInt(e(374))/12*(parseInt(e(391))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends pt.View{[Pt(396)];[Pt(399)];constructor(t,e){const i=Pt;super(t),this[i(399)]=e,this[i(396)]=e.id;const s=this[i(382)],n=Q(t,e[i(389)][i(397)]?i(373):i(380)==e[i(372)]?i(393):i(381));this[i(402)](i(372),e[i(372)]),this[i(386)]({tag:i(398),attributes:{class:[i(388),i(377),s.to(i(372),(t=>i(378)+t))],tabindex:-1},children:[{tag:i(400),children:[{tag:i(400),attributes:{class:[i(375)]},children:[{text:n}]},{text:" "+e[i(401)][i(385)]}]}]})}[Pt(383)](){const t=Pt;this[t(371)][t(383)]()}}var Wt=Ht;function Ht(t,e){var i=Zt();return(Ht=function(t,e){return i[t-=168]})(t,e)}function Zt(){var t=["data","1274757gnNgnx","3267qOchjS","rootName","60055jIutEv","set","createdAt","toJSON","9QLsJNG","author","1698585NpCEiU","11112nKyYot","7zuNhZQ","150aQIzPl","1444704BbKMPj","type","1026756vWIKaD","273268SxQWJV"];return(Zt=function(){return t})()}!function(t){for(var e=Ht,i=t();;)try{if(285115===-parseInt(e(183))/1+-parseInt(e(177))/2+-parseInt(e(169))/3*(-parseInt(e(178))/4)+-parseInt(e(171))/5+parseInt(e(175))/6*(-parseInt(e(173))/7)+-parseInt(e(172))/8*(parseInt(e(181))/9)+-parseInt(e(174))/10*(-parseInt(e(180))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class $t extends((0,t.ObservableMixin)()){id;[Wt(170)];[Wt(176)];[Wt(179)];[Wt(182)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(170)]=e[i(170)],this[i(176)]=e[i(176)],this[i(179)]=e[i(179)]||{},this[i(182)]=e[i(182)],this[i(184)](i(185),e[i(185)])}[Wt(168)](){var t=Wt;return{id:this.id,authorId:this[t(170)].id,type:this[t(176)],data:this[t(179)],createdAt:this[t(185)]}}}function qt(){const t=["changes","_setChanges","16099330MENnTi","newRevisionId","6316849KrSDyP","oldRevisionId","7519368cMCWGa","372oSBVcj","add","1932620wHUHhX","6OhXzhN","9BBjKtk","88970cotWWF","420802PRPHmV","1051130XRKvWv"];return(qt=function(){return t})()}const Bt=Yt;function Yt(t,e){const i=qt();return(Yt=function(t,e){return i[t-=193]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(616364===parseInt(e(202))/1+-parseInt(e(201))/2*(parseInt(e(198))/3)+-parseInt(e(197))/4+parseInt(e(200))/5*(-parseInt(e(195))/6)+parseInt(e(207))/7+parseInt(e(194))/8*(-parseInt(e(199))/9)+parseInt(e(205))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Jt{[Bt(206)];[Bt(193)];[Bt(203)];constructor(e,i){const s=Bt;this[s(206)]=e,this[s(193)]=i,this[s(203)]=new t.Collection}[Bt(204)](t){const e=Bt;for(const i of t)this[e(203)][e(196)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Tt();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=te;function Qt(){const t=["add","shift","isNavigationMode","updatePosition","diffData","_markSuggestions","text","_joinTapes","getIndex","hasClass","stop","isReady","distance","_makeModelFromTape","isEnabled","sort","attributesAfter","change:activeChange","ck-revision-history-root-remove","_processTape","locale","filter","plugins","suggestion","splice","removeMarker","length","bottom","mousedown","markerName","object","findIndex","mouseover","config","writer","ck-suggestion-marker-merge","wrap","viewItem","toViewRange","_fixObsoleteTags","659419mdaUvc","getChild","downcastDispatcher","element:pre","addMarker:revision-suggestion:deletion","markerToData","_appendChild","isRemoveSuggestion","first","changes","activeView","keys","createRange","toViewPosition","high","getItems","isAtStart","getDomRoot","getRevisionDocumentData","test","858MCLuXb","forward","authors","getClientRects","editingDowncast","getRevisionRootsAttributes","data","side","range","getAttributes","vid_end","unbindElementFromMarkerName","end","mapViewToDom","model","currentChangeNumber","target","attributesBefore","markers","remove","type","find","domEvent","affectsData","showNextChange","low","revision-viewer","_sortAndFilterDiffChanges","softBreak","_getRevisionsRange","adapter","document","endIndex","dataToMarker","_findChangeIdFromDomTarget","uiElement","change:activeView","deletion","_utils","_makeTape","_revisions","ck-suggestion-marker-split","_changeView","offsetSize","getWalker","consumable","137673eFOPSm","init","change","userId","selection","revisionHistory","isAttached","view","highest","next","execute","enableReadOnlyMode","nodeAfter","from","attributes","addClass","_getChangeFromId","has","numberOfChanges","get","abs","isAtEnd","isEqual","editing","toViewElement","isAdded","ck-suggestion-marker-","item","WidgetToolbarRepository","addMarker:revision-suggestion:insertion","deletions","removeMarker:revision","_getViewForChange","_markMarkers","revision-suggestion","_markMismatchedRemovedTags","reconvertMarker","_balloon","destroy","previousPosition","attribute:vid","then","dataDowncast","editor","showPreviousChange","RevisionHistoryUtils","_initInteractions","getAttribute","return","left","bindElementToMarker","top","markerRange","values","isSuggestion","setAttribute","elementStart","markersStart","checkAttribute","ck-revision-history-root-add","consume","restoreRevision","backward","right","parent","markerToHighlight","getLaterVisibleRevision","pop","name","addRoot","_cleanMarkers","unshift","revision:","createAttributeElement","_refreshStartEndIndex","attachChange","elementToAttribute","addHighlight","merge","createRangeIn","isObject","refresh","ck-revision-history-root-","RevisionViewer","revisionHistoryAttachChange","ck-suggestion-preview-marker","isBefore","elementEnd","set","removeAttribute","pairId","all","isCollapsed","getCustomProperty","addRevision","string","showStack","vid_start","vid","newRevisionId","loadRevisionData","catch","nextSibling","enqueueChange","maxOffset","getRevision","-new","index","ck-suggestion-preview-marker-","insertions","_removeMissingPairs","diff","_activeViewTarget","schema","change:numberOfChanges","isAfter","_setChanges","for","clear","addMarker:revision","18345RviECx","isIncorrect","start","revision-comment:","listenTo","_data","domConverter","modelRange","map","isBlock","suggestion:","startIndex","commands","addRevisionData","delete","done","POSITIVE_INFINITY","includes","_step","6900300tXqhJG","span","error","slice","1006965vcpYIb","observeMarkers","_changeIdToChange","comment","changeId","forceDisabled","restoreRevisionCallback","insertion","oldRevisionId","nextPosition","_threeWayMerge","data-change-id","code","21VYrlcf","markersEnd","isPremiumPlugin","_setConversion","revision-suggestion:","element","upcast","pluginName","activeChange","isLimit","isContent","ck-suggestion-marker--active","push","resolve","requires","8wBokVX","detachRoot","isOfficialPlugin","_markInsertions","ck-revision-history-root--active","removeClass","_setDistance","split","flat","roots","removeMarker:revision-suggestion","isOnRoot","rootName","forEach","getRootNames","startsWith","insert","concat","_update","compare","level","isRemoved","createPositionBefore","isInline","conversion","repository","revisionHistoryLabel","hasAttribute","506600wkrgbp","bind","getRoot","1592328gEZkLA","indexOf","_makeModelFromViewString","_getDiff","isAddSuggestion","change:isEnabled","RevisionsRepository","createUIElement","createRevision","_cleanUp","createPositionFromPath","ck-suggestion-marker","ck-editor__editable__overlay","mapper","_removeUnsupportedChanges","markerNameToElements","change:isReady","revision"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=186]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(467936===-parseInt(e(240))/1+-parseInt(e(477))/2*(parseInt(e(306))/3)+parseInt(e(508))/4+-parseInt(e(426))/5*(-parseInt(e(260))/6)+-parseInt(e(462))/7*(parseInt(e(505))/8)+-parseInt(e(449))/9+parseInt(e(445))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends W.Plugin{[Xt(502)];[Xt(290)]=null;[Xt(298)];[Xt(418)];[Xt(302)];[Xt(451)];[Xt(343)];static get[Xt(469)](){return Xt(389)}static get[Xt(479)](){return!0}static get[Xt(464)](){return!0}static get[Xt(476)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(502)]=this[e(349)][e(222)][e(325)](e(188)),this[e(298)]=this[e(349)][e(222)][e(325)](e(351)),this[e(394)](e(470),null),this[e(394)](e(250),null),this[e(418)]=null,this[e(394)](e(417),null),this[e(394)](e(211),!1),this[e(394)](e(214),!0),this.on(e(187),((t,i,s)=>{const n=e;this[n(470)]=null,this[n(250)]=null,this[n(349)][n(329)][n(313)][n(308)]((t=>{const e=n;for(const i of this[e(349)][e(329)][e(313)][e(291)][e(486)])s?t[e(482)](e(194),i):t[e(321)](e(194),i)}))})),this[e(506)](e(202)).to(this,e(470),(t=>null!==t)),this[e(506)](e(275)).to(this,e(211),this,e(417),this,e(470),((t,i,s)=>t&&s?i[e(249)][e(208)](s):0)),this[e(506)](e(324)).to(this,e(211),this,e(417),((t,i)=>t?i[e(249)][e(226)]:0)),this[e(302)]=null,this[e(451)]=new Map,this[e(343)]=this[e(349)][e(222)][e(325)](pt.ContextualBalloon)}[Xt(307)](){const t=Xt,e=this[t(349)],i=new ne(e,{direction:t(368)}),s=new ne(e,{direction:t(261)});e[t(438)][t(200)](t(350),i),e[t(438)][t(200)](t(284),s),e[t(438)][t(200)](t(367),new se(e)),this.on(t(420),(()=>{const e=t;i[e(387)](),s[e(387)]()})),this[t(465)](),this[t(352)](),e[t(317)](t(286)),e[t(222)][t(323)](t(334))&&e[t(222)][t(325)](t(334))[t(454)](t(286))}async[Xt(258)](t){const e=Xt;return await this[e(298)][e(406)](t,this[e(290)]),this[e(298)][e(258)](t)}async[Xt(265)](t){const e=Xt;return await this[e(298)][e(406)](t,this[e(290)]),this[e(298)][e(265)](t)}async[Xt(496)](t,e,i=!1){const s=Xt;if(!this[s(214)])return;const n=this[s(417)],r=this[s(502)],o=s(401)==typeof t?r[s(411)](t):t,a=s(401)==typeof e?r[s(411)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(417)]&&this[s(417)][s(405)]===c&&this[s(417)][s(457)]===u)return Promise[s(475)]();this[s(211)]=!1,this[s(250)]=null,this[s(470)]=null,this[s(417)]=new Jt(c,u);const l=this[s(289)](o,a,!0)[s(434)]((t=>this[s(298)][s(406)](t,this[s(290)])));return l[s(474)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(397)](l)[s(347)]((()=>{const t=s;if(!this[t(214)])return;this[t(191)]();const e=this[t(511)](c,u);for(const i of e[t(249)])this[t(451)][t(394)](i.id,i);this[t(349)][t(274)][t(409)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(349)][s(274)][s(291)][s(491)]())i[s(478)](t);for(const t of Object[s(251)](e[s(274)])){const n=i[s(375)](t);for(const r of Object[s(251)](e[s(320)][t]))i[s(361)](r,e[s(320)][t][r],n);i[s(493)](e[s(274)][t],n,0)}})),this[t(417)][t(422)](this[t(287)](e[t(249)])),this[t(211)]=!0}))[s(407)]((t=>{const e=s;console[e(447)](t),this[e(191)](),n&&(this[e(417)]=n),this[e(211)]=!0}))}[Xt(439)](t,e){const i=Xt,s=this[i(502)][i(190)](t);return s.on(i(495),((t,i,n)=>e(i,n,s))),this[i(502)][i(400)](s),s}[Xt(191)](){const t=Xt;this[t(470)]=null,this[t(376)](),this[t(302)]&&this[t(302)][t(344)](),this[t(302)]=null,this[t(451)][t(424)](),this[t(349)][t(274)][t(409)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(349)][i(274)][i(291)][i(491)]())e[i(478)](t)}))}[Xt(287)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(349)][e(274)][e(291)][e(491)]()){const n=this[e(349)][e(329)][e(313)][e(257)](t);if(!n)continue;const r=n[e(263)]()[e(333)](0);r&&(i[e(474)](t),s[e(394)](t,r))}return i[e(215)](((t,i)=>{const n=e,r=s[n(325)](t),o=s[n(325)](i);return r.y-o.y||r.x-o.x})),(t=t[e(221)]((t=>i[e(443)](t[e(489)]))))[e(215)](((t,s)=>i[e(509)](t[e(489)])-i[e(509)](s[e(489)]))),t}[Xt(299)](t){const e=Xt,i=Array[e(319)](t[e(278)])[e(221)]((([t,i])=>t[e(492)](e(378))&&!i[e(398)])),s=Array[e(319)](this[e(349)][e(274)][e(385)](t)[e(304)]({singleCharacters:!0}));if(0!=i[e(226)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(484)](":");if(n[e(272)][e(328)](t[e(458)])&&i[e(201)](),(t[e(345)][e(328)](n[e(428)])||t[e(345)][e(421)](n[e(428)]))&&(e(456)==r?t[e(331)]={userId:o}:e(297)==r&&(t[e(498)]={userId:o})),0==i[e(226)])break}return s}[Xt(380)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(226)];s++)e(206)===t[s][e(280)]?(t[s][e(333)][e(437)]=s,t[s][e(333)][e(292)]=s):(e(362)===t[s][e(280)]?t[s][e(333)][e(437)]=s:e(393)===t[s][e(280)]&&(t[s][e(333)][e(292)]=s),i[e(394)](t[s].id,s));for(const s of i[e(359)]())e(362)===t[s][e(280)]?t[s][e(333)][e(292)]=i[e(325)](t[s][e(396)]):e(393)===t[s][e(280)]&&(t[s][e(333)][e(437)]=i[e(325)](t[s][e(396)]))}[Xt(219)](t){const e=Xt;for(let i=0;i<t[e(226)];i++){if(e(362)===t[i][e(280)])t[i][e(333)][e(437)]=i;else if(e(393)===t[i][e(280)]){t[i][e(333)][e(292)]=i;const s=t[i][e(333)][e(437)];t[s][e(396)]=t[i].id,t[i][e(396)]=t[s].id}else t[i][e(333)][e(437)]=i,t[i][e(333)][e(292)]=i,t[i][e(396)]=null;t[i][e(363)]||(t[i][e(363)]=[],t[i][e(463)]=[])}}[Xt(480)](t,e){const i=Xt,s=t[i(221)]((t=>!t[i(331)]));for(let t=0;t<e[i(226)];t++)e[t][i(331)]&&(s[t][i(331)]=e[t][i(331)])}[Xt(511)](t,e=null){const i=Xt,s=this[i(502)][i(411)](t),n=e?this[i(502)][i(411)](e):null,r=this[i(289)](s,n),o=r[r[i(226)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(226)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(251)](e[i(204)]))if(e[i(204)][t][i(381)]){const s=e[i(204)][t][i(381)];s[i(312)]?(u[i(200)](t),l[i(323)](t)&&l[i(325)](t)[i(309)]==s[i(309)]?l[i(440)](t):l[i(394)](t,s)):l[i(323)](t)?(u[i(440)](t),l[i(440)](t)):(u[i(200)](t),l[i(394)](t,s))}else u[i(200)](t)}for(const t of u){const e=l[i(323)](t)&&!l[i(325)](t)[i(312)];let s=e?r[i(226)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(204)][t]){const s=e?o[i(204)][t][i(277)]:o[i(204)][t][i(216)];c[i(320)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(274)]={};for(const e of t[i(262)])a[i(394)](e.id,e);for(const e of u){const s=t[i(204)][e]?t[i(204)][e][i(415)]:"[]",n=t[i(204)][e]?t[i(204)][e][i(336)]:"[]";t[i(274)][e]={insertions:this[i(298)][i(510)](s),deletions:this[i(298)][i(510)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(319)](s[i(274)][t][i(415)][i(278)])[i(221)]((([t])=>!t[i(492)](i(378)))));let h=0;for(const o of r){const r=this[i(299)](o[i(274)][t][i(415)]);o==s?(e=r,n=e[i(226)],e[i(490)]((t=>{t.id=h++})),this[i(219)](e)):this[i(480)](e,r);const a=e[i(221)]((t=>!t[i(331)]))[i(434)]((t=>t.id));let c=0;const l=this[i(299)](o[i(274)][t][i(336)]);l[i(490)]((t=>{t[i(498)]?t.id=n++:t.id=a[c++]})),this[i(219)](l),this[i(483)](e,i(331)),this[i(483)](l,i(498)),o==s&&this[i(339)](e,u),e=this[i(207)](e,l),this[i(380)](e),this[i(483)](e,i(498))}e=e[i(221)]((t=>!(t[i(331)]&&t[i(498)])));const d=new Map(o[i(274)][t][i(336)][i(278)]),f=new Set(u[i(251)]());for(const t of d[i(251)]())f[i(440)](t);this[i(205)](e,f),this[i(239)](e),e=this[i(416)](e),e=this[i(341)](e),e=this[i(196)](e);const{root:m,changes:p}=this[i(213)](e,a,t);c[i(274)][t]=m;const v=l[i(325)](t);if(v){const e=a[i(325)](v[i(309)]),s=new $t({author:e,type:v[i(312)]?i(200):i(279),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(377)](s),c[i(320)][t][i(390)]=s.id}c[i(249)]=c[i(249)][i(494)](p)}return c}[Xt(339)](t,e){const i=Xt;for(let s=0;s<t[i(226)];s++)for(const[n,r]of e)!r[i(398)]&&r[i(428)][i(328)](t[s][i(345)])&&t[s][i(363)][i(474)](n),r[i(272)][i(328)](t[s][i(458)])&&t[s][i(463)][i(474)](n)}[Xt(207)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(226)]||r<e[i(226)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(474)](o);else if(a[i(498)]&&o[i(331)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(459)](t,n,e,r);s=s[i(494)](o),n=a,r=c}else a[i(498)]?(r++,s[i(474)](a)):(n++,s[i(474)](o))}return s}[Xt(205)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(226)];o++){for(let r=0;r<t[o][i(363)][i(226)];r++){const a=t[o][i(363)][r];if(!e[i(323)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(340)!=c||i(456)!=u&&i(297)!=u||(s[i(377)]({type:u,name:a,userId:l}),t[o][i(363)][i(224)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(463)][i(226)];r++){const a=t[o][i(463)][r];if(!e[i(323)](a))continue;const{group:c,type:u}=n(a);if(i(340)!=c||i(456)!=u&&i(297)!=u)continue;t[o][i(463)][i(224)](r,1),r--;const l=s[i(231)]((t=>t[i(374)]==a));l>-1&&s[i(224)](l,1)}}function n(t){const e=i,s=t[e(484)](":");return{group:s[0],type:s[1],subType:s[e(226)]>=5?s[2]:null,id:s[e(226)]<5?s[2]:s[3],authorId:s[e(226)]<5?s[3]:s[4],markerCount:6==s[e(226)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(226)];i++){if(t[e(331)]&&e(456)==s[i][e(280)])return t[e(186)]=s[i],void delete t[e(331)];if(!t[e(331)]&&!t[e(498)]&&e(297)==s[i][e(280)])return void(t[e(247)]=s[i])}}}[Xt(483)](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(394)](o.id,s);for(let s=0;s<t[i(226)];s++){if(i(498)==e&&t[s][i(331)]||i(331)==e&&t[s][i(498)])continue;if(i(206)==t[s][i(280)]){t[s][i(212)]=0;continue}const n=r[i(325)](t[s][i(396)]),o=r[i(325)](t[s].id);t[s][i(212)]=n-o}}[Xt(289)](t,e,i=!1){const s=Xt,n=[];let r=this[s(502)][s(208)](t),o=this[s(502)][s(208)](e);for(-1==o&&(o=this[s(502)][s(300)][s(226)],i=!1);r<o;)n[s(474)](this[s(502)][s(411)](r)),r++;return i&&n[s(474)](this[s(502)][s(411)](r)),n}[Xt(459)](t,e,i,s){const n=Xt,r=this[n(349)][n(274)][n(419)];let o=e;for(;t[o]&&t[o][n(331)];)o++;let a=s;for(;i[a]&&i[a][n(498)];)a++;u(t,e,o),u(i,s,a);const c=i[n(448)](s,a)[n(494)](t[n(448)](e,o));return c[n(215)](((t,e)=>t[n(267)]!=e[n(267)]?t[n(267)]-e[n(267)]:t[n(497)]!=e[n(497)]?t[n(497)]-e[n(497)]:t[n(212)]!=e[n(212)]?e[n(212)]-t[n(212)]:!!t[n(331)]!=!!e[n(331)]?-1==t[n(267)]||0==t[n(267)]?t[n(331)]?-1:1:t[n(331)]?1:-1:t[n(413)]-e[n(413)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(442)],c=!0;for(let n=e;n<i;n++)if(r[s(500)](t[n][s(333)])||(c=!1),t[n][s(333)][s(437)]<e&&(o=n),t[n][s(333)][s(292)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(267)]=n<=o?-1:n<a?0:1,t[n][s(413)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(212)]?t[i][s(497)]=u:(u++,t[i][s(497)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(267)]&&(t[n][s(497)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(212)]?t[e][s(497)]=u:(u--,t[e][s(497)]=u,u--)}}[Xt(239)](t){const e=Xt,i=new Map,s=this[e(349)][e(274)][e(419)];for(let n=1;n<t[e(226)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(206)==c[e(280)])continue;if(c[e(280)]!=u[e(280)])continue;if(!s[e(435)](u[e(333)])||s[e(471)](u[e(333)]))continue;if(!s[e(435)](c[e(333)])||s[e(471)](c[e(333)]))continue;if((t[n][e(331)]||t[n][e(186)])&&t[n-1][e(498)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(498)]||!t[n-1][e(331)]&&!t[n-1][e(186)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(497)]==o[e(497)],h=Math[e(326)](r[e(497)])<Math[e(326)](o[e(497)])&&0==o[e(212)];(l||h)&&(i[e(394)](o.id,r.id),t[e(224)](a,1),n--,r[e(331)]=!1)}for(let s=0;s<t[e(226)];s++)i[e(323)](t[s][e(396)])&&(t[s][e(396)]=i[e(325)](t[s][e(396)]))}[Xt(416)](t){const e=Xt,i=new Set(t[e(434)]((t=>t.id)));for(let s=0;s<t[e(226)];s++)i[e(323)](t[s][e(396)])||0==t[s][e(212)]||(t[s][e(427)]=!0);return t[e(221)]((t=>!t[e(427)]))}[Xt(341)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(226)];s++){if(i[e(323)](t[s].id)&&t[s][e(498)]&&(t[s][e(427)]=!0),t[s][e(427)])continue;if(0==t[s][e(212)])continue;if(e(362)!=t[s][e(280)])continue;if(null==t[s][e(396)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(396)];)e(362)==t[n][e(280)]?r++:e(393)==t[n][e(280)]&&r--,n++;if(0!=r)if(t[s][e(498)])t[s][e(427)]=!0;else for(;n!=s;)t[n][e(498)]&&0!=t[n][e(212)]&&(t[n][e(427)]=!0,i[e(200)](t[n][e(396)])),n--}return t[e(221)]((t=>!t[e(427)]))}[Xt(196)](t){const e=Xt,i=this[e(349)][e(274)][e(419)];for(let s=0;s<t[e(226)];s++){if(!(t[s][e(331)]||t[s][e(186)]||t[s][e(498)]||t[s][e(247)]))continue;if(0==t[s][e(212)])continue;const n=t[s][e(333)];i[e(435)](n)||i[e(471)](n)||(t[s][e(331)]&&delete t[s][e(331)],t[s][e(186)]&&delete t[s][e(186)],t[s][e(247)]&&delete t[s][e(247)],t[s][e(498)]&&(t[s][e(427)]=!0))}return t[e(221)]((t=>!t[e(427)]))}[Xt(213)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(349)][s(274)],c=a[s(419)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(226)];e++)if(s(362)===t[e][s(280)]){t[e][s(345)]=a[s(192)](n,f);const i=new Z.Element(t[e][s(333)][s(374)],t[e][s(333)][s(269)]());u[0][s(246)](i),f[s(474)](0),u[s(377)](i),t[e][s(458)]=a[s(192)](n,f)}else s(393)===t[e][s(280)]?(u[s(201)](),t[e][s(345)]=a[s(192)](n,f),f[s(373)](),f[f[s(226)]-1]++,t[e][s(458)]=a[s(192)](n,f)):(t[e][s(345)]=a[s(192)](n,f),d?d[s(431)]+=t[e][s(333)][s(266)]:d=new Z.Text(t[e][s(333)][s(266)],t[e][s(333)][s(269)]()),t[e+1]&&s(206)===t[e+1][s(280)]&&v(d,t[e+1][s(333)])||(u[0][s(246)](d),d=null),f[f[s(226)]-1]+=t[e][s(333)][s(303)],t[e][s(458)]=a[s(192)](n,f));for(let e=0;e<t[s(226)];e++){const i=t[e][s(345)],n=t[e][s(458)];for(const n of t[e][s(363)])o[s(394)](n,{start:i,end:null});m(s(247),e,i,n),m(s(186),e,i,n),m(s(498),e,i,n),m(s(331),e,i,n);for(const i of t[e][s(463)]){const t=o[s(325)](i);t?t[s(272)]=n:o[s(394)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(349)][s(274)][s(252)](e[s(428)],e[s(272)]);n[s(278)][s(394)](t,i)}return r[s(215)](((t,e)=>{const i=s,r=n[i(278)][i(325)](i(378)+t.id),o=n[i(278)][i(325)](i(378)+e.id);return r[i(428)][i(392)](o[i(428)])?-1:r[i(428)][i(421)](o[i(428)])?1:r[i(272)][i(392)](o[i(272)])?-1:r[i(272)][i(421)](o[i(272)])?1:i(200)===t[i(280)]?-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(309)]:null,d=i===t[o(226)]-1,f=h[e][0],m=c[o(386)](t[i][o(333)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(272)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(309)]!==u&&(l[e][o(272)]=n,f&&f[o(309)]===l[e][o(309)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(362)!==t[i][o(280)]||f&&f[o(309)]===u||h[e][o(377)]({userId:u,object:t[i][o(333)],change:l[e]}),o(393)===t[i][o(280)]&&f&&f[o(230)]===t[i][o(333)]&&(h[e][o(201)](),l[e]=f[o(308)])),l[e]&&d&&(l[e][o(272)]=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(333)],f=a[h(419)][h(435)](d)&&!a[h(419)][h(471)](d),m=t[h(318)]==o[h(370)]&&o[h(256)];if(f&&m)return;const p=a[h(252)](t,o),v=e[h(325)](u),g=new $t({author:v,type:h(331)==l||h(186)==l?h(200):h(279),data:{isSuggestion:h(186)==l||h(247)==l},createdAt:new Date,rootName:i});r[h(474)](g),n[h(278)][h(394)](h(378)+g.id,p)}function v(t,e){const i=s,n=t[i(269)](),r=e[i(269)]();for(const t of n){if(t[1]!==e[i(353)](t[0]))return!1;r[i(315)]()}return r[i(315)]()[i(441)]}}[Xt(465)](){const t=Xt;this[t(349)][t(501)][t(423)](t(468))[t(293)]({view:t(199)}),this[t(349)][t(501)][t(423)](t(264))[t(371)]({model:t(199),view:e=>{const i=t,s=e[i(229)][i(484)](":")[1],n=this[i(322)](s);if(!n)return null;const r=i(200)==n[i(280)]?i(456):i(297),o=[i(193),i(332)+r];return n[i(266)][i(360)]&&o[i(474)](i(332)+r+i(412)),this[i(470)]==n&&o[i(474)](i(473)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(349)][t(501)][t(423)](t(468))[t(200)]((e=>{const i=t;e.on(i(243),((t,e,s)=>{const n=i,r=e[n(237)][n(241)](0);if(!r||!r.is(n(467),n(461)))return;if(!s[n(305)][n(366)](r,{attributes:[n(403),n(270)]}))return;const o=e[n(433)][n(428)][n(318)];s[n(234)][n(361)](n(403),r[n(353)](n(403)),o),s[n(234)][n(361)](n(270),r[n(353)](n(270)),o)}),{priority:i(285)})})),this[t(349)][t(501)][t(423)](t(468))[t(200)]((e=>{const i=t;e.on(i(467),((t,e,s)=>{const n=i;if(!s[n(305)][n(366)](e[n(237)],{attributes:[n(403),n(270)]}))return;if(e[n(433)][n(398)])return;const r=e[n(433)][n(428)][n(318)];r[n(504)](n(403))||r[n(504)](n(404))||(s[n(234)][n(361)](n(403),e[n(237)][n(353)](n(403)),r),s[n(234)][n(361)](n(270),e[n(237)][n(353)](n(270)),r))}),{priority:i(285)})})),this[t(349)][t(501)][t(423)](t(468))[t(382)]({view:{name:t(446),attributes:{vid:!0}},model:{key:t(404),value:e=>e[t(353)](t(404))}}),this[t(349)][t(274)][t(419)].on(t(364),((e,[,i])=>{const s=t;[s(403),s(270),s(404)][s(443)](i)&&(e[s(354)]=!0,e[s(210)]())}),{priority:t(314)}),this[t(349)][t(501)][t(423)](t(348))[t(200)]((e=>{const i=t;e.on(i(346),((t,e,s)=>{const n=i;if(" "!=e[n(333)][n(266)]||e[n(333)][n(370)][n(410)]>1)return;if(!s[n(305)][n(366)](e[n(333)],t[n(374)]))return;const r=s[n(234)],o=s[n(195)][n(238)](e[n(268)]);r[n(236)](o,r[n(379)](n(446)))}))})),this[t(349)][t(501)][t(423)](t(348))[t(245)]({model:t(199)}),this[t(349)][t(329)][t(242)].on(t(425),function(e){const i=t,s=e[i(222)][i(325)](i(389));return(t,n,r)=>{const o=i,a=n[o(229)][o(484)](":")[1],c=s[o(322)](a);if(!c)return null;const u=o(200)==c[o(280)]?o(484):o(384);if(!r[o(305)][o(259)](n[o(358)],t[o(374)]))return;const l=n[o(358)][o(304)](),h=n[o(358)][o(428)],d=e[o(274)][o(419)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(333)];p=p||d[o(472)](e);const i=r[o(195)][o(330)](e);if(i&&i[o(399)](o(383)))return;o(393)==t[o(280)]&&d[o(435)](e)&&!d[o(471)](e)&&(e[o(408)]||h[o(327)]?f&&f[o(370)]==e||(f=e,g(t[o(345)]),v=!0):m=m||t[o(345)])}function g(t){const e=o,i=r[e(234)][e(189)](e(446),{class:e(332)+u}),a=r[e(195)][e(253)](t);c[e(266)][e(360)]&&r[e(234)][e(321)](e(332)+u+e(412),i),s[e(470)]==c&&r[e(234)][e(321)](e(473),i),r[e(234)][e(493)](a,i),r[e(195)][e(356)](i,n[e(229)])}p||v||!m||g(m)}}(this[t(349)]),{priority:t(254)}),this[t(349)][t(329)][t(242)].on(t(337),((e,i,s)=>{const n=t,r=s[n(195)][n(197)](i[n(229)]);if(r)for(const t of r)(t[n(209)](n(301))||t[n(209)](n(235)))&&(s[n(195)][n(271)](t,i[n(229)]),s[n(234)][n(279)](t))}),{priority:t(254)}),this[t(349)][t(329)][t(242)].on(t(425),((e,i,s)=>{const n=t,r=i[n(229)][n(484)](":")[1],o=this[n(322)](r);if(!o)return null;const a=n(200)==o[n(280)]?n(484):n(384);if(s[n(305)][n(259)](i[n(358)],e[n(374)]))for(const t of i[n(358)][n(255)]()){if(!t.is(n(467),n(288)))continue;const e=s[n(234)][n(189)](n(446),{class:n(332)+a}),r=s[n(195)][n(253)](this[n(349)][n(274)][n(499)](t));o[n(266)][n(360)]&&s[n(234)][n(321)](n(332)+a+n(412),e),this[n(470)]==o&&s[n(234)][n(321)](n(473),e),s[n(234)][n(493)](r,e),s[n(195)][n(356)](e,i[n(229)])}}),{priority:t(254)}),this[t(349)][t(274)][t(291)].on(t(308),(()=>{const e=t;this[e(349)][e(329)][e(313)][e(308)]((t=>{const i=e;for(const e of this[i(349)][i(274)][i(291)][i(491)]()){const s=this[i(349)][i(274)][i(291)][i(507)](e),n=this[i(349)][i(329)][i(313)][i(291)][i(507)](e);if(n){const e=s[i(353)](i(390));if(t[i(395)](i(460),n),t[i(482)](i(365),n),t[i(482)](i(218),n),t[i(482)](i(481),n),e){const s=this[i(322)](e);if(!s)return null;t[i(361)](i(460),e,n),t[i(321)](i(388)+s[i(280)],n),this[i(470)]==s&&t[i(321)](i(481),n)}}}}))})),this[t(349)][t(501)][t(423)](t(468))[t(293)]({view:t(452),model:e=>t(429)+e,converterPriority:t(314)}),this[t(349)][t(501)][t(423)](t(468))[t(293)]({view:t(223),model:e=>t(466)+e,converterPriority:t(314)}),this[t(349)][t(501)][t(423)](t(348))[t(245)]({model:t(340),view:e=>({name:t(436)+e,group:t(340)}),converterPriority:t(314)}),this[t(349)][t(501)][t(423)](t(264))[t(371)]({model:t(340),view:e=>{const i=t,s=e[i(229)][i(484)](":")[1];return i(456)!=s&&i(297)!=s?null:{classes:[i(391),i(414)+s]}}}),this[t(349)][t(329)][t(242)].on(t(244),ie(this[t(349)],t(384)),{priority:t(254)}),this[t(349)][t(329)][t(242)].on(t(335),ie(this[t(349)],t(484)),{priority:t(254)}),this[t(349)][t(329)][t(242)].on(t(487),((e,i,s)=>{const n=t,r=s[n(195)][n(197)](i[n(229)]);if(r)for(const t of r)t.is(n(295))&&(s[n(195)][n(271)](t,i[n(229)]),s[n(234)][n(279)](t))}),{priority:t(254)})}[Xt(322)](t){const e=Xt;return this[e(451)][e(325)](t)}[Xt(338)](t){const e=Xt;return this[e(302)]&&this[e(302)][e(344)](),this[e(302)]=new Ut(this[e(349)][e(220)],t),this[e(302)]}[Xt(352)](){const t=Xt;this[t(349)][t(274)][t(291)][t(310)][t(450)](t(199)),this.on(t(296),((e,i,s,n)=>{const r=t;n&&this[r(343)][r(279)](n),s&&(this[r(343)][r(200)]({view:s,stackId:r(503),position:{target:()=>{const t=r,e=this[t(349)][t(329)],i=this[t(322)](s[t(453)]);let n;if(i[t(266)][t(488)]){const s=e[t(313)][t(257)](i[t(489)]);n=Array[t(319)](s[t(263)]())}else{const i=this[t(349)][t(274)][t(278)][t(325)](t(378)+s[t(453)]);n=Array[t(319)](e[t(195)][t(197)](i[t(374)]))[t(434)]((i=>e[t(313)][t(432)][t(273)](i)))[t(434)]((e=>Array[t(319)](e[t(263)]())))[t(485)]()}return this[t(418)]&&n[t(281)]((e=>e[t(357)]-3<=this[t(418)].y&&e[t(227)]+3>=this[t(418)].y&&e[t(355)]-3<=this[t(418)].x&&e[t(369)]+3>=this[t(418)].x))||n[0]}}}),this[r(343)][r(402)](r(503)))})),this.on(t(217),((e,i,s,n)=>{const r=t;this[r(250)]=s?this[r(338)](s):null,this[r(349)][r(274)][r(308)]((()=>{const t=r,e=this[t(349)][t(329)];n&&(n[t(266)][t(488)]?e[t(313)][t(308)]((i=>{const s=t;i[s(482)](s(481),e[s(313)][s(291)][s(507)](n[s(489)]))})):e[t(342)](t(378)+n.id)),s&&(s[t(266)][t(488)]?e[t(313)][t(308)]((i=>{const n=t;i[n(321)](n(481),e[n(313)][n(291)][n(507)](s[n(489)]))})):e[t(342)](t(378)+s.id))}))})),this[t(430)](this[t(349)][t(329)][t(313)][t(291)],t(232),((e,i)=>{const s=t;if(this[s(470)])return;const n=this[s(294)](i[s(276)]),r=this[s(451)][s(325)](n);r?(this[s(418)]={x:i[s(282)].x,y:i[s(282)].y},this[s(250)]=this[s(338)](r)):(this[s(418)]=null,this[s(250)]=null)})),this[t(430)](this[t(349)][t(329)][t(313)][t(291)],t(228),((e,i)=>{const s=t,n=this[s(294)](i[s(276)]),r=this[s(451)][s(325)](n);r?(this[s(418)]={x:i[s(282)].x,y:i[s(282)].y},r===this[s(470)]?this[s(343)][s(203)]():this[s(470)]=r):(this[s(418)]=null,this[s(470)]=null)}))}[Xt(294)](t){const e=Xt;do{const i=t[e(353)](e(460));if(i)return i;t=t[e(370)]}while(t);return null}[Xt(376)](){const t=Xt;this[t(349)][t(274)][t(308)]((e=>{const i=t;for(const t of this[i(349)][i(274)][i(278)])e[i(225)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(305)][r(259)](s[r(358)],i[r(374)]))return;const o=s[r(358)][r(304)](),a=s[r(358)][r(428)],c=t[r(274)][r(419)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(333)];h=h||c[r(472)](e);const i=n[r(195)][r(330)](e);if(i&&i[r(399)](r(383)))return;r(393)==t[r(280)]&&c[r(435)](e)&&!c[r(471)](e)&&(e[r(408)]||a[r(327)]?u&&u[r(370)]==e||(u=e,f(t[r(345)]),d=!0):l=l||t[r(345)])}function f(t){const i=r,o=n[i(195)][i(253)](t),a=n[i(234)][i(189)](i(446),{class:i(414)+e});n[i(234)][i(493)](o,a),n[i(195)][i(356)](a,s[i(229)])}h||d||!l||f(l)}}class se extends W.Command{constructor(t){const e=Xt;super(t);const i=t[e(222)][e(325)](ee);this[e(283)]=!1,this[e(430)](i,e(198),(()=>this[e(387)]())),this[e(430)](i,e(187),(()=>this[e(387)]()))}[Xt(316)](){const t=Xt,e=this[t(349)],i=e[t(222)][t(325)](ee),s=i[t(211)]?i[t(417)][t(405)]:null;e[t(233)][t(325)](t(311))[t(455)](s)}[Xt(387)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(349)][t(222)][t(325)](ee),r=n&&s[t(372)](n[t(405)]);this[t(214)]=e&&i&&Boolean(r)}}class ne extends W.Command{[Xt(444)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(222)][i(325)](ee);this[i(283)]=!1,this[i(444)]=i(261)===e?1:-1,this[i(430)](s,i(198),(()=>this[i(387)]())),this[i(430)](s,i(187),(()=>this[i(387)]())),this[i(430)](s,i(217),(()=>this[i(387)]()))}[Xt(316)](){const e=Xt,i=this[e(349)],s=i[e(222)][e(325)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(470)]=n?s[e(417)][e(249)][e(325)](r+this[e(444)]):s[e(417)][e(249)][e(248)],s[e(470)][e(266)][e(488)])o=i[e(329)][e(313)][e(257)](s[e(470)][e(489)]);else{const t=i[e(274)][e(278)][e(325)](e(378)+s[e(470)].id);o=(0,H.getMarkerDomElement)(i[e(329)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(387)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(349)][t(222)][t(325)](ee);this[t(214)]=!!(r&&n&&s)&&(!e||(1===this[t(444)]?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=Tt();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["isNavigationMode","Show previous change","span","NUMBER_OF_CHANGES","forward","ck-revision-history-ui","16BeZEff","Total","ck-hidden","bindTemplate","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation","isReady","ck-revision-history-ui__changes-navigation__navigation","currentChangeNumber","div","execute","10678302qrBgDN","numberOfChanges","936900QuwCmp","_isStatusLabelVisible","Show next change","3409476oEEYmV","fire","931870ugHaYC","ck-revision-history-ui__changes-navigation__label","isBackwardNavigationEnabled","6vzMWhH","No changes","EDIT_X_OF_Y_REVISIONS","_statusText","bind","setTemplate","set","601237aEwsVX","X_OF_Y_CHANGES","1032057cWTTPU","isEnabled","isForwardNavigationEnabled","backward","Loading...","1709026ziTLfS"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=294]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(775107===parseInt(e(305))/1+-parseInt(e(327))/2+parseInt(e(322))/3+-parseInt(e(308))/4+-parseInt(e(310))/5*(-parseInt(e(313))/6)+-parseInt(e(320))/7*(parseInt(e(334))/8)+parseInt(e(303))/9)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(295)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(319)](e(328),!1),this[e(319)](e(298),!1),this[e(319)](e(300),0),this[e(319)](e(304),0),this[e(319)](e(324),!1),this[e(319)](e(312),!1),this[e(317)](e(306)).to(this,e(298),this,e(304),((t,e)=>t&&e>0)),this[e(317)](e(316)).to(this,e(298),this,e(300),this,e(304),this,e(328),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(326));if(!n)return Q(t,o(314));const a=Q(t,o(331),n);return r?Q(t,o(321),[s+1,n]):a})),s[e(319)]({label:Q(t,e(329)),tooltip:!0,icon:mt.IconChevronUp}),n[e(319)]({label:Q(t,e(307)),tooltip:!0,icon:mt.IconChevronDown}),s[e(317)](e(323)).to(this,e(312)),n[e(317)](e(323)).to(this,e(324)),s.on(e(302),(()=>this[e(309)](e(302),e(325)))),n.on(e(302),(()=>this[e(309)](e(302),e(332)))),this[e(318)]({tag:e(301),attributes:{class:["ck",e(333),e(297)]},children:[{tag:e(330),attributes:{class:[e(296)]},children:[{tag:e(330),attributes:{class:[e(311),i.if(e(306),e(294),(t=>!t))]},children:[{text:i.to(e(328),(i=>i?Q(t,e(315))+": ":Q(t,e(335))+": "))}]},{text:i.to(e(316))}]},new pt.ToolbarSeparatorView,{tag:e(301),attributes:{class:[e(299)]},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=Tt();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=pe;function fe(){const t=["7044835XgEaRc","change","editing","562419YIAXpL","editor","show","roots","2JnXaMl","isPremiumPlugin","ck-editor__editable__loading-overlay","isOfficialPlugin","1074638SqxnPc","removeClass","117LKwZvQ","hide","2067984cezxvd","addClass","8888208ycPtIQ","6TKCpKb","view","218030pBPxJf","pluginName","853288GemLoe","308ljGxiC","RevisionViewerLoadingOverlay","document"];return(fe=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(722527===-parseInt(e(496))/1*(-parseInt(e(500))/2)+-parseInt(e(492))/3+parseInt(e(504))/4+parseInt(e(489))/5*(-parseInt(e(481))/6)+-parseInt(e(506))/7+parseInt(e(485))/8*(parseInt(e(502))/9)+-parseInt(e(483))/10*(-parseInt(e(486))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=de(498);function pe(t,e){const i=fe();return(pe=function(t,e){return i[t-=481]})(t,e)}class ve extends W.Plugin{static get[de(484)](){return de(487)}static get[de(499)](){return!0}static get[de(497)](){return!0}[de(494)](){const t=de,e=this[t(493)][t(491)][t(482)];e[t(490)]((i=>{const s=t;for(const t of e[s(488)][s(495)])i[s(505)](me,t)}))}[de(503)](){const t=de,e=this[t(493)][t(491)][t(482)];e[t(490)]((i=>{const s=t;for(const t of e[s(488)][s(495)])i[s(501)](me,t)}))}}const ge=ke;function ye(){const t=["4165096nTcHVc","showPreviousChange","2rpJMjt","isPremiumPlugin","execute","add","20708928uQrfAJ","get","isOfficialPlugin","plugins","currentChangeNumber","561276TSfSaM","editor","pluginName","changesNavigation","ck-revision-history-ui__back-to-editing","Restore this revision","isReady","show","showNextChange","numberOfChanges","hide","1444968OOTIJo","restoreRevision","closeRevisionViewerCallback","set","forward","isForwardNavigationEnabled","init","120676viUDol","requires","RevisionViewerUI","listenTo","config","change:isReady","100QOfGok","isBackwardNavigationEnabled","commands","isEnabled","bind","revisionHistory","153762jTEbGg","exitToEditing","isNavigationMode","5073738UBBliK","componentFactory","Back to editing"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=142]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(432938===parseInt(e(183))/1*(parseInt(e(145))/2)+-parseInt(e(156))/3+parseInt(e(163))/4*(-parseInt(e(169))/5)+-parseInt(e(178))/6+parseInt(e(175))/7+-parseInt(e(181))/8+parseInt(e(187))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends W.Plugin{static get[ge(147)](){return ge(165)}static get[ge(142)](){return!0}static get[ge(184)](){return!0}static get[ge(164)](){return[ee,ve]}[ge(162)](){const t=ge,e=this[t(146)],i=e[t(143)][t(188)](ee),s=e[t(143)][t(188)](ve);e.ui[t(179)][t(186)](t(176),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(159)]({label:Q(i,s(180)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(149)}),this[s(166)](n,s(185),(()=>{const t=s;e[t(167)][t(188)](t(174))[t(158)]()})),n})),e.ui[t(179)][t(186)](t(157),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(159)]({label:Q(i,s(150)),withText:!0,tooltip:!0}),n[s(173)](s(172)).to(e[s(171)][s(188)](s(157))),this[s(166)](n,s(185),(()=>e[s(185)](s(157)))),n})),e.ui[t(179)][t(186)](t(148),(s=>{const n=t,r=new ue(s),o=e[n(171)][n(188)](n(182)),a=e[n(171)][n(188)](n(153));return r[n(173)](n(170)).to(o,n(172)),r[n(173)](n(161)).to(a,n(172)),r[n(173)](n(151),n(144),n(154),n(177)).to(i),this[n(166)](r,n(185),((t,i)=>{const s=n;e[s(185)](s(160)===i?s(153):s(182))})),r})),s[t(152)](),i.on(t(168),((e,i,n)=>{const r=t;n?s[r(155)]():s[r(152)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Tt();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Te;function Se(){const t=["778990hBvMZP","placeholder","set","_updateTooltipText","render","Revision name","fieldView","ck-tooltip_multi-line","destroy","bindTemplate","extendTemplate","5GzVPyl","_resizeObserver","9498783nMneAT","Enter the revision name","value","element","span","2946066HFibgC","clientWidth","_tooltipString","scrollWidth","178569UGRszJ","input","10NJxxfW","8XaaTEL","3031372JGIvbN","listenTo","ck-revision-history-sidebar__revision-name","6100002YiYKQA","1501286uWDLZR"];return(Se=function(){return t})()}function Te(t,e){const i=Se();return(Te=function(t,e){return i[t-=391]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(681959===parseInt(e(399))/1+-parseInt(e(398))/2+-parseInt(e(417))/3+-parseInt(e(394))/4*(parseInt(e(410))/5)+parseInt(e(397))/6+-parseInt(e(412))/7*(-parseInt(e(393))/8)+parseInt(e(421))/9*(parseInt(e(392))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends pt.LabeledFieldView{[Ie(411)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(408)];this[i(401)]({label:Q(t,i(404)),_tooltipString:""}),this[i(405)][i(400)]=Q(t,i(413)),this[i(409)]({tag:i(416),attributes:{class:[i(396)],"data-cke-tooltip-text":s.to(i(419)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(406)}})}[Ie(403)](){const e=Ie;super[e(403)](),this[e(411)]=new t.ResizeObserver(this[e(405)][e(415)],(()=>this[e(402)]())),this[e(395)](this[e(405)],e(391),(()=>this[e(402)]()))}[Ie(407)](){const t=Ie;super[t(407)](),this[t(411)]&&this[t(411)][t(407)]()}[Ie(402)](){const t=Ie,e=this[t(405)][t(415)];this[t(419)]=e[t(420)]>e[t(418)]&&e[t(414)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Tt();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Ae(){const t=["0 0 11 10","name","131257TbHZNo","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author","215580CEthAd","590307cKKvdf","84736bqGUHx","312140tgdjhP","99NlFQjU","6byJVyE","push","set","5474832hAcurA","Revision author","ck-revision-history-sidebar__revision-author_creator","span","2YdxXgn","setTemplate","Revision creator","5DjmfjA","734000yfFbkD"];return(Ae=function(){return t})()}function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=374]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(184071===parseInt(e(385))/1*(-parseInt(e(375))/2)+parseInt(e(374))/3+parseInt(e(376))/4*(-parseInt(e(388))/5)+-parseInt(e(378))/6*(parseInt(e(392))/7)+-parseInt(e(389))/8+parseInt(e(377))/9*(-parseInt(e(395))/10)+parseInt(e(381))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ee extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(380)]({content:mt.IconUser,viewBox:s(390)});const r=["ck",s(394)];i&&r[s(379)](s(383));const o=[{tag:s(384),attributes:{class:["ck",s(393)],title:Q(t,s(i?387:382))},children:[n,e[s(391)]]}];this[s(386)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=123]})(t,e)}function Ve(){var t=["toLocaleTimeString","numeric","3382704KMzDtD","toLocaleDateString","38388NwZJVb","10091322jtXpzy","1998120OzgHgE","long","626njqcmC","830UDnpdW","7865298PUhqYn","1036668wiIZks","598lEbzsc"];return(Ve=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(620093===-parseInt(e(132))/1*(-parseInt(e(128))/2)+parseInt(e(131))/3+-parseInt(e(135))/4+parseInt(e(129))/5*(-parseInt(e(124))/6)+parseInt(e(130))/7+-parseInt(e(126))/8+parseInt(e(125))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Tt();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=477]})(t,e)}function je(){const t=["isReady","bind","listView","add","listenTo","Compare against selected","name","isEnabled","map","menuitem","ck-on","items","find","67878wfWMnb","Show more items","function","36293290yAQaIl","isVisible","433557OedgGA","action","source","buttonView","execute","isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions","bindTemplate","first","change:isActionsDropdownOpen","extendTemplate","panelPosition","set","2885865IDOIsH","_action","model","6432293hevGZd","stopPropagation","menu","isOpen","6WxvGwJ","Restore this revision","class","Name this revision","locale","35ASQzPJ","children","144SxuOcG","button","54933sZAAFH","7523232oPrTCs"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(616011===-parseInt(e(511))/1*(parseInt(e(481))/2)+parseInt(e(515))/3*(parseInt(e(513))/4)+-parseInt(e(499))/5*(parseInt(e(506))/6)+-parseInt(e(502))/7+-parseInt(e(516))/8+-parseInt(e(486))/9+parseInt(e(484))/10)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=Tt();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=Ue;function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=238]})(t,e)}function We(){const t=["highlight","bindTemplate","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision","div","span","authors","createdAt","isSelected","ck-revision-history-sidebar__revision__date","element","_createdAtFormatted","set","deselect","isEnabled","15131510jtgNJI","5SuEgYa","unshift","ck-revision-history-sidebar__actions_dropdown_open","value","creator","uiLanguage","select","length","1441800MJSWvc","bind","isConfirm","revisionNameView","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision_highlighted","_requireRevisionName","150668XOJGeq","802515njMLsB","change","1078479YIdfnn","map","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision_selected","extendTemplate","filter","isHighlighted","_revision","4308BpLQbt","srcElement","setName","setTemplate","revisionActionsView","1163700VdmkFi","name","3927jMdnrn","render","isActionsDropdownOpen","fieldView","220","ck-revision-history-sidebar__revision-wrapper","from",".ck-thread__remove-confirm","ck-reset","isReady","fire","ck-disabled","24fujWOp","unhighlight","listenTo","closest"];return(We=function(){return t})()}!function(t){const e=Ue,i=t();for(;;)try{if(232481===-parseInt(e(283))/1*(parseInt(e(298))/2)+-parseInt(e(299))/3+-parseInt(e(291))/4+-parseInt(e(249))/5+parseInt(e(244))/6*(-parseInt(e(251))/7)+-parseInt(e(263))/8*(-parseInt(e(301))/9)+parseInt(e(282))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(294)];[ze(248)];[ze(243)];[ze(297)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(268)],a=function(t,e){const i=r,s=Array[i(257)](e[i(273)])[i(241)]((t=>t!=e[i(287)]));return e[i(287)]&&s[i(284)](e[i(287)]),s[i(302)]((s=>new Ee(t,s,s==e[i(287)])))}(e,i);this.id=i.id,this[r(243)]=i,this[r(297)]=n,this[r(292)](r(250),r(274)).to(i),this[r(292)](r(278)).to(this,r(274),(t=>{return i=e[r(288)],(s=t)[(n=Me)(123)](i,{month:n(127),day:n(134)})+", "+s[n(133)](i,{hour:n(134),minute:n(134)});var i,s,n})),this[r(279)](r(275),!1),this[r(279)](r(242),!1),this[r(279)](r(253),!1),this[r(279)](r(260),!1),this[r(279)](r(281),!1),this[r(294)]=new Oe(e,pt.createLabeledInputText),this[r(294)][r(254)][r(240)]({attributes:{maxlength:r(255)}}),this[r(294)][r(254)][r(292)](r(286)).to(this,r(250),(t=>t||this[r(278)])),this[r(294)][r(292)](r(281)).to(this,r(275),this,r(281),((t,e)=>t&&e)),this[r(248)]=s&&s[r(290)]?function(e,i){const s=Fe,n=e[s(493)],r=e[s(510)],o=(0,pt.createDropdown)(r);o[s(497)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(510)],n={"Compare against selected":Q(s,i(522)),"Name this revision":Q(s,i(509)),"Restore this revision":Q(s,i(507))};return e[i(525)]((t=>{const e=i,s=n[t[e(523)]];return s&&s!==t[e(523)]&&(t[e(523)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(514),model:new pt.ViewModel({label:t[n(523)],class:t[n(508)],withText:!0,role:n(477),_action:t[n(487)]})};i[n(501)][n(518)](n(524)).to(e,n(491),(i=>n(483)!=typeof t[n(524)]||!i||t[n(524)](e))),o[n(520)](i)}return o}(e,i);return e[s(518)](s(491)).to(o,s(505)),o[s(489)][s(498)]({label:Q(r,s(482)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(496)]({attributes:{class:[s(492),n.if(s(491),s(478))]},on:{click:n.to((t=>t[s(503)]()))}}),o.on(s(490),(t=>{const i=s;e[i(517)]&&i(483)==typeof t[i(488)][i(500)]&&t[i(488)][i(500)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(504)}),o[s(521)](e,s(495),((t,n,r)=>{const a=s;if(r)for(const t of o[a(519)][a(479)]){const s=t[a(512)][a(494)],n=i[a(480)]((t=>t[a(487)]===s[a(500)]))[a(485)];t[a(485)]=void 0===n||n(e)}})),o}(this,s):"",this[r(248)]&&this[r(248)][r(292)](r(281)).to(this),this[r(247)]({tag:r(271),attributes:{class:["ck",r(259),r(256),o.if(r(293),r(269))]},children:[{tag:r(271),attributes:{class:["ck",r(259),r(270),o.if(r(281),r(262),(t=>!t)),o.if(r(275),r(239)),o.if(r(242),r(296)),o.if(r(253),r(285))]},children:[this[r(294)],{tag:r(272),attributes:{class:["ck",r(276)]},children:[{text:o.to(r(278))}]},{tag:r(271),attributes:{class:["ck",r(295)]},children:[{tag:"ul",attributes:{class:["ck",r(238)]},children:a}]},this[r(248)]],on:{click:o.to((t=>{const e=r;t[e(245)][e(266)](e(258))||this[e(260)]&&this[e(281)]&&this[e(261)](e(289),{id:this.id})}))}}]})}[ze(252)](){const t=ze;super[t(252)]();const e=this[t(294)][t(254)][t(277)];this[t(265)](e,t(300),(()=>{const i=t;this[i(297)]&&!e[i(286)]||this[i(261)](i(246),{id:this.id,name:e[i(286)]}),e[i(286)]||(e[i(286)]=this[i(250)]?this[i(250)]:this[i(278)])}))}[ze(289)](){this[ze(275)]=!0}[ze(280)](){this[ze(275)]=!1}[ze(267)](){this[ze(242)]=!0}[ze(264)](){this[ze(242)]=!1}}class Ze extends Error{}class $e extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Ti extends Ii{static get instance(){return null===Si&&(Si=new Ti),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ai extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ai(t)),Ni[t]}static resetCache(){Ni={},Oi={}}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=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[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"})),Oi[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 Ri={};let Ei={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.DateTimeFormat(t,e),Ei[i]=s),s}let Vi={};let Di={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Es(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ai.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ts()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ui={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Ci=null,Ei={},Vi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return ji(this,t,Xs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return ji(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[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:Os()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Ui}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class $i extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function qi(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ti.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new $i(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return qi(ts,Ti.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=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Wi.resetCache(),Ai.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Us(c,e,i)):u>Us(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(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=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(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 Ts(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){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 As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Es(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Us(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Ws(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function $s(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=$s(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Es(i,2)}:${Es(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Es(i,2)}${Es(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Es(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function Tn(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function On(t,e){return[{hours:Tn(t,e,0),minutes:Tn(t,e+1,0),seconds:Tn(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function En(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Ms(e)):Ms(e),month:Gs.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Vn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Zi.utcInstance]}const Un=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Wn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),$n=mn((function(t,e){return[{year:Tn(t,e),month:Tn(t,e+1,1),day:Tn(t,e+2,1)},null,e+3]}),On,xn,Nn),qn=mn(wn,On,xn,Nn),Bn=mn(_n,On,xn,Nn),Yn=mn(On,xn,Nn);const Jn=mn(On);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(On,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:qs(t,lr.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,En])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[An,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=$s(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...qs(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return qi(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ts(),localeWeek:Os()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Tr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Ar(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=Or(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Ws);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ai.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Ar(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Tr||(Tr=io.fromMillis(1555555555555)),Tr)),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 Rr="Invalid DateTime",Er=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function jr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Ur(t,e,i=!0){return t.isValid?hn.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Es(t.c.year,i?6:4),e?(s+="-",s+=Es(t.c.month),s+="-",s+=Es(t.c.day)):(s+=Es(t.c.month),s+=Es(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Es(t.c.hour);return e?(o+=":",o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Es(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Es(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Es(Math.trunc(-t.o/60)),o+=":",o+=Es(Math.trunc(-t.o%60))):(o+="+",o+=Es(Math.trunc(t.o/60)),o+=":",o+=Es(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},$r={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=qi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Wi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=qi(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Wi.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Er||t>Er?io.invalid("Timestamp out of range"):new io({ts:t,zone:qi(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:qi(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Wi.fromObject(e),n=qs(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=$r,g=ps(g,r,o)):u?(p=Jr,v=qr,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Us(t.weekYear,e,i)),r=Rs(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=Rs(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Un,$n],[Wn,qn],[Hn,Bn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,$n],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(hn.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Us(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Us(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Lr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=qs(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(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):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return Ur(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Ur(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ur(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Ur(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=196]})(t,e)}function ro(){const t=["277530EWjQKu","day","monthLong","973902TULRQa","toRelativeCalendar","254220DoTrdi","8924gslEYK","141xsKNOK","hasSame","minus","month","toJSDate","setLocale","week","startOf","fromJSDate","weekdayLong","347172YMQXdY","10093446KYJypt","year","41696CKDxTx","local","350fAutEg"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(212)](t)[i(209)](e),n=io[i(218)](),r=n[i(206)]({days:1})[i(211)](i(198));let o,a;return s[i(205)](n,i(198))?(o=s[i(211)](i(198))[i(208)](),a=s[i(201)]()):s[i(205)](r,i(198))?(o=r[i(208)](),a=s[i(201)]()):s[i(205)](n,i(210))?(o=s[i(211)](i(210))[i(208)](),a=s[i(213)]||""):s[i(205)](n,i(216))?(o=s[i(211)](i(207))[i(208)](),a=s[i(199)]||""):(o=s[i(211)](i(216))[i(208)](),a=String(s[i(216)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(175384===-parseInt(e(197))/1+parseInt(e(203))/2*(-parseInt(e(204))/3)+-parseInt(e(214))/4+parseInt(e(202))/5+-parseInt(e(200))/6+-parseInt(e(196))/7*(parseInt(e(217))/8)+parseInt(e(215))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Tt();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["2878378zLERtL","setTemplate","localizedPeriodName","ck-revision-history-sidebar__time-period__label","241554lpEOsH","5463388YNBOFi","revisionViews","85MZlnKP","4808vTTKuy","select","21807uErdlC","add","_requireRevisionName","delegate","ck-revision-history-sidebar__time-period","25844470ShLsQD","uiLanguage","_revisionActions","addRevision","removeRevision","locale","remove","8TMJhMN","685644kaTRLu","span","createCollection","startDate","find","ck-revision-history-sidebar__time-period__revisions","div","setName","828334VUQbJK"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=112]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(782684===-parseInt(e(126))/1+-parseInt(e(127))/2+-parseInt(e(118))/3*(-parseInt(e(117))/4)+-parseInt(e(134))/5*(-parseInt(e(131))/6)+parseInt(e(132))/7+-parseInt(e(135))/8*(parseInt(e(137))/9)+parseInt(e(142))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(121)];[uo(133)];[uo(112)];[uo(139)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(115)][n(143)])[n(129)];this[n(121)]=e,this[n(133)]=this[n(120)](),this[n(112)]=i,this[n(139)]=s,this[n(133)][n(140)](n(136)).to(this),this[n(133)][n(140)](n(125)).to(this),this[n(128)]({tag:n(124),attributes:{class:["ck",n(141)]},children:[{tag:n(119),attributes:{class:["ck",n(130)]},children:[{text:r}]},{tag:n(124),attributes:{class:["ck",n(123)]},children:this[n(133)]}]})}[uo(113)](t){const e=uo,i=new He(this[e(115)],t,this[e(112)],this[e(139)]);this[e(133)][e(138)](i)}[uo(114)](t){const e=uo,i=this[e(133)][e(122)]((e=>e.id===t.id));this[e(133)][e(116)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Tt();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["2484QodQoA","9Llqlre","content","33yErcoC","1952699EFVuPc","15480468TaCEif","span","div","ck-reset_all","7aGWuqs","setTemplate","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","3931616rnnDve","6jpWHST","6332JOdfmU","7699610EvDUCJ","Revision history","3582515NFXKgA","14206ErUGXz"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=485]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(810713===-parseInt(e(498))/1*(parseInt(e(488))/2)+-parseInt(e(489))/3*(parseInt(e(504))/4)+-parseInt(e(487))/5*(parseInt(e(503))/6)+parseInt(e(493))/7+-parseInt(e(502))/8*(parseInt(e(490))/9)+-parseInt(e(485))/10+-parseInt(e(492))/11*(-parseInt(e(494))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(491)]=mt.IconHistory,this[e(499)]({tag:e(496),attributes:{class:["ck",e(497),e(501)]},children:[i,{tag:e(495),attributes:{class:["ck",e(500)]},children:[Q(t,e(486))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Tt();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=449]})(t,e)}const _o=wo;function Io(){const t=["selectRevision","some","startDate","addRevision","2550820tCGuYc","revisionViews","delegate","bindTemplate","_revisions","set","revisionSetName","3585631LNCozi","createCollection","highlight","getTime","3544NVrVWa","get","find","40TGtDCT","_getTimePeriodViewByStartDate","11259hECdKh","select","ck-revision-history-sidebar__timeline","setTemplate","5922960KfdmBR","deselect","ck-revision-history-sidebar","ck-reset","_requireRevisionName","1IRsEjd","remove","1748248fIUhTa","add","removeRevision","ck-rounded-corners","revisionSelected","unhighlight","map","ck-disabled","setName","timePeriodViews","5TFCvsr","3232842RauqSO","fire","div","_addRevision","_revisionActions","locale","createdAt","render","isEnabled","uiLanguage","99528XaSpGa","highlightRevisions","_removeRevision","flat"];return(Io=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(558713===parseInt(e(468))/1*(-parseInt(e(470))/2)+parseInt(e(481))/3+parseInt(e(499))/4*(-parseInt(e(480))/5)+parseInt(e(463))/6+-parseInt(e(450))/7+-parseInt(e(454))/8*(-parseInt(e(459))/9)+-parseInt(e(457))/10*(parseInt(e(491))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[_o(479)];[_o(503)];[_o(485)];[_o(467)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(502)];this[n(479)]=this[n(451)](),this[n(479)][n(501)](n(460)).to(this),this[n(479)][n(501)](n(478)).to(this),this[n(503)]=e,this[n(485)]=i,this[n(467)]=s,this.on(n(460),((t,e)=>{const i=n;this[i(482)](i(474),e)})),this.on(n(478),((t,e)=>{const i=n;this[i(482)](i(449),e)})),this[n(504)](n(489),!1),this[n(462)]({tag:n(483),attributes:{class:["ck",n(466),n(473),n(465)]},children:[new yo(t),{tag:n(483),attributes:{class:["ck",n(461),r.if(n(489),n(477),(t=>!t))]},children:this[n(479)]}]})}[_o(488)](){const t=_o;super[t(488)]();for(const e of this[t(503)])this[t(484)](e);this[t(503)].on(t(471),((e,i)=>{this[t(484)](i)})),this[t(503)].on(t(469),((e,i)=>{this[t(493)](i)}))}get[_o(500)](){const t=_o;return this[t(479)][t(476)]((e=>e[t(500)][t(476)]((t=>t))))[t(494)]()}[_o(495)](t){const e=_o;for(const i of this[e(500)])t&&t.id===i.id?i[e(460)]():i[e(464)]()}[_o(492)](t){const e=_o;for(const i of this[e(500)])t[e(496)]((({id:t})=>t===i.id))?i[e(452)]():i[e(475)]()}[_o(484)](t){const e=_o,i=oo(t[e(487)],this[e(486)][e(490)])[e(497)];let s=this[e(479)][e(455)](0);s&&s[e(497)][e(453)]()===i[e(453)]()||(s=new fo(this[e(486)],i,this[e(485)],this[e(467)]),this[e(479)][e(471)](s)),s[e(498)](t)}[_o(493)](t){const e=_o,i=oo(t[e(487)],this[e(486)][e(490)])[e(497)];this[e(458)](i)[e(472)](t)}[_o(458)](t){const e=_o;return this[e(479)][e(456)]((i=>i[e(497)][e(453)]()===t[e(453)]()))}}const To=Oo;function Oo(t,e){const i=xo();return(Oo=function(t,e){return i[t-=333]})(t,e)}function xo(){const t=["add","revisionHistory.requireRevisionName","availableRevisionActions","defaultRevisionActions","restoreRevision","isSelected","destroy","304Nxfqzv","getEarlierVisibleRevision","145WkGwgi","39690nGbAWq","render","RevisionsSidebar","revisionViews","compareAgainstSelected","fieldView","data","89976pXoJLF","pluginName","isOfficialPlugin","isVisible","remove","locale","diff","compare","setName","nameRevision","isReady","newRevisionId","14390UZUSVD","highlightRevisions","Name this revision","_revisions","2gmznQd","bind","_handleRevisionSelected","assign","isPremiumPlugin","ready","element","13156uyrzJY","focus","revisionSetName","revisionSelected","_handleDiffChange","select","requires","_handleRevisionSetName","_revisionsRepository","revisionHistory.revisionActions","Compare against selected","selectRevision","plugins","init","repository","change:diff","restoreRevisionCallback","revisionHistory.viewerSidebarContainer","getRevision","get","getRevisionsInDiff","config","editor","length","map","action","_handleEditorDataReady","891669pQinAQ","string","name","_sidebarView","appendChild","revisionHistory","3534696rYWykJ","timePeriodViews","827595MfxeXP","getLaterVisibleRevision","listenTo","Restore this revision","_revisionViewer","getIndex","_createRevisionActions","isEnabled","205384ExEwZR"];return(xo=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(462232===-parseInt(e(396))/1+parseInt(e(346))/2*(-parseInt(e(380))/3)+-parseInt(e(386))/4+-parseInt(e(406))/5*(-parseInt(e(414))/6)+parseInt(e(407))/7*(-parseInt(e(404))/8)+-parseInt(e(388))/9+parseInt(e(342))/10*(parseInt(e(353))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends W.Plugin{[To(392)];[To(361)];[To(383)];static[To(400)]=[To(411),To(401),To(339)];static[To(399)]=function(){const t=To;return{compareAgainstSelected:{name:t(363),action:({plugins:e},i)=>{const s=t,n=e[s(372)](ee),r=n[s(367)];let o=n[s(336)][s(341)],a=i.id;r[s(393)](o)>r[s(393)](a)&&([o,a]=[a,o]),n[s(337)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(372)](ee);return!(n[s(367)][s(373)](n[s(336)])[s(376)]>2||i[s(402)])}},restoreRevision:{name:t(391),action:(e,{id:i})=>{const s=t;e[s(374)][s(372)](s(385))[s(369)](i)},isVisible:({plugins:e},i)=>!!e[t(372)](ee)[t(367)][t(389)](i.id)},nameRevision:{name:t(344),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(372)](ee),o=r[n(367)][n(405)](i);r[n(337)](i,o),s[n(354)](),s[n(412)][n(358)]()}}}}();static get[To(415)](){return To(409)}static get[To(416)](){return!0}static get[To(350)](){return!0}static get[To(359)](){return[ee]}constructor(t){const e=To;super(t),this[e(392)]=t[e(365)][e(372)](ee),this[e(361)]=this[e(392)][e(367)],this[e(383)]=null}[To(366)](){const t=To,e=this[t(361)][t(345)],i=this[t(394)](),s=this[t(375)][t(374)][t(372)](t(370));this[t(383)]=new So(this[t(375)][t(335)],e,i,this[t(375)][t(374)][t(372)](t(398))),this[t(383)].on(t(356),this[t(348)][t(347)](this)),this[t(383)].on(t(355),this[t(360)][t(347)](this)),this[t(383)][t(347)](t(395)).to(this[t(392)]),this[t(383)][t(387)].on(t(397),((e,i)=>{const s=t;i[s(410)].on(s(397),((t,e)=>{const i=s;e[i(347)](i(395),i(340)).to(this[i(392)])}))})),this[t(383)][t(408)](),this[t(390)](this[t(375)][t(413)],t(351),this[t(379)][t(347)](this)),this[t(390)](this[t(392)],t(368),this[t(357)][t(347)](this)),s[t(384)](this[t(383)][t(352)])}[To(403)](){const t=To;this[t(383)][t(352)][t(334)](),this[t(383)][t(403)]()}[To(379)](){const t=To,e=this[t(361)][t(371)](0);if(e){const i=this[t(361)][t(405)](e.id);this[t(392)][t(337)](e,i)}}[To(348)](t,e){const i=To,s=this[i(361)][i(371)](e.id),n=this[i(361)][i(405)](s.id);this[i(392)][i(337)](s,n)}[To(360)](t,e){const i=To;this[i(361)][i(371)](e.id)[i(338)](e[i(382)])}[To(357)](t,e,i){const s=To,n=this[s(361)][s(373)](i);n[s(376)]>2?(this[s(383)][s(343)](n),this[s(383)][s(364)](null)):(this[s(383)][s(343)]([]),this[s(383)][s(364)](n[0]))}[To(394)](){const t=To,e=this[t(375)],i=No[t(399)],s=e[t(374)][t(372)](t(362))||No[t(400)];if(s[t(376)])return s[t(377)]((s=>{const n=t,r=n(381)==typeof s?Object[n(349)]({},i[s]):s;return r[n(378)]=r[n(378)][n(347)](this,e),r[n(333)]&&(r[n(333)]=r[n(333)][n(347)](this,e)),r}))}}const Ao=No,Ro=Eo;function Eo(t,e){const i=Mo();return(Eo=function(t,e){return i[t-=162]})(t,e)}function Mo(){const t=["viewportOffset","42602NbtAOS","stickyPanel","attachDomRoot","995526hCRedq","_elementReplacer","isFocused","isActive","40pucOja","get","viewportTopOffset","name","editor","getRoot","setEditableElement","2893392qEZWKp","focusTracker","detachDomRoot","bind","fillFromConfig","_initToolbar","_view","468UMtHIx","fire","274hMAwgs","1062625nSSbaq","render","element","destroy","ready","rootName","_toolbarConfig","3640960hnZqvf","limiterElement","view","componentFactory","toolbar","init","editing","10821sKzgnB","9100880wthmkI","editable","config","document","replace","restore","addToolbar"];return(Mo=function(){return t})()}!function(t){const e=Eo,i=t();for(;;)try{if(596552===-parseInt(e(174))/1+-parseInt(e(173))/2*(-parseInt(e(188))/3)+parseInt(e(164))/4+-parseInt(e(181))/5+-parseInt(e(171))/6*(-parseInt(e(197))/7)+parseInt(e(189))/8+-parseInt(e(200))/9*(parseInt(e(204))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Vo extends pt.EditorUI{[Ro(170)];[Ro(180)];[Ro(201)];get[Ro(183)](){return this[Ro(170)]}constructor(e,i){const s=Ro;super(e),this[s(170)]=i,this[s(180)]=(0,pt.normalizeToolbarConfig)(e[s(191)][s(205)](s(185))),this[s(201)]=new t.ElementReplacer}get[Ro(176)](){const t=Ro;return this[t(183)][t(176)]}[Ro(186)](t){const e=Ro,i=this[e(208)],s=this[e(183)],n=i[e(187)][e(183)],r=s[e(190)],o=n[e(192)][e(162)]();r[e(207)]=o[e(179)],s[e(175)]();const a=r[e(176)];this[e(163)](r[e(207)],a),s[e(190)][e(167)](e(202)).to(this[e(165)]),n[e(199)](a),this[e(201)][e(193)](t,this[e(176)]),this[e(169)](),this[e(172)](e(178))}[Ro(177)](){const t=Ro;super[t(177)]();const e=this[t(183)],i=this[t(208)][t(187)][t(183)];this[t(201)][t(194)](),i[t(166)](e[t(190)][t(207)]),e[t(177)]()}[Ro(169)](){const t=Ro,e=this[t(183)];e[t(198)][t(167)](t(203)).to(this[t(165)],t(202)),e[t(198)][t(182)]=e[t(176)],e[t(198)][t(167)](t(206)).to(this,t(196),(({top:t})=>t)),e[t(185)][t(168)](this[t(180)],this[t(184)]),this[t(195)](e[t(185)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Tt();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=jo;function jo(t,e){var i=Lo();return(jo=function(t,e){return i[t-=336]})(t,e)}function Lo(){var t=["top","3oNctvU","main","stickyPanel","12426864rmLFpS","4793992RDAVSH","8411160YPYftU","9AEXwzE","8760YLtWPC","1376216fjyKsR","add","3920gVPagI","2948486oYwZft","toolbar","editable","render","22696270JxaUYt","shouldToolbarGroupWhenFull","content","_editable"];return(Lo=function(){return t})()}!function(t){for(var e=jo,i=t();;)try{if(952108===parseInt(e(343))/1+-parseInt(e(346))/2*(parseInt(e(355))/3)+parseInt(e(339))/4+-parseInt(e(340))/5+parseInt(e(342))/6*(parseInt(e(345))/7)+-parseInt(e(338))/8+-parseInt(e(341))/9*(-parseInt(e(350))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[Fo(353)];[Fo(337)];[Fo(347)];get[Fo(348)](){return this[Fo(353)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(337)]=new pt.StickyPanelView(t),this[s(347)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(351)]}),this[s(353)]=new pt.InlineEditableUIView(t,e)}[Fo(349)](){var t=Fo;super[t(349)](),this[t(337)][t(352)][t(344)](this[t(347)]),this[t(354)][t(344)](this[t(337)]),this[t(336)][t(344)](this[t(348)])}}const zo=Wo;function Uo(){const t=["create","view","391835ogVoMy","get","426808zQBvVS","updateSourceElement","init","10945818UKOSGG","4191891REVhyK","18YIKgBW","initialData","initPlugins","model","fire","locale","9bATbAK","config","data","document","60PEASOz","_ui","createRoot","7RxknTy","3480536kLUxRK","2563120rzGyIj","sourceElement","ready","editing","destroy","154152GunsQg"];return(Uo=function(){return t})()}function Wo(t,e){const i=Uo();return(Wo=function(t,e){return i[t-=379]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(853062===-parseInt(e(405))/1+parseInt(e(400))/2*(-parseInt(e(386))/3)+parseInt(e(395))/4+-parseInt(e(403))/5*(-parseInt(e(380))/6)+-parseInt(e(393))/7*(parseInt(e(394))/8)+-parseInt(e(408))/9+parseInt(e(390))/10*(parseInt(e(379))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends((0,W.ElementApiMixin)(W.Editor)){[zo(391)];get ui(){return this[zo(391)]}constructor(t,e){const i=zo;super(e),this[i(396)]=t,this[i(383)][i(389)][i(392)]();const s=new Po(this[i(385)],this[i(398)][i(402)],{shouldToolbarGroupWhenFull:!0});this[i(391)]=new Vo(this,s)}[zo(399)](){const t=zo;return this[t(406)](),this.ui[t(399)](),super[t(399)]()}static async[zo(401)](t,e){const i=zo,s=new this(t,e);return await s[i(382)](),await s.ui[i(407)](t),await s[i(388)][i(407)](s[i(387)][i(404)](i(381))||""),s[i(384)](i(397)),s}}const Zo=$o;function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=299]})(t,e)}function qo(){const t=["Autosave","set","requires","isReadOnly","_closeRevisionViewer","change","restrictedEditingException","config","catch","restoreRevision","getRevisionRootsAttributes","model","toVersion","insert","revisionHistory.restoreRevisionCallback","getRoot","pluginName","hide","toLocaleDateString","2PjqxJb","RevisionsRepository","getAttributeKeys","getRevision","indexOf","$graveyard","4514920blqHXY","roots","disableReadOnlyMode","createRangeIn","exitToEditing","result","view","Users","display","_showRevisionViewer","addRevisionData","RevisionViewerIntegration","numeric","bind","editor","isOfficialPlugin","_restoreRevision","creator","RevisionHistory","locale","destroy","document","parse","refreshPositioning","showRevisionViewerCallback","translations","Annotations","_getRevisionViewerEditorConfig","rootName","isPremiumPlugin","Restored","style","_cleanUp","adapter","DocumentOutlineUI","toJSON","revisionHistory.closeRevisionViewerCallback","addRoot","closeRevisionViewerCallback","_enhanceShowRevisionViewerCallback","keys","join","3073443uuTtwm","from","RevisionHistoryUI","saveRevision","Dialog","_update","get","getRevisionDocumentData","changesNavigation","revisionHistory.editorContainer","setSelection","2078236cmwmPu","isRevisionViewerOpen","getMarkersGroup","save","revisionHistory.showRevisionViewerCallback","revisionHistory.requireRevisionName","push","none","RestrictedEditingMode","setAttribute","markers","getRevisions","uiLanguage","loadRevisionData","fromVersion","revisionHistory.viewerEditorElement","end","element","isReady","fromCharCode","1117653rGYOxz","users","removeAttribute","define","2299452lKuZPI","4463992rRGpjI","commands","detachRoot","remove","create","revision-history-viewer-opened","isAnonymous","init","revision-history-missing-configuration","includes","then","plugins","removeMarker","lazyRoots","9AAnVyP","name","RevisionHistoryUtils","RevisionTracker","PaginationLookup","createdAt","addUser","toolbar","_enhanceCloseRevisionViewerCallback","isOpen","getUser","toLocaleTimeString","repository","map","update","selection","isAttached","_viewerEditor","RevisionViewer","DocumentOutline","isEnabled","block","data","refreshVisibility","5BXJAdM","has","_recalculatePageBreaks","removeSelectionAttribute","9266257OoZhFn","error","revisionHistory","revisionHistory.viewerContainer","enqueueChange","long","enableReadOnlyMode"];return(qo=function(){return t})()}!function(t){const e=$o,i=t();for(;;)try{if(848193===parseInt(e(338))/1+-parseInt(e(411))/2*(-parseInt(e(307))/3)+parseInt(e(318))/4*(parseInt(e(381))/5)+-parseInt(e(342))/6+-parseInt(e(385))/7+-parseInt(e(343))/8+-parseInt(e(357))/9*(-parseInt(e(417))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Zo(309),Zo(326)];class Yo extends W.Plugin{[Zo(422)];static get[Zo(408)](){return Zo(428)}static get[Zo(432)](){return!0}static get[Zo(446)](){return!0}constructor(t){const e=Zo;function i(t){const e=$o;return t[e(370)]((t=>String[e(337)](t)))[e(306)]("")}super(t),this[e(422)]=e(334),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends W.Plugin{[Zo(374)];static get[Zo(408)](){return Zo(435)}static get[Zo(432)](){return!0}static get[Zo(446)](){return!0}static get[Zo(394)](){return[ct,jt]}constructor(e){const i=Zo;if(super(e),!this[i(431)][i(399)][i(313)](i(387)))throw new t.CKEditorError(i(351),this);this[i(374)]=null,this[i(393)](i(319),!1),this[i(431)][i(399)][i(341)](i(322),(t=>this[i(426)]({...t,translations:this[i(431)][i(436)][i(442)]}))),this[i(431)][i(399)][i(341)](i(301),(t=>this[i(396)](t))),this[i(431)][i(399)][i(341)](i(406),(t=>this[i(433)](t))),this[i(431)][i(399)][i(341)](i(323),!1),this[i(304)](),this[i(365)]()}set[Zo(450)](t){const e=Zo;this[e(431)][e(354)][e(313)](e(360))[e(450)]=t}get[Zo(450)](){const t=Zo;return this[t(431)][t(354)][t(313)](t(360))[t(450)]}[Zo(427)](t){const e=Zo;return this[e(431)][e(354)][e(313)](e(360))[e(427)](t)}[Zo(414)](t){const e=Zo;return this[e(431)][e(354)][e(313)](e(412))[e(414)](t)}[Zo(329)](t){const e=Zo;return this[e(431)][e(354)][e(313)](e(412))[e(329)](t||{toJSON:!1})}[Zo(444)](){const e=Zo,i=this[e(431)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(354)][e(313)](e(360)),r=i[e(354)][e(313)](e(424))[e(339)];return s[e(364)]=[e(421),e(401),e(315)],delete s[e(356)],s[e(354)][e(324)](Yo,ee,be,class extends W.Plugin{static get[e(394)](){return[ee,e(424)]}[e(350)](){const s=e,o=this[s(431)][s(354)][s(313)](s(424));for(const t of r)t[s(349)]||o[s(367)](t.id)||o[s(363)](t);const a=n[s(369)][s(329)]();let c=null;const u=this[s(431)][s(354)][s(313)](s(375));u[s(450)]=n[s(450)],u[s(430)](s(377)).to(n),this[s(431)][s(344)][s(313)](s(401))[s(430)](s(377)).to(i,s(395),(t=>!t));for(const e of a){const i=null===e[s(434)];if(i&&e[s(404)]===e[s(332)])continue;const r=e[s(300)]();u[s(427)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(312)](r,o);else if(!o){const e=a[u(300)]();e.id=(0,t.uid)(),n[u(310)](e,a[u(404)])[u(353)]((t=>{c=t}))}}else e[u(312)](r,o)}))}}},Ao),s}[Zo(304)](){const t=Zo,e=this[t(431)][t(399)][t(313)](t(387))[t(441)];this[t(431)][t(399)][t(393)](t(322),(async()=>{const i=t;this[i(431)][i(391)](i(348));const s=this[i(431)][i(354)][i(313)](i(360));if(this[i(431)][i(354)][i(382)](i(392))){const t=this[i(431)][i(354)][i(313)](i(392));await t[i(321)]()}else await s[i(371)]();if(this[i(431)][i(354)][i(382)](i(361))&&this[i(431)][i(354)][i(313)](i(361))[i(383)](),this[i(431)][i(354)][i(382)](i(311))){const t=this[i(431)][i(354)][i(313)](i(311));t[i(366)]&&t[i(409)]()}const n=this[i(444)]();return e(n)[i(353)]((t=>{const e=i;return this[e(374)]=t,this[e(431)][e(354)][e(382)](e(443))&&this[e(431)][e(354)][e(313)](e(443))[e(380)](),this[e(431)][e(354)][e(382)](e(376))&&(this[e(431)][e(354)][e(313)](e(299))[e(423)][e(335)][e(448)][e(425)]=e(325)),t}))[i(400)]((t=>(console[i(386)](t),this[i(431)][i(419)](i(348)),null)))}))}[Zo(365)](){const t=Zo,e=this[t(431)][t(399)][t(313)](t(387))[t(303)];this[t(431)][t(399)][t(393)](t(301),(()=>(this[t(431)][t(354)][t(382)](t(361))&&this[t(431)][t(354)][t(313)](t(361))[t(383)](),this[t(431)][t(354)][t(382)](t(376))&&(this[t(431)][t(354)][t(313)](t(299))[t(423)][t(335)][t(448)][t(425)]=""),this[t(374)][t(354)][t(313)](t(375))[t(449)](),e(this[t(374)])[t(353)]((()=>{const e=t;if(this[e(431)][e(419)](e(348)),this[e(374)]=null,this[e(431)][e(354)][e(382)](e(443))){const t=this[e(431)][e(354)][e(313)](e(443));t[e(380)](),t[e(440)]()}})))))}[Zo(426)](t){const e=Zo,i=this[e(431)][e(399)][e(313)](e(316)),s=this[e(431)][e(399)][e(313)](e(388)),n=this[e(431)][e(399)][e(313)](e(333));return Ho[e(347)](n,t)[e(353)]((t=>(s[e(448)][e(425)]=e(378),i[e(448)][e(425)]=e(325),this[e(319)]=!0,t)))}[Zo(396)](t){const e=Zo,i=this[e(431)][e(399)][e(313)](e(316));return this[e(431)][e(399)][e(313)](e(388))[e(448)][e(425)]=e(325),i[e(448)][e(425)]="",this[e(319)]=!1,t[e(437)]()}async[Zo(433)](t){const e=Zo,i=this[e(431)],s=this[e(374)][e(354)][e(313)](e(375)),n=i[e(354)][e(313)](e(360)),r=i[e(354)][e(313)](e(359)),o=s[e(369)][e(414)](t);let a,c,u;try{await r[e(331)](o,this[e(450)]),a=r[e(314)](o),c=r[e(402)](o)}catch(t){return void console[e(386)](t)}i[e(403)][e(397)]((t=>{const s=e;for(const e of Array[s(308)](i[s(403)][s(328)][s(320)](s(398))))t[s(355)](e)})),s[e(336)]=!1,i[e(403)][e(389)]((t=>{const s=e;t[s(317)](null),t[s(384)](i[s(403)][s(438)][s(372)][s(413)]());const n=Object[s(305)](a);for(const e of i[s(403)][s(438)][s(418)])s(416)!=e[s(445)]&&e[s(373)]()&&!n[s(352)](e[s(445)])&&t[s(345)](e);for(const e of n){let n=i[s(403)][s(438)][s(407)](e);n&&n[s(373)]()||(n=t[s(302)](e));const r=c[e],o=Object[s(305)](r),u=a[e];for(const e of n[s(413)]())o[s(352)](e)||t[s(340)](e,n);for(const i of o)t[s(327)](i,c[e][i],n);t[s(346)](t[s(420)](n)),t[s(405)](i[s(379)][s(439)](u,n),n,0)}}));const l=Q(i[e(436)],e(447));return u=o[e(358)]?-1==o[e(358)][e(415)](l)?l+": "+o[e(358)]:o[e(358)]:l+": "+o[e(362)][e(410)](i[e(436)][e(330)],{month:e(390),day:e(429)})+", "+o[e(362)][e(368)](i[e(436)][e(330)],{hour:e(429),minute:e(429)}),await n[e(310)]({name:u}),s[e(336)]=!0,i[e(399)][e(313)](e(387))[e(303)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=482]})(t,e)}function Ko(){var t=["104204CfTHfn","10fDfBdA","4320531FGWjzE","38YjSWfW","1795MfOdKK","1267592XPUJsQ","49hbWVUZ","5UTAlAm","15294455rHzvmf","29924844CpnjZI","6256158ucTaer","183VHTkOR"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(865283===parseInt(e(487))/1*(-parseInt(e(486))/2)+-parseInt(e(482))/3*(-parseInt(e(483))/4)+parseInt(e(490))/5*(parseInt(e(493))/6)+parseInt(e(489))/7*(-parseInt(e(488))/8)+parseInt(e(485))/9*(parseInt(e(484))/10)+parseInt(e(491))/11+-parseInt(e(492))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|