@ckeditor/ckeditor5-revision-history 44.2.0-alpha.6 → 44.2.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/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 +10 -10
- 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/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},168:t=>{"use strict";t.exports=function(t){return t[1]}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[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=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(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,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(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")},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(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>tr,RevisionTracker:()=>xn,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Lr,RevisionsRepository:()=>Xi,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var A=b?b.toStringTag:void 0;const N=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":A&&A in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const E=function(t){if(!R(t))return!1;var e=N(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const M=k["__core-js_shared__"];var V,D=(V=/[^.]+$/.exec(M&&M.keys&&M.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var P=/^\[object .+?Constructor\]$/,L=Function.prototype,z=Object.prototype,W=L.toString,U=z.hasOwnProperty,H=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Z=function(t){return!(!R(t)||C(t))&&(E(t)?H:P).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return Z(i)?i:void 0};const B=q(k,"Map");const Y=q(Object,"create");const G=function(){this.__data__=Y?Y(null):{},this.size=0};const J=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const X=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var Q=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:Q.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=G,it.prototype.delete=J,it.prototype.get=X,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==N(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const At=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const Nt=Array.isArray;const Rt=function(){return!1};var Et="object"==typeof exports&&exports&&!exports.nodeType&&exports,Mt=Et&&"object"==typeof module&&module&&!module.nodeType&&module,Vt=Mt&&Mt.exports===Et?k.Buffer:void 0;const Dt=(Vt?Vt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Pt={};Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;const Lt=function(t){return It(t)&&Ft(t.length)&&!!Pt[N(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Ht=Ut&&Ut.exports===Wt&&y.process;const Zt=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Ht&&Ht.binding&&Ht.binding("util")}catch(t){}}();var $t=Zt&&Zt.isTypedArray;const qt=$t?zt($t):Lt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=Nt(t),n=!i&&At(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Gt=Object.prototype;const Jt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Gt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Xt=Kt(Object.keys,Object);var Qt=Object.prototype.hasOwnProperty;const te=function(t){if(!Jt(t))return Xt(t);var e=[];for(var i in Object(t))Qt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!E(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Jt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return Nt(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ae=q(k,"DataView");const Ne=q(k,"Promise");const Re=q(k,"Set");const Ee=q(k,"WeakMap");var Me="[object Map]",Ve="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ae),Pe=F(B),Le=F(Ne),ze=F(Re),We=F(Ee),Ue=N;(Ae&&Ue(new Ae(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Me||Ne&&Ue(Ne.resolve())!=Ve||Re&&Ue(new Re)!=De||Ee&&Ue(new Ee)!=Ce)&&(Ue=function(t){var e=N(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Pe:return Me;case Le:return Ve;case ze:return De;case We:return Ce}return e});const He=Ue;var Ze=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&Ze.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Ge=/\w*$/;const Je=function(t){var e=new t.constructor(t.source,Ge.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Xe=Ke?Ke.valueOf:void 0;const Qe=function(t){return Xe?Object(Xe.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Ye(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Je(t);case"[object Symbol]":return Qe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Jt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==He(t)};var oi=Zt&&Zt.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==He(t)};var ui=Zt&&Zt.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=Nt(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=He(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==N(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(Nt(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ai=b?b.prototype:void 0,Ni=Ai?Ai.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(Nt(e))return Ti(e,t)+"";if(yi(e))return Ni?Ni.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Ei=function(t){return null==t?"":Ri(t)};const Mi=function(t,e){return Nt(t)?t:bi(t,e)?[t]:xi(Ei(t))};const Vi=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Mi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Vi(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Mi(e,t)).length;null!=t&&i<n;)t=t[Vi(e[i++])];return i&&i==n?t:void 0};const Pi=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Li=function(t,e){return e.length<2?t:Fi(t,Pi(e,0,-1))};const zi=function(t,e){return e=Mi(e,t),null==(t=Li(t,e))||delete t[Vi(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Ui=Zi;function Hi(){const t=["5391760hAyURY","setName","creatorId","842871OukcWM","2534319QFVdIm","301568rFnjjJ","setAttribute","toJSON","6HSGheY","toVersion","fromVersion","set","createdAt","creator","fire","102758RRWfqk","20xPcSiY","attributes","map","3718974eJkcwp","4DuzUrZ","name","authors","authorsIds","_update","61850gVbSfF","diffData","removeAttribute"];return(Hi=function(){return t})()}function Zi(t,e){const i=Hi();return(Zi=function(t,e){return i[t-=391]})(t,e)}!function(t){const e=Zi,i=t();for(;;)try{if(285005===-parseInt(e(409))/1+-parseInt(e(414))/2*(-parseInt(e(397))/3)+parseInt(e(410))/4*(parseInt(e(391))/5)+-parseInt(e(402))/6*(parseInt(e(413))/7)+parseInt(e(399))/8+-parseInt(e(398))/9+parseInt(e(394))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(407)]=e[i(407)]||null,this[i(416)]=e[i(416)]||[],this[i(392)]=e[i(392)]||null,this[i(403)]=e[i(403)]||0,this[i(404)]=e[i(404)]||0,this[i(405)](i(415),e[i(415)]||""),this[i(405)](i(406),e[i(406)]||new Date),this[i(405)](i(411),e[i(411)]||{})}[Ui(395)](t){this[Ui(418)]({name:t})}[Ui(400)](t,e){const i=Ui,n=vi(this[i(411)]);Ci(n,t,e),this[i(418)]({attributes:n})}[Ui(393)](t){const e=Ui,i=vi(this[e(411)]);Wi(i,t),this[e(418)]({attributes:i})}[Ui(418)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(415),i(406),i(392),i(416),i(411),i(403),i(404),i(396)];for(const e of s){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,r[e]=i,n=!0)}n&&(r[i(416)]&&(r[i(417)]=r[i(416)][i(412)]((t=>t.id)),delete r[i(416)]),this[i(408)](i(418),r,e))}[Ui(401)](){const t=Ui;return{id:this.id,name:this[t(415)],creatorId:this[t(407)]?this[t(407)].id:null,authorsIds:this[t(416)][t(412)]((t=>t.id)),diffData:this[t(392)],createdAt:this[t(406)],attributes:this[t(411)],fromVersion:this[t(404)],toVersion:this[t(403)]}}}var qi=i(782),Bi=i(211),Yi=i(783);const Gi=Ki;function Ji(){const t=["getIndex","getRevisionsIterator","807EGeQsR","51750fdsIAI","_revisions","606768QMQRPW","8baXroE","RevisionsRepository","182082rbijDa","getUser","isPremiumPlugin","addRevision","creatorId","newRevisionId","join","Users","createRevision","earlier","afterInit","635316kCjpDD","get","requires","from","35zcdyXp","getEarlierVisibleRevision","length","getRevisionsInDiff","getRevision","data","oldRevisionId","getLaterVisibleRevision","33suoNSZ","966tuCnkJ","href","map","isNaN","editor","reverse","push","1167363IdBVKy","later","isOfficialPlugin","plugins","createdAt","add","name","diffData","pluginName","fromCharCode","5cuZfAU","fromVersion","authorsIds","toVersion","getRevisions","attributes","218293LpivnF","toJSON"];return(Ji=function(){return t})()}function Ki(t,e){const i=Ji();return(Ki=function(t,e){return i[t-=282]})(t,e)}!function(t){const e=Ki,i=t();for(;;)try{if(112270===parseInt(e(325))/1+-parseInt(e(302))/2*(parseInt(e(329))/3)+-parseInt(e(289))/4*(-parseInt(e(319))/5)+parseInt(e(335))/6*(-parseInt(e(293))/7)+parseInt(e(333))/8*(-parseInt(e(309))/9)+-parseInt(e(330))/10+-parseInt(e(301))/11*(-parseInt(e(332))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ji);class Xi extends qi.Plugin{static get[Gi(291)](){return[Bi.Users]}static get[Gi(317)](){return Gi(334)}static get[Gi(311)](){return!0}static get[Gi(337)](){return!0}get[Gi(295)](){const t=Gi;return this[t(331)][t(295)]}constructor(e){const i=Gi;super(e),this[i(331)]=new t.Collection}[Gi(288)](){!async function(e){const i=k([52,120,106,83,90,79,65,109,66,84,57,87,114,54,51,121,108,97,103,77,104,112,68,81,117,69,49,102,86,82,105,80,107,111,53,89,50,88,100,116,110,99,73,118,115,72,74,75,67,113,76,122,71,98,101,78,55,119,56,85,70,48]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=s[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Ki;for(const e in window)if(window[k([78,117,109,98,101,114])][i(305)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([120]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,n])=>{i(e),t(n)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Ki;return t[e(304)]((t=>String[e(318)](t)))[e(284)]("")}!function(t){const i=l();s[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=y(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(n())return c(k([86,97,108,105,100]));a(),s[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const n=36e5;function s(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](r/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function n(){return s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[r,s,o]=n;return e(r),await i(r,s,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const r=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,r,s)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&y(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?r/1e3:1738540800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Ki,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(303)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Gi(286)](t){const e=Gi,i=this[e(306)][e(312)][e(290)](e(285));return new $i({id:t.id,name:t[e(315)],creator:t[e(282)]?i[e(336)](t[e(282)]):null,diffData:t[e(316)]||t[e(298)],authors:t[e(321)][e(304)]((t=>i[e(336)](t))),createdAt:new Date(t[e(313)]),attributes:t[e(324)],fromVersion:t[e(320)],toVersion:t[e(322)]})}[Gi(338)](t,e=0){const i=Gi;this[i(331)][i(314)](t,e)}[Gi(297)](t){const e=Gi;return this[e(331)][e(290)](t)}[Gi(323)](t={toJSON:!1}){const e=Gi,i=Array[e(292)](this[e(331)]);return i[e(307)](),t[e(326)]?i[e(304)]((t=>t[e(326)]())):i}[Gi(327)](t){const e=Gi;return this[e(331)][e(327)](t)}[Gi(294)](t){const e=Gi,[,i]=this[e(328)](t,{direction:e(287)});return i}[Gi(300)](t){const e=Gi,[,i]=this[e(328)](t,{direction:e(310)});return i}[Gi(296)](t){const e=Gi,i=[];for(const n of this[e(328)](t[e(283)]))if(i[e(308)](n),n.id===t[e(299)])break;return i}*[Gi(328)](t,{direction:e=Gi(287),filter:i=()=>!0}={}){const n=Gi,r=n(287)===e?1:-1;let s=this[n(331)][n(290)](t),o=this[n(327)](s);for(yield s;s;){if(o+=r,s=this[n(297)](o),!s)return;i(s)&&(yield s)}}}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=Nt(t),a=Nt(e),c=o?vn:He(t),u=a?vn:He(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)};function _n(){const t=["creatorId","reInit","end","revisionHistoryLicenseKeyTrialLimit","createPositionAfter","updateRevisions","values","revision:","_fixPosition","item","locale","_prepareViewToSave","getMovedRangeStart","getUser","RevisionTracker","_continueCurrentRevision","slice","affectsData","setRevisionData","root","isOfficialPlugin","destroy","1738TGZGGj","isAdd","nodeAfter","_revisionId","elementStart","has","insert","setSource","getRevisionRootsAttributes","conversion","fromVersion","revisionHistoryLicenseKeyInvalid","childCount","getRevisionDocumentData","_getBaseVids","removeRootAttribute","bind","createdAt","children","_markers","_calculateMetaData","_handleSplitOperation","34570TgVihj","createPositionBefore","clone","map","64869mOnVRx","getRootNames","data-revision-","_diffRoots","rootName","newValue","getWalker","_setConversion","_findInsertionIndex","marked","type","_initialRevisionId","_removeMetaData","useFillerType","_showLicenseError","deletion","getIndex","getOperations","initialData","$graveyard","splitPosition","reverse","previousPosition","parse","markers","getNodeByPath","evaluationLimit","forEach","_insertChild","Initial revision","set","path","createRange","remove","130eGhlsE","isReady","_createFromRanges","revision","getAncestors","split","_bufferUpdate","version","toView","isEnabled","trim","get","history","_makeRevision","Empty document","keys","licenseKey","config","ready","_update","821hAPIqy","_startingVersion","creator","editor-initial-data-replaced-with-revision-data","revisionHistoryLicenseKeyValid","attributes","authorsIds","_createInitialRevision","18BUkVea","sendBufferedUpdates","getLatestVersion","graveyardPosition","parent","_savedMetaData","editor","PendingActions","vid","processor","_fixRange","getRoot","_lastFrom","_loadState","isEqual","getRange","_handleMergeOperation","_touchedRoots","keepParagraph","_handleMoveOperation","getAttributes","name","start","_revisionDataBuilder","startsWith","14iScIEa","fromEntries","targetPosition","repository","editing","_touchedMarkers","_operations","size","_getPreviousFrom","_getViewJson","plugins","vid_end","_handleMarkerOperation","revision-start","length","stickiness","baseVersion","addRoot","getTime","createRangeIn","_reset","_replaceEditorDataWithRevisionData","afterInit","attributesAfter","_isPendingUpdate","sourcePosition","_copyMarkers","_handleRootOperation","createRevision","offsetSize","getChild","Users","paragraph","for","expired","define","toVersion","928676CAreYo","_startingRevisionId","some","insertionPosition","documentFragment","collaboration.channelId","isPremiumPlugin","_diffRootsAttributes","revisionHistoryLicenseKeyUsageLimit","dataToMarker","max","toModel","_source","addRevision","_setAttribute","_transformMarkers","offset","update","requires","addRootAttribute","getRevisions","from","howMany","679344SfDQqb","revisionHistoryLicenseKeyExpired","data","revisionHistoryLicenseKeyNotAllowed","featureNotAllowed","range","add","_bufferedUpdates","_isInit","_removeRevisionMarkers","662484fKDGMp","move","nodes","revisionHistoryLicenseKeyEvaluationLimit","getCurrentRevisionId","domainLimit","_getFromVersion","_removePendingAction","_baseRoots","init","_loadedStateData","upcast","includes","_pendingAction","loadState","dataDowncast","element","stringify","_execute","RevisionsRepository","revision-end","saveRevision","NEGATIVE_INFINITY","pluginName","RealTimeCollaborationClient","_touched","trialLimit","createPositionFromPath","find","revisionHistory.resumeUnsavedRevision","_appendChild","hasContent","newRange","_handleInsertOperation","marker","usageLimit","_applyOperations","key","_authorId","source","_handleRootAttributeOperation","detachRoot","default","getRevision","_makeIdsRoot","authors","sort","rootsAttributes","markerToData","getAttribute","userId","changeRootAttribute","getChildren","$text","tableCell","string","_generateTape","toData","document","_cloneOperation","revisionHistoryLicenseKeyDomainLimit","push","14412MDthtd","_licenseKeyCheckInterval","_clone","_createCurrentRevision","finally","_lastTo","insertions","RevisionHistory","delete","oldRange","_getState","insertion","initial","roots","reinsert","position","_handleOperation","deletions","vid_start","addRevisionData","_processRootBeforeSave","filter","_makeModelFromViewString","getTransformedByOperation","currentRevision","_baseRootsAttributes","model","_markChanges","_addPendingAction","view","then","shift","PENDING_ACTION_REVISION_HISTORY","elementEnd","_saveMetaData","_loadRevisionData","_fixOperation","adapter","invalid","_isAttached","_baseIdsRoots","diffData","createPositionAt","getData","attributesBefore","isAttached","getOperation","buildRevisionData","_idsRoots","resolve","_getVidAttributeName","text","clear","merge","attachChange"];return(_n=function(){return t})()}const In=Sn;function Sn(t,e){const i=_n();return(Sn=function(t,e){return i[t-=187]})(t,e)}!function(t){const e=Sn,i=t();for(;;)try{if(110930===-parseInt(e(274))/1+parseInt(e(307))/2*(parseInt(e(220))/3)+parseInt(e(439))/4*(parseInt(e(254))/5)+parseInt(e(377))/6+parseInt(e(344))/7+-parseInt(e(367))/8*(-parseInt(e(282))/9)+parseInt(e(216))/10*(-parseInt(e(194))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_n);const On={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class xn extends qi.Plugin{static get[In(400)](){return In(508)}static get[In(192)](){return!0}static get[In(350)](){return!0}static get[In(362)](){return[Bi.Users,Xi,qi.PendingActions]}constructor(e){const i=In;super(e),this[i(476)]=null,this[i(463)]=null,this[i(305)]=new An(this[i(288)]),this[i(231)]=this[i(288)][i(271)][i(265)](i(349))||i(451),this[i(374)]=new Map,this[i(387)]=null;const n=(0,t.uid)();this[i(356)]={history:this[i(288)][i(465)][i(435)][i(266)],getLatestVersion:()=>Promise[i(488)](this[i(288)][i(465)][i(435)][i(261)]),getCurrentRevisionId:()=>n},this[i(250)](i(255),!1),this[i(250)](i(263),!0),this[i(250)](i(331),!1),this[i(288)][i(271)][i(342)](i(406),!0),this[i(288)][i(203)][i(340)](i(388))[i(353)]({view:i(257)})}[In(386)](){const t=In;this[t(310)]=this[t(288)][t(317)][t(265)](t(396)),this[t(227)](),this[t(288)][t(369)].on(t(272),(()=>{const e=t,i=this[e(310)][e(420)](0),n=i&&null===i[e(276)]?i:null;if(this[e(187)]=!!n&&this[e(288)][e(271)][e(265)](e(406)),this[e(288)][e(317)][e(199)](e(401))){const t=this[e(356)][e(381)](),r=this[e(310)][e(420)](t);if(r)this[e(275)]=r[e(204)],this[e(187)]=!1;else{const t=this[e(356)][e(266)][e(313)][e(405)]((t=>!t[e(375)])),r=t?t[e(323)]:this[e(356)][e(266)][e(261)];i?(i[e(343)]<r&&i[e(273)]({toVersion:r}),this[e(187)]?(this[e(356)][e(381)]=()=>n.id,this[e(275)]=n[e(204)]):(this[e(275)]=i[e(343)],this[e(187)]=!1)):(this[e(275)]=r,this[e(187)]=!1)}}else n&&(this[e(288)][e(465)][e(435)][e(266)][e(261)]=Math[e(354)](n[e(343)],this[e(288)][e(465)][e(435)][e(266)][e(261)]),n[e(204)]===n[e(343)]?(0!==n[e(204)]&&(this[e(356)][e(381)]=()=>n.id),this[e(187)]=!1):this[e(187)]&&(this[e(356)][e(381)]=()=>n.id,this[e(275)]=n[e(204)])),this[e(187)]||(this[e(275)]=this[e(288)][e(465)][e(435)][e(261)]);this[e(305)][e(386)](this[e(356)][e(266)]),this[e(281)](this[e(275)]),this[e(442)](this[e(275)]),this[e(476)]&&this[e(283)]()})),this[t(210)](t(255)).to(this,t(331),(t=>!t)),this[t(270)]=this[t(288)][t(271)][t(265)](t(270));const e=this[t(288)];this[t(440)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(278)==s||i(205)==s||i(368)==s||i(437)==s||i(370)==s||i(380)==s||i(497)==s||i(352)==s){delete e[r],n=s,clearInterval(this[i(440)]),this[i(440)]=void 0;break}}i(205)==n&&e[i(234)](i(477)),i(368)==n&&e[i(234)](i(341)),i(437)==n&&e[i(234)](i(382)),i(370)==n&&e[i(234)](i(371),i(446)),i(380)==n&&e[i(234)](i(246)),i(497)==n&&e[i(234)](i(403)),i(352)==n&&e[i(234)](i(412))}),1e3)}async[In(329)](){const t=In;if(this[t(310)][t(321)]>0){const e=this[t(310)][t(420)](0),i=await this[t(207)](e),n=await this[t(202)](e);this[t(328)](i,n)}}[In(193)](){const t=In;super[t(193)](),this[t(440)]&&clearInterval(this[t(440)])}[In(201)](t){this[In(356)]=t}async[In(361)](){const t=In,e=await this[t(356)][t(284)]();if(e>this[t(463)][t(343)]){await this[t(295)]();const i=this[t(486)]({revision:this[t(463)],to:e});i[t(422)]=i[t(280)][t(219)]((e=>this[t(288)][t(317)][t(265)](t(338))[t(507)](e))),this[t(463)][t(273)](i)}}async[In(295)](){const t=In;this[t(187)]&&!this[t(387)]&&(await this[t(474)](this[t(463)]),this[t(305)][t(391)](this[t(463)]),this[t(387)]={fromVersion:this[t(463)][t(204)],authors:this[t(463)][t(422)][t(188)]()})}async[In(398)](e={},i=null){const n=In,r=[];await this[n(295)](),this[n(187)]=!1,i>this[n(463)][n(343)]&&(i=null),null===i&&(i=await this[n(356)][n(284)]());const s=this[n(383)](i),o=this[n(486)]({from:s,to:i});if(this[n(463)][n(343)]<i){const t=this[n(486)]({revision:this[n(463)],from:i,to:i});t[n(422)]=[],t[n(280)]=[],t.id=this[n(463)].id,this[n(463)][n(273)](t,!0),delete t[n(422)],r[n(438)](t)}e[n(494)]=this[n(288)][n(317)][n(265)](n(338)).me.id,e[n(303)]=e[n(303)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(458)](e);r[n(438)](e);const c=this[n(310)][n(236)](a);if(0!==c){const t=this[n(310)][n(420)](c-1);if(t[n(204)]!==i){const s=this[n(305)][n(482)](i,t[n(343)]),o={id:t.id,diffData:s[n(480)],authorsIds:s[n(280)],authors:s[n(280)][n(219)]((t=>this[n(288)][n(317)][n(265)](n(338))[n(507)](t))),fromVersion:i};t===this[n(463)]&&(o[n(211)]=new Date(e[n(211)][n(325)]()+10)),t[n(273)](o,!0),delete o[n(422)],r[n(438)](o)}}if(this[n(476)]){for(const t of r)this[n(260)](t.id,t,!0);this[n(283)]()}return a}[In(458)](t){const e=In,i=this[e(310)][e(335)](t);return this[e(476)]&&i.on(e(273),((t,i,n)=>{const r=e;n||(this[r(260)](i.id,i,!0),this[r(283)]())})),this[e(310)][e(357)](i,this[e(228)](i)),i}async[In(207)](t){const e=In;await this[e(474)](t);const i={};for(const n in t[e(480)]){if(t[e(480)][n][e(493)]&&!t[e(480)][n][e(493)][e(484)])continue;const r=this[e(376)](JSON[e(243)](t[e(480)][n][e(445)])),s=this[e(288)][e(311)][e(468)][e(435)],o=new Yi.ViewDocumentFragment(s,r[e(219)]((t=>Tn(t,this[e(288)]))));this[e(288)][e(369)][e(291)][e(233)](e(229)),i[n]=this[e(288)][e(369)][e(291)][e(434)](o),this[e(288)][e(369)][e(291)][e(233)](e(419))}return i}async[In(202)](t){const e=In;await this[e(474)](t);const i={};for(const n in t[e(480)])t[e(480)][n][e(493)]&&!t[e(480)][n][e(493)][e(484)]||(i[n]=t[e(480)][n][e(330)]||{});return i}[In(283)](){const t=In;if(0===this[t(374)][t(314)])return;if(this[t(331)])return;let e=Array[t(365)](this[t(374)][t(500)]());this[t(374)][t(491)]();for(let i=0;i<e[t(321)];i++){const n=e[i];let r=!1;for(const e of Object[t(269)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(460)]((t=>null!==t)),!e[t(321)])return;for(let i=0;i<e[t(321)];i++){const n=e[i];void 0!==n[t(204)]&&void 0===n[t(343)]&&(n[t(343)]=this[t(310)][t(420)](n.id)[t(343)]),void 0!==n[t(343)]&&void 0===n[t(204)]&&(n[t(204)]=this[t(310)][t(420)](n.id)[t(204)])}const i=this[t(288)][t(271)][t(265)](t(349));this[t(331)]=!0,this[t(467)](),this[t(476)][t(499)](e,i)[t(443)]((()=>{this[t(331)]=!1}))[t(469)]((e=>{const i=t;if(e)for(const t of e)this[i(190)]({id:t.id,createdAt:t[i(211)]});this[i(384)](),this[i(283)]()}))}[In(328)](e,i){const n=In;let r=this[n(288)][n(271)][n(265)](n(238)),s=this[n(288)][n(271)][n(265)](n(424));if(void 0===r){r={};for(const t of this[n(288)][n(465)][n(435)][n(221)]())r[t]=""}if(n(432)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(288)][n(465)][n(435)][n(221)]())s[t]={}}let o=!1;const a=Object[n(269)](r),c=Object[n(269)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(264)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(269)](s[t])[n(321)]>0){o=!0;break}}o||(o=c[n(346)]((t=>!this[n(288)][n(465)][n(435)][n(293)](t)))),o&&(0,t.logWarning)(n(277),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(288)][n(271)][n(250)](n(238),e),this[n(288)][n(271)][n(250)](n(424),i)}[In(467)](){const t=In;if(!this[t(390)]){const e=this[t(288)][t(317)][t(265)](t(289));this[t(390)]=e[t(373)](Qi(this[t(288)][t(504)],t(471)))}}[In(384)](){const t=In;this[t(390)]&&(this[t(288)][t(317)][t(265)](t(289))[t(253)](this[t(390)]),this[t(390)]=null)}[In(228)](t){const e=In,i=this[e(310)][e(364)]();i[e(241)]();let n=0;for(;n<i[e(321)];){const r=i[n];if(r===this[e(463)]){n++;continue}if(r.id===this[e(231)])break;const s=t[e(343)]-r[e(343)]||t[e(204)]-r[e(204)];if(s>0)break;if(s<0)n++;else{if(!t[e(276)]&&r[e(276)])break;if(r[e(276)]||!t[e(276)]){if(t[e(211)]>r[e(211)])break;n++}else n++}}return n}[In(190)](t){const e=In,i=this[e(310)][e(420)](t.id);if(t[e(211)]&&(t[e(211)]=new Date(t[e(211)])),t[e(280)]){const i=this[e(288)][e(317)][e(265)](e(338));t[e(422)]=t[e(280)][e(219)]((t=>i[e(507)](t)))}i[e(273)](t,!0)}[In(486)]({revision:t=null,from:e=null,to:i=null}){const n=In;e=null!==e?e:t[n(204)],i=null!==i?i:t[n(343)];const r=this[n(305)][n(482)](e,i),s={diffData:r[n(480)],authorsIds:r[n(280)],fromVersion:e,toVersion:i};if(!t||i!==t[n(343)]){const t=i-1,e=this[n(356)][n(266)][n(485)](t);s[n(211)]=e&&e[n(211)]||new Date}if(this[n(387)]&&e===this[n(387)][n(204)])for(const t of this[n(387)][n(422)])s[n(280)][n(389)](t.id)||s[n(280)][n(438)](t.id);return s}[In(474)](t){const e=In;if(!t||t[e(480)])return Promise[e(488)]();{const i=this[e(288)][e(271)][e(265)](e(349));return this[e(476)][e(420)]({channelId:i,revisionId:t.id})[e(469)]((i=>{const n=e;t[n(480)]=i[n(480)]}))}}[In(260)](t,e,i){const n=In;if(this[n(374)][n(199)](t)){const r=this[n(374)][n(265)](t);e=i?{...r,...e}:{...e,...r}}this[n(374)][n(250)](t,e)}[In(383)](t){const e=In,i=this[e(310)][e(364)]();i[e(241)](),i[e(470)]();const n=i[e(405)]((i=>i[e(343)]<=t))[e(343)];return n<this[e(275)]?this[e(275)]:n}[In(281)](t){const e=In,i=this[e(310)][e(420)](this[e(310)][e(321)]-1);if(i)this[e(231)]=i.id;else{const i=!this[e(288)][e(465)][e(435)][e(452)][e(405)]((t=>this[e(288)][e(465)][e(408)](t))),n=this[e(288)][e(317)][e(265)](e(338)).me.id,r=Qi(this[e(288)][e(504)],e(i?268:249));this[e(267)]({from:t,to:t,id:this[e(231)],name:r,creatorId:n})}}[In(442)](t){const e=In,i=this[e(356)][e(381)]();this[e(463)]=this[e(310)][e(420)](i),this[e(463)]||(this[e(463)]=this[e(267)]({from:t,to:t,id:i,name:"",creatorId:null}))}[In(267)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=In,o=this[s(486)]({from:e,to:i});o[s(303)]=t,o[s(494)]=n,o.id=r;const a=this[s(458)](o);return this[s(476)]&&this[s(260)](o.id,o,!0),a}[In(227)](){const t=In;this[t(288)][t(203)][t(340)](t(392))[t(425)]({model:t(257)})}[In(376)](t){const e=In;return(t=t[e(460)]((t=>!t[e(303)]||e(320)!==t[e(303)]&&e(397)!==t[e(303)])))[e(247)]((t=>{const i=e;i(432)!=typeof t&&(t[i(212)]=this[i(376)](t[i(212)]),t[i(279)]=t[i(279)][i(460)]((t=>!t[0][i(306)](i(222)))))})),t}}function Tn(t,e){const i=In,n=e[i(311)][i(468)][i(435)];if(i(432)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(212)][i(219)]((t=>Tn(t,e)));return new(On[t[i(230)]]||Yi.ViewElement)(n,t[i(303)],t[i(279)],r)}}class An{constructor(t){const e=In;this[e(288)]=t,this[e(287)]=new Map,this[e(294)]=-1,this[e(444)]=-1,this[e(213)]=new Map,this[e(223)]=new Map,this[e(351)]=new Map,this[e(385)]=new Map,this[e(464)]=new Map,this[e(487)]=new Map,this[e(479)]=new Map,this[e(402)]=new Map,this[e(312)]=new Map,this[e(299)]=new Map,this[e(197)]=1}[In(386)](t){const e=In;this[e(416)]=t;const i=new Map,n=new Map,r=this[e(288)][e(465)][e(435)][e(452)][e(219)]((t=>t[e(224)]));for(const t of r){const r=this[e(288)][e(465)][e(435)][e(293)](t),s=Nn(r);i[e(250)](t,s),n[e(250)](t,Object[e(308)](r[e(302)]()))}const s=Array[e(365)](this[e(288)][e(465)][e(244)])[e(219)]((t=>[t[e(303)],t[e(297)]()])),o=this[e(416)][e(261)];this[e(473)](o,i,s,n),this[e(345)]=this[e(197)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(250)](t,i),c[e(250)](t,{})}this[e(473)](Number[e(399)],a,[],c)}[In(482)](t,e){const i=In;if(this[i(294)]===t&&this[i(444)]<=e)this[i(287)][i(314)]>1&&this[i(232)](this[i(444)]),this[i(413)](this[i(444)],e,!0);else{if(!this[i(287)][i(199)](t)){const e=this[i(315)](t);this[i(214)](e,t,!1)}this[i(214)](t,e,!0)}return this[i(294)]=t,this[i(444)]=e,this[i(449)]()}[In(391)](t){const e=In;this[e(327)](),this[e(294)]=t[e(204)],this[e(444)]=t[e(343)];for(const i in t[e(480)]){const n=t[e(480)][i][e(493)],r=vi(t[e(480)][i][e(483)])||{},s=this[e(461)](t[e(480)][i][e(456)]);s[e(224)]=i,s[e(478)]=!n||!n[e(484)],s[e(484)]=()=>s[e(478)],this[e(385)][e(250)](i,s),this[e(464)][e(250)](i,r),n&&this[e(299)][e(250)](i,n);const o=this[e(421)](s);this[e(479)][e(250)](i,o);for(const[t,i]of s[e(244)]){if(!t[e(306)](e(501)))continue;const n=t[e(259)](":")[2];for(const t of i[e(226)]({singleCharacters:!0})){const i=this[e(489)](t),r=e(472)==t[e(230)]?t[e(242)][e(251)][e(188)](0,-1):t[e(242)][e(251)],s=o[e(245)](r)[e(426)](i);this[e(402)][e(250)](s,{userId:n})}}}this[e(345)]=this[e(197)];const i=[...Array(this[e(197)])[e(269)]()][e(188)](1)[e(460)]((t=>!this[e(402)][e(199)](t)));let n=0;const r=new Map;for(const s in t[e(480)]){const o=t[e(480)][s][e(493)],a=vi(t[e(480)][s][e(330)])||{},c=this[e(461)](t[e(480)][s][e(445)]);c[e(224)]=s,c[e(478)]=!o||o[e(484)],c[e(484)]=()=>c[e(478)],this[e(223)][e(250)](s,c),this[e(351)][e(250)](s,a);const u=this[e(421)](c,Number[e(399)]);this[e(487)][e(250)](s,u),r[e(250)](s,c[e(484)]()?a:{});for(const[t,i]of c[e(244)]){if(!t[e(306)](e(501)))continue;const n=t[e(259)](":")[2];for(const t of i[e(226)]({singleCharacters:!0})){const i=this[e(489)](t),r=this[e(197)]++,s=e(472)==t[e(230)]?t[e(242)][e(251)][e(188)](0,-1):t[e(242)][e(251)];u[e(245)](s)[e(358)](i,r),this[e(402)][e(250)](r,{userId:n})}}for(const t of this[e(288)][e(465)][e(326)](c)[e(226)]({singleCharacters:!0})){const r=this[e(489)](t),s=e(472)==t[e(230)]?t[e(242)][e(251)][e(188)](0,-1):t[e(242)][e(251)],o=u[e(245)](s);o[e(426)](r)>0||o[e(358)](r,i[n++])}for(const[t,i]of c[e(244)])t[e(306)](e(501))||this[e(213)][e(250)](t,i)}const s=Rn(e(239));this[e(385)][e(250)](e(239),s),this[e(479)][e(250)](e(239),this[e(421)](s,1));const o=Rn(e(239));this[e(223)][e(250)](e(239),o),this[e(487)][e(250)](e(239),this[e(421)](o,1));const a=Array[e(365)](this[e(223)])[e(219)]((([t,e])=>[t,Nn(e)]));this[e(473)](this[e(444)],a,this[e(213)],r)}[In(461)](t){const e=In,i=JSON[e(243)](t),n=this[e(288)][e(311)][e(468)][e(435)],r=new Yi.ViewDocumentFragment(n,i[e(219)]((t=>Tn(t,this[e(288)]))));return this[e(288)][e(369)][e(355)](r)}[In(473)](t,e,i,n){const r=In,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(250)](t,{start:e[r(304)][r(218)](),end:e[r(496)][r(218)](),rootName:e[r(191)][r(224)]});this[r(287)][r(250)](t,{roots:s,markers:a,rootsAttributes:o})}[In(232)](t){const e=In;this[e(287)][e(447)](t)}[In(495)](){const t=In;this[t(327)](),this[t(294)]=-1,this[t(444)]=-1,this[t(287)][t(491)](),this[t(386)](this[t(416)])}[In(327)](){const t=In;this[t(402)][t(491)](),this[t(312)][t(491)](),this[t(299)][t(491)](),this[t(223)][t(491)](),this[t(351)][t(491)](),this[t(385)][t(491)](),this[t(464)][t(491)](),this[t(487)][t(491)](),this[t(479)][t(491)](),this[t(213)][t(491)](),this[t(197)]=1,this[t(345)]=this[t(197)]}[In(421)](t,e=null){const i=In;let n=null;t.is(i(348))||(n=new Yi.Element(t[i(303)],{vid_start:null===e?this[i(197)]++:e++}));const r=[];for(const n of t[i(429)]())if(n.is(i(393))){r[i(438)](this[i(421)](n,e));const t=r[r[i(321)]-1];null!==e&&(e=t.is(i(393),i(430))?t[i(426)](i(290))+1:t[i(426)](i(318))+1)}else for(let t=0;t<n[i(336)];t++)r[i(438)](new Yi.Element(i(430),{vid:null===e?this[i(197)]++:e++}));if(t.is(i(348))){const e=Rn(t[i(224)]);return e[i(248)](0,r),e}return n[i(358)](i(318),null===e?this[i(197)]++:e++),n[i(248)](0,r),n}[In(214)](t,e,i){const n=In;this[n(327)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(287)][n(265)](t);this[n(385)]=new Map(r),this[n(464)]=new Map(vi(o));for(const[t,e]of this[n(385)])if(n(239)!==t&&(this[n(223)][n(250)](t,Nn(e)),this[n(351)]=new Map(vi(o)),i)){const i=this[n(197)];this[n(487)][n(250)](t,this[n(421)](e)),this[n(479)][n(250)](t,this[n(421)](e,i))}this[n(345)]=this[n(197)],this[n(223)][n(250)](n(239),Nn(this[n(385)][n(265)](n(239)))),i&&this[n(487)][n(250)](n(239),this[n(421)](this[n(385)][n(265)](n(239))));for(const[t,e]of s){const i=this[n(385)][n(265)](e[n(224)]),r=this[n(223)][n(265)](e[n(224)]),s=new Yi.Range(this[n(502)](e[n(304)],i),this[n(502)](e[n(496)],i)),o=this[n(292)](s,r);i[n(244)][n(250)](t,s),this[n(213)][n(250)](t,o)}this[n(413)](t,e,i)}[In(413)](t,e,i){const n=In;for(const r of this[n(416)][n(237)](t,e))this[n(455)](r,i);for(const t of this[n(223)][n(500)]())t[n(244)][n(491)]();for(const[t,e]of this[n(213)])this[n(223)][n(265)](e[n(191)][n(224)])[n(244)][n(250)](t,e[n(218)]());const r=new Map,s=new Map;for(const[t,e]of this[n(223)])r[n(250)](t,Nn(e)),s[n(250)](t,this[n(351)][n(265)](t));this[n(473)](e,r,this[n(213)],s)}[In(315)](t){const e=In,i=Array[e(365)](this[e(287)][e(269)]());i[e(423)](((t,e)=>t-e)),i[e(241)]();for(const e of i)if(e<t)return e;return Number[e(399)]}[In(333)](t,e){const i=In,n=Array[i(365)](e[i(244)])[i(219)]((([e,n])=>[e,this[i(292)](n,t)]));t[i(244)]=new Map(n)}[In(359)](t){const e=In;for(const i of this[e(213)][e(500)]()){const n=i[e(462)](t),r=Yi.Range[e(256)](n);i[e(304)]=r[e(304)],i[e(496)]=r[e(496)]}}[In(455)](t,e){const i=In;if(i(324)!=t[i(230)]&&i(418)!=t[i(230)]){if(i(200)==t[i(230)]){const n=t[i(454)][i(191)][i(224)];this[i(223)][i(199)](n)||(this[i(223)][i(250)](n,Rn(n,!0)),this[i(351)][i(250)](n,{}),e&&this[i(487)][i(250)](n,Rn(n,!0)))}else{if(i(363)==t[i(230)]||i(209)==t[i(230)]||i(428)==t[i(230)])return void this[i(417)](t);i(411)==t[i(230)]&&this[i(319)](t)}if(i(411)!==t[i(230)]){const e=this[i(436)](t,this[i(223)]);e[i(395)](),this[i(359)](e)}if(e)switch(t[i(230)]){case i(200):this[i(410)](t);break;case i(378):case i(253):case i(453):this[i(301)](t);break;case i(492):this[i(298)](t);break;case i(259):this[i(215)](t)}}else this[i(334)](t,e)}[In(436)](t,e){const i=In,n=t[i(218)]();return n[i(415)]=t[i(415)],this[i(475)](n,e),n}[In(208)](t){const e=In;return t[e(219)]((t=>{const i=e,n=this[i(489)](t);return Number(t[i(503)][i(426)](n))}))}[In(433)](t,e){const i=In;if(t.is(i(393),i(430)))e[i(438)]({item:t,type:i(490)});else{t.is(i(393))&&e[i(438)]({item:t,type:i(198)});for(const n of t[i(429)]())this[i(433)](n,e);t.is(i(393))&&e[i(438)]({item:t,type:i(472)})}return e}[In(449)](){const t=In,e=new Map(this[t(402)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(385)][t(269)](),...this[t(223)][t(269)]()]);a[t(447)](t(239));for(const e of a){const i=this[t(223)][t(265)](e)||Rn(e,!1),n=this[t(385)][t(265)](e)||Rn(e,!1);i[t(484)]()||n[t(484)]()?(r[t(445)][e]=Nn(i),r[t(456)][e]=Nn(n),this[t(333)](r[t(456)][e],n),this[t(333)](r[t(445)][e],i),s[t(445)][e]=this[t(433)](this[t(487)][t(265)](e),[]),s[t(456)][e]=this[t(433)](this[t(479)][t(265)](e)||Rn(e,!1),[])):a[t(447)](e)}for(const r of a){const o=s[t(445)][r];for(const r of o){const s=this[t(489)](r),o=r[t(503)][t(426)](s);i[t(447)](o),o>=this[t(345)]&&n[t(250)](o,e[t(265)](o))}}for(const r of a){const a=s[t(445)][r],c=this[t(208)](s[t(456)][r]);let u=0;for(const r of a){const s=this[t(489)](r),a=r[t(503)][t(426)](s);if(!n[t(199)](a)&&!o[t(199)](a))if(i[t(199)](a))u++;else{if(a!=c[u]){const n=e[t(265)](a)||e[t(265)](c[u]);for(;a!=c[u];)i[t(199)](c[u])||(o[t(250)](c[u],n),e[t(250)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(445)][e];for(const e of r){const r=this[t(489)](e),s=e[t(503)][t(426)](r);if(o[t(199)](s)){const e=o[t(265)](s);i[t(199)](s)||i[t(250)](s,{...e}),n[t(250)](s,{...e})}}}for(const e of i[t(269)]())e>=this[t(345)]&&i[t(447)](e);const c=new Map;for(const e of a){let r=s[t(445)][e];for(const e of r)if(e[t(503)].is(t(393),t(431))){const i=this[t(489)](e),r=e[t(503)][t(426)](i);if(n[t(199)](r)){const i=e[t(503)][t(286)][t(286)][t(426)](t(457)),s=c[t(265)](i)||new Set;s[t(373)](n[t(265)](r)[t(427)]),c[t(250)](i,s)}}r=s[t(456)][e];for(const e of r)if(e[t(503)].is(t(393),t(431))){const n=this[t(489)](e),r=e[t(503)][t(426)](n);if(i[t(199)](r)){const n=e[t(503)][t(286)][t(286)][t(426)](t(457)),s=c[t(265)](n)||new Set;s[t(373)](i[t(265)](r)[t(427)]),c[t(250)](n,s)}}for(const e of c[t(269)]())(n[t(199)](e)||i[t(199)](e))&&c[t(447)](e)}for(const e of a){const r=s[t(445)][e];let o=null,a=null;for(const e of r){const r=this[t(489)](e),s=e[t(503)][t(426)](r),u=c[t(265)](s);u&&t(198)==e[t(230)]&&(o=Array[t(365)](u)[0],a=e[t(503)][t(426)](t(318))),o&&(i[t(250)](s,{userId:o}),n[t(250)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(456)][e],a=r[t(445)][e];for(const{userId:e}of this[t(312)][t(500)]())null!==e&&l[t(373)](e);for(const{userId:e}of this[t(299)][t(500)]())null!==e&&l[t(373)](e);this[t(466)](a,s[t(445)][e],n,t(450),l),this[t(466)](o,s[t(456)][e],i,t(235),l),u[e]={insertions:this[t(505)](a),deletions:this[t(505)](o),attachChange:this[t(299)][t(265)](e)||null,attributesBefore:vi(this[t(464)][t(265)](e))||{},attributesAfter:vi(this[t(351)][t(265)](e))}}return{diffData:u,authorsIds:Array[t(365)](l)}}[In(459)](t){const e=In;for(const[,i]of t[e(244)]){const t=i[e(304)][e(258)]()[e(460)]((t=>e(431)==t[e(303)]));for(const i of t)1==i[e(206)]&&i[e(337)](0).is(e(393),e(339))&&i[e(337)](0)[e(358)](e(300),!0)}}[In(505)](t){const e=In;this[e(459)](t);const i=this[e(288)][e(369)][e(262)](t,{}),n=Array[e(365)](i[e(429)]())[e(219)]((t=>this[e(316)](t)));return JSON[e(394)](n)}[In(316)](t){const e=In;if(t.is(e(430)))return t[e(369)];{const i=t;return{type:Object[e(269)](On)[e(405)]((e=>t instanceof On[e])),name:i[e(303)],attributes:Array[e(365)](i[e(302)]()),children:Array[e(365)](i[e(429)]())[e(219)]((t=>this[e(316)](t)))}}}[In(466)](t,e,i,n,r){const s=In;let o=null,a=null,c=0;const u=this[s(288)][s(465)];for(let n=0;n<e[s(321)];n++){const r=this[s(489)](e[n]),c=e[n][s(503)][s(426)](r),h=i[s(265)](c),d=n==e[s(321)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(427)]!=o[s(427)])&&(l(h,En(a,t,u),En(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,En(a,t,u),Mn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(427)],d=l(501)+n+":"+h+":"+c++,f=u[l(252)](i,a);t[l(244)][l(250)](d,f),null!==h&&r[l(373)](h)}}[In(489)](t){const e=In;switch(t[e(230)]){case e(198):return e(457);case e(472):return e(318);default:return e(290)}}[In(475)](t,e){const i=In;t[i(323)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(265)](r[i(191)][i(224)]);t[n]=this[i(502)](r,s)}if(r instanceof Yi.Range){const s=e[i(265)](r[i(191)][i(224)]);t[n]=this[i(292)](r,s)}i(191)===n&&(t[i(191)]=e[i(265)](t[i(191)][i(224)]))}}[In(292)](t,e){const i=In;return this[i(288)][i(465)][i(252)](this[i(502)](t[i(304)],e),this[i(502)](t[i(496)],e))}[In(502)](t,e){const i=In;return this[i(288)][i(465)][i(404)](e,t[i(251)],t[i(322)])}[In(410)](t){const e=In,i=this[e(487)][e(265)](t[e(454)][e(191)][e(224)]),n=this[e(502)](t[e(454)],i),r=null===t[e(415)]?null:t[e(415)]||this[e(288)][e(317)][e(265)](e(338)).me.id,s=n[e(286)],o=this[e(197)],a=[];for(const i of t[e(379)])if(i.is(e(393)))a[e(438)](this[e(421)](i));else for(let t=0;t<i[e(336)];t++)a[e(438)](new Yi.Element(e(430),{vid:this[e(197)]++}));const c=this[e(197)];for(let t=o;t<c;t++)this[e(402)][e(250)](t,{userId:r});s[e(248)](n[e(360)],a)}[In(301)](t){const e=In;(t=this[e(436)](t,this[e(487)]))[e(395)]();const i=null===t[e(415)]?null:t[e(415)]||this[e(288)][e(317)][e(265)](e(338)).me.id,n=t[e(506)](),r=n[e(286)],s=n[e(360)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(337)](e);s.is(a(393),a(430))?n[a(250)](s[a(426)](a(290)),{userId:i}):(n[a(250)](s[a(426)](a(457)),{userId:i}),t(n,s,0,s[a(206)]),n[a(250)](s[a(426)](a(318)),{userId:i}))}}(this[e(402)],r,s,s+t[e(366)])}[In(298)](t){const e=In,i=null===(t=this[e(436)](t,this[e(487)]))[e(415)]?null:t[e(415)]||this[e(288)][e(317)][e(265)](e(338)).me.id,n=t[e(309)][e(286)],r=t[e(332)][e(286)],s=n[e(426)](e(318)),o=r[e(426)](e(457));n[e(358)](e(318),r[e(426)](e(318))),r[e(358)](e(318),s),this[e(402)][e(250)](o,{userId:i}),this[e(402)][e(250)](s,{userId:i}),t[e(395)]()}[In(215)](t){const e=In,i=null===(t=this[e(436)](t,this[e(487)]))[e(415)]?null:t[e(415)]||this[e(288)][e(317)][e(265)](e(338)).me.id,n=t[e(285)],r=t[e(240)][e(286)];t[e(395)]();const s=r[e(426)](e(318)),o=t[e(347)][e(196)];if(n){const t=o[e(426)](e(318)),n=r[e(426)](e(318));r[e(358)](e(318),t),o[e(358)](e(318),n),this[e(402)][e(250)](r[e(426)](e(318)),{userId:i}),this[e(402)][e(250)](o[e(426)](e(457)),{userId:i})}else{const t=this[e(197)]++,n=this[e(197)]++;r[e(358)](e(318),t),o[e(358)](e(457),n),o[e(358)](e(318),s),this[e(402)][e(250)](t,{userId:i}),this[e(402)][e(250)](n,{userId:i})}}[In(319)](t){const e=In;if(!t[e(189)])return;const i=(t=this[e(436)](t,this[e(223)]))[e(448)]?t[e(448)][e(191)]:null,n=t[e(409)]?t[e(409)][e(191)]:null;i&&this[e(213)][e(447)](t[e(303)]),n&&this[e(213)][e(250)](t[e(303)],t[e(409)][e(218)]());const r=null===t[e(415)]?null:t[e(415)]||this[e(288)][e(317)][e(265)](e(338)).me.id,s=t[e(303)];if(!this[e(312)][e(199)](s))return void this[e(312)][e(250)](s,{range:t[e(448)],userId:r});const o=this[e(312)][e(265)](s),a=o[e(372)],c=t[e(409)];null==a&&null==c||a&&c&&a[e(296)](c)?this[e(312)][e(447)](t[e(303)]):o[e(427)]=r}[In(334)](t,e){const i=In;this[i(223)][i(199)](t[i(224)])?this[i(223)][i(265)](t[i(224)])[i(478)]=t[i(195)]:(this[i(223)][i(250)](t[i(224)],Rn(t[i(224)],!0)),this[i(351)][i(250)](t[i(224)],{}),e&&this[i(487)][i(250)](t[i(224)],Rn(t[i(224)],!0)));const n=null===t[i(415)]?null:t[i(415)]||this[i(288)][i(317)][i(265)](i(338)).me.id,r=this[i(299)][i(265)](t[i(224)]);r&&r[i(427)]===n?this[i(299)][i(447)](t[i(224)]):this[i(299)][i(250)](t[i(224)],{userId:n,isAttached:t[i(195)]})}[In(417)](t){const e=In,i=this[e(351)][e(265)](t[e(191)][e(224)]);null===t[e(225)]?delete i[t[e(414)]]:i[t[e(414)]]=t[e(225)]}}function Nn(t){const e=In,i=Rn(t[e(224)],t[e(484)]());for(const n of t[e(429)]()){const t=n[e(441)](!0);i[e(407)](t)}return i}function Rn(t,e=!0){const i=In,n=new Yi.DocumentFragment;return n[i(224)]=t,n[i(478)]=e,n[i(484)]=()=>n[i(478)],n}function En(t,e,i){const n=In,r=n(472)==t[n(230)]?i[n(481)](t[n(503)],n(496)):i[n(217)](t[n(503)]);return i[n(404)](e,r[n(251)],r[n(322)])}function Mn(t,e,i){const n=In,r=n(198)==t[n(230)]?i[n(481)](t[n(503)],0):i[n(498)](t[n(503)]);return i[n(404)](e,r[n(251)],r[n(322)])}var Vn=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Pn=i(262),Ln=i.n(Pn),zn=i(667),Wn=i.n(zn),Un=i(357),Hn=i.n(Un),Zn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Ln().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Hn();Cn()(Zn.A,$n);Zn.A&&Zn.A.locals&&Zn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Ln().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Hn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Gn;function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=283]})(t,e)}function Jn(){const t=["revisionNameInputView","Name of the revision","extendTemplate","input","focusTracker","312753snjqcr","ck-revision-history-save-revision-form","arrowright","trim","22840IRsSPJ","stopPropagation","value","_createRevisionNameInput","errorText","render","reset","3463705rjNUDv","11127330wASUTb","revisionName","label","arrowup","setTemplate","36nyaKql","2093670cScVkf","locale","element","fieldView","1161xvvtLT","arrowleft","revisionNameInputValue","220","155139VFBxHs","set","arrowdown","9714gCmrwt","listenTo","form","focus","optional","7JbiCYb","ck-responsive-form","add","keystrokes"];return(Jn=function(){return t})()}!function(t){const e=Gn,i=t();for(;;)try{if(363919===-parseInt(e(325))/1+parseInt(e(311))/2+-parseInt(e(308))/3*(parseInt(e(299))/4)+-parseInt(e(293))/5+-parseInt(e(300))/6*(-parseInt(e(316))/7)+parseInt(e(286))/8*(parseInt(e(304))/9)+parseInt(e(294))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Kn extends Vn.View{constructor(e,i){const n=Gn;super(e),this[n(324)]=new t.FocusTracker,this[n(319)]=new t.KeystrokeHandler,this[n(309)](n(306),""),this[n(320)]=this[n(289)](i),this[n(298)]({tag:n(313),attributes:{class:["ck",n(283),n(317)],tabindex:"-1"},children:[this[n(320)]]}),(0,Vn.injectCssTransitionDisabler)(this)}[Yn(291)](){const t=Yn;super[t(291)](),(0,Vn.submitHandler)({view:this}),this[t(324)][t(318)](this[t(320)][t(302)]),this[t(319)][t(312)](this[t(302)]);const e=e=>e[t(287)]();this[t(319)][t(309)](t(284),e),this[t(319)][t(309)](t(305),e),this[t(319)][t(309)](t(297),e),this[t(319)][t(309)](t(310),e)}[Yn(314)](){const t=Yn;this[t(320)][t(314)]()}get[Yn(295)](){const t=Yn;return this[t(320)][t(303)][t(302)][t(288)][t(285)]()}set[Yn(295)](t){const e=Yn;this[e(320)][e(303)][e(302)][e(288)]=t[e(285)]()}[Yn(292)](){const t=Yn;this[t(320)][t(303)][t(302)][t(288)]="",this[t(320)][t(290)]=null}[Yn(289)](t){const e=Yn,i=new Vn.LabeledFieldView(this[e(301)],Vn.createLabeledInputText),n=i[e(303)];n[e(322)]({attributes:{maxlength:e(307)}});let r=Qi(this[e(301)],e(321));return!t&&(r+=" ("+Qi(this[e(301)],e(315))+")"),i[e(296)]=r,n.on(e(323),(()=>{const t=e;this[t(306)]=n[t(302)][t(288)][t(285)]()})),i}}const Xn=Qn;function Qn(t,e){const i=er();return(Qn=function(t,e){return i[t-=307]})(t,e)}!function(t){const e=Qn,i=t();for(;;)try{if(718314===-parseInt(e(354))/1+parseInt(e(373))/2*(parseInt(e(364))/3)+-parseInt(e(319))/4+-parseInt(e(324))/5*(-parseInt(e(344))/6)+parseInt(e(356))/7+-parseInt(e(318))/8*(-parseInt(e(357))/9)+-parseInt(e(368))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(er);class tr extends qi.Plugin{static get[Xn(308)](){return Xn(313)}static get[Xn(376)](){return!0}static get[Xn(371)](){return!0}static get[Xn(310)](){return[xn]}[Xn(330)](){const t=Xn,e=this[t(317)],i=e[t(325)][t(341)](t(346));e.ui[t(340)][t(337)](t(312),(n=>{const r=t,s=(0,Vn.createDropdown)(n),o=s[r(335)][r(333)],a=new Vn.ListView(n),c=new Vn.ListItemView(n),u=new Vn.ButtonView(n),l=new Vn.ListItemView(n),h=new Vn.ButtonView(n);return s[r(338)](r(316)).to(i,r(370),i,r(316),e,r(331),((t,e,i)=>t&&e&&!i)),s[r(361)][r(369)]({icon:qi.icons[r(349)],label:Qi(n,r(347)),tooltip:!0}),u[r(369)]({label:Qi(n,r(307)),withText:!0,role:r(322)}),u[r(338)](r(316)).to(i,r(370),i,r(316),e,r(331),((t,e,i)=>t&&e&&!i)),u.on(r(314),(()=>this[r(372)]())),h[r(369)]({label:Qi(n,r(375)),withText:!0,role:r(322)}),h[r(338)](r(316)).to(i,r(370),e,r(331),((t,e)=>t&&!e)),h.on(r(314),(()=>{const t=r;e[t(327)][t(341)](t(312))[t(355)](),s[t(329)]=!1,e[t(343)][t(362)][t(351)]()})),c[r(333)][r(337)](u),l[r(333)][r(337)](h),a[r(358)]=r(311),a[r(323)][r(321)]([c,l]),o[r(337)](a),s})),e.ui[t(340)][t(337)](t(339),(()=>this[t(336)]()))}[Xn(336)](){const t=Xn,e=this[t(317)],i=e[t(352)],n=new Vn.MenuBarMenuView(i),r=new Vn.MenuBarMenuListView(i);n[t(361)][t(369)]({icon:qi.icons[t(349)],label:Qi(i,t(347))});const s=new Vn.MenuBarMenuListItemView(i,n),o=new Vn.MenuBarMenuListItemButtonView(i);o[t(369)]({label:Qi(i,t(307))}),o[t(365)](t(314)).to(n),o.on(t(314),(()=>{this[t(372)]()})),s[t(333)][t(337)](o),r[t(323)][t(337)](s);const a=new Vn.MenuBarMenuListItemView(i,n),c=new Vn.MenuBarMenuListItemButtonView(i);return c[t(369)]({label:Qi(i,t(375))}),c[t(365)](t(314)).to(n),c.on(t(314),(()=>{const i=t;e[i(327)][i(341)](i(312))[i(355)]()})),a[t(333)][t(337)](c),r[t(323)][t(337)](a),n[t(335)][t(333)][t(337)](r),n}[Xn(372)](){const t=Xn,e=this[t(317)],i=e[t(352)],n=e[t(325)][t(341)](t(309)),r=e[t(325)][t(341)](t(346));function s(r){const s=t;e[s(327)][s(341)](s(366))&&""===r[s(359)]?r[s(363)][s(348)]=Qi(i,s(345)):(e[s(325)][s(341)](xn)[s(374)]({name:r[s(359)]}),n[s(367)]())}this[t(353)]||(this[t(326)](),this[t(353)].on(t(328),(()=>s(this[t(353)])))),this[t(353)][t(315)](),n[t(342)]({id:t(320),title:Qi(i,t(307)),isModal:!0,content:this[t(353)],actionButtons:[{label:Qi(e[t(352)],t(332)),withText:!0,onExecute:()=>n[t(367)]()},{label:Qi(e[t(352)],t(334)),class:t(350),withText:!0,onCreate(i){const n=t;i[n(338)](n(316)).to(r,n(370),r,n(316),e,n(331),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(353)])}]})}[Xn(326)](){const t=Xn,e=this[t(317)],i=e[t(352)];this[t(353)]=new Kn(i,e[t(327)][t(341)](t(366))),this[t(353)][t(360)]()}}function er(){const t=["Open revision history","isOfficialPlugin","Save current revision","pluginName","Dialog","requires","menu","revisionHistory","RevisionHistoryUI","execute","reset","isEnabled","editor","8vqnhLt","4453600FTyTIq","revisionSave","addMany","menuitem","items","480vyMuZa","plugins","_createSaveRevisionFormView","config","submit","isOpen","init","isReadOnly","Cancel","children","Accept","panelView","_registerMenuComponent","add","bind","menuBar:revisionHistory","componentFactory","get","show","editing","18414sqtRWJ","The revision name cannot be empty.","RevisionTracker","Revision history","errorText","history","ck-button-action","focus","locale","_saveRevisionFormView","1130693BfdPlD","showRevisionViewerCallback","9077208ACvDbw","8707275eNMNdp","role","revisionName","render","buttonView","view","revisionNameInputView","62193NoeTqg","delegate","revisionHistory.requireRevisionName","hide","525180MHqwny","set","isReady","isPremiumPlugin","_showDialog","44TtkzmB","saveRevision"];return(er=function(){return t})()}function ir(t,e){const i=rr();return(ir=function(t,e){return i[t-=337]})(t,e)}const nr=ir;function rr(){const t=["focus","author","isSuggestion","10eEEWCm","changeId","_model","708LZzagJ","537312xoGCoA","add","3523077dxPZJV","108669yWCNxp","setTemplate","name","Added by","element","set","bindTemplate","ck-revision-change","8IXObCu","Suggested by","796cFWYFC","ck-revision-change__label","ck-annotation","279764qALloW","type","span","data","div","Removed by","ck-revision-change__","35GzlXVh","3887076FCSqck","1523CGraRl","1661765pSlfqc"];return(rr=function(){return t})()}!function(t){const e=ir,i=t();for(;;)try{if(352774===parseInt(e(365))/1*(parseInt(e(353))/2)+-parseInt(e(340))/3+parseInt(e(356))/4*(parseInt(e(363))/5)+parseInt(e(364))/6+-parseInt(e(366))/7*(parseInt(e(351))/8)+parseInt(e(342))/9*(-parseInt(e(370))/10)+parseInt(e(343))/11*(-parseInt(e(339))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends Vn.View{constructor(t,e){const i=ir;super(t),this[i(338)]=e,this[i(337)]=e.id;const n=this[i(349)],r=Qi(t,e[i(359)][i(369)]?i(352):i(341)==e[i(357)]?i(346):i(361));this[i(348)](i(357),e[i(357)]),this[i(344)]({tag:i(360),attributes:{class:[i(355),i(350),n.to(i(357),(t=>i(362)+t))],tabindex:-1},children:[{tag:i(358),children:[{tag:i(358),attributes:{class:[i(354)]},children:[{text:r}]},{text:" "+e[i(368)][i(345)]}]}]})}[nr(367)](){const t=nr;this[t(347)][t(367)]()}}var or=ar;function ar(t,e){var i=cr();return(ar=function(t,e){return i[t-=183]})(t,e)}function cr(){var t=["10926WrVROT","type","5411494ItAyiF","24Ozrobe","510BcwZOr","2278510mPyyGn","author","1460586fUrEwf","createdAt","5401067iWYKTn","4NHDAKC","21622tWjSgu","rootName","set","79ldyOBD","18095XdcgMJ","toJSON","data"];return(cr=function(){return t})()}!function(t){for(var e=ar,i=t();;)try{if(454428===-parseInt(e(200))/1*(parseInt(e(197))/2)+-parseInt(e(193))/3*(parseInt(e(196))/4)+-parseInt(e(183))/5*(-parseInt(e(190))/6)+parseInt(e(195))/7+-parseInt(e(189))/8*(parseInt(e(186))/9)+parseInt(e(191))/10+parseInt(e(188))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cr);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(192)]=e[i(192)],this[i(187)]=e[i(187)],this[i(185)]=e[i(185)]||{},this[i(198)]=e[i(198)],this[i(199)](i(194),e[i(194)])}[or(184)](){var t=or;return{id:this.id,authorId:this[t(192)].id,type:this[t(187)],data:this[t(185)],createdAt:this[t(194)]}}}const lr=dr;function hr(){const t=["6140560yaaTzt","8zQQSvl","add","60jQyzeA","8583967qPTXuW","newRevisionId","changes","77PYYOjw","1913590RTdlkW","1019697Todqsg","_setChanges","1016395INvUlq","670302PlkIFw","12958984MsLXEH","9qVDNph","oldRevisionId"];return(hr=function(){return t})()}function dr(t,e){const i=hr();return(dr=function(t,e){return i[t-=481]})(t,e)}!function(t){const e=dr,i=t();for(;;)try{if(837422===parseInt(e(485))/1+-parseInt(e(491))/2*(-parseInt(e(483))/3)+parseInt(e(490))/4+parseInt(e(493))/5*(-parseInt(e(486))/6)+parseInt(e(494))/7+parseInt(e(487))/8*(-parseInt(e(488))/9)+-parseInt(e(482))/10*(parseInt(e(481))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(hr);class fr{constructor(e,i){const n=dr;this[n(495)]=e,this[n(489)]=i,this[n(496)]=new t.Collection}[lr(484)](t){const e=lr;for(const i of t)this[e(496)][e(492)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Ln().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Hn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=wr();return(yr=function(t,e){return i[t-=298]})(t,e)}!function(t){const e=yr,i=t();for(;;)try{if(408879===parseInt(e(346))/1+parseInt(e(366))/2*(-parseInt(e(546))/3)+parseInt(e(528))/4*(parseInt(e(473))/5)+parseInt(e(321))/6+-parseInt(e(631))/7*(-parseInt(e(310))/8)+-parseInt(e(345))/9+-parseInt(e(510))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wr);const gr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class kr extends qi.Plugin{static get[vr(454)](){return vr(557)}static get[vr(450)](){return!0}static get[vr(534)](){return!0}static get[vr(526)](){return[Bi.Users,Vn.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(527)]=this[e(609)][e(616)][e(357)](e(582)),this[e(573)](e(561),null),this[e(573)](e(385),null),this[e(421)]=null,this[e(573)](e(493),null),this[e(573)](e(410),!1),this[e(573)](e(597),!0),this.on(e(560),((t,i,n)=>{const r=e;this[r(561)]=null,this[r(385)]=null,this[r(609)][r(325)][r(397)][r(405)]((t=>{const e=r;for(const i of this[e(609)][e(325)][e(397)][e(495)][e(476)])n?t[e(383)](e(487),i):t[e(363)](e(487),i)}))})),this[e(502)](e(532)).to(this,e(561),(t=>null!==t)),this[e(502)](e(406)).to(this,e(410),this,e(493),this,e(561),((t,i,n)=>t&&n?i[e(567)][e(415)](n):0)),this[e(502)](e(364)).to(this,e(410),this,e(493),((t,i)=>t?i[e(567)][e(432)]:0)),this[e(319)]=null,this[e(581)]=new Map,this[e(359)]=null,this[e(617)]=this[e(609)][e(616)][e(357)](Vn.ContextualBalloon)}[vr(549)](){const t=vr,e=this[t(609)],i=new Ir(e,{direction:t(556)}),n=new Ir(e,{direction:t(608)});e[t(605)][t(521)](t(577),i),e[t(605)][t(521)](t(595),n),e[t(605)][t(521)](t(311),new _r(e)),this.on(t(533),(()=>{const e=t;i[e(433)](),n[e(433)]()})),this[t(453)](),this[t(625)](),e[t(324)](t(484)),e[t(616)][t(613)](t(370))&&e[t(616)][t(357)](t(370))[t(438)](t(484))}async[vr(629)](t){const e=vr;await this[e(576)](t);const i={};for(const n in t[e(403)]){if(t[e(403)][n][e(553)]&&!t[e(403)][n][e(553)][e(371)])continue;const r=this[e(520)](JSON[e(614)](t[e(403)][n][e(554)])),s=this[e(609)][e(325)][e(397)][e(495)],o=new Yi.ViewDocumentFragment(s,r[e(401)]((t=>this[e(558)](t))));this[e(609)][e(523)][e(440)][e(348)](e(468)),i[n]=this[e(609)][e(523)][e(440)][e(445)](o),this[e(609)][e(523)][e(440)][e(348)](e(506))}return i}async[vr(382)](t){const e=vr;await this[e(576)](t);const i={};for(const n in t[e(403)])t[e(403)][n][e(553)]&&!t[e(403)][n][e(553)][e(371)]||(i[n]=t[e(403)][n][e(630)]||{});return i}[vr(520)](t){const e=vr;return(t=t[e(623)]((t=>!t[e(372)]||e(458)!==t[e(372)]&&e(396)!==t[e(372)])))[e(514)]((t=>{const i=e;i(584)!=typeof t&&(t[i(511)]=this[i(520)](t[i(511)]),t[i(518)]=t[i(518)][i(623)]((t=>!t[0][i(633)](i(351)))))})),t}async[vr(459)](t,e,i=!1){const n=vr;if(!this[n(597)])return;const r=this[n(493)],s=this[n(527)],o=n(584)==typeof t?s[n(426)](t):t,a=n(584)==typeof e?s[n(426)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(493)]&&this[n(493)][n(352)]===c&&this[n(493)][n(365)]===u)return Promise[n(469)]();this[n(410)]=!1,this[n(385)]=null,this[n(561)]=null,this[n(493)]=new fr(c,u);const l=this[n(308)](o,a,!0)[n(401)]((t=>this[n(576)](t)));return l[n(486)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(380)](l)[n(344)]((()=>{const t=n;if(!this[t(597)])return;this[t(519)]();const e=this[t(302)](c,u);for(const i of e[t(567)])this[t(581)][t(573)](i.id,i);this[t(609)][t(612)][t(598)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(609)][n(612)][n(495)][n(435)]())i[n(541)](t);for(const t of Object[n(489)](e[n(612)])){const r=i[n(480)](t);for(const s of Object[n(489)](e[n(518)][t]))i[n(452)](s,e[n(518)][t][s],r);i[n(565)](e[n(612)][t],r,0)}})),this[t(493)][t(399)](this[t(431)](e[t(567)])),this[t(410)]=!0}))[n(439)]((t=>{const e=n;console[e(327)](t),this[e(519)](),r&&(this[e(493)]=r),this[e(410)]=!0}))}[vr(369)](t,e){const i=vr,n=this[i(527)][i(515)](t);return n.on(i(485),((t,i,r)=>e(i,r,n))),this[i(527)][i(516)](n),n}[vr(576)](t){const e=vr;if(!t||t[e(403)])return Promise[e(469)]();{const i=this[e(609)][e(535)][e(357)](e(500));return this[e(359)][e(426)]({channelId:i,revisionId:t.id})[e(344)]((i=>{const n=e;t[n(485)]({diffData:i[n(403)]},!0)}))}}[vr(519)](){const t=vr;this[t(561)]=null,this[t(355)](),this[t(319)]&&this[t(319)][t(611)](),this[t(319)]=null,this[t(581)][t(602)](),this[t(609)][t(612)][t(598)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(609)][i(612)][i(495)][i(435)]())e[i(541)](t)}))}[vr(431)](t){const e=vr,i=[],n=new Map;for(const t of this[e(609)][e(612)][e(495)][e(435)]()){const r=this[e(609)][e(325)][e(397)][e(564)](t);if(!r)continue;const s=r[e(566)]()[e(494)](0);s&&(i[e(486)](t),n[e(573)](t,s))}return i[e(467)](((t,i)=>{const r=e,s=n[r(357)](t),o=n[r(357)](i);return s.y-o.y||s.x-o.x})),(t=t[e(623)]((t=>i[e(374)](t[e(342)]))))[e(467)](((t,n)=>i[e(586)](t[e(342)])-i[e(586)](n[e(342)]))),t}[vr(488)](t){const e=vr,i=Array[e(329)](t[e(477)])[e(623)]((([t,i])=>t[e(633)](e(427))&&!i[e(392)])),n=Array[e(329)](this[e(609)][e(612)][e(472)](t)[e(627)]({singleCharacters:!0}));if(0!=i[e(432)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(425)](":");if(r[e(496)][e(544)](t[e(447)])&&i[e(336)](),(t[e(368)][e(544)](r[e(349)])||t[e(368)][e(588)](r[e(349)]))&&(e(448)==s?t[e(430)]={userId:o}:e(312)==s&&(t[e(353)]={userId:o})),0==i[e(432)])break}return n}[vr(635)](t){const e=vr,i=new Map;for(let n=0;n<t[e(432)];n++)e(422)===t[n][e(513)]?(t[n][e(494)][e(330)]=n,t[n][e(494)][e(395)]=n):(e(343)===t[n][e(513)]?t[n][e(494)][e(330)]=n:e(315)===t[n][e(513)]&&(t[n][e(494)][e(395)]=n),i[e(573)](t[n].id,n));for(const n of i[e(466)]())e(343)===t[n][e(513)]?t[n][e(494)][e(395)]=i[e(357)](t[n][e(301)]):e(315)===t[n][e(513)]&&(t[n][e(494)][e(330)]=i[e(357)](t[n][e(301)]))}[vr(419)](t){const e=vr;for(let i=0;i<t[e(432)];i++){if(e(343)===t[i][e(513)])t[i][e(494)][e(330)]=i;else if(e(315)===t[i][e(513)]){t[i][e(494)][e(395)]=i;const n=t[i][e(494)][e(330)];t[n][e(301)]=t[i].id,t[i][e(301)]=t[n].id}else t[i][e(494)][e(330)]=i,t[i][e(494)][e(395)]=i,t[i][e(301)]=null;t[i][e(442)]||(t[i][e(442)]=[],t[i][e(441)]=[])}}[vr(333)](t,e){const i=vr,n=t[i(623)]((t=>!t[i(430)]));for(let t=0;t<e[i(432)];t++)e[t][i(430)]&&(n[t][i(430)]=e[t][i(430)])}[vr(309)](t){const e=vr,i=JSON[e(614)](t),n=this[e(609)][e(325)][e(397)][e(495)],r=new Yi.ViewDocumentFragment(n,i[e(401)]((t=>this[e(558)](t))));return this[e(609)][e(523)][e(434)](r)}[vr(558)](t){const e=vr,i=this[e(609)][e(325)][e(397)][e(495)];if(e(584)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(511)][e(401)]((t=>this[e(558)](t)));return new(gr[t[e(513)]]||Yi.ViewElement)(i,t[e(372)],t[e(518)],n)}}[vr(302)](t,e=null){const i=vr,n=this[i(527)][i(426)](t),r=e?this[i(527)][i(426)](e):null,s=this[i(308)](n,r),o=s[s[i(432)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(432)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(489)](e[i(403)]))if(e[i(403)][t][i(553)]){const n=e[i(403)][t][i(553)];n[i(371)]?(u[i(521)](t),l[i(613)](t)&&l[i(357)](t)[i(490)]==n[i(490)]?l[i(531)](t):l[i(573)](t,n)):l[i(613)](t)?(u[i(531)](t),l[i(531)](t)):(u[i(521)](t),l[i(573)](t,n))}else u[i(521)](t)}for(const t of u){const e=l[i(613)](t)&&!l[i(357)](t)[i(371)];let n=e?s[i(432)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(403)][t]){const n=e?o[i(403)][t][i(543)]:o[i(403)][t][i(630)];c[i(518)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(612)]={};for(const e of t[i(505)])a[i(573)](e.id,e);for(const e of u){const n=t[i(403)][e]?t[i(403)][e][i(554)]:"[]",r=t[i(403)][e]?t[i(403)][e][i(335)]:"[]";t[i(612)][e]={insertions:this[i(309)](n),deletions:this[i(309)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(329)](n[i(612)][t][i(554)][i(477)])[i(623)]((([t])=>!t[i(633)](i(427)))));let h=0;for(const o of s){const s=this[i(488)](o[i(612)][t][i(554)]);o==n?(e=s,r=e[i(432)],e[i(514)]((t=>{t.id=h++})),this[i(419)](e)):this[i(333)](e,s);const a=e[i(623)]((t=>!t[i(430)]))[i(401)]((t=>t.id));let c=0;const l=this[i(488)](o[i(612)][t][i(335)]);l[i(514)]((t=>{t[i(353)]?t.id=r++:t.id=a[c++]})),this[i(419)](l),this[i(536)](e,i(430)),this[i(536)](l,i(353)),o==n&&this[i(429)](e,u),e=this[i(360)](e,l),this[i(635)](e),this[i(536)](e,i(353))}e=e[i(623)]((t=>!(t[i(430)]&&t[i(353)])));const d=new Map(o[i(612)][t][i(335)][i(477)]),f=new Set(u[i(489)]());for(const t of d[i(489)]())f[i(531)](t);this[i(632)](e,f),this[i(339)](e),e=this[i(589)](e),e=this[i(347)](e),e=this[i(570)](e);const{root:m,changes:p}=this[i(411)](e,a,t);c[i(612)][t]=m;const v=l[i(357)](t);if(v){const e=a[i(357)](v[i(490)]),n=new ur({author:e,type:v[i(371)]?i(521):i(499),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(575)](n),c[i(518)][t][i(408)]=n.id}c[i(567)]=c[i(567)][i(389)](p)}return c}[vr(429)](t,e){const i=vr;for(let n=0;n<t[i(432)];n++)for(const[r,s]of e)s[i(349)][i(544)](t[n][i(368)])&&t[n][i(442)][i(486)](r),s[i(496)][i(544)](t[n][i(447)])&&t[n][i(441)][i(486)](r)}[vr(360)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(432)]||s<e[i(432)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(486)](o);else if(a[i(353)]&&o[i(430)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(375)](t,r,e,s);n=n[i(389)](o),r=a,s=c}else a[i(353)]?(s++,n[i(486)](a)):(r++,n[i(486)](o))}return n}[vr(632)](t,e){const i=vr,n=[];for(let o=0;o<t[i(432)];o++){for(let s=0;s<t[o][i(442)][i(432)];s++){const a=t[o][i(442)][s];if(!e[i(613)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(619)!=c||i(448)!=u&&i(312)!=u||(n[i(575)]({type:u,name:a,userId:l}),t[o][i(442)][i(407)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(441)][i(432)];s++){const a=t[o][i(441)][s];if(!e[i(613)](a))continue;const{group:c,type:u}=r(a);if(i(619)!=c||i(448)!=u&&i(312)!=u)continue;t[o][i(441)][i(407)](s,1),s--;const l=n[i(398)]((t=>t[i(372)]==a));l>-1&&n[i(407)](l,1)}}function r(t){const e=i,n=t[e(425)](":");return{group:n[0],type:n[1],subType:n[e(432)]>=5?n[2]:null,id:n[e(432)]<5?n[2]:n[3],authorId:n[e(432)]<5?n[3]:n[4],markerCount:6==n[e(432)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(432)];i++){if(t[e(430)]&&e(448)==n[i][e(513)])return t[e(470)]=n[i],void delete t[e(430)];if(!t[e(430)]&&!t[e(353)]&&e(312)==n[i][e(513)])return void(t[e(420)]=n[i])}}}[vr(536)](t,e){const i=vr;let n=0,r=!1;const s=new Map;for(const o of t)o[e]?r&&(n++,r=!1):(n++,r=!0),s[i(573)](o.id,n);for(let n=0;n<t[i(432)];n++){if(i(353)==e&&t[n][i(430)]||i(430)==e&&t[n][i(353)])continue;if(i(422)==t[n][i(513)]){t[n][i(306)]=0;continue}const r=s[i(357)](t[n][i(301)]),o=s[i(357)](t[n].id);t[n][i(306)]=r-o}}[vr(308)](t,e,i=!1){const n=vr,r=[];let s=this[n(527)][n(415)](t),o=this[n(527)][n(415)](e);for(-1==o&&(o=this[n(527)][n(443)][n(432)],i=!1);s<o;)r[n(486)](this[n(527)][n(426)](s)),s++;return i&&r[n(486)](this[n(527)][n(426)](s)),r}[vr(375)](t,e,i,n){const r=vr,s=this[r(609)][r(612)][r(622)];let o=e;for(;t[o]&&t[o][r(430)];)o++;let a=n;for(;i[a]&&i[a][r(353)];)a++;u(t,e,o),u(i,n,a);const c=i[r(446)](n,a)[r(389)](t[r(446)](e,o));return c[r(467)](((t,e)=>t[r(444)]!=e[r(444)]?t[r(444)]-e[r(444)]:t[r(503)]!=e[r(503)]?t[r(503)]-e[r(503)]:t[r(306)]!=e[r(306)]?e[r(306)]-t[r(306)]:!!t[r(430)]!=!!e[r(430)]?-1==t[r(444)]||0==t[r(444)]?t[r(430)]?-1:1:t[r(430)]?1:-1:t[r(504)]-e[r(504)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(350)],c=!0;for(let r=e;r<i;r++)if(s[n(437)](t[r][n(494)])||(c=!1),t[r][n(494)][n(330)]<e&&(o=r),t[r][n(494)][n(395)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(444)]=r<=o?-1:r<a?0:1,t[r][n(504)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(306)]?t[i][n(503)]=u:(u++,t[i][n(503)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(444)]&&(t[r][n(503)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(306)]?t[e][n(503)]=u:(u--,t[e][n(503)]=u,u--)}}[vr(339)](t){const e=vr,i=new Map,n=this[e(609)][e(612)][e(622)];for(let r=1;r<t[e(432)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(422)==c[e(513)])continue;if(c[e(513)]!=u[e(513)])continue;if(!n[e(501)](u[e(494)])||n[e(323)](u[e(494)]))continue;if(!n[e(501)](c[e(494)])||n[e(323)](c[e(494)]))continue;if((t[r][e(430)]||t[r][e(470)])&&t[r-1][e(353)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(353)]||!t[r-1][e(430)]&&!t[r-1][e(470)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(503)]==o[e(503)],h=Math[e(538)](s[e(503)])<Math[e(538)](o[e(503)])&&0==o[e(306)];(l||h)&&(i[e(573)](o.id,s.id),t[e(407)](a,1),r--,s[e(430)]=!1)}for(let n=0;n<t[e(432)];n++)i[e(613)](t[n][e(301)])&&(t[n][e(301)]=i[e(357)](t[n][e(301)]))}[vr(589)](t){const e=vr,i=new Set(t[e(401)]((t=>t.id)));for(let n=0;n<t[e(432)];n++)i[e(613)](t[n][e(301)])||0==t[n][e(306)]||(t[n][e(475)]=!0);return t[e(623)]((t=>!t[e(475)]))}[vr(347)](t){const e=vr,i=new Set;for(let n=0;n<t[e(432)];n++){if(i[e(613)](t[n].id)&&t[n][e(353)]&&(t[n][e(475)]=!0),t[n][e(475)])continue;if(0==t[n][e(306)])continue;if(e(343)!=t[n][e(513)])continue;if(null==t[n][e(301)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(301)];)e(343)==t[r][e(513)]?s++:e(315)==t[r][e(513)]&&s--,r++;if(0!=s)if(t[n][e(353)])t[n][e(475)]=!0;else for(;r!=n;)t[r][e(353)]&&0!=t[r][e(306)]&&(t[r][e(475)]=!0,i[e(521)](t[r][e(301)])),r--}return t[e(623)]((t=>!t[e(475)]))}[vr(570)](t){const e=vr,i=this[e(609)][e(612)][e(622)];for(let n=0;n<t[e(432)];n++){if(!(t[n][e(430)]||t[n][e(470)]||t[n][e(353)]||t[n][e(420)]))continue;if(0==t[n][e(306)])continue;const r=t[n][e(494)];i[e(501)](r)||i[e(323)](r)||(t[n][e(430)]&&delete t[n][e(430)],t[n][e(470)]&&delete t[n][e(470)],t[n][e(420)]&&delete t[n][e(420)],t[n][e(353)]&&(t[n][e(475)]=!0))}return t[e(623)]((t=>!t[e(475)]))}[vr(411)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(609)][n(612)],c=a[n(622)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(432)];e++)if(n(343)===t[e][n(513)]){t[e][n(368)]=a[n(337)](r,f);const i=new Yi.Element(t[e][n(494)][n(372)],t[e][n(494)][n(571)]());u[0][n(320)](i),f[n(486)](0),u[n(575)](i),t[e][n(447)]=a[n(337)](r,f)}else n(315)===t[e][n(513)]?(u[n(336)](),t[e][n(368)]=a[n(337)](r,f),f[n(507)](),f[f[n(432)]-1]++,t[e][n(447)]=a[n(337)](r,f)):(t[e][n(368)]=a[n(337)](r,f),d?d[n(548)]+=t[e][n(494)][n(523)]:d=new Yi.Text(t[e][n(494)][n(523)],t[e][n(494)][n(571)]()),t[e+1]&&n(422)===t[e+1][n(513)]&&v(d,t[e+1][n(494)])||(u[0][n(320)](d),d=null),f[f[n(432)]-1]+=t[e][n(494)][n(606)],t[e][n(447)]=a[n(337)](r,f));for(let e=0;e<t[n(432)];e++){const i=t[e][n(368)],r=t[e][n(447)];for(const r of t[e][n(442)])o[n(573)](r,{start:i,end:null});m(n(420),e,i,r),m(n(470),e,i,r),m(n(353),e,i,r),m(n(430),e,i,r);for(const i of t[e][n(441)])o[n(357)](i)[n(496)]=r}for(const[t,e]of o){const i=this[n(609)][n(612)][n(610)](e[n(349)],e[n(496)]);r[n(477)][n(573)](t,i)}return s[n(467)](((t,e)=>{const i=n,s=r[i(477)][i(357)](i(427)+t.id),o=r[i(477)][i(357)](i(427)+e.id);return s[i(349)][i(299)](o[i(349)])?-1:s[i(349)][i(588)](o[i(349)])?1:s[i(496)][i(299)](o[i(496)])?-1:s[i(496)][i(588)](o[i(496)])?1:i(521)===t[i(513)]?-1:1})),{root:r,changes:s};function m(e,i,r,s){const o=n,a=!!t[i][e],u=a?t[i][e][o(490)]:null,d=i===t[o(432)]-1,f=h[e][0],m=c[o(479)](t[i][o(494)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(496)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(490)]!==u&&(l[e][o(496)]=r,f&&f[o(490)]===l[e][o(490)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(343)!==t[i][o(513)]||f&&f[o(490)]===u||h[e][o(575)]({userId:u,object:t[i][o(494)],change:l[e]}),o(315)===t[i][o(513)]&&f&&f[o(498)]===t[i][o(494)]&&(h[e][o(336)](),l[e]=f[o(405)])),l[e]&&d&&(l[e][o(496)]=s,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(494)],f=a[h(622)][h(501)](d)&&!a[h(622)][h(323)](d),m=t[h(379)]==o[h(547)]&&o[h(594)];if(f&&m)return;const p=a[h(610)](t,o),v=e[h(357)](u),y=new ur({author:v,type:h(430)==l||h(470)==l?h(521):h(499),data:{isSuggestion:h(470)==l||h(420)==l},createdAt:new Date,rootName:i});s[h(486)](y),r[h(477)][h(573)](h(427)+y.id,p)}function v(t,e){const i=n,r=t[i(571)](),s=e[i(571)]();for(const t of r){if(t[1]!==e[i(461)](t[0]))return!1;s[i(451)]()}return s[i(451)]()[i(600)]}}[vr(453)](){const t=vr;this[t(609)][t(591)][t(388)](t(367))[t(539)]({view:t(318)}),this[t(609)][t(591)][t(388)](t(354))[t(580)]({model:t(318),view:e=>{const i=t,n=e[i(628)][i(425)](":")[1],r=this[i(590)](n);if(!r)return null;const s=i(521)==r[i(513)]?i(448):i(312),o=[i(525),i(373)+s];return r[i(523)][i(555)]&&o[i(486)](i(373)+s+i(313)),this[i(561)]==r&&o[i(486)](i(412)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(609)][t(591)][t(388)](t(367))[t(521)]((e=>{const i=t;e.on(i(483),((t,e,n)=>{const r=i,s=e[r(316)][r(307)](0);if(!s||!s.is(r(428),r(615)))return;if(!n[r(381)][r(509)](s,{attributes:[r(465),r(328)]}))return;const o=e[r(300)][r(349)][r(379)];n[r(394)][r(452)](r(465),s[r(461)](r(465)),o),n[r(394)][r(452)](r(328),s[r(461)](r(328)),o)}),{priority:i(322)})})),this[t(609)][t(591)][t(388)](t(367))[t(521)]((e=>{const i=t;e.on(i(428),((t,e,n)=>{const r=i;if(!n[r(381)][r(509)](e[r(316)],{attributes:[r(465),r(328)]}))return;if(e[r(300)][r(392)])return;const s=e[r(300)][r(349)][r(379)];s[r(583)](r(465))||s[r(583)](r(491))||(n[r(394)][r(452)](r(465),e[r(316)][r(461)](r(465)),s),n[r(394)][r(452)](r(328),e[r(316)][r(461)](r(328)),s))}),{priority:i(322)})})),this[t(609)][t(591)][t(388)](t(367))[t(400)]({view:{name:t(481),attributes:{vid:!0}},model:{key:t(491),value:e=>e[t(461)](t(491))}}),this[t(609)][t(612)][t(622)].on(t(387),((e,[,i])=>{const n=t;[n(465),n(328),n(491)][n(374)](i)&&(e[n(530)]=!0,e[n(604)]())}),{priority:t(569)}),this[t(609)][t(591)][t(388)](t(492))[t(521)]((e=>{const i=t;e.on(i(390),((t,e,n)=>{const r=i;if(" "!=e[r(494)][r(523)]||e[r(494)][r(547)][r(551)]>1)return;if(!n[r(381)][r(509)](e[r(494)],t[r(372)]))return;const s=n[r(394)],o=n[r(537)][r(423)](e[r(460)]);s[r(587)](o,s[r(414)](r(481)))}))})),this[t(609)][t(591)][t(388)](t(492))[t(618)]({model:t(318)}),this[t(609)][t(325)][t(341)].on(t(585),function(e){const i=t,n=e[i(616)][i(357)](i(557));return(t,r,s)=>{const o=i,a=r[o(628)][o(425)](":")[1],c=n[o(590)](a);if(!c)return null;const u=o(521)==c[o(513)]?o(425):o(634);if(!s[o(381)][o(462)](r[o(572)],t[o(372)]))return;const l=r[o(572)][o(627)](),h=r[o(572)][o(349)],d=e[o(612)][o(622)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(494)];p=p||d[o(596)](e);const i=s[o(537)][o(455)](e);if(i&&i[o(436)](o(508)))return;o(315)==t[o(513)]&&d[o(501)](e)&&!d[o(323)](e)&&(e[o(568)]||h[o(559)]?f&&f[o(547)]==e||(f=e,y(t[o(368)]),v=!0):m=m||t[o(368)])}function y(t){const e=o,i=s[e(394)][e(409)](e(481),{class:e(373)+u}),a=s[e(537)][e(413)](t);c[e(523)][e(555)]&&s[e(394)][e(363)](e(373)+u+e(313),i),n[e(561)]==c&&s[e(394)][e(363)](e(412),i),s[e(394)][e(565)](a,i),s[e(537)][e(578)](i,r[e(628)])}p||v||!m||y(m)}}(this[t(609)]),{priority:t(404)}),this[t(609)][t(325)][t(341)].on(t(471),((e,i,n)=>{const r=t,s=n[r(537)][r(497)](i[r(628)]);if(s)for(const t of s)(t[r(362)](r(626))||t[r(362)](r(574)))&&(n[r(537)][r(621)](t,i[r(628)]),n[r(394)][r(499)](t))}),{priority:t(404)}),this[t(609)][t(325)][t(341)].on(t(585),((e,i,n)=>{const r=t,s=i[r(628)][r(425)](":")[1],o=this[r(590)](s);if(!o)return null;const a=r(521)==o[r(513)]?r(425):r(634);if(n[r(381)][r(462)](i[r(572)],e[r(372)]))for(const t of i[r(572)][r(624)]()){if(!t.is(r(428),r(517)))continue;const e=n[r(394)][r(409)](r(481),{class:r(373)+a}),s=n[r(537)][r(413)](this[r(609)][r(612)][r(524)](t));o[r(523)][r(555)]&&n[r(394)][r(363)](r(373)+a+r(313),e),this[r(561)]==o&&n[r(394)][r(363)](r(412),e),n[r(394)][r(565)](s,e),n[r(537)][r(578)](e,i[r(628)])}}),{priority:t(404)}),this[t(609)][t(612)][t(495)].on(t(405),(()=>{const e=t;this[e(609)][e(325)][e(397)][e(405)]((t=>{const i=e;for(const e of this[i(609)][i(612)][i(495)][i(435)]()){const n=this[i(609)][i(612)][i(495)][i(478)](e),r=this[i(609)][i(325)][i(397)][i(495)][i(478)](e);if(r){const e=n[i(461)](i(408));if(t[i(317)](i(620),r),t[i(383)](i(332),r),t[i(383)](i(338),r),t[i(383)](i(331),r),e){const n=this[i(590)](e);if(!n)return null;t[i(452)](i(620),e,r),t[i(363)](i(482)+n[i(513)],r),this[i(561)]==n&&t[i(363)](i(331),r)}}}}))})),this[t(609)][t(591)][t(388)](t(367))[t(539)]({view:t(599),model:e=>t(334)+e,converterPriority:t(569)}),this[t(609)][t(591)][t(388)](t(367))[t(539)]({view:t(418),model:e=>t(417)+e,converterPriority:t(569)}),this[t(609)][t(591)][t(388)](t(492))[t(618)]({model:t(619),view:e=>({name:t(463)+e,group:t(619)}),converterPriority:t(569)}),this[t(609)][t(591)][t(388)](t(354))[t(580)]({model:t(619),view:e=>{const i=t,n=e[i(628)][i(425)](":")[1];return i(448)!=n&&i(312)!=n?null:{classes:[i(607),i(361)+n]}}}),this[t(609)][t(325)][t(341)].on(t(384),br(this[t(609)],t(634)),{priority:t(404)}),this[t(609)][t(325)][t(341)].on(t(326),br(this[t(609)],t(425)),{priority:t(404)}),this[t(609)][t(325)][t(341)].on(t(522),((e,i,n)=>{const r=t,s=n[r(537)][r(497)](i[r(628)]);if(s)for(const t of s)t.is(r(378))&&(n[r(537)][r(621)](t,i[r(628)]),n[r(394)][r(499)](t))}),{priority:t(404)})}[vr(590)](t){const e=vr;return this[e(581)][e(357)](t)}[vr(358)](t){const e=vr;return this[e(319)]&&this[e(319)][e(611)](),this[e(319)]=new sr(this[e(609)][e(593)],t),this[e(319)]}[vr(625)](){const t=vr;this[t(609)][t(612)][t(495)][t(464)][t(377)](t(318)),this.on(t(542),((e,i,n,r)=>{const s=t;r&&this[s(617)][s(499)](r),n&&(this[s(617)][s(521)]({view:n,stackId:s(356),position:{target:()=>{const t=s,e=this[t(609)][t(325)],i=this[t(590)](n[t(601)]);let r;if(i[t(523)][t(550)]){const n=e[t(397)][t(564)](i[t(342)]);r=Array[t(329)](n[t(566)]())}else{const i=this[t(609)][t(612)][t(477)][t(357)](t(427)+n[t(601)]);r=Array[t(329)](e[t(537)][t(497)](i[t(372)]))[t(401)]((i=>e[t(397)][t(512)][t(340)](i)))[t(401)]((e=>Array[t(329)](e[t(566)]())))[t(529)]()}return this[t(421)]&&r[t(402)]((e=>e[t(305)]-3<=this[t(421)].y&&e[t(552)]+3>=this[t(421)].y&&e[t(298)]-3<=this[t(421)].x&&e[t(474)]+3>=this[t(421)].x))||r[0]}}}),this[s(617)][s(449)](s(356)))})),this.on(t(562),((e,i,n,r)=>{const s=t;this[s(385)]=n?this[s(358)](n):null,this[s(609)][s(612)][s(405)]((()=>{const t=s,e=this[t(609)][t(325)];r&&(r[t(523)][t(550)]?e[t(397)][t(405)]((i=>{const n=t;i[n(383)](n(331),e[n(397)][n(495)][n(478)](r[n(342)]))})):e[t(592)](t(427)+r.id)),n&&(n[t(523)][t(550)]?e[t(397)][t(405)]((i=>{const r=t;i[r(363)](r(331),e[r(397)][r(495)][r(478)](n[r(342)]))})):e[t(592)](t(427)+n.id))}))})),this[t(563)](this[t(609)][t(325)][t(397)][t(495)],t(540),((e,i)=>{const n=t;if(this[n(561)])return;const r=this[n(579)](i[n(393)]),s=this[n(581)][n(357)](r);s?(this[n(421)]={x:i[n(424)].x,y:i[n(424)].y},this[n(385)]=this[n(358)](s)):(this[n(421)]=null,this[n(385)]=null)})),this[t(563)](this[t(609)][t(325)][t(397)][t(495)],t(303),((e,i)=>{const n=t,r=this[n(579)](i[n(393)]),s=this[n(581)][n(357)](r);s?(this[n(421)]={x:i[n(424)].x,y:i[n(424)].y},s===this[n(561)]?this[n(617)][n(314)]():this[n(561)]=s):(this[n(421)]=null,this[n(561)]=null)}))}[vr(579)](t){const e=vr;do{const i=t[e(461)](e(620));if(i)return i;t=t[e(547)]}while(t);return null}[vr(355)](){const t=vr;this[t(609)][t(612)][t(405)]((e=>{const i=t;for(const t of this[i(609)][i(612)][i(477)])e[i(456)](t)}))}}function br(t,e){return(i,n,r)=>{const s=yr;if(!r[s(381)][s(462)](n[s(572)],i[s(372)]))return;const o=n[s(572)][s(627)](),a=n[s(572)][s(349)],c=t[s(612)][s(622)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(494)];h=h||c[s(596)](e);const i=r[s(537)][s(455)](e);if(i&&i[s(436)](s(508)))return;s(315)==t[s(513)]&&c[s(501)](e)&&!c[s(323)](e)&&(e[s(568)]||a[s(559)]?u&&u[s(547)]==e||(u=e,f(t[s(368)]),d=!0):l=l||t[s(368)])}function f(t){const i=s,o=r[i(537)][i(413)](t),a=r[i(394)][i(409)](i(481),{class:i(361)+e});r[i(394)][i(565)](o,a),r[i(537)][i(578)](a,n[i(628)])}h||d||!l||f(l)}}function wr(){const t=["view","findIndex","_setChanges","elementToAttribute","map","find","diffData","high","change","currentChangeNumber","splice","revisionHistoryAttachChange","createUIElement","isReady","_makeModelFromTape","ck-suggestion-marker--active","toViewPosition","createAttributeElement","getIndex","revisionHistory","revision-suggestion:","suggestion","_processTape","isRemoveSuggestion","_activeViewTarget","text","toViewRange","domEvent","split","getRevision","revision:","element","_markMarkers","isAdded","_sortAndFilterDiffChanges","length","refresh","toModel","getRootNames","getCustomProperty","isInline","forceDisabled","catch","processor","markersEnd","markersStart","_revisions","side","toData","slice","nextPosition","insertion","showStack","isOfficialPlugin","next","setAttribute","_setConversion","pluginName","toViewElement","removeMarker","affectsData","revision-start","compare","range","getAttribute","test","suggestion:","selection","vid_start","values","sort","marked","resolve","isAddSuggestion","removeMarker:revision","createRangeIn","690125zfyfdb","right","isIncorrect","roots","markers","getRoot","isObject","addRoot","span","ck-revision-history-root-","element:pre","revision-viewer","_update","push","ck-editor__editable__overlay","_makeTape","keys","userId","vid","dataDowncast","diff","item","document","end","markerNameToElements","object","remove","collaboration.channelId","isBlock","bind","level","index","authors","default","pop","addHighlight","consume","7122420GaGDXC","children","domConverter","type","forEach","createRevision","addRevision","softBreak","attributes","_cleanUp","_removeRevisionMarkers","add","removeMarker:revision-suggestion","data","createPositionBefore","ck-suggestion-marker","requires","repository","16dUvrAr","flat","return","delete","isNavigationMode","change:numberOfChanges","isPremiumPlugin","config","_setDistance","mapper","abs","dataToMarker","mouseover","detachRoot","change:activeView","attributesBefore","isEqual","restoreRevisionCallback","28392uyxmIq","parent","_data","init","isOnRoot","maxOffset","bottom","attachChange","insertions","isSuggestion","backward","RevisionViewer","_getViewObj","isAtEnd","change:isEnabled","activeChange","change:activeChange","listenTo","getDomRoot","insert","getClientRects","changes","nextSibling","highest","_removeUnsupportedChanges","getAttributes","markerRange","set","ck-suggestion-marker-merge","unshift","loadRevisionData","showPreviousChange","bindElementToMarker","_findChangeIdFromDomTarget","markerToHighlight","_changeIdToChange","RevisionsRepository","hasAttribute","string","addMarker:revision","indexOf","wrap","isAfter","_removeMissingPairs","_getChangeFromId","conversion","reconvertMarker","locale","isAtStart","showNextChange","isContent","isEnabled","enqueueChange","comment","done","changeId","clear","first","stop","commands","offsetSize","ck-suggestion-preview-marker","forward","editor","createRange","destroy","model","has","parse","code","plugins","_balloon","markerToData","revision-suggestion","data-change-id","unbindElementFromMarkerName","schema","filter","getItems","_initInteractions","ck-suggestion-marker-split","getWalker","markerName","getRevisionData","attributesAfter","229327ClbBCS","_markSuggestions","startsWith","merge","_refreshStartEndIndex","left","isBefore","modelRange","pairId","_getDiff","mousedown","getLaterVisibleRevision","top","distance","getChild","_getRevisionsRange","_makeModelFromViewString","136JDPWUY","restoreRevision","deletion","-new","updatePosition","elementEnd","viewItem","removeAttribute","revision","_changeView","_appendChild","1016418gYXeIH","low","isLimit","enableReadOnlyMode","editing","addMarker:revision-suggestion:insertion","error","vid_end","from","startIndex","ck-revision-history-root--active","ck-revision-history-root-add","_markInsertions","revision-comment:","deletions","shift","createPositionFromPath","ck-revision-history-root-remove","_fixObsoleteTags","mapViewToDom","downcastDispatcher","rootName","elementStart","then","3968190uijCgR","520191xTsMLw","_markMismatchedRemovedTags","useFillerType","start","POSITIVE_INFINITY","data-revision-","newRevisionId","isRemoved","editingDowncast","_cleanMarkers","revisionHistoryLabel","get","_getViewForChange","adapter","_joinTapes","ck-suggestion-preview-marker-","hasClass","addClass","numberOfChanges","oldRevisionId","50hyIUhG","upcast","previousPosition","addRevisionData","WidgetToolbarRepository","isAttached","name","ck-suggestion-marker-","includes","_threeWayMerge","execute","observeMarkers","uiElement","nodeAfter","all","consumable","getRevisionRootsAttributes","removeClass","addMarker:revision-suggestion:deletion","activeView","_step","checkAttribute","for","concat","attribute:vid","change:isReady","isCollapsed","target","writer","endIndex","revision-end"];return(wr=function(){return t})()}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(616)][e(357)](kr);this[e(457)]=!1,this[e(563)](i,e(391),(()=>this[e(433)]())),this[e(563)](i,e(560),(()=>this[e(433)]()))}[vr(376)](){const t=vr,e=this[t(609)],i=e[t(616)][t(357)](kr),n=i[t(410)]?i[t(493)][t(352)]:null;e[t(535)][t(357)](t(416))[t(545)](n)}[vr(433)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(609)][t(616)][t(357)](kr),s=r&&n[t(304)](r[t(352)]);this[t(597)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(616)][i(357)](kr);this[i(457)]=!1,this[i(386)]=i(608)===e?1:-1,this[i(563)](n,i(391),(()=>this[i(433)]())),this[i(563)](n,i(560),(()=>this[i(433)]())),this[i(563)](n,i(562),(()=>this[i(433)]()))}[vr(376)](){const e=vr,i=this[e(609)],n=i[e(616)][e(357)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(561)]=r?n[e(493)][e(567)][e(357)](s+this[e(386)]):n[e(493)][e(567)][e(603)],n[e(561)][e(523)][e(550)])o=i[e(325)][e(397)][e(564)](n[e(561)][e(342)]);else{const t=i[e(612)][e(477)][e(357)](e(427)+n[e(561)].id);o=(0,Bi.getMarkerDomElement)(i[e(325)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(433)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(609)][t(616)][t(357)](kr);this[t(597)]=!!(s&&r&&n)&&(!e||(1===this[t(386)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Ln().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Hn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["bind","bindTemplate","X_OF_Y_CHANGES","1486278PjEPiX","isForwardNavigationEnabled","ck-revision-history-ui","Total","159924DYRXok","ck-hidden","186464CFixDG","Show previous change","9uvIIHN","105297ZHLfxO","NUMBER_OF_CHANGES","forward","213770xORqDt","div","fire","currentChangeNumber","span","1804936paRoJM","set","ck-revision-history-ui__changes-navigation","setTemplate","312078XjRUYc","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation__label","Loading...","20CDifMf","isEnabled","_isStatusLabelVisible","isNavigationMode","isBackwardNavigationEnabled","numberOfChanges","No changes","backward","isReady","ck-revision-history-ui__changes-navigation__wrapper","execute","Show next change","EDIT_X_OF_Y_REVISIONS","_statusText"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=366]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(161613===parseInt(e(405))/1+parseInt(e(372))/2+-parseInt(e(402))/3+-parseInt(e(397))/4*(parseInt(e(376))/5)+-parseInt(e(393))/6+parseInt(e(368))/7+parseInt(e(399))/8*(-parseInt(e(401))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Ar extends Vn.View{constructor(t){const e=Tr;super(t);const i=this[e(391)],n=new Vn.ButtonView(t),r=new Vn.ButtonView(t);this[e(369)](e(379),!1),this[e(369)](e(384),!1),this[e(369)](e(366),0),this[e(369)](e(381),0),this[e(369)](e(394),!1),this[e(369)](e(380),!1),this[e(390)](e(378)).to(this,e(384),this,e(381),((t,e)=>t&&e>0)),this[e(390)](e(389)).to(this,e(384),this,e(366),this,e(381),this,e(379),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(375));if(!r)return Qi(t,o(382));const a=Qi(t,o(403),r);return s?Qi(t,o(392),[n+1,r]):a})),n[e(369)]({label:Qi(t,e(400)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(369)]({label:Qi(t,e(387)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),n[e(390)](e(377)).to(this,e(380)),r[e(390)](e(377)).to(this,e(394)),n.on(e(386),(()=>this[e(407)](e(386),e(383)))),r.on(e(386),(()=>this[e(407)](e(386),e(404)))),this[e(371)]({tag:e(406),attributes:{class:["ck",e(395),e(370)]},children:[{tag:e(367),attributes:{class:[e(385)]},children:[{tag:e(367),attributes:{class:[e(374),i.if(e(378),e(398),(t=>!t))]},children:[{text:i.to(e(379),(i=>i?Qi(t,e(388))+": ":Qi(t,e(396))+": "))}]},{text:i.to(e(389))}]},new Vn.ToolbarSeparatorView,{tag:e(406),attributes:{class:[e(373)]},children:[n,r]}]})}}var Nr=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Ln().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Hn();Cn()(Nr.A,Rr);Nr.A&&Nr.A.locals&&Nr.A.locals;const Er=Mr;function Mr(t,e){const i=Dr();return(Mr=function(t,e){return i[t-=317]})(t,e)}!function(t){const e=Mr,i=t();for(;;)try{if(604833===-parseInt(e(331))/1+parseInt(e(325))/2*(parseInt(e(336))/3)+-parseInt(e(324))/4+-parseInt(e(330))/5*(-parseInt(e(328))/6)+-parseInt(e(326))/7*(-parseInt(e(321))/8)+-parseInt(e(319))/9*(parseInt(e(332))/10)+parseInt(e(333))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dr);const Vr=Er(337);function Dr(){const t=["613626oejjtu","4283600dsRSNL","7639841RDyTJo","removeClass","addClass","199851tnKhKv","ck-editor__editable__loading-overlay","editing","change","editor","show","hide","pluginName","roots","18YCpZvd","isPremiumPlugin","227704YaBLAf","RevisionViewerLoadingOverlay","view","3792952UlRReC","2eYHyWr","287NzQHKO","document","3285858ITwpcd","isOfficialPlugin","10WsydXU"];return(Dr=function(){return t})()}class Cr extends qi.Plugin{static get[Er(317)](){return Er(322)}static get[Er(329)](){return!0}static get[Er(320)](){return!0}[Er(341)](){const t=Er,e=this[t(340)][t(338)][t(323)];e[t(339)]((i=>{const n=t;for(const t of e[n(327)][n(318)])i[n(335)](Vr,t)}))}[Er(342)](){const t=Er,e=this[t(340)][t(338)][t(323)];e[t(339)]((i=>{const n=t;for(const t of e[n(327)][n(318)])i[n(334)](Vr,t)}))}}const jr=Pr;function Fr(){const t=["currentChangeNumber","2875816VUfCgu","numberOfChanges","set","plugins","forward","config","restoreRevision","hide","componentFactory","isPremiumPlugin","29572qenEDT","isForwardNavigationEnabled","changesNavigation","RevisionViewerUI","get","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","undo","requires","Back to editing","2366238eZrBcs","2465559kRFowl","editor","execute","3546QXHRiF","revisionHistory","add","isReady","listenTo","6455MmxXzT","showPreviousChange","closeRevisionViewerCallback","showNextChange","pluginName","Restore this revision","commands","change:isReady","exitToEditing","48250hbJHwW","isOfficialPlugin","isNavigationMode","show","10310752EEBqPP","init","isEnabled","bind"];return(Fr=function(){return t})()}function Pr(t,e){const i=Fr();return(Pr=function(t,e){return i[t-=173]})(t,e)}!function(t){const e=Pr,i=t();for(;;)try{if(710374===parseInt(e(176))/1+-parseInt(e(195))/2+parseInt(e(206))/3+parseInt(e(185))/4+parseInt(e(214))/5*(parseInt(e(209))/6)+-parseInt(e(205))/7+-parseInt(e(180))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fr);class Lr extends qi.Plugin{static get[jr(218)](){return jr(198)}static get[jr(177)](){return!0}static get[jr(194)](){return!0}static get[jr(203)](){return[kr,Cr]}[jr(181)](){const t=jr,e=this[t(207)],i=e[t(188)][t(199)](kr),n=e[t(188)][t(199)](Cr);e.ui[t(193)][t(211)](t(175),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(187)]({label:Qi(i,n(204)),icon:qi.icons[n(202)],withText:!0,tooltip:!0,class:n(201)}),this[n(213)](r,n(208),(()=>{const t=n;e[t(190)][t(199)](t(210))[t(216)]()})),r})),e.ui[t(193)][t(211)](t(191),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(187)]({label:Qi(i,n(219)),withText:!0,tooltip:!0}),r[n(183)](n(182)).to(e[n(173)][n(199)](n(191))),this[n(213)](r,n(208),(()=>e[n(208)](n(191)))),r})),e.ui[t(193)][t(211)](t(197),(n=>{const r=t,s=new Ar(n),o=e[r(173)][r(199)](r(215)),a=e[r(173)][r(199)](r(217));return s[r(183)](r(200)).to(o,r(182)),s[r(183)](r(196)).to(a,r(182)),s[r(183)](r(212),r(184),r(186),r(178)).to(i),this[r(213)](s,r(208),((t,i)=>{const n=r;e[n(208)](n(189)===i?n(217):n(215))})),s})),n[t(179)](),i.on(t(174),((e,i,r)=>{const s=t;r?n[s(192)]():n[s(179)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Ln().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Hn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Zr;function Hr(){const t=["_tooltipString","788045jdjwbW","2425647ClzMev","input","listenTo","ck-revision-history-sidebar__revision-name","set","placeholder","4TEpJaA","_resizeObserver","5811738zQEwTi","_updateTooltipText","fieldView","destroy","Revision name","value","clientWidth","bindTemplate","Enter the revision name","render","extendTemplate","ck-tooltip_multi-line","scrollWidth","1385958OPXTCy","160HYttAa","2997428WeHTVU","span","251840GyBLwr","765135ULIyIo","element"];return(Hr=function(){return t})()}function Zr(t,e){const i=Hr();return(Zr=function(t,e){return i[t-=371]})(t,e)}!function(t){const e=Zr,i=t();for(;;)try{if(597352===parseInt(e(399))/1+parseInt(e(395))/2+-parseInt(e(374))/3+-parseInt(e(380))/4*(-parseInt(e(373))/5)+-parseInt(e(382))/6+-parseInt(e(397))/7+parseInt(e(396))/8*(parseInt(e(400))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hr);class $r extends Vn.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(381)]=null;const n=this[i(389)];this[i(378)]({label:Qi(t,i(386)),_tooltipString:""}),this[i(384)][i(379)]=Qi(t,i(390)),this[i(392)]({tag:i(398),attributes:{class:[i(377)],"data-cke-tooltip-text":n.to(i(372)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(393)}})}[Ur(391)](){const e=Ur;super[e(391)](),this[e(381)]=new t.ResizeObserver(this[e(384)][e(371)],(()=>this[e(383)]())),this[e(376)](this[e(384)],e(375),(()=>this[e(383)]()))}[Ur(385)](){const t=Ur;super[t(385)](),this[t(381)]&&this[t(381)][t(385)]()}[Ur(383)](){const t=Ur,e=this[t(384)][t(371)];this[t(372)]=e[t(394)]>e[t(388)]&&e[t(387)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Ln().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Hn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(){const t=["ck-revision-history-sidebar__revision-author","609746AWEGen","set","10qgextI","1180036gvAmMe","0 0 11 10","16QYhIAb","546fuongK","ck-revision-history-sidebar__revision-author__name","Revision creator","Revision author","2863130rHxYwK","push","93627aVMKHt","setTemplate","22106fBILpT","81792QjpHgq","642521xwjlRj","1PuBzef","span","ck-revision-history-sidebar__revision-author_creator","name"];return(Yr=function(){return t})()}function Gr(t,e){const i=Yr();return(Gr=function(t,e){return i[t-=188]})(t,e)}!function(t){const e=Gr,i=t();for(;;)try{if(304293===parseInt(e(205))/1*(parseInt(e(188))/2)+parseInt(e(203))/3+parseInt(e(191))/4+-parseInt(e(198))/5+-parseInt(e(194))/6*(-parseInt(e(202))/7)+parseInt(e(193))/8*(parseInt(e(200))/9)+-parseInt(e(190))/10*(parseInt(e(204))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Jr extends Vn.View{constructor(t,e,i){const n=Gr;super(t);const r=new Vn.IconView;r[n(189)]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:n(192)});const s=["ck",n(209)];i&&s[n(199)](n(207));const o=[{tag:n(206),attributes:{class:["ck",n(195)],title:Qi(t,n(i?196:197))},children:[r,e[n(208)]]}];this[n(201)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=348]})(t,e)}function Xr(){var t=["12330720CqWept","891205DjjaRD","34518qcKAaN","2145832oIdptx","toLocaleDateString","23304LnslRm","numeric","177UTMTER","6905080KjBJen","long","5432768WRSOWi","1095hYAXPz","toLocaleTimeString"];return(Xr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(532612===parseInt(e(350))/1+parseInt(e(351))/2*(parseInt(e(356))/3)+parseInt(e(352))/4+-parseInt(e(360))/5*(parseInt(e(354))/6)+parseInt(e(357))/7+-parseInt(e(359))/8+-parseInt(e(349))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Ln().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Hn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(){const t=["action","258472xGaVFG","locale","panelPosition","class","3kldVZB","button","10getUjK","Restore this revision","9261372ySUwju","add","first","model","listenTo","set","1048924tzTInO","find","change:isActionsDropdownOpen","982PGZmKL","isReady","threeVerticalDots","bindTemplate","isOpen","_action","execute","items","listView","bind","15993387kAqffC","menuitem","menu","ck-revision-history-sidebar__revision__actions","385VsEXAh","children","Compare against selected","function","buttonView","7167600olzSXN","713ycYzTv","isEnabled","isActionsDropdownOpen","extendTemplate","source","map","stopPropagation","ck-on","name","Show more items","Name this revision","isVisible","60365195vDIxdw"];return(es=function(){return t})()}function is(t,e){const i=es();return(is=function(t,e){return i[t-=373]})(t,e)}!function(t){const e=is,i=t();for(;;)try{if(955523===parseInt(e(386))/1*(-parseInt(e(417))/2)+parseInt(e(404))/3*(parseInt(e(414))/4)+parseInt(e(385))/5+parseInt(e(408))/6+-parseInt(e(380))/7*(-parseInt(e(400))/8)+parseInt(e(376))/9*(parseInt(e(406))/10)+-parseInt(e(398))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(es);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Ln().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Hn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=os;function os(t,e){const i=as();return(os=function(t,e){return i[t-=310]})(t,e)}function as(){const t=["1gKjjHb","5581930eKrPTE","839100aNvlcb","highlight","revisionActionsView","listenTo","map","fieldView","unshift","isConfirm","createdAt","ck-revision-history-sidebar__revision__date","authors","change","setName","unhighlight","div","1009431SmXVes","220","revisionNameView","value","isEnabled","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision_highlighted","closest","bind","from","filter","span","ck-revision-history-sidebar__revision__controls-wrapper",".ck-thread__remove-confirm","583794cEcFqf","select","_createdAtFormatted","ck-revision-history-sidebar__revision","112flKoFD","element","bindTemplate","347104AjWSGA","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__actions_dropdown_open","uiLanguage","ck-disabled","isActionsDropdownOpen","ck-reset","render","isSelected","isHighlighted","40MYAQNG","52608EhMkGx","set","setTemplate","fire","creator","_revision","_requireRevisionName","ck-revision-history-sidebar__revision-authors","srcElement","deselect","extendTemplate","isReady","ck-revision-history-sidebar__revision_selected","name","length","6545rNapQj"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(169423===parseInt(e(369))/1*(parseInt(e(342))/2)+parseInt(e(321))/3+parseInt(e(371))/4+-parseInt(e(352))/5*(parseInt(e(353))/6)+-parseInt(e(368))/7*(-parseInt(e(339))/8)+parseInt(e(335))/9+-parseInt(e(370))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(Vn.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(341)],a=function(t,e){const i=s,n=Array[i(330)](e[i(316)])[i(331)]((t=>t!=e[i(357)]));return e[i(357)]&&n[i(312)](e[i(357)]),n[i(310)]((n=>new Jr(t,n,n==e[i(357)])))}(e,i);this.id=i.id,this[s(358)]=i,this[s(359)]=r,this[s(329)](s(366),s(314)).to(i),this[s(329)](s(337)).to(this,s(314),(t=>{return i=e[s(345)],(n=t)[(r=Kr)(353)](i,{month:r(358),day:r(355)})+", "+n[r(348)](i,{hour:r(355),minute:r(355)});var i,n,r})),this[s(354)](s(350),!1),this[s(354)](s(351),!1),this[s(354)](s(347),!1),this[s(354)](s(364),!1),this[s(354)](s(325),!1),this[s(323)]=new $r(e,Vn.createLabeledInputText),this[s(323)][s(311)][s(363)]({attributes:{maxlength:s(322)}}),this[s(323)][s(311)][s(329)](s(324)).to(this,s(366),(t=>t||this[s(337)])),this[s(323)][s(329)](s(325)).to(this,s(350),this,s(325),((t,e)=>t&&e)),this[s(373)]=n&&n[s(367)]?function(e,i){const n=is,r=e[n(420)],s=e[n(401)],o=(0,Vn.createDropdown)(s);o[n(402)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=is,n=t[i(401)],r={"Compare against selected":Qi(n,i(382)),"Name this revision":Qi(n,i(396)),"Restore this revision":Qi(n,i(407))};return e[i(391)]((t=>{const e=i,n=r[t[e(394)]];return n&&n!==t[e(394)]&&(t[e(394)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(405),model:new Vn.ViewModel({label:t[r(394)],class:t[r(403)],withText:!0,role:r(377),_action:t[r(399)]})};i[r(411)][r(375)](r(387)).to(e,r(388),(i=>r(383)!=typeof t[r(387)]||!i||t[r(387)](e))),o[r(409)](i)}return o}(e,i);return e[n(375)](n(388)).to(o,n(421)),o[n(384)][n(413)]({label:Qi(s,n(395)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(419)]}),o[n(389)]({attributes:{class:[n(379),r.if(n(388),n(393))]},on:{click:r.to((t=>t[n(392)]()))}}),o.on(n(423),(t=>{const i=n;e[i(418)]&&i(383)==typeof t[i(390)][i(422)]&&t[i(390)][i(422)](e)})),(0,Vn.addListToDropdown)(o,a,{role:n(378)}),o[n(412)](e,n(416),((t,r,s)=>{const a=n;if(s)for(const t of o[a(374)][a(373)]){const n=t[a(381)][a(410)],r=i[a(415)]((t=>t[a(399)]===n[a(422)]))[a(397)];t[a(397)]=void 0===r||r(e)}})),o}(this,n):"",this[s(373)]&&this[s(373)][s(329)](s(325)).to(this),this[s(355)]({tag:s(320),attributes:{class:["ck",s(348),s(343),o.if(s(313),s(326))]},children:[{tag:s(320),attributes:{class:["ck",s(348),s(338),o.if(s(325),s(346),(t=>!t)),o.if(s(350),s(365)),o.if(s(351),s(327)),o.if(s(347),s(344))]},children:[this[s(323)],{tag:s(332),attributes:{class:["ck",s(315)]},children:[{text:o.to(s(337))}]},{tag:s(320),attributes:{class:["ck",s(333)]},children:[{tag:"ul",attributes:{class:["ck",s(360)]},children:a}]},this[s(373)]],on:{click:o.to((t=>{const e=s;t[e(361)][e(328)](e(334))||this[e(364)]&&this[e(325)]&&this[e(356)](e(336),{id:this.id})}))}}]})}[ss(349)](){const t=ss;super[t(349)]();const e=this[t(323)][t(311)][t(340)];this[t(374)](e,t(317),(()=>{const i=t;this[i(359)]&&!e[i(324)]||this[i(356)](i(318),{id:this.id,name:e[i(324)]}),e[i(324)]||(e[i(324)]=this[i(366)]?this[i(366)]:this[i(337)])}))}[ss(336)](){this[ss(350)]=!0}[ss(362)](){this[ss(350)]=!1}[ss(372)](){this[ss(351)]=!0}[ss(319)](){this[ss(351)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},Os={hour:ys,minute:ys},xs={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},As={hour:ys,minute:ys,second:ys,timeZoneName:ks},Ns={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Vs={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Hs=null;class Zs extends Us{static get instance(){return null===Hs&&(Hs=new Zs),Hs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},$s={}}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=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Gs={};let Js={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.DateTimeFormat(t,e),Js[i]=n),n}let Xs={};let Qs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Xs[i];return n||(n=new Intl.NumberFormat(t,e),Xs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ys.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}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 so{constructor(t,e,i){this.opts={style:"long",...i},!e&&$o()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Qs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Qs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={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."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[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 oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Go(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Js={},Xs={},Qs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Go(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 io(this,t,ga,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=wu.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return io(this,t,_a,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.ListFormat(t,e),Gs[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}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 co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(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 lo extends Us{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 ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Zs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Ho(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={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]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Zs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Go(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Ao=[0,31,59,90,120,151,181,212,243,273,304,334],No=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Eo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Mo(t,e,i){return i+(ia(t)?No:Ao)[e-1]}function Vo(t,e){const i=ia(t)?No:Ao,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Mo(n,r,s),a=Do(Eo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Eo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Vo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Mo(e,i,n),...ma(t)}}function Po(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Vo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Lo(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(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 zo(t){const e=Zo(t.year),i=Jo(t.month,1,12),n=Jo(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Jo(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Jo(i,0,59),a=Jo(n,0,59),c=Jo(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Ho(t){return"number"==typeof t}function Zo(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Go(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Jo(t.firstDay,1,7)||!Jo(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Jo(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Jo(t,e,i){return Zo(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(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 oa(t,e,i){return-Do(Eo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];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 ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Aa(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Na={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:As,T:Ns,TT:Rs,TTT:Es,TTTT:Ms,f:Vs,ff:Cs,fff:Ps,ffff:zs,F:Ds,FF:js,FFF:Ls,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Na[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 Ko(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Aa(Ra.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 s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Aa(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ea=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ma(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Va(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Xo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pa=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ea.source})\\])?)?`}`),La=RegExp(`(?:T${Pa.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ea.source}))?`),Ha=RegExp(`(?: ${Ua.source})?`);function Za(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function $a(t,e){return[{hours:Za(t,e,0),minutes:Za(t,e+1,0),seconds:Za(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ga=/^-?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 Ja(t){const[e,i,n,r,s,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(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Xo(e)):Xo(e),month:va.indexOf(i)+1,day:Xo(n),hour:Xo(r),minute:Xo(s)};return o&&(a.second=Xo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(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 tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Xa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(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$/,ic=/^(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$/,nc=/^(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 rc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ma(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,La),ac=Ma(/(\d{4})-?W(\d\d)(?:-?(\d))?/,La),cc=Ma(/(\d{4})-?(\d{3})/,La),uc=Ma(Pa),lc=Va((function(t,e){return[{year:Za(t,e),month:Za(t,e+1,1),day:Za(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Va(za,$a,qa,Ba),dc=Va(Wa,$a,qa,Ba),fc=Va($a,qa,Ba);const mc=Va($a);const pc=Ma(/(\d{4})-(\d\d)-(\d\d)/,Ha),vc=Ma(Ua),yc=Va($a,qa,Ba);const gc="Invalid Duration",kc={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}},bc={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},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,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:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Nc(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Ac(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Nc{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Nc.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Nc({values:da(t,Nc.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ho(t))return Nc.fromMillis(t);if(Nc.isDuration(t))return t;if("object"==typeof t)return Nc.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ga,Ja])}(t);return i?Nc.fromObject(i,e):Nc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ya,mc])}(t);return i?Nc.fromObject(i,e):Nc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Nc({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 ms(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?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(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+=ea(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 wu.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?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Nc.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Nc.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]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Nc.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Nc.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Ac(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Nc.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Ho(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Ho(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Ac(this.matrix,e),xc(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 xc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Ec{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 ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Ec({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Ec.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:Ec.invalid("missing or invalid end"):Ec.invalid("missing or invalid start")}(i,n);return null==r?new Ec({start:i,end:n}):r}static after(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Ec.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Ec.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Ec.fromDateTimes(t,s);if(r){const i=Nc.fromISO(n,e);if(i.isValid)return Ec.after(t,i)}else if(o){const t=Nc.fromISO(i,e);if(t.isValid)return Ec.before(s,t)}}return Ec.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Ec.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Ec.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Nc.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Ec.fromDateTimes(n,i)),n=i,r+=1}return s}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:Ec.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 Ec.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Ec.fromDateTimes(e,t.time)),e=null);return Ec.merge(n)}difference(...t){return Ec.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[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=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Nc.invalid(this.invalidReason)}mapEndpoints(t){return Ec.fromDateTimes(t(this.s),t(this.e))}}class Mc{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ys.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:$o(),localeWeek:qo()}}}function Vc(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Nc.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Vc(t,e);return(i-i%7)/7}],["days",Vc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Nc.fromObject(s,n);return u.length>0?Nc.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Pc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Lc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Pc).join("|")),deser:([i])=>t.findIndex((t=>Lc(i)===Lc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Hc={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 Zc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(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 zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Ys.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(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),Uo(t.u)||(t.S=ta(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Yo(i,"a")&&Yo(i,"H"))throw new fs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Zc||(Zc=wu.fromMillis(1555555555555)),Zc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Hc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Gc="Invalid DateTime",Jc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Xc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Qc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(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 nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Nc.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=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(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 ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=xo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=xo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(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 ku,bu={};class wu{constructor(t){const e=t.zone||xo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Uo(t.ts)?xo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Ho(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Ho(t))return t<-Jc||t>Jc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ho(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Lo(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Zo(t.weekYear),r=Jo(t.weekNumber,1,aa(t.weekYear,e,i)),s=Jo(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Zo(t.year),i=Jo(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Po(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Qa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}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?Xc(this).weekYear:NaN}get weekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get weekday(){return this.isValid?Xc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Mc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Mc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Mc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Mc.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=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(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=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Lo(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Po({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Nc.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Nc.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Nc.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Gc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Gc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Gc}[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 Nc.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Nc.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Ec.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.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||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return As}static get TIME_24_SIMPLE(){return Ns}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Es}static get TIME_24_WITH_LONG_OFFSET(){return Ms}static get DATETIME_SHORT(){return Vs}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ps}static get DATETIME_FULL_WITH_SECONDS(){return Ls}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Ho(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Ou();return(Iu=function(t,e){return i[t-=295]})(t,e)}function Su(t,e){const i=Iu,n=wu[i(318)](t)[i(309)](e),r=wu[i(303)](),s=r[i(301)]({days:1})[i(307)](i(306));let o,a;return n[i(299)](r,i(306))?(o=n[i(307)](i(306))[i(308)](),a=n[i(317)]()):n[i(299)](s,i(306))?(o=s[i(308)](),a=n[i(317)]()):n[i(299)](r,i(304))?(o=n[i(307)](i(304))[i(308)](),a=n[i(298)]||""):n[i(299)](r,i(313))?(o=n[i(307)](i(310))[i(308)](),a=n[i(315)]||""):(o=n[i(307)](i(313))[i(308)](),a=String(n[i(313)])),{startDate:o,localizedPeriodName:a}}function Ou(){const t=["8982792qCvXIo","monthLong","8544008VZnBWB","toRelativeCalendar","fromJSDate","2458398MVXkAh","205264IfSPqK","586GFoNff","665CdvOnd","weekdayLong","hasSame","14970vtOggM","minus","12023pOFQCP","local","week","205206XzzzrS","day","startOf","toJSDate","setLocale","month","10trFVBc","7uagpuH","year"];return(Ou=function(){return t})()}!function(t){const e=Iu,i=t();for(;;)try{if(688830===-parseInt(e(297))/1*(parseInt(e(296))/2)+-parseInt(e(319))/3+parseInt(e(295))/4*(parseInt(e(311))/5)+parseInt(e(305))/6*(parseInt(e(312))/7)+-parseInt(e(316))/8+parseInt(e(314))/9+-parseInt(e(300))/10*(-parseInt(e(302))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ou);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Ln().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Hn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Au=Nu;function Nu(t,e){const i=Ru();return(Nu=function(t,e){return i[t-=240]})(t,e)}function Ru(){const t=["ck-revision-history-sidebar__time-period__revisions","remove","select","uiLanguage","removeRevision","div","delegate","_requireRevisionName","2129928vYBWDy","18vasjQn","add","1754478xrLrwz","_revisionActions","locale","addRevision","3029642hXNvRd","localizedPeriodName","ck-revision-history-sidebar__time-period__label","startDate","743610cYYEOc","find","2ipfsgw","1440144SHpzdg","539042TSEewW","span","setTemplate","ck-revision-history-sidebar__time-period","setName","4429615vZBhYe","createCollection","revisionViews"];return(Ru=function(){return t})()}!function(t){const e=Nu,i=t();for(;;)try{if(517552===parseInt(e(259))/1*(parseInt(e(261))/2)+-parseInt(e(249))/3+parseInt(e(260))/4+-parseInt(e(266))/5+parseInt(e(257))/6+parseInt(e(253))/7+parseInt(e(246))/8*(parseInt(e(247))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ru);class Eu extends Vn.View{constructor(t,e,i,n){const r=Nu;super(t);const s=Su(e,this[r(251)][r(241)])[r(254)];this[r(256)]=e,this[r(268)]=this[r(267)](),this[r(250)]=i,this[r(245)]=n,this[r(268)][r(244)](r(240)).to(this),this[r(268)][r(244)](r(265)).to(this),this[r(263)]({tag:r(243),attributes:{class:["ck",r(264)]},children:[{tag:r(262),attributes:{class:["ck",r(255)]},children:[{text:s}]},{tag:r(243),attributes:{class:["ck",r(269)]},children:this[r(268)]}]})}[Au(252)](t){const e=Au,i=new cs(this[e(251)],t,this[e(250)],this[e(245)]);this[e(268)][e(248)](i)}[Au(242)](t){const e=Au,i=this[e(268)][e(258)]((e=>e.id===t.id));this[e(268)][e(270)](i)}}var Mu=i(173),Vu={attributes:{"data-cke":!0}};Vu.setAttributes=Wn(),Vu.insert=Ln().bind(null,"head"),Vu.domAPI=Fn(),Vu.insertStyleElement=Hn();Cn()(Mu.A,Vu);Mu.A&&Mu.A.locals&&Mu.A.locals;!function(t){const e=Cu,i=t();for(;;)try{if(985052===parseInt(e(224))/1*(parseInt(e(233))/2)+parseInt(e(226))/3+parseInt(e(230))/4*(-parseInt(e(223))/5)+parseInt(e(239))/6*(-parseInt(e(234))/7)+-parseInt(e(241))/8+parseInt(e(236))/9*(-parseInt(e(235))/10)+parseInt(e(238))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ju);class Du extends Vn.View{constructor(t){const e=Cu;super(t);const i=new Vn.IconView;i[e(222)]=qi.icons[e(227)],this[e(232)]({tag:e(237),attributes:{class:["ck",e(231),e(229)]},children:[i,{tag:e(240),attributes:{class:["ck",e(228)]},children:[Qi(t,e(225))]}]})}}function Cu(t,e){const i=ju();return(Cu=function(t,e){return i[t-=222]})(t,e)}function ju(){const t=["412810sKfEMB","207zQIevl","div","16496095IRhlOs","6GhYAOH","span","10696144eQcjmE","content","40iByjel","9182nwFOUT","Revision history","4378977AralkU","history","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","430448YtCmqZ","ck-reset_all","setTemplate","294YbsIhy","1236403rRrbbt"];return(ju=function(){return t})()}var Fu=i(722),Pu={attributes:{"data-cke":!0}};Pu.setAttributes=Wn(),Pu.insert=Ln().bind(null,"head"),Pu.domAPI=Fn(),Pu.insertStyleElement=Hn();Cn()(Fu.A,Pu);Fu.A&&Fu.A.locals&&Fu.A.locals;function Lu(t,e){const i=Wu();return(Lu=function(t,e){return i[t-=404]})(t,e)}const zu=Lu;function Wu(){const t=["addRevision","2761560mNSkSG","ck-revision-history-sidebar__timeline","_removeRevision","590901rHTXgn","startDate","delegate","_getTimePeriodViewByStartDate","removeRevision","highlightRevisions","revisionSelected","remove","bindTemplate","_revisionActions","revisionViews","uiLanguage","select","_requireRevisionName","map","_revisions","some","unhighlight","render","selectRevision","ck-revision-history-sidebar","locale","timePeriodViews","2409127cQfecF","ck-disabled","getTime","23176ivDGAT","423098jvSFJf","ck-rounded-corners","get","setName","3872jxpNIe","2767680ULitsW","createdAt","createCollection","ck-reset","isEnabled","div","revisionSetName","find","setTemplate","flat","highlight","add","12vMJYYR","deselect","26244BrUFgm","fire","set","_addRevision"];return(Wu=function(){return t})()}!function(t){const e=Lu,i=t();for(;;)try{if(332589===-parseInt(e(450))/1+-parseInt(e(451))/2+parseInt(e(424))/3*(-parseInt(e(414))/4)+parseInt(e(421))/5+-parseInt(e(456))/6+-parseInt(e(447))/7+parseInt(e(455))/8*(parseInt(e(416))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Uu extends Vn.View{constructor(t,e,i,n){const r=Lu;super(t);const s=this[r(432)];this[r(446)]=this[r(404)](),this[r(446)][r(426)](r(436)).to(this),this[r(446)][r(426)](r(454)).to(this),this[r(439)]=e,this[r(433)]=i,this[r(437)]=n,this.on(r(436),((t,e)=>{const i=r;this[i(417)](i(430),e)})),this.on(r(454),((t,e)=>{const i=r;this[i(417)](i(408),e)})),this[r(418)](r(406),!1),this[r(410)]({tag:r(407),attributes:{class:["ck",r(405),r(452),r(444)]},children:[new Du(t),{tag:r(407),attributes:{class:["ck",r(422),s.if(r(406),r(448),(t=>!t))]},children:this[r(446)]}]})}[zu(442)](){const t=zu;super[t(442)]();for(const e of this[t(439)])this[t(419)](e);this[t(439)].on(t(413),((e,i)=>{this[t(419)](i)})),this[t(439)].on(t(431),((e,i)=>{this[t(423)](i)}))}get[zu(434)](){const t=zu;return this[t(446)][t(438)]((e=>e[t(434)][t(438)]((t=>t))))[t(411)]()}[zu(443)](t){const e=zu;for(const i of this[e(434)])t&&t.id===i.id?i[e(436)]():i[e(415)]()}[zu(429)](t){const e=zu;for(const i of this[e(434)])t[e(440)]((({id:t})=>t===i.id))?i[e(412)]():i[e(441)]()}[zu(419)](t){const e=zu,i=Su(t[e(457)],this[e(445)][e(435)])[e(425)];let n=this[e(446)][e(453)](0);n&&n[e(425)][e(449)]()===i[e(449)]()||(n=new Eu(this[e(445)],i,this[e(433)],this[e(437)]),this[e(446)][e(413)](n)),n[e(420)](t)}[zu(423)](t){const e=zu,i=Su(t[e(457)],this[e(445)][e(435)])[e(425)];this[e(427)](i)[e(428)](t)}[zu(427)](t){const e=zu;return this[e(446)][e(409)]((i=>i[e(425)][e(449)]()===t[e(449)]()))}}const Hu=Zu;function Zu(t,e){const i=qu();return(Zu=function(t,e){return i[t-=113]})(t,e)}!function(t){const e=Zu,i=t();for(;;)try{if(765419===-parseInt(e(124))/1+-parseInt(e(120))/2*(parseInt(e(181))/3)+-parseInt(e(186))/4*(parseInt(e(130))/5)+-parseInt(e(126))/6*(parseInt(e(136))/7)+-parseInt(e(144))/8*(parseInt(e(197))/9)+-parseInt(e(158))/10*(-parseInt(e(122))/11)+parseInt(e(123))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qu);class $u extends qi.Plugin{static get[Hu(190)](){return Hu(175)}static get[Hu(114)](){return!0}static get[Hu(149)](){return!0}static get[Hu(143)](){return[kr]}constructor(t){const e=Hu;super(t),this[e(119)]=t[e(188)][e(166)](kr),this[e(182)]=this[e(119)][e(196)],this[e(147)]=null}[Hu(164)](){const t=Hu,e=this[t(182)][t(145)],i=this[t(118)](),n=this[t(135)][t(193)][t(166)](t(131));this[t(147)]=new Uu(this[t(135)][t(116)],e,i,this[t(135)][t(193)][t(166)](t(138))),this[t(147)].on(t(170),this[t(127)][t(160)](this)),this[t(147)].on(t(134),this[t(178)][t(160)](this)),this[t(147)][t(160)](t(187)).to(this[t(119)]),this[t(147)][t(137)].on(t(189),((e,i)=>{const n=t;i[n(165)].on(n(189),((t,e)=>{const i=n;e[i(160)](i(187),i(132)).to(this[i(119)])}))})),this[t(147)][t(162)](),this[t(171)](this[t(135)][t(115)],t(163),this[t(161)][t(160)](this)),this[t(171)](this[t(119)],t(176),this[t(157)][t(160)](this)),n[t(183)](this[t(147)][t(174)])}[Hu(117)](){const t=Hu;this[t(147)][t(174)][t(159)](),this[t(147)][t(117)]()}[Hu(161)](){const t=Hu,e=this[t(182)][t(148)](0);if(e){const i=this[t(182)][t(173)](e.id);this[t(119)][t(153)](e,i)}}[Hu(127)](t,e){const i=Hu,n=this[i(182)][i(148)](e.id),r=this[i(182)][i(173)](n.id);this[i(119)][i(153)](n,r)}[Hu(178)](t,e){const i=Hu;this[i(182)][i(148)](e.id)[i(155)](e[i(152)])}[Hu(157)](t,e,i){const n=Hu,r=this[n(182)][n(113)](i);r[n(141)]>2?(this[n(147)][n(167)](r),this[n(147)][n(179)](null)):(this[n(147)][n(167)]([]),this[n(147)][n(179)](r[0]))}[Hu(118)](){const t=Hu,e=this[t(135)],i=$u[t(172)],n=e[t(193)][t(166)](t(184))||$u[t(139)];if(n[t(141)])return n[t(154)]((n=>{const r=t,s=r(151)==typeof n?Object[r(150)]({},i[n]):n;return s[r(169)]=s[r(169)][r(160)](this,e),s[r(180)]&&(s[r(180)]=s[r(180)][r(160)](this,e)),s}))}}function qu(){const t=["remove","bind","_handleEditorDataReady","render","ready","init","revisionViews","get","highlightRevisions","Name this revision","action","revisionSelected","listenTo","availableRevisionActions","getEarlierVisibleRevision","element","RevisionsSidebar","change:diff","restoreRevision","_handleRevisionSetName","selectRevision","isVisible","6XOCIMt","_revisionsRepository","appendChild","revisionHistory.revisionActions","compareAgainstSelected","8BvzMrX","isEnabled","plugins","add","pluginName","fieldView","isSelected","config","getLaterVisibleRevision","getIndex","repository","6588TOsmBE","getRevisionsInDiff","isOfficialPlugin","data","locale","destroy","_createRevisionActions","_revisionViewer","464426ZhSCkP","Compare against selected","177023HLqLbY","42045456NppfzK","610166zhQSsQ","newRevisionId","4217604SeQYkK","_handleRevisionSelected","revisionHistory","restoreRevisionCallback","3155410aHDAYm","revisionHistory.viewerSidebarContainer","isReady","select","revisionSetName","editor","14XDHlqE","timePeriodViews","revisionHistory.requireRevisionName","defaultRevisionActions","Restore this revision","length","focus","requires","1512ePyTOF","_revisions","nameRevision","_sidebarView","getRevision","isPremiumPlugin","assign","string","name","compare","map","setName","diff","_handleDiffChange","710UgFEvP"];return(qu=function(){return t})()}$u[Hu(139)]=[Hu(185),Hu(177),Hu(146)],$u[Hu(172)]={compareAgainstSelected:{name:Hu(121),action:({plugins:t},e)=>{const i=Hu,n=t[i(166)](kr),r=n[i(196)];let s=n[i(156)][i(125)],o=e.id;r[i(195)](s)>r[i(195)](o)&&([s,o]=[o,s]),n[i(153)](s,o)},isVisible:({plugins:t},e)=>{const i=Hu,n=t[i(166)](kr);return!(n[i(196)][i(113)](n[i(156)])[i(141)]>2||e[i(192)])}},restoreRevision:{name:Hu(140),action:(t,{id:e})=>{const i=Hu;t[i(193)][i(166)](i(128))[i(129)](e)},isVisible:({plugins:t},e)=>!!t[Hu(166)](kr)[Hu(196)][Hu(194)](e.id)},nameRevision:{name:Hu(168),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Hu,r=t[n(166)](kr),s=r[n(196)][n(173)](e);r[n(153)](e,s),i[n(142)](),i[n(191)][n(133)]()}}};const Bu=$u,Yu=Ju;function Gu(){const t=["8TBSWHx","977994xHkjmO","render","29544185NeUAMk","_initToolbar","3uDHwxP","ready","fire","element","_toolbarConfig","focusTracker","view","limiterElement","449435auSiEv","30570AlLJiM","_view","get","init","bind","1917kIgcQc","attachDomRoot","6FLpsKz","toolbar","setEditableElement","editor","viewportTopOffset","isActive","_elementReplacer","config","addToolbar","659660wEnOrN","name","editing","553399nnkErI","viewportOffset","detachDomRoot","isFocused","replace","rootName","componentFactory","6326184zLwLKf","fillFromConfig","restore","document","stickyPanel","destroy","editable","getRoot"];return(Gu=function(){return t})()}function Ju(t,e){const i=Gu();return(Ju=function(t,e){return i[t-=401]})(t,e)}!function(t){const e=Ju,i=t();for(;;)try{if(938322===-parseInt(e(434))/1+-parseInt(e(415))/2*(-parseInt(e(438))/3)+-parseInt(e(425))/4+parseInt(e(446))/5*(-parseInt(e(406))/6)+-parseInt(e(418))/7*(parseInt(e(433))/8)+-parseInt(e(404))/9*(-parseInt(e(447))/10)+parseInt(e(436))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gu);class Ku extends Vn.EditorUI{get[Yu(444)](){return this[Yu(448)]}constructor(e,i){const n=Yu;super(e),this[n(448)]=i,this[n(442)]=(0,Vn.normalizeToolbarConfig)(e[n(413)][n(401)](n(407))),this[n(412)]=new t.ElementReplacer}get[Yu(441)](){const t=Yu;return this[t(444)][t(441)]}[Yu(402)](t){const e=Yu,i=this[e(409)],n=this[e(444)],r=i[e(417)][e(444)],s=n[e(431)],o=r[e(428)][e(432)]();s[e(416)]=o[e(423)],n[e(435)]();const a=s[e(441)];this[e(408)](s[e(416)],a),n[e(431)][e(403)](e(421)).to(this[e(443)]),r[e(405)](a),this[e(412)][e(422)](t,this[e(441)]),this[e(437)](),this[e(440)](e(439))}[Yu(430)](){const t=Yu;super[t(430)]();const e=this[t(444)],i=this[t(409)][t(417)][t(444)];this[t(412)][t(427)](),i[t(420)](e[t(431)][t(416)]),e[t(430)]()}[Yu(437)](){const t=Yu,e=this[t(444)];e[t(429)][t(403)](t(411)).to(this[t(443)],t(421)),e[t(429)][t(445)]=e[t(441)],e[t(429)][t(403)](t(410)).to(this,t(419),(({top:t})=>t)),e[t(407)][t(426)](this[t(442)],this[t(424)]),this[t(414)](e[t(407)])}}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Ln().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Hn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;function tl(t,e){var i=il();return(tl=function(t,e){return i[t-=374]})(t,e)}var el=tl;function il(){var t=["1XjnoRt","6293065srwqtg","content","2424262kHTbpL","6196252QsumGY","render","1809eiFePf","9234316SerfAt","stickyPanel","_editable","add","editable","8cDhivJ","111360AeJodK","toolbar","shouldToolbarGroupWhenFull","1981533AiREWb","1514820sdYQKa","main","top"];return(il=function(){return t})()}!function(t){for(var e=tl,i=t();;)try{if(910448===-parseInt(e(392))/1*(parseInt(e(375))/2)+parseInt(e(388))/3+parseInt(e(376))/4+-parseInt(e(393))/5+parseInt(e(389))/6+parseInt(e(379))/7*(-parseInt(e(384))/8)+-parseInt(e(378))/9*(-parseInt(e(385))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends Vn.BoxedEditorUIView{get[el(383)](){return this[el(381)]}constructor(t,e,i={}){var n=el;super(t),this[n(380)]=new Vn.StickyPanelView(t),this[n(386)]=new Vn.ToolbarView(t,{shouldGroupWhenFull:i[n(387)]}),this[n(381)]=new Vn.InlineEditableUIView(t,e)}[el(377)](){var t=el;super[t(377)](),this[t(380)][t(374)][t(382)](this[t(386)]),this[t(391)][t(382)](this[t(380)]),this[t(390)][t(382)](this[t(383)])}}const rl=ol;function sl(){const t=["9710090NGeyuv","869090anXnLL","view","model","create","init","4mlUAYI","destroy","createRoot","editing","initialData","updateSourceElement","config","initPlugins","sourceElement","_ui","fire","1062150kPuDoA","12jeQjSi","get","locale","document","ready","90184TqUdvW","data","799950InDgbs","1576001fsrVAs","2272055eZJkmM","333MSvhlZ"];return(sl=function(){return t})()}function ol(t,e){const i=sl();return(ol=function(t,e){return i[t-=190]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(464992===-parseInt(e(213))/1+parseInt(e(208))/2+parseInt(e(200))/3*(parseInt(e(218))/4)+-parseInt(e(210))/5*(-parseInt(e(201))/6)+parseInt(e(209))/7+parseInt(e(206))/8*(parseInt(e(211))/9)+-parseInt(e(212))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sl);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[ol(198)]}constructor(t,e){const i=ol;super(e),this[i(197)]=t,this[i(215)][i(204)][i(191)]();const n=new nl(this[i(203)],this[i(192)][i(214)],{shouldToolbarGroupWhenFull:!0});this[i(198)]=new Ku(this,n)}[rl(190)](){const t=rl;return this[t(194)](),this.ui[t(190)](),super[t(190)]()}static async[rl(216)](t,e){const i=rl,n=new this(t,e);return await n[i(196)](),await n.ui[i(217)](t),await n[i(207)][i(217)](n[i(195)][i(202)](i(193))||""),n[i(199)](i(205)),n}}const cl=dl;function ul(){const t=["adapter","revision-history-viewer-opened","document","revisionHistory.viewerEditorElement","push","pluginName","RevisionTracker","toLocaleTimeString","markers","init","display","map","PaginationLookup","roots","removeMarker","_recalculatePageBreaks","revisionHistory.requireRevisionName","revisionHistory.showRevisionViewerCallback","isReadOnly","RevisionHistory","Dialog","restoreRevision","isAttached","exitToEditing","uiLanguage","_enhanceCloseRevisionViewerCallback","model","isOfficialPlugin","Annotations","getAttributeKeys","block","addUser","insert","revisionHistory.viewerContainer","655195sQSzQP","Users","config","$graveyard","removeSelectionAttribute","create","changesNavigation","creator","revisionHistory.closeRevisionViewerCallback","data","_enhanceShowRevisionViewerCallback","getRoot","numeric","isReady","style","has","then","set","translations","plugins","22281HEADki","users","repository","destroy","addRevisionData","refreshVisibility","update","saveRevision","error","removeAttribute","1044019JjiNRD","getMarkersGroup","getRevision","_viewerEditor","get","_update","getRevisionRootsAttributes","4787739GYKHHb","includes","toVersion","revisionHistory.editorContainer","_cleanUp","selection","isOpen","Restored","detachRoot","1744326JcJAoT","_closeRevisionViewer","join","keys","2VesEvC","getUser","long","toolbar","closeRevisionViewerCallback","40uZzkqW","RevisionViewer","getRevisions","enqueueChange","Autosave","_getRevisionViewerEditorConfig","locale","fromCharCode","RevisionViewerIntegration","setAttribute","RevisionsRepository","addRoot","setSelection","indexOf","change","isPremiumPlugin","fromVersion","getRevisionData","name","refreshPositioning","end","result","from","_showRevisionViewer","requires","RevisionHistoryUI","disableReadOnlyMode","none","createdAt","showRevisionViewerCallback","isEnabled","restrictedEditingException","lazyRoots","revisionHistory.restoreRevisionCallback","define","toJSON","4114300eMZean","revisionHistory","bind","remove","3694680WfgOXC","editor","parse","createRangeIn","hide","revision-history-missing-configuration","isAnonymous","924NkaGRZ","commands","_restoreRevision","RestrictedEditingMode","rootName","save","enableReadOnlyMode","toLocaleDateString","catch"];return(ul=function(){return t})()}!function(t){const e=dl,i=t();for(;;)try{if(710020===-parseInt(e(158))/1+-parseInt(e(178))/2*(parseInt(e(174))/3)+parseInt(e(219))/4+parseInt(e(273))/5+parseInt(e(230))/6*(-parseInt(e(148))/7)+-parseInt(e(223))/8+-parseInt(e(165))/9*(-parseInt(e(183))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const ll=[cl(208),cl(233)];class hl extends qi.Plugin{static get[cl(244)](){return cl(191)}static get[cl(266)](){return!0}static get[cl(198)](){return!0}constructor(t){const e=cl;function i(t){const e=dl;return t[e(250)]((t=>String[e(190)](t)))[e(176)]("")}super(t),this[e(204)]=e(203),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 dl(t,e){const i=ul();return(dl=function(t,e){return i[t-=147]})(t,e)}class fl extends qi.Plugin{static get[cl(244)](){return cl(258)}static get[cl(266)](){return!0}static get[cl(198)](){return!0}static get[cl(207)](){return[xn,tr]}constructor(e){const i=cl;if(super(e),!this[i(224)][i(275)][i(162)](i(220)))throw new t.CKEditorError(i(228),this);this[i(161)]=null,this[i(224)][i(275)][i(217)](i(256),(t=>this[i(206)]({...t,translations:this[i(224)][i(189)][i(291)]}))),this[i(224)][i(275)][i(217)](i(281),(t=>this[i(175)](t))),this[i(224)][i(275)][i(217)](i(216),(t=>this[i(232)](t))),this[i(224)][i(275)][i(217)](i(255),!1),this[i(283)](),this[i(264)]()}set[cl(239)](t){const e=cl;this[e(224)][e(147)][e(162)](e(245))[e(239)]=t}get[cl(239)](){const t=cl;return this[t(224)][t(147)][t(162)](t(245))[t(239)]}[cl(152)](t){const e=cl;return this[e(224)][e(147)][e(162)](e(245))[e(152)](t)}[cl(160)](t){const e=cl;return this[e(224)][e(147)][e(162)](e(193))[e(160)](t)}[cl(185)](t){const e=cl;return this[e(224)][e(147)][e(162)](e(193))[e(185)](t||{toJSON:!1})}[cl(188)](){const e=cl,i=this[e(224)],n=(0,Bi.sanitizeEditorConfig)(i,ll),r=i[e(147)][e(162)](e(245)),s=i[e(147)][e(162)](e(274))[e(149)];return n[e(181)]=[e(262),e(260),e(279)],delete n[e(215)],n[e(147)][e(243)](hl,kr,Lr,class extends qi.Plugin{static get[e(207)](){return[kr,e(274)]}[e(248)](){const n=e,o=this[n(224)][n(147)][n(162)](n(274));for(const t of s)t[n(229)]||o[n(179)](t.id)||o[n(270)](t);const a=r[n(150)][n(185)]();let c=null;const u=this[n(224)][n(147)][n(162)](n(184));u[n(239)]=r[n(239)],u[n(221)](n(213)).to(r),this[n(224)][n(231)][n(162)](n(260))[n(221)](n(213)).to(i,n(257),(t=>!t));for(const e of a){const i=null===e[n(280)];if(i&&e[n(167)]===e[n(199)])continue;const s=e[n(218)]();u[n(152)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(163)](s,o);else if(!o){const e=a[u(218)]();e.id=(0,t.uid)(),r[u(155)](e,a[u(167)])[u(289)]((t=>{c=t}))}}else e[u(163)](s,o)}))}}},Bu),n}[cl(283)](){const t=cl,e=this[t(224)][t(275)][t(162)](t(220))[t(212)];this[t(224)][t(275)][t(290)](t(256),(async()=>{const i=t;this[i(224)][i(236)](i(240));const n=this[i(224)][i(147)][i(162)](i(245));if(this[i(224)][i(147)][i(288)](i(187))){const t=this[i(224)][i(147)][i(162)](i(187));await t[i(235)]()}else await n[i(154)]();if(this[i(224)][i(147)][i(288)](i(251))&&this[i(224)][i(147)][i(162)](i(251))[i(254)](),this[i(224)][i(147)][i(288)](i(259))){const t=this[i(224)][i(147)][i(162)](i(259));t[i(171)]&&t[i(227)]()}const r=this[i(188)]();return e(r)[i(289)]((t=>{const e=i;return this[e(161)]=t,this[e(224)][e(147)][e(288)](e(267))&&this[e(224)][e(147)][e(162)](e(267))[e(153)](),t}))[i(238)]((t=>(console[i(156)](t),this[i(224)][i(209)](i(240)),null)))}))}[cl(264)](){const t=cl,e=this[t(224)][t(275)][t(162)](t(220))[t(182)];this[t(224)][t(275)][t(290)](t(281),(()=>(this[t(224)][t(147)][t(288)](t(251))&&this[t(224)][t(147)][t(162)](t(251))[t(254)](),this[t(161)][t(147)][t(162)](t(184))[t(169)](),e(this[t(161)])[t(289)]((()=>{const e=t;if(this[e(224)][e(209)](e(240)),this[e(161)]=null,this[e(224)][e(147)][e(288)](e(267))){const t=this[e(224)][e(147)][e(162)](e(267));t[e(153)](),t[e(202)]()}})))))}[cl(206)](t){const e=cl,i=this[e(224)][e(275)][e(162)](e(168)),n=this[e(224)][e(275)][e(162)](e(272)),r=this[e(224)][e(275)][e(162)](e(242));return al[e(278)](r,t)[e(289)]((t=>(n[e(287)][e(249)]=e(269),i[e(287)][e(249)]=e(210),t)))}[cl(175)](t){const e=cl,i=this[e(224)][e(275)][e(162)](e(168));return this[e(224)][e(275)][e(162)](e(272))[e(287)][e(249)]=e(210),i[e(287)][e(249)]="",t[e(151)]()}async[cl(232)](t){const e=cl,i=this[e(224)],n=this[e(161)][e(147)][e(162)](e(184)),r=i[e(147)][e(162)](e(245)),s=n[e(150)][e(160)](t);let o,a,c;try{o=await n[e(200)](s),a=await n[e(164)](s)}catch(t){return void console[e(156)](t)}i[e(265)][e(197)]((t=>{const n=e;for(const e of Array[n(205)](i[n(265)][n(247)][n(159)](n(214))))t[n(253)](e)})),n[e(286)]=!1,i[e(265)][e(186)]((t=>{const n=e;t[n(195)](null),t[n(277)](i[n(265)][n(241)][n(170)][n(268)]());const r=Object[n(177)](o);for(const e of i[n(265)][n(241)][n(252)])n(276)!=e[n(234)]&&e[n(261)]()&&!r[n(166)](e[n(234)])&&t[n(173)](e);for(const e of r){let r=i[n(265)][n(241)][n(284)](e);r&&r[n(261)]()||(r=t[n(194)](e));const s=a[e],c=Object[n(177)](s),u=o[e];for(const e of r[n(268)]())c[n(166)](e)||t[n(157)](e,r);for(const i of c)t[n(192)](i,a[e][i],r);t[n(222)](t[n(226)](r)),t[n(271)](i[n(282)][n(225)](u,r),r,0)}}));const u=Qi(i[e(189)],e(172));return c=s[e(201)]?-1==s[e(201)][e(196)](u)?u+": "+s[e(201)]:s[e(201)]:u+": "+s[e(211)][e(237)](i[e(189)][e(263)],{month:e(180),day:e(285)})+", "+s[e(211)][e(246)](i[e(189)][e(263)],{hour:e(285),minute:e(285)}),await r[e(155)]({name:c}),n[e(286)]=!0,i[e(275)][e(162)](e(220))[e(182)]()}}function ml(){var t=["10NItrPw","332AhIhat","1335720jwrWgO","89147ZlGQCS","6VAfJwf","5185090bgERPD","23191CJYQbv","49515VDnXlt","7683021PtEzGf","88pfNiIs","70842278ZfuuNc","152QHJhFj","10xtXbpH"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=218]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(789642===-parseInt(e(220))/1*(parseInt(e(229))/2)+-parseInt(e(224))/3*(parseInt(e(218))/4)+-parseInt(e(222))/5*(parseInt(e(221))/6)+-parseInt(e(223))/7*(parseInt(e(228))/8)+-parseInt(e(225))/9*(parseInt(e(230))/10)+parseInt(e(226))/11*(-parseInt(e(219))/12)+parseInt(e(227))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var t={528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},168:t=>{"use strict";t.exports=function(t){return t[1]}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[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=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(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,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(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")},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(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>$i,RevisionHistory:()=>dl,RevisionHistoryUI:()=>er,RevisionTracker:()=>On,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>zr,RevisionsRepository:()=>Ki,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const V=k["__core-js_shared__"];var E,D=(E=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var L=/^\[object .+?Constructor\]$/,z=Function.prototype,P=Object.prototype,W=z.toString,U=P.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const H=function(t){return!(!R(t)||C(t))&&(M(t)?Z:L).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return H(i)?i:void 0};const B=q(k,"Map");const Y=q(Object,"create");const J=function(){this.__data__=Y?Y(null):{},this.size=0};const G=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var X=Object.prototype.hasOwnProperty;const K=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return X.call(e,t)?e[t]:void 0};var Q=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:Q.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=J,it.prototype.delete=G,it.prototype.get=K,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Vt=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Et=Vt&&Vt.exports===Mt?k.Buffer:void 0;const Dt=(Et?Et.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Lt={};Lt["[object Float32Array]"]=Lt["[object Float64Array]"]=Lt["[object Int8Array]"]=Lt["[object Int16Array]"]=Lt["[object Int32Array]"]=Lt["[object Uint8Array]"]=Lt["[object Uint8ClampedArray]"]=Lt["[object Uint16Array]"]=Lt["[object Uint32Array]"]=!0,Lt["[object Arguments]"]=Lt["[object Array]"]=Lt["[object ArrayBuffer]"]=Lt["[object Boolean]"]=Lt["[object DataView]"]=Lt["[object Date]"]=Lt["[object Error]"]=Lt["[object Function]"]=Lt["[object Map]"]=Lt["[object Number]"]=Lt["[object Object]"]=Lt["[object RegExp]"]=Lt["[object Set]"]=Lt["[object String]"]=Lt["[object WeakMap]"]=!1;const zt=function(t){return It(t)&&Ft(t.length)&&!!Lt[A(t)]};const Pt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const Ht=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var $t=Ht&&Ht.isTypedArray;const qt=$t?Pt($t):zt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const Xt=function(t,e){return function(i){return t(e(i))}};const Kt=Xt(Object.keys,Object);var Qt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Kt(t);var e=[];for(var i in Object(t))Qt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!M(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Gt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Xt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ve="[object Map]",Ee="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Le=F(B),ze=F(Ae),Pe=F(Re),We=F(Me),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ve||Ae&&Ue(Ae.resolve())!=Ee||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=Ce)&&(Ue=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Le:return Ve;case ze:return Ee;case Pe:return De;case We:return Ce}return e});const Ze=Ue;var He=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Je=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Je.exec(t));return e.lastIndex=t.lastIndex,e};var Xe=b?b.prototype:void 0,Ke=Xe?Xe.valueOf:void 0;const Qe=function(t){return Ke?Object(Ke.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Ye(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Ge(t);case"[object Symbol]":return Qe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ze(t)};var oi=Ht&&Ht.isMap;const ai=oi?Pt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=Ht&&Ht.isSet;const li=ui?Pt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=Ze(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const Vi=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Ei=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Vi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Ei(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Vi(e,t)).length;null!=t&&i<n;)t=t[Ei(e[i++])];return i&&i==n?t:void 0};const Li=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const zi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const Pi=function(t,e){return e=Vi(e,t),null==(t=zi(t,e))||delete t[Ei(ji(e))]};const Wi=function(t,e){return null==t||Pi(t,e)},Ui=Zi;function Zi(t,e){const i=Hi();return(Zi=function(t,e){return i[t-=345]})(t,e)}function Hi(){const t=["827911Nndbwi","removeAttribute","createdAt","13617iNqtkF","diffData","setAttribute","2096kUTTmT","setName","creatorId","toVersion","fromVersion","524DxvapX","authors","_update","authorsIds","15217440yLEJZx","map","5095HwIUhL","5199qpRlgo","attributes","creator","name","140UptUIG","fire","597732idteug","set","toJSON","2304885BzPMWK"];return(Hi=function(){return t})()}!function(t){const e=Zi,i=t();for(;;)try{if(298583===parseInt(e(365))/1*(-parseInt(e(370))/2)+parseInt(e(366))/3*(-parseInt(e(359))/4)+-parseInt(e(347))/5+parseInt(e(372))/6+parseInt(e(348))/7+parseInt(e(354))/8*(-parseInt(e(351))/9)+parseInt(e(363))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(368)]=e[i(368)]||null,this[i(360)]=e[i(360)]||[],this[i(352)]=e[i(352)]||null,this[i(357)]=e[i(357)]||0,this[i(358)]=e[i(358)]||0,this[i(345)](i(369),e[i(369)]||""),this[i(345)](i(350),e[i(350)]||new Date),this[i(345)](i(367),e[i(367)]||{})}[Ui(355)](t){this[Ui(361)]({name:t})}[Ui(353)](t,e){const i=Ui,n=vi(this[i(367)]);Ci(n,t,e),this[i(361)]({attributes:n})}[Ui(349)](t){const e=Ui,i=vi(this[e(367)]);Wi(i,t),this[e(361)]({attributes:i})}[Ui(361)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(369),i(350),i(352),i(360),i(367),i(357),i(358),i(356)];for(const e of s){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,r[e]=i,n=!0)}n&&(r[i(360)]&&(r[i(362)]=r[i(360)][i(364)]((t=>t.id)),delete r[i(360)]),this[i(371)](i(361),r,e))}[Ui(346)](){const t=Ui;return{id:this.id,name:this[t(369)],creatorId:this[t(368)]?this[t(368)].id:null,authorsIds:this[t(360)][t(364)]((t=>t.id)),diffData:this[t(352)],createdAt:this[t(350)],attributes:this[t(367)],fromVersion:this[t(358)],toVersion:this[t(357)]}}}var qi=i(782),Bi=i(211),Yi=i(783);const Ji=Gi;function Gi(t,e){const i=Xi();return(Gi=function(t,e){return i[t-=356]})(t,e)}function Xi(){const t=["plugins","getRevisions","reverse","get","creatorId","3438404XIQRQs","editor","getRevisionsIterator","getIndex","from","earlier","7949560RIYoZs","addRevision","push","join","2103878JmtAfT","href","length","authorsIds","279JktrXf","pluginName","newRevisionId","isOfficialPlugin","isNaN","getRevision","fromVersion","RevisionsRepository","createRevision","attributes","5499770qcuMQZ","afterInit","653457tWDxHv","6Vqcsky","3MvxuHP","835220XANylQ","oldRevisionId","Users","later","add","getEarlierVisibleRevision","createdAt","getUser","_revisions","82070tcHxuk","getLaterVisibleRevision","diffData","data","toVersion","map","getRevisionsInDiff","isPremiumPlugin","fromCharCode","name","requires","toJSON"];return(Xi=function(){return t})()}!function(t){const e=Gi,i=t();for(;;)try{if(630978===parseInt(e(362))/1+parseInt(e(374))/2+-parseInt(e(364))/3*(parseInt(e(391))/4)+parseInt(e(360))/5*(-parseInt(e(363))/6)+parseInt(e(401))/7+-parseInt(e(397))/8+parseInt(e(405))/9*(parseInt(e(365))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xi);class Ki extends qi.Plugin{static get[Ji(384)](){return[Bi.Users]}static get[Ji(406)](){return Ji(357)}static get[Ji(408)](){return!0}static get[Ji(381)](){return!0}get[Ji(403)](){const t=Ji;return this[t(373)][t(403)]}constructor(e){const i=Ji;super(e),this[i(373)]=new t.Collection}[Ji(361)](){!async function(e){const i=k([67,102,84,73,69,121,97,81,85,112,75,82,88,101,53,100,106,77,76,83,122,87,118,108,113,71,104,65,51,117,109,52,70,105,90,50,86,78,72,114,116,55,120,79,66,111,54,80,49,119,56,110,57,48,89,115,74,98,99,68,103,107]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=s[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Gi;for(const e in window)if(window[k([78,117,109,98,101,114])][i(409)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([67]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,n])=>{i(e),t(n)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Gi;return t[e(379)]((t=>String[e(382)](t)))[e(400)]("")}!function(t){const i=l();s[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=y(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(n())return c(k([86,97,108,105,100]));a(),s[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const n=36e5;function s(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](r/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function n(){return s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[r,s,o]=n;return e(r),await i(r,s,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const r=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,r,s)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&y(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?r/1e3:1738627200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Gi,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(402)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Ji(358)](t){const e=Ji,i=this[e(392)][e(386)][e(389)](e(367));return new $i({id:t.id,name:t[e(383)],creator:t[e(390)]?i[e(372)](t[e(390)]):null,diffData:t[e(376)]||t[e(377)],authors:t[e(404)][e(379)]((t=>i[e(372)](t))),createdAt:new Date(t[e(371)]),attributes:t[e(359)],fromVersion:t[e(356)],toVersion:t[e(378)]})}[Ji(398)](t,e=0){const i=Ji;this[i(373)][i(369)](t,e)}[Ji(410)](t){const e=Ji;return this[e(373)][e(389)](t)}[Ji(387)](t={toJSON:!1}){const e=Ji,i=Array[e(395)](this[e(373)]);return i[e(388)](),t[e(385)]?i[e(379)]((t=>t[e(385)]())):i}[Ji(394)](t){const e=Ji;return this[e(373)][e(394)](t)}[Ji(370)](t){const e=Ji,[,i]=this[e(393)](t,{direction:e(396)});return i}[Ji(375)](t){const e=Ji,[,i]=this[e(393)](t,{direction:e(368)});return i}[Ji(380)](t){const e=Ji,i=[];for(const n of this[e(393)](t[e(407)]))if(i[e(399)](n),n.id===t[e(366)])break;return i}*[Ji(393)](t,{direction:e=Ji(396),filter:i=()=>!0}={}){const n=Ji,r=n(396)===e?1:-1;let s=this[n(373)][n(389)](t),o=this[n(394)](s);for(yield s;s;){if(o+=r,s=this[n(410)](o),!s)return;i(s)&&(yield s)}}}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn:Ze(t),u=a?vn:Ze(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=In;function In(t,e){const i=Rn();return(In=function(t,e){return i[t-=367]})(t,e)}!function(t){const e=In,i=t();for(;;)try{if(306373===parseInt(e(378))/1+-parseInt(e(595))/2*(-parseInt(e(634))/3)+parseInt(e(571))/4*(-parseInt(e(486))/5)+-parseInt(e(424))/6+-parseInt(e(537))/7*(parseInt(e(449))/8)+parseInt(e(434))/9+parseInt(e(598))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rn);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class On extends qi.Plugin{static get[_n(436)](){return _n(565)}static get[_n(437)](){return!0}static get[_n(531)](){return!0}static get[_n(398)](){return[Bi.Users,Ki,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(573)]=null,this[i(558)]=null,this[i(653)]=new Tn(this[i(543)]),this[i(404)]=this[i(543)][i(652)][i(541)](i(383))||i(630),this[i(539)]=new Map,this[i(578)]=null;const n=(0,t.uid)();this[i(382)]={history:this[i(543)][i(560)][i(632)][i(590)],getLatestVersion:()=>Promise[i(618)](this[i(543)][i(560)][i(632)][i(675)]),getCurrentRevisionId:()=>n},this[i(544)](i(410),!1),this[i(544)](i(665),!0),this[i(544)](i(536),!1),this[i(543)][i(652)][i(529)](i(685),!0),this[i(543)][i(377)][i(534)](i(580))[i(402)]({view:i(643)})}[_n(546)](){const t=_n;this[t(443)]=this[t(543)][t(575)][t(541)](t(429)),this[t(644)](),this[t(543)][t(401)].on(t(626),(()=>{const e=t,i=this[e(443)][e(633)](0),n=i&&null===i[e(381)]?i:null;if(this[e(556)]=!!n&&this[e(543)][e(652)][e(541)](e(685)),this[e(543)][e(575)][e(599)](e(639))){const t=this[e(382)][e(512)](),r=this[e(443)][e(633)](t);if(r)this[e(631)]=r[e(473)],this[e(556)]=!1;else{const t=this[e(382)][e(590)][e(582)][e(374)]((t=>!t[e(617)])),r=t?t[e(444)]:this[e(382)][e(590)][e(675)];i?(i[e(400)]<r&&i[e(629)]({toVersion:r}),this[e(556)]?(this[e(382)][e(512)]=()=>n.id,this[e(631)]=n[e(473)]):(this[e(631)]=i[e(400)],this[e(556)]=!1)):(this[e(631)]=r,this[e(556)]=!1)}}else n&&(this[e(543)][e(560)][e(632)][e(590)][e(675)]=Math[e(494)](n[e(400)],this[e(543)][e(560)][e(632)][e(590)][e(675)]),n[e(473)]===n[e(400)]?(0!==n[e(473)]&&(this[e(382)][e(512)]=()=>n.id),this[e(556)]=!1):this[e(556)]&&(this[e(382)][e(512)]=()=>n.id,this[e(631)]=n[e(473)])),this[e(556)]||(this[e(631)]=this[e(543)][e(560)][e(632)][e(675)]);this[e(653)][e(546)](this[e(382)][e(590)]),this[e(517)](this[e(631)]),this[e(446)](this[e(631)]),this[e(573)]&&this[e(594)]()})),this[t(474)](t(410)).to(this,t(536),(t=>!t)),this[t(656)]=this[t(543)][t(652)][t(541)](t(656));const e=this[t(543)];this[t(412)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(658)==s||i(521)==s||i(669)==s||i(679)==s||i(454)==s||i(472)==s||i(609)==s||i(540)==s){delete e[r],n=s,clearInterval(this[i(412)]),this[i(412)]=void 0;break}}i(521)==n&&e[i(380)](i(461)),i(669)==n&&e[i(380)](i(411)),i(679)==n&&e[i(380)](i(427)),i(454)==n&&e[i(380)](i(600),i(508)),i(472)==n&&e[i(380)](i(628)),i(609)==n&&e[i(380)](i(674)),i(540)==n&&e[i(380)](i(564))}),1e3)}async[_n(498)](){const t=_n;if(this[t(443)][t(664)]>0){const e=this[t(443)][t(633)](0),i=await this[t(514)](e),n=await this[t(516)](e);this[t(663)](i,n)}}[_n(501)](){const t=_n;super[t(501)](),this[t(412)]&&clearInterval(this[t(412)])}[_n(518)](t){this[_n(382)]=t}async[_n(525)](){const t=_n,e=await this[t(382)][t(426)]();if(e>this[t(558)][t(400)]){await this[t(610)]();const i=this[t(654)]({revision:this[t(558)],to:e});i[t(417)]=i[t(645)][t(466)]((e=>this[t(543)][t(575)][t(541)](t(567))[t(490)](e))),this[t(558)][t(629)](i)}}async[_n(610)](){const t=_n;this[t(556)]&&!this[t(578)]&&(await this[t(528)](this[t(558)]),this[t(653)][t(666)](this[t(558)]),this[t(578)]={fromVersion:this[t(558)][t(473)],authors:this[t(558)][t(417)][t(620)]()})}async[_n(612)](e={},i=null){const n=_n,r=[];await this[n(610)](),this[n(556)]=!1,i>this[n(558)][n(400)]&&(i=null),null===i&&(i=await this[n(382)][n(426)]());const s=this[n(419)](i),o=this[n(654)]({from:s,to:i});if(this[n(558)][n(400)]<i){const t=this[n(654)]({revision:this[n(558)],from:i,to:i});t[n(417)]=[],t[n(645)]=[],t.id=this[n(558)].id,this[n(558)][n(629)](t,!0),delete t[n(417)],r[n(368)](t)}e[n(480)]=this[n(543)][n(575)][n(541)](n(567)).me.id,e[n(603)]=e[n(603)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(561)](e);r[n(368)](e);const c=this[n(443)][n(616)](a);if(0!==c){const t=this[n(443)][n(633)](c-1);if(t[n(473)]!==i){const s=this[n(653)][n(593)](i,t[n(400)]),o={id:t.id,diffData:s[n(391)],authorsIds:s[n(645)],authors:s[n(645)][n(466)]((t=>this[n(543)][n(575)][n(541)](n(567))[n(490)](t))),fromVersion:i};t===this[n(558)]&&(o[n(451)]=new Date(e[n(451)][n(500)]()+10)),t[n(629)](o,!0),delete o[n(417)],r[n(368)](o)}}if(this[n(573)]){for(const t of r)this[n(547)](t.id,t,!0);this[n(594)]()}return a}[_n(561)](t){const e=_n,i=this[e(443)][e(468)](t);return this[e(573)]&&i.on(e(629),((t,i,n)=>{const r=e;n||(this[r(547)](i.id,i,!0),this[r(594)]())})),this[e(443)][e(681)](i,this[e(636)](i)),i}async[_n(514)](t){const e=_n;await this[e(528)](t);const i={};for(const n in t[e(391)]){if(t[e(391)][n][e(455)]&&!t[e(391)][n][e(455)][e(601)])continue;const r=this[e(647)](JSON[e(453)](t[e(391)][n][e(659)])),s=this[e(543)][e(684)][e(385)][e(632)],o=new Yi.ViewDocumentFragment(s,r[e(466)]((t=>xn(t,this[e(543)]))));this[e(543)][e(401)][e(660)][e(441)](e(405)),i[n]=this[e(543)][e(401)][e(660)][e(463)](o),this[e(543)][e(401)][e(660)][e(441)](e(602))}return i}async[_n(516)](t){const e=_n;await this[e(528)](t);const i={};for(const n in t[e(391)])t[e(391)][n][e(455)]&&!t[e(391)][n][e(455)][e(601)]||(i[n]=t[e(391)][n][e(585)]||{});return i}[_n(594)](){const t=_n;if(0===this[t(539)][t(676)])return;if(this[t(536)])return;let e=Array[t(533)](this[t(539)][t(530)]());this[t(539)][t(507)]();for(let i=0;i<e[t(664)];i++){const n=e[i];let r=!1;for(const e of Object[t(423)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(668)]((t=>null!==t)),!e[t(664)])return;for(let i=0;i<e[t(664)];i++){const n=e[i];void 0!==n[t(473)]&&void 0===n[t(400)]&&(n[t(400)]=this[t(443)][t(633)](n.id)[t(400)]),void 0!==n[t(400)]&&void 0===n[t(473)]&&(n[t(473)]=this[t(443)][t(633)](n.id)[t(473)])}const i=this[t(543)][t(652)][t(541)](t(383));this[t(536)]=!0,this[t(439)](),this[t(573)][t(481)](e,i)[t(452)]((()=>{this[t(536)]=!1}))[t(387)]((e=>{const i=t;if(e)for(const t of e)this[i(373)]({id:t.id,createdAt:t[i(451)]});this[i(596)](),this[i(594)]()}))}[_n(663)](e,i){const n=_n;let r=this[n(543)][n(652)][n(541)](n(672)),s=this[n(543)][n(652)][n(541)](n(505));if(void 0===r){r={};for(const t of this[n(543)][n(560)][n(632)][n(430)]())r[t]=""}if(n(535)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(543)][n(560)][n(632)][n(430)]())s[t]={}}let o=!1;const a=Object[n(423)](r),c=Object[n(423)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(499)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(423)](s[t])[n(664)]>0){o=!0;break}}o||(o=c[n(478)]((t=>!this[n(543)][n(560)][n(632)][n(545)](t)))),o&&(0,t.logWarning)(n(673),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(543)][n(652)][n(544)](n(672),e),this[n(543)][n(652)][n(544)](n(505),i)}[_n(439)](){const t=_n;if(!this[t(515)]){const e=this[t(543)][t(575)][t(541)](t(557));this[t(515)]=e[t(496)](Qi(this[t(543)][t(431)],t(581)))}}[_n(596)](){const t=_n;this[t(515)]&&(this[t(543)][t(575)][t(541)](t(557))[t(395)](this[t(515)]),this[t(515)]=null)}[_n(636)](t){const e=_n,i=this[e(443)][e(587)]();i[e(604)]();let n=0;for(;n<i[e(664)];){const r=i[n];if(r===this[e(558)]){n++;continue}if(r.id===this[e(404)])break;const s=t[e(400)]-r[e(400)]||t[e(473)]-r[e(473)];if(s>0)break;if(s<0)n++;else{if(!t[e(381)]&&r[e(381)])break;if(r[e(381)]||!t[e(381)]){if(t[e(451)]>r[e(451)])break;n++}else n++}}return n}[_n(373)](t){const e=_n,i=this[e(443)][e(633)](t.id);if(t[e(451)]&&(t[e(451)]=new Date(t[e(451)])),t[e(645)]){const i=this[e(543)][e(575)][e(541)](e(567));t[e(417)]=t[e(645)][e(466)]((t=>i[e(490)](t)))}i[e(629)](t,!0)}[_n(654)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(473)],i=null!==i?i:t[n(400)];const r=this[n(653)][n(593)](e,i),s={diffData:r[n(391)],authorsIds:r[n(645)],fromVersion:e,toVersion:i};if(!t||i!==t[n(400)]){const t=i-1,e=this[n(382)][n(590)][n(562)](t);s[n(451)]=e&&e[n(451)]||new Date}if(this[n(578)]&&e===this[n(578)][n(473)])for(const t of this[n(578)][n(417)])s[n(645)][n(638)](t.id)||s[n(645)][n(368)](t.id);return s}[_n(528)](t){const e=_n;if(!t||t[e(391)])return Promise[e(618)]();{const i=this[e(543)][e(652)][e(541)](e(383));return this[e(573)][e(633)]({channelId:i,revisionId:t.id})[e(387)]((i=>{const n=e;t[n(391)]=i[n(391)]}))}}[_n(547)](t,e,i){const n=_n;if(this[n(539)][n(599)](t)){const r=this[n(539)][n(541)](t);e=i?{...r,...e}:{...e,...r}}this[n(539)][n(544)](t,e)}[_n(419)](t){const e=_n,i=this[e(443)][e(587)]();i[e(604)](),i[e(497)]();const n=i[e(374)]((i=>i[e(400)]<=t))[e(400)];return n<this[e(631)]?this[e(631)]:n}[_n(517)](t){const e=_n,i=this[e(443)][e(633)](this[e(443)][e(664)]-1);if(i)this[e(404)]=i.id;else{const i=!this[e(543)][e(560)][e(632)][e(613)][e(374)]((t=>this[e(543)][e(560)][e(662)](t))),n=this[e(543)][e(575)][e(541)](e(567)).me.id,r=Qi(this[e(543)][e(431)],e(i?511:553));this[e(568)]({from:t,to:t,id:this[e(404)],name:r,creatorId:n})}}[_n(446)](t){const e=_n,i=this[e(382)][e(512)]();this[e(558)]=this[e(443)][e(633)](i),this[e(558)]||(this[e(558)]=this[e(568)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(568)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(654)]({from:e,to:i});o[s(603)]=t,o[s(480)]=n,o.id=r;const a=this[s(561)](o);return this[s(573)]&&this[s(547)](o.id,o,!0),a}[_n(644)](){const t=_n;this[t(543)][t(377)][t(534)](t(509))[t(394)]({model:t(643)})}[_n(647)](t){const e=_n;return(t=t[e(668)]((t=>!t[e(603)]||e(460)!==t[e(603)]&&e(538)!==t[e(603)])))[e(667)]((t=>{const i=e;i(535)!=typeof t&&(t[i(475)]=this[i(647)](t[i(475)]),t[i(413)]=t[i(413)][i(668)]((t=>!t[0][i(457)](i(495)))))})),t}}function xn(t,e){const i=_n,n=e[i(684)][i(385)][i(632)];if(i(535)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(475)][i(466)]((t=>xn(t,e)));return new(Sn[t[i(625)]]||Yi.ViewElement)(n,t[i(603)],t[i(413)],r)}}class Tn{constructor(t){const e=_n;this[e(543)]=t,this[e(396)]=new Map,this[e(583)]=-1,this[e(367)]=-1,this[e(489)]=new Map,this[e(542)]=new Map,this[e(448)]=new Map,this[e(506)]=new Map,this[e(406)]=new Map,this[e(655)]=new Map,this[e(682)]=new Map,this[e(677)]=new Map,this[e(527)]=new Map,this[e(389)]=new Map,this[e(588)]=1}[_n(546)](t){const e=_n;this[e(384)]=t;const i=new Map,n=new Map,r=this[e(543)][e(560)][e(632)][e(613)][e(466)]((t=>t[e(661)]));for(const t of r){const r=this[e(543)][e(560)][e(632)][e(545)](t),s=Nn(r);i[e(544)](t,s),n[e(544)](t,Object[e(370)](r[e(487)]()))}const s=Array[e(533)](this[e(543)][e(560)][e(522)])[e(466)]((t=>[t[e(603)],t[e(680)]()])),o=this[e(384)][e(675)];this[e(408)](o,i,s,n),this[e(607)]=this[e(588)];const a=new Map,c=new Map;for(const t of r){const i=An(t);a[e(544)](t,i),c[e(544)](t,{})}this[e(408)](Number[e(418)],a,[],c)}[_n(593)](t,e){const i=_n;if(this[i(583)]===t&&this[i(367)]<=e)this[i(396)][i(676)]>1&&this[i(435)](this[i(367)]),this[i(657)](this[i(367)],e,!0);else{if(!this[i(396)][i(599)](t)){const e=this[i(683)](t);this[i(414)](e,t,!1)}this[i(414)](t,e,!0)}return this[i(583)]=t,this[i(367)]=e,this[i(465)]()}[_n(666)](t){const e=_n;this[e(488)](),this[e(583)]=t[e(473)],this[e(367)]=t[e(400)];for(const i in t[e(391)]){const n=t[e(391)][i][e(455)],r=vi(t[e(391)][i][e(372)])||{},s=this[e(502)](t[e(391)][i][e(469)]);s[e(661)]=i,s[e(642)]=!n||!n[e(601)],s[e(601)]=()=>s[e(642)],this[e(506)][e(544)](i,s),this[e(406)][e(544)](i,r),n&&this[e(389)][e(544)](i,n);const o=this[e(520)](s);this[e(682)][e(544)](i,o);for(const[t,i]of s[e(522)]){if(!t[e(457)](e(445)))continue;const n=t[e(619)](":")[2];for(const t of i[e(371)]({singleCharacters:!0})){const i=this[e(403)](t),r=e(470)==t[e(625)]?t[e(459)][e(397)][e(620)](0,-1):t[e(459)][e(397)],s=o[e(640)](r)[e(432)](i);this[e(677)][e(544)](s,{userId:n})}}}this[e(607)]=this[e(588)];const i=[...Array(this[e(588)])[e(423)]()][e(620)](1)[e(668)]((t=>!this[e(677)][e(599)](t)));let n=0;const r=new Map;for(const s in t[e(391)]){const o=t[e(391)][s][e(455)],a=vi(t[e(391)][s][e(585)])||{},c=this[e(502)](t[e(391)][s][e(659)]);c[e(661)]=s,c[e(642)]=!o||o[e(601)],c[e(601)]=()=>c[e(642)],this[e(542)][e(544)](s,c),this[e(448)][e(544)](s,a);const u=this[e(520)](c,Number[e(418)]);this[e(655)][e(544)](s,u),r[e(544)](s,c[e(601)]()?a:{});for(const[t,i]of c[e(522)]){if(!t[e(457)](e(445)))continue;const n=t[e(619)](":")[2];for(const t of i[e(371)]({singleCharacters:!0})){const i=this[e(403)](t),r=this[e(588)]++,s=e(470)==t[e(625)]?t[e(459)][e(397)][e(620)](0,-1):t[e(459)][e(397)];u[e(640)](s)[e(549)](i,r),this[e(677)][e(544)](r,{userId:n})}}for(const t of this[e(543)][e(560)][e(570)](c)[e(371)]({singleCharacters:!0})){const r=this[e(403)](t),s=e(470)==t[e(625)]?t[e(459)][e(397)][e(620)](0,-1):t[e(459)][e(397)],o=u[e(640)](s);o[e(432)](r)>0||o[e(549)](r,i[n++])}for(const[t,i]of c[e(522)])t[e(457)](e(445))||this[e(489)][e(544)](t,i)}const s=An(e(485));this[e(506)][e(544)](e(485),s),this[e(682)][e(544)](e(485),this[e(520)](s,1));const o=An(e(485));this[e(542)][e(544)](e(485),o),this[e(655)][e(544)](e(485),this[e(520)](o,1));const a=Array[e(533)](this[e(542)])[e(466)]((([t,e])=>[t,Nn(e)]));this[e(408)](this[e(367)],a,this[e(489)],r)}[_n(502)](t){const e=_n,i=JSON[e(453)](t),n=this[e(543)][e(684)][e(385)][e(632)],r=new Yi.ViewDocumentFragment(n,i[e(466)]((t=>xn(t,this[e(543)]))));return this[e(543)][e(401)][e(450)](r)}[_n(408)](t,e,i,n){const r=_n,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(544)](t,{start:e[r(614)][r(563)](),end:e[r(513)][r(563)](),rootName:e[r(624)][r(661)]});this[r(396)][r(544)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(435)](t){const e=_n;this[e(396)][e(554)](t)}[_n(608)](){const t=_n;this[t(488)](),this[t(583)]=-1,this[t(367)]=-1,this[t(396)][t(507)](),this[t(546)](this[t(384)])}[_n(488)](){const t=_n;this[t(677)][t(507)](),this[t(527)][t(507)](),this[t(389)][t(507)](),this[t(542)][t(507)](),this[t(448)][t(507)](),this[t(506)][t(507)](),this[t(406)][t(507)](),this[t(655)][t(507)](),this[t(682)][t(507)](),this[t(489)][t(507)](),this[t(588)]=1,this[t(607)]=this[t(588)]}[_n(520)](t,e=null){const i=_n;let n=null;t.is(i(491))||(n=new Yi.Element(t[i(603)],{vid_start:null===e?this[i(588)]++:e++}));const r=[];for(const n of t[i(369)]())if(n.is(i(627))){r[i(368)](this[i(520)](n,e));const t=r[r[i(664)]-1];null!==e&&(e=t.is(i(627),i(471))?t[i(432)](i(532))+1:t[i(432)](i(479))+1)}else for(let t=0;t<n[i(390)];t++)r[i(368)](new Yi.Element(i(471),{vid:null===e?this[i(588)]++:e++}));if(t.is(i(491))){const e=An(t[i(661)]);return e[i(548)](0,r),e}return n[i(549)](i(479),null===e?this[i(588)]++:e++),n[i(548)](0,r),n}[_n(414)](t,e,i){const n=_n;this[n(488)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(396)][n(541)](t);this[n(506)]=new Map(r),this[n(406)]=new Map(vi(o));for(const[t,e]of this[n(506)])if(n(485)!==t&&(this[n(542)][n(544)](t,Nn(e)),this[n(448)]=new Map(vi(o)),i)){const i=this[n(588)];this[n(655)][n(544)](t,this[n(520)](e)),this[n(682)][n(544)](t,this[n(520)](e,i))}this[n(607)]=this[n(588)],this[n(542)][n(544)](n(485),Nn(this[n(506)][n(541)](n(485)))),i&&this[n(655)][n(544)](n(485),this[n(520)](this[n(506)][n(541)](n(485))));for(const[t,e]of s){const i=this[n(506)][n(541)](e[n(661)]),r=this[n(542)][n(541)](e[n(661)]),s=new Yi.Range(this[n(550)](e[n(614)],i),this[n(550)](e[n(513)],i)),o=this[n(637)](s,r);i[n(522)][n(544)](t,s),this[n(489)][n(544)](t,o)}this[n(657)](t,e,i)}[_n(657)](t,e,i){const n=_n;for(const r of this[n(384)][n(523)](t,e))this[n(622)](r,i);for(const t of this[n(542)][n(530)]())t[n(522)][n(507)]();for(const[t,e]of this[n(489)])this[n(542)][n(541)](e[n(624)][n(661)])[n(522)][n(544)](t,e[n(563)]());const r=new Map,s=new Map;for(const[t,e]of this[n(542)])r[n(544)](t,Nn(e)),s[n(544)](t,this[n(448)][n(541)](t));this[n(408)](e,r,this[n(489)],s)}[_n(683)](t){const e=_n,i=Array[e(533)](this[e(396)][e(423)]());i[e(555)](((t,e)=>t-e)),i[e(604)]();for(const e of i)if(e<t)return e;return Number[e(418)]}[_n(641)](t,e){const i=_n,n=Array[i(533)](e[i(522)])[i(466)]((([e,n])=>[e,this[i(637)](n,t)]));t[i(522)]=new Map(n)}[_n(584)](t){const e=_n;for(const i of this[e(489)][e(530)]()){const n=i[e(670)](t),r=Yi.Range[e(589)](n);i[e(614)]=r[e(614)],i[e(513)]=r[e(513)]}}[_n(622)](t,e){const i=_n;if(i(456)!=t[i(625)]&&i(477)!=t[i(625)]){if(i(572)==t[i(625)]){const n=t[i(376)][i(624)][i(661)];this[i(542)][i(599)](n)||(this[i(542)][i(544)](n,An(n,!0)),this[i(448)][i(544)](n,{}),e&&this[i(655)][i(544)](n,An(n,!0)))}else{if(i(559)==t[i(625)]||i(464)==t[i(625)]||i(440)==t[i(625)])return void this[i(649)](t);i(687)==t[i(625)]&&this[i(623)](t)}if(i(687)!==t[i(625)]){const e=this[i(416)](t,this[i(542)]);e[i(579)](),this[i(584)](e)}if(e)switch(t[i(625)]){case i(572):this[i(493)](t);break;case i(504):case i(395):case i(409):this[i(415)](t);break;case i(428):this[i(597)](t);break;case i(619):this[i(399)](t)}}else this[i(467)](t,e)}[_n(416)](t,e){const i=_n,n=t[i(563)]();return n[i(606)]=t[i(606)],this[i(438)](n,e),n}[_n(510)](t){const e=_n;return t[e(466)]((t=>{const i=e,n=this[i(403)](t);return Number(t[i(551)][i(432)](n))}))}[_n(526)](t,e){const i=_n;if(t.is(i(627),i(471)))e[i(368)]({item:t,type:i(635)});else{t.is(i(627))&&e[i(368)]({item:t,type:i(591)});for(const n of t[i(369)]())this[i(526)](n,e);t.is(i(627))&&e[i(368)]({item:t,type:i(470)})}return e}[_n(465)](){const t=_n,e=new Map(this[t(677)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(506)][t(423)](),...this[t(542)][t(423)]()]);a[t(554)](t(485));for(const e of a){const i=this[t(542)][t(541)](e)||An(e,!1),n=this[t(506)][t(541)](e)||An(e,!1);i[t(601)]()||n[t(601)]()?(r[t(659)][e]=Nn(i),r[t(469)][e]=Nn(n),this[t(641)](r[t(469)][e],n),this[t(641)](r[t(659)][e],i),s[t(659)][e]=this[t(526)](this[t(655)][t(541)](e),[]),s[t(469)][e]=this[t(526)](this[t(682)][t(541)](e)||An(e,!1),[])):a[t(554)](e)}for(const r of a){const o=s[t(659)][r];for(const r of o){const s=this[t(403)](r),o=r[t(551)][t(432)](s);i[t(554)](o),o>=this[t(607)]&&n[t(544)](o,e[t(541)](o))}}for(const r of a){const a=s[t(659)][r],c=this[t(510)](s[t(469)][r]);let u=0;for(const r of a){const s=this[t(403)](r),a=r[t(551)][t(432)](s);if(!n[t(599)](a)&&!o[t(599)](a))if(i[t(599)](a))u++;else{if(a!=c[u]){const n=e[t(541)](a)||e[t(541)](c[u]);for(;a!=c[u];)i[t(599)](c[u])||(o[t(544)](c[u],n),e[t(544)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(659)][e];for(const e of r){const r=this[t(403)](e),s=e[t(551)][t(432)](r);if(o[t(599)](s)){const e=o[t(541)](s);i[t(599)](s)||i[t(544)](s,{...e}),n[t(544)](s,{...e})}}}for(const e of i[t(423)]())e>=this[t(607)]&&i[t(554)](e);const c=new Map;for(const e of a){let r=s[t(659)][e];for(const e of r)if(e[t(551)].is(t(627),t(458))){const i=this[t(403)](e),r=e[t(551)][t(432)](i);if(n[t(599)](r)){const i=e[t(551)][t(621)][t(621)][t(432)](t(678)),s=c[t(541)](i)||new Set;s[t(496)](n[t(541)](r)[t(577)]),c[t(544)](i,s)}}r=s[t(469)][e];for(const e of r)if(e[t(551)].is(t(627),t(458))){const n=this[t(403)](e),r=e[t(551)][t(432)](n);if(i[t(599)](r)){const n=e[t(551)][t(621)][t(621)][t(432)](t(678)),s=c[t(541)](n)||new Set;s[t(496)](i[t(541)](r)[t(577)]),c[t(544)](n,s)}}for(const e of c[t(423)]())(n[t(599)](e)||i[t(599)](e))&&c[t(554)](e)}for(const e of a){const r=s[t(659)][e];let o=null,a=null;for(const e of r){const r=this[t(403)](e),s=e[t(551)][t(432)](r),u=c[t(541)](s);u&&t(591)==e[t(625)]&&(o=Array[t(533)](u)[0],a=e[t(551)][t(432)](t(479))),o&&(i[t(544)](s,{userId:o}),n[t(544)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(469)][e],a=r[t(659)][e];for(const{userId:e}of this[t(527)][t(530)]())null!==e&&l[t(496)](e);for(const{userId:e}of this[t(389)][t(530)]())null!==e&&l[t(496)](e);this[t(503)](a,s[t(659)][e],n,t(566),l),this[t(503)](o,s[t(469)][e],i,t(462),l),u[e]={insertions:this[t(648)](a),deletions:this[t(648)](o),attachChange:this[t(389)][t(541)](e)||null,attributesBefore:vi(this[t(406)][t(541)](e))||{},attributesAfter:vi(this[t(448)][t(541)](e))}}return{diffData:u,authorsIds:Array[t(533)](l)}}[_n(420)](t){const e=_n;for(const[,i]of t[e(522)]){const t=i[e(614)][e(651)]()[e(668)]((t=>e(458)==t[e(603)]));for(const i of t)1==i[e(447)]&&i[e(386)](0).is(e(627),e(569))&&i[e(386)](0)[e(549)](e(524),!0)}}[_n(648)](t){const e=_n;this[e(420)](t);const i=this[e(543)][e(401)][e(586)](t,{}),n=Array[e(533)](i[e(369)]())[e(466)]((t=>this[e(393)](t)));return JSON[e(425)](n)}[_n(393)](t){const e=_n;if(t.is(e(471)))return t[e(401)];{const i=t;return{type:Object[e(423)](Sn)[e(374)]((e=>t instanceof Sn[e])),name:i[e(603)],attributes:Array[e(533)](i[e(487)]()),children:Array[e(533)](i[e(369)]())[e(466)]((t=>this[e(393)](t)))}}}[_n(503)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(543)][s(560)];for(let n=0;n<e[s(664)];n++){const r=this[s(403)](e[n]),c=e[n][s(551)][s(432)](r),h=i[s(541)](c),d=n==e[s(664)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(577)]!=o[s(577)])&&(l(h,Mn(a,t,u),Mn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Mn(a,t,u),Vn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(577)],d=l(445)+n+":"+h+":"+c++,f=u[l(482)](i,a);t[l(522)][l(544)](d,f),null!==h&&r[l(496)](h)}}[_n(403)](t){const e=_n;switch(t[e(625)]){case e(591):return e(678);case e(470):return e(479);default:return e(532)}}[_n(438)](t,e){const i=_n;t[i(444)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(541)](r[i(624)][i(661)]);t[n]=this[i(550)](r,s)}if(r instanceof Yi.Range){const s=e[i(541)](r[i(624)][i(661)]);t[n]=this[i(637)](r,s)}i(624)===n&&(t[i(624)]=e[i(541)](t[i(624)][i(661)]))}}[_n(637)](t,e){const i=_n;return this[i(543)][i(560)][i(482)](this[i(550)](t[i(614)],e),this[i(550)](t[i(513)],e))}[_n(550)](t,e){const i=_n;return this[i(543)][i(560)][i(375)](e,t[i(397)],t[i(407)])}[_n(493)](t){const e=_n,i=this[e(655)][e(541)](t[e(376)][e(624)][e(661)]),n=this[e(550)](t[e(376)],i),r=null===t[e(606)]?null:t[e(606)]||this[e(543)][e(575)][e(541)](e(567)).me.id,s=n[e(621)],o=this[e(588)],a=[];for(const i of t[e(686)])if(i.is(e(627)))a[e(368)](this[e(520)](i));else for(let t=0;t<i[e(390)];t++)a[e(368)](new Yi.Element(e(471),{vid:this[e(588)]++}));const c=this[e(588)];for(let t=o;t<c;t++)this[e(677)][e(544)](t,{userId:r});s[e(548)](n[e(379)],a)}[_n(415)](t){const e=_n;(t=this[e(416)](t,this[e(655)]))[e(579)]();const i=null===t[e(606)]?null:t[e(606)]||this[e(543)][e(575)][e(541)](e(567)).me.id,n=t[e(592)](),r=n[e(621)],s=n[e(379)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(386)](e);s.is(a(627),a(471))?n[a(544)](s[a(432)](a(532)),{userId:i}):(n[a(544)](s[a(432)](a(678)),{userId:i}),t(n,s,0,s[a(447)]),n[a(544)](s[a(432)](a(479)),{userId:i}))}}(this[e(677)],r,s,s+t[e(605)])}[_n(597)](t){const e=_n,i=null===(t=this[e(416)](t,this[e(655)]))[e(606)]?null:t[e(606)]||this[e(543)][e(575)][e(541)](e(567)).me.id,n=t[e(646)][e(621)],r=t[e(492)][e(621)],s=n[e(432)](e(479)),o=r[e(432)](e(678));n[e(549)](e(479),r[e(432)](e(479))),r[e(549)](e(479),s),this[e(677)][e(544)](o,{userId:i}),this[e(677)][e(544)](s,{userId:i}),t[e(579)]()}[_n(399)](t){const e=_n,i=null===(t=this[e(416)](t,this[e(655)]))[e(606)]?null:t[e(606)]||this[e(543)][e(575)][e(541)](e(567)).me.id,n=t[e(442)],r=t[e(476)][e(621)];t[e(579)]();const s=r[e(432)](e(479)),o=t[e(421)][e(615)];if(n){const t=o[e(432)](e(479)),n=r[e(432)](e(479));r[e(549)](e(479),t),o[e(549)](e(479),n),this[e(677)][e(544)](r[e(432)](e(479)),{userId:i}),this[e(677)][e(544)](o[e(432)](e(678)),{userId:i})}else{const t=this[e(588)]++,n=this[e(588)]++;r[e(549)](e(479),t),o[e(549)](e(678),n),o[e(549)](e(479),s),this[e(677)][e(544)](t,{userId:i}),this[e(677)][e(544)](n,{userId:i})}}[_n(623)](t){const e=_n;if(!t[e(392)])return;const i=(t=this[e(416)](t,this[e(542)]))[e(552)]?t[e(552)][e(624)]:null,n=t[e(433)]?t[e(433)][e(624)]:null;i&&this[e(489)][e(554)](t[e(603)]),n&&this[e(489)][e(544)](t[e(603)],t[e(433)][e(563)]());const r=null===t[e(606)]?null:t[e(606)]||this[e(543)][e(575)][e(541)](e(567)).me.id,s=t[e(603)];if(!this[e(527)][e(599)](s))return void this[e(527)][e(544)](s,{range:t[e(552)],userId:r});const o=this[e(527)][e(541)](s),a=o[e(671)],c=t[e(433)];null==a&&null==c||a&&c&&a[e(388)](c)?this[e(527)][e(554)](t[e(603)]):o[e(577)]=r}[_n(467)](t,e){const i=_n;this[i(542)][i(599)](t[i(661)])?this[i(542)][i(541)](t[i(661)])[i(642)]=t[i(484)]:(this[i(542)][i(544)](t[i(661)],An(t[i(661)],!0)),this[i(448)][i(544)](t[i(661)],{}),e&&this[i(655)][i(544)](t[i(661)],An(t[i(661)],!0)));const n=null===t[i(606)]?null:t[i(606)]||this[i(543)][i(575)][i(541)](i(567)).me.id,r=this[i(389)][i(541)](t[i(661)]);r&&r[i(577)]===n?this[i(389)][i(554)](t[i(661)]):this[i(389)][i(544)](t[i(661)],{userId:n,isAttached:t[i(484)]})}[_n(649)](t){const e=_n,i=this[e(448)][e(541)](t[e(624)][e(661)]);null===t[e(483)]?delete i[t[e(576)]]:i[t[e(576)]]=t[e(483)]}}function Nn(t){const e=_n,i=An(t[e(661)],t[e(601)]());for(const n of t[e(369)]()){const t=n[e(611)](!0);i[e(650)](t)}return i}function An(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(661)]=t,n[i(642)]=e,n[i(601)]=()=>n[i(642)],n}function Rn(){const t=["_fixRange","includes","RealTimeCollaborationClient","getNodeByPath","_copyMarkers","_isAttached","revision","_setConversion","authorsIds","targetPosition","_removeRevisionMarkers","_prepareViewToSave","_handleRootAttributeOperation","_appendChild","getAncestors","config","_revisionDataBuilder","buildRevisionData","_idsRoots","licenseKey","_applyOperations","revisionHistoryLicenseKeyValid","insertions","processor","rootName","hasContent","_replaceEditorDataWithRevisionData","length","isEnabled","loadState","forEach","filter","revisionHistoryLicenseKeyExpired","getTransformedByOperation","range","initialData","editor-initial-data-replaced-with-revision-data","trialLimit","version","size","_touched","vid_start","revisionHistoryLicenseKeyDomainLimit","getRange","addRevision","_baseIdsRoots","_getPreviousFrom","editing","revisionHistory.resumeUnsavedRevision","nodes","marker","_lastTo","push","getChildren","fromEntries","getWalker","attributesBefore","setRevisionData","find","createPositionFromPath","position","conversion","403989EHGTDN","offset","_showLicenseError","creator","_source","collaboration.channelId","source","view","getChild","then","isEqual","_touchedRoots","offsetSize","diffData","affectsData","_getViewJson","markerToData","remove","_savedMetaData","path","requires","_handleSplitOperation","toVersion","data","dataToMarker","_getVidAttributeName","_initialRevisionId","marked","_baseRootsAttributes","stickiness","_saveMetaData","reinsert","isReady","expired","_licenseKeyCheckInterval","attributes","_calculateMetaData","_handleMoveOperation","_cloneOperation","authors","NEGATIVE_INFINITY","_getFromVersion","_processRootBeforeSave","insertionPosition","createPositionAfter","keys","2364288XfxGfv","stringify","getLatestVersion","domainLimit","merge","RevisionsRepository","getRootNames","locale","getAttribute","newRange","3887757vIRLEa","_removeMetaData","pluginName","isOfficialPlugin","_fixOperation","_addPendingAction","changeRootAttribute","useFillerType","graveyardPosition","repository","baseVersion","revision:","_createCurrentRevision","childCount","_diffRootsAttributes","2464736nddPcv","toModel","createdAt","finally","parse","revisionHistoryLicenseKeyNotAllowed","attachChange","addRoot","startsWith","tableCell","previousPosition","revision-start","invalid","deletion","toData","removeRootAttribute","_getState","map","_handleRootOperation","createRevision","deletions","elementEnd","$text","revisionHistoryLicenseKeyEvaluationLimit","fromVersion","bind","children","splitPosition","detachRoot","some","vid_end","creatorId","updateRevisions","createRange","newValue","isAdd","$graveyard","2830dLOzJu","getAttributes","_reset","_markers","getUser","documentFragment","sourcePosition","_handleInsertOperation","max","data-revision-","add","shift","afterInit","trim","getTime","destroy","_makeModelFromViewString","_markChanges","move","rootsAttributes","_baseRoots","clear","RevisionHistory","dataDowncast","_getBaseVids","Empty document","getCurrentRevisionId","end","getRevisionDocumentData","_pendingAction","getRevisionRootsAttributes","_createInitialRevision","setSource","createPositionBefore","_makeIdsRoot","revisionHistoryLicenseKeyInvalid","markers","getOperations","keepParagraph","update","_generateTape","_touchedMarkers","_loadRevisionData","define","values","isPremiumPlugin","vid","from","for","string","_isPendingUpdate","7OBLelx","revision-end","_bufferedUpdates","revisionHistoryLicenseKeyUsageLimit","get","_diffRoots","editor","set","getRoot","init","_bufferUpdate","_insertChild","_setAttribute","_fixPosition","item","oldRange","Initial revision","delete","sort","_continueCurrentRevision","PendingActions","currentRevision","addRootAttribute","model","addRevisionData","getOperation","clone","usageLimit","RevisionTracker","insertion","Users","_makeRevision","paragraph","createRangeIn","4188XAsGTV","insert","adapter","createPositionAt","plugins","key","userId","_loadedStateData","_execute","upcast","PENDING_ACTION_REVISION_HISTORY","_operations","_lastFrom","_transformMarkers","attributesAfter","toView","getRevisions","_revisionId","_createFromRanges","history","elementStart","getMovedRangeStart","getData","sendBufferedUpdates","6wBoujW","_removePendingAction","_handleMergeOperation","5149260ROfmDr","has","featureNotAllowed","isAttached","default","name","reverse","howMany","_authorId","_startingRevisionId","reInit","revisionHistoryLicenseKeyTrialLimit","_loadState","_clone","saveRevision","roots","start","nodeAfter","getIndex","_isInit","resolve","split","slice","parent","_handleOperation","_handleMarkerOperation","root","type","ready","element","evaluationLimit","_update","initial","_startingVersion","document","getRevision","250227ubMtkC","text","_findInsertionIndex"];return(Rn=function(){return t})()}function Mn(t,e,i){const n=_n,r=n(470)==t[n(625)]?i[n(574)](t[n(551)],n(513)):i[n(519)](t[n(551)]);return i[n(375)](e,r[n(397)],r[n(407)])}function Vn(t,e,i){const n=_n,r=n(591)==t[n(625)]?i[n(574)](t[n(551)],0):i[n(422)](t[n(551)]);return i[n(375)](e,r[n(397)],r[n(407)])}var En=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),zn=i.n(Ln),Pn=i(667),Wn=i.n(Pn),Un=i(357),Zn=i.n(Un),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=zn().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Zn();Cn()(Hn.A,$n);Hn.A&&Hn.A.locals&&Hn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=zn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Gn;function Jn(){const t=["extendTemplate","add","revisionNameInputView","1319262PsNBXd","8hhReRE","220","2083328mLHqne","238629YQfrGY","locale","22SIYLhP","arrowleft","keystrokes","label","stopPropagation","4149159VvfAFw","Name of the revision","input","listenTo","ck-revision-history-save-revision-form","errorText","reset","render","focus","fieldView","form","element","value","_createRevisionNameInput","setTemplate","revisionName","arrowup","28269999MsTYRv","837793XcBnmZ","arrowdown","set","optional","arrowright","revisionNameInputValue","ck-responsive-form","trim","718015YRsbuC","focusTracker"];return(Jn=function(){return t})()}function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=329]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(507863===-parseInt(e(348))/1+parseInt(e(367))/2*(-parseInt(e(365))/3)+parseInt(e(362))/4*(-parseInt(e(356))/5)+parseInt(e(361))/6+-parseInt(e(330))/7+-parseInt(e(364))/8+parseInt(e(347))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Xn extends En.View{constructor(e,i){const n=Gn;super(e),this[n(357)]=new t.FocusTracker,this[n(369)]=new t.KeystrokeHandler,this[n(350)](n(353),""),this[n(360)]=this[n(343)](i),this[n(344)]({tag:n(340),attributes:{class:["ck",n(334),n(354)],tabindex:"-1"},children:[this[n(360)]]}),(0,En.injectCssTransitionDisabler)(this)}[Yn(337)](){const t=Yn;super[t(337)](),(0,En.submitHandler)({view:this}),this[t(357)][t(359)](this[t(360)][t(341)]),this[t(369)][t(333)](this[t(341)]);const e=e=>e[t(329)]();this[t(369)][t(350)](t(352),e),this[t(369)][t(350)](t(368),e),this[t(369)][t(350)](t(346),e),this[t(369)][t(350)](t(349),e)}[Yn(338)](){const t=Yn;this[t(360)][t(338)]()}get[Yn(345)](){const t=Yn;return this[t(360)][t(339)][t(341)][t(342)][t(355)]()}set[Yn(345)](t){const e=Yn;this[e(360)][e(339)][e(341)][e(342)]=t[e(355)]()}[Yn(336)](){const t=Yn;this[t(360)][t(339)][t(341)][t(342)]="",this[t(360)][t(335)]=null}[Yn(343)](t){const e=Yn,i=new En.LabeledFieldView(this[e(366)],En.createLabeledInputText),n=i[e(339)];n[e(358)]({attributes:{maxlength:e(363)}});let r=Qi(this[e(366)],e(331));return!t&&(r+=" ("+Qi(this[e(366)],e(351))+")"),i[e(370)]=r,n.on(e(332),(()=>{const t=e;this[t(353)]=n[t(341)][t(342)][t(355)]()})),i}}function Kn(t,e){const i=tr();return(Kn=function(t,e){return i[t-=332]})(t,e)}const Qn=Kn;function tr(){const t=["role","isOfficialPlugin","requires","plugins","submit","get","children","render","1176160SKnNZt","Dialog","revisionSave","Cancel","history","isOpen","menuBar:revisionHistory","locale","menuitem","Open revision history","revisionNameInputView","errorText","Revision history","hide","RevisionHistoryUI","_createSaveRevisionFormView","add","panelView","addMany","config","componentFactory","revisionHistory.requireRevisionName","isEnabled","ck-button-action","revisionName","set","pluginName","1590972vvEjIj","view","7EjzUTU","isReadOnly","63768hYUObl","The revision name cannot be empty.","71066zHGacL","show","bind","_showDialog","isReady","_registerMenuComponent","saveRevision","Accept","menu","items","443166aiaQEK","showRevisionViewerCallback","init","reset","RevisionTracker","isPremiumPlugin","154430mqdWAq","delegate","buttonView","editing","revisionHistory","editor","execute","focus","Save current revision","_saveRevisionFormView","3172736clYVPS"];return(tr=function(){return t})()}!function(t){const e=Kn,i=t();for(;;)try{if(148724===parseInt(e(375))/1+parseInt(e(373))/2+-parseInt(e(385))/3+parseInt(e(342))/4+parseInt(e(391))/5+parseInt(e(369))/6*(parseInt(e(371))/7)+-parseInt(e(333))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Qn(368)](){return Qn(356)}static get[Qn(335)](){return!0}static get[Qn(390)](){return!0}static get[Qn(336)](){return[On]}[Qn(387)](){const t=Qn,e=this[t(396)],i=e[t(337)][t(339)](t(389));e.ui[t(362)][t(358)](t(395),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(359)][r(340)],a=new En.ListView(n),c=new En.ListItemView(n),u=new En.ButtonView(n),l=new En.ListItemView(n),h=new En.ButtonView(n);return s[r(377)](r(364)).to(i,r(379),i,r(364),e,r(372),((t,e,i)=>t&&e&&!i)),s[r(393)][r(367)]({icon:qi.icons[r(346)],label:Qi(n,r(354)),tooltip:!0}),u[r(367)]({label:Qi(n,r(399)),withText:!0,role:r(350)}),u[r(377)](r(364)).to(i,r(379),i,r(364),e,r(372),((t,e,i)=>t&&e&&!i)),u.on(r(397),(()=>this[r(378)]())),h[r(367)]({label:Qi(n,r(351)),withText:!0,role:r(350)}),h[r(377)](r(364)).to(i,r(379),e,r(372),((t,e)=>t&&!e)),h.on(r(397),(()=>{const t=r;e[t(361)][t(339)](t(395))[t(386)](),s[t(347)]=!1,e[t(394)][t(370)][t(398)]()})),c[r(340)][r(358)](u),l[r(340)][r(358)](h),a[r(334)]=r(383),a[r(384)][r(360)]([c,l]),o[r(358)](a),s})),e.ui[t(362)][t(358)](t(348),(()=>this[t(380)]()))}[Qn(380)](){const t=Qn,e=this[t(396)],i=e[t(349)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(393)][t(367)]({icon:qi.icons[t(346)],label:Qi(i,t(354))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(367)]({label:Qi(i,t(399))}),o[t(392)](t(397)).to(n),o.on(t(397),(()=>{this[t(378)]()})),s[t(340)][t(358)](o),r[t(384)][t(358)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(367)]({label:Qi(i,t(351))}),c[t(392)](t(397)).to(n),c.on(t(397),(()=>{const i=t;e[i(361)][i(339)](i(395))[i(386)]()})),a[t(340)][t(358)](c),r[t(384)][t(358)](a),n[t(359)][t(340)][t(358)](r),n}[Qn(378)](){const t=Qn,e=this[t(396)],i=e[t(349)],n=e[t(337)][t(339)](t(343)),r=e[t(337)][t(339)](t(389));function s(r){const s=t;e[s(361)][s(339)](s(363))&&""===r[s(366)]?r[s(352)][s(353)]=Qi(i,s(374)):(e[s(337)][s(339)](On)[s(381)]({name:r[s(366)]}),n[s(355)]())}this[t(332)]||(this[t(357)](),this[t(332)].on(t(338),(()=>s(this[t(332)])))),this[t(332)][t(388)](),n[t(376)]({id:t(344),title:Qi(i,t(399)),isModal:!0,content:this[t(332)],actionButtons:[{label:Qi(e[t(349)],t(345)),withText:!0,onExecute:()=>n[t(355)]()},{label:Qi(e[t(349)],t(382)),class:t(365),withText:!0,onCreate(i){const n=t;i[n(377)](n(364)).to(r,n(379),r,n(364),e,n(372),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(332)])}]})}[Qn(357)](){const t=Qn,e=this[t(396)],i=e[t(349)];this[t(332)]=new Xn(i,e[t(361)][t(339)](t(363))),this[t(332)][t(341)]()}}const ir=nr;function nr(t,e){const i=rr();return(nr=function(t,e){return i[t-=498]})(t,e)}function rr(){const t=["set","4884CaIsrh","element","focus","name","180QYNfCF","div","setTemplate","833229oWpkyH","3629976GrDvuz","bindTemplate","ck-annotation","2288734zAWNLv","ck-revision-change__","author","72918dcXpZn","Suggested by","1620YrSGtu","type","71342xNpDVz","2331690ZQrosE","span","add","data","_model","1zokkgW","changeId","Added by","5yBYLcX","Removed by","20XsYuqP","isSuggestion","ck-revision-change__label","ck-revision-change"];return(rr=function(){return t})()}!function(t){const e=nr,i=t();for(;;)try{if(612125===parseInt(e(514))/1*(parseInt(e(508))/2)+-parseInt(e(504))/3*(-parseInt(e(528))/4)+parseInt(e(517))/5*(parseInt(e(509))/6)+-parseInt(e(501))/7+-parseInt(e(498))/8+-parseInt(e(531))/9*(parseInt(e(519))/10)+-parseInt(e(524))/11*(-parseInt(e(506))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends En.View{constructor(t,e){const i=nr;super(t),this[i(513)]=e,this[i(515)]=e.id;const n=this[i(499)],r=Qi(t,e[i(512)][i(520)]?i(505):i(511)==e[i(507)]?i(516):i(518));this[i(523)](i(507),e[i(507)]),this[i(530)]({tag:i(529),attributes:{class:[i(500),i(522),n.to(i(507),(t=>i(502)+t))],tabindex:-1},children:[{tag:i(510),children:[{tag:i(510),attributes:{class:[i(521)]},children:[{text:r}]},{text:" "+e[i(503)][i(527)]}]}]})}[ir(526)](){const t=ir;this[t(525)][t(526)]()}}function or(t,e){var i=cr();return(or=function(t,e){return i[t-=129]})(t,e)}var ar=or;function cr(){var t=["224pbfxKi","165784NzkkmQ","58531ObpzZi","957915ZQrDyL","createdAt","set","author","rootName","1065000HUuqEL","type","toJSON","1914130JuLAfR","data","108592oqiJhd","96446yonSKH"];return(cr=function(){return t})()}!function(t){for(var e=or,i=t();;)try{if(238463===parseInt(e(139))/1+parseInt(e(136))/2+parseInt(e(140))/3+parseInt(e(138))/4+parseInt(e(133))/5+-parseInt(e(130))/6+parseInt(e(137))/7*(-parseInt(e(135))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cr);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=or;super(),this.id=e.id||(0,t.uid)(),this[i(143)]=e[i(143)],this[i(131)]=e[i(131)],this[i(134)]=e[i(134)]||{},this[i(129)]=e[i(129)],this[i(142)](i(141),e[i(141)])}[ar(132)](){var t=ar;return{id:this.id,authorId:this[t(143)].id,type:this[t(131)],data:this[t(134)],createdAt:this[t(141)]}}}const lr=hr;function hr(t,e){const i=fr();return(hr=function(t,e){return i[t-=396]})(t,e)}!function(t){const e=hr,i=t();for(;;)try{if(847484===parseInt(e(412))/1*(parseInt(e(404))/2)+parseInt(e(399))/3+parseInt(e(405))/4*(parseInt(e(408))/5)+parseInt(e(407))/6*(parseInt(e(398))/7)+-parseInt(e(396))/8*(parseInt(e(406))/9)+parseInt(e(401))/10+parseInt(e(410))/11*(-parseInt(e(400))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fr);class dr{constructor(e,i){const n=hr;this[n(402)]=e,this[n(409)]=i,this[n(411)]=new t.Collection}[lr(397)](t){const e=lr;for(const i of t)this[e(411)][e(403)](i)}}function fr(){const t=["837NlcYFG","9756HVGopO","155nYCoeD","oldRevisionId","7997hokagz","changes","81iZuwgx","118120haBKaP","_setChanges","371RCkWyy","1499745GPbfnQ","15132wCeoKA","10307670kPyEUG","newRevisionId","add","8634pwmLmW","151076UqvHDO"];return(fr=function(){return t})()}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=zn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=wr();return(yr=function(t,e){return i[t-=373]})(t,e)}!function(t){const e=yr,i=t();for(;;)try{if(817685===-parseInt(e(634))/1+parseInt(e(426))/2+parseInt(e(444))/3*(-parseInt(e(705))/4)+parseInt(e(695))/5*(-parseInt(e(600))/6)+parseInt(e(704))/7*(-parseInt(e(712))/8)+-parseInt(e(498))/9*(parseInt(e(559))/10)+-parseInt(e(565))/11*(-parseInt(e(548))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wr);const gr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class kr extends qi.Plugin{static get[vr(528)](){return vr(577)}static get[vr(649)](){return!0}static get[vr(678)](){return!0}static get[vr(472)](){return[Bi.Users,En.ContextualBalloon,Ki]}constructor(t){const e=vr;super(t),this[e(574)]=this[e(616)][e(460)][e(628)](e(567)),this[e(454)](e(670),null),this[e(454)](e(425),null),this[e(393)]=null,this[e(454)](e(538),null),this[e(454)](e(591),!1),this[e(454)](e(622),!0),this.on(e(621),((t,i,n)=>{const r=e;this[r(670)]=null,this[r(425)]=null,this[r(616)][r(501)][r(434)][r(691)]((t=>{const e=r;for(const i of this[e(616)][e(501)][e(434)][e(617)][e(556)])n?t[e(675)](e(584),i):t[e(587)](e(584),i)}))})),this[e(672)](e(696)).to(this,e(670),(t=>null!==t)),this[e(672)](e(684)).to(this,e(591),this,e(538),this,e(670),((t,i,n)=>t&&n?i[e(545)][e(400)](n):0)),this[e(672)](e(654)).to(this,e(591),this,e(538),((t,i)=>t?i[e(545)][e(608)]:0)),this[e(521)]=null,this[e(502)]=new Map,this[e(680)]=null,this[e(674)]=this[e(616)][e(460)][e(628)](En.ContextualBalloon)}[vr(419)](){const t=vr,e=this[t(616)],i=new Ir(e,{direction:t(510)}),n=new Ir(e,{direction:t(398)});e[t(499)][t(609)](t(388),i),e[t(499)][t(609)](t(575),n),e[t(499)][t(609)](t(564),new _r(e)),this.on(t(464),(()=>{const e=t;i[e(663)](),n[e(663)]()})),this[t(385)](),this[t(524)](),e[t(604)](t(537)),e[t(460)][t(582)](t(478))&&e[t(460)][t(628)](t(478))[t(661)](t(537))}async[vr(462)](t){const e=vr;await this[e(509)](t);const i={};for(const n in t[e(455)]){if(t[e(455)][n][e(624)]&&!t[e(455)][n][e(624)][e(590)])continue;const r=this[e(484)](JSON[e(644)](t[e(455)][n][e(706)])),s=this[e(616)][e(501)][e(434)][e(617)],o=new Yi.ViewDocumentFragment(s,r[e(436)]((t=>this[e(637)](t))));this[e(616)][e(520)][e(493)][e(474)](e(583)),i[n]=this[e(616)][e(520)][e(493)][e(416)](o),this[e(616)][e(520)][e(493)][e(474)](e(560))}return i}async[vr(530)](t){const e=vr;await this[e(509)](t);const i={};for(const n in t[e(455)])t[e(455)][n][e(624)]&&!t[e(455)][n][e(624)][e(590)]||(i[n]=t[e(455)][n][e(534)]||{});return i}[vr(484)](t){const e=vr;return(t=t[e(653)]((t=>!t[e(699)]||e(401)!==t[e(699)]&&e(391)!==t[e(699)])))[e(631)]((t=>{const i=e;i(589)!=typeof t&&(t[i(424)]=this[i(484)](t[i(424)]),t[i(411)]=t[i(411)][i(653)]((t=>!t[0][i(586)](i(511)))))})),t}async[vr(650)](t,e,i=!1){const n=vr;if(!this[n(622)])return;const r=this[n(538)],s=this[n(574)],o=n(589)==typeof t?s[n(535)](t):t,a=n(589)==typeof e?s[n(535)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(538)]&&this[n(538)][n(407)]===c&&this[n(538)][n(396)]===u)return Promise[n(523)]();this[n(591)]=!1,this[n(425)]=null,this[n(670)]=null,this[n(538)]=new dr(c,u);const l=this[n(445)](o,a,!0)[n(436)]((t=>this[n(509)](t)));return l[n(486)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(562)](l)[n(397)]((()=>{const t=n;if(!this[t(622)])return;this[t(569)]();const e=this[t(658)](c,u);for(const i of e[t(545)])this[t(502)][t(454)](i.id,i);this[t(616)][t(373)][t(395)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(616)][n(373)][n(617)][n(422)]())i[n(607)](t);for(const t of Object[n(514)](e[n(373)])){const r=i[n(389)](t);for(const s of Object[n(514)](e[n(411)][t]))i[n(531)](s,e[n(411)][t][s],r);i[n(409)](e[n(373)][t],r,0)}})),this[t(538)][t(456)](this[t(450)](e[t(545)])),this[t(591)]=!0}))[n(392)]((t=>{const e=n;console[e(489)](t),this[e(569)](),r&&(this[e(538)]=r),this[e(591)]=!0}))}[vr(481)](t,e){const i=vr,n=this[i(574)][i(655)](t);return n.on(i(610),((t,i,r)=>e(i,r,n))),this[i(574)][i(547)](n),n}[vr(509)](t){const e=vr;if(!t||t[e(455)])return Promise[e(523)]();{const i=this[e(616)][e(627)][e(628)](e(519));return this[e(680)][e(535)]({channelId:i,revisionId:t.id})[e(397)]((i=>{const n=e;t[n(610)]({diffData:i[n(455)]},!0)}))}}[vr(569)](){const t=vr;this[t(670)]=null,this[t(657)](),this[t(521)]&&this[t(521)][t(516)](),this[t(521)]=null,this[t(502)][t(673)](),this[t(616)][t(373)][t(395)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(616)][i(373)][i(617)][i(422)]())e[i(607)](t)}))}[vr(450)](t){const e=vr,i=[],n=new Map;for(const t of this[e(616)][e(373)][e(617)][e(422)]()){const r=this[e(616)][e(501)][e(434)][e(512)](t);if(!r)continue;const s=r[e(585)]()[e(707)](0);s&&(i[e(486)](t),n[e(454)](t,s))}return i[e(701)](((t,i)=>{const r=e,s=n[r(628)](t),o=n[r(628)](i);return s.y-o.y||s.x-o.x})),(t=t[e(653)]((t=>i[e(645)](t[e(711)]))))[e(701)](((t,n)=>i[e(471)](t[e(711)])-i[e(471)](n[e(711)]))),t}[vr(598)](t){const e=vr,i=Array[e(374)](t[e(597)])[e(653)]((([t,i])=>t[e(586)](e(576))&&!i[e(700)])),n=Array[e(374)](this[e(616)][e(373)][e(605)](t)[e(685)]({singleCharacters:!0}));if(0!=i[e(608)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(518)](":");if(r[e(710)][e(418)](t[e(540)])&&i[e(495)](),(t[e(427)][e(418)](r[e(687)])||t[e(427)][e(681)](r[e(687)]))&&(e(442)==s?t[e(639)]={userId:o}:e(453)==s&&(t[e(384)]={userId:o})),0==i[e(608)])break}return n}[vr(440)](t){const e=vr,i=new Map;for(let n=0;n<t[e(608)];n++)e(387)===t[n][e(491)]?(t[n][e(707)][e(558)]=n,t[n][e(707)][e(651)]=n):(e(557)===t[n][e(491)]?t[n][e(707)][e(558)]=n:e(636)===t[n][e(491)]&&(t[n][e(707)][e(651)]=n),i[e(454)](t[n].id,n));for(const n of i[e(506)]())e(557)===t[n][e(491)]?t[n][e(707)][e(651)]=i[e(628)](t[n][e(633)]):e(636)===t[n][e(491)]&&(t[n][e(707)][e(558)]=i[e(628)](t[n][e(633)]))}[vr(551)](t){const e=vr;for(let i=0;i<t[e(608)];i++){if(e(557)===t[i][e(491)])t[i][e(707)][e(558)]=i;else if(e(636)===t[i][e(491)]){t[i][e(707)][e(651)]=i;const n=t[i][e(707)][e(558)];t[n][e(633)]=t[i].id,t[i][e(633)]=t[n].id}else t[i][e(707)][e(558)]=i,t[i][e(707)][e(651)]=i,t[i][e(633)]=null;t[i][e(439)]||(t[i][e(439)]=[],t[i][e(378)]=[])}}[vr(463)](t,e){const i=vr,n=t[i(653)]((t=>!t[i(639)]));for(let t=0;t<e[i(608)];t++)e[t][i(639)]&&(n[t][i(639)]=e[t][i(639)])}[vr(570)](t){const e=vr,i=JSON[e(644)](t),n=this[e(616)][e(501)][e(434)][e(617)],r=new Yi.ViewDocumentFragment(n,i[e(436)]((t=>this[e(637)](t))));return this[e(616)][e(520)][e(541)](r)}[vr(637)](t){const e=vr,i=this[e(616)][e(501)][e(434)][e(617)];if(e(589)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(424)][e(436)]((t=>this[e(637)](t)));return new(gr[t[e(491)]]||Yi.ViewElement)(i,t[e(699)],t[e(411)],n)}}[vr(658)](t,e=null){const i=vr,n=this[i(574)][i(535)](t),r=e?this[i(574)][i(535)](e):null,s=this[i(445)](n,r),o=s[s[i(608)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(608)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(514)](e[i(455)]))if(e[i(455)][t][i(624)]){const n=e[i(455)][t][i(624)];n[i(590)]?(u[i(609)](t),l[i(582)](t)&&l[i(628)](t)[i(415)]==n[i(415)]?l[i(572)](t):l[i(454)](t,n)):l[i(582)](t)?(u[i(572)](t),l[i(572)](t)):(u[i(609)](t),l[i(454)](t,n))}else u[i(609)](t)}for(const t of u){const e=l[i(582)](t)&&!l[i(628)](t)[i(590)];let n=e?s[i(608)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(455)][t]){const n=e?o[i(455)][t][i(573)]:o[i(455)][t][i(534)];c[i(411)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(373)]={};for(const e of t[i(443)])a[i(454)](e.id,e);for(const e of u){const n=t[i(455)][e]?t[i(455)][e][i(706)]:"[]",r=t[i(455)][e]?t[i(455)][e][i(709)]:"[]";t[i(373)][e]={insertions:this[i(570)](n),deletions:this[i(570)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(374)](n[i(373)][t][i(706)][i(597)])[i(653)]((([t])=>!t[i(586)](i(576)))));let h=0;for(const o of s){const s=this[i(598)](o[i(373)][t][i(706)]);o==n?(e=s,r=e[i(608)],e[i(631)]((t=>{t.id=h++})),this[i(551)](e)):this[i(463)](e,s);const a=e[i(653)]((t=>!t[i(639)]))[i(436)]((t=>t.id));let c=0;const l=this[i(598)](o[i(373)][t][i(709)]);l[i(631)]((t=>{t[i(384)]?t.id=r++:t.id=a[c++]})),this[i(551)](l),this[i(626)](e,i(639)),this[i(626)](l,i(384)),o==n&&this[i(561)](e,u),e=this[i(593)](e,l),this[i(440)](e),this[i(626)](e,i(384))}e=e[i(653)]((t=>!(t[i(639)]&&t[i(384)])));const d=new Map(o[i(373)][t][i(709)][i(597)]),f=new Set(u[i(514)]());for(const t of d[i(514)]())f[i(572)](t);this[i(643)](e,f),this[i(383)](e),e=this[i(467)](e),e=this[i(652)](e),e=this[i(563)](e);const{root:m,changes:p}=this[i(446)](e,a,t);c[i(373)][t]=m;const v=l[i(628)](t);if(v){const e=a[i(628)](v[i(415)]),n=new ur({author:e,type:v[i(590)]?i(609):i(390),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(702)](n),c[i(411)][t][i(480)]=n.id}c[i(545)]=c[i(545)][i(496)](p)}return c}[vr(561)](t,e){const i=vr;for(let n=0;n<t[i(608)];n++)for(const[r,s]of e)s[i(687)][i(418)](t[n][i(427)])&&t[n][i(439)][i(486)](r),s[i(710)][i(418)](t[n][i(540)])&&t[n][i(378)][i(486)](r)}[vr(593)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(608)]||s<e[i(608)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(486)](o);else if(a[i(384)]&&o[i(639)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(580)](t,r,e,s);n=n[i(496)](o),r=a,s=c}else a[i(384)]?(s++,n[i(486)](a)):(r++,n[i(486)](o))}return n}[vr(643)](t,e){const i=vr,n=[];for(let o=0;o<t[i(608)];o++){for(let s=0;s<t[o][i(439)][i(608)];s++){const a=t[o][i(439)][s];if(!e[i(582)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(515)!=c||i(442)!=u&&i(453)!=u||(n[i(702)]({type:u,name:a,userId:l}),t[o][i(439)][i(413)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(378)][i(608)];s++){const a=t[o][i(378)][s];if(!e[i(582)](a))continue;const{group:c,type:u}=r(a);if(i(515)!=c||i(442)!=u&&i(453)!=u)continue;t[o][i(378)][i(413)](s,1),s--;const l=n[i(380)]((t=>t[i(699)]==a));l>-1&&n[i(413)](l,1)}}function r(t){const e=i,n=t[e(518)](":");return{group:n[0],type:n[1],subType:n[e(608)]>=5?n[2]:null,id:n[e(608)]<5?n[2]:n[3],authorId:n[e(608)]<5?n[3]:n[4],markerCount:6==n[e(608)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(608)];i++){if(t[e(639)]&&e(442)==n[i][e(491)])return t[e(412)]=n[i],void delete t[e(639)];if(!t[e(639)]&&!t[e(384)]&&e(453)==n[i][e(491)])return void(t[e(382)]=n[i])}}}[vr(626)](t,e){const i=vr;let n=0,r=!1;const s=new Map;for(const o of t)o[e]?r&&(n++,r=!1):(n++,r=!0),s[i(454)](o.id,n);for(let n=0;n<t[i(608)];n++){if(i(384)==e&&t[n][i(639)]||i(639)==e&&t[n][i(384)])continue;if(i(387)==t[n][i(491)]){t[n][i(615)]=0;continue}const r=s[i(628)](t[n][i(633)]),o=s[i(628)](t[n].id);t[n][i(615)]=r-o}}[vr(445)](t,e,i=!1){const n=vr,r=[];let s=this[n(574)][n(400)](t),o=this[n(574)][n(400)](e);for(-1==o&&(o=this[n(574)][n(492)][n(608)],i=!1);s<o;)r[n(486)](this[n(574)][n(535)](s)),s++;return i&&r[n(486)](this[n(574)][n(535)](s)),r}[vr(580)](t,e,i,n){const r=vr,s=this[r(616)][r(373)][r(430)];let o=e;for(;t[o]&&t[o][r(639)];)o++;let a=n;for(;i[a]&&i[a][r(384)];)a++;u(t,e,o),u(i,n,a);const c=i[r(513)](n,a)[r(496)](t[r(513)](e,o));return c[r(701)](((t,e)=>t[r(394)]!=e[r(394)]?t[r(394)]-e[r(394)]:t[r(431)]!=e[r(431)]?t[r(431)]-e[r(431)]:t[r(615)]!=e[r(615)]?e[r(615)]-t[r(615)]:!!t[r(639)]!=!!e[r(639)]?-1==t[r(394)]||0==t[r(394)]?t[r(639)]?-1:1:t[r(639)]?1:-1:t[r(578)]-e[r(578)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(683)],c=!0;for(let r=e;r<i;r++)if(s[n(437)](t[r][n(707)])||(c=!1),t[r][n(707)][n(558)]<e&&(o=r),t[r][n(707)][n(651)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(394)]=r<=o?-1:r<a?0:1,t[r][n(578)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(615)]?t[i][n(431)]=u:(u++,t[i][n(431)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(394)]&&(t[r][n(431)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(615)]?t[e][n(431)]=u:(u--,t[e][n(431)]=u,u--)}}[vr(383)](t){const e=vr,i=new Map,n=this[e(616)][e(373)][e(430)];for(let r=1;r<t[e(608)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(387)==c[e(491)])continue;if(c[e(491)]!=u[e(491)])continue;if(!n[e(414)](u[e(707)])||n[e(470)](u[e(707)]))continue;if(!n[e(414)](c[e(707)])||n[e(470)](c[e(707)]))continue;if((t[r][e(639)]||t[r][e(412)])&&t[r-1][e(384)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(384)]||!t[r-1][e(639)]&&!t[r-1][e(412)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(431)]==o[e(431)],h=Math[e(689)](s[e(431)])<Math[e(689)](o[e(431)])&&0==o[e(615)];(l||h)&&(i[e(454)](o.id,s.id),t[e(413)](a,1),r--,s[e(639)]=!1)}for(let n=0;n<t[e(608)];n++)i[e(582)](t[n][e(633)])&&(t[n][e(633)]=i[e(628)](t[n][e(633)]))}[vr(467)](t){const e=vr,i=new Set(t[e(436)]((t=>t.id)));for(let n=0;n<t[e(608)];n++)i[e(582)](t[n][e(633)])||0==t[n][e(615)]||(t[n][e(473)]=!0);return t[e(653)]((t=>!t[e(473)]))}[vr(652)](t){const e=vr,i=new Set;for(let n=0;n<t[e(608)];n++){if(i[e(582)](t[n].id)&&t[n][e(384)]&&(t[n][e(473)]=!0),t[n][e(473)])continue;if(0==t[n][e(615)])continue;if(e(557)!=t[n][e(491)])continue;if(null==t[n][e(633)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(633)];)e(557)==t[r][e(491)]?s++:e(636)==t[r][e(491)]&&s--,r++;if(0!=s)if(t[n][e(384)])t[n][e(473)]=!0;else for(;r!=n;)t[r][e(384)]&&0!=t[r][e(615)]&&(t[r][e(473)]=!0,i[e(609)](t[r][e(633)])),r--}return t[e(653)]((t=>!t[e(473)]))}[vr(563)](t){const e=vr,i=this[e(616)][e(373)][e(430)];for(let n=0;n<t[e(608)];n++){if(!(t[n][e(639)]||t[n][e(412)]||t[n][e(384)]||t[n][e(382)]))continue;if(0==t[n][e(615)])continue;const r=t[n][e(707)];i[e(414)](r)||i[e(470)](r)||(t[n][e(639)]&&delete t[n][e(639)],t[n][e(412)]&&delete t[n][e(412)],t[n][e(382)]&&delete t[n][e(382)],t[n][e(384)]&&(t[n][e(473)]=!0))}return t[e(653)]((t=>!t[e(473)]))}[vr(446)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(616)][n(373)],c=a[n(430)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(608)];e++)if(n(557)===t[e][n(491)]){t[e][n(427)]=a[n(571)](r,f);const i=new Yi.Element(t[e][n(707)][n(699)],t[e][n(707)][n(449)]());u[0][n(451)](i),f[n(486)](0),u[n(702)](i),t[e][n(540)]=a[n(571)](r,f)}else n(636)===t[e][n(491)]?(u[n(495)](),t[e][n(427)]=a[n(571)](r,f),f[n(625)](),f[f[n(608)]-1]++,t[e][n(540)]=a[n(571)](r,f)):(t[e][n(427)]=a[n(571)](r,f),d?d[n(648)]+=t[e][n(707)][n(520)]:d=new Yi.Text(t[e][n(707)][n(520)],t[e][n(707)][n(449)]()),t[e+1]&&n(387)===t[e+1][n(491)]&&v(d,t[e+1][n(707)])||(u[0][n(451)](d),d=null),f[f[n(608)]-1]+=t[e][n(707)][n(475)],t[e][n(540)]=a[n(571)](r,f));for(let e=0;e<t[n(608)];e++){const i=t[e][n(427)],r=t[e][n(540)];for(const r of t[e][n(439)])o[n(454)](r,{start:i,end:null});m(n(382),e,i,r),m(n(412),e,i,r),m(n(384),e,i,r),m(n(639),e,i,r);for(const i of t[e][n(378)])o[n(628)](i)[n(710)]=r}for(const[t,e]of o){const i=this[n(616)][n(373)][n(461)](e[n(687)],e[n(710)]);r[n(597)][n(454)](t,i)}return s[n(701)](((t,e)=>{const i=n,s=r[i(597)][i(628)](i(576)+t.id),o=r[i(597)][i(628)](i(576)+e.id);return s[i(687)][i(505)](o[i(687)])?-1:s[i(687)][i(681)](o[i(687)])?1:s[i(710)][i(505)](o[i(710)])?-1:s[i(710)][i(681)](o[i(710)])?1:i(609)===t[i(491)]?-1:1})),{root:r,changes:s};function m(e,i,r,s){const o=n,a=!!t[i][e],u=a?t[i][e][o(415)]:null,d=i===t[o(608)]-1,f=h[e][0],m=c[o(549)](t[i][o(707)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(710)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(415)]!==u&&(l[e][o(710)]=r,f&&f[o(415)]===l[e][o(415)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(557)!==t[i][o(491)]||f&&f[o(415)]===u||h[e][o(702)]({userId:u,object:t[i][o(707)],change:l[e]}),o(636)===t[i][o(491)]&&f&&f[o(375)]===t[i][o(707)]&&(h[e][o(495)](),l[e]=f[o(691)])),l[e]&&d&&(l[e][o(710)]=s,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(707)],f=a[h(430)][h(414)](d)&&!a[h(430)][h(470)](d),m=t[h(503)]==o[h(606)]&&o[h(566)];if(f&&m)return;const p=a[h(461)](t,o),v=e[h(628)](u),y=new ur({author:v,type:h(639)==l||h(412)==l?h(609):h(390),data:{isSuggestion:h(412)==l||h(382)==l},createdAt:new Date,rootName:i});s[h(486)](y),r[h(597)][h(454)](h(576)+y.id,p)}function v(t,e){const i=n,r=t[i(449)](),s=e[i(449)]();for(const t of r){if(t[1]!==e[i(666)](t[0]))return!1;s[i(614)]()}return s[i(614)]()[i(568)]}}[vr(385)](){const t=vr;this[t(616)][t(433)][t(544)](t(632))[t(504)]({view:t(688)}),this[t(616)][t(433)][t(544)](t(542))[t(581)]({model:t(688),view:e=>{const i=t,n=e[i(660)][i(518)](":")[1],r=this[i(595)](n);if(!r)return null;const s=i(609)==r[i(491)]?i(442):i(453),o=[i(452),i(665)+s];return r[i(520)][i(553)]&&o[i(486)](i(665)+s+i(405)),this[i(670)]==r&&o[i(486)](i(408)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(616)][t(433)][t(544)](t(632))[t(609)]((e=>{const i=t;e.on(i(406),((t,e,n)=>{const r=i,s=e[r(420)][r(479)](0);if(!s||!s.is(r(525),r(640)))return;if(!n[r(613)][r(532)](s,{attributes:[r(527),r(629)]}))return;const o=e[r(507)][r(687)][r(503)];n[r(602)][r(531)](r(527),s[r(666)](r(527)),o),n[r(602)][r(531)](r(629),s[r(666)](r(629)),o)}),{priority:i(601)})})),this[t(616)][t(433)][t(544)](t(632))[t(609)]((e=>{const i=t;e.on(i(525),((t,e,n)=>{const r=i;if(!n[r(613)][r(532)](e[r(420)],{attributes:[r(527),r(629)]}))return;if(e[r(507)][r(700)])return;const s=e[r(507)][r(687)][r(503)];s[r(694)](r(527))||s[r(694)](r(671))||(n[r(602)][r(531)](r(527),e[r(420)][r(666)](r(527)),s),n[r(602)][r(531)](r(629),e[r(420)][r(666)](r(629)),s))}),{priority:i(601)})})),this[t(616)][t(433)][t(544)](t(632))[t(611)]({view:{name:t(668),attributes:{vid:!0}},model:{key:t(671),value:e=>e[t(666)](t(671))}}),this[t(616)][t(373)][t(430)].on(t(620),((e,[,i])=>{const n=t;[n(527),n(629),n(671)][n(645)](i)&&(e[n(494)]=!0,e[n(603)]())}),{priority:t(662)}),this[t(616)][t(433)][t(544)](t(522))[t(609)]((e=>{const i=t;e.on(i(539),((t,e,n)=>{const r=i;if(" "!=e[r(707)][r(520)]||e[r(707)][r(606)][r(490)]>1)return;if(!n[r(613)][r(532)](e[r(707)],t[r(699)]))return;const s=n[r(602)],o=n[r(682)][r(432)](e[r(483)]);s[r(664)](o,s[r(579)](r(668)))}))})),this[t(616)][t(433)][t(544)](t(522))[t(669)]({model:t(688)}),this[t(616)][t(501)][t(500)].on(t(588),function(e){const i=t,n=e[i(460)][i(628)](i(577));return(t,r,s)=>{const o=i,a=r[o(660)][o(518)](":")[1],c=n[o(595)](a);if(!c)return null;const u=o(609)==c[o(491)]?o(518):o(679);if(!s[o(613)][o(476)](r[o(421)],t[o(699)]))return;const l=r[o(421)][o(685)](),h=r[o(421)][o(687)],d=e[o(373)][o(430)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(707)];p=p||d[o(594)](e);const i=s[o(682)][o(404)](e);if(i&&i[o(488)](o(703)))return;o(636)==t[o(491)]&&d[o(414)](e)&&!d[o(470)](e)&&(e[o(438)]||h[o(676)]?f&&f[o(606)]==e||(f=e,y(t[o(427)]),v=!0):m=m||t[o(427)])}function y(t){const e=o,i=s[e(602)][e(619)](e(668),{class:e(665)+u}),a=s[e(682)][e(376)](t);c[e(520)][e(553)]&&s[e(602)][e(587)](e(665)+u+e(405),i),n[e(670)]==c&&s[e(602)][e(587)](e(408),i),s[e(602)][e(409)](a,i),s[e(682)][e(533)](i,r[e(660)])}p||v||!m||y(m)}}(this[t(616)]),{priority:t(447)}),this[t(616)][t(501)][t(500)].on(t(596),((e,i,n)=>{const r=t,s=n[r(682)][r(423)](i[r(660)]);if(s)for(const t of s)(t[r(642)](r(466))||t[r(642)](r(457)))&&(n[r(682)][r(529)](t,i[r(660)]),n[r(602)][r(390)](t))}),{priority:t(447)}),this[t(616)][t(501)][t(500)].on(t(588),((e,i,n)=>{const r=t,s=i[r(660)][r(518)](":")[1],o=this[r(595)](s);if(!o)return null;const a=r(609)==o[r(491)]?r(518):r(679);if(n[r(613)][r(476)](i[r(421)],e[r(699)]))for(const t of i[r(421)][r(677)]()){if(!t.is(r(525),r(692)))continue;const e=n[r(602)][r(619)](r(668),{class:r(665)+a}),s=n[r(682)][r(376)](this[r(616)][r(373)][r(635)](t));o[r(520)][r(553)]&&n[r(602)][r(587)](r(665)+a+r(405),e),this[r(670)]==o&&n[r(602)][r(587)](r(408),e),n[r(602)][r(409)](s,e),n[r(682)][r(533)](e,i[r(660)])}}),{priority:t(447)}),this[t(616)][t(373)][t(617)].on(t(691),(()=>{const e=t;this[e(616)][e(501)][e(434)][e(691)]((t=>{const i=e;for(const e of this[i(616)][i(373)][i(617)][i(422)]()){const n=this[i(616)][i(373)][i(617)][i(403)](e),r=this[i(616)][i(501)][i(434)][i(617)][i(403)](e);if(r){const e=n[i(666)](i(480));if(t[i(410)](i(546),r),t[i(675)](i(487),r),t[i(675)](i(555),r),t[i(675)](i(448),r),e){const n=this[i(595)](e);if(!n)return null;t[i(531)](i(546),e,r),t[i(587)](i(435)+n[i(491)],r),this[i(670)]==n&&t[i(587)](i(448),r)}}}}))})),this[t(616)][t(433)][t(544)](t(632))[t(504)]({view:t(477),model:e=>t(428)+e,converterPriority:t(662)}),this[t(616)][t(433)][t(544)](t(632))[t(504)]({view:t(508),model:e=>t(554)+e,converterPriority:t(662)}),this[t(616)][t(433)][t(544)](t(522))[t(669)]({model:t(515),view:e=>({name:t(623)+e,group:t(515)}),converterPriority:t(662)}),this[t(616)][t(433)][t(544)](t(542))[t(581)]({model:t(515),view:e=>{const i=t,n=e[i(660)][i(518)](":")[1];return i(442)!=n&&i(453)!=n?null:{classes:[i(708),i(612)+n]}}}),this[t(616)][t(501)][t(500)].on(t(686),br(this[t(616)],t(679)),{priority:t(447)}),this[t(616)][t(501)][t(500)].on(t(550),br(this[t(616)],t(518)),{priority:t(447)}),this[t(616)][t(501)][t(500)].on(t(656),((e,i,n)=>{const r=t,s=n[r(682)][r(423)](i[r(660)]);if(s)for(const t of s)t.is(r(599))&&(n[r(682)][r(529)](t,i[r(660)]),n[r(602)][r(390)](t))}),{priority:t(447)})}[vr(595)](t){const e=vr;return this[e(502)][e(628)](t)}[vr(638)](t){const e=vr;return this[e(521)]&&this[e(521)][e(516)](),this[e(521)]=new sr(this[e(616)][e(526)],t),this[e(521)]}[vr(524)](){const t=vr;this[t(616)][t(373)][t(617)][t(402)][t(592)](t(688)),this.on(t(641),((e,i,n,r)=>{const s=t;r&&this[s(674)][s(390)](r),n&&(this[s(674)][s(609)]({view:n,stackId:s(485),position:{target:()=>{const t=s,e=this[t(616)][t(501)],i=this[t(595)](n[t(536)]);let r;if(i[t(520)][t(646)]){const n=e[t(434)][t(512)](i[t(711)]);r=Array[t(374)](n[t(585)]())}else{const i=this[t(616)][t(373)][t(597)][t(628)](t(576)+n[t(536)]);r=Array[t(374)](e[t(682)][t(423)](i[t(699)]))[t(436)]((i=>e[t(434)][t(497)][t(417)](i)))[t(436)]((e=>Array[t(374)](e[t(585)]())))[t(647)]()}return this[t(393)]&&r[t(690)]((e=>e[t(458)]-3<=this[t(393)].y&&e[t(667)]+3>=this[t(393)].y&&e[t(482)]-3<=this[t(393)].x&&e[t(659)]+3>=this[t(393)].x))||r[0]}}}),this[s(674)][s(697)](s(485)))})),this.on(t(517),((e,i,n,r)=>{const s=t;this[s(425)]=n?this[s(638)](n):null,this[s(616)][s(373)][s(691)]((()=>{const t=s,e=this[t(616)][t(501)];r&&(r[t(520)][t(646)]?e[t(434)][t(691)]((i=>{const n=t;i[n(675)](n(448),e[n(434)][n(617)][n(403)](r[n(711)]))})):e[t(379)](t(576)+r.id)),n&&(n[t(520)][t(646)]?e[t(434)][t(691)]((i=>{const r=t;i[r(587)](r(448),e[r(434)][r(617)][r(403)](n[r(711)]))})):e[t(379)](t(576)+n.id))}))})),this[t(399)](this[t(616)][t(501)][t(434)][t(617)],t(429),((e,i)=>{const n=t;if(this[n(670)])return;const r=this[n(459)](i[n(543)]),s=this[n(502)][n(628)](r);s?(this[n(393)]={x:i[n(465)].x,y:i[n(465)].y},this[n(425)]=this[n(638)](s)):(this[n(393)]=null,this[n(425)]=null)})),this[t(399)](this[t(616)][t(501)][t(434)][t(617)],t(386),((e,i)=>{const n=t,r=this[n(459)](i[n(543)]),s=this[n(502)][n(628)](r);s?(this[n(393)]={x:i[n(465)].x,y:i[n(465)].y},s===this[n(670)]?this[n(674)][n(698)]():this[n(670)]=s):(this[n(393)]=null,this[n(670)]=null)}))}[vr(459)](t){const e=vr;do{const i=t[e(666)](e(546));if(i)return i;t=t[e(606)]}while(t);return null}[vr(657)](){const t=vr;this[t(616)][t(373)][t(691)]((e=>{const i=t;for(const t of this[i(616)][i(373)][i(597)])e[i(377)](t)}))}}function br(t,e){return(i,n,r)=>{const s=yr;if(!r[s(613)][s(476)](n[s(421)],i[s(699)]))return;const o=n[s(421)][s(685)](),a=n[s(421)][s(687)],c=t[s(373)][s(430)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(707)];h=h||c[s(594)](e);const i=r[s(682)][s(404)](e);if(i&&i[s(488)](s(703)))return;s(636)==t[s(491)]&&c[s(414)](e)&&!c[s(470)](e)&&(e[s(438)]||a[s(676)]?u&&u[s(606)]==e||(u=e,f(t[s(427)]),d=!0):l=l||t[s(427)])}function f(t){const i=s,o=r[i(682)][i(376)](t),a=r[i(602)][i(619)](i(668),{class:i(612)+e});r[i(602)][i(409)](o,a),r[i(682)][i(533)](a,n[i(660)])}h||d||!l||f(l)}}function wr(){const t=["getRevisionData","_markInsertions","change:numberOfChanges","domEvent","ck-suggestion-marker-split","_removeMissingPairs","restoreRevisionCallback","revisionHistory","isLimit","indexOf","requires","isIncorrect","useFillerType","offsetSize","test","comment","WidgetToolbarRepository","getChild","revisionHistoryAttachChange","addRevisionData","left","range","_removeRevisionMarkers","revisionHistoryLabel","push","ck-revision-history-root-add","getCustomProperty","error","maxOffset","type","_revisions","processor","return","shift","concat","domConverter","182907mIVZpi","commands","downcastDispatcher","editing","_changeIdToChange","nodeAfter","dataToMarker","isBefore","values","modelRange","suggestion","loadRevisionData","backward","data-revision-","getDomRoot","slice","keys","revision-suggestion","destroy","change:activeChange","split","collaboration.channelId","data","_changeView","dataDowncast","resolve","_initInteractions","element","locale","vid_start","pluginName","unbindElementFromMarkerName","getRevisionRootsAttributes","setAttribute","consume","bindElementToMarker","attributesAfter","getRevision","changeId","revision-viewer","diff","attribute:vid","nextPosition","toModel","editingDowncast","target","for","changes","data-change-id","addRevision","59619636IGlhlU","isObject","addMarker:revision-suggestion:insertion","_processTape","change:isReady","isSuggestion","revision-suggestion:","ck-revision-history-root-remove","roots","elementStart","startIndex","490qdXfrW","default","_markMarkers","all","_removeUnsupportedChanges","restoreRevision","11pcmENe","isAtStart","RevisionsRepository","done","_cleanUp","_makeModelFromViewString","createPositionFromPath","delete","attributesBefore","repository","showNextChange","revision:","RevisionViewer","index","createAttributeElement","_threeWayMerge","markerToHighlight","has","marked","ck-editor__editable__overlay","getClientRects","startsWith","addClass","addMarker:revision","string","isAttached","isReady","observeMarkers","_joinTapes","isContent","_getChangeFromId","removeMarker:revision","markers","_makeTape","uiElement","12498neUOZh","low","writer","stop","enableReadOnlyMode","createRangeIn","parent","detachRoot","length","add","_update","elementToAttribute","ck-suggestion-preview-marker-","consumable","next","distance","editor","document","_step","createUIElement","checkAttribute","change:isEnabled","isEnabled","suggestion:","attachChange","pop","_setDistance","config","get","vid_end","first","forEach","upcast","pairId","1121810ITaEQR","createPositionBefore","elementEnd","_getViewObj","_getViewForChange","isAdded","code","change:activeView","hasClass","_markSuggestions","parse","includes","isOnRoot","flat","_data","isOfficialPlugin","compare","endIndex","_markMismatchedRemovedTags","filter","numberOfChanges","createRevision","removeMarker:revision-suggestion","_cleanMarkers","_getDiff","right","markerName","forceDisabled","highest","refresh","wrap","ck-suggestion-marker-","getAttribute","bottom","span","markerToData","activeChange","vid","bind","clear","_balloon","removeClass","isAtEnd","getItems","isPremiumPlugin","merge","adapter","isAfter","mapper","POSITIVE_INFINITY","currentChangeNumber","getWalker","addMarker:revision-suggestion:deletion","start","revision","abs","find","change","softBreak","affectsData","hasAttribute","725kDSQOA","isNavigationMode","showStack","updatePosition","name","isCollapsed","sort","unshift","addHighlight","4234699ZycxrL","2658772wfgOnu","insertions","item","ck-suggestion-preview-marker","deletions","end","rootName","16wvUoqO","model","from","object","toViewPosition","removeMarker","markersEnd","reconvertMarker","findIndex","execute","isRemoveSuggestion","_fixObsoleteTags","isRemoved","_setConversion","mousedown","text","showPreviousChange","addRoot","remove","revision-end","catch","_activeViewTarget","side","enqueueChange","oldRevisionId","then","forward","listenTo","getIndex","revision-start","selection","getRoot","toViewElement","-new","element:pre","newRevisionId","ck-suggestion-marker--active","insert","removeAttribute","attributes","isAddSuggestion","splice","isBlock","userId","toData","mapViewToDom","isEqual","init","viewItem","markerRange","getRootNames","markerNameToElements","children","activeView","287322iZVdzi","previousPosition","revision-comment:","mouseover","schema","level","toViewRange","conversion","view","ck-revision-history-root-","map","isInline","nextSibling","markersStart","_refreshStartEndIndex","getLaterVisibleRevision","insertion","authors","3oxzUFT","_getRevisionsRange","_makeModelFromTape","high","ck-revision-history-root--active","getAttributes","_sortAndFilterDiffChanges","_appendChild","ck-suggestion-marker","deletion","set","diffData","_setChanges","ck-suggestion-marker-merge","top","_findChangeIdFromDomTarget","plugins","createRange"];return(wr=function(){return t})()}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(460)][e(628)](kr);this[e(693)]=!1,this[e(399)](i,e(552),(()=>this[e(663)]())),this[e(399)](i,e(621),(()=>this[e(663)]()))}[vr(381)](){const t=vr,e=this[t(616)],i=e[t(460)][t(628)](kr),n=i[t(591)]?i[t(538)][t(407)]:null;e[t(627)][t(628)](t(469))[t(468)](n)}[vr(663)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(616)][t(460)][t(628)](kr),s=r&&n[t(441)](r[t(407)]);this[t(622)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(460)][i(628)](kr);this[i(693)]=!1,this[i(618)]=i(398)===e?1:-1,this[i(399)](n,i(552),(()=>this[i(663)]())),this[i(399)](n,i(621),(()=>this[i(663)]())),this[i(399)](n,i(517),(()=>this[i(663)]()))}[vr(381)](){const e=vr,i=this[e(616)],n=i[e(460)][e(628)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(670)]=r?n[e(538)][e(545)][e(628)](s+this[e(618)]):n[e(538)][e(545)][e(630)],n[e(670)][e(520)][e(646)])o=i[e(501)][e(434)][e(512)](n[e(670)][e(711)]);else{const t=i[e(373)][e(597)][e(628)](e(576)+n[e(670)].id);o=(0,Bi.getMarkerDomElement)(i[e(501)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(663)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(616)][t(460)][t(628)](kr);this[t(622)]=!!(s&&r&&n)&&(!e||(1===this[t(618)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=zn().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["Show previous change","52941MnOutr","1265612zYPuCl","fire","isEnabled","isForwardNavigationEnabled","currentChangeNumber","isBackwardNavigationEnabled","ck-hidden","9ISyKvd","ck-revision-history-ui","set","98qtkdrt","No changes","Show next change","bindTemplate","ck-revision-history-ui__changes-navigation__label","56JNiBMN","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation","bind","6778860xqCWVf","5119930AhVNoD","numberOfChanges","backward","setTemplate","isReady","877704itDzWC","Total","forward","Loading...","div","1108229sXjYcl","ck-revision-history-ui__changes-navigation__wrapper","_statusText","31549930xcCrmu","execute","_isStatusLabelVisible","NUMBER_OF_CHANGES","isNavigationMode","span","EDIT_X_OF_Y_REVISIONS"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=282]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(790706===-parseInt(e(324))/1+parseInt(e(293))/2+parseInt(e(292))/3*(-parseInt(e(308))/4)+parseInt(e(314))/5+-parseInt(e(313))/6+parseInt(e(303))/7*(-parseInt(e(319))/8)+-parseInt(e(300))/9*(-parseInt(e(284))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Nr extends En.View{constructor(t){const e=Tr;super(t);const i=this[e(306)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(302)](e(288),!1),this[e(302)](e(318),!1),this[e(302)](e(297),0),this[e(302)](e(315),0),this[e(302)](e(296),!1),this[e(302)](e(298),!1),this[e(312)](e(286)).to(this,e(318),this,e(315),((t,e)=>t&&e>0)),this[e(312)](e(283)).to(this,e(318),this,e(297),this,e(315),this,e(288),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(322));if(!r)return Qi(t,o(304));const a=Qi(t,o(287),r);return s?Qi(t,o(309),[n+1,r]):a})),n[e(302)]({label:Qi(t,e(291)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(302)]({label:Qi(t,e(305)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),n[e(312)](e(295)).to(this,e(298)),r[e(312)](e(295)).to(this,e(296)),n.on(e(285),(()=>this[e(294)](e(285),e(316)))),r.on(e(285),(()=>this[e(294)](e(285),e(321)))),this[e(317)]({tag:e(323),attributes:{class:["ck",e(301),e(311)]},children:[{tag:e(289),attributes:{class:[e(282)]},children:[{tag:e(289),attributes:{class:[e(307),i.if(e(286),e(299),(t=>!t))]},children:[{text:i.to(e(288),(i=>i?Qi(t,e(290))+": ":Qi(t,e(320))+": "))}]},{text:i.to(e(283))}]},new En.ToolbarSeparatorView,{tag:e(323),attributes:{class:[e(310)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=zn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;function Mr(t,e){const i=Dr();return(Mr=function(t,e){return i[t-=482]})(t,e)}const Vr=Mr;!function(t){const e=Mr,i=t();for(;;)try{if(334026===parseInt(e(503))/1*(parseInt(e(486))/2)+-parseInt(e(487))/3+parseInt(e(501))/4*(-parseInt(e(496))/5)+-parseInt(e(494))/6+parseInt(e(483))/7+-parseInt(e(485))/8*(-parseInt(e(505))/9)+parseInt(e(489))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dr);const Er=Vr(490);function Dr(){const t=["904632NpPXjc","651351kXvCNY","RevisionViewerLoadingOverlay","75330DNxMWS","ck-editor__editable__loading-overlay","removeClass","hide","editor","3281622lENyJN","addClass","245wttXxT","editing","roots","isPremiumPlugin","document","29284szmGwG","pluginName","1uhCiSR","change","4265046MIwxzt","view","isOfficialPlugin","3661462vtJNIZ","show","8foOZSC"];return(Dr=function(){return t})()}class Cr extends qi.Plugin{static get[Vr(502)](){return Vr(488)}static get[Vr(482)](){return!0}static get[Vr(499)](){return!0}[Vr(484)](){const t=Vr,e=this[t(493)][t(497)][t(506)];e[t(504)]((i=>{const n=t;for(const t of e[n(500)][n(498)])i[n(495)](Er,t)}))}[Vr(492)](){const t=Vr,e=this[t(493)][t(497)][t(506)];e[t(504)]((i=>{const n=t;for(const t of e[n(500)][n(498)])i[n(491)](Er,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=194]})(t,e)}function Lr(){const t=["undo","4376vHurVV","pluginName","23829750gBNzjR","init","add","changesNavigation","restoreRevision","isOfficialPlugin","forward","isReady","show","605748DftNaR","revisionHistory","6351327bkhXOL","showNextChange","6ULbUZX","isBackwardNavigationEnabled","config","Restore this revision","plugins","5123370DpaGIb","componentFactory","Back to editing","showPreviousChange","currentChangeNumber","requires","execute","RevisionViewerUI","editor","hide","set","get","isPremiumPlugin","148KMhunc","isNavigationMode","240249fjoerS","exitToEditing","99160dBIMOc","isForwardNavigationEnabled","ck-revision-history-ui__back-to-editing","7511SZHknX","commands","closeRevisionViewerCallback","listenTo","numberOfChanges","bind","change:isReady","isEnabled"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(451399===parseInt(e(197))/1*(-parseInt(e(226))/2)+parseInt(e(222))/3+parseInt(e(195))/4*(parseInt(e(199))/5)+-parseInt(e(231))/6+-parseInt(e(202))/7*(parseInt(e(211))/8)+-parseInt(e(224))/9+parseInt(e(213))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class zr extends qi.Plugin{static get[jr(212)](){return jr(238)}static get[jr(218)](){return!0}static get[jr(194)](){return!0}static get[jr(236)](){return[kr,Cr]}[jr(214)](){const t=jr,e=this[t(239)],i=e[t(230)][t(242)](kr),n=e[t(230)][t(242)](Cr);e.ui[t(232)][t(215)](t(198),(i=>{const n=t,r=new En.ButtonView(i);return r[n(241)]({label:Qi(i,n(233)),icon:qi.icons[n(210)],withText:!0,tooltip:!0,class:n(201)}),this[n(205)](r,n(237),(()=>{const t=n;e[t(228)][t(242)](t(223))[t(204)]()})),r})),e.ui[t(232)][t(215)](t(217),(i=>{const n=t,r=new En.ButtonView(i);return r[n(241)]({label:Qi(i,n(229)),withText:!0,tooltip:!0}),r[n(207)](n(209)).to(e[n(203)][n(242)](n(217))),this[n(205)](r,n(237),(()=>e[n(237)](n(217)))),r})),e.ui[t(232)][t(215)](t(216),(n=>{const r=t,s=new Nr(n),o=e[r(203)][r(242)](r(234)),a=e[r(203)][r(242)](r(225));return s[r(207)](r(227)).to(o,r(209)),s[r(207)](r(200)).to(a,r(209)),s[r(207)](r(220),r(235),r(206),r(196)).to(i),this[r(205)](s,r(237),((t,i)=>{const n=r;e[n(237)](n(219)===i?n(225):n(234))})),s})),n[t(221)](),i.on(t(208),((e,i,r)=>{const s=t;r?n[s(240)]():n[s(221)]()}))}}var Pr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=zn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(Pr.A,Wr);Pr.A&&Pr.A.locals&&Pr.A.locals;const Ur=Zr;function Zr(t,e){const i=Hr();return(Zr=function(t,e){return i[t-=403]})(t,e)}function Hr(){const t=["1547564IZKRHw","set","_tooltipString","_resizeObserver","5390016XkuNat","placeholder","2130867wRgyAI","clientWidth","36CFjdCY","scrollWidth","listenTo","element","input","_updateTooltipText","Enter the revision name","3423036VBzZJk","destroy","extendTemplate","Revision name","327032TELlIx","10Sbydkp","bindTemplate","ck-revision-history-sidebar__revision-name","fieldView","span","ck-tooltip_multi-line","133yMUExm","1376080mVsozi","render","value","1430249oGdyga"];return(Hr=function(){return t})()}!function(t){const e=Zr,i=t();for(;;)try{if(826873===parseInt(e(408))/1+parseInt(e(409))/2+-parseInt(e(424))/3+-parseInt(e(413))/4+parseInt(e(405))/5*(parseInt(e(417))/6)+-parseInt(e(404))/7*(parseInt(e(428))/8)+parseInt(e(415))/9*(parseInt(e(429))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hr);class $r extends En.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(412)]=null;const n=this[i(430)];this[i(410)]({label:Qi(t,i(427)),_tooltipString:""}),this[i(432)][i(414)]=Qi(t,i(423)),this[i(426)]({tag:i(433),attributes:{class:[i(431)],"data-cke-tooltip-text":n.to(i(411)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(403)}})}[Ur(406)](){const e=Ur;super[e(406)](),this[e(412)]=new t.ResizeObserver(this[e(432)][e(420)],(()=>this[e(422)]())),this[e(419)](this[e(432)],e(421),(()=>this[e(422)]()))}[Ur(425)](){const t=Ur;super[t(425)](),this[t(412)]&&this[t(412)][t(425)]()}[Ur(422)](){const t=Ur,e=this[t(432)][t(420)];this[t(411)]=e[t(418)]>e[t(416)]&&e[t(407)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=zn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Zn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(t,e){const i=Jr();return(Yr=function(t,e){return i[t-=492]})(t,e)}function Jr(){const t=["Revision author","span","681805fESdkO","7RlFhaF","140LKutjK","356531EmpXdl","17606600fGuVnI","7903683JtzifH","name","set","ck-revision-history-sidebar__revision-author_creator","setTemplate","0 0 11 10","push","1789752uKiATx","11244090NraCka","ck-revision-history-sidebar__revision-author__name","Revision creator","58587UxmdOB","6UtaXGs","ck-revision-history-sidebar__revision-author"];return(Jr=function(){return t})()}!function(t){const e=Yr,i=t();for(;;)try{if(965544===-parseInt(e(494))/1*(parseInt(e(508))/2)+parseInt(e(507))/3*(parseInt(e(493))/4)+parseInt(e(512))/5+parseInt(e(504))/6+parseInt(e(492))/7*(parseInt(e(503))/8)+parseInt(e(496))/9+-parseInt(e(495))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends En.View{constructor(t,e,i){const n=Yr;super(t);const r=new En.IconView;r[n(498)]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:n(501)});const s=["ck",n(509)];i&&s[n(502)](n(499));const o=[{tag:n(511),attributes:{class:["ck",n(505)],title:Qi(t,n(i?506:510))},children:[r,e[n(497)]]}];this[n(500)]({tag:"li",attributes:{class:s},children:o})}}function Xr(){var t=["10984FBxMmV","numeric","188706EkbAeb","106970WRmngU","550896zoXVil","2iqvprd","28reQOMz","toLocaleDateString","1099UFklTL","527123LBNSPn","663xxDyfW","1181169DjcGZK","90tTWoJr","30IgAaYJ","long","toLocaleTimeString","164316JtkPhp"];return(Xr=function(){return t})()}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=288]})(t,e)}!function(t){for(var e=Kr,i=t();;)try{if(873e3===-parseInt(e(296))/1*(-parseInt(e(292))/2)+-parseInt(e(291))/3*(-parseInt(e(293))/4)+parseInt(e(300))/5*(parseInt(e(289))/6)+parseInt(e(295))/7*(-parseInt(e(304))/8)+-parseInt(e(299))/9*(parseInt(e(290))/10)+-parseInt(e(298))/11+-parseInt(e(303))/12*(parseInt(e(297))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=zn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=242]})(t,e)}function is(){const t=["menuitem","isOpen","buttonView","items","Compare against selected","6FuYlTe","1322748IemQjn","stopPropagation","first","action","220422BcTAlw","ck-revision-history-sidebar__revision__actions","839238zyZjXy","_action","isEnabled","7XBsRTa","Name this revision","extendTemplate","bind","model","ck-on","12962qWJsCY","bindTemplate","395zWjhVF","6591240nRlOTw","Show more items","isVisible","menu","panelPosition","Restore this revision","function","map","change:isActionsDropdownOpen","set","add","listView","threeVerticalDots","execute","1253904srucWU","locale","listenTo","name","10212YnmPGT","button","source","isActionsDropdownOpen","children","find","class","isReady"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(119870===-parseInt(e(247))/1+-parseInt(e(258))/2*(-parseInt(e(242))/3)+-parseInt(e(279))/4*(parseInt(e(260))/5)+-parseInt(e(249))/6+parseInt(e(252))/7*(parseInt(e(275))/8)+-parseInt(e(243))/9+parseInt(e(261))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=zn().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=os;function os(t,e){const i=as();return(os=function(t,e){return i[t-=234]})(t,e)}function as(){const t=[".ck-thread__remove-confirm","510357AbriAg","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision-authors","createdAt","isHighlighted","listenTo","change","isSelected","220","fire","ck-revision-history-sidebar__actions_dropdown_open","unshift","render","length","5ZYAWlg","span","isReady","setName","value","_revision","isConfirm","setTemplate","name","322335pomZqo","srcElement","map","uiLanguage","bind","_requireRevisionName","div","element","revisionActionsView","bindTemplate","creator","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision_highlighted","set","from","unhighlight","closest","ck-reset","166180TzSXxo","revisionNameView","ck-revision-history-sidebar__revision_selected","7HoLKzb","1282168EpNsfp","fieldView","isEnabled","ck-revision-history-sidebar__revision","188053BhoJcQ","extendTemplate","select","ck-disabled","ck-revision-history-sidebar__revision__date","isActionsDropdownOpen","filter","highlight","645492GESwQC","deselect","1868984qJuxCS","_createdAtFormatted","authors"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(165160===parseInt(e(280))/1+-parseInt(e(272))/2+-parseInt(e(294))/3+-parseInt(e(276))/4*(-parseInt(e(244))/5)+-parseInt(e(288))/6*(-parseInt(e(275))/7)+-parseInt(e(290))/8+parseInt(e(253))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(262)],a=function(t,e){const i=s,n=Array[i(268)](e[i(292)])[i(286)]((t=>t!=e[i(263)]));return e[i(263)]&&n[i(241)](e[i(263)]),n[i(255)]((n=>new Gr(t,n,n==e[i(263)])))}(e,i);this.id=i.id,this[s(249)]=i,this[s(258)]=r,this[s(257)](s(252),s(297)).to(i),this[s(257)](s(291)).to(this,s(297),(t=>{return i=e[s(256)],(n=t)[(r=Kr)(294)](i,{month:r(301),day:r(288)})+", "+n[r(302)](i,{hour:r(288),minute:r(288)});var i,n,r})),this[s(267)](s(237),!1),this[s(267)](s(234),!1),this[s(267)](s(285),!1),this[s(267)](s(246),!1),this[s(267)](s(278),!1),this[s(273)]=new $r(e,En.createLabeledInputText),this[s(273)][s(277)][s(281)]({attributes:{maxlength:s(238)}}),this[s(273)][s(277)][s(257)](s(248)).to(this,s(252),(t=>t||this[s(291)])),this[s(273)][s(257)](s(278)).to(this,s(237),this,s(278),((t,e)=>t&&e)),this[s(261)]=n&&n[s(243)]?function(e,i){const n=es,r=e[n(259)],s=e[n(276)],o=(0,En.createDropdown)(s);o[n(265)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(276)],r={"Compare against selected":Qi(n,i(291)),"Name this revision":Qi(n,i(253)),"Restore this revision":Qi(n,i(266))};return e[i(268)]((t=>{const e=i,n=r[t[e(278)]];return n&&n!==t[e(278)]&&(t[e(278)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(280),model:new En.ViewModel({label:t[r(278)],class:t[r(285)],withText:!0,role:r(287),_action:t[r(246)]})};i[r(256)][r(255)](r(251)).to(e,r(282),(i=>r(267)!=typeof t[r(251)]||!i||t[r(251)](e))),o[r(271)](i)}return o}(e,i);return e[n(255)](n(282)).to(o,n(288)),o[n(289)][n(270)]({label:Qi(s,n(262)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(273)]}),o[n(254)]({attributes:{class:[n(248),r.if(n(282),n(257))]},on:{click:r.to((t=>t[n(244)]()))}}),o.on(n(274),(t=>{const i=n;e[i(286)]&&i(267)==typeof t[i(281)][i(250)]&&t[i(281)][i(250)](e)})),(0,En.addListToDropdown)(o,a,{role:n(264)}),o[n(277)](e,n(269),((t,r,s)=>{const a=n;if(s)for(const t of o[a(272)][a(290)]){const n=t[a(283)][a(245)],r=i[a(284)]((t=>t[a(246)]===n[a(250)]))[a(263)];t[a(263)]=void 0===r||r(e)}})),o}(this,n):"",this[s(261)]&&this[s(261)][s(257)](s(278)).to(this),this[s(251)]({tag:s(259),attributes:{class:["ck",s(271),s(295),o.if(s(250),s(264))]},children:[{tag:s(259),attributes:{class:["ck",s(271),s(279),o.if(s(278),s(283),(t=>!t)),o.if(s(237),s(274)),o.if(s(234),s(266)),o.if(s(285),s(240))]},children:[this[s(273)],{tag:s(245),attributes:{class:["ck",s(284)]},children:[{text:o.to(s(291))}]},{tag:s(259),attributes:{class:["ck",s(265)]},children:[{tag:"ul",attributes:{class:["ck",s(296)]},children:a}]},this[s(261)]],on:{click:o.to((t=>{const e=s;t[e(254)][e(270)](e(293))||this[e(246)]&&this[e(278)]&&this[e(239)](e(282),{id:this.id})}))}}]})}[ss(242)](){const t=ss;super[t(242)]();const e=this[t(273)][t(277)][t(260)];this[t(235)](e,t(236),(()=>{const i=t;this[i(258)]&&!e[i(248)]||this[i(239)](i(247),{id:this.id,name:e[i(248)]}),e[i(248)]||(e[i(248)]=this[i(252)]?this[i(252)]:this[i(291)])}))}[ss(282)](){this[ss(237)]=!0}[ss(289)](){this[ss(237)]=!1}[ss(287)](){this[ss(234)]=!0}[ss(269)](){this[ss(234)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},Os={hour:ys,minute:ys},xs={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Vs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Es={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},Ps={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class Hs extends Us{static get instance(){return null===Zs&&(Zs=new Hs),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},$s={}}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=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Js={};let Gs={};function Xs(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.DateTimeFormat(t,e),Gs[i]=n),n}let Ks={};let Qs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Ks[i];return n||(n=new Intl.NumberFormat(t,e),Ks[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Xo(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ys.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Xs(e,r)}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 so{constructor(t,e,i){this.opts={style:"long",...i},!e&&$o()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Qs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Qs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={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."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[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 oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Jo(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},Ks={},Qs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=Xs(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Xs(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Jo(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 io(this,t,ga,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=wu.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return io(this,t,_a,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.ListFormat(t,e),Js[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}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 co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(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 lo extends Us{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 ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Hs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={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]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Hs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Jo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Vo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Eo(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Vo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Eo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Vo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Eo(e,i);return{year:e,month:n,day:r,...ma(t)}}function zo(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(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 Po(t){const e=Ho(t.year),i=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Zo(t){return"number"==typeof t}function Ho(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Jo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(t,e,i){return Ho(t)&&t>=e&&t<=i}function Xo(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ko(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(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 oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Xo(i,2)}:${Xo(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Xo(i,2)}${Xo(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];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 ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Ms,TTTT:Vs,f:Es,ff:Cs,fff:Ls,ffff:Ps,F:Ds,FF:js,FFF:zs,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[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 Xo(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.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 s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Va(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ea(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Ko(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),za=RegExp(`(?:T${La.source})?`),Pa=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function Ha(t,e,i){const n=t[e];return Uo(n)?i:Ko(n)}function $a(t,e){return[{hours:Ha(t,e,0),minutes:Ha(t,e+1,0),seconds:Ha(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ja=/^-?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 Ga(t){const[e,i,n,r,s,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(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Xa={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ka(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Ko(e)):Ko(e),month:va.indexOf(i)+1,day:Ko(n),hour:Ko(r),minute:Ko(s)};return o&&(a.second=Ko(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(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 tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Ka(e,r,n,i,s,o,a);let f;return f=c?Xa[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(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$/,ic=/^(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$/,nc=/^(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 rc(t){const[,e,i,n,r,s,o,a]=t;return[Ka(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Ka(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Va(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,za),ac=Va(/(\d{4})-?W(\d\d)(?:-?(\d))?/,za),cc=Va(/(\d{4})-?(\d{3})/,za),uc=Va(La),lc=Ea((function(t,e){return[{year:Ha(t,e),month:Ha(t,e+1,1),day:Ha(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Ea(Pa,$a,qa,Ba),dc=Ea(Wa,$a,qa,Ba),fc=Ea($a,qa,Ba);const mc=Ea($a);const pc=Va(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Va(Ua),yc=Ea($a,qa,Ba);const gc="Invalid Duration",kc={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}},bc={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},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,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:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Ac.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ja,Ga])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ya,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Ac({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 ms(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?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(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+=ea(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 wu.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?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.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]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Nc(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Zo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Zo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),xc(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 xc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{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 ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.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:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}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:Mc.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 Mc.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[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=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class Vc{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ys.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:$o(),localeWeek:qo()}}}function Ec(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Ec(t,e);return(i-i%7)/7}],["days",Ec]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Lc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function zc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function Pc(t,e){return null===t?null:{regex:RegExp(t.map(Lc).join("|")),deser:([i])=>t.findIndex((t=>zc(i)===zc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Zc={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 Hc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(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 Pc(e.eras("short"),0);case"GG":return Pc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return Pc(e.months("short",!0),1);case"MMMM":return Pc(e.months("long",!0),1);case"LLL":return Pc(e.months("short",!1),1);case"LLLL":return Pc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return Pc(e.meridiems(),0);case"EEE":return Pc(e.weekdays("short",!1),1);case"EEEE":return Pc(e.weekdays("long",!1),1);case"ccc":return Pc(e.weekdays("short",!0),1);case"cccc":return Pc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Ys.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(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),Uo(t.u)||(t.S=ta(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Yo(i,"a")&&Yo(i,"H"))throw new fs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Hc||(Hc=wu.fromMillis(1555555555555)),Hc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Jc="Invalid DateTime",Gc=864e13;function Xc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Kc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Qc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(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 nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Ac.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=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Xo(t.c.year,i?6:4),e?(n+="-",n+=Xo(t.c.month),n+="-",n+=Xo(t.c.day)):(n+=Xo(t.c.month),n+=Xo(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Xo(t.c.hour);return e?(o+=":",o+=Xo(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Xo(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Xo(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Xo(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Xo(Math.trunc(-t.o/60)),o+=":",o+=Xo(Math.trunc(-t.o%60))):(o+="+",o+=Xo(Math.trunc(t.o/60)),o+=":",o+=Xo(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(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 ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Xc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=xo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=Po(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=xo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(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 ku,bu={};class wu{constructor(t){const e=t.zone||xo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Xc(e));this.ts=Uo(t.ts)?xo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Zo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Xc(r))}static fromMillis(t,e={}){if(Zo(t))return t<-Gc||t>Gc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Zo(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Xc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=zo(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Ho(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Ho(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):Po(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Lo(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Qa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}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?Kc(this).weekYear:NaN}get weekNumber(){return this.isValid?Kc(this).weekNumber:NaN}get weekday(){return this.isValid?Kc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Vc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Vc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Vc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Vc.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=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Xc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(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=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=zo(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Jc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Jc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Jc}[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 Ac.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.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||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Vs}static get DATETIME_SHORT(){return Es}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return zs}static get DATETIME_HUGE(){return Ps}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(){const t=["weekdayLong","580OqokDM","3285188hRDWgv","698170vHhQoB","250548HSkROX","fromJSDate","day","startOf","setLocale","toRelativeCalendar","month","toJSDate","37716IzhfDQ","monthLong","minus","9041752tbJxSb","week","local","3862572jdxqJl","3vGHuae","10uWkbUT","6371299ROVhbU","year","9HeMmBN","hasSame"];return(Iu=function(){return t})()}function Su(t,e){const i=Iu();return(Su=function(t,e){return i[t-=359]})(t,e)}function Ou(t,e){const i=Su,n=wu[i(374)](t)[i(377)](e),r=wu[i(361)](),s=r[i(383)]({days:1})[i(376)](i(375));let o,a;return n[i(368)](r,i(375))?(o=n[i(376)](i(375))[i(380)](),a=n[i(378)]()):n[i(368)](s,i(375))?(o=s[i(380)](),a=n[i(378)]()):n[i(368)](r,i(360))?(o=n[i(376)](i(360))[i(380)](),a=n[i(369)]||""):n[i(368)](r,i(366))?(o=n[i(376)](i(379))[i(380)](),a=n[i(382)]||""):(o=n[i(376)](i(366))[i(380)](),a=String(n[i(366)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Su,i=t();for(;;)try{if(595294===-parseInt(e(373))/1+-parseInt(e(372))/2+-parseInt(e(363))/3*(-parseInt(e(371))/4)+-parseInt(e(370))/5*(parseInt(e(381))/6)+parseInt(e(362))/7+-parseInt(e(359))/8*(-parseInt(e(367))/9)+parseInt(e(364))/10*(-parseInt(e(365))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Iu);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=zn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Nu=Ru;function Au(){const t=["setName","85FkTGHn","select","localizedPeriodName","removeRevision","setTemplate","ck-revision-history-sidebar__time-period__label","_requireRevisionName","remove","span","delegate","456PVXTqf","locale","36546480ORKpLJ","606666SMqfWO","startDate","1100870gErWFW","add","createCollection","_revisionActions","497682XmcsKD","2200108XQSpgM","82460iyvLcC","addRevision","uiLanguage","div","find","ck-revision-history-sidebar__time-period__revisions","revisionViews","ck-revision-history-sidebar__time-period","986604gKSnhv"];return(Au=function(){return t})()}function Ru(t,e){const i=Au();return(Ru=function(t,e){return i[t-=414]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(796117===-parseInt(e(442))/1+-parseInt(e(440))/2+-parseInt(e(425))/3+parseInt(e(416))/4+parseInt(e(427))/5*(-parseInt(e(415))/6)+parseInt(e(417))/7*(-parseInt(e(437))/8)+parseInt(e(439))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Au);class Mu extends En.View{constructor(t,e,i,n){const r=Ru;super(t);const s=Ou(e,this[r(438)][r(419)])[r(429)];this[r(441)]=e,this[r(423)]=this[r(444)](),this[r(414)]=i,this[r(433)]=n,this[r(423)][r(436)](r(428)).to(this),this[r(423)][r(436)](r(426)).to(this),this[r(431)]({tag:r(420),attributes:{class:["ck",r(424)]},children:[{tag:r(435),attributes:{class:["ck",r(432)]},children:[{text:s}]},{tag:r(420),attributes:{class:["ck",r(422)]},children:this[r(423)]}]})}[Nu(418)](t){const e=Nu,i=new cs(this[e(438)],t,this[e(414)],this[e(433)]);this[e(423)][e(443)](i)}[Nu(430)](t){const e=Nu,i=this[e(423)][e(421)]((e=>e.id===t.id));this[e(423)][e(434)](i)}}var Vu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=zn().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Zn();Cn()(Vu.A,Eu);Vu.A&&Vu.A.locals&&Vu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=273]})(t,e)}function Cu(){const t=["7826490qCXJYH","content","history","span","9196659OJDYNm","6yMgJAt","31998FOwcry","4217928jpgWkf","setTemplate","27wIsPlo","213384uIuFkU","ck-revision-history-sidebar__header","2042555nZqyIO","36nFYItf","13WtcBFN","4739PgpnxR","ck-reset_all","11048xtokAV","Revision history","ck-revision-history-sidebar__header__label","div"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(560371===parseInt(e(287))/1*(parseInt(e(279))/2)+-parseInt(e(282))/3*(-parseInt(e(283))/4)+-parseInt(e(285))/5*(parseInt(e(278))/6)+parseInt(e(288))/7*(parseInt(e(290))/8)+-parseInt(e(277))/9+-parseInt(e(273))/10+-parseInt(e(280))/11*(-parseInt(e(286))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends En.View{constructor(t){const e=Du;super(t);const i=new En.IconView;i[e(274)]=qi.icons[e(275)],this[e(281)]({tag:e(293),attributes:{class:["ck",e(289),e(284)]},children:[i,{tag:e(276),attributes:{class:["ck",e(292)]},children:[Qi(t,e(291))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=zn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Zn();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const zu=Pu;function Pu(t,e){const i=Wu();return(Pu=function(t,e){return i[t-=485]})(t,e)}function Wu(){const t=["ck-revision-history-sidebar__timeline","uiLanguage","6OvTGzx","revisionSetName","185AhSULu","revisionViews","44430JRYDwG","getTime","find","div","createdAt","locale","highlightRevisions","get","973882rrDTCz","45XbgJnD","delegate","ck-disabled","bindTemplate","revisionSelected","startDate","createCollection","select","highlight","setName","ck-rounded-corners","map","47816xvBFKx","setTemplate","13khRxmq","_removeRevision","deselect","ck-reset","fire","addRevision","31179fYXpYM","_requireRevisionName","16mKMpWM","selectRevision","_addRevision","isEnabled","_getTimePeriodViewByStartDate","27624IfzdCn","render","ck-revision-history-sidebar","44Opnxff","add","set","remove","321687TveziW","removeRevision","_revisions","timePeriodViews","unhighlight","some","_revisionActions","flat","3687204nJUjuS"];return(Wu=function(){return t})()}!function(t){const e=Pu,i=t();for(;;)try{if(185029===-parseInt(e(534))/1*(-parseInt(e(501))/2)+-parseInt(e(514))/3*(-parseInt(e(526))/4)+parseInt(e(503))/5*(-parseInt(e(541))/6)+parseInt(e(513))/7*(-parseInt(e(536))/8)+parseInt(e(490))/9+-parseInt(e(505))/10*(-parseInt(e(486))/11)+-parseInt(e(498))/12*(-parseInt(e(528))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Uu extends En.View{constructor(t,e,i,n){const r=Pu;super(t);const s=this[r(517)];this[r(493)]=this[r(520)](),this[r(493)][r(515)](r(521)).to(this),this[r(493)][r(515)](r(523)).to(this),this[r(492)]=e,this[r(496)]=i,this[r(535)]=n,this.on(r(521),((t,e)=>{const i=r;this[i(532)](i(518),e)})),this.on(r(523),((t,e)=>{const i=r;this[i(532)](i(502),e)})),this[r(488)](r(539),!1),this[r(527)]({tag:r(508),attributes:{class:["ck",r(531),r(524),r(485)]},children:[new ju(t),{tag:r(508),attributes:{class:["ck",r(499),s.if(r(539),r(516),(t=>!t))]},children:this[r(493)]}]})}[zu(542)](){const t=zu;super[t(542)]();for(const e of this[t(492)])this[t(538)](e);this[t(492)].on(t(487),((e,i)=>{this[t(538)](i)})),this[t(492)].on(t(489),((e,i)=>{this[t(529)](i)}))}get[zu(504)](){const t=zu;return this[t(493)][t(525)]((e=>e[t(504)][t(525)]((t=>t))))[t(497)]()}[zu(537)](t){const e=zu;for(const i of this[e(504)])t&&t.id===i.id?i[e(521)]():i[e(530)]()}[zu(511)](t){const e=zu;for(const i of this[e(504)])t[e(495)]((({id:t})=>t===i.id))?i[e(522)]():i[e(494)]()}[zu(538)](t){const e=zu,i=Ou(t[e(509)],this[e(510)][e(500)])[e(519)];let n=this[e(493)][e(512)](0);n&&n[e(519)][e(506)]()===i[e(506)]()||(n=new Mu(this[e(510)],i,this[e(496)],this[e(535)]),this[e(493)][e(487)](n)),n[e(533)](t)}[zu(529)](t){const e=zu,i=Ou(t[e(509)],this[e(510)][e(500)])[e(519)];this[e(540)](i)[e(491)](t)}[zu(540)](t){const e=zu;return this[e(493)][e(507)]((i=>i[e(519)][e(506)]()===t[e(506)]()))}}const Zu=Hu;function Hu(t,e){const i=$u();return(Hu=function(t,e){return i[t-=104]})(t,e)}function $u(){const t=["select","Restore this revision","ready","isVisible","restoreRevisionCallback","_sidebarView","newRevisionId","revisionHistory","destroy","nameRevision","getEarlierVisibleRevision","132GagWoo","timePeriodViews","revisionHistory.requireRevisionName","isSelected","getIndex","9042BKgIDX","_handleDiffChange","remove","setName","11Vkvakj","_handleEditorDataReady","_handleRevisionSetName","fieldView","listenTo","map","highlightRevisions","1943252HWgcYH","isReady","change:diff","bind","Compare against selected","2233260aWttup","423kOziOk","revisionHistory.revisionActions","locale","restoreRevision","isPremiumPlugin","isOfficialPlugin","getRevision","Name this revision","render","repository","192232DgPDZl","6347046NoXrBl","_handleRevisionSelected","appendChild","focus","config","length","diff","_createRevisionActions","301ifaSxA","get","pluginName","defaultRevisionActions","action","requires","data","availableRevisionActions","5xHixyG","RevisionsSidebar","editor","selectRevision","isEnabled","compare","getLaterVisibleRevision","assign","getRevisionsInDiff","string","revisionHistory.viewerSidebarContainer","revisionSelected","_revisionViewer","element","5160YQpyIH","name","add","_revisionsRepository","revisionSetName","init","1312528NPFGyV","compareAgainstSelected","_revisions","plugins","revisionViews"];return($u=function(){return t})()}!function(t){const e=Hu,i=t();for(;;)try{if(675315===parseInt(e(184))/1+-parseInt(e(131))/2+parseInt(e(120))/3*(parseInt(e(115))/4)+parseInt(e(164))/5*(parseInt(e(148))/6)+parseInt(e(156))/7*(-parseInt(e(147))/8)+-parseInt(e(137))/9*(-parseInt(e(178))/10)+parseInt(e(124))/11*(parseInt(e(136))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($u);class qu extends qi.Plugin{static get[Zu(158)](){return Zu(165)}static get[Zu(142)](){return!0}static get[Zu(141)](){return!0}static get[Zu(161)](){return[kr]}constructor(t){const e=Zu;super(t),this[e(176)]=t[e(187)][e(157)](kr),this[e(181)]=this[e(176)][e(146)],this[e(109)]=null}[Zu(183)](){const t=Zu,e=this[t(181)][t(186)],i=this[t(155)](),n=this[t(166)][t(152)][t(157)](t(174));this[t(109)]=new Uu(this[t(166)][t(139)],e,i,this[t(166)][t(152)][t(157)](t(117))),this[t(109)].on(t(175),this[t(149)][t(134)](this)),this[t(109)].on(t(182),this[t(126)][t(134)](this)),this[t(109)][t(134)](t(168)).to(this[t(176)]),this[t(109)][t(116)].on(t(180),((e,i)=>{const n=t;i[n(188)].on(n(180),((t,e)=>{const i=n;e[i(134)](i(168),i(132)).to(this[i(176)])}))})),this[t(109)][t(145)](),this[t(128)](this[t(166)][t(162)],t(106),this[t(125)][t(134)](this)),this[t(128)](this[t(176)],t(133),this[t(121)][t(134)](this)),n[t(150)](this[t(109)][t(177)])}[Zu(112)](){const t=Zu;this[t(109)][t(177)][t(122)](),this[t(109)][t(112)]()}[Zu(125)](){const t=Zu,e=this[t(181)][t(143)](0);if(e){const i=this[t(181)][t(114)](e.id);this[t(176)][t(169)](e,i)}}[Zu(149)](t,e){const i=Zu,n=this[i(181)][i(143)](e.id),r=this[i(181)][i(114)](n.id);this[i(176)][i(169)](n,r)}[Zu(126)](t,e){const i=Zu;this[i(181)][i(143)](e.id)[i(123)](e[i(179)])}[Zu(121)](t,e,i){const n=Zu,r=this[n(181)][n(172)](i);r[n(153)]>2?(this[n(109)][n(130)](r),this[n(109)][n(167)](null)):(this[n(109)][n(130)]([]),this[n(109)][n(167)](r[0]))}[Zu(155)](){const t=Zu,e=this[t(166)],i=qu[t(163)],n=e[t(152)][t(157)](t(138))||qu[t(159)];if(n[t(153)])return n[t(129)]((n=>{const r=t,s=r(173)==typeof n?Object[r(171)]({},i[n]):n;return s[r(160)]=s[r(160)][r(134)](this,e),s[r(107)]&&(s[r(107)]=s[r(107)][r(134)](this,e)),s}))}}qu[Zu(159)]=[Zu(185),Zu(140),Zu(113)],qu[Zu(163)]={compareAgainstSelected:{name:Zu(135),action:({plugins:t},e)=>{const i=Zu,n=t[i(157)](kr),r=n[i(146)];let s=n[i(154)][i(110)],o=e.id;r[i(119)](s)>r[i(119)](o)&&([s,o]=[o,s]),n[i(169)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(157)](kr);return!(n[i(146)][i(172)](n[i(154)])[i(153)]>2||e[i(118)])}},restoreRevision:{name:Zu(105),action:(t,{id:e})=>{const i=Zu;t[i(152)][i(157)](i(111))[i(108)](e)},isVisible:({plugins:t},e)=>!!t[Zu(157)](kr)[Zu(146)][Zu(170)](e.id)},nameRevision:{name:Zu(144),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(157)](kr),s=r[n(146)][n(114)](e);r[n(169)](e,s),i[n(151)](),i[n(127)][n(104)]()}}};const Bu=qu;function Yu(){const t=["focusTracker","fire","5840215Vccfbe","setEditableElement","9901759EuNNfH","config","_initToolbar","view","toolbar","isFocused","667210SDKoCl","3258siMEbz","60ihSntk","componentFactory","editor","attachDomRoot","bind","replace","_elementReplacer","addToolbar","restore","13144EdIZFR","2MUvIfo","stickyPanel","getRoot","24MSZKYN","viewportTopOffset","render","_toolbarConfig","init","rootName","get","element","limiterElement","editable","ready","121FWdWCJ","fillFromConfig","7387913VbABaa","viewportOffset","editing","name","1580165psABGT","441312fxOSuD","_view","6LkWBAk","detachDomRoot","destroy","document","isActive"];return(Yu=function(){return t})()}const Ju=Gu;function Gu(t,e){const i=Yu();return(Gu=function(t,e){return i[t-=457]})(t,e)}!function(t){const e=Gu,i=t();for(;;)try{if(875167===parseInt(e(468))/1*(parseInt(e(498))/2)+parseInt(e(501))/3*(parseInt(e(469))/4)+parseInt(e(478))/5+-parseInt(e(471))/6*(-parseInt(e(480))/7)+-parseInt(e(497))/8*(parseInt(e(487))/9)+-parseInt(e(486))/10*(parseInt(e(462))/11)+-parseInt(e(488))/12*(parseInt(e(464))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yu);class Xu extends En.EditorUI{get[Ju(483)](){return this[Ju(470)]}constructor(e,i){const n=Ju;super(e),this[n(470)]=i,this[n(504)]=(0,En.normalizeToolbarConfig)(e[n(481)][n(457)](n(484))),this[n(494)]=new t.ElementReplacer}get[Ju(458)](){const t=Ju;return this[t(483)][t(458)]}[Ju(505)](t){const e=Ju,i=this[e(490)],n=this[e(483)],r=i[e(466)][e(483)],s=n[e(460)],o=r[e(474)][e(500)]();s[e(467)]=o[e(506)],n[e(503)]();const a=s[e(458)];this[e(479)](s[e(467)],a),n[e(460)][e(492)](e(485)).to(this[e(476)]),r[e(491)](a),this[e(494)][e(493)](t,this[e(458)]),this[e(482)](),this[e(477)](e(461))}[Ju(473)](){const t=Ju;super[t(473)]();const e=this[t(483)],i=this[t(490)][t(466)][t(483)];this[t(494)][t(496)](),i[t(472)](e[t(460)][t(467)]),e[t(473)]()}[Ju(482)](){const t=Ju,e=this[t(483)];e[t(499)][t(492)](t(475)).to(this[t(476)],t(485)),e[t(499)][t(459)]=e[t(458)],e[t(499)][t(492)](t(502)).to(this,t(465),(({top:t})=>t)),e[t(484)][t(463)](this[t(504)],this[t(489)]),this[t(495)](e[t(484)])}}var Ku=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=zn().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Zn();Cn()(Ku.A,Qu);Ku.A&&Ku.A.locals&&Ku.A.locals;var tl=el;function el(t,e){var i=il();return(el=function(t,e){return i[t-=380]})(t,e)}function il(){var t=["170DvVyiO","1964pxwmOe","stickyPanel","13125UVrsNC","shouldToolbarGroupWhenFull","55953owIyoN","top","1336144jELfTI","7325PQekvA","2267485CjeLNf","render","add","editable","_editable","109126qfWGpQ","15YlQSmn","content","789527lkMzLo","toolbar","main","2238LhyJiF"];return(il=function(){return t})()}!function(t){for(var e=el,i=t();;)try{if(681458===parseInt(e(386))/1+-parseInt(e(383))/2*(parseInt(e(384))/3)+parseInt(e(391))/4*(parseInt(e(398))/5)+parseInt(e(389))/6*(-parseInt(e(393))/7)+-parseInt(e(397))/8+-parseInt(e(395))/9*(-parseInt(e(390))/10)+parseInt(e(399))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends En.BoxedEditorUIView{get[tl(381)](){return this[tl(382)]}constructor(t,e,i={}){var n=tl;super(t),this[n(392)]=new En.StickyPanelView(t),this[n(387)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(394)]}),this[n(382)]=new En.InlineEditableUIView(t,e)}[tl(400)](){var t=tl;super[t(400)](),this[t(392)][t(385)][t(380)](this[t(387)]),this[t(396)][t(380)](this[t(392)]),this[t(388)][t(380)](this[t(381)])}}const rl=ol;function sl(){const t=["sourceElement","6730163DeJVtt","createRoot","7Rmztgr","initPlugins","locale","create","model","_ui","editing","305436MnvzVd","106584xJHDHd","96DkzvXU","config","document","view","3486429UnFTgt","12YGiwDz","updateSourceElement","35zUOrbY","init","241132iUTLPQ","13028kgxAQy","destroy","data","10vOiIZv","ready","3087440PaYLBN","fire","get","initialData"];return(sl=function(){return t})()}function ol(t,e){const i=sl();return(ol=function(t,e){return i[t-=401]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(204504===-parseInt(e(415))/1+-parseInt(e(426))/2+parseInt(e(417))/3*(-parseInt(e(427))/4)+parseInt(e(424))/5*(parseInt(e(416))/6)+-parseInt(e(408))/7*(-parseInt(e(401))/8)+parseInt(e(421))/9*(-parseInt(e(430))/10)+parseInt(e(406))/11*(parseInt(e(422))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sl);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[ol(413)]}constructor(t,e){const i=ol;super(e),this[i(405)]=t,this[i(412)][i(419)][i(407)]();const n=new nl(this[i(410)],this[i(414)][i(420)],{shouldToolbarGroupWhenFull:!0});this[i(413)]=new Xu(this,n)}[rl(428)](){const t=rl;return this[t(423)](),this.ui[t(428)](),super[t(428)]()}static async[rl(411)](t,e){const i=rl,n=new this(t,e);return await n[i(409)](),await n.ui[i(425)](t),await n[i(429)][i(425)](n[i(418)][i(403)](i(404))||""),n[i(402)](i(431)),n}}const cl=ul;function ul(t,e){const i=fl();return(ul=function(t,e){return i[t-=415]})(t,e)}!function(t){const e=ul,i=t();for(;;)try{if(838863===parseInt(e(424))/1+parseInt(e(461))/2*(parseInt(e(540))/3)+parseInt(e(519))/4+parseInt(e(529))/5*(-parseInt(e(552))/6)+-parseInt(e(547))/7*(-parseInt(e(531))/8)+parseInt(e(555))/9*(parseInt(e(545))/10)+parseInt(e(435))/11*(-parseInt(e(428))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fl);const ll=[cl(494),cl(432)];class hl extends qi.Plugin{static get[cl(502)](){return cl(457)}static get[cl(484)](){return!0}static get[cl(439)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(430)]((t=>String[e(447)](t)))[e(539)]("")}super(t),this[e(468)]=e(459),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 dl extends qi.Plugin{static get[cl(502)](){return cl(561)}static get[cl(484)](){return!0}static get[cl(439)](){return!0}static get[cl(491)](){return[On,er]}constructor(e){const i=cl;if(super(e),!this[i(438)][i(530)][i(512)](i(527)))throw new t.CKEditorError(i(521),this);this[i(526)]=null,this[i(438)][i(530)][i(423)](i(504),(t=>this[i(475)]({...t,translations:this[i(438)][i(448)][i(499)]}))),this[i(438)][i(530)][i(423)](i(514),(t=>this[i(458)](t))),this[i(438)][i(530)][i(423)](i(481),(t=>this[i(488)](t))),this[i(438)][i(530)][i(423)](i(463),!1),this[i(557)](),this[i(498)]()}set[cl(536)](t){const e=cl;this[e(438)][e(544)][e(512)](e(490))[e(536)]=t}get[cl(536)](){const t=cl;return this[t(438)][t(544)][t(512)](t(490))[t(536)]}[cl(429)](t){const e=cl;return this[e(438)][e(544)][e(512)](e(490))[e(429)](t)}[cl(533)](t){const e=cl;return this[e(438)][e(544)][e(512)](e(482))[e(533)](t)}[cl(464)](t){const e=cl;return this[e(438)][e(544)][e(512)](e(482))[e(464)](t||{toJSON:!1})}[cl(465)](){const e=cl,i=this[e(438)],n=(0,Bi.sanitizeEditorConfig)(i,ll),r=i[e(544)][e(512)](e(490)),s=i[e(544)][e(512)](e(505))[e(525)];return n[e(534)]=[e(470),e(487),e(520)],delete n[e(460)],n[e(544)][e(478)](hl,kr,zr,class extends qi.Plugin{static get[e(491)](){return[kr,e(505)]}[e(450)](){const n=e,o=this[n(438)][n(544)][n(512)](n(505));for(const t of s)t[n(415)]||o[n(501)](t.id)||o[n(538)](t);const a=r[n(515)][n(464)]();let c=null;const u=this[n(438)][n(544)][n(512)](n(437));u[n(536)]=r[n(536)],u[n(449)](n(549)).to(r),this[n(438)][n(528)][n(512)](n(487))[n(449)](n(549)).to(i,n(434),(t=>!t));for(const e of a){const i=null===e[n(546)];if(i&&e[n(418)]===e[n(433)])continue;const s=e[n(516)]();u[n(429)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(486)](s,o);else if(!o){const e=a[u(516)]();e.id=(0,t.uid)(),r[u(553)](e,a[u(418)])[u(419)]((t=>{c=t}))}}else e[u(486)](s,o)}))}}},Bu),n}[cl(557)](){const t=cl,e=this[t(438)][t(530)][t(512)](t(527))[t(479)];this[t(438)][t(530)][t(440)](t(504),(async()=>{const i=t;this[i(438)][i(551)](i(510));const n=this[i(438)][i(544)][i(512)](i(490));if(this[i(438)][i(544)][i(550)](i(446))){const t=this[i(438)][i(544)][i(512)](i(446));await t[i(556)]()}else await n[i(480)]();if(this[i(438)][i(544)][i(550)](i(513))&&this[i(438)][i(544)][i(512)](i(513))[i(559)](),this[i(438)][i(544)][i(550)](i(541))){const t=this[i(438)][i(544)][i(512)](i(541));t[i(476)]&&t[i(517)]()}const r=this[i(465)]();return e(r)[i(419)]((t=>{const e=i;return this[e(526)]=t,this[e(438)][e(544)][e(550)](e(427))&&this[e(438)][e(544)][e(512)](e(427))[e(509)](),t}))[i(436)]((t=>(console[i(485)](t),this[i(438)][i(444)](i(510)),null)))}))}[cl(498)](){const t=cl,e=this[t(438)][t(530)][t(512)](t(527))[t(473)];this[t(438)][t(530)][t(440)](t(514),(()=>(this[t(438)][t(544)][t(550)](t(513))&&this[t(438)][t(544)][t(512)](t(513))[t(559)](),this[t(526)][t(544)][t(512)](t(437))[t(500)](),e(this[t(526)])[t(419)]((()=>{const e=t;if(this[e(438)][e(444)](e(510)),this[e(526)]=null,this[e(438)][e(544)][e(550)](e(427))){const t=this[e(438)][e(544)][e(512)](e(427));t[e(509)](),t[e(537)]()}})))))}[cl(475)](t){const e=cl,i=this[e(438)][e(530)][e(512)](e(518)),n=this[e(438)][e(530)][e(512)](e(508)),r=this[e(438)][e(530)][e(512)](e(422));return al[e(469)](r,t)[e(419)]((t=>(n[e(497)][e(471)]=e(420),i[e(497)][e(471)]=e(425),t)))}[cl(458)](t){const e=cl,i=this[e(438)][e(530)][e(512)](e(518));return this[e(438)][e(530)][e(512)](e(508))[e(497)][e(471)]=e(425),i[e(497)][e(471)]="",t[e(492)]()}async[cl(488)](t){const e=cl,i=this[e(438)],n=this[e(526)][e(544)][e(512)](e(437)),r=i[e(544)][e(512)](e(490)),s=n[e(515)][e(533)](t);let o,a,c;try{o=await n[e(472)](s),a=await n[e(511)](s)}catch(t){return void console[e(485)](t)}i[e(445)][e(483)]((t=>{const n=e;for(const e of Array[n(543)](i[n(445)][n(503)][n(560)](n(441))))t[n(442)](e)})),n[e(495)]=!1,i[e(445)][e(493)]((t=>{const n=e;t[n(558)](null),t[n(454)](i[n(445)][n(421)][n(522)][n(524)]());const r=Object[n(431)](o);for(const e of i[n(445)][n(421)][n(523)])n(417)!=e[n(443)]&&e[n(416)]()&&!r[n(456)](e[n(443)])&&t[n(477)](e);for(const e of r){let r=i[n(445)][n(421)][n(455)](e);r&&r[n(416)]()||(r=t[n(467)](e));const s=a[e],c=Object[n(431)](s),u=o[e];for(const e of r[n(524)]())c[n(456)](e)||t[n(466)](e,r);for(const i of c)t[n(542)](i,a[e][i],r);t[n(496)](t[n(452)](r)),t[n(532)](i[n(507)][n(474)](u,r),r,0)}}));const u=Qi(i[e(448)],e(462));return c=s[e(535)]?-1==s[e(535)][e(506)](u)?u+": "+s[e(535)]:s[e(535)]:u+": "+s[e(489)][e(554)](i[e(448)][e(548)],{month:e(451),day:e(426)})+", "+s[e(489)][e(453)](i[e(448)][e(548)],{hour:e(426),minute:e(426)}),await r[e(553)]({name:c}),n[e(495)]=!0,i[e(530)][e(512)](e(527))[e(473)]()}}function fl(){const t=["numeric","Annotations","1863240ApHjSl","addRevisionData","map","keys","RestrictedEditingMode","fromVersion","isReadOnly","11KWmPFg","catch","RevisionViewer","editor","isPremiumPlugin","set","restrictedEditingException","removeMarker","rootName","disableReadOnlyMode","model","Autosave","fromCharCode","locale","bind","init","long","createRangeIn","toLocaleTimeString","removeSelectionAttribute","getRoot","includes","RevisionViewerIntegration","_closeRevisionViewer","end","lazyRoots","196jnIxhg","Restored","revisionHistory.requireRevisionName","getRevisions","_getRevisionViewerEditorConfig","removeAttribute","addRoot","result","create","exitToEditing","display","getRevisionData","closeRevisionViewerCallback","parse","_showRevisionViewer","isOpen","detachRoot","push","showRevisionViewerCallback","update","revisionHistory.restoreRevisionCallback","RevisionsRepository","change","isOfficialPlugin","error","_update","restoreRevision","_restoreRevision","createdAt","RevisionTracker","requires","destroy","enqueueChange","RevisionHistoryUI","isReady","remove","style","_enhanceCloseRevisionViewerCallback","translations","_cleanUp","getUser","pluginName","markers","revisionHistory.showRevisionViewerCallback","Users","indexOf","data","revisionHistory.viewerContainer","refreshVisibility","revision-history-viewer-opened","getRevisionRootsAttributes","get","PaginationLookup","revisionHistory.closeRevisionViewerCallback","repository","toJSON","hide","revisionHistory.editorContainer","704156HHIseO","changesNavigation","revision-history-missing-configuration","selection","roots","getAttributeKeys","users","_viewerEditor","revisionHistory","commands","6911085ZFqNWv","config","16lkUrMz","insert","getRevision","toolbar","name","adapter","refreshPositioning","addUser","join","18570MardqA","Dialog","setAttribute","from","plugins","10wrvhpb","creator","2329593sIJyDo","uiLanguage","isEnabled","has","enableReadOnlyMode","6Zzdpvi","saveRevision","toLocaleDateString","6564951irAxjD","save","_enhanceShowRevisionViewerCallback","setSelection","_recalculatePageBreaks","getMarkersGroup","RevisionHistory","isAnonymous","isAttached","$graveyard","toVersion","then","block","document","revisionHistory.viewerEditorElement","define","198654cZgSCG","none"];return(fl=function(){return t})()}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=345]})(t,e)}function pl(){var t=["1299950OopueD","385XgMvdL","334660tLDAgo","2778645oeswoc","33872pkvqqQ","27jyQROX","656978xZYktE","3363032vgyzXg","7854024WcwOpJ","2SjvQNZ"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(781923===parseInt(e(354))/1+-parseInt(e(351))/2*(parseInt(e(345))/3)+-parseInt(e(346))/4*(parseInt(e(353))/5)+parseInt(e(350))/6+-parseInt(e(348))/7+parseInt(e(349))/8+-parseInt(e(347))/9*(-parseInt(e(352))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|