@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250616.0 → 0.0.0-nightly-20250617.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- 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.d.ts +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.d.ts +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 +2 -2
- 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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=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(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)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]);n&&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),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.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 s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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:0s;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,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.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=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](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 n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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 n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>ce,Revision:()=>Y,RevisionHistory:()=>na,RevisionHistoryUI:()=>Zt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>mt,RevisionViewer:()=>oe,RevisionViewerEditor:()=>Ko,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>xe,RevisionsRepository:()=>et,RevisionsSidebar:()=>Fo,ShowChangeCommand:()=>ue});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function s(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,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,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);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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 n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(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 n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,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,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,n,s,r)=>{const l=e?.(i,n,s,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)}function M(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&M(n,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function F(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function P(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function z(t,e,i){return function(t,e,i,n){if(null==t&&!P(t))return t;const s=F(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let t=0;t<s.length&&null!=r;t++){const e=L(s[t]);let o;if(t===s.length-1)o=i(r[e]);else{const i=r[e],a=n(i);o=void 0!==a?a:P(i)?i:V(s[t+1])?[]:{}}D(r,e,o),r=r[e]}return t}(t,e,(()=>i),(()=>{}))}function U(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const n=t[e];return void 0===n?U(e)?H(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);const n=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===n?i:n}}}function Z(t,e){const i=H(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;try{return delete i[n],!0}catch{return!1}}const $=q;function q(t,e){const i=B();return(q=function(t,e){return i[t-=313]})(t,e)}function B(){const t=["152UNyatg","toJSON","3429iAPhby","10156cZnJrb","createdAt","404xiCkIe","_update","1068897mnQOZU","fromVersion","toVersion","model","7UcsMbJ","955LvjxRA","8384940VnSlHL","authorsIds","setAttribute","6864408lsOkIO","1125310TZwFJu","fire","creator","creatorId","attributes","376344DqkpEe","removeAttribute","authors","name","setName","set","99GQKHhl","diffData","map"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(580110===parseInt(e(333))/1+parseInt(e(331))/2*(-parseInt(e(328))/3)+parseInt(e(329))/4*(-parseInt(e(338))/5)+-parseInt(e(342))/6*(-parseInt(e(337))/7)+parseInt(e(326))/8*(parseInt(e(317))/9)+parseInt(e(343))/10*(-parseInt(e(323))/11)+-parseInt(e(339))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends((0,t.ObservableMixin)()){id;[$(314)];[$(319)];[$(324)];[$(335)];[$(334)];[$(336)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(314)]=e[i(314)]||null,this[i(319)]=e[i(319)]||[],this[i(324)]=e[i(324)]||null,this[i(335)]=e[i(335)]||0,this[i(334)]=e[i(334)]||0,this[i(322)](i(320),e[i(320)]||""),this[i(322)](i(330),e[i(330)]||new Date),this[i(322)](i(316),e[i(316)]||{})}[$(321)](t){this[$(332)]({name:t})}[$(341)](t,e){const i=$,n=R(this[i(316)]);z(n,t,e),this[i(332)]({attributes:n})}[$(318)](t){const e=$,i=R(this[e(316)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return Z(t,e);if("number"==typeof e?e=L(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]&&U(e))return Z(t,W(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(332)]({attributes:i})}[$(332)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(320),i(330),i(324),i(319),i(316),i(335),i(334),i(315)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(319)]&&(s[i(340)]=s[i(319)][i(325)]((t=>t.id)),delete s[i(319)]),this[i(313)](i(332),s,e))}[$(327)](){const t=$;return{id:this.id,name:this[t(320)],creatorId:this[t(314)]?this[t(314)].id:null,authorsIds:this[t(319)][t(325)]((t=>t.id)),diffData:this[t(324)],createdAt:this[t(330)],attributes:this[t(316)],fromVersion:this[t(334)],toVersion:this[t(335)]}}}var J=i(782),G=i(211),K=i(783);const Q=X;function X(t,e){const i=tt();return(X=function(t,e){return i[t-=287]})(t,e)}function tt(){const t=["length","afterInit","later","getIndex","isOfficialPlugin","newRevisionId","diffData","editor","getUser","toVersion","createRevision","getLaterVisibleRevision","Users","reverse","from","attributes","fromVersion","join","creatorId","_revisions","oldRevisionId","plugins","data","isPremiumPlugin","238UVoRpl","getRevision","81784nTnhtG","getRevisions","toJSON","get","1451705FvjIne","getRevisionsInDiff","href","25397586cqKewH","earlier","map","getEarlierVisibleRevision","777438AZhBBg","push","pluginName","createdAt","requires","isNaN","getRevisionsIterator","RevisionsRepository","name","fromCharCode","25557KmSEyr","authorsIds","addRevision","907216OrNsHw","1964215AZljbR","302InyXmE","add"];return(tt=function(){return t})()}!function(t){const e=X,i=t();for(;;)try{if(753776===parseInt(e(320))/1+parseInt(e(288))/2*(parseInt(e(337))/3)+parseInt(e(340))/4+parseInt(e(287))/5+-parseInt(e(327))/6+-parseInt(e(314))/7*(-parseInt(e(316))/8)+-parseInt(e(323))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class et extends J.Plugin{[Q(309)];static get[Q(331)](){return[G.Users]}static get[Q(329)](){return Q(334)}static get[Q(294)](){return!0}static get[Q(313)](){return!0}get[Q(290)](){const t=Q;return this[t(309)][t(290)]}constructor(e){const i=Q;super(e),this[i(309)]=new t.Collection}[Q(291)](){!async function(e){const i=k([110,114,109,50,65,118,79,68,82,101,69,48,73,77,104,55,54,81,78,120,51,89,53,84,111,67,108,98,70,86,103,52,71,102,106,87,112,80,115,66,117,57,85,97,121,105,116,100,107,75,119,83,49,74,122,76,90,99,88,72,56,113]),n=964649,s=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 n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),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=X;for(const e in window)if(window[k([78,117,109,98,101,114])][i(332)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)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([110]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}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 n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,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,n])=>{i(e),t(n)})):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=X;return t[e(325)]((t=>String[e(336)](t)))[e(307)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),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])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[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,n=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),n={...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 n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(n())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(s-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 n=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])](s/n)));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)*n: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 n(){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 n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),(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,s,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])])?s/1e3:1750032e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=X,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:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(322)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([102,105,108,116,101,114])]((t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])]))[k([109,97,112])]((t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t)))[k([115,111,109,101])]((t=>s[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&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[Q(300)](t){const e=Q,i=this[e(297)][e(311)][e(319)](e(302));return new Y({id:t.id,name:t[e(335)],creator:t[e(308)]?i[e(298)](t[e(308)]):null,diffData:t[e(296)]||t[e(312)],authors:t[e(338)][e(325)]((t=>i[e(298)](t))),createdAt:new Date(t[e(330)]),attributes:t[e(305)],fromVersion:t[e(306)],toVersion:t[e(299)]})}[Q(339)](t,e=0){const i=Q;this[i(309)][i(289)](t,e)}[Q(315)](t){const e=Q;return this[e(309)][e(319)](t)}[Q(317)](t={toJSON:!1}){const e=Q,i=Array[e(304)](this[e(309)]);return i[e(303)](),t[e(318)]?i[e(325)]((t=>t[e(318)]())):i}[Q(293)](t){const e=Q;return this[e(309)][e(293)](t)}[Q(326)](t){const e=Q,[,i]=this[e(333)](t,{direction:e(324)});return i}[Q(301)](t){const e=Q,[,i]=this[e(333)](t,{direction:e(292)});return i}[Q(321)](t){const e=Q,i=[];for(const n of this[e(333)](t[e(295)]))if(i[e(328)](n),n.id===t[e(310)])break;return i}*[Q(333)](t,{direction:e=Q(324),filter:i=()=>!0}={}){const n=Q,s=n(324)===e?1:-1;let r=this[n(309)][n(319)](t),o=this[n(293)](r);for(yield r;r;){if(o+=s,r=this[n(315)](o),!r)return;i(r)&&(yield r)}}}const it=st;function nt(){const t=["parse","getFillerOffset","attributesAfter","insertions","createElement","marked","startsWith","attachChange","getRevisionRootsAttributes","default","render","isPremiumPlugin","append","_viewClassToTypeChar","editing","constructor","_makeModelFromViewString","_getTypeCharForViewElement","52515BEetOw","1869316cUbQPM","30ZWttGs","4865030PzCMoo","name","diffData","string","type","div","get","domConverter","_getViewFromDiffObj","_setCustomProperty","fillerOffset","toData","3hWgLbc","editor","viewChildrenToDom","filter","data-revision-","_removeRevisionMarkers","getRevision","customProperties","forEach","view","2395782HVddBs","5735525mNMUmf","length","_typeCharToViewClass","pluginName","map","loadRevisionData","collaboration.channelId","htmlProcessor","domChildrenToView","from","1080440gMXQxs","innerHTML","attributes","22GqBqUU","_appendChild","1573964FESPan","data","isAttached","isOfficialPlugin","revision-end","childNodes","1096ocBQNE","children","RevisionHistoryUtils","domDocument","document","revision-start","processor","config","toModel","useFillerType","getRevisionDocumentData"];return(nt=function(){return t})()}function st(t,e){const i=nt();return(st=function(t,e){return i[t-=404]})(t,e)}!function(t){const e=st,i=t();for(;;)try{if(735546===-parseInt(e(439))/1+-parseInt(e(428))/2*(-parseInt(e(418))/3)+parseInt(e(404))/4+-parseInt(e(429))/5+-parseInt(e(405))/6*(-parseInt(e(444))/7)+parseInt(e(450))/8*(-parseInt(e(479))/9)+parseInt(e(406))/10*(parseInt(e(442))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class rt extends J.Plugin{static get[it(432)](){return it(452)}static get[it(447)](){return!0}static get[it(472)](){return!0}[it(474)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[it(431)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[it(434)](t,e){const i=it;if(t[i(408)]||!e)return;const n=this[i(419)][i(457)][i(412)](i(435)),s=await e[i(424)]({channelId:n,revisionId:t.id});t[i(408)]=s[i(408)]}[it(460)](t){const e=it,i={};for(const n in t[e(408)]){if(t[e(408)][n][e(468)]&&!t[e(408)][n][e(468)][e(446)])continue;const s=this[e(423)](JSON[e(461)](t[e(408)][n][e(464)])),r=this[e(419)][e(475)][e(427)][e(454)],o=new K.ViewDocumentFragment(r,s[e(433)]((t=>this[e(414)](t,!1))));this[e(419)][e(445)][e(456)][e(459)](e(466)),i[n]=this[e(419)][e(445)][e(456)][e(417)](o),this[e(419)][e(445)][e(456)][e(459)](e(470))}return i}[it(469)](t){const e=it,i={};for(const n in t[e(408)])t[e(408)][n][e(468)]&&!t[e(408)][n][e(468)][e(446)]||(i[n]=t[e(408)][n][e(463)]||{});return i}[it(478)](t){const e=it;return this[e(474)][e(412)](t[e(476)])}[it(414)](t,e){const i=it,n=this[i(419)][i(475)][i(427)][i(454)];if(i(409)==typeof t)return new K.ViewText(n,t);{let s,r;r="u"==t[i(410)]||"r"==t[i(410)]?[]:t[i(451)][i(433)]((t=>this[i(414)](t,e)));const o=this[i(431)][i(412)](t[i(410)])||K.ViewElement,a=this[i(419)][i(445)][i(436)][i(413)];if(s=new o(n,t[i(407)],t[i(441)],r),"u"==t[i(410)]&&t[i(451)][0]){const r=t[i(451)][0];if(s[i(471)]=function(t){const e=i,n=t[e(465)](e(411));return n[e(440)]=r,n[e(449)][0]},e){const t=new K.ViewDocumentFragment(n);t[i(443)](s);const e=Array[i(438)](a[i(420)](t,{bind:!1})),r=a[i(453)][i(465)](i(411));r[i(473)](...e),s=Array[i(438)](a[i(437)](r))[0]}}else if("r"==t[i(410)]&&t[i(451)][0]){const r=t[i(451)][0];if(s[i(471)]=function(t){t[i(440)]=r},e){const t=new K.ViewDocumentFragment(n);t[i(443)](s);const e=Array[i(438)](a[i(420)](t,{bind:!1})),r=a[i(453)][i(465)](i(411));r[i(473)](...e);const o=Array[i(438)](a[i(437)](r));o[i(430)]>1?s[i(443)](o):s=o[0]}}if(t[i(425)])for(const[e,n]of t[i(425)])s[i(415)](e,n);const c=void 0===t[i(416)]?null:t[i(416)];return null!==c&&(s[i(462)]=()=>c),s}}[it(477)](t){const e=it,i=JSON[e(461)](t),n=this[e(419)][e(475)][e(427)][e(454)],s=new K.ViewDocumentFragment(n,i[e(433)]((t=>this[e(414)](t,!0))));return this[e(419)][e(445)][e(458)](s)}[it(423)](t){const e=it;return(t=t[e(421)]((t=>!t[e(407)]||e(455)!==t[e(407)]&&e(448)!==t[e(407)])))[e(426)]((t=>{const i=e;i(409)!=typeof t&&(t[i(451)]=this[i(423)](t[i(451)]),t[i(441)]=t[i(441)][i(421)]((t=>!t[0][i(467)](i(422)))))})),t}}function ot(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function at(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 ct(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,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 ut(t,e,r,o)}return ut(t,e,r,o)}function ut(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(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:return M(t.valueOf(),i.valueOf());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}const R=(n=n??new Map).get(t),D=n.get(i);if(null!=R&&null!=D)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ct(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex((e=>ct(o,e,void 0,t,i,n,x)));if(-1===a)return!1;s.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(!ct(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,n,x)||at(t)&&at(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ct(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}function dt(){const t=["licenseKey","revisionHistoryLicenseKeyNotAllowed","_baseRootsAttributes","stickiness","_generateTape","addRevisionData","NEGATIVE_INFINITY","type","currentRevision","version","getCustomProperties","parent","update","attributesBefore","userId","deletions","getTime","nodes","_execute","upcast","find","getNodeByPath","adapter","_prepareViewToSave","_saveMetaData","1021443tPkneF","_initialRevisionId","insertionPosition","_idsRoots","_loadedStateData","revisionHistoryLicenseKeyExpired","_removeMetaData","fillerOffset","_licenseKeyCheckInterval","_getBaseVids","toView","_getState","then","diffData","_fixPosition","Users","revision","customProperties","revisionHistoryLicenseKeyValid","range","graveyardPosition","reinsert","path","getChild","_loadState","RevisionsRepository","sourcePosition","targetPosition","invalid","isAttached","getAttributes","end","includes","vid","keepParagraph","insert","_handleMergeOperation","config","editor-initial-data-replaced-with-revision-data","642720gULbcH","define","_source","createElement","length","_getPreviousFrom","position","_handleMarkerOperation","revisionHistoryLicenseKeyDomainLimit","_lastTo","_utils","some","attachChange","authorsIds","values","for","_handleRootAttributeOperation","setRevisionData","_calculateMetaData","destroy","item","_getTypeCharForViewElement","tableCell","getAncestors","revisionHistoryLicenseKeyUsageLimit","domainLimit","from","buildRevisionData","_operations","stringify","createPositionFromPath","PendingActions","domConverter","revision:","_handleMoveOperation","usageLimit","map","createRangeIn","_makeModelFromViewString","getChildren","keys","merge","oldRange","220016jaJWSt","_lastFrom","newValue","_revisionDataBuilder","_fixRange","$graveyard","insertions","add","_insertChild","RevisionTracker","isPremiumPlugin","createRange","get","addRootAttribute","40Zsuwuz","isAdd","creator","setSource","_createCurrentRevision","offsetSize","collaboration.channelId","dataToMarker","source","text","getData","getRevision","removeRootAttribute","domDocument","getOperation","saveRevision","_copyMarkers","569800dKBMiP","getFillerOffset","authors","getRoot","creatorId","data","newRange","initial","reInit","loadState","editor","getTransformedByOperation","_removePendingAction","split","getRevisions","loadRevisionData","uiElement","reverse","insertion","fromVersion","vid_end","getRevisionRootsAttributes","toVersion","_findInsertionIndex","addRevision","model","_bufferUpdate","attributesAfter","_setAttribute","pluginName","Initial revision","$comment","revisionHistory.resumeUnsavedRevision","RevisionHistoryUtils","_startingVersion","deletion","locale","getRange","853042rbQZkK","_startingRevisionId","Empty document","5452944veAqed","createRevision","$text","isOfficialPlugin","previousPosition","getAttribute","_getFromVersion","_baseRoots","trialLimit","history","_touchedMarkers","2906730dCbpCX","dataDowncast","offset","getIndex","documentFragment","_processRootBeforeSave","_isAttached","children","_reset","expired","detachRoot","htmlProcessor","sort","_replaceEditorDataWithRevisionData","createPositionAfter","RevisionHistory","delete","requires","_setConversion","clear","_showLicenseError","_continueCurrentRevision","_appendChild","move","238cwctUU","_baseIdsRoots","_handleRootOperation","name","fromEntries","getRootNames","_update","conversion","isEnabled","remove","roots","bind","_handleSplitOperation","_touchedRoots","_createFromRanges","revisionHistoryLicenseKeyInvalid","start","isEqual","paragraph","_handleOperation","repository","_diffRoots","ready","getUser","rootsAttributes","_isInit","afterInit","_diffRootsAttributes","addRoot","set","_isPendingUpdate","getOperations","marker","slice","max","getCurrentRevisionId","document","outerHTML","_pendingAction","getLatestVersion","_handleInsertOperation","childCount","_markers","clone","render","howMany","finally","baseVersion","plugins","elementEnd","4gMmFnt","innerHTML","rootName","_cloneOperation","affectsData","_makeIdsRoot","push","nodeAfter","splitPosition","sendBufferedUpdates","element","revisionHistoryLicenseKeyEvaluationLimit","revisionHistoryLicenseKeyTrialLimit","isReady","_transformMarkers","_applyOperations","_getVidAttributeName","_savedMetaData","_markChanges","shift","RealTimeCollaborationClient","initialData","_authorId","startsWith","updateRevisions","root","_createInitialRevision","init","size","elementStart","hasContent","markers","has","_clone","filter","_revisionId","createPositionBefore","getWalker","featureNotAllowed","_addPendingAction","createPositionAt","changeRootAttribute","_makeRevision","_touched","PENDING_ACTION_REVISION_HISTORY","getRevisionDocumentData","createdAt","key","_bufferedUpdates","vid_start","getMovedRangeStart","string","markerToData","_fixOperation","evaluationLimit","rawElement","_getViewJson","resolve","trim"];return(dt=function(){return t})()}const ft=pt;!function(t){const e=pt,i=t();for(;;)try{if(485155===parseInt(e(527))/1+-parseInt(e(489))/2+parseInt(e(699))/3*(parseInt(e(615))/4)+parseInt(e(738))/5+-parseInt(e(530))/6+parseInt(e(565))/7*(-parseInt(e(781))/8)+-parseInt(e(541))/9*(-parseInt(e(795))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dt);class mt extends J.Plugin{[ft(674)];[ft(707)];[ft(682)]=null;[ft(585)];[ft(696)]=null;[ft(784)];[ft(740)];[ft(700)];[ft(663)];[ft(748)];[ft(603)];[ft(562)];[ft(523)];[ft(703)];static get[ft(518)](){return ft(790)}static get[ft(533)](){return!0}static get[ft(791)](){return!0}static get[ft(558)](){return[G.Users,et,rt,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(585)]=this[i(499)][i(613)][i(793)](i(724)),this[i(748)]=this[i(499)][i(613)][i(793)](i(522)),this[i(784)]=new vt(this[i(499)]),this[i(700)]=this[i(499)][i(736)][i(793)](i(801))||i(496),this[i(663)]=new Map,this[i(703)]=null;const n=(0,t.uid)();this[i(740)]={history:this[i(499)][i(514)][i(601)][i(539)],getLatestVersion:()=>Promise[i(672)](this[i(499)][i(514)][i(601)][i(683)]),getCurrentRevisionId:()=>n},this[i(594)](i(628),!1),this[i(594)](i(573),!0),this[i(594)](i(595),!1),this[i(499)][i(736)][i(739)](i(521),!0),this[i(499)][i(572)][i(753)](i(693))[i(802)]({view:i(715)})}[ft(642)](){const t=ft;this[t(559)](),this[t(499)][t(494)].on(t(587),(()=>{const e=t,i=this[e(585)][e(806)](0),n=i&&null===i[e(797)]?i:null;if(this[e(562)]=!!n&&this[e(499)][e(736)][e(793)](e(521)),this[e(499)][e(613)][e(647)](e(635))){const t=this[e(740)][e(600)](),s=this[e(585)][e(806)](t);if(s)this[e(523)]=s[e(508)],this[e(562)]=!1;else{const t=this[e(740)][e(539)][e(766)][e(694)]((t=>!t[e(590)])),s=t?t[e(612)]:this[e(740)][e(539)][e(683)];i?(i[e(511)]<s&&i[e(571)]({toVersion:s}),this[e(562)]?(this[e(740)][e(600)]=()=>n.id,this[e(523)]=n[e(508)]):(this[e(523)]=i[e(511)],this[e(562)]=!1)):(this[e(523)]=s,this[e(562)]=!1)}}else n&&(this[e(499)][e(514)][e(601)][e(539)][e(683)]=Math[e(599)](n[e(511)],this[e(499)][e(514)][e(601)][e(539)][e(683)]),n[e(508)]===n[e(511)]?(0!==n[e(508)]&&(this[e(740)][e(600)]=()=>n.id),this[e(562)]=!1):this[e(562)]&&(this[e(740)][e(600)]=()=>n.id,this[e(523)]=n[e(508)])),this[e(562)]||(this[e(523)]=this[e(499)][e(514)][e(601)][e(683)]);this[e(784)][e(642)](this[e(740)][e(539)]),this[e(641)](this[e(523)]),this[e(799)](this[e(523)]),this[e(696)]&&this[e(624)]()})),this[t(576)](t(628)).to(this,t(595),(t=>!t)),this[t(674)]=this[t(499)][t(736)][t(793)](t(674));const e=this[t(499)];this[t(707)]=setInterval((()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(717)==r||i(580)==r||i(704)==r||i(746)==r||i(675)==r||i(626)==r||i(627)==r||i(762)==r){delete e[s],n=r,clearInterval(this[i(707)]),this[i(707)]=void 0;break}}i(580)==n&&e[i(561)](i(727)),i(704)==n&&e[i(561)](i(550)),i(746)==n&&e[i(561)](i(763)),i(675)==n&&e[i(561)](i(653),i(556)),i(626)==n&&e[i(561)](i(669)),i(627)==n&&e[i(561)](i(538)),i(762)==n&&e[i(561)](i(773))}),1e3)}async[ft(591)](){const t=ft;if(this[t(585)][t(742)]>0){const e=this[t(585)][t(806)](0),i=await this[t(660)](e),n=await this[t(510)](e);this[t(554)](i,n)}}[ft(757)](){const t=ft;super[t(757)](),this[t(707)]&&clearInterval(this[t(707)])}[ft(798)](t){this[ft(740)]=t}async[ft(686)](){const t=ft,e=await this[t(740)][t(604)]();if(e>this[t(682)][t(511)]){await this[t(723)]();const i=this[t(765)]({revision:this[t(682)],to:e});i[t(491)]=i[t(751)][t(774)]((e=>this[t(499)][t(613)][t(793)](t(714))[t(588)](e))),this[t(682)][t(571)](i)}}async[ft(487)](e={},i=null){const n=ft,s=[];await this[n(723)](),this[n(562)]=!1,i>this[n(682)][n(511)]&&(i=null),null===i&&(i=await this[n(740)][n(604)]());const r=this[n(536)](i),o=this[n(765)]({from:r,to:i});if(this[n(682)][n(511)]<i){const t=this[n(765)]({revision:this[n(682)],from:i,to:i});t[n(491)]=[],t[n(751)]=[],t.id=this[n(682)].id,this[n(682)][n(571)](t,!0),delete t[n(491)],s[n(621)](t)}e[n(493)]=this[n(499)][n(613)][n(793)](n(714)).me.id,e[n(568)]=e[n(568)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(679)](e);s[n(621)](e);const c=this[n(585)][n(544)](a);if(0!==c){const t=this[n(585)][n(806)](c-1);if(t[n(508)]!==i){const r=this[n(784)][n(805)](i,t[n(511)]),o={id:t.id,diffData:r[n(712)],authorsIds:r[n(751)],authors:r[n(751)][n(774)]((t=>this[n(499)][n(613)][n(793)](n(714))[n(588)](t))),fromVersion:i};t===this[n(682)]&&(o[n(661)]=new Date(e[n(661)][n(690)]()+10)),t[n(571)](o,!0),delete o[n(491)],s[n(621)](o)}}if(this[n(696)]){for(const t of s)this[n(515)](t.id,t,!0);this[n(624)]()}return a}[ft(679)](t){const e=ft,i=this[e(585)][e(531)](t);return this[e(696)]&&i.on(e(571),((t,i,n)=>{const s=e;n||(this[s(515)](i.id,i,!0),this[s(624)]())})),this[e(585)][e(513)](i,this[e(512)](i)),i}async[ft(660)](t){const e=ft;return await this[e(748)][e(504)](t,this[e(696)]),this[e(748)][e(660)](t)}async[ft(510)](t){const e=ft;return await this[e(748)][e(504)](t,this[e(696)]),this[e(748)][e(510)](t)}[ft(624)](){const t=ft;if(0===this[t(663)][t(643)])return;if(this[t(595)])return;let e=Array[t(764)](this[t(663)][t(752)]());this[t(663)][t(560)]();for(let i=0;i<e[t(742)];i++){const n=e[i];let s=!1;for(const e of Object[t(778)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(649)]((t=>null!==t)),!e[t(742)])return;for(let i=0;i<e[t(742)];i++){const n=e[i];void 0!==n[t(508)]&&void 0===n[t(511)]&&(n[t(511)]=this[t(585)][t(806)](n.id)[t(511)]),void 0!==n[t(511)]&&void 0===n[t(508)]&&(n[t(508)]=this[t(585)][t(806)](n.id)[t(508)])}const i=this[t(499)][t(736)][t(793)](t(801));this[t(595)]=!0,this[t(654)](),this[t(696)][t(639)](e,i)[t(611)]((()=>{this[t(595)]=!1}))[t(711)]((e=>{const i=t;if(e)for(const t of e)this[i(755)]({id:t.id,createdAt:t[i(661)]});this[i(501)](),this[i(624)]()}))}[ft(765)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(508)],i=null!==i?i:t[n(511)];const s=this[n(784)][n(805)](e,i),r={diffData:s[n(712)],authorsIds:s[n(751)],fromVersion:e,toVersion:i};if(!t||i!==t[n(511)]){const t=i-1,e=this[n(740)][n(539)][n(809)](t);r[n(661)]=e&&e[n(661)]||new Date}if(this[n(703)]&&e===this[n(703)][n(508)])for(const t of this[n(703)][n(491)])r[n(751)][n(731)](t.id)||r[n(751)][n(621)](t.id);return r}[ft(515)](t,e,i){const n=ft;if(this[n(663)][n(647)](t)){const s=this[n(663)][n(793)](t);e=i?{...s,...e}:{...e,...s}}this[n(663)][n(594)](t,e)}[ft(755)](t){const e=ft,i=this[e(585)][e(806)](t.id);if(t[e(661)]&&(t[e(661)]=new Date(t[e(661)])),t[e(751)]){const i=this[e(499)][e(613)][e(793)](e(714));t[e(491)]=t[e(751)][e(774)]((t=>i[e(588)](t)))}i[e(571)](t,!0)}[ft(641)](t){const e=ft,i=this[e(585)][e(806)](this[e(585)][e(742)]-1);if(i)this[e(700)]=i.id;else{const i=!this[e(499)][e(514)][e(601)][e(575)][e(694)]((t=>this[e(499)][e(514)][e(645)](t))),n=this[e(499)][e(613)][e(793)](e(714)).me.id,s=ot(this[e(499)][e(525)],e(i?529:519));this[e(657)]({from:t,to:t,id:this[e(700)],name:s,creatorId:n})}}[ft(799)](t){const e=ft,i=this[e(740)][e(600)]();this[e(682)]=this[e(585)][e(806)](i),this[e(682)]||(this[e(682)]=this[e(657)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(723)](){const t=ft;this[t(562)]&&!this[t(703)]&&(await this[t(748)][t(504)](this[t(682)],this[t(696)]),this[t(784)][t(498)](this[t(682)]),this[t(703)]={fromVersion:this[t(682)][t(508)],authors:this[t(682)][t(491)][t(598)]()})}[ft(554)](e,i){const n=ft;let s=this[n(499)][n(736)][n(793)](n(636)),r=this[n(499)][n(736)][n(793)](n(589));if(void 0===s){s={};for(const t of this[n(499)][n(514)][n(601)][n(570)]())s[t]=""}if(n(666)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(499)][n(514)][n(601)][n(570)]())r[t]={}}let o=!1;const a=Object[n(778)](s),c=Object[n(778)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(673)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[n(778)](r[t])[n(742)]>0){o=!0;break}}o||(o=c[n(749)]((t=>!this[n(499)][n(514)][n(601)][n(492)](t)))),o&&(0,t.logWarning)(n(737),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(499)][n(736)][n(594)](n(636),e),this[n(499)][n(736)][n(594)](n(589),i)}[ft(654)](){const t=ft;if(!this[t(603)]){const e=this[t(499)][t(613)][t(793)](t(769));this[t(603)]=e[t(788)](ot(this[t(499)][t(525)],t(659)))}}[ft(501)](){const t=ft;this[t(603)]&&(this[t(499)][t(613)][t(793)](t(769))[t(574)](this[t(603)]),this[t(603)]=null)}[ft(512)](t){const e=ft,i=this[e(585)][e(503)]();i[e(506)]();let n=0;for(;n<i[e(742)];){const s=i[n];if(s===this[e(682)]){n++;continue}if(s.id===this[e(700)])break;const r=t[e(511)]-s[e(511)]||t[e(508)]-s[e(508)];if(r>0)break;if(r<0)n++;else{if(!t[e(797)]&&s[e(797)])break;if(s[e(797)]||!t[e(797)]){if(t[e(661)]>s[e(661)])break;n++}else n++}}return n}[ft(536)](t){const e=ft,i=this[e(585)][e(503)]();i[e(506)](),i[e(634)]();const n=i[e(694)]((i=>i[e(511)]<=t))[e(511)];return n<this[e(523)]?this[e(523)]:n}[ft(657)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(765)]({from:e,to:i});o[r(568)]=t,o[r(493)]=n,o.id=s;const a=this[r(679)](o);return this[r(696)]&&this[r(515)](o.id,o,!0),a}[ft(559)](){const t=ft;this[t(499)][t(572)][t(753)](t(542))[t(667)]({model:t(715)})}}function pt(t,e){const i=dt();return(pt=function(t,e){return i[t-=487]})(t,e)}class vt{[ft(499)];[ft(803)];[ft(632)];[ft(782)];[ft(747)];[ft(607)];[ft(586)];[ft(592)];[ft(537)];[ft(676)];[ft(702)];[ft(566)];[ft(658)];[ft(540)];[ft(578)];[ft(650)];[ft(528)];constructor(t){const e=ft;this[e(499)]=t,this[e(632)]=new Map,this[e(782)]=-1,this[e(747)]=-1,this[e(607)]=new Map,this[e(586)]=new Map,this[e(592)]=new Map,this[e(537)]=new Map,this[e(676)]=new Map,this[e(702)]=new Map,this[e(566)]=new Map,this[e(658)]=new Map,this[e(540)]=new Map,this[e(578)]=new Map,this[e(650)]=1}[ft(642)](t){const e=ft;this[e(803)]=t;const i=new Map,n=new Map,s=this[e(499)][e(514)][e(601)][e(575)][e(774)]((t=>t[e(617)]));for(const t of s){const s=this[e(499)][e(514)][e(601)][e(492)](t),r=gt(s);i[e(594)](t,r),n[e(594)](t,Object[e(569)](s[e(729)]()))}const r=Array[e(764)](this[e(499)][e(514)][e(646)])[e(774)]((t=>[t[e(568)],t[e(526)]()])),o=this[e(803)][e(683)];this[e(698)](o,i,r,n),this[e(528)]=this[e(650)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(594)](t,i),c[e(594)](t,{})}this[e(698)](Number[e(680)],a,[],c)}[ft(805)](t,e){const i=ft;if(this[i(782)]===t&&this[i(747)]<=e)this[i(632)][i(643)]>1&&this[i(705)](this[i(747)]),this[i(630)](this[i(747)],e,!0);else{if(!this[i(632)][i(647)](t)){const e=this[i(743)](t);this[i(756)](e,t,!1)}this[i(756)](t,e,!0)}return this[i(782)]=t,this[i(747)]=e,this[i(710)]()}[ft(498)](t){const e=ft,i=this[e(499)][e(613)][e(793)](e(522));this[e(549)](),this[e(782)]=t[e(508)],this[e(747)]=t[e(511)];for(const n in t[e(712)]){const s=t[e(712)][n][e(750)],r=R(t[e(712)][n][e(687)])||{},o=i[e(776)](t[e(712)][n][e(689)]);o[e(617)]=n,o[e(547)]=!s||!s[e(728)],o[e(728)]=()=>o[e(547)],this[e(537)][e(594)](n,o),this[e(676)][e(594)](n,r),s&&this[e(578)][e(594)](n,s);const a=this[e(620)](o);this[e(566)][e(594)](n,a);for(const[t,i]of o[e(646)]){if(!t[e(638)](e(771)))continue;const n=t[e(502)](":")[2];for(const t of i[e(652)]({singleCharacters:!0})){const i=this[e(631)](t),s=e(614)==t[e(681)]?t[e(534)][e(721)][e(598)](0,-1):t[e(534)][e(721)],r=a[e(695)](s)[e(535)](i);this[e(658)][e(594)](r,{userId:n})}}}this[e(528)]=this[e(650)];const n=[...Array(this[e(650)])[e(778)]()][e(598)](1)[e(649)]((t=>!this[e(658)][e(647)](t)));let s=0;const r=new Map;for(const o in t[e(712)]){const a=t[e(712)][o][e(750)],c=R(t[e(712)][o][e(516)])||{},u=i[e(776)](t[e(712)][o][e(787)]);u[e(617)]=o,u[e(547)]=!a||a[e(728)],u[e(728)]=()=>u[e(547)],this[e(586)][e(594)](o,u),this[e(592)][e(594)](o,c);const l=this[e(620)](u,Number[e(680)]);this[e(702)][e(594)](o,l),r[e(594)](o,u[e(728)]()?c:{});for(const[t,i]of u[e(646)]){if(!t[e(638)](e(771)))continue;const n=t[e(502)](":")[2];for(const t of i[e(652)]({singleCharacters:!0})){const i=this[e(631)](t),s=this[e(650)]++,r=e(614)==t[e(681)]?t[e(534)][e(721)][e(598)](0,-1):t[e(534)][e(721)];l[e(695)](r)[e(517)](i,s),this[e(658)][e(594)](s,{userId:n})}}for(const t of this[e(499)][e(514)][e(775)](u)[e(652)]({singleCharacters:!0})){const i=this[e(631)](t),r=e(614)==t[e(681)]?t[e(534)][e(721)][e(598)](0,-1):t[e(534)][e(721)],o=l[e(695)](r);o[e(535)](i)>0||o[e(517)](i,n[s++])}for(const[t,i]of u[e(646)])t[e(638)](e(771))||this[e(607)][e(594)](t,i)}const o=yt(e(786));this[e(537)][e(594)](e(786),o),this[e(566)][e(594)](e(786),this[e(620)](o,1));const a=yt(e(786));this[e(586)][e(594)](e(786),a),this[e(702)][e(594)](e(786),this[e(620)](a,1));const c=Array[e(764)](this[e(586)])[e(774)]((([t,e])=>[t,gt(e)]));this[e(698)](this[e(747)],c,this[e(607)],r)}[ft(497)](){const t=ft;this[t(549)](),this[t(782)]=-1,this[t(747)]=-1,this[t(632)][t(560)](),this[t(642)](this[t(803)])}[ft(698)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(594)](t,{start:e[s(581)][s(608)](),end:e[s(730)][s(608)](),rootName:e[s(640)][s(617)]});this[s(632)][s(594)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(705)](t){const e=ft;this[e(632)][e(557)](t)}[ft(549)](){const t=ft;this[t(658)][t(560)](),this[t(540)][t(560)](),this[t(578)][t(560)](),this[t(586)][t(560)](),this[t(592)][t(560)](),this[t(537)][t(560)](),this[t(676)][t(560)](),this[t(702)][t(560)](),this[t(566)][t(560)](),this[t(607)][t(560)](),this[t(650)]=1,this[t(528)]=this[t(650)]}[ft(620)](t,e=null){const i=ft;let n=null;t.is(i(545))||(n=new K.Element(t[i(568)],{vid_start:null===e?this[i(650)]++:e++}));const s=[];for(const n of t[i(777)]())if(n.is(i(625))){s[i(621)](this[i(620)](n,e));const t=s[s[i(742)]-1];null!==e&&(e=t.is(i(625),i(532))?t[i(535)](i(732))+1:t[i(535)](i(509))+1)}else for(let t=0;t<n[i(800)];t++)s[i(621)](new K.Element(i(532),{vid:null===e?this[i(650)]++:e++}));if(t.is(i(545))){const e=yt(t[i(617)]);return e[i(789)](0,s),e}return n[i(517)](i(509),null===e?this[i(650)]++:e++),n[i(789)](0,s),n}[ft(756)](t,e,i){const n=ft;this[n(549)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(632)][n(793)](t);this[n(537)]=new Map(s),this[n(676)]=new Map(R(o));for(const[t,e]of this[n(537)])if(n(786)!==t&&(this[n(586)][n(594)](t,gt(e)),this[n(592)]=new Map(R(o)),i)){const i=this[n(650)];this[n(702)][n(594)](t,this[n(620)](e)),this[n(566)][n(594)](t,this[n(620)](e,i))}this[n(528)]=this[n(650)],this[n(586)][n(594)](n(786),gt(this[n(537)][n(793)](n(786)))),i&&this[n(702)][n(594)](n(786),this[n(620)](this[n(537)][n(793)](n(786))));for(const[t,e]of r){const i=this[n(537)][n(793)](e[n(617)]),s=this[n(586)][n(793)](e[n(617)]),r=new K.Range(this[n(713)](e[n(581)],i),this[n(713)](e[n(730)],i)),o=this[n(785)](r,s);i[n(646)][n(594)](t,r),this[n(607)][n(594)](t,o)}this[n(630)](t,e,i)}[ft(630)](t,e,i){const n=ft;for(const s of this[n(803)][n(596)](t,e))this[n(584)](s,i);for(const t of this[n(586)][n(752)]())t[n(646)][n(560)]();for(const[t,e]of this[n(607)])this[n(586)][n(793)](e[n(640)][n(617)])[n(646)][n(594)](t,e[n(608)]());const s=new Map,r=new Map;for(const[t,e]of this[n(586)])s[n(594)](t,gt(e)),r[n(594)](t,this[n(592)][n(793)](t));this[n(698)](e,s,this[n(607)],r)}[ft(743)](t){const e=ft,i=Array[e(764)](this[e(632)][e(778)]());i[e(553)](((t,e)=>t-e)),i[e(506)]();for(const e of i)if(e<t)return e;return Number[e(680)]}[ft(488)](t,e){const i=ft,n=Array[i(764)](e[i(646)])[i(774)]((([e,n])=>[e,this[i(785)](n,t)]));t[i(646)]=new Map(n)}[ft(629)](t){const e=ft;for(const i of this[e(607)][e(752)]()){const n=i[e(500)](t),s=K.Range[e(579)](n);i[e(581)]=s[e(581)],i[e(730)]=s[e(730)]}}[ft(584)](t,e){const i=ft;if(i(593)!=t[i(681)]&&i(551)!=t[i(681)]){if(i(734)==t[i(681)]){const n=t[i(744)][i(640)][i(617)];this[i(586)][i(647)](n)||(this[i(586)][i(594)](n,yt(n,!0)),this[i(592)][i(594)](n,{}),e&&this[i(702)][i(594)](n,yt(n,!0)))}else{if(i(794)==t[i(681)]||i(807)==t[i(681)]||i(656)==t[i(681)])return void this[i(754)](t);i(597)==t[i(681)]&&this[i(745)](t)}if(i(597)!==t[i(681)]){const e=this[i(618)](t,this[i(586)]);e[i(692)](),this[i(629)](e)}if(e)switch(t[i(681)]){case i(734):this[i(605)](t);break;case i(564):case i(574):case i(720):this[i(772)](t);break;case i(779):this[i(735)](t);break;case i(502):this[i(577)](t)}}else this[i(567)](t,e)}[ft(618)](t,e){const i=ft,n=t[i(608)]();return n[i(637)]=t[i(637)],this[i(668)](n,e),n}[ft(708)](t){const e=ft;return t[e(774)]((t=>{const i=e,n=this[i(631)](t);return Number(t[i(758)][i(535)](n))}))}[ft(678)](t,e){const i=ft;if(t.is(i(625),i(532)))e[i(621)]({item:t,type:i(804)});else{t.is(i(625))&&e[i(621)]({item:t,type:i(644)});for(const n of t[i(777)]())this[i(678)](n,e);t.is(i(625))&&e[i(621)]({item:t,type:i(614)})}return e}[ft(710)](){const t=ft,e=new Map(this[t(658)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(537)][t(778)](),...this[t(586)][t(778)]()]);a[t(557)](t(786));for(const e of a){const i=this[t(586)][t(793)](e)||yt(e,!1),n=this[t(537)][t(793)](e)||yt(e,!1);i[t(728)]()||n[t(728)]()?(s[t(787)][e]=gt(i),s[t(689)][e]=gt(n),this[t(488)](s[t(689)][e],n),this[t(488)](s[t(787)][e],i),r[t(787)][e]=this[t(678)](this[t(702)][t(793)](e),[]),r[t(689)][e]=this[t(678)](this[t(566)][t(793)](e)||yt(e,!1),[])):a[t(557)](e)}for(const s of a){const o=r[t(787)][s];for(const s of o){const r=this[t(631)](s),o=s[t(758)][t(535)](r);i[t(557)](o),o>=this[t(528)]&&n[t(594)](o,e[t(793)](o))}}for(const s of a){const a=r[t(787)][s],c=this[t(708)](r[t(689)][s]);let u=0;for(const s of a){const r=this[t(631)](s),a=s[t(758)][t(535)](r);if(!n[t(647)](a)&&!o[t(647)](a))if(i[t(647)](a))u++;else{if(a!=c[u]){const n=e[t(793)](a)||e[t(793)](c[u]);for(;a!=c[u];)i[t(647)](c[u])||(o[t(594)](c[u],n),e[t(594)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(787)][e];for(const e of s){const s=this[t(631)](e),r=e[t(758)][t(535)](s);if(o[t(647)](r)){const e=o[t(793)](r);i[t(647)](r)||i[t(594)](r,{...e}),n[t(594)](r,{...e})}}}for(const e of i[t(778)]())e>=this[t(528)]&&i[t(557)](e);const c=new Map;for(const e of a){let s=r[t(787)][e];for(const e of s)if(e[t(758)].is(t(625),t(760))){const i=this[t(631)](e),s=e[t(758)][t(535)](i);if(n[t(647)](s)){const i=e[t(758)][t(685)][t(685)][t(535)](t(664)),r=c[t(793)](i)||new Set;r[t(788)](n[t(793)](s)[t(688)]),c[t(594)](i,r)}}s=r[t(689)][e];for(const e of s)if(e[t(758)].is(t(625),t(760))){const n=this[t(631)](e),s=e[t(758)][t(535)](n);if(i[t(647)](s)){const n=e[t(758)][t(685)][t(685)][t(535)](t(664)),r=c[t(793)](n)||new Set;r[t(788)](i[t(793)](s)[t(688)]),c[t(594)](n,r)}}for(const e of c[t(778)]())(n[t(647)](e)||i[t(647)](e))&&c[t(557)](e)}for(const e of a){const s=r[t(787)][e];let o=null,a=null;for(const e of s){const s=this[t(631)](e),r=e[t(758)][t(535)](s),u=c[t(793)](r);u&&t(644)==e[t(681)]&&(o=Array[t(764)](u)[0],a=e[t(758)][t(535)](t(509))),o&&(i[t(594)](r,{userId:o}),n[t(594)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(689)][e],a=s[t(787)][e];for(const{userId:e}of this[t(540)][t(752)]())null!==e&&l[t(788)](e);for(const{userId:e}of this[t(578)][t(752)]())null!==e&&l[t(788)](e);this[t(633)](a,r[t(787)][e],n,t(507),l),this[t(633)](o,r[t(689)][e],i,t(524),l),u[e]={insertions:this[t(697)](a),deletions:this[t(697)](o),attachChange:this[t(578)][t(793)](e)||null,attributesBefore:R(this[t(676)][t(793)](e))||{},attributesAfter:R(this[t(592)][t(793)](e))}}return{diffData:u,authorsIds:Array[t(764)](l)}}[ft(546)](t){const e=ft;for(const[,i]of t[e(646)]){const t=i[e(581)][e(761)]()[e(649)]((t=>e(760)==t[e(568)]));for(const i of t)1==i[e(606)]&&i[e(722)](0).is(e(625),e(583))&&i[e(722)](0)[e(517)](e(733),!0)}}[ft(697)](t){const e=ft;this[e(546)](t);const i=this[e(499)][e(494)][e(709)](t,{}),n=Array[e(764)](i[e(777)]())[e(774)]((t=>this[e(671)](t)));return JSON[e(767)](n)}[ft(671)](t){const e=ft;if(t.is(e(532)))return t[e(494)];{const i=this[e(499)][e(613)][e(793)](e(522)),n=t,s=this[e(499)][e(494)][e(552)][e(770)],r={type:i[e(759)](n),name:n[e(568)],attributes:Array[e(764)](n[e(729)]()),children:Array[e(764)](n[e(777)]())[e(774)]((t=>this[e(671)](t)))};if(t.is(e(505))&&e(520)!=t[e(568)]){const i=t[e(609)](s[e(808)],s);r[e(548)][e(621)](i[e(602)])}else if(t.is(e(670))){const i=s[e(808)][e(741)](n[e(568)]);t[e(609)](i,s),r[e(548)][e(621)](i[e(616)])}const o=Array[e(764)](n[e(684)]());o[e(742)]>0&&(r[e(716)]=o);const a=n[e(490)]();return null!==a&&(r[e(706)]=a),r}}[ft(633)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(499)][r(514)];for(let n=0;n<e[r(742)];n++){const s=this[r(631)](e[n]),c=e[n][r(758)][r(535)](s),h=i[r(793)](c),d=n==e[r(742)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(688)]!=o[r(688)])&&(l(h,kt(a,t,u),kt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,kt(a,t,u),bt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(688)],d=l(771)+n+":"+h+":"+c++,f=u[l(792)](i,a);t[l(646)][l(594)](d,f),null!==h&&s[l(788)](h)}}[ft(631)](t){const e=ft;switch(t[e(681)]){case e(644):return e(664);case e(614):return e(509);default:return e(732)}}[ft(668)](t,e){const i=ft;t[i(612)]=null;for(const n in t){const s=t[n];if(s instanceof K.Position){const r=e[i(793)](s[i(640)][i(617)]);t[n]=this[i(713)](s,r)}if(s instanceof K.Range){const r=e[i(793)](s[i(640)][i(617)]);t[n]=this[i(785)](s,r)}i(640)===n&&(t[i(640)]=e[i(793)](t[i(640)][i(617)]))}}[ft(785)](t,e){const i=ft;return this[i(499)][i(514)][i(792)](this[i(713)](t[i(581)],e),this[i(713)](t[i(730)],e))}[ft(713)](t,e){const i=ft;return this[i(499)][i(514)][i(768)](e,t[i(721)],t[i(677)])}[ft(605)](t){const e=ft,i=this[e(702)][e(793)](t[e(744)][e(640)][e(617)]),n=this[e(713)](t[e(744)],i),s=null===t[e(637)]?null:t[e(637)]||this[e(499)][e(613)][e(793)](e(714)).me.id,r=n[e(685)],o=this[e(650)],a=[];for(const i of t[e(691)])if(i.is(e(625)))a[e(621)](this[e(620)](i));else for(let t=0;t<i[e(800)];t++)a[e(621)](new K.Element(e(532),{vid:this[e(650)]++}));const c=this[e(650)];for(let t=o;t<c;t++)this[e(658)][e(594)](t,{userId:s});r[e(789)](n[e(543)],a)}[ft(772)](t){const e=ft;(t=this[e(618)](t,this[e(702)]))[e(692)]();const i=null===t[e(637)]?null:t[e(637)]||this[e(499)][e(613)][e(793)](e(714)).me.id,n=t[e(665)](),s=n[e(685)],r=n[e(543)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(722)](e);r.is(a(625),a(532))?n[a(594)](r[a(535)](a(732)),{userId:i}):(n[a(594)](r[a(535)](a(664)),{userId:i}),t(n,r,0,r[a(606)]),n[a(594)](r[a(535)](a(509)),{userId:i}))}}(this[e(658)],s,r,r+t[e(610)])}[ft(735)](t){const e=ft,i=null===(t=this[e(618)](t,this[e(702)]))[e(637)]?null:t[e(637)]||this[e(499)][e(613)][e(793)](e(714)).me.id,n=t[e(726)][e(685)],s=t[e(725)][e(685)],r=n[e(535)](e(509)),o=s[e(535)](e(664));n[e(517)](e(509),s[e(535)](e(509))),s[e(517)](e(509),r),this[e(658)][e(594)](o,{userId:i}),this[e(658)][e(594)](r,{userId:i}),t[e(692)]()}[ft(577)](t){const e=ft,i=null===(t=this[e(618)](t,this[e(702)]))[e(637)]?null:t[e(637)]||this[e(499)][e(613)][e(793)](e(714)).me.id,n=t[e(719)],s=t[e(623)][e(685)];t[e(692)]();const r=s[e(535)](e(509)),o=t[e(701)][e(622)];if(n){const t=o[e(535)](e(509)),n=s[e(535)](e(509));s[e(517)](e(509),t),o[e(517)](e(509),n),this[e(658)][e(594)](s[e(535)](e(509)),{userId:i}),this[e(658)][e(594)](o[e(535)](e(664)),{userId:i})}else{const t=this[e(650)]++,n=this[e(650)]++;s[e(517)](e(509),t),o[e(517)](e(664),n),o[e(517)](e(509),r),this[e(658)][e(594)](t,{userId:i}),this[e(658)][e(594)](n,{userId:i})}}[ft(745)](t){const e=ft;if(!t[e(619)])return;const i=(t=this[e(618)](t,this[e(586)]))[e(780)]?t[e(780)][e(640)]:null,n=t[e(495)]?t[e(495)][e(640)]:null;i&&this[e(607)][e(557)](t[e(568)]),n&&this[e(607)][e(594)](t[e(568)],t[e(495)][e(608)]());const s=null===t[e(637)]?null:t[e(637)]||this[e(499)][e(613)][e(793)](e(714)).me.id,r=t[e(568)];if(!this[e(540)][e(647)](r))return void this[e(540)][e(594)](r,{range:t[e(780)],userId:s});const o=this[e(540)][e(793)](r),a=o[e(718)],c=t[e(495)];null==a&&null==c||a&&c&&a[e(582)](c)?this[e(540)][e(557)](t[e(568)]):o[e(688)]=s}[ft(567)](t,e){const i=ft;this[i(586)][i(647)](t[i(617)])?this[i(586)][i(793)](t[i(617)])[i(547)]=t[i(796)]:(this[i(586)][i(594)](t[i(617)],yt(t[i(617)],!0)),this[i(592)][i(594)](t[i(617)],{}),e&&this[i(702)][i(594)](t[i(617)],yt(t[i(617)],!0)));const n=null===t[i(637)]?null:t[i(637)]||this[i(499)][i(613)][i(793)](i(714)).me.id,s=this[i(578)][i(793)](t[i(617)]);s&&s[i(688)]===n?this[i(578)][i(557)](t[i(617)]):this[i(578)][i(594)](t[i(617)],{userId:n,isAttached:t[i(796)]})}[ft(754)](t){const e=ft,i=this[e(592)][e(793)](t[e(640)][e(617)]);null===t[e(783)]?delete i[t[e(662)]]:i[t[e(662)]]=t[e(783)]}}function gt(t){const e=ft,i=yt(t[e(617)],t[e(728)]());for(const n of t[e(777)]()){const t=n[e(648)](!0);i[e(563)](t)}return i}function yt(t,e=!0){const i=ft,n=new K.DocumentFragment;return n[i(617)]=t,n[i(547)]=e,n[i(728)]=()=>n[i(547)],n}function kt(t,e,i){const n=ft,s=n(614)==t[n(681)]?i[n(655)](t[n(758)],n(730)):i[n(651)](t[n(758)]);return i[n(768)](e,s[n(721)],s[n(677)])}function bt(t,e,i){const n=ft,s=n(644)==t[n(681)]?i[n(655)](t[n(758)],0):i[n(555)](t[n(758)]);return i[n(768)](e,s[n(721)],s[n(677)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),Tt=i.n(Ot),xt=i(262),Nt=i.n(xt),At=i(667),Rt=i.n(At),Mt=i(357),Dt=i.n(Mt),Et=i(426),Vt={attributes:{"data-cke":!0}};Vt.setAttributes=Rt(),Vt.insert=Nt().bind(null,"head"),Vt.domAPI=Tt(),Vt.insertStyleElement=Dt();St()(Et.A,Vt);Et.A&&Et.A.locals&&Et.A.locals;var Ct=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Rt(),jt.insert=Nt().bind(null,"head"),jt.domAPI=Tt(),jt.insertStyleElement=Dt();St()(Ct.A,jt);Ct.A&&Ct.A.locals&&Ct.A.locals;function Ft(){const t=["220","83041pZJiew","1602736OJgRpg","Name of the revision","setTemplate","input","arrowdown","revisionNameInputView","2530242hmXGfb","optional","listenTo","reset","7159221byQzxG","keystrokes","ck-revision-history-save-revision-form","render","errorText","set","12268GfxRKl","label","revisionName","24ryNxZv","1536130dfoJnc","trim","_createRevisionNameInput","fieldView","value","locale","revisionNameInputValue","form","focus","ck-responsive-form","1153968HPRwEs","initializeCssTransitionDisablerMixin","extendTemplate","arrowup","stopPropagation","37eMQjvz","add","element","arrowleft","arrowright","focusTracker"];return(Ft=function(){return t})()}const Lt=Pt;function Pt(t,e){const i=Ft();return(Pt=function(t,e){return i[t-=193]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(387157===-parseInt(e(212))/1*(-parseInt(e(193))/2)+-parseInt(e(207))/3+-parseInt(e(220))/4+-parseInt(e(197))/5+parseInt(e(226))/6+parseInt(e(219))/7*(parseInt(e(196))/8)+parseInt(e(230))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Wt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[Lt(217)];[Lt(231)];[Lt(225)];constructor(e,i){const n=Lt;super(e),this[n(217)]=new t.FocusTracker,this[n(231)]=new t.KeystrokeHandler,this[n(235)](n(203),""),this[n(225)]=this[n(199)](i),this[n(222)]({tag:n(204),attributes:{class:["ck",n(232),n(206)],tabindex:"-1"},children:[this[n(225)]]}),this[n(208)]()}[Lt(233)](){const t=Lt;super[t(233)](),(0,_t.submitHandler)({view:this}),this[t(217)][t(213)](this[t(225)][t(214)]),this[t(231)][t(228)](this[t(214)]);const e=e=>e[t(211)]();this[t(231)][t(235)](t(216),e),this[t(231)][t(235)](t(215),e),this[t(231)][t(235)](t(210),e),this[t(231)][t(235)](t(224),e)}[Lt(205)](){const t=Lt;this[t(225)][t(205)]()}get[Lt(195)](){const t=Lt;return this[t(225)][t(200)][t(214)][t(201)][t(198)]()}set[Lt(195)](t){const e=Lt;this[e(225)][e(200)][e(214)][e(201)]=t[e(198)]()}[Lt(229)](){const t=Lt;this[t(225)][t(200)][t(214)][t(201)]="",this[t(225)][t(234)]=null}[Lt(199)](t){const e=Lt,i=new _t.LabeledFieldView(this[e(202)],_t.createLabeledInputText),n=i[e(200)];n[e(209)]({attributes:{maxlength:e(218)}});let s=ot(this[e(202)],e(221));return!t&&(s+=" ("+ot(this[e(202)],e(227))+")"),i[e(194)]=s,n.on(e(223),(()=>{const t=e;this[t(203)]=n[t(214)][t(201)][t(198)]()})),i}}const zt=Ut;function Ut(t,e){const i=Ht();return(Ut=function(t,e){return i[t-=264]})(t,e)}function Ht(){const t=["_showDialog","submit","role","isReadOnly","pluginName","children","config","revisionHistory.requireRevisionName","menuitem","set","_createSaveRevisionFormView","revisionSave","addMany","isOfficialPlugin","Cancel","1339494BrZnpw","Save current revision","226877KFCgWO","add","requires","_saveRevisionFormView","render","bind","RevisionHistoryUI","reset","The revision name cannot be empty.","execute","showRevisionViewerCallback","isEnabled","delegate","82379aybJXj","get","componentFactory","revisionNameInputView","30VcUMzH","103392kJnpJf","show","_registerMenuComponent","plugins","39CgYiKP","6062OzYReW","revisionHistory","errorText","locale","menu","Revision history","Open revision history","8gwIJgK","view","buttonView","editor","isReady","items","isOpen","init","editing","hide","ck-button-action","188861innaqV","132nYyhxU","isPremiumPlugin","panelView","revisionName","RevisionTracker","menuBar:revisionHistory","focus","saveRevision","Accept","4dQKVMk","800720lkTmeE","Dialog"];return(Ht=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(142115===parseInt(e(305))/1+-parseInt(e(287))/2*(-parseInt(e(286))/3)+parseInt(e(315))/4*(-parseInt(e(316))/5)+parseInt(e(333))/6+-parseInt(e(264))/7*(parseInt(e(294))/8)+parseInt(e(282))/9*(-parseInt(e(281))/10)+parseInt(e(277))/11*(-parseInt(e(306))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Zt extends J.Plugin{static get[zt(322)](){return zt(270)}static get[zt(331)](){return!0}static get[zt(307)](){return!0}static get[zt(266)](){return[mt]}[zt(267)];[zt(301)](){const t=zt,e=this[t(297)],i=e[t(285)][t(278)](t(310));e.ui[t(279)][t(265)](t(288),(n=>{const s=t,r=(0,_t.createDropdown)(n),o=r[s(308)][s(323)],a=new _t.ListView(n),c=new _t.ListItemView(n),u=new _t.ButtonView(n),l=new _t.ListItemView(n),h=new _t.ButtonView(n);return r[s(269)](s(275)).to(i,s(298),i,s(275),e,s(321),((t,e,i)=>t&&e&&!i)),r[s(296)][s(327)]({icon:wt.IconHistory,label:ot(n,s(292)),tooltip:!0}),u[s(327)]({label:ot(n,s(334)),withText:!0,role:s(326)}),u[s(269)](s(275)).to(i,s(298),i,s(275),e,s(321),((t,e,i)=>t&&e&&!i)),u.on(s(273),(()=>this[s(318)]())),h[s(327)]({label:ot(n,s(293)),withText:!0,role:s(326)}),h[s(269)](s(275)).to(i,s(298),e,s(321),((t,e)=>t&&!e)),h.on(s(273),(()=>{const t=s;e[t(324)][t(278)](t(288))[t(274)](),r[t(300)]=!1,e[t(302)][t(295)][t(312)]()})),c[s(323)][s(265)](u),l[s(323)][s(265)](h),a[s(320)]=s(291),a[s(299)][s(330)]([c,l]),o[s(265)](a),r})),e.ui[t(279)][t(265)](t(311),(()=>this[t(284)]()))}[zt(284)](){const t=zt,e=this[t(297)],i=e[t(290)],n=new _t.MenuBarMenuView(i),s=new _t.MenuBarMenuListView(i);n[t(296)][t(327)]({icon:wt.IconHistory,label:ot(i,t(292))});const r=new _t.MenuBarMenuListItemView(i,n),o=new _t.MenuBarMenuListItemButtonView(i);o[t(327)]({label:ot(i,t(334))}),o[t(276)](t(273)).to(n),o.on(t(273),(()=>{this[t(318)]()})),r[t(323)][t(265)](o),s[t(299)][t(265)](r);const a=new _t.MenuBarMenuListItemView(i,n),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(327)]({label:ot(i,t(293))}),c[t(276)](t(273)).to(n),c.on(t(273),(()=>{const i=t;e[i(324)][i(278)](i(288))[i(274)]()})),a[t(323)][t(265)](c),s[t(299)][t(265)](a),n[t(308)][t(323)][t(265)](s),n}[zt(318)](){const t=zt,e=this[t(297)],i=e[t(290)],n=e[t(285)][t(278)](t(317)),s=e[t(285)][t(278)](t(310));function r(s){const r=t;e[r(324)][r(278)](r(325))&&""===s[r(309)]?s[r(280)][r(289)]=ot(i,r(272)):(e[r(285)][r(278)](mt)[r(313)]({name:s[r(309)]}),n[r(303)]())}this[t(267)]||(this[t(328)](),this[t(267)].on(t(319),(()=>r(this[t(267)])))),this[t(267)][t(271)](),n[t(283)]({id:t(329),title:ot(i,t(334)),isModal:!0,content:this[t(267)],actionButtons:[{label:ot(e[t(290)],t(332)),withText:!0,onExecute:()=>n[t(303)]()},{label:ot(e[t(290)],t(314)),class:t(304),withText:!0,onCreate(i){const n=t;i[n(269)](n(275)).to(s,n(298),s,n(275),e,n(321),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(267)])}]})}[zt(328)](){const t=zt,e=this[t(297)],i=e[t(290)];this[t(267)]=new Wt(i,e[t(324)][t(278)](t(325))),this[t(267)][t(268)]()}}function $t(t,e){const i=qt();return($t=function(t,e){return i[t-=294]})(t,e)}function qt(){const t=["1730302SAuWTg","span","author","set","4833471sjwPeE","14892590bQXzQv","13085480ZJTOhx","Suggested by","setTemplate","focus","3dcgMGG","element","ck-annotation","ck-revision-change","isSuggestion","Removed by","div","add","_model","type","5273255CofjYu","bindTemplate","1011546pNdtOj","data","6nJjRNu","4392804ctlmCA","ck-revision-change__","Added by","18OyPdgD","ck-revision-change__label","changeId","name"];return(qt=function(){return t})()}const Bt=$t;!function(t){const e=$t,i=t();for(;;)try{if(963367===parseInt(e(315))/1*(parseInt(e(295))/2)+-parseInt(e(309))/3+parseInt(e(298))/4+-parseInt(e(325))/5*(-parseInt(e(297))/6)+parseInt(e(305))/7+parseInt(e(311))/8+parseInt(e(301))/9*(-parseInt(e(310))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Yt extends _t.View{[Bt(303)];[Bt(323)];constructor(t,e){const i=Bt;super(t),this[i(323)]=e,this[i(303)]=e.id;const n=this[i(294)],s=ot(t,e[i(296)][i(319)]?i(312):i(322)==e[i(324)]?i(300):i(320));this[i(308)](i(324),e[i(324)]),this[i(313)]({tag:i(321),attributes:{class:[i(317),i(318),n.to(i(324),(t=>i(299)+t))],tabindex:-1},children:[{tag:i(306),children:[{tag:i(306),attributes:{class:[i(302)]},children:[{text:s}]},{text:" "+e[i(307)][i(304)]}]}]})}[Bt(314)](){const t=Bt;this[t(316)][t(314)]()}}var Jt=Gt;function Gt(t,e){var i=Qt();return(Gt=function(t,e){return i[t-=160]})(t,e)}!function(t){for(var e=Gt,i=t();;)try{if(140061===-parseInt(e(163))/1+parseInt(e(171))/2+-parseInt(e(160))/3+parseInt(e(164))/4+-parseInt(e(161))/5*(parseInt(e(165))/6)+-parseInt(e(172))/7*(-parseInt(e(166))/8)+parseInt(e(168))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Kt extends((0,t.ObservableMixin)()){id;[Jt(162)];[Jt(169)];[Jt(167)];[Jt(175)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(162)]=e[i(162)],this[i(169)]=e[i(169)],this[i(167)]=e[i(167)]||{},this[i(175)]=e[i(175)],this[i(173)](i(174),e[i(174)])}[Jt(170)](){var t=Jt;return{id:this.id,authorId:this[t(162)].id,type:this[t(169)],data:this[t(167)],createdAt:this[t(174)]}}}function Qt(){var t=["121299ymDwCr","141776PGhoZt","21180ARbviy","1976JSlCXh","data","228609cenGQt","type","toJSON","556388jkoobX","2632rkfmUL","set","createdAt","rootName","437523QFxbxF","35bQXxIw","author"];return(Qt=function(){return t})()}const Xt=ee;function te(){const t=["112uWtWNg","newRevisionId","1872946FcpXKW","1hUdpvi","add","11539snRuCM","changes","_setChanges","768744BXUnkR","585xtUIGh","3559790gmjDso","1412RGTHJQ","1668JperMg","2244228UjYLOk","18mfkOoT","30SuNuBm","8hGjsyp","oldRevisionId","3447886QhoVNA"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=102]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(844509===parseInt(e(111))/1*(-parseInt(e(110))/2)+parseInt(e(117))/3*(parseInt(e(119))/4)+parseInt(e(104))/5*(parseInt(e(116))/6)+parseInt(e(102))/7*(-parseInt(e(105))/8)+-parseInt(e(103))/9*(parseInt(e(118))/10)+parseInt(e(113))/11*(-parseInt(e(120))/12)+-parseInt(e(107))/13*(-parseInt(e(108))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ie{[Xt(109)];[Xt(106)];[Xt(114)];constructor(e,i){const n=Xt;this[n(109)]=e,this[n(106)]=i,this[n(114)]=new t.Collection}[Xt(115)](t){const e=Xt;for(const i of t)this[e(114)][e(112)](i)}}var ne=i(536),se={attributes:{"data-cke":!0}};se.setAttributes=Rt(),se.insert=Nt().bind(null,"head"),se.domAPI=Tt(),se.insertStyleElement=Dt();St()(ne.A,se);ne.A&&ne.A.locals&&ne.A.locals;const re=le;!function(t){const e=le,i=t();for(;;)try{if(830833===parseInt(e(644))/1+-parseInt(e(649))/2*(parseInt(e(449))/3)+parseInt(e(675))/4*(-parseInt(e(734))/5)+-parseInt(e(662))/6*(parseInt(e(524))/7)+-parseInt(e(555))/8+parseInt(e(607))/9*(-parseInt(e(509))/10)+-parseInt(e(513))/11*(-parseInt(e(602))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(he);class oe extends J.Plugin{[re(473)];[re(617)]=null;[re(427)];[re(637)];[re(697)];[re(678)];[re(435)];static get[re(653)](){return re(739)}static get[re(557)](){return!0}static get[re(452)](){return!0}static get[re(533)](){return[G.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(473)]=this[e(671)][e(704)][e(707)](e(682)),this[e(427)]=this[e(671)][e(704)][e(707)](e(529)),this[e(680)](e(585),null),this[e(680)](e(551),null),this[e(637)]=null,this[e(680)](e(506),null),this[e(680)](e(710),!1),this[e(680)](e(569),!0),this.on(e(426),((t,i,n)=>{const s=e;this[s(585)]=null,this[s(551)]=null,this[s(671)][s(466)][s(545)][s(420)]((t=>{const e=s;for(const i of this[e(671)][e(466)][e(545)][e(638)][e(558)])n?t[e(489)](e(570),i):t[e(480)](e(570),i)}))})),this[e(591)](e(712)).to(this,e(585),(t=>null!==t)),this[e(591)](e(726)).to(this,e(710),this,e(506),this,e(585),((t,i,n)=>t&&n?i[e(511)][e(531)](n):0)),this[e(591)](e(685)).to(this,e(710),this,e(506),((t,i)=>t?i[e(511)][e(469)]:0)),this[e(697)]=null,this[e(678)]=new Map,this[e(435)]=this[e(671)][e(704)][e(707)](_t.ContextualBalloon)}[re(616)](){const t=re,e=this[t(671)],i=new ue(e,{direction:t(471)}),n=new ue(e,{direction:t(582)});e[t(695)][t(441)](t(461),i),e[t(695)][t(441)](t(634),n),e[t(695)][t(441)](t(576),new ce(e)),this.on(t(422),(()=>{const e=t;i[e(583)](),n[e(583)]()})),this[t(498)](),this[t(440)](),e[t(648)](t(550)),e[t(704)][t(562)](t(625))&&e[t(704)][t(707)](t(625))[t(423)](t(550))}async[re(522)](t){const e=re;return await this[e(427)][e(548)](t,this[e(617)]),this[e(427)][e(522)](t)}async[re(505)](t){const e=re;return await this[e(427)][e(548)](t,this[e(617)]),this[e(427)][e(505)](t)}async[re(552)](t,e,i=!1){const n=re;if(!this[n(569)])return;const s=this[n(506)],r=this[n(473)],o=n(690)==typeof t?r[n(643)](t):t,a=n(690)==typeof e?r[n(643)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(506)]&&this[n(506)][n(515)]===c&&this[n(506)][n(606)]===u)return Promise[n(628)]();this[n(710)]=!1,this[n(551)]=null,this[n(585)]=null,this[n(506)]=new ie(c,u);const l=this[n(571)](o,a,!0)[n(543)]((t=>this[n(427)][n(548)](t,this[n(617)])));return l[n(664)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(500)](l)[n(448)]((()=>{const t=n;if(!this[t(569)])return;this[t(636)]();const e=this[t(579)](c,u);for(const i of e[t(511)])this[t(678)][t(680)](i.id,i);this[t(671)][t(503)][t(673)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(671)][n(503)][n(638)][n(564)]())i[n(514)](t);for(const t of Object[n(689)](e[n(503)])){const s=i[n(681)](t);for(const r of Object[n(689)](e[n(735)][t]))i[n(537)](r,e[n(735)][t][r],s);i[n(546)](e[n(503)][t],s,0)}})),this[t(506)][t(670)](this[t(595)](e[t(511)])),this[t(710)]=!0}))[n(488)]((t=>{const e=n;console[e(732)](t),this[e(636)](),s&&(this[e(506)]=s),this[e(710)]=!0}))}[re(447)](t,e){const i=re,n=this[i(473)][i(486)](t);return n.on(i(647),((t,i,s)=>e(i,s,n))),this[i(473)][i(456)](n),n}[re(636)](){const t=re;this[t(585)]=null,this[t(646)](),this[t(697)]&&this[t(697)][t(523)](),this[t(697)]=null,this[t(678)][t(640)](),this[t(671)][t(503)][t(673)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(671)][i(503)][i(638)][i(564)]())e[i(514)](t)}))}[re(595)](t){const e=re,i=[],n=new Map;for(const t of this[e(671)][e(503)][e(638)][e(564)]()){const s=this[e(671)][e(466)][e(545)][e(589)](t);if(!s)continue;const r=s[e(535)]()[e(677)](0);r&&(i[e(664)](t),n[e(680)](t,r))}return i[e(460)](((t,i)=>{const s=e,r=n[s(707)](t),o=n[s(707)](i);return r.y-o.y||r.x-o.x})),(t=t[e(723)]((t=>i[e(733)](t[e(596)]))))[e(460)](((t,n)=>i[e(645)](t[e(596)])-i[e(645)](n[e(596)]))),t}[re(631)](t){const e=re,i=Array[e(703)](t[e(563)])[e(723)]((([t,i])=>t[e(639)](e(565))&&!i[e(717)])),n=Array[e(703)](this[e(671)][e(503)][e(459)](t)[e(520)]({singleCharacters:!0}));if(0!=i[e(469)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(629)](":");if(s[e(658)][e(512)](t[e(614)])&&i[e(438)](),(t[e(728)][e(512)](s[e(574)])||t[e(728)][e(554)](s[e(574)]))&&(e(484)==r?t[e(655)]={userId:o}:e(741)==r&&(t[e(578)]={userId:o})),0==i[e(469)])break}return n}[re(698)](t){const e=re,i=new Map;for(let n=0;n<t[e(469)];n++)e(597)===t[n][e(657)]?(t[n][e(677)][e(430)]=n,t[n][e(677)][e(683)]=n):(e(560)===t[n][e(657)]?t[n][e(677)][e(430)]=n:e(421)===t[n][e(657)]&&(t[n][e(677)][e(683)]=n),i[e(680)](t[n].id,n));for(const n of i[e(619)]())e(560)===t[n][e(657)]?t[n][e(677)][e(683)]=i[e(707)](t[n][e(501)]):e(421)===t[n][e(657)]&&(t[n][e(677)][e(430)]=i[e(707)](t[n][e(501)]))}[re(706)](t){const e=re;for(let i=0;i<t[e(469)];i++){if(e(560)===t[i][e(657)])t[i][e(677)][e(430)]=i;else if(e(421)===t[i][e(657)]){t[i][e(677)][e(683)]=i;const n=t[i][e(677)][e(430)];t[n][e(501)]=t[i].id,t[i][e(501)]=t[n].id}else t[i][e(677)][e(430)]=i,t[i][e(677)][e(683)]=i,t[i][e(501)]=null;t[i][e(587)]||(t[i][e(587)]=[],t[i][e(541)]=[])}}[re(630)](t,e){const i=re,n=t[i(723)]((t=>!t[i(655)]));for(let t=0;t<e[i(469)];t++)e[t][i(655)]&&(n[t][i(655)]=e[t][i(655)])}[re(579)](t,e=null){const i=re,n=this[i(473)][i(643)](t),s=e?this[i(473)][i(643)](e):null,r=this[i(571)](n,s),o=r[r[i(469)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(469)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(689)](e[i(437)]))if(e[i(437)][t][i(586)]){const n=e[i(437)][t][i(586)];n[i(491)]?(u[i(441)](t),l[i(562)](t)&&l[i(707)](t)[i(482)]==n[i(482)]?l[i(559)](t):l[i(680)](t,n)):l[i(562)](t)?(u[i(559)](t),l[i(559)](t)):(u[i(441)](t),l[i(680)](t,n))}else u[i(441)](t)}for(const t of u){const e=l[i(562)](t)&&!l[i(707)](t)[i(491)];let n=e?r[i(469)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(437)][t]){const n=e?o[i(437)][t][i(536)]:o[i(437)][t][i(687)];c[i(735)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(503)]={};for(const e of t[i(721)])a[i(680)](e.id,e);for(const e of u){const n=t[i(437)][e]?t[i(437)][e][i(492)]:"[]",s=t[i(437)][e]?t[i(437)][e][i(590)]:"[]";t[i(503)][e]={insertions:this[i(427)][i(467)](n),deletions:this[i(427)][i(467)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(703)](n[i(503)][t][i(492)][i(563)])[i(723)]((([t])=>!t[i(639)](i(565)))));let h=0;for(const o of r){const r=this[i(631)](o[i(503)][t][i(492)]);o==n?(e=r,s=e[i(469)],e[i(418)]((t=>{t.id=h++})),this[i(706)](e)):this[i(630)](e,r);const a=e[i(723)]((t=>!t[i(655)]))[i(543)]((t=>t.id));let c=0;const l=this[i(631)](o[i(503)][t][i(590)]);l[i(418)]((t=>{t[i(578)]?t.id=s++:t.id=a[c++]})),this[i(706)](l),this[i(736)](e,i(655)),this[i(736)](l,i(578)),o==n&&this[i(584)](e,u),e=this[i(701)](e,l),this[i(698)](e),this[i(736)](e,i(578))}e=e[i(723)]((t=>!(t[i(655)]&&t[i(578)])));const d=new Map(o[i(503)][t][i(590)][i(563)]),f=new Set(u[i(689)]());for(const t of d[i(689)]())f[i(559)](t);this[i(450)](e,f),this[i(475)](e),e=this[i(487)](e),e=this[i(530)](e),e=this[i(610)](e);const{root:m,changes:p}=this[i(538)](e,a,t);c[i(503)][t]=m;const v=l[i(707)](t);if(v){const e=a[i(707)](v[i(482)]),n=new Kt({author:e,type:v[i(491)]?i(441):i(654),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(439)](n),c[i(735)][t][i(472)]=n.id}c[i(511)]=c[i(511)][i(540)](p)}return c}[re(584)](t,e){const i=re;for(let n=0;n<t[i(469)];n++)for(const[s,r]of e)!r[i(717)]&&r[i(574)][i(512)](t[n][i(728)])&&t[n][i(587)][i(664)](s),r[i(658)][i(512)](t[n][i(614)])&&t[n][i(541)][i(664)](s)}[re(701)](t,e){const i=re;let n=[],s=0,r=0;for(;s<t[i(469)]||r<e[i(469)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(664)](o);else if(a[i(578)]&&o[i(655)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(580)](t,s,e,r);n=n[i(540)](o),s=a,r=c}else a[i(578)]?(r++,n[i(664)](a)):(s++,n[i(664)](o))}return n}[re(450)](t,e){const i=re,n=[];for(let o=0;o<t[i(469)];o++){for(let r=0;r<t[o][i(587)][i(469)];r++){const a=t[o][i(587)][r];if(!e[i(562)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(691)!=c||i(484)!=u&&i(741)!=u||(n[i(439)]({type:u,name:a,userId:l}),t[o][i(587)][i(684)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(541)][i(469)];r++){const a=t[o][i(541)][r];if(!e[i(562)](a))continue;const{group:c,type:u}=s(a);if(i(691)!=c||i(484)!=u&&i(741)!=u)continue;t[o][i(541)][i(684)](r,1),r--;const l=n[i(713)]((t=>t[i(618)]==a));l>-1&&n[i(684)](l,1)}}function s(t){const e=i,n=t[e(629)](":");return{group:n[0],type:n[1],subType:n[e(469)]>=5?n[2]:null,id:n[e(469)]<5?n[2]:n[3],authorId:n[e(469)]<5?n[3]:n[4],markerCount:6==n[e(469)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(469)];i++){if(t[e(655)]&&e(484)==n[i][e(657)]&&t[e(655)][e(482)]==n[i][e(482)])return t[e(718)]=n[i],void delete t[e(655)];if(!t[e(655)]&&!t[e(578)]&&e(741)==n[i][e(657)])return void(t[e(527)]=n[i])}}}[re(736)](t,e){const i=re;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(680)](o.id,n);for(let n=0;n<t[i(469)];n++){if(i(578)==e&&t[n][i(655)]||i(655)==e&&t[n][i(578)])continue;if(i(597)==t[n][i(657)]){t[n][i(573)]=0;continue}const s=r[i(707)](t[n][i(501)]),o=r[i(707)](t[n].id);t[n][i(573)]=s-o}}[re(571)](t,e,i=!1){const n=re,s=[];let r=this[n(473)][n(531)](t),o=this[n(473)][n(531)](e);for(-1==o&&(o=this[n(473)][n(666)][n(469)],i=!1);r<o;)s[n(664)](this[n(473)][n(643)](r)),r++;return i&&s[n(664)](this[n(473)][n(643)](r)),s}[re(580)](t,e,i,n){const s=re,r=this[s(671)][s(503)][s(609)];let o=e;for(;t[o]&&t[o][s(655)];)o++;let a=n;for(;i[a]&&i[a][s(578)];)a++;u(t,e,o),u(i,n,a);const c=i[s(517)](n,a)[s(540)](t[s(517)](e,o));return c[s(460)](((t,e)=>t[s(694)]!=e[s(694)]?t[s(694)]-e[s(694)]:t[s(542)]!=e[s(542)]?t[s(542)]-e[s(542)]:t[s(573)]!=e[s(573)]?e[s(573)]-t[s(573)]:!!t[s(655)]!=!!e[s(655)]?-1==t[s(694)]||0==t[s(694)]?t[s(655)]?-1:1:t[s(655)]?1:-1:t[s(454)]-e[s(454)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(465)],c=!0;for(let s=e;s<i;s++)if(r[n(743)](t[s][n(677)])||(c=!1),t[s][n(677)][n(430)]<e&&(o=s),t[s][n(677)][n(683)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(694)]=s<=o?-1:s<a?0:1,t[s][n(454)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(573)]?t[i][n(542)]=u:(u++,t[i][n(542)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(694)]&&(t[s][n(542)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(573)]?t[e][n(542)]=u:(u--,t[e][n(542)]=u,u--)}}[re(475)](t){const e=re,i=new Map,n=this[e(671)][e(503)][e(609)];for(let s=1;s<t[e(469)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(597)==c[e(657)])continue;if(c[e(657)]!=u[e(657)])continue;if(!n[e(599)](u[e(677)])||n[e(611)](u[e(677)]))continue;if(!n[e(599)](c[e(677)])||n[e(611)](c[e(677)]))continue;if((t[s][e(655)]||t[s][e(718)])&&t[s-1][e(578)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(578)]||!t[s-1][e(655)]&&!t[s-1][e(718)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(542)]==o[e(542)],h=Math[e(626)](r[e(542)])<Math[e(626)](o[e(542)])&&0==o[e(573)];(l||h)&&(i[e(680)](o.id,r.id),t[e(684)](a,1),s--,r[e(655)]=!1)}for(let n=0;n<t[e(469)];n++)i[e(562)](t[n][e(501)])&&(t[n][e(501)]=i[e(707)](t[n][e(501)]))}[re(487)](t){const e=re,i=new Set(t[e(543)]((t=>t.id)));for(let n=0;n<t[e(469)];n++)i[e(562)](t[n][e(501)])||0==t[n][e(573)]||(t[n][e(455)]=!0);return t[e(723)]((t=>!t[e(455)]))}[re(530)](t){const e=re,i=new Set;for(let n=0;n<t[e(469)];n++){if(i[e(562)](t[n].id)&&t[n][e(578)]&&(t[n][e(455)]=!0),t[n][e(455)])continue;if(0==t[n][e(573)])continue;if(e(560)!=t[n][e(657)])continue;if(null==t[n][e(501)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(501)];)e(560)==t[s][e(657)]?r++:e(421)==t[s][e(657)]&&r--,s++;if(0!=r)if(t[n][e(578)])t[n][e(455)]=!0;else for(;s!=n;)t[s][e(578)]&&0!=t[s][e(573)]&&(t[s][e(455)]=!0,i[e(441)](t[s][e(501)])),s--}return t[e(723)]((t=>!t[e(455)]))}[re(610)](t){const e=re,i=this[e(671)][e(503)][e(609)];for(let n=0;n<t[e(469)];n++){if(!(t[n][e(655)]||t[n][e(718)]||t[n][e(578)]||t[n][e(527)]))continue;if(0==t[n][e(573)])continue;const s=t[n][e(677)];i[e(599)](s)||i[e(611)](s)||(t[n][e(655)]&&delete t[n][e(655)],t[n][e(718)]&&delete t[n][e(718)],t[n][e(527)]&&delete t[n][e(527)],t[n][e(578)]&&(t[n][e(455)]=!0))}return t[e(723)]((t=>!t[e(455)]))}[re(538)](t,e,i){const n=re,s=new K.DocumentFragment,r=[],o=new Map,a=this[n(671)][n(503)],c=a[n(609)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(469)];e++)if(n(560)===t[e][n(657)]){t[e][n(728)]=a[n(462)](s,f);const i=new K.Element(t[e][n(677)][n(618)],t[e][n(677)][n(549)]());u[0][n(433)](i),f[n(664)](0),u[n(439)](i),t[e][n(614)]=a[n(462)](s,f)}else n(421)===t[e][n(657)]?(u[n(438)](),t[e][n(728)]=a[n(462)](s,f),f[n(457)](),f[f[n(469)]-1]++,t[e][n(614)]=a[n(462)](s,f)):(t[e][n(728)]=a[n(462)](s,f),d?d[n(444)]+=t[e][n(677)][n(547)]:d=new K.Text(t[e][n(677)][n(547)],t[e][n(677)][n(549)]()),t[e+1]&&n(597)===t[e+1][n(657)]&&v(d,t[e+1][n(677)])||(u[0][n(433)](d),d=null),f[f[n(469)]-1]+=t[e][n(677)][n(464)],t[e][n(614)]=a[n(462)](s,f));for(let e=0;e<t[n(469)];e++){const i=t[e][n(728)],s=t[e][n(614)];for(const s of t[e][n(587)])o[n(680)](s,{start:i,end:null});m(n(527),e,i,s),m(n(718),e,i,s),m(n(578),e,i,s),m(n(655),e,i,s);for(const i of t[e][n(541)]){const t=o[n(707)](i);t?t[n(658)]=s:o[n(680)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(671)][n(503)][n(428)](e[n(574)],e[n(658)]);s[n(563)][n(680)](t,i)}return r[n(460)](((t,e)=>{const i=n,r=s[i(563)][i(707)](i(565)+t.id),o=s[i(563)][i(707)](i(565)+e.id);return r[i(574)][i(613)](o[i(574)])?-1:r[i(574)][i(554)](o[i(574)])?1:r[i(658)][i(613)](o[i(658)])?-1:r[i(658)][i(554)](o[i(658)])?1:i(441)===t[i(657)]?-1:1})),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(482)]:null,d=i===t[o(469)]-1,f=h[e][0],m=c[o(544)](t[i][o(677)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(658)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(482)]!==u&&(l[e][o(658)]=s,f&&f[o(482)]===l[e][o(482)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(560)!==t[i][o(657)]||f&&f[o(482)]===u||h[e][o(439)]({userId:u,object:t[i][o(677)],change:l[e]}),o(421)===t[i][o(657)]&&f&&f[o(516)]===t[i][o(677)]&&(h[e][o(438)](),l[e]=f[o(420)])),l[e]&&d&&(l[e][o(658)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(677)],f=a[h(609)][h(599)](d)&&!a[h(609)][h(611)](d),m=t[h(497)]==o[h(692)]&&o[h(688)];if(f&&m)return;const p=a[h(428)](t,o),v=e[h(707)](u),g=new Kt({author:v,type:h(655)==l||h(718)==l?h(441):h(654),data:{isSuggestion:h(718)==l||h(527)==l},createdAt:new Date,rootName:i});r[h(664)](g),s[h(563)][h(680)](h(565)+g.id,p)}function v(t,e){const i=n,s=t[i(549)](),r=e[i(549)]();for(const t of s){if(t[1]!==e[i(495)](t[0]))return!1;r[i(669)]()}return r[i(669)]()[i(722)]}}[re(498)](){const t=re;this[t(671)][t(598)][t(477)](t(708))[t(621)]({view:t(674)}),this[t(671)][t(598)][t(477)](t(622))[t(705)]({model:t(674),view:e=>{const i=t,n=e[i(443)][i(629)](":")[1],s=this[i(744)](n);if(!s)return null;const r=i(441)==s[i(657)]?i(484):i(741),o=[i(676),i(434)+r];return s[i(547)][i(526)]&&o[i(664)](i(434)+r+i(627)),this[i(585)]==s&&o[i(664)](i(483)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(671)][t(598)][t(477)](t(708))[t(441)]((e=>{const i=t;e.on(i(745),((t,e,n)=>{const s=i,r=e[s(702)][s(715)](0);if(!r||!r.is(s(612),s(605)))return;if(!n[s(632)][s(650)](r,{attributes:[s(478),s(699)]}))return;const o=e[s(729)][s(574)][s(497)];n[s(553)][s(537)](s(478),r[s(495)](s(478)),o),n[s(553)][s(537)](s(699),r[s(495)](s(699)),o)}),{priority:i(672)})})),this[t(671)][t(598)][t(477)](t(708))[t(441)]((e=>{const i=t;e.on(i(612),((t,e,n)=>{const s=i;if(!n[s(632)][s(650)](e[s(702)],{attributes:[s(478),s(699)]}))return;if(e[s(729)][s(717)])return;const r=e[s(729)][s(574)][s(497)];r[s(727)](s(478))||r[s(727)](s(556))||(n[s(553)][s(537)](s(478),e[s(702)][s(495)](s(478)),r),n[s(553)][s(537)](s(699),e[s(702)][s(495)](s(699)),r))}),{priority:i(672)})})),this[t(671)][t(598)][t(477)](t(708))[t(458)]({view:{name:t(711),attributes:{vid:!0}},model:{key:t(556),value:e=>e[t(495)](t(556))}}),this[t(671)][t(503)][t(609)].on(t(667),((e,[,i])=>{const n=t;[n(478),n(699),n(556)][n(733)](i)&&(e[n(593)]=!0,e[n(588)]())}),{priority:t(738)}),this[t(671)][t(598)][t(477)](t(508))[t(441)]((e=>{const i=t;e.on(i(641),((t,e,n)=>{const s=i;if(" "!=e[s(677)][s(547)]||e[s(677)][s(692)][s(499)]>1)return;if(!n[s(632)][s(650)](e[s(677)],t[s(618)]))return;const r=n[s(553)],o=n[s(665)][s(572)](e[s(518)]);r[s(725)](o,r[s(624)](s(711)))}))})),this[t(671)][t(598)][t(477)](t(508))[t(660)]({model:t(674)}),this[t(671)][t(466)][t(740)].on(t(663),function(e){const i=t,n=e[i(704)][i(707)](i(739));return(t,s,r)=>{const o=i,a=s[o(443)][o(629)](":")[1],c=n[o(744)](a);if(!c)return null;const u=o(441)==c[o(657)]?o(629):o(504);if(!r[o(632)][o(659)](s[o(519)],t[o(618)]))return;const l=s[o(519)][o(520)](),h=s[o(519)][o(574)],d=e[o(503)][o(609)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(677)];p=p||d[o(470)](e);const i=r[o(665)][o(615)](e);if(i&&i[o(490)](o(696)))return;o(421)==t[o(657)]&&d[o(599)](e)&&!d[o(611)](e)&&(e[o(592)]||h[o(521)]?f&&f[o(692)]==e||(f=e,g(t[o(728)]),v=!0):m=m||t[o(728)])}function g(t){const e=o,i=r[e(553)][e(479)](e(711),{class:e(434)+u}),a=r[e(665)][e(485)](t);c[e(547)][e(526)]&&r[e(553)][e(480)](e(434)+u+e(627),i),n[e(585)]==c&&r[e(553)][e(480)](e(483),i),r[e(553)][e(546)](a,i),r[e(665)][e(661)](i,s[e(443)])}p||v||!m||g(m)}}(this[t(671)]),{priority:t(525)}),this[t(671)][t(466)][t(740)].on(t(496),((e,i,n)=>{const s=t,r=n[s(665)][s(507)](i[s(443)]);if(r)for(const t of r)(t[s(577)](s(724))||t[s(577)](s(668)))&&(n[s(665)][s(453)](t,i[s(443)]),n[s(553)][s(654)](t))}),{priority:t(525)}),this[t(671)][t(466)][t(740)].on(t(663),((e,i,n)=>{const s=t,r=i[s(443)][s(629)](":")[1],o=this[s(744)](r);if(!o)return null;const a=s(441)==o[s(657)]?s(629):s(504);if(n[s(632)][s(659)](i[s(519)],e[s(618)]))for(const t of i[s(519)][s(652)]()){if(!t.is(s(612),s(528)))continue;const e=n[s(553)][s(479)](s(711),{class:s(434)+a}),r=n[s(665)][s(485)](this[s(671)][s(503)][s(693)](t));o[s(547)][s(526)]&&n[s(553)][s(480)](s(434)+a+s(627),e),this[s(585)]==o&&n[s(553)][s(480)](s(483),e),n[s(553)][s(546)](r,e),n[s(665)][s(661)](e,i[s(443)])}}),{priority:t(525)}),this[t(671)][t(503)][t(638)].on(t(420),(()=>{const e=t;this[e(671)][e(466)][e(545)][e(420)]((t=>{const i=e;for(const e of this[i(671)][i(503)][i(638)][i(564)]()){const n=this[i(671)][i(503)][i(638)][i(716)](e),s=this[i(671)][i(466)][i(545)][i(638)][i(716)](e);if(s){const e=n[i(495)](i(472));if(t[i(737)](i(720),s),t[i(489)](i(635),s),t[i(489)](i(476),s),t[i(489)](i(608),s),e){const n=this[i(744)](e);if(!n)return null;t[i(537)](i(720),e,s),t[i(480)](i(714)+n[i(657)],s),this[i(585)]==n&&t[i(480)](i(608),s)}}}}))})),this[t(671)][t(598)][t(477)](t(708))[t(621)]({view:t(481),model:e=>t(532)+e,converterPriority:t(738)}),this[t(671)][t(598)][t(477)](t(708))[t(621)]({view:t(603),model:e=>t(700)+e,converterPriority:t(738)}),this[t(671)][t(598)][t(477)](t(508))[t(660)]({model:t(691),view:e=>({name:t(431)+e,group:t(691)}),converterPriority:t(738)}),this[t(671)][t(598)][t(477)](t(622))[t(705)]({model:t(691),view:e=>{const i=t,n=e[i(443)][i(629)](":")[1];return i(484)!=n&&i(741)!=n?null:{classes:[i(686),i(567)+n]}}}),this[t(671)][t(466)][t(740)].on(t(594),ae(this[t(671)],t(504)),{priority:t(525)}),this[t(671)][t(466)][t(740)].on(t(679),ae(this[t(671)],t(629)),{priority:t(525)}),this[t(671)][t(466)][t(740)].on(t(474),((e,i,n)=>{const s=t,r=n[s(665)][s(507)](i[s(443)]);if(r)for(const t of r)t.is(s(446))&&(n[s(665)][s(453)](t,i[s(443)]),n[s(553)][s(654)](t))}),{priority:t(525)})}[re(744)](t){const e=re;return this[e(678)][e(707)](t)}[re(494)](t){const e=re;return this[e(697)]&&this[e(697)][e(523)](),this[e(697)]=new Yt(this[e(671)][e(623)],t),this[e(697)]}[re(440)](){const t=re;this[t(671)][t(503)][t(638)][t(429)][t(568)](t(674)),this.on(t(468),((e,i,n,s)=>{const r=t;s&&this[r(435)][r(654)](s),n&&(this[r(435)][r(441)]({view:n,stackId:r(600),position:{target:()=>{const t=r,e=this[t(671)][t(466)],i=this[t(744)](n[t(534)]);let s;if(i[t(547)][t(463)]){const n=e[t(545)][t(589)](i[t(596)]);s=Array[t(703)](n[t(535)]())}else{const i=this[t(671)][t(503)][t(563)][t(707)](t(565)+n[t(534)]);s=Array[t(703)](e[t(665)][t(507)](i[t(618)]))[t(543)]((i=>e[t(545)][t(436)][t(656)](i)))[t(543)]((e=>Array[t(703)](e[t(535)]())))[t(731)]()}return this[t(637)]&&s[t(566)]((e=>e[t(419)]-3<=this[t(637)].y&&e[t(719)]+3>=this[t(637)].y&&e[t(561)]-3<=this[t(637)].x&&e[t(604)]+3>=this[t(637)].x))||s[0]}}}),this[r(435)][r(601)](r(600)))})),this.on(t(424),((e,i,n,s)=>{const r=t;this[r(551)]=n?this[r(494)](n):null,this[r(671)][r(503)][r(420)]((()=>{const t=r,e=this[t(671)][t(466)];s&&(s[t(547)][t(463)]?e[t(545)][t(420)]((i=>{const n=t;i[n(489)](n(608),e[n(545)][n(638)][n(716)](s[n(596)]))})):e[t(651)](t(565)+s.id)),n&&(n[t(547)][t(463)]?e[t(545)][t(420)]((i=>{const s=t;i[s(480)](s(608),e[s(545)][s(638)][s(716)](n[s(596)]))})):e[t(651)](t(565)+n.id))}))})),this[t(432)](this[t(671)][t(466)][t(545)][t(638)],t(742),((e,i)=>{const n=t;if(this[n(585)])return;const s=this[n(575)](i[n(581)]),r=this[n(678)][n(707)](s);r?(this[n(637)]={x:i[n(451)].x,y:i[n(451)].y},this[n(551)]=this[n(494)](r)):(this[n(637)]=null,this[n(551)]=null)})),this[t(432)](this[t(671)][t(466)][t(545)][t(638)],t(642),((e,i)=>{const n=t,s=this[n(575)](i[n(581)]),r=this[n(678)][n(707)](s);r?(this[n(637)]={x:i[n(451)].x,y:i[n(451)].y},r===this[n(585)]?this[n(435)][n(539)]():this[n(585)]=r):(this[n(637)]=null,this[n(585)]=null)}))}[re(575)](t){const e=re;do{const i=t[e(495)](e(720));if(i)return i;t=t[e(692)]}while(t);return null}[re(646)](){const t=re;this[t(671)][t(503)][t(420)]((e=>{const i=t;for(const t of this[i(671)][i(503)][i(563)])e[i(510)](t)}))}}function ae(t,e){return(i,n,s)=>{const r=le;if(!s[r(632)][r(659)](n[r(519)],i[r(618)]))return;const o=n[r(519)][r(520)](),a=n[r(519)][r(574)],c=t[r(503)][r(609)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(677)];h=h||c[r(470)](e);const i=s[r(665)][r(615)](e);if(i&&i[r(490)](r(696)))return;r(421)==t[r(657)]&&c[r(599)](e)&&!c[r(611)](e)&&(e[r(592)]||a[r(521)]?u&&u[r(692)]==e||(u=e,f(t[r(728)]),d=!0):l=l||t[r(728)])}function f(t){const i=r,o=s[i(665)][i(485)](t),a=s[i(553)][i(479)](i(711),{class:i(567)+e});s[i(553)][i(546)](o,a),s[i(665)][i(661)](a,n[i(443)])}h||d||!l||f(l)}}class ce extends J.Command{constructor(t){const e=re;super(t);const i=t[e(704)][e(707)](oe);this[e(730)]=!1,this[e(432)](i,e(445),(()=>this[e(583)]())),this[e(432)](i,e(426),(()=>this[e(583)]()))}[re(502)](){const t=re,e=this[t(671)],i=e[t(704)][t(707)](oe),n=i[t(710)]?i[t(506)][t(515)]:null;e[t(493)][t(707)](t(442))[t(633)](n)}[re(583)](){const t=re,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(671)][t(704)][t(707)](oe),r=s&&n[t(425)](s[t(515)]);this[t(569)]=e&&i&&Boolean(r)}}class ue extends J.Command{[re(620)];constructor(t,{direction:e}){const i=re;super(t);const n=t[i(704)][i(707)](oe);this[i(730)]=!1,this[i(620)]=i(582)===e?1:-1,this[i(432)](n,i(445),(()=>this[i(583)]())),this[i(432)](n,i(426),(()=>this[i(583)]())),this[i(432)](n,i(424),(()=>this[i(583)]()))}[re(502)](){const e=re,i=this[e(671)],n=i[e(704)][e(707)](oe),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(585)]=s?n[e(506)][e(511)][e(707)](r+this[e(620)]):n[e(506)][e(511)][e(709)],n[e(585)][e(547)][e(463)])o=i[e(466)][e(545)][e(589)](n[e(585)][e(596)]);else{const t=i[e(503)][e(563)][e(707)](e(565)+n[e(585)].id);o=(0,G.getMarkerDomElement)(i[e(466)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(583)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(671)][t(704)][t(707)](oe);this[t(569)]=!!(r&&s&&n)&&(!e||(1===this[t(620)]?i<n-1:i>0))}}function le(t,e){const i=he();return(le=function(t,e){return i[t-=418]})(t,e)}function he(){const t=["getItems","pluginName","remove","isAdded","mapViewToDom","type","end","test","markerToData","bindElementToMarker","48RIuZOy","addMarker:revision","push","mapper","_revisions","checkAttribute","ck-suggestion-marker-merge","next","_setChanges","editor","low","enqueueChange","revision","4964956gzWKrL","ck-suggestion-marker","item","_changeIdToChange","addMarker:revision-suggestion:insertion","set","addRoot","RevisionsRepository","endIndex","splice","numberOfChanges","ck-suggestion-preview-marker","attributesAfter","isAtStart","keys","string","revision-suggestion","parent","createPositionBefore","side","commands","addHighlight","_changeView","_refreshStartEndIndex","vid_end","revision-suggestion:","_joinTapes","viewItem","from","plugins","markerToHighlight","_processTape","get","upcast","first","isReady","span","isNavigationMode","findIndex","ck-revision-history-root-","getChild","getRoot","isCollapsed","isAddSuggestion","bottom","data-change-id","authors","done","filter","ck-suggestion-marker-split","wrap","currentChangeNumber","hasAttribute","previousPosition","modelRange","affectsData","flat","error","includes","5TWcocT","attributes","_setDistance","removeAttribute","highest","RevisionViewer","downcastDispatcher","deletion","mouseover","isInline","_getChangeFromId","element:pre","forEach","top","change","elementEnd","change:numberOfChanges","forceDisabled","change:activeChange","getLaterVisibleRevision","change:isEnabled","_utils","createRange","selection","startIndex","suggestion:","listenTo","_appendChild","ck-suggestion-marker-","_balloon","domConverter","diffData","shift","unshift","_initInteractions","add","revisionHistory","markerName","_data","change:isReady","uiElement","addRevisionData","then","3nXOOCK","_markSuggestions","domEvent","isPremiumPlugin","unbindElementFromMarkerName","index","isIncorrect","addRevision","pop","elementToAttribute","createRangeIn","sort","showPreviousChange","createPositionFromPath","isOnRoot","offsetSize","POSITIVE_INFINITY","editing","_makeModelFromViewString","change:activeView","length","isContent","backward","revisionHistoryAttachChange","repository","removeMarker:revision-suggestion","_fixObsoleteTags","ck-revision-history-root-remove","for","vid_start","createUIElement","addClass","comment","userId","ck-suggestion-marker--active","insertion","toViewPosition","createRevision","_removeMissingPairs","catch","removeClass","getCustomProperty","isAttached","insertions","config","_getViewForChange","getAttribute","removeMarker:revision","nodeAfter","_setConversion","maxOffset","all","pairId","execute","model","merge","getRevisionRootsAttributes","diff","markerNameToElements","dataDowncast","8090210CJACSP","removeMarker","changes","isEqual","110gLLUxA","detachRoot","newRevisionId","object","slice","range","markerRange","getWalker","isAtEnd","getRevisionDocumentData","destroy","583163AiEUuo","high","isSuggestion","isRemoveSuggestion","softBreak","RevisionHistoryUtils","_markMismatchedRemovedTags","getIndex","revision-comment:","requires","changeId","getClientRects","attributesBefore","setAttribute","_makeModelFromTape","updatePosition","concat","markersEnd","level","map","isObject","view","insert","data","loadRevisionData","getAttributes","revision-viewer","activeView","compare","writer","isAfter","2092968Jcnmhw","vid","isOfficialPlugin","roots","delete","elementStart","left","has","markers","getRootNames","revision:","find","ck-suggestion-preview-marker-","observeMarkers","isEnabled","ck-editor__editable__overlay","_getRevisionsRange","toViewRange","distance","start","_findChangeIdFromDomTarget","restoreRevision","hasClass","isRemoved","_getDiff","_threeWayMerge","target","forward","refresh","_markMarkers","activeChange","attachChange","markersStart","stop","getDomRoot","deletions","bind","nextSibling","return","addMarker:revision-suggestion:deletion","_sortAndFilterDiffChanges","rootName","text","conversion","isBlock","revisionHistoryLabel","showStack","5549028XWeVvp","suggestion","right","code","oldRevisionId","9ddmOTI","ck-revision-history-root--active","schema","_removeUnsupportedChanges","isLimit","element","isBefore","nextPosition","toViewElement","init","adapter","name","values","_step","dataToMarker","editingDowncast","locale","createAttributeElement","WidgetToolbarRepository","abs","-new","resolve","split","_markInsertions","_makeTape","consumable","restoreRevisionCallback","showNextChange","ck-revision-history-root-add","_cleanUp","_activeViewTarget","document","startsWith","clear","attribute:vid","mousedown","getRevision","527492udfsMq","indexOf","_cleanMarkers","_update","enableReadOnlyMode","2684992lqkejP","consume","reconvertMarker"];return(he=function(){return t})()}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=Rt(),fe.insert=Nt().bind(null,"head"),fe.domAPI=Tt(),fe.insertStyleElement=Dt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(t,e){const i=pe();return(me=function(t,e){return i[t-=346]})(t,e)}function pe(){const t=["isForwardNavigationEnabled","div","EDIT_X_OF_Y_REVISIONS","forward","set","_statusText","isReady","Show previous change","execute","bind","isNavigationMode","bindTemplate","X_OF_Y_CHANGES","span","isBackwardNavigationEnabled","ck-hidden","numberOfChanges","107568JzgxDQ","43053sbBhIf","ck-revision-history-ui__changes-navigation","997672jjxerW","setTemplate","Show next change","Loading...","No changes","NUMBER_OF_CHANGES","_isStatusLabelVisible","Total","55611ZzupPG","ck-revision-history-ui__changes-navigation__label","isEnabled","backward","ck-revision-history-ui__changes-navigation__navigation","3333337ifZMpo","1118984iEMFFx","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui","currentChangeNumber","fire","2493750buugtG"];return(pe=function(){return t})()}!function(t){const e=me,i=t();for(;;)try{if(300837===parseInt(e(371))/1+parseInt(e(363))/2+-parseInt(e(361))/3+-parseInt(e(377))/4+parseInt(e(382))/5+parseInt(e(360))/6+-parseInt(e(376))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ve extends _t.View{constructor(t){const e=me;super(t);const i=this[e(354)],n=new _t.ButtonView(t),s=new _t.ButtonView(t);this[e(347)](e(353),!1),this[e(347)](e(349),!1),this[e(347)](e(380),0),this[e(347)](e(359),0),this[e(347)](e(383),!1),this[e(347)](e(357),!1),this[e(352)](e(369)).to(this,e(349),this,e(359),((t,e)=>t&&e>0)),this[e(352)](e(348)).to(this,e(349),this,e(380),this,e(359),this,e(353),((i,n,s,r)=>{const o=e;if(!i)return ot(t,o(366));if(!s)return ot(t,o(367));const a=ot(t,o(368),s);return r?ot(t,o(355),[n+1,s]):a})),n[e(347)]({label:ot(t,e(350)),tooltip:!0,icon:wt.IconChevronUp}),s[e(347)]({label:ot(t,e(365)),tooltip:!0,icon:wt.IconChevronDown}),n[e(352)](e(373)).to(this,e(357)),s[e(352)](e(373)).to(this,e(383)),n.on(e(351),(()=>this[e(381)](e(351),e(374)))),s.on(e(351),(()=>this[e(381)](e(351),e(346)))),this[e(364)]({tag:e(384),attributes:{class:["ck",e(379),e(362)]},children:[{tag:e(356),attributes:{class:[e(378)]},children:[{tag:e(356),attributes:{class:[e(372),i.if(e(369),e(358),(t=>!t))]},children:[{text:i.to(e(353),(i=>i?ot(t,e(385))+": ":ot(t,e(370))+": "))}]},{text:i.to(e(348))}]},new _t.ToolbarSeparatorView,{tag:e(384),attributes:{class:[e(375)]},children:[n,s]}]})}}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=Rt(),ye.insert=Nt().bind(null,"head"),ye.domAPI=Tt(),ye.insertStyleElement=Dt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;function ke(){const t=["2050872ajCLQT","isPremiumPlugin","editor","210472lBYtqB","1487060bUrjbo","5496440PZKaLy","isOfficialPlugin","editing","pluginName","hide","RevisionViewerLoadingOverlay","9VzKoJF","roots","removeClass","674049LvJeHJ","20182mPLivi","940216QbmoWS","12dXiYtf","ck-editor__editable__loading-overlay","view","show","7Iqnjmx","change","addClass","document"];return(ke=function(){return t})()}const be=we;function we(t,e){const i=ke();return(we=function(t,e){return i[t-=377]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(191286===parseInt(e(383))/1*(parseInt(e(385))/2)+parseInt(e(382))/3+parseInt(e(396))/4+-parseInt(e(397))/5+-parseInt(e(393))/6*(parseInt(e(389))/7)+-parseInt(e(384))/8*(parseInt(e(379))/9)+parseInt(e(398))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);const _e=be(386);class Ie extends J.Plugin{static get[be(401)](){return be(378)}static get[be(399)](){return!0}static get[be(394)](){return!0}[be(388)](){const t=be,e=this[t(395)][t(400)][t(387)];e[t(390)]((i=>{const n=t;for(const t of e[n(392)][n(380)])i[n(391)](_e,t)}))}[be(377)](){const t=be,e=this[t(395)][t(400)][t(387)];e[t(390)]((i=>{const n=t;for(const t of e[n(392)][n(380)])i[n(381)](_e,t)}))}}const Se=Te;function Oe(){const t=["440nPflRY","add","init","config","currentChangeNumber","1187631LyTmqE","ck-revision-history-ui__back-to-editing","changesNavigation","2528065RGNamU","requires","hide","set","27595lXPWUr","isBackwardNavigationEnabled","isEnabled","bind","listenTo","3517641HJsoIl","isPremiumPlugin","restoreRevision","plugins","numberOfChanges","10MejVoA","closeRevisionViewerCallback","show","forward","Back to editing","change:isReady","get","componentFactory","commands","isOfficialPlugin","293645uLCoaN","174IZFQhG","Restore this revision","isForwardNavigationEnabled","isReady","revisionHistory","exitToEditing","RevisionViewerUI","editor","263914ocWPQn","pluginName","showPreviousChange","isNavigationMode","showNextChange","4687704PSLwhm","execute","12svUDAh"];return(Oe=function(){return t})()}function Te(t,e){const i=Oe();return(Te=function(t,e){return i[t-=143]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(855049===parseInt(e(157))/1*(parseInt(e(167))/2)+-parseInt(e(162))/3+parseInt(e(144))/4*(parseInt(e(153))/5)+parseInt(e(178))/6*(parseInt(e(186))/7)+parseInt(e(191))/8+-parseInt(e(150))/9+parseInt(e(145))/10*(-parseInt(e(177))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class xe extends J.Plugin{static get[Se(187)](){return Se(184)}static get[Se(176)](){return!0}static get[Se(163)](){return!0}static get[Se(154)](){return[oe,Ie]}[Se(147)](){const t=Se,e=this[t(185)],i=e[t(165)][t(173)](oe),n=e[t(165)][t(173)](Ie);e.ui[t(174)][t(146)](t(183),(i=>{const n=t,s=new _t.ButtonView(i);return s[n(156)]({label:ot(i,n(171)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:n(151)}),this[n(161)](s,n(143),(()=>{const t=n;e[t(148)][t(173)](t(182))[t(168)]()})),s})),e.ui[t(174)][t(146)](t(164),(i=>{const n=t,s=new _t.ButtonView(i);return s[n(156)]({label:ot(i,n(179)),withText:!0,tooltip:!0}),s[n(160)](n(159)).to(e[n(175)][n(173)](n(164))),this[n(161)](s,n(143),(()=>e[n(143)](n(164)))),s})),e.ui[t(174)][t(146)](t(152),(n=>{const s=t,r=new ve(n),o=e[s(175)][s(173)](s(188)),a=e[s(175)][s(173)](s(190));return r[s(160)](s(158)).to(o,s(159)),r[s(160)](s(180)).to(a,s(159)),r[s(160)](s(181),s(149),s(166),s(189)).to(i),this[s(161)](r,s(143),((t,i)=>{const n=s;e[n(143)](n(170)===i?n(190):n(188))})),r})),n[t(169)](),i.on(t(172),((e,i,s)=>{const r=t;s?n[r(155)]():n[r(169)]()}))}}var Ne=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Rt(),Ae.insert=Nt().bind(null,"head"),Ae.domAPI=Tt(),Ae.insertStyleElement=Dt();St()(Ne.A,Ae);Ne.A&&Ne.A.locals&&Ne.A.locals;const Re=De;function Me(){const t=["scrollWidth","2542385qnMQOC","9LzDOrP","value","listenTo","input","2357108xoqaNh","span","clientWidth","ck-revision-history-sidebar__revision-name","_tooltipString","13PtNYda","4qsTtYd","10nMVTDj","set","Enter the revision name","Revision name","fieldView","1oLCxvQ","1600739QaSaAX","1266324eRvQnY","ck-tooltip_multi-line","destroy","_updateTooltipText","30DddgIm","render","extendTemplate","element","bindTemplate","6816928mZWiTm","25616004DAzExS","placeholder","_resizeObserver","5488142sfjLVT"];return(Me=function(){return t})()}function De(t,e){const i=Me();return(De=function(t,e){return i[t-=135]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(626835===-parseInt(e(165))/1*(-parseInt(e(153))/2)+-parseInt(e(167))/3*(parseInt(e(159))/4)+parseInt(e(148))/5+parseInt(e(137))/6*(parseInt(e(166))/7)+-parseInt(e(142))/8*(-parseInt(e(149))/9)+-parseInt(e(160))/10*(parseInt(e(146))/11)+parseInt(e(143))/12*(-parseInt(e(158))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class Ee extends _t.LabeledFieldView{[Re(145)]=null;constructor(t,e){const i=Re;super(t,e);const n=this[i(141)];this[i(161)]({label:ot(t,i(163)),_tooltipString:""}),this[i(164)][i(144)]=ot(t,i(162)),this[i(139)]({tag:i(154),attributes:{class:[i(156)],"data-cke-tooltip-text":n.to(i(157)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(168)}})}[Re(138)](){const e=Re;super[e(138)](),this[e(145)]=new t.ResizeObserver(this[e(164)][e(140)],(()=>this[e(136)]())),this[e(151)](this[e(164)],e(152),(()=>this[e(136)]()))}[Re(135)](){const t=Re;super[t(135)](),this[t(145)]&&this[t(145)][t(135)]()}[Re(136)](){const t=Re,e=this[t(164)][t(140)];this[t(157)]=e[t(147)]>e[t(155)]&&e[t(150)]||""}}var Ve=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=Rt(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=Tt(),Ce.insertStyleElement=Dt();St()(Ve.A,Ce);Ve.A&&Ve.A.locals&&Ve.A.locals;function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=130]})(t,e)}function Fe(){const t=["ck-revision-history-sidebar__revision-author","0 0 11 10","ck-revision-history-sidebar__revision-author_creator","push","2023546eqESun","1656887hnYoCO","1758357DrEGxK","113528xskmGP","ck-revision-history-sidebar__revision-author__name","2305124vDBsVv","Revision author","setTemplate","span","21225VonYrV","498UZECTe","set","946062mSLvir","name","35jhnAHE","Revision creator","210iVieeN"];return(Fe=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(965828===-parseInt(e(133))/1+-parseInt(e(132))/2+-parseInt(e(144))/3+-parseInt(e(137))/4+parseInt(e(141))/5*(parseInt(e(142))/6)+-parseInt(e(146))/7*(-parseInt(e(135))/8)+parseInt(e(134))/9*(parseInt(e(148))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class Le extends _t.View{constructor(t,e,i){const n=je;super(t);const s=new _t.IconView;s[n(143)]({content:wt.IconUser,viewBox:n(150)});const r=["ck",n(149)];i&&r[n(131)](n(130));const o=[{tag:n(140),attributes:{class:["ck",n(136)],title:ot(t,n(i?147:138))},children:[s,e[n(145)]]}];this[n(139)]({tag:"li",attributes:{class:r},children:o})}}function Pe(t,e){var i=We();return(Pe=function(t,e){return i[t-=279]})(t,e)}function We(){var t=["54738uWGrsl","8cHzfWh","288WaYBaX","22844gWsWmC","toLocaleTimeString","1766394yINDKi","numeric","2351890IgxWJR","4135912FfpMuo","2fwTnSY","116365NnnqCq","1939385VtwitT","toLocaleDateString","long","850KOAnCJ"];return(We=function(){return t})()}!function(t){for(var e=Pe,i=t();;)try{if(283021===parseInt(e(279))/1*(-parseInt(e(293))/2)+parseInt(e(286))/3*(parseInt(e(287))/4)+-parseInt(e(291))/5+-parseInt(e(289))/6+-parseInt(e(280))/7*(parseInt(e(285))/8)+parseInt(e(284))/9*(parseInt(e(283))/10)+parseInt(e(292))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var ze=i(11),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Rt(),Ue.insert=Nt().bind(null,"head"),Ue.domAPI=Tt(),Ue.insertStyleElement=Dt();St()(ze.A,Ue);ze.A&&ze.A.locals&&ze.A.locals;function He(){const t=["1821252saTpYu","add","model","10pmJZsT","name","menu","ck-on","extendTemplate","listenTo","1464eozbeX","213183ZtoQZR","bindTemplate","class","menuitem","Show more items","change:isActionsDropdownOpen","isEnabled","button","bind","isVisible","stopPropagation","listView","source","panelPosition","_action","isOpen","13575jtKAWv","action","11330011GyVpHc","find","74196DQCDIn","isActionsDropdownOpen","Name this revision","isReady","locale","312HOYVbn","8yAEeRj","8558592irQTTb","buttonView","Restore this revision","set","items","map","Compare against selected","execute","ck-revision-history-sidebar__revision__actions","7792204bJzOpc","first","children","function"];return(He=function(){return t})()}function Ze(t,e){const i=He();return(Ze=function(t,e){return i[t-=217]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(718180===-parseInt(e(261))/1*(parseInt(e(217))/2)+parseInt(e(231))/3+-parseInt(e(240))/4*(-parseInt(e(257))/5)+-parseInt(e(218))/6+-parseInt(e(227))/7+-parseInt(e(266))/8*(-parseInt(e(241))/9)+-parseInt(e(234))/10*(-parseInt(e(259))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(216),qe={attributes:{"data-cke":!0}};qe.setAttributes=Rt(),qe.insert=Nt().bind(null,"head"),qe.domAPI=Tt(),qe.insertStyleElement=Dt();St()($e.A,qe);$e.A&&$e.A.locals&&$e.A.locals;const Be=Ye;function Ye(t,e){const i=Je();return(Ye=function(t,e){return i[t-=448]})(t,e)}function Je(){const t=["isEnabled","set","220","name","ck-revision-history-sidebar__revision__controls-wrapper","unshift","isHighlighted","map","length","authors","ck-revision-history-sidebar__revision-authors","value","ck-revision-history-sidebar__revision","isReady","ck-reset","_requireRevisionName","ck-disabled","isSelected",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision__date","filter","bind","ck-revision-history-sidebar__revision-wrapper","closest","srcElement","7364756alSdhd","733078WYTDGv","span","div","1111790YORRMW","bindTemplate","creator","highlight","ck-revision-history-sidebar__revision_highlighted","isConfirm","revisionNameView","ck-revision-history-sidebar__actions_dropdown_open","change","setName","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","unhighlight","from","createdAt","listenTo","select","_revision","element","deselect","2756088nqMaeU","fire","uiLanguage","8214150ObcbOB","render","isActionsDropdownOpen","extendTemplate","revisionActionsView","_createdAtFormatted","setTemplate","3amfcix","ck-revision-history-sidebar__revision_selected","6860055sGsjmh","fieldView","3135336lslCUX"];return(Je=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(719406===parseInt(e(510))/1+parseInt(e(507))/2*(-parseInt(e(476))/3)+-parseInt(e(466))/4+parseInt(e(478))/5+-parseInt(e(469))/6+parseInt(e(506))/7+-parseInt(e(480))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ge extends((0,G.ConfirmMixin)(_t.View)){id;[Be(453)];[Be(473)];[Be(463)];[Be(496)];constructor(e,i,n,s){const r=Be;super(e);const o=this[r(448)],a=function(t,e){const i=r,n=Array[i(459)](e[i(490)])[i(501)]((t=>t!=e[i(449)]));return e[i(449)]&&n[i(486)](e[i(449)]),n[i(488)]((n=>new Le(t,n,n==e[i(449)])))}(e,i);this.id=i.id,this[r(463)]=i,this[r(496)]=s,this[r(502)](r(484),r(460)).to(i),this[r(502)](r(474)).to(this,r(460),(t=>{return i=e[r(468)],(n=t)[(s=Pe)(281)](i,{month:s(282),day:s(290)})+", "+n[s(288)](i,{hour:s(290),minute:s(290)});var i,n,s})),this[r(482)](r(498),!1),this[r(482)](r(487),!1),this[r(482)](r(471),!1),this[r(482)](r(494),!1),this[r(482)](r(481),!1),this[r(453)]=new Ee(e,_t.createLabeledInputText),this[r(453)][r(479)][r(472)]({attributes:{maxlength:r(483)}}),this[r(453)][r(479)][r(502)](r(492)).to(this,r(484),(t=>t||this[r(474)])),this[r(453)][r(502)](r(481)).to(this,r(498),this,r(481),((t,e)=>t&&e)),this[r(473)]=n&&n[r(489)]?function(e,i){const n=Ze,s=e[n(242)],r=e[n(265)],o=(0,_t.createDropdown)(r);o[n(254)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(265)],s={"Compare against selected":ot(n,i(224)),"Name this revision":ot(n,i(263)),"Restore this revision":ot(n,i(220))};return e[i(223)]((t=>{const e=i,n=s[t[e(235)]];return n&&n!==t[e(235)]&&(t[e(235)]=n),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:s(248),model:new _t.UIModel({label:t[s(235)],class:t[s(243)],withText:!0,role:s(244),_action:t[s(258)]})};i[s(233)][s(249)](s(247)).to(e,s(262),(i=>s(230)!=typeof t[s(247)]||!i||t[s(247)](e))),o[s(232)](i)}return o}(e,i);return e[n(249)](n(262)).to(o,n(256)),o[n(219)][n(221)]({label:ot(r,n(245)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[n(238)]({attributes:{class:[n(226),s.if(n(262),n(237))]},on:{click:s.to((t=>t[n(251)]()))}}),o.on(n(225),(t=>{const i=n;e[i(264)]&&i(230)==typeof t[i(253)][i(255)]&&t[i(253)][i(255)](e)})),(0,_t.addListToDropdown)(o,a,{role:n(236)}),o[n(239)](e,n(246),((t,s,r)=>{const a=n;if(r)for(const t of o[a(252)][a(222)]){const n=t[a(229)][a(228)],s=i[a(260)]((t=>t[a(258)]===n[a(255)]))[a(250)];t[a(250)]=void 0===s||s(e)}})),o}(this,n):"",this[r(473)]&&this[r(473)][r(502)](r(481)).to(this),this[r(475)]({tag:r(509),attributes:{class:["ck",r(495),r(503),o.if(r(452),r(457))]},children:[{tag:r(509),attributes:{class:["ck",r(495),r(493),o.if(r(481),r(497),(t=>!t)),o.if(r(498),r(477)),o.if(r(487),r(451)),o.if(r(471),r(454))]},children:[this[r(453)],{tag:r(508),attributes:{class:["ck",r(500)]},children:[{text:o.to(r(474))}]},{tag:r(509),attributes:{class:["ck",r(485)]},children:[{tag:"ul",attributes:{class:["ck",r(491)]},children:a}]},this[r(473)]],on:{click:o.to((t=>{const e=r;t[e(505)][e(504)](e(499))||this[e(494)]&&this[e(481)]&&this[e(467)](e(462),{id:this.id})}))}}]})}[Be(470)](){const t=Be;super[t(470)]();const e=this[t(453)][t(479)][t(464)];this[t(461)](e,t(455),(()=>{const i=t;this[i(496)]&&!e[i(492)]||this[i(467)](i(456),{id:this.id,name:e[i(492)]}),e[i(492)]||(e[i(492)]=this[i(484)]?this[i(484)]:this[i(474)])}))}[Be(462)](){this[Be(498)]=!0}[Be(465)](){this[Be(498)]=!1}[Be(450)](){this[Be(487)]=!0}[Be(458)](){this[Be(487)]=!1}}class Ke extends Error{}class Qe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Xe extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Ke{}class ii extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Ke{}class si extends Ke{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ai={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ri{get type(){throw new si}get name(){throw new si}get ianaName(){return this.name}get isUniversal(){throw new si}offsetName(t,e){throw new si}formatOffset(t,e){throw new si}offset(t){throw new si}equals(t){throw new si}get isValid(){throw new si}}let Mi=null;class Di extends Ri{static get instance(){return null===Mi&&(Mi=new Di),Mi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xn(t,e,i)}formatOffset(t,e){return ns(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Vi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class ji extends Ri{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new ji(t)),e}static resetCache(){Ci.clear(),Ei.clear()}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=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xn(t,e,i,this.name)}formatOffset(t,e){return ns(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Vi[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Jn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Fi={};const Li=new Map;function Pi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const Wi=new Map;const zi=new Map;let Ui=null;const Hi=new Map;function Zi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const $i=new Map;function qi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Bi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...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 n=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return zn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Yi{constructor(t,e,i){let n;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&&ji.create(i).valid?(n=i,this.dt=t):(n="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,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=Pi(e,s)}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 Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=zi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),zi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={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 ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[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 Gi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||vn.defaultLocale,o=r||(s?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||vn.defaultNumberingSystem,c=i||vn.defaultOutputCalendar,u=Pn(n)||vn.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Ui=null,Li.clear(),Wi.clear(),zi.clear(),Hi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Ki.create(t,e,i,n)}constructor(t,e,i,n,s){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,n;try{e=Pi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Pi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,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=s,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"===Zi(t.locale).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?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Pn(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 qi(this,t,cs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=ho.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return qi(this,t,ds,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=ho.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return qi(this,void 0,(()=>fs),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return qi(this,t,gs,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Fi[i];return n||(n=new Intl.ListFormat(t,e),Fi[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Zi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Gi,...e}),$i.set(t,e)}return e}(this.locale):Gi}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 Qi=null;class Xi extends Ri{static get utcInstance(){return null===Qi&&(Qi=new Xi(0)),Qi}static instance(t){return 0===t?Xi.utcInstance:new Xi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Xi(ts(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ns(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ns(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ns(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 tn extends Ri{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 en(t,e){if(Dn(t)||null===t)return e;if(t instanceof Ri)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?Xi.utcInstance:Xi.parseSpecifier(i)||ji.create(t)}return En(t)?Xi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new tn(t)}const nn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},sn={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]},rn=nn.hanidec.replace(/[\[|\]]/g,"").split("");const on=new Map;function an({numberingSystem:t},e=""){const i=t||"latn";let n=on.get(i);void 0===n&&(n=new Map,on.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${nn[i]}${e}`),n.set(e,s)),s}let cn,un=()=>Date.now(),ln="system",hn=null,dn=null,fn=null,mn=60,pn=null;class vn{static get now(){return un}static set now(t){un=t}static set defaultZone(t){ln=t}static get defaultZone(){return en(ln,Di.instance)}static get defaultLocale(){return hn}static set defaultLocale(t){hn=t}static get defaultNumberingSystem(){return dn}static set defaultNumberingSystem(t){dn=t}static get defaultOutputCalendar(){return fn}static set defaultOutputCalendar(t){fn=t}static get defaultWeekSettings(){return pn}static set defaultWeekSettings(t){pn=Pn(t)}static get twoDigitCutoffYear(){return mn}static set twoDigitCutoffYear(t){mn=t%100}static get throwOnInvalid(){return cn}static set throwOnInvalid(t){cn=t}static resetCaches(){Ki.resetCache(),ji.resetCache(),ho.resetCache(),on.clear()}}class gn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const yn=[0,31,59,90,120,151,181,212,243,273,304,334],kn=[0,31,60,91,121,152,182,213,244,274,305,335];function bn(t,e){return new gn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function wn(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function _n(t,e,i){return i+(qn(t)?kn:yn)[e-1]}function In(t,e){const i=qn(t)?kn:yn,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Sn(t,e){return(t-e+7)%7+1}function On(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=_n(n,s,r),a=Sn(wn(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Kn(c,e,i)):u>Kn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ss(t)}}function Tn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=Sn(wn(n,1,e),i),a=Bn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Bn(c)):u>a?(c=n+1,u-=Bn(n)):c=n;const{month:l,day:h}=In(c,u);return{year:c,month:l,day:h,...ss(t)}}function xn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:_n(e,i,n),...ss(t)}}function Nn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=In(e,i);return{year:e,month:n,day:s,...ss(t)}}function An(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(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 Rn(t){const e=Vn(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Yn(t.year,t.month));return e?i?!n&&bn("day",t.day):bn("month",t.month):bn("year",t.year)}function Mn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&bn("millisecond",s):bn("second",n):bn("minute",i):bn("hour",e)}function Dn(t){return void 0===t}function En(t){return"number"==typeof t}function Vn(t){return"number"==typeof t&&t%1==0}function Cn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Fn(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s}),null)[1]}function Ln(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Pn(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Wn(t,1,7))))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Vn(t)&&t>=e&&t<=i}function zn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Un(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Hn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function Zn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function qn(t){return t%4==0&&(t%100!=0||t%400==0)}function Bn(t){return qn(t)?366:365}function Yn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Jn(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 Gn(t,e,i){return-Sn(wn(t,1,e),i)+e-1}function Kn(t,e=4,i=1){const n=Gn(t,e,i),s=Gn(t+1,e,i);return(Bn(t)-n+s)/7}function Qn(t){return t>99?t:t>vn.twoDigitCutoffYear?1900+t:2e3+t}function Xn(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function ts(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function es(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function is(t,e){const i={};for(const n in t)if(Ln(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=es(s)}return i}function ns(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${zn(i,2)}:${zn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${zn(i,2)}${zn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ss(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const rs=["January","February","March","April","May","June","July","August","September","October","November","December"],os=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],as=["J","F","M","A","M","J","J","A","S","O","N","D"];function cs(t){switch(t){case"narrow":return[...as];case"short":return[...os];case"long":return[...rs];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 us=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ls=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hs=["M","T","W","T","F","S","S"];function ds(t){switch(t){case"narrow":return[...hs];case"short":return[...ls];case"long":return[...us];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fs=["AM","PM"],ms=["Before Christ","Anno Domini"],ps=["BC","AD"],vs=["B","A"];function gs(t){switch(t){case"narrow":return[...vs];case"short":return[...ps];case"long":return[...ms];default:return null}}function ys(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const ks={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:Ti,ffff:Ni,F:_i,FF:Si,FFF:xi,FFFF:Ai};class bs{static create(t,e={}){return new bs(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return ks[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 zn(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(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(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 fs[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return cs(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return ds(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bs.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gs(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ys(bs.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 n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({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 n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({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 n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({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 n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({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}},n=bs.parseFormat(e),s=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return ys(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter((t=>t)))))}}const ws=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _s(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Is(...t){return e=>t.reduce((([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function Ss(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Os(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Un(e[i+s]);return[n,null,i+s]}}const Ts=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xs=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ns=RegExp(`${xs.source}${`(?:${Ts.source}?(?:\\[(${ws.source})\\])?)?`}`),As=RegExp(`(?:T${Ns.source})?`),Rs=Os("weekYear","weekNumber","weekDay"),Ms=Os("year","ordinal"),Ds=RegExp(`${xs.source} ?(?:${Ts.source}|(${ws.source}))?`),Es=RegExp(`(?: ${Ds.source})?`);function Vs(t,e,i){const n=t[e];return Dn(n)?i:Un(n)}function Cs(t,e){return[{hours:Vs(t,e,0),minutes:Vs(t,e+1,0),seconds:Vs(t,e+2,0),milliseconds:Zn(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=ts(t[e+1],t[e+2]);return[{},i?null:Xi.instance(n),e+3]}function Fs(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ls=RegExp(`^T?${xs.source}$`),Ps=/^-?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 Ws(t){const[e,i,n,s,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(Hn(i)),months:d(Hn(n)),weeks:d(Hn(s)),days:d(Hn(r)),hours:d(Hn(o)),minutes:d(Hn(a)),seconds:d(Hn(c),"-0"===c),milliseconds:d(Zn(u),h)}]}const zs={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Us(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Un(e)):Un(e),month:os.indexOf(i)+1,day:Un(n),hour:Un(s),minute:Un(r)};return o&&(a.second=Un(o)),t&&(a.weekday=t.length>3?us.indexOf(t)+1:ls.indexOf(t)+1),a}const Hs=/^(?:(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 Zs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Us(e,s,n,i,r,o,a);let f;return f=c?zs[c]:u?0:ts(l,h),[d,new Xi(f)]}const $s=/^(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$/,qs=/^(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$/,Bs=/^(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 Ys(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,s,n,i,r,o,a),Xi.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,a,i,n,s,r,o),Xi.utcInstance]}const Gs=_s(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Ks=_s(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Qs=_s(/(\d{4})-?(\d{3})/,As),Xs=_s(Ns),tr=Is((function(t,e){return[{year:Vs(t,e),month:Vs(t,e+1,1),day:Vs(t,e+2,1)},null,e+3]}),Cs,js,Fs),er=Is(Rs,Cs,js,Fs),ir=Is(Ms,Cs,js,Fs),nr=Is(Cs,js,Fs);const sr=Is(Cs);const rr=_s(/(\d{4})-(\d\d)-(\d\d)/,Es),or=_s(Ds),ar=Is(Cs,js,Fs);const cr="Invalid Duration",ur={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}},lr={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},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,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:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(t,e,i=!1){const n={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 kr(n)}function gr(t,e){let i=e.milliseconds??0;for(const n of pr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight(((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s}),null),mr.reduce(((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n}),null)}class kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return kr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kr({values:is(t,kr.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(En(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Ss(t,[Ps,Ws])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Ss(t,[Ls,sr])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new ti(i);return new kr({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 ii(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?bs.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map((e=>{const i=this.values[e];return Dn(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+=$n(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 ho.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?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(Ln(e.values,t)||Ln(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.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]=es(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...is(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return vr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>kr.normalizeUnit(t)));const e={},i={},n=this.toObject();let s;for(const r of mr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;En(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else En(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return yr(this.matrix,e),vr(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 vr(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 n of mr)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const br="Invalid Interval";class wr{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 ni("need to specify a reason the Interval is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Xe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),n=fo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.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:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,n);return null==s?new wr({start:i,end:n}):s}static after(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.fromDateTimes(n,n.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=ho.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=ho.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return wr.fromDateTimes(t,r);if(s){const i=kr.fromISO(n,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):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 n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.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?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(wr.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=kr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*s)));i=+t>+this.e?this.e:t,r.push(wr.fromDateTimes(n,i)),n=i,s+=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:wr.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 wr.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 n=[],s=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...s).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&&n.push(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(n)}difference(...t){return wr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[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=ci,e={}){return this.isValid?bs.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=vn.defaultZone){const e=ho.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return en(t,vn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Cn(),localeWeek:jn()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(kr.fromMillis(n).as("days"))}function Sr(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["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=Ir(t,e);return(i-i%7)/7}],["days",Ir]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=kr.fromObject(r,n);return u.length>0?kr.fromMillis(c,n).shiftTo(...u).plus(l):l}function Or(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 n=t.charCodeAt(i);if(-1!==t[i].search(nn.hanidec))e+=rn.indexOf(t[i]);else for(const t in sn){const[i,s]=sn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,xr=new RegExp(Tr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(xr,Tr)}function Ar(t){return t.replace(/\./g,"").replace(xr," ").toLowerCase()}function Rr(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex((t=>Ar(i)===Ar(t)))+e}}function Mr(t,e){return{regex:t,deser:([,t,e])=>ts(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={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 Vr=null;function Cr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Lr(bs.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Cr(bs.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=an(e),n=an(e,"{2}"),s=an(e,"{3}"),r=an(e,"{4}"),o=an(e,"{6}"),a=an(e,"{1,2}"),c=an(e,"{1,3}"),u=an(e,"{1,6}"),l=an(e,"{1,9}"),h=an(e,"{2,4}"),d=an(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 Rr(e.eras("short"),0);case"GG":return Rr(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Qn);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(n);case"MMM":return Rr(e.months("short",!0),1);case"MMMM":return Rr(e.months("long",!0),1);case"LLL":return Rr(e.months("short",!1),1);case"LLLL":return Rr(e.months("long",!1),1);case"o":case"S":return Or(c);case"ooo":case"SSS":return Or(s);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Or(i);case"a":return Rr(e.meridiems(),0);case"EEE":return Rr(e.weekdays("short",!1),1);case"EEEE":return Rr(e.weekdays("long",!1),1);case"ccc":return Rr(e.weekdays("short",!0),1);case"cccc":return Rr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Mr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Mr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\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 n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Ln(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Dn(t.z)||(i=ji.create(t.z)),Dn(t.Z)||(i||(i=new Xi(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(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),Dn(t.u)||(t.S=Zn(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(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 n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Ln(i,"a")&&Ln(i,"H"))throw new ei("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,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 Fr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=bs.create(e,t).dtFormatter((Vr||(Vr=ho.fromMillis(1555555555555)),Vr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(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=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s)))}const Pr="Invalid DateTime",Wr=864e13;function zr(t){return new gn("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=On(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=On(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Zr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function qr(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 Br(t,e,i){return $r(Jn(t),e,i)}function Yr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Yn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=kr.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=Jn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=ho.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return ho.invalid(new gn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Gr(t,e,i=!0){return t.isValid?bs.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=zn(t.c.year,i?6:4),e?(n+="-",n+=zn(t.c.month),n+="-",n+=zn(t.c.day)):(n+=zn(t.c.month),n+=zn(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=zn(t.c.hour);return e?(o+=":",o+=zn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=zn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zn(Math.trunc(-t.o/60)),o+=":",o+=zn(Math.trunc(-t.o%60))):(o+="+",o+=zn(Math.trunc(t.o/60)),o+=":",o+=zn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Xr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],so=["year","ordinal","hour","minute","second","millisecond"];function ro(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 ii(t);return e}(t)}}function oo(t,e){const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(zr(i));const n=Ki.fromObject(e);let s,r;if(Dn(t.year))s=vn.now();else{for(const e of io)Dn(t[e])&&(t[e]=Xr[e]);const e=Rn(t)||Mn(t);if(e)return ho.invalid(e);const n=function(t){if(void 0===uo&&(uo=vn.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[s,r]=Br(t,n,i)}return new ho({ts:s,zone:i,loc:n,o:r})}function ao(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function co(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 uo;const lo=new Map;class ho{constructor(t){const e=t.zone||vn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gn("invalid input"):null)||(e.isValid?null:zr(e));this.ts=Dn(t.ts)?vn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=En(t.o)&&!t.old?t.o:e.offset(this.ts);n=qr(this.ts,r),i=Number.isNaN(n.year)?new gn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return oo({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return t.zone=Xi.utcInstance,oo({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return ho.invalid("invalid input");const s=en(e.zone,vn.defaultZone);return s.isValid?new ho({ts:i,zone:s,loc:Ki.fromObject(e)}):ho.invalid(zr(s))}static fromMillis(t,e={}){if(En(t))return t<-Wr||t>Wr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:en(e.zone,vn.defaultZone),loc:Ki.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(En(t))return new ho({ts:1e3*t,zone:en(e.zone,vn.defaultZone),loc:Ki.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(zr(i));const n=Ki.fromObject(e),s=is(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=An(s,n),a=vn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=qr(a,c);m?(p=no,v=to,g=On(g,r,o)):u?(p=so,v=eo,g=xn(g)):(p=io,v=Xr);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Vn(t.weekYear),s=Wn(t.weekNumber,1,Kn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&bn("weekday",t.weekday):bn("week",t.weekNumber):bn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Vn(t.year),i=Wn(t.ordinal,1,Bn(t.year));return e?!i&&bn("ordinal",t.ordinal):bn("year",t.year)}(s):Rn(s),b=k||Mn(s);if(b)return ho.invalid(b);const w=m?Tn(s,r,o):u?Nn(s):s,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Ss(t,[Gs,tr],[Ks,er],[Qs,ir],[Xs,nr])}(t);return Jr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Ss(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hs,Zs])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Ss(t,[$s,Ys],[qs,Ys],[Bs,Js])}(t);return Jr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new ni("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Fr(t,e,i);return[n,s,r,o]}(r,t,e);return u?ho.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Ss(t,[rr,tr],[or,ar])}(t);return Jr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Qe(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Ki.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Cr(bs.parseFormat(t),Ki.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){uo=void 0,lo.clear()}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?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?xn(this.c).ordinal:NaN}get monthShort(){return this.isValid?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.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=Jn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=qr(a,r),l=qr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Zr(this,{ts:a}),Zr(this,{ts:c})]:[this]}get isInLeapYear(){return qn(this.year)}get daysInMonth(){return Yn(this.year,this.month)}get daysInYear(){return this.isValid?Bn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Kn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Kn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=bs.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(Xi.instance(t),e)}toLocal(){return this.setZone(vn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=en(t,vn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Br(i,e,t)}return Zr(this,{ts:n,zone:t})}return ho.invalid(zr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Zr(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=is(t,ro),{minDaysInFirstWeek:i,startOfWeek:n}=An(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;s?l=Tn({...On(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Yn(l.year,l.month),l.day))):l=Nn({...xn(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Zr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=kr.normalizeUnit(t);switch(n){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"===n)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"===n){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?bs.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bs.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bs.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Kr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Gr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Gr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Gr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Gr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Pr}[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 kr.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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||ho.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),ao(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new ni("min requires all arguments be DateTimes");return Fn(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new ni("max requires all arguments be DateTimes");return Fn(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Fr(Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Ki.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`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?ho.invalid(u):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return xi}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&En(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(t,e){const i=po();return(mo=function(t,e){return i[t-=428]})(t,e)}function po(){const t=["month","startOf","monthLong","setLocale","3411605TzpOae","toJSDate","minus","fromJSDate","298400JMBQlB","58nHvQlM","6jPiSzB","year","36yXmdel","toRelativeCalendar","12HSDECj","day","local","hasSame","6161012dlHWNG","weekdayLong","4552hoCkPD","30424upUwMi","2316068hAWcHV","week","2129138HOyEsf","3DUaOft","4907juWHNy"];return(po=function(){return t})()}function vo(t,e){const i=mo,n=ho[i(438)](t)[i(434)](e),s=ho[i(447)](),r=s[i(437)]({days:1})[i(432)](i(446));let o,a;return n[i(448)](s,i(446))?(o=n[i(432)](i(446))[i(436)](),a=n[i(444)]()):n[i(448)](r,i(446))?(o=r[i(436)](),a=n[i(444)]()):n[i(448)](s,i(454))?(o=n[i(432)](i(454))[i(436)](),a=n[i(450)]||""):n[i(448)](s,i(442))?(o=n[i(432)](i(431))[i(436)](),a=n[i(433)]||""):(o=n[i(432)](i(442))[i(436)](),a=String(n[i(442)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=mo,i=t();for(;;)try{if(567949===parseInt(e(440))/1*(parseInt(e(452))/2)+parseInt(e(429))/3*(-parseInt(e(453))/4)+parseInt(e(435))/5*(-parseInt(e(441))/6)+-parseInt(e(430))/7*(-parseInt(e(451))/8)+-parseInt(e(443))/9*(parseInt(e(439))/10)+parseInt(e(428))/11*(parseInt(e(445))/12)+parseInt(e(449))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=Rt(),yo.insert=Nt().bind(null,"head"),yo.domAPI=Tt(),yo.insertStyleElement=Dt();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;function ko(t,e){const i=wo();return(ko=function(t,e){return i[t-=435]})(t,e)}const bo=ko;function wo(){const t=["351930qQMIhs","ck-revision-history-sidebar__time-period__revisions","2516391mHaceY","div","146lHWLib","createCollection","_revisionActions","ck-revision-history-sidebar__time-period","13555HDiDIh","removeRevision","381933NOUOpA","revisionViews","setTemplate","1605050msGBkp","184wYMJYY","addRevision","388uwWBBb","select","setName","uiLanguage","startDate","2837NARuuZ","delegate","span","locale","localizedPeriodName","remove","add","ck-revision-history-sidebar__time-period__label","find","55993LKYuzh","_requireRevisionName"];return(wo=function(){return t})()}!function(t){const e=ko,i=t();for(;;)try{if(235653===parseInt(e(438))/1*(parseInt(e(453))/2)+parseInt(e(459))/3+-parseInt(e(465))/4*(-parseInt(e(457))/5)+-parseInt(e(449))/6+parseInt(e(447))/7*(-parseInt(e(463))/8)+-parseInt(e(451))/9+parseInt(e(462))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class _o extends _t.View{[bo(437)];[bo(460)];[bo(455)];[bo(448)];constructor(t,e,i,n){const s=bo;super(t);const r=vo(e,this[s(441)][s(436)])[s(442)];this[s(437)]=e,this[s(460)]=this[s(454)](),this[s(455)]=i,this[s(448)]=n,this[s(460)][s(439)](s(466)).to(this),this[s(460)][s(439)](s(435)).to(this),this[s(461)]({tag:s(452),attributes:{class:["ck",s(456)]},children:[{tag:s(440),attributes:{class:["ck",s(445)]},children:[{text:r}]},{tag:s(452),attributes:{class:["ck",s(450)]},children:this[s(460)]}]})}[bo(464)](t){const e=bo,i=new Ge(this[e(441)],t,this[e(455)],this[e(448)]);this[e(460)][e(444)](i)}[bo(458)](t){const e=bo,i=this[e(460)][e(446)]((e=>e.id===t.id));this[e(460)][e(443)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=Rt(),So.insert=Nt().bind(null,"head"),So.domAPI=Tt(),So.insertStyleElement=Dt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(t,e){const i=To();return(Oo=function(t,e){return i[t-=436]})(t,e)}function To(){const t=["ck-reset_all","Revision history","span","div","854676vOHGgi","15071LdrsDe","45YbEPKx","219826pffCpy","2270392JyiDKy","7484EyHNeY","9XVukpA","4558995gxvMuK","content","ck-revision-history-sidebar__header__label","2364qMfXZo","ck-revision-history-sidebar__header","6697750HHriQq","setTemplate"];return(To=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(473551===parseInt(e(437))/1+-parseInt(e(440))/2*(-parseInt(e(443))/3)+parseInt(e(442))/4*(parseInt(e(439))/5)+parseInt(e(447))/6*(-parseInt(e(438))/7)+parseInt(e(441))/8+parseInt(e(444))/9+-parseInt(e(449))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends _t.View{constructor(t){const e=Oo;super(t);const i=new _t.IconView;i[e(445)]=wt.IconHistory,this[e(450)]({tag:e(436),attributes:{class:["ck",e(451),e(448)]},children:[i,{tag:e(453),attributes:{class:["ck",e(446)]},children:[ot(t,e(452))]}]})}}var No=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Rt(),Ao.insert=Nt().bind(null,"head"),Ao.domAPI=Tt(),Ao.insertStyleElement=Dt();St()(No.A,Ao);No.A&&No.A.locals&&No.A.locals;const Ro=Do;function Mo(){const t=["createdAt","78785LgivJP","map","ck-disabled","fire","flat","timePeriodViews","1vOtjKn","removeRevision","revisionSelected","revisionSetName","uiLanguage","ck-revision-history-sidebar__timeline","4cpfUEz","set","ck-reset","bindTemplate","_revisionActions","highlight","deselect","_addRevision","_revisions","delegate","getTime","_removeRevision","select","addRevision","add","114FjtFFW","530004EYQOAA","21126985jlBdNI","_requireRevisionName","createCollection","revisionViews","startDate","highlightRevisions","unhighlight","1568517EjmDjv","setTemplate","isEnabled","render","locale","div","2260431sZRxOz","remove","some","1366771HypWsF","get","selectRevision","ck-revision-history-sidebar","_getTimePeriodViewByStartDate","setName","ck-rounded-corners","8DkEKox","7963210CzJzoh","find"];return(Mo=function(){return t})()}function Do(t,e){const i=Mo();return(Do=function(t,e){return i[t-=108]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(511188===parseInt(e(134))/1*(parseInt(e(156))/2)+parseInt(e(108))/3*(-parseInt(e(140))/4)+parseInt(e(128))/5*(-parseInt(e(155))/6)+-parseInt(e(117))/7*(-parseInt(e(124))/8)+-parseInt(e(114))/9+-parseInt(e(125))/10+parseInt(e(157))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends _t.View{[Ro(133)];[Ro(148)];[Ro(144)];[Ro(158)];constructor(t,e,i,n){const s=Ro;super(t);const r=this[s(143)];this[s(133)]=this[s(159)](),this[s(133)][s(149)](s(152)).to(this),this[s(133)][s(149)](s(122)).to(this),this[s(148)]=e,this[s(144)]=i,this[s(158)]=n,this.on(s(152),((t,e)=>{const i=s;this[i(131)](i(136),e)})),this.on(s(122),((t,e)=>{const i=s;this[i(131)](i(137),e)})),this[s(141)](s(110),!1),this[s(109)]({tag:s(113),attributes:{class:["ck",s(142),s(123),s(120)]},children:[new xo(t),{tag:s(113),attributes:{class:["ck",s(139),r.if(s(110),s(130),(t=>!t))]},children:this[s(133)]}]})}[Ro(111)](){const t=Ro;super[t(111)]();for(const e of this[t(148)])this[t(147)](e);this[t(148)].on(t(154),((e,i)=>{this[t(147)](i)})),this[t(148)].on(t(115),((e,i)=>{this[t(151)](i)}))}get[Ro(160)](){const t=Ro;return this[t(133)][t(129)]((e=>e[t(160)][t(129)]((t=>t))))[t(132)]()}[Ro(119)](t){const e=Ro;for(const i of this[e(160)])t&&t.id===i.id?i[e(152)]():i[e(146)]()}[Ro(162)](t){const e=Ro;for(const i of this[e(160)])t[e(116)]((({id:t})=>t===i.id))?i[e(145)]():i[e(163)]()}[Ro(147)](t){const e=Ro,i=vo(t[e(127)],this[e(112)][e(138)])[e(161)];let n=this[e(133)][e(118)](0);n&&n[e(161)][e(150)]()===i[e(150)]()||(n=new _o(this[e(112)],i,this[e(144)],this[e(158)]),this[e(133)][e(154)](n)),n[e(153)](t)}[Ro(151)](t){const e=Ro,i=vo(t[e(127)],this[e(112)][e(138)])[e(161)];this[e(121)](i)[e(135)](t)}[Ro(121)](t){const e=Ro;return this[e(133)][e(126)]((i=>i[e(161)][e(150)]()===t[e(150)]()))}}function Vo(){const t=["_handleEditorDataReady","assign","isSelected","data","add","diff","compare","fieldView","isVisible","destroy","focus","isReady","length","revisionViews","isEnabled","defaultRevisionActions","locale","getEarlierVisibleRevision","10wHWTrP","compareAgainstSelected","pluginName","remove","selectRevision","970360KCJtOL","name","setName","repository","config","770910plfUyn","string","getIndex","9WwGlRc","render","revisionHistory.viewerSidebarContainer","10242LhtUfx","isPremiumPlugin","element","_revisionsRepository","_revisionViewer","126JJfsQI","16718810jzBJEy","restoreRevisionCallback","getRevisionsInDiff","_sidebarView","revisionHistory.revisionActions","isOfficialPlugin","getRevision","newRevisionId","timePeriodViews","restoreRevision","2172186TZfbqN","_handleDiffChange","RevisionsSidebar","Compare against selected","Name this revision","bind","239530slAWSK","nameRevision","get","revisionSelected","_revisions","4239320mSTaxh","revisionHistory","highlightRevisions","plugins","listenTo","getLaterVisibleRevision","_createRevisionActions","init","map","action","change:diff","ready","availableRevisionActions","revisionSetName","revisionHistory.requireRevisionName","appendChild","select","_handleRevisionSetName","_handleRevisionSelected","Restore this revision","editor","requires"];return(Vo=function(){return t})()}function Co(t,e){const i=Vo();return(Co=function(t,e){return i[t-=251]})(t,e)}const jo=Co;!function(t){const e=Co,i=t();for(;;)try{if(269987===parseInt(e(286))/1+parseInt(e(264))/2*(parseInt(e(269))/3)+parseInt(e(253))/4*(parseInt(e(331))/5)+parseInt(e(280))/6+parseInt(e(258))/7+parseInt(e(291))/8+-parseInt(e(261))/9*(parseInt(e(270))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Fo extends J.Plugin{[jo(268)];[jo(267)];[jo(273)];static[jo(328)]=[jo(332),jo(279),jo(287)];static[jo(303)]=function(){const t=jo;return{compareAgainstSelected:{name:t(283),action:({plugins:e},i)=>{const n=t,s=e[n(288)](oe),r=s[n(256)];let o=s[n(318)][n(277)],a=i.id;r[n(260)](o)>r[n(260)](a)&&([o,a]=[a,o]),s[n(319)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(288)](oe);return!(s[n(256)][n(272)](s[n(318)])[n(325)]>2||i[n(315)])}},restoreRevision:{name:t(310),action:(e,{id:i})=>{const n=t;e[n(257)][n(288)](n(292))[n(271)](i)},isVisible:({plugins:e},i)=>!!e[t(288)](oe)[t(256)][t(296)](i.id)},nameRevision:{name:t(284),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(288)](oe),o=r[s(256)][s(330)](i);r[s(319)](i,o),n[s(323)](),n[s(320)][s(307)]()}}}}();static get[jo(333)](){return jo(282)}static get[jo(275)](){return!0}static get[jo(265)](){return!0}static get[jo(312)](){return[oe]}constructor(t){const e=jo;super(t),this[e(268)]=t[e(294)][e(288)](oe),this[e(267)]=this[e(268)][e(256)],this[e(273)]=null}[jo(298)](){const t=jo,e=this[t(267)][t(290)],i=this[t(297)](),n=this[t(311)][t(257)][t(288)](t(263));this[t(273)]=new Eo(this[t(311)][t(329)],e,i,this[t(311)][t(257)][t(288)](t(305))),this[t(273)].on(t(289),this[t(309)][t(285)](this)),this[t(273)].on(t(304),this[t(308)][t(285)](this)),this[t(273)][t(285)](t(327)).to(this[t(268)]),this[t(273)][t(278)].on(t(317),((e,i)=>{const n=t;i[n(326)].on(n(317),((t,e)=>{const i=n;e[i(285)](i(327),i(324)).to(this[i(268)])}))})),this[t(273)][t(262)](),this[t(295)](this[t(311)][t(316)],t(302),this[t(313)][t(285)](this)),this[t(295)](this[t(268)],t(301),this[t(281)][t(285)](this)),n[t(306)](this[t(273)][t(266)])}[jo(322)](){const t=jo;this[t(273)][t(266)][t(251)](),this[t(273)][t(322)]()}[jo(313)](){const t=jo,e=this[t(267)][t(276)](0);if(e){const i=this[t(267)][t(330)](e.id);this[t(268)][t(319)](e,i)}}[jo(309)](t,e){const i=jo,n=this[i(267)][i(276)](e.id),s=this[i(267)][i(330)](n.id);this[i(268)][i(319)](n,s)}[jo(308)](t,e){const i=jo;this[i(267)][i(276)](e.id)[i(255)](e[i(254)])}[jo(281)](t,e,i){const n=jo,s=this[n(267)][n(272)](i);s[n(325)]>2?(this[n(273)][n(293)](s),this[n(273)][n(252)](null)):(this[n(273)][n(293)]([]),this[n(273)][n(252)](s[0]))}[jo(297)](){const t=jo,e=this[t(311)],i=Fo[t(303)],n=e[t(257)][t(288)](t(274))||Fo[t(328)];if(n[t(325)])return n[t(299)]((n=>{const s=t,r=s(259)==typeof n?Object[s(314)]({},i[n]):n;return r[s(300)]=r[s(300)][s(285)](this,e),r[s(321)]&&(r[s(321)]=r[s(321)][s(285)](this,e)),r}))}}function Lo(t,e){const i=Po();return(Lo=function(t,e){return i[t-=178]})(t,e)}function Po(){const t=["editing","4571780CiGBoa","5045892YhNZWW","viewportOffset","_initToolbar","fire","getRoot","view","attachDomRoot","1844510dEspbB","viewportTopOffset","221773Hqorpn","destroy","bind","detachDomRoot","focusTracker","26MZfWzb","render","198jNNeYu","setEditableElement","init","isFocused","componentFactory","_elementReplacer","isActive","rootName","7dhuIvN","get","editor","limiterElement","stickyPanel","toolbar","6546882VedwhT","config","_view","name","restore","addToolbar","element","ready","136461DALkPg","6161864IxZyaY","document","_toolbarConfig","editable","replace","fillFromConfig"];return(Po=function(){return t})()}const Wo=Lo;!function(t){const e=Lo,i=t();for(;;)try{if(833817===parseInt(e(190))/1+-parseInt(e(195))/2*(-parseInt(e(219))/3)+-parseInt(e(181))/4+-parseInt(e(180))/5+-parseInt(e(211))/6*(parseInt(e(205))/7)+-parseInt(e(220))/8+-parseInt(e(197))/9*(-parseInt(e(188))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class zo extends _t.EditorUI{[Wo(213)];[Wo(222)];[Wo(202)];get[Wo(186)](){return this[Wo(213)]}constructor(e,i){const n=Wo;super(e),this[n(213)]=i,this[n(222)]=(0,_t.normalizeToolbarConfig)(e[n(212)][n(206)](n(210))),this[n(202)]=new t.ElementReplacer}get[Wo(217)](){const t=Wo;return this[t(186)][t(217)]}[Wo(199)](t){const e=Wo,i=this[e(207)],n=this[e(186)],s=i[e(179)][e(186)],r=n[e(223)],o=s[e(221)][e(185)]();r[e(214)]=o[e(204)],n[e(196)]();const a=r[e(217)];this[e(198)](r[e(214)],a),n[e(223)][e(192)](e(200)).to(this[e(194)]),s[e(187)](a),this[e(202)][e(224)](t,this[e(217)]),this[e(183)](),this[e(184)](e(218))}[Wo(191)](){const t=Wo;super[t(191)]();const e=this[t(186)],i=this[t(207)][t(179)][t(186)];this[t(202)][t(215)](),i[t(193)](e[t(223)][t(214)]),e[t(191)]()}[Wo(183)](){const t=Wo,e=this[t(186)];e[t(209)][t(192)](t(203)).to(this[t(194)],t(200)),e[t(209)][t(208)]=e[t(217)],e[t(209)][t(192)](t(189)).to(this,t(182),(({top:t})=>t)),e[t(210)][t(178)](this[t(222)],this[t(201)]),this[t(216)](e[t(210)])}}var Uo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Rt(),Ho.insert=Nt().bind(null,"head"),Ho.domAPI=Tt(),Ho.insertStyleElement=Dt();St()(Uo.A,Ho);Uo.A&&Uo.A.locals&&Uo.A.locals;var Zo=$o;function $o(t,e){var i=qo();return($o=function(t,e){return i[t-=328]})(t,e)}function qo(){var t=["260702XvaoYm","render","1736205bHkgGu","main","add","602whneeW","1246280unylSz","33224KLLJEl","1373076TQtuha","shouldToolbarGroupWhenFull","toolbar","_editable","stickyPanel","content","2774772yDVAKF","2304348ozmlCg","editable","top"];return(qo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(351534===-parseInt(e(332))/1+-parseInt(e(340))/2+parseInt(e(334))/3+parseInt(e(329))/4+parseInt(e(338))/5+-parseInt(e(328))/6+-parseInt(e(337))/7*(-parseInt(e(339))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Bo extends _t.BoxedEditorUIView{[Zo(343)];[Zo(344)];[Zo(342)];get[Zo(330)](){return this[Zo(343)]}constructor(t,e,i={}){var n=Zo;super(t),this[n(344)]=new _t.StickyPanelView(t),this[n(342)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[n(341)]}),this[n(343)]=new _t.InlineEditableUIView(t,e)}[Zo(333)](){var t=Zo;super[t(333)](),this[t(344)][t(345)][t(336)](this[t(342)]),this[t(331)][t(336)](this[t(344)]),this[t(335)][t(336)](this[t(330)])}}const Yo=Go;function Jo(){const t=["config","2792DrGOyW","fire","updateSourceElement","1261446budHkD","934945tnheuc","editing","201imHojB","init","document","initPlugins","2190230sLSBzJ","view","locale","createRoot","50DPetkY","10113454NNPCvN","23283HEoIrv","destroy","initialData","get","34ukAEnt","5uSwTQe","55972vPydMH","ready","_ui","create","26217HSzvsy","36YswOwX","model","sourceElement","data"];return(Jo=function(){return t})()}function Go(t,e){const i=Jo();return(Go=function(t,e){return i[t-=126]})(t,e)}!function(t){const e=Go,i=t();for(;;)try{if(479833===parseInt(e(146))/1*(parseInt(e(140))/2)+-parseInt(e(126))/3*(-parseInt(e(142))/4)+parseInt(e(141))/5*(-parseInt(e(155))/6)+parseInt(e(130))/7+parseInt(e(152))/8*(parseInt(e(136))/9)+parseInt(e(134))/10*(parseInt(e(156))/11)+parseInt(e(147))/12*(-parseInt(e(135))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Ko extends((0,J.ElementApiMixin)(J.Editor)){[Yo(144)];get ui(){return this[Yo(144)]}constructor(t,e){const i=Yo;super(e),this[i(149)]=t,this[i(148)][i(128)][i(133)]();const n=new Bo(this[i(132)],this[i(157)][i(131)],{shouldToolbarGroupWhenFull:!0});this[i(144)]=new zo(this,n)}[Yo(137)](){const t=Yo;return this[t(154)](),this.ui[t(137)](),super[t(137)]()}static async[Yo(145)](t,e){const i=Yo,n=new this(t,e);return await n[i(129)](),await n.ui[i(127)](t),await n[i(150)][i(127)](n[i(151)][i(139)](i(138))||""),n[i(153)](i(143)),n}}function Qo(){const t=["fromCharCode","removeAttribute","_update","refreshPositioning","has","setAttribute","isOpen","getMarkersGroup","_closeRevisionViewer","closeRevisionViewerCallback","showRevisionViewerCallback","creator","isEnabled","keys","init","loadRevisionData","683898amYrPI","_restoreRevision","4759644AemGwE","element","define","isRevisionViewerOpen","enableReadOnlyMode","isOfficialPlugin","save","DocumentOutlineUI","RevisionViewer","data","plugins","isReady","169250NXymXu","getRevision","RevisionHistoryUtils","saveRevision","Restored","fromVersion","long","removeSelectionAttribute","disableReadOnlyMode","RevisionHistoryUI","rootName","DocumentOutline","locale","requires","numeric","restoreRevision","result","update","Annotations","_cleanUp","revisionHistory.editorContainer","uiLanguage","539uFzPUa","4nkFJxa","toolbar","changesNavigation","translations","_recalculatePageBreaks","then","adapter","revisionHistory.closeRevisionViewerCallback","getRoot","isPremiumPlugin","lazyRoots","revision-history-missing-configuration","parse","users","revisionHistory.restoreRevisionCallback","1142396kGasAR","detachRoot","getUser","35DbNPAv","commands","Users","_viewerEditor","PaginationLookup","includes","13BbvMig","addRevisionData","RestrictedEditingMode","Dialog","RevisionsRepository","RevisionTracker","refreshVisibility","toLocaleDateString","getRevisionDocumentData","RevisionHistory","display","revision-history-viewer-opened","49793IlhXaW","3649887gRqcao","block","revisionHistory","name","getAttributeKeys","createRangeIn","repository","roots","pluginName","15xlgOCR","removeMarker","from","setSelection","remove","markers","getRevisions","revisionHistory.viewerContainer","isReadOnly","editor","view","revisionHistory.showRevisionViewerCallback","map","error","toJSON","_enhanceCloseRevisionViewerCallback","_showRevisionViewer","restrictedEditingException","_getRevisionViewerEditorConfig","isAnonymous","document","enqueueChange","create","none","16undeuo","hide","isAttached","destroy","createdAt","$graveyard","model","Autosave","catch","push","getRevisionRootsAttributes","revisionHistory.requireRevisionName","addRoot","RevisionViewerIntegration","indexOf","addUser","get","revisionHistory.viewerEditorElement","insert","toVersion","change","config","join","set","toLocaleTimeString","exitToEditing","_enhanceShowRevisionViewerCallback","selection","287598qkAAcS","end","bind","style"];return(Qo=function(){return t})()}const Xo=ta;function ta(t,e){const i=Qo();return(ta=function(t,e){return i[t-=160]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(534447===parseInt(e(280))/1+parseInt(e(244))/2*(-parseInt(e(207))/3)+parseInt(e(259))/4*(-parseInt(e(290))/5)+parseInt(e(187))/6*(-parseInt(e(262))/7)+-parseInt(e(314))/8*(-parseInt(e(281))/9)+parseInt(e(221))/10*(parseInt(e(243))/11)+parseInt(e(209))/12*(parseInt(e(268))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qo);const ea=[Xo(230),Xo(270)];class ia extends J.Plugin{[Xo(237)];static get[Xo(289)](){return Xo(172)}static get[Xo(214)](){return!0}static get[Xo(253)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(302)]((t=>String[e(191)](t)))[e(181)]("")}super(t),this[e(237)]=e(188),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 na extends J.Plugin{[Xo(265)];static get[Xo(289)](){return Xo(277)}static get[Xo(214)](){return!0}static get[Xo(253)](){return!0}static get[Xo(234)](){return[mt,Zt]}constructor(e){const i=Xo;if(super(e),!this[i(299)][i(180)][i(175)](i(283)))throw new t.CKEditorError(i(255),this);this[i(265)]=null,this[i(182)](i(212),!1),this[i(299)][i(180)][i(211)](i(301),(t=>this[i(306)]({...t,translations:this[i(299)][i(233)][i(247)]}))),this[i(299)][i(180)][i(211)](i(251),(t=>this[i(199)](t))),this[i(299)][i(180)][i(211)](i(258),(t=>this[i(208)](t))),this[i(299)][i(180)][i(211)](i(170),!1),this[i(185)](),this[i(305)]()}set[Xo(250)](t){const e=Xo;this[e(299)][e(219)][e(175)](e(273))[e(250)]=t}get[Xo(250)](){const t=Xo;return this[t(299)][t(219)][t(175)](t(273))[t(250)]}[Xo(269)](t){const e=Xo;return this[e(299)][e(219)][e(175)](e(273))[e(269)](t)}[Xo(222)](t){const e=Xo;return this[e(299)][e(219)][e(175)](e(272))[e(222)](t)}[Xo(296)](t){const e=Xo;return this[e(299)][e(219)][e(175)](e(272))[e(296)](t||{toJSON:!1})}[Xo(308)](){const e=Xo,i=this[e(299)],n=(0,G.sanitizeEditorConfig)(i,ea),s=i[e(219)][e(175)](e(273)),r=i[e(219)][e(175)](e(264))[e(257)];return n[e(245)]=[e(184),e(236),e(246)],delete n[e(254)],n[e(219)][e(168)](ia,oe,xe,class extends J.Plugin{static get[e(234)](){return[oe,e(264)]}[e(205)](){const n=e,o=this[n(299)][n(219)][n(175)](n(264));for(const t of r)t[n(309)]||o[n(261)](t.id)||o[n(174)](t);const a=s[n(287)][n(296)]();let c=null;const u=this[n(299)][n(219)][n(175)](n(217));u[n(250)]=s[n(250)],u[n(189)](n(203)).to(s),this[n(299)][n(263)][n(175)](n(236))[n(189)](n(203)).to(i,n(298),(t=>!t));for(const e of a){const i=null===e[n(202)];if(i&&e[n(178)]===e[n(226)])continue;const r=e[n(304)]();u[n(269)](r,((r,o,a)=>{const u=n;if(i){if(c)c[u(193)](r,o);else if(!o){const e=a[u(304)]();e.id=(0,t.uid)(),s[u(224)](e,a[u(178)])[u(249)]((t=>{c=t}))}}else e[u(193)](r,o)}))}}},Fo),n}[Xo(185)](){const t=Xo,e=this[t(299)][t(180)][t(175)](t(283))[t(201)];this[t(299)][t(180)][t(182)](t(301),(async()=>{const i=t;this[i(299)][i(213)](i(279));const n=this[i(299)][i(219)][i(175)](i(273));if(this[i(299)][i(219)][i(195)](i(166))){const t=this[i(299)][i(219)][i(175)](i(166));await t[i(215)]()}else await n[i(238)]();if(this[i(299)][i(219)][i(195)](i(266))&&this[i(299)][i(219)][i(175)](i(266))[i(248)](),this[i(299)][i(219)][i(195)](i(271))){const t=this[i(299)][i(219)][i(175)](i(271));t[i(197)]&&t[i(160)]()}const s=this[i(308)]();return e(s)[i(249)]((t=>{const e=i;return this[e(265)]=t,this[e(299)][e(219)][e(195)](e(239))&&this[e(299)][e(219)][e(175)](e(239))[e(274)](),this[e(299)][e(219)][e(195)](e(232))&&(this[e(299)][e(219)][e(175)](e(216))[e(300)][e(210)][e(190)][e(278)]=e(313)),t}))[i(167)]((t=>(console[i(303)](t),this[i(299)][i(229)](i(279)),null)))}))}[Xo(305)](){const t=Xo,e=this[t(299)][t(180)][t(175)](t(283))[t(200)];this[t(299)][t(180)][t(182)](t(251),(()=>(this[t(299)][t(219)][t(195)](t(266))&&this[t(299)][t(219)][t(175)](t(266))[t(248)](),this[t(299)][t(219)][t(195)](t(232))&&(this[t(299)][t(219)][t(175)](t(216))[t(300)][t(210)][t(190)][t(278)]=""),this[t(265)][t(219)][t(175)](t(217))[t(240)](),e(this[t(265)])[t(249)]((()=>{const e=t;if(this[e(299)][e(229)](e(279)),this[e(265)]=null,this[e(299)][e(219)][e(195)](e(239))){const t=this[e(299)][e(219)][e(175)](e(239));t[e(274)](),t[e(194)]()}})))))}[Xo(306)](t){const e=Xo,i=this[e(299)][e(180)][e(175)](e(241)),n=this[e(299)][e(180)][e(175)](e(297)),s=this[e(299)][e(180)][e(175)](e(176));return Ko[e(312)](s,t)[e(249)]((t=>(n[e(190)][e(278)]=e(282),i[e(190)][e(278)]=e(313),this[e(212)]=!0,t)))}[Xo(199)](t){const e=Xo,i=this[e(299)][e(180)][e(175)](e(241));return this[e(299)][e(180)][e(175)](e(297))[e(190)][e(278)]=e(313),i[e(190)][e(278)]="",this[e(212)]=!1,t[e(162)]()}async[Xo(208)](t){const e=Xo,i=this[e(299)],n=this[e(265)][e(219)][e(175)](e(217)),s=i[e(219)][e(175)](e(273)),r=i[e(219)][e(175)](e(223)),o=n[e(287)][e(222)](t);let a,c,u;try{await r[e(206)](o,this[e(250)]),a=r[e(276)](o),c=r[e(169)](o)}catch(t){return void console[e(303)](t)}i[e(165)][e(179)]((t=>{const n=e;for(const e of Array[n(292)](i[n(165)][n(295)][n(198)](n(307))))t[n(291)](e)})),n[e(220)]=!1,i[e(165)][e(311)]((t=>{const n=e;t[n(293)](null),t[n(228)](i[n(165)][n(310)][n(186)][n(285)]());const s=Object[n(204)](a);for(const e of i[n(165)][n(310)][n(288)])n(164)!=e[n(231)]&&e[n(161)]()&&!s[n(267)](e[n(231)])&&t[n(260)](e);for(const e of s){let s=i[n(165)][n(310)][n(252)](e);s&&s[n(161)]()||(s=t[n(171)](e));const r=c[e],o=Object[n(204)](r),u=a[e];for(const e of s[n(285)]())o[n(267)](e)||t[n(192)](e,s);for(const i of o)t[n(196)](i,c[e][i],s);t[n(294)](t[n(286)](s)),t[n(177)](i[n(218)][n(256)](u,s),s,0)}}));const l=ot(i[e(233)],e(225));return u=o[e(284)]?-1==o[e(284)][e(173)](l)?l+": "+o[e(284)]:o[e(284)]:l+": "+o[e(163)][e(275)](i[e(233)][e(242)],{month:e(227),day:e(235)})+", "+o[e(163)][e(183)](i[e(233)][e(242)],{hour:e(235),minute:e(235)}),await s[e(224)]({name:u}),n[e(220)]=!0,i[e(180)][e(175)](e(283))[e(200)]()}}function sa(t,e){var i=ra();return(sa=function(t,e){return i[t-=182]})(t,e)}function ra(){var t=["125rSdUHL","5365570oRnriK","1805928GZjJOb","351647xpjhyq","21tMcaPa","1212312cprlUn","91320RkAgiS","9EDnSQD","2914076MJFTOZ","363777pzILrj","2dhNtDf"];return(ra=function(){return t})()}!function(t){for(var e=sa,i=t();;)try{if(380750===-parseInt(e(182))/1+-parseInt(e(189))/2*(-parseInt(e(188))/3)+-parseInt(e(185))/4*(parseInt(e(190))/5)+parseInt(e(184))/6*(parseInt(e(183))/7)+-parseInt(e(192))/8+parseInt(e(186))/9*(parseInt(e(191))/10)+parseInt(e(187))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
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:0s;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,{RestoreRevisionCommand:()=>le,Revision:()=>Y,RevisionHistory:()=>sa,RevisionHistoryUI:()=>Zt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ae,RevisionViewerEditor:()=>Ko,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>Te,RevisionsRepository:()=>et,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>he});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(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]=T(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}function M(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&M(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(F.test(t)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function j(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function P(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(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 U(t,e,i){return function(t,e,i,s){if(null==t&&!P(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let t=0;t<n.length&&null!=r;t++){const e=j(n[t]);let o;if(t===n.length-1)o=i(r[e]);else{const i=r[e],a=s(i);o=void 0!==a?a:P(i)?i:V(n[t+1])?[]:{}}D(r,e,o),r=r[e]}return t}(t,e,(()=>i),(()=>{}))}function W(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?W(e)?H(t,z(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=j(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 Z(t,e){const i=H(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 q(){const t=["5866GqTpRh","fromVersion","authorsIds","6642wvpvet","867936zoCYIr","13098120dTyXYX","creatorId","attributes","3593360dmOVTD","diffData","authors","fire","name","setName","creator","model","5316388BWUDGR","map","createdAt","removeAttribute","set","setAttribute","toVersion","867285QtoAcm","288330cfhTrR","_update","toJSON"];return(q=function(){return t})()}const $=B;function B(t,e){const i=q();return(B=function(t,e){return i[t-=122]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(687981===parseInt(e(140))/1+parseInt(e(148))/2+-parseInt(e(141))/3+parseInt(e(133))/4+parseInt(e(125))/5+-parseInt(e(147))/6*(parseInt(e(144))/7)+-parseInt(e(122))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends((0,t.ObservableMixin)()){id;[$(131)];[$(127)];[$(126)];[$(139)];[$(145)];[$(132)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(131)]=e[i(131)]||null,this[i(127)]=e[i(127)]||[],this[i(126)]=e[i(126)]||null,this[i(139)]=e[i(139)]||0,this[i(145)]=e[i(145)]||0,this[i(137)](i(129),e[i(129)]||""),this[i(137)](i(135),e[i(135)]||new Date),this[i(137)](i(124),e[i(124)]||{})}[$(130)](t){this[$(142)]({name:t})}[$(138)](t,e){const i=$,s=A(this[i(124)]);U(s,t,e),this[i(142)]({attributes:s})}[$(136)](t){const e=$,i=A(this[e(124)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return Z(t,e);if("number"==typeof e?e=j(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]&&W(e))return Z(t,z(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(142)]({attributes:i})}[$(142)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(129),i(135),i(126),i(127),i(124),i(139),i(145),i(123)];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(127)]&&(n[i(146)]=n[i(127)][i(134)]((t=>t.id)),delete n[i(127)]),this[i(128)](i(142),n,e))}[$(143)](){const t=$;return{id:this.id,name:this[t(129)],creatorId:this[t(131)]?this[t(131)].id:null,authorsIds:this[t(127)][t(134)]((t=>t.id)),diffData:this[t(126)],createdAt:this[t(135)],attributes:this[t(124)],fromVersion:this[t(145)],toVersion:this[t(139)]}}}var J=i(782),G=i(211),K=i(783);const X=Q;function Q(t,e){const i=tt();return(Q=function(t,e){return i[t-=360]})(t,e)}function tt(){const t=["5008950daoENL","123TKdZbo","name","_revisions","getEarlierVisibleRevision","createdAt","getRevisions","later","reverse","href","creatorId","createRevision","join","oldRevisionId","68114jKdYGp","editor","6483440cbmUHa","pluginName","from","240mqwzcW","4400640LHLsOX","plugins","172109gLcLnp","requires","isPremiumPlugin","earlier","getRevisionsInDiff","getUser","attributes","getRevisionsIterator","getLaterVisibleRevision","diffData","toJSON","authorsIds","afterInit","newRevisionId","getRevision","addRevision","fromVersion","isNaN","toVersion","getIndex","get","fromCharCode","push","1470AIzPgK","Users","length","map","add","7188930lKAeib","RevisionsRepository","data","isOfficialPlugin"];return(tt=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(903036===-parseInt(e(381))/1+-parseInt(e(404))/2*(parseInt(e(391))/3)+parseInt(e(410))/4+parseInt(e(406))/5+parseInt(e(386))/6+-parseInt(e(412))/7*(parseInt(e(409))/8)+-parseInt(e(390))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class et extends J.Plugin{[X(393)];static get[X(413)](){return[G.Users]}static get[X(407)](){return X(387)}static get[X(389)](){return!0}static get[X(360)](){return!0}get[X(383)](){const t=X;return this[t(393)][t(383)]}constructor(e){const i=X;super(e),this[i(393)]=new t.Collection}[X(370)](){!async function(e){const i=k([107,52,67,53,101,116,50,51,55,120,99,75,119,117,74,48,97,109,57,80,85,106,114,79,69,49,105,87,76,68,73,102,56,54,83,103,88,111,89,104,84,121,122,82,112,110,118,77,65,115,108,90,72,66,70,100,113,78,86,71,81,98]),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(375)](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([107]);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(384)]((t=>String[e(379)](t)))[e(402)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1750118400;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(399)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([102,105,108,116,101,114])]((t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])]))[k([109,97,112])]((t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t)))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[X(401)](t){const e=X,i=this[e(405)][e(411)][e(378)](e(382));return new Y({id:t.id,name:t[e(392)],creator:t[e(400)]?i[e(363)](t[e(400)]):null,diffData:t[e(367)]||t[e(388)],authors:t[e(369)][e(384)]((t=>i[e(363)](t))),createdAt:new Date(t[e(395)]),attributes:t[e(364)],fromVersion:t[e(374)],toVersion:t[e(376)]})}[X(373)](t,e=0){const i=X;this[i(393)][i(385)](t,e)}[X(372)](t){const e=X;return this[e(393)][e(378)](t)}[X(396)](t={toJSON:!1}){const e=X,i=Array[e(408)](this[e(393)]);return i[e(398)](),t[e(368)]?i[e(384)]((t=>t[e(368)]())):i}[X(377)](t){const e=X;return this[e(393)][e(377)](t)}[X(394)](t){const e=X,[,i]=this[e(365)](t,{direction:e(361)});return i}[X(366)](t){const e=X,[,i]=this[e(365)](t,{direction:e(397)});return i}[X(362)](t){const e=X,i=[];for(const s of this[e(365)](t[e(371)]))if(i[e(380)](s),s.id===t[e(403)])break;return i}*[X(365)](t,{direction:e=X(361),filter:i=()=>!0}={}){const s=X,n=s(361)===e?1:-1;let r=this[s(393)][s(378)](t),o=this[s(377)](r);for(yield r;r;){if(o+=n,r=this[s(372)](o),!r)return;i(r)&&(yield r)}}}const it=st;function st(t,e){const i=nt();return(st=function(t,e){return i[t-=241]})(t,e)}function nt(){const t=["toData","toModel","forEach","pluginName","string","_getViewFromDiffObj","loadRevisionData","append","attributes","attributesAfter","_makeModelFromViewString","div","config","_removeRevisionMarkers","createElement","children","render","customProperties","document","collaboration.channelId","viewChildrenToDom","revision-start","innerHTML","31604LMEGNc","data","_appendChild","2oXJniu","_setCustomProperty","domChildrenToView","7120985WRpynf","isOfficialPlugin","fillerOffset","constructor","editor","8191428sXrdxK","length","editing","attachChange","12051ALzjGf","revision-end","startsWith","htmlProcessor","from","diffData","isPremiumPlugin","processor","10150dAGSFN","RevisionHistoryUtils","view","name","_getTypeCharForViewElement","5130792McuKfz","195999LMUfQc","parse","filter","default","type","useFillerType","getRevisionDocumentData","447KcNZEL","isAttached","marked","domConverter","getRevision","data-revision-","domDocument","insertions","childNodes","getRevisionRootsAttributes","map","_typeCharToViewClass","getFillerOffset","10079153fBQiTA","get","_viewClassToTypeChar"];return(nt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(855632===-parseInt(e(292))/1*(parseInt(e(266))/2)+parseInt(e(299))/3*(-parseInt(e(263))/4)+parseInt(e(269))/5+parseInt(e(274))/6+parseInt(e(312))/7+-parseInt(e(291))/8+parseInt(e(278))/9*(-parseInt(e(286))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class rt extends J.Plugin{static get[it(243)](){return it(287)}static get[it(270)](){return!0}static get[it(284)](){return!0}[it(314)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[it(310)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[it(246)](t,e){const i=it;if(t[i(283)]||!e)return;const s=this[i(273)][i(252)][i(313)](i(259)),n=await e[i(303)]({channelId:s,revisionId:t.id});t[i(283)]=n[i(283)]}[it(298)](t){const e=it,i={};for(const s in t[e(283)]){if(t[e(283)][s][e(277)]&&!t[e(283)][s][e(277)][e(300)])continue;const n=this[e(253)](JSON[e(293)](t[e(283)][s][e(306)])),r=this[e(273)][e(276)][e(288)][e(258)],o=new K.ViewDocumentFragment(r,n[e(309)]((t=>this[e(245)](t,!1))));this[e(273)][e(264)][e(285)][e(297)](e(301)),i[s]=this[e(273)][e(264)][e(285)][e(315)](o),this[e(273)][e(264)][e(285)][e(297)](e(295))}return i}[it(308)](t){const e=it,i={};for(const s in t[e(283)])t[e(283)][s][e(277)]&&!t[e(283)][s][e(277)][e(300)]||(i[s]=t[e(283)][s][e(249)]||{});return i}[it(290)](t){const e=it;return this[e(314)][e(313)](t[e(272)])}[it(245)](t,e){const i=it,s=this[i(273)][i(276)][i(288)][i(258)];if(i(244)==typeof t)return new K.ViewText(s,t);{let n,r;r="u"==t[i(296)]||"r"==t[i(296)]?[]:t[i(255)][i(309)]((t=>this[i(245)](t,e)));const o=this[i(310)][i(313)](t[i(296)])||K.ViewElement,a=this[i(273)][i(264)][i(281)][i(302)];if(n=new o(s,t[i(289)],t[i(248)],r),"u"==t[i(296)]&&t[i(255)][0]){const r=t[i(255)][0];if(n[i(256)]=function(t){const e=i,s=t[e(254)](e(251));return s[e(262)]=r,s[e(307)][0]},e){const t=new K.ViewDocumentFragment(s);t[i(265)](n);const e=Array[i(282)](a[i(260)](t,{bind:!1})),r=a[i(305)][i(254)](i(251));r[i(247)](...e),n=Array[i(282)](a[i(268)](r))[0]}}else if("r"==t[i(296)]&&t[i(255)][0]){const r=t[i(255)][0];if(n[i(256)]=function(t){t[i(262)]=r},e){const t=new K.ViewDocumentFragment(s);t[i(265)](n);const e=Array[i(282)](a[i(260)](t,{bind:!1})),r=a[i(305)][i(254)](i(251));r[i(247)](...e);const o=Array[i(282)](a[i(268)](r));o[i(275)]>1?n[i(265)](o):n=o[0]}}if(t[i(257)])for(const[e,s]of t[i(257)])n[i(267)](e,s);const c=void 0===t[i(271)]?null:t[i(271)];return null!==c&&(n[i(311)]=()=>c),n}}[it(250)](t){const e=it,i=JSON[e(293)](t),s=this[e(273)][e(276)][e(288)][e(258)],n=new K.ViewDocumentFragment(s,i[e(309)]((t=>this[e(245)](t,!0))));return this[e(273)][e(264)][e(241)](n)}[it(253)](t){const e=it;return(t=t[e(294)]((t=>!t[e(289)]||e(261)!==t[e(289)]&&e(279)!==t[e(289)])))[e(242)]((t=>{const i=e;i(244)!=typeof t&&(t[i(255)]=this[i(253)](t[i(255)]),t[i(248)]=t[i(248)][i(294)]((t=>!t[0][i(280)](i(304)))))})),t}}function ot(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 at(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 ct(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 ut(t,e,r,o)}return ut(t,e,r,o)}function ut(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return M(t.valueOf(),i.valueOf());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}const A=(s=s??new Map).get(t),D=s.get(i);if(null!=A&&null!=D)return A===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)||!ct(n,i.get(e),e,t,i,s,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>ct(o,e,void 0,t,i,s,T)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ct(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,s,T)||at(t)&&at(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(!ct(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}const dt=ft;function ft(t,e){const i=mt();return(ft=function(t,e){return i[t-=383]})(t,e)}function mt(){const t=["_makeRevision","_isAttached","stickiness","_continueCurrentRevision","_handleInsertOperation","_touched","_makeModelFromViewString","licenseKey","nodes","_calculateMetaData","locale","1154JvrbGw","trialLimit","_makeIdsRoot","createRange","position","_loadedStateData","Empty document","_clone","addRevisionData","toVersion","define","RevisionTracker","item","uiElement","config","_markChanges","marker","dataToMarker","_createCurrentRevision","_getFromVersion","_createInitialRevision","start","revisionHistoryLicenseKeyUsageLimit","RevisionHistoryUtils","isAttached","getTransformedByOperation","updateRevisions","attachChange","createPositionAt","trim","finally","getRevisionDocumentData","getOperation","end","createRangeIn","1532270fiViPK","get","vid_end","evaluationLimit","_appendChild","children","_insertChild","$graveyard","isReady","element","offset","isEqual","revision:","_isPendingUpdate","key","root","userId","Initial revision","setSource","revisionHistoryLicenseKeyDomainLimit","NEGATIVE_INFINITY","getFillerOffset","sort","7qGYPnF","push","markerToData","getMovedRangeStart","getRoot","getRevisions","getUser","_prepareViewToSave","render","fromVersion","_lastFrom","domConverter","addRevision","_getTypeCharForViewElement","slice","size","elementEnd","794ycivIc","6693798ChuxjF","newRange","_getState","_idsRoots","revisionHistoryLicenseKeyTrialLimit","collaboration.channelId","update","dataDowncast","previousPosition","_handleMoveOperation","rootName","init","filter","version","keepParagraph","_diffRoots","upcast","_initialRevisionId","_execute","bind","11560760QCJDcY","_utils","createPositionBefore","_bufferedUpdates","revisionHistoryLicenseKeyValid","initialData","length","paragraph","getChildren","revisionHistoryLicenseKeyExpired","changeRootAttribute","getAttribute","has","insertion","reinsert","clone","261OHsLPT","add","_baseRootsAttributes","sourcePosition","getOperations","vid","shift","createPositionFromPath","$comment","remove","text","buildRevisionData","Users","merge","authorsIds","_startingVersion","revision","getAttributes","howMany","domainLimit","removeRootAttribute","getRange","insert","oldRange","rawElement","nodeAfter","keys","loadRevisionData","PendingActions","RealTimeCollaborationClient","createdAt","hasContent","expired","_bufferUpdate","RevisionHistory","tableCell","ready","RevisionsRepository","getRootNames","type","getLatestVersion","path","_baseIdsRoots","isAdd","insertions","parent","_reset","offsetSize","getRevisionRootsAttributes","creator","affectsData","_loadState","some","deletion","52664XWPIeO","attributesAfter","values","move","_pendingAction","usageLimit","_licenseKeyCheckInterval","reverse","sendBufferedUpdates","_removePendingAction","attributesBefore","from","_setAttribute","deletions","source","model","revisionHistoryLicenseKeyEvaluationLimit","getRevision","editor-initial-data-replaced-with-revision-data","string","document","revisionHistoryLicenseKeyInvalid","_findInsertionIndex","_addPendingAction","_touchedRoots","PENDING_ACTION_REVISION_HISTORY","getTime","_touchedMarkers","stringify","pluginName","_revisionId","getNodeByPath","getIndex","createRevision","invalid","adapter","_createFromRanges","_diffRootsAttributes","currentRevision","history","rootsAttributes","_handleMergeOperation","roots","_showLicenseError","max","_markers","afterInit","isEnabled","clear","isPremiumPlugin","_setConversion","plugins","_cloneOperation","startsWith","destroy","set","_handleSplitOperation","find","isOfficialPlugin","_handleOperation","toView","_fixOperation","_processRootBeforeSave","diffData","_source","fillerOffset","_handleRootOperation","split","newValue","includes","requires","_fixRange","_removeMetaData","markers","_transformMarkers","_revisionDataBuilder","getData","_baseRoots","targetPosition","outerHTML","data","_handleRootAttributeOperation","revisionHistory.resumeUnsavedRevision","for","getChild","innerHTML","revisionHistoryLicenseKeyNotAllowed","setRevisionData","featureNotAllowed","_fixPosition","_replaceEditorDataWithRevisionData","_authorId","authors","getAncestors","_generateTape","getCurrentRevisionId","documentFragment","_getBaseVids","fromEntries","repository","_getViewJson","_savedMetaData","graveyardPosition","then","2290qiqFIS","_getPreviousFrom","getCustomProperties","_isInit","_applyOperations","_startingRevisionId","_update","childCount","editor","$text","saveRevision","baseVersion","getWalker","vid_start","reInit","name","elementStart","_handleMarkerOperation","range","_saveMetaData","_operations","loadState","detachRoot","addRootAttribute","htmlProcessor","addRoot","delete","_lastTo","_copyMarkers","map","createElement","domDocument","7953qFMQHO","conversion","creatorId","customProperties","_getVidAttributeName","initial","insertionPosition","createPositionAfter","11202300fFlYtn","resolve","splitPosition"];return(mt=function(){return t})()}!function(t){const e=ft,i=t();for(;;)try{if(769611===parseInt(e(619))/1*(parseInt(e(544))/2)+-parseInt(e(656))/3*(parseInt(e(386))/4)+parseInt(e(579))/5+parseInt(e(620))/6*(parseInt(e(602))/7)+parseInt(e(640))/8+-parseInt(e(530))/9+-parseInt(e(490))/10*(parseInt(e(522))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends J.Plugin{[dt(540)];[dt(392)];[dt(424)]=null;[dt(485)];[dt(421)]=null;[dt(461)];[dt(450)];[dt(637)];[dt(643)];[dt(641)];[dt(390)];[dt(536)];[dt(671)];[dt(549)];static get[dt(415)](){return dt(555)}static get[dt(444)](){return!0}static get[dt(435)](){return!0}static get[dt(456)](){return[G.Users,et,rt,J.PendingActions]}constructor(e){const i=dt;super(e),this[i(485)]=this[i(498)][i(437)][i(580)](i(693)),this[i(641)]=this[i(498)][i(437)][i(580)](i(567)),this[i(461)]=new vt(this[i(498)]),this[i(637)]=this[i(498)][i(558)][i(580)](i(625))||i(527),this[i(643)]=new Map,this[i(549)]=null;const s=(0,t.uid)();this[i(450)]={history:this[i(498)][i(401)][i(406)][i(425)],getLatestVersion:()=>Promise[i(531)](this[i(498)][i(401)][i(406)][i(633)]),getCurrentRevisionId:()=>s},this[i(441)](i(587),!1),this[i(441)](i(433),!0),this[i(441)](i(592),!1),this[i(498)][i(558)][i(554)](i(468),!0),this[i(498)][i(523)][i(469)](i(636))[i(561)]({view:i(672)})}[dt(631)](){const t=dt;this[t(436)](),this[t(498)][t(466)].on(t(692),(()=>{const e=t,i=this[e(485)][e(403)](0),s=i&&null===i[e(705)]?i:null;if(this[e(536)]=!!s&&this[e(498)][e(558)][e(580)](e(468)),this[e(498)][e(437)][e(652)](e(685))){const t=this[e(450)][e(481)](),n=this[e(485)][e(403)](t);if(n)this[e(671)]=n[e(611)],this[e(536)]=!1;else{const t=this[e(450)][e(425)][e(510)][e(443)]((t=>!t[e(493)])),n=t?t[e(501)]:this[e(450)][e(425)][e(633)];i?(i[e(553)]<n&&i[e(496)]({toVersion:n}),this[e(536)]?(this[e(450)][e(481)]=()=>s.id,this[e(671)]=s[e(611)]):(this[e(671)]=i[e(553)],this[e(536)]=!1)):(this[e(671)]=n,this[e(536)]=!1)}}else s&&(this[e(498)][e(401)][e(406)][e(425)][e(633)]=Math[e(430)](s[e(553)],this[e(498)][e(401)][e(406)][e(425)][e(633)]),s[e(611)]===s[e(553)]?(0!==s[e(611)]&&(this[e(450)][e(481)]=()=>s.id),this[e(536)]=!1):this[e(536)]&&(this[e(450)][e(481)]=()=>s.id,this[e(671)]=s[e(611)])),this[e(536)]||(this[e(671)]=this[e(498)][e(401)][e(406)][e(633)]);this[e(461)][e(631)](this[e(450)][e(425)]),this[e(564)](this[e(671)]),this[e(562)](this[e(671)]),this[e(421)]&&this[e(394)]()})),this[t(639)](t(587)).to(this,t(592),(t=>!t)),this[t(540)]=this[t(498)][t(558)][t(580)](t(540));const e=this[t(498)];this[t(392)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(644)==r||i(407)==r||i(649)==r||i(598)==r||i(472)==r||i(402)==r||i(624)==r||i(566)==r){delete e[n],s=r,clearInterval(this[i(392)]),this[i(392)]=void 0;break}}i(407)==s&&e[i(429)](i(420)),i(649)==s&&e[i(429)](i(688)),i(598)==s&&e[i(429)](i(675)),i(472)==s&&e[i(429)](i(474),i(690)),i(402)==s&&e[i(429)](i(582)),i(624)==s&&e[i(429)](i(545)),i(566)==s&&e[i(429)](i(391))}),1e3)}async[dt(432)](){const t=dt;if(this[t(485)][t(646)]>0){const e=this[t(485)][t(403)](0),i=await this[t(575)](e),s=await this[t(704)](e);this[t(476)](i,s)}}[dt(440)](){const t=dt;super[t(440)](),this[t(392)]&&clearInterval(this[t(392)])}[dt(597)](t){this[dt(450)]=t}async[dt(626)](){const t=dt,e=await this[t(450)][t(696)]();if(e>this[t(424)][t(553)]){await this[t(383)]();const i=this[t(667)]({revision:this[t(424)],to:e});i[t(478)]=i[t(670)][t(519)]((e=>this[t(498)][t(437)][t(580)](t(668))[t(608)](e))),this[t(424)][t(496)](i)}}async[dt(500)](e={},i=null){const s=dt,n=[];await this[s(383)](),this[s(536)]=!1,i>this[s(424)][s(553)]&&(i=null),null===i&&(i=await this[s(450)][s(696)]());const r=this[s(563)](i),o=this[s(667)]({from:r,to:i});if(this[s(424)][s(553)]<i){const t=this[s(667)]({revision:this[s(424)],from:i,to:i});t[s(478)]=[],t[s(670)]=[],t.id=this[s(424)].id,this[s(424)][s(496)](t,!0),delete t[s(478)],n[s(603)](t)}e[s(524)]=this[s(498)][s(437)][s(580)](s(668)).me.id,e[s(505)]=e[s(505)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(552)](e);n[s(603)](e);const c=this[s(485)][s(418)](a);if(0!==c){const t=this[s(485)][s(403)](c-1);if(t[s(611)]!==i){const r=this[s(461)][s(462)](i,t[s(553)]),o={id:t.id,diffData:r[s(449)],authorsIds:r[s(670)],authors:r[s(670)][s(519)]((t=>this[s(498)][s(437)][s(580)](s(668))[s(608)](t))),fromVersion:i};t===this[s(424)]&&(o[s(686)]=new Date(e[s(686)][s(412)]()+10)),t[s(496)](o,!0),delete o[s(478)],n[s(603)](o)}}if(this[s(421)]){for(const t of n)this[s(689)](t.id,t,!0);this[s(394)]()}return a}[dt(552)](t){const e=dt,i=this[e(485)][e(419)](t);return this[e(421)]&&i.on(e(496),((t,i,s)=>{const n=e;s||(this[n(689)](i.id,i,!0),this[n(394)]())})),this[e(485)][e(614)](i,this[e(408)](i)),i}async[dt(575)](t){const e=dt;return await this[e(641)][e(683)](t,this[e(421)]),this[e(641)][e(575)](t)}async[dt(704)](t){const e=dt;return await this[e(641)][e(683)](t,this[e(421)]),this[e(641)][e(704)](t)}[dt(394)](){const t=dt;if(0===this[t(643)][t(617)])return;if(this[t(592)])return;let e=Array[t(397)](this[t(643)][t(388)]());this[t(643)][t(434)]();for(let i=0;i<e[t(646)];i++){const s=e[i];let n=!1;for(const e of Object[t(682)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(632)]((t=>null!==t)),!e[t(646)])return;for(let i=0;i<e[t(646)];i++){const s=e[i];void 0!==s[t(611)]&&void 0===s[t(553)]&&(s[t(553)]=this[t(485)][t(403)](s.id)[t(553)]),void 0!==s[t(553)]&&void 0===s[t(611)]&&(s[t(611)]=this[t(485)][t(403)](s.id)[t(611)])}const i=this[t(498)][t(558)][t(580)](t(625));this[t(592)]=!0,this[t(409)](),this[t(421)][t(570)](e,i)[t(574)]((()=>{this[t(592)]=!1}))[t(489)]((e=>{const i=t;if(e)for(const t of e)this[i(473)]({id:t.id,createdAt:t[i(686)]});this[i(395)](),this[i(394)]()}))}[dt(667)]({revision:t=null,from:e=null,to:i=null}){const s=dt;e=null!==e?e:t[s(611)],i=null!==i?i:t[s(553)];const n=this[s(461)][s(462)](e,i),r={diffData:n[s(449)],authorsIds:n[s(670)],fromVersion:e,toVersion:i};if(!t||i!==t[s(553)]){const t=i-1,e=this[s(450)][s(425)][s(576)](t);r[s(686)]=e&&e[s(686)]||new Date}if(this[s(549)]&&e===this[s(549)][s(611)])for(const t of this[s(549)][s(478)])r[s(670)][s(455)](t.id)||r[s(670)][s(603)](t.id);return r}[dt(689)](t,e,i){const s=dt;if(this[s(643)][s(652)](t)){const n=this[s(643)][s(580)](t);e=i?{...n,...e}:{...e,...n}}this[s(643)][s(441)](t,e)}[dt(473)](t){const e=dt,i=this[e(485)][e(403)](t.id);if(t[e(686)]&&(t[e(686)]=new Date(t[e(686)])),t[e(670)]){const i=this[e(498)][e(437)][e(580)](e(668));t[e(478)]=t[e(670)][e(519)]((t=>i[e(608)](t)))}i[e(496)](t,!0)}[dt(564)](t){const e=dt,i=this[e(485)][e(403)](this[e(485)][e(646)]-1);if(i)this[e(637)]=i.id;else{const i=!this[e(498)][e(401)][e(406)][e(428)][e(443)]((t=>this[e(498)][e(401)][e(687)](t))),s=this[e(498)][e(437)][e(580)](e(668)).me.id,n=ot(this[e(498)][e(543)],e(i?550:596));this[e(533)]({from:t,to:t,id:this[e(637)],name:n,creatorId:s})}}[dt(562)](t){const e=dt,i=this[e(450)][e(481)]();this[e(424)]=this[e(485)][e(403)](i),this[e(424)]||(this[e(424)]=this[e(533)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(383)](){const t=dt;this[t(536)]&&!this[t(549)]&&(await this[t(641)][t(683)](this[t(424)],this[t(421)]),this[t(461)][t(511)](this[t(424)]),this[t(549)]={fromVersion:this[t(424)][t(611)],authors:this[t(424)][t(478)][t(616)]()})}[dt(476)](e,i){const s=dt;let n=this[s(498)][s(558)][s(580)](s(645)),r=this[s(498)][s(558)][s(580)](s(426));if(void 0===n){n={};for(const t of this[s(498)][s(401)][s(406)][s(694)]())n[t]=""}if(s(405)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(498)][s(401)][s(406)][s(694)]())r[t]={}}let o=!1;const a=Object[s(682)](n),c=Object[s(682)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(573)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[s(682)](r[t])[s(646)]>0){o=!0;break}}o||(o=c[s(384)]((t=>!this[s(498)][s(401)][s(406)][s(606)](t)))),o&&(0,t.logWarning)(s(404),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(498)][s(558)][s(441)](s(645),e),this[s(498)][s(558)][s(441)](s(426),i)}[dt(409)](){const t=dt;if(!this[t(390)]){const e=this[t(498)][t(437)][t(580)](t(684));this[t(390)]=e[t(657)](ot(this[t(498)][t(543)],t(411)))}}[dt(395)](){const t=dt;this[t(390)]&&(this[t(498)][t(437)][t(580)](t(684))[t(665)](this[t(390)]),this[t(390)]=null)}[dt(408)](t){const e=dt,i=this[e(485)][e(607)]();i[e(393)]();let s=0;for(;s<i[e(646)];){const n=i[s];if(n===this[e(424)]){s++;continue}if(n.id===this[e(637)])break;const r=t[e(553)]-n[e(553)]||t[e(611)]-n[e(611)];if(r>0)break;if(r<0)s++;else{if(!t[e(705)]&&n[e(705)])break;if(n[e(705)]||!t[e(705)]){if(t[e(686)]>n[e(686)])break;s++}else s++}}return s}[dt(563)](t){const e=dt,i=this[e(485)][e(607)]();i[e(393)](),i[e(662)]();const s=i[e(443)]((i=>i[e(553)]<=t))[e(553)];return s<this[e(671)]?this[e(671)]:s}[dt(533)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=dt,o=this[r(667)]({from:e,to:i});o[r(505)]=t,o[r(524)]=s,o.id=n;const a=this[r(552)](o);return this[r(421)]&&this[r(689)](o.id,o,!0),a}[dt(436)](){const t=dt;this[t(498)][t(523)][t(469)](t(627))[t(604)]({model:t(672)})}}class vt{[dt(498)];[dt(400)];[dt(487)];[dt(612)];[dt(517)];[dt(431)];[dt(635)];[dt(423)];[dt(463)];[dt(658)];[dt(623)];[dt(698)];[dt(538)];[dt(413)];[dt(410)];[dt(416)];[dt(495)];constructor(t){const e=dt;this[e(498)]=t,this[e(487)]=new Map,this[e(612)]=-1,this[e(517)]=-1,this[e(431)]=new Map,this[e(635)]=new Map,this[e(423)]=new Map,this[e(463)]=new Map,this[e(658)]=new Map,this[e(623)]=new Map,this[e(698)]=new Map,this[e(538)]=new Map,this[e(413)]=new Map,this[e(410)]=new Map,this[e(416)]=1}[dt(631)](t){const e=dt;this[e(400)]=t;const i=new Map,s=new Map,n=this[e(498)][e(401)][e(406)][e(428)][e(519)]((t=>t[e(630)]));for(const t of n){const n=this[e(498)][e(401)][e(406)][e(606)](t),r=gt(n);i[e(441)](t,r),s[e(441)](t,Object[e(484)](n[e(673)]()))}const r=Array[e(397)](this[e(498)][e(401)][e(459)])[e(519)]((t=>[t[e(505)],t[e(677)]()])),o=this[e(400)][e(633)];this[e(509)](o,i,r,s),this[e(495)]=this[e(416)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(441)](t,i),c[e(441)](t,{})}this[e(509)](Number[e(599)],a,[],c)}[dt(462)](t,e){const i=dt;if(this[i(612)]===t&&this[i(517)]<=e)this[i(487)][i(617)]>1&&this[i(458)](this[i(517)]),this[i(494)](this[i(517)],e,!0);else{if(!this[i(487)][i(652)](t)){const e=this[i(491)](t);this[i(542)](e,t,!1)}this[i(542)](t,e,!0)}return this[i(612)]=t,this[i(517)]=e,this[i(622)]()}[dt(511)](t){const e=dt,i=this[e(498)][e(437)][e(580)](e(567));this[e(702)](),this[e(612)]=t[e(611)],this[e(517)]=t[e(553)];for(const s in t[e(449)]){const n=t[e(449)][s][e(571)],r=A(t[e(449)][s][e(396)])||{},o=i[e(539)](t[e(449)][s][e(399)]);o[e(630)]=s,o[e(534)]=!n||!n[e(568)],o[e(568)]=()=>o[e(534)],this[e(463)][e(441)](s,o),this[e(658)][e(441)](s,r),n&&this[e(410)][e(441)](s,n);const a=this[e(546)](o);this[e(698)][e(441)](s,a);for(const[t,i]of o[e(459)]){if(!t[e(439)](e(591)))continue;const s=t[e(453)](":")[2];for(const t of i[e(502)]({singleCharacters:!0})){const i=this[e(526)](t),n=e(618)==t[e(695)]?t[e(628)][e(697)][e(616)](0,-1):t[e(628)][e(697)],r=a[e(417)](n)[e(651)](i);this[e(538)][e(441)](r,{userId:s})}}}this[e(495)]=this[e(416)];const s=[...Array(this[e(416)])[e(682)]()][e(616)](1)[e(632)]((t=>!this[e(538)][e(652)](t)));let n=0;const r=new Map;for(const o in t[e(449)]){const a=t[e(449)][o][e(571)],c=A(t[e(449)][o][e(387)])||{},u=i[e(539)](t[e(449)][o][e(700)]);u[e(630)]=o,u[e(534)]=!a||a[e(568)],u[e(568)]=()=>u[e(534)],this[e(635)][e(441)](o,u),this[e(423)][e(441)](o,c);const l=this[e(546)](u,Number[e(599)]);this[e(623)][e(441)](o,l),r[e(441)](o,u[e(568)]()?c:{});for(const[t,i]of u[e(459)]){if(!t[e(439)](e(591)))continue;const s=t[e(453)](":")[2];for(const t of i[e(502)]({singleCharacters:!0})){const i=this[e(526)](t),n=this[e(416)]++,r=e(618)==t[e(695)]?t[e(628)][e(697)][e(616)](0,-1):t[e(628)][e(697)];l[e(417)](r)[e(398)](i,n),this[e(538)][e(441)](n,{userId:s})}}for(const t of this[e(498)][e(401)][e(578)](u)[e(502)]({singleCharacters:!0})){const i=this[e(526)](t),r=e(618)==t[e(695)]?t[e(628)][e(697)][e(616)](0,-1):t[e(628)][e(697)],o=l[e(417)](r);o[e(651)](i)>0||o[e(398)](i,s[n++])}for(const[t,i]of u[e(459)])t[e(439)](e(591))||this[e(431)][e(441)](t,i)}const o=yt(e(586));this[e(463)][e(441)](e(586),o),this[e(698)][e(441)](e(586),this[e(546)](o,1));const a=yt(e(586));this[e(635)][e(441)](e(586),a),this[e(623)][e(441)](e(586),this[e(546)](a,1));const c=Array[e(397)](this[e(635)])[e(519)]((([t,e])=>[t,gt(e)]));this[e(509)](this[e(517)],c,this[e(431)],r)}[dt(504)](){const t=dt;this[t(702)](),this[t(612)]=-1,this[t(517)]=-1,this[t(487)][t(434)](),this[t(631)](this[t(400)])}[dt(509)](t,e,i,s){const n=dt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(441)](t,{start:e[n(565)][n(655)](),end:e[n(577)][n(655)](),rootName:e[n(594)][n(630)]});this[n(487)][n(441)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(458)](t){const e=dt;this[e(487)][e(516)](t)}[dt(702)](){const t=dt;this[t(538)][t(434)](),this[t(413)][t(434)](),this[t(410)][t(434)](),this[t(635)][t(434)](),this[t(423)][t(434)](),this[t(463)][t(434)](),this[t(658)][t(434)](),this[t(623)][t(434)](),this[t(698)][t(434)](),this[t(431)][t(434)](),this[t(416)]=1,this[t(495)]=this[t(416)]}[dt(546)](t,e=null){const i=dt;let s=null;t.is(i(482))||(s=new K.ModelElement(t[i(505)],{vid_start:null===e?this[i(416)]++:e++}));const n=[];for(const s of t[i(648)]())if(s.is(i(588))){n[i(603)](this[i(546)](s,e));const t=n[n[i(646)]-1];null!==e&&(e=t.is(i(588),i(499))?t[i(651)](i(661))+1:t[i(651)](i(581))+1)}else for(let t=0;t<s[i(703)];t++)n[i(603)](new K.ModelElement(i(499),{vid:null===e?this[i(416)]++:e++}));if(t.is(i(482))){const e=yt(t[i(630)]);return e[i(585)](0,n),e}return s[i(398)](i(581),null===e?this[i(416)]++:e++),s[i(585)](0,n),s}[dt(542)](t,e,i){const s=dt;this[s(702)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(487)][s(580)](t);this[s(463)]=new Map(n),this[s(658)]=new Map(A(o));for(const[t,e]of this[s(463)])if(s(586)!==t&&(this[s(635)][s(441)](t,gt(e)),this[s(423)]=new Map(A(o)),i)){const i=this[s(416)];this[s(623)][s(441)](t,this[s(546)](e)),this[s(698)][s(441)](t,this[s(546)](e,i))}this[s(495)]=this[s(416)],this[s(635)][s(441)](s(586),gt(this[s(463)][s(580)](s(586)))),i&&this[s(623)][s(441)](s(586),this[s(546)](this[s(463)][s(580)](s(586))));for(const[t,e]of r){const i=this[s(463)][s(580)](e[s(630)]),n=this[s(635)][s(580)](e[s(630)]),r=new K.ModelRange(this[s(475)](e[s(565)],i),this[s(475)](e[s(577)],i)),o=this[s(457)](r,n);i[s(459)][s(441)](t,r),this[s(431)][s(441)](t,o)}this[s(494)](t,e,i)}[dt(494)](t,e,i){const s=dt;for(const n of this[s(400)][s(660)](t,e))this[s(445)](n,i);for(const t of this[s(635)][s(388)]())t[s(459)][s(434)]();for(const[t,e]of this[s(431)])this[s(635)][s(580)](e[s(594)][s(630)])[s(459)][s(441)](t,e[s(655)]());const n=new Map,r=new Map;for(const[t,e]of this[s(635)])n[s(441)](t,gt(e)),r[s(441)](t,this[s(423)][s(580)](t));this[s(509)](e,n,this[s(431)],r)}[dt(491)](t){const e=dt,i=Array[e(397)](this[e(487)][e(682)]());i[e(601)](((t,e)=>t-e)),i[e(393)]();for(const e of i)if(e<t)return e;return Number[e(599)]}[dt(518)](t,e){const i=dt,s=Array[i(397)](e[i(459)])[i(519)]((([e,s])=>[e,this[i(457)](s,t)]));t[i(459)]=new Map(s)}[dt(460)](t){const e=dt;for(const i of this[e(431)][e(388)]()){const s=i[e(569)](t),n=K.ModelRange[e(422)](s);i[e(565)]=n[e(565)],i[e(577)]=n[e(577)]}}[dt(445)](t,e){const i=dt;if(i(515)!=t[i(695)]&&i(512)!=t[i(695)]){if(i(678)==t[i(695)]){const s=t[i(548)][i(594)][i(630)];this[i(635)][i(652)](s)||(this[i(635)][i(441)](s,yt(s,!0)),this[i(423)][i(441)](s,{}),e&&this[i(623)][i(441)](s,yt(s,!0)))}else{if(i(513)==t[i(695)]||i(676)==t[i(695)]||i(650)==t[i(695)])return void this[i(467)](t);i(560)==t[i(695)]&&this[i(507)](t)}if(i(560)!==t[i(695)]){const e=this[i(438)](t,this[i(635)]);e[i(638)](),this[i(460)](e)}if(e)switch(t[i(695)]){case i(678):this[i(537)](t);break;case i(389):case i(665):case i(654):this[i(629)](t);break;case i(669):this[i(427)](t);break;case i(453):this[i(442)](t)}}else this[i(452)](t,e)}[dt(438)](t,e){const i=dt,s=t[i(655)]();return s[i(477)]=t[i(477)],this[i(447)](s,e),s}[dt(483)](t){const e=dt;return t[e(519)]((t=>{const i=e,s=this[i(526)](t);return Number(t[i(556)][i(651)](s))}))}[dt(480)](t,e){const i=dt;if(t.is(i(588),i(499)))e[i(603)]({item:t,type:i(666)});else{t.is(i(588))&&e[i(603)]({item:t,type:i(506)});for(const s of t[i(648)]())this[i(480)](s,e);t.is(i(588))&&e[i(603)]({item:t,type:i(618)})}return e}[dt(622)](){const t=dt,e=new Map(this[t(538)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(463)][t(682)](),...this[t(635)][t(682)]()]);a[t(516)](t(586));for(const e of a){const i=this[t(635)][t(580)](e)||yt(e,!1),s=this[t(463)][t(580)](e)||yt(e,!1);i[t(568)]()||s[t(568)]()?(n[t(700)][e]=gt(i),n[t(399)][e]=gt(s),this[t(518)](n[t(399)][e],s),this[t(518)](n[t(700)][e],i),r[t(700)][e]=this[t(480)](this[t(623)][t(580)](e),[]),r[t(399)][e]=this[t(480)](this[t(698)][t(580)](e)||yt(e,!1),[])):a[t(516)](e)}for(const n of a){const o=r[t(700)][n];for(const n of o){const r=this[t(526)](n),o=n[t(556)][t(651)](r);i[t(516)](o),o>=this[t(495)]&&s[t(441)](o,e[t(580)](o))}}for(const n of a){const a=r[t(700)][n],c=this[t(483)](r[t(399)][n]);let u=0;for(const n of a){const r=this[t(526)](n),a=n[t(556)][t(651)](r);if(!s[t(652)](a)&&!o[t(652)](a))if(i[t(652)](a))u++;else{if(a!=c[u]){const s=e[t(580)](a)||e[t(580)](c[u]);for(;a!=c[u];)i[t(652)](c[u])||(o[t(441)](c[u],s),e[t(441)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(700)][e];for(const e of n){const n=this[t(526)](e),r=e[t(556)][t(651)](n);if(o[t(652)](r)){const e=o[t(580)](r);i[t(652)](r)||i[t(441)](r,{...e}),s[t(441)](r,{...e})}}}for(const e of i[t(682)]())e>=this[t(495)]&&i[t(516)](e);const c=new Map;for(const e of a){let n=r[t(700)][e];for(const e of n)if(e[t(556)].is(t(588),t(691))){const i=this[t(526)](e),n=e[t(556)][t(651)](i);if(s[t(652)](n)){const i=e[t(556)][t(701)][t(701)][t(651)](t(503)),r=c[t(580)](i)||new Set;r[t(657)](s[t(580)](n)[t(595)]),c[t(441)](i,r)}}n=r[t(399)][e];for(const e of n)if(e[t(556)].is(t(588),t(691))){const s=this[t(526)](e),n=e[t(556)][t(651)](s);if(i[t(652)](n)){const s=e[t(556)][t(701)][t(701)][t(651)](t(503)),r=c[t(580)](s)||new Set;r[t(657)](i[t(580)](n)[t(595)]),c[t(441)](s,r)}}for(const e of c[t(682)]())(s[t(652)](e)||i[t(652)](e))&&c[t(516)](e)}for(const e of a){const n=r[t(700)][e];let o=null,a=null;for(const e of n){const n=this[t(526)](e),r=e[t(556)][t(651)](n),u=c[t(580)](r);u&&t(506)==e[t(695)]&&(o=Array[t(397)](u)[0],a=e[t(556)][t(651)](t(581))),o&&(i[t(441)](r,{userId:o}),s[t(441)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(399)][e],a=n[t(700)][e];for(const{userId:e}of this[t(413)][t(388)]())null!==e&&l[t(657)](e);for(const{userId:e}of this[t(410)][t(388)]())null!==e&&l[t(657)](e);this[t(559)](a,r[t(700)][e],s,t(653),l),this[t(559)](o,r[t(399)][e],i,t(385),l),u[e]={insertions:this[t(609)](a),deletions:this[t(609)](o),attachChange:this[t(410)][t(580)](e)||null,attributesBefore:A(this[t(658)][t(580)](e))||{},attributesAfter:A(this[t(423)][t(580)](e))}}return{diffData:u,authorsIds:Array[t(397)](l)}}[dt(448)](t){const e=dt;for(const[,i]of t[e(459)]){const t=i[e(565)][e(479)]()[e(632)]((t=>e(691)==t[e(505)]));for(const i of t)1==i[e(497)]&&i[e(470)](0).is(e(588),e(647))&&i[e(470)](0)[e(398)](e(634),!0)}}[dt(609)](t){const e=dt;this[e(448)](t);const i=this[e(498)][e(466)][e(446)](t,{}),s=Array[e(397)](i[e(648)]())[e(519)]((t=>this[e(486)](t)));return JSON[e(414)](s)}[dt(486)](t){const e=dt;if(t.is(e(499)))return t[e(466)];{const i=this[e(498)][e(437)][e(580)](e(567)),s=t,n=this[e(498)][e(466)][e(514)][e(613)],r={type:i[e(615)](s),name:s[e(505)],attributes:Array[e(397)](s[e(673)]()),children:Array[e(397)](s[e(648)]())[e(519)]((t=>this[e(486)](t)))};if(t.is(e(557))&&e(664)!=t[e(505)]){const i=t[e(610)](n[e(521)],n);r[e(584)][e(603)](i[e(465)])}else if(t.is(e(680))){const i=n[e(521)][e(520)](s[e(505)]);t[e(610)](i,n),r[e(584)][e(603)](i[e(471)])}const o=Array[e(397)](s[e(492)]());o[e(646)]>0&&(r[e(525)]=o);const a=s[e(600)]();return null!==a&&(r[e(451)]=a),r}}[dt(559)](t,e,i,s,n){const r=dt;let o=null,a=null,c=0;const u=this[r(498)][r(401)];for(let s=0;s<e[r(646)];s++){const n=this[r(526)](e[s]),c=e[s][r(556)][r(651)](n),h=i[r(580)](c),d=s==e[r(646)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(595)]!=o[r(595)])&&(l(h,kt(a,t,u),kt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,kt(a,t,u),bt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(595)],d=l(591)+s+":"+h+":"+c++,f=u[l(547)](i,a);t[l(459)][l(441)](d,f),null!==h&&n[l(657)](h)}}[dt(526)](t){const e=dt;switch(t[e(695)]){case e(506):return e(503);case e(618):return e(581);default:return e(661)}}[dt(447)](t,e){const i=dt;t[i(501)]=null;for(const s in t){const n=t[s];if(n instanceof K.ModelPosition){const r=e[i(580)](n[i(594)][i(630)]);t[s]=this[i(475)](n,r)}if(n instanceof K.ModelRange){const r=e[i(580)](n[i(594)][i(630)]);t[s]=this[i(457)](n,r)}i(594)===s&&(t[i(594)]=e[i(580)](t[i(594)][i(630)]))}}[dt(457)](t,e){const i=dt;return this[i(498)][i(401)][i(547)](this[i(475)](t[i(565)],e),this[i(475)](t[i(577)],e))}[dt(475)](t,e){const i=dt;return this[i(498)][i(401)][i(663)](e,t[i(697)],t[i(535)])}[dt(537)](t){const e=dt,i=this[e(623)][e(580)](t[e(548)][e(594)][e(630)]),s=this[e(475)](t[e(548)],i),n=null===t[e(477)]?null:t[e(477)]||this[e(498)][e(437)][e(580)](e(668)).me.id,r=s[e(701)],o=this[e(416)],a=[];for(const i of t[e(541)])if(i.is(e(588)))a[e(603)](this[e(546)](i));else for(let t=0;t<i[e(703)];t++)a[e(603)](new K.ModelElement(e(499),{vid:this[e(416)]++}));const c=this[e(416)];for(let t=o;t<c;t++)this[e(538)][e(441)](t,{userId:n});r[e(585)](s[e(589)],a)}[dt(629)](t){const e=dt;(t=this[e(438)](t,this[e(623)]))[e(638)]();const i=null===t[e(477)]?null:t[e(477)]||this[e(498)][e(437)][e(580)](e(668)).me.id,s=t[e(605)](),n=s[e(701)],r=s[e(589)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(470)](e);r.is(a(588),a(499))?s[a(441)](r[a(651)](a(661)),{userId:i}):(s[a(441)](r[a(651)](a(503)),{userId:i}),t(s,r,0,r[a(497)]),s[a(441)](r[a(651)](a(581)),{userId:i}))}}(this[e(538)],n,r,r+t[e(674)])}[dt(427)](t){const e=dt,i=null===(t=this[e(438)](t,this[e(623)]))[e(477)]?null:t[e(477)]||this[e(498)][e(437)][e(580)](e(668)).me.id,s=t[e(464)][e(701)],n=t[e(659)][e(701)],r=s[e(651)](e(581)),o=n[e(651)](e(503));s[e(398)](e(581),n[e(651)](e(581))),n[e(398)](e(581),r),this[e(538)][e(441)](o,{userId:i}),this[e(538)][e(441)](r,{userId:i}),t[e(638)]()}[dt(442)](t){const e=dt,i=null===(t=this[e(438)](t,this[e(623)]))[e(477)]?null:t[e(477)]||this[e(498)][e(437)][e(580)](e(668)).me.id,s=t[e(488)],n=t[e(532)][e(701)];t[e(638)]();const r=n[e(651)](e(581)),o=t[e(528)][e(681)];if(s){const t=o[e(651)](e(581)),s=n[e(651)](e(581));n[e(398)](e(581),t),o[e(398)](e(581),s),this[e(538)][e(441)](n[e(651)](e(581)),{userId:i}),this[e(538)][e(441)](o[e(651)](e(503)),{userId:i})}else{const t=this[e(416)]++,s=this[e(416)]++;n[e(398)](e(581),t),o[e(398)](e(503),s),o[e(398)](e(581),r),this[e(538)][e(441)](t,{userId:i}),this[e(538)][e(441)](s,{userId:i})}}[dt(507)](t){const e=dt;if(!t[e(706)])return;const i=(t=this[e(438)](t,this[e(635)]))[e(679)]?t[e(679)][e(594)]:null,s=t[e(621)]?t[e(621)][e(594)]:null;i&&this[e(431)][e(516)](t[e(505)]),s&&this[e(431)][e(441)](t[e(505)],t[e(621)][e(655)]());const n=null===t[e(477)]?null:t[e(477)]||this[e(498)][e(437)][e(580)](e(668)).me.id,r=t[e(505)];if(!this[e(413)][e(652)](r))return void this[e(413)][e(441)](r,{range:t[e(679)],userId:n});const o=this[e(413)][e(580)](r),a=o[e(508)],c=t[e(621)];null==a&&null==c||a&&c&&a[e(590)](c)?this[e(413)][e(516)](t[e(505)]):o[e(595)]=n}[dt(452)](t,e){const i=dt;this[i(635)][i(652)](t[i(630)])?this[i(635)][i(580)](t[i(630)])[i(534)]=t[i(699)]:(this[i(635)][i(441)](t[i(630)],yt(t[i(630)],!0)),this[i(423)][i(441)](t[i(630)],{}),e&&this[i(623)][i(441)](t[i(630)],yt(t[i(630)],!0)));const s=null===t[i(477)]?null:t[i(477)]||this[i(498)][i(437)][i(580)](i(668)).me.id,n=this[i(410)][i(580)](t[i(630)]);n&&n[i(595)]===s?this[i(410)][i(516)](t[i(630)]):this[i(410)][i(441)](t[i(630)],{userId:s,isAttached:t[i(699)]})}[dt(467)](t){const e=dt,i=this[e(423)][e(580)](t[e(594)][e(630)]);null===t[e(454)]?delete i[t[e(593)]]:i[t[e(593)]]=t[e(454)]}}function gt(t){const e=dt,i=yt(t[e(630)],t[e(568)]());for(const s of t[e(648)]()){const t=s[e(551)](!0);i[e(583)](t)}return i}function yt(t,e=!0){const i=dt,s=new K.ModelDocumentFragment;return s[i(630)]=t,s[i(534)]=e,s[i(568)]=()=>s[i(534)],s}function kt(t,e,i){const s=dt,n=s(618)==t[s(695)]?i[s(572)](t[s(556)],s(577)):i[s(642)](t[s(556)]);return i[s(663)](e,n[s(697)],n[s(535)])}function bt(t,e,i){const s=dt,n=s(506)==t[s(695)]?i[s(572)](t[s(556)],0):i[s(529)](t[s(556)]);return i[s(663)](e,n[s(697)],n[s(535)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),xt=i.n(Ot),Tt=i(262),Nt=i.n(Tt),Rt=i(667),At=i.n(Rt),Mt=i(357),Dt=i.n(Mt),Et=i(426),Vt={attributes:{"data-cke":!0}};Vt.setAttributes=At(),Vt.insert=Nt().bind(null,"head"),Vt.domAPI=xt(),Vt.insertStyleElement=Dt();St()(Et.A,Vt);Et.A&&Et.A.locals&&Et.A.locals;var Ct=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=At(),Ft.insert=Nt().bind(null,"head"),Ft.domAPI=xt(),Ft.insertStyleElement=Dt();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;const Lt=Pt;function jt(){const t=["keystrokes","_createRevisionNameInput","fieldView","revisionNameInputView","1701912tXigaU","add","revisionNameInputValue","trim","stopPropagation","ck-revision-history-save-revision-form","28CUsqDF","220","ck-responsive-form","input","Name of the revision","focusTracker","focus","errorText","19278500RGuINs","setTemplate","locale","arrowleft","arrowright","optional","7185690ljrBwN","listenTo","extendTemplate","24777PDtIer","form","render","reset","1jFcxxB","10486272YETBnu","3238736sUViMW","arrowup","revisionName","element","set","13633416HeBvyx","116yEYsEj","value","arrowdown","initializeCssTransitionDisablerMixin","label"];return(jt=function(){return t})()}function Pt(t,e){const i=jt();return(Pt=function(t,e){return i[t-=296]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(901287===parseInt(e(317))/1*(-parseInt(e(334))/2)+parseInt(e(313))/3*(parseInt(e(325))/4)+parseInt(e(310))/5+-parseInt(e(318))/6+-parseInt(e(296))/7*(parseInt(e(319))/8)+parseInt(e(324))/9+parseInt(e(304))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class zt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[Lt(301)];[Lt(330)];[Lt(333)];constructor(e,i){const s=Lt;super(e),this[s(301)]=new t.FocusTracker,this[s(330)]=new t.KeystrokeHandler,this[s(323)](s(336),""),this[s(333)]=this[s(331)](i),this[s(305)]({tag:s(314),attributes:{class:["ck",s(339),s(298)],tabindex:"-1"},children:[this[s(333)]]}),this[s(328)]()}[Lt(315)](){const t=Lt;super[t(315)](),(0,_t.submitHandler)({view:this}),this[t(301)][t(335)](this[t(333)][t(322)]),this[t(330)][t(311)](this[t(322)]);const e=e=>e[t(338)]();this[t(330)][t(323)](t(308),e),this[t(330)][t(323)](t(307),e),this[t(330)][t(323)](t(320),e),this[t(330)][t(323)](t(327),e)}[Lt(302)](){const t=Lt;this[t(333)][t(302)]()}get[Lt(321)](){const t=Lt;return this[t(333)][t(332)][t(322)][t(326)][t(337)]()}set[Lt(321)](t){const e=Lt;this[e(333)][e(332)][e(322)][e(326)]=t[e(337)]()}[Lt(316)](){const t=Lt;this[t(333)][t(332)][t(322)][t(326)]="",this[t(333)][t(303)]=null}[Lt(331)](t){const e=Lt,i=new _t.LabeledFieldView(this[e(306)],_t.createLabeledInputText),s=i[e(332)];s[e(312)]({attributes:{maxlength:e(297)}});let n=ot(this[e(306)],e(300));return!t&&(n+=" ("+ot(this[e(306)],e(309))+")"),i[e(329)]=n,s.on(e(299),(()=>{const t=e;this[t(336)]=s[t(322)][t(326)][t(337)]()})),i}}const Ut=Wt;function Wt(t,e){const i=Ht();return(Wt=function(t,e){return i[t-=122]})(t,e)}function Ht(){const t=["_registerMenuComponent","Accept","_showDialog","pluginName","submit","Cancel","34vLGAFx","view","buttonView","492HAabrt","revisionHistory.requireRevisionName","1746312xvTQvx","Revision history","12954969kduaxF","The revision name cannot be empty.","role","delegate","isOpen","11333kMgwpz","isPremiumPlugin","revisionHistory","editor","render","RevisionHistoryUI","panelView","get","bind","init","menu","isReady","focus","ck-button-action","revisionSave","isReadOnly","90625lRlVHC","showRevisionViewerCallback","children","309462OdzNYe","_createSaveRevisionFormView","1067frMGfw","RevisionTracker","290620hnmgSq","menuitem","plugins","editing","menuBar:revisionHistory","add","Save current revision","show","errorText","addMany","revisionName","execute","Dialog","isOfficialPlugin","set","componentFactory","requires","revisionNameInputView","reset","_saveRevisionFormView","items","172378dlkGKi","hide","config","Open revision history","isEnabled","264bmzEBy","saveRevision","locale"];return(Ht=function(){return t})()}!function(t){const e=Wt,i=t();for(;;)try{if(901432===parseInt(e(154))/1+parseInt(e(168))/2*(-parseInt(e(129))/3)+-parseInt(e(173))/4+parseInt(e(126))/5*(parseInt(e(171))/6)+-parseInt(e(180))/7*(-parseInt(e(159))/8)+-parseInt(e(175))/9+parseInt(e(133))/10*(parseInt(e(131))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Zt extends J.Plugin{static get[Ut(165)](){return Ut(185)}static get[Ut(146)](){return!0}static get[Ut(181)](){return!0}static get[Ut(149)](){return[pt]}[Ut(152)];[Ut(189)](){const t=Ut,e=this[t(183)],i=e[t(135)][t(187)](t(132));e.ui[t(148)][t(138)](t(182),(s=>{const n=t,r=(0,_t.createDropdown)(s),o=r[n(186)][n(128)],a=new _t.ListView(s),c=new _t.ListItemView(s),u=new _t.ButtonView(s),l=new _t.ListItemView(s),h=new _t.ButtonView(s);return r[n(188)](n(158)).to(i,n(191),i,n(158),e,n(125),((t,e,i)=>t&&e&&!i)),r[n(170)][n(147)]({icon:wt.IconHistory,label:ot(s,n(174)),tooltip:!0}),u[n(147)]({label:ot(s,n(139)),withText:!0,role:n(134)}),u[n(188)](n(158)).to(i,n(191),i,n(158),e,n(125),((t,e,i)=>t&&e&&!i)),u.on(n(144),(()=>this[n(164)]())),h[n(147)]({label:ot(s,n(157)),withText:!0,role:n(134)}),h[n(188)](n(158)).to(i,n(191),e,n(125),((t,e)=>t&&!e)),h.on(n(144),(()=>{const t=n;e[t(156)][t(187)](t(182))[t(127)](),r[t(179)]=!1,e[t(136)][t(169)][t(122)]()})),c[n(128)][n(138)](u),l[n(128)][n(138)](h),a[n(177)]=n(190),a[n(153)][n(142)]([c,l]),o[n(138)](a),r})),e.ui[t(148)][t(138)](t(137),(()=>this[t(162)]()))}[Ut(162)](){const t=Ut,e=this[t(183)],i=e[t(161)],s=new _t.MenuBarMenuView(i),n=new _t.MenuBarMenuListView(i);s[t(170)][t(147)]({icon:wt.IconHistory,label:ot(i,t(174))});const r=new _t.MenuBarMenuListItemView(i,s),o=new _t.MenuBarMenuListItemButtonView(i);o[t(147)]({label:ot(i,t(139))}),o[t(178)](t(144)).to(s),o.on(t(144),(()=>{this[t(164)]()})),r[t(128)][t(138)](o),n[t(153)][t(138)](r);const a=new _t.MenuBarMenuListItemView(i,s),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(147)]({label:ot(i,t(157))}),c[t(178)](t(144)).to(s),c.on(t(144),(()=>{const i=t;e[i(156)][i(187)](i(182))[i(127)]()})),a[t(128)][t(138)](c),n[t(153)][t(138)](a),s[t(186)][t(128)][t(138)](n),s}[Ut(164)](){const t=Ut,e=this[t(183)],i=e[t(161)],s=e[t(135)][t(187)](t(145)),n=e[t(135)][t(187)](t(132));function r(n){const r=t;e[r(156)][r(187)](r(172))&&""===n[r(143)]?n[r(150)][r(141)]=ot(i,r(176)):(e[r(135)][r(187)](pt)[r(160)]({name:n[r(143)]}),s[r(155)]())}this[t(152)]||(this[t(130)](),this[t(152)].on(t(166),(()=>r(this[t(152)])))),this[t(152)][t(151)](),s[t(140)]({id:t(124),title:ot(i,t(139)),isModal:!0,content:this[t(152)],actionButtons:[{label:ot(e[t(161)],t(167)),withText:!0,onExecute:()=>s[t(155)]()},{label:ot(e[t(161)],t(163)),class:t(123),withText:!0,onCreate(i){const s=t;i[s(188)](s(158)).to(n,s(191),n,s(158),e,s(125),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(152)])}]})}[Ut(130)](){const t=Ut,e=this[t(183)],i=e[t(161)];this[t(152)]=new zt(i,e[t(156)][t(187)](t(172))),this[t(152)][t(184)]()}}const qt=$t;function $t(t,e){const i=Bt();return($t=function(t,e){return i[t-=492]})(t,e)}function Bt(){const t=["Added by","type","span","data","changeId","102xAgOfz","isSuggestion","3114216rEKPAK","Suggested by","387064RqYcDR","1954AZRoNz","276LFpozd","Removed by","element","ck-revision-change__","89020AYEykb","ck-revision-change","set","author","name","11955edSwCh","div","1150DlrxTw","setTemplate","3821643USKwow","ck-revision-change__label","bindTemplate","focus","44eemhUk","39127hIlJEe","add","_model","ck-annotation"];return(Bt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(235222===parseInt(e(524))/1*(parseInt(e(523))/2)+-parseInt(e(500))/3*(-parseInt(e(508))/4)+-parseInt(e(495))/5*(-parseInt(e(518))/6)+-parseInt(e(520))/7+parseInt(e(522))/8+parseInt(e(504))/9+-parseInt(e(502))/10*(parseInt(e(509))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Yt extends _t.View{[qt(517)];[qt(511)];constructor(t,e){const i=qt;super(t),this[i(511)]=e,this[i(517)]=e.id;const s=this[i(506)],n=ot(t,e[i(516)][i(519)]?i(521):i(510)==e[i(514)]?i(513):i(492));this[i(497)](i(514),e[i(514)]),this[i(503)]({tag:i(501),attributes:{class:[i(512),i(496),s.to(i(514),(t=>i(494)+t))],tabindex:-1},children:[{tag:i(515),children:[{tag:i(515),attributes:{class:[i(505)]},children:[{text:n}]},{text:" "+e[i(498)][i(499)]}]}]})}[qt(507)](){const t=qt;this[t(493)][t(507)]()}}var Jt=Kt;function Gt(){var t=["9ecjMQo","5369656BYlQBi","11142710JBRhCT","author","4753MNBgan","toJSON","createdAt","data","3409095fRijgZ","2046164RFpvcz","type","set","rootName","2748AYZZYg","2362PhxLXH","1212aWubYH","558607JsQkIf"];return(Gt=function(){return t})()}function Kt(t,e){var i=Gt();return(Kt=function(t,e){return i[t-=176]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(383843===parseInt(e(189))/1+-parseInt(e(187))/2*(parseInt(e(188))/3)+-parseInt(e(182))/4+parseInt(e(181))/5+-parseInt(e(186))/6*(parseInt(e(177))/7)+-parseInt(e(191))/8+-parseInt(e(190))/9*(-parseInt(e(192))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Xt extends((0,t.ObservableMixin)()){id;[Jt(176)];[Jt(183)];[Jt(180)];[Jt(185)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(176)]=e[i(176)],this[i(183)]=e[i(183)],this[i(180)]=e[i(180)]||{},this[i(185)]=e[i(185)],this[i(184)](i(179),e[i(179)])}[Jt(178)](){var t=Jt;return{id:this.id,authorId:this[t(176)].id,type:this[t(183)],data:this[t(180)],createdAt:this[t(179)]}}}const Qt=ee;function te(){const t=["2063352mRNpQD","add","10bePuTt","_setChanges","1146CRBLLl","1922733sIgCOk","newRevisionId","288918YKolmg","874976PXHUqb","oldRevisionId","2189405hbqamt","303ogSoOw","changes","231798lVXoZp","4TaRYQs"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=125]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(341221===parseInt(e(130))/1+-parseInt(e(136))/2*(-parseInt(e(128))/3)+-parseInt(e(131))/4*(parseInt(e(127))/5)+parseInt(e(132))/6+parseInt(e(139))/7+-parseInt(e(125))/8+-parseInt(e(137))/9*(-parseInt(e(134))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ie{[Qt(138)];[Qt(126)];[Qt(129)];constructor(e,i){const s=Qt;this[s(138)]=e,this[s(126)]=i,this[s(129)]=new t.Collection}[Qt(135)](t){const e=Qt;for(const i of t)this[e(129)][e(133)](i)}}var se=i(536),ne={attributes:{"data-cke":!0}};ne.setAttributes=At(),ne.insert=Nt().bind(null,"head"),ne.domAPI=xt(),ne.insertStyleElement=Dt();St()(se.A,ne);se.A&&se.A.locals&&se.A.locals;const re=oe;function oe(t,e){const i=ue();return(oe=function(t,e){return i[t-=447]})(t,e)}!function(t){const e=oe,i=t();for(;;)try{if(702960===parseInt(e(575))/1+parseInt(e(741))/2*(-parseInt(e(662))/3)+-parseInt(e(675))/4*(-parseInt(e(612))/5)+-parseInt(e(489))/6*(-parseInt(e(627))/7)+parseInt(e(644))/8*(-parseInt(e(463))/9)+-parseInt(e(480))/10+-parseInt(e(596))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ae extends J.Plugin{[re(501)];[re(581)]=null;[re(754)];[re(761)];[re(557)];[re(587)];[re(505)];static get[re(460)](){return re(628)}static get[re(589)](){return!0}static get[re(668)](){return!0}static get[re(654)](){return[G.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(501)]=this[e(724)][e(567)][e(704)](e(673)),this[e(754)]=this[e(724)][e(567)][e(704)](e(565)),this[e(682)](e(692),null),this[e(682)](e(681),null),this[e(761)]=null,this[e(682)](e(475),null),this[e(682)](e(705),!1),this[e(682)](e(610),!0),this.on(e(563),((t,i,s)=>{const n=e;this[n(692)]=null,this[n(681)]=null,this[n(724)][n(592)][n(691)][n(527)]((t=>{const e=n;for(const i of this[e(724)][e(592)][e(691)][e(709)][e(634)])s?t[e(490)](e(543),i):t[e(462)](e(543),i)}))})),this[e(536)](e(694)).to(this,e(692),(t=>null!==t)),this[e(536)](e(710)).to(this,e(705),this,e(475),this,e(692),((t,i,s)=>t&&s?i[e(509)][e(526)](s):0)),this[e(536)](e(577)).to(this,e(705),this,e(475),((t,i)=>t?i[e(509)][e(561)]:0)),this[e(557)]=null,this[e(587)]=new Map,this[e(505)]=this[e(724)][e(567)][e(704)](_t.ContextualBalloon)}[re(745)](){const t=re,e=this[t(724)],i=new he(e,{direction:t(633)}),s=new he(e,{direction:t(671)});e[t(699)][t(528)](t(451),i),e[t(699)][t(528)](t(680),s),e[t(699)][t(528)](t(605),new le(e)),this.on(t(457),(()=>{const e=t;i[e(583)](),s[e(583)]()})),this[t(667)](),this[t(521)](),e[t(697)](t(706)),e[t(567)][t(615)](t(670))&&e[t(567)][t(704)](t(670))[t(574)](t(706))}async[re(608)](t){const e=re;return await this[e(754)][e(734)](t,this[e(581)]),this[e(754)][e(608)](t)}async[re(483)](t){const e=re;return await this[e(754)][e(734)](t,this[e(581)]),this[e(754)][e(483)](t)}async[re(466)](t,e,i=!1){const s=re;if(!this[s(610)])return;const n=this[s(475)],r=this[s(501)],o=s(677)==typeof t?r[s(449)](t):t,a=s(677)==typeof e?r[s(449)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(475)]&&this[s(475)][s(764)]===c&&this[s(475)][s(760)]===u)return Promise[s(638)]();this[s(705)]=!1,this[s(681)]=null,this[s(692)]=null,this[s(475)]=new ie(c,u);const l=this[s(518)](o,a,!0)[s(623)]((t=>this[s(754)][s(734)](t,this[s(581)])));return l[s(562)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(620)](l)[s(690)]((()=>{const t=s;if(!this[t(610)])return;this[t(647)]();const e=this[t(693)](c,u);for(const i of e[t(509)])this[t(587)][t(682)](i.id,i);this[t(724)][t(636)][t(618)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(724)][s(636)][s(709)][s(533)]())i[s(751)](t);for(const t of Object[s(762)](e[s(636)])){const n=i[s(510)](t);for(const r of Object[s(762)](e[s(639)][t]))i[s(717)](r,e[s(639)][t][r],n);i[s(616)](e[s(636)][t],n,0)}})),this[t(475)][t(758)](this[t(635)](e[t(509)])),this[t(705)]=!0}))[s(763)]((t=>{const e=s;console[e(679)](t),this[e(647)](),n&&(this[e(475)]=n),this[e(705)]=!0}))}[re(756)](t,e){const i=re,s=this[i(501)][i(552)](t);return s.on(i(546),((t,i,n)=>e(i,n,s))),this[i(501)][i(729)](s),s}[re(647)](){const t=re;this[t(692)]=null,this[t(487)](),this[t(557)]&&this[t(557)][t(614)](),this[t(557)]=null,this[t(587)][t(725)](),this[t(724)][t(636)][t(618)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(724)][i(636)][i(709)][i(533)]())e[i(751)](t)}))}[re(635)](t){const e=re,i=[],s=new Map;for(const t of this[e(724)][e(636)][e(709)][e(533)]()){const n=this[e(724)][e(592)][e(691)][e(683)](t);if(!n)continue;const r=n[e(719)]()[e(492)](0);r&&(i[e(562)](t),s[e(682)](t,r))}return i[e(500)](((t,i)=>{const n=e,r=s[n(704)](t),o=s[n(704)](i);return r.y-o.y||r.x-o.x})),(t=t[e(495)]((t=>i[e(648)](t[e(580)]))))[e(500)](((t,s)=>i[e(479)](t[e(580)])-i[e(479)](s[e(580)]))),t}[re(453)](t){const e=re,i=Array[e(529)](t[e(617)])[e(495)]((([t,i])=>t[e(740)](e(547))&&!i[e(669)])),s=Array[e(529)](this[e(724)][e(636)][e(588)](t)[e(493)]({singleCharacters:!0}));if(0!=i[e(561)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(566)](":");if(n[e(564)][e(469)](t[e(497)])&&i[e(586)](),(t[e(749)][e(469)](n[e(714)])||t[e(749)][e(606)](n[e(714)]))&&(e(603)==r?t[e(696)]={userId:o}:e(450)==r&&(t[e(538)]={userId:o})),0==i[e(561)])break}return s}[re(674)](t){const e=re,i=new Map;for(let s=0;s<t[e(561)];s++)e(519)===t[s][e(730)]?(t[s][e(492)][e(474)]=s,t[s][e(492)][e(645)]=s):(e(676)===t[s][e(730)]?t[s][e(492)][e(474)]=s:e(452)===t[s][e(730)]&&(t[s][e(492)][e(645)]=s),i[e(682)](t[s].id,s));for(const s of i[e(471)]())e(676)===t[s][e(730)]?t[s][e(492)][e(645)]=i[e(704)](t[s][e(736)]):e(452)===t[s][e(730)]&&(t[s][e(492)][e(474)]=i[e(704)](t[s][e(736)]))}[re(503)](t){const e=re;for(let i=0;i<t[e(561)];i++){if(e(676)===t[i][e(730)])t[i][e(492)][e(474)]=i;else if(e(452)===t[i][e(730)]){t[i][e(492)][e(645)]=i;const s=t[i][e(492)][e(474)];t[s][e(736)]=t[i].id,t[i][e(736)]=t[s].id}else t[i][e(492)][e(474)]=i,t[i][e(492)][e(645)]=i,t[i][e(736)]=null;t[i][e(698)]||(t[i][e(698)]=[],t[i][e(739)]=[])}}[re(604)](t,e){const i=re,s=t[i(495)]((t=>!t[i(696)]));for(let t=0;t<e[i(561)];t++)e[t][i(696)]&&(s[t][i(696)]=e[t][i(696)])}[re(693)](t,e=null){const i=re,s=this[i(501)][i(449)](t),n=e?this[i(501)][i(449)](e):null,r=this[i(518)](s,n),o=r[r[i(561)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(561)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(762)](e[i(769)]))if(e[i(769)][t][i(556)]){const s=e[i(769)][t][i(556)];s[i(771)]?(u[i(528)](t),l[i(615)](t)&&l[i(704)](t)[i(718)]==s[i(718)]?l[i(744)](t):l[i(682)](t,s)):l[i(615)](t)?(u[i(744)](t),l[i(744)](t)):(u[i(528)](t),l[i(682)](t,s))}else u[i(528)](t)}for(const t of u){const e=l[i(615)](t)&&!l[i(704)](t)[i(771)];let s=e?r[i(561)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(769)][t]){const s=e?o[i(769)][t][i(520)]:o[i(769)][t][i(454)];c[i(639)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(636)]={};for(const e of t[i(508)])a[i(682)](e.id,e);for(const e of u){const s=t[i(769)][e]?t[i(769)][e][i(478)]:"[]",n=t[i(769)][e]?t[i(769)][e][i(687)]:"[]";t[i(636)][e]={insertions:this[i(754)][i(642)](s),deletions:this[i(754)][i(642)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(529)](s[i(636)][t][i(478)][i(617)])[i(495)]((([t])=>!t[i(740)](i(547)))));let h=0;for(const o of r){const r=this[i(453)](o[i(636)][t][i(478)]);o==s?(e=r,n=e[i(561)],e[i(534)]((t=>{t.id=h++})),this[i(503)](e)):this[i(604)](e,r);const a=e[i(495)]((t=>!t[i(696)]))[i(623)]((t=>t.id));let c=0;const l=this[i(453)](o[i(636)][t][i(687)]);l[i(534)]((t=>{t[i(538)]?t.id=n++:t.id=a[c++]})),this[i(503)](l),this[i(522)](e,i(696)),this[i(522)](l,i(538)),o==s&&this[i(484)](e,u),e=this[i(464)](e,l),this[i(674)](e),this[i(522)](e,i(538))}e=e[i(495)]((t=>!(t[i(696)]&&t[i(538)])));const d=new Map(o[i(636)][t][i(687)][i(617)]),f=new Set(u[i(762)]());for(const t of d[i(762)]())f[i(744)](t);this[i(625)](e,f),this[i(722)](e),e=this[i(545)](e),e=this[i(626)](e),e=this[i(732)](e);const{root:m,changes:p}=this[i(472)](e,a,t);c[i(636)][t]=m;const v=l[i(704)](t);if(v){const e=a[i(704)](v[i(718)]),s=new Xt({author:e,type:v[i(771)]?i(528):i(558),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(651)](s),c[i(639)][t][i(646)]=s.id}c[i(509)]=c[i(509)][i(621)](p)}return c}[re(484)](t,e){const i=re;for(let s=0;s<t[i(561)];s++)for(const[n,r]of e)!r[i(669)]&&r[i(714)][i(469)](t[s][i(749)])&&t[s][i(698)][i(562)](n),r[i(564)][i(469)](t[s][i(497)])&&t[s][i(739)][i(562)](n)}[re(464)](t,e){const i=re;let s=[],n=0,r=0;for(;n<t[i(561)]||r<e[i(561)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(562)](o);else if(a[i(538)]&&o[i(696)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(579)](t,n,e,r);s=s[i(621)](o),n=a,r=c}else a[i(538)]?(r++,s[i(562)](a)):(n++,s[i(562)](o))}return s}[re(625)](t,e){const i=re,s=[];for(let o=0;o<t[i(561)];o++){for(let r=0;r<t[o][i(698)][i(561)];r++){const a=t[o][i(698)][r];if(!e[i(615)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(541)!=c||i(603)!=u&&i(450)!=u||(s[i(651)]({type:u,name:a,userId:l}),t[o][i(698)][i(481)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(739)][i(561)];r++){const a=t[o][i(739)][r];if(!e[i(615)](a))continue;const{group:c,type:u}=n(a);if(i(541)!=c||i(603)!=u&&i(450)!=u)continue;t[o][i(739)][i(481)](r,1),r--;const l=s[i(515)]((t=>t[i(663)]==a));l>-1&&s[i(481)](l,1)}}function n(t){const e=i,s=t[e(566)](":");return{group:s[0],type:s[1],subType:s[e(561)]>=5?s[2]:null,id:s[e(561)]<5?s[2]:s[3],authorId:s[e(561)]<5?s[3]:s[4],markerCount:6==s[e(561)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(561)];i++){if(t[e(696)]&&e(603)==s[i][e(730)]&&t[e(696)][e(718)]==s[i][e(718)])return t[e(737)]=s[i],void delete t[e(696)];if(!t[e(696)]&&!t[e(538)]&&e(450)==s[i][e(730)])return void(t[e(456)]=s[i])}}}[re(522)](t,e){const i=re;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(682)](o.id,s);for(let s=0;s<t[i(561)];s++){if(i(538)==e&&t[s][i(696)]||i(696)==e&&t[s][i(538)])continue;if(i(519)==t[s][i(730)]){t[s][i(684)]=0;continue}const n=r[i(704)](t[s][i(736)]),o=r[i(704)](t[s].id);t[s][i(684)]=n-o}}[re(518)](t,e,i=!1){const s=re,n=[];let r=this[s(501)][s(526)](t),o=this[s(501)][s(526)](e);for(-1==o&&(o=this[s(501)][s(624)][s(561)],i=!1);r<o;)n[s(562)](this[s(501)][s(449)](r)),r++;return i&&n[s(562)](this[s(501)][s(449)](r)),n}[re(579)](t,e,i,s){const n=re,r=this[n(724)][n(636)][n(486)];let o=e;for(;t[o]&&t[o][n(696)];)o++;let a=s;for(;i[a]&&i[a][n(538)];)a++;u(t,e,o),u(i,s,a);const c=i[n(649)](s,a)[n(621)](t[n(649)](e,o));return c[n(500)](((t,e)=>t[n(752)]!=e[n(752)]?t[n(752)]-e[n(752)]:t[n(594)]!=e[n(594)]?t[n(594)]-e[n(594)]:t[n(684)]!=e[n(684)]?e[n(684)]-t[n(684)]:!!t[n(696)]!=!!e[n(696)]?-1==t[n(752)]||0==t[n(752)]?t[n(696)]?-1:1:t[n(696)]?1:-1:t[n(716)]-e[n(716)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(555)],c=!0;for(let n=e;n<i;n++)if(r[s(712)](t[n][s(492)])||(c=!1),t[n][s(492)][s(474)]<e&&(o=n),t[n][s(492)][s(645)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(752)]=n<=o?-1:n<a?0:1,t[n][s(716)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(684)]?t[i][s(594)]=u:(u++,t[i][s(594)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(752)]&&(t[n][s(594)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(684)]?t[e][s(594)]=u:(u--,t[e][s(594)]=u,u--)}}[re(722)](t){const e=re,i=new Map,s=this[e(724)][e(636)][e(486)];for(let n=1;n<t[e(561)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(519)==c[e(730)])continue;if(c[e(730)]!=u[e(730)])continue;if(!s[e(499)](u[e(492)])||s[e(542)](u[e(492)]))continue;if(!s[e(499)](c[e(492)])||s[e(542)](c[e(492)]))continue;if((t[n][e(696)]||t[n][e(737)])&&t[n-1][e(538)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(538)]||!t[n-1][e(696)]&&!t[n-1][e(737)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(594)]==o[e(594)],h=Math[e(750)](r[e(594)])<Math[e(750)](o[e(594)])&&0==o[e(684)];(l||h)&&(i[e(682)](o.id,r.id),t[e(481)](a,1),n--,r[e(696)]=!1)}for(let s=0;s<t[e(561)];s++)i[e(615)](t[s][e(736)])&&(t[s][e(736)]=i[e(704)](t[s][e(736)]))}[re(545)](t){const e=re,i=new Set(t[e(623)]((t=>t.id)));for(let s=0;s<t[e(561)];s++)i[e(615)](t[s][e(736)])||0==t[s][e(684)]||(t[s][e(619)]=!0);return t[e(495)]((t=>!t[e(619)]))}[re(626)](t){const e=re,i=new Set;for(let s=0;s<t[e(561)];s++){if(i[e(615)](t[s].id)&&t[s][e(538)]&&(t[s][e(619)]=!0),t[s][e(619)])continue;if(0==t[s][e(684)])continue;if(e(676)!=t[s][e(730)])continue;if(null==t[s][e(736)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(736)];)e(676)==t[n][e(730)]?r++:e(452)==t[n][e(730)]&&r--,n++;if(0!=r)if(t[s][e(538)])t[s][e(619)]=!0;else for(;n!=s;)t[n][e(538)]&&0!=t[n][e(684)]&&(t[n][e(619)]=!0,i[e(528)](t[n][e(736)])),n--}return t[e(495)]((t=>!t[e(619)]))}[re(732)](t){const e=re,i=this[e(724)][e(636)][e(486)];for(let s=0;s<t[e(561)];s++){if(!(t[s][e(696)]||t[s][e(737)]||t[s][e(538)]||t[s][e(456)]))continue;if(0==t[s][e(684)])continue;const n=t[s][e(492)];i[e(499)](n)||i[e(542)](n)||(t[s][e(696)]&&delete t[s][e(696)],t[s][e(737)]&&delete t[s][e(737)],t[s][e(456)]&&delete t[s][e(456)],t[s][e(538)]&&(t[s][e(619)]=!0))}return t[e(495)]((t=>!t[e(619)]))}[re(472)](t,e,i){const s=re,n=new K.ModelDocumentFragment,r=[],o=new Map,a=this[s(724)][s(636)],c=a[s(486)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(561)];e++)if(s(676)===t[e][s(730)]){t[e][s(749)]=a[s(578)](n,f);const i=new K.ModelElement(t[e][s(492)][s(663)],t[e][s(492)][s(666)]());u[0][s(689)](i),f[s(562)](0),u[s(651)](i),t[e][s(497)]=a[s(578)](n,f)}else s(452)===t[e][s(730)]?(u[s(586)](),t[e][s(749)]=a[s(578)](n,f),f[s(703)](),f[f[s(561)]-1]++,t[e][s(497)]=a[s(578)](n,f)):(t[e][s(749)]=a[s(578)](n,f),d?d[s(473)]+=t[e][s(492)][s(685)]:d=new K.ModelText(t[e][s(492)][s(685)],t[e][s(492)][s(666)]()),t[e+1]&&s(519)===t[e+1][s(730)]&&v(d,t[e+1][s(492)])||(u[0][s(689)](d),d=null),f[f[s(561)]-1]+=t[e][s(492)][s(524)],t[e][s(497)]=a[s(578)](n,f));for(let e=0;e<t[s(561)];e++){const i=t[e][s(749)],n=t[e][s(497)];for(const n of t[e][s(698)])o[s(682)](n,{start:i,end:null});m(s(456),e,i,n),m(s(737),e,i,n),m(s(538),e,i,n),m(s(696),e,i,n);for(const i of t[e][s(739)]){const t=o[s(704)](i);t?t[s(564)]=n:o[s(682)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(724)][s(636)][s(602)](e[s(714)],e[s(564)]);n[s(617)][s(682)](t,i)}return r[s(500)](((t,e)=>{const i=s,r=n[i(617)][i(704)](i(547)+t.id),o=n[i(617)][i(704)](i(547)+e.id);return r[i(714)][i(723)](o[i(714)])?-1:r[i(714)][i(606)](o[i(714)])?1:r[i(564)][i(723)](o[i(564)])?-1:r[i(564)][i(606)](o[i(564)])?1:i(528)===t[i(730)]?-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(718)]:null,d=i===t[o(561)]-1,f=h[e][0],m=c[o(713)](t[i][o(492)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(564)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(718)]!==u&&(l[e][o(564)]=n,f&&f[o(718)]===l[e][o(718)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(676)!==t[i][o(730)]||f&&f[o(718)]===u||h[e][o(651)]({userId:u,object:t[i][o(492)],change:l[e]}),o(452)===t[i][o(730)]&&f&&f[o(544)]===t[i][o(492)]&&(h[e][o(586)](),l[e]=f[o(527)])),l[e]&&d&&(l[e][o(564)]=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(492)],f=a[h(486)][h(499)](d)&&!a[h(486)][h(542)](d),m=t[h(600)]==o[h(572)]&&o[h(496)];if(f&&m)return;const p=a[h(602)](t,o),v=e[h(704)](u),g=new Xt({author:v,type:h(696)==l||h(737)==l?h(528):h(558),data:{isSuggestion:h(737)==l||h(456)==l},createdAt:new Date,rootName:i});r[h(562)](g),n[h(617)][h(682)](h(547)+g.id,p)}function v(t,e){const i=s,n=t[i(666)](),r=e[i(666)]();for(const t of n){if(t[1]!==e[i(622)](t[0]))return!1;r[i(540)]()}return r[i(540)]()[i(748)]}}[re(667)](){const t=re;this[t(724)][t(653)][t(613)](t(753))[t(553)]({view:t(523)}),this[t(724)][t(653)][t(613)](t(715))[t(531)]({model:t(523),view:e=>{const i=t,s=e[i(720)][i(566)](":")[1],n=this[i(477)](s);if(!n)return null;const r=i(528)==n[i(730)]?i(603):i(450),o=[i(514),i(773)+r];return n[i(685)][i(459)]&&o[i(562)](i(773)+r+i(498)),this[i(692)]==n&&o[i(562)](i(525)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(724)][t(653)][t(613)](t(753))[t(528)]((e=>{const i=t;e.on(i(570),((t,e,s)=>{const n=i,r=e[n(757)][n(665)](0);if(!r||!r.is(n(707),n(768)))return;if(!s[n(632)][n(447)](r,{attributes:[n(733),n(738)]}))return;const o=e[n(488)][n(714)][n(600)];s[n(641)][n(717)](n(733),r[n(622)](n(733)),o),s[n(641)][n(717)](n(738),r[n(622)](n(738)),o)}),{priority:i(650)})})),this[t(724)][t(653)][t(613)](t(753))[t(528)]((e=>{const i=t;e.on(i(707),((t,e,s)=>{const n=i;if(!s[n(632)][n(447)](e[n(757)],{attributes:[n(733),n(738)]}))return;if(e[n(488)][n(669)])return;const r=e[n(488)][n(714)][n(600)];r[n(537)](n(733))||r[n(537)](n(576))||(s[n(641)][n(717)](n(733),e[n(757)][n(622)](n(733)),r),s[n(641)][n(717)](n(738),e[n(757)][n(622)](n(738)),r))}),{priority:i(650)})})),this[t(724)][t(653)][t(613)](t(753))[t(611)]({view:{name:t(664),attributes:{vid:!0}},model:{key:t(576),value:e=>e[t(622)](t(576))}}),this[t(724)][t(636)][t(486)].on(t(504),((e,[,i])=>{const s=t;[s(733),s(738),s(576)][s(648)](i)&&(e[s(607)]=!0,e[s(742)]())}),{priority:t(658)}),this[t(724)][t(653)][t(613)](t(535))[t(528)]((e=>{const i=t;e.on(i(517),((t,e,s)=>{const n=i;if(" "!=e[n(492)][n(685)]||e[n(492)][n(572)][n(657)]>1)return;if(!s[n(632)][n(447)](e[n(492)],t[n(663)]))return;const r=s[n(641)],o=s[n(465)][n(485)](e[n(595)]);r[n(468)](o,r[n(598)](n(664)))}))})),this[t(724)][t(653)][t(613)](t(535))[t(539)]({model:t(523)}),this[t(724)][t(592)][t(686)].on(t(548),function(e){const i=t,s=e[i(567)][i(704)](i(628));return(t,n,r)=>{const o=i,a=n[o(720)][o(566)](":")[1],c=s[o(477)](a);if(!c)return null;const u=o(528)==c[o(730)]?o(566):o(569);if(!r[o(632)][o(652)](n[o(702)],t[o(663)]))return;const l=n[o(702)][o(493)](),h=n[o(702)][o(714)],d=e[o(636)][o(486)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(492)];p=p||d[o(708)](e);const i=r[o(465)][o(643)](e);if(i&&i[o(743)](o(726)))return;o(452)==t[o(730)]&&d[o(499)](e)&&!d[o(542)](e)&&(e[o(559)]||h[o(461)]?f&&f[o(572)]==e||(f=e,g(t[o(749)]),v=!0):m=m||t[o(749)])}function g(t){const e=o,i=r[e(641)][e(728)](e(664),{class:e(773)+u}),a=r[e(465)][e(554)](t);c[e(685)][e(459)]&&r[e(641)][e(462)](e(773)+u+e(498),i),s[e(692)]==c&&r[e(641)][e(462)](e(525),i),r[e(641)][e(616)](a,i),r[e(465)][e(470)](i,n[e(720)])}p||v||!m||g(m)}}(this[t(724)]),{priority:t(770)}),this[t(724)][t(592)][t(686)].on(t(630),((e,i,s)=>{const n=t,r=s[n(465)][n(511)](i[n(720)]);if(r)for(const t of r)(t[n(516)](n(727))||t[n(516)](n(467)))&&(s[n(465)][n(550)](t,i[n(720)]),s[n(641)][n(558)](t))}),{priority:t(770)}),this[t(724)][t(592)][t(686)].on(t(548),((e,i,s)=>{const n=t,r=i[n(720)][n(566)](":")[1],o=this[n(477)](r);if(!o)return null;const a=n(528)==o[n(730)]?n(566):n(569);if(s[n(632)][n(652)](i[n(702)],e[n(663)]))for(const t of i[n(702)][n(678)]()){if(!t.is(n(707),n(476)))continue;const e=s[n(641)][n(728)](n(664),{class:n(773)+a}),r=s[n(465)][n(554)](this[n(724)][n(636)][n(766)](t));o[n(685)][n(459)]&&s[n(641)][n(462)](n(773)+a+n(498),e),this[n(692)]==o&&s[n(641)][n(462)](n(525),e),s[n(641)][n(616)](r,e),s[n(465)][n(470)](e,i[n(720)])}}),{priority:t(770)}),this[t(724)][t(636)][t(709)].on(t(527),(()=>{const e=t;this[e(724)][e(592)][e(691)][e(527)]((t=>{const i=e;for(const e of this[i(724)][i(636)][i(709)][i(533)]()){const s=this[i(724)][i(636)][i(709)][i(491)](e),n=this[i(724)][i(592)][i(691)][i(709)][i(491)](e);if(n){const e=s[i(622)](i(646));if(t[i(772)](i(688),n),t[i(490)](i(656),n),t[i(490)](i(655),n),t[i(490)](i(755),n),e){const s=this[i(477)](e);if(!s)return null;t[i(717)](i(688),e,n),t[i(462)](i(659)+s[i(730)],n),this[i(692)]==s&&t[i(462)](i(755),n)}}}}))})),this[t(724)][t(653)][t(613)](t(753))[t(553)]({view:t(584),model:e=>t(746)+e,converterPriority:t(658)}),this[t(724)][t(653)][t(613)](t(753))[t(553)]({view:t(661),model:e=>t(455)+e,converterPriority:t(658)}),this[t(724)][t(653)][t(613)](t(535))[t(539)]({model:t(541),view:e=>({name:t(494)+e,group:t(541)}),converterPriority:t(658)}),this[t(724)][t(653)][t(613)](t(715))[t(531)]({model:t(541),view:e=>{const i=t,s=e[i(720)][i(566)](":")[1];return i(603)!=s&&i(450)!=s?null:{classes:[i(597),i(701)+s]}}}),this[t(724)][t(592)][t(686)].on(t(502),ce(this[t(724)],t(569)),{priority:t(770)}),this[t(724)][t(592)][t(686)].on(t(532),ce(this[t(724)],t(566)),{priority:t(770)}),this[t(724)][t(592)][t(686)].on(t(590),((e,i,s)=>{const n=t,r=s[n(465)][n(511)](i[n(720)]);if(r)for(const t of r)t.is(n(571))&&(s[n(465)][n(550)](t,i[n(720)]),s[n(641)][n(558)](t))}),{priority:t(770)})}[re(477)](t){const e=re;return this[e(587)][e(704)](t)}[re(637)](t){const e=re;return this[e(557)]&&this[e(557)][e(614)](),this[e(557)]=new Yt(this[e(724)][e(711)],t),this[e(557)]}[re(521)](){const t=re;this[t(724)][t(636)][t(709)][t(721)][t(759)](t(523)),this.on(t(695),((e,i,s,n)=>{const r=t;n&&this[r(505)][r(558)](n),s&&(this[r(505)][r(528)]({view:s,stackId:r(747),position:{target:()=>{const t=r,e=this[t(724)][t(592)],i=this[t(477)](s[t(609)]);let n;if(i[t(685)][t(593)]){const s=e[t(691)][t(683)](i[t(580)]);n=Array[t(529)](s[t(719)]())}else{const i=this[t(724)][t(636)][t(617)][t(704)](t(547)+s[t(609)]);n=Array[t(529)](e[t(465)][t(511)](i[t(663)]))[t(623)]((i=>e[t(691)][t(507)][t(506)](i)))[t(623)]((e=>Array[t(529)](e[t(719)]())))[t(700)]()}return this[t(761)]&&n[t(549)]((e=>e[t(640)]-3<=this[t(761)].y&&e[t(660)]+3>=this[t(761)].y&&e[t(513)]-3<=this[t(761)].x&&e[t(530)]+3>=this[t(761)].x))||n[0]}}}),this[r(505)][r(591)](r(747)))})),this.on(t(629),((e,i,s,n)=>{const r=t;this[r(681)]=s?this[r(637)](s):null,this[r(724)][r(636)][r(527)]((()=>{const t=r,e=this[t(724)][t(592)];n&&(n[t(685)][t(593)]?e[t(691)][t(527)]((i=>{const s=t;i[s(490)](s(755),e[s(691)][s(709)][s(491)](n[s(580)]))})):e[t(512)](t(547)+n.id)),s&&(s[t(685)][t(593)]?e[t(691)][t(527)]((i=>{const n=t;i[n(462)](n(755),e[n(691)][n(709)][n(491)](s[n(580)]))})):e[t(512)](t(547)+s.id))}))})),this[t(765)](this[t(724)][t(592)][t(691)][t(709)],t(458),((e,i)=>{const s=t;if(this[s(692)])return;const n=this[s(482)](i[s(631)]),r=this[s(587)][s(704)](n);r?(this[s(761)]={x:i[s(601)].x,y:i[s(601)].y},this[s(681)]=this[s(637)](r)):(this[s(761)]=null,this[s(681)]=null)})),this[t(765)](this[t(724)][t(592)][t(691)][t(709)],t(582),((e,i)=>{const s=t,n=this[s(482)](i[s(631)]),r=this[s(587)][s(704)](n);r?(this[s(761)]={x:i[s(601)].x,y:i[s(601)].y},r===this[s(692)]?this[s(505)][s(560)]():this[s(692)]=r):(this[s(761)]=null,this[s(692)]=null)}))}[re(482)](t){const e=re;do{const i=t[e(622)](e(688));if(i)return i;t=t[e(572)]}while(t);return null}[re(487)](){const t=re;this[t(724)][t(636)][t(527)]((e=>{const i=t;for(const t of this[i(724)][i(636)][i(617)])e[i(599)](t)}))}}function ce(t,e){return(i,s,n)=>{const r=oe;if(!n[r(632)][r(652)](s[r(702)],i[r(663)]))return;const o=s[r(702)][r(493)](),a=s[r(702)][r(714)],c=t[r(636)][r(486)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(492)];h=h||c[r(708)](e);const i=n[r(465)][r(643)](e);if(i&&i[r(743)](r(726)))return;r(452)==t[r(730)]&&c[r(499)](e)&&!c[r(542)](e)&&(e[r(559)]||a[r(461)]?u&&u[r(572)]==e||(u=e,f(t[r(749)]),d=!0):l=l||t[r(749)])}function f(t){const i=r,o=n[i(465)][i(554)](t),a=n[i(641)][i(728)](i(664),{class:i(701)+e});n[i(641)][i(616)](o,a),n[i(465)][i(470)](a,s[i(720)])}h||d||!l||f(l)}}function ue(){const t=["test","conversion","requires","ck-revision-history-root-remove","ck-revision-history-root-add","maxOffset","highest","ck-revision-history-root-","bottom","suggestion","21kybPnt","name","span","getChild","getAttributes","_setConversion","isPremiumPlugin","isCollapsed","WidgetToolbarRepository","forward","execute","RevisionsRepository","_refreshStartEndIndex","188zEXdSw","elementStart","string","getItems","error","showNextChange","activeView","set","getDomRoot","distance","data","downcastDispatcher","deletions","data-change-id","_appendChild","then","view","activeChange","_getDiff","isNavigationMode","change:activeView","isAdded","enableReadOnlyMode","markersStart","commands","flat","ck-suggestion-preview-marker-","markerRange","pop","get","isReady","revision-viewer","element","isContent","document","currentChangeNumber","locale","isInline","isObject","start","editingDowncast","index","setAttribute","userId","getClientRects","markerName","selection","_fixObsoleteTags","isBefore","editor","clear","addHighlight","ck-suggestion-marker-split","createUIElement","addRevision","type","revisionHistory","_removeUnsupportedChanges","vid_start","loadRevisionData","restoreRevisionCallback","pairId","isAddSuggestion","vid_end","markersEnd","startsWith","118798hGyFgh","stop","getCustomProperty","delete","init","revision-comment:","revisionHistoryLabel","done","previousPosition","abs","detachRoot","side","upcast","_utils","ck-revision-history-root--active","addRevisionData","viewItem","_setChanges","observeMarkers","oldRevisionId","_activeViewTarget","keys","catch","newRevisionId","listenTo","createPositionBefore","affectsData","code","diffData","high","isAttached","removeAttribute","ck-suggestion-marker-","consume","change:isReady","getRevision","deletion","showPreviousChange","elementEnd","_makeTape","attributesAfter","revision-suggestion:","isRemoveSuggestion","change:numberOfChanges","mouseover","isSuggestion","pluginName","isAtEnd","addClass","2943fCJxxM","_joinTapes","mapper","compare","ck-suggestion-marker-merge","wrap","isEqual","bindElementToMarker","values","_makeModelFromTape","_data","startIndex","diff","softBreak","_getChangeFromId","insertions","indexOf","6974410CxwPVk","splice","_findChangeIdFromDomTarget","getRevisionRootsAttributes","_markMarkers","toViewRange","schema","_cleanMarkers","modelRange","744IhQMmR","removeClass","getRoot","item","getWalker","suggestion:","filter","isAtStart","nextPosition","-new","isBlock","sort","repository","addMarker:revision-suggestion:deletion","_processTape","checkAttribute","_balloon","mapViewToDom","domConverter","authors","changes","addRoot","markerNameToElements","reconvertMarker","left","ck-suggestion-marker","findIndex","hasClass","attribute:vid","_getRevisionsRange","text","attributesBefore","_initInteractions","_setDistance","revision","offsetSize","ck-suggestion-marker--active","getIndex","change","add","from","right","markerToHighlight","addMarker:revision-suggestion:insertion","getRootNames","forEach","dataDowncast","bind","hasAttribute","isRemoved","markerToData","next","revision-suggestion","isLimit","ck-editor__editable__overlay","object","_removeMissingPairs","_update","revision:","addMarker:revision","find","unbindElementFromMarkerName","getLaterVisibleRevision","createRevision","dataToMarker","toViewPosition","POSITIVE_INFINITY","attachChange","_changeView","remove","nextSibling","updatePosition","length","push","change:isEnabled","end","RevisionHistoryUtils","split","plugins","config","merge","element:pre","uiElement","parent","_step","forceDisabled","495292rBhsOH","vid","numberOfChanges","createPositionFromPath","_threeWayMerge","rootName","adapter","mousedown","refresh","comment","first","shift","_changeIdToChange","createRangeIn","isOfficialPlugin","removeMarker:revision-suggestion","showStack","editing","isOnRoot","level","range","1711941dWbZSx","ck-suggestion-preview-marker","createAttributeElement","removeMarker","nodeAfter","domEvent","createRange","insertion","_markInsertions","restoreRevision","isAfter","return","getRevisionDocumentData","changeId","isEnabled","elementToAttribute","32140nqARjG","for","destroy","has","insert","markers","enqueueChange","isIncorrect","all","concat","getAttribute","map","_revisions","_markSuggestions","_markMismatchedRemovedTags","68236ajbvAa","RevisionViewer","change:activeChange","removeMarker:revision","target","consumable","backward","roots","_sortAndFilterDiffChanges","model","_getViewForChange","resolve","attributes","top","writer","_makeModelFromViewString","toViewElement","840ZqYCON","endIndex","revisionHistoryAttachChange","_cleanUp","includes","slice","low","unshift"];return(ue=function(){return t})()}class le extends J.Command{constructor(t){const e=re;super(t);const i=t[e(567)][e(704)](ae);this[e(767)]=!1,this[e(765)](i,e(448),(()=>this[e(583)]())),this[e(765)](i,e(563),(()=>this[e(583)]()))}[re(672)](){const t=re,e=this[t(724)],i=e[t(567)][t(704)](ae),s=i[t(705)]?i[t(475)][t(764)]:null;e[t(568)][t(704)](t(731))[t(735)](s)}[re(583)](){const t=re,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(724)][t(567)][t(704)](ae),r=n&&s[t(551)](n[t(764)]);this[t(610)]=e&&i&&Boolean(r)}}class he extends J.Command{[re(573)];constructor(t,{direction:e}){const i=re;super(t);const s=t[i(567)][i(704)](ae);this[i(767)]=!1,this[i(573)]=i(671)===e?1:-1,this[i(765)](s,i(448),(()=>this[i(583)]())),this[i(765)](s,i(563),(()=>this[i(583)]())),this[i(765)](s,i(629),(()=>this[i(583)]()))}[re(672)](){const e=re,i=this[e(724)],s=i[e(567)][e(704)](ae),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(692)]=n?s[e(475)][e(509)][e(704)](r+this[e(573)]):s[e(475)][e(509)][e(585)],s[e(692)][e(685)][e(593)])o=i[e(592)][e(691)][e(683)](s[e(692)][e(580)]);else{const t=i[e(636)][e(617)][e(704)](e(547)+s[e(692)].id);o=(0,G.getMarkerDomElement)(i[e(592)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(583)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(724)][t(567)][t(704)](ae);this[t(610)]=!!(r&&n&&s)&&(!e||(1===this[t(573)]?i<s-1:i>0))}}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=At(),fe.insert=Nt().bind(null,"head"),fe.domAPI=xt(),fe.insertStyleElement=Dt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(t,e){const i=pe();return(me=function(t,e){return i[t-=497]})(t,e)}function pe(){const t=["148514DjPkOP","bindTemplate","2370RrDgqn","ck-revision-history-ui__changes-navigation__wrapper","_isStatusLabelVisible","setTemplate","1uHcHpw","ck-revision-history-ui","Loading...","currentChangeNumber","ck-hidden","NUMBER_OF_CHANGES","numberOfChanges","Show next change","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation","EDIT_X_OF_Y_REVISIONS","div","X_OF_Y_CHANGES","5305IqDxTT","backward","bind","2440074QcIIVu","_statusText","forward","set","ck-revision-history-ui__changes-navigation__label","execute","fire","isNavigationMode","span","Show previous change","Total","isEnabled","1079325sIlPSu","isReady","508983HKHext","1448068RKpbiN","2207952EsDUfW","isForwardNavigationEnabled","No changes","ck-revision-history-ui__changes-navigation__navigation"];return(pe=function(){return t})()}!function(t){const e=me,i=t();for(;;)try{if(280529===-parseInt(e(508))/1*(-parseInt(e(502))/2)+parseInt(e(538))/3+parseInt(e(497))/4+parseInt(e(521))/5*(parseInt(e(504))/6)+-parseInt(e(524))/7+-parseInt(e(498))/8+-parseInt(e(536))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ve extends _t.View{constructor(t){const e=me;super(t);const i=this[e(503)],s=new _t.ButtonView(t),n=new _t.ButtonView(t);this[e(527)](e(531),!1),this[e(527)](e(537),!1),this[e(527)](e(511),0),this[e(527)](e(514),0),this[e(527)](e(499),!1),this[e(527)](e(516),!1),this[e(523)](e(506)).to(this,e(537),this,e(514),((t,e)=>t&&e>0)),this[e(523)](e(525)).to(this,e(537),this,e(511),this,e(514),this,e(531),((i,s,n,r)=>{const o=e;if(!i)return ot(t,o(510));if(!n)return ot(t,o(500));const a=ot(t,o(513),n);return r?ot(t,o(520),[s+1,n]):a})),s[e(527)]({label:ot(t,e(533)),tooltip:!0,icon:wt.IconChevronUp}),n[e(527)]({label:ot(t,e(515)),tooltip:!0,icon:wt.IconChevronDown}),s[e(523)](e(535)).to(this,e(516)),n[e(523)](e(535)).to(this,e(499)),s.on(e(529),(()=>this[e(530)](e(529),e(522)))),n.on(e(529),(()=>this[e(530)](e(529),e(526)))),this[e(507)]({tag:e(519),attributes:{class:["ck",e(509),e(517)]},children:[{tag:e(532),attributes:{class:[e(505)]},children:[{tag:e(532),attributes:{class:[e(528),i.if(e(506),e(512),(t=>!t))]},children:[{text:i.to(e(531),(i=>i?ot(t,e(518))+": ":ot(t,e(534))+": "))}]},{text:i.to(e(525))}]},new _t.ToolbarSeparatorView,{tag:e(519),attributes:{class:[e(501)]},children:[s,n]}]})}}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=At(),ye.insert=Nt().bind(null,"head"),ye.domAPI=xt(),ye.insertStyleElement=Dt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;const ke=we;!function(t){const e=we,i=t();for(;;)try{if(246066===-parseInt(e(325))/1+parseInt(e(333))/2*(-parseInt(e(319))/3)+parseInt(e(339))/4+-parseInt(e(316))/5*(parseInt(e(338))/6)+parseInt(e(334))/7*(-parseInt(e(330))/8)+parseInt(e(318))/9+parseInt(e(328))/10*(parseInt(e(335))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const be=ke(321);function we(t,e){const i=_e();return(we=function(t,e){return i[t-=314]})(t,e)}function _e(){const t=["12pAdtEC","370256FQKpNI","addClass","RevisionViewerLoadingOverlay","977555UhkIDw","removeClass","1202427enTrEH","174081zUnKts","show","ck-editor__editable__loading-overlay","document","pluginName","editor","442256WOlxHL","view","hide","20lXORzS","isPremiumPlugin","72PbVUux","roots","isOfficialPlugin","2RczEMl","65450tpjJlW","5474447mXECQd","editing","change"];return(_e=function(){return t})()}class Ie extends J.Plugin{static get[ke(323)](){return ke(315)}static get[ke(332)](){return!0}static get[ke(329)](){return!0}[ke(320)](){const t=ke,e=this[t(324)][t(336)][t(326)];e[t(337)]((i=>{const s=t;for(const t of e[s(322)][s(331)])i[s(314)](be,t)}))}[ke(327)](){const t=ke,e=this[t(324)][t(336)][t(326)];e[t(337)]((i=>{const s=t;for(const t of e[s(322)][s(331)])i[s(317)](be,t)}))}}const Se=Oe;function Oe(t,e){const i=xe();return(Oe=function(t,e){return i[t-=332]})(t,e)}function xe(){const t=["isForwardNavigationEnabled","isOfficialPlugin","revisionHistory","96216QzWGhZ","isPremiumPlugin","forward","closeRevisionViewerCallback","isEnabled","4162362mKDHOm","Back to editing","2563nalULt","showNextChange","init","isNavigationMode","hide","showPreviousChange","exitToEditing","execute","isBackwardNavigationEnabled","get","2OZNgjv","change:isReady","requires","plugins","102dICRhC","changesNavigation","177685WmLUHB","7933329iariIz","bind","309775XulGoC","componentFactory","Restore this revision","editor","config","currentChangeNumber","numberOfChanges","ck-revision-history-ui__back-to-editing","add","commands","11949000FSPMeZ","listenTo","16WiClOy","isReady","set","10pPXZqC","RevisionViewerUI","pluginName","restoreRevision","show","374486XJZYRJ"];return(xe=function(){return t})()}!function(t){const e=Oe,i=t();for(;;)try{if(817273===-parseInt(e(366))/1+-parseInt(e(357))/2*(-parseInt(e(345))/3)+parseInt(e(378))/4*(parseInt(e(363))/5)+parseInt(e(361))/6*(-parseInt(e(336))/7)+parseInt(e(376))/8+-parseInt(e(364))/9*(-parseInt(e(381))/10)+-parseInt(e(347))/11*(parseInt(e(340))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Te extends J.Plugin{static get[Se(333)](){return Se(332)}static get[Se(338)](){return!0}static get[Se(341)](){return!0}static get[Se(359)](){return[ae,Ie]}[Se(349)](){const t=Se,e=this[t(369)],i=e[t(360)][t(356)](ae),s=e[t(360)][t(356)](Ie);e.ui[t(367)][t(374)](t(353),(i=>{const s=t,n=new _t.ButtonView(i);return n[s(380)]({label:ot(i,s(346)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:s(373)}),this[s(377)](n,s(354),(()=>{const t=s;e[t(370)][t(356)](t(339))[t(343)]()})),n})),e.ui[t(367)][t(374)](t(334),(i=>{const s=t,n=new _t.ButtonView(i);return n[s(380)]({label:ot(i,s(368)),withText:!0,tooltip:!0}),n[s(365)](s(344)).to(e[s(375)][s(356)](s(334))),this[s(377)](n,s(354),(()=>e[s(354)](s(334)))),n})),e.ui[t(367)][t(374)](t(362),(s=>{const n=t,r=new ve(s),o=e[n(375)][n(356)](n(352)),a=e[n(375)][n(356)](n(348));return r[n(365)](n(355)).to(o,n(344)),r[n(365)](n(337)).to(a,n(344)),r[n(365)](n(379),n(371),n(372),n(350)).to(i),this[n(377)](r,n(354),((t,i)=>{const s=n;e[s(354)](s(342)===i?s(348):s(352))})),r})),s[t(335)](),i.on(t(358),((e,i,n)=>{const r=t;n?s[r(351)]():s[r(335)]()}))}}var Ne=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=At(),Re.insert=Nt().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();St()(Ne.A,Re);Ne.A&&Ne.A.locals&&Ne.A.locals;function Ae(t,e){const i=De();return(Ae=function(t,e){return i[t-=229]})(t,e)}const Me=Ae;function De(){const t=["render","bindTemplate","clientWidth","5558859qMLRYg","destroy","1002743EfKOdf","extendTemplate","11TFRmbP","18svvYZN","set","fieldView","74390FdxhXh","9964QCsRXm","322936tnEnTr","scrollWidth","value","element","input","Revision name","1459524ZualJx","listenTo","_tooltipString","95RUzWsf","ck-revision-history-sidebar__revision-name","span","_resizeObserver","5ByZpkx","Enter the revision name","_updateTooltipText","placeholder","ck-tooltip_multi-line","474532QCyyFz"];return(De=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(341125===-parseInt(e(241))/1*(-parseInt(e(231))/2)+-parseInt(e(238))/3+-parseInt(e(250))/4*(-parseInt(e(245))/5)+-parseInt(e(259))/6*(parseInt(e(256))/7)+parseInt(e(232))/8+parseInt(e(254))/9+parseInt(e(230))/10*(parseInt(e(258))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends _t.LabeledFieldView{[Me(244)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(252)];this[i(260)]({label:ot(t,i(237)),_tooltipString:""}),this[i(229)][i(248)]=ot(t,i(246)),this[i(257)]({tag:i(243),attributes:{class:[i(242)],"data-cke-tooltip-text":s.to(i(240)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(249)}})}[Me(251)](){const e=Me;super[e(251)](),this[e(244)]=new t.ResizeObserver(this[e(229)][e(235)],(()=>this[e(247)]())),this[e(239)](this[e(229)],e(236),(()=>this[e(247)]()))}[Me(255)](){const t=Me;super[t(255)](),this[t(244)]&&this[t(244)][t(255)]()}[Me(247)](){const t=Me,e=this[t(229)][t(235)];this[t(240)]=e[t(233)]>e[t(253)]&&e[t(234)]||""}}var Ve=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=At(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=xt(),Ce.insertStyleElement=Dt();St()(Ve.A,Ce);Ve.A&&Ve.A.locals&&Ve.A.locals;function Fe(){const t=["4Fmuufj","0 0 11 10","1600248Vzmkht","ck-revision-history-sidebar__revision-author","span","push","ck-revision-history-sidebar__revision-author__name","set","5079145mwyBPB","ck-revision-history-sidebar__revision-author_creator","name","8246936dHcZIG","Revision creator","192093OWwqHJ","setTemplate","Revision author","1407657uVhivl","9ZDCCFX","651596XfxAGr","333703DklXkP","28xHkoIy","1170pKEJVq"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=403]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(586183===-parseInt(e(418))/1+parseInt(e(417))/2+parseInt(e(415))/3*(-parseInt(e(421))/4)+-parseInt(e(407))/5+parseInt(e(423))/6*(parseInt(e(419))/7)+-parseInt(e(410))/8*(parseInt(e(416))/9)+parseInt(e(420))/10*(parseInt(e(412))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class je extends _t.View{constructor(t,e,i){const s=Le;super(t);const n=new _t.IconView;n[s(406)]({content:wt.IconUser,viewBox:s(422)});const r=["ck",s(424)];i&&r[s(404)](s(408));const o=[{tag:s(403),attributes:{class:["ck",s(405)],title:ot(t,s(i?411:414))},children:[n,e[s(409)]]}];this[s(413)]({tag:"li",attributes:{class:r},children:o})}}function Pe(){var t=["1713200UZptUk","15403883igluWH","134475vaHqLE","557689MaNmtI","toLocaleDateString","60DkAQQv","numeric","733145wdeRFv","9hoGJlo","toLocaleTimeString","10zYZYNs","long","171201LYBpyo","1670226lAxOhm","2yxqITN"];return(Pe=function(){return t})()}function ze(t,e){var i=Pe();return(ze=function(t,e){return i[t-=275]})(t,e)}!function(t){for(var e=ze,i=t();;)try{if(327350===parseInt(e(280))/1*(-parseInt(e(276))/2)+parseInt(e(289))/3+-parseInt(e(282))/4*(parseInt(e(279))/5)+-parseInt(e(275))/6+-parseInt(e(284))/7+-parseInt(e(277))/8*(-parseInt(e(285))/9)+-parseInt(e(287))/10*(-parseInt(e(278))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);var Ue=i(11),We={attributes:{"data-cke":!0}};We.setAttributes=At(),We.insert=Nt().bind(null,"head"),We.domAPI=xt(),We.insertStyleElement=Dt();St()(Ue.A,We);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(){const t=["action","items","bind","button","1OmmYDo","first","buttonView","isOpen","5200921dmezoJ","name","Show more items","source","_action","change:isActionsDropdownOpen","ck-on","map","listenTo","model","14JJJytw","2226315lPLDWk","add","find","bindTemplate","locale","439640luccTj","extendTemplate","606162KmJfLO","stopPropagation","644076MdxLjO","Restore this revision","isVisible","set","2779484DDQdBF","Compare against selected","children","60hrkVbN","function","2131288UuYjsw","Name this revision","execute","listView","isEnabled","20SpDzNG","menuitem","class","isReady","isActionsDropdownOpen","panelPosition","menu","ck-revision-history-sidebar__revision__actions"];return(He=function(){return t})()}function Ze(t,e){const i=He();return(Ze=function(t,e){return i[t-=221]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(506427===-parseInt(e(255))/1*(parseInt(e(225))/2)+-parseInt(e(270))/3+parseInt(e(233))/4+-parseInt(e(243))/5*(-parseInt(e(227))/6)+-parseInt(e(269))/7*(parseInt(e(238))/8)+-parseInt(e(229))/9*(-parseInt(e(236))/10)+parseInt(e(259))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var qe=i(216),$e={attributes:{"data-cke":!0}};$e.setAttributes=At(),$e.insert=Nt().bind(null,"head"),$e.domAPI=xt(),$e.insertStyleElement=Dt();St()(qe.A,$e);qe.A&&qe.A.locals&&qe.A.locals;const Be=Je;function Ye(){const t=["79352ozUCpj","bind","ck-revision-history-sidebar__revision__date","authors","2NdKBWq","createdAt","extendTemplate","ck-revision-history-sidebar__revision_selected","fieldView","2838030kOKcir","ck-revision-history-sidebar__revision-authors","from","select","ck-revision-history-sidebar__revision__controls-wrapper","ck-disabled","creator","isActionsDropdownOpen","6wvONCb","_createdAtFormatted","uiLanguage","revisionActionsView","36BVhQus","9AvRWpz","220","deselect","isSelected","value","ck-revision-history-sidebar__revision","_requireRevisionName","closest","div","ck-revision-history-sidebar__revision_highlighted","13697IYEkhT","element","888056beXTTv","name","isReady",".ck-thread__remove-confirm","listenTo","isEnabled","611810UFesfF","srcElement","length","ck-reset","highlight","unshift","3535719sIvefh","21OjLobt","fire","render","setTemplate","set","isHighlighted","ck-revision-history-sidebar__revision-wrapper","_revision","change","bindTemplate","filter","revisionNameView","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setName","isConfirm","span","map","4734170PilHuQ","unhighlight"];return(Ye=function(){return t})()}function Je(t,e){const i=Ye();return(Je=function(t,e){return i[t-=261]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(260347===parseInt(e(282))/1*(-parseInt(e(321))/2)+parseInt(e(267))/3*(parseInt(e(284))/4)+-parseInt(e(290))/5+parseInt(e(326))/6+-parseInt(e(297))/7*(parseInt(e(317))/8)+-parseInt(e(272))/9*(-parseInt(e(315))/10)+-parseInt(e(296))/11*(parseInt(e(271))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Ge extends((0,G.ConfirmMixin)(_t.View)){id;[Be(308)];[Be(270)];[Be(304)];[Be(278)];constructor(e,i,s,n){const r=Be;super(e);const o=this[r(306)],a=function(t,e){const i=r,s=Array[i(261)](e[i(320)])[i(307)]((t=>t!=e[i(265)]));return e[i(265)]&&s[i(295)](e[i(265)]),s[i(314)]((s=>new je(t,s,s==e[i(265)])))}(e,i);this.id=i.id,this[r(304)]=i,this[r(278)]=n,this[r(318)](r(285),r(322)).to(i),this[r(318)](r(268)).to(this,r(322),(t=>{return i=e[r(269)],(s=t)[(n=ze)(281)](i,{month:n(288),day:n(283)})+", "+s[n(286)](i,{hour:n(283),minute:n(283)});var i,s,n})),this[r(301)](r(275),!1),this[r(301)](r(302),!1),this[r(301)](r(266),!1),this[r(301)](r(286),!1),this[r(301)](r(289),!1),this[r(308)]=new Ee(e,_t.createLabeledInputText),this[r(308)][r(325)][r(323)]({attributes:{maxlength:r(273)}}),this[r(308)][r(325)][r(318)](r(276)).to(this,r(285),(t=>t||this[r(268)])),this[r(308)][r(318)](r(289)).to(this,r(275),this,r(289),((t,e)=>t&&e)),this[r(270)]=s&&s[r(292)]?function(e,i){const s=Ze,n=e[s(223)],r=e[s(224)],o=(0,_t.createDropdown)(r);o[s(248)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(224)],n={"Compare against selected":ot(s,i(234)),"Name this revision":ot(s,i(239)),"Restore this revision":ot(s,i(230))};return e[i(266)]((t=>{const e=i,s=n[t[e(260)]];return s&&s!==t[e(260)]&&(t[e(260)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(254),model:new _t.UIModel({label:t[n(260)],class:t[n(245)],withText:!0,role:n(244),_action:t[n(251)]})};i[n(268)][n(253)](n(242)).to(e,n(247),(i=>n(237)!=typeof t[n(242)]||!i||t[n(242)](e))),o[n(221)](i)}return o}(e,i);return e[s(253)](s(247)).to(o,s(258)),o[s(257)][s(232)]({label:ot(r,s(261)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[s(226)]({attributes:{class:[s(250),n.if(s(247),s(265))]},on:{click:n.to((t=>t[s(228)]()))}}),o.on(s(240),(t=>{const i=s;e[i(246)]&&i(237)==typeof t[i(262)][i(263)]&&t[i(262)][i(263)](e)})),(0,_t.addListToDropdown)(o,a,{role:s(249)}),o[s(267)](e,s(264),((t,n,r)=>{const a=s;if(r)for(const t of o[a(241)][a(252)]){const s=t[a(235)][a(256)],n=i[a(222)]((t=>t[a(251)]===s[a(263)]))[a(231)];t[a(231)]=void 0===n||n(e)}})),o}(this,s):"",this[r(270)]&&this[r(270)][r(318)](r(289)).to(this),this[r(300)]({tag:r(280),attributes:{class:["ck",r(293),r(303),o.if(r(312),r(310))]},children:[{tag:r(280),attributes:{class:["ck",r(293),r(277),o.if(r(289),r(264),(t=>!t)),o.if(r(275),r(324)),o.if(r(302),r(281)),o.if(r(266),r(309))]},children:[this[r(308)],{tag:r(313),attributes:{class:["ck",r(319)]},children:[{text:o.to(r(268))}]},{tag:r(280),attributes:{class:["ck",r(263)]},children:[{tag:"ul",attributes:{class:["ck",r(327)]},children:a}]},this[r(270)]],on:{click:o.to((t=>{const e=r;t[e(291)][e(279)](e(287))||this[e(286)]&&this[e(289)]&&this[e(298)](e(262),{id:this.id})}))}}]})}[Be(299)](){const t=Be;super[t(299)]();const e=this[t(308)][t(325)][t(283)];this[t(288)](e,t(305),(()=>{const i=t;this[i(278)]&&!e[i(276)]||this[i(298)](i(311),{id:this.id,name:e[i(276)]}),e[i(276)]||(e[i(276)]=this[i(285)]?this[i(285)]:this[i(268)])}))}[Be(262)](){this[Be(275)]=!0}[Be(274)](){this[Be(275)]=!1}[Be(294)](){this[Be(302)]=!0}[Be(316)](){this[Be(302)]=!1}}class Ke extends Error{}class Xe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Qe extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Ke{}class ii extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class si extends Ke{}class ni extends Ke{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ri={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ai{get type(){throw new ni}get name(){throw new ni}get ianaName(){return this.name}get isUniversal(){throw new ni}offsetName(t,e){throw new ni}formatOffset(t,e){throw new ni}offset(t){throw new ni}equals(t){throw new ni}get isValid(){throw new ni}}let Mi=null;class Di extends Ai{static get instance(){return null===Mi&&(Mi=new Di),Mi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(t,e,i)}formatOffset(t,e){return sn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Vi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class Fi extends Ai{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new Fi(t)),e}static resetCache(){Ci.clear(),Ei.clear()}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=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(t,e,i,this.name)}formatOffset(t,e){return sn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=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=Vi[e];"era"===e?s[r]=n:Ms(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"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Ys({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const ji=new Map;function Pi(t,e={}){const i=JSON.stringify([t,e]);let s=ji.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),ji.set(i,s)),s}const zi=new Map;const Ui=new Map;let Wi=null;const Hi=new Map;function Zi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const qi=new Map;function $i(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Bi{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=zi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),zi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return zs(this.floor?Math.floor(t):Zs(t,3),this.padTo)}}class Yi{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&&Fi.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=Pi(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 Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Vs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(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 Gi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||ps.defaultLocale,o=r||(n?"en-US":Wi||(Wi=(new Intl.DateTimeFormat).resolvedOptions().locale,Wi)),a=e||ps.defaultNumberingSystem,c=i||ps.defaultOutputCalendar,u=js(s)||ps.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Wi=null,ji.clear(),zi.clear(),Ui.clear(),Hi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ki.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=Pi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Pi(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"===Zi(t.locale).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?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,js(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 $i(this,t,cn,(()=>{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=ho.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 $i(this,t,dn,(()=>{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=ho.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return $i(this,void 0,(()=>fn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return $i(this,t,gn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.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 Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Li[i];return s||(s=new Intl.ListFormat(t,e),Li[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Zi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Cs()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Gi,...e}),qi.set(t,e)}return e}(this.locale):Gi}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 Xi=null;class Qi extends Ai{static get utcInstance(){return null===Xi&&(Xi=new Qi(0)),Xi}static instance(t){return 0===t?Qi.utcInstance:new Qi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Qi(Qs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${sn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${sn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return sn(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 ts extends Ai{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 es(t,e){if(Ms(t)||null===t)return e;if(t instanceof Ai)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?Qi.utcInstance:Qi.parseSpecifier(i)||Fi.create(t)}return Ds(t)?Qi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new ts(t)}const is={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ss={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]},ns=is.hanidec.replace(/[\[|\]]/g,"").split("");const rs=new Map;function os({numberingSystem:t},e=""){const i=t||"latn";let s=rs.get(i);void 0===s&&(s=new Map,rs.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${is[i]}${e}`),s.set(e,n)),n}let as,cs=()=>Date.now(),us="system",ls=null,hs=null,ds=null,fs=60,ms=null;class ps{static get now(){return cs}static set now(t){cs=t}static set defaultZone(t){us=t}static get defaultZone(){return es(us,Di.instance)}static get defaultLocale(){return ls}static set defaultLocale(t){ls=t}static get defaultNumberingSystem(){return hs}static set defaultNumberingSystem(t){hs=t}static get defaultOutputCalendar(){return ds}static set defaultOutputCalendar(t){ds=t}static get defaultWeekSettings(){return ms}static set defaultWeekSettings(t){ms=js(t)}static get twoDigitCutoffYear(){return fs}static set twoDigitCutoffYear(t){fs=t%100}static get throwOnInvalid(){return as}static set throwOnInvalid(t){as=t}static resetCaches(){Ki.resetCache(),Fi.resetCache(),ho.resetCache(),rs.clear()}}class vs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const gs=[0,31,59,90,120,151,181,212,243,273,304,334],ys=[0,31,60,91,121,152,182,213,244,274,305,335];function ks(t,e){return new vs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function bs(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 ws(t,e,i){return i+(qs(t)?ys:gs)[e-1]}function _s(t,e){const i=qs(t)?ys:gs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function Is(t,e){return(t-e+7)%7+1}function Ss(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ws(s,n,r),a=Is(bs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Gs(c,e,i)):u>Gs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...nn(t)}}function Os(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Is(bs(s,1,e),i),a=$s(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=$s(c)):u>a?(c=s+1,u-=$s(s)):c=s;const{month:l,day:h}=_s(c,u);return{year:c,month:l,day:h,...nn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ws(e,i,s),...nn(t)}}function Ts(t){const{year:e,ordinal:i}=t,{month:s,day:n}=_s(e,i);return{year:e,month:s,day:n,...nn(t)}}function Ns(t,e){if(!Ms(t.localWeekday)||!Ms(t.localWeekNumber)||!Ms(t.localWeekYear)){if(!Ms(t.weekday)||!Ms(t.weekNumber)||!Ms(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Ms(t.localWeekday)||(t.weekday=t.localWeekday),Ms(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Ms(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 Rs(t){const e=Es(t.year),i=Ps(t.month,1,12),s=Ps(t.day,1,Bs(t.year,t.month));return e?i?!s&&ks("day",t.day):ks("month",t.month):ks("year",t.year)}function As(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Ps(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Ps(i,0,59),a=Ps(s,0,59),c=Ps(n,0,999);return r?o?a?!c&&ks("millisecond",n):ks("second",s):ks("minute",i):ks("hour",e)}function Ms(t){return void 0===t}function Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Vs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Fs(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 Ls(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function js(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Ps(t.firstDay,1,7)||!Ps(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Ps(t,1,7))))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ps(t,e,i){return Es(t)&&t>=e&&t<=i}function zs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Ms(t)||null===t||""===t?void 0:parseInt(t,10)}function Ws(t){return Ms(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Ms(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Zs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function qs(t){return t%4==0&&(t%100!=0||t%400==0)}function $s(t){return qs(t)?366:365}function Bs(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ys(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 Js(t,e,i){return-Is(bs(t,1,e),i)+e-1}function Gs(t,e=4,i=1){const s=Js(t,e,i),n=Js(t+1,e,i);return($s(t)-s+n)/7}function Ks(t){return t>99?t:t>ps.twoDigitCutoffYear?1900+t:2e3+t}function Xs(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 Qs(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 tn(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function en(t,e){const i={};for(const s in t)if(Ls(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=tn(n)}return i}function sn(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}${zs(i,2)}:${zs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${zs(i,2)}${zs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function nn(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const rn=["January","February","March","April","May","June","July","August","September","October","November","December"],on=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],an=["J","F","M","A","M","J","J","A","S","O","N","D"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];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 un=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ln=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hn=["M","T","W","T","F","S","S"];function dn(t){switch(t){case"narrow":return[...hn];case"short":return[...ln];case"long":return[...un];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fn=["AM","PM"],mn=["Before Christ","Anno Domini"],pn=["BC","AD"],vn=["B","A"];function gn(t){switch(t){case"narrow":return[...vn];case"short":return[...pn];case"long":return[...mn];default:return null}}function yn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const kn={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:xi,ffff:Ni,F:_i,FF:Si,FFF:Ti,FFFF:Ri};class bn{static create(t,e={}){return new bn(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 kn[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 zs(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 fn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return cn(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return dn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return yn(bn.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=bn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return yn(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 wn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _n(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function In(...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 Sn(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 On(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Tn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Nn=RegExp(`${Tn.source}${`(?:${xn.source}?(?:\\[(${wn.source})\\])?)?`}`),Rn=RegExp(`(?:T${Nn.source})?`),An=On("weekYear","weekNumber","weekDay"),Mn=On("year","ordinal"),Dn=RegExp(`${Tn.source} ?(?:${xn.source}|(${wn.source}))?`),En=RegExp(`(?: ${Dn.source})?`);function Vn(t,e,i){const s=t[e];return Ms(s)?i:Us(s)}function Cn(t,e){return[{hours:Vn(t,e,0),minutes:Vn(t,e+1,0),seconds:Vn(t,e+2,0),milliseconds:Hs(t[e+3])},null,e+4]}function Fn(t,e){const i=!t[e]&&!t[e+1],s=Qs(t[e+1],t[e+2]);return[{},i?null:Qi.instance(s),e+3]}function Ln(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const jn=RegExp(`^T?${Tn.source}$`),Pn=/^-?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 zn(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(Ws(i)),months:d(Ws(s)),weeks:d(Ws(n)),days:d(Ws(r)),hours:d(Ws(o)),minutes:d(Ws(a)),seconds:d(Ws(c),"-0"===c),milliseconds:d(Hs(u),h)}]}const Un={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Wn(t,e,i,s,n,r,o){const a={year:2===e.length?Ks(Us(e)):Us(e),month:on.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?un.indexOf(t)+1:ln.indexOf(t)+1),a}const Hn=/^(?:(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 Zn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Wn(e,n,s,i,r,o,a);let f;return f=c?Un[c]:u?0:Qs(l,h),[d,new Qi(f)]}const qn=/^(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$/,$n=/^(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$/,Bn=/^(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 Yn(t){const[,e,i,s,n,r,o,a]=t;return[Wn(e,n,s,i,r,o,a),Qi.utcInstance]}function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Wn(e,a,i,s,n,r,o),Qi.utcInstance]}const Gn=_n(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Kn=_n(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Xn=_n(/(\d{4})-?(\d{3})/,Rn),Qn=_n(Nn),tr=In((function(t,e){return[{year:Vn(t,e),month:Vn(t,e+1,1),day:Vn(t,e+2,1)},null,e+3]}),Cn,Fn,Ln),er=In(An,Cn,Fn,Ln),ir=In(Mn,Cn,Fn,Ln),sr=In(Cn,Fn,Ln);const nr=In(Cn);const rr=_n(/(\d{4})-(\d\d)-(\d\d)/,En),or=_n(Dn),ar=In(Cn,Fn,Ln);const cr="Invalid Duration",ur={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}},lr={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},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,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:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(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 kr(s)}function gr(t,e){let i=e.milliseconds??0;for(const s of pr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight(((s,n)=>{if(Ms(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),mr.reduce(((i,s)=>{if(Ms(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return kr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kr({values:en(t,kr.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ds(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Sn(t,[Pn,zn])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Sn(t,[jn,nr])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new ti(i);return new kr({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 ii(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?bn.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map((e=>{const i=this.values[e];return Ms(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+=Zs(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 ho.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?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(Ls(e.values,t)||Ls(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.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]=tn(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...en(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return vr(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 yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(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=>kr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of mr)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;Ds(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ds(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 yr(this.matrix,e),vr(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 vr(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 mr)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 br="Invalid Interval";class wr{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 si("need to specify a reason the Interval is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Qe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),s=fo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.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:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,s);return null==n?new wr({start:i,end:s}):n}static after(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.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=ho.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=ho.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return wr.fromDateTimes(t,r);if(n){const i=kr.fromISO(s,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):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?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).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(wr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=kr.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(wr.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:wr.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 wr.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(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(s)}difference(...t){return wr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[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=ci,e={}){return this.isValid?bn.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=ps.defaultZone){const e=ho.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return es(t,ps.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ki.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ki.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Vs(),localeWeek:Cs()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(kr.fromMillis(s).as("days"))}function Sr(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=Ir(t,e);return(i-i%7)/7}],["days",Ir]],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=kr.fromObject(r,s);return u.length>0?kr.fromMillis(c,s).shiftTo(...u).plus(l):l}function Or(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(is.hanidec))e+=ns.indexOf(t[i]);else for(const t in ss){const[i,n]=ss[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Tr=new RegExp(xr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(Tr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Tr," ").toLowerCase()}function Ar(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex((t=>Rr(i)===Rr(t)))+e}}function Mr(t,e){return{regex:t,deser:([,t,e])=>Qs(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={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 Vr=null;function Cr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=jr(bn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Cr(bn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=os(e),s=os(e,"{2}"),n=os(e,"{3}"),r=os(e,"{4}"),o=os(e,"{6}"),a=os(e,"{1,2}"),c=os(e,"{1,3}"),u=os(e,"{1,6}"),l=os(e,"{1,9}"),h=os(e,"{2,4}"),d=os(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 Ar(e.eras("short"),0);case"GG":return Ar(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Ks);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(s);case"MMM":return Ar(e.months("short",!0),1);case"MMMM":return Ar(e.months("long",!0),1);case"LLL":return Ar(e.months("short",!1),1);case"LLLL":return Ar(e.months("long",!1),1);case"o":case"S":return Or(c);case"ooo":case"SSS":return Or(n);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Or(i);case"a":return Ar(e.meridiems(),0);case"EEE":return Ar(e.weekdays("short",!1),1);case"EEEE":return Ar(e.weekdays("long",!1),1);case"ccc":return Ar(e.weekdays("short",!0),1);case"cccc":return Ar(e.weekdays("long",!0),1);case"Z":case"ZZ":return Mr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Mr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\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(Ls(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;Ms(t.z)||(i=Fi.create(t.z)),Ms(t.Z)||(i||(i=new Qi(t.Z)),e=t.Z),Ms(t.q)||(t.M=3*(t.q-1)+1),Ms(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),Ms(t.u)||(t.S=Hs(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(Ls(i,"a")&&Ls(i,"H"))throw new ei("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 Lr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function jr(t,e){if(!t)return null;const i=bn.create(e,t).dtFormatter((Vr||(Vr=ho.fromMillis(1555555555555)),Vr)),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=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Pr="Invalid DateTime",zr=864e13;function Ur(t){return new vs("unsupported zone",`the zone "${t.name}" is not supported`)}function Wr(t){return null===t.weekData&&(t.weekData=Ss(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Ss(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Zr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...i,...e,old:i})}function qr(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 $r(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 Br(t,e,i){return qr(Ys(t),e,i)}function Yr(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,Bs(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=kr.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=Ys(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(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=ho.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return ho.invalid(new vs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Gr(t,e,i=!0){return t.isValid?bn.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=zs(t.c.year,i?6:4),e?(s+="-",s+=zs(t.c.month),s+="-",s+=zs(t.c.day)):(s+=zs(t.c.month),s+=zs(t.c.day)),s}function Xr(t,e,i,s,n,r){let o=zs(t.c.hour);return e?(o+=":",o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=zs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zs(Math.trunc(-t.o/60)),o+=":",o+=zs(Math.trunc(-t.o%60))):(o+="+",o+=zs(Math.trunc(t.o/60)),o+=":",o+=zs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Qr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],no=["year","ordinal","hour","minute","second","millisecond"];function ro(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 ii(t);return e}(t)}}function oo(t,e){const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Ur(i));const s=Ki.fromObject(e);let n,r;if(Ms(t.year))n=ps.now();else{for(const e of io)Ms(t[e])&&(t[e]=Qr[e]);const e=Rs(t)||As(t);if(e)return ho.invalid(e);const s=function(t){if(void 0===uo&&(uo=ps.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[n,r]=Br(t,s,i)}return new ho({ts:n,zone:i,loc:s,o:r})}function ao(t,e,i){const s=!!Ms(i.round)||i.round,n=(t,n)=>{t=Zs(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 co(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 uo;const lo=new Map;class ho{constructor(t){const e=t.zone||ps.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new vs("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Ms(t.ts)?ps.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=Ds(t.o)&&!t.old?t.o:e.offset(this.ts);s=$r(this.ts,r),i=Number.isNaN(s.year)?new vs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return oo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Qi.utcInstance,oo({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 ho.invalid("invalid input");const n=es(e.zone,ps.defaultZone);return n.isValid?new ho({ts:i,zone:n,loc:Ki.fromObject(e)}):ho.invalid(Ur(n))}static fromMillis(t,e={}){if(Ds(t))return t<-zr||t>zr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:es(e.zone,ps.defaultZone),loc:Ki.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ds(t))return new ho({ts:1e3*t,zone:es(e.zone,ps.defaultZone),loc:Ki.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Ur(i));const s=Ki.fromObject(e),n=en(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=Ns(n,s),a=ps.now(),c=Ms(e.specificOffset)?i.offset(a):e.specificOffset,u=!Ms(n.ordinal),l=!Ms(n.year),h=!Ms(n.month)||!Ms(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=$r(a,c);m?(p=so,v=to,g=Ss(g,r,o)):u?(p=no,v=eo,g=xs(g)):(p=io,v=Qr);let y=!1;for(const t of p){Ms(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Es(t.weekYear),n=Ps(t.weekNumber,1,Gs(t.weekYear,e,i)),r=Ps(t.weekday,1,7);return s?n?!r&&ks("weekday",t.weekday):ks("week",t.weekNumber):ks("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Es(t.year),i=Ps(t.ordinal,1,$s(t.year));return e?!i&&ks("ordinal",t.ordinal):ks("year",t.year)}(n):Rs(n),b=k||As(n);if(b)return ho.invalid(b);const w=m?Os(n,r,o):u?Ts(n):n,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return Sn(t,[Gn,tr],[Kn,er],[Xn,ir],[Qn,sr])}(t);return Jr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return Sn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hn,Zn])}(t);return Jr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return Sn(t,[qn,Yn],[$n,Yn],[Bn,Jn])}(t);return Jr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Ms(t)||Ms(e))throw new si("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[s,n,r,o]}(r,t,e);return u?ho.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return Sn(t,[rr,tr],[or,ar])}(t);return Jr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Xe(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=jr(t,Ki.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Cr(bn.parseFormat(t),Ki.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){uo=void 0,lo.clear()}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?Wr(this).weekYear:NaN}get weekNumber(){return this.isValid?Wr(this).weekNumber:NaN}get weekday(){return this.isValid?Wr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.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=Ys(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=$r(a,r),l=$r(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Zr(this,{ts:a}),Zr(this,{ts:c})]:[this]}get isInLeapYear(){return qs(this.year)}get daysInMonth(){return Bs(this.year,this.month)}get daysInYear(){return this.isValid?$s(this.year):NaN}get weeksInWeekYear(){return this.isValid?Gs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Gs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=bn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Qi.instance(t),e)}toLocal(){return this.setZone(ps.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=es(t,ps.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]=Br(i,e,t)}return Zr(this,{ts:s,zone:t})}return ho.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Zr(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=en(t,ro),{minDaysInFirstWeek:i,startOfWeek:s}=Ns(e,this.loc),n=!Ms(e.weekYear)||!Ms(e.weekNumber)||!Ms(e.weekday),r=!Ms(e.ordinal),o=!Ms(e.year),a=!Ms(e.month)||!Ms(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;n?l=Os({...Ss(this.c,i,s),...e},i,s):Ms(e.ordinal)?(l={...this.toObject(),...e},Ms(e.day)&&(l.day=Math.min(Bs(l.year,l.month),l.day))):l=Ts({...xs(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Zr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=kr.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?bn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bn.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bn.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=Kr(this,r);return o+="T",o+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Gr(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":"")+Xr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Gr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Gr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(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")),Gr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Pr}[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 kr.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(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.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||ho.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),ao(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new si("min requires all arguments be DateTimes");return Fs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new si("max requires all arguments be DateTimes");return Fs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ki.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Fr(n,t)}static fromFormatParser(t,e,i={}){if(Ms(t)||Ms(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`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?ho.invalid(u):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ti}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&Ds(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(t,e){const i=po,s=ho[i(208)](t)[i(202)](e),n=ho[i(217)](),r=n[i(203)]({days:1})[i(207)](i(218));let o,a;return s[i(204)](n,i(218))?(o=s[i(207)](i(218))[i(206)](),a=s[i(221)]()):s[i(204)](r,i(218))?(o=r[i(206)](),a=s[i(221)]()):s[i(204)](n,i(199))?(o=s[i(207)](i(199))[i(206)](),a=s[i(222)]||""):s[i(204)](n,i(201))?(o=s[i(207)](i(210))[i(206)](),a=s[i(216)]||""):(o=s[i(207)](i(201))[i(206)](),a=String(s[i(201)])),{startDate:o,localizedPeriodName:a}}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=198]})(t,e)}function vo(){const t=["12490NxZJDN","year","setLocale","minus","hasSame","1628HnBCCe","toJSDate","startOf","fromJSDate","2409jdMejM","month","1374tmXyEZ","4565648LfooYM","8960553KMlBCi","1085avYMtG","3640945xamxUr","monthLong","local","day","125270gxSLui","777hqhWJt","toRelativeCalendar","weekdayLong","17644BopmoZ","week"];return(vo=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(799314===parseInt(e(214))/1*(parseInt(e(205))/2)+-parseInt(e(220))/3*(-parseInt(e(198))/4)+-parseInt(e(200))/5*(-parseInt(e(211))/6)+parseInt(e(215))/7+-parseInt(e(212))/8+parseInt(e(213))/9+-parseInt(e(219))/10*(parseInt(e(209))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=At(),yo.insert=Nt().bind(null,"head"),yo.domAPI=xt(),yo.insertStyleElement=Dt();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;const ko=bo;function bo(t,e){const i=wo();return(bo=function(t,e){return i[t-=240]})(t,e)}function wo(){const t=["removeRevision","setName","createCollection","ck-revision-history-sidebar__time-period__revisions","add","setTemplate","8921979cOTwDx","revisionViews","95dxIPWh","ck-revision-history-sidebar__time-period__label","3224892EATEga","select","1413974iaPjdb","ck-revision-history-sidebar__time-period","startDate","find","7NFaXvu","addRevision","localizedPeriodName","_revisionActions","remove","11871448nyoXtJ","162028VfUKFt","div","uiLanguage","delegate","270366iiuUuH","span","81BznHYK","54601840DZtVZt","locale","_requireRevisionName"];return(wo=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(836602===parseInt(e(254))/1+-parseInt(e(252))/2+-parseInt(e(270))/3*(parseInt(e(264))/4)+-parseInt(e(250))/5*(parseInt(e(268))/6)+-parseInt(e(258))/7*(parseInt(e(263))/8)+-parseInt(e(248))/9+parseInt(e(271))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class _o extends _t.View{[ko(256)];[ko(249)];[ko(261)];[ko(241)];constructor(t,e,i,s){const n=ko;super(t);const r=mo(e,this[n(240)][n(266)])[n(260)];this[n(256)]=e,this[n(249)]=this[n(244)](),this[n(261)]=i,this[n(241)]=s,this[n(249)][n(267)](n(253)).to(this),this[n(249)][n(267)](n(243)).to(this),this[n(247)]({tag:n(265),attributes:{class:["ck",n(255)]},children:[{tag:n(269),attributes:{class:["ck",n(251)]},children:[{text:r}]},{tag:n(265),attributes:{class:["ck",n(245)]},children:this[n(249)]}]})}[ko(259)](t){const e=ko,i=new Ge(this[e(240)],t,this[e(261)],this[e(241)]);this[e(249)][e(246)](i)}[ko(242)](t){const e=ko,i=this[e(249)][e(257)]((e=>e.id===t.id));this[e(249)][e(262)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=At(),So.insert=Nt().bind(null,"head"),So.domAPI=xt(),So.insertStyleElement=Dt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(){const t=["Revision history","35496ChYGeL","81HcuuPs","setTemplate","239216jsSZzT","span","ck-reset_all","2794cErFwR","437178uwINaY","1371016pdPcvK","content","ck-revision-history-sidebar__header","87213wJxVEY","8538LvDZYs","ck-revision-history-sidebar__header__label","18AAebHl","5JFWRek","1249240kkeEdv","162BUpJQr","div"];return(Oo=function(){return t})()}function xo(t,e){const i=Oo();return(xo=function(t,e){return i[t-=486]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(251050===-parseInt(e(502))/1+parseInt(e(487))/2*(parseInt(e(496))/3)+parseInt(e(498))/4*(-parseInt(e(490))/5)+-parseInt(e(492))/6*(parseInt(e(486))/7)+-parseInt(e(503))/8*(-parseInt(e(489))/9)+-parseInt(e(491))/10+-parseInt(e(501))/11*(-parseInt(e(495))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class To extends _t.View{constructor(t){const e=xo;super(t);const i=new _t.IconView;i[e(504)]=wt.IconHistory,this[e(497)]({tag:e(493),attributes:{class:["ck",e(500),e(505)]},children:[i,{tag:e(499),attributes:{class:["ck",e(488)]},children:[ot(t,e(494))]}]})}}var No=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=At(),Ro.insert=Nt().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();St()(No.A,Ro);No.A&&No.A.locals&&No.A.locals;function Ao(t,e){const i=Do();return(Ao=function(t,e){return i[t-=439]})(t,e)}const Mo=Ao;function Do(){const t=["startDate","removeRevision","getTime","add","isEnabled","_revisionActions","revisionViews","select","ck-revision-history-sidebar__timeline","12spgqWf","flat","div","_requireRevisionName","uiLanguage","highlight","125019USuOPJ","764729dWsBKG","fire","set","_removeRevision","createdAt","22SbHTNk","get","addRevision","2506KQDlsh","setTemplate","70CBepVZ","some","timePeriodViews","_getTimePeriodViewByStartDate","_addRevision","createCollection","setName","_revisions","map","1032400HslquG","highlightRevisions","render","1170035lULhdD","revisionSetName","bindTemplate","ck-reset","delegate","remove","unhighlight","ck-rounded-corners","ck-revision-history-sidebar","find","ck-disabled","2411000qRfKoI","locale","selectRevision","revisionSelected","133782SDRqSk","deselect"];return(Do=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(395701===-parseInt(e(446))/1*(-parseInt(e(449))/2)+-parseInt(e(478))/3+parseInt(e(460))/4+-parseInt(e(463))/5*(-parseInt(e(489))/6)+-parseInt(e(441))/7+-parseInt(e(474))/8+-parseInt(e(440))/9*(-parseInt(e(451))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends _t.View{[Mo(453)];[Mo(458)];[Mo(485)];[Mo(492)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(465)];this[n(453)]=this[n(456)](),this[n(453)][n(467)](n(487)).to(this),this[n(453)][n(467)](n(457)).to(this),this[n(458)]=e,this[n(485)]=i,this[n(492)]=s,this.on(n(487),((t,e)=>{const i=n;this[i(442)](i(477),e)})),this.on(n(457),((t,e)=>{const i=n;this[i(442)](i(464),e)})),this[n(443)](n(484),!1),this[n(450)]({tag:n(491),attributes:{class:["ck",n(466),n(470),n(471)]},children:[new To(t),{tag:n(491),attributes:{class:["ck",n(488),r.if(n(484),n(473),(t=>!t))]},children:this[n(453)]}]})}[Mo(462)](){const t=Mo;super[t(462)]();for(const e of this[t(458)])this[t(455)](e);this[t(458)].on(t(483),((e,i)=>{this[t(455)](i)})),this[t(458)].on(t(468),((e,i)=>{this[t(444)](i)}))}get[Mo(486)](){const t=Mo;return this[t(453)][t(459)]((e=>e[t(486)][t(459)]((t=>t))))[t(490)]()}[Mo(476)](t){const e=Mo;for(const i of this[e(486)])t&&t.id===i.id?i[e(487)]():i[e(479)]()}[Mo(461)](t){const e=Mo;for(const i of this[e(486)])t[e(452)]((({id:t})=>t===i.id))?i[e(439)]():i[e(469)]()}[Mo(455)](t){const e=Mo,i=mo(t[e(445)],this[e(475)][e(493)])[e(480)];let s=this[e(453)][e(447)](0);s&&s[e(480)][e(482)]()===i[e(482)]()||(s=new _o(this[e(475)],i,this[e(485)],this[e(492)]),this[e(453)][e(483)](s)),s[e(448)](t)}[Mo(444)](t){const e=Mo,i=mo(t[e(445)],this[e(475)][e(493)])[e(480)];this[e(454)](i)[e(481)](t)}[Mo(454)](t){const e=Mo;return this[e(453)][e(472)]((i=>i[e(480)][e(482)]()===t[e(482)]()))}}const Vo=Co;function Co(t,e){const i=Fo();return(Co=function(t,e){return i[t-=419]})(t,e)}function Fo(){const t=["selectRevision","getLaterVisibleRevision","_revisionViewer","focus","element","nameRevision","2803112Ucdeyt","requires","isPremiumPlugin","getEarlierVisibleRevision","listenTo","timePeriodViews","revisionHistory.viewerSidebarContainer","revisionSetName","isReady","assign","revisionHistory","getRevisionsInDiff","editor","3UUqiwy","newRevisionId","get","_sidebarView","restoreRevisionCallback","revisionHistory.revisionActions","isOfficialPlugin","compare","bind","init","destroy","action","900gDLuex","restoreRevision","142461OXvBHd","_handleRevisionSetName","getIndex","map","6430484XvLvPP","isEnabled","add","_createRevisionActions","pluginName","select","8319395NfYIdB","isSelected","revisionViews","data","name","appendChild","highlightRevisions","isVisible","RevisionsSidebar","config","_revisionsRepository","Name this revision","5575332kGDQMy","setName","length","revisionHistory.requireRevisionName","availableRevisionActions","_handleDiffChange","remove","getRevision","repository","9vAqcHV","change:diff","_revisions","_handleEditorDataReady","diff","75566xerhuE","render","defaultRevisionActions","string","compareAgainstSelected","Compare against selected","revisionSelected","plugins","Restore this revision","ready","locale","4793551drzLZT","fieldView","_handleRevisionSelected"];return(Fo=function(){return t})()}!function(t){const e=Co,i=t();for(;;)try{if(912025===-parseInt(e(497))/1*(parseInt(e(419))/2)+parseInt(e(452))/3*(parseInt(e(470))/4)+parseInt(e(476))/5+-parseInt(e(488))/6+parseInt(e(430))/7+-parseInt(e(439))/8+-parseInt(e(466))/9*(parseInt(e(464))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends J.Plugin{[Vo(435)];[Vo(486)];[Vo(455)];static[Vo(421)]=[Vo(423),Vo(465),Vo(438)];static[Vo(492)]=function(){const t=Vo;return{compareAgainstSelected:{name:t(424),action:({plugins:e},i)=>{const s=t,n=e[s(454)](ae),r=n[s(496)];let o=n[s(501)][s(453)],a=i.id;r[s(468)](o)>r[s(468)](a)&&([o,a]=[a,o]),n[s(459)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(454)](ae);return!(n[s(496)][s(450)](n[s(501)])[s(490)]>2||i[s(477)])}},restoreRevision:{name:t(427),action:(e,{id:i})=>{const s=t;e[s(485)][s(454)](s(449))[s(456)](i)},isVisible:({plugins:e},i)=>!!e[t(454)](ae)[t(496)][t(434)](i.id)},nameRevision:{name:t(487),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(454)](ae),o=r[n(496)][n(442)](i);r[n(459)](i,o),s[n(436)](),s[n(431)][n(475)]()}}}}();static get[Vo(474)](){return Vo(484)}static get[Vo(458)](){return!0}static get[Vo(441)](){return!0}static get[Vo(440)](){return[ae]}constructor(t){const e=Vo;super(t),this[e(435)]=t[e(426)][e(454)](ae),this[e(486)]=this[e(435)][e(496)],this[e(455)]=null}[Vo(461)](){const t=Vo,e=this[t(486)][t(499)],i=this[t(473)](),s=this[t(451)][t(485)][t(454)](t(445));this[t(455)]=new Eo(this[t(451)][t(429)],e,i,this[t(451)][t(485)][t(454)](t(491))),this[t(455)].on(t(425),this[t(432)][t(460)](this)),this[t(455)].on(t(446),this[t(467)][t(460)](this)),this[t(455)][t(460)](t(471)).to(this[t(435)]),this[t(455)][t(444)].on(t(472),((e,i)=>{const s=t;i[s(478)].on(s(472),((t,e)=>{const i=s;e[i(460)](i(471),i(447)).to(this[i(435)])}))})),this[t(455)][t(420)](),this[t(443)](this[t(451)][t(479)],t(428),this[t(500)][t(460)](this)),this[t(443)](this[t(435)],t(498),this[t(493)][t(460)](this)),s[t(481)](this[t(455)][t(437)])}[Vo(462)](){const t=Vo;this[t(455)][t(437)][t(494)](),this[t(455)][t(462)]()}[Vo(500)](){const t=Vo,e=this[t(486)][t(495)](0);if(e){const i=this[t(486)][t(442)](e.id);this[t(435)][t(459)](e,i)}}[Vo(432)](t,e){const i=Vo,s=this[i(486)][i(495)](e.id),n=this[i(486)][i(442)](s.id);this[i(435)][i(459)](s,n)}[Vo(467)](t,e){const i=Vo;this[i(486)][i(495)](e.id)[i(489)](e[i(480)])}[Vo(493)](t,e,i){const s=Vo,n=this[s(486)][s(450)](i);n[s(490)]>2?(this[s(455)][s(482)](n),this[s(455)][s(433)](null)):(this[s(455)][s(482)]([]),this[s(455)][s(433)](n[0]))}[Vo(473)](){const t=Vo,e=this[t(451)],i=Lo[t(492)],s=e[t(485)][t(454)](t(457))||Lo[t(421)];if(s[t(490)])return s[t(469)]((s=>{const n=t,r=n(422)==typeof s?Object[n(448)]({},i[s]):s;return r[n(463)]=r[n(463)][n(460)](this,e),r[n(483)]&&(r[n(483)]=r[n(483)][n(460)](this,e)),r}))}}const jo=Po;function Po(t,e){const i=zo();return(Po=function(t,e){return i[t-=259]})(t,e)}function zo(){const t=["addToolbar","view","editor","ready","12uVjOwn","isActive","config","attachDomRoot","1412045UMIPON","viewportOffset","get","_elementReplacer","viewportTopOffset","document","4682624EyuArk","fillFromConfig","toolbar","2849490dUMlWK","editing","6334118SplIOd","bind","init","6HRSVXW","getRoot","detachDomRoot","restore","208lfXSQk","_toolbarConfig","element","stickyPanel","editable","render","destroy","11785490QpdMQZ","_initToolbar","replace","setEditableElement","limiterElement","rootName","fire","isFocused","focusTracker","componentFactory","11azSzHs","319454QYkhyf","53622IbKjWv","_view","name"];return(zo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(491713===-parseInt(e(285))/1*(parseInt(e(259))/2)+parseInt(e(260))/3*(-parseInt(e(289))/4)+parseInt(e(271))/5*(parseInt(e(267))/6)+parseInt(e(282))/7+-parseInt(e(277))/8+parseInt(e(280))/9+parseInt(e(296))/10*(parseInt(e(306))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends _t.EditorUI{[jo(261)];[jo(290)];[jo(274)];get[jo(264)](){return this[jo(261)]}constructor(e,i){const s=jo;super(e),this[s(261)]=i,this[s(290)]=(0,_t.normalizeToolbarConfig)(e[s(269)][s(273)](s(279))),this[s(274)]=new t.ElementReplacer}get[jo(291)](){const t=jo;return this[t(264)][t(291)]}[jo(284)](t){const e=jo,i=this[e(265)],s=this[e(264)],n=i[e(281)][e(264)],r=s[e(293)],o=n[e(276)][e(286)]();r[e(262)]=o[e(301)],s[e(294)]();const a=r[e(291)];this[e(299)](r[e(262)],a),s[e(293)][e(283)](e(303)).to(this[e(304)]),n[e(270)](a),this[e(274)][e(298)](t,this[e(291)]),this[e(297)](),this[e(302)](e(266))}[jo(295)](){const t=jo;super[t(295)]();const e=this[t(264)],i=this[t(265)][t(281)][t(264)];this[t(274)][t(288)](),i[t(287)](e[t(293)][t(262)]),e[t(295)]()}[jo(297)](){const t=jo,e=this[t(264)];e[t(292)][t(283)](t(268)).to(this[t(304)],t(303)),e[t(292)][t(300)]=e[t(291)],e[t(292)][t(283)](t(275)).to(this,t(272),(({top:t})=>t)),e[t(279)][t(278)](this[t(290)],this[t(305)]),this[t(263)](e[t(279)])}}var Wo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=At(),Ho.insert=Nt().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Dt();St()(Wo.A,Ho);Wo.A&&Wo.A.locals&&Wo.A.locals;function Zo(){var t=["3963635GSJYaz","top","641660hjgzbh","shouldToolbarGroupWhenFull","add","content","8MDXVKd","6159kQYpNK","editable","1005828ONIaQg","_editable","render","stickyPanel","5306924PHdCSb","432AanLtJ","toolbar","6360pIOtLu","624264GlLCWq","main","47610SZvRvL"];return(Zo=function(){return t})()}var qo=$o;function $o(t,e){var i=Zo();return($o=function(t,e){return i[t-=392]})(t,e)}!function(t){for(var e=$o,i=t();;)try{if(417816===-parseInt(e(404))/1+parseInt(e(401))/2*(-parseInt(e(394))/3)+-parseInt(e(409))/4+-parseInt(e(407))/5+-parseInt(e(396))/6+-parseInt(e(400))/7*(parseInt(e(393))/8)+-parseInt(e(406))/9*(-parseInt(e(403))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zo);class Bo extends _t.BoxedEditorUIView{[qo(397)];[qo(399)];[qo(402)];get[qo(395)](){return this[qo(397)]}constructor(t,e,i={}){var s=qo;super(t),this[s(399)]=new _t.StickyPanelView(t),this[s(402)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[s(410)]}),this[s(397)]=new _t.InlineEditableUIView(t,e)}[qo(398)](){var t=qo;super[t(398)](),this[t(399)][t(392)][t(411)](this[t(402)]),this[t(408)][t(411)](this[t(399)]),this[t(405)][t(411)](this[t(395)])}}const Yo=Jo;function Jo(t,e){const i=Go();return(Jo=function(t,e){return i[t-=494]})(t,e)}function Go(){const t=["ready","create","3052275rueXsv","destroy","updateSourceElement","view","model","document","529cNjcfY","init","64Bdnydk","get","data","fire","_ui","editing","4176264sAurHV","49PWWcqo","392984VFQwLa","sourceElement","44154hZQSpj","162lhoEeM","initialData","153610fqqabt","createRoot","2062bqHztU","config","initPlugins","locale","7904105ncvAxf"];return(Go=function(){return t})()}!function(t){const e=Jo,i=t();for(;;)try{if(427416===parseInt(e(510))/1*(-parseInt(e(497))/2)+parseInt(e(522))/3*(-parseInt(e(512))/4)+parseInt(e(504))/5+parseInt(e(518))/6+-parseInt(e(519))/7*(-parseInt(e(520))/8)+parseInt(e(523))/9*(parseInt(e(495))/10)+-parseInt(e(501))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Ko extends((0,J.ElementApiMixin)(J.Editor)){[Yo(516)];get ui(){return this[Yo(516)]}constructor(t,e){const i=Yo;super(e),this[i(521)]=t,this[i(508)][i(509)][i(496)]();const s=new Bo(this[i(500)],this[i(517)][i(507)],{shouldToolbarGroupWhenFull:!0});this[i(516)]=new Uo(this,s)}[Yo(505)](){const t=Yo;return this[t(506)](),this.ui[t(505)](),super[t(505)]()}static async[Yo(503)](t,e){const i=Yo,s=new this(t,e);return await s[i(499)](),await s.ui[i(511)](t),await s[i(514)][i(511)](s[i(498)][i(513)](i(494))||""),s[i(515)](i(502)),s}}const Xo=ta;function Qo(){const t=["uiLanguage","isReady","_enhanceShowRevisionViewerCallback","adapter","addUser","revisionHistory.showRevisionViewerCallback","isOfficialPlugin","isAnonymous","RevisionTracker","result","detachRoot","restoreRevision","Users","11sJxGma","isReadOnly","14DEIequ","toJSON","numeric","data","removeMarker","_recalculatePageBreaks","display","setSelection","locale","_cleanUp","fromVersion","join","5677764muqCKF","removeSelectionAttribute","long","_closeRevisionViewer","_enhanceCloseRevisionViewerCallback","fromCharCode","creator","roots","push","_viewerEditor","document","Autosave","setAttribute","refreshVisibility","6468LIHcNM","map","revisionHistory.viewerEditorElement","get","3691649tpZUDN","revisionHistory.closeRevisionViewerCallback","disableReadOnlyMode","Restored","getRevision","DocumentOutlineUI","isRevisionViewerOpen","enableReadOnlyMode","1784PAprqD","changesNavigation","init","getAttributeKeys","loadRevisionData","has","saveRevision","RevisionViewerIntegration","createdAt","addRevisionData","removeAttribute","revision-history-viewer-opened","commands","200785OJnNUC","requires","toVersion","toLocaleDateString","PaginationLookup","config","getRevisionRootsAttributes","name","revisionHistory.viewerContainer","repository","$graveyard","isPremiumPlugin","view","exitToEditing","bind","showRevisionViewerCallback","error","block","RevisionsRepository","RevisionHistoryUtils","getRevisionDocumentData","isOpen","1910hxXyug","4AdZlyv","element","1719xjhcib","indexOf","revisionHistory.requireRevisionName","keys","getRevisions","from","editor","_restoreRevision","style","destroy","getRoot","users","end","isAttached","19629QzHKtL","RestrictedEditingMode","refreshPositioning","RevisionHistory","then","markers","none","addRoot","Dialog","define","translations","insert","closeRevisionViewerCallback","change","createRangeIn","DocumentOutline","RevisionHistoryUI","getMarkersGroup","_update","isEnabled","revision-history-missing-configuration","revisionHistory","getUser","plugins","restrictedEditingException","_showRevisionViewer","hide","revisionHistory.restoreRevisionCallback","includes","remove","catch","save","29351NZhJsB","_getRevisionViewerEditorConfig","revisionHistory.editorContainer","parse","12ajLPtu","RevisionViewer","enqueueChange","lazyRoots","toLocaleTimeString","update","model","selection","Annotations","create","toolbar","pluginName","rootName","set","391271MChgTm"];return(Qo=function(){return t})()}function ta(t,e){const i=Qo();return(ta=function(t,e){return i[t-=464]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(513809===-parseInt(e(611))/1*(-parseInt(e(545))/2)+-parseInt(e(547))/3*(-parseInt(e(497))/4)+-parseInt(e(522))/5*(-parseInt(e(597))/6)+-parseInt(e(593))/7*(parseInt(e(509))/8)+parseInt(e(561))/9*(parseInt(e(544))/10)+parseInt(e(469))/11*(-parseInt(e(483))/12)+parseInt(e(501))/13*(-parseInt(e(471))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qo);const ea=[Xo(577),Xo(562)];class ia extends J.Plugin{[Xo(465)];static get[Xo(608)](){return Xo(516)}static get[Xo(618)](){return!0}static get[Xo(533)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(498)]((t=>String[e(488)](t)))[e(482)]("")}super(t),this[e(465)]=e(559),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 sa extends J.Plugin{[Xo(492)];static get[Xo(608)](){return Xo(564)}static get[Xo(618)](){return!0}static get[Xo(533)](){return!0}static get[Xo(523)](){return[pt,Zt]}constructor(e){const i=Xo;if(super(e),!this[i(553)][i(527)][i(500)](i(582)))throw new t.CKEditorError(i(581),this);this[i(492)]=null,this[i(610)](i(507),!1),this[i(553)][i(527)][i(570)](i(617),(t=>this[i(586)]({...t,translations:this[i(553)][i(479)][i(571)]}))),this[i(553)][i(527)][i(570)](i(502),(t=>this[i(486)](t))),this[i(553)][i(527)][i(570)](i(588),(t=>this[i(554)](t))),this[i(553)][i(527)][i(570)](i(549),!1),this[i(614)](),this[i(487)]()}set[Xo(615)](t){const e=Xo;this[e(553)][e(584)][e(500)](e(464))[e(615)]=t}get[Xo(615)](){const t=Xo;return this[t(553)][t(584)][t(500)](t(464))[t(615)]}[Xo(518)](t){const e=Xo;return this[e(553)][e(584)][e(500)](e(464))[e(518)](t)}[Xo(505)](t){const e=Xo;return this[e(553)][e(584)][e(500)](e(540))[e(505)](t)}[Xo(551)](t){const e=Xo;return this[e(553)][e(584)][e(500)](e(540))[e(551)](t||{toJSON:!1})}[Xo(594)](){const e=Xo,i=this[e(553)],s=(0,G.sanitizeEditorConfig)(i,ea),n=i[e(584)][e(500)](e(464)),r=i[e(584)][e(500)](e(468))[e(558)];return s[e(607)]=[e(535),e(467),e(510)],delete s[e(600)],s[e(584)][e(491)](ia,ae,Te,class extends J.Plugin{static get[e(523)](){return[ae,e(468)]}[e(511)](){const s=e,o=this[s(553)][s(584)][s(500)](s(468));for(const t of r)t[s(619)]||o[s(583)](t.id)||o[s(616)](t);const a=n[s(531)][s(551)]();let c=null;const u=this[s(553)][s(584)][s(500)](s(598));u[s(615)]=n[s(615)],u[s(536)](s(580)).to(n),this[s(553)][s(521)][s(500)](s(467))[s(536)](s(580)).to(i,s(470),(t=>!t));for(const e of a){const i=null===e[s(489)];if(i&&e[s(524)]===e[s(481)])continue;const r=e[s(472)]();u[s(518)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(579)](r,o);else if(!o){const e=a[u(472)]();e.id=(0,t.uid)(),n[u(515)](e,a[u(524)])[u(565)]((t=>{c=t}))}}else e[u(579)](r,o)}))}}},Lo),s}[Xo(614)](){const t=Xo,e=this[t(553)][t(527)][t(500)](t(582))[t(537)];this[t(553)][t(527)][t(610)](t(617),(async()=>{const i=t;this[i(553)][i(508)](i(520));const s=this[i(553)][i(584)][i(500)](i(464));if(this[i(553)][i(584)][i(514)](i(494))){const t=this[i(553)][i(584)][i(500)](i(494));await t[i(592)]()}else await s[i(602)]();if(this[i(553)][i(584)][i(514)](i(526))&&this[i(553)][i(584)][i(500)](i(526))[i(476)](),this[i(553)][i(584)][i(514)](i(569))){const t=this[i(553)][i(584)][i(500)](i(569));t[i(543)]&&t[i(587)]()}const n=this[i(594)]();return e(n)[i(565)]((t=>{const e=i;return this[e(492)]=t,this[e(553)][e(584)][e(514)](e(605))&&this[e(553)][e(584)][e(500)](e(605))[e(496)](),this[e(553)][e(584)][e(514)](e(576))&&(this[e(553)][e(584)][e(500)](e(506))[e(534)][e(546)][e(555)][e(477)]=e(567)),t}))[i(591)]((t=>(console[i(538)](t),this[i(553)][i(503)](i(520)),null)))}))}[Xo(487)](){const t=Xo,e=this[t(553)][t(527)][t(500)](t(582))[t(573)];this[t(553)][t(527)][t(610)](t(502),(()=>(this[t(553)][t(584)][t(514)](t(526))&&this[t(553)][t(584)][t(500)](t(526))[t(476)](),this[t(553)][t(584)][t(514)](t(576))&&(this[t(553)][t(584)][t(500)](t(506))[t(534)][t(546)][t(555)][t(477)]=""),this[t(492)][t(584)][t(500)](t(598))[t(480)](),e(this[t(492)])[t(565)]((()=>{const e=t;if(this[e(553)][e(503)](e(520)),this[e(492)]=null,this[e(553)][e(584)][e(514)](e(605))){const t=this[e(553)][e(584)][e(500)](e(605));t[e(496)](),t[e(563)]()}})))))}[Xo(586)](t){const e=Xo,i=this[e(553)][e(527)][e(500)](e(595)),s=this[e(553)][e(527)][e(500)](e(530)),n=this[e(553)][e(527)][e(500)](e(499));return Ko[e(606)](n,t)[e(565)]((t=>(s[e(555)][e(477)]=e(539),i[e(555)][e(477)]=e(567),this[e(507)]=!0,t)))}[Xo(486)](t){const e=Xo,i=this[e(553)][e(527)][e(500)](e(595));return this[e(553)][e(527)][e(500)](e(530))[e(555)][e(477)]=e(567),i[e(555)][e(477)]="",this[e(507)]=!1,t[e(556)]()}async[Xo(554)](t){const e=Xo,i=this[e(553)],s=this[e(492)][e(584)][e(500)](e(598)),n=i[e(584)][e(500)](e(464)),r=i[e(584)][e(500)](e(541)),o=s[e(531)][e(505)](t);let a,c,u;try{await r[e(513)](o,this[e(615)]),a=r[e(542)](o),c=r[e(528)](o)}catch(t){return void console[e(538)](t)}i[e(603)][e(574)]((t=>{const s=e;for(const e of Array[s(552)](i[s(603)][s(566)][s(578)](s(585))))t[s(475)](e)})),s[e(613)]=!1,i[e(603)][e(599)]((t=>{const s=e;t[s(478)](null),t[s(484)](i[s(603)][s(493)][s(604)][s(512)]());const n=Object[s(550)](a);for(const e of i[s(603)][s(493)][s(490)])s(532)!=e[s(609)]&&e[s(560)]()&&!n[s(589)](e[s(609)])&&t[s(466)](e);for(const e of n){let n=i[s(603)][s(493)][s(557)](e);n&&n[s(560)]()||(n=t[s(568)](e));const r=c[e],o=Object[s(550)](r),u=a[e];for(const e of n[s(512)]())o[s(589)](e)||t[s(519)](e,n);for(const i of o)t[s(495)](i,c[e][i],n);t[s(590)](t[s(575)](n)),t[s(572)](i[s(474)][s(596)](u,n),n,0)}}));const l=ot(i[e(479)],e(504));return u=o[e(529)]?-1==o[e(529)][e(548)](l)?l+": "+o[e(529)]:o[e(529)]:l+": "+o[e(517)][e(525)](i[e(479)][e(612)],{month:e(485),day:e(473)})+", "+o[e(517)][e(601)](i[e(479)][e(612)],{hour:e(473),minute:e(473)}),await n[e(515)]({name:u}),s[e(613)]=!0,i[e(527)][e(500)](e(582))[e(573)]()}}function na(t,e){var i=ra();return(na=function(t,e){return i[t-=370]})(t,e)}function ra(){var t=["483668bDstuE","72371783BLienU","6570832qHXfNy","6wFDgKJ","14553081VJmSNK","5601318ZQzeZL","14hlAdDz","4othmfG","2197845NtTYwZ","4394724DrXjhB","10aInmsz"];return(ra=function(){return t})()}!function(t){for(var e=na,i=t();;)try{if(897608===parseInt(e(378))/1*(-parseInt(e(370))/2)+parseInt(e(376))/3*(-parseInt(e(374))/4)+-parseInt(e(375))/5+parseInt(e(372))/6+parseInt(e(373))/7*(-parseInt(e(380))/8)+-parseInt(e(371))/9+-parseInt(e(377))/10*(-parseInt(e(379))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|