@ckeditor/ckeditor5-revision-history 47.7.3 → 47.7.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +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 +13 -13
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +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-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={76(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},450(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},522(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},898(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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-confirm-view{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-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-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},433(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},443(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},223(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},416(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},812(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},651(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},4(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},434(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},418(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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{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__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.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},271(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}},366(t){"use strict";t.exports=function(t){return t[1]}},789(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}}},298(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)}},825(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},207(t){"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},437(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)}}}},211(t,e,i){t.exports=i(312)("./src/collaboration-core.js")},782(t,e,i){t.exports=i(237)("./src/core.js")},783(t,e,i){t.exports=i(237)("./src/engine.js")},355(t,e,i){t.exports=i(237)("./src/icons.js")},311(t,e,i){t.exports=i(237)("./src/ui.js")},584(t,e,i){t.exports=i(237)("./src/utils.js")},312(t){"use strict";t.exports=CKEditor5.collaborationDll},237(t){"use strict";t.exports=CKEditor5.dll}},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:()=>he,Revision:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>xe,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function N(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;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]=N(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,N(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(N(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=N(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),x(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),x(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),x(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,x(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),x(e,t,i,s,A),e}return t}function x(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]=N(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return N(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 x(e,t),e}case u:{const e={};return x(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(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 F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\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&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(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&&!z(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=P(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(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":{if(M(e))return i;const s=t[e];return void 0===s?Z(e)?H(t,W(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=P(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;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=H(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=227]})(t,e)}function Y(){const t=["2kWaVLD","toVersion","toJSON","creatorId","75423YrxMlH","name","authorsIds","fire","removeAttribute","8vTItTF","set","10982748qqjQFG","fromVersion","attributes","2527773IkeKhZ","model","setAttribute","6897736IMhFsM","_update","authors","map","createdAt","diffData","3869467jvNNMp","27675373nntUhZ","18acSUWV","setName","5wWSMrv","3469630MisPOR","creator"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(974926===-parseInt(e(249))/1+-parseInt(e(245))/2*(-parseInt(e(229))/3)+parseInt(e(232))/4*(-parseInt(e(242))/5)+-parseInt(e(256))/6+-parseInt(e(238))/7*(-parseInt(e(254))/8)+-parseInt(e(240))/9*(-parseInt(e(243))/10)+parseInt(e(239))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[$(244)];[$(234)];[$(237)];[$(246)];[$(227)];[$(230)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(244)]=e[i(244)]||null,this[i(234)]=e[i(234)]||[],this[i(237)]=e[i(237)]||null,this[i(246)]=e[i(246)]||0,this[i(227)]=e[i(227)]||0,this[i(255)](i(250),e[i(250)]||""),this[i(255)](i(236),e[i(236)]||new Date),this[i(255)](i(228),e[i(228)]||{})}[$(241)](t){this[$(233)]({name:t})}[$(231)](t,e){const i=$,s=R(this[i(228)]);U(s,t,e),this[i(233)]({attributes:s})}[$(253)](t){const e=$,i=R(this[e(228)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Z(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(233)]({attributes:i})}[$(233)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(250),i(236),i(237),i(234),i(228),i(246),i(227),i(248)];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(234)]&&(n[i(251)]=n[i(234)][i(235)](t=>t.id),delete n[i(234)]),this[i(252)](i(233),n,e))}[$(247)](){const t=$;return{id:this.id,name:this[t(250)],creatorId:this[t(244)]?this[t(244)].id:null,authorsIds:this[t(234)][t(235)](t=>t.id),diffData:this[t(237)],createdAt:this[t(236)],attributes:this[t(228)],fromVersion:this[t(227)],toVersion:this[t(246)]}}}var G=i(782),K=i(211),Q=i(783);const X=et;function tt(){const t=["createdAt","7700256iNPfyb","name","6OxqlJt","requires","addRevision","9708dKNsEn","createRevision","authorsIds","getEarlierVisibleRevision","length","getIndex","oldRevisionId","isNaN","isPremiumPlugin","newRevisionId","editor","diffData","Users","getRevisionsInDiff","getRevisions","_revisions","plugins","374sSilFE","push","afterInit","fromCharCode","5072347vzqWem","later","516864IcskOV","getRevision","earlier","add","data","pluginName","getUser","map","from","1FUQFnA","958300ugrCCX","href","reverse","toJSON","toVersion","attributes","get","getRevisionsIterator","8AZQCLI","1098458yfuCKv","144510Jewnjl","getLaterVisibleRevision","RevisionsRepository","fromVersion","join","486NyLmlL","isOfficialPlugin","creatorId"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=411]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(433444===-parseInt(e(464))/1*(-parseInt(e(417))/2)+-parseInt(e(423))/3*(-parseInt(e(432))/4)+-parseInt(e(465))/5+-parseInt(e(429))/6*(parseInt(e(453))/7)+-parseInt(e(416))/8*(-parseInt(e(427))/9)+parseInt(e(418))/10*(-parseInt(e(449))/11)+parseInt(e(455))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[X(447)];static get[X(430)](){return[K.Users]}static get[X(460)](){return X(420)}static get[X(424)](){return!0}static get[X(440)](){return!0}get[X(436)](){const t=X;return this[t(447)][t(436)]}constructor(e){const i=X;super(e),this[i(447)]=new t.Collection}[X(451)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([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]),[y([121])]:y([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]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=et;return t[e(462)](t=>String[e(452)](t))[e(422)]("")}!function(t){const i=u();r[i]=y([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[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([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[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([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===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([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(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([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]))||p(y([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=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1783987200;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=et,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(466)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=et;for(const e in window)if(window[y([78,117,109,98,101,114])][i(439)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[X(433)](t){const e=X,i=this[e(442)][e(448)][e(414)](e(444));return new J({id:t.id,name:t[e(428)],creator:t[e(425)]?i[e(461)](t[e(425)]):null,diffData:t[e(443)]||t[e(459)],authors:t[e(434)][e(462)](t=>i[e(461)](t)),createdAt:new Date(t[e(426)]),attributes:t[e(413)],fromVersion:t[e(421)],toVersion:t[e(412)]})}[X(431)](t,e=0){const i=X;this[i(447)][i(458)](t,e)}[X(456)](t){const e=X;return this[e(447)][e(414)](t)}[X(446)](t={toJSON:!1}){const e=X,i=Array[e(463)](this[e(447)]);return i[e(467)](),t[e(411)]?i[e(462)](t=>t[e(411)]()):i}[X(437)](t){const e=X;return this[e(447)][e(437)](t)}[X(435)](t){const e=X,[,i]=this[e(415)](t,{direction:e(457)});return i}[X(419)](t){const e=X,[,i]=this[e(415)](t,{direction:e(454)});return i}[X(445)](t){const e=X,i=[];for(const s of this[e(415)](t[e(441)]))if(i[e(450)](s),s.id===t[e(438)])break;return i}*[X(415)](t,{direction:e=X(457),filter:i=()=>!0}={}){const s=X,n=s(457)===e?1:-1;let r=this[s(447)][s(414)](t),o=this[s(437)](r);for(yield r;r;){if(o+=n,r=this[s(456)](o),!r)return;i(r)&&(yield r)}}}const st=nt;function nt(t,e){const i=ot();return(nt=function(t,e){return i[t-=409]})(t,e)}!function(t){const e=nt,i=t();for(;;)try{if(306316===parseInt(e(477))/1+-parseInt(e(473))/2*(-parseInt(e(439))/3)+-parseInt(e(464))/4+parseInt(e(438))/5+-parseInt(e(462))/6+parseInt(e(470))/7+parseInt(e(409))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class rt extends G.Plugin{static get[st(472)](){return st(429)}static get[st(433)](){return!0}static get[st(478)](){return!0}[st(456)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[st(476)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[st(430)](t,e){const i=st;if(t[i(415)]||!e)return;const s=this[i(416)][i(449)][i(421)](i(441)),n=await e[i(468)]({channelId:s,revisionId:t.id});t[i(415)]=n[i(415)]}[st(448)](t){const e=st,i={};for(const s in t[e(415)]){if(t[e(415)][s][e(466)]&&!t[e(415)][s][e(466)][e(411)])continue;const n=this[e(442)](JSON[e(443)](t[e(415)][s][e(445)])),r=this[e(416)][e(457)][e(423)][e(471)],o=new Q.ViewDocumentFragment(r,n[e(427)](t=>this[e(417)](t,!1)));this[e(416)][e(453)][e(431)][e(424)](e(454)),i[s]=this[e(416)][e(453)][e(431)][e(426)](o),this[e(416)][e(453)][e(431)][e(424)](e(422))}return i}[st(461)](t){const e=st,i={};for(const s in t[e(415)])t[e(415)][s][e(466)]&&!t[e(415)][s][e(466)][e(411)]||(i[s]=t[e(415)][s][e(452)]||{});return i}[st(451)](t){const e=st;return this[e(456)][e(421)](t[e(418)])}[st(417)](t,e){const i=st,s=this[i(416)][i(457)][i(423)][i(471)];if(i(481)==typeof t)return new Q.ViewText(s,t);{let n,r;r="u"==t[i(412)]||"r"==t[i(412)]?[]:t[i(440)][i(427)](t=>this[i(417)](t,e));const o=this[i(476)][i(421)](t[i(412)])||Q.ViewElement,a=this[i(416)][i(453)][i(458)][i(413)];if(n=new o(s,t[i(467)],t[i(436)],r),"u"==t[i(412)]&&t[i(440)][0]){const r=t[i(440)][0];if(n[i(469)]=function(t){const e=i,s=t[e(435)](e(425));return s[e(437)]=r,s[e(455)][0]},e){const t=new Q.ViewDocumentFragment(s);t[i(450)](n);const e=Array[i(414)](a[i(447)](t,{bind:!1})),r=a[i(410)][i(435)](i(425));r[i(419)](...e),n=Array[i(414)](a[i(428)](r))[0]}}else if("r"==t[i(412)]&&t[i(440)][0]){const r=t[i(440)][0];if(n[i(469)]=function(t){t[i(437)]=r},e){const t=new Q.ViewDocumentFragment(s);t[i(450)](n);const e=Array[i(414)](a[i(447)](t,{bind:!1})),r=a[i(410)][i(435)](i(425));r[i(419)](...e);const o=Array[i(414)](a[i(428)](r));o[i(474)]>1?n[i(450)](o):n=o[0]}}if(t[i(460)])for(const[e,s]of t[i(460)])n[i(475)](e,s);const c=void 0===t[i(463)]?null:t[i(463)];return null!==c&&(n[i(480)]=()=>c),n}}[st(444)](t){const e=st,i=JSON[e(443)](t),s=this[e(416)][e(457)][e(423)][e(471)],n=new Q.ViewDocumentFragment(s,i[e(427)](t=>this[e(417)](t,!0)));return this[e(416)][e(453)][e(432)](n)}[st(442)](t){const e=st;return(t=t[e(420)](t=>!t[e(467)]||e(446)!==t[e(467)]&&e(459)!==t[e(467)]))[e(434)](t=>{const i=e;i(481)!=typeof t&&(t[i(440)]=this[i(442)](t[i(440)]),t[i(436)]=t[i(436)][i(420)](t=>!t[0][i(465)](i(479))))}),t}}function ot(){const t=["insertions","revision-start","viewChildrenToDom","getRevisionDocumentData","config","_appendChild","_getTypeCharForViewElement","attributesAfter","data","marked","childNodes","_viewClassToTypeChar","editing","htmlProcessor","revision-end","customProperties","getRevisionRootsAttributes","3077802BNtinn","fillerOffset","959928JGdGVI","startsWith","attachChange","name","getRevision","render","2362122RgzIis","document","pluginName","16022klTOzC","length","_setCustomProperty","_typeCharToViewClass","145496VfKmum","isPremiumPlugin","data-revision-","getFillerOffset","string","1050736dQbwdI","domDocument","isAttached","type","domConverter","from","diffData","editor","_getViewFromDiffObj","constructor","append","filter","get","default","view","useFillerType","div","toData","map","domChildrenToView","RevisionHistoryUtils","loadRevisionData","processor","toModel","isOfficialPlugin","forEach","createElement","attributes","innerHTML","222155JAinLn","150wdGXvs","children","collaboration.channelId","_removeRevisionMarkers","parse","_makeModelFromViewString"];return(ot=function(){return t})()}function at(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 ct(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 ut(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 lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,N){if(Object.is(t,i))return!0;let x=n(t),A=n(i);if(x===u&&(x=v),A===u&&(A=v),x!==A)return!1;switch(x){case o:return t.toString()===i.toString();case a:return V(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=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(x){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,N))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=>ut(o,e,void 0,t,i,s,N));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,N))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),s,N);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),s,N);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,N)||ct(t)&&ct(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(!ut(o,i[r],r,t,i,s,N))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=wt();return(mt=function(t,e){return i[t-=164]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(786204===-parseInt(e(367))/1*(-parseInt(e(201))/2)+parseInt(e(396))/3*(parseInt(e(362))/4)+-parseInt(e(243))/5+parseInt(e(368))/6+parseInt(e(183))/7*(-parseInt(e(250))/8)+parseInt(e(401))/9*(-parseInt(e(312))/10)+-parseInt(e(297))/11*(parseInt(e(202))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wt);class pt extends G.Plugin{[ft(426)];[ft(420)];[ft(467)]=null;[ft(461)];[ft(337)]=null;[ft(390)];[ft(231)];[ft(175)];[ft(301)];[ft(252)];[ft(444)];[ft(409)];[ft(374)];[ft(211)];static get[ft(399)](){return ft(230)}static get[ft(262)](){return!0}static get[ft(333)](){return!0}static get[ft(205)](){return[K.Users,it,rt,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(461)]=this[i(361)][i(249)][i(394)](i(271)),this[i(252)]=this[i(361)][i(249)][i(394)](i(276)),this[i(390)]=new vt(this[i(361)]),this[i(175)]=this[i(361)][i(222)][i(394)](i(213))||i(172),this[i(301)]=new Map,this[i(211)]=null;const s=(0,t.uid)();this[i(231)]={history:this[i(361)][i(470)][i(423)][i(239)],getLatestVersion:()=>Promise[i(393)](this[i(361)][i(470)][i(423)][i(206)]),getCurrentRevisionId:()=>s},this[i(199)](i(438),!1),this[i(199)](i(466),!0),this[i(199)](i(277),!1),this[i(361)][i(222)][i(178)](i(191),!0),this[i(361)][i(330)][i(298)](i(272))[i(321)]({view:i(274)})}[ft(224)](){const t=ft;this[t(164)](),this[t(361)][t(293)].on(t(255),()=>{const e=t,i=this[e(461)][e(275)](0),s=i&&null===i[e(273)]?i:null;if(this[e(409)]=!!s&&this[e(361)][e(222)][e(394)](e(191)),this[e(361)][e(249)][e(256)](e(309))){const t=this[e(231)][e(359)](),n=this[e(461)][e(275)](t);if(n)this[e(374)]=n[e(192)],this[e(409)]=!1;else{const t=this[e(231)][e(239)][e(463)][e(481)](t=>!t[e(215)]),n=t?t[e(391)]:this[e(231)][e(239)][e(206)];i?(i[e(355)]<n&&i[e(405)]({toVersion:n}),this[e(409)]?(this[e(231)][e(359)]=()=>s.id,this[e(374)]=s[e(192)]):(this[e(374)]=i[e(355)],this[e(409)]=!1)):(this[e(374)]=n,this[e(409)]=!1)}}else s&&(this[e(361)][e(470)][e(423)][e(239)][e(206)]=Math[e(284)](s[e(355)],this[e(361)][e(470)][e(423)][e(239)][e(206)]),s[e(192)]===s[e(355)]?(0!==s[e(192)]&&(this[e(231)][e(359)]=()=>s.id),this[e(409)]=!1):this[e(409)]&&(this[e(231)][e(359)]=()=>s.id,this[e(374)]=s[e(192)])),this[e(409)]||(this[e(374)]=this[e(361)][e(470)][e(423)][e(206)]);this[e(390)][e(224)](this[e(231)][e(239)]),this[e(373)](this[e(374)]),this[e(482)](this[e(374)]),this[e(337)]&&this[e(416)]()}),this[t(334)](t(438)).to(this,t(277),t=>!t),this[t(426)]=this[t(361)][t(222)][t(394)](t(426));const e=this[t(361)];this[t(420)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(219)==r||i(245)==r||i(236)==r||i(431)==r||i(485)==r||i(234)==r||i(338)==r){delete e[n],s=r,clearInterval(this[i(420)]),this[i(420)]=void 0;break}}i(245)==s&&e[i(290)](i(246)),i(236)==s&&e[i(290)](i(483)),i(431)==s&&e[i(290)](i(372)),i(485)==s&&e[i(290)](i(376),i(365)),i(234)==s&&e[i(290)](i(366)),i(338)==s&&e[i(290)](i(169))},1e3)}async[ft(270)](){const t=ft;if(this[t(461)][t(413)]>0){const e=this[t(461)][t(275)](0),i=await this[t(229)](e),s=await this[t(477)](e);this[t(414)](i,s)}}[ft(371)](){const t=ft;super[t(371)](),this[t(420)]&&clearInterval(this[t(420)])}[ft(472)](t){this[ft(231)]=t}async[ft(353)](){const t=ft,e=await this[t(231)][t(317)]();if(e>this[t(467)][t(355)]){await this[t(179)]();const i=this[t(452)]({revision:this[t(467)],to:e});i[t(184)]=i[t(352)][t(185)](e=>this[t(361)][t(249)][t(394)](t(316))[t(244)](e)),this[t(467)][t(405)](i)}}async[ft(170)](e={},i=null){const s=ft,n=[];await this[s(179)](),this[s(409)]=!1,i>this[s(467)][s(355)]&&(i=null),null===i&&(i=await this[s(231)][s(317)]());const r=this[s(260)](i),o=this[s(452)]({from:r,to:i});if(this[s(467)][s(355)]<i){const t=this[s(452)]({revision:this[s(467)],from:i,to:i});t[s(184)]=[],t[s(352)]=[],t.id=this[s(467)].id,this[s(467)][s(405)](t,!0),delete t[s(184)],n[s(258)](t)}e[s(458)]=this[s(361)][s(249)][s(394)](s(316)).me.id,e[s(325)]=e[s(325)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(384)](e);n[s(258)](e);const c=this[s(461)][s(369)](a);if(0!==c){const t=this[s(461)][s(275)](c-1);if(t[s(192)]!==i){const r=this[s(390)][s(200)](i,t[s(355)]),o={id:t.id,diffData:r[s(223)],authorsIds:r[s(352)],authors:r[s(352)][s(185)](t=>this[s(361)][s(249)][s(394)](s(316))[s(244)](t)),fromVersion:i};t===this[s(467)]&&(o[s(430)]=new Date(e[s(430)][s(415)]()+10)),t[s(405)](o,!0),delete o[s(184)],n[s(258)](o)}}if(this[s(337)]){for(const t of n)this[s(475)](t.id,t,!0);this[s(416)]()}return a}[ft(384)](t){const e=ft,i=this[e(461)][e(204)](t);return this[e(337)]&&i.on(e(405),(t,i,s)=>{const n=e;s||(this[n(475)](i.id,i,!0),this[n(416)]())}),this[e(461)][e(329)](i,this[e(203)](i)),i}async[ft(229)](t){const e=ft;return await this[e(252)][e(446)](t,this[e(337)]),this[e(252)][e(229)](t)}async[ft(477)](t){const e=ft;return await this[e(252)][e(446)](t,this[e(337)]),this[e(252)][e(477)](t)}[ft(416)](){const t=ft;if(0===this[t(301)][t(302)])return;if(this[t(277)])return;let e=Array[t(285)](this[t(301)][t(479)]());this[t(301)][t(324)]();for(let i=0;i<e[t(413)];i++){const s=e[i];let n=!1;for(const e of Object[t(207)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(351)](t=>null!==t),!e[t(413)])return;for(let i=0;i<e[t(413)];i++){const s=e[i];void 0!==s[t(192)]&&void 0===s[t(355)]&&(s[t(355)]=this[t(461)][t(275)](s.id)[t(355)]),void 0!==s[t(355)]&&void 0===s[t(192)]&&(s[t(192)]=this[t(461)][t(275)](s.id)[t(192)])}const i=this[t(361)][t(222)][t(394)](t(213));this[t(277)]=!0,this[t(347)](),this[t(337)][t(408)](e,i)[t(443)](()=>{this[t(277)]=!1})[t(261)](e=>{const i=t;if(e)for(const t of e)this[i(418)]({id:t.id,createdAt:t[i(430)]});this[i(226)](),this[i(416)]()})}[ft(452)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(192)],i=null!==i?i:t[s(355)];const n=this[s(390)][s(200)](e,i),r={diffData:n[s(223)],authorsIds:n[s(352)],fromVersion:e,toVersion:i};if(!t||i!==t[s(355)]){const t=i-1,e=this[s(231)][s(239)][s(402)](t);r[s(430)]=e&&e[s(430)]||new Date}if(this[s(211)]&&e===this[s(211)][s(192)])for(const t of this[s(211)][s(184)])r[s(352)][s(266)](t.id)||r[s(352)][s(258)](t.id);return r}[ft(475)](t,e,i){const s=ft;if(this[s(301)][s(256)](t)){const n=this[s(301)][s(394)](t);e=i?{...n,...e}:{...e,...n}}this[s(301)][s(199)](t,e)}[ft(418)](t){const e=ft,i=this[e(461)][e(275)](t.id);if(t[e(430)]&&(t[e(430)]=new Date(t[e(430)])),t[e(352)]){const i=this[e(361)][e(249)][e(394)](e(316));t[e(184)]=t[e(352)][e(185)](t=>i[e(244)](t))}i[e(405)](t,!0)}[ft(373)](t){const e=ft,i=this[e(461)][e(275)](this[e(461)][e(413)]-1);if(i)this[e(175)]=i.id;else{const i=!this[e(361)][e(470)][e(423)][e(233)][e(481)](t=>this[e(361)][e(470)][e(281)](t)),s=this[e(361)][e(249)][e(394)](e(316)).me.id,n=at(this[e(361)][e(381)],e(i?220:447));this[e(313)]({from:t,to:t,id:this[e(175)],name:n,creatorId:s})}}[ft(482)](t){const e=ft,i=this[e(231)][e(359)]();this[e(467)]=this[e(461)][e(275)](i),this[e(467)]||(this[e(467)]=this[e(313)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(179)](){const t=ft;this[t(409)]&&!this[t(211)]&&(await this[t(252)][t(446)](this[t(467)],this[t(337)]),this[t(390)][t(385)](this[t(467)]),this[t(211)]={fromVersion:this[t(467)][t(192)],authors:this[t(467)][t(184)][t(225)]()})}[ft(414)](e,i){const s=ft;let n=this[s(361)][s(222)][s(394)](s(310)),r=this[s(361)][s(222)][s(394)](s(315));if(void 0===n){n={};for(const t of this[s(361)][s(470)][s(423)][s(314)]())n[t]=""}if(s(345)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(361)][s(470)][s(423)][s(314)]())r[t]={}}let o=!1;const a=Object[s(207)](n),c=Object[s(207)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(348)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(207)](r[t])[s(413)]>0){o=!0;break}}o||(o=c[s(440)](t=>!this[s(361)][s(470)][s(423)][s(188)](t))),o&&(0,t.logWarning)(s(311),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(361)][s(222)][s(199)](s(310),e),this[s(361)][s(222)][s(199)](s(315),i)}[ft(347)](){const t=ft;if(!this[t(444)]){const e=this[t(361)][t(249)][t(394)](t(397));this[t(444)]=e[t(195)](at(this[t(361)][t(381)],t(370)))}}[ft(226)](){const t=ft;this[t(444)]&&(this[t(361)][t(249)][t(394)](t(397))[t(209)](this[t(444)]),this[t(444)]=null)}[ft(203)](t){const e=ft,i=this[e(461)][e(358)]();i[e(422)]();let s=0;for(;s<i[e(413)];){const n=i[s];if(n===this[e(467)]){s++;continue}if(n.id===this[e(175)])break;const r=t[e(355)]-n[e(355)]||t[e(192)]-n[e(192)];if(r>0)break;if(r<0)s++;else{if(!t[e(273)]&&n[e(273)])break;if(n[e(273)]||!t[e(273)]){if(t[e(430)]>n[e(430)])break;s++}else s++}}return s}[ft(260)](t){const e=ft,i=this[e(461)][e(358)]();i[e(422)](),i[e(221)]();const s=i[e(481)](i=>i[e(355)]<=t)[e(355)];return s<this[e(374)]?this[e(374)]:s}[ft(313)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(452)]({from:e,to:i});o[r(325)]=t,o[r(458)]=s,o.id=n;const a=this[r(384)](o);return this[r(337)]&&this[r(475)](o.id,o,!0),a}[ft(164)](){const t=ft;this[t(361)][t(330)][t(298)](t(339))[t(453)]({model:t(274)})}}class vt{[ft(361)];[ft(282)];[ft(459)];[ft(265)];[ft(386)];[ft(378)];[ft(182)];[ft(217)];[ft(436)];[ft(181)];[ft(210)];[ft(328)];[ft(421)];[ft(474)];[ft(425)];[ft(232)];[ft(429)];constructor(t){const e=ft;this[e(361)]=t,this[e(459)]=new Map,this[e(265)]=-1,this[e(386)]=-1,this[e(378)]=new Map,this[e(182)]=new Map,this[e(217)]=new Map,this[e(436)]=new Map,this[e(181)]=new Map,this[e(210)]=new Map,this[e(328)]=new Map,this[e(421)]=new Map,this[e(474)]=new Map,this[e(425)]=new Map,this[e(232)]=1}[ft(224)](t){const e=ft;this[e(282)]=t;const i=new Map,s=new Map,n=this[e(361)][e(470)][e(423)][e(233)][e(185)](t=>t[e(283)]);for(const t of n){const n=this[e(361)][e(470)][e(423)][e(188)](t),r=gt(n);i[e(199)](t,r),s[e(199)](t,Object[e(292)](n[e(392)]()))}const r=Array[e(285)](this[e(361)][e(470)][e(412)])[e(185)](t=>[t[e(325)],t[e(218)]()]),o=this[e(282)][e(206)];this[e(335)](o,i,r,s),this[e(429)]=this[e(232)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(199)](t,i),c[e(199)](t,{})}this[e(335)](Number[e(450)],a,[],c)}[ft(200)](t,e){const i=ft;if(this[i(265)]===t&&this[i(386)]<=e)this[i(459)][i(302)]>1&&this[i(364)](this[i(386)]),this[i(208)](this[i(386)],e,!0);else{if(!this[i(459)][i(256)](t)){const e=this[i(476)](t);this[i(323)](e,t,!1)}this[i(323)](t,e,!0)}return this[i(265)]=t,this[i(386)]=e,this[i(435)]()}[ft(385)](t){const e=ft;if(!this[e(459)][e(256)](t[e(192)])){const i=this[e(476)](t[e(192)]);this[e(323)](i,t[e(192)],!1)}this[e(323)](t[e(192)],t[e(355)],!1);const i=this[e(361)][e(249)][e(394)](e(276));this[e(377)](),this[e(265)]=t[e(192)],this[e(386)]=t[e(355)];for(const s in t[e(223)]){const n=t[e(223)][s][e(294)],r=R(t[e(223)][s][e(404)])||{},o=i[e(189)](t[e(223)][s][e(288)]);o[e(283)]=s,o[e(326)]=!n||!n[e(342)],o[e(342)]=()=>o[e(326)],this[e(436)][e(199)](s,o),this[e(181)][e(199)](s,r),n&&this[e(425)][e(199)](s,n);const a=this[e(417)](o);this[e(328)][e(199)](s,a);for(const[t,i]of o[e(412)]){if(!t[e(306)](e(253)))continue;const s=t[e(278)](":")[2];for(const t of i[e(228)]({singleCharacters:!0})){const i=this[e(407)](t),n=e(382)==t[e(400)]?t[e(165)][e(286)][e(225)](0,-1):t[e(165)][e(286)],r=a[e(343)](n)[e(451)](i);this[e(421)][e(199)](r,{userId:s})}o[e(412)][e(398)](t)}}this[e(429)]=this[e(232)];const s=[...Array(this[e(232)])[e(207)]()][e(225)](1)[e(351)](t=>!this[e(421)][e(256)](t));let n=0;const r=new Map;for(const o in t[e(223)]){const a=t[e(223)][o][e(294)],c=R(t[e(223)][o][e(291)])||{},u=i[e(189)](t[e(223)][o][e(180)]);u[e(283)]=o,u[e(326)]=!a||a[e(342)],u[e(342)]=()=>u[e(326)],this[e(182)][e(199)](o,u),this[e(217)][e(199)](o,c);const l=this[e(417)](u,Number[e(450)]);this[e(210)][e(199)](o,l),r[e(199)](o,u[e(342)]()?c:{});for(const[t,i]of u[e(412)]){if(!t[e(306)](e(253)))continue;const s=t[e(278)](":")[2];for(const t of i[e(228)]({singleCharacters:!0})){const i=this[e(407)](t),n=this[e(232)]++,r=e(382)==t[e(400)]?t[e(165)][e(286)][e(225)](0,-1):t[e(165)][e(286)];l[e(343)](r)[e(174)](i,n),this[e(421)][e(199)](n,{userId:s})}u[e(412)][e(398)](t)}for(const t of this[e(361)][e(470)][e(354)](u)[e(228)]({singleCharacters:!0})){const i=this[e(407)](t),r=e(382)==t[e(400)]?t[e(165)][e(286)][e(225)](0,-1):t[e(165)][e(286)],o=l[e(343)](r);o[e(451)](i)>0||o[e(174)](i,s[n++])}for(const[t,i]of u[e(412)])t[e(306)](e(253))||this[e(378)][e(199)](t,i)}const{roots:o}=this[e(459)][e(394)](t[e(192)]),{roots:a}=this[e(459)][e(394)](t[e(355)]),c=gt(o[e(394)](e(428)));this[e(436)][e(199)](e(428),c),this[e(328)][e(199)](e(428),this[e(417)](c,Number[e(450)]));const u=gt(a[e(394)](e(428)));this[e(182)][e(199)](e(428),u),this[e(210)][e(199)](e(428),this[e(417)](u));const l=Array[e(285)](this[e(182)])[e(185)](([t,e])=>[t,gt(e)]);this[e(335)](this[e(386)],l,this[e(378)],r)}[ft(349)](){const t=ft;this[t(377)](),this[t(265)]=-1,this[t(386)]=-1,this[t(459)][t(324)](),this[t(224)](this[t(282)])}[ft(335)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(199)](t,{start:e[n(448)][n(299)](),end:e[n(486)][n(299)](),rootName:e[n(240)][n(283)]});this[n(459)][n(199)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(364)](t){const e=ft;this[e(459)][e(398)](t)}[ft(377)](){const t=ft;this[t(421)][t(324)](),this[t(474)][t(324)](),this[t(425)][t(324)](),this[t(182)][t(324)](),this[t(217)][t(324)](),this[t(436)][t(324)](),this[t(181)][t(324)](),this[t(210)][t(324)](),this[t(328)][t(324)](),this[t(378)][t(324)](),this[t(232)]=1,this[t(429)]=this[t(232)]}[ft(417)](t,e=null){const i=ft;let s=null;t.is(i(166))||(s=new Q.ModelElement(t[i(325)],{vid_start:null===e?this[i(232)]++:e++}));const n=[];for(const s of t[i(387)]())if(s.is(i(242))){n[i(258)](this[i(417)](s,e));const t=n[n[i(413)]-1];null!==e&&(e=t.is(i(242),i(247))?t[i(451)](i(462))+1:t[i(451)](i(254))+1)}else for(let t=0;t<s[i(484)];t++)n[i(258)](new Q.ModelElement(i(247),{vid:null===e?this[i(232)]++:e++}));if(t.is(i(166))){const e=yt(t[i(283)]);return e[i(173)](0,n),e}return s[i(174)](i(254),null===e?this[i(232)]++:e++),s[i(173)](0,n),s}[ft(323)](t,e,i){const s=ft;this[s(377)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(459)][s(394)](t);this[s(436)]=new Map(n),this[s(181)]=new Map(R(o));for(const[t,e]of this[s(436)])if(s(428)!==t&&(this[s(182)][s(199)](t,gt(e)),this[s(217)]=new Map(R(o)),i)){const i=this[s(232)];this[s(210)][s(199)](t,this[s(417)](e)),this[s(328)][s(199)](t,this[s(417)](e,i))}this[s(429)]=this[s(232)],this[s(182)][s(199)](s(428),gt(this[s(436)][s(394)](s(428)))),i&&this[s(210)][s(199)](s(428),this[s(417)](this[s(436)][s(394)](s(428))));for(const[t,e]of r){const i=this[s(436)][s(394)](e[s(283)]),n=this[s(182)][s(394)](e[s(283)]),r=new Q.ModelRange(this[s(308)](e[s(448)],i),this[s(308)](e[s(486)],i)),o=this[s(320)](r,n);i[s(412)][s(199)](t,r),this[s(378)][s(199)](t,o)}this[s(208)](t,e,i)}[ft(208)](t,e,i){const s=ft;for(const n of this[s(282)][s(214)](t,e))this[s(363)](n,i);for(const t of this[s(182)][s(479)]())t[s(412)][s(324)]();for(const[t,e]of this[s(378)])this[s(182)][s(394)](e[s(240)][s(283)])[s(412)][s(199)](t,e[s(299)]());const n=new Map,r=new Map;for(const[t,e]of this[s(182)])n[s(199)](t,gt(e)),r[s(199)](t,this[s(217)][s(394)](t));this[s(335)](e,n,this[s(378)],r)}[ft(476)](t){const e=ft,i=Array[e(285)](this[e(459)][e(207)]());i[e(455)]((t,e)=>t-e),i[e(422)]();for(const e of i)if(e<t)return e;return Number[e(450)]}[ft(171)](t,e){const i=ft,s=Array[i(285)](e[i(412)])[i(185)](([e,s])=>[e,this[i(320)](s,t)]);t[i(412)]=new Map(s)}[ft(473)](t){const e=ft;for(const i of this[e(378)][e(479)]()){const s=i[e(432)](t),n=Q.ModelRange[e(406)](s);i[e(448)]=n[e(448)],i[e(486)]=n[e(486)]}}[ft(363)](t,e){const i=ft;if(i(331)!=t[i(400)]&&i(194)!=t[i(400)]){if(i(464)==t[i(400)]){const s=t[i(411)][i(240)][i(283)];this[i(182)][i(256)](s)||(this[i(182)][i(199)](s,yt(s,!0)),this[i(217)][i(199)](s,{}),e&&this[i(210)][i(199)](s,yt(s,!0)))}else{if(i(307)==t[i(400)]||i(437)==t[i(400)]||i(264)==t[i(400)])return void this[i(289)](t);i(389)==t[i(400)]&&this[i(177)](t)}if(i(389)!==t[i(400)]){const e=this[i(257)](t,this[i(182)]);e[i(259)](),this[i(473)](e)}if(e)switch(t[i(400)]){case i(464):this[i(305)](t);break;case i(304):case i(209):case i(248):this[i(434)](t);break;case i(238):this[i(457)](t);break;case i(278):this[i(267)](t)}}else this[i(190)](t,e)}[ft(257)](t,e){const i=ft,s=t[i(299)]();return s[i(346)]=t[i(346)],this[i(241)](s,e),s}[ft(439)](t){const e=ft;return t[e(185)](t=>{const i=e,s=this[i(407)](t);return Number(t[i(268)][i(451)](s))})}[ft(350)](t,e){const i=ft;if(t.is(i(242),i(247)))e[i(258)]({item:t,type:i(357)});else{t.is(i(242))&&e[i(258)]({item:t,type:i(410)});for(const s of t[i(387)]())this[i(350)](s,e);t.is(i(242))&&e[i(258)]({item:t,type:i(382)})}return e}[ft(435)](){const t=ft,e=new Map(this[t(421)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(436)][t(207)](),...this[t(182)][t(207)]()]);a[t(398)](t(428));for(const e of a){const i=this[t(182)][t(394)](e)||yt(e,!1),s=this[t(436)][t(394)](e)||yt(e,!1);i[t(342)]()||s[t(342)]()?(n[t(180)][e]=gt(i),n[t(288)][e]=gt(s),this[t(171)](n[t(288)][e],s),this[t(171)](n[t(180)][e],i),r[t(180)][e]=this[t(350)](this[t(210)][t(394)](e),[]),r[t(288)][e]=this[t(350)](this[t(328)][t(394)](e)||yt(e,!1),[])):a[t(398)](e)}for(const n of a){const o=r[t(180)][n];for(const n of o){const r=this[t(407)](n),o=n[t(268)][t(451)](r);i[t(398)](o),o>=this[t(429)]&&s[t(199)](o,e[t(394)](o))}}for(const n of a){const a=r[t(180)][n],c=this[t(439)](r[t(288)][n]);let u=0;for(const n of a){const r=this[t(407)](n),a=n[t(268)][t(451)](r);if(!s[t(256)](a)&&!o[t(256)](a))if(i[t(256)](a))u++;else{if(a!=c[u]){const s=e[t(394)](a)||e[t(394)](c[u]);for(;a!=c[u];)i[t(256)](c[u])||(o[t(199)](c[u],s),e[t(199)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(180)][e];for(const e of n){const n=this[t(407)](e),r=e[t(268)][t(451)](n);if(o[t(256)](r)){const e=o[t(394)](r);i[t(256)](r)||i[t(199)](r,{...e}),s[t(199)](r,{...e})}}}for(const e of i[t(207)]())e>=this[t(429)]&&i[t(398)](e);const c=new Map;for(const e of a){let n=r[t(180)][e];for(const e of n)if(e[t(268)].is(t(242),t(383))){const i=this[t(407)](e),n=e[t(268)][t(451)](i);if(s[t(256)](n)){const i=e[t(268)][t(186)][t(186)][t(451)](t(322)),r=c[t(394)](i)||new Set;r[t(195)](s[t(394)](n)[t(176)]),c[t(199)](i,r)}}n=r[t(288)][e];for(const e of n)if(e[t(268)].is(t(242),t(383))){const s=this[t(407)](e),n=e[t(268)][t(451)](s);if(i[t(256)](n)){const s=e[t(268)][t(186)][t(186)][t(451)](t(322)),r=c[t(394)](s)||new Set;r[t(195)](i[t(394)](n)[t(176)]),c[t(199)](s,r)}}for(const e of c[t(207)]())(s[t(256)](e)||i[t(256)](e))&&c[t(398)](e)}for(const e of a){const n=r[t(180)][e];let o=null,a=null;for(const e of n){const n=this[t(407)](e),r=e[t(268)][t(451)](n),u=c[t(394)](r);u&&t(410)==e[t(400)]&&(o=Array[t(285)](u)[0],a=e[t(268)][t(451)](t(254))),o&&(i[t(199)](r,{userId:o}),s[t(199)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(288)][e],a=n[t(180)][e];for(const{userId:e}of this[t(474)][t(479)]())null!==e&&l[t(195)](e);for(const{userId:e}of this[t(425)][t(479)]())null!==e&&l[t(195)](e);this[t(212)](a,r[t(180)][e],s,t(456),l),this[t(212)](o,r[t(288)][e],i,t(340),l),u[e]={insertions:this[t(336)](a),deletions:this[t(336)](o),attachChange:this[t(425)][t(394)](e)||null,attributesBefore:R(this[t(181)][t(394)](e))||{},attributesAfter:R(this[t(217)][t(394)](e))}}return{diffData:u,authorsIds:Array[t(285)](l)}}[ft(216)](t){const e=ft;for(const[,i]of t[e(412)]){const t=i[e(448)][e(235)]()[e(351)](t=>e(383)==t[e(325)]);for(const i of t)1==i[e(419)]&&i[e(187)](0).is(e(242),e(263))&&i[e(187)](0)[e(174)](e(480),!0)}}[ft(336)](t){const e=ft;this[e(216)](t);const i=this[e(361)][e(293)][e(427)](t,{}),s=Array[e(285)](i[e(387)]())[e(185)](t=>this[e(167)](t));return JSON[e(460)](s)}[ft(167)](t){const e=ft;if(t.is(e(247)))return t[e(293)];{const i=this[e(361)][e(249)][e(394)](e(276)),s=t,n=this[e(361)][e(293)][e(269)][e(380)],r={type:i[e(442)](s),name:s[e(325)],attributes:Array[e(285)](s[e(392)]()),children:Array[e(285)](s[e(387)]())[e(185)](t=>this[e(167)](t))};if(t.is(e(193))&&e(251)!=t[e(325)]){const i=t[e(341)](n[e(375)],n);r[e(471)][e(258)](i[e(445)])}else if(t.is(e(168))){const i=n[e(375)][e(468)](s[e(325)]);t[e(341)](i,n),r[e(471)][e(258)](i[e(237)])}const o=Array[e(285)](s[e(478)]());o[e(413)]>0&&(r[e(379)]=o);const a=s[e(403)]();return null!==a&&(r[e(327)]=a),r}}[ft(212)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(361)][r(470)];for(let s=0;s<e[r(413)];s++){const n=this[r(407)](e[s]),c=e[s][r(268)][r(451)](n),h=i[r(394)](c),d=s==e[r(413)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(176)]!=o[r(176)])&&(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(176)],d=l(253)+s+":"+h+":"+c++,f=u[l(318)](i,a);t[l(412)][l(199)](d,f),null!==h&&n[l(195)](h)}}[ft(407)](t){const e=ft;switch(t[e(400)]){case e(410):return e(322);case e(382):return e(254);default:return e(462)}}[ft(241)](t,e){const i=ft;t[i(391)]=null;for(const s in t){const n=t[s];if(n instanceof Q.ModelPosition){const r=e[i(394)](n[i(240)][i(283)]);t[s]=this[i(308)](n,r)}if(n instanceof Q.ModelRange){const r=e[i(394)](n[i(240)][i(283)]);t[s]=this[i(320)](n,r)}i(240)===s&&(t[i(240)]=e[i(394)](t[i(240)][i(283)]))}}[ft(320)](t,e){const i=ft;return this[i(361)][i(470)][i(318)](this[i(308)](t[i(448)],e),this[i(308)](t[i(486)],e))}[ft(308)](t,e){const i=ft;return this[i(361)][i(470)][i(295)](e,t[i(286)],t[i(360)])}[ft(305)](t){const e=ft,i=this[e(210)][e(394)](t[e(411)][e(240)][e(283)]),s=this[e(308)](t[e(411)],i),n=null===t[e(346)]?null:t[e(346)]||this[e(361)][e(249)][e(394)](e(316)).me.id,r=s[e(186)],o=this[e(232)],a=[];for(const i of t[e(395)])if(i.is(e(242)))a[e(258)](this[e(417)](i));else for(let t=0;t<i[e(484)];t++)a[e(258)](new Q.ModelElement(e(247),{vid:this[e(232)]++}));const c=this[e(232)];for(let t=o;t<c;t++)this[e(421)][e(199)](t,{userId:n});r[e(173)](s[e(303)],a)}[ft(434)](t){const e=ft;(t=this[e(257)](t,this[e(210)]))[e(259)]();const i=null===t[e(346)]?null:t[e(346)]||this[e(361)][e(249)][e(394)](e(316)).me.id,s=t[e(197)](),n=s[e(186)],r=s[e(303)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(187)](e);r.is(a(242),a(247))?s[a(199)](r[a(451)](a(462)),{userId:i}):(s[a(199)](r[a(451)](a(322)),{userId:i}),t(s,r,0,r[a(419)]),s[a(199)](r[a(451)](a(254)),{userId:i}))}}(this[e(421)],n,r,r+t[e(441)])}[ft(457)](t){const e=ft,i=null===(t=this[e(257)](t,this[e(210)]))[e(346)]?null:t[e(346)]||this[e(361)][e(249)][e(394)](e(316)).me.id,s=t[e(198)][e(186)],n=t[e(469)][e(186)],r=s[e(451)](e(254)),o=n[e(451)](e(322));s[e(174)](e(254),n[e(451)](e(254))),n[e(174)](e(254),r),this[e(421)][e(199)](o,{userId:i}),this[e(421)][e(199)](r,{userId:i}),t[e(259)]()}[ft(267)](t){const e=ft,i=null===(t=this[e(257)](t,this[e(210)]))[e(346)]?null:t[e(346)]||this[e(361)][e(249)][e(394)](e(316)).me.id,s=t[e(388)],n=t[e(424)][e(186)];t[e(259)]();const r=n[e(451)](e(254)),o=t[e(454)][e(287)];if(s){const t=o[e(451)](e(254)),s=n[e(451)](e(254));n[e(174)](e(254),t),o[e(174)](e(254),s),this[e(421)][e(199)](n[e(451)](e(254)),{userId:i}),this[e(421)][e(199)](o[e(451)](e(322)),{userId:i})}else{const t=this[e(232)]++,s=this[e(232)]++;n[e(174)](e(254),t),o[e(174)](e(322),s),o[e(174)](e(254),r),this[e(421)][e(199)](t,{userId:i}),this[e(421)][e(199)](s,{userId:i})}}[ft(177)](t){const e=ft;if(!t[e(296)])return;const i=(t=this[e(257)](t,this[e(182)]))[e(300)]?t[e(300)][e(240)]:null,s=t[e(465)]?t[e(465)][e(240)]:null;i&&this[e(378)][e(398)](t[e(325)]),s&&this[e(378)][e(199)](t[e(325)],t[e(465)][e(299)]());const n=null===t[e(346)]?null:t[e(346)]||this[e(361)][e(249)][e(394)](e(316)).me.id,r=t[e(325)];if(!this[e(474)][e(256)](r))return void this[e(474)][e(199)](r,{range:t[e(300)],userId:n});const o=this[e(474)][e(394)](r),a=o[e(319)],c=t[e(465)];null==a&&null==c||a&&c&&a[e(196)](c)?this[e(474)][e(398)](t[e(325)]):o[e(176)]=n}[ft(190)](t,e){const i=ft;this[i(182)][i(256)](t[i(283)])?this[i(182)][i(394)](t[i(283)])[i(326)]=t[i(279)]:(this[i(182)][i(199)](t[i(283)],yt(t[i(283)],!0)),this[i(217)][i(199)](t[i(283)],{}),e&&this[i(210)][i(199)](t[i(283)],yt(t[i(283)],!0)));const s=null===t[i(346)]?null:t[i(346)]||this[i(361)][i(249)][i(394)](i(316)).me.id,n=this[i(425)][i(394)](t[i(283)]);n&&n[i(176)]===s?this[i(425)][i(398)](t[i(283)]):this[i(425)][i(199)](t[i(283)],{userId:s,isAttached:t[i(279)]})}[ft(289)](t){const e=ft,i=this[e(217)][e(394)](t[e(240)][e(283)]);null===t[e(332)]?delete i[t[e(433)]]:i[t[e(433)]]=t[e(332)]}}function gt(t){const e=ft,i=yt(t[e(283)],t[e(342)]());for(const s of t[e(387)]()){const t=s[e(344)](!0);i[e(449)](t)}return i}function yt(t,e=!0){const i=ft,s=new Q.ModelDocumentFragment;return s[i(283)]=t,s[i(326)]=e,s[i(342)]=()=>s[i(326)],s}function kt(t,e,i){const s=ft,n=s(382)==t[s(400)]?i[s(227)](t[s(268)],s(486)):i[s(356)](t[s(268)]);return i[s(295)](e,n[s(286)],n[s(360)])}function bt(t,e,i){const s=ft,n=s(410)==t[s(400)]?i[s(227)](t[s(268)],0):i[s(280)](t[s(268)]);return i[s(295)](e,n[s(286)],n[s(360)])}function wt(){const t=["editor","4908XpAYcG","_handleOperation","_removeMetaData","RevisionHistory","evaluationLimit","10oCEtvG","7954902ciOVkv","getIndex","PENDING_ACTION_REVISION_HISTORY","destroy","domainLimit","_createInitialRevision","_startingVersion","domDocument","featureNotAllowed","_reset","_markers","customProperties","domConverter","locale","elementEnd","tableCell","addRevisionData","loadState","_lastTo","getChildren","graveyardPosition","marker","_revisionDataBuilder","baseVersion","getAttributes","resolve","get","nodes","3651HIOkdG","PendingActions","delete","pluginName","type","45KIVtTn","getOperation","getFillerOffset","attributesBefore","_update","_createFromRanges","_getVidAttributeName","updateRevisions","_continueCurrentRevision","elementStart","position","markers","length","_replaceEditorDataWithRevisionData","getTime","sendBufferedUpdates","_makeIdsRoot","setRevisionData","childCount","_licenseKeyCheckInterval","_touched","reverse","document","splitPosition","_touchedRoots","licenseKey","toView","$graveyard","_startingRevisionId","createdAt","revisionHistoryLicenseKeyDomainLimit","getTransformedByOperation","key","_handleMoveOperation","_getState","_baseRoots","removeRootAttribute","isReady","_getBaseVids","some","howMany","_getTypeCharForViewElement","finally","_pendingAction","outerHTML","loadRevisionData","Initial revision","start","_appendChild","NEGATIVE_INFINITY","getAttribute","buildRevisionData","markerToData","insertionPosition","sort","insertion","_handleMergeOperation","creatorId","_savedMetaData","stringify","repository","vid","_operations","insert","newRange","isEnabled","currentRevision","createElement","sourcePosition","model","children","setSource","_transformMarkers","_touchedMarkers","_bufferUpdate","_getPreviousFrom","getRevisionRootsAttributes","getCustomProperties","values","keepParagraph","find","_createCurrentRevision","expired","offsetSize","revisionHistoryLicenseKeyNotAllowed","end","_setConversion","previousPosition","documentFragment","_getViewJson","rawElement","usageLimit","saveRevision","_copyMarkers","initial","_insertChild","_setAttribute","_initialRevisionId","userId","_handleMarkerOperation","define","_loadState","insertions","_baseRootsAttributes","_diffRoots","1148Eambdm","authors","map","parent","getChild","getRoot","_makeModelFromViewString","_handleRootOperation","revisionHistory.resumeUnsavedRevision","fromVersion","uiElement","detachRoot","add","isEqual","getMovedRangeStart","targetPosition","set","getData","219334sDyicb","12gfFWil","_findInsertionIndex","createRevision","requires","version","keys","_applyOperations","remove","_idsRoots","_loadedStateData","_markChanges","collaboration.channelId","getOperations","_isInit","_processRootBeforeSave","_diffRootsAttributes","getRange","revisionHistoryLicenseKeyValid","Empty document","shift","config","diffData","init","slice","_removePendingAction","createPositionAt","getWalker","getRevisionDocumentData","RevisionTracker","_source","_revisionId","roots","revisionHistoryLicenseKeyEvaluationLimit","getAncestors","revisionHistoryLicenseKeyExpired","innerHTML","merge","history","root","_fixOperation","element","3230540dIuAQP","getUser","revisionHistoryLicenseKeyInvalid","invalid","$text","reinsert","plugins","35792fHuaWk","$comment","_utils","revision:","vid_end","ready","has","_cloneOperation","push","_execute","_getFromVersion","then","isOfficialPlugin","paragraph","changeRootAttribute","_lastFrom","includes","_handleSplitOperation","item","htmlProcessor","afterInit","RevisionsRepository","upcast","creator","revision","getRevision","RevisionHistoryUtils","_isPendingUpdate","split","isAdd","createPositionAfter","hasContent","source","rootName","max","from","path","nodeAfter","deletions","_handleRootAttributeOperation","_showLicenseError","attributesAfter","fromEntries","data","attachChange","createPositionFromPath","affectsData","3733983TmGZYU","for","clone","oldRange","_bufferedUpdates","size","offset","move","_handleInsertOperation","startsWith","addRootAttribute","_fixPosition","RealTimeCollaborationClient","initialData","editor-initial-data-replaced-with-revision-data","2820490jSjmkU","_makeRevision","getRootNames","rootsAttributes","Users","getLatestVersion","createRange","range","_fixRange","dataToMarker","vid_start","_calculateMetaData","clear","name","_isAttached","fillerOffset","_baseIdsRoots","addRevision","conversion","addRoot","newValue","isPremiumPlugin","bind","_saveMetaData","_prepareViewToSave","adapter","revisionHistoryLicenseKeyUsageLimit","dataDowncast","deletion","render","isAttached","getNodeByPath","_clone","string","_authorId","_addPendingAction","trim","reInit","_generateTape","filter","authorsIds","update","createRangeIn","toVersion","createPositionBefore","text","getRevisions","getCurrentRevisionId","stickiness"];return(wt=function(){return t})()}var _t=i(355),It=i(311),St=i(789),Ot=i.n(St),Tt=i(437),Nt=i.n(Tt),xt=i(298),At=i.n(xt),Rt=i(207),Mt=i.n(Rt),Vt=i(825),Dt=i.n(Vt),Et=i(416),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=Nt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(450),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=Nt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=442]})(t,e)}function zt(){const t=["extendTemplate","reset","6KScKEF","add","220","5284818JdXKbR","ck-revision-history-save-revision-form","4eFjbqJ","set","1144BBxXGN","initializeCssTransitionDisablerMixin","value","trim","focusTracker","_createRevisionNameInput","fieldView","input","setTemplate","arrowup","2150AwQedW","keystrokes","ck-responsive-form","revisionNameInputValue","revisionName","label","335441uJkAsL","Name of the revision","listenTo","arrowdown","16908LvZrGE","114GFYhsC","element","1046912GICTVg","6254265aMTrCG","arrowright","45OCPilv","64031rLUBES","optional","arrowleft","focus","locale","stopPropagation","errorText","render","form","95948NwuFYo","revisionNameInputView"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(695334===parseInt(e(475))/1*(-parseInt(e(457))/2)+-parseInt(e(480))/3*(parseInt(e(448))/4)+parseInt(e(483))/5+-parseInt(e(452))/6*(parseInt(e(455))/7)+parseInt(e(482))/8*(parseInt(e(485))/9)+parseInt(e(469))/10*(parseInt(e(486))/11)+-parseInt(e(479))/12*(parseInt(e(459))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(463)];[Lt(470)];[Lt(449)];constructor(e,i){const s=Lt;super(e),this[s(463)]=new t.FocusTracker,this[s(470)]=new t.KeystrokeHandler,this[s(458)](s(472),""),this[s(449)]=this[s(464)](i),this[s(467)]({tag:s(447),attributes:{class:["ck",s(456),s(471)],tabindex:"-1"},children:[this[s(449)]]}),this[s(460)]()}[Lt(446)](){const t=Lt;super[t(446)](),(0,It.submitHandler)({view:this}),this[t(463)][t(453)](this[t(449)][t(481)]),this[t(470)][t(477)](this[t(481)]);const e=e=>e[t(444)]();this[t(470)][t(458)](t(484),e),this[t(470)][t(458)](t(488),e),this[t(470)][t(458)](t(468),e),this[t(470)][t(458)](t(478),e)}[Lt(442)](){const t=Lt;this[t(449)][t(442)]()}get[Lt(473)](){const t=Lt;return this[t(449)][t(465)][t(481)][t(461)][t(462)]()}set[Lt(473)](t){const e=Lt;this[e(449)][e(465)][e(481)][e(461)]=t[e(462)]()}[Lt(451)](){const t=Lt;this[t(449)][t(465)][t(481)][t(461)]="",this[t(449)][t(445)]=null}[Lt(464)](t){const e=Lt,i=new It.LabeledFieldView(this[e(443)],It.createLabeledInputText),s=i[e(465)];s[e(450)]({attributes:{maxlength:e(454)}});let n=at(this[e(443)],e(476));return!t&&(n+=" ("+at(this[e(443)],e(487))+")"),i[e(474)]=n,s.on(e(466),()=>{const t=e;this[t(472)]=s[t(481)][t(461)][t(462)]()}),i}}const Ut=Zt;function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=258]})(t,e)}function Ht(){const t=["revisionSave","menu","751671hQwUvn","787scaEGf","showRevisionViewerCallback","execute","isReady","panelView","requires","Cancel","_saveRevisionFormView","submit","revisionNameInputView","items","plugins","3710967ANQAOT","addMany","_createOpenRevisionButton","isOfficialPlugin","role","60QezPng","focus","2707130wIgHGK","saveRevision","_createSaveRevisionFormView","set","editor","isPremiumPlugin","hide","children","editing","4379924TdBkMF","Accept","The revision name cannot be empty.","_createSaveRevisionButton","isReadOnly","_showDialog","282lVSkTM","buttonView","revisionHistory","show","revisionHistory.requireRevisionName","ck-button-action","low","delegate","bind","config","get","errorText","revisionName","isEnabled","menuBar:revisionHistory","RevisionTracker","4514710LiqPUW","add","menuitem","reset","Open revision history","_registerMenuComponent","render","Revision history","init","Dialog","componentFactory","72eMIhlf","Save current revision","view","isOpen","listenTo","locale","pluginName","357574pGyLXz","RevisionHistoryUI"];return(Ht=function(){return t})()}!function(t){const e=Zt,i=t();for(;;)try{if(679829===-parseInt(e(300))/1*(parseInt(e(261))/2)+-parseInt(e(312))/3+parseInt(e(328))/4+parseInt(e(277))/5+parseInt(e(317))/6*(parseInt(e(295))/7)+parseInt(e(288))/8*(-parseInt(e(299))/9)+parseInt(e(319))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends G.Plugin{static get[Ut(294)](){return Ut(296)}static get[Ut(315)](){return!0}static get[Ut(324)](){return!0}static get[Ut(305)](){return[pt]}[Ut(307)];[Ut(285)](){const t=Ut,e=this[t(323)],i=e[t(311)][t(271)](t(276));e.ui[t(287)][t(278)](t(263),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(304)][n(326)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(258)](It.ButtonView),l=new It.ListItemView(s),h=this[n(314)](It.ButtonView);return r[n(269)](n(274)).to(i,n(303),i,n(274),e,n(259),(t,e,i)=>t&&e&&!i),r[n(262)][n(322)]({icon:_t.IconHistory,label:at(s,n(284)),tooltip:!0}),u[n(322)]({withText:!0,role:n(279)}),h[n(322)]({withText:!0,role:n(279)}),this[n(292)](h,n(302),()=>{const t=n;r[t(291)]=!1,e[t(327)][t(290)][t(318)]()},{priority:n(267)}),c[n(326)][n(278)](u),l[n(326)][n(278)](h),a[n(316)]=n(298),a[n(310)][n(313)]([c,l]),o[n(278)](a),r}),e.ui[t(287)][t(278)](t(275),()=>this[t(282)]())}[Ut(282)](){const t=Ut,e=this[t(323)],i=e[t(293)],s=e[t(311)][t(271)](t(276)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(269)](t(274)).to(s,t(303),s,t(274),e,t(259),(t,e,i)=>t&&e&&!i),n[t(262)][t(322)]({icon:_t.IconHistory,label:at(i,t(284))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(258)](It.MenuBarMenuListItemButtonView);a[t(268)](t(302)).to(n),o[t(326)][t(278)](a),r[t(310)][t(278)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(314)](It.MenuBarMenuListItemButtonView);return u[t(268)](t(302)).to(n),c[t(326)][t(278)](u),r[t(310)][t(278)](c),n[t(304)][t(326)][t(278)](r),n}[Ut(258)](t){const e=Ut,i=this[e(323)],s=i[e(311)][e(271)](e(276)),n=new t(i[e(293)]);return n[e(322)]({label:at(i[e(293)],e(289))}),n[e(269)](e(274)).to(s,e(303),s,e(274),i,e(259),(t,e,i)=>t&&e&&!i),this[e(292)](n,e(302),()=>{this[e(260)]()}),n}[Ut(314)](t){const e=Ut,i=this[e(323)],s=i[e(311)][e(271)](e(276)),n=new t(i[e(293)]);return n[e(322)]({label:at(i[e(293)],e(281))}),n[e(269)](e(274)).to(s,e(303),i,e(259),(t,e)=>t&&!e),this[e(292)](n,e(302),()=>{const t=e;i[t(270)][t(271)](t(263))[t(301)]()}),n}[Ut(260)](){const t=Ut,e=this[t(323)],i=e[t(293)],s=e[t(311)][t(271)](t(286)),n=e[t(311)][t(271)](t(276));function r(n){const r=t;e[r(270)][r(271)](r(265))&&""===n[r(273)]?n[r(309)][r(272)]=at(i,r(330)):(e[r(311)][r(271)](pt)[r(320)]({name:n[r(273)]}),s[r(325)]())}this[t(307)]||(this[t(321)](),this[t(307)].on(t(308),()=>r(this[t(307)]))),this[t(307)][t(280)](),s[t(264)]({id:t(297),title:at(i,t(289)),isModal:!0,content:this[t(307)],actionButtons:[{label:at(e[t(293)],t(306)),withText:!0,onExecute:()=>s[t(325)]()},{label:at(e[t(293)],t(329)),class:t(266),withText:!0,onCreate(i){const s=t;i[s(269)](s(274)).to(n,s(303),n,s(274),e,s(259),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(307)])}]})}[Ut(321)](){const t=Ut,e=this[t(323)],i=e[t(293)];this[t(307)]=new Wt(i,e[t(270)][t(271)](t(265))),this[t(307)][t(283)]()}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=238]})(t,e)}function Yt(){const t=["setTemplate","span","810504QlNuBh","element","ck-annotation","6VoPItg","type","205008KWWJsO","bindTemplate","changeId","Suggested by","1900780LuBrwv","ck-revision-change__","Added by","Removed by","ck-revision-change__label","div","author","isSuggestion","name","1566704bexTFT","add","4278648hDYUcF","1934478sxdrlO","focus","64iRhpaK","set","420714MmHREN","data","_model","ck-revision-change"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(534867===parseInt(e(257))/1+parseInt(e(246))/2+-parseInt(e(255))/3*(-parseInt(e(239))/4)+-parseInt(e(261))/5+parseInt(e(241))/6+-parseInt(e(242))/7+-parseInt(e(244))/8*(parseInt(e(252))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[$t(259)];[$t(248)];constructor(t,e){const i=$t;super(t),this[i(248)]=e,this[i(259)]=e.id;const s=this[i(258)],n=at(t,e[i(247)][i(268)]?i(260):i(240)==e[i(256)]?i(263):i(264));this[i(245)](i(256),e[i(256)]),this[i(250)]({tag:i(266),attributes:{class:[i(254),i(249),s.to(i(256),t=>i(262)+t)],tabindex:-1},children:[{tag:i(251),children:[{tag:i(251),attributes:{class:[i(265)]},children:[{text:n}]},{text:" "+e[i(267)][i(238)]}]}]})}[$t(243)](){const t=$t;this[t(253)][t(243)]()}}function Gt(t,e){var i=Kt();return(Gt=function(t,e){return i[t-=161]})(t,e)}function Kt(){var t=["data","2509335CrKgcl","56AKxeoP","author","8MdKPqv","toJSON","1036885tMIiOP","820460lzHtPp","322269JbKUYt","2261763ScKMeV","5259mjjQNi","526992ZaKIlM","set","8MEXMJm","rootName","createdAt","type"];return(Kt=function(){return t})()}var Qt=Gt;!function(t){for(var e=Gt,i=t();;)try{if(210159===parseInt(e(163))/1*(-parseInt(e(172))/2)+-parseInt(e(161))/3+parseInt(e(166))/4*(parseInt(e(176))/5)+parseInt(e(164))/6+parseInt(e(162))/7+parseInt(e(174))/8*(-parseInt(e(171))/9)+-parseInt(e(177))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Qt(173)];[Qt(169)];[Qt(170)];[Qt(167)];constructor(e){var i=Qt;super(),this.id=e.id||(0,t.uid)(),this[i(173)]=e[i(173)],this[i(169)]=e[i(169)],this[i(170)]=e[i(170)]||{},this[i(167)]=e[i(167)],this[i(165)](i(168),e[i(168)])}[Qt(175)](){var t=Qt;return{id:this.id,authorId:this[t(173)].id,type:this[t(169)],data:this[t(170)],createdAt:this[t(168)]}}}function te(){const t=["_setChanges","90CMoZrK","changes","6PipuzP","3911033yMTsSU","253588uzxXHb","newRevisionId","oldRevisionId","786024tyNBfA","add","917395klgUkq","65776sZLQiM","461180ZpzwjN","2779488JLePqS"];return(te=function(){return t})()}const ee=ie;function ie(t,e){const i=te();return(ie=function(t,e){return i[t-=421]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(348034===parseInt(e(427))/1+-parseInt(e(434))/2*(-parseInt(e(432))/3)+-parseInt(e(423))/4+-parseInt(e(425))/5+-parseInt(e(428))/6+parseInt(e(433))/7+-parseInt(e(426))/8*(parseInt(e(430))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class se{[ee(421)];[ee(422)];[ee(431)];constructor(e,i){const s=ee;this[s(421)]=e,this[s(422)]=i,this[s(431)]=new t.Collection}[ee(429)](t){const e=ee;for(const i of t)this[e(431)][e(424)](i)}}var ne=i(434),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=Nt(),re.insertStyleElement=Dt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ae;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=370]})(t,e)}function ce(){const t=["upcast","getItems","consume","addHighlight","nodeAfter","getClientRects","isSuggestion","isEnabled","hasAttribute","isPremiumPlugin","modelRange","observeMarkers","RevisionViewer","ck-suggestion-marker-merge","createRange","_cleanMarkers","_markSuggestions","level","_getViewForChange","isAtStart","_revisions","markerName","isOfficialPlugin","revision-suggestion","abs","authors","markerRange","string","bindElementToMarker","data","viewItem","change:numberOfChanges","view","toViewRange","getCustomProperty","removeClass","isObject","get","getRevisionRootsAttributes","isEqual","ck-revision-history-root-remove","editingDowncast","name","ck-suggestion-preview-marker-","startsWith","ck-revision-history-root-add","forward","affectsData","suggestion","deletion","markerToData","change:isReady","ck-suggestion-marker","indexOf","5494980JJTuGE","insertions","enqueueChange","getRootNames","reconvertMarker","isIncorrect","commands","test","element:pre","isReady","restoreRevision","removeMarker:revision-suggestion","createUIElement","revisionHistoryAttachChange","schema","detachRoot","elementToAttribute","execute","getRevisionDocumentData","locale","element","change:isEnabled","startIndex","destroy","toViewElement","isInline","isContent","object","_refreshStartEndIndex","comment","632HnyPun","_getRevisionsRange","addMarker:revision-suggestion:insertion","getRevision","_removeMissingPairs","POSITIVE_INFINITY","change:activeView","_update","changeId","from","ck-revision-history-root--active","error","span","pop","resolve","checkAttribute","roots","type","restoreRevisionCallback","isOnRoot","add","_activeViewTarget","forEach","_utils","return","end","getChild","push","revision","nextSibling","mousedown","model","markersEnd","_data","merge","backward","_setDistance","getAttribute","change:activeChange","createAttributeElement","range","ck-suggestion-preview-marker","addMarker:revision","markersStart","target","isNavigationMode","removeMarker:revision","item","attachChange","suggestion:","domEvent","consumable","ck-suggestion-marker-split","_processTape","distance","revision-viewer","stop","first","attributesBefore","change","_threeWayMerge","values","_getDiff","RevisionHistoryUtils","mapper","_initInteractions","getIndex","isAdded","text","createRevision","has","side","_markMismatchedRemovedTags","addClass","document","adapter","dataToMarker","shift","_findChangeIdFromDomTarget","repository","for","_makeTape","includes","downcastDispatcher","-new","vid","editor","addRevisionData","unshift","requires","sort","data-change-id","RevisionsRepository","forceDisabled","start","highest","right","elementStart","_markInsertions","showPreviousChange","dataDowncast","diff","oldRevisionId","_step","then","_removeUnsupportedChanges","rootName","deletions","addRevision","_fixObsoleteTags","concat","diffData","attributes","isAttached","conversion","remove","308477JrfzQg","mouseover","findIndex","isRemoveSuggestion","changes","getDomRoot","isAfter","uiElement","_joinTapes","getWalker","_appendChild","selection","wrap","next","showStack","revisionHistoryLabel","_markMarkers","insertion","revision-comment:","addRoot","ck-editor__editable__overlay","attribute:vid","pairId","setAttribute","slice","splice","keys","writer","left","_changeIdToChange","code","insert","3744722DdMYxQ","9582534QbFDNi","getLaterVisibleRevision","_cleanUp","flat","_makeModelFromTape","createRangeIn","createPositionBefore","updatePosition","toViewPosition","getRoot","_getChangeFromId","mapViewToDom","markerNameToElements","ck-suggestion-marker--active","ck-revision-history-root-","editing","length","config","isLimit","markerToHighlight","refresh","userId","softBreak","removeAttribute","_changeView","57wklsWO","catch","maxOffset","revision:","filter","ck-suggestion-marker-","attributesAfter","hasClass","clear","all","_sortAndFilterDiffChanges","createPositionFromPath","loadRevisionData","isBlock","getAttributes","top","newRevisionId","2428293kQaRHr","high","isBefore","set","done","vid_start","low","activeView","elementEnd","pluginName","find","currentChangeNumber","32668BovpBR","_setChanges","activeChange","offsetSize","isAddSuggestion","bottom","bind","WidgetToolbarRepository","index","plugins","domConverter","previousPosition","removeMarker","numberOfChanges","unbindElementFromMarkerName","delete","isCollapsed","map","revision-suggestion:","endIndex","addMarker:revision-suggestion:deletion","vid_end","isAtEnd","markers","revisionHistory","isRemoved","_setConversion","split","enableReadOnlyMode","init","parent","nextPosition","compare","_balloon","listenTo","showNextChange","_makeModelFromViewString","401535UJwOXa"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(960536===parseInt(e(540))/1+-parseInt(e(572))/2+parseInt(e(598))/3*(-parseInt(e(627))/4)+parseInt(e(394))/5+-parseInt(e(573))/6+-parseInt(e(615))/7+-parseInt(e(424))/8*(-parseInt(e(664))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends G.Plugin{[oe(503)];[oe(499)]=null;[oe(447)];[oe(445)];[oe(597)];[oe(569)];[oe(660)];static get[oe(624)](){return oe(677)}static get[oe(687)](){return!0}static get[oe(674)](){return!0}static get[oe(513)](){return[K.Users,It.ContextualBalloon,it,rt]}constructor(t){const e=oe;super(t),this[e(503)]=this[e(510)][e(636)][e(377)](e(516)),this[e(447)]=this[e(510)][e(636)][e(377)](e(487)),this[e(618)](e(629),null),this[e(618)](e(622),null),this[e(445)]=null,this[e(618)](e(525),null),this[e(618)](e(403),!1),this[e(618)](e(672),!0),this.on(e(415),(t,i,s)=>{const n=e;this[n(629)]=null,this[n(622)]=null,this[n(510)][n(588)][n(372)][n(483)](t=>{const e=n;for(const i of this[e(510)][e(588)][e(372)][e(498)][e(440)])s?t[e(375)](e(560),i):t[e(497)](e(560),i)})}),this[e(633)](e(469)).to(this,e(629),t=>null!==t),this[e(633)](e(626)).to(this,e(403),this,e(525),this,e(629),(t,i,s)=>t&&s?i[e(544)][e(490)](s):0),this[e(633)](e(640)).to(this,e(403),this,e(525),(t,i)=>t?i[e(544)][e(589)]:0),this[e(597)]=null,this[e(569)]=new Map,this[e(660)]=this[e(510)][e(636)][e(377)](It.ContextualBalloon)}[oe(656)](){const t=oe,e=this[t(510)],i=new de(e,{direction:t(459)}),s=new de(e,{direction:t(386)});e[t(400)][t(444)](t(523),i),e[t(400)][t(444)](t(662),s),e[t(400)][t(444)](t(404),new he(e)),this.on(t(371),()=>{const e=t;i[e(593)](),s[e(593)]()}),this[t(653)](),this[t(489)](),e[t(655)](t(479)),e[t(636)][t(494)](t(634))&&e[t(636)][t(377)](t(634))[t(517)](t(479))}async[oe(412)](t){const e=oe;return await this[e(447)][e(610)](t,this[e(499)]),this[e(447)][e(412)](t)}async[oe(378)](t){const e=oe;return await this[e(447)][e(610)](t,this[e(499)]),this[e(447)][e(378)](t)}async[oe(659)](t,e,i=!1){const s=oe;if(!this[s(672)])return;const n=this[s(525)],r=this[s(503)],o=s(692)==typeof t?r[s(427)](t):t,a=s(692)==typeof e?r[s(427)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(525)]&&this[s(525)][s(614)]===c&&this[s(525)][s(526)]===u)return Promise[s(438)]();this[s(403)]=!1,this[s(622)]=null,this[s(629)]=null,this[s(525)]=new se(c,u);const l=this[s(425)](o,a,!0)[s(644)](t=>this[s(447)][s(610)](t,this[s(499)]));return l[s(451)](new Promise(t=>{setTimeout(t,20)})),Promise[s(607)](l)[s(528)](()=>{const t=s;if(!this[t(672)])return;this[t(575)]();const e=this[t(486)](c,u);for(const i of e[t(544)])this[t(569)][t(618)](i.id,i);this[t(510)][t(455)][t(396)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(510)][s(455)][s(498)][s(397)]())i[s(409)](t);for(const t of Object[s(566)](e[s(455)])){const n=i[s(559)](t);for(const r of Object[s(566)](e[s(536)][t]))i[s(563)](r,e[s(536)][t][r],n);i[s(571)](e[s(455)][t],n,0)}}),this[t(525)][t(628)](this[t(608)](e[t(544)])),this[t(403)]=!0})[s(599)](t=>{const e=s;console[e(435)](t),this[e(575)](),n&&(this[e(525)]=n),this[e(403)]=!0})}[oe(511)](t,e){const i=oe,s=this[i(503)][i(493)](t);return s.on(i(431),(t,i,n)=>e(i,n,s)),this[i(503)][i(532)](s),s}[oe(575)](){const t=oe;this[t(629)]=null,this[t(680)](),this[t(597)]&&this[t(597)][t(417)](),this[t(597)]=null,this[t(569)][t(606)](),this[t(510)][t(455)][t(396)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(510)][i(455)][i(498)][i(397)]())e[i(409)](t)})}[oe(608)](t){const e=oe,i=[],s=new Map;for(const t of this[e(510)][e(455)][e(498)][e(397)]()){const n=this[e(510)][e(588)][e(372)][e(545)](t);if(!n)continue;const r=n[e(670)]()[e(471)](0);r&&(i[e(451)](t),s[e(618)](t,r))}return i[e(514)]((t,i)=>{const n=e,r=s[n(377)](t),o=s[n(377)](i);return r.y-o.y||r.x-o.x}),(t=t[e(602)](t=>i[e(506)](t[e(530)])))[e(514)]((t,s)=>i[e(393)](t[e(530)])-i[e(393)](s[e(530)])),t}[oe(505)](t){const e=oe,i=Array[e(433)](t[e(650)])[e(602)](([t,i])=>t[e(384)](e(601))&&!i[e(643)]),s=Array[e(433)](this[e(510)][e(455)][e(578)](t)[e(549)]({singleCharacters:!0}));if(0!=i[e(589)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(654)](":");if(n[e(449)][e(379)](t[e(658)])&&i[e(501)](),(t[e(638)][e(379)](n[e(518)])||t[e(638)][e(546)](n[e(518)]))&&(e(557)==r?t[e(491)]={userId:o}:e(389)==r&&(t[e(652)]={userId:o})),0==i[e(589)])break}return s}[oe(422)](t){const e=oe,i=new Map;for(let s=0;s<t[e(589)];s++)e(492)===t[s][e(441)]?(t[s][e(471)][e(416)]=s,t[s][e(471)][e(646)]=s):(e(521)===t[s][e(441)]?t[s][e(471)][e(416)]=s:e(623)===t[s][e(441)]&&(t[s][e(471)][e(646)]=s),i[e(618)](t[s].id,s));for(const s of i[e(485)]())e(521)===t[s][e(441)]?t[s][e(471)][e(646)]=i[e(377)](t[s][e(562)]):e(623)===t[s][e(441)]&&(t[s][e(471)][e(416)]=i[e(377)](t[s][e(562)]))}[oe(477)](t){const e=oe;for(let i=0;i<t[e(589)];i++){if(e(521)===t[i][e(441)])t[i][e(471)][e(416)]=i;else if(e(623)===t[i][e(441)]){t[i][e(471)][e(646)]=i;const s=t[i][e(471)][e(416)];t[s][e(562)]=t[i].id,t[i][e(562)]=t[s].id}else t[i][e(471)][e(416)]=i,t[i][e(471)][e(646)]=i,t[i][e(562)]=null;t[i][e(467)]||(t[i][e(467)]=[],t[i][e(456)]=[])}}[oe(522)](t,e){const i=oe,s=t[i(602)](t=>!t[i(491)]);for(let t=0;t<e[i(589)];t++)e[t][i(491)]&&(s[t][i(491)]=e[t][i(491)])}[oe(486)](t,e=null){const i=oe,s=this[i(503)][i(427)](t),n=e?this[i(503)][i(427)](e):null,r=this[i(425)](s,n),o=r[r[i(589)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(589)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(566)](e[i(535)]))if(e[i(535)][t][i(472)]){const s=e[i(535)][t][i(472)];s[i(537)]?(u[i(444)](t),l[i(494)](t)&&l[i(377)](t)[i(594)]==s[i(594)]?l[i(642)](t):l[i(618)](t,s)):l[i(494)](t)?(u[i(642)](t),l[i(642)](t)):(u[i(444)](t),l[i(618)](t,s))}else u[i(444)](t)}for(const t of u){const e=l[i(494)](t)&&!l[i(377)](t)[i(537)];let s=e?r[i(589)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(535)][t]){const s=e?o[i(535)][t][i(482)]:o[i(535)][t][i(604)];c[i(536)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(455)]={};for(const e of t[i(690)])a[i(618)](e.id,e);for(const e of u){const s=t[i(535)][e]?t[i(535)][e][i(395)]:"[]",n=t[i(535)][e]?t[i(535)][e][i(531)]:"[]";t[i(455)][e]={insertions:this[i(447)][i(663)](s),deletions:this[i(447)][i(663)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(433)](s[i(455)][t][i(395)][i(650)])[i(602)](([t])=>!t[i(384)](i(601))));let h=0;for(const o of r){const r=this[i(505)](o[i(455)][t][i(395)]);o==s?(e=r,n=e[i(589)],e[i(446)](t=>{t.id=h++}),this[i(477)](e)):this[i(522)](e,r);const a=e[i(602)](t=>!t[i(491)])[i(644)](t=>t.id);let c=0;const l=this[i(505)](o[i(455)][t][i(531)]);l[i(446)](t=>{t[i(652)]?t.id=n++:t.id=a[c++]}),this[i(477)](l),this[i(460)](e,i(491)),this[i(460)](l,i(652)),o==s&&this[i(556)](e,u),e=this[i(548)](e,l),this[i(422)](e),this[i(460)](e,i(652))}e=e[i(602)](t=>!(t[i(491)]&&t[i(652)]));const d=new Map(o[i(455)][t][i(531)][i(650)]),f=new Set(u[i(566)]());for(const t of d[i(566)]())f[i(642)](t);this[i(681)](e,f),this[i(533)](e),e=this[i(428)](e),e=this[i(496)](e),e=this[i(529)](e);const{root:m,changes:p}=this[i(577)](e,a,t);c[i(455)][t]=m;const v=l[i(377)](t);if(v){const e=a[i(377)](v[i(594)]),s=new Xt({author:e,type:v[i(537)]?i(444):i(539),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(512)](s),c[i(536)][t][i(407)]=s.id}c[i(544)]=c[i(544)][i(534)](p)}return c}[oe(556)](t,e){const i=oe;for(let s=0;s<t[i(589)];s++)for(const[n,r]of e)!r[i(643)]&&r[i(518)][i(379)](t[s][i(638)])&&t[s][i(467)][i(451)](n),r[i(449)][i(379)](t[s][i(658)])&&t[s][i(456)][i(451)](n)}[oe(548)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(589)]||r<e[i(589)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(451)](o);else if(a[i(652)]&&o[i(491)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(484)](t,n,e,r);s=s[i(534)](o),n=a,r=c}else a[i(652)]?(r++,s[i(451)](a)):(n++,s[i(451)](o))}return s}[oe(681)](t,e){const i=oe,s=[];for(let o=0;o<t[i(589)];o++){for(let r=0;r<t[o][i(467)][i(589)];r++){const a=t[o][i(467)][r];if(!e[i(494)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(688)!=c||i(557)!=u&&i(389)!=u||(s[i(512)]({type:u,name:a,userId:l}),t[o][i(467)][i(565)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(456)][i(589)];r++){const a=t[o][i(456)][r];if(!e[i(494)](a))continue;const{group:c,type:u}=n(a);if(i(688)!=c||i(557)!=u&&i(389)!=u)continue;t[o][i(456)][i(565)](r,1),r--;const l=s[i(542)](t=>t[i(382)]==a);l>-1&&s[i(565)](l,1)}}function n(t){const e=i,s=t[e(654)](":");return{group:s[0],type:s[1],subType:s[e(589)]>=5?s[2]:null,id:s[e(589)]<5?s[2]:s[3],authorId:s[e(589)]<5?s[3]:s[4],markerCount:6==s[e(589)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(589)];i++){if(t[e(491)]&&e(557)==s[i][e(441)]&&t[e(491)][e(594)]==s[i][e(594)])return t[e(631)]=s[i],void delete t[e(491)];if(!t[e(491)]&&!t[e(652)]&&e(389)==s[i][e(441)])return void(t[e(543)]=s[i])}}}[oe(460)](t,e){const i=oe;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(618)](o.id,s);for(let s=0;s<t[i(589)];s++){if(i(652)==e&&t[s][i(491)]||i(491)==e&&t[s][i(652)])continue;if(i(492)==t[s][i(441)]){t[s][i(478)]=0;continue}const n=r[i(377)](t[s][i(562)]),o=r[i(377)](t[s].id);t[s][i(478)]=n-o}}[oe(425)](t,e,i=!1){const s=oe,n=[];let r=this[s(503)][s(490)](t),o=this[s(503)][s(490)](e);for(-1==o&&(o=this[s(503)][s(685)][s(589)],i=!1);r<o;)n[s(451)](this[s(503)][s(427)](r)),r++;return i&&n[s(451)](this[s(503)][s(427)](r)),n}[oe(484)](t,e,i,s){const n=oe,r=this[n(510)][n(455)][n(408)];let o=e;for(;t[o]&&t[o][n(491)];)o++;let a=s;for(;i[a]&&i[a][n(652)];)a++;u(t,e,o),u(i,s,a);const c=i[n(564)](s,a)[n(534)](t[n(564)](e,o));return c[n(514)]((t,e)=>t[n(495)]!=e[n(495)]?t[n(495)]-e[n(495)]:t[n(682)]!=e[n(682)]?t[n(682)]-e[n(682)]:t[n(478)]!=e[n(478)]?e[n(478)]-t[n(478)]:!!t[n(491)]!=!!e[n(491)]?-1==t[n(495)]||0==t[n(495)]?t[n(491)]?-1:1:t[n(491)]?1:-1:t[n(635)]-e[n(635)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(429)],c=!0;for(let n=e;n<i;n++)if(r[s(419)](t[n][s(471)])||(c=!1),t[n][s(471)][s(416)]<e&&(o=n),t[n][s(471)][s(646)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(495)]=n<=o?-1:n<a?0:1,t[n][s(635)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(478)]?t[i][s(682)]=u:(u++,t[i][s(682)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(495)]&&(t[n][s(682)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(478)]?t[e][s(682)]=u:(u--,t[e][s(682)]=u,u--)}}[oe(533)](t){const e=oe,i=new Map,s=this[e(510)][e(455)][e(408)];for(let n=1;n<t[e(589)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(492)==c[e(441)])continue;if(c[e(441)]!=u[e(441)])continue;if(!s[e(611)](u[e(471)])||s[e(591)](u[e(471)]))continue;if(!s[e(611)](c[e(471)])||s[e(591)](c[e(471)]))continue;if((t[n][e(491)]||t[n][e(631)])&&t[n-1][e(652)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(652)]||!t[n-1][e(491)]&&!t[n-1][e(631)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(682)]==o[e(682)],h=Math[e(689)](r[e(682)])<Math[e(689)](o[e(682)])&&0==o[e(478)];(l||h)&&(i[e(618)](o.id,r.id),t[e(565)](a,1),n--,r[e(491)]=!1)}for(let s=0;s<t[e(589)];s++)i[e(494)](t[s][e(562)])&&(t[s][e(562)]=i[e(377)](t[s][e(562)]))}[oe(428)](t){const e=oe,i=new Set(t[e(644)](t=>t.id));for(let s=0;s<t[e(589)];s++)i[e(494)](t[s][e(562)])||0==t[s][e(478)]||(t[s][e(399)]=!0);return t[e(602)](t=>!t[e(399)])}[oe(496)](t){const e=oe,i=new Set;for(let s=0;s<t[e(589)];s++){if(i[e(494)](t[s].id)&&t[s][e(652)]&&(t[s][e(399)]=!0),t[s][e(399)])continue;if(0==t[s][e(478)])continue;if(e(521)!=t[s][e(441)])continue;if(null==t[s][e(562)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(562)];)e(521)==t[n][e(441)]?r++:e(623)==t[n][e(441)]&&r--,n++;if(0!=r)if(t[s][e(652)])t[s][e(399)]=!0;else for(;n!=s;)t[n][e(652)]&&0!=t[n][e(478)]&&(t[n][e(399)]=!0,i[e(444)](t[n][e(562)])),n--}return t[e(602)](t=>!t[e(399)])}[oe(529)](t){const e=oe,i=this[e(510)][e(455)][e(408)];for(let s=0;s<t[e(589)];s++){if(!(t[s][e(491)]||t[s][e(631)]||t[s][e(652)]||t[s][e(543)]))continue;if(0==t[s][e(478)])continue;const n=t[s][e(471)];i[e(611)](n)||i[e(591)](n)||(t[s][e(491)]&&delete t[s][e(491)],t[s][e(631)]&&delete t[s][e(631)],t[s][e(543)]&&delete t[s][e(543)],t[s][e(652)]&&(t[s][e(399)]=!0))}return t[e(602)](t=>!t[e(399)])}[oe(577)](t,e,i){const s=oe,n=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[s(510)][s(455)],c=a[s(408)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(589)];e++)if(s(521)===t[e][s(441)]){t[e][s(638)]=a[s(609)](n,f);const i=new Q.ModelElement(t[e][s(471)][s(382)],t[e][s(471)][s(612)]());u[0][s(550)](i),f[s(451)](0),u[s(512)](i),t[e][s(658)]=a[s(609)](n,f)}else s(623)===t[e][s(441)]?(u[s(501)](),t[e][s(638)]=a[s(609)](n,f),f[s(437)](),f[f[s(589)]-1]++,t[e][s(658)]=a[s(609)](n,f)):(t[e][s(638)]=a[s(609)](n,f),d?d[s(457)]+=t[e][s(471)][s(694)]:d=new Q.ModelText(t[e][s(471)][s(694)],t[e][s(471)][s(612)]()),t[e+1]&&s(492)===t[e+1][s(441)]&&v(d,t[e+1][s(471)])||(u[0][s(550)](d),d=null),f[f[s(589)]-1]+=t[e][s(471)][s(630)],t[e][s(658)]=a[s(609)](n,f));for(let e=0;e<t[s(589)];e++){const i=t[e][s(638)],n=t[e][s(658)];for(const n of t[e][s(467)])o[s(618)](n,{start:i,end:null});m(s(543),e,i,n),m(s(631),e,i,n),m(s(652),e,i,n),m(s(491),e,i,n);for(const i of t[e][s(456)]){const t=o[s(377)](i);t?t[s(449)]=n:o[s(618)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(510)][s(455)][s(679)](e[s(518)],e[s(449)]);n[s(650)][s(618)](t,i)}return r[s(514)]((t,e)=>{const i=s,r=n[i(650)][i(377)](i(601)+t.id),o=n[i(650)][i(377)](i(601)+e.id);return r[i(518)][i(617)](o[i(518)])?-1:r[i(518)][i(546)](o[i(518)])?1:r[i(449)][i(617)](o[i(449)])?-1:r[i(449)][i(546)](o[i(449)])?1:i(444)===t[i(441)]?-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(594)]:null,d=i===t[o(589)]-1,f=h[e][0],m=c[o(376)](t[i][o(471)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(449)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(594)]!==u&&(l[e][o(449)]=n,f&&f[o(594)]===l[e][o(594)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(521)!==t[i][o(441)]||f&&f[o(594)]===u||h[e][o(512)]({userId:u,object:t[i][o(471)],change:l[e]}),o(623)===t[i][o(441)]&&f&&f[o(421)]===t[i][o(471)]&&(h[e][o(501)](),l[e]=f[o(483)])),l[e]&&d&&(l[e][o(449)]=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(471)],f=a[h(408)][h(611)](d)&&!a[h(408)][h(591)](d),m=t[h(669)]==o[h(657)]&&o[h(684)];if(f&&m)return;const p=a[h(679)](t,o),v=e[h(377)](u),g=new Xt({author:v,type:h(491)==l||h(631)==l?h(444):h(539),data:{isSuggestion:h(631)==l||h(543)==l},createdAt:new Date,rootName:i});r[h(451)](g),n[h(650)][h(618)](h(601)+g.id,p)}function v(t,e){const i=s,n=t[i(612)](),r=e[i(612)]();for(const t of n){if(t[1]!==e[i(461)](t[0]))return!1;r[i(553)]()}return r[i(553)]()[i(619)]}}[oe(653)](){const t=oe;this[t(510)][t(538)][t(504)](t(665))[t(500)]({view:t(452)}),this[t(510)][t(538)][t(504)](t(381))[t(592)]({model:t(452),view:e=>{const i=t,s=e[i(686)][i(654)](":")[1],n=this[i(583)](s);if(!n)return null;const r=i(444)==n[i(441)]?i(557):i(389),o=[i(392),i(603)+r];return n[i(694)][i(671)]&&o[i(451)](i(603)+r+i(508)),this[i(629)]==n&&o[i(451)](i(586)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(510)][t(538)][t(504)](t(665))[t(444)](e=>{const i=t;e.on(i(402),(t,e,s)=>{const n=i,r=e[n(370)][n(450)](0);if(!r||!r.is(n(414),n(570)))return;if(!s[n(475)][n(667)](r,{attributes:[n(620),n(648)]}))return;const o=e[n(675)][n(518)][n(669)];s[n(567)][n(563)](n(620),r[n(461)](n(620)),o),s[n(567)][n(563)](n(648),r[n(461)](n(648)),o)},{priority:i(621)})}),this[t(510)][t(538)][t(504)](t(665))[t(444)](e=>{const i=t;e.on(i(414),(t,e,s)=>{const n=i;if(!s[n(475)][n(667)](e[n(370)],{attributes:[n(620),n(648)]}))return;if(e[n(675)][n(643)])return;const r=e[n(675)][n(518)][n(669)];r[n(673)](n(620))||r[n(673)](n(509))||(s[n(567)][n(563)](n(620),e[n(370)][n(461)](n(620)),r),s[n(567)][n(563)](n(648),e[n(370)][n(461)](n(648)),r))},{priority:i(621)})}),this[t(510)][t(538)][t(504)](t(665))[t(410)]({view:{name:t(436),attributes:{vid:!0}},model:{key:t(509),value:e=>e[t(461)](t(509))}}),this[t(510)][t(455)][t(408)].on(t(439),(e,[,i])=>{const s=t;[s(620),s(648),s(509)][s(506)](i)&&(e[s(448)]=!0,e[s(480)]())},{priority:t(519)}),this[t(510)][t(538)][t(504)](t(524))[t(444)](e=>{const i=t;e.on(i(561),(t,e,s)=>{const n=i;if(" "!=e[n(471)][n(694)]||e[n(471)][n(657)][n(600)]>1)return;if(!s[n(475)][n(667)](e[n(471)],t[n(382)]))return;const r=s[n(567)],o=s[n(488)][n(373)](e[n(464)]);r[n(552)](o,r[n(463)](n(436)))})}),this[t(510)][t(538)][t(504)](t(524))[t(390)]({model:t(452)}),this[t(510)][t(588)][t(507)].on(t(466),function(e){const i=t,s=e[i(636)][i(377)](i(677));return(t,n,r)=>{const o=i,a=n[o(686)][o(654)](":")[1],c=s[o(583)](a);if(!c)return null;const u=o(444)==c[o(441)]?o(654):o(458);if(!r[o(475)][o(401)](n[o(691)],t[o(382)]))return;const l=n[o(691)][o(549)](),h=n[o(691)][o(518)],d=e[o(455)][o(408)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(471)];p=p||d[o(420)](e);const i=r[o(488)][o(418)](e);if(i&&i[o(374)](o(668)))return;o(623)==t[o(441)]&&d[o(611)](e)&&!d[o(591)](e)&&(e[o(453)]||h[o(649)]?f&&f[o(657)]==e||(f=e,g(t[o(638)]),v=!0):m=m||t[o(638)])}function g(t){const e=o,i=r[e(567)][e(406)](e(436),{class:e(603)+u}),a=r[e(488)][e(581)](t);c[e(694)][e(671)]&&r[e(567)][e(497)](e(603)+u+e(508),i),s[e(629)]==c&&r[e(567)][e(497)](e(586),i),r[e(567)][e(571)](a,i),r[e(488)][e(693)](i,n[e(686)])}p||v||!m||g(m)}}(this[t(510)]),{priority:t(616)}),this[t(510)][t(588)][t(507)].on(t(470),(e,i,s)=>{const n=t,r=s[n(488)][n(585)](i[n(686)]);if(r)for(const t of r)(t[n(605)](n(476))||t[n(605)](n(678)))&&(s[n(488)][n(641)](t,i[n(686)]),s[n(567)][n(539)](t))},{priority:t(616)}),this[t(510)][t(588)][t(507)].on(t(466),(e,i,s)=>{const n=t,r=i[n(686)][n(654)](":")[1],o=this[n(583)](r);if(!o)return null;const a=n(444)==o[n(441)]?n(654):n(458);if(s[n(475)][n(401)](i[n(691)],e[n(382)]))for(const t of i[n(691)][n(666)]()){if(!t.is(n(414),n(595)))continue;const e=s[n(567)][n(406)](n(436),{class:n(603)+a}),r=s[n(488)][n(581)](this[n(510)][n(455)][n(579)](t));o[n(694)][n(671)]&&s[n(567)][n(497)](n(603)+a+n(508),e),this[n(629)]==o&&s[n(567)][n(497)](n(586),e),s[n(567)][n(571)](r,e),s[n(488)][n(693)](e,i[n(686)])}},{priority:t(616)}),this[t(510)][t(455)][t(498)].on(t(483),()=>{const e=t;this[e(510)][e(588)][e(372)][e(483)](t=>{const i=e;for(const e of this[i(510)][i(455)][i(498)][i(397)]()){const s=this[i(510)][i(455)][i(498)][i(582)](e),n=this[i(510)][i(588)][i(372)][i(498)][i(582)](e);if(n){const e=s[i(461)](i(407));if(t[i(596)](i(515),n),t[i(375)](i(385),n),t[i(375)](i(380),n),t[i(375)](i(434),n),e){const s=this[i(583)](e);if(!s)return null;t[i(563)](i(515),e,n),t[i(497)](i(587)+s[i(441)],n),this[i(629)]==s&&t[i(497)](i(434),n)}}}})}),this[t(510)][t(538)][t(504)](t(665))[t(500)]({view:t(423),model:e=>t(558)+e,converterPriority:t(519)}),this[t(510)][t(538)][t(504)](t(665))[t(500)]({view:t(388),model:e=>t(645)+e,converterPriority:t(519)}),this[t(510)][t(538)][t(504)](t(524))[t(390)]({model:t(688),view:e=>({name:t(473)+e,group:t(688)}),converterPriority:t(519)}),this[t(510)][t(538)][t(504)](t(381))[t(592)]({model:t(688),view:e=>{const i=t,s=e[i(686)][i(654)](":")[1];return i(557)!=s&&i(389)!=s?null:{classes:[i(465),i(383)+s]}}}),this[t(510)][t(588)][t(507)].on(t(647),le(this[t(510)],t(458)),{priority:t(616)}),this[t(510)][t(588)][t(507)].on(t(426),le(this[t(510)],t(654)),{priority:t(616)}),this[t(510)][t(588)][t(507)].on(t(405),(e,i,s)=>{const n=t,r=s[n(488)][n(585)](i[n(686)]);if(r)for(const t of r)t.is(n(547))&&(s[n(488)][n(641)](t,i[n(686)]),s[n(567)][n(539)](t))},{priority:t(616)})}[oe(583)](t){const e=oe;return this[e(569)][e(377)](t)}[oe(683)](t){const e=oe;return this[e(597)]&&this[e(597)][e(417)](),this[e(597)]=new Jt(this[e(510)][e(413)],t),this[e(597)]}[oe(489)](){const t=oe;this[t(510)][t(455)][t(498)][t(551)][t(676)](t(452)),this.on(t(430),(e,i,s,n)=>{const r=t;n&&this[r(660)][r(539)](n),s&&(this[r(660)][r(444)]({view:s,stackId:r(555),position:{target:()=>{const t=r,e=this[t(510)][t(588)],i=this[t(583)](s[t(432)]);let n;if(i[t(694)][t(443)]){const s=e[t(372)][t(545)](i[t(530)]);n=Array[t(433)](s[t(670)]())}else{const i=this[t(510)][t(455)][t(650)][t(377)](t(601)+s[t(432)]);n=Array[t(433)](e[t(488)][t(585)](i[t(382)]))[t(644)](i=>e[t(372)][t(637)][t(584)](i))[t(644)](e=>Array[t(433)](e[t(670)]()))[t(576)]()}return this[t(445)]&&n[t(625)](e=>e[t(613)]-3<=this[t(445)].y&&e[t(632)]+3>=this[t(445)].y&&e[t(568)]-3<=this[t(445)].x&&e[t(520)]+3>=this[t(445)].x)||n[0]}}}),this[r(660)][r(554)](r(555)))}),this.on(t(462),(e,i,s,n)=>{const r=t;this[r(622)]=s?this[r(683)](s):null,this[r(510)][r(455)][r(483)](()=>{const t=r,e=this[t(510)][t(588)];n&&(n[t(694)][t(443)]?e[t(372)][t(483)](i=>{const s=t;i[s(375)](s(434),e[s(372)][s(498)][s(582)](n[s(530)]))}):e[t(398)](t(601)+n.id)),s&&(s[t(694)][t(443)]?e[t(372)][t(483)](i=>{const n=t;i[n(497)](n(434),e[n(372)][n(498)][n(582)](s[n(530)]))}):e[t(398)](t(601)+s.id))})}),this[t(661)](this[t(510)][t(588)][t(372)][t(498)],t(541),(e,i)=>{const s=t;if(this[s(629)])return;const n=this[s(502)](i[s(468)]),r=this[s(569)][s(377)](n);r?(this[s(445)]={x:i[s(474)].x,y:i[s(474)].y},this[s(622)]=this[s(683)](r)):(this[s(445)]=null,this[s(622)]=null)}),this[t(661)](this[t(510)][t(588)][t(372)][t(498)],t(454),(e,i)=>{const s=t,n=this[s(502)](i[s(468)]),r=this[s(569)][s(377)](n);r?(this[s(445)]={x:i[s(474)].x,y:i[s(474)].y},r===this[s(629)]?this[s(660)][s(580)]():this[s(629)]=r):(this[s(445)]=null,this[s(629)]=null)})}[oe(502)](t){const e=oe;do{const i=t[e(461)](e(515));if(i)return i;t=t[e(657)]}while(t);return null}[oe(680)](){const t=oe;this[t(510)][t(455)][t(483)](e=>{const i=t;for(const t of this[i(510)][i(455)][i(650)])e[i(639)](t)})}}function le(t,e){return(i,s,n)=>{const r=ae;if(!n[r(475)][r(401)](s[r(691)],i[r(382)]))return;const o=s[r(691)][r(549)](),a=s[r(691)][r(518)],c=t[r(455)][r(408)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(471)];h=h||c[r(420)](e);const i=n[r(488)][r(418)](e);if(i&&i[r(374)](r(668)))return;r(623)==t[r(441)]&&c[r(611)](e)&&!c[r(591)](e)&&(e[r(453)]||a[r(649)]?u&&u[r(657)]==e||(u=e,f(t[r(638)]),d=!0):l=l||t[r(638)])}function f(t){const i=r,o=n[i(488)][i(581)](t),a=n[i(567)][i(406)](i(436),{class:i(383)+e});n[i(567)][i(571)](o,a),n[i(488)][i(693)](a,s[i(686)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(636)][e(377)](ue);this[e(387)]=!1,this[e(661)](i,e(391),()=>this[e(593)]()),this[e(661)](i,e(415),()=>this[e(593)]())}[oe(411)](){const t=oe,e=this[t(510)],i=e[t(636)][t(377)](ue),s=i[t(403)]?i[t(525)][t(614)]:null;e[t(590)][t(377)](t(651))[t(442)](s)}[oe(593)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(510)][t(636)][t(377)](ue),r=n&&s[t(574)](n[t(614)]);this[t(672)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(527)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(636)][i(377)](ue);this[i(387)]=!1,this[i(527)]=i(386)===e?1:-1,this[i(661)](s,i(391),()=>this[i(593)]()),this[i(661)](s,i(415),()=>this[i(593)]()),this[i(661)](s,i(462),()=>this[i(593)]())}[oe(411)](){const e=oe,i=this[e(510)],s=i[e(636)][e(377)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(629)]=n?s[e(525)][e(544)][e(377)](r+this[e(527)]):s[e(525)][e(544)][e(481)],s[e(629)][e(694)][e(443)])o=i[e(588)][e(372)][e(545)](s[e(629)][e(530)]);else{const t=i[e(455)][e(650)][e(377)](e(601)+s[e(629)].id);o=(0,K.getMarkerDomElement)(i[e(588)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(593)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(510)][t(636)][t(377)](ue);this[t(672)]=!!(r&&n&&s)&&(!e||(1===this[t(527)]?i<s-1:i>0))}}var fe=i(522),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=Nt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["315XLzuoB","Total","execute","setTemplate","39qSrUkW","isForwardNavigationEnabled","90tdUOQv","fire","116784uiWMzx","ck-revision-history-ui","13eYIlHq","251452svZSRS","isReady","_statusText","X_OF_Y_CHANGES","forward","isNavigationMode","currentChangeNumber","ck-hidden","11gpLOPv","21640212rhtBRd","ck-revision-history-ui__changes-navigation__navigation","9593050dwmhVy","bindTemplate","171DbvGPa","isEnabled","Loading...","NUMBER_OF_CHANGES","set","isBackwardNavigationEnabled","Show previous change","74928PYozBH","span","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation","backward","numberOfChanges","212086AsptMz","div","EDIT_X_OF_Y_REVISIONS","Show next change","_isStatusLabelVisible","bind","598055RSdVNT","No changes","ck-revision-history-ui__changes-navigation__wrapper"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=485]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(849804===parseInt(e(519))/1+-parseInt(e(513))/2*(-parseInt(e(526))/3)+-parseInt(e(487))/4*(parseInt(e(528))/5)+-parseInt(e(507))/6*(parseInt(e(522))/7)+parseInt(e(530))/8*(-parseInt(e(500))/9)+-parseInt(e(498))/10*(parseInt(e(495))/11)+-parseInt(e(496))/12*(-parseInt(e(486))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(499)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(504)](e(492),!1),this[e(504)](e(488),!1),this[e(504)](e(493),0),this[e(504)](e(512),0),this[e(504)](e(527),!1),this[e(504)](e(505),!1),this[e(518)](e(517)).to(this,e(488),this,e(512),(t,e)=>t&&e>0),this[e(518)](e(489)).to(this,e(488),this,e(493),this,e(512),this,e(492),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(502));if(!n)return at(t,o(520));const a=at(t,o(503),n);return r?at(t,o(490),[s+1,n]):a}),s[e(504)]({label:at(t,e(506)),tooltip:!0,icon:_t.IconChevronUp}),n[e(504)]({label:at(t,e(516)),tooltip:!0,icon:_t.IconChevronDown}),s[e(518)](e(501)).to(this,e(505)),n[e(518)](e(501)).to(this,e(527)),s.on(e(524),()=>this[e(529)](e(524),e(511))),n.on(e(524),()=>this[e(529)](e(524),e(491))),this[e(525)]({tag:e(514),attributes:{class:["ck",e(485),e(510)]},children:[{tag:e(508),attributes:{class:[e(521)]},children:[{tag:e(508),attributes:{class:[e(509),i.if(e(517),e(494),t=>!t)]},children:[{text:i.to(e(492),i=>i?at(t,e(515))+": ":at(t,e(523))+": ")}]},{text:i.to(e(489))}]},new It.ToolbarSeparatorView,{tag:e(514),attributes:{class:[e(497)]},children:[s,n]}]})}}var ye=i(418),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=Nt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=_e;function we(){const t=["25jnlqZP","editor","3141312xwqJAt","88362AGayGx","isOfficialPlugin","1820655yGQgqh","show","view","ck-editor__editable__loading-overlay","24BFHBYW","roots","document","703192gKMlCc","change","589nmyiiv","329HhNloK","80SbyVsv","2932576QuBspP","pluginName","addClass","RevisionViewerLoadingOverlay","hide","removeClass","668VZgstg","editing","19669881FORVhQ","isPremiumPlugin"];return(we=function(){return t})()}function _e(t,e){const i=we();return(_e=function(t,e){return i[t-=322]})(t,e)}!function(t){const e=_e,i=t();for(;;)try{if(927853===parseInt(e(334))/1*(parseInt(e(343))/2)+-parseInt(e(322))/3+parseInt(e(332))/4*(parseInt(e(347))/5)+parseInt(e(323))/6*(-parseInt(e(335))/7)+-parseInt(e(337))/8+parseInt(e(325))/9*(-parseInt(e(336))/10)+parseInt(e(345))/11*(parseInt(e(329))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const Ie=be(328);class Se extends G.Plugin{static get[be(338)](){return be(340)}static get[be(324)](){return!0}static get[be(346)](){return!0}[be(326)](){const t=be,e=this[t(348)][t(344)][t(327)];e[t(333)](i=>{const s=t;for(const t of e[s(331)][s(330)])i[s(339)](Ie,t)})}[be(341)](){const t=be,e=this[t(348)][t(344)][t(327)];e[t(333)](i=>{const s=t;for(const t of e[s(331)][s(330)])i[s(342)](Ie,t)})}}const Oe=Te;function Te(t,e){const i=Ne();return(Te=function(t,e){return i[t-=379]})(t,e)}function Ne(){const t=["isEnabled","revisionHistory","Restore this revision","get","execute","1034499UDCals","listenTo","exitToEditing","set","RevisionViewerUI","componentFactory","28145KWsshO","4350vTAtsv","add","10841941qhSQQM","currentChangeNumber","pluginName","config","closeRevisionViewerCallback","8184258SOpIHW","forward","bind","changesNavigation","hide","plugins","553QhvgvG","12060528utBRXv","2362YgGuFn","Back to editing","isReady","ck-revision-history-ui__back-to-editing","isPremiumPlugin","init","change:isReady","requires","isOfficialPlugin","showNextChange","restoreRevision","isNavigationMode","isForwardNavigationEnabled","1032jrknKn","numberOfChanges","isBackwardNavigationEnabled","764RTkuUX","10LNjtsb","showPreviousChange","8wxmAOt","commands","show","editor"];return(Ne=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(742059===parseInt(e(424))/1*(parseInt(e(390))/2)+parseInt(e(402))/3+-parseInt(e(387))/4*(parseInt(e(408))/5)+-parseInt(e(409))/6*(-parseInt(e(422))/7)+parseInt(e(393))/8*(parseInt(e(416))/9)+parseInt(e(391))/10*(parseInt(e(411))/11)+-parseInt(e(423))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ne);class xe extends G.Plugin{static get[Oe(413)](){return Oe(406)}static get[Oe(382)](){return!0}static get[Oe(428)](){return!0}static get[Oe(381)](){return[ue,Se]}[Oe(379)](){const t=Oe,e=this[t(396)],i=e[t(421)][t(400)](ue),s=e[t(421)][t(400)](Se);e.ui[t(407)][t(410)](t(404),i=>{const s=t,n=new It.ButtonView(i);return n[s(405)]({label:at(i,s(425)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(427)}),this[s(403)](n,s(401),()=>{const t=s;e[t(414)][t(400)](t(398))[t(415)]()}),n}),e.ui[t(407)][t(410)](t(384),i=>{const s=t,n=new It.ButtonView(i);return n[s(405)]({label:at(i,s(399)),withText:!0,tooltip:!0}),n[s(418)](s(397)).to(e[s(394)][s(400)](s(384))),this[s(403)](n,s(401),()=>e[s(401)](s(384))),n}),e.ui[t(407)][t(410)](t(419),s=>{const n=t,r=new ge(s),o=e[n(394)][n(400)](n(392)),a=e[n(394)][n(400)](n(383));return r[n(418)](n(389)).to(o,n(397)),r[n(418)](n(386)).to(a,n(397)),r[n(418)](n(426),n(412),n(388),n(385)).to(i),this[n(403)](r,n(401),(t,i)=>{const s=n;e[s(401)](s(417)===i?s(383):s(392))}),r}),s[t(395)](),i.on(t(380),(e,i,n)=>{const r=t;n?s[r(420)]():s[r(395)]()})}}var Ae=i(223),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=Nt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=De;function Ve(){const t=["16sjYZUc","span","fieldView","listenTo","ck-tooltip_multi-line","_updateTooltipText","340TzeJHM","placeholder","render","4838520YqcddO","10871UQLWpj","scrollWidth","463398hnhgzB","element","extendTemplate","value","bindTemplate","_tooltipString","12YFdKAK","clientWidth","508145BtCQIA","destroy","ck-revision-history-sidebar__revision-name","Revision name","1273108LLfKnG","Enter the revision name","_resizeObserver","177102cfOGJV","1630182jfrcdA","input","set"];return(Ve=function(){return t})()}function De(t,e){const i=Ve();return(De=function(t,e){return i[t-=229]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(371165===-parseInt(e(234))/1+parseInt(e(246))/2+parseInt(e(250))/3+-parseInt(e(253))/4*(parseInt(e(242))/5)+-parseInt(e(240))/6*(parseInt(e(232))/7)+-parseInt(e(231))/8+parseInt(e(249))/9*(parseInt(e(259))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class Ee extends It.LabeledFieldView{[Me(248)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(238)];this[i(252)]({label:at(t,i(245)),_tooltipString:""}),this[i(255)][i(229)]=at(t,i(247)),this[i(236)]({tag:i(254),attributes:{class:[i(244)],"data-cke-tooltip-text":s.to(i(239)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(257)}})}[Me(230)](){const e=Me;super[e(230)](),this[e(248)]=new t.ResizeObserver(this[e(255)][e(235)],()=>this[e(258)]()),this[e(256)](this[e(255)],e(251),()=>this[e(258)]())}[Me(243)](){const t=Me;super[t(243)](),this[t(248)]&&this[t(248)][t(243)]()}[Me(258)](){const t=Me,e=this[t(255)][t(235)];this[t(239)]=e[t(233)]>e[t(241)]&&e[t(237)]||""}}var Ce=i(443),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=Nt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["121UHfcCI","ck-revision-history-sidebar__revision-author__name","30PnTANM","Revision author","name","20ZAZBxQ","ck-revision-history-sidebar__revision-author","set","14710NPiChh","1599849ZrMbuD","ck-revision-history-sidebar__revision-author_creator","push","0 0 11 10","8568702ILFodY","span","39898788kmDJCJ","1000TErMVX","Revision creator","setTemplate","60039EsNaIa","8jYIKmG","720310WpvnWz","62762HxKAtX"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=315]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(707758===-parseInt(e(323))/1*(parseInt(e(329))/2)+parseInt(e(333))/3+-parseInt(e(317))/4*(parseInt(e(332))/5)+parseInt(e(326))/6*(-parseInt(e(320))/7)+-parseInt(e(321))/8*(parseInt(e(337))/9)+parseInt(e(322))/10*(-parseInt(e(324))/11)+parseInt(e(316))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const s=Le;super(t);const n=new It.IconView;n[s(331)]({content:_t.IconUser,viewBox:s(336)});const r=["ck",s(330)];i&&r[s(335)](s(334));const o=[{tag:s(315),attributes:{class:["ck",s(325)],title:at(t,s(i?318:327))},children:[n,e[s(328)]]}];this[s(319)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=484]})(t,e)}function We(){var t=["toLocaleTimeString","4746kYiNCO","numeric","toLocaleDateString","1438BMcPVJ","2552356pqiboJ","1620935rqyRdP","4262121jQfZyc","56DPNqoE","879851WYxFWq","5395326ZemBHH","long","8317974xemFLA"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(655971===parseInt(e(489))/1+parseInt(e(484))/2*(-parseInt(e(494))/3)+-parseInt(e(485))/4+parseInt(e(486))/5+-parseInt(e(490))/6+-parseInt(e(492))/7+-parseInt(e(488))/8*(-parseInt(e(487))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(433),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=Nt(),Ze.insertStyleElement=Dt();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(){const t=["ck-on","isEnabled","398774CerJBu","menu","class","isVisible","stopPropagation","locale","2366238AlDolr","button","1454370wYZZuW","change:isActionsDropdownOpen","30464SlElDC","bindTemplate","Compare against selected","Show more items","Name this revision","Restore this revision","model","4193976NDtHAT","first","buttonView","menuitem","source","440097FFZjDC","listView","map","children","738quTQAR","name","panelPosition","items","isReady","isActionsDropdownOpen","function","action","set","find","listenTo","execute","isOpen","441FVFmwa","add","ck-revision-history-sidebar__revision__actions","bind","extendTemplate","_action"];return(He=function(){return t})()}function qe(t,e){const i=He();return(qe=function(t,e){return i[t-=299]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(212728===-parseInt(e(304))/1+-parseInt(e(330))/2*(-parseInt(e(343))/3)+-parseInt(e(314))/4+-parseInt(e(312))/5+parseInt(e(310))/6+-parseInt(e(326))/7+parseInt(e(321))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=Nt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["bindTemplate","creator",".ck-confirm-view","ck-revision-history-sidebar__revision_highlighted","createdAt","listenTo","render","unhighlight","srcElement","287884axNfuc","ck-disabled","6385974ybZITq","3xzLJTc","ck-revision-history-sidebar__actions_dropdown_open","name","bind","value","from","unshift","220","_revision","element","ck-reset","8152770evLitL","authors","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","select","isSelected","length","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision_selected","revisionNameView","isReady","8206590qJiVdS","setTemplate","setName","fieldView","isEnabled","_requireRevisionName","set","change","ck-revision-history-sidebar__revision-authors","isActionsDropdownOpen","closest","highlight","isConfirm","map","uiLanguage","span","3783560PwGAWV","revisionActionsView","deselect","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision__date","5576280rKhDAb","fire","isHighlighted","div","filter","_createdAtFormatted","extendTemplate","474620BRUDtL","ck-revision-history-sidebar__revision__controls-wrapper"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=310]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(840174===parseInt(e(322))/1+parseInt(e(311))/2*(parseInt(e(325))/3)+parseInt(e(367))/4+parseInt(e(336))/5+-parseInt(e(324))/6+-parseInt(e(346))/7+-parseInt(e(362))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(344)];[Ye(363)];[Ye(333)];[Ye(351)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(313)],a=function(t,e){const i=r,s=Array[i(330)](e[i(337)])[i(371)](t=>t!=e[i(314)]);return e[i(314)]&&s[i(331)](e[i(314)]),s[i(359)](s=>new Pe(t,s,s==e[i(314)]))}(e,i);this.id=i.id,this[r(333)]=i,this[r(351)]=n,this[r(328)](r(327),r(317)).to(i),this[r(328)](r(372)).to(this,r(317),t=>{return i=e[r(360)],(s=t)[(n=ze)(496)](i,{month:n(491),day:n(495)})+", "+s[n(493)](i,{hour:n(495),minute:n(495)});var i,s,n}),this[r(352)](r(340),!1),this[r(352)](r(369),!1),this[r(352)](r(355),!1),this[r(352)](r(345),!1),this[r(352)](r(350),!1),this[r(344)]=new Ee(e,It.createLabeledInputText),this[r(344)][r(349)][r(310)]({attributes:{maxlength:r(332)}}),this[r(344)][r(349)][r(328)](r(329)).to(this,r(327),t=>t||this[r(372)]),this[r(344)][r(328)](r(350)).to(this,r(340),this,r(350),(t,e)=>t&&e),this[r(363)]=s&&s[r(341)]?function(e,i){const s=qe,n=e[s(315)],r=e[s(309)],o=(0,It.createDropdown)(r);o[s(332)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=qe,s=t[i(309)],n={"Compare against selected":at(s,i(316)),"Name this revision":at(s,i(318)),"Restore this revision":at(s,i(319))};return e[i(328)](t=>{const e=i,s=n[t[e(331)]];return s&&s!==t[e(331)]&&(t[e(331)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(311),model:new It.UIModel({label:t[n(331)],class:t[n(306)],withText:!0,role:n(324),_action:t[n(337)]})};i[n(320)][n(299)](n(303)).to(e,n(335),i=>n(336)!=typeof t[n(303)]||!i||t[n(303)](e)),o[n(344)](i)}return o}(e,i);return e[s(299)](s(335)).to(o,s(342)),o[s(323)][s(338)]({label:at(r,s(317)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(300)]({attributes:{class:[s(345),n.if(s(335),s(302))]},on:{click:n.to(t=>t[s(308)]())}}),o.on(s(341),t=>{const i=s;e[i(334)]&&i(336)==typeof t[i(325)][i(301)]&&t[i(325)][i(301)](e)}),(0,It.addListToDropdown)(o,a,{role:s(305)}),o[s(340)](e,s(313),(t,n,r)=>{const a=s;if(r)for(const t of o[a(327)][a(333)]){const s=t[a(329)][a(322)],n=i[a(339)](t=>t[a(337)]===s[a(301)])[a(307)];t[a(307)]=void 0===n||n(e)}}),o}(this,s):"",this[r(363)]&&this[r(363)][r(328)](r(350)).to(this),this[r(347)]({tag:r(370),attributes:{class:["ck",r(335),r(342),o.if(r(358),r(338))]},children:[{tag:r(370),attributes:{class:["ck",r(335),r(365),o.if(r(350),r(323),t=>!t),o.if(r(340),r(343)),o.if(r(369),r(316)),o.if(r(355),r(326))]},children:[this[r(344)],{tag:r(361),attributes:{class:["ck",r(366)]},children:[{text:o.to(r(372))}]},{tag:r(370),attributes:{class:["ck",r(312)]},children:[{tag:"ul",attributes:{class:["ck",r(354)]},children:a}]},this[r(363)]],on:{click:o.to(t=>{const e=r;t[e(321)][e(356)](e(315))||this[e(345)]&&this[e(350)]&&this[e(368)](e(339),{id:this.id})})}}]})}[Ye(319)](){const t=Ye;super[t(319)]();const e=this[t(344)][t(349)][t(334)];this[t(318)](e,t(353),()=>{const i=t;this[i(351)]&&!e[i(329)]||this[i(368)](i(348),{id:this.id,name:e[i(329)]}),e[i(329)]||(e[i(329)]=this[i(327)]?this[i(327)]:this[i(372)])})}[Ye(339)](){this[Ye(340)]=!0}[Ye(364)](){this[Ye(340)]=!1}[Ye(357)](){this[Ye(369)]=!0}[Ye(320)](){this[Ye(369)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class si extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}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 nn(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 Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.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 Xs(t,e,i,this.name)}formatOffset(t,e){return nn(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=Ci[e];"era"===e?s[r]=n:Vs(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,(Js({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 Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=Pi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Pi.set(i,s)),s}const Wi=new Map;const Ui=new Map;let Zi=null;const Hi=new Map;function qi(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 Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{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=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.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 Ws(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Ji{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&&ji.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=zi(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 Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(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 Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),Wi.clear(),Ui.clear(),Hi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Qi.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=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(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"===qi(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?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ps(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 Bi(this,t,un,()=>{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=fo.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 Bi(this,t,fn,()=>{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=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.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 Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(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()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?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={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}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 ts extends Mi{static get utcInstance(){return null===Xi&&(Xi=new ts(0)),Xi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(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 es extends Mi{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 is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||ji.create(t)}return Ds(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={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]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Di.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ps(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Qi.resetCache(),ji.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(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 _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function Ns(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function xs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(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=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function js(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 Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Es(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Zs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(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 Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Qs(t){return t>99?t:t>vs.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 tn(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 en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ls(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(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}${Ws(i,2)}:${Ws(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ws(i,2)}${Ws(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];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 ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:Ni,ffff:Ai,F:Ii,FF:Oi,FFF:xi,FFFF:Ri};class wn{static create(t,e={}){return new wn(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 bn[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 Ws(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 mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.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=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(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 _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...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 On(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 Tn(...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 Nn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${xn.source}${`(?:${Nn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),Dn=RegExp(`${xn.source} ?(?:${Nn.source}|(${_n.source}))?`),En=RegExp(`(?: ${Dn.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Us(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Hs(t[e+3])},null,e+4]}function jn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Ln(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Pn=RegExp(`^T?${xn.source}$`),zn=/^-?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 Wn(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(Zs(i)),months:d(Zs(s)),weeks:d(Zs(n)),days:d(Zs(r)),hours:d(Zs(o)),minutes:d(Zs(a)),seconds:d(Zs(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 Zn(t,e,i,s,n,r,o){const a={year:2===e.length?Qs(Us(e)):Us(e),month:an.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.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 qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Zn(e,n,s,i,r,o,a);let f;return f=c?Un[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(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$/,Bn=/^(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$/,Yn=/^(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 Jn(t){const[,e,i,s,n,r,o,a]=t;return[Zn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Zn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Qn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Xn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,jn,Ln),ir=Sn(Mn,Fn,jn,Ln),sr=Sn(Vn,Fn,jn,Ln),nr=Sn(Fn,jn,Ln);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,En),ar=In(Dn),cr=Sn(Fn,jn,Ln);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(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 br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(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),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.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 br({values:sn(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ds(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Wn])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[Pn,rr])}(t);return i?br.fromObject(i,e):br.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 gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({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 si(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?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(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+=qs(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 fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ls(e.values,t)||Ls(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(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 kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(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=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)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 kr(this.matrix,e),gr(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 gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.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=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.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?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).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(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.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(_r.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:_r.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 _r.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(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.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 is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(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=Sr(t,e);return(i-i%7)/7}],["days",Sr]],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=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}Object.defineProperty(Or,"name",{value:"default",configurable:!0});function Tr(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(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Nr=`[ ${String.fromCharCode(160)}]`,xr=new RegExp(Nr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(xr,Nr)}function Rr(t){return t.replace(/\./g,"").replace(xr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(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 Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(wn.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=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(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]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}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;return Vs(t.z)||(i=ji.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(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),Vs(t.u)||(t.S=Hs(t.u)),[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},{}),i,e]}(i):[null,null,void 0];if(Ls(i,"a")&&Ls(i,"H"))throw new ii("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 jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),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 zr="Invalid DateTime",Wr=864e13;function Ur(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(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 Br(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 Yr(t,e,i){return $r(Js(t),e,i)}function Jr(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,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.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=Js(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(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=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ws(t.c.year,i?6:4),e?(s+="-",s+=Ws(t.c.month),s+="-",s+=Ws(t.c.day)):(s+=Ws(t.c.month),s+=Ws(t.c.day)),s}function Xr(t,e,i,s,n,r){let o=Ws(t.c.hour);return e?(o+=":",o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ws(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ws(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ws(Math.trunc(-t.o/60)),o+=":",o+=Ws(Math.trunc(-t.o%60))):(o+="+",o+=Ws(Math.trunc(t.o/60)),o+=":",o+=Ws(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Qi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(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 uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Vs(t.ts)?vs.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=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({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 fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Qi.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Ds(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ds(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Qi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=Ns(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(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=zs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Es(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?xs(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Qn,ir],[Xn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.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?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,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 gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.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?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(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?Ns(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.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=Js(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=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.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]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(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=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=xs({...Ns(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.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?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.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=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(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 Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(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")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[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 br.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(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.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||fo.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),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Qi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new jr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,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?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return Ni}static get DATETIME_FULL_WITH_SECONDS(){return xi}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Ds(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=182]})(t,e)}function vo(){const t=["10976460QysKsY","fromJSDate","1548EeMwAt","monthLong","214410SiNsCL","local","year","218ktnZoI","month","2215ZoKPwU","startOf","1730ZxtXSh","280kATzsU","weekdayLong","65256YwoVwf","toJSDate","21769LsaUKC","1611QgeDxp","setLocale","toRelativeCalendar","day","minus","24222QWoQJw","week","hasSame","1820666OJGPQM"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(201)](t)[i(192)](e),n=fo[i(205)](),r=n[i(195)]({days:1})[i(184)](i(194));let o,a;return s[i(198)](n,i(194))?(o=s[i(184)](i(194))[i(189)](),a=s[i(193)]()):s[i(198)](r,i(194))?(o=r[i(189)](),a=s[i(193)]()):s[i(198)](n,i(197))?(o=s[i(184)](i(197))[i(189)](),a=s[i(187)]||""):s[i(198)](n,i(206))?(o=s[i(184)](i(182))[i(189)](),a=s[i(203)]||""):(o=s[i(184)](i(206))[i(189)](),a=String(s[i(206)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(932550===-parseInt(e(199))/1+-parseInt(e(207))/2*(parseInt(e(196))/3)+-parseInt(e(202))/4*(-parseInt(e(183))/5)+-parseInt(e(204))/6*(-parseInt(e(186))/7)+parseInt(e(188))/8*(parseInt(e(191))/9)+parseInt(e(185))/10*(-parseInt(e(190))/11)+parseInt(e(200))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(4),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=Nt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=186]})(t,e)}function _o(){const t=["startDate","27631RoyKKf","select","createCollection","ck-revision-history-sidebar__time-period__revisions","removeRevision","19688VHNfKi","delegate","_revisionActions","1079265NtPkCB","ck-revision-history-sidebar__time-period","49ehjkyi","find","add","localizedPeriodName","locale","uiLanguage","504410aVziSB","remove","1737pEfmXR","27744SQcrzE","342534gQpwQj","_requireRevisionName","37353BVBNXr","16QasyTp","revisionViews","setTemplate","div","setName","span","addRevision","ck-revision-history-sidebar__time-period__label"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(262731===parseInt(e(204))/1+parseInt(e(195))/2*(-parseInt(e(194))/3)+-parseInt(e(191))/4+parseInt(e(212))/5+parseInt(e(192))/6*(-parseInt(e(214))/7)+parseInt(e(209))/8*(parseInt(e(190))/9)+parseInt(e(188))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(203)];[bo(196)];[bo(211)];[bo(193)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(186)][n(187)])[n(217)];this[n(203)]=e,this[n(196)]=this[n(206)](),this[n(211)]=i,this[n(193)]=s,this[n(196)][n(210)](n(205)).to(this),this[n(196)][n(210)](n(199)).to(this),this[n(197)]({tag:n(198),attributes:{class:["ck",n(213)]},children:[{tag:n(200),attributes:{class:["ck",n(202)]},children:[{text:r}]},{tag:n(198),attributes:{class:["ck",n(207)]},children:this[n(196)]}]})}[bo(201)](t){const e=bo,i=new Ke(this[e(186)],t,this[e(211)],this[e(193)]);this[e(196)][e(216)](i)}[bo(208)](t){const e=bo,i=this[e(196)][e(215)](e=>e.id===t.id);this[e(196)][e(189)](i)}}var So=i(651),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=Nt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["setTemplate","content","ck-revision-history-sidebar__header__label","98379QDveyR","1251228obDDAC","14QNnzYI","1987248qChYhi","2351070SwuTrs","ck-reset_all","22vEASrj","565173fJIYiK","span","ck-revision-history-sidebar__header","Revision history","5IOTtXv","div","871472XRnNfz","128067HFLfXI"];return(To=function(){return t})()}function No(t,e){const i=To();return(No=function(t,e){return i[t-=221]})(t,e)}!function(t){const e=No,i=t();for(;;)try{if(261966===-parseInt(e(221))/1+parseInt(e(227))/2*(parseInt(e(235))/3)+-parseInt(e(224))/4*(-parseInt(e(232))/5)+-parseInt(e(222))/6*(parseInt(e(223))/7)+parseInt(e(234))/8+-parseInt(e(228))/9+-parseInt(e(225))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends It.View{constructor(t){const e=No;super(t);const i=new It.IconView;i[e(237)]=_t.IconHistory,this[e(236)]({tag:e(233),attributes:{class:["ck",e(226),e(230)]},children:[i,{tag:e(229),attributes:{class:["ck",e(238)]},children:[at(t,e(231))]}]})}}var Ao=i(812),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=Nt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Do;function Vo(){const t=["12upkYld","locale","2551ZhXqzm","map","setName","revisionSetName","ck-rounded-corners","startDate","21203424ihBasP","highlight","select","get","highlightRevisions","selectRevision","createdAt","_removeRevision","bindTemplate","delegate","addRevision","743960MWTkik","set","flat","ck-revision-history-sidebar__timeline","div","unhighlight","_requireRevisionName","1010697FAQqpK","_revisions","ck-revision-history-sidebar","2937900QCeRtA","removeRevision","998DjGrcM","remove","8712345UFtlvZ","render","revisionSelected","revisionViews","add","getTime","setTemplate","fire","ck-disabled","createCollection","_revisionActions","isEnabled","_getTimePeriodViewByStartDate","some","_addRevision","5762632ydNzsU","find","timePeriodViews","uiLanguage","deselect","ck-reset"];return(Vo=function(){return t})()}function Do(t,e){const i=Vo();return(Do=function(t,e){return i[t-=217]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(965044===parseInt(e(233))/1*(parseInt(e(262))/2)+parseInt(e(257))/3*(-parseInt(e(231))/4)+parseInt(e(264))/5+parseInt(e(260))/6+parseInt(e(250))/7+parseInt(e(225))/8+-parseInt(e(239))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends It.View{[Mo(227)];[Mo(258)];[Mo(220)];[Mo(256)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(247)];this[n(227)]=this[n(219)](),this[n(227)][n(248)](n(241)).to(this),this[n(227)][n(248)](n(235)).to(this),this[n(258)]=e,this[n(220)]=i,this[n(256)]=s,this.on(n(241),(t,e)=>{const i=n;this[i(217)](i(266),e)}),this.on(n(235),(t,e)=>{const i=n;this[i(217)](i(236),e)}),this[n(251)](n(221),!1),this[n(270)]({tag:n(254),attributes:{class:["ck",n(230),n(237),n(259)]},children:[new xo(t),{tag:n(254),attributes:{class:["ck",n(253),r.if(n(221),n(218),t=>!t)]},children:this[n(227)]}]})}[Mo(265)](){const t=Mo;super[t(265)]();for(const e of this[t(258)])this[t(224)](e);this[t(258)].on(t(268),(e,i)=>{this[t(224)](i)}),this[t(258)].on(t(263),(e,i)=>{this[t(246)](i)})}get[Mo(267)](){const t=Mo;return this[t(227)][t(234)](e=>e[t(267)][t(234)](t=>t))[t(252)]()}[Mo(244)](t){const e=Mo;for(const i of this[e(267)])t&&t.id===i.id?i[e(241)]():i[e(229)]()}[Mo(243)](t){const e=Mo;for(const i of this[e(267)])t[e(223)](({id:t})=>t===i.id)?i[e(240)]():i[e(255)]()}[Mo(224)](t){const e=Mo,i=go(t[e(245)],this[e(232)][e(228)])[e(238)];let s=this[e(227)][e(242)](0);s&&s[e(238)][e(269)]()===i[e(269)]()||(s=new Io(this[e(232)],i,this[e(220)],this[e(256)]),this[e(227)][e(268)](s)),s[e(249)](t)}[Mo(246)](t){const e=Mo,i=go(t[e(245)],this[e(232)][e(228)])[e(238)];this[e(222)](i)[e(261)](t)}[Mo(222)](t){const e=Mo;return this[e(227)][e(226)](i=>i[e(238)][e(269)]()===t[e(269)]())}}const Co=Fo;function Fo(t,e){const i=jo();return(Fo=function(t,e){return i[t-=404]})(t,e)}function jo(){const t=["nameRevision","init","revisionViews","render","revisionSetName","getEarlierVisibleRevision","6906852kCzCmR","Restore this revision","_handleRevisionSetName","_createRevisionActions","remove","isOfficialPlugin","46FrlWia","length","_handleDiffChange","isPremiumPlugin","160kVliPo","destroy","restoreRevisionCallback","7wiySGF","highlightRevisions","element","add","setName","RevisionsSidebar","Compare against selected","timePeriodViews","ready","2316BhztrX","newRevisionId","getRevision","revisionHistory.viewerSidebarContainer","name","compareAgainstSelected","12502752fKCtgg","_handleEditorDataReady","getRevisionsInDiff","listenTo","Name this revision","selectRevision","499627ejPEDV","_handleRevisionSelected","locale","action","defaultRevisionActions","111543bnRtFt","isSelected","isVisible","_revisionsRepository","select","revisionHistory.requireRevisionName","string","config","isEnabled","focus","1222166MdRrSa","map","isReady","fieldView","_revisionViewer","bind","data","assign","pluginName","_sidebarView","availableRevisionActions","editor","getIndex","diff","getLaterVisibleRevision","change:diff","7420239Mbkrgh","get","_revisions","revisionHistory.revisionActions","3295cwyicY","revisionHistory","plugins","revisionSelected","compare","restoreRevision","requires","repository","appendChild"];return(jo=function(){return t})()}!function(t){const e=Fo,i=t();for(;;)try{if(861410===parseInt(e(432))/1+-parseInt(e(404))/2*(-parseInt(e(437))/3)+parseInt(e(420))/4*(-parseInt(e(467))/5)+parseInt(e(482))/6*(-parseInt(e(411))/7)+-parseInt(e(426))/8+parseInt(e(463))/9+-parseInt(e(408))/10*(-parseInt(e(447))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends G.Plugin{[Co(451)];[Co(440)];[Co(456)];static[Co(436)]=[Co(425),Co(472),Co(476)];static[Co(457)]=function(){const t=Co;return{compareAgainstSelected:{name:t(417),action:({plugins:e},i)=>{const s=t,n=e[s(464)](ue),r=n[s(474)];let o=n[s(460)][s(421)],a=i.id;r[s(459)](o)>r[s(459)](a)&&([o,a]=[a,o]),n[s(471)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(464)](ue);return!(n[s(474)][s(428)](n[s(460)])[s(405)]>2||i[s(438)])}},restoreRevision:{name:t(483),action:(e,{id:i})=>{const s=t;e[s(444)][s(464)](s(468))[s(410)](i)},isVisible:({plugins:e},i)=>!!e[t(464)](ue)[t(474)][t(461)](i.id)},nameRevision:{name:t(430),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(464)](ue),o=r[n(474)][n(481)](i);r[n(471)](i,o),s[n(446)](),s[n(450)][n(441)]()}}}}();static get[Co(455)](){return Co(416)}static get[Co(487)](){return!0}static get[Co(407)](){return!0}static get[Co(473)](){return[ue]}constructor(t){const e=Co;super(t),this[e(451)]=t[e(469)][e(464)](ue),this[e(440)]=this[e(451)][e(474)],this[e(456)]=null}[Co(477)](){const t=Co,e=this[t(440)][t(465)],i=this[t(485)](),s=this[t(458)][t(444)][t(464)](t(423));this[t(456)]=new Eo(this[t(458)][t(434)],e,i,this[t(458)][t(444)][t(464)](t(442))),this[t(456)].on(t(470),this[t(433)][t(452)](this)),this[t(456)].on(t(480),this[t(484)][t(452)](this)),this[t(456)][t(452)](t(445)).to(this[t(451)]),this[t(456)][t(418)].on(t(414),(e,i)=>{const s=t;i[s(478)].on(s(414),(t,e)=>{const i=s;e[i(452)](i(445),i(449)).to(this[i(451)])})}),this[t(456)][t(479)](),this[t(429)](this[t(458)][t(453)],t(419),this[t(427)][t(452)](this)),this[t(429)](this[t(451)],t(462),this[t(406)][t(452)](this)),s[t(475)](this[t(456)][t(413)])}[Co(409)](){const t=Co;this[t(456)][t(413)][t(486)](),this[t(456)][t(409)]()}[Co(427)](){const t=Co,e=this[t(440)][t(422)](0);if(e){const i=this[t(440)][t(481)](e.id);this[t(451)][t(471)](e,i)}}[Co(433)](t,e){const i=Co,s=this[i(440)][i(422)](e.id),n=this[i(440)][i(481)](s.id);this[i(451)][i(471)](s,n)}[Co(484)](t,e){const i=Co;this[i(440)][i(422)](e.id)[i(415)](e[i(424)])}[Co(406)](t,e,i){const s=Co,n=this[s(440)][s(428)](i);n[s(405)]>2?(this[s(456)][s(412)](n),this[s(456)][s(431)](null)):(this[s(456)][s(412)]([]),this[s(456)][s(431)](n[0]))}[Co(485)](){const t=Co,e=this[t(458)],i=Lo[t(457)],s=e[t(444)][t(464)](t(466))||Lo[t(436)];if(s[t(405)])return s[t(448)](s=>{const n=t,r=n(443)==typeof s?Object[n(454)]({},i[s]):s;return r[n(435)]=r[n(435)][n(452)](this,e),r[n(439)]&&(r[n(439)]=r[n(439)][n(452)](this,e)),r})}}function Po(t,e){const i=Wo();return(Po=function(t,e){return i[t-=183]})(t,e)}const zo=Po;function Wo(){const t=["isActive","limiterElement","_view","viewportOffset","editor","993070EDrDSn","4065692ziLeoB","editable","stickyPanel","init","_toolbarConfig","7880kisCZD","name","setEditableElement","isFocused","restore","fire","render","ready","2628hNyEfH","destroy","element","_initToolbar","get","addToolbar","detachDomRoot","3389307eSXgvK","bind","document","22776888ykeuDe","rootName","_elementReplacer","10417295tOfklN","focusTracker","editing","componentFactory","attachDomRoot","viewportTopOffset","189950fiaGat","config","getRoot","toolbar","fillFromConfig","replace","view"];return(Wo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(801117===parseInt(e(194))/1+-parseInt(e(227))/2+-parseInt(e(215))/3+-parseInt(e(195))/4+parseInt(e(200))/5*(parseInt(e(208))/6)+-parseInt(e(221))/7+parseInt(e(218))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends It.EditorUI{[zo(191)];[zo(199)];[zo(220)];get[zo(188)](){return this[zo(191)]}constructor(e,i){const s=zo;super(e),this[s(191)]=i,this[s(199)]=(0,It.normalizeToolbarConfig)(e[s(183)][s(212)](s(185))),this[s(220)]=new t.ElementReplacer}get[zo(210)](){const t=zo;return this[t(188)][t(210)]}[zo(198)](t){const e=zo,i=this[e(193)],s=this[e(188)],n=i[e(223)][e(188)],r=s[e(196)],o=n[e(217)][e(184)]();r[e(201)]=o[e(219)],s[e(206)]();const a=r[e(210)];this[e(202)](r[e(201)],a),s[e(196)][e(216)](e(203)).to(this[e(222)]),n[e(225)](a),this[e(220)][e(187)](t,this[e(210)]),this[e(211)](),this[e(205)](e(207))}[zo(209)](){const t=zo;super[t(209)]();const e=this[t(188)],i=this[t(193)][t(223)][t(188)];this[t(220)][t(204)](),i[t(214)](e[t(196)][t(201)]),e[t(209)]()}[zo(211)](){const t=zo,e=this[t(188)];e[t(197)][t(216)](t(189)).to(this[t(222)],t(203)),e[t(197)][t(190)]=e[t(210)],e[t(197)][t(216)](t(226)).to(this,t(192),({top:t})=>t),e[t(185)][t(186)](this[t(199)],this[t(224)]),this[t(213)](e[t(185)])}}var Zo=i(76),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=Nt(),Ho.insertStyleElement=Dt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var qo=Bo;function $o(){var t=["top","4419KUpUfO","render","344105mGhBGv","stickyPanel","content","76tbasZs","editable","shouldToolbarGroupWhenFull","2630202WXkgyP","add","102599vZdkrO","main","toolbar","103690wDgiXY","180624dZGBBW","440NdMaXE","3114990DdTolJ","4535421JRhOfr","_editable"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=199]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(901422===-parseInt(e(204))/1+-parseInt(e(206))/2+-parseInt(e(207))/3+parseInt(e(215))/4*(-parseInt(e(212))/5)+-parseInt(e(218))/6+-parseInt(e(200))/7*(-parseInt(e(205))/8)+parseInt(e(210))/9*(parseInt(e(203))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(208)];[qo(213)];[qo(202)];get[qo(216)](){return this[qo(208)]}constructor(t,e,i={}){var s=qo;super(t),this[s(213)]=new It.StickyPanelView(t),this[s(202)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(217)]}),this[s(208)]=new It.InlineEditableUIView(t,e)}[qo(211)](){var t=qo;super[t(211)](),this[t(213)][t(214)][t(199)](this[t(202)]),this[t(209)][t(199)](this[t(213)]),this[t(201)][t(199)](this[t(216)])}}const Jo=Go;function Go(t,e){const i=Ko();return(Go=function(t,e){return i[t-=290]})(t,e)}function Ko(){const t=["create","3196854ANSIui","createRoot","fire","init","588ZIhVOQ","document","ready","308376bHzwSh","editing","view","config","data","sourceElement","135712aRrycy","1681200tMcbNK","initialData","initPlugins","model","7352700AojqTf","_ui","5502452dMkXmt","updateSourceElement","destroy","1153145CqcSfO","locale","get"];return(Ko=function(){return t})()}!function(t){const e=Go,i=t();for(;;)try{if(808134===-parseInt(e(294))/1+-parseInt(e(305))/2+parseInt(e(298))/3+parseInt(e(291))/4+-parseInt(e(316))/5+-parseInt(e(312))/6+-parseInt(e(302))/7*(-parseInt(e(311))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(290)];get ui(){return this[Jo(290)]}constructor(t,e){const i=Jo;super(e),this[i(310)]=t,this[i(315)][i(303)][i(299)]();const s=new Yo(this[i(295)],this[i(306)][i(307)],{shouldToolbarGroupWhenFull:!0});this[i(290)]=new Uo(this,s)}[Jo(293)](){const t=Jo;return this[t(292)](),this.ui[t(293)](),super[t(293)]()}static async[Jo(297)](t,e){const i=Jo,s=new this(t,e);return await s[i(314)](),await s.ui[i(301)](t),await s[i(309)][i(301)](s[i(308)][i(296)](i(313))||""),s[i(300)](i(304)),s}}const Xo=ia;function ta(){const t=["block","PaginationLookup","model","5072328prxzIv","isEnabled","enableReadOnlyMode","set","revisionHistory.restoreRevisionCallback","replace","revisionHistory.editorContainer","users","getRevisions","includes","RevisionViewerIntegration","_enhanceCloseRevisionViewerCallback","getRevisionRootsAttributes","isReady","indexOf","Autosave","AIChatShortcuts","loadRevisionData","isRevisionViewerOpen","change","map","createdAt","changesNavigation","addRoot","showRevisionViewerCallback","element","Users","toLocaleDateString","createRangeIn","Dialog","get","removeAttribute","fromCharCode","2557863ydkifO","_cleanUp","revision-history-missing-configuration","_closeRevisionViewer","AITranslate","DocumentOutlineUI","getMarkersGroup","3ePxgTo","revision-history-viewer-opened","adapter","revisionHistory","rootName","DocumentOutline","getRevision","bind","getRevisionDocumentData","display","markers","saveRevision"," ck-tab-panel_disabled","panelViews","_enhanceShowRevisionViewerCallback","detachRoot","numeric","getRoot","translations",".ck-ai-chat__prompt-input .ck-textarea","_restoreRevision","exitToEditing","getAttributeKeys","result","querySelector","keys","toLocaleTimeString","isOpen","addRevisionData","then","AIQuickActions","class","revisionHistory.viewerContainer","removeSelectionAttribute","AIChatHistory","addUser","insert","none",".ck-ai-chat-history .ck-input","style","revisionHistory.viewerEditorElement","917324zodQFx","RevisionHistoryUI","AIChat","destroy","disableReadOnlyMode","selection","Restored","define","view","getUser","_showRevisionViewer","update","error","4087336eUirgN","from","create","revisionHistory.showRevisionViewerCallback","name","config","roots","enqueueChange","isReadOnly","$graveyard","parse","uiLanguage","restrictedEditingException","RevisionsRepository","_update","data","RevisionHistoryUtils","AIActions","_recalculatePageBreaks","hide","RevisionHistory","remove","_getRevisionViewerEditorConfig","plugins","restoreRevision","long","has","locale","6532525DCPlgK","AIReviewMode","toolbar","toJSON","pluginName","RevisionViewer","editor","refreshVisibility","lazyRoots","creator","refreshPositioning","isAnonymous","Annotations","50614QxvfGl","removeMarker","isPremiumPlugin","fromVersion","catch","commands","requires","tabindex","setAttribute","ck-tab-panel_disabled","revisionHistory.requireRevisionName","revisionHistory.closeRevisionViewerCallback","document","RestrictedEditingMode","isAttached","AITabs","join","1083540lacTqu","isOfficialPlugin","save","setSelection","push","_viewerEditor","AIBalloon","RevisionTracker","toVersion","repository","end","closeRevisionViewerCallback","init"];return(ta=function(){return t})()}!function(t){const e=ia,i=t();for(;;)try{if(778080===parseInt(e(634))/1+parseInt(e(520))/2*(parseInt(e(593))/3)+-parseInt(e(647))/4+parseInt(e(507))/5+-parseInt(e(537))/6+parseInt(e(586))/7+-parseInt(e(553))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ea=[Xo(635),Xo(533),Xo(636),Xo(508),Xo(543),Xo(623),Xo(664),Xo(569),Xo(590)];function ia(t,e){const i=ta();return(ia=function(t,e){return i[t-=498]})(t,e)}class sa extends G.Plugin{[Xo(616)];static get[Xo(511)](){return Xo(563)}static get[Xo(538)](){return!0}static get[Xo(522)](){return!0}constructor(t){const e=Xo;function i(t){const e=ia;return t[e(573)](t=>String[e(585)](t))[e(536)]("")}super(t),this[e(616)]=e(547),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 G.Plugin{[Xo(542)];static get[Xo(511)](){return Xo(499)}static get[Xo(538)](){return!0}static get[Xo(522)](){return!0}static get[Xo(526)](){return[pt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(513)][i(652)][i(583)](i(596)))throw new t.CKEditorError(i(588),this);this[i(542)]=null,this[i(556)](i(571),!1),this[i(513)][i(652)][i(641)](i(650),t=>this[i(644)]({...t,translations:this[i(513)][i(506)][i(611)]})),this[i(513)][i(652)][i(641)](i(531),t=>this[i(589)](t)),this[i(513)][i(652)][i(641)](i(557),t=>this[i(613)](t)),this[i(513)][i(652)][i(641)](i(530),!1),this[i(607)](),this[i(564)]()}set[Xo(595)](t){const e=Xo;this[e(513)][e(502)][e(583)](e(544))[e(595)]=t}get[Xo(595)](){const t=Xo;return this[t(513)][t(502)][t(583)](t(544))[t(595)]}[Xo(621)](t){const e=Xo;return this[e(513)][e(502)][e(583)](e(544))[e(621)](t)}[Xo(599)](t){const e=Xo;return this[e(513)][e(502)][e(583)](e(660))[e(599)](t)}[Xo(561)](t){const e=Xo;return this[e(513)][e(502)][e(583)](e(660))[e(561)](t||{toJSON:!1})}[Xo(501)](){const e=Xo,i=this[e(513)],s=(0,K.sanitizeEditorConfig)(i,ea),n=i[e(502)][e(583)](e(544)),r=i[e(502)][e(583)](e(579))[e(560)];return s[e(509)]=[e(614),e(503),e(575)],delete s[e(515)],s[e(502)][e(541)](sa,ue,xe,class extends G.Plugin{static get[e(526)](){return[ue,e(579)]}[e(549)](){const s=e,o=this[s(513)][s(502)][s(583)](s(579));for(const t of r)t[s(518)]||o[s(643)](t.id)||o[s(628)](t);const a=n[s(546)][s(561)]();let c=null;const u=this[s(513)][s(502)][s(583)](s(512));u[s(595)]=n[s(595)],u[s(600)](s(554)).to(n),this[s(513)][s(525)][s(583)](s(503))[s(600)](s(554)).to(i,s(655),t=>!t);for(const e of a){const i=null===e[s(516)];if(i&&e[s(545)]===e[s(523)])continue;const r=e[s(510)]();u[s(621)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(661)](r,o);else if(!o){const e=a[u(510)]();e.id=(0,t.uid)(),n[u(604)](e,a[u(545)])[u(622)](t=>{c=t})}}else e[u(661)](r,o)})}}},Lo),s}[Xo(607)](){const t=Xo,e=this[t(513)][t(652)][t(583)](t(596))[t(577)];this[t(513)][t(652)][t(556)](t(650),async()=>{const i=t;this[i(513)][i(555)](i(594));const s=this[i(513)][i(502)][i(583)](i(544));if(this[i(513)][i(502)][i(505)](i(568))){const t=this[i(513)][i(502)][i(583)](i(568));await t[i(539)]()}else await s[i(645)]();if(this[i(513)][i(502)][i(505)](i(551))&&this[i(513)][i(502)][i(583)](i(551))[i(665)](),this[i(513)][i(502)][i(505)](i(582))){const t=this[i(513)][i(502)][i(583)](i(582));t[i(620)]&&t[i(498)]()}if(this[i(513)][i(502)][i(505)](i(535))){const t=this[i(513)][i(502)][i(583)](i(535))[i(642)][i(606)];for(const e of t)e[i(624)]=e[i(624)]?e[i(624)]+i(605):i(529);if(this[i(513)][i(502)][i(505)](i(636))){const t=document[i(617)](i(612));t&&t[i(528)](i(527),"-1")}if(this[i(513)][i(502)][i(505)](i(627))){const t=document[i(617)](i(631));t&&t[i(528)](i(527),"-1")}}const n=this[i(501)]();return e(n)[i(622)](t=>{const e=i;return this[e(542)]=t,this[e(513)][e(502)][e(505)](e(519))&&this[e(513)][e(502)][e(583)](e(519))[e(514)](),this[e(513)][e(502)][e(505)](e(598))&&(this[e(513)][e(502)][e(583)](e(591))[e(642)][e(578)][e(632)][e(602)]=e(630)),t})[i(524)](t=>(console[i(646)](t),this[i(513)][i(638)](i(594)),null))})}[Xo(564)](){const t=Xo,e=this[t(513)][t(652)][t(583)](t(596))[t(548)];this[t(513)][t(652)][t(556)](t(531),()=>{const i=t;if(this[i(513)][i(502)][i(505)](i(551))&&this[i(513)][i(502)][i(583)](i(551))[i(665)](),this[i(513)][i(502)][i(505)](i(598))&&(this[i(513)][i(502)][i(583)](i(591))[i(642)][i(578)][i(632)][i(602)]=""),this[i(513)][i(502)][i(505)](i(535))){const t=this[i(513)][i(502)][i(583)](i(535))[i(642)][i(606)];for(const e of t)e[i(624)]=i(529)===e[i(624)]?"":e[i(624)][i(558)](i(605),"");if(this[i(513)][i(502)][i(505)](i(636))){const t=document[i(617)](i(612));t&&t[i(584)](i(527))}if(this[i(513)][i(502)][i(505)](i(627))){const t=document[i(617)](i(631));t&&t[i(584)](i(527))}}return this[i(542)][i(502)][i(583)](i(512))[i(587)](),e(this[i(542)])[i(622)](()=>{const t=i;if(this[t(513)][t(638)](t(594)),this[t(542)]=null,this[t(513)][t(502)][t(505)](t(519))){const e=this[t(513)][t(502)][t(583)](t(519));e[t(514)](),e[t(517)]()}})})}[Xo(644)](t){const e=Xo,i=this[e(513)][e(652)][e(583)](e(559)),s=this[e(513)][e(652)][e(583)](e(625)),n=this[e(513)][e(652)][e(583)](e(633));return Qo[e(649)](n,t)[e(622)](t=>(s[e(632)][e(602)]=e(550),i[e(632)][e(602)]=e(630),this[e(571)]=!0,t))}[Xo(589)](t){const e=Xo,i=this[e(513)][e(652)][e(583)](e(559));return this[e(513)][e(652)][e(583)](e(625))[e(632)][e(602)]=e(630),i[e(632)][e(602)]="",this[e(571)]=!1,t[e(637)]()}async[Xo(613)](t){const e=Xo,i=this[e(513)],s=this[e(542)][e(502)][e(583)](e(512)),n=i[e(502)][e(583)](e(544)),r=i[e(502)][e(583)](e(663)),o=s[e(546)][e(599)](t);let a,c,u;try{await r[e(570)](o,this[e(595)]),a=r[e(601)](o),c=r[e(565)](o)}catch(t){return void console[e(646)](t)}i[e(552)][e(572)](t=>{const s=e;for(const e of Array[s(648)](i[s(552)][s(603)][s(592)](s(659))))t[s(521)](e)}),s[e(566)]=!1,i[e(552)][e(654)](t=>{const s=e;t[s(540)](null),t[s(626)](i[s(552)][s(532)][s(639)][s(615)]());const n=Object[s(618)](a);for(const e of i[s(552)][s(532)][s(653)])s(656)!=e[s(597)]&&e[s(534)]()&&!n[s(562)](e[s(597)])&&t[s(608)](e);for(const e of n){let n=i[s(552)][s(532)][s(610)](e);n&&n[s(534)]()||(n=t[s(576)](e));const r=c[e],o=Object[s(618)](r),u=a[e];for(const e of n[s(615)]())o[s(562)](e)||t[s(584)](e,n);for(const i of o)t[s(528)](i,c[e][i],n);t[s(500)](t[s(581)](n)),t[s(629)](i[s(662)][s(657)](u,n),n,0)}});const l=at(i[e(506)],e(640));return u=o[e(651)]?-1==o[e(651)][e(567)](l)?l+": "+o[e(651)]:o[e(651)]:l+": "+o[e(574)][e(580)](i[e(506)][e(658)],{month:e(504),day:e(609)})+", "+o[e(574)][e(619)](i[e(506)][e(658)],{hour:e(609),minute:e(609)}),await n[e(604)]({name:u}),s[e(566)]=!0,i[e(652)][e(583)](e(596))[e(548)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=241]})(t,e)}function oa(){var t=["17946IquZwy","78260wrDCul","56443uAtgRy","5180tNvpOj","110ntxtLU","1052604NTKOwK","721eWmOLB","567sLqptu","5327760jwJbIa","32gEZhNB","22072050HSQjDQ"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(588963===parseInt(e(248))/1*(-parseInt(e(244))/2)+-parseInt(e(251))/3+parseInt(e(249))/4*(-parseInt(e(250))/5)+-parseInt(e(246))/6*(parseInt(e(241))/7)+parseInt(e(243))/8+parseInt(e(242))/9*(-parseInt(e(247))/10)+parseInt(e(245))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={76(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},450(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},522(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},898(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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-confirm-view{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-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-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},433(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},443(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},223(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},416(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},812(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},651(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},4(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},434(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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},418(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),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{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__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.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},271(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}},366(t){"use strict";t.exports=function(t){return t[1]}},789(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}}},298(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)}},825(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},207(t){"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},437(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)}}}},211(t,e,i){t.exports=i(312)("./src/collaboration-core.js")},782(t,e,i){t.exports=i(237)("./src/core.js")},783(t,e,i){t.exports=i(237)("./src/engine.js")},355(t,e,i){t.exports=i(237)("./src/icons.js")},311(t,e,i){t.exports=i(237)("./src/ui.js")},584(t,e,i){t.exports=i(237)("./src/utils.js")},312(t){"use strict";t.exports=CKEditor5.collaborationDll},237(t){"use strict";t.exports=CKEditor5.dll}},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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),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:()=>ve,Revision:()=>tt,RevisionHistory:()=>ua,RevisionHistoryUI:()=>Gt,RevisionHistoryUtils:()=>lt,RevisionTracker:()=>bt,RevisionViewer:()=>fe,RevisionViewerEditor:()=>sa,RevisionViewerIntegration:()=>aa,RevisionViewerLoadingOverlay:()=>Ae,RevisionViewerUI:()=>De,RevisionsRepository:()=>at,RevisionsSidebar:()=>Zo,ShowChangeCommand:()=>ge});var t=i(584);function e(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const n="[object RegExp]",r="[object String]",o="[object Number]",a="[object Boolean]",c="[object Arguments]",u="[object Symbol]",l="[object Date]",h="[object Map]",d="[object Set]",f="[object Array]",m="[object ArrayBuffer]",p="[object Object]",v="[object DataView]",g="[object Uint8Array]",y="[object Uint8ClampedArray]",k="[object Uint16Array]",b="[object Uint32Array]",w="[object Int8Array]",_="[object Int16Array]",I="[object Int32Array]",S="[object Float32Array]",O="[object Float64Array]";function T(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}const N="object"==typeof globalThis&&globalThis||"object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof i.g&&i.g||function(){return this}();function x(t){return void 0!==N.Buffer&&N.Buffer.isBuffer(t)}function A(t,i,s,T=new Map,N=void 0){const M=N?.(t,i,s,T);if(void 0!==M)return M;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(T.has(t))return T.get(t);if(Array.isArray(t)){const e=new Array(t.length);T.set(t,e);for(let i=0;i<t.length;i++)e[i]=A(t[i],i,s,T,N);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;T.set(t,e);for(const[i,n]of t)e.set(i,A(n,i,s,T,N));return e}if(t instanceof Set){const e=new Set;T.set(t,e);for(const i of t)e.add(A(i,void 0,s,T,N));return e}if(x(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);T.set(t,e);for(let i=0;i<t.length;i++)e[i]=A(t[i],i,s,T,N);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 T.set(t,e),R(e,t,s,T,N),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return T.set(t,e),R(e,t,s,T,N),e}if("undefined"!=typeof Blob&&t instanceof Blob){const e=new Blob([t],{type:t.type});return T.set(t,e),R(e,t,s,T,N),e}if(t instanceof Error){const e=structuredClone(t);return T.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,e.constructor=t.constructor,R(e,t,s,T,N),e}if(t instanceof Boolean){const e=new Boolean(t.valueOf());return T.set(t,e),R(e,t,s,T,N),e}if(t instanceof Number){const e=new Number(t.valueOf());return T.set(t,e),R(e,t,s,T,N),e}if(t instanceof String){const e=new String(t.valueOf());return T.set(t,e),R(e,t,s,T,N),e}if("object"==typeof t&&function(t){switch(e(t)){case c:case f:case m:case v:case a:case l:case S:case O:case w:case _:case I:case h:case o:case p:case n:case d:case r:case u:case g:case y:case k:case b:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return T.set(t,e),R(e,t,s,T,N),e}return t}function R(t,e,i=t,s,n){const r=[...Object.keys(e),...T(e)];for(let o=0;o<r.length;o++){const a=r[o],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=A(e[a],a,i,s,n))}}function M(t,i){return function(t,e){return A(t,void 0,t,new Map,e)}(t,(s,n,u,l)=>{const h=i?.(s,n,u,l);if(void 0!==h)return h;if("object"==typeof t){if("[object Object]"===e(t)&&"function"!=typeof t.constructor){const e={};return l.set(t,e),R(e,t,u,l),e}switch(Object.prototype.toString.call(t)){case o:case r:case a:{const e=new t.constructor(t?.valueOf());return R(e,t),e}case c:{const e={};return R(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}})}function V(t){return M(t)}function D(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function E(t){return"symbol"==typeof t||t instanceof Symbol}function C(t){if("string"==typeof t)return t;if(Array.isArray(t))return t.map(C).join(",");if(E(t))return t.toString();const e=t+"";return"0"===e&&Object.is(Number(t),-0)?"-0":e}function F(t){if(Array.isArray(t))return t.map(D);if("symbol"==typeof t)return[t];var e;const i=[],s=(t=null==(e=t)?"":C(e)).length;if(0===s)return i;let n=0,r="",o="",a=!1,c=!1;const u=/^-?\d+(?:\.\d+)?$/;for(46===t.charCodeAt(0)&&i.push("");n<s;){const e=t[n];if(o)"\\"===e&&n+1<s?(n++,r+=t[n]):e===o?o="":r+=e;else if(a)if('"'===e||"'"===e)o=e,c=!0;else if("]"===e){if(a=!1,c||!r.includes(".")||u.test(r))i.push(r);else{const t=r.split(".");for(let e=0;e<t.length;e++)""!==t[e]&&i.push(t[e])}r=""}else r+=e;else if("["===e)a=!0,c=!1,r&&(i.push(r),r="");else if("."===e){r&&(i.push(r),r="");const e=t[n+1];void 0!==e&&"."!==e||i.push("")}else r+=e;n++}return r&&i.push(r),i}function j(t){return"__proto__"===t}const L=/\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;function P(t){switch(typeof t){case"number":case"symbol":default:return!1;case"string":return""!==t&&!t.startsWith(".")&&!t.endsWith(".")&&L.test(t)}}function z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(j(e))return i;const s=t[e];return void 0===s?P(e)&&!Object.hasOwn(t,e)?z(t,F(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=D(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;if(j(e[t]))return i;s=s[e[t]]}return void 0===s?i:s}(t,e,i);if(j(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function W(t){return null!==t&&("object"==typeof t||"function"==typeof t)}const U=/^(?:0|[1-9]\d*)$/;function Z(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 U.test(t)}}const H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,q=/^\w*$/;function $(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const B=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&$(s,i)&&(void 0!==i||e in t)||(t[e]=i)};function Y(t){return"__proto__"===t||"constructor"===t||"prototype"===t}function J(t,e,i,s){if(null==t&&!W(t))return t;let n;var r,o;r=e,o=t,n=!Array.isArray(r)&&("number"==typeof r||"boolean"==typeof r||null==r||E(r)||"string"==typeof r&&(q.test(r)||!H.test(r))||null!=o&&Object.hasOwn(o,r))?[e]:Array.isArray(e)?e:F(e);const a=i(z(t,n));let c=t;for(let e=0;e<n.length&&null!=c;e++){const i=D(n[e]);if(Y(i))return t;let r;if(e===n.length-1)r=a;else{const o=c[i],a=s?.(o,i,t);r=void 0!==a?a:W(o)?o:Z(n[e+1])?[]:{}}B(c,i,r),c=c[i]}return t}function G(t,e){const i=1===e.length?t:z(t,e.slice(0,-1)),s=e[e.length-1];if(void 0===i?.[s])return!0;if(j(s))return!1;try{return delete i[s],!0}catch{return!1}}const K=Q;function Q(t,e){const i=X();return(Q=function(t,e){return i[t-=484]})(t,e)}function X(){const t=["14069znAHmL","4ilAzUY","1554972vGSBCy","16696GpJJGs","toJSON","12751606zOCOIY","fire","authors","model","778514QeWbve","851394xLYnNf","createdAt","attributes","setName","6PdggNS","set","fromVersion","14330gjkwoV","authorsIds","_update","map","333gBzwzd","removeAttribute","toVersion","creator","name","creatorId","setAttribute","diffData","7343500WCCHOa"];return(X=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(918317===parseInt(e(507))/1+parseInt(e(512))/2*(parseInt(e(500))/3)+-parseInt(e(499))/4*(parseInt(e(497))/5)+parseInt(e(508))/6+parseInt(e(503))/7+-parseInt(e(501))/8*(parseInt(e(489))/9)+parseInt(e(485))/10*(-parseInt(e(498))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class tt extends((0,t.ObservableMixin)()){id;[K(492)];[K(505)];[K(496)];[K(491)];[K(484)];[K(506)];constructor(e){const i=K;super(),this.id=e.id||(0,t.uid)(),this[i(492)]=e[i(492)]||null,this[i(505)]=e[i(505)]||[],this[i(496)]=e[i(496)]||null,this[i(491)]=e[i(491)]||0,this[i(484)]=e[i(484)]||0,this[i(513)](i(493),e[i(493)]||""),this[i(513)](i(509),e[i(509)]||new Date),this[i(513)](i(510),e[i(510)]||{})}[K(511)](t){this[K(487)]({name:t})}[K(495)](t,e){const i=K,s=V(this[i(510)]);var n;n=e,J(s,t,()=>n,()=>{}),this[i(487)]({attributes:s})}[K(490)](t){const e=K,i=V(this[e(510)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return G(t,e);if("number"==typeof e?e=D(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),j(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&P(e)&&!Object.hasOwn(t,e))return G(t,F(e));if(j(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(487)]({attributes:i})}[K(487)](t,e=!1){const i=K;let s=!1;const n={id:this.id},r=[i(493),i(509),i(496),i(505),i(510),i(491),i(484),i(494)];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(505)]&&(n[i(486)]=n[i(505)][i(488)](t=>t.id),delete n[i(505)]),this[i(504)](i(487),n,e))}[K(502)](){const t=K;return{id:this.id,name:this[t(493)],creatorId:this[t(492)]?this[t(492)].id:null,authorsIds:this[t(505)][t(488)](t=>t.id),diffData:this[t(496)],createdAt:this[t(509)],attributes:this[t(510)],fromVersion:this[t(484)],toVersion:this[t(491)]}}}var et=i(782),it=i(211),st=i(783);const nt=rt;function rt(t,e){const i=ot();return(rt=function(t,e){return i[t-=448]})(t,e)}function ot(){const t=["afterInit","getRevisionsIterator","editor","isPremiumPlugin","getLaterVisibleRevision","data","743439KcSSHs","createdAt","requires","1717149DXPfFU","fromVersion","9049608pfLVdT","get","attributes","9fQhFRI","authorsIds","1564256LURcaf","getIndex","earlier","getRevision","createRevision","diffData","pluginName","RevisionsRepository","getEarlierVisibleRevision","push","addRevision","110815SfUAps","reverse","join","fromCharCode","isNaN","10KYRgeu","length","oldRevisionId","3NxynRr","438gGaZCx","toJSON","add","plugins","map","4283876DxpuIQ","isOfficialPlugin","_revisions","Users","later","name","creatorId","getRevisionsInDiff","getRevisions","getUser","href","16745135wiLcqx","4NQMYjZ","newRevisionId","from","toVersion"];return(ot=function(){return t})()}!function(t){const e=rt,i=t();for(;;)try{if(895632===parseInt(e(500))/1*(-parseInt(e(490))/2)+parseInt(e(472))/3*(-parseInt(e(478))/4)+-parseInt(e(464))/5*(-parseInt(e(473))/6)+-parseInt(e(503))/7+-parseInt(e(453))/8*(parseInt(e(451))/9)+-parseInt(e(469))/10*(-parseInt(e(489))/11)+parseInt(e(448))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class at extends et.Plugin{[nt(480)];static get[nt(502)](){return[it.Users]}static get[nt(459)](){return nt(460)}static get[nt(479)](){return!0}static get[nt(497)](){return!0}get[nt(470)](){const t=nt;return this[t(480)][t(470)]}constructor(e){const i=nt;super(e),this[i(480)]=new t.Collection}[nt(494)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([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]),[y([121])]:y([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]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=rt;return t[e(477)](t=>String[e(467)](t))[e(466)]("")}!function(t){const i=u();r[i]=y([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[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([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[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([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===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([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(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([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]))||p(y([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=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1789689600;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=rt,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(488)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=rt;for(const e in window)if(window[y([78,117,109,98,101,114])][i(468)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[nt(457)](t){const e=nt,i=this[e(496)][e(476)][e(449)](e(481));return new tt({id:t.id,name:t[e(483)],creator:t[e(484)]?i[e(487)](t[e(484)]):null,diffData:t[e(458)]||t[e(499)],authors:t[e(452)][e(477)](t=>i[e(487)](t)),createdAt:new Date(t[e(501)]),attributes:t[e(450)],fromVersion:t[e(504)],toVersion:t[e(493)]})}[nt(463)](t,e=0){const i=nt;this[i(480)][i(475)](t,e)}[nt(456)](t){const e=nt;return this[e(480)][e(449)](t)}[nt(486)](t={toJSON:!1}){const e=nt,i=Array[e(492)](this[e(480)]);return i[e(465)](),t[e(474)]?i[e(477)](t=>t[e(474)]()):i}[nt(454)](t){const e=nt;return this[e(480)][e(454)](t)}[nt(461)](t){const e=nt,[,i]=this[e(495)](t,{direction:e(455)});return i}[nt(498)](t){const e=nt,[,i]=this[e(495)](t,{direction:e(482)});return i}[nt(485)](t){const e=nt,i=[];for(const s of this[e(495)](t[e(491)]))if(i[e(462)](s),s.id===t[e(471)])break;return i}*[nt(495)](t,{direction:e=nt(455),filter:i=()=>!0}={}){const s=nt,n=s(455)===e?1:-1;let r=this[s(480)][s(449)](t),o=this[s(454)](r);for(yield r;r;){if(o+=n,r=this[s(456)](o),!r)return;i(r)&&(yield r)}}}const ct=ut;function ut(t,e){const i=ht();return(ut=function(t,e){return i[t-=192]})(t,e)}!function(t){const e=ut,i=t();for(;;)try{if(389962===-parseInt(e(198))/1+parseInt(e(265))/2+-parseInt(e(248))/3+-parseInt(e(223))/4+-parseInt(e(209))/5+parseInt(e(210))/6*(parseInt(e(263))/7)+-parseInt(e(257))/8*(-parseInt(e(232))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ht);class lt extends et.Plugin{static get[ct(250)](){return ct(238)}static get[ct(245)](){return!0}static get[ct(230)](){return!0}[ct(261)]=new Map([[st.ViewContainerElement,"c"],[st.ViewAttributeElement,"a"],[st.ViewEmptyElement,"e"],[st.ViewRawElement,"r"],[st.ViewUIElement,"u"]]);[ct(252)]=new Map([["c",st.ViewContainerElement],["a",st.ViewAttributeElement],["e",st.ViewEmptyElement],["r",st.ViewRawElement],["u",st.ViewUIElement]]);async[ct(221)](t,e){const i=ct;if(t[i(222)]||!e)return;const s=this[i(242)][i(215)][i(244)](i(220)),n=await e[i(228)]({channelId:s,revisionId:t.id});t[i(222)]=n[i(222)]}[ct(255)](t){const e=ct,i={};for(const s in t[e(222)]){if(t[e(222)][s][e(200)]&&!t[e(222)][s][e(200)][e(224)])continue;const n=this[e(253)](JSON[e(204)](t[e(222)][s][e(197)])),r=this[e(242)][e(260)][e(239)][e(206)],o=new st.ViewDocumentFragment(r,n[e(259)](t=>this[e(216)](t,!1)));this[e(242)][e(218)][e(214)][e(256)](e(236)),i[s]=this[e(242)][e(218)][e(214)][e(194)](o),this[e(242)][e(218)][e(214)][e(256)](e(231))}return i}[ct(193)](t){const e=ct,i={};for(const s in t[e(222)])t[e(222)][s][e(200)]&&!t[e(222)][s][e(200)][e(224)]||(i[s]=t[e(222)][s][e(240)]||{});return i}[ct(229)](t){const e=ct;return this[e(261)][e(244)](t[e(249)])}[ct(216)](t,e){const i=ct,s=this[i(242)][i(260)][i(239)][i(206)];if(i(235)==typeof t)return new st.ViewText(s,t);{let n,r;r="u"==t[i(213)]||"r"==t[i(213)]?[]:t[i(196)][i(259)](t=>this[i(216)](t,e));const o=this[i(252)][i(244)](t[i(213)])||st.ViewElement,a=this[i(242)][i(218)][i(199)][i(195)];if(n=new o(s,t[i(233)],t[i(246)],r),"u"==t[i(213)]&&t[i(196)][0]){const r=t[i(196)][0];if(n[i(247)]=function(t){const e=i,s=t[e(258)](e(226));return s[e(241)]=r,s[e(211)][0]},e){const t=new st.ViewDocumentFragment(s);t[i(243)](n);const e=Array[i(225)](a[i(262)](t,{bind:!1})),r=a[i(234)][i(258)](i(226));r[i(208)](...e),n=Array[i(225)](a[i(251)](r))[0]}}else if("r"==t[i(213)]&&t[i(196)][0]){const r=t[i(196)][0];if(n[i(247)]=function(t){t[i(241)]=r},e){const t=new st.ViewDocumentFragment(s);t[i(243)](n);const e=Array[i(225)](a[i(262)](t,{bind:!1})),r=a[i(234)][i(258)](i(226));r[i(208)](...e);const o=Array[i(225)](a[i(251)](r));o[i(205)]>1?n[i(243)](o):n=o[0]}}if(t[i(207)])for(const[e,s]of t[i(207)])n[i(192)](e,s);const c=void 0===t[i(254)]?null:t[i(254)];return null!==c&&(n[i(203)]=()=>c),n}}[ct(212)](t){const e=ct,i=JSON[e(204)](t),s=this[e(242)][e(260)][e(239)][e(206)],n=new st.ViewDocumentFragment(s,i[e(259)](t=>this[e(216)](t,!0)));return this[e(242)][e(218)][e(217)](n)}[ct(253)](t){const e=ct;return(t=t[e(202)](t=>!t[e(233)]||e(264)!==t[e(233)]&&e(201)!==t[e(233)]))[e(227)](t=>{const i=e;i(235)!=typeof t&&(t[i(196)]=this[i(253)](t[i(196)]),t[i(246)]=t[i(246)][i(202)](t=>!t[0][i(219)](i(237))))}),t}}function ht(){const t=["483208WACTJc","isAttached","from","div","forEach","getRevision","_getTypeCharForViewElement","isPremiumPlugin","default","9CVOrAk","name","domDocument","string","marked","data-revision-","RevisionHistoryUtils","view","attributesAfter","innerHTML","editor","_appendChild","get","isOfficialPlugin","attributes","render","1623435vZsOly","constructor","pluginName","domChildrenToView","_typeCharToViewClass","_removeRevisionMarkers","fillerOffset","getRevisionDocumentData","useFillerType","2108152VKIGPM","createElement","map","editing","_viewClassToTypeChar","viewChildrenToDom","313439IYOGYg","revision-start","1348600ENkiTm","_setCustomProperty","getRevisionRootsAttributes","toData","domConverter","children","insertions","149872DEXxod","htmlProcessor","attachChange","revision-end","filter","getFillerOffset","parse","length","document","customProperties","append","247385TSoSFT","42vezRZt","childNodes","_makeModelFromViewString","type","processor","config","_getViewFromDiffObj","toModel","data","startsWith","collaboration.channelId","loadRevisionData","diffData"];return(ht=function(){return t})()}function dt(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 ft(){}function mt(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 pt(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 vt(t,e,r,o)}return vt(t,e,r,o)}function vt(t,i,s,c){if(Object.is(t,i))return!0;let N=e(t),A=e(i);if("[object Arguments]"===N&&(N=p),"[object Arguments]"===A&&(A=p),N!==A)return!1;switch(N){case r:return t.toString()===i.toString();case o:return $(t.valueOf(),i.valueOf());case a:case l:case u:return Object.is(t.valueOf(),i.valueOf());case n:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case h:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!pt(n,i.get(e),e,t,i,s,c))return!1;return!0;case d:{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=>pt(o,e,void 0,t,i,s,c));if(-1===a)return!1;n.splice(a,1)}return!0}case f:case g:case y:case k:case b:case"[object BigUint64Array]":case w:case _:case I:case"[object BigInt64Array]":case S:case O:if(x(t)!==x(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!pt(t[e],i[e],e,t,i,s,c))return!1;return!0;case m:return t.byteLength===i.byteLength&&vt(new Uint8Array(t),new Uint8Array(i),s,c);case v:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&vt(new Uint8Array(t),new Uint8Array(i),s,c);case"[object Error]":return t.name===i.name&&t.message===i.message;case p:{if(!(vt(t.constructor,i.constructor,s,c)||mt(t)&&mt(i)))return!1;const e=[...Object.keys(t),...T(t)],n=[...Object.keys(i),...T(i)];if(e.length!==n.length)return!1;for(let n=0;n<e.length;n++){const r=e[n],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!pt(o,i[r],r,t,i,s,c))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function gt(t,e){return function(t,e,i){return pt(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ft)}function yt(){const t=["16fyKeLZ","_fixPosition","set","trim","toVersion","oldRange","_getViewJson","pluginName","_markers","sourcePosition","_handleRootAttributeOperation","revisionHistoryLicenseKeyNotAllowed","_update","howMany","item","define","reInit","addRevision","revisionHistoryLicenseKeyInvalid","revisionHistoryLicenseKeyExpired","_startingRevisionId","deletions","getFillerOffset","destroy","merge","_showLicenseError","type","outerHTML","getRevision","_savedMetaData","680850aXzRxa","vid","upcast","domainLimit","loadRevisionData","for","getWalker","getCustomProperties","_getBaseVids","getAttribute","clear","nodes","map","rootsAttributes","revisionHistoryLicenseKeyEvaluationLimit","uiElement","getAncestors","_isAttached","rootName","RevisionsRepository","changeRootAttribute","_setAttribute","getCurrentRevisionId","_loadedStateData","_revisionDataBuilder","_cloneOperation","usageLimit","getLatestVersion","createRevision","insertion","elementEnd","splitPosition","dataDowncast","finally","904344MgMvEV","updateRevisions","config","featureNotAllowed","_calculateMetaData","_loadState","getTime","creator","fillerOffset","_source","_execute","getRevisions","fromEntries","getChildren","_makeIdsRoot","path","createPositionFromPath","hasContent","creatorId","isEqual","_operations","history","shift","some","_removePendingAction","ready","isPremiumPlugin","tableCell","_createInitialRevision","_handleRootOperation","_clone","$comment","includes","remove","update","createRangeIn","from","_getPreviousFrom","locale","size","toView","isReady","RevisionHistoryUtils","_findInsertionIndex","version","_lastFrom","_createCurrentRevision","add","16869330eCaavu","isAttached","buildRevisionData","split","rawElement","childCount","paragraph","collaboration.channelId","$text","_isPendingUpdate","elementStart","evaluationLimit","_touchedRoots","addRevisionData","element","_handleMarkerOperation","marker","_getFromVersion","_insertChild","insertions","slice","_initialRevisionId","_getVidAttributeName","setRevisionData","key","_touchedMarkers","RealTimeCollaborationClient","_saveMetaData","PendingActions","customProperties","reverse","init","children","range","bind","getMovedRangeStart","_bufferUpdate","createPositionAfter","push","isAdd","_isInit","start","root","getRevisionDocumentData","setSource","model","filter","move","insertionPosition","_createFromRanges","_pendingAction","adapter","detachRoot","max","startsWith","_transformMarkers","diffData","isOfficialPlugin","getTransformedByOperation","authorsIds","_utils","5ilZfla","_licenseKeyCheckInterval","authors","_baseRootsAttributes","getAttributes","_fixOperation","stringify","$graveyard","_diffRootsAttributes","getOperations","saveRevision","createElement","_baseRoots","_appendChild","editor-initial-data-replaced-with-revision-data","documentFragment","addRoot","length","keepParagraph","isEnabled","_handleMoveOperation","_getState","text","_generateTape","render","getUser","_getTypeCharForViewElement","createRange","createPositionBefore","_handleMergeOperation","1343896SICYvI","fromVersion","addRootAttribute","insert","previousPosition","_lastTo","get","offset","_handleOperation","_authorId","_makeRevision","revision","_prepareViewToSave","attributesAfter","_removeMetaData","source","vid_start","revisionHistoryLicenseKeyUsageLimit","_replaceEditorDataWithRevisionData","getRoot","newValue","_revisionId","conversion","dataToMarker","getChild","affectsData","find","end","markers","1155004PEdAsT","nodeAfter","_startingVersion","loadState","attributesBefore","sendBufferedUpdates","_copyMarkers","getData","revision:","createdAt","425929ALmWna","_handleInsertOperation","afterInit","_idsRoots","_continueCurrentRevision","revisionHistoryLicenseKeyDomainLimit","_markChanges","repository","clone","RevisionHistory","getIndex","sort","createPositionAt","getRange","deletion","roots","currentRevision","_touched","_processRootBeforeSave","_fixRange","keys","RevisionTracker","values","Empty document","innerHTML","_applyOperations","expired","invalid","resolve","position","graveyardPosition","_baseIdsRoots","_reset","Initial revision","offsetSize","markerToData","string","requires","domConverter","2372524qmtMMi","Users","revisionHistoryLicenseKeyValid","getRootNames","name","htmlProcessor","NEGATIVE_INFINITY","vid_end","_handleSplitOperation","document","_addPendingAction","delete","_bufferedUpdates","parent","userId","domDocument","attachChange","_diffRoots","removeRootAttribute","licenseKey","baseVersion","initial","plugins","initialData","stickiness","revisionHistory.resumeUnsavedRevision","has","then","_setConversion","_makeModelFromViewString","newRange","getOperation","reinsert","getNodeByPath","getRevisionRootsAttributes","data","targetPosition","PENDING_ACTION_REVISION_HISTORY","editor"];return(yt=function(){return t})()}const kt=Ot;!function(t){const e=Ot,i=t();for(;;)try{if(557822===parseInt(e(329))/1+parseInt(e(319))/2+parseInt(e(471))/3+parseInt(e(610))/4*(parseInt(e(580))/5)+parseInt(e(437))/6+-parseInt(e(368))/7*(-parseInt(e(407))/8)+-parseInt(e(519))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yt);class bt extends et.Plugin{[kt(387)];[kt(581)];[kt(345)]=null;[kt(336)];[kt(570)]=null;[kt(461)];[kt(480)];[kt(540)];[kt(380)];[kt(579)];[kt(569)];[kt(333)];[kt(321)];[kt(460)];static get[kt(414)](){return kt(350)}static get[kt(576)](){return!0}static get[kt(497)](){return!0}static get[kt(366)](){return[it.Users,at,lt,et.PendingActions]}constructor(e){const i=kt;super(e),this[i(336)]=this[i(406)][i(390)][i(616)](i(456)),this[i(579)]=this[i(406)][i(390)][i(616)](i(513)),this[i(461)]=new wt(this[i(406)]),this[i(540)]=this[i(406)][i(473)][i(616)](i(526))||i(389),this[i(380)]=new Map,this[i(460)]=null;const s=(0,t.uid)();this[i(480)]={history:this[i(406)][i(564)][i(377)][i(492)],getLatestVersion:()=>Promise[i(357)](this[i(406)][i(564)][i(377)][i(515)]),getCurrentRevisionId:()=>s},this[i(409)](i(512),!1),this[i(409)](i(599),!0),this[i(409)](i(528),!1),this[i(406)][i(473)][i(422)](i(393),!0),this[i(406)][i(312)][i(442)](i(439))[i(313)]({view:i(621)})}[kt(550)](){const t=kt;this[t(396)](),this[t(406)][t(403)].on(t(496),()=>{const e=t,i=this[e(336)][e(435)](0),s=i&&null===i[e(478)]?i:null;if(this[e(333)]=!!s&&this[e(406)][e(473)][e(616)](e(393)),this[e(406)][e(390)][e(394)](e(545))){const t=this[e(480)][e(459)](),n=this[e(336)][e(435)](t);if(n)this[e(321)]=n[e(611)],this[e(333)]=!1;else{const t=this[e(480)][e(492)][e(491)][e(316)](t=>!t[e(559)]),n=t?t[e(388)]:this[e(480)][e(492)][e(515)];i?(i[e(411)]<n&&i[e(419)]({toVersion:n}),this[e(333)]?(this[e(480)][e(459)]=()=>s.id,this[e(321)]=s[e(611)]):(this[e(321)]=i[e(411)],this[e(333)]=!1)):(this[e(321)]=n,this[e(333)]=!1)}}else s&&(this[e(406)][e(564)][e(377)][e(492)][e(515)]=Math[e(572)](s[e(411)],this[e(406)][e(564)][e(377)][e(492)][e(515)]),s[e(611)]===s[e(411)]?(0!==s[e(611)]&&(this[e(480)][e(459)]=()=>s.id),this[e(333)]=!1):this[e(333)]&&(this[e(480)][e(459)]=()=>s.id,this[e(321)]=s[e(611)])),this[e(333)]||(this[e(321)]=this[e(406)][e(564)][e(377)][e(515)]);this[e(461)][e(550)](this[e(480)][e(492)]),this[e(499)](this[e(321)]),this[e(517)](this[e(321)]),this[e(570)]&&this[e(324)]()}),this[t(553)](t(512)).to(this,t(528),t=>!t),this[t(387)]=this[t(406)][t(473)][t(616)](t(387));const e=this[t(406)];this[t(581)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(370)==r||i(425)==r||i(426)==r||i(334)==r||i(418)==r||i(451)==r||i(627)==r){delete e[n],s=r,clearInterval(this[i(581)]),this[i(581)]=void 0;break}}i(425)==s&&e[i(432)](i(356)),i(426)==s&&e[i(432)](i(355)),i(334)==s&&e[i(432)](i(440)),i(418)==s&&e[i(432)](i(474),i(338)),i(451)==s&&e[i(432)](i(530)),i(627)==s&&e[i(432)](i(463))},1e3)}async[kt(331)](){const t=kt;if(this[t(336)][t(597)]>0){const e=this[t(336)][t(435)](0),i=await this[t(562)](e),s=await this[t(402)](e);this[t(308)](i,s)}}[kt(430)](){const t=kt;super[t(430)](),this[t(581)]&&clearInterval(this[t(581)])}[kt(563)](t){this[kt(480)]=t}async[kt(505)](){const t=kt,e=await this[t(480)][t(464)]();if(e>this[t(345)][t(411)]){await this[t(476)]();const i=this[t(521)]({revision:this[t(345)],to:e});i[t(582)]=i[t(578)][t(449)](e=>this[t(406)][t(390)][t(616)](t(369))[t(605)](e)),this[t(345)][t(419)](i)}}async[kt(590)](e={},i=null){const s=kt,n=[];await this[s(476)](),this[s(333)]=!1,i>this[s(345)][s(411)]&&(i=null),null===i&&(i=await this[s(480)][s(464)]());const r=this[s(536)](i),o=this[s(521)]({from:r,to:i});if(this[s(345)][s(411)]<i){const t=this[s(521)]({revision:this[s(345)],from:i,to:i});t[s(582)]=[],t[s(578)]=[],t.id=this[s(345)].id,this[s(345)][s(419)](t,!0),delete t[s(582)],n[s(557)](t)}e[s(489)]=this[s(406)][s(390)][s(616)](s(369)).me.id,e[s(372)]=e[s(372)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(532)](e);n[s(557)](e);const c=this[s(336)][s(339)](a);if(0!==c){const t=this[s(336)][s(435)](c-1);if(t[s(611)]!==i){const r=this[s(461)][s(326)](i,t[s(411)]),o={id:t.id,diffData:r[s(575)],authorsIds:r[s(578)],authors:r[s(578)][s(449)](t=>this[s(406)][s(390)][s(616)](s(369))[s(605)](t)),fromVersion:i};t===this[s(345)]&&(o[s(328)]=new Date(e[s(328)][s(477)]()+10)),t[s(419)](o,!0),delete o[s(582)],n[s(557)](o)}}if(this[s(570)]){for(const t of n)this[s(555)](t.id,t,!0);this[s(324)]()}return a}[kt(532)](t){const e=kt,i=this[e(336)][e(465)](t);return this[e(570)]&&i.on(e(419),(t,i,s)=>{const n=e;s||(this[n(555)](i.id,i,!0),this[n(324)]())}),this[e(336)][e(424)](i,this[e(514)](i)),i}async[kt(562)](t){const e=kt;return await this[e(579)][e(441)](t,this[e(570)]),this[e(579)][e(562)](t)}async[kt(402)](t){const e=kt;return await this[e(579)][e(441)](t,this[e(570)]),this[e(579)][e(402)](t)}[kt(324)](){const t=kt;if(0===this[t(380)][t(510)])return;if(this[t(528)])return;let e=Array[t(507)](this[t(380)][t(351)]());this[t(380)][t(447)]();for(let i=0;i<e[t(597)];i++){const s=e[i];let n=!1;for(const e of Object[t(349)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(565)](t=>null!==t),!e[t(597)])return;for(let i=0;i<e[t(597)];i++){const s=e[i];void 0!==s[t(611)]&&void 0===s[t(411)]&&(s[t(411)]=this[t(336)][t(435)](s.id)[t(411)]),void 0!==s[t(411)]&&void 0===s[t(611)]&&(s[t(611)]=this[t(336)][t(435)](s.id)[t(611)])}const i=this[t(406)][t(473)][t(616)](t(526));this[t(528)]=!0,this[t(378)](),this[t(570)][t(472)](e,i)[t(470)](()=>{this[t(528)]=!1})[t(395)](e=>{const i=t;if(e)for(const t of e)this[i(542)]({id:t.id,createdAt:t[i(328)]});this[i(495)](),this[i(324)]()})}[kt(521)]({revision:t=null,from:e=null,to:i=null}){const s=kt;e=null!==e?e:t[s(611)],i=null!==i?i:t[s(411)];const n=this[s(461)][s(326)](e,i),r={diffData:n[s(575)],authorsIds:n[s(578)],fromVersion:e,toVersion:i};if(!t||i!==t[s(411)]){const t=i-1,e=this[s(480)][s(492)][s(399)](t);r[s(328)]=e&&e[s(328)]||new Date}if(this[s(460)]&&e===this[s(460)][s(611)])for(const t of this[s(460)][s(582)])r[s(578)][s(503)](t.id)||r[s(578)][s(557)](t.id);return r}[kt(555)](t,e,i){const s=kt;if(this[s(380)][s(394)](t)){const n=this[s(380)][s(616)](t);e=i?{...n,...e}:{...e,...n}}this[s(380)][s(409)](t,e)}[kt(542)](t){const e=kt,i=this[e(336)][e(435)](t.id);if(t[e(328)]&&(t[e(328)]=new Date(t[e(328)])),t[e(578)]){const i=this[e(406)][e(390)][e(616)](e(369));t[e(582)]=t[e(578)][e(449)](t=>i[e(605)](t))}i[e(419)](t,!0)}[kt(499)](t){const e=kt,i=this[e(336)][e(435)](this[e(336)][e(597)]-1);if(i)this[e(540)]=i.id;else{const i=!this[e(406)][e(564)][e(377)][e(344)][e(316)](t=>this[e(406)][e(564)][e(488)](t)),s=this[e(406)][e(390)][e(616)](e(369)).me.id,n=dt(this[e(406)][e(509)],e(i?352:362));this[e(620)]({from:t,to:t,id:this[e(540)],name:n,creatorId:s})}}[kt(517)](t){const e=kt,i=this[e(480)][e(459)]();this[e(345)]=this[e(336)][e(435)](i),this[e(345)]||(this[e(345)]=this[e(620)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[kt(476)](){const t=kt;this[t(333)]&&!this[t(460)]&&(await this[t(579)][t(441)](this[t(345)],this[t(570)]),this[t(461)][t(322)](this[t(345)]),this[t(460)]={fromVersion:this[t(345)][t(611)],authors:this[t(345)][t(582)][t(539)]()})}[kt(308)](e,i){const s=kt;let n=this[s(406)][s(473)][s(616)](s(391)),r=this[s(406)][s(473)][s(616)](s(450));if(void 0===n){n={};for(const t of this[s(406)][s(564)][s(377)][s(371)]())n[t]=""}if(s(365)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(406)][s(564)][s(377)][s(371)]())r[t]={}}let o=!1;const a=Object[s(349)](n),c=Object[s(349)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(410)]()){o=!0;break}if(!gt(r[t],i[t])&&Object[s(349)](r[t])[s(597)]>0){o=!0;break}}o||(o=c[s(494)](t=>!this[s(406)][s(564)][s(377)][s(309)](t))),o&&(0,t.logWarning)(s(594),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(406)][s(473)][s(409)](s(391),e),this[s(406)][s(473)][s(409)](s(450),i)}[kt(378)](){const t=kt;if(!this[t(569)]){const e=this[t(406)][t(390)][t(616)](t(547));this[t(569)]=e[t(518)](dt(this[t(406)][t(509)],t(405)))}}[kt(495)](){const t=kt;this[t(569)]&&(this[t(406)][t(390)][t(616)](t(547))[t(504)](this[t(569)]),this[t(569)]=null)}[kt(514)](t){const e=kt,i=this[e(336)][e(482)]();i[e(549)]();let s=0;for(;s<i[e(597)];){const n=i[s];if(n===this[e(345)]){s++;continue}if(n.id===this[e(540)])break;const r=t[e(411)]-n[e(411)]||t[e(611)]-n[e(611)];if(r>0)break;if(r<0)s++;else{if(!t[e(478)]&&n[e(478)])break;if(n[e(478)]||!t[e(478)]){if(t[e(328)]>n[e(328)])break;s++}else s++}}return s}[kt(536)](t){const e=kt,i=this[e(336)][e(482)]();i[e(549)](),i[e(493)]();const s=i[e(316)](i=>i[e(411)]<=t)[e(411)];return s<this[e(321)]?this[e(321)]:s}[kt(620)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=kt,o=this[r(521)]({from:e,to:i});o[r(372)]=t,o[r(489)]=s,o.id=n;const a=this[r(532)](o);return this[r(570)]&&this[r(555)](o.id,o,!0),a}[kt(396)](){const t=kt;this[t(406)][t(312)][t(442)](t(469))[t(364)]({model:t(621)})}}class wt{[kt(406)];[kt(625)];[kt(436)];[kt(516)];[kt(615)];[kt(415)];[kt(385)];[kt(588)];[kt(592)];[kt(583)];[kt(332)];[kt(360)];[kt(346)];[kt(544)];[kt(531)];[kt(311)];[kt(427)];constructor(t){const e=kt;this[e(406)]=t,this[e(436)]=new Map,this[e(516)]=-1,this[e(615)]=-1,this[e(415)]=new Map,this[e(385)]=new Map,this[e(588)]=new Map,this[e(592)]=new Map,this[e(583)]=new Map,this[e(332)]=new Map,this[e(360)]=new Map,this[e(346)]=new Map,this[e(544)]=new Map,this[e(531)]=new Map,this[e(311)]=1}[kt(550)](t){const e=kt;this[e(625)]=t;const i=new Map,s=new Map,n=this[e(406)][e(564)][e(377)][e(344)][e(449)](t=>t[e(455)]);for(const t of n){const n=this[e(406)][e(564)][e(377)][e(309)](t),r=_t(n);i[e(409)](t,r),s[e(409)](t,Object[e(483)](n[e(584)]()))}const r=Array[e(507)](this[e(406)][e(564)][e(318)])[e(449)](t=>[t[e(372)],t[e(342)]()]),o=this[e(625)][e(515)];this[e(546)](o,i,r,s),this[e(427)]=this[e(311)];const a=new Map,c=new Map;for(const t of n){const i=It(t);a[e(409)](t,i),c[e(409)](t,{})}this[e(546)](Number[e(374)],a,[],c)}[kt(326)](t,e){const i=kt;if(this[i(516)]===t&&this[i(615)]<=e)this[i(436)][i(510)]>1&&this[i(624)](this[i(615)]),this[i(354)](this[i(615)],e,!0);else{if(!this[i(436)][i(394)](t)){const e=this[i(508)](t);this[i(475)](e,t,!1)}this[i(475)](t,e,!0)}return this[i(516)]=t,this[i(615)]=e,this[i(601)]()}[kt(322)](t){const e=kt;if(!this[e(436)][e(394)](t[e(611)])){const i=this[e(508)](t[e(611)]);this[e(475)](i,t[e(611)],!1)}this[e(475)](t[e(611)],t[e(411)],!1);const i=this[e(406)][e(390)][e(616)](e(513));this[e(361)](),this[e(516)]=t[e(611)],this[e(615)]=t[e(411)];for(const s in t[e(575)]){const n=t[e(575)][s][e(384)],r=V(t[e(575)][s][e(323)])||{},o=i[e(397)](t[e(575)][s][e(428)]);o[e(455)]=s,o[e(454)]=!n||!n[e(520)],o[e(520)]=()=>o[e(454)],this[e(592)][e(409)](s,o),this[e(583)][e(409)](s,r),n&&this[e(531)][e(409)](s,n);const a=this[e(485)](o);this[e(360)][e(409)](s,a);for(const[t,i]of o[e(318)]){if(!t[e(573)](e(327)))continue;const s=t[e(522)](":")[2];for(const t of i[e(443)]({singleCharacters:!0})){const i=this[e(541)](t),n=e(467)==t[e(433)]?t[e(614)][e(486)][e(539)](0,-1):t[e(614)][e(486)],r=a[e(401)](n)[e(446)](i);this[e(346)][e(409)](r,{userId:s})}o[e(318)][e(379)](t)}}this[e(427)]=this[e(311)];const s=[...Array(this[e(311)])[e(349)]()][e(539)](1)[e(565)](t=>!this[e(346)][e(394)](t));let n=0;const r=new Map;for(const o in t[e(575)]){const a=t[e(575)][o][e(384)],c=V(t[e(575)][o][e(623)])||{},u=i[e(397)](t[e(575)][o][e(538)]);u[e(455)]=o,u[e(454)]=!a||a[e(520)],u[e(520)]=()=>u[e(454)],this[e(385)][e(409)](o,u),this[e(588)][e(409)](o,c);const l=this[e(485)](u,Number[e(374)]);this[e(332)][e(409)](o,l),r[e(409)](o,u[e(520)]()?c:{});for(const[t,i]of u[e(318)]){if(!t[e(573)](e(327)))continue;const s=t[e(522)](":")[2];for(const t of i[e(443)]({singleCharacters:!0})){const i=this[e(541)](t),n=this[e(311)]++,r=e(467)==t[e(433)]?t[e(614)][e(486)][e(539)](0,-1):t[e(614)][e(486)];l[e(401)](r)[e(458)](i,n),this[e(346)][e(409)](n,{userId:s})}u[e(318)][e(379)](t)}for(const t of this[e(406)][e(564)][e(506)](u)[e(443)]({singleCharacters:!0})){const i=this[e(541)](t),r=e(467)==t[e(433)]?t[e(614)][e(486)][e(539)](0,-1):t[e(614)][e(486)],o=l[e(401)](r);o[e(446)](i)>0||o[e(458)](i,s[n++])}for(const[t,i]of u[e(318)])t[e(573)](e(327))||this[e(415)][e(409)](t,i)}const{roots:o}=this[e(436)][e(616)](t[e(611)]),{roots:a}=this[e(436)][e(616)](t[e(411)]),c=_t(o[e(616)](e(587)));this[e(592)][e(409)](e(587),c),this[e(360)][e(409)](e(587),this[e(485)](c,Number[e(374)]));const u=_t(a[e(616)](e(587)));this[e(385)][e(409)](e(587),u),this[e(332)][e(409)](e(587),this[e(485)](u));const l=Array[e(507)](this[e(385)])[e(449)](([t,e])=>[t,_t(e)]);this[e(546)](this[e(615)],l,this[e(415)],r)}[kt(423)](){const t=kt;this[t(361)](),this[t(516)]=-1,this[t(615)]=-1,this[t(436)][t(447)](),this[t(550)](this[t(625)])}[kt(546)](t,e,i,s){const n=kt,r=new Map(e),o=new Map(V(s)),a=new Map;for(const[t,e]of i)a[n(409)](t,{start:e[n(560)][n(337)](),end:e[n(317)][n(337)](),rootName:e[n(561)][n(455)]});this[n(436)][n(409)](t,{roots:r,markers:a,rootsAttributes:o})}[kt(624)](t){const e=kt;this[e(436)][e(379)](t)}[kt(361)](){const t=kt;this[t(346)][t(447)](),this[t(544)][t(447)](),this[t(531)][t(447)](),this[t(385)][t(447)](),this[t(588)][t(447)](),this[t(592)][t(447)](),this[t(583)][t(447)](),this[t(332)][t(447)](),this[t(360)][t(447)](),this[t(415)][t(447)](),this[t(311)]=1,this[t(427)]=this[t(311)]}[kt(485)](t,e=null){const i=kt;let s=null;t.is(i(595))||(s=new st.ModelElement(t[i(372)],{vid_start:null===e?this[i(311)]++:e++}));const n=[];for(const s of t[i(484)]())if(s.is(i(533))){n[i(557)](this[i(485)](s,e));const t=n[n[i(597)]-1];null!==e&&(e=t.is(i(533),i(527))?t[i(446)](i(438))+1:t[i(446)](i(375))+1)}else for(let t=0;t<s[i(363)];t++)n[i(557)](new st.ModelElement(i(527),{vid:null===e?this[i(311)]++:e++}));if(t.is(i(595))){const e=It(t[i(455)]);return e[i(537)](0,n),e}return s[i(458)](i(375),null===e?this[i(311)]++:e++),s[i(537)](0,n),s}[kt(475)](t,e,i){const s=kt;this[s(361)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(436)][s(616)](t);this[s(592)]=new Map(n),this[s(583)]=new Map(V(o));for(const[t,e]of this[s(592)])if(s(587)!==t&&(this[s(385)][s(409)](t,_t(e)),this[s(588)]=new Map(V(o)),i)){const i=this[s(311)];this[s(332)][s(409)](t,this[s(485)](e)),this[s(360)][s(409)](t,this[s(485)](e,i))}this[s(427)]=this[s(311)],this[s(385)][s(409)](s(587),_t(this[s(592)][s(616)](s(587)))),i&&this[s(332)][s(409)](s(587),this[s(485)](this[s(592)][s(616)](s(587))));for(const[t,e]of r){const i=this[s(592)][s(616)](e[s(455)]),n=this[s(385)][s(616)](e[s(455)]),r=new st.ModelRange(this[s(408)](e[s(560)],i),this[s(408)](e[s(317)],i)),o=this[s(348)](r,n);i[s(318)][s(409)](t,r),this[s(415)][s(409)](t,o)}this[s(354)](t,e,i)}[kt(354)](t,e,i){const s=kt;for(const n of this[s(625)][s(589)](t,e))this[s(618)](n,i);for(const t of this[s(385)][s(351)]())t[s(318)][s(447)]();for(const[t,e]of this[s(415)])this[s(385)][s(616)](e[s(561)][s(455)])[s(318)][s(409)](t,e[s(337)]());const n=new Map,r=new Map;for(const[t,e]of this[s(385)])n[s(409)](t,_t(e)),r[s(409)](t,this[s(588)][s(616)](t));this[s(546)](e,n,this[s(415)],r)}[kt(508)](t){const e=kt,i=Array[e(507)](this[e(436)][e(349)]());i[e(340)]((t,e)=>t-e),i[e(549)]();for(const e of i)if(e<t)return e;return Number[e(374)]}[kt(325)](t,e){const i=kt,s=Array[i(507)](e[i(318)])[i(449)](([e,s])=>[e,this[i(348)](s,t)]);t[i(318)]=new Map(s)}[kt(574)](t){const e=kt;for(const i of this[e(415)][e(351)]()){const s=i[e(577)](t),n=st.ModelRange[e(568)](s);i[e(560)]=n[e(560)],i[e(317)]=n[e(317)]}}[kt(618)](t,e){const i=kt;if(i(596)!=t[i(433)]&&i(571)!=t[i(433)]){if(i(613)==t[i(433)]){const s=t[i(358)][i(561)][i(455)];this[i(385)][i(394)](s)||(this[i(385)][i(409)](s,It(s,!0)),this[i(588)][i(409)](s,{}),e&&this[i(332)][i(409)](s,It(s,!0)))}else{if(i(612)==t[i(433)]||i(386)==t[i(433)]||i(457)==t[i(433)])return void this[i(417)](t);i(535)==t[i(433)]&&this[i(534)](t)}if(i(535)!==t[i(433)]){const e=this[i(462)](t,this[i(385)]);e[i(481)](),this[i(574)](e)}if(e)switch(t[i(433)]){case i(613):this[i(330)](t);break;case i(566):case i(504):case i(400):this[i(600)](t);break;case i(431):this[i(609)](t);break;case i(522):this[i(376)](t)}}else this[i(500)](t,e)}[kt(462)](t,e){const i=kt,s=t[i(337)]();return s[i(619)]=t[i(619)],this[i(585)](s,e),s}[kt(445)](t){const e=kt;return t[e(449)](t=>{const i=e,s=this[i(541)](t);return Number(t[i(421)][i(446)](s))})}[kt(603)](t,e){const i=kt;if(t.is(i(533),i(527)))e[i(557)]({item:t,type:i(602)});else{t.is(i(533))&&e[i(557)]({item:t,type:i(529)});for(const s of t[i(484)]())this[i(603)](s,e);t.is(i(533))&&e[i(557)]({item:t,type:i(467)})}return e}[kt(601)](){const t=kt,e=new Map(this[t(346)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(592)][t(349)](),...this[t(385)][t(349)]()]);a[t(379)](t(587));for(const e of a){const i=this[t(385)][t(616)](e)||It(e,!1),s=this[t(592)][t(616)](e)||It(e,!1);i[t(520)]()||s[t(520)]()?(n[t(538)][e]=_t(i),n[t(428)][e]=_t(s),this[t(325)](n[t(428)][e],s),this[t(325)](n[t(538)][e],i),r[t(538)][e]=this[t(603)](this[t(332)][t(616)](e),[]),r[t(428)][e]=this[t(603)](this[t(360)][t(616)](e)||It(e,!1),[])):a[t(379)](e)}for(const n of a){const o=r[t(538)][n];for(const n of o){const r=this[t(541)](n),o=n[t(421)][t(446)](r);i[t(379)](o),o>=this[t(427)]&&s[t(409)](o,e[t(616)](o))}}for(const n of a){const a=r[t(538)][n],c=this[t(445)](r[t(428)][n]);let u=0;for(const n of a){const r=this[t(541)](n),a=n[t(421)][t(446)](r);if(!s[t(394)](a)&&!o[t(394)](a))if(i[t(394)](a))u++;else{if(a!=c[u]){const s=e[t(616)](a)||e[t(616)](c[u]);for(;a!=c[u];)i[t(394)](c[u])||(o[t(409)](c[u],s),e[t(409)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(538)][e];for(const e of n){const n=this[t(541)](e),r=e[t(421)][t(446)](n);if(o[t(394)](r)){const e=o[t(616)](r);i[t(394)](r)||i[t(409)](r,{...e}),s[t(409)](r,{...e})}}}for(const e of i[t(349)]())e>=this[t(427)]&&i[t(379)](e);const c=new Map;for(const e of a){let n=r[t(538)][e];for(const e of n)if(e[t(421)].is(t(533),t(498))){const i=this[t(541)](e),n=e[t(421)][t(446)](i);if(s[t(394)](n)){const i=e[t(421)][t(381)][t(381)][t(446)](t(626)),r=c[t(616)](i)||new Set;r[t(518)](s[t(616)](n)[t(382)]),c[t(409)](i,r)}}n=r[t(428)][e];for(const e of n)if(e[t(421)].is(t(533),t(498))){const s=this[t(541)](e),n=e[t(421)][t(446)](s);if(i[t(394)](n)){const s=e[t(421)][t(381)][t(381)][t(446)](t(626)),r=c[t(616)](s)||new Set;r[t(518)](i[t(616)](n)[t(382)]),c[t(409)](s,r)}}for(const e of c[t(349)]())(s[t(394)](e)||i[t(394)](e))&&c[t(379)](e)}for(const e of a){const n=r[t(538)][e];let o=null,a=null;for(const e of n){const n=this[t(541)](e),r=e[t(421)][t(446)](n),u=c[t(616)](r);u&&t(529)==e[t(433)]&&(o=Array[t(507)](u)[0],a=e[t(421)][t(446)](t(375))),o&&(i[t(409)](r,{userId:o}),s[t(409)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(428)][e],a=n[t(538)][e];for(const{userId:e}of this[t(544)][t(351)]())null!==e&&l[t(518)](e);for(const{userId:e}of this[t(531)][t(351)]())null!==e&&l[t(518)](e);this[t(335)](a,r[t(538)][e],s,t(466),l),this[t(335)](o,r[t(428)][e],i,t(343),l),u[e]={insertions:this[t(622)](a),deletions:this[t(622)](o),attachChange:this[t(531)][t(616)](e)||null,attributesBefore:V(this[t(583)][t(616)](e))||{},attributesAfter:V(this[t(588)][t(616)](e))}}return{diffData:u,authorsIds:Array[t(507)](l)}}[kt(347)](t){const e=kt;for(const[,i]of t[e(318)]){const t=i[e(560)][e(453)]()[e(565)](t=>e(498)==t[e(372)]);for(const i of t)1==i[e(524)]&&i[e(314)](0).is(e(533),e(525))&&i[e(314)](0)[e(458)](e(598),!0)}}[kt(622)](t){const e=kt;this[e(347)](t);const i=this[e(406)][e(403)][e(511)](t,{}),s=Array[e(507)](i[e(484)]())[e(449)](t=>this[e(413)](t));return JSON[e(586)](s)}[kt(413)](t){const e=kt;if(t.is(e(527)))return t[e(403)];{const i=this[e(406)][e(390)][e(616)](e(513)),s=t,n=this[e(406)][e(403)][e(373)][e(367)],r={type:i[e(606)](s),name:s[e(372)],attributes:Array[e(507)](s[e(584)]()),children:Array[e(507)](s[e(484)]())[e(449)](t=>this[e(413)](t))};if(t.is(e(452))&&e(502)!=t[e(372)]){const i=t[e(604)](n[e(383)],n);r[e(551)][e(557)](i[e(434)])}else if(t.is(e(523))){const i=n[e(383)][e(591)](s[e(372)]);t[e(604)](i,n),r[e(551)][e(557)](i[e(353)])}const o=Array[e(507)](s[e(444)]());o[e(597)]>0&&(r[e(548)]=o);const a=s[e(429)]();return null!==a&&(r[e(479)]=a),r}}[kt(335)](t,e,i,s,n){const r=kt;let o=null,a=null,c=0;const u=this[r(406)][r(564)];for(let s=0;s<e[r(597)];s++){const n=this[r(541)](e[s]),c=e[s][r(421)][r(446)](n),h=i[r(616)](c),d=s==e[r(597)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(382)]!=o[r(382)])&&(l(h,St(a,t,u),St(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,St(a,t,u),Tt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(382)],d=l(327)+s+":"+h+":"+c++,f=u[l(607)](i,a);t[l(318)][l(409)](d,f),null!==h&&n[l(518)](h)}}[kt(541)](t){const e=kt;switch(t[e(433)]){case e(529):return e(626);case e(467):return e(375);default:return e(438)}}[kt(585)](t,e){const i=kt;t[i(388)]=null;for(const s in t){const n=t[s];if(n instanceof st.ModelPosition){const r=e[i(616)](n[i(561)][i(455)]);t[s]=this[i(408)](n,r)}if(n instanceof st.ModelRange){const r=e[i(616)](n[i(561)][i(455)]);t[s]=this[i(348)](n,r)}i(561)===s&&(t[i(561)]=e[i(616)](t[i(561)][i(455)]))}}[kt(348)](t,e){const i=kt;return this[i(406)][i(564)][i(607)](this[i(408)](t[i(560)],e),this[i(408)](t[i(317)],e))}[kt(408)](t,e){const i=kt;return this[i(406)][i(564)][i(487)](e,t[i(486)],t[i(392)])}[kt(330)](t){const e=kt,i=this[e(332)][e(616)](t[e(358)][e(561)][e(455)]),s=this[e(408)](t[e(358)],i),n=null===t[e(619)]?null:t[e(619)]||this[e(406)][e(390)][e(616)](e(369)).me.id,r=s[e(381)],o=this[e(311)],a=[];for(const i of t[e(448)])if(i.is(e(533)))a[e(557)](this[e(485)](i));else for(let t=0;t<i[e(363)];t++)a[e(557)](new st.ModelElement(e(527),{vid:this[e(311)]++}));const c=this[e(311)];for(let t=o;t<c;t++)this[e(346)][e(409)](t,{userId:n});r[e(537)](s[e(617)],a)}[kt(600)](t){const e=kt;(t=this[e(462)](t,this[e(332)]))[e(481)]();const i=null===t[e(619)]?null:t[e(619)]||this[e(406)][e(390)][e(616)](e(369)).me.id,s=t[e(554)](),n=s[e(381)],r=s[e(617)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(314)](e);r.is(a(533),a(527))?s[a(409)](r[a(446)](a(438)),{userId:i}):(s[a(409)](r[a(446)](a(626)),{userId:i}),t(s,r,0,r[a(524)]),s[a(409)](r[a(446)](a(375)),{userId:i}))}}(this[e(346)],n,r,r+t[e(420)])}[kt(609)](t){const e=kt,i=null===(t=this[e(462)](t,this[e(332)]))[e(619)]?null:t[e(619)]||this[e(406)][e(390)][e(616)](e(369)).me.id,s=t[e(404)][e(381)],n=t[e(416)][e(381)],r=s[e(446)](e(375)),o=n[e(446)](e(626));s[e(458)](e(375),n[e(446)](e(375))),n[e(458)](e(375),r),this[e(346)][e(409)](o,{userId:i}),this[e(346)][e(409)](r,{userId:i}),t[e(481)]()}[kt(376)](t){const e=kt,i=null===(t=this[e(462)](t,this[e(332)]))[e(619)]?null:t[e(619)]||this[e(406)][e(390)][e(616)](e(369)).me.id,s=t[e(359)],n=t[e(468)][e(381)];t[e(481)]();const r=n[e(446)](e(375)),o=t[e(567)][e(320)];if(s){const t=o[e(446)](e(375)),s=n[e(446)](e(375));n[e(458)](e(375),t),o[e(458)](e(375),s),this[e(346)][e(409)](n[e(446)](e(375)),{userId:i}),this[e(346)][e(409)](o[e(446)](e(626)),{userId:i})}else{const t=this[e(311)]++,s=this[e(311)]++;n[e(458)](e(375),t),o[e(458)](e(626),s),o[e(458)](e(375),r),this[e(346)][e(409)](t,{userId:i}),this[e(346)][e(409)](s,{userId:i})}}[kt(534)](t){const e=kt;if(!t[e(315)])return;const i=(t=this[e(462)](t,this[e(385)]))[e(412)]?t[e(412)][e(561)]:null,s=t[e(398)]?t[e(398)][e(561)]:null;i&&this[e(415)][e(379)](t[e(372)]),s&&this[e(415)][e(409)](t[e(372)],t[e(398)][e(337)]());const n=null===t[e(619)]?null:t[e(619)]||this[e(406)][e(390)][e(616)](e(369)).me.id,r=t[e(372)];if(!this[e(544)][e(394)](r))return void this[e(544)][e(409)](r,{range:t[e(412)],userId:n});const o=this[e(544)][e(616)](r),a=o[e(552)],c=t[e(398)];null==a&&null==c||a&&c&&a[e(490)](c)?this[e(544)][e(379)](t[e(372)]):o[e(382)]=n}[kt(500)](t,e){const i=kt;this[i(385)][i(394)](t[i(455)])?this[i(385)][i(616)](t[i(455)])[i(454)]=t[i(558)]:(this[i(385)][i(409)](t[i(455)],It(t[i(455)],!0)),this[i(588)][i(409)](t[i(455)],{}),e&&this[i(332)][i(409)](t[i(455)],It(t[i(455)],!0)));const s=null===t[i(619)]?null:t[i(619)]||this[i(406)][i(390)][i(616)](i(369)).me.id,n=this[i(531)][i(616)](t[i(455)]);n&&n[i(382)]===s?this[i(531)][i(379)](t[i(455)]):this[i(531)][i(409)](t[i(455)],{userId:s,isAttached:t[i(558)]})}[kt(417)](t){const e=kt,i=this[e(588)][e(616)](t[e(561)][e(455)]);null===t[e(310)]?delete i[t[e(543)]]:i[t[e(543)]]=t[e(310)]}}function _t(t){const e=kt,i=It(t[e(455)],t[e(520)]());for(const s of t[e(484)]()){const t=s[e(501)](!0);i[e(593)](t)}return i}function It(t,e=!0){const i=kt,s=new st.ModelDocumentFragment;return s[i(455)]=t,s[i(454)]=e,s[i(520)]=()=>s[i(454)],s}function St(t,e,i){const s=kt,n=s(467)==t[s(433)]?i[s(341)](t[s(421)],s(317)):i[s(608)](t[s(421)]);return i[s(487)](e,n[s(486)],n[s(392)])}function Ot(t,e){const i=yt();return(Ot=function(t,e){return i[t-=308]})(t,e)}function Tt(t,e,i){const s=kt,n=s(529)==t[s(433)]?i[s(341)](t[s(421)],0):i[s(556)](t[s(421)]);return i[s(487)](e,n[s(486)],n[s(392)])}var Nt=i(355),xt=i(311),At=i(789),Rt=i.n(At),Mt=i(437),Vt=i.n(Mt),Dt=i(298),Et=i.n(Dt),Ct=i(207),Ft=i.n(Ct),jt=i(825),Lt=i.n(jt),Pt=i(416),zt={attributes:{"data-cke":!0}};zt.setAttributes=Ft(),zt.insert=Et().bind(null,"head"),zt.domAPI=Vt(),zt.insertStyleElement=Lt();Rt()(Pt.A,zt);Pt.A&&Pt.A.locals&&Pt.A.locals;var Wt=i(450),Ut={attributes:{"data-cke":!0}};Ut.setAttributes=Ft(),Ut.insert=Et().bind(null,"head"),Ut.domAPI=Vt(),Ut.insertStyleElement=Lt();Rt()(Wt.A,Ut);Wt.A&&Wt.A.locals&&Wt.A.locals;const Zt=Ht;function Ht(t,e){const i=qt();return(Ht=function(t,e){return i[t-=342]})(t,e)}function qt(){const t=["ck-revision-history-save-revision-form","set","extendTemplate","arrowleft","locale","reset","setTemplate","render","322UKEFhE","focus","_createRevisionNameInput","473132yiRQRN","optional","label","170ItfFxr","7JZzLzV","1848800kMmyYI","220","904395IVKdha","focusTracker","76995owzBts","arrowup","revisionNameInputView","value","19044wyXSuM","input","fieldView","632144zOLPbl","form","arrowdown","listenTo","1889IbLPDj","72fOGCyW","Name of the revision","ck-responsive-form","element","keystrokes","add","initializeCssTransitionDisablerMixin","revisionNameInputValue","arrowright","trim","revisionName","stopPropagation","errorText"];return(qt=function(){return t})()}!function(t){const e=Ht,i=t();for(;;)try{if(328216===parseInt(e(375))/1*(parseInt(e(352))/2)+parseInt(e(362))/3+-parseInt(e(360))/4+parseInt(e(364))/5*(parseInt(e(376))/6)+-parseInt(e(359))/7*(-parseInt(e(371))/8)+parseInt(e(368))/9*(-parseInt(e(358))/10)+-parseInt(e(355))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class $t extends((0,xt.CssTransitionDisablerMixin)(xt.View)){[Zt(363)];[Zt(380)];[Zt(366)];constructor(e,i){const s=Zt;super(e),this[s(363)]=new t.FocusTracker,this[s(380)]=new t.KeystrokeHandler,this[s(345)](s(383),""),this[s(366)]=this[s(354)](i),this[s(350)]({tag:s(372),attributes:{class:["ck",s(344),s(378)],tabindex:"-1"},children:[this[s(366)]]}),this[s(382)]()}[Zt(351)](){const t=Zt;super[t(351)](),(0,xt.submitHandler)({view:this}),this[t(363)][t(381)](this[t(366)][t(379)]),this[t(380)][t(374)](this[t(379)]);const e=e=>e[t(342)]();this[t(380)][t(345)](t(384),e),this[t(380)][t(345)](t(347),e),this[t(380)][t(345)](t(365),e),this[t(380)][t(345)](t(373),e)}[Zt(353)](){const t=Zt;this[t(366)][t(353)]()}get[Zt(386)](){const t=Zt;return this[t(366)][t(370)][t(379)][t(367)][t(385)]()}set[Zt(386)](t){const e=Zt;this[e(366)][e(370)][e(379)][e(367)]=t[e(385)]()}[Zt(349)](){const t=Zt;this[t(366)][t(370)][t(379)][t(367)]="",this[t(366)][t(343)]=null}[Zt(354)](t){const e=Zt,i=new xt.LabeledFieldView(this[e(348)],xt.createLabeledInputText),s=i[e(370)];s[e(346)]({attributes:{maxlength:e(361)}});let n=dt(this[e(348)],e(377));return!t&&(n+=" ("+dt(this[e(348)],e(356))+")"),i[e(357)]=n,s.on(e(369),()=>{const t=e;this[t(383)]=s[t(379)][t(367)][t(385)]()}),i}}function Bt(){const t=["10074534GsjJJO","_createSaveRevisionFormView","locale","_showDialog","listenTo","delegate","3447FDaZuI","2426bsiYKF","isPremiumPlugin","init","_registerMenuComponent","isReady","get","menuBar:revisionHistory","Open revision history","revisionSave","885550TsGtvB","execute","menuitem","items","RevisionTracker","_createSaveRevisionButton","buttonView","children","add","317760zxFHIA","Revision history","Dialog","show","role","low","bind","config","isReadOnly","revisionNameInputView","showRevisionViewerCallback","Cancel","Accept","submit","view","editing","2590301kJqCpf","componentFactory","errorText","plugins","_saveRevisionFormView","hide","Save current revision","7038895yRQsMC","isOpen","revisionName","panelView","The revision name cannot be empty.","render","isEnabled","revisionHistory.requireRevisionName","addMany","RevisionHistoryUI","set","menu","isOfficialPlugin","requires","saveRevision","_createOpenRevisionButton","revisionHistory","focus","reset","pluginName","15505200FbVFfk","ck-button-action","editor"];return(Bt=function(){return t})()}const Yt=Jt;function Jt(t,e){const i=Bt();return(Jt=function(t,e){return i[t-=389]})(t,e)}!function(t){const e=Jt,i=t();for(;;)try{if(903050===parseInt(e(403))/1+-parseInt(e(394))/2*(-parseInt(e(393))/3)+-parseInt(e(412))/4+-parseInt(e(435))/5+parseInt(e(458))/6+parseInt(e(428))/7+-parseInt(e(455))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt extends et.Plugin{static get[Yt(454)](){return Yt(444)}static get[Yt(447)](){return!0}static get[Yt(395)](){return!0}static get[Yt(448)](){return[bt]}[Yt(432)];[Yt(396)](){const t=Yt,e=this[t(457)],i=e[t(431)][t(399)](t(407));e.ui[t(429)][t(411)](t(451),s=>{const n=t,r=(0,xt.createDropdown)(s),o=r[n(438)][n(410)],a=new xt.ListView(s),c=new xt.ListItemView(s),u=this[n(408)](xt.ButtonView),l=new xt.ListItemView(s),h=this[n(450)](xt.ButtonView);return r[n(418)](n(441)).to(i,n(398),i,n(441),e,n(420),(t,e,i)=>t&&e&&!i),r[n(409)][n(445)]({icon:Nt.IconHistory,label:dt(s,n(413)),tooltip:!0}),u[n(445)]({withText:!0,role:n(405)}),h[n(445)]({withText:!0,role:n(405)}),this[n(391)](h,n(404),()=>{const t=n;r[t(436)]=!1,e[t(427)][t(426)][t(452)]()},{priority:n(417)}),c[n(410)][n(411)](u),l[n(410)][n(411)](h),a[n(416)]=n(446),a[n(406)][n(443)]([c,l]),o[n(411)](a),r}),e.ui[t(429)][t(411)](t(400),()=>this[t(397)]())}[Yt(397)](){const t=Yt,e=this[t(457)],i=e[t(389)],s=e[t(431)][t(399)](t(407)),n=new xt.MenuBarMenuView(i),r=new xt.MenuBarMenuListView(i);n[t(418)](t(441)).to(s,t(398),s,t(441),e,t(420),(t,e,i)=>t&&e&&!i),n[t(409)][t(445)]({icon:Nt.IconHistory,label:dt(i,t(413))});const o=new xt.MenuBarMenuListItemView(i,n),a=this[t(408)](xt.MenuBarMenuListItemButtonView);a[t(392)](t(404)).to(n),o[t(410)][t(411)](a),r[t(406)][t(411)](o);const c=new xt.MenuBarMenuListItemView(i,n),u=this[t(450)](xt.MenuBarMenuListItemButtonView);return u[t(392)](t(404)).to(n),c[t(410)][t(411)](u),r[t(406)][t(411)](c),n[t(438)][t(410)][t(411)](r),n}[Yt(408)](t){const e=Yt,i=this[e(457)],s=i[e(431)][e(399)](e(407)),n=new t(i[e(389)]);return n[e(445)]({label:dt(i[e(389)],e(434))}),n[e(418)](e(441)).to(s,e(398),s,e(441),i,e(420),(t,e,i)=>t&&e&&!i),this[e(391)](n,e(404),()=>{this[e(390)]()}),n}[Yt(450)](t){const e=Yt,i=this[e(457)],s=i[e(431)][e(399)](e(407)),n=new t(i[e(389)]);return n[e(445)]({label:dt(i[e(389)],e(401))}),n[e(418)](e(441)).to(s,e(398),i,e(420),(t,e)=>t&&!e),this[e(391)](n,e(404),()=>{const t=e;i[t(419)][t(399)](t(451))[t(422)]()}),n}[Yt(390)](){const t=Yt,e=this[t(457)],i=e[t(389)],s=e[t(431)][t(399)](t(414)),n=e[t(431)][t(399)](t(407));function r(n){const r=t;e[r(419)][r(399)](r(442))&&""===n[r(437)]?n[r(421)][r(430)]=dt(i,r(439)):(e[r(431)][r(399)](bt)[r(449)]({name:n[r(437)]}),s[r(433)]())}this[t(432)]||(this[t(459)](),this[t(432)].on(t(425),()=>r(this[t(432)]))),this[t(432)][t(453)](),s[t(415)]({id:t(402),title:dt(i,t(434)),isModal:!0,content:this[t(432)],actionButtons:[{label:dt(e[t(389)],t(423)),withText:!0,onExecute:()=>s[t(433)]()},{label:dt(e[t(389)],t(424)),class:t(456),withText:!0,onCreate(i){const s=t;i[s(418)](s(441)).to(n,s(398),n,s(441),e,s(420),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(432)])}]})}[Yt(459)](){const t=Yt,e=this[t(457)],i=e[t(389)];this[t(432)]=new $t(i,e[t(419)][t(399)](t(442))),this[t(432)][t(440)]()}}const Kt=Qt;function Qt(t,e){const i=Xt();return(Qt=function(t,e){return i[t-=130]})(t,e)}function Xt(){const t=["changeId","4170067UeqjPX","4020PatqPG","div","ck-annotation","type","44mWCVwO","setTemplate","author","ck-revision-change","580115nyZlVe","18NbzBIG","span","bindTemplate","_model","ck-revision-change__label","isSuggestion","330745IgfDHb","12087iwLzoH","Removed by","element","Suggested by","add","363DvZSYL","353731kHrRhN","data","Added by","name","11006fIhuwf","focus","ck-revision-change__","161360VTqtBp","set"];return(Xt=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(448861===-parseInt(e(149))/1+parseInt(e(134))/2*(parseInt(e(162))/3)+parseInt(e(145))/4*(-parseInt(e(156))/5)+-parseInt(e(150))/6*(-parseInt(e(130))/7)+parseInt(e(137))/8+parseInt(e(157))/9*(parseInt(e(141))/10)+parseInt(e(140))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class te extends xt.View{[Kt(139)];[Kt(153)];constructor(t,e){const i=Kt;super(t),this[i(153)]=e,this[i(139)]=e.id;const s=this[i(152)],n=dt(t,e[i(131)][i(155)]?i(160):i(161)==e[i(144)]?i(132):i(158));this[i(138)](i(144),e[i(144)]),this[i(146)]({tag:i(142),attributes:{class:[i(143),i(148),s.to(i(144),t=>i(136)+t)],tabindex:-1},children:[{tag:i(151),children:[{tag:i(151),attributes:{class:[i(154)]},children:[{text:n}]},{text:" "+e[i(147)][i(133)]}]}]})}[Kt(135)](){const t=Kt;this[t(159)][t(135)]()}}var ee=se;function ie(){var t=["276bCDBiP","10111820zSeJqV","14240RjTUda","type","54EaukLA","data","createdAt","author","583363GEhoXN","4599lxKcPx","2820QDulEb","toJSON","6038508yLjBWF","286719tySXkV","106782cyfftZ","944oigBFM","6lbVrTY","set","rootName"];return(ie=function(){return t})()}function se(t,e){var i=ie();return(se=function(t,e){return i[t-=491]})(t,e)}!function(t){for(var e=se,i=t();;)try{if(702856===-parseInt(e(495))/1+parseInt(e(496))/2*(parseInt(e(505))/3)+parseInt(e(497))/4*(-parseInt(e(492))/5)+parseInt(e(498))/6*(parseInt(e(494))/7)+-parseInt(e(503))/8*(parseInt(e(491))/9)+-parseInt(e(502))/10+parseInt(e(509))/11*(parseInt(e(501))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne extends((0,t.ObservableMixin)()){id;[ee(508)];[ee(504)];[ee(506)];[ee(500)];constructor(e){var i=ee;super(),this.id=e.id||(0,t.uid)(),this[i(508)]=e[i(508)],this[i(504)]=e[i(504)],this[i(506)]=e[i(506)]||{},this[i(500)]=e[i(500)],this[i(499)](i(507),e[i(507)])}[ee(493)](){var t=ee;return{id:this.id,authorId:this[t(508)].id,type:this[t(504)],data:this[t(506)],createdAt:this[t(507)]}}}const re=ae;function oe(){const t=["245eTRwqq","172398HtXjTO","newRevisionId","1785824FuURQq","oldRevisionId","12iDVHyI","23977750sSjvFF","add","152868uqHWek","24JEaugN","586977mqiksi","_setChanges","136505PdNYdg","changes","8731377Qersdi"];return(oe=function(){return t})()}function ae(t,e){const i=oe();return(ae=function(t,e){return i[t-=228]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(530168===parseInt(e(240))/1+parseInt(e(235))/2*(parseInt(e(238))/3)+parseInt(e(239))/4*(-parseInt(e(242))/5)+parseInt(e(231))/6*(parseInt(e(230))/7)+parseInt(e(233))/8+parseInt(e(229))/9+-parseInt(e(236))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce{[re(232)];[re(234)];[re(228)];constructor(e,i){const s=re;this[s(232)]=e,this[s(234)]=i,this[s(228)]=new t.Collection}[re(241)](t){const e=re;for(const i of t)this[e(228)][e(237)](i)}}var ue=i(434),le={attributes:{"data-cke":!0}};le.setAttributes=Ft(),le.insert=Et().bind(null,"head"),le.domAPI=Vt(),le.insertStyleElement=Lt();Rt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=pe;function de(){const t=["domConverter","editor","concat","forward","flat","end","test","ck-suggestion-marker-merge","softBreak","vid","offsetSize","_getRevisionsRange","merge","nextPosition","change:isReady","revision-viewer","-new","refresh","indexOf","return","isNavigationMode","enableReadOnlyMode","element","getLaterVisibleRevision","commands","createRangeIn","markersEnd","markers","for","values","4063128zeWrQR","_getViewForChange","filter","split","endIndex","maxOffset","data","code","attribute:vid","roots","getRevisionRootsAttributes","currentChangeNumber","_getChangeFromId","bindElementToMarker","keys","authors","isAtStart","wrap","revisionHistoryAttachChange","pop","_makeModelFromViewString","diffData","createRevision","isAdded","all","revision:","vid_end","addHighlight","isPremiumPlugin","_getDiff","showStack","downcastDispatcher","push","toViewElement","splice","pairId","repository","abs","remove","insert","_fixObsoleteTags","left","isAttached","change","addMarker:revision-suggestion:insertion","_joinTapes","_removeMissingPairs","attributesAfter","domEvent","item","setAttribute","top","adapter","checkAttribute","shift","markerToHighlight","suggestion:","deletions","includes","getCustomProperty","isRemoveSuggestion","name","dataToMarker","writer","toViewPosition","_makeModelFromTape","_appendChild","elementToAttribute","revision-comment:","createPositionBefore","startIndex","_refreshStartEndIndex","mapper","3708yUejNV","isRemoved","isOfficialPlugin","insertions","createAttributeElement","stop","compare","ck-suggestion-preview-marker","markerRange","markerName","revisionHistoryLabel","getRootNames","numberOfChanges","find","activeChange","hasClass","length","addRoot","_utils","reconvertMarker","28xvFlIS","execute","attributes","_markSuggestions","document","_processTape","_findChangeIdFromDomTarget","add","attributesBefore","hasAttribute","_markMismatchedRemovedTags","get","schema","changeId","done","_makeTape","change:activeView","ck-suggestion-marker-split","nodeAfter","insertion","6xkjYMm","isEnabled","consumable","_sortAndFilterDiffChanges","ck-suggestion-marker","revision-suggestion:","_markInsertions","mousedown","low","isContent","element:pre","_removeUnsupportedChanges","level","first","getAttribute","addMarker:revision","changes","revision-suggestion","deletion","isIncorrect","_markMarkers","removeAttribute","createRange","bottom","has","5916igamuL","isBlock","ck-revision-history-root-","change:numberOfChanges","addMarker:revision-suggestion:deletion","isAtEnd","elementEnd","userId","_data","_cleanUp","createPositionFromPath","requires","_setChanges","toViewRange","findIndex","detachRoot","_initInteractions","isInline","getRoot","catch","side","isCollapsed","markerToData","removeClass","mapViewToDom","bind","ck-revision-history-root-remove","getItems","1552840deNzuJ","backward","showPreviousChange","revision","14740rRAckO","RevisionHistoryUtils","_revisions","clear","oldRevisionId","createUIElement","ck-revision-history-root-add","model","31292yKMItz","suggestion","string","isAddSuggestion","delete","_setConversion","span","editingDowncast","isOnRoot","ck-suggestion-preview-marker-","7925183DdCeNr","WidgetToolbarRepository","_update","POSITIVE_INFINITY","range","type","enqueueChange","_balloon","newRevisionId","sort","set","_activeViewTarget","removeMarker:revision-suggestion","pluginName","getWalker","rootName","locale","addRevisionData","previousPosition","viewItem","map","loadRevisionData","change:activeChange","restoreRevisionCallback","getRevision","start","config","observeMarkers","forEach","_step","isLimit","conversion","markersStart","updatePosition","forceDisabled","getChild","data-change-id","getIndex","dataDowncast","getClientRects","plugins","consume","comment","modelRange","getAttributes","unshift","high","view","diff","unbindElementFromMarkerName","_threeWayMerge","target","upcast","isEqual","getDomRoot","304869USTXGH","highest","isAfter","from","uiElement","getRevisionDocumentData","parent","addRevision","index","addClass","ck-suggestion-marker-","startsWith","slice","isReady","editing","change:isEnabled","restoreRevision","then","isBefore","vid_start","next","isSuggestion","ck-revision-history-root--active","ck-editor__editable__overlay","removeMarker","resolve","removeMarker:revision","markerNameToElements","error","ck-suggestion-marker--active","listenTo","_cleanMarkers","distance","attachChange","_changeIdToChange","init","revisionHistory","text","destroy","isObject","showNextChange","RevisionViewer","RevisionsRepository","elementStart","_changeView","affectsData","object","right","mouseover","selection","_setDistance","activeView","nextSibling"];return(de=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(612642===parseInt(e(343))/1+parseInt(e(519))/2*(-parseInt(e(238))/3)+parseInt(e(278))/4+parseInt(e(266))/5+-parseInt(e(213))/6*(-parseInt(e(288))/7)+-parseInt(e(426))/8+parseInt(e(499))/9*(-parseInt(e(270))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);class fe extends et.Plugin{[he(462)];[he(478)]=null;[he(517)];[he(299)];[he(387)];[he(377)];[he(295)];static get[he(301)](){return he(384)}static get[he(501)](){return!0}static get[he(454)](){return!0}static get[he(249)](){return[it.Users,xt.ContextualBalloon,at,lt]}constructor(t){const e=he;super(t),this[e(462)]=this[e(397)][e(328)][e(204)](e(385)),this[e(517)]=this[e(397)][e(328)][e(204)](e(271)),this[e(298)](e(513),null),this[e(298)](e(394),null),this[e(299)]=null,this[e(298)](e(336),null),this[e(298)](e(356),!1),this[e(298)](e(214),!0),this.on(e(358),(t,i,s)=>{const n=e;this[n(513)]=null,this[n(394)]=null,this[n(397)][n(357)][n(335)][n(469)](t=>{const e=n;for(const i of this[e(397)][e(357)][e(335)][e(523)][e(435)])s?t[e(261)](e(366),i):t[e(352)](e(366),i)})}),this[e(263)](e(416)).to(this,e(513),t=>null!==t),this[e(263)](e(437)).to(this,e(356),this,e(336),this,e(513),(t,i,s)=>t&&s?i[e(229)][e(325)](s):0),this[e(263)](e(511)).to(this,e(356),this,e(336),(t,i)=>t?i[e(229)][e(515)]:0),this[e(387)]=null,this[e(377)]=new Map,this[e(295)]=this[e(397)][e(328)][e(204)](xt.ContextualBalloon)}[he(378)](){const t=he,e=this[t(397)],i=new ge(e,{direction:t(267)}),s=new ge(e,{direction:t(399)});e[t(420)][t(200)](t(268),i),e[t(420)][t(200)](t(383),s),e[t(420)][t(200)](t(359),new ve(e)),this.on(t(241),()=>{const e=t;i[e(413)](),s[e(413)]()}),this[t(283)](),this[t(254)](),e[t(417)](t(411)),e[t(328)][t(237)](t(289))&&e[t(328)][t(204)](t(289))[t(322)](t(411))}async[he(348)](t){const e=he;return await this[e(517)][e(309)](t,this[e(478)]),this[e(517)][e(348)](t)}async[he(436)](t){const e=he;return await this[e(517)][e(309)](t,this[e(478)]),this[e(517)][e(436)](t)}async[he(505)](t,e,i=!1){const s=he;if(!this[s(214)])return;const n=this[s(336)],r=this[s(462)],o=s(280)==typeof t?r[s(312)](t):t,a=s(280)==typeof e?r[s(312)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(336)]&&this[s(336)][s(296)]===c&&this[s(336)][s(274)]===u)return Promise[s(368)]();this[s(356)]=!1,this[s(394)]=null,this[s(513)]=null,this[s(336)]=new ce(c,u);const l=this[s(407)](o,a,!0)[s(308)](t=>this[s(517)][s(309)](t,this[s(478)]));return l[s(458)](new Promise(t=>{setTimeout(t,20)})),Promise[s(450)](l)[s(360)](()=>{const t=s;if(!this[t(214)])return;this[t(247)]();const e=this[t(455)](c,u);for(const i of e[t(229)])this[t(377)][t(298)](i.id,i);this[t(397)][t(277)][t(294)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(397)][s(277)][s(523)][s(510)]())i[s(253)](t);for(const t of Object[s(440)](e[s(277)])){const n=i[s(516)](t);for(const r of Object[s(440)](e[s(521)][t]))i[s(476)](r,e[s(521)][t][r],n);i[s(465)](e[s(277)][t],n,0)}}),this[t(336)][t(250)](this[t(216)](e[t(229)])),this[t(356)]=!0})[s(257)](t=>{const e=s;console[e(371)](t),this[e(247)](),n&&(this[e(336)]=n),this[e(356)]=!0})}[he(305)](t,e){const i=he,s=this[i(462)][i(448)](t);return s.on(i(290),(t,i,n)=>e(i,n,s)),this[i(462)][i(350)](s),s}[he(247)](){const t=he;this[t(513)]=null,this[t(374)](),this[t(387)]&&this[t(387)][t(381)](),this[t(387)]=null,this[t(377)][t(273)](),this[t(397)][t(277)][t(294)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(397)][i(277)][i(523)][i(510)]())e[i(253)](t)})}[he(216)](t){const e=he,i=[],s=new Map;for(const t of this[e(397)][e(277)][e(523)][e(510)]()){const n=this[e(397)][e(357)][e(335)][e(342)](t);if(!n)continue;const r=n[e(327)]()[e(475)](0);r&&(i[e(458)](t),s[e(298)](t,r))}return i[e(297)]((t,i)=>{const n=e,r=s[n(204)](t),o=s[n(204)](i);return r.y-o.y||r.x-o.x}),(t=t[e(428)](t=>i[e(484)](t[e(303)])))[e(297)]((t,s)=>i[e(414)](t[e(303)])-i[e(414)](s[e(303)])),t}[he(208)](t){const e=he,i=Array[e(346)](t[e(423)])[e(428)](([t,i])=>t[e(354)](e(451))&&!i[e(259)]),s=Array[e(346)](this[e(397)][e(277)][e(421)](t)[e(302)]({singleCharacters:!0}));if(0!=i[e(515)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(429)](":");if(n[e(401)][e(341)](t[e(409)])&&i[e(480)](),(t[e(306)][e(341)](n[e(313)])||t[e(306)][e(345)](n[e(313)]))&&(e(212)==r?t[e(449)]={userId:o}:e(231)==r&&(t[e(500)]={userId:o})),0==i[e(515)])break}return s}[he(497)](t){const e=he,i=new Map;for(let s=0;s<t[e(515)];s++)e(380)===t[s][e(293)]?(t[s][e(475)][e(496)]=s,t[s][e(475)][e(430)]=s):(e(386)===t[s][e(293)]?t[s][e(475)][e(496)]=s:e(244)===t[s][e(293)]&&(t[s][e(475)][e(430)]=s),i[e(298)](t[s].id,s));for(const s of i[e(425)]())e(386)===t[s][e(293)]?t[s][e(475)][e(430)]=i[e(204)](t[s][e(461)]):e(244)===t[s][e(293)]&&(t[s][e(475)][e(496)]=i[e(204)](t[s][e(461)]))}[he(198)](t){const e=he;for(let i=0;i<t[e(515)];i++){if(e(386)===t[i][e(293)])t[i][e(475)][e(496)]=i;else if(e(244)===t[i][e(293)]){t[i][e(475)][e(430)]=i;const s=t[i][e(475)][e(496)];t[s][e(461)]=t[i].id,t[i][e(461)]=t[s].id}else t[i][e(475)][e(496)]=i,t[i][e(475)][e(430)]=i,t[i][e(461)]=null;t[i][e(320)]||(t[i][e(320)]=[],t[i][e(422)]=[])}}[he(219)](t,e){const i=he,s=t[i(428)](t=>!t[i(449)]);for(let t=0;t<e[i(515)];t++)e[t][i(449)]&&(s[t][i(449)]=e[t][i(449)])}[he(455)](t,e=null){const i=he,s=this[i(462)][i(312)](t),n=e?this[i(462)][i(312)](e):null,r=this[i(407)](s,n),o=r[r[i(515)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(515)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(440)](e[i(447)]))if(e[i(447)][t][i(376)]){const s=e[i(447)][t][i(376)];s[i(468)]?(u[i(200)](t),l[i(237)](t)&&l[i(204)](t)[i(245)]==s[i(245)]?l[i(282)](t):l[i(298)](t,s)):l[i(237)](t)?(u[i(282)](t),l[i(282)](t)):(u[i(200)](t),l[i(298)](t,s))}else u[i(200)](t)}for(const t of u){const e=l[i(237)](t)&&!l[i(204)](t)[i(468)];let s=e?r[i(515)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(447)][t]){const s=e?o[i(447)][t][i(201)]:o[i(447)][t][i(473)];c[i(521)][t]=s?V(s):{};break}s+=n}}for(const t of r){t[i(277)]={};for(const e of t[i(441)])a[i(298)](e.id,e);for(const e of u){const s=t[i(447)][e]?t[i(447)][e][i(502)]:"[]",n=t[i(447)][e]?t[i(447)][e][i(483)]:"[]";t[i(277)][e]={insertions:this[i(517)][i(446)](s),deletions:this[i(517)][i(446)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(346)](s[i(277)][t][i(502)][i(423)])[i(428)](([t])=>!t[i(354)](i(451))));let h=0;for(const o of r){const r=this[i(208)](o[i(277)][t][i(502)]);o==s?(e=r,n=e[i(515)],e[i(316)](t=>{t.id=h++}),this[i(198)](e)):this[i(219)](e,r);const a=e[i(428)](t=>!t[i(449)])[i(308)](t=>t.id);let c=0;const l=this[i(208)](o[i(277)][t][i(483)]);l[i(316)](t=>{t[i(500)]?t.id=n++:t.id=a[c++]}),this[i(198)](l),this[i(393)](e,i(449)),this[i(393)](l,i(500)),o==s&&this[i(233)](e,u),e=this[i(471)](e,l),this[i(497)](e),this[i(393)](e,i(500))}e=e[i(428)](t=>!(t[i(449)]&&t[i(500)]));const d=new Map(o[i(277)][t][i(483)][i(423)]),f=new Set(u[i(440)]());for(const t of d[i(440)]())f[i(282)](t);this[i(522)](e,f),this[i(466)](e),e=this[i(472)](e),e=this[i(203)](e),e=this[i(224)](e);const{root:m,changes:p}=this[i(491)](e,a,t);c[i(277)][t]=m;const v=l[i(204)](t);if(v){const e=a[i(204)](v[i(245)]),s=new ne({author:e,type:v[i(468)]?i(200):i(464),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(333)](s),c[i(521)][t][i(444)]=s.id}c[i(229)]=c[i(229)][i(398)](p)}return c}[he(233)](t,e){const i=he;for(let s=0;s<t[i(515)];s++)for(const[n,r]of e)!r[i(259)]&&r[i(313)][i(341)](t[s][i(306)])&&t[s][i(320)][i(458)](n),r[i(401)][i(341)](t[s][i(409)])&&t[s][i(422)][i(458)](n)}[he(471)](t,e){const i=he;let s=[],n=0,r=0;for(;n<t[i(515)]||r<e[i(515)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(458)](o);else if(a[i(500)]&&o[i(449)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(338)](t,n,e,r);s=s[i(398)](o),n=a,r=c}else a[i(500)]?(r++,s[i(458)](a)):(n++,s[i(458)](o))}return s}[he(522)](t,e){const i=he,s=[];for(let o=0;o<t[i(515)];o++){for(let r=0;r<t[o][i(320)][i(515)];r++){const a=t[o][i(320)][r];if(!e[i(237)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(230)!=c||i(212)!=u&&i(231)!=u||(s[i(333)]({type:u,name:a,userId:l}),t[o][i(320)][i(460)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(422)][i(515)];r++){const a=t[o][i(422)][r];if(!e[i(237)](a))continue;const{group:c,type:u}=n(a);if(i(230)!=c||i(212)!=u&&i(231)!=u)continue;t[o][i(422)][i(460)](r,1),r--;const l=s[i(252)](t=>t[i(487)]==a);l>-1&&s[i(460)](l,1)}}function n(t){const e=i,s=t[e(429)](":");return{group:s[0],type:s[1],subType:s[e(515)]>=5?s[2]:null,id:s[e(515)]<5?s[2]:s[3],authorId:s[e(515)]<5?s[3]:s[4],markerCount:6==s[e(515)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(515)];i++){if(t[e(449)]&&e(212)==s[i][e(293)]&&t[e(449)][e(245)]==s[i][e(245)])return t[e(281)]=s[i],void delete t[e(449)];if(!t[e(449)]&&!t[e(500)]&&e(231)==s[i][e(293)])return void(t[e(486)]=s[i])}}}[he(393)](t,e){const i=he;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(298)](o.id,s);for(let s=0;s<t[i(515)];s++){if(i(500)==e&&t[s][i(449)]||i(449)==e&&t[s][i(500)])continue;if(i(380)==t[s][i(293)]){t[s][i(375)]=0;continue}const n=r[i(204)](t[s][i(461)]),o=r[i(204)](t[s].id);t[s][i(375)]=n-o}}[he(407)](t,e,i=!1){const s=he,n=[];let r=this[s(462)][s(325)](t),o=this[s(462)][s(325)](e);for(-1==o&&(o=this[s(462)][s(272)][s(515)],i=!1);r<o;)n[s(458)](this[s(462)][s(312)](r)),r++;return i&&n[s(458)](this[s(462)][s(312)](r)),n}[he(338)](t,e,i,s){const n=he,r=this[n(397)][n(277)][n(205)];let o=e;for(;t[o]&&t[o][n(449)];)o++;let a=s;for(;i[a]&&i[a][n(500)];)a++;u(t,e,o),u(i,s,a);const c=i[n(355)](s,a)[n(398)](t[n(355)](e,o));return c[n(297)]((t,e)=>t[n(258)]!=e[n(258)]?t[n(258)]-e[n(258)]:t[n(225)]!=e[n(225)]?t[n(225)]-e[n(225)]:t[n(375)]!=e[n(375)]?e[n(375)]-t[n(375)]:!!t[n(449)]!=!!e[n(449)]?-1==t[n(258)]||0==t[n(258)]?t[n(449)]?-1:1:t[n(449)]?1:-1:t[n(351)]-e[n(351)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(291)],c=!0;for(let n=e;n<i;n++)if(r[s(255)](t[n][s(475)])||(c=!1),t[n][s(475)][s(496)]<e&&(o=n),t[n][s(475)][s(430)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(258)]=n<=o?-1:n<a?0:1,t[n][s(351)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(375)]?t[i][s(225)]=u:(u++,t[i][s(225)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(258)]&&(t[n][s(225)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(375)]?t[e][s(225)]=u:(u--,t[e][s(225)]=u,u--)}}[he(466)](t){const e=he,i=new Map,s=this[e(397)][e(277)][e(205)];for(let n=1;n<t[e(515)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(380)==c[e(293)])continue;if(c[e(293)]!=u[e(293)])continue;if(!s[e(239)](u[e(475)])||s[e(318)](u[e(475)]))continue;if(!s[e(239)](c[e(475)])||s[e(318)](c[e(475)]))continue;if((t[n][e(449)]||t[n][e(281)])&&t[n-1][e(500)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(500)]||!t[n-1][e(449)]&&!t[n-1][e(281)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(225)]==o[e(225)],h=Math[e(463)](r[e(225)])<Math[e(463)](o[e(225)])&&0==o[e(375)];(l||h)&&(i[e(298)](o.id,r.id),t[e(460)](a,1),n--,r[e(449)]=!1)}for(let s=0;s<t[e(515)];s++)i[e(237)](t[s][e(461)])&&(t[s][e(461)]=i[e(204)](t[s][e(461)]))}[he(472)](t){const e=he,i=new Set(t[e(308)](t=>t.id));for(let s=0;s<t[e(515)];s++)i[e(237)](t[s][e(461)])||0==t[s][e(375)]||(t[s][e(232)]=!0);return t[e(428)](t=>!t[e(232)])}[he(203)](t){const e=he,i=new Set;for(let s=0;s<t[e(515)];s++){if(i[e(237)](t[s].id)&&t[s][e(500)]&&(t[s][e(232)]=!0),t[s][e(232)])continue;if(0==t[s][e(375)])continue;if(e(386)!=t[s][e(293)])continue;if(null==t[s][e(461)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(461)];)e(386)==t[n][e(293)]?r++:e(244)==t[n][e(293)]&&r--,n++;if(0!=r)if(t[s][e(500)])t[s][e(232)]=!0;else for(;n!=s;)t[n][e(500)]&&0!=t[n][e(375)]&&(t[n][e(232)]=!0,i[e(200)](t[n][e(461)])),n--}return t[e(428)](t=>!t[e(232)])}[he(224)](t){const e=he,i=this[e(397)][e(277)][e(205)];for(let s=0;s<t[e(515)];s++){if(!(t[s][e(449)]||t[s][e(281)]||t[s][e(500)]||t[s][e(486)]))continue;if(0==t[s][e(375)])continue;const n=t[s][e(475)];i[e(239)](n)||i[e(318)](n)||(t[s][e(449)]&&delete t[s][e(449)],t[s][e(281)]&&delete t[s][e(281)],t[s][e(486)]&&delete t[s][e(486)],t[s][e(500)]&&(t[s][e(232)]=!0))}return t[e(428)](t=>!t[e(232)])}[he(491)](t,e,i){const s=he,n=new st.ModelDocumentFragment,r=[],o=new Map,a=this[s(397)][s(277)],c=a[s(205)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(515)];e++)if(s(386)===t[e][s(293)]){t[e][s(306)]=a[s(248)](n,f);const i=new st.ModelElement(t[e][s(475)][s(487)],t[e][s(475)][s(332)]());u[0][s(492)](i),f[s(458)](0),u[s(333)](i),t[e][s(409)]=a[s(248)](n,f)}else s(244)===t[e][s(293)]?(u[s(480)](),t[e][s(306)]=a[s(248)](n,f),f[s(445)](),f[f[s(515)]-1]++,t[e][s(409)]=a[s(248)](n,f)):(t[e][s(306)]=a[s(248)](n,f),d?d[s(246)]+=t[e][s(475)][s(432)]:d=new st.ModelText(t[e][s(475)][s(432)],t[e][s(475)][s(332)]()),t[e+1]&&s(380)===t[e+1][s(293)]&&v(d,t[e+1][s(475)])||(u[0][s(492)](d),d=null),f[f[s(515)]-1]+=t[e][s(475)][s(406)],t[e][s(409)]=a[s(248)](n,f));for(let e=0;e<t[s(515)];e++){const i=t[e][s(306)],n=t[e][s(409)];for(const n of t[e][s(320)])o[s(298)](n,{start:i,end:null});m(s(486),e,i,n),m(s(281),e,i,n),m(s(500),e,i,n),m(s(449),e,i,n);for(const i of t[e][s(422)]){const t=o[s(204)](i);t?t[s(401)]=n:o[s(298)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(397)][s(277)][s(235)](e[s(313)],e[s(401)]);n[s(423)][s(298)](t,i)}return r[s(297)]((t,e)=>{const i=s,r=n[i(423)][i(204)](i(451)+t.id),o=n[i(423)][i(204)](i(451)+e.id);return r[i(313)][i(361)](o[i(313)])?-1:r[i(313)][i(345)](o[i(313)])?1:r[i(401)][i(361)](o[i(401)])?-1:r[i(401)][i(345)](o[i(401)])?1:i(200)===t[i(293)]?-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(245)]:null,d=i===t[o(515)]-1,f=h[e][0],m=c[o(382)](t[i][o(475)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(401)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(245)]!==u&&(l[e][o(401)]=n,f&&f[o(245)]===l[e][o(245)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(386)!==t[i][o(293)]||f&&f[o(245)]===u||h[e][o(333)]({userId:u,object:t[i][o(475)],change:l[e]}),o(244)===t[i][o(293)]&&f&&f[o(389)]===t[i][o(475)]&&(h[e][o(480)](),l[e]=f[o(469)])),l[e]&&d&&(l[e][o(401)]=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(475)],f=a[h(205)][h(239)](d)&&!a[h(205)][h(318)](d),m=t[h(211)]==o[h(349)]&&o[h(442)];if(f&&m)return;const p=a[h(235)](t,o),v=e[h(204)](u),g=new ne({author:v,type:h(449)==l||h(281)==l?h(200):h(464),data:{isSuggestion:h(281)==l||h(486)==l},createdAt:new Date,rootName:i});r[h(458)](g),n[h(423)][h(298)](h(451)+g.id,p)}function v(t,e){const i=s,n=t[i(332)](),r=e[i(332)]();for(const t of n){if(t[1]!==e[i(227)](t[0]))return!1;r[i(363)]()}return r[i(363)]()[i(207)]}}[he(283)](){const t=he;this[t(397)][t(319)][t(424)](t(340))[t(488)]({view:t(269)}),this[t(397)][t(319)][t(424)](t(285))[t(481)]({model:t(269),view:e=>{const i=t,s=e[i(508)][i(429)](":")[1],n=this[i(438)](s);if(!n)return null;const r=i(200)==n[i(293)]?i(212):i(231),o=[i(217),i(353)+r];return n[i(432)][i(364)]&&o[i(458)](i(353)+r+i(412)),this[i(513)]==n&&o[i(458)](i(372)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(397)][t(319)][t(424)](t(340))[t(200)](e=>{const i=t;e.on(i(223),(t,e,s)=>{const n=i,r=e[n(307)][n(323)](0);if(!r||!r.is(n(418),n(433)))return;if(!s[n(215)][n(329)](r,{attributes:[n(362),n(452)]}))return;const o=e[n(331)][n(313)][n(211)];s[n(489)][n(476)](n(362),r[n(227)](n(362)),o),s[n(489)][n(476)](n(452),r[n(227)](n(452)),o)},{priority:i(221)})}),this[t(397)][t(319)][t(424)](t(340))[t(200)](e=>{const i=t;e.on(i(418),(t,e,s)=>{const n=i;if(!s[n(215)][n(329)](e[n(307)],{attributes:[n(362),n(452)]}))return;if(e[n(331)][n(259)])return;const r=e[n(331)][n(313)][n(211)];r[n(202)](n(362))||r[n(202)](n(405))||(s[n(489)][n(476)](n(362),e[n(307)][n(227)](n(362)),r),s[n(489)][n(476)](n(452),e[n(307)][n(227)](n(452)),r))},{priority:i(221)})}),this[t(397)][t(319)][t(424)](t(340))[t(493)]({view:{name:t(284),attributes:{vid:!0}},model:{key:t(405),value:e=>e[t(227)](t(405))}}),this[t(397)][t(277)][t(205)].on(t(479),(e,[,i])=>{const s=t;[s(362),s(452),s(405)][s(484)](i)&&(e[s(415)]=!0,e[s(504)]())},{priority:t(344)}),this[t(397)][t(319)][t(424)](t(326))[t(200)](e=>{const i=t;e.on(i(434),(t,e,s)=>{const n=i;if(" "!=e[n(475)][n(432)]||e[n(475)][n(349)][n(431)]>1)return;if(!s[n(215)][n(329)](e[n(475)],t[n(487)]))return;const r=s[n(489)],o=s[n(498)][n(251)](e[n(292)]);r[n(443)](o,r[n(503)](n(284)))})}),this[t(397)][t(319)][t(424)](t(326))[t(260)]({model:t(269)}),this[t(397)][t(357)][t(457)].on(t(228),function(e){const i=t,s=e[i(328)][i(204)](i(384));return(t,n,r)=>{const o=i,a=n[o(508)][o(429)](":")[1],c=s[o(438)](a);if(!c)return null;const u=o(200)==c[o(293)]?o(429):o(408);if(!r[o(215)][o(402)](n[o(507)],t[o(487)]))return;const l=n[o(507)][o(302)](),h=n[o(507)][o(313)],d=e[o(277)][o(205)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(475)];p=p||d[o(222)](e);const i=r[o(498)][o(459)](e);if(i&&i[o(485)](o(453)))return;o(244)==t[o(293)]&&d[o(239)](e)&&!d[o(318)](e)&&(e[o(395)]||h[o(243)]?f&&f[o(349)]==e||(f=e,g(t[o(306)]),v=!0):m=m||t[o(306)])}function g(t){const e=o,i=r[e(489)][e(275)](e(284),{class:e(353)+u}),a=r[e(498)][e(490)](t);c[e(432)][e(364)]&&r[e(489)][e(352)](e(353)+u+e(412),i),s[e(513)]==c&&r[e(489)][e(352)](e(372),i),r[e(489)][e(465)](a,i),r[e(498)][e(439)](i,n[e(508)])}p||v||!m||g(m)}}(this[t(397)]),{priority:t(334)}),this[t(397)][t(357)][t(457)].on(t(369),(e,i,s)=>{const n=t,r=s[n(498)][n(370)](i[n(508)]);if(r)for(const t of r)(t[n(514)](n(210))||t[n(514)](n(403)))&&(s[n(498)][n(337)](t,i[n(508)]),s[n(489)][n(464)](t))},{priority:t(334)}),this[t(397)][t(357)][t(457)].on(t(228),(e,i,s)=>{const n=t,r=i[n(508)][n(429)](":")[1],o=this[n(438)](r);if(!o)return null;const a=n(200)==o[n(293)]?n(429):n(408);if(s[n(215)][n(402)](i[n(507)],e[n(487)]))for(const t of i[n(507)][n(265)]()){if(!t.is(n(418),n(404)))continue;const e=s[n(489)][n(275)](n(284),{class:n(353)+a}),r=s[n(498)][n(490)](this[n(397)][n(277)][n(495)](t));o[n(432)][n(364)]&&s[n(489)][n(352)](n(353)+a+n(412),e),this[n(513)]==o&&s[n(489)][n(352)](n(372),e),s[n(489)][n(465)](r,e),s[n(498)][n(439)](e,i[n(508)])}},{priority:t(334)}),this[t(397)][t(277)][t(523)].on(t(469),()=>{const e=t;this[e(397)][e(357)][e(335)][e(469)](t=>{const i=e;for(const e of this[i(397)][i(277)][i(523)][i(510)]()){const s=this[i(397)][i(277)][i(523)][i(256)](e),n=this[i(397)][i(357)][i(335)][i(523)][i(256)](e);if(n){const e=s[i(227)](i(444));if(t[i(234)](i(324),n),t[i(261)](i(276),n),t[i(261)](i(264),n),t[i(261)](i(365),n),e){const s=this[i(438)](e);if(!s)return null;t[i(476)](i(324),e,n),t[i(352)](i(240)+s[i(293)],n),this[i(513)]==s&&t[i(352)](i(365),n)}}}})}),this[t(397)][t(319)][t(424)](t(340))[t(488)]({view:t(330),model:e=>t(494)+e,converterPriority:t(344)}),this[t(397)][t(319)][t(424)](t(340))[t(488)]({view:t(279),model:e=>t(218)+e,converterPriority:t(344)}),this[t(397)][t(319)][t(424)](t(326))[t(260)]({model:t(230),view:e=>({name:t(482)+e,group:t(230)}),converterPriority:t(344)}),this[t(397)][t(319)][t(424)](t(285))[t(481)]({model:t(230),view:e=>{const i=t,s=e[i(508)][i(429)](":")[1];return i(212)!=s&&i(231)!=s?null:{classes:[i(506),i(287)+s]}}}),this[t(397)][t(357)][t(457)].on(t(242),me(this[t(397)],t(408)),{priority:t(334)}),this[t(397)][t(357)][t(457)].on(t(470),me(this[t(397)],t(429)),{priority:t(334)}),this[t(397)][t(357)][t(457)].on(t(300),(e,i,s)=>{const n=t,r=s[n(498)][n(370)](i[n(508)]);if(r)for(const t of r)t.is(n(347))&&(s[n(498)][n(337)](t,i[n(508)]),s[n(489)][n(464)](t))},{priority:t(334)})}[he(438)](t){const e=he;return this[e(377)][e(204)](t)}[he(427)](t){const e=he;return this[e(387)]&&this[e(387)][e(381)](),this[e(387)]=new te(this[e(397)][e(304)],t),this[e(387)]}[he(254)](){const t=he;this[t(397)][t(277)][t(523)][t(392)][t(315)](t(269)),this.on(t(209),(e,i,s,n)=>{const r=t;n&&this[r(295)][r(464)](n),s&&(this[r(295)][r(200)]({view:s,stackId:r(509),position:{target:()=>{const t=r,e=this[t(397)][t(357)],i=this[t(438)](s[t(206)]);let n;if(i[t(432)][t(286)]){const s=e[t(335)][t(342)](i[t(303)]);n=Array[t(346)](s[t(327)]())}else{const i=this[t(397)][t(277)][t(423)][t(204)](t(451)+s[t(206)]);n=Array[t(346)](e[t(498)][t(370)](i[t(487)]))[t(308)](i=>e[t(335)][t(396)][t(262)](i))[t(308)](e=>Array[t(346)](e[t(327)]()))[t(400)]()}return this[t(299)]&&n[t(512)](e=>e[t(477)]-3<=this[t(299)].y&&e[t(236)]+3>=this[t(299)].y&&e[t(467)]-3<=this[t(299)].x&&e[t(390)]+3>=this[t(299)].x)||n[0]}}}),this[r(295)][r(456)](r(509)))}),this.on(t(310),(e,i,s,n)=>{const r=t;this[r(394)]=s?this[r(427)](s):null,this[r(397)][r(277)][r(469)](()=>{const t=r,e=this[t(397)][t(357)];n&&(n[t(432)][t(286)]?e[t(335)][t(469)](i=>{const s=t;i[s(261)](s(365),e[s(335)][s(523)][s(256)](n[s(303)]))}):e[t(518)](t(451)+n.id)),s&&(s[t(432)][t(286)]?e[t(335)][t(469)](i=>{const n=t;i[n(352)](n(365),e[n(335)][n(523)][n(256)](s[n(303)]))}):e[t(518)](t(451)+s.id))})}),this[t(373)](this[t(397)][t(357)][t(335)][t(523)],t(391),(e,i)=>{const s=t;if(this[s(513)])return;const n=this[s(199)](i[s(339)]),r=this[s(377)][s(204)](n);r?(this[s(299)]={x:i[s(474)].x,y:i[s(474)].y},this[s(394)]=this[s(427)](r)):(this[s(299)]=null,this[s(394)]=null)}),this[t(373)](this[t(397)][t(357)][t(335)][t(523)],t(220),(e,i)=>{const s=t,n=this[s(199)](i[s(339)]),r=this[s(377)][s(204)](n);r?(this[s(299)]={x:i[s(474)].x,y:i[s(474)].y},r===this[s(513)]?this[s(295)][s(321)]():this[s(513)]=r):(this[s(299)]=null,this[s(513)]=null)})}[he(199)](t){const e=he;do{const i=t[e(227)](e(324));if(i)return i;t=t[e(349)]}while(t);return null}[he(374)](){const t=he;this[t(397)][t(277)][t(469)](e=>{const i=t;for(const t of this[i(397)][i(277)][i(423)])e[i(367)](t)})}}function me(t,e){return(i,s,n)=>{const r=pe;if(!n[r(215)][r(402)](s[r(507)],i[r(487)]))return;const o=s[r(507)][r(302)](),a=s[r(507)][r(313)],c=t[r(277)][r(205)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(475)];h=h||c[r(222)](e);const i=n[r(498)][r(459)](e);if(i&&i[r(485)](r(453)))return;r(244)==t[r(293)]&&c[r(239)](e)&&!c[r(318)](e)&&(e[r(395)]||a[r(243)]?u&&u[r(349)]==e||(u=e,f(t[r(306)]),d=!0):l=l||t[r(306)])}function f(t){const i=r,o=n[i(498)][i(490)](t),a=n[i(489)][i(275)](i(284),{class:i(287)+e});n[i(489)][i(465)](o,a),n[i(498)][i(439)](a,s[i(508)])}h||d||!l||f(l)}}function pe(t,e){const i=de();return(pe=function(t,e){return i[t-=198]})(t,e)}class ve extends et.Command{constructor(t){const e=he;super(t);const i=t[e(328)][e(204)](fe);this[e(388)]=!1,this[e(373)](i,e(410),()=>this[e(413)]()),this[e(373)](i,e(358),()=>this[e(413)]())}[he(520)](){const t=he,e=this[t(397)],i=e[t(328)][t(204)](fe),s=i[t(356)]?i[t(336)][t(296)]:null;e[t(314)][t(204)](t(379))[t(311)](s)}[he(413)](){const t=he,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(397)][t(328)][t(204)](fe),r=n&&s[t(419)](n[t(296)]);this[t(214)]=e&&i&&Boolean(r)}}class ge extends et.Command{[he(317)];constructor(t,{direction:e}){const i=he;super(t);const s=t[i(328)][i(204)](fe);this[i(388)]=!1,this[i(317)]=i(399)===e?1:-1,this[i(373)](s,i(410),()=>this[i(413)]()),this[i(373)](s,i(358),()=>this[i(413)]()),this[i(373)](s,i(310),()=>this[i(413)]())}[he(520)](){const e=he,i=this[e(397)],s=i[e(328)][e(204)](fe),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(513)]=n?s[e(336)][e(229)][e(204)](r+this[e(317)]):s[e(336)][e(229)][e(226)],s[e(513)][e(432)][e(286)])o=i[e(357)][e(335)][e(342)](s[e(513)][e(303)]);else{const t=i[e(277)][e(423)][e(204)](e(451)+s[e(513)].id);o=(0,it.getMarkerDomElement)(i[e(357)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[he(413)](){const t=he,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(397)][t(328)][t(204)](fe);this[t(214)]=!!(r&&n&&s)&&(!e||(1===this[t(317)]?i<s-1:i>0))}}var ye=i(522),ke={attributes:{"data-cke":!0}};ke.setAttributes=Ft(),ke.insert=Et().bind(null,"head"),ke.domAPI=Vt(),ke.insertStyleElement=Lt();Rt()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(){const t=["div","forward","No changes","6JhLvMp","backward","isBackwardNavigationEnabled","isForwardNavigationEnabled","69588Usugwt","2577969Ywfarj","ck-revision-history-ui__changes-navigation","set","Show previous change","execute","EDIT_X_OF_Y_REVISIONS","setTemplate","48231fuzaRu","5GPNdKn","isNavigationMode","Loading...","_statusText","isReady","bind","ck-hidden","NUMBER_OF_CHANGES","currentChangeNumber","804tOPchK","Show next change","span","_isStatusLabelVisible","fire","175844RmndZx","1847600dkFgep","ck-revision-history-ui__changes-navigation__label","14042qvCQkb","isEnabled","ck-revision-history-ui","bindTemplate","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation__navigation","numberOfChanges","Total","2605830FojoqI"];return(be=function(){return t})()}function we(t,e){const i=be();return(we=function(t,e){return i[t-=210]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(157006===parseInt(e(246))/1+parseInt(e(219))/2*(-parseInt(e(231))/3)+-parseInt(e(223))/4*(-parseInt(e(232))/5)+-parseInt(e(241))/6*(-parseInt(e(249))/7)+-parseInt(e(247))/8+-parseInt(e(224))/9+parseInt(e(215))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);class _e extends xt.View{constructor(t){const e=we;super(t);const i=this[e(252)],s=new xt.ButtonView(t),n=new xt.ButtonView(t);this[e(226)](e(233),!1),this[e(226)](e(236),!1),this[e(226)](e(240),0),this[e(226)](e(213),0),this[e(226)](e(222),!1),this[e(226)](e(221),!1),this[e(237)](e(244)).to(this,e(236),this,e(213),(t,e)=>t&&e>0),this[e(237)](e(235)).to(this,e(236),this,e(240),this,e(213),this,e(233),(i,s,n,r)=>{const o=e;if(!i)return dt(t,o(234));if(!n)return dt(t,o(218));const a=dt(t,o(239),n);return r?dt(t,o(210),[s+1,n]):a}),s[e(226)]({label:dt(t,e(227)),tooltip:!0,icon:Nt.IconChevronUp}),n[e(226)]({label:dt(t,e(242)),tooltip:!0,icon:Nt.IconChevronDown}),s[e(237)](e(250)).to(this,e(221)),n[e(237)](e(250)).to(this,e(222)),s.on(e(228),()=>this[e(245)](e(228),e(220))),n.on(e(228),()=>this[e(245)](e(228),e(217))),this[e(230)]({tag:e(216),attributes:{class:["ck",e(251),e(225)]},children:[{tag:e(243),attributes:{class:[e(211)]},children:[{tag:e(243),attributes:{class:[e(248),i.if(e(244),e(238),t=>!t)]},children:[{text:i.to(e(233),i=>i?dt(t,e(229))+": ":dt(t,e(214))+": ")}]},{text:i.to(e(235))}]},new xt.ToolbarSeparatorView,{tag:e(216),attributes:{class:[e(212)]},children:[s,n]}]})}}var Ie=i(418),Se={attributes:{"data-cke":!0}};Se.setAttributes=Ft(),Se.insert=Et().bind(null,"head"),Se.domAPI=Vt(),Se.insertStyleElement=Lt();Rt()(Ie.A,Se);Ie.A&&Ie.A.locals&&Ie.A.locals;function Oe(){const t=["editing","hide","ck-editor__editable__loading-overlay","isPremiumPlugin","document","5zZtcwi","3294018JjAcBe","view","438849UIvItY","288LyHxoZ","removeClass","422546YPXWwu","show","roots","2108106yQCbVx","RevisionViewerLoadingOverlay","editor","change","pluginName","2110972lZqmnd","112224lgbyYv","isOfficialPlugin","20dAsLGr","90296LpsjAX","6QRoCYt","addClass"];return(Oe=function(){return t})()}function Te(t,e){const i=Oe();return(Te=function(t,e){return i[t-=403]})(t,e)}const Ne=Te;!function(t){const e=Te,i=t();for(;;)try{if(302416===parseInt(e(404))/1+parseInt(e(418))/2*(parseInt(e(405))/3)+parseInt(e(426))/4*(-parseInt(e(412))/5)+-parseInt(e(413))/6+-parseInt(e(427))/7*(-parseInt(e(416))/8)+-parseInt(e(415))/9*(-parseInt(e(403))/10)+parseInt(e(421))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);const xe=Ne(409);class Ae extends et.Plugin{static get[Ne(425)](){return Ne(422)}static get[Ne(428)](){return!0}static get[Ne(410)](){return!0}[Ne(419)](){const t=Ne,e=this[t(423)][t(407)][t(414)];e[t(424)](i=>{const s=t;for(const t of e[s(411)][s(420)])i[s(406)](xe,t)})}[Ne(408)](){const t=Ne,e=this[t(423)][t(407)][t(414)];e[t(424)](i=>{const s=t;for(const t of e[s(411)][s(420)])i[s(417)](xe,t)})}}const Re=Ve;function Me(){const t=["isForwardNavigationEnabled","exitToEditing","hide","ck-revision-history-ui__back-to-editing","change:isReady","25074eszXEK","execute","isReady","plugins","isNavigationMode","302616NIVIxu","requires","isBackwardNavigationEnabled","isPremiumPlugin","3225rhKsDF","RevisionViewerUI","218215rNvWfX","config","show","add","110ecXixE","editor","get","4IlFQAu","numberOfChanges","set","isEnabled","bind","listenTo","forward","currentChangeNumber","198430yeZdkB","isOfficialPlugin","closeRevisionViewerCallback","2fBpfnK","showPreviousChange","componentFactory","pluginName","Back to editing","25804EiazoM","921739JChZQd","Restore this revision","showNextChange","544HFbUqJ","revisionHistory","init","commands","restoreRevision","changesNavigation"];return(Me=function(){return t})()}function Ve(t,e){const i=Me();return(Ve=function(t,e){return i[t-=156]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(106987===-parseInt(e(168))/1*(parseInt(e(163))/2)+-parseInt(e(192))/3+parseInt(e(201))/4*(parseInt(e(194))/5)+-parseInt(e(188))/6+parseInt(e(169))/7+-parseInt(e(172))/8*(parseInt(e(183))/9)+parseInt(e(160))/10*(parseInt(e(198))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class De extends et.Plugin{static get[Re(166)](){return Re(193)}static get[Re(161)](){return!0}static get[Re(191)](){return!0}static get[Re(189)](){return[fe,Ae]}[Re(174)](){const t=Re,e=this[t(199)],i=e[t(186)][t(200)](fe),s=e[t(186)][t(200)](Ae);e.ui[t(165)][t(197)](t(179),i=>{const s=t,n=new xt.ButtonView(i);return n[s(203)]({label:dt(i,s(167)),icon:Nt.IconUndo,withText:!0,tooltip:!0,class:s(181)}),this[s(157)](n,s(184),()=>{const t=s;e[t(195)][t(200)](t(173))[t(162)]()}),n}),e.ui[t(165)][t(197)](t(176),i=>{const s=t,n=new xt.ButtonView(i);return n[s(203)]({label:dt(i,s(170)),withText:!0,tooltip:!0}),n[s(156)](s(204)).to(e[s(175)][s(200)](s(176))),this[s(157)](n,s(184),()=>e[s(184)](s(176))),n}),e.ui[t(165)][t(197)](t(177),s=>{const n=t,r=new _e(s),o=e[n(175)][n(200)](n(164)),a=e[n(175)][n(200)](n(171));return r[n(156)](n(190)).to(o,n(204)),r[n(156)](n(178)).to(a,n(204)),r[n(156)](n(185),n(159),n(202),n(187)).to(i),this[n(157)](r,n(184),(t,i)=>{const s=n;e[s(184)](s(158)===i?s(171):s(164))}),r}),s[t(196)](),i.on(t(182),(e,i,n)=>{const r=t;n?s[r(180)]():s[r(196)]()})}}var Ee=i(223),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=Ft(),Ce.insert=Et().bind(null,"head"),Ce.domAPI=Vt(),Ce.insertStyleElement=Lt();Rt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;const Fe=Le;function je(){const t=["set","1773745BSznKd","468180MVrzVI","3855472CAtJkV","render","753hWOaze","22751zwdidN","span","extendTemplate","ck-tooltip_multi-line","bindTemplate","5068134sVSrgK","placeholder","7YwCBtT","input","clientWidth","value","ck-revision-history-sidebar__revision-name","_tooltipString","Enter the revision name","_resizeObserver","1059666TScKuR","2162RPRmPf","listenTo","element","_updateTooltipText","Revision name","scrollWidth","destroy","fieldView","30JXdXAH"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=389]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(618179===-parseInt(e(413))/1+-parseInt(e(398))/2*(parseInt(e(412))/3)+-parseInt(e(409))/4+-parseInt(e(408))/5+-parseInt(e(397))/6*(-parseInt(e(389))/7)+-parseInt(e(410))/8+-parseInt(e(418))/9*(-parseInt(e(406))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends xt.LabeledFieldView{[Fe(396)]=null;constructor(t,e){const i=Fe;super(t,e);const s=this[i(417)];this[i(407)]({label:dt(t,i(402)),_tooltipString:""}),this[i(405)][i(419)]=dt(t,i(395)),this[i(415)]({tag:i(414),attributes:{class:[i(393)],"data-cke-tooltip-text":s.to(i(394)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(416)}})}[Fe(411)](){const e=Fe;super[e(411)](),this[e(396)]=new t.ResizeObserver(this[e(405)][e(400)],()=>this[e(401)]()),this[e(399)](this[e(405)],e(390),()=>this[e(401)]())}[Fe(404)](){const t=Fe;super[t(404)](),this[t(396)]&&this[t(396)][t(404)]()}[Fe(401)](){const t=Fe,e=this[t(405)][t(400)];this[t(394)]=e[t(403)]>e[t(391)]&&e[t(392)]||""}}var ze=i(443),We={attributes:{"data-cke":!0}};We.setAttributes=Ft(),We.insert=Et().bind(null,"head"),We.domAPI=Vt(),We.insertStyleElement=Lt();Rt()(ze.A,We);ze.A&&ze.A.locals&&ze.A.locals;function Ue(){const t=["2617950wsVlYR","38420556FMTcIN","Revision author","ck-revision-history-sidebar__revision-author","name","11TIUAhp","ck-revision-history-sidebar__revision-author__name","9pjWuSk","20HrOEjO","setTemplate","push","9929718kRwHDt","63142jKkjHJ","474792ysAwNI","0 0 11 10","Revision creator","set","230540IONUfH","10SxnseA","3089415lUFwBJ","span","24roFahQ","ck-revision-history-sidebar__revision-author_creator"];return(Ue=function(){return t})()}function Ze(t,e){const i=Ue();return(Ze=function(t,e){return i[t-=489]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(889267===parseInt(e(492))/1*(-parseInt(e(511))/2)+parseInt(e(510))/3*(parseInt(e(493))/4)+-parseInt(e(497))/5+parseInt(e(503))/6+-parseInt(e(499))/7*(parseInt(e(501))/8)+-parseInt(e(491))/9*(parseInt(e(498))/10)+-parseInt(e(508))/11*(-parseInt(e(504))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class He extends xt.View{constructor(t,e,i){const s=Ze;super(t);const n=new xt.IconView;n[s(496)]({content:Nt.IconUser,viewBox:s(494)});const r=["ck",s(506)];i&&r[s(490)](s(502));const o=[{tag:s(500),attributes:{class:["ck",s(509)],title:dt(t,s(i?495:505))},children:[n,e[s(507)]]}];this[s(489)]({tag:"li",attributes:{class:r},children:o})}}function qe(t,e){var i=$e();return(qe=function(t,e){return i[t-=410]})(t,e)}function $e(){var t=["toLocaleTimeString","186kAbtli","17592trUznV","long","4422192yOkdqc","8668290lFQMdd","1506yIvdmY","toLocaleDateString","7zejvZB","38217wKFRKW","1158508KqGRlh","4225743CtEEiO","numeric","5335IyTuyK"];return($e=function(){return t})()}!function(t){for(var e=qe,i=t();;)try{if(280997===-parseInt(e(418))/1+parseInt(e(411))/2*(parseInt(e(410))/3)+parseInt(e(419))/4+-parseInt(e(422))/5*(-parseInt(e(415))/6)+parseInt(e(417))/7*(parseInt(e(413))/8)+-parseInt(e(420))/9+-parseInt(e(414))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var Be=i(433),Ye={attributes:{"data-cke":!0}};Ye.setAttributes=Ft(),Ye.insert=Et().bind(null,"head"),Ye.domAPI=Vt(),Ye.insertStyleElement=Lt();Rt()(Be.A,Ye);Be.A&&Be.A.locals&&Be.A.locals;function Je(){const t=["499179aNudYc","name","listenTo","menu","stopPropagation","function","button","isVisible","isOpen","isActionsDropdownOpen","5188842POZuVP","bind","1513216ecAktG","model","Compare against selected","388724SUnjeO","execute","Name this revision","Restore this revision","1459120dqxwqf","isEnabled","menuitem","class","buttonView","_action","find","panelPosition","items","set","change:isActionsDropdownOpen","1508068joIzLS","action","ck-on","4rrVXDh","first","listView","Show more items","isReady","41188800LjsGBh","add","extendTemplate","children","114YnPhre","bindTemplate","map","ck-revision-history-sidebar__revision__actions","5NjSmrM","source","locale"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=441]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(794731===-parseInt(e(475))/1+-parseInt(e(489))/2*(-parseInt(e(456))/3)+-parseInt(e(486))/4*(parseInt(e(453))/5)+parseInt(e(449))/6*(-parseInt(e(471))/7)+-parseInt(e(468))/8+-parseInt(e(466))/9+parseInt(e(445))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);var Ke=i(898),Qe={attributes:{"data-cke":!0}};Qe.setAttributes=Ft(),Qe.insert=Et().bind(null,"head"),Qe.domAPI=Vt(),Qe.insertStyleElement=Lt();Rt()(Ke.A,Qe);Ke.A&&Ke.A.locals&&Ke.A.locals;const Xe=ti;function ti(t,e){const i=ei();return(ti=function(t,e){return i[t-=456]})(t,e)}function ei(){const t=["select","169977NBlVrI","isReady","ck-revision-history-sidebar__actions_dropdown_open","filter","unshift","220","createdAt","ck-revision-history-sidebar__revision-wrapper","10zQNEDT","isHighlighted","value","isActionsDropdownOpen","revisionNameView","deselect","fire","closest","revisionActionsView","bind",".ck-confirm-view","34888ZGcWWR","creator","setName","_requireRevisionName","ck-revision-history-sidebar__revision__date","map","uiLanguage","highlight","length","extendTemplate","div","bindTemplate","change","isSelected","1710455leRynU","unhighlight","authors","isEnabled","listenTo","setTemplate","srcElement","set","1414440aIrPZD","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","18wKhRLN","fieldView","name","ck-revision-history-sidebar__revision_highlighted","ck-reset","35253EWGIca","962112mDpNnb","ck-revision-history-sidebar__revision","ck-disabled","from","_revision","isConfirm","1430960wnvgHx","element","span","_createdAtFormatted","ck-revision-history-sidebar__revision-authors","6SMXZCo","ck-revision-history-sidebar__revision_selected","render"];return(ei=function(){return t})()}!function(t){const e=ti,i=t();for(;;)try{if(306025===-parseInt(e(487))/1+-parseInt(e(495))/2*(parseInt(e(471))/3)+parseInt(e(463))/4+-parseInt(e(520))/5*(-parseInt(e(483))/6)+parseInt(e(506))/7+parseInt(e(472))/8+-parseInt(e(466))/9*(parseInt(e(478))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ei);class ii extends((0,it.ConfirmMixin)(xt.View)){id;[Xe(499)];[Xe(503)];[Xe(476)];[Xe(509)];constructor(e,i,s,n){const r=Xe;super(e);const o=this[r(517)],a=function(t,e){const i=r,s=Array[i(475)](e[i(457)])[i(490)](t=>t!=e[i(507)]);return e[i(507)]&&s[i(491)](e[i(507)]),s[i(511)](s=>new He(t,s,s==e[i(507)]))}(e,i);this.id=i.id,this[r(476)]=i,this[r(509)]=n,this[r(504)](r(468),r(493)).to(i),this[r(504)](r(481)).to(this,r(493),t=>{return i=e[r(512)],(s=t)[(n=qe)(416)](i,{month:n(412),day:n(421)})+", "+s[n(423)](i,{hour:n(421),minute:n(421)});var i,s,n}),this[r(462)](r(519),!1),this[r(462)](r(496),!1),this[r(462)](r(498),!1),this[r(462)](r(488),!1),this[r(462)](r(458),!1),this[r(499)]=new Pe(e,xt.createLabeledInputText),this[r(499)][r(467)][r(515)]({attributes:{maxlength:r(492)}}),this[r(499)][r(467)][r(504)](r(497)).to(this,r(468),t=>t||this[r(481)]),this[r(499)][r(504)](r(458)).to(this,r(519),this,r(458),(t,e)=>t&&e),this[r(503)]=s&&s[r(514)]?function(e,i){const s=Ge,n=e[s(450)],r=e[s(455)],o=(0,xt.createDropdown)(r);o[s(482)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ge,s=t[i(455)],n={"Compare against selected":dt(s,i(470)),"Name this revision":dt(s,i(473)),"Restore this revision":dt(s,i(474))};return e[i(451)](t=>{const e=i,s=n[t[e(457)]];return s&&s!==t[e(457)]&&(t[e(457)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(462),model:new xt.UIModel({label:t[n(457)],class:t[n(478)],withText:!0,role:n(477),_action:t[n(487)]})};i[n(469)][n(467)](n(476)).to(e,n(465),i=>n(461)!=typeof t[n(476)]||!i||t[n(476)](e)),o[n(446)](i)}return o}(e,i);return e[s(467)](s(465)).to(o,s(464)),o[s(479)][s(484)]({label:dt(r,s(443)),tooltip:!0,tooltipPosition:"sw",icon:Nt.IconThreeVerticalDots}),o[s(447)]({attributes:{class:[s(452),n.if(s(465),s(488))]},on:{click:n.to(t=>t[s(460)]())}}),o.on(s(472),t=>{const i=s;e[i(444)]&&i(461)==typeof t[i(454)][i(480)]&&t[i(454)][i(480)](e)}),(0,xt.addListToDropdown)(o,a,{role:s(459)}),o[s(458)](e,s(485),(t,n,r)=>{const a=s;if(r)for(const t of o[a(442)][a(483)]){const s=t[a(448)][a(441)],n=i[a(481)](t=>t[a(487)]===s[a(480)])[a(463)];t[a(463)]=void 0===n||n(e)}}),o}(this,s):"",this[r(503)]&&this[r(503)][r(504)](r(458)).to(this),this[r(460)]({tag:r(516),attributes:{class:["ck",r(470),r(494),o.if(r(477),r(465))]},children:[{tag:r(516),attributes:{class:["ck",r(470),r(473),o.if(r(458),r(474),t=>!t),o.if(r(519),r(484)),o.if(r(496),r(469)),o.if(r(498),r(489))]},children:[this[r(499)],{tag:r(480),attributes:{class:["ck",r(510)]},children:[{text:o.to(r(481))}]},{tag:r(516),attributes:{class:["ck",r(464)]},children:[{tag:"ul",attributes:{class:["ck",r(482)]},children:a}]},this[r(503)]],on:{click:o.to(t=>{const e=r;t[e(461)][e(502)](e(505))||this[e(488)]&&this[e(458)]&&this[e(501)](e(486),{id:this.id})})}}]})}[Xe(485)](){const t=Xe;super[t(485)]();const e=this[t(499)][t(467)][t(479)];this[t(459)](e,t(518),()=>{const i=t;this[i(509)]&&!e[i(497)]||this[i(501)](i(508),{id:this.id,name:e[i(497)]}),e[i(497)]||(e[i(497)]=this[i(468)]?this[i(468)]:this[i(481)])})}[Xe(486)](){this[Xe(519)]=!0}[Xe(500)](){this[Xe(519)]=!1}[Xe(513)](){this[Xe(496)]=!0}[Xe(456)](){this[Xe(496)]=!1}}class si extends Error{}class ni extends si{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ri extends si{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class oi extends si{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ai extends si{}class ci extends si{constructor(t){super(`Invalid unit ${t}`)}}class ui extends si{}class li extends si{constructor(){super("Zone is an abstract class")}}const hi="numeric",di="short",fi="long",mi={year:hi,month:hi,day:hi},pi={year:hi,month:di,day:hi},vi={year:hi,month:di,day:hi,weekday:di},gi={year:hi,month:fi,day:hi},yi={year:hi,month:fi,day:hi,weekday:fi},ki={hour:hi,minute:hi},bi={hour:hi,minute:hi,second:hi},wi={hour:hi,minute:hi,second:hi,timeZoneName:di},_i={hour:hi,minute:hi,second:hi,timeZoneName:fi},Ii={hour:hi,minute:hi,hourCycle:"h23"},Si={hour:hi,minute:hi,second:hi,hourCycle:"h23"},Oi={hour:hi,minute:hi,second:hi,hourCycle:"h23",timeZoneName:di},Ti={hour:hi,minute:hi,second:hi,hourCycle:"h23",timeZoneName:fi},Ni={year:hi,month:hi,day:hi,hour:hi,minute:hi},xi={year:hi,month:hi,day:hi,hour:hi,minute:hi,second:hi},Ai={year:hi,month:di,day:hi,hour:hi,minute:hi},Ri={year:hi,month:di,day:hi,hour:hi,minute:hi,second:hi},Mi={year:hi,month:di,day:hi,weekday:di,hour:hi,minute:hi},Vi={year:hi,month:fi,day:hi,hour:hi,minute:hi,timeZoneName:di},Di={year:hi,month:fi,day:hi,hour:hi,minute:hi,second:hi,timeZoneName:di},Ei={year:hi,month:fi,day:hi,weekday:fi,hour:hi,minute:hi,timeZoneName:fi},Ci={year:hi,month:fi,day:hi,weekday:fi,hour:hi,minute:hi,second:hi,timeZoneName:fi};class Fi{get type(){throw new li}get name(){throw new li}get ianaName(){return this.name}get isUniversal(){throw new li}offsetName(t,e){throw new li}formatOffset(t,e){throw new li}offset(t){throw new li}equals(t){throw new li}get isValid(){throw new li}}let ji=null;class Li extends Fi{static get instance(){return null===ji&&(ji=new Li),ji}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return rn(t,e,i)}formatOffset(t,e){return un(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Pi=new Map;const zi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Wi=new Map;class Ui extends Fi{static create(t){let e=Wi.get(t);return void 0===e&&Wi.set(t,e=new Ui(t)),e}static resetCache(){Wi.clear(),Pi.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=Ui.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return rn(t,e,i,this.name)}formatOffset(t,e){return un(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=Pi.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"}),Pi.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=zi[e];"era"===e?s[r]=n:js(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,(tn({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 Zi={};const Hi=new Map;function qi(t,e={}){const i=JSON.stringify([t,e]);let s=Hi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Hi.set(i,s)),s}const $i=new Map;const Bi=new Map;let Yi=null;const Ji=new Map;function Gi(t){let e=Ji.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Ji.set(t,e)),e}const Ki=new Map;function Qi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Xi{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=$i.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),$i.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 $s(this.floor?Math.floor(t):Gs(t,3),this.padTo)}}class ts{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&&Ui.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=qi(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 es{constructor(t,e,i){this.opts={style:"long",...i},!e&&zs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Bi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Bi.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 is={firstDay:1,minimalDays:4,weekend:[6,7]};class ss{static fromOpts(t){return ss.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||ws.defaultLocale,o=r||(n?"en-US":Yi||(Yi=(new Intl.DateTimeFormat).resolvedOptions().locale,Yi)),a=e||ws.defaultNumberingSystem,c=i||ws.defaultOutputCalendar,u=Hs(s)||ws.defaultWeekSettings;return new ss(o,a,c,u,r)}static resetCache(){Yi=null,Hi.clear(),$i.clear(),Bi.clear(),Ji.clear(),Ki.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return ss.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=qi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=qi(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"===Gi(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?ss.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Hs(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,mn,()=>{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=yo.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 Qi(this,t,yn,()=>{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=yo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Qi(this,void 0,()=>kn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[yo.utc(2016,11,13,9),yo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Qi(this,t,In,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[yo.utc(-40,1,1),yo.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 Xi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ts(t,this.intl,e)}relFormatter(t={}){return new es(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Zi[i];return s||(s=new Intl.ListFormat(t,e),Zi[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Gi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ws()?function(t){let e=Ki.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...is,...e}),Ki.set(t,e)}return e}(this.locale):is}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 ns=null;class rs extends Fi{static get utcInstance(){return null===ns&&(ns=new rs(0)),ns}static instance(t){return 0===t?rs.utcInstance:new rs(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new rs(on(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${un(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${un(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return un(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 os extends Fi{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 as(t,e){if(js(t)||null===t)return e;if(t instanceof Fi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Li.instance:"utc"===i||"gmt"===i?rs.utcInstance:rs.parseSpecifier(i)||Ui.create(t)}return Ls(t)?rs.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new os(t)}const cs={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},us={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]},ls=cs.hanidec.replace(/[\[|\]]/g,"").split("");const hs=new Map;function ds({numberingSystem:t},e=""){const i=t||"latn";let s=hs.get(i);void 0===s&&(s=new Map,hs.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${cs[i]}${e}`),s.set(e,n)),n}let fs,ms=()=>Date.now(),ps="system",vs=null,gs=null,ys=null,ks=60,bs=null;class ws{static get now(){return ms}static set now(t){ms=t}static set defaultZone(t){ps=t}static get defaultZone(){return as(ps,Li.instance)}static get defaultLocale(){return vs}static set defaultLocale(t){vs=t}static get defaultNumberingSystem(){return gs}static set defaultNumberingSystem(t){gs=t}static get defaultOutputCalendar(){return ys}static set defaultOutputCalendar(t){ys=t}static get defaultWeekSettings(){return bs}static set defaultWeekSettings(t){bs=Hs(t)}static get twoDigitCutoffYear(){return ks}static set twoDigitCutoffYear(t){ks=t%100}static get throwOnInvalid(){return fs}static set throwOnInvalid(t){fs=t}static resetCaches(){ss.resetCache(),Ui.resetCache(),yo.resetCache(),hs.clear()}}class _s{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Is=[0,31,59,90,120,151,181,212,243,273,304,334],Ss=[0,31,60,91,121,152,182,213,244,274,305,335];function Os(t,e){return new _s("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Ts(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 Ns(t,e,i){return i+(Ks(t)?Ss:Is)[e-1]}function xs(t,e){const i=Ks(t)?Ss:Is,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function As(t,e){return(t-e+7)%7+1}function Rs(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=Ns(s,n,r),a=As(Ts(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=sn(c,e,i)):u>sn(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...ln(t)}}function Ms(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=As(Ts(s,1,e),i),a=Qs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Qs(c)):u>a?(c=s+1,u-=Qs(s)):c=s;const{month:l,day:h}=xs(c,u);return{year:c,month:l,day:h,...ln(t)}}function Vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:Ns(e,i,s),...ln(t)}}function Ds(t){const{year:e,ordinal:i}=t,{month:s,day:n}=xs(e,i);return{year:e,month:s,day:n,...ln(t)}}function Es(t,e){if(!js(t.localWeekday)||!js(t.localWeekNumber)||!js(t.localWeekYear)){if(!js(t.weekday)||!js(t.weekNumber)||!js(t.weekYear))throw new ai("Cannot mix locale-based week fields with ISO-based week fields");return js(t.localWeekday)||(t.weekday=t.localWeekday),js(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),js(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 Cs(t){const e=Ps(t.year),i=qs(t.month,1,12),s=qs(t.day,1,Xs(t.year,t.month));return e?i?!s&&Os("day",t.day):Os("month",t.month):Os("year",t.year)}function Fs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=qs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=qs(i,0,59),a=qs(s,0,59),c=qs(n,0,999);return r?o?a?!c&&Os("millisecond",n):Os("second",s):Os("minute",i):Os("hour",e)}function js(t){return void 0===t}function Ls(t){return"number"==typeof t}function Ps(t){return"number"==typeof t&&t%1==0}function zs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ws(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Us(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 Zs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Hs(t){if(null==t)return null;if("object"!=typeof t)throw new ui("Week settings must be an object");if(!qs(t.firstDay,1,7)||!qs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!qs(t,1,7)))throw new ui("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function qs(t,e,i){return Ps(t)&&t>=e&&t<=i}function $s(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Bs(t){return js(t)||null===t||""===t?void 0:parseInt(t,10)}function Ys(t){return js(t)||null===t||""===t?void 0:parseFloat(t)}function Js(t){if(!js(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Gs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Ks(t){return t%4==0&&(t%100!=0||t%400==0)}function Qs(t){return Ks(t)?366:365}function Xs(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Ks(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function tn(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 en(t,e,i){return-As(Ts(t,1,e),i)+e-1}function sn(t,e=4,i=1){const s=en(t,e,i),n=en(t+1,e,i);return(Qs(t)-s+n)/7}function nn(t){return t>99?t:t>ws.twoDigitCutoffYear?1900+t:2e3+t}function rn(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 on(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 an(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ui(`Invalid unit value ${t}`);return e}function cn(t,e){const i={};for(const s in t)if(Zs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=an(n)}return i}function un(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}${$s(i,2)}:${$s(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${$s(i,2)}${$s(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ln(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const hn=["January","February","March","April","May","June","July","August","September","October","November","December"],dn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],fn=["J","F","M","A","M","J","J","A","S","O","N","D"];function mn(t){switch(t){case"narrow":return[...fn];case"short":return[...dn];case"long":return[...hn];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 pn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],vn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],gn=["M","T","W","T","F","S","S"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const kn=["AM","PM"],bn=["Before Christ","Anno Domini"],wn=["BC","AD"],_n=["B","A"];function In(t){switch(t){case"narrow":return[..._n];case"short":return[...wn];case"long":return[...bn];default:return null}}function Sn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const On={D:mi,DD:pi,DDD:gi,DDDD:yi,t:ki,tt:bi,ttt:wi,tttt:_i,T:Ii,TT:Si,TTT:Oi,TTTT:Ti,f:Ni,ff:Ai,fff:Vi,ffff:Ei,F:xi,FF:Ri,FFF:Di,FFFF:Ci};class Tn{static create(t,e={}){return new Tn(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 On[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 $s(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 kn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return mn(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return yn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Tn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return In(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return Sn(Tn.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=Tn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return Sn(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 Nn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function xn(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function An(...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 Rn(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 Mn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Bs(e[i+n]);return[s,null,i+n]}}const Vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Dn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,En=RegExp(`${Dn.source}${`(?:${Vn.source}?(?:\\[(${Nn.source})\\])?)?`}`),Cn=RegExp(`(?:T${En.source})?`),Fn=Mn("weekYear","weekNumber","weekDay"),jn=Mn("year","ordinal"),Ln=RegExp(`${Dn.source} ?(?:${Vn.source}|(${Nn.source}))?`),Pn=RegExp(`(?: ${Ln.source})?`);function zn(t,e,i){const s=t[e];return js(s)?i:Bs(s)}function Wn(t,e){return[{hours:zn(t,e,0),minutes:zn(t,e+1,0),seconds:zn(t,e+2,0),milliseconds:Js(t[e+3])},null,e+4]}function Un(t,e){const i=!t[e]&&!t[e+1],s=on(t[e+1],t[e+2]);return[{},i?null:rs.instance(s),e+3]}function Zn(t,e){return[{},t[e]?Ui.create(t[e]):null,e+1]}const Hn=RegExp(`^T?${Dn.source}$`),qn=/^-?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 $n(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(Ys(i)),months:d(Ys(s)),weeks:d(Ys(n)),days:d(Ys(r)),hours:d(Ys(o)),minutes:d(Ys(a)),seconds:d(Ys(c),"-0"===c),milliseconds:d(Js(u),h)}]}const Bn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Yn(t,e,i,s,n,r,o){const a={year:2===e.length?nn(Bs(e)):Bs(e),month:dn.indexOf(i)+1,day:Bs(s),hour:Bs(n),minute:Bs(r)};return o&&(a.second=Bs(o)),t&&(a.weekday=t.length>3?pn.indexOf(t)+1:vn.indexOf(t)+1),a}const Jn=/^(?:(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 Gn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Yn(e,n,s,i,r,o,a);let f;return f=c?Bn[c]:u?0:on(l,h),[d,new rs(f)]}const Kn=/^(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$/,Qn=/^(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$/,Xn=/^(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 tr(t){const[,e,i,s,n,r,o,a]=t;return[Yn(e,n,s,i,r,o,a),rs.utcInstance]}function er(t){const[,e,i,s,n,r,o,a]=t;return[Yn(e,a,i,s,n,r,o),rs.utcInstance]}const ir=xn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Cn),sr=xn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Cn),nr=xn(/(\d{4})-?(\d{3})/,Cn),rr=xn(En),or=An(function(t,e){return[{year:zn(t,e),month:zn(t,e+1,1),day:zn(t,e+2,1)},null,e+3]},Wn,Un,Zn),ar=An(Fn,Wn,Un,Zn),cr=An(jn,Wn,Un,Zn),ur=An(Wn,Un,Zn);const lr=An(Wn);const hr=xn(/(\d{4})-(\d\d)-(\d\d)/,Pn),dr=xn(Ln),fr=An(Wn,Un,Zn);const mr="Invalid Duration",pr={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}},vr={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},...pr},gr=365.2425,yr=30.436875,kr={years:{quarters:4,months:12,weeks:52.1775,days:gr,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:yr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...pr},br=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],wr=br.slice(0).reverse();function _r(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 Or(s)}function Ir(t,e){let i=e.milliseconds??0;for(const s of wr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function Sr(t,e){const i=Ir(t,e)<0?-1:1;br.reduceRight((s,n)=>{if(js(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),br.reduce((i,s)=>{if(js(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class Or{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?kr:vr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ss.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Or.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ui("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Or({values:cn(t,Or.normalizeUnit),loc:ss.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ls(t))return Or.fromMillis(t);if(Or.isDuration(t))return t;if("object"==typeof t)return Or.fromObject(t);throw new ui(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Rn(t,[qn,$n])}(t);return i?Or.fromObject(i,e):Or.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Rn(t,[Hn,lr])}(t);return i?Or.fromObject(i,e):Or.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ui("need to specify a reason the Duration is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new oi(i);return new Or({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 ci(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?Tn.create(this.loc,i).formatDurationFromString(this,t):mr}toHuman(t={}){if(!this.isValid)return mr;const e=br.map(e=>{const i=this.values[e];return js(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+=Gs(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 yo.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?Ir(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Or.fromDurationLike(t),i={};for(const t of br)(Zs(e.values,t)||Zs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return _r(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Or.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]=an(t(this.values[i],i));return _r(this,{values:e},!0)}get(t){return this[Or.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return _r(this,{values:{...this.values,...cn(t,Or.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return _r(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 Sr(this.matrix,t),_r(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return _r(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=>Or.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of br)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;Ls(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ls(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 Sr(this.matrix,e),_r(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 _r(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of br)if(!e(this.values[i],t.values[i]))return!1;return!0}}const Tr="Invalid Interval";class Nr{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 ui("need to specify a reason the Interval is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new ri(i);return new Nr({invalid:i})}static fromDateTimes(t,e){const i=ko(t),s=ko(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Nr.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:Nr.invalid("missing or invalid end"):Nr.invalid("missing or invalid start")}(i,s);return null==n?new Nr({start:i,end:s}):n}static after(t,e){const i=Or.fromDurationLike(e),s=ko(t);return Nr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=Or.fromDurationLike(e),s=ko(t);return Nr.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=yo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=yo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return Nr.fromDateTimes(t,r);if(n){const i=Or.fromISO(s,e);if(i.isValid)return Nr.after(t,i)}else if(o){const t=Or.fromISO(i,e);if(t.isValid)return Nr.before(r,t)}}return Nr.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?Nr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(ko).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(Nr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=Or.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(Nr.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:Nr.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 Nr.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(Nr.fromDateTimes(e,t.time)),e=null);return Nr.merge(s)}difference(...t){return Nr.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Tr}[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=mi,e={}){return this.isValid?Tn.create(this.s.loc.clone(e),t).formatInterval(this):Tr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Tr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Tr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Tr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Tr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Or.invalid(this.invalidReason)}mapEndpoints(t){return Nr.fromDateTimes(t(this.s),t(this.e))}}class xr{static hasDST(t=ws.defaultZone){const e=yo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ui.isValidZone(t)}static normalizeZone(t){return as(t,ws.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||ss.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||ss.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||ss.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||ss.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ss.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ss.create(e,null,"gregory").eras(t)}static features(){return{relative:zs(),localeWeek:Ws()}}}function Ar(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(Or.fromMillis(s).as("days"))}function Rr(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=Ar(t,e);return(i-i%7)/7}],["days",Ar]],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=Or.fromObject(r,s);return u.length>0?Or.fromMillis(c,s).shiftTo(...u).plus(l):l}Object.defineProperty(Rr,"name",{value:"default",configurable:!0});function Mr(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(cs.hanidec))e+=ls.indexOf(t[i]);else for(const t in us){const[i,n]=us[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Vr=`[ ${String.fromCharCode(160)}]`,Dr=new RegExp(Vr,"g");function Er(t){return t.replace(/\./g,"\\.?").replace(Dr,Vr)}function Cr(t){return t.replace(/\./g,"").replace(Dr," ").toLowerCase()}function Fr(t,e){return null===t?null:{regex:RegExp(t.map(Er).join("|")),deser:([i])=>t.findIndex(t=>Cr(i)===Cr(t))+e}}function jr(t,e){return{regex:t,deser:([,t,e])=>on(t,e),groups:e}}function Lr(t){return{regex:t,deser:([t])=>t}}const Pr={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 zr=null;function Wr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Hr(Tn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Ur{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Wr(Tn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=ds(e),s=ds(e,"{2}"),n=ds(e,"{3}"),r=ds(e,"{4}"),o=ds(e,"{6}"),a=ds(e,"{1,2}"),c=ds(e,"{1,3}"),u=ds(e,"{1,6}"),l=ds(e,"{1,9}"),h=ds(e,"{2,4}"),d=ds(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 Fr(e.eras("short"),0);case"GG":return Fr(e.eras("long"),0);case"y":return Mr(u);case"yy":case"kk":return Mr(h,nn);case"yyyy":case"kkkk":return Mr(r);case"yyyyy":return Mr(d);case"yyyyyy":return Mr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Mr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Mr(s);case"MMM":return Fr(e.months("short",!0),1);case"MMMM":return Fr(e.months("long",!0),1);case"LLL":return Fr(e.months("short",!1),1);case"LLLL":return Fr(e.months("long",!1),1);case"o":case"S":return Mr(c);case"ooo":case"SSS":return Mr(n);case"u":return Lr(l);case"uu":return Lr(a);case"uuu":case"E":case"c":return Mr(i);case"a":return Fr(e.meridiems(),0);case"EEE":return Fr(e.weekdays("short",!1),1);case"EEEE":return Fr(e.weekdays("long",!1),1);case"ccc":return Fr(e.weekdays("short",!0),1);case"cccc":return Fr(e.weekdays("long",!0),1);case"Z":case"ZZ":return jr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return jr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Lr(/[a-z_+-/]{1,256}?/i);case" ":return Lr(/[^\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]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}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(Zs(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;return js(t.z)||(i=Ui.create(t.z)),js(t.Z)||(i||(i=new rs(t.Z)),e=t.Z),js(t.q)||(t.M=3*(t.q-1)+1),js(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),js(t.u)||(t.S=Js(t.u)),[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},{}),i,e]}(i):[null,null,void 0];if(Zs(i,"a")&&Zs(i,"H"))throw new ai("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 Zr(t,e,i){return new Ur(t,i).explainFromTokens(e)}function Hr(t,e){if(!t)return null;const i=Tn.create(e,t).dtFormatter((zr||(zr=yo.fromMillis(1555555555555)),zr)),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=Pr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const qr="Invalid DateTime",$r=864e13;function Br(t){return new _s("unsupported zone",`the zone "${t.name}" is not supported`)}function Yr(t){return null===t.weekData&&(t.weekData=Rs(t.c)),t.weekData}function Jr(t){return null===t.localWeekData&&(t.localWeekData=Rs(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Gr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new yo({...i,...e,old:i})}function Kr(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 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 Xr(t,e,i){return Kr(tn(t),e,i)}function to(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,Xs(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Or.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=tn(r);let[c,u]=Kr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function eo(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=yo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return yo.invalid(new _s("unparsable",`the input "${n}" can't be parsed as ${s}`))}function io(t,e,i=!0){return t.isValid?Tn.create(ss.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function so(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=$s(t.c.year,i?6:4),e?(s+="-",s+=$s(t.c.month),s+="-",s+=$s(t.c.day)):(s+=$s(t.c.month),s+=$s(t.c.day)),s}function no(t,e,i,s,n,r){let o=$s(t.c.hour);return e?(o+=":",o+=$s(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=$s(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=$s(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=$s(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=$s(Math.trunc(-t.o/60)),o+=":",o+=$s(Math.trunc(-t.o%60))):(o+="+",o+=$s(Math.trunc(t.o/60)),o+=":",o+=$s(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const ro={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},oo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ao={ordinal:1,hour:0,minute:0,second:0,millisecond:0},co=["year","month","day","hour","minute","second","millisecond"],uo=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lo=["year","ordinal","hour","minute","second","millisecond"];function ho(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 ci(t);return e}(t)}}function fo(t,e){const i=as(e.zone,ws.defaultZone);if(!i.isValid)return yo.invalid(Br(i));const s=ss.fromObject(e);let n,r;if(js(t.year))n=ws.now();else{for(const e of co)js(t[e])&&(t[e]=ro[e]);const e=Cs(t)||Fs(t);if(e)return yo.invalid(e);const s=function(t){if(void 0===vo&&(vo=ws.now()),"iana"!==t.type)return t.offset(vo);const e=t.name;let i=go.get(e);return void 0===i&&(i=t.offset(vo),go.set(e,i)),i}(i);[n,r]=Xr(t,s,i)}return new yo({ts:n,zone:i,loc:s,o:r})}function mo(t,e,i){const s=!!js(i.round)||i.round,n=(t,n)=>{t=Gs(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 po(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 vo;const go=new Map;class yo{constructor(t){const e=t.zone||ws.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new _s("invalid input"):null)||(e.isValid?null:Br(e));this.ts=js(t.ts)?ws.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=Ls(t.o)&&!t.old?t.o:e.offset(this.ts);s=Qr(this.ts,r),i=Number.isNaN(s.year)?new _s("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||ss.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new yo({})}static local(){const[t,e]=po(arguments),[i,s,n,r,o,a,c]=e;return fo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=po(arguments),[i,s,n,r,o,a,c]=e;return t.zone=rs.utcInstance,fo({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 yo.invalid("invalid input");const n=as(e.zone,ws.defaultZone);return n.isValid?new yo({ts:i,zone:n,loc:ss.fromObject(e)}):yo.invalid(Br(n))}static fromMillis(t,e={}){if(Ls(t))return t<-$r||t>$r?yo.invalid("Timestamp out of range"):new yo({ts:t,zone:as(e.zone,ws.defaultZone),loc:ss.fromObject(e)});throw new ui(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ls(t))return new yo({ts:1e3*t,zone:as(e.zone,ws.defaultZone),loc:ss.fromObject(e)});throw new ui("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=as(e.zone,ws.defaultZone);if(!i.isValid)return yo.invalid(Br(i));const s=ss.fromObject(e),n=cn(t,ho),{minDaysInFirstWeek:r,startOfWeek:o}=Es(n,s),a=ws.now(),c=js(e.specificOffset)?i.offset(a):e.specificOffset,u=!js(n.ordinal),l=!js(n.year),h=!js(n.month)||!js(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ai("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ai("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Qr(a,c);m?(p=uo,v=oo,g=Rs(g,r,o)):u?(p=lo,v=ao,g=Vs(g)):(p=co,v=ro);let y=!1;for(const t of p){js(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ps(t.weekYear),n=qs(t.weekNumber,1,sn(t.weekYear,e,i)),r=qs(t.weekday,1,7);return s?n?!r&&Os("weekday",t.weekday):Os("week",t.weekNumber):Os("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ps(t.year),i=qs(t.ordinal,1,Qs(t.year));return e?!i&&Os("ordinal",t.ordinal):Os("year",t.year)}(n):Cs(n),b=k||Fs(n);if(b)return yo.invalid(b);const w=m?Ms(n,r,o):u?Ds(n):n,[_,I]=Xr(w,c,i),S=new yo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?yo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:yo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return Rn(t,[ir,or],[sr,ar],[nr,cr],[rr,ur])}(t);return eo(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return Rn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Jn,Gn])}(t);return eo(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return Rn(t,[Kn,tr],[Qn,tr],[Xn,er])}(t);return eo(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(js(t)||js(e))throw new ui("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Zr(t,e,i);return[s,n,r,o]}(r,t,e);return u?yo.invalid(u):eo(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return yo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return Rn(t,[hr,or],[dr,fr])}(t);return eo(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ui("need to specify a reason the DateTime is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new ni(i);return new yo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Hr(t,ss.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Wr(Tn.parseFormat(t),ss.fromObject(e)).map(t=>t.val).join("")}static resetCache(){vo=void 0,go.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?Yr(this).weekYear:NaN}get weekNumber(){return this.isValid?Yr(this).weekNumber:NaN}get weekday(){return this.isValid?Yr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Jr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Jr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Jr(this).weekYear:NaN}get ordinal(){return this.isValid?Vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?xr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?xr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?xr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?xr.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=tn(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=Qr(a,r),l=Qr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Gr(this,{ts:a}),Gr(this,{ts:c})]:[this]}get isInLeapYear(){return Ks(this.year)}get daysInMonth(){return Xs(this.year,this.month)}get daysInYear(){return this.isValid?Qs(this.year):NaN}get weeksInWeekYear(){return this.isValid?sn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?sn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=Tn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(rs.instance(t),e)}toLocal(){return this.setZone(ws.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=as(t,ws.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]=Xr(i,e,t)}return Gr(this,{ts:s,zone:t})}return yo.invalid(Br(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Gr(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=cn(t,ho),{minDaysInFirstWeek:i,startOfWeek:s}=Es(e,this.loc),n=!js(e.weekYear)||!js(e.weekNumber)||!js(e.weekday),r=!js(e.ordinal),o=!js(e.year),a=!js(e.month)||!js(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ai("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ai("Can't mix ordinal dates with month/day");let l;n?l=Ms({...Rs(this.c,i,s),...e},i,s):js(e.ordinal)?(l={...this.toObject(),...e},js(e.day)&&(l.day=Math.min(Xs(l.year,l.month),l.day))):l=Ds({...Vs(this.c),...e});const[h,d]=Xr(l,this.o,this.zone);return Gr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Gr(this,to(this,Or.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Gr(this,to(this,Or.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=Or.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?Tn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):qr}toLocaleString(t=mi,e={}){return this.isValid?Tn.create(this.loc.clone(e),t).formatDateTime(this):qr}toLocaleParts(t={}){return this.isValid?Tn.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=so(this,r);return o+="T",o+=no(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?so(this,"extended"===t):null}toISOWeekDate(){return io(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":"")+no(this,"extended"===r,e,t,i,n)}toRFC2822(){return io(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return io(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?so(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")),io(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():qr}[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 Or.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(Or.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Rr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(yo.now(),t,e)}until(t){return this.isValid?Nr.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||yo.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),mo(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?mo(t.base||yo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(yo.isDateTime))throw new ui("min requires all arguments be DateTimes");return Us(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(yo.isDateTime))throw new ui("max requires all arguments be DateTimes");return Us(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Zr(ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return yo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=ss.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Ur(n,t)}static fromFormatParser(t,e,i={}){if(js(t)||js(e))throw new ui("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ui(`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?yo.invalid(u):eo(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return mi}static get DATE_MED(){return pi}static get DATE_MED_WITH_WEEKDAY(){return vi}static get DATE_FULL(){return gi}static get DATE_HUGE(){return yi}static get TIME_SIMPLE(){return ki}static get TIME_WITH_SECONDS(){return bi}static get TIME_WITH_SHORT_OFFSET(){return wi}static get TIME_WITH_LONG_OFFSET(){return _i}static get TIME_24_SIMPLE(){return Ii}static get TIME_24_WITH_SECONDS(){return Si}static get TIME_24_WITH_SHORT_OFFSET(){return Oi}static get TIME_24_WITH_LONG_OFFSET(){return Ti}static get DATETIME_SHORT(){return Ni}static get DATETIME_SHORT_WITH_SECONDS(){return xi}static get DATETIME_MED(){return Ai}static get DATETIME_MED_WITH_SECONDS(){return Ri}static get DATETIME_MED_WITH_WEEKDAY(){return Mi}static get DATETIME_FULL(){return Vi}static get DATETIME_FULL_WITH_SECONDS(){return Di}static get DATETIME_HUGE(){return Ei}static get DATETIME_HUGE_WITH_SECONDS(){return Ci}}function ko(t){if(yo.isDateTime(t))return t;if(t&&t.valueOf&&Ls(t.valueOf()))return yo.fromJSDate(t);if(t&&"object"==typeof t)return yo.fromObject(t);throw new ui(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function bo(){const t=["273513DSudkW","minus","month","113911cXZiYq","1848uzamMC","monthLong","614908JpTWOM","1860096dJrknr","local","startOf","2590YeGciC","weekdayLong","fromJSDate","toJSDate","768920ukfZCH","day","hasSame","week","year","31030TYNsls","toRelativeCalendar","setLocale"];return(bo=function(){return t})()}function wo(t,e){const i=bo();return(wo=function(t,e){return i[t-=114]})(t,e)}function _o(t,e){const i=wo,s=yo[i(114)](t)[i(123)](e),n=yo[i(132)](),r=n[i(125)]({days:1})[i(133)](i(117));let o,a;return s[i(118)](n,i(117))?(o=s[i(133)](i(117))[i(115)](),a=s[i(122)]()):s[i(118)](r,i(117))?(o=r[i(115)](),a=s[i(122)]()):s[i(118)](n,i(119))?(o=s[i(133)](i(119))[i(115)](),a=s[i(135)]||""):s[i(118)](n,i(120))?(o=s[i(133)](i(126))[i(115)](),a=s[i(129)]||""):(o=s[i(133)](i(120))[i(115)](),a=String(s[i(120)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=wo,i=t();for(;;)try{if(139099===-parseInt(e(127))/1+-parseInt(e(121))/2+parseInt(e(124))/3+parseInt(e(116))/4+parseInt(e(134))/5*(-parseInt(e(128))/6)+-parseInt(e(130))/7+parseInt(e(131))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);var Io=i(4),So={attributes:{"data-cke":!0}};So.setAttributes=Ft(),So.insert=Et().bind(null,"head"),So.domAPI=Vt(),So.insertStyleElement=Lt();Rt()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;const Oo=To;function To(t,e){const i=No();return(To=function(t,e){return i[t-=170]})(t,e)}function No(){const t=["setTemplate","3PZQUEx","addRevision","9824580ovIprK","delegate","24889744rODiws","createCollection","localizedPeriodName","50aCLsOZ","removeRevision","9NuXUdn","_requireRevisionName","3306954iNMDna","5588725vWUvos","revisionViews","2420408BOwdYx","startDate","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period","find","locale","uiLanguage","14383zNCfJx","ck-revision-history-sidebar__time-period__revisions","7DDjKhi","293432leEMow","setName","span","_revisionActions","select","remove","div","add"];return(No=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(574902===-parseInt(e(189))/1*(parseInt(e(175))/2)+-parseInt(e(201))/3*(parseInt(e(182))/4)+-parseInt(e(180))/5+-parseInt(e(179))/6*(parseInt(e(191))/7)+-parseInt(e(192))/8*(parseInt(e(177))/9)+parseInt(e(170))/10+parseInt(e(172))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends xt.View{[Oo(183)];[Oo(181)];[Oo(195)];[Oo(178)];constructor(t,e,i,s){const n=Oo;super(t);const r=_o(e,this[n(187)][n(188)])[n(174)];this[n(183)]=e,this[n(181)]=this[n(173)](),this[n(195)]=i,this[n(178)]=s,this[n(181)][n(171)](n(196)).to(this),this[n(181)][n(171)](n(193)).to(this),this[n(200)]({tag:n(198),attributes:{class:["ck",n(185)]},children:[{tag:n(194),attributes:{class:["ck",n(184)]},children:[{text:r}]},{tag:n(198),attributes:{class:["ck",n(190)]},children:this[n(181)]}]})}[Oo(202)](t){const e=Oo,i=new ii(this[e(187)],t,this[e(195)],this[e(178)]);this[e(181)][e(199)](i)}[Oo(176)](t){const e=Oo,i=this[e(181)][e(186)](e=>e.id===t.id);this[e(181)][e(197)](i)}}var Ao=i(651),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Ft(),Ro.insert=Et().bind(null,"head"),Ro.domAPI=Vt(),Ro.insertStyleElement=Lt();Rt()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;function Mo(){const t=["40311kwNkoz","ck-revision-history-sidebar__header","1975jEOwjv","160867RwkUBj","1303812ynqykq","1122Pptksx","50beSPOM","99430SVxEqS","content","span","112oggokj","div","Revision history","ck-revision-history-sidebar__header__label","20603mctVHv","13074cvQVCC","3232960jhYjAV","ck-reset_all","setTemplate"];return(Mo=function(){return t})()}function Vo(t,e){const i=Mo();return(Vo=function(t,e){return i[t-=298]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(534563===-parseInt(e(298))/1*(parseInt(e(309))/2)+parseInt(e(307))/3+parseInt(e(300))/4+parseInt(e(305))/5*(parseInt(e(299))/6)+parseInt(e(306))/7+-parseInt(e(313))/8*(parseInt(e(303))/9)+-parseInt(e(310))/10*(parseInt(e(308))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Do extends xt.View{constructor(t){const e=Vo;super(t);const i=new xt.IconView;i[e(311)]=Nt.IconHistory,this[e(302)]({tag:e(314),attributes:{class:["ck",e(301),e(304)]},children:[i,{tag:e(312),attributes:{class:["ck",e(316)]},children:[dt(t,e(315))]}]})}}var Eo=i(812),Co={attributes:{"data-cke":!0}};Co.setAttributes=Ft(),Co.insert=Et().bind(null,"head"),Co.domAPI=Vt(),Co.insertStyleElement=Lt();Rt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;function Fo(){const t=["_revisionActions","delegate","flat","7286392STZARC","1290058BqjvZR","_removeRevision","71259zKPVGB","locale","revisionSelected","createdAt","uiLanguage","getTime","set","revisionSetName","9bDaTIQ","_addRevision","ck-revision-history-sidebar__timeline","fire","createCollection","some","timePeriodViews","removeRevision","find","highlightRevisions","14291128iPDXOl","addRevision","remove","div","ck-reset","revisionViews","select","add","setName","2559997fEFrCv","startDate","map","1335220JoonlA","ck-rounded-corners","_revisions","80gpqqAC","deselect","bindTemplate","selectRevision","isEnabled","23574JiQpCn","_requireRevisionName","_getTimePeriodViewByStartDate","render","3MLcIto","unhighlight","ck-revision-history-sidebar","847IwhCQG","highlight","ck-disabled","get","setTemplate"];return(Fo=function(){return t})()}const jo=Lo;function Lo(t,e){const i=Fo();return(Lo=function(t,e){return i[t-=455]})(t,e)}!function(t){const e=Lo,i=t();for(;;)try{if(972370===-parseInt(e(510))/1+-parseInt(e(508))/2+-parseInt(e(496))/3*(-parseInt(e(507))/4)+parseInt(e(484))/5+parseInt(e(492))/6*(-parseInt(e(499))/7)+parseInt(e(472))/8*(-parseInt(e(462))/9)+-parseInt(e(487))/10*(-parseInt(e(481))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends xt.View{[jo(468)];[jo(486)];[jo(504)];[jo(493)];constructor(t,e,i,s){const n=jo;super(t);const r=this[n(489)];this[n(468)]=this[n(466)](),this[n(468)][n(505)](n(478)).to(this),this[n(468)][n(505)](n(480)).to(this),this[n(486)]=e,this[n(504)]=i,this[n(493)]=s,this.on(n(478),(t,e)=>{const i=n;this[i(465)](i(456),e)}),this.on(n(480),(t,e)=>{const i=n;this[i(465)](i(461),e)}),this[n(460)](n(491),!1),this[n(503)]({tag:n(475),attributes:{class:["ck",n(476),n(485),n(498)]},children:[new Do(t),{tag:n(475),attributes:{class:["ck",n(464),r.if(n(491),n(501),t=>!t)]},children:this[n(468)]}]})}[jo(495)](){const t=jo;super[t(495)]();for(const e of this[t(486)])this[t(463)](e);this[t(486)].on(t(479),(e,i)=>{this[t(463)](i)}),this[t(486)].on(t(474),(e,i)=>{this[t(509)](i)})}get[jo(477)](){const t=jo;return this[t(468)][t(483)](e=>e[t(477)][t(483)](t=>t))[t(506)]()}[jo(490)](t){const e=jo;for(const i of this[e(477)])t&&t.id===i.id?i[e(478)]():i[e(488)]()}[jo(471)](t){const e=jo;for(const i of this[e(477)])t[e(467)](({id:t})=>t===i.id)?i[e(500)]():i[e(497)]()}[jo(463)](t){const e=jo,i=_o(t[e(457)],this[e(455)][e(458)])[e(482)];let s=this[e(468)][e(502)](0);s&&s[e(482)][e(459)]()===i[e(459)]()||(s=new xo(this[e(455)],i,this[e(504)],this[e(493)]),this[e(468)][e(479)](s)),s[e(473)](t)}[jo(509)](t){const e=jo,i=_o(t[e(457)],this[e(455)][e(458)])[e(482)];this[e(494)](i)[e(469)](t)}[jo(494)](t){const e=jo;return this[e(468)][e(470)](i=>i[e(482)][e(459)]()===t[e(459)]())}}const zo=Wo;function Wo(t,e){const i=Uo();return(Wo=function(t,e){return i[t-=154]})(t,e)}function Uo(){const t=["getIndex","isVisible","_revisions","compare","name","18FddiDF","10517820zrmYXy","634146rBDzkI","145WPqsHV","listenTo","revisionHistory.revisionActions","Name this revision","locale","select","revisionHistory.requireRevisionName","revisionViews","map","Compare against selected","get","requires","highlightRevisions","getRevision","56dRowbj","isSelected","change:diff","diff","bind","revisionHistory","RevisionsSidebar","render","newRevisionId","restoreRevisionCallback","action","restoreRevision","editor","66395439PLNAlP","getEarlierVisibleRevision","revisionHistory.viewerSidebarContainer","fieldView","remove","714427SVriST","revisionSetName","add","nameRevision","_handleRevisionSetName","4818753iVRuad","string","destroy","isOfficialPlugin","_handleRevisionSelected","element","_revisionsRepository","ready","appendChild","3COhTTX","getLaterVisibleRevision","assign","focus","_createRevisionActions","config","getRevisionsInDiff","12KRyowY","selectRevision","init","_handleEditorDataReady","repository","_revisionViewer","116pNBCtE","revisionSelected","data","availableRevisionActions","7431190BnBuDD","isPremiumPlugin","isEnabled","compareAgainstSelected","isReady","length","pluginName","setName","timePeriodViews","defaultRevisionActions","_handleDiffChange","Restore this revision","_sidebarView","plugins"];return(Uo=function(){return t})()}!function(t){const e=Wo,i=t();for(;;)try{if(952857===-parseInt(e(174))/1*(parseInt(e(212))/2)+-parseInt(e(165))/3+parseInt(e(187))/4*(-parseInt(e(213))/5)+-parseInt(e(211))/6+-parseInt(e(160))/7*(-parseInt(e(227))/8)+parseInt(e(210))/9*(-parseInt(e(191))/10)+parseInt(e(155))/11*(parseInt(e(181))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Zo extends et.Plugin{[zo(186)];[zo(171)];[zo(203)];static[zo(200)]=[zo(194),zo(238),zo(163)];static[zo(190)]=function(){const t=zo;return{compareAgainstSelected:{name:t(222),action:({plugins:e},i)=>{const s=t,n=e[s(223)](fe),r=n[s(185)];let o=n[s(230)][s(235)],a=i.id;r[s(205)](o)>r[s(205)](a)&&([o,a]=[a,o]),n[s(208)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(223)](fe);return!(n[s(185)][s(180)](n[s(230)])[s(196)]>2||i[s(228)])}},restoreRevision:{name:t(202),action:(e,{id:i})=>{const s=t;e[s(179)][s(223)](s(232))[s(236)](i)},isVisible:({plugins:e},i)=>!!e[t(223)](fe)[t(185)][t(175)](i.id)},nameRevision:{name:t(216),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(223)](fe),o=r[n(185)][n(156)](i);r[n(208)](i,o),s[n(177)](),s[n(158)][n(218)]()}}}}();static get[zo(197)](){return zo(233)}static get[zo(168)](){return!0}static get[zo(192)](){return!0}static get[zo(224)](){return[fe]}constructor(t){const e=zo;super(t),this[e(186)]=t[e(204)][e(223)](fe),this[e(171)]=this[e(186)][e(185)],this[e(203)]=null}[zo(183)](){const t=zo,e=this[t(171)][t(207)],i=this[t(178)](),s=this[t(154)][t(179)][t(223)](t(157));this[t(203)]=new Po(this[t(154)][t(217)],e,i,this[t(154)][t(179)][t(223)](t(219))),this[t(203)].on(t(188),this[t(169)][t(231)](this)),this[t(203)].on(t(161),this[t(164)][t(231)](this)),this[t(203)][t(231)](t(193)).to(this[t(186)]),this[t(203)][t(199)].on(t(162),(e,i)=>{const s=t;i[s(220)].on(s(162),(t,e)=>{const i=s;e[i(231)](i(193),i(195)).to(this[i(186)])})}),this[t(203)][t(234)](),this[t(214)](this[t(154)][t(189)],t(172),this[t(184)][t(231)](this)),this[t(214)](this[t(186)],t(229),this[t(201)][t(231)](this)),s[t(173)](this[t(203)][t(170)])}[zo(167)](){const t=zo;this[t(203)][t(170)][t(159)](),this[t(203)][t(167)]()}[zo(184)](){const t=zo,e=this[t(171)][t(226)](0);if(e){const i=this[t(171)][t(156)](e.id);this[t(186)][t(208)](e,i)}}[zo(169)](t,e){const i=zo,s=this[i(171)][i(226)](e.id),n=this[i(171)][i(156)](s.id);this[i(186)][i(208)](s,n)}[zo(164)](t,e){const i=zo;this[i(171)][i(226)](e.id)[i(198)](e[i(209)])}[zo(201)](t,e,i){const s=zo,n=this[s(171)][s(180)](i);n[s(196)]>2?(this[s(203)][s(225)](n),this[s(203)][s(182)](null)):(this[s(203)][s(225)]([]),this[s(203)][s(182)](n[0]))}[zo(178)](){const t=zo,e=this[t(154)],i=Zo[t(190)],s=e[t(179)][t(223)](t(215))||Zo[t(200)];if(s[t(196)])return s[t(221)](s=>{const n=t,r=n(166)==typeof s?Object[n(176)]({},i[s]):s;return r[n(237)]=r[n(237)][n(231)](this,e),r[n(206)]&&(r[n(206)]=r[n(206)][n(231)](this,e)),r})}}function Ho(){const t=["editable","stickyPanel","document","destroy","limiterElement","bind","64tQVGjy","216891DCRXOB","element","init","name","componentFactory","replace","1372530xkmwcW","_view","viewportTopOffset","133BmuTch","_elementReplacer","getRoot","isActive","editing","_toolbarConfig","rootName","editor","ready","addToolbar","render","5689800Hfslqz","fire","config","viewportOffset","isFocused","detachDomRoot","attachDomRoot","view","get","277488gEQLHn","258276pPvNtE","fillFromConfig","292709aDeOZu","setEditableElement","toolbar","focusTracker","2490436Fbljlz","restore","_initToolbar"];return(Ho=function(){return t})()}const qo=$o;function $o(t,e){const i=Ho();return($o=function(t,e){return i[t-=119]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(595783===-parseInt(e(156))/1+parseInt(e(130))/2+parseInt(e(153))/3+parseInt(e(160))/4+-parseInt(e(144))/5+parseInt(e(154))/6*(parseInt(e(133))/7)+-parseInt(e(123))/8*(parseInt(e(124))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);class Bo extends xt.EditorUI{[qo(131)];[qo(138)];[qo(134)];get[qo(151)](){return this[qo(131)]}constructor(e,i){const s=qo;super(e),this[s(131)]=i,this[s(138)]=(0,xt.normalizeToolbarConfig)(e[s(146)][s(152)](s(158))),this[s(134)]=new t.ElementReplacer}get[qo(125)](){const t=qo;return this[t(151)][t(125)]}[qo(126)](t){const e=qo,i=this[e(140)],s=this[e(151)],n=i[e(137)][e(151)],r=s[e(163)],o=n[e(119)][e(135)]();r[e(127)]=o[e(139)],s[e(143)]();const a=r[e(125)];this[e(157)](r[e(127)],a),s[e(163)][e(122)](e(148)).to(this[e(159)]),n[e(150)](a),this[e(134)][e(129)](t,this[e(125)]),this[e(162)](),this[e(145)](e(141))}[qo(120)](){const t=qo;super[t(120)]();const e=this[t(151)],i=this[t(140)][t(137)][t(151)];this[t(134)][t(161)](),i[t(149)](e[t(163)][t(127)]),e[t(120)]()}[qo(162)](){const t=qo,e=this[t(151)];e[t(164)][t(122)](t(136)).to(this[t(159)],t(148)),e[t(164)][t(121)]=e[t(125)],e[t(164)][t(122)](t(132)).to(this,t(147),({top:t})=>t),e[t(158)][t(155)](this[t(138)],this[t(128)]),this[t(142)](e[t(158)])}}var Yo=i(76),Jo={attributes:{"data-cke":!0}};Jo.setAttributes=Ft(),Jo.insert=Et().bind(null,"head"),Jo.domAPI=Vt(),Jo.insertStyleElement=Lt();Rt()(Yo.A,Jo);Yo.A&&Yo.A.locals&&Yo.A.locals;var Go=Qo;function Ko(){var t=["21842JzdKee","956658DbcIdC","91756rrQOFz","2245460NNNwIs","3644901pQtDkm","add","content","toolbar","16dHsmFY","14FHLbFZ","1162352gmJvmt","main","_editable","289735cLDNSK","shouldToolbarGroupWhenFull","stickyPanel","editable","top","24lazWNp","render"];return(Ko=function(){return t})()}function Qo(t,e){var i=Ko();return(Qo=function(t,e){return i[t-=448]})(t,e)}!function(t){for(var e=Qo,i=t();;)try{if(204823===parseInt(e(460))/1*(-parseInt(e(451))/2)+-parseInt(e(452))/3+parseInt(e(461))/4+-parseInt(e(464))/5*(-parseInt(e(449))/6)+parseInt(e(453))/7*(-parseInt(e(459))/8)+parseInt(e(455))/9+-parseInt(e(454))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Xo extends xt.BoxedEditorUIView{[Go(463)];[Go(466)];[Go(458)];get[Go(467)](){return this[Go(463)]}constructor(t,e,i={}){var s=Go;super(t),this[s(466)]=new xt.StickyPanelView(t),this[s(458)]=new xt.ToolbarView(t,{shouldGroupWhenFull:i[s(465)]}),this[s(463)]=new xt.InlineEditableUIView(t,e)}[Go(450)](){var t=Go;super[t(450)](),this[t(466)][t(457)][t(456)](this[t(458)]),this[t(448)][t(456)](this[t(466)]),this[t(462)][t(456)](this[t(467)])}}const ta=ia;function ea(){const t=["document","locale","325245ANJIqu","data","7946160TFdDWz","destroy","view","5875100rLxsud","model","2xlQANk","editing","get","4284zzdyzS","44451261JjguUC","create","sourceElement","927146ZNGKzs","initPlugins","init","createRoot","ready","_ui","fire","updateSourceElement","11944288dVVPsO","config","initialData","5300wKTDOu"];return(ea=function(){return t})()}function ia(t,e){const i=ea();return(ia=function(t,e){return i[t-=358]})(t,e)}!function(t){const e=ia,i=t();for(;;)try{if(790112===-parseInt(e(383))/1*(parseInt(e(376))/2)+-parseInt(e(369))/3+parseInt(e(379))/4*(-parseInt(e(366))/5)+-parseInt(e(371))/6+parseInt(e(374))/7+-parseInt(e(363))/8+parseInt(e(380))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);class sa extends((0,et.ElementApiMixin)(et.Editor)){[ta(360)];get ui(){return this[ta(360)]}constructor(t,e){const i=ta;super(e),this[i(382)]=t,this[i(375)][i(367)][i(358)]();const s=new Xo(this[i(368)],this[i(377)][i(373)],{shouldToolbarGroupWhenFull:!0});this[i(360)]=new Bo(this,s)}[ta(372)](){const t=ta;return this[t(362)](),this.ui[t(372)](),super[t(372)]()}static async[ta(381)](t,e){const i=ta,s=new this(t,e);return await s[i(384)](),await s.ui[i(385)](t),await s[i(370)][i(385)](s[i(364)][i(378)](i(365))||""),s[i(361)](i(359)),s}}function na(t,e){const i=ca();return(na=function(t,e){return i[t-=439]})(t,e)}const ra=na;!function(t){const e=na,i=t();for(;;)try{if(263579===-parseInt(e(538))/1*(-parseInt(e(569))/2)+-parseInt(e(512))/3+-parseInt(e(600))/4*(-parseInt(e(471))/5)+-parseInt(e(581))/6*(-parseInt(e(494))/7)+parseInt(e(524))/8+-parseInt(e(550))/9+parseInt(e(574))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ca);const oa=[ra(536),ra(488),ra(454),ra(565),ra(518),ra(541),ra(443),ra(503),ra(567)];class aa extends et.Plugin{[ra(590)];static get[ra(593)](){return ra(439)}static get[ra(500)](){return!0}static get[ra(463)](){return!0}constructor(t){const e=ra;function i(t){const e=na;return t[e(507)](t=>String[e(478)](t))[e(592)]("")}super(t),this[e(590)]=e(579),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function ca(){const t=["get","1620390Rovuvv",".ck-ai-chat__prompt-input .ck-textarea","revisionHistory.editorContainer","document"," ck-tab-panel_disabled","end","getMarkersGroup","14466AlVqom","update","destroy","config","restoreRevision","querySelector","removeMarker","isAttached","DocumentOutline","result","toolbar","join","pluginName","getUser","long","_getRevisionViewerEditorConfig","refreshPositioning","_viewerEditor","toLocaleTimeString","20xSGqOF",".ck-ai-chat-history .ck-input","set","toVersion","then","getRevisionRootsAttributes","error","createdAt","hide","RevisionViewerIntegration","getRevision","push","exitToEditing","AIActions","toLocaleDateString","isReadOnly","define","requires","detachRoot","RevisionHistoryUtils","toJSON","adapter","enqueueChange","getRoot","AIChat","_update","rootName","removeSelectionAttribute","getRevisionDocumentData","RevisionsRepository","from","model","saveRevision","isPremiumPlugin","revision-history-viewer-opened","panelViews","addRevisionData","_restoreRevision","tabindex","markers","setSelection","226145FKAjyy","view","revisionHistory.viewerEditorElement","lazyRoots","RevisionViewer","removeAttribute","roots","fromCharCode","isRevisionViewerOpen","fromVersion","translations","closeRevisionViewerCallback","data","refreshVisibility","users","revisionHistory.closeRevisionViewerCallback","parse","RestrictedEditingMode","ck-tab-panel_disabled","loadRevisionData","$graveyard","DocumentOutlineUI","_enhanceCloseRevisionViewerCallback","196CZdVZL","has","_showRevisionViewer","AITabs","catch","revision-history-missing-configuration","isOfficialPlugin","PaginationLookup","repository","AIChatShortcuts","remove","selection","none","map","name","addRoot","getAttributeKeys","class","1294407lquRKu","Restored","indexOf","style","enableReadOnlyMode","showRevisionViewerCallback","AIBalloon","RevisionHistory","numeric","disableReadOnlyMode","AIChatHistory","revisionHistory.restoreRevisionCallback","1500000ZRKhHU","uiLanguage","Autosave","isOpen","change","init","changesNavigation","revisionHistory.viewerContainer","_closeRevisionViewer","plugins","RevisionTracker","display","RevisionHistoryUI","keys","4877Xpzscc","revisionHistory","bind","AIQuickActions","_cleanUp","editor","restrictedEditingException","block","creator","setAttribute","save","revisionHistory.showRevisionViewerCallback","1245123OaJZRM","isReady","createRangeIn","element","Annotations","Users","Dialog","addUser","revisionHistory.requireRevisionName","locale","includes","isEnabled","_recalculatePageBreaks","replace","getRevisions","AIReviewMode","insert","AITranslate","create","78wQVzCp","commands","_enhanceShowRevisionViewerCallback","isAnonymous"];return(ca=function(){return t})()}class ua extends et.Plugin{[ra(598)];static get[ra(593)](){return ra(519)}static get[ra(500)](){return!0}static get[ra(463)](){return!0}static get[ra(447)](){return[bt,Gt]}constructor(e){const i=ra;if(super(e),!this[i(543)][i(584)][i(573)](i(539)))throw new t.CKEditorError(i(499),this);this[i(598)]=null,this[i(602)](i(479),!1),this[i(543)][i(584)][i(446)](i(549),t=>this[i(496)]({...t,translations:this[i(543)][i(559)][i(481)]})),this[i(543)][i(584)][i(446)](i(486),t=>this[i(532)](t)),this[i(543)][i(584)][i(446)](i(523),t=>this[i(467)](t)),this[i(543)][i(584)][i(446)](i(558),!1),this[i(571)](),this[i(493)]()}set[ra(451)](t){const e=ra;this[e(543)][e(533)][e(573)](e(534))[e(451)]=t}get[ra(451)](){const t=ra;return this[t(543)][t(533)][t(573)](t(534))[t(451)]}[ra(466)](t){const e=ra;return this[e(543)][e(533)][e(573)](e(534))[e(466)](t)}[ra(440)](t){const e=ra;return this[e(543)][e(533)][e(573)](e(459))[e(440)](t)}[ra(564)](t){const e=ra;return this[e(543)][e(533)][e(573)](e(459))[e(564)](t||{toJSON:!1})}[ra(596)](){const e=ra,i=this[e(543)],s=(0,it.sanitizeEditorConfig)(i,oa),n=i[e(533)][e(573)](e(534)),r=i[e(533)][e(573)](e(555))[e(485)];return s[e(591)]=[e(442),e(585),e(530)],delete s[e(474)],s[e(533)][e(441)](aa,fe,De,class extends et.Plugin{static get[e(447)](){return[fe,e(555)]}[e(529)](){const s=e,o=this[s(543)][s(533)][s(573)](s(555));for(const t of r)t[s(572)]||o[s(594)](t.id)||o[s(557)](t);const a=n[s(502)][s(564)]();let c=null;const u=this[s(543)][s(533)][s(573)](s(475));u[s(451)]=n[s(451)],u[s(540)](s(561)).to(n),this[s(543)][s(570)][s(573)](s(585))[s(540)](s(561)).to(i,s(445),t=>!t);for(const e of a){const i=null===e[s(546)];if(i&&e[s(603)]===e[s(480)])continue;const r=e[s(450)]();u[s(466)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(455)](r,o);else if(!o){const e=a[u(450)]();e.id=(0,t.uid)(),n[u(462)](e,a[u(603)])[u(604)](t=>{c=t})}}else e[u(455)](r,o)})}}},Zo),s}[ra(571)](){const t=ra,e=this[t(543)][t(584)][t(573)](t(539))[t(517)];this[t(543)][t(584)][t(602)](t(549),async()=>{const i=t;this[i(543)][i(516)](i(464));const s=this[i(543)][i(533)][i(573)](i(534));if(this[i(543)][i(533)][i(495)](i(526))){const t=this[i(543)][i(533)][i(573)](i(526));await t[i(548)]()}else await s[i(582)]();if(this[i(543)][i(533)][i(495)](i(501))&&this[i(543)][i(533)][i(573)](i(501))[i(562)](),this[i(543)][i(533)][i(495)](i(556))){const t=this[i(543)][i(533)][i(573)](i(556));t[i(527)]&&t[i(608)]()}if(this[i(543)][i(533)][i(495)](i(497))){const t=this[i(543)][i(533)][i(573)](i(497))[i(472)][i(465)];for(const e of t)e[i(511)]=e[i(511)]?e[i(511)]+i(578):i(489);if(this[i(543)][i(533)][i(495)](i(454))){const t=document[i(586)](i(575));t&&t[i(547)](i(468),"-1")}if(this[i(543)][i(533)][i(495)](i(522))){const t=document[i(586)](i(601));t&&t[i(547)](i(468),"-1")}}const n=this[i(596)]();return e(n)[i(604)](t=>{const e=i;return this[e(598)]=t,this[e(543)][e(533)][e(495)](e(554))&&this[e(543)][e(533)][e(573)](e(554))[e(484)](),this[e(543)][e(533)][e(495)](e(589))&&(this[e(543)][e(533)][e(573)](e(492))[e(472)][e(553)][e(515)][e(535)]=e(506)),t})[i(498)](t=>(console[i(606)](t),this[i(543)][i(521)](i(464)),null))})}[ra(493)](){const t=ra,e=this[t(543)][t(584)][t(573)](t(539))[t(482)];this[t(543)][t(584)][t(602)](t(486),()=>{const i=t;if(this[i(543)][i(533)][i(495)](i(501))&&this[i(543)][i(533)][i(573)](i(501))[i(562)](),this[i(543)][i(533)][i(495)](i(589))&&(this[i(543)][i(533)][i(573)](i(492))[i(472)][i(553)][i(515)][i(535)]=""),this[i(543)][i(533)][i(495)](i(497))){const t=this[i(543)][i(533)][i(573)](i(497))[i(472)][i(465)];for(const e of t)e[i(511)]=i(489)===e[i(511)]?"":e[i(511)][i(563)](i(578),"");if(this[i(543)][i(533)][i(495)](i(454))){const t=document[i(586)](i(575));t&&t[i(476)](i(468))}if(this[i(543)][i(533)][i(495)](i(522))){const t=document[i(586)](i(601));t&&t[i(476)](i(468))}}return this[i(598)][i(533)][i(573)](i(475))[i(542)](),e(this[i(598)])[i(604)](()=>{const t=i;if(this[t(543)][t(521)](t(464)),this[t(598)]=null,this[t(543)][t(533)][t(495)](t(554))){const e=this[t(543)][t(533)][t(573)](t(554));e[t(484)](),e[t(597)]()}})})}[ra(496)](t){const e=ra,i=this[e(543)][e(584)][e(573)](e(576)),s=this[e(543)][e(584)][e(573)](e(531)),n=this[e(543)][e(584)][e(573)](e(473));return sa[e(568)](n,t)[e(604)](t=>(s[e(515)][e(535)]=e(545),i[e(515)][e(535)]=e(506),this[e(479)]=!0,t))}[ra(532)](t){const e=ra,i=this[e(543)][e(584)][e(573)](e(576));return this[e(543)][e(584)][e(573)](e(531))[e(515)][e(535)]=e(506),i[e(515)][e(535)]="",this[e(479)]=!1,t[e(583)]()}async[ra(467)](t){const e=ra,i=this[e(543)],s=this[e(598)][e(533)][e(573)](e(475)),n=i[e(533)][e(573)](e(534)),r=i[e(533)][e(573)](e(449)),o=s[e(502)][e(440)](t);let a,c,u;try{await r[e(490)](o,this[e(451)]),a=r[e(458)](o),c=r[e(605)](o)}catch(t){return void console[e(606)](t)}i[e(461)][e(528)](t=>{const s=e;for(const e of Array[s(460)](i[s(461)][s(469)][s(580)](s(544))))t[s(587)](e)}),s[e(551)]=!1,i[e(461)][e(452)](t=>{const s=e;t[s(470)](null),t[s(457)](i[s(461)][s(577)][s(505)][s(510)]());const n=Object[s(537)](a);for(const e of i[s(461)][s(577)][s(477)])s(491)!=e[s(456)]&&e[s(588)]()&&!n[s(560)](e[s(456)])&&t[s(448)](e);for(const e of n){let n=i[s(461)][s(577)][s(453)](e);n&&n[s(588)]()||(n=t[s(509)](e));const r=c[e],o=Object[s(537)](r),u=a[e];for(const e of n[s(510)]())o[s(560)](e)||t[s(476)](e,n);for(const i of o)t[s(547)](i,c[e][i],n);t[s(504)](t[s(552)](n)),t[s(566)](i[s(483)][s(487)](u,n),n,0)}});const l=dt(i[e(559)],e(513));return u=o[e(508)]?-1==o[e(508)][e(514)](l)?l+": "+o[e(508)]:o[e(508)]:l+": "+o[e(607)][e(444)](i[e(559)][e(525)],{month:e(595),day:e(520)})+", "+o[e(607)][e(599)](i[e(559)][e(525)],{hour:e(520),minute:e(520)}),await n[e(462)]({name:u}),s[e(551)]=!0,i[e(584)][e(573)](e(539))[e(482)]()}}function la(t,e){var i=ha();return(la=function(t,e){return i[t-=438]})(t,e)}function ha(){var t=["10910824IJijrL","5952540ovjNPg","34771356aDnwwk","7000833EsJwKg","6UHxXop","19648nnnNfV","181434paTiiZ","12iFVuaC","6201175jFlMeQ"];return(ha=function(){return t})()}!function(t){for(var e=la,i=t();;)try{if(703475===-parseInt(e(445))/1*(parseInt(e(438))/2)+parseInt(e(439))/3*(-parseInt(e(446))/4)+-parseInt(e(440))/5+-parseInt(e(442))/6+parseInt(e(444))/7+-parseInt(e(441))/8+parseInt(e(443))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ha)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|